From b79a8e14990aa628a1000b1303ec8334d28fbd06 Mon Sep 17 00:00:00 2001 From: caoxiaozhu Date: Fri, 24 Jul 2026 11:28:14 +0800 Subject: [PATCH] =?UTF-8?q?build(frontend):=20=E6=9B=B4=E6=96=B0=E7=94=9F?= =?UTF-8?q?=E4=BA=A7=E6=9E=84=E5=BB=BA=E4=BA=A7=E7=89=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dist/assets/AppConfirmDialog-BI5Yud_k.js | 6 + .../dist/assets/AppConfirmDialog-Bk_vjo5o.css | 1 + .../dist/assets/AppConfirmDialog-D93e215T.js | 1 + .../dist/assets/AppConfirmDialog-zFD3Iwu_.css | 1 - .../dist/assets/CompareChatView-DrSndDVG.css | 1 + .../dist/assets/CompareChatView-iaZgEQ8s.js | 1 + .../dist/assets/CompareResultView-BlQYt7fl.js | 1 + .../assets/CompareResultView-DcZvYm8N.css | 1 + .../assets/CompareResultView-DlLosvn8.css | 1 - .../dist/assets/ComputeNodesView-BTH2GWs1.css | 1 + .../dist/assets/ComputeNodesView-DGj1xqt1.js | 1 + .../dist/assets/DashboardView-BMPZwafh.css | 1 - .../dist/assets/DashboardView-Demq0LOI.js | 2 + .../dist/assets/DashboardView-Dk-G3HhP.css | 1 + .../dist/assets/DataConvertView-DJuX-JIl.css | 1 - .../dist/assets/DataConvertView-Ts55u_8c.js | 1 + .../dist/assets/DataConvertView-rvGLlrQa.css | 1 + .../assets/DataProcessCreateView-D8CxzaN5.css | 1 + .../assets/DataProcessCreateView-jyj-tLuh.js | 57 +++ .../assets/DataProcessDetailView-D3Stz31J.css | 1 + .../assets/DataProcessDetailView-gE1enluH.js | 1 + .../assets/DataProcessListView-B4pOm5Q_.js | 1 + .../assets/DataProcessListView-D--2V8HO.css | 1 + .../dist/assets/DataTablePage-C1WQGBXF.js | 1 + .../dist/assets/DataTablePage-C4LN7Pt2.css | 1 + .../dist/assets/DatasetCreateView-COHS3nji.js | 8 + .../assets/DatasetCreateView-Cv3osIe8.css | 1 + .../assets/DatasetCreateView-D2g2qvbH.css | 1 - .../dist/assets/DatasetCreateView-tR9bKxGq.js | 2 + ...McPGE.css => DatasetListView-BClt_Ip_.css} | 2 +- .../dist/assets/DatasetListView-f5ydkZni.js | 1 + ...Tp.css => DatasetPreviewView-BPL99X5w.css} | 2 +- .../assets/DatasetPreviewView-DbgPnKVJ.js | 16 + .../assets/DatasetPreviewView-Lebw9VGN.js | 6 + .../assets/DimensionCreateView-BGQzQW6r.js | 1 + .../assets/DimensionFormFields-BI47UlOW.js | 14 + .../assets/DimensionFormFields-bC-zvb-R.js | 70 ++++ .../assets/DimensionFormFields-jElmd60O.css | 1 - .../assets/DimensionFormFields-m3yQWFvt.css | 1 + .../dist/assets/EvalCreateView-BGllY7Gc.css | 1 + .../dist/assets/EvalCreateView-DW15zgvp.css | 1 - .../dist/assets/EvalCreateView-DhvGYj5M.js | 1 + .../dist/assets/EvalDetailView-BJu9nn43.js | 1 + .../dist/assets/EvalDetailView-Clfyt0He.css | 1 - .../dist/assets/EvalDetailView-Cq93pccF.css | 1 + frontend/dist/assets/EvalView-Bd4r6it-.css | 1 + frontend/dist/assets/EvalView-DKVRGpUe.js | 1 + .../assets/FineTuneCreateView-CgnCRBJT.css | 6 + .../assets/FineTuneCreateView-Cz_5yMnR.js | 2 + .../assets/FineTuneCreateView-SMgRyQ_C.css | 1 + ...4cuQ.css => FineTuneListView-DHl7bZ3e.css} | 2 +- .../dist/assets/FineTuneListView-DiOkr_gD.js | 1 + frontend/dist/assets/GuideView-3g5nbKBg.js | 1 + frontend/dist/assets/GuideView-BuVTsF9M.css | 1 + frontend/dist/assets/GuideView-CaCcm19L.css | 1 - frontend/dist/assets/GuideView-enryb6Zk.js | 6 + .../dist/assets/HardwareView-CpvcIwdL.css | 1 + frontend/dist/assets/HardwareView-DL8UFEoH.js | 1 + .../dist/assets/HardwareView-DcounnQ-.css | 1 - ...1FM.css => InferenceChatView-BUsWenWa.css} | 2 +- .../dist/assets/InferenceChatView-D5OD0NwF.js | 12 + .../dist/assets/InferenceChatView-mqKHZA9k.js | 8 +- .../assets/InferenceCreateView-NSg6vwcm.js | 1 + .../dist/assets/InferenceListView-B67fPddK.js | 1 + frontend/dist/assets/LoginView-BnSabjr1.css | 1 - frontend/dist/assets/LoginView-DurC5Xb4.css | 1 + frontend/dist/assets/LoginView-Pwx0U7_G.js | 6 + frontend/dist/assets/LoginView-Q_NnBv06.js | 1 + frontend/dist/assets/LogsView-DmeeKzFp.js | 3 + ...iew-Np1qgq3l.css => LogsView-Dmh1BeLU.css} | 2 +- ...t-C4Xu6RsD.css => MainLayout-BCu2Uo8K.css} | 2 +- frontend/dist/assets/MainLayout-CMUyfVBl.js | 6 + frontend/dist/assets/MainLayout-DxO92V1w.js | 1 + ...ue_vue_type_style_index_0_lang-BKsnCmpO.js | 58 +++ ...ue_vue_type_style_index_0_lang-Cz6hZilm.js | 6 + .../dist/assets/MergeWeightsView-B8jVfM-U.css | 1 - .../dist/assets/MergeWeightsView-CrawQHZC.css | 1 + .../dist/assets/MergeWeightsView-DS-5jMr9.js | 1 + .../dist/assets/ModelCreateView-DTPv4yI8.js | 1 + .../dist/assets/ModelCreateView-cLO_UPLT.css | 1 - .../dist/assets/ModelCreateView-ioLfAur0.css | 1 + .../dist/assets/ModelManageView-Dk83xTM-.css | 1 + .../dist/assets/ModelManageView-FQBUSn0C.js | 1 + ...ue_type_script_setup_true_lang-CUZ4SBb2.js | 1 + frontend/dist/assets/PageCard-Byh3epid.js | 6 + frontend/dist/assets/PageCard-CC9cofwx.js | 1 + frontend/dist/assets/PageCard-CagWOgY3.css | 1 + frontend/dist/assets/PageCard-D_q9xBAd.css | 1 - .../assets/PermissionDeniedView-Ac-Po9jU.css | 1 + .../assets/PermissionDeniedView-DWdcJnMf.css | 1 - .../assets/PermissionDeniedView-EZx3s9_N.js | 1 + .../dist/assets/ToolCreateView-Bl0pHgUd.css | 1 + .../dist/assets/ToolCreateView-ClRXoWew.css | 1 - .../dist/assets/ToolCreateView-CsnoBuBA.js | 1 + .../dist/assets/ToolCreateView-lcYDZ0-7.js | 6 + ...ew-CbkbUKba.css => ToolsView-B-CVG2uO.css} | 2 +- frontend/dist/assets/ToolsView-Bcj_uv2O.js | 1 + frontend/dist/assets/ToolsView-DdacMfUU.js | 6 + .../dist/assets/TrainingLogView-Ds903_wK.js | 1 + .../dist/assets/TrainingLogView-r7NZOokp.css | 1 + .../dist/assets/UserCreateView-BWW-0yZS.css | 1 - .../dist/assets/UserCreateView-CfeJQfhD.css | 1 + .../dist/assets/UserCreateView-mg48VYjL.js | 1 + .../assets/UserPermissionView-BOUnt_jj.css | 1 + .../assets/UserPermissionView-C1th-WtT.js | 6 + .../assets/UserPermissionView-C2mbs5Zk.css | 1 - .../assets/UserPermissionView-cVCnBmji.js | 1 + .../dist/assets/UserSettingsView-D6NpqMem.css | 1 + .../dist/assets/UserSettingsView-KcaztqRe.js | 1 + frontend/dist/assets/_baseClone-B6d4qZbo.js | 1 + frontend/dist/assets/_baseClone-Blem5BWg.js | 6 + .../dist/assets/_baseIteratee-C6JbNheX.js | 1 + .../dist/assets/_baseIteratee-CuPmYyG4.js | 6 + frontend/dist/assets/castArray-BEiueV6y.js | 6 + frontend/dist/assets/castArray-CwVgzdTt.js | 1 + frontend/dist/assets/clamp-BfrLWns4.js | 6 + frontend/dist/assets/clamp-Ow4I6lPc.js | 1 + frontend/dist/assets/compare-BAX_umRe.js | 6 + frontend/dist/assets/compare-DtYcNyhY.js | 1 + .../assets/createSeriesDataSimply-DCIhUlI4.js | 6 + .../assets/createSeriesDataSimply-MGSYAhUE.js | 1 + frontend/dist/assets/dataProcess-DXC9XrKo.js | 1 + frontend/dist/assets/dataset-BdzlocXa.js | 1 + frontend/dist/assets/dataset-C17jngxQ.js | 6 + frontend/dist/assets/debounce-BCyqG5kC.js | 6 + frontend/dist/assets/debounce-BJxjS5F3.js | 1 + frontend/dist/assets/directive-DCr8Ae3g.js | 1 + frontend/dist/assets/directive-DsbMrhCX.js | 6 + frontend/dist/assets/dropdown-6w4BXBMV.js | 6 + frontend/dist/assets/dropdown-yHGqI4WU.js | 1 + frontend/dist/assets/el-alert-DiB50G4H.js | 6 + frontend/dist/assets/el-alert-Ty1qfW58.js | 1 + frontend/dist/assets/el-avatar-C4z1rEZv.js | 1 + frontend/dist/assets/el-avatar-LJbp0pVv.js | 6 + frontend/dist/assets/el-card-BsCFVTSD.js | 1 + frontend/dist/assets/el-card-BvbOkvag.js | 6 + frontend/dist/assets/el-checkbox-C_TzqU9u.js | 1 + frontend/dist/assets/el-checkbox-Pnt9POcY.js | 6 + .../dist/assets/el-descriptions-BNd8WHaD.js | 1 + .../dist/assets/el-descriptions-DiaKmrx7.js | 6 + frontend/dist/assets/el-dialog-Dl0YWHPs.js | 6 + frontend/dist/assets/el-dialog-fpsmuz8Z.js | 1 + frontend/dist/assets/el-divider-B4fvp0nA.js | 1 + frontend/dist/assets/el-divider-Bk8dYjWT.js | 6 + frontend/dist/assets/el-drawer-CJxSltWc.js | 6 + frontend/dist/assets/el-drawer-DaAwE3bJ.js | 1 + frontend/dist/assets/el-empty-DRpYG49w.js | 6 + frontend/dist/assets/el-empty-DUcrYyo6.js | 1 + frontend/dist/assets/el-form-item--AdlsBF7.js | 6 + frontend/dist/assets/el-form-item-BA3ZlfqF.js | 12 + .../dist/assets/el-input-number-Ba6IqA7Z.js | 1 + .../dist/assets/el-input-number-CUR6qfYr.js | 6 + .../dist/assets/el-pagination-B1UdckVp.js | 6 + .../dist/assets/el-pagination-ByKJEnCx.js | 1 + frontend/dist/assets/el-popper-DIiB8Y-M.js | 6 + frontend/dist/assets/el-popper-OAwpEmER.js | 1 + frontend/dist/assets/el-progress-B102G_mC.js | 6 + frontend/dist/assets/el-progress-Br676mBH.js | 6 + .../dist/assets/el-radio-group-11DJtD5j.js | 6 + .../dist/assets/el-radio-group-BJiEgTS_.js | 1 + frontend/dist/assets/el-scrollbar-B0E7ZTt3.js | 1 + frontend/dist/assets/el-scrollbar-YCRG1835.js | 6 + frontend/dist/assets/el-select-CeiDjMzB.js | 1 + frontend/dist/assets/el-slider-CPsf2yeE.js | 1 + frontend/dist/assets/el-slider-D0ESR8FK.js | 6 + frontend/dist/assets/el-space-9hUfFaMV.js | 1 + frontend/dist/assets/el-space-D9rRhpBy.js | 6 + frontend/dist/assets/el-switch-4ONH-tca.js | 6 + frontend/dist/assets/el-switch-EBBsaB1p.js | 1 + frontend/dist/assets/el-tab-pane-B-_eO3QM.js | 6 + frontend/dist/assets/el-tab-pane-DQY-HDUC.js | 1 + frontend/dist/assets/el-table-CzpPw-qp.js | 6 + frontend/dist/assets/el-table-b_qkWXYf.js | 14 + frontend/dist/assets/el-tag-C4SnL2z_.js | 6 + frontend/dist/assets/el-upload-CLbTdSbQ.js | 1 + frontend/dist/assets/el-upload-swsSyuSG.js | 6 + frontend/dist/assets/eval-BLcZ-A_I.js | 1 + frontend/dist/assets/eval-DOgh3EN6.js | 6 + frontend/dist/assets/fineTune-C-jGF1Jc.js | 1 + frontend/dist/assets/index-36LucyXi.js | 1 + frontend/dist/assets/index-6OTFNiIi.js | 6 + frontend/dist/assets/index-B0_vNb2o.js | 6 + frontend/dist/assets/index-BFioY_nn.js | 1 + frontend/dist/assets/index-BJHfxRz7.js | 1 + frontend/dist/assets/index-BKvAMB2l.js | 6 + frontend/dist/assets/index-BZkqnoBm.js | 6 + frontend/dist/assets/index-BgBN-PsO.js | 1 + frontend/dist/assets/index-BgISfzyU.js | 6 + frontend/dist/assets/index-BjlLyKON.js | 1 + frontend/dist/assets/index-BkjIwgLN.js | 1 + frontend/dist/assets/index-Bmffie3p.js | 6 + frontend/dist/assets/index-Bnrjo134.js | 6 + frontend/dist/assets/index-Bp52mKPt.js | 1 + frontend/dist/assets/index-BpXxrg-6.js | 6 + frontend/dist/assets/index-BpugJXyE.js | 6 + frontend/dist/assets/index-Bs-7o_6g.js | 6 + frontend/dist/assets/index-Bsb59gf-.js | 1 + frontend/dist/assets/index-BxNkc_ay.js | 1 + frontend/dist/assets/index-Bzaib5AU.js | 1 + frontend/dist/assets/index-C3HZL-2Y.js | 1 + frontend/dist/assets/index-C4wGR5UT.js | 1 + frontend/dist/assets/index-C6EHVQAI.js | 1 + frontend/dist/assets/index-C8FAS7l2.js | 6 + frontend/dist/assets/index-CD29OCdJ.js | 12 + frontend/dist/assets/index-CGoqJ_Uf.js | 1 + frontend/dist/assets/index-CLZoQJ1o.js | 1 + frontend/dist/assets/index-CR0Xq76f.js | 6 + frontend/dist/assets/index-CWS1UdQw.js | 1 + frontend/dist/assets/index-CnqY5EQh.js | 1 + frontend/dist/assets/index-CwxuYJKb.js | 6 + frontend/dist/assets/index-CxbBjZKo.js | 39 ++ frontend/dist/assets/index-Cxpdptih.js | 6 + frontend/dist/assets/index-D0wqu88j.js | 6 + frontend/dist/assets/index-D1ESbnqn.js | 6 + frontend/dist/assets/index-D1b786GX.js | 6 + frontend/dist/assets/index-D23K2h6y.js | 7 + frontend/dist/assets/index-D4lxzjuA.js | 6 + frontend/dist/assets/index-D7OvSAWF.js | 1 + frontend/dist/assets/index-D9N-GMuA.js | 6 + frontend/dist/assets/index-DFIAjitZ.js | 7 + frontend/dist/assets/index-DFkjzvE0.js | 14 + frontend/dist/assets/index-DHcidAHK.js | 1 + frontend/dist/assets/index-DWBG_Y-d.js | 1 + frontend/dist/assets/index-DY1FeDCS.js | 6 + frontend/dist/assets/index-DlqR5_tk.js | 334 ++++++++++++++++++ frontend/dist/assets/index-Dp7iU37E.js | 3 + frontend/dist/assets/index-DpY84JwG.js | 6 + frontend/dist/assets/index-DxP0p4ch.js | 1 + frontend/dist/assets/index-DyJEdmgm.js | 6 + frontend/dist/assets/index-DzRIYpeT.js | 2 + frontend/dist/assets/index-JhwhwYw5.js | 1 + frontend/dist/assets/index-KDgG9oSV.js | 6 + frontend/dist/assets/index-U3Xsb9c_.js | 6 + frontend/dist/assets/index-ZKnv_mga.js | 1 + frontend/dist/assets/index-nU1bUa76.js | 6 + frontend/dist/assets/index-q7NK9e6A.js | 6 + frontend/dist/assets/index-roSlfP_P.js | 6 + frontend/dist/assets/index-sBiRi5wE.js | 6 + frontend/dist/assets/index-vq5UEcDd.js | 1 + frontend/dist/assets/index-zJ9bqPrh.js | 1 + frontend/dist/assets/install-SWGc2FUJ.js | 6 + frontend/dist/assets/install-i_dmuKuk.js | 41 +++ frontend/dist/assets/install-qcIyCJ5C.js | 6 + frontend/dist/assets/install-yQKxYHXo.js | 1 + frontend/dist/assets/log-jDwH_n_V.js | 1 + frontend/dist/assets/log-zu0oGQLa.js | 6 + frontend/dist/assets/model-B9dq9fy6.js | 1 + frontend/dist/assets/models-OcIATFUq.js | 6 + frontend/dist/assets/models-WwcwjK0u.js | 1 + frontend/dist/assets/omit-9H73Nvwk.js | 6 + frontend/dist/assets/omit-CbHF-OEy.js | 1 + .../dist/assets/pdf.worker.min-DEtVeC4l.mjs | 29 ++ frontend/dist/assets/raf-Bjl8yy5U.js | 1 + frontend/dist/assets/raf-DGtHIxe2.js | 6 + frontend/dist/assets/scroll-D-TPweuo.js | 6 + frontend/dist/assets/scroll-Dvb2mTx8.js | 1 + frontend/dist/assets/toNumber-B6P5MqPp.js | 6 + frontend/dist/assets/toNumber-Yuob3eJv.js | 1 + frontend/dist/assets/tools-BtFo8ZQX.js | 6 + frontend/dist/assets/tools-DNEgEZeS.js | 1 + frontend/dist/assets/use-dialog-DGVjglW6.js | 1 + frontend/dist/assets/use-dialog-DvXGfCuS.js | 6 + frontend/dist/assets/usePolling-C71_cNpk.js | 6 + frontend/dist/assets/usePolling-D0edaRGY.js | 1 + frontend/dist/assets/validator-AVoXfk3G.js | 1 + frontend/dist/assets/vnode-DIVHEdsp.js | 1 + frontend/dist/assets/vnode-_QM9LlTR.js | 6 + frontend/dist/index.html | 32 +- 268 files changed, 1436 insertions(+), 42 deletions(-) create mode 100644 frontend/dist/assets/AppConfirmDialog-Bk_vjo5o.css create mode 100644 frontend/dist/assets/AppConfirmDialog-D93e215T.js delete mode 100644 frontend/dist/assets/AppConfirmDialog-zFD3Iwu_.css create mode 100644 frontend/dist/assets/CompareChatView-DrSndDVG.css create mode 100644 frontend/dist/assets/CompareChatView-iaZgEQ8s.js create mode 100644 frontend/dist/assets/CompareResultView-BlQYt7fl.js create mode 100644 frontend/dist/assets/CompareResultView-DcZvYm8N.css delete mode 100644 frontend/dist/assets/CompareResultView-DlLosvn8.css create mode 100644 frontend/dist/assets/ComputeNodesView-BTH2GWs1.css create mode 100644 frontend/dist/assets/ComputeNodesView-DGj1xqt1.js delete mode 100644 frontend/dist/assets/DashboardView-BMPZwafh.css create mode 100644 frontend/dist/assets/DashboardView-Demq0LOI.js create mode 100644 frontend/dist/assets/DashboardView-Dk-G3HhP.css delete mode 100644 frontend/dist/assets/DataConvertView-DJuX-JIl.css create mode 100644 frontend/dist/assets/DataConvertView-Ts55u_8c.js create mode 100644 frontend/dist/assets/DataConvertView-rvGLlrQa.css create mode 100644 frontend/dist/assets/DataProcessCreateView-D8CxzaN5.css create mode 100644 frontend/dist/assets/DataProcessCreateView-jyj-tLuh.js create mode 100644 frontend/dist/assets/DataProcessDetailView-D3Stz31J.css create mode 100644 frontend/dist/assets/DataProcessDetailView-gE1enluH.js create mode 100644 frontend/dist/assets/DataProcessListView-B4pOm5Q_.js create mode 100644 frontend/dist/assets/DataProcessListView-D--2V8HO.css create mode 100644 frontend/dist/assets/DataTablePage-C1WQGBXF.js create mode 100644 frontend/dist/assets/DataTablePage-C4LN7Pt2.css create mode 100644 frontend/dist/assets/DatasetCreateView-Cv3osIe8.css delete mode 100644 frontend/dist/assets/DatasetCreateView-D2g2qvbH.css create mode 100644 frontend/dist/assets/DatasetCreateView-tR9bKxGq.js rename frontend/dist/assets/{DatasetListView-CReMcPGE.css => DatasetListView-BClt_Ip_.css} (52%) create mode 100644 frontend/dist/assets/DatasetListView-f5ydkZni.js rename frontend/dist/assets/{DatasetPreviewView-DO7Vb8Tp.css => DatasetPreviewView-BPL99X5w.css} (67%) create mode 100644 frontend/dist/assets/DatasetPreviewView-Lebw9VGN.js create mode 100644 frontend/dist/assets/DimensionCreateView-BGQzQW6r.js create mode 100644 frontend/dist/assets/DimensionFormFields-bC-zvb-R.js delete mode 100644 frontend/dist/assets/DimensionFormFields-jElmd60O.css create mode 100644 frontend/dist/assets/DimensionFormFields-m3yQWFvt.css create mode 100644 frontend/dist/assets/EvalCreateView-BGllY7Gc.css delete mode 100644 frontend/dist/assets/EvalCreateView-DW15zgvp.css create mode 100644 frontend/dist/assets/EvalCreateView-DhvGYj5M.js create mode 100644 frontend/dist/assets/EvalDetailView-BJu9nn43.js delete mode 100644 frontend/dist/assets/EvalDetailView-Clfyt0He.css create mode 100644 frontend/dist/assets/EvalDetailView-Cq93pccF.css create mode 100644 frontend/dist/assets/EvalView-Bd4r6it-.css create mode 100644 frontend/dist/assets/EvalView-DKVRGpUe.js create mode 100644 frontend/dist/assets/FineTuneCreateView-Cz_5yMnR.js create mode 100644 frontend/dist/assets/FineTuneCreateView-SMgRyQ_C.css rename frontend/dist/assets/{FineTuneListView-CYVd4cuQ.css => FineTuneListView-DHl7bZ3e.css} (77%) create mode 100644 frontend/dist/assets/FineTuneListView-DiOkr_gD.js create mode 100644 frontend/dist/assets/GuideView-3g5nbKBg.js create mode 100644 frontend/dist/assets/GuideView-BuVTsF9M.css delete mode 100644 frontend/dist/assets/GuideView-CaCcm19L.css create mode 100644 frontend/dist/assets/HardwareView-CpvcIwdL.css create mode 100644 frontend/dist/assets/HardwareView-DL8UFEoH.js delete mode 100644 frontend/dist/assets/HardwareView-DcounnQ-.css rename frontend/dist/assets/{InferenceChatView-dVyzm1FM.css => InferenceChatView-BUsWenWa.css} (55%) create mode 100644 frontend/dist/assets/InferenceChatView-D5OD0NwF.js create mode 100644 frontend/dist/assets/InferenceCreateView-NSg6vwcm.js create mode 100644 frontend/dist/assets/InferenceListView-B67fPddK.js delete mode 100644 frontend/dist/assets/LoginView-BnSabjr1.css create mode 100644 frontend/dist/assets/LoginView-DurC5Xb4.css create mode 100644 frontend/dist/assets/LoginView-Q_NnBv06.js create mode 100644 frontend/dist/assets/LogsView-DmeeKzFp.js rename frontend/dist/assets/{LogsView-Np1qgq3l.css => LogsView-Dmh1BeLU.css} (98%) rename frontend/dist/assets/{MainLayout-C4Xu6RsD.css => MainLayout-BCu2Uo8K.css} (90%) create mode 100644 frontend/dist/assets/MainLayout-DxO92V1w.js create mode 100644 frontend/dist/assets/MarkdownView.vue_vue_type_style_index_0_lang-BKsnCmpO.js delete mode 100644 frontend/dist/assets/MergeWeightsView-B8jVfM-U.css create mode 100644 frontend/dist/assets/MergeWeightsView-CrawQHZC.css create mode 100644 frontend/dist/assets/MergeWeightsView-DS-5jMr9.js create mode 100644 frontend/dist/assets/ModelCreateView-DTPv4yI8.js delete mode 100644 frontend/dist/assets/ModelCreateView-cLO_UPLT.css create mode 100644 frontend/dist/assets/ModelCreateView-ioLfAur0.css create mode 100644 frontend/dist/assets/ModelManageView-Dk83xTM-.css create mode 100644 frontend/dist/assets/ModelManageView-FQBUSn0C.js create mode 100644 frontend/dist/assets/ModelStatusTag.vue_vue_type_script_setup_true_lang-CUZ4SBb2.js create mode 100644 frontend/dist/assets/PageCard-CC9cofwx.js create mode 100644 frontend/dist/assets/PageCard-CagWOgY3.css delete mode 100644 frontend/dist/assets/PageCard-D_q9xBAd.css create mode 100644 frontend/dist/assets/PermissionDeniedView-Ac-Po9jU.css delete mode 100644 frontend/dist/assets/PermissionDeniedView-DWdcJnMf.css create mode 100644 frontend/dist/assets/PermissionDeniedView-EZx3s9_N.js create mode 100644 frontend/dist/assets/ToolCreateView-Bl0pHgUd.css delete mode 100644 frontend/dist/assets/ToolCreateView-ClRXoWew.css create mode 100644 frontend/dist/assets/ToolCreateView-CsnoBuBA.js rename frontend/dist/assets/{ToolsView-CbkbUKba.css => ToolsView-B-CVG2uO.css} (98%) create mode 100644 frontend/dist/assets/ToolsView-Bcj_uv2O.js create mode 100644 frontend/dist/assets/TrainingLogView-Ds903_wK.js create mode 100644 frontend/dist/assets/TrainingLogView-r7NZOokp.css delete mode 100644 frontend/dist/assets/UserCreateView-BWW-0yZS.css create mode 100644 frontend/dist/assets/UserCreateView-CfeJQfhD.css create mode 100644 frontend/dist/assets/UserCreateView-mg48VYjL.js create mode 100644 frontend/dist/assets/UserPermissionView-BOUnt_jj.css delete mode 100644 frontend/dist/assets/UserPermissionView-C2mbs5Zk.css create mode 100644 frontend/dist/assets/UserPermissionView-cVCnBmji.js create mode 100644 frontend/dist/assets/UserSettingsView-D6NpqMem.css create mode 100644 frontend/dist/assets/UserSettingsView-KcaztqRe.js create mode 100644 frontend/dist/assets/_baseClone-B6d4qZbo.js create mode 100644 frontend/dist/assets/_baseIteratee-C6JbNheX.js create mode 100644 frontend/dist/assets/castArray-CwVgzdTt.js create mode 100644 frontend/dist/assets/clamp-Ow4I6lPc.js create mode 100644 frontend/dist/assets/compare-DtYcNyhY.js create mode 100644 frontend/dist/assets/createSeriesDataSimply-MGSYAhUE.js create mode 100644 frontend/dist/assets/dataProcess-DXC9XrKo.js create mode 100644 frontend/dist/assets/dataset-BdzlocXa.js create mode 100644 frontend/dist/assets/debounce-BJxjS5F3.js create mode 100644 frontend/dist/assets/directive-DCr8Ae3g.js create mode 100644 frontend/dist/assets/dropdown-yHGqI4WU.js create mode 100644 frontend/dist/assets/el-alert-Ty1qfW58.js create mode 100644 frontend/dist/assets/el-avatar-C4z1rEZv.js create mode 100644 frontend/dist/assets/el-card-BsCFVTSD.js create mode 100644 frontend/dist/assets/el-checkbox-C_TzqU9u.js create mode 100644 frontend/dist/assets/el-descriptions-BNd8WHaD.js create mode 100644 frontend/dist/assets/el-dialog-fpsmuz8Z.js create mode 100644 frontend/dist/assets/el-divider-B4fvp0nA.js create mode 100644 frontend/dist/assets/el-drawer-DaAwE3bJ.js create mode 100644 frontend/dist/assets/el-empty-DUcrYyo6.js create mode 100644 frontend/dist/assets/el-form-item-BA3ZlfqF.js create mode 100644 frontend/dist/assets/el-input-number-Ba6IqA7Z.js create mode 100644 frontend/dist/assets/el-pagination-ByKJEnCx.js create mode 100644 frontend/dist/assets/el-popper-OAwpEmER.js create mode 100644 frontend/dist/assets/el-progress-Br676mBH.js create mode 100644 frontend/dist/assets/el-radio-group-BJiEgTS_.js create mode 100644 frontend/dist/assets/el-scrollbar-B0E7ZTt3.js create mode 100644 frontend/dist/assets/el-select-CeiDjMzB.js create mode 100644 frontend/dist/assets/el-slider-CPsf2yeE.js create mode 100644 frontend/dist/assets/el-space-9hUfFaMV.js create mode 100644 frontend/dist/assets/el-switch-EBBsaB1p.js create mode 100644 frontend/dist/assets/el-tab-pane-DQY-HDUC.js create mode 100644 frontend/dist/assets/el-table-b_qkWXYf.js create mode 100644 frontend/dist/assets/el-upload-CLbTdSbQ.js create mode 100644 frontend/dist/assets/eval-BLcZ-A_I.js create mode 100644 frontend/dist/assets/fineTune-C-jGF1Jc.js create mode 100644 frontend/dist/assets/index-36LucyXi.js create mode 100644 frontend/dist/assets/index-BFioY_nn.js create mode 100644 frontend/dist/assets/index-BJHfxRz7.js create mode 100644 frontend/dist/assets/index-BgBN-PsO.js create mode 100644 frontend/dist/assets/index-BjlLyKON.js create mode 100644 frontend/dist/assets/index-BkjIwgLN.js create mode 100644 frontend/dist/assets/index-Bp52mKPt.js create mode 100644 frontend/dist/assets/index-Bsb59gf-.js create mode 100644 frontend/dist/assets/index-BxNkc_ay.js create mode 100644 frontend/dist/assets/index-Bzaib5AU.js create mode 100644 frontend/dist/assets/index-C3HZL-2Y.js create mode 100644 frontend/dist/assets/index-C4wGR5UT.js create mode 100644 frontend/dist/assets/index-C6EHVQAI.js create mode 100644 frontend/dist/assets/index-CGoqJ_Uf.js create mode 100644 frontend/dist/assets/index-CLZoQJ1o.js create mode 100644 frontend/dist/assets/index-CWS1UdQw.js create mode 100644 frontend/dist/assets/index-CnqY5EQh.js create mode 100644 frontend/dist/assets/index-CxbBjZKo.js create mode 100644 frontend/dist/assets/index-D23K2h6y.js create mode 100644 frontend/dist/assets/index-D7OvSAWF.js create mode 100644 frontend/dist/assets/index-DFIAjitZ.js create mode 100644 frontend/dist/assets/index-DHcidAHK.js create mode 100644 frontend/dist/assets/index-DWBG_Y-d.js create mode 100644 frontend/dist/assets/index-DlqR5_tk.js create mode 100644 frontend/dist/assets/index-Dp7iU37E.js create mode 100644 frontend/dist/assets/index-DxP0p4ch.js create mode 100644 frontend/dist/assets/index-DzRIYpeT.js create mode 100644 frontend/dist/assets/index-JhwhwYw5.js create mode 100644 frontend/dist/assets/index-ZKnv_mga.js create mode 100644 frontend/dist/assets/index-vq5UEcDd.js create mode 100644 frontend/dist/assets/index-zJ9bqPrh.js create mode 100644 frontend/dist/assets/install-i_dmuKuk.js create mode 100644 frontend/dist/assets/install-yQKxYHXo.js create mode 100644 frontend/dist/assets/log-jDwH_n_V.js create mode 100644 frontend/dist/assets/model-B9dq9fy6.js create mode 100644 frontend/dist/assets/models-WwcwjK0u.js create mode 100644 frontend/dist/assets/omit-CbHF-OEy.js create mode 100644 frontend/dist/assets/pdf.worker.min-DEtVeC4l.mjs create mode 100644 frontend/dist/assets/raf-Bjl8yy5U.js create mode 100644 frontend/dist/assets/scroll-Dvb2mTx8.js create mode 100644 frontend/dist/assets/toNumber-Yuob3eJv.js create mode 100644 frontend/dist/assets/tools-DNEgEZeS.js create mode 100644 frontend/dist/assets/use-dialog-DGVjglW6.js create mode 100644 frontend/dist/assets/usePolling-D0edaRGY.js create mode 100644 frontend/dist/assets/validator-AVoXfk3G.js create mode 100644 frontend/dist/assets/vnode-DIVHEdsp.js diff --git a/frontend/dist/assets/AppConfirmDialog-BI5Yud_k.js b/frontend/dist/assets/AppConfirmDialog-BI5Yud_k.js index a18f5f7..fb1cd4d 100644 --- a/frontend/dist/assets/AppConfirmDialog-BI5Yud_k.js +++ b/frontend/dist/assets/AppConfirmDialog-BI5Yud_k.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/AppConfirmDialog-BI5Yud_k.js import{d as C,bf as g,D as E,H as O,o as _,e as B,s as D,Z as $,w as A,c as I,aL as K,q as a,n as v,aa as r,g as q,bg as M,y as u,z as N,P as k}from"./index-CD29OCdJ.js";import{_ as R}from"./_plugin-vue_export-helper-DlAUqK2U.js";const V={class:"app-confirm-header"},z={class:"app-confirm-heading"},H={class:"app-confirm-icon","aria-hidden":"true"},L={class:"app-confirm-body"},P={class:"app-confirm-actions"},S=C({__name:"AppConfirmDialog",setup(j,{expose:x}){const c=u(!1),m=u(),p=u(),d=`app-confirm-title-${g()}`,y=`app-confirm-message-${g()}`,n=N({title:"请确认操作",message:"",confirmText:"确定",cancelText:"取消",tone:"warning",closeOnOverlay:!1});let o=null,i=null;function s(t){c.value=!1;const e=o;o=null,e==null||e(t)}function h(t){return o&&s(!1),Object.assign(n,{confirmText:"确定",cancelText:"取消",tone:"warning",closeOnOverlay:!1,...t}),c.value=!0,new Promise(e=>{o=e})}function w(){n.closeOnOverlay&&s(!1)}function T(t){var b;if(t.key==="Escape"){t.preventDefault(),s(!1);return}if(t.key!=="Tab")return;const e=Array.from(((b=m.value)==null?void 0:b.querySelectorAll("button:not([disabled])"))??[]),l=e[0],f=e[e.length-1];!l||!f||(t.shiftKey&&document.activeElement===l?(t.preventDefault(),f.focus()):!t.shiftKey&&document.activeElement===f&&(t.preventDefault(),l.focus()))}return E(c,async t=>{var e;if(t){i=document.activeElement instanceof HTMLElement?document.activeElement:null,await k(),(e=p.value)==null||e.focus();return}await k(),i==null||i.focus(),i=null}),O(()=>{o==null||o(!1),o=null}),x({open:h}),(t,e)=>(_(),B(M,{to:"body"},[D($,{name:"app-confirm"},{default:A(()=>[c.value?(_(),I("div",{key:0,class:"app-confirm-overlay",onMousedown:K(w,["self"])},[a("section",{ref_key:"dialogRef",ref:m,class:v(["app-confirm-dialog",`is-${n.tone}`]),role:"alertdialog","aria-modal":!0,"aria-labelledby":d,"aria-describedby":y,onKeydown:T},[a("header",V,[a("div",z,[a("span",H,[a("i",{class:v(n.tone==="primary"?"fa fa-question-circle":"fa fa-exclamation-triangle")},null,2)]),a("h2",{id:d},r(n.title),1)]),a("button",{class:"app-confirm-close",type:"button","aria-label":"关闭确认弹窗",onClick:e[0]||(e[0]=l=>s(!1))},[...e[3]||(e[3]=[a("i",{class:"fa fa-times","aria-hidden":"true"},null,-1)])])]),a("div",L,[a("p",{id:y},r(n.message),1)]),a("footer",P,[a("button",{ref_key:"cancelButtonRef",ref:p,class:"app-confirm-button is-cancel",type:"button",onClick:e[1]||(e[1]=l=>s(!1))},r(n.cancelText),513),a("button",{class:"app-confirm-button is-confirm",type:"button",onClick:e[2]||(e[2]=l=>s(!0))},r(n.confirmText),1)])],34)],32)):q("",!0)]),_:1})]))}}),G=R(S,[["__scopeId","data-v-398df98e"]]);export{G as A}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/AppConfirmDialog-DssSJ2jv.js +import{d as C,bf as g,D as E,H as O,o as _,e as B,s as D,Z as $,w as A,c as I,aL as K,q as a,n as v,aa as r,g as q,bg as M,y as u,z as N,P as k}from"./index-Ds9AETjS.js";import{_ as R}from"./_plugin-vue_export-helper-DlAUqK2U.js";const V={class:"app-confirm-header"},z={class:"app-confirm-heading"},H={class:"app-confirm-icon","aria-hidden":"true"},L={class:"app-confirm-body"},P={class:"app-confirm-actions"},S=C({__name:"AppConfirmDialog",setup(j,{expose:x}){const c=u(!1),m=u(),p=u(),d=`app-confirm-title-${g()}`,y=`app-confirm-message-${g()}`,n=N({title:"请确认操作",message:"",confirmText:"确定",cancelText:"取消",tone:"warning",closeOnOverlay:!1});let o=null,i=null;function s(t){c.value=!1;const e=o;o=null,e==null||e(t)}function h(t){return o&&s(!1),Object.assign(n,{confirmText:"确定",cancelText:"取消",tone:"warning",closeOnOverlay:!1,...t}),c.value=!0,new Promise(e=>{o=e})}function w(){n.closeOnOverlay&&s(!1)}function T(t){var b;if(t.key==="Escape"){t.preventDefault(),s(!1);return}if(t.key!=="Tab")return;const e=Array.from(((b=m.value)==null?void 0:b.querySelectorAll("button:not([disabled])"))??[]),l=e[0],f=e[e.length-1];!l||!f||(t.shiftKey&&document.activeElement===l?(t.preventDefault(),f.focus()):!t.shiftKey&&document.activeElement===f&&(t.preventDefault(),l.focus()))}return E(c,async t=>{var e;if(t){i=document.activeElement instanceof HTMLElement?document.activeElement:null,await k(),(e=p.value)==null||e.focus();return}await k(),i==null||i.focus(),i=null}),O(()=>{o==null||o(!1),o=null}),x({open:h}),(t,e)=>(_(),B(M,{to:"body"},[D($,{name:"app-confirm"},{default:A(()=>[c.value?(_(),I("div",{key:0,class:"app-confirm-overlay",onMousedown:K(w,["self"])},[a("section",{ref_key:"dialogRef",ref:m,class:v(["app-confirm-dialog",`is-${n.tone}`]),role:"alertdialog","aria-modal":!0,"aria-labelledby":d,"aria-describedby":y,onKeydown:T},[a("header",V,[a("div",z,[a("span",H,[a("i",{class:v(n.tone==="primary"?"fa fa-question-circle":"fa fa-exclamation-triangle")},null,2)]),a("h2",{id:d},r(n.title),1)]),a("button",{class:"app-confirm-close",type:"button","aria-label":"关闭确认弹窗",onClick:e[0]||(e[0]=l=>s(!1))},[...e[3]||(e[3]=[a("i",{class:"fa fa-times","aria-hidden":"true"},null,-1)])])]),a("div",L,[a("p",{id:y},r(n.message),1)]),a("footer",P,[a("button",{ref_key:"cancelButtonRef",ref:p,class:"app-confirm-button is-cancel",type:"button",onClick:e[1]||(e[1]=l=>s(!1))},r(n.cancelText),513),a("button",{class:"app-confirm-button is-confirm",type:"button",onClick:e[2]||(e[2]=l=>s(!0))},r(n.confirmText),1)])],34)],32)):q("",!0)]),_:1})]))}}),G=R(S,[["__scopeId","data-v-398df98e"]]);export{G as A}; +======== +import{d as C,bf as g,D as E,H as O,o as _,e as B,s as D,Z as $,w as A,c as I,aL as K,q as t,n as v,aa as r,g as q,bg as M,y as u,z as N,P as k}from"./index-CxbBjZKo.js";import{_ as R}from"./_plugin-vue_export-helper-DlAUqK2U.js";const V={class:"app-confirm-header"},z={class:"app-confirm-heading"},H={class:"app-confirm-icon","aria-hidden":"true"},L={class:"app-confirm-body"},P={class:"app-confirm-actions"},S=C({__name:"AppConfirmDialog",setup(j,{expose:x}){const c=u(!1),m=u(),p=u(),d=`app-confirm-title-${g()}`,y=`app-confirm-message-${g()}`,n=N({title:"请确认操作",message:"",confirmText:"确定",cancelText:"取消",tone:"warning",closeOnOverlay:!1});let o=null,i=null;function s(a){c.value=!1;const e=o;o=null,e==null||e(a)}function h(a){return o&&s(!1),Object.assign(n,{confirmText:"确定",cancelText:"取消",tone:"warning",closeOnOverlay:!1,...a}),c.value=!0,new Promise(e=>{o=e})}function w(){n.closeOnOverlay&&s(!1)}function T(a){var b;if(a.key==="Escape"){a.preventDefault(),s(!1);return}if(a.key!=="Tab")return;const e=Array.from(((b=m.value)==null?void 0:b.querySelectorAll("button:not([disabled])"))??[]),l=e[0],f=e[e.length-1];!l||!f||(a.shiftKey&&document.activeElement===l?(a.preventDefault(),f.focus()):!a.shiftKey&&document.activeElement===f&&(a.preventDefault(),l.focus()))}return E(c,async a=>{var e;if(a){i=document.activeElement instanceof HTMLElement?document.activeElement:null,await k(),(e=p.value)==null||e.focus();return}await k(),i==null||i.focus(),i=null}),O(()=>{o==null||o(!1),o=null}),x({open:h}),(a,e)=>(_(),B(M,{to:"body"},[D($,{name:"app-confirm"},{default:A(()=>[c.value?(_(),I("div",{key:0,class:"app-confirm-overlay",onMousedown:K(w,["self"])},[t("section",{ref_key:"dialogRef",ref:m,class:v(["app-confirm-dialog",`is-${n.tone}`]),role:"alertdialog","aria-modal":!0,"aria-labelledby":d,"aria-describedby":y,onKeydown:T},[t("header",V,[t("div",z,[t("span",H,[t("i",{class:v(n.tone==="primary"?"fa fa-question-circle":"fa fa-exclamation-triangle")},null,2)]),t("h2",{id:d},r(n.title),1)]),t("button",{class:"app-confirm-close",type:"button","aria-label":"关闭确认弹窗",onClick:e[0]||(e[0]=l=>s(!1))},[...e[3]||(e[3]=[t("i",{class:"fa fa-times","aria-hidden":"true"},null,-1)])])]),t("div",L,[t("p",{id:y},r(n.message),1)]),t("footer",P,[t("button",{ref_key:"cancelButtonRef",ref:p,class:"app-confirm-button is-cancel",type:"button",onClick:e[1]||(e[1]=l=>s(!1))},r(n.cancelText),513),t("button",{class:"app-confirm-button is-confirm",type:"button",onClick:e[2]||(e[2]=l=>s(!0))},r(n.confirmText),1)])],34)],32)):q("",!0)]),_:1})]))}}),G=R(S,[["__scopeId","data-v-8d3bf6ad"]]);export{G as A}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/AppConfirmDialog-D93e215T.js diff --git a/frontend/dist/assets/AppConfirmDialog-Bk_vjo5o.css b/frontend/dist/assets/AppConfirmDialog-Bk_vjo5o.css new file mode 100644 index 0000000..6117663 --- /dev/null +++ b/frontend/dist/assets/AppConfirmDialog-Bk_vjo5o.css @@ -0,0 +1 @@ +.app-confirm-overlay[data-v-8d3bf6ad]{position:fixed;z-index:2000;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;box-sizing:border-box;background:#0f172a70}.app-confirm-dialog[data-v-8d3bf6ad]{position:relative;width:min(480px,100%);overflow:hidden;background:#fff;border:1px solid #dfe3ea;border-radius:8px;box-shadow:0 12px 28px #0f172a29}.app-confirm-header[data-v-8d3bf6ad]{display:flex;min-height:52px;align-items:center;justify-content:space-between;gap:16px;padding:0 10px 0 20px;border-bottom:1px solid #e7eaf0}.app-confirm-heading[data-v-8d3bf6ad]{display:flex;min-width:0;align-items:center;gap:10px}.app-confirm-heading h2[data-v-8d3bf6ad]{margin:0;overflow:hidden;color:#273142;font-size:15px;font-weight:650;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.app-confirm-close[data-v-8d3bf6ad]{display:inline-grid;width:32px;height:32px;flex:0 0 32px;place-items:center;padding:0;color:#7b8495;background:transparent;border:0;border-radius:4px;cursor:pointer;transition:color .18s ease,background-color .18s ease}.app-confirm-close[data-v-8d3bf6ad]:hover{color:#273142;background:#f2f4f7}.app-confirm-close[data-v-8d3bf6ad]:focus-visible{outline:2px solid rgba(91,80,242,.45);outline-offset:1px}.app-confirm-icon[data-v-8d3bf6ad]{display:inline-grid;width:28px;height:28px;flex:0 0 28px;place-items:center;color:#a15c07;background:#fff8e6;border:1px solid #f3dfad;border-radius:6px;font-size:13px}.app-confirm-dialog.is-danger .app-confirm-icon[data-v-8d3bf6ad]{color:#c43232;background:#fff1f1;border-color:#f2c7c7}.app-confirm-dialog.is-primary .app-confirm-icon[data-v-8d3bf6ad]{color:#4f46e5;background:#f3f2ff;border-color:#d9d6ff}.app-confirm-body[data-v-8d3bf6ad]{padding:16px 20px 18px}.app-confirm-body p[data-v-8d3bf6ad]{margin:0;color:#5f6878;font-size:13px;line-height:1.7}.app-confirm-actions[data-v-8d3bf6ad]{display:flex;justify-content:flex-end;gap:8px;padding:10px 14px;background:#f8f9fb;border-top:1px solid #e7eaf0}.app-confirm-button[data-v-8d3bf6ad]{height:34px;min-width:72px;padding:0 13px;color:#344054;font-size:13px;font-weight:500;background:#fff;border:1px solid #cfd5df;border-radius:4px;cursor:pointer;transition:border-color .18s ease,background-color .18s ease,color .18s ease}.app-confirm-button[data-v-8d3bf6ad]:hover{color:#273142;background:#f2f4f7;border-color:#b9c1cd}.app-confirm-button[data-v-8d3bf6ad]:focus-visible{outline:2px solid rgba(91,80,242,.45);outline-offset:1px}.app-confirm-button.is-confirm[data-v-8d3bf6ad]{color:#fff;background:#a15c07;border-color:#a15c07}.app-confirm-button.is-confirm[data-v-8d3bf6ad]:hover{background:#844b06;border-color:#844b06}.app-confirm-dialog.is-danger .app-confirm-button.is-confirm[data-v-8d3bf6ad]{background:#c43232;border-color:#c43232}.app-confirm-dialog.is-danger .app-confirm-button.is-confirm[data-v-8d3bf6ad]:hover{background:#a92828;border-color:#a92828}.app-confirm-dialog.is-primary .app-confirm-button.is-confirm[data-v-8d3bf6ad]{background:#4f46e5;border-color:#4f46e5}.app-confirm-dialog.is-primary .app-confirm-button.is-confirm[data-v-8d3bf6ad]:hover{background:#4338ca;border-color:#4338ca}.app-confirm-enter-active[data-v-8d3bf6ad],.app-confirm-leave-active[data-v-8d3bf6ad]{transition:opacity .18s ease}.app-confirm-enter-active .app-confirm-dialog[data-v-8d3bf6ad],.app-confirm-leave-active .app-confirm-dialog[data-v-8d3bf6ad]{transition:opacity .18s ease,transform .18s ease}.app-confirm-enter-from[data-v-8d3bf6ad],.app-confirm-leave-to[data-v-8d3bf6ad]{opacity:0}.app-confirm-enter-from .app-confirm-dialog[data-v-8d3bf6ad],.app-confirm-leave-to .app-confirm-dialog[data-v-8d3bf6ad]{opacity:0;transform:translateY(4px)}@media(max-width:520px){.app-confirm-overlay[data-v-8d3bf6ad]{padding:12px}.app-confirm-actions[data-v-8d3bf6ad]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.app-confirm-button[data-v-8d3bf6ad]{height:auto;min-width:0;min-height:44px}}@media(prefers-reduced-motion:reduce){.app-confirm-enter-active[data-v-8d3bf6ad],.app-confirm-leave-active[data-v-8d3bf6ad],.app-confirm-enter-active .app-confirm-dialog[data-v-8d3bf6ad],.app-confirm-leave-active .app-confirm-dialog[data-v-8d3bf6ad]{transition:none}} diff --git a/frontend/dist/assets/AppConfirmDialog-D93e215T.js b/frontend/dist/assets/AppConfirmDialog-D93e215T.js new file mode 100644 index 0000000..d208129 --- /dev/null +++ b/frontend/dist/assets/AppConfirmDialog-D93e215T.js @@ -0,0 +1 @@ +import{d as C,bf as g,D as E,H as O,o as _,e as B,s as D,Z as $,w as A,c as I,aL as K,q as t,n as v,aa as r,g as q,bg as M,y as u,z as N,P as k}from"./index-CxbBjZKo.js";import{_ as R}from"./_plugin-vue_export-helper-DlAUqK2U.js";const V={class:"app-confirm-header"},z={class:"app-confirm-heading"},H={class:"app-confirm-icon","aria-hidden":"true"},L={class:"app-confirm-body"},P={class:"app-confirm-actions"},S=C({__name:"AppConfirmDialog",setup(j,{expose:x}){const c=u(!1),m=u(),p=u(),d=`app-confirm-title-${g()}`,y=`app-confirm-message-${g()}`,n=N({title:"请确认操作",message:"",confirmText:"确定",cancelText:"取消",tone:"warning",closeOnOverlay:!1});let o=null,i=null;function s(a){c.value=!1;const e=o;o=null,e==null||e(a)}function h(a){return o&&s(!1),Object.assign(n,{confirmText:"确定",cancelText:"取消",tone:"warning",closeOnOverlay:!1,...a}),c.value=!0,new Promise(e=>{o=e})}function w(){n.closeOnOverlay&&s(!1)}function T(a){var b;if(a.key==="Escape"){a.preventDefault(),s(!1);return}if(a.key!=="Tab")return;const e=Array.from(((b=m.value)==null?void 0:b.querySelectorAll("button:not([disabled])"))??[]),l=e[0],f=e[e.length-1];!l||!f||(a.shiftKey&&document.activeElement===l?(a.preventDefault(),f.focus()):!a.shiftKey&&document.activeElement===f&&(a.preventDefault(),l.focus()))}return E(c,async a=>{var e;if(a){i=document.activeElement instanceof HTMLElement?document.activeElement:null,await k(),(e=p.value)==null||e.focus();return}await k(),i==null||i.focus(),i=null}),O(()=>{o==null||o(!1),o=null}),x({open:h}),(a,e)=>(_(),B(M,{to:"body"},[D($,{name:"app-confirm"},{default:A(()=>[c.value?(_(),I("div",{key:0,class:"app-confirm-overlay",onMousedown:K(w,["self"])},[t("section",{ref_key:"dialogRef",ref:m,class:v(["app-confirm-dialog",`is-${n.tone}`]),role:"alertdialog","aria-modal":!0,"aria-labelledby":d,"aria-describedby":y,onKeydown:T},[t("header",V,[t("div",z,[t("span",H,[t("i",{class:v(n.tone==="primary"?"fa fa-question-circle":"fa fa-exclamation-triangle")},null,2)]),t("h2",{id:d},r(n.title),1)]),t("button",{class:"app-confirm-close",type:"button","aria-label":"关闭确认弹窗",onClick:e[0]||(e[0]=l=>s(!1))},[...e[3]||(e[3]=[t("i",{class:"fa fa-times","aria-hidden":"true"},null,-1)])])]),t("div",L,[t("p",{id:y},r(n.message),1)]),t("footer",P,[t("button",{ref_key:"cancelButtonRef",ref:p,class:"app-confirm-button is-cancel",type:"button",onClick:e[1]||(e[1]=l=>s(!1))},r(n.cancelText),513),t("button",{class:"app-confirm-button is-confirm",type:"button",onClick:e[2]||(e[2]=l=>s(!0))},r(n.confirmText),1)])],34)],32)):q("",!0)]),_:1})]))}}),G=R(S,[["__scopeId","data-v-8d3bf6ad"]]);export{G as A}; diff --git a/frontend/dist/assets/AppConfirmDialog-zFD3Iwu_.css b/frontend/dist/assets/AppConfirmDialog-zFD3Iwu_.css deleted file mode 100644 index 32badd7..0000000 --- a/frontend/dist/assets/AppConfirmDialog-zFD3Iwu_.css +++ /dev/null @@ -1 +0,0 @@ -.app-confirm-overlay[data-v-398df98e]{position:fixed;z-index:2000;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;box-sizing:border-box;background:#0f172a70}.app-confirm-dialog[data-v-398df98e]{position:relative;width:min(480px,100%);overflow:hidden;background:#fff;border:1px solid #dfe3ea;border-radius:8px;box-shadow:0 12px 28px #0f172a29}.app-confirm-header[data-v-398df98e]{display:flex;min-height:52px;align-items:center;justify-content:space-between;gap:16px;padding:0 10px 0 20px;border-bottom:1px solid #e7eaf0}.app-confirm-heading[data-v-398df98e]{display:flex;min-width:0;align-items:center;gap:10px}.app-confirm-heading h2[data-v-398df98e]{margin:0;overflow:hidden;color:#273142;font-size:15px;font-weight:650;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.app-confirm-close[data-v-398df98e]{display:inline-grid;width:32px;height:32px;flex:0 0 32px;place-items:center;padding:0;color:#7b8495;background:transparent;border:0;border-radius:4px;cursor:pointer;transition:color .18s ease,background-color .18s ease}.app-confirm-close[data-v-398df98e]:hover{color:#273142;background:#f2f4f7}.app-confirm-close[data-v-398df98e]:focus-visible{outline:2px solid rgba(91,80,242,.45);outline-offset:1px}.app-confirm-icon[data-v-398df98e]{display:inline-grid;width:28px;height:28px;flex:0 0 28px;place-items:center;color:#a15c07;background:#fff8e6;border:1px solid #f3dfad;border-radius:6px;font-size:13px}.app-confirm-dialog.is-danger .app-confirm-icon[data-v-398df98e]{color:#c43232;background:#fff1f1;border-color:#f2c7c7}.app-confirm-dialog.is-primary .app-confirm-icon[data-v-398df98e]{color:#4f46e5;background:#f3f2ff;border-color:#d9d6ff}.app-confirm-body[data-v-398df98e]{padding:16px 20px 18px}.app-confirm-body p[data-v-398df98e]{margin:0;color:#5f6878;font-size:13px;line-height:1.7}.app-confirm-actions[data-v-398df98e]{display:flex;justify-content:flex-end;gap:8px;padding:10px 14px;background:#f8f9fb;border-top:1px solid #e7eaf0}.app-confirm-button[data-v-398df98e]{height:34px;min-width:72px;padding:0 13px;color:#344054;font-size:13px;font-weight:500;background:#fff;border:1px solid #cfd5df;border-radius:4px;cursor:pointer;transition:border-color .18s ease,background-color .18s ease,color .18s ease}.app-confirm-button[data-v-398df98e]:hover{color:#273142;background:#f2f4f7;border-color:#b9c1cd}.app-confirm-button[data-v-398df98e]:focus-visible{outline:2px solid rgba(91,80,242,.45);outline-offset:1px}.app-confirm-button.is-confirm[data-v-398df98e]{color:#fff;background:#a15c07;border-color:#a15c07}.app-confirm-button.is-confirm[data-v-398df98e]:hover{background:#844b06;border-color:#844b06}.app-confirm-dialog.is-danger .app-confirm-button.is-confirm[data-v-398df98e]{background:#c43232;border-color:#c43232}.app-confirm-dialog.is-danger .app-confirm-button.is-confirm[data-v-398df98e]:hover{background:#a92828;border-color:#a92828}.app-confirm-dialog.is-primary .app-confirm-button.is-confirm[data-v-398df98e]{background:#4f46e5;border-color:#4f46e5}.app-confirm-dialog.is-primary .app-confirm-button.is-confirm[data-v-398df98e]:hover{background:#4338ca;border-color:#4338ca}.app-confirm-enter-active[data-v-398df98e],.app-confirm-leave-active[data-v-398df98e]{transition:opacity .18s ease}.app-confirm-enter-active .app-confirm-dialog[data-v-398df98e],.app-confirm-leave-active .app-confirm-dialog[data-v-398df98e]{transition:opacity .18s ease,transform .18s ease}.app-confirm-enter-from[data-v-398df98e],.app-confirm-leave-to[data-v-398df98e]{opacity:0}.app-confirm-enter-from .app-confirm-dialog[data-v-398df98e],.app-confirm-leave-to .app-confirm-dialog[data-v-398df98e]{opacity:0;transform:translateY(4px)}@media(max-width:520px){.app-confirm-overlay[data-v-398df98e]{padding:12px}.app-confirm-actions[data-v-398df98e]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.app-confirm-button[data-v-398df98e]{height:auto;min-width:0;min-height:44px}}@media(prefers-reduced-motion:reduce){.app-confirm-enter-active[data-v-398df98e],.app-confirm-leave-active[data-v-398df98e],.app-confirm-enter-active .app-confirm-dialog[data-v-398df98e],.app-confirm-leave-active .app-confirm-dialog[data-v-398df98e]{transition:none}} diff --git a/frontend/dist/assets/CompareChatView-DrSndDVG.css b/frontend/dist/assets/CompareChatView-DrSndDVG.css new file mode 100644 index 0000000..5a535c4 --- /dev/null +++ b/frontend/dist/assets/CompareChatView-DrSndDVG.css @@ -0,0 +1 @@ +.model-list[data-v-aaa4b5c9]{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}.empty-hint[data-v-aaa4b5c9]{color:#909399} diff --git a/frontend/dist/assets/CompareChatView-iaZgEQ8s.js b/frontend/dist/assets/CompareChatView-iaZgEQ8s.js new file mode 100644 index 0000000..23c15aa --- /dev/null +++ b/frontend/dist/assets/CompareChatView-iaZgEQ8s.js @@ -0,0 +1 @@ +import{a as N,E as B}from"./el-form-item-BA3ZlfqF.js";import{E as K}from"./index-zJ9bqPrh.js";import{E as M}from"./index-D23K2h6y.js";import{E as h}from"./index-BjlLyKON.js";import{E as I}from"./el-divider-B4fvp0nA.js";import{E as R}from"./el-slider-CPsf2yeE.js";import{d as F,G as z,e as V,w as l,ac as D,y as L,o as f,s as a,x as p,q as $,c as k,ad as j,aa as E,M as A,g as G,f as J,v as O,z as H,j as _,A as P}from"./index-CxbBjZKo.js";import"./el-popper-OAwpEmER.js";import"./el-tooltip-l0sNRNKZ.js";import"./el-input-number-Ba6IqA7Z.js";/* empty css */import{P as Q}from"./PageCard-CC9cofwx.js";import{u as W}from"./usePolling-D0edaRGY.js";import{a as X}from"./compare-DtYcNyhY.js";import{_ as Y}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./castArray-CwVgzdTt.js";import"./_baseClone-B6d4qZbo.js";import"./raf-Bjl8yy5U.js";import"./index-C4wGR5UT.js";import"./index-DxP0p4ch.js";import"./debounce-BJxjS5F3.js";import"./toNumber-Yuob3eJv.js";import"./clamp-Ow4I6lPc.js";import"./index-DHcidAHK.js";import"./index-ZKnv_mga.js";import"./el-card-BsCFVTSD.js";const Z={class:"model-list"},tt={key:0,class:"empty-hint"},et=F({__name:"CompareChatView",setup(ot){const b=D(),y=O(),x=b.params.id,n=L(null),e=H({systemPrompt:"",question:"",temperature:.7,topP:.9,topK:40,maxTokens:2048}),m=_(()=>{var s;if(!((s=n.value)!=null&&s.load_status))return[];try{return(typeof n.value.load_status=="string"?JSON.parse(n.value.load_status):n.value.load_status).loaded_models||[]}catch{return[]}}),T=_(()=>m.value.length>0&&m.value.every(s=>s.status==="ready"||s.status==="running")),g=_(()=>m.value.some(s=>s.status==="starting"));async function c(){try{n.value=await X(x)}catch{}}function C(){var u,i;if(!e.question.trim()){P.warning("请输入问题");return}if(g.value){P.warning("模型仍在启动中,请稍候");return}const s=new URLSearchParams({taskId:x,taskName:((u=n.value)==null?void 0:u.model_name)||((i=n.value)==null?void 0:i.name)||"",question:e.question,systemPrompt:e.systemPrompt,temperature:String(e.temperature),topP:String(e.topP),topK:String(e.topK),maxTokens:String(e.maxTokens)}),t=y.resolve(`/model-compare/result?${s.toString()}`).href;window.open(t,"_blank")}const{start:S}=W(c,5e3,{immediate:!1});return z(async()=>{await c(),S()}),(s,t)=>{const u=I,i=h,v=K,r=N,d=R,w=M,q=B;return f(),V(Q,{title:"模型对比配置"},{default:l(()=>[a(u,{"content-position":"left"},{default:l(()=>[...t[7]||(t[7]=[p("已启动模型",-1)])]),_:1}),$("div",Z,[(f(!0),k(A,null,j(m.value,(o,U)=>(f(),V(i,{key:U,type:o.status==="ready"||o.status==="running"?"success":o.status==="starting"?"warning":"danger",size:"large"},{default:l(()=>[p(E(o.model_name)+" ("+E(o.status)+") ",1)]),_:2},1032,["type"]))),128)),m.value.length?G("",!0):(f(),k("span",tt,"暂无已启动模型"))]),a(u,{"content-position":"left"},{default:l(()=>[...t[8]||(t[8]=[p("对话配置",-1)])]),_:1}),a(q,{"label-width":"120px",style:{"max-width":"700px"}},{default:l(()=>[a(r,{label:"系统提示词"},{default:l(()=>[a(v,{modelValue:e.systemPrompt,"onUpdate:modelValue":t[0]||(t[0]=o=>e.systemPrompt=o),type:"textarea",rows:3,placeholder:"可选"},null,8,["modelValue"])]),_:1}),a(r,{label:"问题"},{default:l(()=>[a(v,{modelValue:e.question,"onUpdate:modelValue":t[1]||(t[1]=o=>e.question=o),type:"textarea",rows:4,placeholder:"请输入要对比的问题"},null,8,["modelValue"])]),_:1}),a(r,{label:"Temperature"},{default:l(()=>[a(d,{modelValue:e.temperature,"onUpdate:modelValue":t[2]||(t[2]=o=>e.temperature=o),min:0,max:2,step:.1,"show-input":"",style:{"max-width":"500px"}},null,8,["modelValue"])]),_:1}),a(r,{label:"Top-p"},{default:l(()=>[a(d,{modelValue:e.topP,"onUpdate:modelValue":t[3]||(t[3]=o=>e.topP=o),min:0,max:1,step:.05,"show-input":"",style:{"max-width":"500px"}},null,8,["modelValue"])]),_:1}),a(r,{label:"Top-k"},{default:l(()=>[a(d,{modelValue:e.topK,"onUpdate:modelValue":t[4]||(t[4]=o=>e.topK=o),min:1,max:100,step:1,"show-input":"",style:{"max-width":"500px"}},null,8,["modelValue"])]),_:1}),a(r,{label:"Max Tokens"},{default:l(()=>[a(d,{modelValue:e.maxTokens,"onUpdate:modelValue":t[5]||(t[5]=o=>e.maxTokens=o),min:256,max:4096,step:128,"show-input":"",style:{"max-width":"500px"}},null,8,["modelValue"])]),_:1}),a(r,null,{default:l(()=>[a(w,{type:"primary",disabled:!T.value||g.value,onClick:C},{default:l(()=>[...t[9]||(t[9]=[p(" 开始对比 ",-1)])]),_:1},8,["disabled"]),a(w,{onClick:t[6]||(t[6]=o=>J(y).back())},{default:l(()=>[...t[10]||(t[10]=[p("返回",-1)])]),_:1})]),_:1})]),_:1})]),_:1})}}}),qt=Y(et,[["__scopeId","data-v-aaa4b5c9"]]);export{qt as default}; diff --git a/frontend/dist/assets/CompareResultView-BlQYt7fl.js b/frontend/dist/assets/CompareResultView-BlQYt7fl.js new file mode 100644 index 0000000..21705d9 --- /dev/null +++ b/frontend/dist/assets/CompareResultView-BlQYt7fl.js @@ -0,0 +1 @@ +import{E as D}from"./el-alert-Ty1qfW58.js";import{E as $}from"./index-D23K2h6y.js";import{E as z}from"./index-BjlLyKON.js";import{E as F}from"./el-card-BsCFVTSD.js";import{d as O,G as U,H as J,c as d,q as i,aa as c,f as v,s as N,w as m,M as K,ad as A,ac as G,y as g,o as r,x as p,e as y,g as H}from"./index-CxbBjZKo.js";/* empty css */import{_ as L}from"./MarkdownView.vue_vue_type_style_index_0_lang-BKsnCmpO.js";import{a as W,c as j}from"./compare-DtYcNyhY.js";import{_ as Q}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./vnode-DIVHEdsp.js";const X={class:"compare-result"},Y={class:"result-header"},Z={class:"header-actions"},tt={class:"result-grid"},et={class:"card-header"},st={class:"model-name"},ot={key:0,class:"error-text"},at={key:1,class:"streaming-text"},nt={key:3,class:"loading-text"},lt={key:4,class:"result-stats"},rt=O({__name:"CompareResultView",setup(it){const u=G(),q=u.query.taskId,k=decodeURIComponent(u.query.question||""),h=decodeURIComponent(u.query.systemPrompt||""),E=Number(u.query.temperature||.7),P=Number(u.query.topP||.9),I=Number(u.query.topK||40),b=Number(u.query.maxTokens||2048),w=u.query.taskName,l=g([]),C=g(!1),x=g([]),f=new Set;async function B(){if(!C.value){C.value=!0;try{const s=await W(q);let t=[];s.load_status&&(t=(typeof s.load_status=="string"?JSON.parse(s.load_status):s.load_status).loaded_models||[]),x.value=t,l.value=t.map(o=>({name:o.model_name||"模型",content:"",displayContent:"",isTyping:!1,status:"loading"})),await Promise.all(t.map((o,e)=>S(o,e)))}catch{}}}async function S(s,t){const o=Date.now();try{const e=await V(j({port:s.port,model_name:s.model_name,messages:[...h?[{role:"system",content:h}]:[],{role:"user",content:k}],temperature:E,top_p:P,top_k:I,max_tokens:b}),3e5),a=(e==null?void 0:e.response)||(e==null?void 0:e.content)||(e==null?void 0:e.data)||JSON.stringify(e),_=(Date.now()-o)/1e3;l.value[t].content=a,l.value[t].status="done",l.value[t].stats={totalTime:_,charsPerSec:_>0?Number((a.length/_).toFixed(1)):0},M(t,a)}catch(e){l.value[t].content="推理失败: "+(e.message||""),l.value[t].status="error"}}async function V(s,t){let o=null;try{return await Promise.race([s,new Promise((e,a)=>{o=setTimeout(()=>a(new Error("推理超时")),t)})])}finally{o&&clearTimeout(o)}}function M(s,t){let o=0;l.value[s].isTyping=!0;const e=Math.max(2,Math.ceil(t.length/30)),a=setInterval(()=>{o+=e,l.value[s].displayContent=t.slice(0,o),o>=t.length&&(clearInterval(a),f.delete(a),l.value[s].displayContent=t,l.value[s].isTyping=!1)},50);f.add(a)}return U(B),J(()=>{f.forEach(clearInterval),f.clear()}),(s,t)=>{const o=$,e=D,a=z,_=F;return r(),d("div",X,[i("div",Y,[i("h2",null,"对比结果"+c(v(w)?` - ${v(w)}`:""),1),i("div",Z,[N(o,{onClick:t[0]||(t[0]=n=>s.$router.push("/model-inference"))},{default:m(()=>[...t[1]||(t[1]=[p("返回列表",-1)])]),_:1})])]),N(e,{type:"info",closable:!1,"show-icon":"",class:"question-box"},{title:m(()=>[t[2]||(t[2]=i("strong",null,"问题:",-1)),p(c(v(k)),1)]),_:1}),i("div",tt,[(r(!0),d(K,null,A(l.value,(n,R)=>(r(),y(_,{key:R,shadow:"hover",class:"result-card"},{header:m(()=>[i("div",et,[i("span",st,c(n.name),1),n.status==="loading"?(r(),y(a,{key:0,type:"warning",size:"small"},{default:m(()=>[...t[3]||(t[3]=[p("生成中...",-1)])]),_:1})):n.status==="done"?(r(),y(a,{key:1,type:"success",size:"small"},{default:m(()=>[...t[4]||(t[4]=[p("完成",-1)])]),_:1})):(r(),y(a,{key:2,type:"danger",size:"small"},{default:m(()=>[...t[5]||(t[5]=[p("失败",-1)])]),_:1}))])]),default:m(()=>{var T;return[n.status==="error"?(r(),d("div",ot,c(n.content),1)):n.isTyping?(r(),d("div",at,c(n.displayContent),1)):n.displayContent?(r(),y(L,{key:2,content:n.displayContent},null,8,["content"])):(r(),d("div",nt,[...t[6]||(t[6]=[i("i",{class:"fa fa-spinner fa-spin"},null,-1),p(" 正在生成回答... ",-1)])])),n.stats?(r(),d("div",lt,[i("span",null,"耗时 "+c((T=n.stats.totalTime)==null?void 0:T.toFixed(1))+"s",1),i("span",null,"速度 "+c(n.stats.charsPerSec)+" 字/秒",1)])):H("",!0)]}),_:2},1024))),128))])])}}}),kt=Q(rt,[["__scopeId","data-v-8391f389"]]);export{kt as default}; diff --git a/frontend/dist/assets/CompareResultView-DcZvYm8N.css b/frontend/dist/assets/CompareResultView-DcZvYm8N.css new file mode 100644 index 0000000..04e2391 --- /dev/null +++ b/frontend/dist/assets/CompareResultView-DcZvYm8N.css @@ -0,0 +1 @@ +.compare-result[data-v-8391f389]{max-width:1200px;margin:0 auto}.result-header[data-v-8391f389]{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.result-header h2[data-v-8391f389]{font-size:18px;font-weight:500;margin:0}.question-box[data-v-8391f389]{margin-bottom:20px}.result-grid[data-v-8391f389]{display:grid;grid-template-columns:repeat(auto-fit,minmax(420px,1fr));gap:16px}.result-card .card-header[data-v-8391f389]{display:flex;align-items:center;justify-content:space-between}.result-card .card-header .model-name[data-v-8391f389]{font-weight:500;color:#303133}.result-card .loading-text[data-v-8391f389],.result-card .error-text[data-v-8391f389]{color:#909399;min-height:80px;display:flex;align-items:center;justify-content:center}.result-card .error-text[data-v-8391f389]{color:#f56c6c}.result-card .streaming-text[data-v-8391f389]{min-height:80px;line-height:1.7;white-space:pre-wrap;word-break:break-word}.result-card .result-stats[data-v-8391f389]{display:flex;gap:16px;margin-top:12px;padding-top:12px;border-top:1px solid #ebeef5;font-size:12px;color:#909399} diff --git a/frontend/dist/assets/CompareResultView-DlLosvn8.css b/frontend/dist/assets/CompareResultView-DlLosvn8.css deleted file mode 100644 index 4474895..0000000 --- a/frontend/dist/assets/CompareResultView-DlLosvn8.css +++ /dev/null @@ -1 +0,0 @@ -.compare-result[data-v-4c4e03d7]{max-width:1200px;margin:0 auto}.result-header[data-v-4c4e03d7]{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.result-header h2[data-v-4c4e03d7]{font-size:18px;font-weight:500;margin:0}.question-box[data-v-4c4e03d7]{margin-bottom:20px}.result-grid[data-v-4c4e03d7]{display:grid;grid-template-columns:repeat(auto-fit,minmax(420px,1fr));gap:16px}.result-card .card-header[data-v-4c4e03d7]{display:flex;align-items:center;justify-content:space-between}.result-card .card-header .model-name[data-v-4c4e03d7]{font-weight:500;color:#303133}.result-card .loading-text[data-v-4c4e03d7],.result-card .error-text[data-v-4c4e03d7]{color:#909399;min-height:80px;display:flex;align-items:center;justify-content:center}.result-card .error-text[data-v-4c4e03d7]{color:#f56c6c}.result-card .streaming-text[data-v-4c4e03d7]{min-height:80px;line-height:1.7;white-space:pre-wrap;word-break:break-word}.result-card .result-stats[data-v-4c4e03d7]{display:flex;gap:16px;margin-top:12px;padding-top:12px;border-top:1px solid #ebeef5;font-size:12px;color:#909399} diff --git a/frontend/dist/assets/ComputeNodesView-BTH2GWs1.css b/frontend/dist/assets/ComputeNodesView-BTH2GWs1.css new file mode 100644 index 0000000..8c61d5f --- /dev/null +++ b/frontend/dist/assets/ComputeNodesView-BTH2GWs1.css @@ -0,0 +1 @@ +.compute-page[data-v-3a9b0afd]{display:flex;flex-direction:column;gap:16px;min-height:0;height:100%;padding:24px;background:#fff}.compute-header[data-v-3a9b0afd]{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.compute-header h1[data-v-3a9b0afd]{margin:0;font-size:24px;font-weight:650;color:#111827}.compute-header p[data-v-3a9b0afd]{margin:8px 0 0;color:#64748b}.header-actions[data-v-3a9b0afd]{display:flex;align-items:center;gap:12px}.last-updated[data-v-3a9b0afd],.muted[data-v-3a9b0afd]{color:#64748b;font-size:12px}.last-updated[data-v-3a9b0afd]{display:inline-block;min-width:92px;text-align:right}.summary-grid[data-v-3a9b0afd]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.summary-tile[data-v-3a9b0afd]{border:1px solid #e5e7eb;border-radius:8px;padding:14px 16px;background:#f8fafc}.summary-tile span[data-v-3a9b0afd]{display:block;color:#64748b;font-size:12px}.summary-tile strong[data-v-3a9b0afd]{display:block;margin-top:8px;color:#111827;font-size:24px}.compute-tabs[data-v-3a9b0afd]{flex:1;min-height:0}.compute-tabs[data-v-3a9b0afd] .el-tabs__content{height:calc(100% - 56px)}.compute-tabs[data-v-3a9b0afd] .el-tab-pane{height:100%}.mono[data-v-3a9b0afd]{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.replica-toolbar[data-v-3a9b0afd]{display:flex;gap:12px;align-items:center;margin-bottom:12px}.replica-toolbar .el-select[data-v-3a9b0afd]{width:280px}.node-form-grid[data-v-3a9b0afd]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}.node-form-grid[data-v-3a9b0afd] .el-input-number,.node-form-grid[data-v-3a9b0afd] .el-select{width:100%}@media(max-width:960px){.compute-header[data-v-3a9b0afd],.header-actions[data-v-3a9b0afd],.replica-toolbar[data-v-3a9b0afd]{flex-direction:column;align-items:stretch}.summary-grid[data-v-3a9b0afd]{grid-template-columns:repeat(2,minmax(0,1fr))}.node-form-grid[data-v-3a9b0afd]{grid-template-columns:1fr}} diff --git a/frontend/dist/assets/ComputeNodesView-DGj1xqt1.js b/frontend/dist/assets/ComputeNodesView-DGj1xqt1.js new file mode 100644 index 0000000..162ac7e --- /dev/null +++ b/frontend/dist/assets/ComputeNodesView-DGj1xqt1.js @@ -0,0 +1 @@ +import{E as ve,a as ye}from"./el-form-item-BA3ZlfqF.js";import{E as we}from"./index-zJ9bqPrh.js";import{E as he}from"./index-D23K2h6y.js";import{E as Ve}from"./index-BjlLyKON.js";import{E as Ce,a as Ee}from"./el-select-CeiDjMzB.js";import{E as ke}from"./el-dialog-fpsmuz8Z.js";import{E as xe}from"./el-input-number-Ba6IqA7Z.js";import{E as Ne}from"./el-progress-Br676mBH.js";import{E as Ue}from"./el-space-9hUfFaMV.js";import{E as $e}from"./el-switch-EBBsaB1p.js";import{a as je,E as Pe}from"./el-table-b_qkWXYf.js";import{a as Ge,E as Ie}from"./el-tab-pane-DQY-HDUC.js";import{v as Te}from"./directive-DCr8Ae3g.js";import{aF as T,aG as N,aH as Le,d as Se,y as c,D as qe,G as De,ah as Be,K as Fe,c as v,q as i,aa as u,g as J,s as t,w as a,ac as ze,j as G,o as f,x as d,M as K,ad as Q,e as I,z as Re,A as x,v as Ae}from"./index-CxbBjZKo.js";import"./el-scrollbar-B0E7ZTt3.js";import"./el-popper-OAwpEmER.js";/* empty css */import"./el-tooltip-l0sNRNKZ.js";import"./el-checkbox-C_TzqU9u.js";import{_ as Me}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./castArray-CwVgzdTt.js";import"./_baseClone-B6d4qZbo.js";import"./raf-Bjl8yy5U.js";import"./index-C4wGR5UT.js";import"./index-DxP0p4ch.js";import"./index-DHcidAHK.js";import"./vnode-DIVHEdsp.js";import"./index-Bzaib5AU.js";import"./scroll-Dvb2mTx8.js";import"./clamp-Ow4I6lPc.js";import"./toNumber-Yuob3eJv.js";import"./_baseIteratee-C6JbNheX.js";import"./index-36LucyXi.js";import"./use-dialog-DGVjglW6.js";import"./index-C3HZL-2Y.js";import"./index-ZKnv_mga.js";import"./validator-AVoXfk3G.js";import"./debounce-BJxjS5F3.js";import"./omit-CbHF-OEy.js";const Oe=()=>T("/compute/nodes"),He=m=>N("/compute/nodes",m),Je=(m,U)=>Le(`/compute/nodes/${m}`,U),Ke=m=>N(`/compute/nodes/${m}/test-connection`),Qe=m=>N(`/compute/nodes/${m}/enable`),We=m=>N(`/compute/nodes/${m}/disable`),Xe=m=>N(`/compute/nodes/${m}/drain`),Ye=()=>T("/compute/gpus"),Ze=()=>T("/compute/queue"),et=m=>T(`/compute/nodes/${m}/replicas`),tt={class:"compute-page"},lt={class:"compute-header"},at={class:"header-actions"},ot={key:0,class:"last-updated"},nt={class:"summary-grid"},st={class:"summary-tile"},ut={class:"summary-tile"},it={class:"summary-tile"},dt={class:"summary-tile"},rt={class:"mono"},mt={class:"muted mono"},pt={class:"muted"},_t={class:"muted"},ct={key:0,class:"muted"},ft={class:"muted"},gt={class:"replica-toolbar"},bt={key:0,class:"muted"},vt={class:"node-form-grid"},yt=Se({__name:"ComputeNodesView",setup(m){const U=ze(),ee=Ae(),L=c(String(U.query.tab||"nodes")),S=c(!0),q=c(!1),y=c([]),$=c([]),D=c([]),B=c([]),b=c(""),F=c(""),h=c(!1),C=c("create"),z=c(!1),n=Re({id:"",code:"",name:"",api_base_url:"",file_gateway_url:"",enabled:!0,scheduler_status:"offline",scheduler_weight:100,tags_text:"",max_parallel_jobs:1,data_root:"/data/yg-ft",model_root:"/data/yg-ft/models",log_root:"/opt/yg-ft/logs/training",description:""});let R=null,A=!1;const W=G(()=>y.value.find(o=>o.id===b.value)),te=G(()=>y.value.filter(o=>o.enabled).length),le=G(()=>$.value.filter(o=>o.status==="busy"||o.status==="reserved").length),ae=G(()=>y.value.reduce((o,l)=>o+l.current_running_jobs,0));qe(()=>U.query.tab,o=>{L.value=String(o||"nodes")});async function E(o={}){if(A)return;A=!0;const l=o.showLoading??!1,r=o.showButtonLoading??!1;l&&(S.value=!0),r&&(q.value=!0);try{const[s,w,M]=await Promise.all([Oe(),Ye(),Ze()]);y.value=s,$.value=w,D.value=M,(!b.value||!s.some(V=>V.id===b.value))&&s.length&&(b.value=s[0].id),await X(),F.value=new Date().toLocaleTimeString("zh-CN",{hour12:!1})}finally{l&&(S.value=!1),r&&(q.value=!1),A=!1}}async function X(){if(!b.value){B.value=[];return}B.value=await et(b.value)}async function oe(o){await ee.replace({path:"/compute",query:{tab:String(o)}})}async function j(o,l){const r=String(l.id);if(o==="enable"&&await Qe(r),o==="disable"&&await We(r),o==="drain"&&await Xe(r),o==="test"){const s=await Ke(r);s.success?x.success(`连接成功,发现 ${s.gpu_count} 张 GPU,延迟 ${s.latency_ms}ms`):x.error(s.error||"连接失败")}await E()}function ne(){Object.assign(n,{id:"",code:"",name:"",api_base_url:"",file_gateway_url:"",enabled:!0,scheduler_status:"offline",scheduler_weight:100,tags_text:"",max_parallel_jobs:1,data_root:"/data/yg-ft",model_root:"/data/yg-ft/models",log_root:"/opt/yg-ft/logs/training",description:""})}function se(){ne(),C.value="create",h.value=!0}function ue(o){var l;Object.assign(n,{id:o.id,code:o.code,name:o.name,api_base_url:o.api_base_url,file_gateway_url:o.file_gateway_url,enabled:o.enabled,scheduler_status:o.scheduler_status,scheduler_weight:o.scheduler_weight,tags_text:((l=o.tags)==null?void 0:l.join(", "))||"",max_parallel_jobs:o.max_parallel_jobs,data_root:o.data_root,model_root:o.model_root,log_root:o.log_root,description:o.description||""}),C.value="edit",h.value=!0}function ie(){const o=n.tags_text.replace(/,/g,",").split(",").map(l=>l.trim()).filter(Boolean);return{code:n.code.trim(),name:n.name.trim()||n.code.trim(),api_base_url:n.api_base_url.trim().replace(/\/$/,""),file_gateway_url:(n.file_gateway_url||n.api_base_url).trim().replace(/\/$/,""),enabled:n.enabled,scheduler_status:n.scheduler_status,scheduler_weight:Number(n.scheduler_weight)||0,tags:o,max_parallel_jobs:Number(n.max_parallel_jobs)||1,data_root:n.data_root.trim()||"/data/yg-ft",model_root:n.model_root.trim()||"/data/yg-ft/models",log_root:n.log_root.trim()||"/opt/yg-ft/logs/training",description:n.description.trim()}}async function de(){const o=ie();if(!o.code||!o.api_base_url){x.warning("请填写节点编码和 Compute API 地址");return}z.value=!0;try{C.value==="create"?(await He(o),x.success("节点已创建")):(await Je(n.id,o),x.success("节点配置已更新")),h.value=!1,await E()}finally{z.value=!1}}function re(o){return o==="online"?"success":o==="draining"||o==="maintenance"?"warning":"info"}function me(o){return o==="running"?"success":o==="syncing"||o==="queued"?"warning":o==="failed"?"danger":"info"}function pe(o){return o==="busy"?"success":o==="reserved"?"warning":"info"}return De(()=>{E({showLoading:!0}),R=setInterval(()=>E(),5e3)}),Be(()=>{R&&clearInterval(R)}),(o,l)=>{const r=he,s=Pe,w=Ve,M=Ue,V=je,P=Ie,O=Ne,k=Ee,Y=Ce,_e=Ge,g=we,p=ye,Z=xe,ce=$e,fe=ve,ge=ke,be=Te;return Fe((f(),v("section",tt,[i("header",lt,[l[20]||(l[20]=i("div",null,[i("h1",null,"算力节点"),i("p",null,"维护训练算力节点、GPU 状态、任务队列和模型/数据集本地副本。")],-1)),i("div",at,[F.value?(f(),v("span",ot,"更新 "+u(F.value),1)):J("",!0),t(r,{type:"primary",onClick:se},{default:a(()=>[...l[18]||(l[18]=[d("新增节点",-1)])]),_:1}),t(r,{loading:q.value,onClick:l[0]||(l[0]=e=>E({showButtonLoading:!0}))},{default:a(()=>[...l[19]||(l[19]=[d("刷新",-1)])]),_:1},8,["loading"])])]),i("div",nt,[i("div",st,[l[21]||(l[21]=i("span",null,"在线节点",-1)),i("strong",null,u(te.value)+" / "+u(y.value.length),1)]),i("div",ut,[l[22]||(l[22]=i("span",null,"GPU 占用",-1)),i("strong",null,u(le.value)+" / "+u($.value.length),1)]),i("div",it,[l[23]||(l[23]=i("span",null,"运行任务",-1)),i("strong",null,u(ae.value),1)]),i("div",dt,[l[24]||(l[24]=i("span",null,"队列任务",-1)),i("strong",null,u(D.value.length),1)])]),t(_e,{modelValue:L.value,"onUpdate:modelValue":l[2]||(l[2]=e=>L.value=e),class:"compute-tabs",onTabChange:oe},{default:a(()=>[t(P,{label:"节点",name:"nodes"},{default:a(()=>[t(V,{data:y.value,height:"100%"},{default:a(()=>[t(s,{prop:"code",label:"节点编码","min-width":"150"}),t(s,{prop:"name",label:"节点名称","min-width":"150"}),t(s,{label:"状态",width:"120"},{default:a(({row:e})=>[t(w,{type:re(e.scheduler_status)},{default:a(()=>[d(u(e.scheduler_status),1)]),_:2},1032,["type"])]),_:1}),t(s,{label:"启用",width:"90"},{default:a(({row:e})=>[t(w,{type:e.enabled?"success":"info"},{default:a(()=>[d(u(e.enabled?"启用":"停用"),1)]),_:2},1032,["type"])]),_:1}),t(s,{prop:"scheduler_weight",label:"权重",width:"90"}),t(s,{label:"标签","min-width":"220"},{default:a(({row:e})=>[t(M,{wrap:""},{default:a(()=>[(f(!0),v(K,null,Q(e.tags,_=>(f(),I(w,{key:_,effect:"plain"},{default:a(()=>[d(u(_),1)]),_:2},1024))),128))]),_:2},1024)]),_:1}),t(s,{label:"任务/GPU",width:"120"},{default:a(({row:e})=>[d(u(e.current_running_jobs)+" / "+u(e.gpu_count),1)]),_:1}),t(s,{label:"服务地址","min-width":"260"},{default:a(({row:e})=>[i("div",rt,u(e.api_base_url),1),i("div",mt,u(e.file_gateway_url),1)]),_:1}),t(s,{label:"操作",width:"330",fixed:"right"},{default:a(({row:e})=>[t(r,{size:"small",onClick:_=>ue(e)},{default:a(()=>[...l[25]||(l[25]=[d("编辑",-1)])]),_:1},8,["onClick"]),t(r,{size:"small",onClick:_=>j("test",e)},{default:a(()=>[...l[26]||(l[26]=[d("测试",-1)])]),_:1},8,["onClick"]),e.enabled?(f(),I(r,{key:0,size:"small",onClick:_=>j("disable",e)},{default:a(()=>[...l[27]||(l[27]=[d("停用",-1)])]),_:1},8,["onClick"])):(f(),I(r,{key:1,size:"small",type:"primary",onClick:_=>j("enable",e)},{default:a(()=>[...l[28]||(l[28]=[d("启用",-1)])]),_:1},8,["onClick"])),t(r,{size:"small",type:"warning",plain:"",onClick:_=>j("drain",e)},{default:a(()=>[...l[29]||(l[29]=[d("维护",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1},8,["data"])]),_:1}),t(P,{label:"GPU",name:"gpus"},{default:a(()=>[t(V,{data:$.value,height:"100%"},{default:a(()=>[t(s,{label:"GPU","min-width":"220"},{default:a(({row:e})=>[i("strong",null,u(e.node_code)+" / GPU "+u(e.id),1),i("div",pt,u(e.name),1)]),_:1}),t(s,{label:"状态",width:"100"},{default:a(({row:e})=>[t(w,{type:pe(e.status)},{default:a(()=>[d(u(e.status),1)]),_:2},1032,["type"])]),_:1}),t(s,{label:"利用率","min-width":"180"},{default:a(({row:e})=>[t(O,{percentage:e.gpu_percent,"stroke-width":8},null,8,["percentage"])]),_:1}),t(s,{label:"显存","min-width":"190"},{default:a(({row:e})=>[t(O,{percentage:Math.round(e.memory_percent),"stroke-width":8},null,8,["percentage"]),i("span",_t,u(e.memory_used_gb)+" / "+u(e.memory_total_gb)+" GB",1)]),_:1}),t(s,{label:"温度/功耗",width:"150"},{default:a(({row:e})=>[d(u(e.temperature)+" C / "+u(e.power_w)+" W",1)]),_:1}),t(s,{label:"进程","min-width":"220"},{default:a(({row:e})=>{var _;return[(_=e.processes)!=null&&_.length?J("",!0):(f(),v("span",ct,"空闲")),(f(!0),v(K,null,Q(e.processes,H=>(f(),v("div",{key:H.pid},[d(u(H.task_name)+" ",1),i("span",ft,"PID "+u(H.pid),1)]))),128))]}),_:1})]),_:1},8,["data"])]),_:1}),t(P,{label:"队列",name:"queue"},{default:a(()=>[t(V,{data:D.value,height:"100%"},{default:a(()=>[t(s,{prop:"name",label:"任务名称","min-width":"200"}),t(s,{label:"状态",width:"110"},{default:a(({row:e})=>[t(w,{type:me(e.status)},{default:a(()=>[d(u(e.status),1)]),_:2},1032,["type"])]),_:1}),t(s,{label:"进度","min-width":"220"},{default:a(({row:e})=>[t(O,{percentage:e.progress,"stroke-width":8},null,8,["percentage"])]),_:1}),t(s,{prop:"compute_node_id",label:"节点",width:"140"}),t(s,{label:"GPU",width:"120"},{default:a(({row:e})=>{var _;return[d(u(((_=e.gpus)==null?void 0:_.join(", "))||"-"),1)]}),_:1}),t(s,{prop:"create_time",label:"创建时间",width:"190"})]),_:1},8,["data"])]),_:1}),t(P,{label:"资源副本",name:"replicas"},{default:a(()=>[i("div",gt,[t(Y,{modelValue:b.value,"onUpdate:modelValue":l[1]||(l[1]=e=>b.value=e),filterable:"",onChange:X},{default:a(()=>[(f(!0),v(K,null,Q(y.value,e=>(f(),I(k,{key:e.id,label:`${e.code} - ${e.name}`,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),W.value?(f(),v("span",bt,"当前节点 "+u(W.value.api_base_url),1)):J("",!0)]),t(V,{data:B.value,height:"100%"},{default:a(()=>[t(s,{prop:"resource_type",label:"资源类型",width:"110"}),t(s,{prop:"resource_id",label:"资源 ID","min-width":"180"}),t(s,{prop:"local_path",label:"本地路径","min-width":"300"}),t(s,{prop:"status",label:"状态",width:"110"}),t(s,{prop:"sync_status",label:"同步状态",width:"120"}),t(s,{prop:"create_time",label:"创建时间",width:"190"})]),_:1},8,["data"])]),_:1})]),_:1},8,["modelValue"]),t(ge,{modelValue:h.value,"onUpdate:modelValue":l[17]||(l[17]=e=>h.value=e),title:C.value==="create"?"新增算力节点":"编辑算力节点",width:"720px"},{footer:a(()=>[t(r,{onClick:l[16]||(l[16]=e=>h.value=!1)},{default:a(()=>[...l[30]||(l[30]=[d("取消",-1)])]),_:1}),t(r,{type:"primary",loading:z.value,onClick:de},{default:a(()=>[...l[31]||(l[31]=[d("保存",-1)])]),_:1},8,["loading"])]),default:a(()=>[t(fe,{"label-width":"130px"},{default:a(()=>[i("div",vt,[t(p,{label:"节点编码",required:""},{default:a(()=>[t(g,{modelValue:n.code,"onUpdate:modelValue":l[3]||(l[3]=e=>n.code=e),disabled:C.value==="edit",placeholder:"gpu-node-01"},null,8,["modelValue","disabled"])]),_:1}),t(p,{label:"节点名称"},{default:a(()=>[t(g,{modelValue:n.name,"onUpdate:modelValue":l[4]||(l[4]=e=>n.name=e),placeholder:"A800 训练节点 01"},null,8,["modelValue"])]),_:1}),t(p,{label:"Compute API",required:""},{default:a(()=>[t(g,{modelValue:n.api_base_url,"onUpdate:modelValue":l[5]||(l[5]=e=>n.api_base_url=e),placeholder:"http://10.0.0.11:19100"},null,8,["modelValue"])]),_:1}),t(p,{label:"File Gateway"},{default:a(()=>[t(g,{modelValue:n.file_gateway_url,"onUpdate:modelValue":l[6]||(l[6]=e=>n.file_gateway_url=e),placeholder:"http://10.0.0.11:19101"},null,8,["modelValue"])]),_:1}),t(p,{label:"调度权重"},{default:a(()=>[t(Z,{modelValue:n.scheduler_weight,"onUpdate:modelValue":l[7]||(l[7]=e=>n.scheduler_weight=e),min:0,max:1e3,"controls-position":"right"},null,8,["modelValue"])]),_:1}),t(p,{label:"最大并行任务"},{default:a(()=>[t(Z,{modelValue:n.max_parallel_jobs,"onUpdate:modelValue":l[8]||(l[8]=e=>n.max_parallel_jobs=e),min:1,max:32,"controls-position":"right"},null,8,["modelValue"])]),_:1}),t(p,{label:"启用状态"},{default:a(()=>[t(ce,{modelValue:n.enabled,"onUpdate:modelValue":l[9]||(l[9]=e=>n.enabled=e),"active-text":"启用","inactive-text":"停用"},null,8,["modelValue"])]),_:1}),t(p,{label:"调度状态"},{default:a(()=>[t(Y,{modelValue:n.scheduler_status,"onUpdate:modelValue":l[10]||(l[10]=e=>n.scheduler_status=e)},{default:a(()=>[t(k,{label:"离线",value:"offline"}),t(k,{label:"在线",value:"online"}),t(k,{label:"维护中",value:"draining"}),t(k,{label:"维护模式",value:"maintenance"})]),_:1},8,["modelValue"])]),_:1})]),t(p,{label:"标签"},{default:a(()=>[t(g,{modelValue:n.tags_text,"onUpdate:modelValue":l[11]||(l[11]=e=>n.tags_text=e),placeholder:"a800, lora, beijing"},null,8,["modelValue"])]),_:1}),t(p,{label:"数据根目录"},{default:a(()=>[t(g,{modelValue:n.data_root,"onUpdate:modelValue":l[12]||(l[12]=e=>n.data_root=e)},null,8,["modelValue"])]),_:1}),t(p,{label:"模型根目录"},{default:a(()=>[t(g,{modelValue:n.model_root,"onUpdate:modelValue":l[13]||(l[13]=e=>n.model_root=e)},null,8,["modelValue"])]),_:1}),t(p,{label:"训练日志目录"},{default:a(()=>[t(g,{modelValue:n.log_root,"onUpdate:modelValue":l[14]||(l[14]=e=>n.log_root=e)},null,8,["modelValue"])]),_:1}),t(p,{label:"备注"},{default:a(()=>[t(g,{modelValue:n.description,"onUpdate:modelValue":l[15]||(l[15]=e=>n.description=e),type:"textarea",rows:3},null,8,["modelValue"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])])),[[be,S.value]])}}}),nl=Me(yt,[["__scopeId","data-v-3a9b0afd"]]);export{nl as default}; diff --git a/frontend/dist/assets/DashboardView-BMPZwafh.css b/frontend/dist/assets/DashboardView-BMPZwafh.css deleted file mode 100644 index 9ae91fe..0000000 --- a/frontend/dist/assets/DashboardView-BMPZwafh.css +++ /dev/null @@ -1 +0,0 @@ -.dashboard-view[data-v-30eaacb6]{display:flex;flex-direction:column;min-height:100%;gap:16px;min-width:0;color:#1e293b}.overview-section[data-v-30eaacb6],.chart-section[data-v-30eaacb6],.service-section[data-v-30eaacb6],.stat-card[data-v-30eaacb6],.tasks-section[data-v-30eaacb6]{border:1px solid #e2e8f0;border-radius:10px;background:#fff}.user-stats-row[data-v-30eaacb6]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.stat-card[data-v-30eaacb6]{display:flex;flex-direction:column;padding:16px 18px;min-height:284px;min-width:0}.chart-container[data-v-30eaacb6]{flex:1 1 auto;min-height:224px;margin-top:10px;width:100%;display:flex;align-items:center;justify-content:center}.pie-chart[data-v-30eaacb6]{width:100%;height:224px}.duration-chart[data-v-30eaacb6]{width:100%;height:224px;margin-top:10px}.list-container[data-v-30eaacb6]{display:flex;flex-direction:column;gap:12px;margin-top:16px}.list-item[data-v-30eaacb6]{display:flex;align-items:center;justify-content:space-between}.user-info[data-v-30eaacb6]{display:flex;align-items:center;gap:12px}.user-avatar[data-v-30eaacb6]{font-size:14px;font-weight:600}.username[data-v-30eaacb6]{font-size:13px;font-weight:500;color:#334155}.user-meta[data-v-30eaacb6]{display:flex;flex-direction:column;gap:2px}.login-time[data-v-30eaacb6]{font-size:11px;color:#94a3b8}.recent-user-item[data-v-30eaacb6]{padding:2px 0}.section-title[data-v-30eaacb6]{margin:0;font-size:15px;line-height:1.4;font-weight:600;color:#1e293b}.overview-section[data-v-30eaacb6]{padding:12px 14px 13px}.overview-content[data-v-30eaacb6]{display:grid;grid-template-columns:minmax(300px,1.05fr) minmax(540px,1.75fr);align-items:stretch;margin-top:10px}.health-summary[data-v-30eaacb6]{display:flex;align-items:center;gap:14px;min-height:86px;padding:6px 18px 6px 12px;border-right:1px solid #e2e8f0}.health-summary strong[data-v-30eaacb6]{display:block;color:#10b981;font-size:20px;line-height:1.3;font-weight:700}.health-summary p[data-v-30eaacb6]{margin:5px 0 0;color:#64748b;font-size:13px}.health-icon[data-v-30eaacb6]{display:grid;place-items:center;width:56px;height:56px;flex:0 0 56px;border-radius:50%;background:#10b981;color:#fff;font-size:26px;box-shadow:0 6px 16px #10b98124}.overview-metrics[data-v-30eaacb6]{display:grid;grid-template-columns:repeat(3,1fr)}.overview-metric[data-v-30eaacb6]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;border-right:1px solid #e2e8f0}.overview-metric[data-v-30eaacb6]:last-child{border-right:none}.overview-metric span[data-v-30eaacb6],.overview-metric small[data-v-30eaacb6]{color:#64748b;font-size:12px}.overview-metric strong[data-v-30eaacb6]{font-size:26px;line-height:1;font-weight:600;font-variant-numeric:tabular-nums}.overview-metric.is-alert strong[data-v-30eaacb6]{color:#ef4444}.dashboard-middle[data-v-30eaacb6]{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(300px,.82fr);flex:0 0 auto;gap:16px;min-height:0}.chart-section[data-v-30eaacb6],.service-section[data-v-30eaacb6]{display:flex;flex-direction:column;min-height:360px;padding:16px 18px}.section-heading-row[data-v-30eaacb6]{display:flex;align-items:center;justify-content:space-between;gap:16px}.period-select[data-v-30eaacb6]{width:94px}.period-select[data-v-30eaacb6] .el-select__wrapper{min-height:30px}.training-chart[data-v-30eaacb6]{flex:1 1 auto;width:100%;height:300px;min-height:300px}.service-table[data-v-30eaacb6]{display:grid;grid-template-rows:36px repeat(4,minmax(48px,1fr));flex:1 1 auto;margin-top:12px;min-height:0}.service-row[data-v-30eaacb6]{display:grid;grid-template-columns:minmax(130px,1.35fr) minmax(72px,.7fr) 72px;align-items:center;min-height:48px;border-top:1px solid #eef2f7;color:#475569;font-size:13px}.service-header[data-v-30eaacb6]{min-height:36px;border-top:none;color:#64748b;font-size:12px;font-weight:600}.service-name[data-v-30eaacb6]{display:flex;align-items:center;gap:10px;color:#334155;font-weight:500}.service-name .fa[data-v-30eaacb6]{width:18px;color:#64748b;text-align:center}.state-pill[data-v-30eaacb6],.task-state[data-v-30eaacb6]{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:0 8px;border-radius:6px;font-size:12px;font-weight:600;white-space:nowrap}.is-normal[data-v-30eaacb6],.is-completed[data-v-30eaacb6]{color:#059669;background:#ecfdf5}.is-busy[data-v-30eaacb6],.is-pending[data-v-30eaacb6]{color:#d97706;background:#fffbeb}.is-error[data-v-30eaacb6],.is-failed[data-v-30eaacb6]{color:#dc2626;background:#fef2f2}.is-running[data-v-30eaacb6]{color:#4f46e5;background:#eef2ff}.instance-count[data-v-30eaacb6],.numeric-value[data-v-30eaacb6]{font-variant-numeric:tabular-nums}.tasks-section[data-v-30eaacb6]{padding:12px 0 0;overflow:hidden}.tasks-heading[data-v-30eaacb6]{min-height:32px;padding:0 14px 10px}.tasks-table-wrap[data-v-30eaacb6]{overflow-x:auto}.tasks-table[data-v-30eaacb6]{width:100%;min-width:980px;border-collapse:collapse;table-layout:fixed;color:#475569;font-size:12px}.tasks-table th[data-v-30eaacb6],.tasks-table td[data-v-30eaacb6]{height:50px;padding:8px 10px;border-top:1px solid #eef2f7;text-align:left;vertical-align:middle;white-space:nowrap}.tasks-table th[data-v-30eaacb6]{height:38px;background:#f8fafc;color:#475569;font-weight:600}.tasks-table th[data-v-30eaacb6]:nth-child(1){width:14%}.tasks-table th[data-v-30eaacb6]:nth-child(2){width:10%}.tasks-table th[data-v-30eaacb6]:nth-child(3){width:11%}.tasks-table th[data-v-30eaacb6]:nth-child(4){width:17%}.tasks-table th[data-v-30eaacb6]:nth-child(5){width:17%}.tasks-table th[data-v-30eaacb6]:nth-child(6){width:9%}.tasks-table th[data-v-30eaacb6]:nth-child(7){width:12%}.tasks-table th[data-v-30eaacb6]:nth-child(8){width:10%}.task-name[data-v-30eaacb6]{color:#334155;font-weight:500;overflow:hidden;text-overflow:ellipsis}.progress-cell[data-v-30eaacb6]{display:grid;grid-template-columns:minmax(72px,1fr) 38px;align-items:center;gap:8px;font-variant-numeric:tabular-nums}.progress-cell[data-v-30eaacb6] .el-progress-bar__outer{background:#e2e8f0}@media(max-height:900px)and (min-width:1181px){.section-title[data-v-30eaacb6]{font-size:14px}.overview-section[data-v-30eaacb6]{padding:8px 12px 9px}.overview-content[data-v-30eaacb6]{margin-top:6px}.health-summary[data-v-30eaacb6]{gap:10px;min-height:64px;padding:4px 14px 4px 8px}.health-summary strong[data-v-30eaacb6]{font-size:18px}.health-summary p[data-v-30eaacb6]{margin-top:3px;font-size:12px}.health-icon[data-v-30eaacb6]{width:44px;height:44px;flex-basis:44px;font-size:20px;box-shadow:0 4px 12px #10b9811f}.overview-metric[data-v-30eaacb6]{gap:2px}.overview-metric span[data-v-30eaacb6],.overview-metric small[data-v-30eaacb6]{font-size:11px}.overview-metric strong[data-v-30eaacb6]{font-size:23px}.service-table[data-v-30eaacb6]{grid-template-rows:32px repeat(4,minmax(40px,1fr));margin-top:8px}.service-row[data-v-30eaacb6]{min-height:40px;font-size:12px}.service-header[data-v-30eaacb6]{min-height:32px;font-size:11px}.state-pill[data-v-30eaacb6],.task-state[data-v-30eaacb6]{min-height:20px;padding-inline:7px;font-size:11px}.tasks-section[data-v-30eaacb6]{padding-top:8px}.tasks-heading[data-v-30eaacb6]{min-height:28px;padding:0 12px 8px}.tasks-table th[data-v-30eaacb6],.tasks-table td[data-v-30eaacb6]{height:42px;padding:6px 8px}.tasks-table th[data-v-30eaacb6]{height:34px}}@media(max-width:1180px){.overview-content[data-v-30eaacb6]{grid-template-columns:1fr}.health-summary[data-v-30eaacb6]{border-right:none;border-bottom:1px solid #e2e8f0}.overview-metrics[data-v-30eaacb6]{min-height:94px}.dashboard-middle[data-v-30eaacb6]{grid-template-columns:1fr}.user-stats-row[data-v-30eaacb6]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.user-stats-row[data-v-30eaacb6]{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.dashboard-view[data-v-30eaacb6] *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}} diff --git a/frontend/dist/assets/DashboardView-Demq0LOI.js b/frontend/dist/assets/DashboardView-Demq0LOI.js new file mode 100644 index 0000000..d58ffd2 --- /dev/null +++ b/frontend/dist/assets/DashboardView-Demq0LOI.js @@ -0,0 +1,2 @@ +import{E as $t}from"./el-avatar-C4z1rEZv.js";import{E as qt}from"./index-D23K2h6y.js";import{E as jt}from"./index-BjlLyKON.js";import{E as Zt,a as Qt}from"./el-select-CeiDjMzB.js";import{E as Kt}from"./el-progress-Br676mBH.js";import{d as Jt,c as me,p as ea,q as x,s as H,w as de,f as Oe,M as ke,ad as Re,y as ta,j as Ne,o as be,x as ve,v as aa,n as Ee,aa as U}from"./index-CxbBjZKo.js";/* empty css */import"./el-scrollbar-B0E7ZTt3.js";import"./el-popper-OAwpEmER.js";import{P as F,D as et,r as tt,a as St,d as ra,S as at,b as rt,l as Ge,c as na,e as ia,p as sa,t as At,f as oa,L as la,i as xt,F as ca,g as ua,h as da,j as va,k as ga,A as fa,m as wt,n as ha,o as pa,q as ma,s as ba,u as Be,v as ya,w as Sa,x as Aa,y as _t,z as nt,C as fe,B as Q,E as $,G as xa,H as Ve,I as ye,_ as ne,J as Lt,K as Xe,M as wa,N as _a,O as La,Q as it,R as $e,T as Dt,U as It,V as Da,W as Ia,X as ae,Y as re,Z as _e,$ as Mt,a0 as Ma,a1 as Ca,a2 as Pa,a3 as qe,a4 as Ct,a5 as De,a6 as Pt,a7 as q,a8 as Tt,a9 as Ot,aa as Ta,ab as Oa,ac as ka,ad as kt,ae as Rt,af as Ra,ag as Na,ah as Ea,ai as Ga,aj as Ba,ak as st,al as Va,am as Wa,an as za,ao as Fa,ap as Nt,aq as Ua,ar as Ya,as as Ha,at as Xa,au as $a,av as qa,aw as ja,ax as Za,ay as Qa,az as Ka,aA as Ja,aB as er,aC as tr,aD as ar,aE as rr,aF as nr,aG as ir,aH as We}from"./install-i_dmuKuk.js";import{S as ot,c as sr}from"./createSeriesDataSimply-MGSYAhUE.js";import{_ as or}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./vnode-DIVHEdsp.js";import"./index-DHcidAHK.js";import"./castArray-CwVgzdTt.js";import"./index-Bzaib5AU.js";import"./raf-Bjl8yy5U.js";import"./scroll-Dvb2mTx8.js";import"./index-C4wGR5UT.js";import"./clamp-Ow4I6lPc.js";import"./toNumber-Yuob3eJv.js";import"./_baseIteratee-C6JbNheX.js";import"./index-DxP0p4ch.js";function Et(r,a,t,e,n,s,i,o){var l=n-r,u=s-a,c=t-r,d=e-a,g=Math.sqrt(c*c+d*d);c/=g,d/=g;var p=l*c+u*d,v=p/g;v*=g;var h=i[0]=r+v*c,f=i[1]=a+v*d;return Math.sqrt((h-n)*(h-n)+(f-s)*(f-s))}var j=new F,B=new F,z=new F,Z=new F,X=new F,Le=[],Y=new F;function lr(r,a){if(a<=180&&a>0){a=a/180*Math.PI,j.fromArray(r[0]),B.fromArray(r[1]),z.fromArray(r[2]),F.sub(Z,j,B),F.sub(X,z,B);var t=Z.len(),e=X.len();if(!(t<.001||e<.001)){Z.scale(1/t),X.scale(1/e);var n=Z.dot(X),s=Math.cos(a);if(s1&&F.copy(Y,z),Y.toArray(r[1])}}}}function cr(r,a,t){if(t<=180&&t>0){t=t/180*Math.PI,j.fromArray(r[0]),B.fromArray(r[1]),z.fromArray(r[2]),F.sub(Z,B,j),F.sub(X,z,B);var e=Z.len(),n=X.len();if(!(e<.001||n<.001)){Z.scale(1/e),X.scale(1/n);var s=Z.dot(a),i=Math.cos(t);if(s=l)F.copy(Y,z);else{Y.scaleAndAdd(X,o/Math.tan(Math.PI/2-c));var d=z.x!==B.x?(Y.x-B.x)/(z.x-B.x):(Y.y-B.y)/(z.y-B.y);if(isNaN(d))return;d<0?F.copy(Y,B):d>1&&F.copy(Y,z)}Y.toArray(r[1])}}}}function ze(r,a,t,e){var n=t==="normal",s=n?r:r.ensureState(t);s.ignore=a;var i=e.get("smooth");i=i===!0?.3:Math.max(+i,0)||0,s.shape=s.shape||{},s.shape.smooth=i;var o=e.getModel("lineStyle").getLineStyle();n?r.useStyle(o):s.style=o}function ur(r,a){var t=a.smooth,e=a.points;if(e)if(r.moveTo(e[0][0],e[0][1]),t>0&&e.length>=3){var n=rt(e[0],e[1]),s=rt(e[1],e[2]);if(!n||!s){r.lineTo(e[1][0],e[1][1]),r.lineTo(e[2][0],e[2][1]);return}var i=Math.min(n,s)*t,o=Ge([],e[1],e[0],i/n),l=Ge([],e[1],e[2],i/s),u=Ge([],o,l,.5);r.bezierCurveTo(o[0],o[1],o[0],o[1],u[0],u[1]),r.bezierCurveTo(l[0],l[1],l[0],l[1],e[2][0],e[2][1])}else for(var c=1;c=0&&b(w,L,A.getStore())})}var p=0;if(g(function(b,L,A){e.set(L.uid,1),(!n||!n.hasKey(L.uid))&&(i=!0),p+=A.count()}),(!n||n.keys().length!==e.keys().length)&&(i=!0),!i&&s!=null){a.liPosMinGap=s;return}At(te,p);var v=0;g(function(b,L,A){for(var w=0,_=A.count();w<_;++w){var y=A.get(b,w);isFinite(y)&&(!c||da(d,y))&&(u&&(y=l.transformIn(y,null)),te.arr[v++]=y)}});var h=te.typed?te.arr.subarray(0,v):(te.arr.length=v,te.arr);te.typed?h.sort():oa(h);for(var f=1/0,m=1;m0&&S0?va:la,t.serUids=e}var te=At({ctor:ca},50);function hr(r){return function(a,t){var e=wt(a,{fromStat:{key:r}});if(xt(e.w2))return[-e.w2/2,e.w2/2]}}function Ie(r,a){return r+fa+a}function pr(r){return gr(),{liPosMinGap:!ga(r.scale)}}var le="bar";function mr(r,a,t,e){ha(r,{key:a,seriesType:t,coordSysType:e,getMetrics:pr})}function br(r){var a=r.scale.rawExtentInfo.makeRenderInfo().startValue;return a}var yr=Sa(),Sr="__ec_stack_";function Gt(r){return r.get("stack")||Sr+r.seriesIndex}function Ar(r,a){var t=xr(r,a);return t.columnMap=wr(t),t}function xr(r,a){var t=Ie(a,fe),e=[],n=wt(r,{fromStat:{key:t},min:1});return _t(r,t,function(s){e.push({barWidth:Q(s.get("barWidth"),n.w),barMaxWidth:Q(s.get("barMaxWidth"),n.w),barMinWidth:Q(s.get("barMinWidth")||(Bt(s)?.5:1),n.w),barGap:s.get("barGap"),barCategoryGap:s.get("barCategoryGap"),defaultBarGap:s.get("defaultBarGap"),stackId:Gt(s)})}),{bandWidthResult:n,seriesInfo:e}}function wr(r){var a=r.bandWidthResult.w,t=a,e=0,n,s,i=[],o={};$(r.seriesInfo,function(h,f){f||(s=h.defaultBarGap||0);var m=h.stackId;xa(o,m)||e++;var S=o[m];S||(S=o[m]={width:0,maxWidth:0},i.push(m));var b=h.barWidth;b&&!S.width&&(S.width=b,b=Ve(t,b),t-=b);var L=h.barMaxWidth;L&&(S.maxWidth=L);var A=h.barMinWidth;A&&(S.minWidth=A);var w=h.barGap;w!=null&&(s=w);var _=h.barCategoryGap;_!=null&&(n=_)}),n==null&&(n=ye(35-i.length*4,15)+"%");var l=Q(n,a),u=Q(s,1),c=(t-l)/(e+(e-1)*u);c=ye(c,0),$(i,function(h){var f=o[h],m=f.maxWidth,S=f.minWidth;if(f.width){var b=f.width;m&&(b=Ve(b,m)),S&&(b=ye(b,S)),f.width=b,t-=b+u*b,e--}else{var b=c;m&&mb&&(b=S),b!==c&&(f.width=b,t-=b+u*b,e--)}}),c=(t-l)/(e+(e-1)*u),c=ye(c,0);var d=0,g;$(i,function(h){var f=o[h];f.width||(f.width=c),g=f,d+=f.width*(1+u)}),g&&(d-=g.width*u);var p={},v=-d/2;return $(i,function(h){var f=o[h];p[h]=p[h]||{bandWidth:a,offset:v,width:f.width},v+=f.width*(1+u)}),p}function _r(r){return{seriesType:r,overallReset:function(a){var t=Ie(r,fe);pa(a,t,function(e){var n=Ar(e,r);_t(e,t,function(s){var i=n.columnMap[Gt(s)];s.getData().setLayout({bandWidth:i.bandWidth,offset:i.offset,size:i.width})})})}}}function Lr(r){return{seriesType:r,plan:ya(),reset:function(a){if(ma(a)){var t=a.getData(),e=a.coordinateSystem,n=e.getBaseAxis(),s=e.getOtherAxis(n),i=t.getDimensionIndex(t.mapDimension(s.dim)),o=t.getDimensionIndex(t.mapDimension(n.dim)),l=a.get("showBackground",!0),u=t.mapDimension(s.dim),c=t.getCalculationInfo("stackResultDimension"),d=ba(t,u)&&!!t.getCalculationInfo("stackedOnSeries"),g=s.isHorizontal(),p=s.toGlobalCoord(s.dataToCoord(br(s))),v=Bt(a),h=a.get("barMinHeight")||0,f=c&&t.getDimensionIndex(c),m=t.getLayout("size"),S=t.getLayout("offset");return{progress:function(b,L){for(var A=b.count,w=v&&Be(A*3),_=v&&l&&Be(A*3),y=v&&Be(A),C=e.master.getRect(),V=g?C.width:C.height,I,T=L.getStore(),M=0;(I=b.next())!=null;){var O=T.get(d?f:i,I),P=T.get(o,I),N=p,W=void 0;d&&(W=+O-T.get(i,I));var D=void 0,k=void 0,R=void 0,E=void 0;if(g){var G=e.dataToPoint([O,P]);d&&(N=e.dataToPoint([W,P])[0]),D=N,k=G[1]+S,R=G[0]-N,E=m,nt(R)f){b=(w+S)/2;break}A===1&&(L=_-v[0].tickValue)}b==null&&(S?S&&(b=v[v.length-1].coord):b=v[0].coord),o[p]=g.toGlobalCoord(b)}});else{var l=this.getData(),u=l.getLayout("offset"),c=l.getLayout("size"),d=s.getBaseAxis().isHorizontal()?0:1;o[d]+=u+c/2}return o}return[NaN,NaN]},a.prototype.__requireStartValue=function(t){return this.getBaseAxis()!==t},a.type="series.__base_bar__",a.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",defaultBarGap:"10%"},a})(Xe);Xe.registerClass(He);var Mr=(function(r){ne(a,r);function a(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=a.type,t}return a.prototype.getInitialData=function(){return Lt(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},a.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},a.prototype.__preparePipelineContext=function(t,e){var n=wa(this,t,e);return n.progressiveRender&&(n.large=!0),n},a.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},a.type="series."+le,a.dependencies=["grid","polar"],a.defaultOption=_a(He.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:La.color.primary,borderWidth:2}},realtimeSort:!1}),a})(He);function Cr(r,a){a=a||{};var t=a.isRoundCap;return function(e,n,s){var i=n.position;if(!i||i instanceof Array)return it(e,n,s);var o=r(i),l=n.distance!=null?n.distance:5,u=this.shape,c=u.cx,d=u.cy,g=u.r,p=u.r0,v=(g+p)/2,h=u.startAngle,f=u.endAngle,m=(h+f)/2,S=t?Math.abs(g-p)/2:0,b=Math.cos,L=Math.sin,A=c+g*b(h),w=d+g*L(h),_="left",y="top";switch(o){case"startArc":A=c+(p-l)*b(m),w=d+(p-l)*L(m),_="center",y="top";break;case"insideStartArc":A=c+(p+l)*b(m),w=d+(p+l)*L(m),_="center",y="bottom";break;case"startAngle":A=c+v*b(h)+Se(h,l+S,!1),w=d+v*L(h)+Ae(h,l+S,!1),_="right",y="middle";break;case"insideStartAngle":A=c+v*b(h)+Se(h,-l+S,!1),w=d+v*L(h)+Ae(h,-l+S,!1),_="left",y="middle";break;case"middle":A=c+v*b(m),w=d+v*L(m),_="center",y="middle";break;case"endArc":A=c+(g+l)*b(m),w=d+(g+l)*L(m),_="center",y="bottom";break;case"insideEndArc":A=c+(g-l)*b(m),w=d+(g-l)*L(m),_="center",y="top";break;case"endAngle":A=c+v*b(f)+Se(f,l+S,!0),w=d+v*L(f)+Ae(f,l+S,!0),_="left",y="middle";break;case"insideEndAngle":A=c+v*b(f)+Se(f,-l+S,!0),w=d+v*L(f)+Ae(f,-l+S,!0),_="right",y="middle";break;default:return it(e,n,s)}return e=e||{},e.x=A,e.y=w,e.align=_,e.verticalAlign=y,e}}function Pr(r,a,t,e){if($e(e)){r.setTextConfig({rotation:e});return}else if(Dt(a)){r.setTextConfig({rotation:0});return}var n=r.shape,s=n.clockwise?n.startAngle:n.endAngle,i=n.clockwise?n.endAngle:n.startAngle,o=(s+i)/2,l,u=t(a);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":l=o;break;case"startAngle":case"insideStartAngle":l=s;break;case"endAngle":case"insideEndAngle":l=i;break;default:r.setTextConfig({rotation:0});return}var c=Math.PI*1.5-l;u==="middle"&&c>Math.PI/2&&co)return!0;o=d}return!1},a.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,s=n.getExtent(),i=Math.max(0,s[0]),o=Math.min(s[1],n.getOrdinalMeta().categories.length-1);i<=o;++i)if(t.ordinalNumbers[i]!==n.getRawOrdinalNumber(i))return!0},a.prototype._updateSortWithinSameData=function(t,e,n,s){if(this._isOrderChangedWithinSameData(t,e,n)){var i=this._dataSort(t,n,e);this._isOrderDifferentInView(i,n)&&(this._removeOnRenderedListener(s),s.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:i}))}},a.prototype._dispatchInitSort=function(t,e,n){var s=e.baseAxis,i=this._dataSort(t,s,function(o){return t.get(t.mapDimension(e.otherAxis.dim),o)});n.dispatchAction({type:"changeAxisOrder",componentType:s.dim+"Axis",isInitSort:!0,axisId:s.index,sortInfo:i})},a.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},a.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},a.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},a.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(s){_e(s,t,qe(s).dataIndex)})):e.removeAll(),this._data=null,this._isFirstFrame=!0},a.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},a.type=le,a})(Ct),lt={cartesian2d:function(r,a){var t=a.width<0?-1:1,e=a.height<0?-1:1;t<0&&(a.x+=a.width,a.width=-a.width),e<0&&(a.y+=a.height,a.height=-a.height);var n=r.x+r.width,s=r.y+r.height,i=Fe(a.x,r.x),o=Ue(a.x+a.width,n),l=Fe(a.y,r.y),u=Ue(a.y+a.height,s),c=on?o:i,a.y=d&&l>s?u:l,a.width=c?0:o-i,a.height=d?0:u-l,t<0&&(a.x+=a.width,a.width=-a.width),e<0&&(a.y+=a.height,a.height=-a.height),c||d},polar:function(r,a){var t=a.r0<=a.r?1:-1;if(t<0){var e=a.r;a.r=a.r0,a.r0=e}var n=Ue(a.r,r.r),s=Fe(a.r0,r.r0);a.r=n,a.r0=s;var i=n-s<0;if(t<0){var e=a.r;a.r=a.r0,a.r0=e}return i}},ct={cartesian2d:function(r,a,t,e,n,s,i,o,l){var u=new Pt({shape:q({},e),z2:1});if(u.__dataIndex=t,u.name="item",s){var c=u.shape,d=n?"height":"width";c[d]=0}return u},polar:function(r,a,t,e,n,s,i,o,l){var u=!n&&l?ot:De,c=new u({shape:e,z2:1});c.name="item";var d=Vt(n);if(c.calculateTextPosition=Cr(d,{isRoundCap:u===ot}),s){var g=c.shape,p=n?"r":"endAngle",v={};g[p]=n?e.r0:e.startAngle,v[p]=e[p],(o?re:ae)(c,{shape:v},s)}return c}};function Or(r,a){var t=r.get("realtimeSort",!0),e=a.getBaseAxis();if(t&&e.type==="category"&&a.type==="cartesian2d")return{baseAxis:e,otherAxis:a.getOtherAxis(e)}}function ut(r,a,t,e,n,s,i,o){var l,u;s?(u={x:e.x,width:e.width},l={y:e.y,height:e.height}):(u={y:e.y,height:e.height},l={x:e.x,width:e.width}),o||(i?re:ae)(t,{shape:l},a,n,null);var c=a?r.baseAxis.model:null;(i?re:ae)(t,{shape:u},c,n)}function dt(r,a){for(var t=0;t0?1:-1,i=e.height>0?1:-1;return{x:e.x+s*n/2,y:e.y+i*n/2,width:e.width-s*n,height:e.height-i*n}},polar:function(r,a,t){var e=r.getItemLayout(a);return{cx:e.cx,cy:e.cy,r0:e.r0,r:e.r,startAngle:e.startAngle,endAngle:e.endAngle,clockwise:e.clockwise}}};function Nr(r){return r.startAngle!=null&&r.endAngle!=null&&r.startAngle===r.endAngle}function Vt(r){return(function(a){var t=a?"Arc":"Angle";return function(e){switch(e){case"start":case"insideStart":case"end":case"insideEnd":return e+t;default:return e}}})(r)}function gt(r,a,t,e,n,s,i,o){var l=a.getItemVisual(t,"style");if(o){if(!s.get("roundCap")){var c=r.shape,d=ge(e.getModel("itemStyle"),c,!0);q(c,d),r.setShape(c)}}else{var u=e.get(["itemStyle","borderRadius"])||0;r.setShape("r",u)}r.useStyle(l);var g=e.getShallow("cursor");g&&r.attr("cursor",g);var p=o?i?n.r>=n.r0?"endArc":"startArc":n.endAngle>=n.startAngle?"endAngle":"startAngle":i?Wr(n,s.coordinateSystem):zr(n,s.coordinateSystem),v=Tt(e);Ot(r,v,{labelFetcher:s,labelDataIndex:t,defaultText:Ta(s.getData(),t),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:p});var h=r.getTextContent();if(o&&h){var f=e.get(["label","position"]);r.textConfig.inside=f==="middle"?!0:null,Pr(r,f==="outside"?p:f,Vt(i),e.get(["label","rotate"]))}Oa(h,v,s.getRawValue(t),function(S){return ka(a,S)});var m=e.getModel(["emphasis"]);kt(r,m.get("focus"),m.get("blurScope"),m.get("disabled")),Rt(r,e),Nr(n)&&(r.style.fill="none",r.style.stroke="none",$(r.states,function(S){S.style&&(S.style.fill=S.style.stroke="none")}))}function Er(r,a){var t=r.get(["itemStyle","borderColor"]);if(!t||t==="none")return 0;var e=r.get(["itemStyle","borderWidth"])||0,n=isNaN(a.width)?Number.MAX_VALUE:Math.abs(a.width),s=isNaN(a.height)?Number.MAX_VALUE:Math.abs(a.height);return Math.min(e,n,s)}var Gr=(function(){function r(){}return r})(),ft=(function(r){ne(a,r);function a(t){var e=r.call(this,t)||this;return e.type="largeBar",e}return a.prototype.getDefaultShape=function(){return new Gr},a.prototype.buildPath=function(t,e){for(var n=e.points,s=this.baseDimIdx,i=1-this.baseDimIdx,o=[],l=[],u=this.barWidth,c=0;c=0?t:null},30,!1);function Br(r,a,t){for(var e=r.baseDimIdx,n=1-e,s=r.shape.points,i=r.largeDataIndices,o=[],l=[],u=r.barWidth,c=0,d=s.length/3;c=o[0]&&a<=o[0]+l[0]&&t>=o[1]&&t<=o[1]+l[1])return i[c]}return-1}function Wt(r,a,t){if(Ra(t,"cartesian2d")){var e=a,n=t.getArea();return{x:r?e.x:n.x,y:r?n.y:e.y,width:r?e.width:n.width,height:r?n.height:e.height}}else{var n=t.getArea(),s=a;return{cx:n.cx,cy:n.cy,r0:r?n.r0:s.r0,r:r?n.r:s.r,startAngle:r?s.startAngle:0,endAngle:r?s.endAngle:Math.PI*2}}}function Vr(r,a,t){var e=r.type==="polar"?De:Pt;return new e({shape:Wt(a,t,r),silent:!0,z2:0})}function Wr(r,a){if(r.height===0){var t=a.getOtherAxis(a.getBaseAxis());return t.inverse?"bottom":"top"}return r.height>0?"bottom":"top"}function zr(r,a){if(r.width===0){var t=a.getOtherAxis(a.getBaseAxis());return t.inverse?"left":"right"}return r.width>=0?"right":"left"}function Fr(r){r.registerChartView(Tr),r.registerSeriesModel(Mr),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,_r(le)),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Lr(le)),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,Ba(le)),r.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(a,t){var e=a.componentType||"series";t.eachComponent({mainType:e,query:a},function(n){a.sortInfo&&n.axis.setCategorySortInfo(a.sortInfo)})}),Ir(r)}function Ur(r){return{seriesType:r,reset:function(a,t){var e=t.findComponents({mainType:"legend"});if(!(!e||!e.length)){var n=a.getData();n.filterSelf(function(s){for(var i=n.getName(s),o=0;o=0},r.prototype.indexOfName=function(a){var t=this._getDataWithEncodedVisual();return t.indexOfName(a)},r.prototype.getItemVisual=function(a,t){var e=this._getDataWithEncodedVisual();return e.getItemVisual(a,t)},r})(),K="pie",Hr=Nt(),zt=(function(r){ne(a,r);function a(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=a.type,t}return a.prototype.init=function(t){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new Yr(st(this.getData,this),st(this.getRawData,this)),this._defaultLabelLine(t)},a.prototype.mergeOption=function(){r.prototype.mergeOption.apply(this,arguments)},a.prototype.getInitialData=function(){return sr(this,{coordDimensions:["value"],encodeDefaulter:Va(Wa,this)})},a.prototype.getDataParams=function(t){var e=this.getData(),n=Hr(e),s=n.seats;if(!s){var i=[];e.each(e.mapDimension("value"),function(l){i.push(l)}),s=n.seats=za(i,e.hostModel.get("percentPrecision"))}var o=r.prototype.getDataParams.call(this,t);return o.percent=s[t]||0,o.$vars.push("percent"),o},a.prototype._defaultLabelLine=function(t){Fa(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},a.type="series."+K,a.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"50%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,coordinateSystemUsage:"box",left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:30,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},a})(Xe);Ua({fullType:zt.type,getCoord2:function(r){return r.getShallow("center")}});var Xr=Math.PI/180;function mt(r,a,t,e,n,s,i,o,l,u){if(r.length<2)return;function c(h){for(var f=h.rB,m=f*f,S=0;St?m:f,A=Math.abs(b.label.y-t);if(A>=L.maxY){var w=b.label.x-a-b.len2*n,_=e+b.len,y=Math.abs(w)<_?Math.sqrt(A*A/(1-w*w/_/_)):_;L.rB=y,L.maxY=A}L.list.push(b)}c(f),c(m)}for(var g=r.length,p=0;pr.unconstrainedWidth?null:g:null;e.setStyle("width",p)}Ut(s,e)}}}function Ut(r,a){bt.rect=r,Ha(bt,a,qr)}var qr={minMarginForce:[null,0,null,0],marginDefault:[1,0,1,0]},bt={};function Ye(r){return r.position==="center"}function jr(r){var a=r.getData(),t=[],e,n,s=!1,i=(r.get("minShowLabelAngle")||0)*Xr,o=a.getLayout("viewRect"),l=a.getLayout("r"),u=o.width,c=o.x,d=o.y,g=o.height;function p(w){w.ignore=!0}function v(w){if(!w.ignore)return!0;for(var _ in w.states)if(w.states[_].ignore===!1)return!0;return!1}a.each(function(w){var _=a.getItemGraphicEl(w),y=_.shape,C=_.getTextContent(),V=_.getTextGuideLine(),I=a.getItemModel(w),T=I.getModel("label"),M=T.get("position")||I.get(["emphasis","label","position"]),O=T.get("distanceToLabelLine"),P=T.get("alignTo"),N=Q(T.get("edgeDistance"),u),W=T.get("bleedMargin");W==null&&(W=Math.min(u,g)>200?10:2);var D=I.getModel("labelLine"),k=D.get("length");k=Q(k,u);var R=D.get("length2");if(R=Q(R,u),Math.abs(y.endAngle-y.startAngle)0?"right":"left":G>0?"left":"right"}var ue=Math.PI,se=0,ee=T.get("rotate");if($e(ee))se=ee*(ue/180);else if(M==="center")se=0;else if(ee==="radial"||ee===!0){var Ht=G<0?-E+ue:-E;se=Ht}else if(ee==="tangential"||ee==="tangential-noflip"&&M!=="outside"&&M!=="outer"){var oe=Math.atan2(G,J);oe<0&&(oe=ue*2+oe);var Xt=J>0;Xt&&ee!=="tangential-noflip"&&(oe=ue+oe),se=oe-ue}if(s=!!se,C.x=ce,C.y=he,C.rotation=se,C.setStyle({verticalAlign:"middle"}),ie){C.setStyle({align:pe});var Te=C.states.select;Te&&(Te.x+=C.x,Te.y+=C.y)}else{var Pe=new Ya(0,0,0,0);Ut(Pe,C),t.push({label:C,labelLine:V,position:M,len:k,len2:R,minTurnAngle:D.get("minTurnAngle"),maxSurfaceAngle:D.get("maxSurfaceAngle"),surfaceNormal:new F(G,J),linePoints:je,textAlign:pe,labelDistance:O,labelAlignTo:P,edgeDistance:N,bleedMargin:W,rect:Pe,unconstrainedWidth:Pe.width,labelStyleWidth:C.style.width})}_.setTextConfig({inside:ie})}}),!s&&r.get("avoidLabelOverlap")&&$r(t,e,n,l,u,g,c,d);for(var h=0;hD?(R=O+_*D/2,E=R):(R=O+C,E=k-C),e.setItemLayout(W,{angle:D,startAngle:R,endAngle:E,clockwise:b,cx:i,cy:o,r0:u,r:L?Za(N,w,[u,l]):l}),O=k}),T0){for(var c=i.getItemLayout(0),d=1;isNaN(c&&c.startAngle)&&d=s.r0}},a.type=K,a})(Ct);function en(r){return{seriesType:r,reset:function(a,t){var e=a.getData();e.filterSelf(function(n){var s=e.mapDimension("value"),i=e.get(s,n);return!($e(i)&&!isNaN(i)&&i<0)})}}}function tn(r){r.registerChartView(Jr),r.registerSeriesModel(zt),er(K,r.registerAction),r.registerLayout(Zr),r.registerProcessor(Ur(K)),r.registerProcessor(en(K))}tr([ar,Fr,tn,rr,nr,ir]);const an={class:"dashboard-view"},rn={class:"dashboard-middle"},nn={class:"chart-section","aria-labelledby":"chart-title"},sn={class:"section-heading-row"},on={class:"service-section","aria-labelledby":"service-title"},ln={class:"service-table",role:"table","aria-label":"服务状态"},cn={class:"service-name",role:"cell"},un={role:"cell"},dn={class:"instance-count",role:"cell"},vn={class:"user-stats-row"},gn={class:"stat-card","aria-labelledby":"op-dist-title"},fn={class:"chart-container"},hn={class:"stat-card","aria-labelledby":"login-dur-title"},pn={class:"stat-card","aria-labelledby":"recent-login-title"},mn={class:"list-container"},bn={class:"user-info"},yn={class:"user-meta"},Sn={class:"username"},An={class:"login-time"},xn={class:"tasks-section","aria-labelledby":"tasks-title"},wn={class:"section-heading-row tasks-heading"},_n={class:"tasks-table-wrap"},Ln={class:"tasks-table"},Dn={class:"task-name"},In={class:"progress-cell"},Mn={class:"numeric-value"},Cn=Jt({__name:"DashboardView",setup(r){const a=aa(),t=ta("7d"),e=[{name:"模型推理",icon:"fa-cube",state:"normal",instances:"6 / 6"},{name:"模型微调",icon:"fa-sliders",state:"busy",instances:"4 / 6"},{name:"模型评测",icon:"fa-bar-chart",state:"normal",instances:"3 / 3"},{name:"数据处理",icon:"fa-filter",state:"error",instances:"1 / 3"}],n=[{id:103942,name:"finance-sft-003",state:"running",trainType:"SFT",trainMethod:"LoRA",baseModel:"Qwen2.5-7B-Instruct",progress:68,accuracy:89.2,startedAt:"今天 09:18"},{id:593021,name:"legal-eval-008",state:"pending",trainType:"DPO",trainMethod:"LoRA",baseModel:"Qwen2.5-7B-Instruct",progress:0,accuracy:null,startedAt:"今天 08:55"},{id:849301,name:"medical-cpt-002",state:"completed",trainType:"CPT",trainMethod:"Full",baseModel:"Qwen2.5-14B-Instruct",progress:100,accuracy:91.6,startedAt:"07/10 16:20"},{id:201948,name:"finance-sft-002",state:"failed",trainType:"SFT",trainMethod:"LoRA",baseModel:"Qwen2.5-7B-Instruct",progress:42,accuracy:null,startedAt:"07/10 11:08"}],s={normal:{label:"正常",className:"is-normal"},busy:{label:"繁忙",className:"is-busy"},error:{label:"异常",className:"is-error"}},i={running:{label:"训练中",className:"is-running"},pending:{label:"等待中",className:"is-pending"},completed:{label:"已完成",className:"is-completed"},failed:{label:"训练失败",className:"is-failed"}},o={running:"#4f46e5",pending:"#cbd5e1",completed:"#10b981",failed:"#ef4444"},l=Ne(()=>({animationDuration:500,color:["#4f46e5","#10b981","#f59e0b"],grid:{top:50,right:50,bottom:38,left:46,containLabel:!1},legend:{top:4,left:0,itemWidth:12,itemHeight:12,itemGap:22,textStyle:{color:"#64748b",fontSize:11}},tooltip:{trigger:"axis",axisPointer:{type:"shadow"},backgroundColor:"rgba(15, 23, 42, 0.92)",borderWidth:0,padding:[10,12],textStyle:{color:"#ffffff",fontSize:12},valueFormatter:f=>`${f}`},xAxis:{type:"category",data:["07/05","07/06","07/07","07/08","07/09","07/10",`07/11 +今天`],axisLine:{lineStyle:{color:"#e2e8f0"}},axisTick:{show:!1},axisLabel:{color:"#64748b",fontSize:11,lineHeight:16,margin:12}},yAxis:[{type:"value",name:"次数 / GPU 数",min:0,max:20,interval:5,nameTextStyle:{color:"#64748b",fontSize:11,align:"left"},axisLabel:{color:"#64748b",fontSize:11},axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:"#eef2f7"}}},{type:"value",name:"准确率",min:0,max:100,interval:25,nameTextStyle:{color:"#64748b",fontSize:11,align:"right"},axisLabel:{color:"#64748b",fontSize:11,formatter:"{value}%"},axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1}}],series:[{name:"训练次数(次)",type:"bar",data:[8,12,10,15,13,18,11],barMaxWidth:16,itemStyle:{borderRadius:[3,3,0,0]},label:{show:!0,position:"top",color:"#64748b",fontSize:10}},{name:"GPU 使用数(个)",type:"bar",data:[3,4,4,6,5,7,5],barMaxWidth:16,itemStyle:{borderRadius:[3,3,0,0]},label:{show:!0,position:"top",color:"#64748b",fontSize:10}},{name:"平均准确率(%)",type:"bar",yAxisIndex:1,data:[82,85,84,88,87,91,89],barMaxWidth:16,itemStyle:{borderRadius:[3,3,0,0]},label:{show:!0,position:"top",color:"#d97706",fontSize:10}}]})),u=Ne(()=>({animationDuration:500,tooltip:{trigger:"item"},color:["#4f46e5","#10b981","#f59e0b","#3b82f6","#ec4899"],series:[{name:"操作分类",type:"pie",radius:["40%","64%"],center:["50%","50%"],avoidLabelOverlap:!0,itemStyle:{borderRadius:6,borderColor:"#fff",borderWidth:2},label:{show:!0,position:"outside",formatter:"{b}",color:"#475569",fontSize:11,lineHeight:16,width:70,overflow:"truncate"},emphasis:{label:{show:!0,fontSize:12,fontWeight:"bold",color:"#1e293b"}},labelLine:{show:!0,length:10,length2:8,lineStyle:{color:"#94a3b8",width:1}},data:[{value:1048,name:"模型训练"},{value:735,name:"数据处理"},{value:580,name:"模型评测"},{value:484,name:"模型推理"},{value:300,name:"系统设置"}]}]})),c=[{id:1,username:"admin",duration:124},{id:2,username:"zhangsan",duration:86},{id:3,username:"lisi",duration:42},{id:4,username:"wangwu",duration:18}],d=Ne(()=>({animationDuration:500,grid:{top:8,right:12,bottom:6,left:8,containLabel:!0},tooltip:{trigger:"axis",axisPointer:{type:"shadow"},valueFormatter:f=>`${f} 小时`},xAxis:{type:"value",max:Math.ceil(Math.max(...c.map(f=>f.duration))*1.15/10)*10,splitNumber:4,axisLabel:{color:"#94a3b8",fontSize:11,formatter:"{value}h"},axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:"#eef2f7"}}},yAxis:{type:"category",inverse:!0,data:c.map(f=>f.username),axisLabel:{color:"#475569",fontSize:12},axisLine:{show:!1},axisTick:{show:!1}},series:[{name:"登录时长",type:"bar",data:c.map(f=>f.duration),barMaxWidth:18,barCategoryGap:"34%",itemStyle:{color:"#4f46e5",borderRadius:[0,4,4,0]},label:{show:!0,position:"insideRight",distance:6,color:"#ffffff",fontSize:11,formatter:"{c} 小时"}}]})),g=[{id:1,username:"admin",role:"超级管理员",lastLogin:"10 分钟前"},{id:2,username:"zhangsan",role:"操作员",lastLogin:"2 小时前"},{id:5,username:"zhaoliu",role:"观察员",lastLogin:"5 小时前"},{id:3,username:"lisi",role:"操作员",lastLogin:"昨天 15:30"}],p={超级管理员:"danger",操作员:"primary",观察员:"info"};function v(){a.push("/fine-tune")}function h(f){a.push(`/training-log/${f.id}`)}return(f,m)=>{const S=Qt,b=Zt,L=$t,A=jt,w=qt,_=Kt;return be(),me("div",an,[m[11]||(m[11]=ea('

平台运行状态

整体运行正常

平台运行良好,各项服务稳定

在线服务12全部在线
运行中任务5较昨日 +1
待处理告警2较昨日 -1
',1)),x("div",rn,[x("section",nn,[x("div",sn,[m[1]||(m[1]=x("h2",{id:"chart-title",class:"section-title"},"近 7 天训练统计",-1)),H(b,{modelValue:t.value,"onUpdate:modelValue":m[0]||(m[0]=y=>t.value=y),class:"period-select","aria-label":"统计周期"},{default:de(()=>[H(S,{label:"近7天",value:"7d"})]),_:1},8,["modelValue"])]),H(Oe(We),{class:"training-chart",option:l.value,autoresize:""},null,8,["option"])]),x("section",on,[m[3]||(m[3]=x("h2",{id:"service-title",class:"section-title"},"服务状态",-1)),x("div",ln,[m[2]||(m[2]=x("div",{class:"service-row service-header",role:"row"},[x("span",{role:"columnheader"},"服务名称"),x("span",{role:"columnheader"},"状态"),x("span",{role:"columnheader"},"实例数")],-1)),(be(),me(ke,null,Re(e,y=>x("div",{key:y.name,class:"service-row",role:"row"},[x("span",cn,[x("i",{class:Ee(["fa",y.icon]),"aria-hidden":"true"},null,2),ve(" "+U(y.name),1)]),x("span",un,[x("span",{class:Ee(["state-pill",s[y.state].className])},U(s[y.state].label),3)]),x("span",dn,U(y.instances),1)])),64))])])]),x("div",vn,[x("section",gn,[m[4]||(m[4]=x("h2",{id:"op-dist-title",class:"section-title"},"用户操作分布",-1)),x("div",fn,[H(Oe(We),{class:"pie-chart",option:u.value,autoresize:""},null,8,["option"])])]),x("section",hn,[m[5]||(m[5]=x("h2",{id:"login-dur-title",class:"section-title"},"登录时长排行 (本月)",-1)),H(Oe(We),{class:"duration-chart",option:d.value,autoresize:""},null,8,["option"])]),x("section",pn,[m[6]||(m[6]=x("h2",{id:"recent-login-title",class:"section-title"},"最近登录用户",-1)),x("div",mn,[(be(),me(ke,null,Re(g,y=>x("div",{key:y.id,class:"list-item recent-user-item"},[x("div",bn,[H(L,{size:32,class:"user-avatar",style:{backgroundColor:"#e2e8f0",color:"#475569"}},{default:de(()=>[ve(U(y.username.slice(0,1).toUpperCase()),1)]),_:2},1024),x("div",yn,[x("span",Sn,U(y.username),1),x("span",An,U(y.lastLogin),1)])]),H(A,{type:p[y.role],size:"small"},{default:de(()=>[ve(U(y.role),1)]),_:2},1032,["type"])])),64))])])]),x("section",xn,[x("div",wn,[m[8]||(m[8]=x("h2",{id:"tasks-title",class:"section-title"},"训练任务",-1)),H(w,{link:"",type:"primary",onClick:v},{default:de(()=>[...m[7]||(m[7]=[ve("查看全部任务",-1)])]),_:1})]),x("div",_n,[x("table",Ln,[m[10]||(m[10]=x("thead",null,[x("tr",null,[x("th",null,"任务名称"),x("th",null,"任务状态"),x("th",null,"训练方式"),x("th",null,"基座模型"),x("th",null,"训练进度"),x("th",null,"准确率"),x("th",null,"开始时间"),x("th",null,"操作")])],-1)),x("tbody",null,[(be(),me(ke,null,Re(n,y=>x("tr",{key:y.id},[x("td",Dn,U(y.name),1),x("td",null,[x("span",{class:Ee(["task-state",i[y.state].className])},U(i[y.state].label),3)]),x("td",null,U(y.trainType)+" / "+U(y.trainMethod),1),x("td",null,U(y.baseModel),1),x("td",null,[x("div",In,[H(_,{percentage:y.progress,"stroke-width":6,"show-text":!1,color:o[y.state]},null,8,["percentage","color"]),x("span",null,U(y.progress)+"%",1)])]),x("td",Mn,U(y.accuracy==null?"--":`${y.accuracy}%`),1),x("td",null,U(y.startedAt),1),x("td",null,[H(w,{link:"",type:"primary",onClick:C=>h(y)},{default:de(()=>[...m[9]||(m[9]=[ve("查看详情",-1)])]),_:1},8,["onClick"])])])),64))])])])])])}}}),Jn=or(Cn,[["__scopeId","data-v-27de6891"]]);export{Jn as default}; diff --git a/frontend/dist/assets/DashboardView-Dk-G3HhP.css b/frontend/dist/assets/DashboardView-Dk-G3HhP.css new file mode 100644 index 0000000..a93facf --- /dev/null +++ b/frontend/dist/assets/DashboardView-Dk-G3HhP.css @@ -0,0 +1 @@ +.dashboard-view[data-v-27de6891]{display:flex;flex-direction:column;min-height:100%;gap:16px;min-width:0;color:#1e293b}.overview-section[data-v-27de6891],.chart-section[data-v-27de6891],.service-section[data-v-27de6891],.stat-card[data-v-27de6891],.tasks-section[data-v-27de6891]{border:1px solid #e2e8f0;border-radius:10px;background:#fff}.user-stats-row[data-v-27de6891]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.stat-card[data-v-27de6891]{display:flex;flex-direction:column;padding:16px 18px;min-height:284px;min-width:0}.chart-container[data-v-27de6891]{flex:1 1 auto;min-height:224px;margin-top:10px;width:100%;display:flex;align-items:center;justify-content:center}.pie-chart[data-v-27de6891]{width:100%;height:224px}.duration-chart[data-v-27de6891]{width:100%;height:224px;margin-top:10px}.list-container[data-v-27de6891]{display:flex;flex-direction:column;gap:12px;margin-top:16px}.list-item[data-v-27de6891]{display:flex;align-items:center;justify-content:space-between}.user-info[data-v-27de6891]{display:flex;align-items:center;gap:12px}.user-avatar[data-v-27de6891]{font-size:14px;font-weight:600}.username[data-v-27de6891]{font-size:13px;font-weight:500;color:#334155}.user-meta[data-v-27de6891]{display:flex;flex-direction:column;gap:2px}.login-time[data-v-27de6891]{font-size:11px;color:#94a3b8}.recent-user-item[data-v-27de6891]{padding:2px 0}.section-title[data-v-27de6891]{margin:0;font-size:15px;line-height:1.4;font-weight:600;color:#1e293b}.overview-section[data-v-27de6891]{padding:12px 14px 13px}.overview-content[data-v-27de6891]{display:grid;grid-template-columns:minmax(300px,1.05fr) minmax(540px,1.75fr);align-items:stretch;margin-top:10px}.health-summary[data-v-27de6891]{display:flex;align-items:center;gap:14px;min-height:86px;padding:6px 18px 6px 12px;border-right:1px solid #e2e8f0}.health-summary strong[data-v-27de6891]{display:block;color:#10b981;font-size:20px;line-height:1.3;font-weight:700}.health-summary p[data-v-27de6891]{margin:5px 0 0;color:#64748b;font-size:13px}.health-icon[data-v-27de6891]{display:grid;place-items:center;width:56px;height:56px;flex:0 0 56px;border-radius:50%;background:#10b981;color:#fff;font-size:26px;box-shadow:0 6px 16px #10b98124}.overview-metrics[data-v-27de6891]{display:grid;grid-template-columns:repeat(3,1fr)}.overview-metric[data-v-27de6891]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;border-right:1px solid #e2e8f0}.overview-metric[data-v-27de6891]:last-child{border-right:none}.overview-metric span[data-v-27de6891],.overview-metric small[data-v-27de6891]{color:#64748b;font-size:12px}.overview-metric strong[data-v-27de6891]{font-size:26px;line-height:1;font-weight:600;font-variant-numeric:tabular-nums}.overview-metric.is-alert strong[data-v-27de6891]{color:#ef4444}.dashboard-middle[data-v-27de6891]{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(300px,.82fr);flex:0 0 auto;gap:16px;min-height:0}.chart-section[data-v-27de6891],.service-section[data-v-27de6891]{display:flex;flex-direction:column;min-height:360px;padding:16px 18px}.section-heading-row[data-v-27de6891]{display:flex;align-items:center;justify-content:space-between;gap:16px}.period-select[data-v-27de6891]{width:94px}.period-select[data-v-27de6891] .el-select__wrapper{min-height:30px}.training-chart[data-v-27de6891]{flex:1 1 auto;width:100%;height:300px;min-height:300px}.service-table[data-v-27de6891]{display:grid;grid-template-rows:36px repeat(4,minmax(48px,1fr));flex:1 1 auto;margin-top:12px;min-height:0}.service-row[data-v-27de6891]{display:grid;grid-template-columns:minmax(130px,1.35fr) minmax(72px,.7fr) 72px;align-items:center;min-height:48px;border-top:1px solid #eef2f7;color:#475569;font-size:13px}.service-header[data-v-27de6891]{min-height:36px;border-top:none;color:#64748b;font-size:12px;font-weight:600}.service-name[data-v-27de6891]{display:flex;align-items:center;gap:10px;color:#334155;font-weight:500}.service-name .fa[data-v-27de6891]{width:18px;color:#64748b;text-align:center}.state-pill[data-v-27de6891],.task-state[data-v-27de6891]{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:0 8px;border-radius:6px;font-size:12px;font-weight:600;white-space:nowrap}.is-normal[data-v-27de6891],.is-completed[data-v-27de6891]{color:#059669;background:#ecfdf5}.is-busy[data-v-27de6891],.is-pending[data-v-27de6891]{color:#d97706;background:#fffbeb}.is-error[data-v-27de6891],.is-failed[data-v-27de6891]{color:#dc2626;background:#fef2f2}.is-running[data-v-27de6891]{color:#4f46e5;background:#eef2ff}.instance-count[data-v-27de6891],.numeric-value[data-v-27de6891]{font-variant-numeric:tabular-nums}.tasks-section[data-v-27de6891]{padding:12px 0 0;overflow:hidden}.tasks-heading[data-v-27de6891]{min-height:32px;padding:0 14px 10px}.tasks-table-wrap[data-v-27de6891]{overflow-x:auto}.tasks-table[data-v-27de6891]{width:100%;min-width:980px;border-collapse:collapse;table-layout:fixed;color:#475569;font-size:12px}.tasks-table th[data-v-27de6891],.tasks-table td[data-v-27de6891]{height:50px;padding:8px 10px;border-top:1px solid #eef2f7;text-align:left;vertical-align:middle;white-space:nowrap}.tasks-table th[data-v-27de6891]{height:38px;background:#f8fafc;color:#475569;font-weight:600}.tasks-table th[data-v-27de6891]:nth-child(1){width:14%}.tasks-table th[data-v-27de6891]:nth-child(2){width:10%}.tasks-table th[data-v-27de6891]:nth-child(3){width:11%}.tasks-table th[data-v-27de6891]:nth-child(4){width:17%}.tasks-table th[data-v-27de6891]:nth-child(5){width:17%}.tasks-table th[data-v-27de6891]:nth-child(6){width:9%}.tasks-table th[data-v-27de6891]:nth-child(7){width:12%}.tasks-table th[data-v-27de6891]:nth-child(8){width:10%}.task-name[data-v-27de6891]{color:#334155;font-weight:500;overflow:hidden;text-overflow:ellipsis}.progress-cell[data-v-27de6891]{display:grid;grid-template-columns:minmax(72px,1fr) 38px;align-items:center;gap:8px;font-variant-numeric:tabular-nums}.progress-cell[data-v-27de6891] .el-progress-bar__outer{background:#e2e8f0}@media(max-height:900px)and (min-width:1181px){.section-title[data-v-27de6891]{font-size:14px}.overview-section[data-v-27de6891]{padding:8px 12px 9px}.overview-content[data-v-27de6891]{margin-top:6px}.health-summary[data-v-27de6891]{gap:10px;min-height:64px;padding:4px 14px 4px 8px}.health-summary strong[data-v-27de6891]{font-size:18px}.health-summary p[data-v-27de6891]{margin-top:3px;font-size:12px}.health-icon[data-v-27de6891]{width:44px;height:44px;flex-basis:44px;font-size:20px;box-shadow:0 4px 12px #10b9811f}.overview-metric[data-v-27de6891]{gap:2px}.overview-metric span[data-v-27de6891],.overview-metric small[data-v-27de6891]{font-size:11px}.overview-metric strong[data-v-27de6891]{font-size:23px}.service-table[data-v-27de6891]{grid-template-rows:32px repeat(4,minmax(40px,1fr));margin-top:8px}.service-row[data-v-27de6891]{min-height:40px;font-size:12px}.service-header[data-v-27de6891]{min-height:32px;font-size:11px}.state-pill[data-v-27de6891],.task-state[data-v-27de6891]{min-height:20px;padding-inline:7px;font-size:11px}.tasks-section[data-v-27de6891]{padding-top:8px}.tasks-heading[data-v-27de6891]{min-height:28px;padding:0 12px 8px}.tasks-table th[data-v-27de6891],.tasks-table td[data-v-27de6891]{height:42px;padding:6px 8px}.tasks-table th[data-v-27de6891]{height:34px}}@media(max-width:1180px){.overview-content[data-v-27de6891]{grid-template-columns:1fr}.health-summary[data-v-27de6891]{border-right:none;border-bottom:1px solid #e2e8f0}.overview-metrics[data-v-27de6891]{min-height:94px}.dashboard-middle[data-v-27de6891]{grid-template-columns:1fr}.user-stats-row[data-v-27de6891]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.user-stats-row[data-v-27de6891]{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.dashboard-view[data-v-27de6891] *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}} diff --git a/frontend/dist/assets/DataConvertView-DJuX-JIl.css b/frontend/dist/assets/DataConvertView-DJuX-JIl.css deleted file mode 100644 index 61a0394..0000000 --- a/frontend/dist/assets/DataConvertView-DJuX-JIl.css +++ /dev/null @@ -1 +0,0 @@ -.converter-panel[data-v-fcb69543]{width:100%;min-height:calc(100vh - 220px);border:1px solid #e4e7ed;border-radius:8px;background:#fff;display:flex;flex-direction:column}.panel-header[data-v-fcb69543]{min-height:72px;padding:16px 20px;border-bottom:1px solid #ebeef5;background:#fafafa;display:flex;align-items:center;gap:12px;box-sizing:border-box}.panel-header .tool-icon[data-v-fcb69543]{width:38px;height:38px;flex:0 0 auto;border-radius:6px;background:var(--el-color-primary-light-9);color:var(--primary-color);display:flex;align-items:center;justify-content:center}.panel-header h3[data-v-fcb69543]{margin:0;color:#303133;font-size:15px;font-weight:600}.panel-header p[data-v-fcb69543]{margin:4px 0 0;color:#909399;font-size:12px}.converter-form[data-v-fcb69543]{flex:1;padding:22px 24px 6px}.converter-form[data-v-fcb69543] .el-form-item{margin-bottom:20px}.converter-form[data-v-fcb69543] .el-form-item__label{padding-bottom:8px;color:#606266;font-size:13px}.format-field[data-v-fcb69543]{width:100%;min-height:40px;padding:0 14px;border:1px solid #dcdfe6;border-radius:4px;background:#f5f7fa;color:#303133;display:flex;align-items:center;gap:14px;box-sizing:border-box;font-size:13px;font-weight:500}.format-field i[data-v-fcb69543]{color:#909399}.upload-zone[data-v-fcb69543]{width:100%;min-height:112px;padding:20px;border:1px dashed #b8c4d1;border-radius:6px;background:#fafcff;color:#606266;cursor:pointer;font:inherit;display:flex;align-items:center;gap:14px;text-align:left;transition:border-color .2s ease,background .2s ease}.upload-zone[data-v-fcb69543]:hover,.upload-zone[data-v-fcb69543]:focus-visible{border-color:var(--primary-color);background:var(--el-color-primary-light-9);outline:none}.upload-zone>i[data-v-fcb69543]{color:var(--primary-color);font-size:24px}.upload-zone .upload-content[data-v-fcb69543]{min-width:0;display:flex;flex:1;flex-direction:column;gap:5px}.upload-zone strong[data-v-fcb69543]{color:#303133;font-size:13px;font-weight:500}.upload-zone small[data-v-fcb69543]{color:#909399;font-size:12px}.upload-zone .select-button[data-v-fcb69543]{min-height:32px;padding:0 14px;border:1px solid #dcdfe6;border-radius:4px;background:#fff;color:#606266;display:inline-flex;align-items:center;white-space:nowrap}.form-row[data-v-fcb69543]{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr);gap:16px}.format-tip[data-v-fcb69543]{min-height:38px;padding:9px 12px;border-radius:4px;background:var(--el-color-primary-light-9);color:#606266;display:flex;align-items:center;gap:8px;box-sizing:border-box;font-size:12px}.format-tip i[data-v-fcb69543]{color:var(--primary-color)}.panel-footer[data-v-fcb69543]{min-height:64px;padding:12px 24px;border-top:1px solid #ebeef5;background:#fafafa;display:flex;align-items:center;justify-content:space-between;gap:20px;box-sizing:border-box}.panel-footer .prototype-label[data-v-fcb69543]{color:#909399;font-size:12px}.panel-footer .actions[data-v-fcb69543]{display:flex;gap:10px}@media(max-width:640px){.converter-form[data-v-fcb69543]{padding:18px 16px 4px}.form-row[data-v-fcb69543]{grid-template-columns:1fr;gap:0}.upload-zone[data-v-fcb69543]{align-items:flex-start;flex-wrap:wrap}.upload-zone .select-button[data-v-fcb69543]{margin-left:38px}.panel-footer[data-v-fcb69543]{padding:12px 16px;align-items:flex-end;flex-direction:column}} diff --git a/frontend/dist/assets/DataConvertView-Ts55u_8c.js b/frontend/dist/assets/DataConvertView-Ts55u_8c.js new file mode 100644 index 0000000..53683e5 --- /dev/null +++ b/frontend/dist/assets/DataConvertView-Ts55u_8c.js @@ -0,0 +1 @@ +import{a as N,E as v}from"./el-form-item-BA3ZlfqF.js";import{E as b}from"./el-popper-OAwpEmER.js";import{E as O}from"./index-zJ9bqPrh.js";import{E as S}from"./index-D23K2h6y.js";import{E as g,a as E}from"./el-select-CeiDjMzB.js";import{d as J,e as V,w as e,o as w,q as t,s as l,x as i,z as x,A as C}from"./index-CxbBjZKo.js";import"./el-tooltip-l0sNRNKZ.js";import"./el-scrollbar-B0E7ZTt3.js";/* empty css */import{P as U}from"./PageCard-CC9cofwx.js";import{_ as y}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./castArray-CwVgzdTt.js";import"./_baseClone-B6d4qZbo.js";import"./index-DxP0p4ch.js";import"./index-DHcidAHK.js";import"./raf-Bjl8yy5U.js";import"./index-C4wGR5UT.js";import"./vnode-DIVHEdsp.js";import"./index-Bzaib5AU.js";import"./index-BjlLyKON.js";import"./scroll-Dvb2mTx8.js";import"./clamp-Ow4I6lPc.js";import"./toNumber-Yuob3eJv.js";import"./_baseIteratee-C6JbNheX.js";import"./el-card-BsCFVTSD.js";const F={class:"converter-panel"},L={class:"form-row"},T={class:"panel-footer"},B={class:"actions"},k=J({__name:"DataConvertView",setup(I){const a=x({outputName:"converted-data",encoding:"UTF-8"});function p(){C.info("当前仅完成界面设计,转换功能将在后续接入")}function d(){Object.assign(a,{outputName:"converted-data",encoding:"UTF-8"})}return(j,o)=>{const n=N,m=O,u=E,f=g,c=v,r=S,_=b;return w(),V(U,{class:"data-convert-page",title:"数据类型转换",subtitle:"将 JSON 文件转换为便于训练和评测使用的 JSONL 格式"},{default:e(()=>[t("div",F,[o[9]||(o[9]=t("div",{class:"panel-header"},[t("div",{class:"tool-icon","aria-hidden":"true"},[t("i",{class:"fa fa-exchange"})]),t("div",null,[t("h3",null,"JSON 转 JSONL"),t("p",null,"每条 JSON 数据将输出为 JSONL 文件中的一行记录")])],-1)),l(c,{class:"converter-form","label-position":"top"},{default:e(()=>[l(n,{label:"转换类型"},{default:e(()=>[...o[2]||(o[2]=[t("div",{class:"format-field","aria-label":"JSON 转 JSONL"},[t("span",null,"JSON"),t("i",{class:"fa fa-long-arrow-right","aria-hidden":"true"}),t("span",null,"JSONL")],-1)])]),_:1}),l(n,{label:"源文件",required:""},{default:e(()=>[t("button",{class:"upload-zone",type:"button",onClick:p},[...o[3]||(o[3]=[t("i",{class:"fa fa-cloud-upload","aria-hidden":"true"},null,-1),t("span",{class:"upload-content"},[t("strong",null,"点击选择或拖拽 JSON 文件到此处"),t("small",null,"仅支持 .json 格式,单文件不超过 200 MB")],-1),t("span",{class:"select-button"},"选择文件",-1)])])]),_:1}),t("div",L,[l(n,{label:"输出文件名"},{default:e(()=>[l(m,{modelValue:a.outputName,"onUpdate:modelValue":o[0]||(o[0]=s=>a.outputName=s)},{append:e(()=>[...o[4]||(o[4]=[i(".jsonl",-1)])]),_:1},8,["modelValue"])]),_:1}),l(n,{label:"字符编码"},{default:e(()=>[l(f,{modelValue:a.encoding,"onUpdate:modelValue":o[1]||(o[1]=s=>a.encoding=s),style:{width:"100%"}},{default:e(()=>[l(u,{label:"UTF-8",value:"UTF-8"})]),_:1},8,["modelValue"])]),_:1})]),o[5]||(o[5]=t("div",{class:"format-tip"},[t("i",{class:"fa fa-info-circle","aria-hidden":"true"}),t("span",null,"支持由 JSON 数组转换为 JSONL,每个数组元素输出为一行。")],-1))]),_:1}),t("div",T,[o[8]||(o[8]=t("span",{class:"prototype-label"},"当前为 UI 原型,暂不执行实际转换",-1)),t("div",B,[l(r,{onClick:d},{default:e(()=>[...o[6]||(o[6]=[i("重置",-1)])]),_:1}),l(_,{content:"转换功能将在后续开发中接入",placement:"top"},{default:e(()=>[t("span",null,[l(r,{type:"primary",disabled:""},{default:e(()=>[...o[7]||(o[7]=[i("开始转换",-1)])]),_:1})])]),_:1})])])])]),_:1})}}}),rt=y(k,[["__scopeId","data-v-89a8493f"]]);export{rt as default}; diff --git a/frontend/dist/assets/DataConvertView-rvGLlrQa.css b/frontend/dist/assets/DataConvertView-rvGLlrQa.css new file mode 100644 index 0000000..c74d175 --- /dev/null +++ b/frontend/dist/assets/DataConvertView-rvGLlrQa.css @@ -0,0 +1 @@ +.converter-panel[data-v-89a8493f]{width:100%;min-height:calc(100vh - 220px);border:1px solid #e4e7ed;border-radius:8px;background:#fff;display:flex;flex-direction:column}.panel-header[data-v-89a8493f]{min-height:72px;padding:16px 20px;border-bottom:1px solid #ebeef5;background:#fafafa;display:flex;align-items:center;gap:12px;box-sizing:border-box}.panel-header .tool-icon[data-v-89a8493f]{width:38px;height:38px;flex:0 0 auto;border-radius:6px;background:var(--el-color-primary-light-9);color:var(--primary-color);display:flex;align-items:center;justify-content:center}.panel-header h3[data-v-89a8493f]{margin:0;color:#303133;font-size:15px;font-weight:600}.panel-header p[data-v-89a8493f]{margin:4px 0 0;color:#909399;font-size:12px}.converter-form[data-v-89a8493f]{flex:1;padding:22px 24px 6px}.converter-form[data-v-89a8493f] .el-form-item{margin-bottom:20px}.converter-form[data-v-89a8493f] .el-form-item__label{padding-bottom:8px;color:#606266;font-size:13px}.format-field[data-v-89a8493f]{width:100%;min-height:40px;padding:0 14px;border:1px solid #dcdfe6;border-radius:4px;background:#f5f7fa;color:#303133;display:flex;align-items:center;gap:14px;box-sizing:border-box;font-size:13px;font-weight:500}.format-field i[data-v-89a8493f]{color:#909399}.upload-zone[data-v-89a8493f]{width:100%;min-height:112px;padding:20px;border:1px dashed #b8c4d1;border-radius:6px;background:#fafcff;color:#606266;cursor:pointer;font:inherit;display:flex;align-items:center;gap:14px;text-align:left;transition:border-color .2s ease,background .2s ease}.upload-zone[data-v-89a8493f]:hover,.upload-zone[data-v-89a8493f]:focus-visible{border-color:var(--primary-color);background:var(--el-color-primary-light-9);outline:none}.upload-zone>i[data-v-89a8493f]{color:var(--primary-color);font-size:24px}.upload-zone .upload-content[data-v-89a8493f]{min-width:0;display:flex;flex:1;flex-direction:column;gap:5px}.upload-zone strong[data-v-89a8493f]{color:#303133;font-size:13px;font-weight:500}.upload-zone small[data-v-89a8493f]{color:#909399;font-size:12px}.upload-zone .select-button[data-v-89a8493f]{min-height:32px;padding:0 14px;border:1px solid #dcdfe6;border-radius:4px;background:#fff;color:#606266;display:inline-flex;align-items:center;white-space:nowrap}.form-row[data-v-89a8493f]{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr);gap:16px}.format-tip[data-v-89a8493f]{min-height:38px;padding:9px 12px;border-radius:4px;background:var(--el-color-primary-light-9);color:#606266;display:flex;align-items:center;gap:8px;box-sizing:border-box;font-size:12px}.format-tip i[data-v-89a8493f]{color:var(--primary-color)}.panel-footer[data-v-89a8493f]{min-height:64px;padding:12px 24px;border-top:1px solid #ebeef5;background:#fafafa;display:flex;align-items:center;justify-content:space-between;gap:20px;box-sizing:border-box}.panel-footer .prototype-label[data-v-89a8493f]{color:#909399;font-size:12px}.panel-footer .actions[data-v-89a8493f]{display:flex;gap:10px}@media(max-width:640px){.converter-form[data-v-89a8493f]{padding:18px 16px 4px}.form-row[data-v-89a8493f]{grid-template-columns:1fr;gap:0}.upload-zone[data-v-89a8493f]{align-items:flex-start;flex-wrap:wrap}.upload-zone .select-button[data-v-89a8493f]{margin-left:38px}.panel-footer[data-v-89a8493f]{padding:12px 16px;align-items:flex-end;flex-direction:column}} diff --git a/frontend/dist/assets/DataProcessCreateView-D8CxzaN5.css b/frontend/dist/assets/DataProcessCreateView-D8CxzaN5.css new file mode 100644 index 0000000..0c9a88c --- /dev/null +++ b/frontend/dist/assets/DataProcessCreateView-D8CxzaN5.css @@ -0,0 +1 @@ +.generation-option-row[data-v-f479d5fe]{display:flex;min-height:64px;align-items:center;justify-content:space-between;gap:24px;padding:12px 14px;box-sizing:border-box;border:1px solid #e2e5ec;border-radius:8px}.generation-option-copy[data-v-f479d5fe]{display:grid;gap:4px}.generation-option-copy strong[data-v-f479d5fe]{color:#344054;font-size:13px;font-weight:600}.generation-option-copy small[data-v-f479d5fe]{color:#8a93a3;font-size:12px;line-height:1.5}.dataset-split-row[data-v-f479d5fe]{align-items:flex-start}.dataset-split-config[data-v-f479d5fe]{display:grid;gap:10px;flex:0 0 460px}.dataset-split-grid[data-v-f479d5fe]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dataset-split-field[data-v-f479d5fe]{display:grid;gap:7px;color:#5f6878;font-size:12px}.dataset-split-input[data-v-f479d5fe]{display:flex;align-items:center;gap:8px}.dataset-split-input[data-v-f479d5fe] .el-input-number{width:100%}.dataset-split-summary[data-v-f479d5fe]{display:flex;justify-content:space-between;gap:12px;color:#2ca66a;font-size:12px}.dataset-split-summary.is-invalid[data-v-f479d5fe]{color:#dc2626}@media(max-width:900px){.dataset-split-row[data-v-f479d5fe]{flex-direction:column;align-items:stretch}.dataset-split-config[data-v-f479d5fe]{flex:auto}.dataset-split-grid[data-v-f479d5fe]{grid-template-columns:minmax(0,1fr)}.dataset-split-summary[data-v-f479d5fe]{align-items:flex-start;flex-direction:column}}.generation-config-group[data-v-e6fd162c]{padding:14px;border:1px solid #e2e5ec;border-radius:8px;background:#fff}.config-group-heading[data-v-e6fd162c]{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.config-group-heading h4[data-v-e6fd162c]{margin:0;color:#344054;font-size:13px;font-weight:600}.config-group-heading p[data-v-e6fd162c]{margin:4px 0 0;color:#8a93a3;font-size:12px;line-height:1.5}.model-config-group[data-v-e6fd162c]{display:flex;flex-direction:column;gap:20px;padding:0;border:0;border-radius:0;background:transparent}.model-config-group .advanced-settings-grid[data-v-e6fd162c]{grid-template-columns:1fr;gap:20px}.model-config-group .config-field[data-v-e6fd162c]{padding:0;border:0;border-radius:0}.model-field[data-v-e6fd162c]{display:flex;flex-direction:column;gap:8px}.field-copy[data-v-e6fd162c]{display:grid;gap:4px}.field-copy strong[data-v-e6fd162c]{color:#344054;font-size:13px;font-weight:600}.field-copy small[data-v-e6fd162c]{color:#8a93a3;font-size:12px;line-height:1.5}.field-copy em[data-v-e6fd162c]{color:var(--el-color-danger);font-style:normal}.model-select[data-v-e6fd162c],.prompt-input[data-v-e6fd162c]{width:100%}.model-option[data-v-e6fd162c]{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px}.model-option small[data-v-e6fd162c]{color:#98a2b3;font-size:11px}.model-empty[data-v-e6fd162c]{padding:12px;color:#8a93a3;font-size:12px;text-align:center}.prompt-variables-hint[data-v-e6fd162c]{color:#8a93a3;font-size:12px}.prompt-variables-hint code[data-v-e6fd162c]{padding:2px 4px;color:#5b50f2;background:#f0f0ff;border-radius:4px;font-family:inherit}.advanced-settings-grid[data-v-e6fd162c]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.config-field[data-v-e6fd162c]{display:grid;align-content:start;gap:8px;min-width:0;padding:14px;color:#344054;background:#fff;border:1px solid #e2e5ec;border-radius:8px}.config-field>small[data-v-e6fd162c]{color:#8a93a3;font-size:12px;line-height:1.5}.config-field[data-v-e6fd162c] .el-slider{margin:0 8px}.config-field-label[data-v-e6fd162c]{font-size:13px;font-weight:600}.unit-input[data-v-e6fd162c]{display:flex;align-items:center;gap:8px;color:#7b8495;font-size:12px}.unit-input[data-v-e6fd162c] .el-input-number{width:100%}.json-mode-row[data-v-e6fd162c]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;background:#fff;border:1px solid #e2e5ec;border-radius:8px}.quality-switch-row[data-v-e6fd162c]{display:flex;align-items:center;justify-content:space-between;gap:20px}.quality-rule-panel[data-v-e6fd162c]{margin-top:12px;padding-top:12px;border-top:1px solid #e7eaf0}.quality-rule-list[data-v-e6fd162c]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quality-rule-list[data-v-e6fd162c] .el-checkbox{min-height:62px;height:auto;margin-right:0;padding:10px 12px;align-items:flex-start;border:1px solid #e2e5ec;border-radius:7px;background:#fff}.quality-rule-list[data-v-e6fd162c] .el-checkbox__input{margin-top:3px}.quality-rule-list[data-v-e6fd162c] .el-checkbox__label{min-width:0;padding-left:9px;white-space:normal}.rule-copy[data-v-e6fd162c]{display:grid;gap:3px}.rule-copy strong[data-v-e6fd162c]{color:#344054;font-size:12px;font-weight:600}.rule-copy small[data-v-e6fd162c]{color:#8a93a3;font-size:11px;line-height:1.5}.minimum-length-field[data-v-e6fd162c]{margin-top:12px;display:grid;grid-template-columns:110px 220px minmax(0,1fr);align-items:center;gap:12px;color:#475467;font-size:12px}.minimum-length-input[data-v-e6fd162c]{display:flex;align-items:center;gap:8px}.minimum-length-input[data-v-e6fd162c] .el-input-number{width:180px}.minimum-length-field>small[data-v-e6fd162c]{color:#8a93a3}.quality-rule-warning[data-v-e6fd162c],.generation-validation-message[data-v-e6fd162c]{margin:10px 0 0;color:#dc2626;font-size:12px}@media(max-width:900px){.advanced-settings-grid[data-v-e6fd162c],.quality-rule-list[data-v-e6fd162c],.minimum-length-field[data-v-e6fd162c]{grid-template-columns:1fr}}.form-section[data-v-c48db990]{padding:0 0 26px;margin-bottom:26px;border-bottom:1px solid #edf0f5}.form-section[data-v-c48db990]:last-child{margin-bottom:0;border-bottom:0}.form-section h3[data-v-c48db990]{margin:0 0 16px;color:#2f3747;font-size:15px;font-weight:650}.section-title-row[data-v-c48db990]{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.section-title-row h3[data-v-c48db990]{margin-bottom:5px}.section-title-row p[data-v-c48db990]{margin:0;color:#8a93a3;font-size:12px}.preprocess-option-grid[data-v-c48db990]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.preprocess-option[data-v-c48db990]{display:flex;gap:10px;width:100%;min-height:64px;margin-right:0;padding:12px 14px;box-sizing:border-box;align-items:flex-start;border:1px solid #e2e5ec;border-radius:8px;transition:border-color .18s ease,background-color .18s ease}.preprocess-option[data-v-c48db990]:hover{border-color:#b7b2f7}.preprocess-option.is-checked[data-v-c48db990]{background:#fafaff;border-color:#8b82f4}.preprocess-option[data-v-c48db990] .el-checkbox__input{margin-top:3px}.preprocess-option[data-v-c48db990] .el-checkbox__label{min-width:0;padding-left:10px;white-space:normal}.preprocess-option-copy[data-v-c48db990],.generation-option-copy[data-v-c48db990]{display:grid;gap:4px}.preprocess-option-copy strong[data-v-c48db990],.generation-option-copy strong[data-v-c48db990]{color:#344054;font-size:13px;font-weight:600}.preprocess-option-copy small[data-v-c48db990],.generation-option-copy small[data-v-c48db990]{color:#8a93a3;font-size:12px;line-height:1.5}.generation-option-list[data-v-c48db990]{display:grid;gap:12px;margin-top:16px}.generation-option-row[data-v-c48db990]{display:flex;min-height:64px;align-items:center;justify-content:space-between;gap:24px;padding:12px 14px;box-sizing:border-box;border:1px solid #e2e5ec;border-radius:8px}@media(max-width:900px){.preprocess-option-grid[data-v-c48db990]{grid-template-columns:minmax(0,1fr)}.generation-option-row[data-v-c48db990]{align-items:flex-start;flex-direction:column}}.form-section[data-v-e95f1c94]{padding:0 0 26px;margin-bottom:26px;border-bottom:1px solid #edf0f5}.form-section[data-v-e95f1c94]:last-child{margin-bottom:0;border-bottom:0}.form-section h3[data-v-e95f1c94]{margin:0 0 16px;color:#2f3747;font-size:15px;font-weight:650}.section-title-row[data-v-e95f1c94]{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.section-title-row h3[data-v-e95f1c94]{margin-bottom:5px}.section-title-row p[data-v-e95f1c94]{margin:0;color:#8a93a3;font-size:12px}.generation-option-list[data-v-e95f1c94]{display:grid;gap:12px;margin-top:16px}.preprocess-option-grid[data-v-e95f1c94]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.preprocess-option[data-v-e95f1c94]{display:flex;gap:10px;width:100%;min-height:64px;margin-right:0;padding:12px 14px;box-sizing:border-box;align-items:flex-start;border:1px solid #e2e5ec;border-radius:8px;transition:border-color .18s ease,background-color .18s ease}.preprocess-option[data-v-e95f1c94]:hover{border-color:#b7b2f7}.preprocess-option.is-checked[data-v-e95f1c94]{background:#fafaff;border-color:#8b82f4}.preprocess-option[data-v-e95f1c94] .el-checkbox__input{margin-top:3px}.preprocess-option[data-v-e95f1c94] .el-checkbox__label{min-width:0;padding-left:10px;white-space:normal}.preprocess-option-copy[data-v-e95f1c94]{display:grid;gap:4px}.preprocess-option-copy strong[data-v-e95f1c94]{color:#344054;font-size:13px;font-weight:600}.preprocess-option-copy small[data-v-e95f1c94]{color:#8a93a3;font-size:12px;line-height:1.5}.generation-option-row[data-v-e95f1c94]{display:flex;min-height:64px;align-items:center;justify-content:space-between;gap:24px;padding:12px 14px;box-sizing:border-box;border:1px solid #e2e5ec;border-radius:8px}.generation-option-copy[data-v-e95f1c94]{display:grid;gap:4px}.generation-option-copy strong[data-v-e95f1c94]{color:#344054;font-size:13px;font-weight:600}.generation-option-copy small[data-v-e95f1c94]{color:#8a93a3;font-size:12px;line-height:1.5}.chunk-settings-grid[data-v-e95f1c94]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.config-field[data-v-e95f1c94]{display:grid;align-content:start;gap:8px;min-width:0;padding:14px;color:#344054;background:#fff;border:1px solid #e2e5ec;border-radius:8px}.config-field>small[data-v-e95f1c94]{color:#8a93a3;font-size:12px;line-height:1.5}.config-field[data-v-e95f1c94] .el-select,.config-field[data-v-e95f1c94] .el-input{width:100%}.config-field-label[data-v-e95f1c94]{font-size:13px;font-weight:600}.unit-input[data-v-e95f1c94]{display:flex;align-items:center;gap:8px;color:#7b8495;font-size:12px}.unit-input[data-v-e95f1c94] .el-input-number{width:100%}.option-validation-message[data-v-e95f1c94]{display:block;margin:8px 0 0;color:#dc2626;font-size:12px;line-height:1.5}.chunk-estimation-note[data-v-e95f1c94]{margin:9px 0 0;color:#8a93a3;font-size:12px;line-height:1.5}@media(max-width:900px){.chunk-settings-grid[data-v-e95f1c94]{grid-template-columns:minmax(0,1fr)}.generation-option-row[data-v-e95f1c94]{align-items:flex-start;flex-direction:column}.compact-option-list .generation-option-row[data-v-e95f1c94]{align-items:center;flex-direction:row}.preprocess-option-grid[data-v-e95f1c94]{grid-template-columns:minmax(0,1fr)}}.task-setup-step[data-v-d4ef10ff]{width:100%}.form-section[data-v-d4ef10ff]{padding:0 0 26px;margin-bottom:26px;border-bottom:1px solid #edf0f5}.form-section h3[data-v-d4ef10ff]{margin:0 0 16px;color:#2f3747;font-size:15px;font-weight:650}.basic-grid[data-v-d4ef10ff]{display:flex;flex-direction:column;gap:20px}.section-title-row[data-v-d4ef10ff]{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.section-title-row h3[data-v-d4ef10ff]{margin-bottom:5px}.section-title-row p[data-v-d4ef10ff]{margin:0;color:#8a93a3;font-size:12px}.type-form-item[data-v-d4ef10ff]{margin-top:16px}.type-options[data-v-d4ef10ff]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;width:100%}.type-option[data-v-d4ef10ff]{position:relative;display:flex;align-items:center;gap:14px;min-height:96px;padding:18px;color:#4b5563;text-align:left;background:#fff;border:1px solid #dfe3ea;border-radius:9px;cursor:pointer;transition:border-color .18s ease,background-color .18s ease}.type-option[data-v-d4ef10ff]:hover{border-color:#a8a3ff}.type-option.is-active[data-v-d4ef10ff]{background:#fafaff;border-color:#5b50f2;box-shadow:0 0 0 1px #5b50f214}.type-option strong[data-v-d4ef10ff],.type-option small[data-v-d4ef10ff]{display:block}.type-option strong[data-v-d4ef10ff]{margin-bottom:6px;color:#262d3d;font-size:14px}.type-option small[data-v-d4ef10ff]{color:#7b8495;font-size:12px;line-height:1.6}.type-icon[data-v-d4ef10ff]{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:40px;height:40px;color:#5b50f2;font-size:18px;background:#f0efff;border-radius:9px}.selection-mark[data-v-d4ef10ff]{position:absolute;top:12px;right:12px;color:#5b50f2;opacity:0}.type-option.is-active .selection-mark[data-v-d4ef10ff]{opacity:1}@media(max-width:900px){.type-options[data-v-d4ef10ff]{grid-template-columns:minmax(0,1fr)}}.model-selection-step[data-v-77825278]{width:100%}.form-section[data-v-77825278]{padding:0 0 26px;margin-bottom:26px;border-bottom:1px solid #edf0f5}.section-title-row[data-v-77825278]{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.section-title-row h3[data-v-77825278]{margin:0 0 5px;color:#2f3747;font-size:15px;font-weight:650}.section-title-row p[data-v-77825278]{margin:0;color:#8a93a3;font-size:12px;line-height:1.6}.model-form-content[data-v-77825278]{margin-top:16px}.source-upload-step[data-v-77d607a9]{width:100%}.form-section[data-v-77d607a9]{padding:0}.form-section h3[data-v-77d607a9]{margin:0 0 5px;color:#2f3747;font-size:15px;font-weight:650}.section-title-row[data-v-77d607a9]{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.section-title-row p[data-v-77d607a9]{margin:0;color:#8a93a3;font-size:12px;line-height:1.6}.external-section .external-grid[data-v-77d607a9]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;margin-top:16px}.external-section[data-v-77d607a9] .el-form-item{margin-bottom:0}.external-section[data-v-77d607a9] .el-select,.external-section[data-v-77d607a9] .el-input,.external-section[data-v-77d607a9] .el-input-number{width:100%}.external-actions[data-v-77d607a9]{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:22px}.external-status[data-v-77d607a9]{display:inline-flex;align-items:center;gap:6px;font-size:12px}.external-status.is-connected[data-v-77d607a9]{color:#2ca66a}.upload-section[data-v-77d607a9] .el-upload{width:100%;margin-top:16px}.upload-section[data-v-77d607a9] .el-upload-dragger{width:100%;min-height:154px;padding:32px 20px;background:#fff;border-color:#dfe3ea;transition:border-color .18s ease,background-color .18s ease}.upload-section[data-v-77d607a9] .el-upload-dragger:hover,.upload-section[data-v-77d607a9] .el-upload-dragger:focus-visible{background:#fafaff;border-color:#8b82f4}.upload-section[data-v-77d607a9] .el-upload-dragger:focus-visible{outline:2px solid #5b50f2;outline-offset:2px}.upload-icon[data-v-77d607a9]{margin-bottom:12px;color:#5b50f2;font-size:30px}.uploaded-file-list[data-v-77d607a9]{margin-top:20px;overflow:hidden;background:#fff;border:1px solid #dfe3ea;border-radius:8px}.uploaded-file-list-header[data-v-77d607a9]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;color:#5f6878;font-size:12px;background:#fff;border-bottom:1px solid #edf0f5}.continue-upload[data-v-77d607a9]{flex:0 0 auto}.continue-upload[data-v-77d607a9] .el-upload{width:auto;margin-top:0}.upload-queue-status[data-v-77d607a9]{color:#5b50f2;font-size:inherit}.uploaded-file-pagination[data-v-77d607a9]{display:flex;justify-content:flex-end;padding:10px 14px;border-top:1px solid #edf0f5}.uploaded-file[data-v-77d607a9]{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 14px;border-bottom:1px solid #edf0f5}.uploaded-file[data-v-77d607a9]:last-child{border-bottom:0}.file-icon[data-v-77d607a9]{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:28px;height:28px;color:#5b50f2;font-size:14px;background:#f0efff;border-radius:7px}.file-main[data-v-77d607a9]{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}.file-main strong[data-v-77d607a9]{overflow:hidden;color:#273142;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.file-main span[data-v-77d607a9]{color:#8a93a3;font-size:12px}.file-preview-progress[data-v-77d607a9]{display:flex;flex:0 1 220px;flex-direction:column;gap:5px;min-width:150px}.file-preview-progress.is-queued .file-status[data-v-77d607a9],.file-preview-progress.is-waiting .file-status[data-v-77d607a9]{color:#8a93a3}.file-preview-progress.is-uploading .file-status[data-v-77d607a9],.file-preview-progress.is-processing .file-status[data-v-77d607a9]{color:#5b50f2}.file-preview-progress.is-success .file-status[data-v-77d607a9]{color:#2ca66a}.file-preview-progress.is-upload-failed .file-status[data-v-77d607a9],.file-preview-progress.is-preview-failed .file-status[data-v-77d607a9],.file-preview-progress .file-preview-error[data-v-77d607a9]{color:#d94b4b}.file-status[data-v-77d607a9]{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.file-status>span[data-v-77d607a9]:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-progress-value[data-v-77d607a9]{flex:0 0 auto;font-variant-numeric:tabular-nums}.file-preview-error[data-v-77d607a9]{overflow:hidden;font-size:11px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.uploaded-file[data-v-77d607a9] .el-button{flex:0 0 auto}@media(max-width:900px){.external-section .external-grid[data-v-77d607a9]{grid-template-columns:minmax(0,1fr)}.uploaded-file[data-v-77d607a9]{gap:8px;padding:8px 10px}.file-preview-progress[data-v-77d607a9]{flex:0 1 auto;min-width:130px}.file-status[data-v-77d607a9]{line-height:1.4;white-space:normal}.uploaded-file-pagination[data-v-77d607a9]{justify-content:center}}@media(max-width:560px){.section-title-row[data-v-77d607a9],.uploaded-file-list-header[data-v-77d607a9]{align-items:flex-start;flex-direction:column}.uploaded-file[data-v-77d607a9]{align-items:flex-start;flex-wrap:wrap}.file-main[data-v-77d607a9]{min-width:calc(100% - 40px)}.file-preview-progress[data-v-77d607a9]{flex:1 0 calc(100% - 38px);margin-left:38px}}@media(prefers-reduced-motion:reduce){.upload-section[data-v-77d607a9] .el-upload-dragger{transition:none}}.pdf-source-viewer[data-v-6e2d2dbc]{display:flex;min-height:0;flex:1;flex-direction:column;overflow:hidden;background:#525659}.pdf-toolbar[data-v-6e2d2dbc]{display:grid;min-height:44px;flex:0 0 auto;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:0 12px;color:#f2f4f7;background:#323639;border-bottom:1px solid #1f2427}.toolbar-group[data-v-6e2d2dbc]{display:flex;align-items:center;gap:5px}.toolbar-group button[data-v-6e2d2dbc]{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;color:#f2f4f7;font:inherit;font-size:16px;background:transparent;border:0;border-radius:4px;cursor:pointer}.toolbar-group button[data-v-6e2d2dbc]:hover:not(:disabled){background:#ffffff1f}.toolbar-group button[data-v-6e2d2dbc]:disabled{color:#7d8387;cursor:not-allowed}.page-indicator[data-v-6e2d2dbc],.zoom-indicator[data-v-6e2d2dbc]{min-width:54px;color:#e4e7ec;font-size:12px;text-align:center}.location-state[data-v-6e2d2dbc]{min-width:0;overflow:hidden;color:#d0d5dd;font-size:12px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.location-state.is-highlighted[data-v-6e2d2dbc]{color:#ffd666}.location-state.is-unmatched[data-v-6e2d2dbc]{color:#fdb022}.pdf-scroll[data-v-6e2d2dbc]{position:relative;display:flex;min-height:538px;flex:1;align-items:flex-start;justify-content:center;overflow:auto;padding:18px;outline:none}.pdf-page[data-v-6e2d2dbc]{position:relative;flex:0 0 auto;overflow:hidden;background:#fff;box-shadow:0 2px 12px #00000057}.pdf-canvas[data-v-6e2d2dbc]{position:absolute;top:0;right:0;bottom:0;left:0;display:block}.pdf-text-layer[data-v-6e2d2dbc]{--min-font-size: 1;--text-scale-factor: calc(var(--total-scale-factor) * var(--min-font-size));--min-font-size-inv: calc(1 / var(--min-font-size));position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;overflow:clip;color-scheme:only light;line-height:1;letter-spacing:normal;word-spacing:normal;text-align:initial;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;caret-color:CanvasText}.pdf-text-layer[data-v-6e2d2dbc] span,.pdf-text-layer[data-v-6e2d2dbc] br{position:absolute;color:transparent;white-space:pre;cursor:text;-webkit-user-select:text;user-select:text;transform-origin:0 0}.pdf-text-layer[data-v-6e2d2dbc]>:not(.markedContent),.pdf-text-layer[data-v-6e2d2dbc] .markedContent span:not(.markedContent){--font-height: 0;--scale-x: 1;--rotate: 0deg;z-index:1;font-size:calc(var(--text-scale-factor) * var(--font-height));transform:rotate(var(--rotate)) scaleX(var(--scale-x)) scale(var(--min-font-size-inv))}.pdf-text-layer[data-v-6e2d2dbc] .markedContent{display:contents}.pdf-text-layer[data-v-6e2d2dbc] .is-slice-highlighted{margin:-2px;padding:2px;background:#ffca287a;border-radius:3px;box-shadow:0 0 0 1px #f59e0b61}.pdf-text-layer[data-v-6e2d2dbc] ::selection{color:transparent;background:#2563eb4d}.pdf-loading[data-v-6e2d2dbc],.pdf-error[data-v-6e2d2dbc]{position:absolute;z-index:3;top:50%;left:50%;display:flex;align-items:center;justify-content:center;transform:translate(-50%,-50%)}.pdf-loading[data-v-6e2d2dbc]{gap:8px;padding:10px 14px;color:#f2f4f7;font-size:13px;background:#1f2427db;border-radius:6px}.pdf-error[data-v-6e2d2dbc]{width:min(360px,100% - 32px);flex-direction:column;gap:8px;padding:20px;color:#667085;text-align:center;background:#fff;border-radius:8px;box-shadow:0 4px 20px #00000038}.pdf-error i[data-v-6e2d2dbc]{color:#d92d20;font-size:28px}.pdf-error strong[data-v-6e2d2dbc]{color:#344054}.pdf-error span[data-v-6e2d2dbc],.pdf-error a[data-v-6e2d2dbc]{font-size:12px}.pdf-unavailable[data-v-6e2d2dbc]{display:flex;width:100%;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#667085;background:#f8f9fb}.pdf-unavailable i[data-v-6e2d2dbc]{color:#d92d20;font-size:36px}.pdf-unavailable strong[data-v-6e2d2dbc]{color:#344054;font-size:14px}.pdf-unavailable span[data-v-6e2d2dbc]{font-size:12px}@media(max-width:900px){.pdf-toolbar[data-v-6e2d2dbc]{gap:5px;padding:0 6px}.location-state[data-v-6e2d2dbc]{font-size:11px}.pdf-scroll[data-v-6e2d2dbc]{min-height:420px}}.preview-step[data-v-56f2a99f]{min-width:0}.preview-file-switcher[data-v-56f2a99f]{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;padding:10px 14px;margin-bottom:12px;background:#fff;border:1px solid #e2e5ec;border-radius:9px}.file-switcher-control[data-v-56f2a99f]{display:flex;align-items:center;min-width:0;gap:10px}.file-switcher-control>span[data-v-56f2a99f]{flex:none;color:#667085;font-size:12px}.file-switcher-control[data-v-56f2a99f] .el-select{width:min(360px,42vw)}.file-switcher-summary[data-v-56f2a99f]{color:#7d8798;font-size:12px;text-align:right;white-space:nowrap}.pane-header-actions[data-v-56f2a99f]{display:flex;align-items:center;gap:10px}.pane-header-actions>span[data-v-56f2a99f]{color:#8a93a3;font-size:11px}.file-option[data-v-56f2a99f]{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;max-width:440px}.file-option strong[data-v-56f2a99f],.file-option span[data-v-56f2a99f],.file-option em[data-v-56f2a99f]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-option strong[data-v-56f2a99f]{color:#344054;font-size:13px;font-style:normal}.file-option span[data-v-56f2a99f]{color:#98a2b3;font-size:11px}.file-option em[data-v-56f2a99f]{color:#5549dc;font-size:11px;font-style:normal}.preview-workspace[data-v-56f2a99f]{display:grid;grid-template-columns:minmax(0,58fr) minmax(380px,42fr);height:clamp(560px,100vh - 370px,720px);overflow:hidden;border:1px solid #e2e5ec;border-radius:9px}.source-pane[data-v-56f2a99f],.preview-pane[data-v-56f2a99f]{display:flex;min-width:0;min-height:0;flex-direction:column;background:#fff}.source-pane[data-v-56f2a99f]{border-right:1px solid #e5e8ee}.pane-header[data-v-56f2a99f]{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:0 15px;color:#313949;background:#fff;border-bottom:1px solid #e8ebf0;font-size:13px}.pane-header>div[data-v-56f2a99f]{display:flex;align-items:center;gap:10px}.pane-header>span[data-v-56f2a99f]{color:#8a93a3;font-size:12px}.source-viewer[data-v-56f2a99f]{flex:1;height:538px;padding:12px 0 24px;overflow:auto;outline:none;background:#fff;scroll-behavior:smooth}.source-line[data-v-56f2a99f]{display:grid;grid-template-columns:48px minmax(0,1fr);min-height:29px;color:#424b5d;font-size:12px;line-height:1.8;border-left:3px solid transparent;transition:background-color .18s ease,border-color .18s ease}.source-line.is-highlighted[data-v-56f2a99f]{background:#eeedff;border-left-color:#5b50f2}.line-number[data-v-56f2a99f]{padding-right:11px;color:#a0a7b4;text-align:right;-webkit-user-select:none;user-select:none}.line-content[data-v-56f2a99f]{min-width:0;padding:2px 14px 2px 0;white-space:pre-wrap;word-break:break-word}.preview-toolbar[data-v-56f2a99f]{padding:10px 12px;border-bottom:1px solid #edf0f5}.preview-list[data-v-56f2a99f]{flex:1 1 auto;min-height:0;padding:8px;overflow:auto;border-bottom:1px solid #e8ebf0}.preview-pagination[data-v-56f2a99f]{display:flex;justify-content:flex-end;min-height:38px;padding:6px 12px;border-bottom:1px solid #e8ebf0}.preview-item[data-v-56f2a99f]{display:grid;grid-template-columns:94px minmax(130px,1fr) auto;align-items:center;width:100%;min-height:40px;padding:0 10px;color:#6b7382;text-align:left;background:#fff;border:1px solid transparent;border-bottom-color:#edf0f5;cursor:pointer}.preview-item[data-v-56f2a99f]:hover{background:#fafaff}.preview-item.is-active[data-v-56f2a99f]{color:#3f36c8;background:#f6f5ff;border-color:#5b50f2;border-radius:6px}.item-name[data-v-56f2a99f]{color:#344054;font-size:12px;font-weight:650}.item-source[data-v-56f2a99f],.item-actions[data-v-56f2a99f]{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.item-actions[data-v-56f2a99f]{display:flex;align-items:center;gap:2px}.item-actions[data-v-56f2a99f] .el-button{width:28px;min-height:28px;padding:0;margin:0}.empty-result[data-v-56f2a99f]{padding:34px 16px;color:#98a2b3;text-align:center;font-size:12px}.preview-editor[data-v-56f2a99f]{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;padding:13px;overflow-y:auto}.editor-heading[data-v-56f2a99f]{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.editor-heading strong[data-v-56f2a99f],.editor-heading small[data-v-56f2a99f]{display:block}.editor-heading strong[data-v-56f2a99f]{color:#344054;font-size:12px}.editor-heading small[data-v-56f2a99f]{margin-top:4px;color:#98a2b3;font-size:10px}.preview-editor[data-v-56f2a99f] .el-textarea__inner{min-height:260px!important;color:#3f4756;font-size:12px;line-height:1.75}.editor-actions[data-v-56f2a99f]{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:auto;padding-top:8px}@media(max-width:1100px){.preview-workspace[data-v-56f2a99f]{grid-template-columns:minmax(0,52fr) minmax(360px,48fr)}.preview-item[data-v-56f2a99f]{grid-template-columns:88px minmax(0,1fr) auto}}@media(max-width:900px){.preview-file-switcher[data-v-56f2a99f]{align-items:flex-start;flex-direction:column;gap:8px}.file-switcher-control[data-v-56f2a99f]{width:100%}.file-switcher-control[data-v-56f2a99f] .el-select{flex:1;width:auto}.file-switcher-summary[data-v-56f2a99f]{text-align:left;white-space:normal}.preview-workspace[data-v-56f2a99f]{grid-template-columns:minmax(0,1fr);height:auto}.source-pane[data-v-56f2a99f]{border-right:0;border-bottom:1px solid #e5e8ee}.source-viewer[data-v-56f2a99f]{height:320px;flex:none}}.generation-step[data-v-94e8b875]{max-width:1040px;margin:0 auto}.generation-layout[data-v-94e8b875]{display:grid;grid-template-columns:minmax(280px,.78fr) minmax(420px,1.22fr);gap:28px}.summary-panel[data-v-94e8b875],.run-panel[data-v-94e8b875]{border:1px solid #e2e5ec;border-radius:9px}.summary-panel[data-v-94e8b875]{overflow:hidden}.panel-heading[data-v-94e8b875]{display:flex;align-items:center;justify-content:space-between;padding:15px 17px;background:#fff;border-bottom:1px solid #e8ebf0}.panel-heading strong[data-v-94e8b875]{color:#344054;font-size:14px}.panel-heading span[data-v-94e8b875]{color:#2ca66a;font-size:11px}dl[data-v-94e8b875]{margin:0;padding:8px 17px}dl div[data-v-94e8b875]{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid #eef0f5}dl div[data-v-94e8b875]:last-child{border-bottom:0}dt[data-v-94e8b875],dd[data-v-94e8b875]{margin:0;font-size:12px}dt[data-v-94e8b875]{color:#8a93a3}dd[data-v-94e8b875]{max-width:65%;overflow:hidden;color:#344054;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.run-panel[data-v-94e8b875]{display:flex;min-height:360px;align-items:center;flex-direction:column;justify-content:center;padding:34px 48px;text-align:center;background:#fff}.run-panel h3[data-v-94e8b875]{margin:18px 0 8px;color:#2e3646;font-size:18px}.run-panel p[data-v-94e8b875]{min-height:22px;margin:0 0 24px;color:#7b8495;font-size:12px}.run-panel[data-v-94e8b875] .el-progress{width:100%;margin-bottom:18px}.run-icon[data-v-94e8b875]{display:inline-flex;align-items:center;justify-content:center;width:58px;height:58px;color:#5b50f2;font-size:22px;background:#f0efff;border-radius:50%}.run-panel.is-success .run-icon[data-v-94e8b875]{color:#2ca66a;background:#eaf8f1}.run-panel.is-failed .run-icon[data-v-94e8b875]{color:#d97706;background:#fff7e8}.run-meta[data-v-94e8b875]{display:flex;justify-content:space-between;width:100%;margin-bottom:24px;color:#98a2b3;font-size:10px}@media(max-width:900px){.generation-layout[data-v-94e8b875]{grid-template-columns:minmax(0,1fr)}}.result-step[data-v-37fecd0b]{min-width:0}.result-workspace[data-v-37fecd0b]{display:grid;grid-template-columns:minmax(280px,34fr) minmax(480px,66fr);min-height:clamp(420px,100vh - 500px,590px);overflow:hidden;border:1px solid #e2e5ec;border-radius:9px}.result-list-pane[data-v-37fecd0b]{min-width:0;border-right:1px solid #e5e8ee}.pane-header[data-v-37fecd0b]{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:0 15px;color:#344054;background:#fff;border-bottom:1px solid #e8ebf0;font-size:13px}.pane-header>div[data-v-37fecd0b]{display:flex;align-items:center;gap:8px}.pane-header>span[data-v-37fecd0b],.pane-header .modified-label[data-v-37fecd0b]{color:#8a93a3;font-size:11px}.result-toolbar[data-v-37fecd0b]{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border-bottom:1px solid #edf0f5}.result-list[data-v-37fecd0b]{height:476px;padding:7px;overflow:auto}.result-item[data-v-37fecd0b]{display:grid;grid-template-columns:46px minmax(0,1fr) 18px;align-items:center;gap:8px;width:100%;min-height:62px;padding:9px;text-align:left;background:#fff;border:1px solid transparent;border-bottom-color:#edf0f5;cursor:pointer}.result-item[data-v-37fecd0b]:hover,.result-item.is-active[data-v-37fecd0b]{background:#f7f6ff}.result-item.is-active[data-v-37fecd0b]{border-color:#5b50f2;border-radius:6px}.result-index[data-v-37fecd0b]{color:#667085;font-size:11px}.result-copy[data-v-37fecd0b]{min-width:0}.result-copy strong[data-v-37fecd0b],.result-copy small[data-v-37fecd0b]{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.result-copy strong[data-v-37fecd0b]{color:#344054;font-size:12px}.result-copy small[data-v-37fecd0b]{margin-top:5px;color:#98a2b3;font-size:10px}.is-valid[data-v-37fecd0b]{color:#2ca66a}.is-error[data-v-37fecd0b]{color:#d97706}.result-editor-pane[data-v-37fecd0b]{min-width:0}.field-editor[data-v-37fecd0b]{padding:13px 18px 0}.field-editor label[data-v-37fecd0b]{display:flex;align-items:center;gap:6px;margin-bottom:7px;color:#344054;font-size:12px;font-weight:650}.field-editor em[data-v-37fecd0b]{color:#e05252;font-size:10px;font-style:normal;font-weight:400}.field-editor span[data-v-37fecd0b]{color:#98a2b3;font-size:10px;font-weight:400}.validation-error[data-v-37fecd0b],.validation-success[data-v-37fecd0b]{margin:12px 18px 0;padding:9px 11px;font-size:11px;border-radius:6px}.quality-flags[data-v-37fecd0b]{display:flex;flex-wrap:wrap;gap:6px}.validation-error[data-v-37fecd0b]{color:#b45309;background:#fff7e8}.validation-success[data-v-37fecd0b]{color:#25895c;background:#edf9f3}.editor-pagination[data-v-37fecd0b]{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:12px 18px}.editor-pagination span[data-v-37fecd0b]{color:#8a93a3;font-size:11px}@media(max-width:900px){.result-workspace[data-v-37fecd0b]{grid-template-columns:minmax(0,1fr)}.result-list-pane[data-v-37fecd0b]{border-right:0;border-bottom:1px solid #e5e8ee}.result-list[data-v-37fecd0b]{height:260px}}.create-wizard-layout[data-v-63522af3]{display:flex;flex-direction:column;height:100%;border:1px solid #eef0f5;border-radius:8px;background:#fff}.wizard-main[data-v-63522af3]{flex:1;overflow-y:auto;padding:32px}.wizard-main[data-v-63522af3]::-webkit-scrollbar{width:6px}.wizard-main[data-v-63522af3]::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.wizard-main-inner[data-v-63522af3]{min-height:100%;box-sizing:border-box}.wizard-steps-container[data-v-63522af3]{margin-bottom:32px;padding-bottom:24px;border-bottom:1px dashed #e2e8f0}.custom-wizard-steps[data-v-63522af3]{display:flex;align-items:center;justify-content:space-between;max-width:1040px;margin:0 auto;padding:0 20px}.step-item[data-v-63522af3]{display:flex;align-items:center;flex:none}.step-connector[data-v-63522af3]{flex:1;height:2px;margin:0 16px;background-color:#e2e8f0;transition:background-color .3s}.step-connector.is-active[data-v-63522af3]{background-color:#5146e5}.step-node[data-v-63522af3]{display:flex;align-items:center;flex-shrink:0;gap:10px}.step-icon[data-v-63522af3]{display:flex;align-items:center;justify-content:center;width:28px;height:28px;color:#64748b;font-size:13px;font-weight:650;background-color:#fff;border:2px solid #cbd5e1;border-radius:50%;transition:all .3s}.step-title[data-v-63522af3]{color:#64748b;font-size:14px;font-weight:600;white-space:nowrap}.step-item.is-active .step-icon[data-v-63522af3]{color:#5146e5;background-color:#eef2ff;border-color:#5146e5}.step-item.is-active .step-title[data-v-63522af3]{color:#1e293b}.step-item.is-completed .step-icon[data-v-63522af3]{color:#fff;background-color:#5146e5;border-color:#5146e5}.step-item.is-completed .step-title[data-v-63522af3]{color:#1e293b}.wizard-content[data-v-63522af3]{min-height:400px}.wizard-footer[data-v-63522af3]{display:grid;flex-shrink:0;grid-template-columns:1fr auto 1fr;align-items:center;height:64px;padding:0 32px;background:#fff;border-top:1px solid #e2e8f0;box-shadow:0 -4px 6px -1px #00000005}.wizard-footer .footer-left[data-v-63522af3]{justify-self:start}.wizard-footer .footer-center[data-v-63522af3]{justify-self:center}.wizard-footer .footer-right[data-v-63522af3]{justify-self:end}.wizard-primary-action[data-v-63522af3]{min-width:160px}@media(max-width:1100px){.custom-wizard-steps[data-v-63522af3]{padding:0}.step-connector[data-v-63522af3]{margin:0 8px}.step-node[data-v-63522af3]{gap:7px}.step-title[data-v-63522af3]{display:none}.step-item.is-active .step-title[data-v-63522af3]{display:block;font-size:12px;white-space:nowrap}}@media(max-width:760px){.wizard-main[data-v-63522af3]{padding:24px 20px}.custom-wizard-steps[data-v-63522af3]{padding:0}.step-connector[data-v-63522af3]{margin:0 8px}.step-node[data-v-63522af3]{gap:6px}.step-title[data-v-63522af3]{max-width:72px;line-height:1.35}.wizard-footer[data-v-63522af3]{padding:0 20px}}@media(max-width:600px){.step-title[data-v-63522af3]{display:none}.step-connector[data-v-63522af3]{margin:0 6px}.wizard-primary-action[data-v-63522af3]{min-width:0}} diff --git a/frontend/dist/assets/DataProcessCreateView-jyj-tLuh.js b/frontend/dist/assets/DataProcessCreateView-jyj-tLuh.js new file mode 100644 index 0000000..faf6e1b --- /dev/null +++ b/frontend/dist/assets/DataProcessCreateView-jyj-tLuh.js @@ -0,0 +1,57 @@ +var ew=Object.defineProperty;var lv=u=>{throw TypeError(u)};var sw=(u,t,e)=>t in u?ew(u,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):u[t]=e;var M=(u,t,e)=>sw(u,typeof t!="symbol"?t+"":t,e),Wp=(u,t,e)=>t.has(u)||lv("Cannot "+e);var n=(u,t,e)=>(Wp(u,t,"read from private field"),e?e.call(u):t.get(u)),m=(u,t,e)=>t.has(u)?lv("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(u):t.set(u,e),p=(u,t,e,s)=>(Wp(u,t,"write to private field"),s?s.call(u,e):t.set(u,e),e),v=(u,t,e)=>(Wp(u,t,"access private method"),e);var qt=(u,t,e,s)=>({set _(i){p(u,t,i,e)},get _(){return n(u,t,s)}});import{E as Hu}from"./index-D23K2h6y.js";import{d as _i,o as N,c as G,q as E,s as U,n as we,aa as j,g as vt,j as ut,x as ft,w as et,M as ye,ad as ni,e as Vt,A as yt,y as rt,D as xi,H as jv,al as iw,aQ as nw,P as Wf,t as cv,aL as Xp,z as ig,ag as rw,aR as aw,G as ow,f as Ls,aB as lw,v as cw}from"./index-CxbBjZKo.js";import{A as hw}from"./AppConfirmDialog-D93e215T.js";import{E as Wv,a as Xv}from"./el-form-item-BA3ZlfqF.js";import{E as bh}from"./index-zJ9bqPrh.js";import{a as qv,E as Pp}from"./el-checkbox-C_TzqU9u.js";import{E as zu}from"./el-input-number-Ba6IqA7Z.js";/* empty css */import{_ as ki}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{E as Mp,a as Ip}from"./el-select-CeiDjMzB.js";import{E as dw}from"./el-slider-CPsf2yeE.js";import{E as uw}from"./el-switch-EBBsaB1p.js";import"./el-popper-OAwpEmER.js";import"./el-tooltip-l0sNRNKZ.js";import"./el-scrollbar-B0E7ZTt3.js";/* empty css */import{E as Yv}from"./el-pagination-ByKJEnCx.js";import{E as Kv}from"./el-progress-Br676mBH.js";import{E as fw}from"./el-upload-CLbTdSbQ.js";import{a as pw,b as gw,s as mw,c as vw,r as bw,u as yw,e as ww,f as hv,h as Aw,i as Sw,j as Qv,k as xw,l as Ew,m as Cw,n as dv,t as _w,p as kw,o as Tw,q as Pw,v as Mw}from"./dataProcess-DXC9XrKo.js";import{E as Iw}from"./index-BjlLyKON.js";import{u as Dw}from"./models-WwcwjK0u.js";import"./castArray-CwVgzdTt.js";import"./_baseClone-B6d4qZbo.js";import"./raf-Bjl8yy5U.js";import"./index-C4wGR5UT.js";import"./index-DxP0p4ch.js";import"./omit-CbHF-OEy.js";import"./index-ZKnv_mga.js";import"./index-DHcidAHK.js";import"./vnode-DIVHEdsp.js";import"./index-Bzaib5AU.js";import"./scroll-Dvb2mTx8.js";import"./clamp-Ow4I6lPc.js";import"./toNumber-Yuob3eJv.js";import"./_baseIteratee-C6JbNheX.js";import"./debounce-BJxjS5F3.js";import"./validator-AVoXfk3G.js";import"./model-B9dq9fy6.js";const Lw={class:"generation-option-row dataset-split-row"},Fw={class:"dataset-split-config"},Ow={class:"dataset-split-grid"},Rw={class:"dataset-split-field"},Nw={class:"dataset-split-input"},Bw={class:"dataset-split-field"},$w={class:"dataset-split-input"},Uw={class:"dataset-split-field"},Hw={class:"dataset-split-input"},zw={key:0,role:"alert"},Vw=_i({__name:"DatasetSplitEditor",props:{modelValue:{},ariaLabelPrefix:{default:""}},emits:["update:modelValue"],setup(u,{emit:t}){const e=u,s=t,i=ut(()=>{const{train:o,validation:l,test:c}=e.modelValue;return o+l+c});function r(o,l){s("update:modelValue",{...e.modelValue,[o]:Math.min(100,Math.max(0,Number(l)||0))})}function a(o){return`${e.ariaLabelPrefix}${o}比例`}return(o,l)=>{const c=zu;return N(),G("div",Lw,[l[9]||(l[9]=E("div",{class:"generation-option-copy"},[E("strong",null,"数据集划分"),E("small",null,"按比例将生成后的问答对随机划分为训练集、验证集和测试集")],-1)),E("div",Fw,[E("div",Ow,[E("label",Rw,[l[4]||(l[4]=E("span",null,"训练集",-1)),E("span",Nw,[U(c,{"model-value":u.modelValue.train,min:0,max:100,step:1,precision:0,"controls-position":"right","aria-label":a("训练集"),"onUpdate:modelValue":l[0]||(l[0]=h=>r("train",h))},null,8,["model-value","aria-label"]),l[3]||(l[3]=E("span",null,"%",-1))])]),E("label",Bw,[l[6]||(l[6]=E("span",null,"验证集",-1)),E("span",$w,[U(c,{"model-value":u.modelValue.validation,min:0,max:100,step:1,precision:0,"controls-position":"right","aria-label":a("验证集"),"onUpdate:modelValue":l[1]||(l[1]=h=>r("validation",h))},null,8,["model-value","aria-label"]),l[5]||(l[5]=E("span",null,"%",-1))])]),E("label",Uw,[l[8]||(l[8]=E("span",null,"测试集",-1)),E("span",Hw,[U(c,{"model-value":u.modelValue.test,min:0,max:100,step:1,precision:0,"controls-position":"right","aria-label":a("测试集"),"onUpdate:modelValue":l[2]||(l[2]=h=>r("test",h))},null,8,["model-value","aria-label"]),l[7]||(l[7]=E("span",null,"%",-1))])])]),E("div",{class:we(["dataset-split-summary",{"is-invalid":i.value!==100}])},[E("span",null,"总计 "+j(i.value)+"%",1),i.value!==100?(N(),G("span",zw," 训练集、验证集和测试集比例总和必须为 100% ")):vt("",!0)],2)])])}}}),Jv=ki(Vw,[["__scopeId","data-v-f479d5fe"]]),Gw={key:0,class:"generation-config-group model-config-group"},jw={class:"model-field"},Ww={class:"model-option"},Xw={class:"model-field"},qw={class:"advanced-settings-grid"},Yw={class:"config-field"},Kw={class:"config-field"},Qw={class:"unit-input"},Jw={class:"json-mode-row"},Zw={key:0,class:"generation-validation-message",role:"alert"},tA={key:1,class:"generation-config-group quality-config-group"},eA={class:"quality-switch-row"},sA={key:0,class:"quality-rule-panel"},iA={key:0,class:"minimum-length-field"},nA={class:"minimum-length-input"},rA={key:1,class:"quality-rule-warning",role:"alert"},aA={key:1,class:"generation-validation-message",role:"alert"},oA=_i({__name:"GenerationOptionsPanel",props:{options:{},models:{},section:{},validationMessage:{}},emits:["update:options"],setup(u,{emit:t}){const e=u,s=t;function i(c,h){s("update:options",{...e.options,[c]:h})}function r(c){const h=c.filter(d=>typeof d=="string");s("update:options",{...e.options,filterLowQuality:h.includes("low_quality"),filterShortContent:h.includes("short_content")})}const a=()=>[e.options.filterLowQuality?"low_quality":"",e.options.filterShortContent?"short_content":""].filter(Boolean);function o(){if(!e.validationMessage)return"";const c=e.validationMessage.includes("数据生成模型");return e.section==="model"?c?e.validationMessage:"":c?"":e.validationMessage}function l(c){const h=c.model_source==="api"||c.model_source==="online"?"在线模型":c.model_source==="local"?"本地模型":c.model_source||"模型管理";return c.type?`${h} · ${c.type}`:h}return(c,h)=>{const d=Ip,f=Mp,g=bh,y=dw,b=zu,S=uw,w=Pp,x=qv;return u.section==="model"?(N(),G("div",Gw,[E("div",jw,[h[8]||(h[8]=E("div",{class:"field-copy"},[E("strong",null,[ft("数据生成模型 "),E("em",null,"*")]),E("small",null,"选择负责生成问答、指令或结构化内容的大模型")],-1)),U(f,{class:"model-select","model-value":u.options.generationModelId,filterable:"",placeholder:"请选择用于生成数据的模型","aria-label":"数据生成模型","onUpdate:modelValue":h[0]||(h[0]=A=>i("generationModelId",A))},{empty:et(()=>[...h[7]||(h[7]=[E("div",{class:"model-empty"},"暂无模型,请先在模型管理中添加",-1)])]),default:et(()=>[(N(!0),G(ye,null,ni(u.models||[],A=>(N(),Vt(d,{key:A.id,label:A.name,value:A.id},{default:et(()=>[E("div",Ww,[E("span",null,j(A.name),1),E("small",null,j(l(A)),1)])]),_:2},1032,["label","value"]))),128))]),_:1},8,["model-value"])]),E("div",Xw,[h[9]||(h[9]=E("div",{class:"field-copy"},[E("strong",null,"默认提示语"),E("small",null,"用于约束生成内容的格式、语气和完整性,可按任务需要修改")],-1)),U(g,{class:"prompt-input","model-value":u.options.generationPrompt,type:"textarea",rows:4,maxlength:"500","show-word-limit":"",resize:"vertical",placeholder:"请输入模型生成内容时需要遵循的要求","aria-label":"模型默认提示语","onUpdate:modelValue":h[1]||(h[1]=A=>i("generationPrompt",A))},null,8,["model-value"]),h[10]||(h[10]=E("div",{class:"prompt-variables-hint"},[ft(" 提示:可在文本中通过 "),E("code",{textContent:"{{ content }}"}),ft(" 引用当前正在处理的数据内容。 ")],-1))]),E("div",qw,[E("label",Yw,[h[11]||(h[11]=E("span",{class:"config-field-label"},"生成温度 (Temperature)",-1)),U(y,{"model-value":u.options.temperature,min:0,max:1,step:.1,"show-input":"","onUpdate:modelValue":h[2]||(h[2]=A=>i("temperature",Number(A)||0))},null,8,["model-value"]),h[12]||(h[12]=E("small",null,"较低值输出更确定、保守,较高值输出更多样、有创造性",-1))]),E("label",Kw,[h[14]||(h[14]=E("span",{class:"config-field-label"},"最大输出长度 (Max Tokens)",-1)),E("span",Qw,[U(b,{"model-value":u.options.maxTokens,min:100,max:8192,step:256,"controls-position":"right","onUpdate:modelValue":h[3]||(h[3]=A=>i("maxTokens",Number(A)||1024))},null,8,["model-value"]),h[13]||(h[13]=E("span",null,"Token",-1))]),h[15]||(h[15]=E("small",null,"限制单次生成的最大内容长度,防止过度发散",-1))])]),E("div",Jw,[h[16]||(h[16]=E("div",{class:"field-copy"},[E("strong",null,"强制 JSON 格式输出"),E("small",null,"要求大模型返回纯 JSON 对象,有助于提高下游结构化提取的稳定性")],-1)),U(S,{"model-value":u.options.jsonMode,"inline-prompt":"","active-text":"开","inactive-text":"关","onUpdate:modelValue":h[4]||(h[4]=A=>i("jsonMode",!!A))},null,8,["model-value"])]),o()?(N(),G("p",Zw,j(o()),1)):vt("",!0)])):(N(),G("div",tA,[E("div",eA,[h[17]||(h[17]=E("div",{class:"config-group-heading"},[E("div",null,[E("h4",null,"质量筛选"),E("p",null,"生成后自动过滤不符合要求的内容,不影响源数据预处理")])],-1)),U(S,{"model-value":u.options.qualityFilterEnabled,"inline-prompt":"","active-text":"开","inactive-text":"关","aria-label":"质量筛选","onUpdate:modelValue":h[5]||(h[5]=A=>i("qualityFilterEnabled",!!A))},null,8,["model-value"])]),u.options.qualityFilterEnabled?(N(),G("div",sA,[U(x,{"model-value":a(),class:"quality-rule-list","onUpdate:modelValue":r},{default:et(()=>[U(w,{value:"low_quality"},{default:et(()=>[...h[18]||(h[18]=[E("span",{class:"rule-copy"},[E("strong",null,"过滤低质量内容"),E("small",null,"按相关性、完整性和可读性过滤明显不合格的生成结果")],-1)])]),_:1}),U(w,{value:"short_content"},{default:et(()=>[...h[19]||(h[19]=[E("span",{class:"rule-copy"},[E("strong",null,"过滤过短内容"),E("small",null,"过滤正文长度低于指定字数的生成结果")],-1)])]),_:1})]),_:1},8,["model-value"]),u.options.filterShortContent?(N(),G("label",iA,[h[21]||(h[21]=E("span",null,"最少字数",-1)),E("span",nA,[U(b,{"model-value":u.options.minOutputLength,min:1,max:1e3,step:5,precision:0,"controls-position":"right","aria-label":"生成内容最少字数","onUpdate:modelValue":h[6]||(h[6]=A=>i("minOutputLength",Number(A)||1))},null,8,["model-value"]),h[20]||(h[20]=E("span",null,"字",-1))]),h[22]||(h[22]=E("small",null,"少于该字数的生成结果将被过滤",-1))])):vt("",!0),!u.options.filterLowQuality&&!u.options.filterShortContent?(N(),G("p",rA," 请至少选择一项质量筛选规则 ")):vt("",!0)])):vt("",!0),o()?(N(),G("p",aA,j(o()),1)):vt("",!0)]))}}}),Um=ki(oA,[["__scopeId","data-v-e6fd162c"]]),lA={class:"form-section structured-options-section"},cA={class:"preprocess-option-copy"},hA={class:"form-section generation-options-section"},dA={class:"generation-option-list"},uA={class:"generation-option-row"},fA=_i({__name:"StructuredOptionsPanel",props:{options:{},validationAttempted:{type:Boolean},qualityValidationMessage:{}},emits:["update:options"],setup(u,{emit:t}){const e=u,s=t,i=[{value:"clean_invalid",label:"清理无效数据",description:"清理全空列,并剔除关键字段残缺的数据行"},{value:"detect_structure",label:"识别表格结构",description:"识别多级表头与合并单元格,并将嵌套字段展平"},{value:"deduplicate",label:"重复数据去重",description:"基于整行精确匹配和关键字段组合删除重复记录"},{value:"normalize_format",label:"数据格式标准化",description:"按所选规则统一编码、空白、字段名及 JSON 序列化格式"},{value:"filter_anomaly",label:"异常数据过滤",description:"使用 IQR 识别数值离群值,并过滤乱码等异常记录"},{value:"desensitize",label:"敏感信息脱敏",description:"识别并脱敏姓名、手机号、邮箱和身份证号"}];function r(l,c){s("update:options",{...e.options,[l]:c})}function a(l){s("update:options",{...e.options,...l})}function o(l){const c=new Set(i.map(d=>d.value)),h=Array.from(new Set(l.filter(d=>typeof d=="string"&&c.has(d))));r("preprocessOptions",h)}return(l,c)=>{const h=Pp,d=qv,f=zu;return N(),G(ye,null,[E("div",lA,[c[2]||(c[2]=E("div",{class:"section-title-row"},[E("div",null,[E("h3",null,"预处理选项"),E("p",null,"选择在生成问答对之前需要执行的数据处理方式")])],-1)),U(d,{"model-value":u.options.preprocessOptions,class:"preprocess-option-grid","onUpdate:modelValue":o},{default:et(()=>[(N(),G(ye,null,ni(i,g=>U(h,{key:g.value,value:g.value,class:"preprocess-option"},{default:et(()=>[E("span",cA,[E("strong",null,j(g.label),1),E("small",null,j(g.description),1)])]),_:2},1032,["value"])),64))]),_:1},8,["model-value"])]),E("div",hA,[c[4]||(c[4]=E("div",{class:"section-title-row"},[E("div",null,[E("h3",null,"生成选项"),E("p",null,"配置每条结构化记录生成问答对的方式和数量")])],-1)),E("div",dA,[U(Um,{options:u.options,section:"quality","validation-message":u.validationAttempted?u.qualityValidationMessage:"","onUpdate:options":a},null,8,["options","validation-message"]),E("div",uA,[c[3]||(c[3]=E("div",{class:"generation-option-copy"},[E("strong",null,"每行生成数量"),E("small",null,"每行结构化数据生成的问答对数量")],-1)),U(f,{"model-value":u.options.qaPairsPerRow,min:1,max:5,step:1,"controls-position":"right","onUpdate:modelValue":c[0]||(c[0]=g=>r("qaPairsPerRow",Number(g)||1))},null,8,["model-value"])]),U(Jv,{"model-value":u.options.datasetSplit,"onUpdate:modelValue":c[1]||(c[1]=g=>r("datasetSplit",g))},null,8,["model-value"])])])],64)}}}),pA=ki(fA,[["__scopeId","data-v-c48db990"]]),gA={class:"form-section unstructured-options-section"},mA={class:"preprocess-option-grid"},vA={class:"form-section chunk-options-section"},bA={class:"chunk-settings-grid is-basic"},yA={class:"config-field"},wA={class:"config-field"},AA={class:"unit-input"},SA={class:"config-field"},xA={class:"unit-input"},EA={class:"config-field"},CA={class:"unit-input"},_A={key:0,class:"config-field"},kA={key:0,class:"option-validation-message",role:"alert"},TA={class:"form-section generation-options-section"},PA={class:"generation-option-list"},MA={class:"generation-option-row"},IA=_i({__name:"UnstructuredOptionsPanel",props:{options:{},validationAttempted:{type:Boolean},qualityValidationMessage:{},chunkValidationMessage:{}},emits:["update:options"],setup(u,{expose:t,emit:e}){const s=u,i=e,r=["clean_invalid_content","detect_document_structure","merge_short_content","filter_low_quality","deduplicate_content","preserve_context"],a=[{value:"structure",label:"文档结构"},{value:"fixed",label:"固定 Token"},{value:"custom",label:"自定义分隔符"}],o={chunkSize:{min:200,max:2e3},chunkOverlap:{min:0,max:500},minChunkSize:{min:20,max:500},qaPairsPerChunk:{min:1,max:3}},l=ut(()=>r.every(x=>s.options.preprocessOptions.includes(x))),c=ut(()=>s.options.preprocessOptions.includes("desensitize")),h=ut(()=>s.options.preserveTables&&s.options.preserveCodeBlocks&&s.options.preserveLists);function d(x,A){i("update:options",{...s.options,[x]:A})}function f(x){i("update:options",{...s.options,...x})}function g(x){const A=!!x,C=Array.from(new Set(s.options.preprocessOptions.filter(_=>!r.includes(_))));d("preprocessOptions",A?[...r,...C]:C)}function y(x){const A=Array.from(new Set(s.options.preprocessOptions.filter(C=>C!=="desensitize")));x&&A.push("desensitize"),d("preprocessOptions",A)}function b(x){const A=!!x;i("update:options",{...s.options,preserveTables:A,preserveCodeBlocks:A,preserveLists:A})}function S(x,A){const C=o[x],_=Number(A),k=Number.isFinite(_)?_:C.min;d(x,Math.min(C.max,Math.max(C.min,k)))}function w(){}return t({revealValidation:w}),(x,A)=>{const C=Pp,_=Ip,k=Mp,I=zu,L=bh;return N(),G(ye,null,[E("div",gA,[A[10]||(A[10]=E("div",{class:"section-title-row"},[E("div",null,[E("h3",null,"预处理选项"),E("p",null,"默认启用结构感知的推荐策略,只需决定是否需要脱敏")])],-1)),E("div",mA,[E("label",{class:we(["preprocess-option",{"is-checked":l.value}])},[U(C,{"model-value":l.value,"onUpdate:modelValue":g},null,8,["model-value"]),A[7]||(A[7]=E("span",{class:"preprocess-option-copy"},[E("strong",null,"智能预处理"),E("small",null,"清理无效内容、感知文档结构、合并短块、预过滤低质量内容、近重复去重,并通过重叠保护上下文")],-1))],2),E("label",{class:we(["preprocess-option",{"is-checked":c.value}])},[U(C,{"model-value":c.value,"onUpdate:modelValue":y},null,8,["model-value"]),A[8]||(A[8]=E("span",{class:"preprocess-option-copy"},[E("strong",null,"敏感信息脱敏"),E("small",null,"识别并脱敏姓名、手机号、邮箱和身份证号")],-1))],2),E("label",{class:we(["preprocess-option",{"is-checked":h.value}])},[U(C,{"model-value":h.value,"onUpdate:modelValue":b},null,8,["model-value"]),A[9]||(A[9]=E("span",{class:"preprocess-option-copy"},[E("strong",null,"保护表格、代码和列表"),E("small",null,"避免切分点破坏特殊内容块的完整性")],-1))],2)])]),E("div",vA,[A[24]||(A[24]=E("div",{class:"section-title-row"},[E("div",null,[E("h3",null,"切分选项"),E("p",null,"按文档结构、固定 Token 或自定义分隔符拆分长文档")])],-1)),E("div",bA,[E("label",yA,[A[11]||(A[11]=E("span",{class:"config-field-label"},"切分方式",-1)),U(k,{"model-value":u.options.chunkMethod,"aria-label":"切分方式","onUpdate:modelValue":A[0]||(A[0]=P=>d("chunkMethod",P))},{default:et(()=>[(N(),G(ye,null,ni(a,P=>U(_,{key:P.value,label:P.label,value:P.value},null,8,["label","value"])),64))]),_:1},8,["model-value"]),A[12]||(A[12]=E("small",null,"推荐使用文档结构,按标题、段落和句子边界保留完整内容块",-1))]),E("label",wA,[A[14]||(A[14]=E("span",{class:"config-field-label"},"切片长度",-1)),E("span",AA,[U(I,{"model-value":u.options.chunkSize,min:200,max:2e3,step:50,precision:0,"controls-position":"right","aria-label":"切片长度","onUpdate:modelValue":A[1]||(A[1]=P=>S("chunkSize",P))},null,8,["model-value"]),A[13]||(A[13]=E("span",null,"Token",-1))]),A[15]||(A[15]=E("small",null,"单个切片的目标上限,默认 800 Token",-1))]),E("label",SA,[A[17]||(A[17]=E("span",{class:"config-field-label"},"重叠长度",-1)),E("span",xA,[U(I,{"model-value":u.options.chunkOverlap,min:0,max:500,step:10,precision:0,"controls-position":"right","aria-label":"重叠长度","onUpdate:modelValue":A[2]||(A[2]=P=>S("chunkOverlap",P))},null,8,["model-value"]),A[16]||(A[16]=E("span",null,"Token",-1))]),A[18]||(A[18]=E("small",null,"在相邻切片中最多重复保留的上下文,默认 100 Token",-1))]),E("label",EA,[A[20]||(A[20]=E("span",{class:"config-field-label"},"最小切片长度",-1)),E("span",CA,[U(I,{"model-value":u.options.minChunkSize,min:20,max:500,step:10,precision:0,"controls-position":"right","aria-label":"最小切片长度","onUpdate:modelValue":A[3]||(A[3]=P=>S("minChunkSize",P))},null,8,["model-value"]),A[19]||(A[19]=E("span",null,"Token",-1))]),A[21]||(A[21]=E("small",null,"过短的尾部内容会尽量并入前一个切片",-1))]),u.options.chunkMethod==="custom"?(N(),G("label",_A,[A[22]||(A[22]=E("span",{class:"config-field-label"},"自定义分隔符",-1)),U(L,{"model-value":u.options.customDelimiter,maxlength:"40","show-word-limit":"",placeholder:"例如:--- 或 ###","aria-label":"自定义分隔符","onUpdate:modelValue":A[4]||(A[4]=P=>d("customDelimiter",P))},null,8,["model-value"]),A[23]||(A[23]=E("small",null,"系统会优先在分隔符位置结束当前切片",-1))])):vt("",!0)]),A[25]||(A[25]=E("p",{class:"chunk-estimation-note"}," Token 数为轻量估算值,实际长度以训练使用的模型分词器为准。 ",-1)),u.chunkValidationMessage?(N(),G("p",kA,j(u.chunkValidationMessage),1)):vt("",!0)]),E("div",TA,[A[27]||(A[27]=E("div",{class:"section-title-row"},[E("div",null,[E("h3",null,"生成选项"),E("p",null,"只保留会直接影响输出的核心设置")])],-1)),E("div",PA,[U(Um,{options:u.options,section:"quality","validation-message":u.validationAttempted?u.qualityValidationMessage:"","onUpdate:options":f},null,8,["options","validation-message"]),E("div",MA,[A[26]||(A[26]=E("div",{class:"generation-option-copy"},[E("strong",null,"每个切片生成数量"),E("small",null,"每个内容切片最多生成 3 个不同角度的问答对")],-1)),U(I,{"model-value":u.options.qaPairsPerChunk,min:1,max:3,step:1,precision:0,"controls-position":"right","aria-label":"每个切片生成数量","onUpdate:modelValue":A[5]||(A[5]=P=>S("qaPairsPerChunk",P))},null,8,["model-value"])]),U(Jv,{"model-value":u.options.datasetSplit,"aria-label-prefix":"非结构化","onUpdate:modelValue":A[6]||(A[6]=P=>d("datasetSplit",P))},null,8,["model-value"])])])],64)}}}),DA=ki(IA,[["__scopeId","data-v-e95f1c94"]]),LA={class:"task-setup-step"},FA={class:"form-section"},OA={class:"basic-grid"},RA={class:"form-section"},NA={class:"type-options"},BA=_i({__name:"TaskSetupStep",props:{name:{},description:{},processType:{},structuredOptions:{},unstructuredOptions:{}},emits:["update:name","update:description","update:processType","update:structuredOptions","update:unstructuredOptions"],setup(u,{expose:t,emit:e}){const s=u,i=e,r=rt(),a=rt(),o=rt(!1),l=ut(()=>({name:s.name,processType:s.processType})),c=ut(()=>{const{train:S,validation:w,test:x}=s.structuredOptions.datasetSplit;return S+w+x}),h=ut(()=>{const{train:S,validation:w,test:x}=s.unstructuredOptions.datasetSplit;return S+w+x}),d=ut(()=>s.processType==="structured"?s.structuredOptions:s.processType==="unstructured"?s.unstructuredOptions:null),f=ut(()=>{const S=d.value;return S?S.qualityFilterEnabled&&!S.filterLowQuality&&!S.filterShortContent?"开启质量筛选后,请至少选择一项筛选规则":S.qualityFilterEnabled&&S.filterShortContent&&S.minOutputLength<1?"最少字数必须大于 0":"":""}),g=ut(()=>s.unstructuredOptions.chunkOverlap>=s.unstructuredOptions.chunkSize?"重叠长度必须小于切片长度":s.unstructuredOptions.minChunkSize>s.unstructuredOptions.chunkSize?"最小切片长度不能大于切片长度":s.unstructuredOptions.chunkOverlap+s.unstructuredOptions.minChunkSize>s.unstructuredOptions.chunkSize?"重叠长度与最小切片长度之和不能大于切片长度":s.unstructuredOptions.chunkMethod==="custom"&&!s.unstructuredOptions.customDelimiter.trim()?"请输入自定义分隔符":""),y={name:[{required:!0,message:"请输入任务名称",trigger:"blur"},{max:50,message:"任务名称不能超过 50 个字符",trigger:"blur"}],processType:[{required:!0,message:"请选择数据处理类型",trigger:"change"}]};async function b(){var S;if(o.value=!0,!r.value)return!1;try{if(await r.value.validate(),s.processType==="structured"&&c.value!==100)return yt.error("结构化数据处理:数据集划分比例总和必须为 100%"),!1;if(s.processType==="unstructured"){if(h.value!==100)return yt.error("非结构化数据处理:数据集划分比例总和必须为 100%"),!1;if(g.value)return(S=a.value)==null||S.revealValidation(),yt.error(g.value),!1}return f.value?(yt.error(f.value),!1):!0}catch{return yt.error("请完善标红的必填项"),!1}}return t({validate:b}),(S,w)=>{const x=bh,A=Xv,C=Wv;return N(),G("section",LA,[U(C,{ref_key:"formRef",ref:r,model:l.value,rules:y,"label-position":"top","scroll-to-error":""},{default:et(()=>[E("div",FA,[w[7]||(w[7]=E("h3",null,"基本信息",-1)),E("div",OA,[U(A,{label:"任务名称",prop:"name",required:""},{default:et(()=>[U(x,{"model-value":u.name,maxlength:"50","show-word-limit":"",placeholder:"例如:金融问答清洗任务","onUpdate:modelValue":w[0]||(w[0]=_=>i("update:name",_))},null,8,["model-value"])]),_:1}),U(A,{label:"任务描述(选填)"},{default:et(()=>[U(x,{"model-value":u.description,type:"textarea",rows:3,maxlength:"200","show-word-limit":"",placeholder:"简要说明本次数据处理目标","onUpdate:modelValue":w[1]||(w[1]=_=>i("update:description",_))},null,8,["model-value"])]),_:1})])]),E("div",RA,[w[11]||(w[11]=E("div",{class:"section-title-row"},[E("div",null,[E("h3",null,"处理类型"),E("p",null,"类型会影响下一步支持的数据源格式和后续预览方式")])],-1)),U(A,{prop:"processType",class:"type-form-item"},{default:et(()=>[E("div",NA,[E("button",{type:"button",class:we(["type-option",{"is-active":u.processType==="structured"}]),onClick:w[2]||(w[2]=_=>i("update:processType","structured"))},[...w[8]||(w[8]=[E("span",{class:"type-icon"},[E("i",{class:"fa fa-table"})],-1),E("span",null,[E("strong",null,"结构化数据"),E("small",null,"适用于 CSV、Excel、JSONL 等固定字段数据")],-1),E("i",{class:"fa fa-check-circle selection-mark"},null,-1)])],2),E("button",{type:"button",class:we(["type-option",{"is-active":u.processType==="unstructured"}]),onClick:w[3]||(w[3]=_=>i("update:processType","unstructured"))},[...w[9]||(w[9]=[E("span",{class:"type-icon"},[E("i",{class:"fa fa-file-text-o"})],-1),E("span",null,[E("strong",null,"非结构化数据"),E("small",null,"适用于文档、文本、问答等需要切分的数据")],-1),E("i",{class:"fa fa-check-circle selection-mark"},null,-1)])],2),E("button",{type:"button",class:we(["type-option",{"is-active":u.processType==="external"}]),onClick:w[4]||(w[4]=_=>i("update:processType","external"))},[...w[10]||(w[10]=[E("span",{class:"type-icon"},[E("i",{class:"fa fa-cloud-download"})],-1),E("span",null,[E("strong",null,"外来数据源拉取"),E("small",null,"适用于数据库、API 接口等需远程拉取的外部数据")],-1),E("i",{class:"fa fa-check-circle selection-mark"},null,-1)])],2)])]),_:1})]),u.processType==="structured"?(N(),Vt(pA,{key:0,options:u.structuredOptions,"validation-attempted":o.value,"quality-validation-message":f.value,"onUpdate:options":w[5]||(w[5]=_=>i("update:structuredOptions",_))},null,8,["options","validation-attempted","quality-validation-message"])):vt("",!0),u.processType==="unstructured"?(N(),Vt(DA,{key:1,ref_key:"unstructuredOptionsPanelRef",ref:a,options:u.unstructuredOptions,"validation-attempted":o.value,"quality-validation-message":f.value,"chunk-validation-message":g.value,"onUpdate:options":w[6]||(w[6]=_=>i("update:unstructuredOptions",_))},null,8,["options","validation-attempted","quality-validation-message","chunk-validation-message"])):vt("",!0)]),_:1},8,["model"])])}}}),$A=ki(BA,[["__scopeId","data-v-d4ef10ff"]]),UA={class:"model-selection-step","aria-labelledby":"model-selection-title"},HA={class:"form-section"},zA={class:"model-form-content"},VA=_i({__name:"ModelSelectionStep",props:{options:{},models:{}},emits:["update:options"],setup(u,{expose:t,emit:e}){const s=u,i=e,r=rt(!1),a=ut(()=>s.options.generationModelId===""?"请选择数据生成模型":"");function o(){return r.value=!0,a.value?(yt.error(a.value),!1):!0}return t({validate:o}),(l,c)=>(N(),G("section",UA,[E("div",HA,[c[1]||(c[1]=E("div",{class:"section-title-row"},[E("div",null,[E("h3",{id:"model-selection-title"},"大模型选择"),E("p",null,"选择本次数据生成使用的模型,并设置统一的输出要求")])],-1)),E("div",zA,[U(Um,{options:u.options,models:u.models,section:"model","validation-message":r.value?a.value:"","onUpdate:options":c[0]||(c[0]=h=>i("update:options",h))},null,8,["options","models","validation-message"])])])]))}}),GA=ki(VA,[["__scopeId","data-v-77825278"]]),jA={class:"source-upload-step","aria-labelledby":"source-upload-title"},WA={key:0,class:"form-section external-section"},XA={class:"external-form"},qA={class:"external-actions"},YA={key:0,class:"external-status is-connected",role:"status"},KA={key:0,class:"uploaded-file-list","aria-label":"已拉取数据列表"},QA={class:"uploaded-file-list-header"},JA={class:"uploaded-file-items"},ZA={class:"file-main"},tS=["title"],eS=["title"],sS={class:"file-status",role:"status","aria-live":"polite"},iS={class:"file-progress-value"},nS={key:0,class:"file-preview-error"},rS={key:1,class:"form-section upload-section"},aS={class:"section-title-row"},oS={class:"el-upload__tip"},lS={key:1,class:"uploaded-file-list","aria-label":"已上传文件列表"},cS={class:"uploaded-file-list-header"},hS={key:0,class:"upload-queue-status"},dS={class:"continue-upload"},uS={class:"uploaded-file-items"},fS={class:"file-main"},pS=["title"],gS=["title"],mS={class:"file-status",role:"status","aria-live":"polite"},vS={class:"file-progress-value"},bS={key:0,class:"file-preview-error"},Fa=10,yS=_i({__name:"SourceUploadStep",props:{processType:{},uploadedFiles:{},externalSource:{},externalPulling:{type:Boolean},externalConnected:{type:Boolean},previewBuilding:{type:Boolean},sourceUploading:{type:Boolean}},emits:["update:externalSource","file-change","remove-file","use-sample","test-connection","pull-data"],setup(u,{emit:t}){const e=u,s=t,i=[{value:"postgresql",label:"PostgreSQL"}],r=[{value:"none",label:"免鉴权"},{value:"basic",label:"账号密码"}],a=rt(1),o={queued:{label:"等待上传",icon:"fa-clock-o"},uploading:{label:"正在上传",icon:"fa-cloud-upload"},waiting:{label:"等待切分",icon:"fa-clock-o"},processing:{label:"正在切分",icon:"fa-spinner fa-spin"},success:{label:"切分完成",icon:"fa-check-circle"},"upload-failed":{label:"上传失败",icon:"fa-exclamation-circle"},"preview-failed":{label:"切分失败",icon:"fa-exclamation-circle"}},l=ut(()=>e.processType==="external"),c=ut(()=>e.processType==="unstructured"?".txt,.md,.markdown,.pdf,.docx,.pptx,.json,.jsonl,.ndjson":".json,.jsonl,.ndjson,.csv,.tsv,.xlsx"),h=ut(()=>{const C=(a.value-1)*Fa;return e.uploadedFiles.slice(C,C+Fa)});xi(()=>e.uploadedFiles.length,(C,_)=>{const k=Math.max(1,Math.ceil(C/Fa));if(C>_){a.value=k;return}a.value=Math.min(a.value,k)}),xi(()=>e.processType,()=>{a.value=1});function d(C,_){s("update:externalSource",{...e.externalSource,[C]:_})}function f(C){return C?C>=1024*1024?`${(C/1024/1024).toFixed(1)} MB`:`${(C/1024).toFixed(1)} KB`:"0 KB"}function g(C){return C.status==="queued"||C.status==="uploading"?C.status:C.status==="failed"?"upload-failed":C.previewStatus==="processing"||C.previewStatus==="success"?C.previewStatus:C.previewStatus==="failed"?"preview-failed":"waiting"}function y(C){const _=g(C),k=_==="queued"||_==="uploading"||_==="upload-failed"?C.uploadProgress:_==="waiting"?100:C.previewProgress??0;return Math.min(100,Math.max(0,k))}function b(C){return g(C)==="processing"}function S(C){return b(C)?100:y(C)}function w(C){const _=g(C);if(_==="waiting"||_==="success")return"success";if(_==="upload-failed"||_==="preview-failed")return"exception"}function x(C){return b(C)?"处理中":g(C)==="waiting"?"已上传":`${y(C)}%`}function A(C){return C.uploadError||C.previewError}return(C,_)=>{const k=Ip,I=Mp,L=Xv,P=bh,D=zu,R=Wv,K=Hu,W=Kv,Q=Yv,ht=fw;return N(),G("section",jA,[l.value?(N(),G("div",WA,[_[18]||(_[18]=E("div",{class:"section-title-row"},[E("div",null,[E("h3",{id:"source-upload-title"},"数据源配置"),E("p",null,"配置并验证外部数据源,拉取成功后可在下一步预览数据内容")])],-1)),E("div",XA,[U(R,{"label-position":"top",class:"external-grid"},{default:et(()=>[U(L,{label:"数据源类型"},{default:et(()=>[U(I,{"model-value":u.externalSource.type,placeholder:"请选择数据源类型","aria-label":"数据源类型","onUpdate:modelValue":_[0]||(_[0]=T=>d("type",T))},{default:et(()=>[(N(),G(ye,null,ni(i,T=>U(k,{key:T.value,label:T.label,value:T.value},null,8,["label","value"])),64))]),_:1},8,["model-value"])]),_:1}),U(L,{label:"地址 / URL"},{default:et(()=>[U(P,{"model-value":u.externalSource.url,placeholder:"例如:postgresql://db.example.com:5432/my_database","aria-label":"数据源地址或 URL","onUpdate:modelValue":_[1]||(_[1]=T=>d("url",T))},null,8,["model-value"])]),_:1}),U(L,{label:"鉴权方式"},{default:et(()=>[U(I,{"model-value":u.externalSource.authMode,"aria-label":"鉴权方式","onUpdate:modelValue":_[2]||(_[2]=T=>d("authMode",T))},{default:et(()=>[(N(),G(ye,null,ni(r,T=>U(k,{key:T.value,label:T.label,value:T.value},null,8,["label","value"])),64))]),_:1},8,["model-value"])]),_:1}),u.externalSource.authMode==="basic"?(N(),Vt(L,{key:0,label:"账号"},{default:et(()=>[U(P,{"model-value":u.externalSource.username,autocomplete:"username",placeholder:"请输入账号","aria-label":"数据源账号","onUpdate:modelValue":_[3]||(_[3]=T=>d("username",T))},null,8,["model-value"])]),_:1})):vt("",!0),u.externalSource.authMode==="basic"?(N(),Vt(L,{key:1,label:"密码"},{default:et(()=>[U(P,{"model-value":u.externalSource.password,type:"password","show-password":"",autocomplete:"current-password",placeholder:"请输入密码","aria-label":"数据源密码","onUpdate:modelValue":_[4]||(_[4]=T=>d("password",T))},null,8,["model-value"])]),_:1})):vt("",!0),U(L,{label:"拉取条数"},{default:et(()=>[U(D,{"model-value":u.externalSource.limit,min:1,max:1e5,step:100,"controls-position":"right","aria-label":"数据拉取条数","onUpdate:modelValue":_[5]||(_[5]=T=>d("limit",Number(T)||0))},null,8,["model-value"])]),_:1}),U(L,{label:"只读查询语句",class:"external-query-field"},{default:et(()=>[U(P,{"model-value":u.externalSource.query,type:"textarea",rows:4,maxlength:"20000","show-word-limit":"",placeholder:"例如:SELECT question, answer FROM qa_data ORDER BY id","aria-label":"外部数据源只读查询语句","onUpdate:modelValue":_[6]||(_[6]=T=>d("query",T))},null,8,["model-value"]),_[12]||(_[12]=E("small",null,"只允许单条 SELECT 或 WITH 查询;后端会拒绝写入、DDL 和多语句。",-1))]),_:1})]),_:1}),E("div",qA,[U(K,{loading:u.externalPulling&&!u.externalConnected,disabled:u.externalPulling||u.previewBuilding,plain:"",onClick:_[7]||(_[7]=T=>s("test-connection"))},{default:et(()=>[..._[13]||(_[13]=[ft(" 测试连接 ",-1)])]),_:1},8,["loading","disabled"]),U(K,{type:"primary",loading:u.externalPulling,disabled:u.externalPulling||u.previewBuilding,onClick:_[8]||(_[8]=T=>s("pull-data"))},{default:et(()=>[..._[14]||(_[14]=[ft(" 拉取数据 ",-1)])]),_:1},8,["loading","disabled"]),u.externalConnected?(N(),G("span",YA,[..._[15]||(_[15]=[E("i",{class:"fa fa-check-circle","aria-hidden":"true"},null,-1),ft(" 连接正常 ",-1)])])):vt("",!0)]),u.uploadedFiles.length?(N(),G("section",KA,[E("div",QA,[E("span",null,"已拉取 "+j(u.uploadedFiles.length)+" 个数据集",1)]),E("div",JA,[(N(!0),G(ye,null,ni(h.value,T=>(N(),G("div",{key:T.uid,class:"uploaded-file"},[_[17]||(_[17]=E("span",{class:"file-icon"},[E("i",{class:"fa fa-cloud-download","aria-hidden":"true"})],-1)),E("div",ZA,[E("strong",{title:T.name},j(T.name),9,tS),E("span",null,[ft(j(f(T.size))+" ",1),T.count?(N(),G(ye,{key:0},[ft(" · "+j(T.count.toLocaleString())+" 条",1)],64)):vt("",!0)])]),E("div",{class:we(["file-preview-progress",`is-${g(T)}`]),title:A(T)},[E("div",sS,[E("span",null,[E("i",{class:we(["fa",o[g(T)].icon]),"aria-hidden":"true"},null,2),ft(" "+j(o[g(T)].label),1)]),E("span",iS,j(x(T)),1)]),U(W,{percentage:S(T),indeterminate:b(T),duration:1.5,"stroke-width":5,"show-text":!1,status:w(T),"aria-valuenow":b(T)?void 0:y(T),"aria-valuetext":b(T)?"正在切分,进度未知":x(T)},null,8,["percentage","indeterminate","status","aria-valuenow","aria-valuetext"]),A(T)?(N(),G("small",nS,j(A(T)),1)):vt("",!0)],10,eS),U(K,{link:"",type:"danger",disabled:u.previewBuilding||T.status==="uploading","aria-label":`删除数据集 ${T.name}`,onClick:q=>s("remove-file",T.uid)},{default:et(()=>[..._[16]||(_[16]=[ft(" 删除 ",-1)])]),_:1},8,["disabled","aria-label","onClick"])]))),128))]),u.uploadedFiles.length>Fa?(N(),Vt(Q,{key:0,"current-page":a.value,"onUpdate:currentPage":_[9]||(_[9]=T=>a.value=T),"page-size":Fa,total:u.uploadedFiles.length,"pager-count":5,small:"",background:"",layout:"prev, pager, next",class:"uploaded-file-pagination","aria-label":"已拉取数据分页"},null,8,["current-page","total"])):vt("",!0)])):vt("",!0)])])):(N(),G("div",rS,[E("div",aS,[_[20]||(_[20]=E("div",null,[E("h3",{id:"source-upload-title"},"源数据上传"),E("p",null,"上传后可在下一步检查内容和切分效果,支持同时添加多个文件")],-1)),u.uploadedFiles.length===0?(N(),Vt(K,{key:0,link:"",type:"primary",disabled:u.previewBuilding,onClick:_[10]||(_[10]=T=>s("use-sample"))},{default:et(()=>[..._[19]||(_[19]=[ft(" 使用示例数据 ",-1)])]),_:1},8,["disabled"])):vt("",!0)]),u.uploadedFiles.length===0?(N(),Vt(ht,{key:0,drag:"",multiple:"",accept:c.value,disabled:u.previewBuilding,"auto-upload":!1,"show-file-list":!1,"on-change":T=>s("file-change",T),"aria-label":"选择或拖拽源数据文件"},{tip:et(()=>[E("div",oS,j(u.processType==="unstructured"?"支持 TXT、MD、MARKDOWN、PDF、DOCX、PPTX、JSON、JSONL、NDJSON;旧版 DOC/PPT 请先转换,单文件不超过 200MB":"支持 JSON、JSONL、NDJSON、CSV、TSV、XLSX;旧版 XLS 请先转换,单文件不超过 200MB"),1)]),default:et(()=>[_[21]||(_[21]=E("i",{class:"fa fa-cloud-upload upload-icon","aria-hidden":"true"},null,-1)),_[22]||(_[22]=E("div",{class:"el-upload__text"},[ft("拖拽文件到此处,或"),E("em",null,"点击选择文件")],-1))]),_:1},8,["accept","disabled","on-change"])):(N(),G("section",lS,[E("div",cS,[E("span",null,[ft(" 已选择 "+j(u.uploadedFiles.length)+" 个文件 ",1),u.sourceUploading?(N(),G("small",hS," · 正在逐个上传")):vt("",!0)]),E("div",dS,[U(ht,{multiple:"",accept:c.value,disabled:u.previewBuilding,"auto-upload":!1,"show-file-list":!1,"on-change":T=>s("file-change",T),"aria-label":"继续添加源数据文件"},{default:et(()=>[U(K,{size:"small",type:"primary",disabled:u.previewBuilding},{default:et(()=>[..._[23]||(_[23]=[ft("继续上传",-1)])]),_:1},8,["disabled"])]),_:1},8,["accept","disabled","on-change"])])]),E("div",uS,[(N(!0),G(ye,null,ni(h.value,T=>(N(),G("div",{key:T.uid,class:"uploaded-file"},[_[25]||(_[25]=E("span",{class:"file-icon"},[E("i",{class:"fa fa-file-text-o","aria-hidden":"true"})],-1)),E("div",fS,[E("strong",{title:T.name},j(T.name),9,pS),E("span",null,[ft(j(f(T.size))+" ",1),T.count?(N(),G(ye,{key:0},[ft(" · "+j(T.count.toLocaleString())+" 条",1)],64)):vt("",!0)])]),E("div",{class:we(["file-preview-progress",`is-${g(T)}`]),title:A(T)},[E("div",mS,[E("span",null,[E("i",{class:we(["fa",o[g(T)].icon]),"aria-hidden":"true"},null,2),ft(" "+j(o[g(T)].label),1)]),E("span",vS,j(x(T)),1)]),U(W,{percentage:S(T),indeterminate:b(T),duration:1.5,"stroke-width":5,"show-text":!1,status:w(T),"aria-valuenow":b(T)?void 0:y(T),"aria-valuetext":b(T)?"正在切分,进度未知":x(T)},null,8,["percentage","indeterminate","status","aria-valuenow","aria-valuetext"]),A(T)?(N(),G("small",bS,j(A(T)),1)):vt("",!0)],10,gS),U(K,{link:"",type:"danger",disabled:u.previewBuilding||T.status==="uploading","aria-label":`删除文件 ${T.name}`,onClick:q=>s("remove-file",T.uid)},{default:et(()=>[..._[24]||(_[24]=[ft(" 删除 ",-1)])]),_:1},8,["disabled","aria-label","onClick"])]))),128))]),u.uploadedFiles.length>Fa?(N(),Vt(Q,{key:0,"current-page":a.value,"onUpdate:currentPage":_[11]||(_[11]=T=>a.value=T),"page-size":Fa,total:u.uploadedFiles.length,"pager-count":5,small:"",background:"",layout:"prev, pager, next",class:"uploaded-file-pagination","aria-label":"已上传文件分页"},null,8,["current-page","total"])):vt("",!0)]))]))])}}}),wS=ki(yS,[["__scopeId","data-v-77d607a9"]]),ei=typeof process=="object"&&process+""=="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&process.type!=="browser"),mr=[1/0,1/0,-1/0,-1/0],ja=new Float32Array(mr),ng=[.001,0,0,.001,0,0],qp=1.35,Rs="http://www.w3.org/2000/svg",ti={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,IS_EDITING:128,OPLIST:256},Cr={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},Bl="pdfjs_internal_id_",Kh="pdfjs_internal_editor_",ot={DISABLE:-1,NONE:0,FREETEXT:3,HIGHLIGHT:9,STAMP:13,INK:15,POPUP:16,SIGNATURE:101,COMMENT:102},dt={RESIZE:1,CREATE:2,FREETEXT_SIZE:11,FREETEXT_COLOR:12,FREETEXT_OPACITY:13,INK_COLOR:21,INK_THICKNESS:22,INK_OPACITY:23,INK_COLOR_AND_OPACITY:24,HIGHLIGHT_COLOR:31,HIGHLIGHT_THICKNESS:32,HIGHLIGHT_FREE:33,HIGHLIGHT_SHOW_ALL:34,DRAW_STEP:41},AS={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},xe={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},rf={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},oe={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26,RICHMEDIA:27},Ll={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},Dp={ERRORS:0,WARNINGS:1,INFOS:5},Ki={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91,setStrokeTransparent:92,setFillTransparent:93,rawFillPath:94},wh={moveTo:0,lineTo:1,curveTo:2,quadraticCurveTo:3,closePath:4},SS={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let Lp=Dp.WARNINGS;function xS(u){Number.isInteger(u)&&(Lp=u)}function ES(){return Lp}function Fp(u){Lp>=Dp.INFOS&&console.info(`Info: ${u}`)}function lt(u){Lp>=Dp.WARNINGS&&console.warn(`Warning: ${u}`)}function Ct(u){throw new Error(u)}function ne(u,t){u||Ct(t)}function CS(u){switch(u==null?void 0:u.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function Zv(u,t=null,e=null){if(!u)return null;if(e&&typeof u=="string"){if(e.addDefaultProtocol&&u.startsWith("www.")){const i=u.match(/\./g);(i==null?void 0:i.length)>=2&&(u=`http://${u}`)}if(e.tryConvertEncoding)try{u=TS(u)}catch{}}const s=t?URL.parse(u,t):URL.parse(u);return CS(s)?s:null}function tb(u,t,e=!1){const s=URL.parse(u);return s?(s.hash=t,s.href):e&&Zv(u,"http://example.com")?u.split("#",1)[0]+`${t?`#${t}`:""}`:""}function rg(u){return u.substring(u.lastIndexOf("/")+1)}function at(u,t,e,s=!1){return Object.defineProperty(u,t,{value:e,enumerable:!s,configurable:!0,writable:!1}),e}const Tl=(function(){function t(e,s){this.message=e,this.name=s}return t.prototype=new Error,t.constructor=t,t})();class ag extends Tl{constructor(t,e){super(t,"PasswordException"),this.code=e}}class Yp extends Tl{constructor(t,e){super(t,"UnknownErrorException"),this.details=e}}class og extends Tl{constructor(t){super(t,"InvalidPDFException")}}class Xf extends Tl{constructor(t,e,s){super(t,"ResponseException"),this.status=e,this.missing=s}}class _S extends Tl{constructor(t){super(t,"FormatError")}}class _a extends Tl{constructor(t){super(t,"AbortException")}}function kS(u){(typeof u!="object"||(u==null?void 0:u.length)===void 0)&&Ct("Invalid argument for bytesToString");const t=u.length,e=8192;if(t"u")return at(this,"isAlphaColorInputSupported",!1);const t=document.createElement("input");return t.type="color",t.setAttribute("alpha",""),t.value="#ff000080",at(this,"isAlphaColorInputSupported",t.value!=="#ff0000")}static get isBackdropFilterSupported(){return at(this,"isBackdropFilterSupported",typeof CSS<"u"&&CSS.supports("backdrop-filter","blur(1px)"))}}var vr,af,lg;class B{static get hexNums(){return at(this,"hexNums",Array.from(Array(256).keys(),t=>t.toString(16).padStart(2,"0")))}static makeHexColor(t,e,s){return`#${this.hexNums[t]}${this.hexNums[e]}${this.hexNums[s]}`}static transform(t,e){return[t[0]*e[0]+t[2]*e[1],t[1]*e[0]+t[3]*e[1],t[0]*e[2]+t[2]*e[3],t[1]*e[2]+t[3]*e[3],t[0]*e[4]+t[2]*e[5]+t[4],t[1]*e[4]+t[3]*e[5]+t[5]]}static multiplyByDOMMatrix(t,e){return[t[0]*e.a+t[2]*e.b,t[1]*e.a+t[3]*e.b,t[0]*e.c+t[2]*e.d,t[1]*e.c+t[3]*e.d,t[0]*e.e+t[2]*e.f+t[4],t[1]*e.e+t[3]*e.f+t[5]]}static applyTransform(t,e,s=0){const i=t[s],r=t[s+1];t[s]=i*e[0]+r*e[2]+e[4],t[s+1]=i*e[1]+r*e[3]+e[5]}static applyTransformToBezier(t,e,s=0){const i=e[0],r=e[1],a=e[2],o=e[3],l=e[4],c=e[5];for(let h=0;h<6;h+=2){const d=t[s+h],f=t[s+h+1];t[s+h]=d*i+f*a+l,t[s+h+1]=d*r+f*o+c}}static applyInverseTransform(t,e){const s=t[0],i=t[1],r=e[0]*e[3]-e[1]*e[2];t[0]=(s*e[3]-i*e[2]+e[2]*e[5]-e[4]*e[3])/r,t[1]=(-s*e[1]+i*e[0]+e[4]*e[1]-e[5]*e[0])/r}static axialAlignedBoundingBox(t,e,s){const i=e[0],r=e[1],a=e[2],o=e[3],l=e[4],c=e[5],h=t[0],d=t[1],f=t[2],g=t[3];let y=i*h+l,b=y,S=i*f+l,w=S,x=o*d+c,A=x,C=o*g+c,_=C;if(r!==0||a!==0){const k=r*h,I=r*f,L=a*d,P=a*g;y+=L,w+=L,S+=P,b+=P,x+=k,_+=k,C+=I,A+=I}s[0]=Math.min(s[0],y,S,b,w),s[1]=Math.min(s[1],x,C,A,_),s[2]=Math.max(s[2],y,S,b,w),s[3]=Math.max(s[3],x,C,A,_)}static inverseTransform(t){const e=t[0]*t[3]-t[1]*t[2];return[t[3]/e,-t[1]/e,-t[2]/e,t[0]/e,(t[2]*t[5]-t[4]*t[3])/e,(t[4]*t[1]-t[5]*t[0])/e]}static singularValueDecompose2dScale(t,e){const s=t[0],i=t[1],r=t[2],a=t[3],o=s**2+i**2,l=s*r+i*a,c=r**2+a**2,h=(o+c)/2,d=Math.sqrt(h**2-(o*c-l**2));e[0]=Math.sqrt(h+d||1),e[1]=Math.sqrt(h-d||1)}static normalizeRect(t){const e=t.slice(0);return t[0]>t[2]&&(e[0]=t[2],e[2]=t[0]),t[1]>t[3]&&(e[1]=t[3],e[3]=t[1]),e}static intersect(t,e){const s=Math.max(Math.min(t[0],t[2]),Math.min(e[0],e[2])),i=Math.min(Math.max(t[0],t[2]),Math.max(e[0],e[2]));if(s>i)return null;const r=Math.max(Math.min(t[1],t[3]),Math.min(e[1],e[3])),a=Math.min(Math.max(t[1],t[3]),Math.max(e[1],e[3]));return r>a?null:[s,r,i,a]}static pointBoundingBox(t,e,s){s[0]=Math.min(s[0],t),s[1]=Math.min(s[1],e),s[2]=Math.max(s[2],t),s[3]=Math.max(s[3],e)}static rectBoundingBox(t,e,s,i,r){r[0]=Math.min(r[0],t,s),r[1]=Math.min(r[1],e,i),r[2]=Math.max(r[2],t,s),r[3]=Math.max(r[3],e,i)}static bezierBoundingBox(t,e,s,i,r,a,o,l,c){c[0]=Math.min(c[0],t,o),c[1]=Math.min(c[1],e,l),c[2]=Math.max(c[2],t,o),c[3]=Math.max(c[3],e,l),v(this,vr,lg).call(this,t,s,r,o,e,i,a,l,3*(-t+3*(s-r)+o),6*(t-2*s+r),3*(s-t),c),v(this,vr,lg).call(this,t,s,r,o,e,i,a,l,3*(-e+3*(i-a)+l),6*(e-2*i+a),3*(i-e),c)}}vr=new WeakSet,af=function(t,e,s,i,r,a,o,l,c,h){if(c<=0||c>=1)return;const d=1-c,f=c*c,g=f*c,y=d*(d*(d*t+3*c*e)+3*f*s)+g*i,b=d*(d*(d*r+3*c*a)+3*f*o)+g*l;h[0]=Math.min(h[0],y),h[1]=Math.min(h[1],b),h[2]=Math.max(h[2],y),h[3]=Math.max(h[3],b)},lg=function(t,e,s,i,r,a,o,l,c,h,d,f){if(Math.abs(c)<1e-12){Math.abs(h)>=1e-12&&v(this,vr,af).call(this,t,e,s,i,r,a,o,l,-d/h,f);return}const g=h**2-4*d*c;if(g<0)return;const y=Math.sqrt(g),b=2*c;v(this,vr,af).call(this,t,e,s,i,r,a,o,l,(-h+y)/b,f),v(this,vr,af).call(this,t,e,s,i,r,a,o,l,(-h-y)/b,f)},m(B,vr);function TS(u){return decodeURIComponent(escape(u))}let Kp=null,uv=null;function PS(u){return Kp||(Kp=/([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu,uv=new Map([["ſt","ſt"]])),u.replaceAll(Kp,(t,e,s)=>e?e.normalize("NFKC"):uv.get(s))}function eb(){if(typeof crypto.randomUUID=="function")return crypto.randomUUID();const u=new Uint8Array(32);return crypto.getRandomValues(u),kS(u)}function MS(u,t,e){if(!Array.isArray(e)||e.length<2)return!1;const[s,i,...r]=e;if(!u(s)&&!Number.isInteger(s)||!t(i))return!1;const a=r.length;let o=!0;switch(i.name){case"XYZ":if(a<2||a>3)return!1;break;case"Fit":case"FitB":return a===0;case"FitH":case"FitBH":case"FitV":case"FitBV":if(a>1)return!1;break;case"FitR":if(a!==4)return!1;o=!1;break;default:return!1}for(const l of r)if(!(typeof l=="number"||o&&l===null))return!1;return!0}const Vu=()=>[],Hm=()=>new Map,cg=()=>Object.create(null);function Qt(u,t,e){return Math.min(Math.max(u,t),e)}class Gu{constructor({viewBox:t,userUnit:e,scale:s,rotation:i,offsetX:r=0,offsetY:a=0,dontFlip:o=!1}){this.viewBox=t,this.userUnit=e,this.scale=s,this.rotation=i,this.offsetX=r,this.offsetY=a,s*=e;const l=(t[2]+t[0])/2,c=(t[3]+t[1])/2;let h,d,f,g;switch(i%=360,i<0&&(i+=360),i){case 180:h=-1,d=0,f=0,g=1;break;case 90:h=0,d=1,f=1,g=0;break;case 270:h=0,d=-1,f=-1,g=0;break;case 0:h=1,d=0,f=0,g=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}o&&(f=-f,g=-g);let y,b,S,w;h===0?(y=Math.abs(c-t[1])*s+r,b=Math.abs(l-t[0])*s+a,S=(t[3]-t[1])*s,w=(t[2]-t[0])*s):(y=Math.abs(l-t[0])*s+r,b=Math.abs(c-t[1])*s+a,S=(t[2]-t[0])*s,w=(t[3]-t[1])*s),this.transform=[h*s,d*s,f*s,g*s,y-h*s*l-f*s*c,b-d*s*l-g*s*c],this.width=S,this.height=w}get rawDims(){const t=this.viewBox;return at(this,"rawDims",{pageWidth:t[2]-t[0],pageHeight:t[3]-t[1],pageX:t[0],pageY:t[1]})}clone({scale:t=this.scale,rotation:e=this.rotation,offsetX:s=this.offsetX,offsetY:i=this.offsetY,dontFlip:r=!1}={}){return new Gu({viewBox:this.viewBox.slice(),userUnit:this.userUnit,scale:t,rotation:e,offsetX:s,offsetY:i,dontFlip:r})}convertToViewportPoint(t,e){const s=[t,e];return B.applyTransform(s,this.transform),s}convertToPdfPoint(t,e){const s=[t,e];return B.applyInverseTransform(s,this.transform),s}}class Qh{static textContent(t){const e=[],s={items:e,styles:Object.create(null)};function i(r){var l;if(!r)return;let a=null;const o=r.name;if(o==="#text")a=r.value;else if(Qh.shouldBuildText(o))(l=r==null?void 0:r.attributes)!=null&&l.textContent?a=r.attributes.textContent:r.value&&(a=r.value);else return;if(a!==null&&e.push({str:a}),!!r.children)for(const c of r.children)i(c)}return i(t),s}static shouldBuildText(t){return!(t==="textarea"||t==="input"||t==="option"||t==="select")}}class sb{static setupStorage(t,e,s,i,r){const a=i.getValue(e,{value:null});switch(s.name){case"textarea":if(a.value!==null&&(t.textContent=a.value),r==="print")break;t.addEventListener("input",o=>{i.setValue(e,{value:o.target.value})});break;case"input":if(s.attributes.type==="radio"||s.attributes.type==="checkbox"){if(a.value===s.attributes.xfaOn?t.setAttribute("checked",!0):a.value===s.attributes.xfaOff&&t.removeAttribute("checked"),r==="print")break;t.addEventListener("change",o=>{i.setValue(e,{value:o.target.checked?o.target.getAttribute("xfaOn"):o.target.getAttribute("xfaOff")})})}else{if(a.value!==null&&t.setAttribute("value",a.value),r==="print")break;t.addEventListener("input",o=>{i.setValue(e,{value:o.target.value})})}break;case"select":if(a.value!==null){t.setAttribute("value",a.value);for(const o of s.children)o.attributes.value===a.value?o.attributes.selected=!0:Object.hasOwn(o.attributes,"selected")&&delete o.attributes.selected}t.addEventListener("input",o=>{const l=o.target.options,c=l.selectedIndex===-1?"":l[l.selectedIndex].value;i.setValue(e,{value:c})});break}}static setAttributes({html:t,element:e,storage:s=null,intent:i,linkService:r}){const{attributes:a}=e,o=t instanceof HTMLAnchorElement;a.type==="radio"&&(a.name=`${a.name}-${i}`);for(const[l,c]of Object.entries(a))if(c!=null)switch(l){case"class":c.length&&t.setAttribute(l,c.join(" "));break;case"dataId":break;case"id":t.setAttribute("data-element-id",c);break;case"style":Object.assign(t.style,c);break;case"textContent":t.textContent=c;break;default:(!o||l!=="href"&&l!=="newWindow")&&t.setAttribute(l,c)}o&&r.addLinkAttributes(t,a.href,a.newWindow),s&&a.dataId&&this.setupStorage(t,a.dataId,e,s)}static render(t){var d,f;const e=t.annotationStorage,s=t.linkService,i=t.xfaHtml,r=t.intent||"display",a=document.createElement(i.name);i.attributes&&this.setAttributes({html:a,element:i,intent:r,linkService:s});const o=r!=="richText",l=t.div;if(l.append(a),t.viewport){const g=`matrix(${t.viewport.transform.join(",")})`;l.style.transform=g}o&&l.setAttribute("class","xfaLayer xfaFont");const c=[];if(i.children.length===0){if(i.value){const g=document.createTextNode(i.value);a.append(g),o&&Qh.shouldBuildText(i.name)&&c.push(g)}return{textDivs:c}}const h=[[i,-1,a]];for(;h.length>0;){const[g,y,b]=h.at(-1);if(y+1===g.children.length){h.pop();continue}const S=g.children[++h.at(-1)[1]];if(S===null)continue;const{name:w}=S;if(w==="#text"){const A=document.createTextNode(S.value);c.push(A),b.append(A);continue}const x=(d=S==null?void 0:S.attributes)!=null&&d.xmlns?document.createElementNS(S.attributes.xmlns,w):document.createElement(w);if(b.append(x),S.attributes&&this.setAttributes({html:x,element:S,storage:e,intent:r,linkService:s}),((f=S.children)==null?void 0:f.length)>0)h.push([S,-1,x]);else if(S.value){const A=document.createTextNode(S.value);o&&Qh.shouldBuildText(w)&&c.push(A),x.append(A)}}for(const g of l.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))g.setAttribute("readOnly",!0);return{textDivs:c}}static update(t){const e=`matrix(${t.viewport.transform.join(",")})`;t.div.style.transform=e,t.div.hidden=!1}static getPageViewport(t,{scale:e=1,rotation:s=0}){const{width:i,height:r}=t.attributes.style;return new Gu({viewBox:[0,0,parseInt(i,10),parseInt(r,10)],userUnit:1,scale:e,rotation:s})}}const za=class za{};M(za,"CSS",96),M(za,"PDF",72),M(za,"PDF_TO_CSS_UNITS",za.CSS/za.PDF);let ka=za;async function zm(u,t="text"){if(Wh(u,document.baseURI)){const e=await fetch(u);if(!e.ok)throw new Error(e.statusText);switch(t){case"blob":return e.blob();case"bytes":return e.bytes();case"json":return e.json()}return e.text()}return new Promise((e,s)=>{const i=new XMLHttpRequest;i.open("GET",u,!0),i.responseType=t==="bytes"?"arraybuffer":t,i.onreadystatechange=()=>{if(i.readyState===XMLHttpRequest.DONE){if(i.status===200||i.status===0){switch(t){case"bytes":e(new Uint8Array(i.response));return;case"blob":case"json":e(i.response);return}e(i.responseText);return}s(new Error(i.statusText))}},i.send(null)})}class Vm extends Tl{constructor(t,e=0){super(t,"RenderingCancelledException"),this.extraDelay=e}}function Rp(u){const t=u.length;let e=0;for(;e{try{return new URL(o)}catch{}try{return new URL(decodeURIComponent(o))}catch{}try{return new URL(o,"https://foo.bar")}catch{}try{return new URL(decodeURIComponent(o),"https://foo.bar")}catch{}return null})(u);if(!s)return t;const i=o=>{try{let l=decodeURIComponent(o);return l.includes("/")&&(l=rg(l),l.length===4&&r.test(l))?o:l}catch{return o}},r=/\.pdf$/i,a=rg(s.pathname);if(r.test(a))return i(a);if(s.searchParams.size>0){const o=c=>[...c].findLast(h=>r.test(h)),l=o(s.searchParams.values())??o(s.searchParams.keys());if(l)return i(l)}if(s.hash){const l=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i.exec(s.hash);if(l)return i(l[0])}return t}var _r;class fv{constructor(){m(this,_r,new Map);M(this,"times",[])}time(t){n(this,_r).has(t)&<(`Timer is already running for ${t}`),n(this,_r).set(t,Date.now())}timeEnd(t){n(this,_r).has(t)||lt(`Timer has not been started for ${t}`),this.times.push({name:t,start:n(this,_r).get(t),end:Date.now()}),n(this,_r).delete(t)}toString(){const t=Math.max(...this.times.map(e=>e.name.length));return this.times.map(e=>`${e.name.padEnd(t)} ${e.end-e.start}ms +`).join("")}}_r=new WeakMap;function Wh(u,t){const e=t?URL.parse(u,t):URL.parse(u);return/https?:/.test((e==null?void 0:e.protocol)??"")}function Ci(u){u.preventDefault()}function ie(u){u.preventDefault(),u.stopPropagation()}var ed;class qf{static toDateObject(t){if(t instanceof Date)return t;if(!t||typeof t!="string")return null;n(this,ed)||p(this,ed,new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+\\-])?(\\d{2})?'?(\\d{2})?'?"));const e=n(this,ed).exec(t);if(!e)return null;const s=parseInt(e[1],10);let i=parseInt(e[2],10);i=i>=1&&i<=12?i-1:0;let r=parseInt(e[3],10);r=r>=1&&r<=31?r:1;let a=parseInt(e[4],10);a=a>=0&&a<=23?a:0;let o=parseInt(e[5],10);o=o>=0&&o<=59?o:0;let l=parseInt(e[6],10);l=l>=0&&l<=59?l:0;const c=e[7]||"Z";let h=parseInt(e[8],10);h=h>=0&&h<=23?h:0;let d=parseInt(e[9],10)||0;return d=d>=0&&d<=59?d:0,c==="-"?(a+=h,o+=d):c==="+"&&(a-=h,o-=d),new Date(Date.UTC(s,i,r,a,o,l))}}ed=new WeakMap,m(qf,ed);function ju(u){if(u.startsWith("#")){const e=u.slice(1);return[parseInt(e.slice(0,2),16),parseInt(e.slice(2,4),16),parseInt(e.slice(4,6),16),e.length>=8?parseInt(e.slice(6,8),16)/255:1]}if(u.startsWith("rgb(")){const[e,s,i]=u.slice(4,-1).split(",").map(r=>parseInt(r,10));return[e,s,i,1]}if(u.startsWith("rgba(")){const e=u.slice(5,-1).split(",");return[parseInt(e[0],10),parseInt(e[1],10),parseInt(e[2],10),parseFloat(e[3])]}const t=u.match(/^color\(srgb\s+([\d.]+)\s+([\d.]+)\s+([\d.]+)(?:\s*\/\s*([\d.]+|none))?\)$/);return t?[Math.round(parseFloat(t[1])*255),Math.round(parseFloat(t[2])*255),Math.round(parseFloat(t[3])*255),t[4]!==void 0&&t[4]!=="none"?parseFloat(t[4]):1]:null}function Wu(u){const t=ju(u);return t?t.slice(0,3):(lt(`Not a valid color format: "${u}"`),[0,0,0])}function LS(u){const t=document.createElement("span");t.style.visibility="hidden",t.style.colorScheme="only light",document.body.append(t);for(const e of u.keys()){t.style.color=e;const s=window.getComputedStyle(t).color;u.set(e,Wu(s))}t.remove()}function Wt(u){const{a:t,b:e,c:s,d:i,e:r,f:a}=u.getTransform();return[t,e,s,i,r,a]}function Xi(u){const{a:t,b:e,c:s,d:i,e:r,f:a}=u.getTransform().invertSelf();return[t,e,s,i,r,a]}function xl(u,t,e=!1,s=!0){if(t instanceof Gu){const{pageWidth:i,pageHeight:r}=t.rawDims,{style:a}=u,o=`round(down, var(--total-scale-factor) * ${i}px, var(--scale-round-x))`,l=`round(down, var(--total-scale-factor) * ${r}px, var(--scale-round-y))`;!e||t.rotation%180===0?(a.width=o,a.height=l):(a.width=l,a.height=o)}s&&u.setAttribute("data-main-rotation",t.rotation)}class En{constructor(){const{pixelRatio:t}=En;this.sx=t,this.sy=t}get scaled(){return this.sx!==1||this.sy!==1}get symmetric(){return this.sx===this.sy}limitCanvas(t,e,s,i,r=-1){let a=1/0,o=1/0,l=1/0;s=En.capPixels(s,r),s>0&&(a=Math.sqrt(s/(t*e))),i!==-1&&(o=i/t,l=i/e);const c=Math.min(a,o,l);return this.sx>c||this.sy>c?(this.sx=c,this.sy=c,!0):!1}static get pixelRatio(){return globalThis.devicePixelRatio||1}static capPixels(t,e){if(e>=0){const s=Math.ceil(window.screen.availWidth*window.screen.availHeight*this.pixelRatio**2*(1+e/100));return t>0?Math.min(t,s):s}return t}}const hg=["image/apng","image/avif","image/bmp","image/gif","image/jpeg","image/png","image/svg+xml","image/webp","image/x-icon"];class FS{static get isDarkMode(){var t;return at(this,"isDarkMode",!!((t=window==null?void 0:window.matchMedia)!=null&&t.call(window,"(prefers-color-scheme: dark)").matches))}}class OS{static get commentForegroundColor(){const t=document.createElement("span");t.classList.add("comment","sidebar");const{style:e}=t;e.width=e.height="0",e.display="none",e.color="var(--comment-fg-color)",document.body.append(t);const{color:s}=window.getComputedStyle(t);return t.remove(),at(this,"commentForegroundColor",Wu(s))}}function RS(u,t){t=Qt(t??1,0,1);const e=255*(1-t);return u.map(s=>Math.round(s*t+e))}function pv(u,t){const e=u[0]/255,s=u[1]/255,i=u[2]/255,r=Math.max(e,s,i),a=Math.min(e,s,i),o=(r+a)/2;if(r===a)t[0]=t[1]=0;else{const l=r-a;switch(t[1]=o<.5?l/(r+a):l/(2-r-a),r){case e:t[0]=((s-i)/l+(si?(s+.05)/(i+.05):(i+.05)/(s+.05)}const vv=new Map;function NS(u,t){const e=u[0]+u[1]*256+u[2]*65536+t[0]*16777216+t[1]*4294967296+t[2]*1099511627776;let s=vv.get(e);if(s)return s;const i=new Float32Array(9),r=i.subarray(0,3),a=i.subarray(3,6);pv(u,a);const o=i.subarray(6,9);pv(t,o);const l=o[2]<.5,c=l?12:4.5;if(a[2]=l?Math.sqrt(a[2]):1-Math.sqrt(1-a[2]),mv(a,o,r)f;){const g=a[2]=(h+d)/2;l===mv(a,o,r){e.delete()},{signal:e._signal}),n(this,ci).append(s)}async addAltText(t){const e=await t.render();v(this,qe,Fl).call(this,e),n(this,ci).append(e,n(this,qe,Eh)),p(this,sd,t)}addComment(t,e=null){if(n(this,Pr))return;const s=t.renderForToolbar();if(!s)return;v(this,qe,Fl).call(this,s);const i=p(this,zl,n(this,qe,Eh));e?(n(this,ci).insertBefore(s,e),n(this,ci).insertBefore(i,e)):n(this,ci).append(s,i),p(this,Pr,t),t.toolbar=this}addColorPicker(t){if(n(this,Tr))return;p(this,Tr,t);const e=t.renderButton();v(this,qe,Fl).call(this,e),n(this,ci).append(e,n(this,qe,Eh))}async addEditSignatureButton(t){const e=p(this,Vl,await t.renderEditButton(n(this,li)));v(this,qe,Fl).call(this,e),n(this,ci).append(e,n(this,qe,Eh))}removeButton(t){var e,s;switch(t){case"comment":(e=n(this,Pr))==null||e.removeToolbarCommentButton(),p(this,Pr,null),(s=n(this,zl))==null||s.remove(),p(this,zl,null);break}}async addButton(t,e){switch(t){case"colorPicker":e&&this.addColorPicker(e);break;case"altText":e&&await this.addAltText(e);break;case"editSignature":e&&await this.addEditSignatureButton(e);break;case"delete":this.addDeleteButton();break;case"comment":e&&this.addComment(e);break}}async addButtonBefore(t,e,s){if(!e&&t==="comment")return;const i=n(this,ci).querySelector(s);i&&t==="comment"&&this.addComment(e,i)}updateEditSignatureButton(t){n(this,Vl)&&(n(this,Vl).title=t)}remove(){var t;n(this,kr).remove(),(t=n(this,Tr))==null||t.destroy(),p(this,Tr,null)}};kr=new WeakMap,Tr=new WeakMap,li=new WeakMap,ci=new WeakMap,sd=new WeakMap,Pr=new WeakMap,zl=new WeakMap,Vl=new WeakMap,id=new WeakMap,ip=new WeakSet,rb=function(t){t.stopPropagation()},qe=new WeakSet,ab=function(t){n(this,li)._focusEventsAllowed=!1,ie(t)},ob=function(t){n(this,li)._focusEventsAllowed=!0,ie(t)},Fl=function(t){const e=n(this,li)._uiManager._signal;return!(e instanceof AbortSignal)||e.aborted?!1:(t.addEventListener("focusin",v(this,qe,ab).bind(this),{capture:!0,signal:e}),t.addEventListener("focusout",v(this,qe,ob).bind(this),{capture:!0,signal:e}),t.addEventListener("contextmenu",Ci,{signal:e}),!0)},Eh=function(){const t=document.createElement("div");return t.className="divider",t},m(Mn,ip),m(Mn,id,null);let ug=Mn;var nd,Wa,Dn,yr,lb,cb,fg;class BS{constructor(t){m(this,yr);m(this,nd,null);m(this,Wa,null);m(this,Dn);p(this,Dn,t)}show(t,e,s){const[i,r]=v(this,yr,cb).call(this,e,s),{style:a}=n(this,Wa)||p(this,Wa,v(this,yr,lb).call(this));t.append(n(this,Wa)),a.insetInlineEnd=`${100*i}%`,a.top=`calc(${100*r}% + var(--editor-toolbar-vert-offset))`}hide(){n(this,Wa).remove()}}nd=new WeakMap,Wa=new WeakMap,Dn=new WeakMap,yr=new WeakSet,lb=function(){const t=p(this,Wa,document.createElement("div"));t.className="editToolbar",t.setAttribute("role","toolbar");const e=n(this,Dn)._signal;e instanceof AbortSignal&&!e.aborted&&t.addEventListener("contextmenu",Ci,{signal:e});const s=p(this,nd,document.createElement("div"));return s.className="buttons",t.append(s),n(this,Dn).hasCommentManager()&&v(this,yr,fg).call(this,"commentButton","pdfjs-comment-floating-button","pdfjs-comment-floating-button-label",()=>{n(this,Dn).commentSelection("floating_button")}),v(this,yr,fg).call(this,"highlightButton","pdfjs-highlight-floating-button1","pdfjs-highlight-floating-button-label",()=>{n(this,Dn).highlightSelection("floating_button")}),t},cb=function(t,e){let s=0,i=0;for(const r of t){const a=r.y+r.height;if(as){i=o,s=a;continue}e?o>i&&(i=o):o=1}static clearPointerType(){p(Ft,Ya,null)}static clearPointerIds(){p(Ft,Xa,NaN),p(Ft,qa,null)}static clearTimeStamp(){p(Ft,Gl,NaN)}};Xa=new WeakMap,qa=new WeakMap,Gl=new WeakMap,Ya=new WeakMap,m(Ft,Xa,NaN),m(Ft,qa,null),m(Ft,Gl,NaN),m(Ft,Ya,null);let Je=Ft;var np;class US{constructor(){m(this,np,0)}get id(){return`${Kh}${qt(this,np)._++}`}}np=new WeakMap;var jl,rd,Ze,Wl,of;const Qm=class Qm{constructor(){m(this,Wl);m(this,jl,eb());m(this,rd,0);m(this,Ze,null)}static get _isSVGFittingCanvas(){const t=`data:image/svg+xml;charset=UTF-8,`,s=new OffscreenCanvas(1,3).getContext("2d",{willReadFrequently:!0}),i=new Image;i.src=t;const r=i.decode().then(()=>(s.drawImage(i,0,0,1,1,0,0,1,3),new Uint32Array(s.getImageData(0,0,1,1).data.buffer)[0]===0));return at(this,"_isSVGFittingCanvas",r)}async getFromFile(t){const{lastModified:e,name:s,size:i,type:r}=t;return v(this,Wl,of).call(this,`${e}_${s}_${i}_${r}`,t)}async getFromUrl(t){return v(this,Wl,of).call(this,t,t)}async getFromBlob(t,e){const s=await e;return v(this,Wl,of).call(this,t,s)}async getFromId(t){n(this,Ze)||p(this,Ze,new Map);const e=n(this,Ze).get(t);if(!e)return null;if(e.bitmap)return e.refCounter+=1,e;if(e.file)return this.getFromFile(e.file);if(e.blobPromise){const{blobPromise:s}=e;return delete e.blobPromise,this.getFromBlob(e.id,s)}return this.getFromUrl(e.url)}getFromCanvas(t,e){n(this,Ze)||p(this,Ze,new Map);let s=n(this,Ze).get(t);if(s!=null&&s.bitmap)return s.refCounter+=1,s;const i=new OffscreenCanvas(e.width,e.height);return i.getContext("2d").drawImage(e,0,0),s={bitmap:i.transferToImageBitmap(),id:`image_${n(this,jl)}_${qt(this,rd)._++}`,refCounter:1,isSvg:!1},n(this,Ze).set(t,s),n(this,Ze).set(s.id,s),s}getSvgUrl(t){const e=n(this,Ze).get(t);return e!=null&&e.isSvg?e.svgUrl:null}deleteId(t){var i;n(this,Ze)||p(this,Ze,new Map);const e=n(this,Ze).get(t);if(!e||(e.refCounter-=1,e.refCounter!==0))return;const{bitmap:s}=e;if(!e.url&&!e.file){const r=new OffscreenCanvas(s.width,s.height);r.getContext("bitmaprenderer").transferFromImageBitmap(s),e.blobPromise=r.convertToBlob()}(i=s.close)==null||i.call(s),e.bitmap=null}isValidId(t){return t.startsWith(`image_${n(this,jl)}_`)}};jl=new WeakMap,rd=new WeakMap,Ze=new WeakMap,Wl=new WeakSet,of=async function(t,e){n(this,Ze)||p(this,Ze,new Map);let s=n(this,Ze).get(t);if(s===null)return null;if(s!=null&&s.bitmap)return s.refCounter+=1,s;try{s||(s={bitmap:null,id:`image_${n(this,jl)}_${qt(this,rd)._++}`,refCounter:0,isSvg:!1});let i;if(typeof e=="string"?(s.url=e,i=await zm(e,"blob")):e instanceof File?i=s.file=e:e instanceof Blob&&(i=e),i.type==="image/svg+xml"){const r=Qm._isSVGFittingCanvas,a=new FileReader,o=new Image,l=new Promise((c,h)=>{o.onload=()=>{s.bitmap=o,s.isSvg=!0,c()},a.onload=async()=>{const d=s.svgUrl=a.result;o.src=await r?`${d}#svgView(preserveAspectRatio(none))`:d},o.onerror=a.onerror=h});a.readAsDataURL(i),await l}else s.bitmap=await createImageBitmap(i);s.refCounter=1}catch(i){lt(i),s=null}return n(this,Ze).set(t,s),s&&n(this,Ze).set(s.id,s),s};let pg=Qm;var fe,Mr,ad,ee;class HS{constructor(t=128){m(this,fe,[]);m(this,Mr,!1);m(this,ad);m(this,ee,-1);p(this,ad,t)}add({cmd:t,undo:e,post:s,mustExec:i,type:r=NaN,overwriteIfSameType:a=!1,keepUndo:o=!1}){if(i&&t(),n(this,Mr))return;const l={cmd:t,undo:e,post:s,type:r};if(n(this,ee)===-1){n(this,fe).length>0&&(n(this,fe).length=0),p(this,ee,0),n(this,fe).push(l);return}if(a&&n(this,fe)[n(this,ee)].type===r){o&&(l.undo=n(this,fe)[n(this,ee)].undo),n(this,fe)[n(this,ee)]=l;return}const c=n(this,ee)+1;c===n(this,ad)?n(this,fe).splice(0,1):(p(this,ee,c),c=0;e--)if(n(this,fe)[e].type!==t){n(this,fe).splice(e+1,n(this,ee)-e),p(this,ee,e);return}n(this,fe).length=0,p(this,ee,-1)}}destroy(){p(this,fe,null)}}fe=new WeakMap,Mr=new WeakMap,ad=new WeakMap,ee=new WeakMap;var mh,db,ub;const bs=class bs{constructor(t){var s;this.callbacks=new Map;const{isMac:e}=$t.platform;for(const[i,r,a={}]of t){const o=i.some(l=>l.startsWith("mac+"));for(const l of i){let c=l;if(o){const f=l.startsWith("mac+");if(e!==f)continue;f&&(c=l.slice(4))}const[h,d]=v(s=bs,mh,db).call(s,c);h!==null&&this.callbacks.getOrInsertComputed(h,Vu).push({callback:r,options:a,modifiers:d})}}}exec(t,e){var h;let s=this.callbacks.get(e.key);if(!s){if(/^[a-z]$/i.test(e.key))return;const d=v(h=bs,mh,ub).call(h,e.code);if(d===null||d===e.key||(s=this.callbacks.get(d),!s))return}const i=(e.altKey?bs.ALT:0)|(e.ctrlKey?bs.CTRL:0)|(e.metaKey?bs.META:0)|(e.shiftKey?bs.SHIFT:0),r=s.find(d=>d.modifiers===i);if(!r)return;const{callback:a,options:{bubbles:o=!1,args:l=[],checker:c=null}}=r;c&&!c(t,e)||(a.bind(t,...l,e)(),o||ie(e))}};mh=new WeakSet,db=function(t){let e=null,s=0;for(let i of t.split("+")){if(i=i.trim(),!i)continue;const r=i.toUpperCase(),a=bs[r];if(a){s|=a;continue}if(e!==null){lt(`KeyboardManager: multiple keys in shortcut "${t}"`);break}e=r==="SPACE"?" ":i}return e===null&<(`KeyboardManager: no key found in shortcut "${t}"`),[e,s]},ub=function(t){var s;const e=/^(?:Key([A-Z])|(?:Digit|Numpad)(\d))$/.exec(t);return e?((s=e[1])==null?void 0:s.toLowerCase())??e[2]:null},m(bs,mh),M(bs,"ALT",1),M(bs,"CTRL",2),M(bs,"META",4),M(bs,"SHIFT",8);let El=bs;const rp=class rp{get _colors(){const t=new Map([["CanvasText",null],["Canvas",null]]);return LS(t),at(this,"_colors",t)}convert(t){const e=Wu(t);if(!window.matchMedia("(forced-colors: active)").matches)return e;for(const[s,i]of this._colors)if(i.every((r,a)=>r===e[a]))return rp._colorsMapping.get(s);return e}getHexCode(t){const e=this._colors.get(t);return e?B.makeHexColor(...e):t}};M(rp,"_colorsMapping",new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]));let gg=rp;var Xl,Ns,ql,ce,se,Yl,Kl,os,Ql,hi,Pe,Ir,Dr,Lr,Fr,Qi,di,Ka,od,ld,Jl,cd,Ji,Or,Zl,Rr,Zi,ap,Ln,tc,hd,Nr,Qa,ec,Br,dd,be,Ot,Fn,$r,Ur,ud,sc,fd,Hr,tn,On,pd,gd,ui,z,lf,mg,fb,pb,gb,Ch,mb,vb,bb,vg,yb,wb,Ab,Sb,rs,Tn,xb,Eb,bg,Cb,_h,yg;const $l=class $l{constructor(t,e,s,i,r,a,o,l,c,h,d,f,g,y,b,S){m(this,z);m(this,Xl,new AbortController);m(this,Ns,null);m(this,ql,null);m(this,ce,new Map);m(this,se,new Map);m(this,Yl,null);m(this,Kl,null);m(this,os,null);m(this,Ql,null);m(this,hi,new HS);m(this,Pe,null);m(this,Ir,null);m(this,Dr,null);m(this,Lr,0);m(this,Fr,new Set);m(this,Qi,null);m(this,di,null);m(this,Ka,new Set);M(this,"_editorUndoBar",null);m(this,od,!1);m(this,ld,!1);m(this,Jl,!1);m(this,cd,null);m(this,Ji,null);m(this,Or,null);m(this,Zl,null);m(this,Rr,!1);m(this,Zi,null);m(this,ap,new US);m(this,Ln,!1);m(this,tc,!1);m(this,hd,!1);m(this,Nr,null);m(this,Qa,null);m(this,ec,null);m(this,Br,null);m(this,dd,null);m(this,be,ot.NONE);m(this,Ot,new Set);m(this,Fn,null);m(this,$r,null);m(this,Ur,null);m(this,ud,null);m(this,sc,null);m(this,fd,{isEditing:!1,isEmpty:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1,hasSelectedText:!1});m(this,Hr,[0,0]);m(this,tn,null);m(this,On,null);m(this,pd,null);m(this,gd,null);m(this,ui,null);const w=this._signal=n(this,Xl).signal;p(this,On,t),p(this,pd,e),p(this,gd,s),p(this,Kl,i),p(this,Pe,r),p(this,$r,a),p(this,sc,l),this._eventBus=o;const x={signal:w,...Qp};o.on("editingaction",this.onEditingAction.bind(this),x),o.on("pagechanging",this.onPageChanging.bind(this),x),o.on("scalechanging",this.onScaleChanging.bind(this),x),o.on("rotationchanging",this.onRotationChanging.bind(this),x),o.on("setpreference",this.onSetPreference.bind(this),x),o.on("switchannotationeditorparams",A=>this.updateParams(A.type,A.value),x),window.addEventListener("pointerdown",()=>{p(this,tc,!0)},{capture:!0,signal:w}),window.addEventListener("pointerup",()=>{p(this,tc,!1)},{capture:!0,signal:w}),window.addEventListener("beforeunload",v(this,z,fb).bind(this),{capture:!0,signal:w}),v(this,z,mb).call(this),v(this,z,Sb).call(this),v(this,z,vg).call(this),p(this,os,l.annotationStorage),p(this,cd,l.filterFactory),p(this,Ur,c),p(this,Zl,h||null),p(this,od,d),p(this,ld,f),p(this,Jl,g),p(this,dd,y||null),this.viewParameters={realScale:ka.PDF_TO_CSS_UNITS,rotation:0},this.isShiftKeyDown=!1,this._editorUndoBar=b||null,this._supportsPinchToZoom=S!==!1,r==null||r.setSidebarUiManager(this)}static get _keyboardManager(){const t=$l.prototype,e=a=>n(a,On).contains(document.activeElement)&&document.activeElement.tagName!=="BUTTON"&&a.hasSomethingToControl(),s=(a,{target:o})=>{if(o instanceof HTMLInputElement){const{type:l}=o;return l!=="text"&&l!=="number"}return!0},i=this.TRANSLATE_SMALL,r=this.TRANSLATE_BIG;return at(this,"_keyboardManager",new El([[["ctrl+a","mac+meta+a"],t.selectAll,{checker:s}],[["ctrl+z","mac+meta+z"],t.undo,{checker:s}],[["ctrl+y","ctrl+shift+z","mac+meta+shift+z","ctrl+shift+Z","mac+meta+shift+Z"],t.redo,{checker:s}],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete","mac+Delete"],t.delete,{checker:s}],[["Enter"],t.addNewEditorFromKeyboard,{checker:(a,{target:o})=>!(o instanceof HTMLButtonElement)&&n(a,On).contains(o)&&!a.isEnterHandled}],[["Space"],t.addNewEditorFromKeyboard,{checker:(a,{target:o})=>!(o instanceof HTMLButtonElement)&&n(a,On).contains(document.activeElement)}],[["Escape"],t.unselectAll],[["ArrowLeft"],t.translateSelectedEditors,{args:[-i,0],checker:e}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t.translateSelectedEditors,{args:[-r,0],checker:e}],[["ArrowRight"],t.translateSelectedEditors,{args:[i,0],checker:e}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t.translateSelectedEditors,{args:[r,0],checker:e}],[["ArrowUp"],t.translateSelectedEditors,{args:[0,-i],checker:e}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t.translateSelectedEditors,{args:[0,-r],checker:e}],[["ArrowDown"],t.translateSelectedEditors,{args:[0,i],checker:e}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t.translateSelectedEditors,{args:[0,r],checker:e}]]))}destroy(){var t,e,s,i,r,a,o,l,c;(t=n(this,ui))==null||t.resolve(),p(this,ui,null),(e=n(this,Xl))==null||e.abort(),p(this,Xl,null),this._signal=null;for(const h of n(this,se).values())h.destroy();n(this,se).clear(),n(this,ce).clear(),n(this,Ka).clear(),(s=n(this,Br))==null||s.clear(),p(this,Ns,null),n(this,Ot).clear(),n(this,hi).destroy(),(i=n(this,Kl))==null||i.destroy(),(r=n(this,Pe))==null||r.destroy(),(a=n(this,$r))==null||a.destroy(),(o=n(this,Zi))==null||o.hide(),p(this,Zi,null),(l=n(this,ec))==null||l.destroy(),p(this,ec,null),p(this,ql,null),n(this,Ji)&&(clearTimeout(n(this,Ji)),p(this,Ji,null)),n(this,tn)&&(clearTimeout(n(this,tn)),p(this,tn,null)),(c=this._editorUndoBar)==null||c.destroy(),p(this,sc,null)}combinedSignal(t){return AbortSignal.any([this._signal,t.signal])}get mlManager(){return n(this,dd)}get useNewAltTextFlow(){return n(this,ld)}get useNewAltTextWhenAddingImage(){return n(this,Jl)}get hcmFilter(){return at(this,"hcmFilter",n(this,Ur)?n(this,cd).addHCMFilter(n(this,Ur).foreground,n(this,Ur).background):"none")}get direction(){return at(this,"direction",getComputedStyle(n(this,On)).direction)}get _highlightColors(){return at(this,"_highlightColors",n(this,Zl)?new Map(n(this,Zl).split(",").map(t=>(t=t.split("=").map(e=>e.trim()),t[1]=t[1].toUpperCase(),t))):null)}get highlightColors(){const{_highlightColors:t}=this;if(!t)return at(this,"highlightColors",null);const e=new Map,s=!!n(this,Ur);for(const[i,r]of t){const a=i.endsWith("_HCM");if(s&&a){e.set(i.replace("_HCM",""),r);continue}!s&&!a&&e.set(i,r)}return at(this,"highlightColors",e)}get highlightColorNames(){return at(this,"highlightColorNames",this.highlightColors?new Map(Array.from(this.highlightColors,t=>t.reverse())):null)}getNonHCMColor(t){if(!this._highlightColors)return t;const e=this.highlightColorNames.get(t);return this._highlightColors.get(e)||t}getNonHCMColorName(t){return this.highlightColorNames.get(t)||t}setCurrentDrawingSession(t){t?(this.unselectAll(),this.disableUserSelect(!0)):this.disableUserSelect(!1),p(this,Dr,t)}setMainHighlightColorPicker(t){p(this,ec,t)}editAltText(t,e=!1){var s;(s=n(this,Kl))==null||s.editAltText(this,t,e)}hasCommentManager(){return!!n(this,Pe)}editComment(t,e,s,i){var r;(r=n(this,Pe))==null||r.showDialog(this,t,e,s,i)}selectComment(t,e){const s=n(this,se).get(t),i=s==null?void 0:s.getEditorByUID(e);i==null||i.toggleComment(!0,!0)}updateComment(t){var e;(e=n(this,Pe))==null||e.updateComment(t.getData())}updatePopupColor(t){var e;(e=n(this,Pe))==null||e.updatePopupColor(t)}removeComment(t){var e;(e=n(this,Pe))==null||e.removeComments([t.uid])}deleteComment(t,e){const s=()=>{t.comment=e},i=()=>{var r;(r=this._editorUndoBar)==null||r.show(s,"comment"),this.toggleComment(null),t.comment=null};this.addCommands({cmd:i,undo:s,mustExec:!0})}toggleComment(t,e,s=void 0){var i;(i=n(this,Pe))==null||i.toggleCommentPopup(t,e,s)}makeCommentColor(t,e){var s;return t&&((s=n(this,Pe))==null?void 0:s.makeCommentColor(t,e))||null}getCommentDialogElement(){var t;return((t=n(this,Pe))==null?void 0:t.dialogElement)||null}async waitForEditorsRendered(t){if(n(this,se).has(t-1))return;const{resolve:e,promise:s}=Promise.withResolvers(),i=r=>{r.pageNumber===t&&(this._eventBus.off("editorsrendered",i),e())};this._eventBus.on("editorsrendered",i,Qp),await s}getSignature(t){var e;(e=n(this,$r))==null||e.getSignature({uiManager:this,editor:t})}get signatureManager(){return n(this,$r)}switchToMode(t,e){this._eventBus.on("annotationeditormodechanged",e,{once:!0,signal:this._signal,...Qp}),this._eventBus.dispatch("showannotationeditorui",{source:this,mode:t})}setPreference(t,e){this._eventBus.dispatch("setpreference",{source:this,name:t,value:e})}onSetPreference({name:t,value:e}){switch(t){case"enableNewAltTextWhenAddingImage":p(this,Jl,e);break}}onPageChanging({pageNumber:t}){p(this,Lr,t-1)}deletePage(t){for(const e of this.getEditors(t))e.remove();n(this,se).delete(t),n(this,Lr)===t&&p(this,Lr,0)}focusMainContainer(){n(this,On).focus()}findParent(t,e){for(const s of n(this,se).values()){const{x:i,y:r,width:a,height:o}=s.div.getBoundingClientRect();if(t>=i&&t<=i+a&&e>=r&&e<=r+o)return s}return null}disableUserSelect(t=!1){n(this,pd).classList.toggle("noUserSelect",t)}addShouldRescale(t){n(this,Ka).add(t)}removeShouldRescale(t){n(this,Ka).delete(t)}onScaleChanging({scale:t}){var e;this.commitOrRemove(),this.viewParameters.realScale=t*ka.PDF_TO_CSS_UNITS;for(const s of n(this,Ka))s.onScaleChanging();(e=n(this,Dr))==null||e.onScaleChanging()}onRotationChanging({pagesRotation:t}){this.commitOrRemove(),this.viewParameters.rotation=t}highlightSelection(t="",e=!1){const s=document.getSelection();if(!s||s.isCollapsed)return;const{anchorNode:i,anchorOffset:r,focusNode:a,focusOffset:o}=s,l=s.toString(),h=v(this,z,lf).call(this,s).closest(".textLayer"),d=this.getSelectionBoxes(h);if(!d)return;s.empty();const f=v(this,z,mg).call(this,h),g=n(this,be)===ot.NONE,y=()=>{const b=f==null?void 0:f.createAndAddNewEditor({x:0,y:0},!1,{methodOfCreation:t,boxes:d,anchorNode:i,anchorOffset:r,focusNode:a,focusOffset:o,text:l});g&&this.showAllEditors("highlight",!0,!0),e&&(b==null||b.editComment())};if(g){this.switchToMode(ot.HIGHLIGHT,y);return}y()}commentSelection(t=""){this.highlightSelection(t,!0)}getAndRemoveDataFromAnnotationStorage(t){if(!n(this,os))return null;const e=`${Kh}${t}`,s=n(this,os).getRawValue(e);return s&&n(this,os).remove(e),s}addToAnnotationStorage(t){!t.isEmpty()&&n(this,os)&&!n(this,os).has(t.id)&&n(this,os).setValue(t.id,t)}a11yAlert(t,e=null){const s=n(this,gd);s&&(s.setAttribute("data-l10n-id",t),e?s.setAttribute("data-l10n-args",JSON.stringify(e)):s.removeAttribute("data-l10n-args"))}blur(){if(this.isShiftKeyDown=!1,n(this,Rr)&&(p(this,Rr,!1),v(this,z,Ch).call(this,"main_toolbar")),!this.hasSelection)return;const{activeElement:t}=document;for(const e of n(this,Ot))if(e.div.contains(t)){p(this,Qa,[e,t]),e._focusEventsAllowed=!1;break}}focus(){if(!n(this,Qa))return;const[t,e]=n(this,Qa);p(this,Qa,null),e.addEventListener("focusin",()=>{t._focusEventsAllowed=!0},{once:!0,signal:this._signal}),e.focus()}addEditListeners(){v(this,z,vg).call(this),this.setEditingState(!0)}removeEditListeners(){v(this,z,yb).call(this),this.setEditingState(!1)}dragOver(t){for(const{type:e}of t.dataTransfer.items)for(const s of n(this,di))if(s.isHandlingMimeForPasting(e)){t.dataTransfer.dropEffect="copy",t.preventDefault();return}}drop(t){for(const e of t.dataTransfer.items)for(const s of n(this,di))if(s.isHandlingMimeForPasting(e.type)){s.paste(e,this.currentLayer),t.preventDefault();return}}copy(t){var s;if(t.preventDefault(),(s=n(this,Ns))==null||s.commitOrRemove(),!this.hasSelection)return;const e=[];for(const i of n(this,Ot)){const r=i.serialize(!0);r&&e.push(r)}e.length!==0&&t.clipboardData.setData("application/pdfjs",JSON.stringify(e))}cut(t){this.copy(t),this.delete()}async paste(t){t.preventDefault();const{clipboardData:e}=t;for(const r of e.items)for(const a of n(this,di))if(a.isHandlingMimeForPasting(r.type)){a.paste(r,this.currentLayer);return}let s=e.getData("application/pdfjs");if(!s)return;try{s=JSON.parse(s)}catch(r){lt(`paste: "${r.message}".`);return}if(!Array.isArray(s))return;this.unselectAll();const i=this.currentLayer;try{const r=[];for(const l of s){const c=await i.deserialize(l);if(!c)return;r.push(c)}const a=()=>{for(const l of r)v(this,z,bg).call(this,l);v(this,z,yg).call(this,r)},o=()=>{for(const l of r)l.remove()};this.addCommands({cmd:a,undo:o,mustExec:!0})}catch(r){lt(`paste: "${r.message}".`)}}keydown(t){!this.isShiftKeyDown&&t.key==="Shift"&&(this.isShiftKeyDown=!0),n(this,be)!==ot.NONE&&!this.isEditorHandlingKeyboard&&$l._keyboardManager.exec(this,t)}keyup(t){this.isShiftKeyDown&&t.key==="Shift"&&(this.isShiftKeyDown=!1,n(this,Rr)&&(p(this,Rr,!1),v(this,z,Ch).call(this,"main_toolbar")))}onEditingAction({name:t}){switch(t){case"undo":case"redo":case"delete":case"selectAll":this[t]();break;case"highlightSelection":this.highlightSelection("context_menu");break;case"commentSelection":this.commentSelection("context_menu");break}}updatePageIndex(t,e){for(const i of this.getEditors(t))i.pageIndex=e;const s=n(this,Yl).get(t);s&&(s.pageIndex=e,n(this,se).set(e,s),n(this,Ln)?s.enable():s.disable())}startUpdatePages(){p(this,Yl,new Map(n(this,se))),n(this,se).clear()}endUpdatePages(){p(this,Yl,null)}clonePage(t,e){for(const s of this.getEditors(t)){const i=s.serialize(s.mode!==ot.HIGHLIGHT);i&&(i.pageIndex=e,i.id=this.getId(),i.isClone=!0,delete i.popupRef,n(this,os).setValue(i.id,i))}}findClonesForPage(t){const e=[],{pageIndex:s}=t;for(const[i,r]of n(this,os))r.pageIndex===s&&r.isClone&&(n(this,os).remove(i),e.push(t.deserialize(r).then(a=>{a&&(a.isClone=!0,t.addOrRebuild(a))})));return Promise.all(e)}setEditingState(t){t?(v(this,z,vb).call(this),v(this,z,wb).call(this),v(this,z,rs).call(this,{isEditing:n(this,be)!==ot.NONE,isEmpty:v(this,z,_h).call(this),hasSomethingToUndo:n(this,hi).hasSomethingToUndo(),hasSomethingToRedo:n(this,hi).hasSomethingToRedo(),hasSelectedEditor:!1})):(v(this,z,bb).call(this),v(this,z,Ab).call(this),v(this,z,rs).call(this,{isEditing:!1}),this.disableUserSelect(!1))}registerEditorTypes(t){if(!n(this,di)){p(this,di,t);for(const e of n(this,di))v(this,z,Tn).call(this,e.defaultPropertiesToUpdate)}}getId(){return n(this,ap).id}get currentLayer(){return n(this,se).get(n(this,Lr))}getLayer(t){return n(this,se).get(t)}get currentPageIndex(){return n(this,Lr)}addLayer(t){n(this,se).set(t.pageIndex,t),n(this,Ln)?t.enable():t.disable()}removeLayer(t){n(this,se).delete(t.pageIndex)}async updateMode(t,e=null,s=!1,i=!1,r=!1,a=!1){var o,l,c,h,d,f;if(n(this,be)!==t&&!(n(this,ui)&&(await n(this,ui).promise,!n(this,ui)))){if(p(this,ui,Promise.withResolvers()),(o=n(this,Dr))==null||o.commitOrRemove(),n(this,be)===ot.POPUP&&((l=n(this,Pe))==null||l.hideSidebar()),(c=n(this,Pe))==null||c.destroyPopup(),p(this,be,t),t===ot.NONE){this.setEditingState(!1),v(this,z,Eb).call(this);for(const g of n(this,ce).values())g.hideStandaloneCommentButton();(h=this._editorUndoBar)==null||h.hide(),this.toggleComment(null),n(this,ui).resolve();return}for(const g of n(this,ce).values())g.addStandaloneCommentButton();t===ot.SIGNATURE&&await((d=n(this,$r))==null?void 0:d.loadSignatures()),s&&Je.clearPointerType(),this.setEditingState(!0),await v(this,z,xb).call(this),this.unselectAll();for(const g of n(this,se).values())g.updateMode(t);if(t===ot.POPUP){n(this,ql)||p(this,ql,await n(this,sc).getAnnotationsByType(new Set(n(this,di).map(b=>b._editorType))));const g=new Set,y=[];for(const b of n(this,ce).values()){const{annotationElementId:S,hasComment:w,deleted:x}=b;S&&g.add(S),w&&!x&&y.push(b.getData())}for(const b of n(this,ql)){const{id:S,popupRef:w,contentsObj:x}=b;w&&(x!=null&&x.str)&&!g.has(S)&&!n(this,Fr).has(S)&&y.push(b)}(f=n(this,Pe))==null||f.showSidebar(y)}if(!e){i&&this.addNewEditorFromKeyboard(),n(this,ui).resolve();return}for(const g of n(this,ce).values())g.uid===e?(this.setSelected(g),a?g.editComment():r?g.enterInEditMode():g.focus()):g.unselect();n(this,ui).resolve()}}addNewEditorFromKeyboard(){this.currentLayer.canCreateNewEmptyEditor()&&this.currentLayer.addNewEditor()}updateToolbar(t){t.mode!==n(this,be)&&this._eventBus.dispatch("switchannotationeditormode",{source:this,...t})}updateParams(t,e){if(n(this,di)){switch(t){case dt.CREATE:this.currentLayer.addNewEditor(e);return;case dt.HIGHLIGHT_SHOW_ALL:this._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:{type:"highlight",action:"toggle_visibility"}}}),(n(this,ud)||p(this,ud,new Map)).set(t,e),this.showAllEditors("highlight",e);break}if(this.hasSelection)for(const s of n(this,Ot))s.updateParams(t,e);else for(const s of n(this,di))s.updateDefaultParams(t,e)}}showAllEditors(t,e,s=!1){var r;for(const a of n(this,ce).values())a.editorType===t&&a.show(e);(((r=n(this,ud))==null?void 0:r.get(dt.HIGHLIGHT_SHOW_ALL))??!0)!==e&&v(this,z,Tn).call(this,[[dt.HIGHLIGHT_SHOW_ALL,e]])}enableWaiting(t=!1){if(n(this,hd)!==t){p(this,hd,t);for(const e of n(this,se).values())t?e.disableClick():e.enableClick(),e.div.classList.toggle("waiting",t)}}*getEditors(t){for(const e of n(this,ce).values())e.pageIndex===t&&(yield e)}getEditor(t){return n(this,ce).get(t)}addEditor(t){n(this,ce).set(t.id,t)}removeEditor(t){var e,s;t.div.contains(document.activeElement)&&(n(this,Ji)&&clearTimeout(n(this,Ji)),p(this,Ji,setTimeout(()=>{this.focusMainContainer(),p(this,Ji,null)},0))),n(this,ce).delete(t.id),t.annotationElementId&&((e=n(this,Br))==null||e.delete(t.annotationElementId)),this.unselect(t),(!t.annotationElementId||!n(this,Fr).has(t.annotationElementId))&&((s=n(this,os))==null||s.remove(t.id))}addDeletedAnnotationElement(t){n(this,Fr).add(t.annotationElementId),this.addChangedExistingAnnotation(t),t.deleted=!0}isDeletedAnnotationElement(t){return n(this,Fr).has(t)}removeDeletedAnnotationElement(t){n(this,Fr).delete(t.annotationElementId),this.removeChangedExistingAnnotation(t),t.deleted=!1}setActiveEditor(t){n(this,Ns)!==t&&(p(this,Ns,t),t&&v(this,z,Tn).call(this,t.propertiesToUpdate))}updateUI(t){n(this,z,Cb)===t&&v(this,z,Tn).call(this,t.propertiesToUpdate)}updateUIForDefaultProperties(t){v(this,z,Tn).call(this,t.defaultPropertiesToUpdate)}toggleSelected(t){if(n(this,Ot).has(t)){n(this,Ot).delete(t),t.unselect(),v(this,z,rs).call(this,{hasSelectedEditor:this.hasSelection});return}n(this,Ot).add(t),t.select(),v(this,z,Tn).call(this,t.propertiesToUpdate),v(this,z,rs).call(this,{hasSelectedEditor:!0})}setSelected(t){var e,s;this.updateToolbar({mode:t.mode,editId:t.uid}),(e=n(this,Dr))==null||e.commitOrRemove();for(const i of n(this,Ot))i!==t&&i.unselect();(s=n(this,Pe))==null||s.destroyPopup(),n(this,Ot).clear(),n(this,Ot).add(t),t.select(),v(this,z,Tn).call(this,t.propertiesToUpdate),v(this,z,rs).call(this,{hasSelectedEditor:!0})}get firstSelectedEditor(){return n(this,Ot).values().next().value}unselect(t){t.unselect(),n(this,Ot).delete(t),v(this,z,rs).call(this,{hasSelectedEditor:this.hasSelection})}get hasSelection(){return n(this,Ot).size!==0}get isEnterHandled(){return n(this,Ot).size===1&&this.firstSelectedEditor.isEnterHandled}undo(){var t;n(this,hi).undo(),v(this,z,rs).call(this,{hasSomethingToUndo:n(this,hi).hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:v(this,z,_h).call(this)}),(t=this._editorUndoBar)==null||t.hide()}redo(){n(this,hi).redo(),v(this,z,rs).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:n(this,hi).hasSomethingToRedo(),isEmpty:v(this,z,_h).call(this)})}addCommands(t){n(this,hi).add(t),v(this,z,rs).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:v(this,z,_h).call(this)})}cleanUndoStack(t){n(this,hi).cleanType(t)}delete(){var r;this.commitOrRemove();const t=(r=this.currentLayer)==null?void 0:r.endDrawingSession(!0);if(!this.hasSelection&&!t)return;const e=t?[t]:[...n(this,Ot)],s=()=>{var a;(a=this._editorUndoBar)==null||a.show(i,e.length===1?e[0].editorType:e.length);for(const o of e)o.remove()},i=()=>{for(const a of e)v(this,z,bg).call(this,a)};this.addCommands({cmd:s,undo:i,mustExec:!0})}commitOrRemove(){var t;(t=n(this,Ns))==null||t.commitOrRemove()}hasSomethingToControl(){return n(this,Ns)||this.hasSelection}selectAll(){for(const t of n(this,Ot))t.commit();v(this,z,yg).call(this,n(this,ce).values())}unselectAll(){var t,e;if(!(n(this,Ns)&&(n(this,Ns).commitOrRemove(),n(this,be)!==ot.NONE))&&!((t=n(this,Dr))!=null&&t.commitOrRemove())&&((e=n(this,Pe))==null||e.destroyPopup(),!!this.hasSelection)){for(const s of n(this,Ot))s.unselect();n(this,Ot).clear(),v(this,z,rs).call(this,{hasSelectedEditor:!1})}}translateSelectedEditors(t,e,s=!1){if(s||this.commitOrRemove(),!this.hasSelection)return;n(this,Hr)[0]+=t,n(this,Hr)[1]+=e;const[i,r]=n(this,Hr),a=[...n(this,Ot)],o=1e3;n(this,tn)&&clearTimeout(n(this,tn)),p(this,tn,setTimeout(()=>{p(this,tn,null),n(this,Hr)[0]=n(this,Hr)[1]=0,this.addCommands({cmd:()=>{for(const l of a)n(this,ce).has(l.id)&&(l.translateInPage(i,r),l.translationDone())},undo:()=>{for(const l of a)n(this,ce).has(l.id)&&(l.translateInPage(-i,-r),l.translationDone())},mustExec:!1})},o));for(const l of a)l.translateInPage(t,e),l.translationDone()}setUpDragSession(){if(this.hasSelection){this.disableUserSelect(!0),p(this,Qi,new Map);for(const t of n(this,Ot))n(this,Qi).set(t,{savedX:t.x,savedY:t.y,savedPageIndex:t.pageIndex,newX:0,newY:0,newPageIndex:-1})}}endDragSession(){if(!n(this,Qi))return!1;this.disableUserSelect(!1);const t=n(this,Qi);p(this,Qi,null);let e=!1;for(const[{x:i,y:r,pageIndex:a},o]of t)o.newX=i,o.newY=r,o.newPageIndex=a,e||(e=i!==o.savedX||r!==o.savedY||a!==o.savedPageIndex);if(!e)return!1;const s=(i,r,a,o)=>{if(n(this,ce).has(i.id)){const l=n(this,se).get(o);l?i._setParentAndPosition(l,r,a):(i.pageIndex=o,i.x=r,i.y=a)}};return this.addCommands({cmd:()=>{for(const[i,{newX:r,newY:a,newPageIndex:o}]of t)s(i,r,a,o)},undo:()=>{for(const[i,{savedX:r,savedY:a,savedPageIndex:o}]of t)s(i,r,a,o)},mustExec:!0}),!0}dragSelectedEditors(t,e){if(n(this,Qi))for(const s of n(this,Qi).keys())s.drag(t,e)}rebuild(t){if(t.parent===null){const e=this.getLayer(t.pageIndex);e?(e.changeParent(t),e.addOrRebuild(t)):(this.addEditor(t),this.addToAnnotationStorage(t),t.rebuild())}else t.parent.addOrRebuild(t)}get isEditorHandlingKeyboard(){var t;return((t=this.getActive())==null?void 0:t.shouldGetKeyboardEvents())||n(this,Ot).size===1&&this.firstSelectedEditor.shouldGetKeyboardEvents()}isActive(t){return n(this,Ns)===t}getActive(){return n(this,Ns)}getMode(){return n(this,be)}isEditingMode(){return n(this,be)!==ot.NONE}get imageManager(){return at(this,"imageManager",new pg)}getSelectionBoxes(t){if(!t)return null;const e=document.getSelection();for(let c=0,h=e.rangeCount;c({x:(h-i)/a,y:1-(c+d-s)/r,width:f/a,height:d/r});break;case"180":o=(c,h,d,f)=>({x:1-(c+d-s)/r,y:1-(h+f-i)/a,width:d/r,height:f/a});break;case"270":o=(c,h,d,f)=>({x:1-(h+f-i)/a,y:(c-s)/r,width:f/a,height:d/r});break;default:o=(c,h,d,f)=>({x:(c-s)/r,y:(h-i)/a,width:d/r,height:f/a});break}const l=[];for(let c=0,h=e.rangeCount;c{f.type==="pointerup"&&f.button!==0||(c.abort(),l==null||l.toggleDrawing(!0),f.type==="pointerup"&&v(this,z,Ch).call(this,"main_toolbar"))};window.addEventListener("pointerup",d,{signal:h}),window.addEventListener("blur",d,{signal:h})}else l==null||l.toggleDrawing(!0),v(this,z,Ch).call(this,"main_toolbar")}},Ch=function(t=""){n(this,be)===ot.HIGHLIGHT?this.highlightSelection(t):n(this,od)&&v(this,z,pb).call(this)},mb=function(){document.addEventListener("selectionchange",v(this,z,gb).bind(this),{signal:this._signal})},vb=function(){if(n(this,Or))return;p(this,Or,new AbortController);const t=this.combinedSignal(n(this,Or));window.addEventListener("focus",this.focus.bind(this),{signal:t}),window.addEventListener("blur",this.blur.bind(this),{signal:t})},bb=function(){var t;(t=n(this,Or))==null||t.abort(),p(this,Or,null)},vg=function(){if(n(this,Nr))return;p(this,Nr,new AbortController);const t=this.combinedSignal(n(this,Nr));window.addEventListener("keydown",this.keydown.bind(this),{signal:t}),window.addEventListener("keyup",this.keyup.bind(this),{signal:t})},yb=function(){var t;(t=n(this,Nr))==null||t.abort(),p(this,Nr,null)},wb=function(){if(n(this,Ir))return;p(this,Ir,new AbortController);const t=this.combinedSignal(n(this,Ir));document.addEventListener("copy",this.copy.bind(this),{signal:t}),document.addEventListener("cut",this.cut.bind(this),{signal:t}),document.addEventListener("paste",this.paste.bind(this),{signal:t})},Ab=function(){var t;(t=n(this,Ir))==null||t.abort(),p(this,Ir,null)},Sb=function(){const t=this._signal;document.addEventListener("dragover",this.dragOver.bind(this),{signal:t}),document.addEventListener("drop",this.drop.bind(this),{signal:t})},rs=function(t){Object.entries(t).some(([s,i])=>n(this,fd)[s]!==i)&&(this._eventBus.dispatch("editingstateschanged",{source:this,details:Object.assign(n(this,fd),t)}),n(this,be)===ot.HIGHLIGHT&&t.hasSelectedEditor===!1&&v(this,z,Tn).call(this,[[dt.HIGHLIGHT_FREE,!0]]))},Tn=function(t){this._eventBus.dispatch("annotationeditorparamschanged",{source:this,details:t})},xb=async function(){if(!n(this,Ln)){p(this,Ln,!0);const t=[];for(const e of n(this,se).values())t.push(e.enable());await Promise.all(t);for(const e of n(this,ce).values())e.enable()}},Eb=function(){if(this.unselectAll(),n(this,Ln)){p(this,Ln,!1);for(const t of n(this,se).values())t.disable();for(const t of n(this,ce).values())t.disable()}},bg=function(t){const e=n(this,se).get(t.pageIndex);e?e.addOrRebuild(t):(this.addEditor(t),this.addToAnnotationStorage(t))},Cb=function(){let t=null;for(t of n(this,Ot));return t},_h=function(){if(n(this,ce).size===0)return!0;if(n(this,ce).size===1)for(const t of n(this,ce).values())return t.isEmpty();return!1},yg=function(t){for(const e of n(this,Ot))e.unselect();n(this,Ot).clear();for(const e of t)e.isEmpty()||(n(this,Ot).add(e),e.select());v(this,z,rs).call(this,{hasSelectedEditor:this.hasSelection})},M($l,"TRANSLATE_SMALL",1),M($l,"TRANSLATE_BIG",10);let Cl=$l;var Me,en,Ii,ic,sn,Bs,nc,nn,ws,Rn,Ja,rn,zr,ji,kh,cf;const as=class as{constructor(t){m(this,ji);m(this,Me,null);m(this,en,!1);m(this,Ii,null);m(this,ic,null);m(this,sn,null);m(this,Bs,null);m(this,nc,!1);m(this,nn,null);m(this,ws,null);m(this,Rn,null);m(this,Ja,null);m(this,rn,!1);p(this,ws,t),p(this,rn,t._uiManager.useNewAltTextFlow),n(as,zr)||p(as,zr,Object.freeze({added:"pdfjs-editor-new-alt-text-added-button","added-label":"pdfjs-editor-new-alt-text-added-button-label",missing:"pdfjs-editor-new-alt-text-missing-button","missing-label":"pdfjs-editor-new-alt-text-missing-button-label",review:"pdfjs-editor-new-alt-text-to-review-button","review-label":"pdfjs-editor-new-alt-text-to-review-button-label"}))}static initialize(t){as._l10n??(as._l10n=t)}async render(){const t=p(this,Ii,document.createElement("button"));t.className="altText",t.tabIndex="0";const e=p(this,ic,document.createElement("span"));t.append(e),n(this,rn)?(t.classList.add("new"),t.setAttribute("data-l10n-id",n(as,zr).missing),e.setAttribute("data-l10n-id",n(as,zr)["missing-label"])):(t.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button"),e.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button-label"));const s=n(this,ws)._uiManager._signal;t.addEventListener("contextmenu",Ci,{signal:s}),t.addEventListener("pointerdown",r=>r.stopPropagation(),{signal:s});const i=r=>{r.preventDefault(),n(this,ws)._uiManager.editAltText(n(this,ws)),n(this,rn)&&n(this,ws)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_clicked",data:{label:n(this,ji,kh)}})};return t.addEventListener("click",i,{capture:!0,signal:s}),t.addEventListener("keydown",r=>{r.target===t&&r.key==="Enter"&&(p(this,nc,!0),i(r))},{signal:s}),await v(this,ji,cf).call(this),t}finish(){n(this,Ii)&&(n(this,Ii).focus({focusVisible:n(this,nc)}),p(this,nc,!1))}isEmpty(){return n(this,rn)?n(this,Me)===null:!n(this,Me)&&!n(this,en)}hasData(){return n(this,rn)?n(this,Me)!==null||!!n(this,Rn):this.isEmpty()}get guessedText(){return n(this,Rn)}async setGuessedText(t){n(this,Me)===null&&(p(this,Rn,t),p(this,Ja,await as._l10n.get("pdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer",{generatedAltText:t})),v(this,ji,cf).call(this))}toggleAltTextBadge(t=!1){var e;if(!n(this,rn)||n(this,Me)){(e=n(this,nn))==null||e.remove(),p(this,nn,null);return}if(!n(this,nn)){const s=p(this,nn,document.createElement("div"));s.className="noAltTextBadge",n(this,ws).div.append(s)}n(this,nn).classList.toggle("hidden",!t)}serialize(t){let e=n(this,Me);return!t&&n(this,Rn)===e&&(e=n(this,Ja)),{altText:e,decorative:n(this,en),guessedText:n(this,Rn),textWithDisclaimer:n(this,Ja)}}get data(){return{altText:n(this,Me),decorative:n(this,en)}}set data({altText:t,decorative:e,guessedText:s,textWithDisclaimer:i,cancel:r=!1}){s&&(p(this,Rn,s),p(this,Ja,i)),!(n(this,Me)===t&&n(this,en)===e)&&(r||(p(this,Me,t),p(this,en,e)),v(this,ji,cf).call(this))}toggle(t=!1){n(this,Ii)&&(!t&&n(this,Bs)&&(clearTimeout(n(this,Bs)),p(this,Bs,null)),n(this,Ii).disabled=!t)}shown(){n(this,ws)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_displayed",data:{label:n(this,ji,kh)}})}destroy(){var t,e;(t=n(this,Ii))==null||t.remove(),p(this,Ii,null),p(this,ic,null),p(this,sn,null),(e=n(this,nn))==null||e.remove(),p(this,nn,null)}};Me=new WeakMap,en=new WeakMap,Ii=new WeakMap,ic=new WeakMap,sn=new WeakMap,Bs=new WeakMap,nc=new WeakMap,nn=new WeakMap,ws=new WeakMap,Rn=new WeakMap,Ja=new WeakMap,rn=new WeakMap,zr=new WeakMap,ji=new WeakSet,kh=function(){return n(this,Me)&&"added"||n(this,Me)===null&&this.guessedText&&"review"||"missing"},cf=async function(){var i,r,a;const t=n(this,Ii);if(!t)return;if(n(this,rn)){if(t.classList.toggle("done",!!n(this,Me)),t.setAttribute("data-l10n-id",n(as,zr)[n(this,ji,kh)]),(i=n(this,ic))==null||i.setAttribute("data-l10n-id",n(as,zr)[`${n(this,ji,kh)}-label`]),!n(this,Me)){(r=n(this,sn))==null||r.remove();return}}else{if(!n(this,Me)&&!n(this,en)){t.classList.remove("done"),(a=n(this,sn))==null||a.remove();return}t.classList.add("done"),t.setAttribute("data-l10n-id","pdfjs-editor-alt-text-edit-button")}let e=n(this,sn);if(!e){p(this,sn,e=document.createElement("span")),e.className="tooltip",e.setAttribute("role","tooltip"),e.id=`alt-text-tooltip-${n(this,ws).id}`;const o=100,l=n(this,ws)._uiManager._signal;l.addEventListener("abort",()=>{clearTimeout(n(this,Bs)),p(this,Bs,null)},{once:!0}),t.addEventListener("mouseenter",()=>{p(this,Bs,setTimeout(()=>{p(this,Bs,null),n(this,sn).classList.add("show"),n(this,ws)._reportTelemetry({action:"alt_text_tooltip"})},o))},{signal:l}),t.addEventListener("mouseleave",()=>{var c;n(this,Bs)&&(clearTimeout(n(this,Bs)),p(this,Bs,null)),(c=n(this,sn))==null||c.classList.remove("show")},{signal:l})}n(this,en)?e.setAttribute("data-l10n-id","pdfjs-editor-alt-text-decorative-tooltip"):(e.removeAttribute("data-l10n-id"),e.textContent=n(this,Me)),e.parentNode||t.append(e);const s=n(this,ws).getElementForAltText();s==null||s.setAttribute("aria-describedby",e.id)},m(as,zr,null),M(as,"_l10n",null);let Yf=as;var $e,fi,Za,jt,md,Vr,pi,Gr,jr,to,vd,wg;class qu{constructor(t){m(this,vd);m(this,$e,null);m(this,fi,null);m(this,Za,!1);m(this,jt,null);m(this,md,null);m(this,Vr,null);m(this,pi,null);m(this,Gr,null);m(this,jr,!1);m(this,to,null);p(this,jt,t)}renderForToolbar(){const t=p(this,fi,document.createElement("button"));return t.className="comment",v(this,vd,wg).call(this,t,!1)}renderForStandalone(){const t=p(this,$e,document.createElement("button"));t.className="annotationCommentButton";const e=n(this,jt).commentButtonPosition;if(e){const{style:s}=t;s.insetInlineEnd=`calc(${100*(n(this,jt)._uiManager.direction==="ltr"?1-e[0]:e[0])}% - var(--comment-button-dim))`,s.top=`calc(${100*e[1]}% - var(--comment-button-dim))`;const i=n(this,jt).commentButtonColor;i&&(s.backgroundColor=i)}return v(this,vd,wg).call(this,t,!0)}focusButton(){setTimeout(()=>{var t;(t=n(this,$e)??n(this,fi))==null||t.focus()},0)}onUpdatedColor(){if(!n(this,$e))return;const t=n(this,jt).commentButtonColor;t&&(n(this,$e).style.backgroundColor=t),n(this,jt)._uiManager.updatePopupColor(n(this,jt))}get commentButtonWidth(){var t;return(((t=n(this,$e))==null?void 0:t.getBoundingClientRect().width)??0)/n(this,jt).parent.boundingClientRect.width}get commentPopupPositionInLayer(){if(n(this,to))return n(this,to);if(!n(this,$e))return null;const{x:t,y:e,height:s}=n(this,$e).getBoundingClientRect(),{x:i,y:r,width:a,height:o}=n(this,jt).parent.boundingClientRect;return[(t-i)/a,(e+s-r)/o]}set commentPopupPositionInLayer(t){p(this,to,t)}hasDefaultPopupPosition(){return n(this,to)===null}removeStandaloneCommentButton(){var t;(t=n(this,$e))==null||t.remove(),p(this,$e,null)}removeToolbarCommentButton(){var t;(t=n(this,fi))==null||t.remove(),p(this,fi,null)}setCommentButtonStates({selected:t,hasPopup:e}){n(this,$e)&&(n(this,$e).classList.toggle("selected",t),n(this,$e).ariaExpanded=e)}edit(t){const e=this.commentPopupPositionInLayer;let s,i;if(e)[s,i]=e;else{[s,i]=n(this,jt).commentButtonPosition;const{width:h,height:d,x:f,y:g}=n(this,jt);s=f+s*h,i=g+i*d}const r=n(this,jt).parent.boundingClientRect,{x:a,y:o,width:l,height:c}=r;n(this,jt)._uiManager.editComment(n(this,jt),a+s*l,o+i*c,{...t,parentDimensions:r})}finish(){n(this,fi)&&(n(this,fi).focus({focusVisible:n(this,Za)}),p(this,Za,!1))}isDeleted(){return n(this,jr)||n(this,pi)===""}isEmpty(){return n(this,pi)===null}hasBeenEdited(){return this.isDeleted()||n(this,pi)!==n(this,md)}serialize(){return this.data}get data(){return{text:n(this,pi),richText:n(this,Vr),date:n(this,Gr),deleted:this.isDeleted()}}set data(t){if(t!==n(this,pi)&&p(this,Vr,null),t===null){p(this,pi,""),p(this,jr,!0);return}p(this,pi,t),p(this,Gr,new Date),p(this,jr,!1)}restoreData({text:t,richText:e,date:s}){p(this,pi,t),p(this,Vr,e),p(this,Gr,s),p(this,jr,!1)}setInitialText(t,e=null){p(this,md,t),this.data=t,p(this,Gr,null),p(this,Vr,e)}shown(){}destroy(){var t,e;(t=n(this,fi))==null||t.remove(),p(this,fi,null),(e=n(this,$e))==null||e.remove(),p(this,$e,null),p(this,pi,""),p(this,Vr,null),p(this,Gr,null),p(this,jt,null),p(this,Za,!1),p(this,jr,!1)}}$e=new WeakMap,fi=new WeakMap,Za=new WeakMap,jt=new WeakMap,md=new WeakMap,Vr=new WeakMap,pi=new WeakMap,Gr=new WeakMap,jr=new WeakMap,to=new WeakMap,vd=new WeakSet,wg=function(t,e){if(!n(this,jt)._uiManager.hasCommentManager())return null;t.tabIndex="0",t.ariaHasPopup="dialog",e?(t.ariaControls="commentPopup",t.setAttribute("data-l10n-id","pdfjs-show-comment-button")):(t.ariaControlsElements=[n(this,jt)._uiManager.getCommentDialogElement()],t.setAttribute("data-l10n-id","pdfjs-editor-add-comment-button"));const s=n(this,jt)._uiManager._signal;if(!(s instanceof AbortSignal)||s.aborted)return t;t.addEventListener("contextmenu",Ci,{signal:s}),e&&(t.addEventListener("focusin",r=>{n(this,jt)._focusEventsAllowed=!1,ie(r)},{capture:!0,signal:s}),t.addEventListener("focusout",r=>{n(this,jt)._focusEventsAllowed=!0,ie(r)},{capture:!0,signal:s})),t.addEventListener("pointerdown",r=>r.stopPropagation(),{signal:s});const i=r=>{r.preventDefault(),t===n(this,fi)?this.edit():n(this,jt).toggleComment(!0)};return t.addEventListener("click",i,{capture:!0,signal:s}),t.addEventListener("keydown",r=>{r.target===t&&r.key==="Enter"&&(p(this,Za,!0),i(r))},{signal:s}),t.addEventListener("pointerenter",()=>{n(this,jt).toggleComment(!1,!0)},{signal:s}),t.addEventListener("pointerleave",()=>{n(this,jt).toggleComment(!1,!1)},{signal:s}),t};var rc,eo,bd,yd,wd,Ad,Sd,Nn,so,Bn,io,$n,Ta,_b,kb,Tb;const Jm=class Jm{constructor({container:t,isPinchingDisabled:e=null,isPinchingStopped:s=null,onPinchStart:i=null,onPinching:r=null,onPinchEnd:a=null,signal:o}){m(this,Ta);m(this,rc);m(this,eo,!1);m(this,bd,null);m(this,yd);m(this,wd);m(this,Ad);m(this,Sd);m(this,Nn,null);m(this,so);m(this,Bn,null);m(this,io);m(this,$n,null);p(this,rc,t),p(this,bd,s),p(this,yd,e),p(this,wd,i),p(this,Ad,r),p(this,Sd,a),p(this,io,new AbortController),p(this,so,AbortSignal.any([o,n(this,io).signal])),t.addEventListener("touchstart",v(this,Ta,_b).bind(this),{passive:!1,signal:n(this,so)})}get MIN_TOUCH_DISTANCE_TO_PINCH(){return 35/En.pixelRatio}destroy(){var t,e;(t=n(this,io))==null||t.abort(),p(this,io,null),(e=n(this,Nn))==null||e.abort(),p(this,Nn,null)}};rc=new WeakMap,eo=new WeakMap,bd=new WeakMap,yd=new WeakMap,wd=new WeakMap,Ad=new WeakMap,Sd=new WeakMap,Nn=new WeakMap,so=new WeakMap,Bn=new WeakMap,io=new WeakMap,$n=new WeakMap,Ta=new WeakSet,_b=function(t){var i,r,a;if((i=n(this,yd))!=null&&i.call(this))return;if(t.touches.length===1){if(n(this,Nn))return;const o=p(this,Nn,new AbortController),l=AbortSignal.any([n(this,so),o.signal]),c=n(this,rc),h={capture:!0,signal:l,passive:!1},d=f=>{var g;f.pointerType==="touch"&&((g=n(this,Nn))==null||g.abort(),p(this,Nn,null))};c.addEventListener("pointerdown",f=>{f.pointerType==="touch"&&(ie(f),d(f))},h),c.addEventListener("pointerup",d,h),c.addEventListener("pointercancel",d,h);return}if(!n(this,$n)){p(this,$n,new AbortController);const o=AbortSignal.any([n(this,so),n(this,$n).signal]),l=n(this,rc),c={signal:o,capture:!1,passive:!1};l.addEventListener("touchmove",v(this,Ta,kb).bind(this),c);const h=v(this,Ta,Tb).bind(this);l.addEventListener("touchend",h,c),l.addEventListener("touchcancel",h,c),c.capture=!0,l.addEventListener("pointerdown",ie,c),l.addEventListener("pointermove",ie,c),l.addEventListener("pointercancel",ie,c),l.addEventListener("pointerup",ie,c),(r=n(this,wd))==null||r.call(this)}if(ie(t),t.touches.length!==2||(a=n(this,bd))!=null&&a.call(this)){p(this,Bn,null);return}let[e,s]=t.touches;e.identifier>s.identifier&&([e,s]=[s,e]),p(this,Bn,{touch0X:e.screenX,touch0Y:e.screenY,touch1X:s.screenX,touch1Y:s.screenY})},kb=function(t){var C;if(!n(this,Bn)||t.touches.length!==2)return;ie(t);let[e,s]=t.touches;e.identifier>s.identifier&&([e,s]=[s,e]);const{screenX:i,screenY:r}=e,{screenX:a,screenY:o}=s,l=n(this,Bn),{touch0X:c,touch0Y:h,touch1X:d,touch1Y:f}=l,g=d-c,y=f-h,b=a-i,S=o-r,w=Math.hypot(b,S)||1,x=Math.hypot(g,y)||1;if(!n(this,eo)&&Math.abs(x-w)<=Jm.MIN_TOUCH_DISTANCE_TO_PINCH)return;if(l.touch0X=i,l.touch0Y=r,l.touch1X=a,l.touch1Y=o,!n(this,eo)){p(this,eo,!0);return}const A=[(i+a)/2,(r+o)/2];(C=n(this,Ad))==null||C.call(this,A,x,w)},Tb=function(t){var e;t.touches.length>=2||(n(this,$n)&&(n(this,$n).abort(),p(this,$n,null),(e=n(this,Sd))==null||e.call(this)),n(this,Bn)&&(ie(t),p(this,Bn,null),p(this,eo,!1)))};let Kf=Jm;var no,Di,Jt,It,Un,ac,Wr,xd,Ue,ro,Hn,gi,Xr,Ed,ao,$s,Cd,oo,zn,an,oc,lc,mi,lo,_d,op,it,Ag,kd,Sg,hf,Pb,Mb,xg,df,Eg,Ib,Db,Lb,Cg,Fb,_g,Ob,Rb,Nb,kg,Th;const nt=class nt{constructor(t){m(this,it);m(this,no,null);m(this,Di,null);m(this,Jt,null);m(this,It,null);m(this,Un,null);m(this,ac,!1);m(this,Wr,null);m(this,xd,"");m(this,Ue,null);m(this,ro,null);m(this,Hn,null);m(this,gi,null);m(this,Xr,null);m(this,Ed,"");m(this,ao,!1);m(this,$s,null);m(this,Cd,!1);m(this,oo,!1);m(this,zn,!1);m(this,an,null);m(this,oc,0);m(this,lc,0);m(this,mi,null);m(this,lo,null);M(this,"isSelected",!1);M(this,"_isCopy",!1);M(this,"_editToolbar",null);M(this,"_initialOptions",Object.create(null));M(this,"_initialData",null);M(this,"_isVisible",!0);M(this,"_uiManager",null);M(this,"_focusEventsAllowed",!0);m(this,_d,!1);m(this,op,nt._zIndex++);this.parent=t.parent,this.id=t.id,this.width=this.height=null,this.pageIndex=t.parent.pageIndex,this.name=t.name,this.div=null,this._uiManager=t.uiManager,this.annotationElementId=null,this._willKeepAspectRatio=!1,this._initialOptions.isCentered=t.isCentered,this._structTreeParentId=null,this.annotationElementId=t.annotationElementId||null,this.creationDate=t.creationDate||new Date,this.modificationDate=t.modificationDate||null,this.canAddComment=!0;const{rotation:e,rawDims:{pageWidth:s,pageHeight:i,pageX:r,pageY:a}}=this.parent.viewport;this.rotation=e,this.pageRotation=(360+e-this._uiManager.viewParameters.rotation)%360,this.pageDimensions=[s,i],this.pageTranslation=[r,a];const[o,l]=this.parentDimensions;this.x=t.x/o,this.y=t.y/l,this.isAttachedToDOM=!1,this.deleted=!1}static get _resizerKeyboardManager(){const t=nt.prototype._resizeWithKeyboard,e=Cl.TRANSLATE_SMALL,s=Cl.TRANSLATE_BIG;return at(this,"_resizerKeyboardManager",new El([[["ArrowLeft"],t,{args:[-e,0]}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t,{args:[-s,0]}],[["ArrowRight"],t,{args:[e,0]}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t,{args:[s,0]}],[["ArrowUp"],t,{args:[0,-e]}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t,{args:[0,-s]}],[["ArrowDown"],t,{args:[0,e]}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t,{args:[0,s]}],[["Escape"],nt.prototype._stopResizingWithKeyboard]]))}updatePageIndex(t){this.pageIndex=t}get editorType(){return Object.getPrototypeOf(this).constructor._type}get mode(){return Object.getPrototypeOf(this).constructor._editorType}static get isDrawer(){return!1}static get _defaultLineColor(){return at(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}static deleteAnnotationElement(t){const e=new zS({id:t._uiManager.getId(),parent:t.parent,uiManager:t._uiManager});e.annotationElementId=t.annotationElementId,e.deleted=!0,e._uiManager.addToAnnotationStorage(e)}static initialize(t,e){if(nt._l10n??(nt._l10n=t),nt._l10nAlert??(nt._l10nAlert=Object.freeze({highlight:"pdfjs-editor-highlight-added-alert",freetext:"pdfjs-editor-freetext-added-alert",ink:"pdfjs-editor-ink-added-alert",stamp:"pdfjs-editor-stamp-added-alert",signature:"pdfjs-editor-signature-added-alert"})),nt._l10nResizer??(nt._l10nResizer=Object.freeze({topLeft:"pdfjs-editor-resizer-top-left",topMiddle:"pdfjs-editor-resizer-top-middle",topRight:"pdfjs-editor-resizer-top-right",middleRight:"pdfjs-editor-resizer-middle-right",bottomRight:"pdfjs-editor-resizer-bottom-right",bottomMiddle:"pdfjs-editor-resizer-bottom-middle",bottomLeft:"pdfjs-editor-resizer-bottom-left",middleLeft:"pdfjs-editor-resizer-middle-left"})),nt._borderLineWidth!==-1)return;const s=getComputedStyle(document.documentElement);nt._borderLineWidth=parseFloat(s.getPropertyValue("--outline-width"))||0}static updateDefaultParams(t,e){}static get defaultPropertiesToUpdate(){return[]}static isHandlingMimeForPasting(t){return!1}static paste(t,e){Ct("Not implemented")}get propertiesToUpdate(){return[]}get _isDraggable(){return n(this,_d)}set _isDraggable(t){var e;p(this,_d,t),(e=this.div)==null||e.classList.toggle("draggable",t)}get uid(){return this.annotationElementId||this.id}get isEnterHandled(){return!0}center(){const[t,e]=this.pageDimensions;switch(this.parentRotation){case 90:this.x-=this.height*e/(t*2),this.y+=this.width*t/(e*2);break;case 180:this.x+=this.width/2,this.y+=this.height/2;break;case 270:this.x+=this.height*e/(t*2),this.y-=this.width*t/(e*2);break;default:this.x-=this.width/2,this.y-=this.height/2;break}this.fixAndSetPosition()}addCommands(t){this._uiManager.addCommands(t)}get currentLayer(){return this._uiManager.currentLayer}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=n(this,op)}setParent(t){var e;t!==null?(this.pageIndex=t.pageIndex,this.pageDimensions=t.pageDimensions):(v(this,it,Th).call(this),(e=n(this,gi))==null||e.remove(),p(this,gi,null)),this.parent=t}focusin(t){this._focusEventsAllowed&&(n(this,ao)?p(this,ao,!1):this.parent.setSelected(this))}focusout(t){var s;if(!this._focusEventsAllowed||!this.isAttachedToDOM)return;const e=t.relatedTarget;e!=null&&e.closest(`#${this.id}`)||(t.preventDefault(),(s=this.parent)!=null&&s.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.isInEditMode()&&this.addToAnnotationStorage()}addToAnnotationStorage(){this._uiManager.addToAnnotationStorage(this)}setAt(t,e,s,i){const[r,a]=this.parentDimensions;[s,i]=this.screenToPageTranslation(s,i),this.x=(t+s)/r,this.y=(e+i)/a,this.fixAndSetPosition()}_moveAfterPaste(t,e){if(this.isClone){delete this.isClone;return}const[s,i]=this.parentDimensions;this.setAt(t*s,e*i,this.width*s,this.height*i),this._onTranslated()}translate(t,e){v(this,it,Ag).call(this,this.parentDimensions,t,e)}translateInPage(t,e){n(this,$s)||p(this,$s,[this.x,this.y,this.width,this.height]),v(this,it,Ag).call(this,this.pageDimensions,t,e),this.div.scrollIntoView({block:"nearest"})}translationDone(){this._onTranslated(this.x,this.y)}drag(t,e){n(this,$s)||p(this,$s,[this.x,this.y,this.width,this.height]);const{div:s,parentDimensions:[i,r]}=this;if(this.x+=t/i,this.y+=e/r,this.parent&&(this.x<0||this.x>1||this.y<0||this.y>1)){const{x:d,y:f}=this.div.getBoundingClientRect();this.parent.findNewParent(this,d,f)&&(this.x-=Math.floor(this.x),this.y-=Math.floor(this.y))}let{x:a,y:o}=this;const[l,c]=this.getBaseTranslation();a+=l,o+=c;const{style:h}=s;h.left=`${(100*a).toFixed(2)}%`,h.top=`${(100*o).toFixed(2)}%`,this._onTranslating(a,o),s.scrollIntoView({block:"nearest"})}_onTranslating(t,e){}_onTranslated(t,e){}get _hasBeenMoved(){return!!n(this,$s)&&(n(this,$s)[0]!==this.x||n(this,$s)[1]!==this.y)}get _hasBeenResized(){return!!n(this,$s)&&(n(this,$s)[2]!==this.width||n(this,$s)[3]!==this.height)}getBaseTranslation(){const[t,e]=this.parentDimensions,{_borderLineWidth:s}=nt,i=s/t,r=s/e;switch(this.rotation){case 90:return[-i,r];case 180:return[i,r];case 270:return[i,-r];default:return[-i,-r]}}get _mustFixPosition(){return!0}fixAndSetPosition(t=this.rotation){const{div:{style:e},pageDimensions:[s,i]}=this;let{x:r,y:a,width:o,height:l}=this;if(o*=s,l*=i,r*=s,a*=i,this._mustFixPosition)switch(t){case 0:r=Qt(r,0,s-o),a=Qt(a,0,i-l);break;case 90:r=Qt(r,0,s-l),a=Qt(a,o,i);break;case 180:r=Qt(r,o,s),a=Qt(a,l,i);break;case 270:r=Qt(r,l,s),a=Qt(a,0,i-o);break}this.x=r/=s,this.y=a/=i;const[c,h]=this.getBaseTranslation();r+=c,a+=h,e.left=`${(100*r).toFixed(2)}%`,e.top=`${(100*a).toFixed(2)}%`,this.moveInDOM()}screenToPageTranslation(t,e){var s;return v(s=nt,kd,Sg).call(s,t,e,this.parentRotation)}pageTranslationToScreen(t,e){var s;return v(s=nt,kd,Sg).call(s,t,e,360-this.parentRotation)}get parentScale(){return this._uiManager.viewParameters.realScale}get parentRotation(){return(this._uiManager.viewParameters.rotation+this.pageRotation)%360}get parentDimensions(){const{parentScale:t,pageDimensions:[e,s]}=this;return[e*t,s*t]}setDims(){const{div:{style:t},width:e,height:s}=this;t.width=`${(100*e).toFixed(2)}%`,t.height=`${(100*s).toFixed(2)}%`}getInitialTranslation(){return[0,0]}_onResized(){}static _round(t){return Math.round(t*1e4)/1e4}_onResizing(){}altTextFinish(){var t;(t=n(this,Jt))==null||t.finish()}get toolbarButtons(){return null}async addEditToolbar(){if(this._editToolbar||n(this,oo))return this._editToolbar;this._editToolbar=new ug(this),this.div.append(this._editToolbar.render());const{toolbarButtons:t}=this;if(t)for(const[e,s]of t)await this._editToolbar.addButton(e,s);return this.hasComment||this._editToolbar.addButton("comment",this.addCommentButton()),this._editToolbar.addButton("delete"),this._editToolbar}addCommentButtonInToolbar(){var t;(t=this._editToolbar)==null||t.addButtonBefore("comment",this.addCommentButton(),".deleteButton")}removeCommentButtonFromToolbar(){var t;(t=this._editToolbar)==null||t.removeButton("comment")}removeEditToolbar(){var t,e;(t=this._editToolbar)==null||t.remove(),this._editToolbar=null,(e=n(this,Jt))==null||e.destroy()}addContainer(t){var s;const e=(s=this._editToolbar)==null?void 0:s.div;e?e.before(t):this.div.append(t)}getClientDimensions(){return this.div.getBoundingClientRect()}createAltText(){return n(this,Jt)||(Yf.initialize(nt._l10n),p(this,Jt,new Yf(this)),n(this,no)&&(n(this,Jt).data=n(this,no),p(this,no,null))),n(this,Jt)}get altTextData(){var t;return(t=n(this,Jt))==null?void 0:t.data}set altTextData(t){n(this,Jt)&&(n(this,Jt).data=t)}get guessedAltText(){var t;return(t=n(this,Jt))==null?void 0:t.guessedText}async setGuessedAltText(t){var e;await((e=n(this,Jt))==null?void 0:e.setGuessedText(t))}serializeAltText(t){var e;return(e=n(this,Jt))==null?void 0:e.serialize(t)}hasAltText(){return!!n(this,Jt)&&!n(this,Jt).isEmpty()}hasAltTextData(){var t;return((t=n(this,Jt))==null?void 0:t.hasData())??!1}focusCommentButton(){var t;(t=n(this,It))==null||t.focusButton()}addCommentButton(){return this.canAddComment?n(this,It)||p(this,It,new qu(this)):null}addStandaloneCommentButton(){if(this._uiManager.hasCommentManager()){if(n(this,Un)){this._uiManager.isEditingMode()&&n(this,Un).classList.remove("hidden");return}this.hasComment&&(p(this,Un,n(this,It).renderForStandalone()),this.div.append(n(this,Un)))}}removeStandaloneCommentButton(){n(this,It).removeStandaloneCommentButton(),p(this,Un,null)}hideStandaloneCommentButton(){var t;(t=n(this,Un))==null||t.classList.add("hidden")}get comment(){if(!n(this,It))return null;const{data:{richText:t,text:e,date:s,deleted:i}}=n(this,It);return{text:e,richText:t,date:s,deleted:i,color:this.getNonHCMColor(),opacity:this.opacity??1}}set comment(t){n(this,It)||p(this,It,new qu(this)),typeof t=="object"&&t!==null?n(this,It).restoreData(t):n(this,It).data=t,this.hasComment?(this.removeCommentButtonFromToolbar(),this.addStandaloneCommentButton(),this._uiManager.updateComment(this)):(this.addCommentButtonInToolbar(),this.removeStandaloneCommentButton(),this._uiManager.removeComment(this))}setCommentData({comment:t,popupRef:e,richText:s}){if(!e||(n(this,It)||p(this,It,new qu(this)),n(this,It).setInitialText(t,s),!this.annotationElementId))return;const i=this._uiManager.getAndRemoveDataFromAnnotationStorage(this.annotationElementId);i&&this.updateFromAnnotationLayer(i)}get hasEditedComment(){var t;return(t=n(this,It))==null?void 0:t.hasBeenEdited()}get hasDeletedComment(){var t;return(t=n(this,It))==null?void 0:t.isDeleted()}get hasComment(){return!!n(this,It)&&!n(this,It).isEmpty()&&!n(this,It).isDeleted()}async editComment(t){n(this,It)||p(this,It,new qu(this)),n(this,It).edit(t)}toggleComment(t,e=void 0){this.hasComment&&this._uiManager.toggleComment(this,t,e)}setSelectedCommentButton(t){n(this,It).setSelectedButton(t)}addComment(t){if(this.hasEditedComment){const[,,,i]=t.rect,[r]=this.pageDimensions,[a]=this.pageTranslation,o=a+r+1,l=i-100,c=o+180;t.popup={contents:this.comment.text,deleted:this.comment.deleted,rect:[o,l,c,i]}}}updateFromAnnotationLayer({popup:{contents:t,deleted:e}}){n(this,It).data=e?null:t}get parentBoundingClientRect(){return this.parent.boundingClientRect}render(){var a;const t=this.div=document.createElement("div");t.setAttribute("data-editor-rotation",(360-this.rotation)%360),t.className=this.name,t.setAttribute("id",this.id),t.tabIndex=n(this,ac)?-1:0,t.setAttribute("role","application"),this.defaultL10nId&&t.setAttribute("data-l10n-id",this.defaultL10nId),this._isVisible||t.classList.add("hidden"),this.setInForeground(),v(this,it,_g).call(this);const[e,s]=this.parentDimensions;this.parentRotation%180!==0&&(t.style.maxWidth=`${(100*s/e).toFixed(2)}%`,t.style.maxHeight=`${(100*e/s).toFixed(2)}%`);const[i,r]=this.getInitialTranslation();return this.translate(i,r),hb(this,t,["keydown","pointerdown","dblclick"]),this.isResizable&&this._uiManager._supportsPinchToZoom&&(n(this,lo)||p(this,lo,new Kf({container:t,isPinchingDisabled:()=>!this.isSelected,onPinchStart:v(this,it,Ib).bind(this),onPinching:v(this,it,Db).bind(this),onPinchEnd:v(this,it,Lb).bind(this),signal:this._uiManager._signal}))),this.addStandaloneCommentButton(),(a=this._uiManager._editorUndoBar)==null||a.hide(),t}pointerdown(t){const{isMac:e}=$t.platform;if(t.button!==0||t.ctrlKey&&e){t.preventDefault();return}if(p(this,ao,!0),this._isDraggable){v(this,it,Fb).call(this,t);return}v(this,it,Cg).call(this,t)}_onStartDragging(){}_onStopDragging(){}moveInDOM(){n(this,an)&&clearTimeout(n(this,an)),p(this,an,setTimeout(()=>{var t;p(this,an,null),(t=this.parent)==null||t.moveEditorInDOM(this)},0))}_setParentAndPosition(t,e,s){t.changeParent(this),this.x=e,this.y=s,this.fixAndSetPosition(),this._onTranslated()}getRect(t,e,s=this.rotation){const i=this.parentScale,[r,a]=this.pageDimensions,[o,l]=this.pageTranslation,c=t/i,h=e/i,d=this.x*r,f=this.y*a,g=this.width*r,y=this.height*a;switch(s){case 0:return[d+c+o,a-f-h-y+l,d+c+g+o,a-f-h+l];case 90:return[d+h+o,a-f+c+l,d+h+y+o,a-f+c+g+l];case 180:return[d-c-g+o,a-f+h+l,d-c+o,a-f+h+y+l];case 270:return[d-h-y+o,a-f-c-g+l,d-h+o,a-f-c+l];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(t,e){const[s,i,r,a]=t,o=r-s,l=a-i;switch(this.rotation){case 0:return[s,e-a,o,l];case 90:return[s,e-i,l,o];case 180:return[r,e-i,o,l];case 270:return[r,e-a,l,o];default:throw new Error("Invalid rotation")}}getPDFRect(){return this.getRect(0,0)}getNonHCMColor(){return this.color&&nt._colorManager.convert(this._uiManager.getNonHCMColor(this.color))}onUpdatedColor(){var t;(t=n(this,It))==null||t.onUpdatedColor()}getData(){const{comment:{text:t,color:e,date:s,opacity:i,deleted:r,richText:a},uid:o,pageIndex:l,creationDate:c,modificationDate:h}=this;return{id:o,pageIndex:l,rect:this.getPDFRect(),richText:a,contentsObj:{str:t},creationDate:c,modificationDate:s||h,popupRef:!r,color:e,opacity:i}}onceAdded(t){}isEmpty(){return!1}enableEditMode(){return this.isInEditMode()?!1:(this.parent.setEditingState(!1),p(this,oo,!0),!0)}disableEditMode(){return this.isInEditMode()?(this.parent.setEditingState(!0),p(this,oo,!1),!0):!1}isInEditMode(){return n(this,oo)}shouldGetKeyboardEvents(){return n(this,zn)}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}get isOnScreen(){const{top:t,left:e,bottom:s,right:i}=this.getClientDimensions(),{innerHeight:r,innerWidth:a}=window;return e0&&t0}rebuild(){v(this,it,_g).call(this)}rotate(t){}resize(){}serializeDeleted(){var t;return{id:this.annotationElementId,deleted:!0,pageIndex:this.pageIndex,popupRef:((t=this._initialData)==null?void 0:t.popupRef)||""}}serialize(t=!1,e=null){var s;return{annotationType:this.mode,pageIndex:this.pageIndex,rect:this.getPDFRect(),rotation:this.rotation,structTreeParentId:this._structTreeParentId,popupRef:((s=this._initialData)==null?void 0:s.popupRef)||""}}static async deserialize(t,e,s){const i=new this.prototype.constructor({parent:e,id:s.getId(),uiManager:s,annotationElementId:t.annotationElementId,creationDate:t.creationDate,modificationDate:t.modificationDate});i.rotation=t.rotation,p(i,no,t.accessibilityData),i._isCopy=t.isCopy||!1;const[r,a]=i.pageDimensions,[o,l,c,h]=i.getRectInCurrentCoords(t.rect,a);return i.x=o/r,i.y=l/a,i.width=c/r,i.height=h/a,i}get hasBeenModified(){return!!this.annotationElementId&&(this.deleted||this.serialize()!==null)}remove(){var t,e,s;if((t=n(this,Xr))==null||t.abort(),p(this,Xr,null),this.isEmpty()||this.commit(),this.parent?this.parent.remove(this):this._uiManager.removeEditor(this),this.hideCommentPopup(),n(this,an)&&(clearTimeout(n(this,an)),p(this,an,null)),v(this,it,Th).call(this),this.removeEditToolbar(),n(this,mi)){for(const i of n(this,mi).values())clearTimeout(i);p(this,mi,null)}this.parent=null,(e=n(this,lo))==null||e.destroy(),p(this,lo,null),(s=n(this,gi))==null||s.remove(),p(this,gi,null)}get isResizable(){return!1}makeResizable(){this.isResizable&&(v(this,it,Pb).call(this),n(this,Ue).classList.remove("hidden"))}get toolbarPosition(){return null}get commentButtonPosition(){return this._uiManager.direction==="ltr"?[1,0]:[0,0]}get commentButtonPositionInPage(){const{commentButtonPosition:[t,e]}=this,[s,i,r,a]=this.getPDFRect();return[nt._round(s+(r-s)*t),nt._round(i+(a-i)*(1-e))]}get commentButtonColor(){return this._uiManager.makeCommentColor(this.getNonHCMColor(),this.opacity)}get commentPopupPosition(){return n(this,It).commentPopupPositionInLayer}set commentPopupPosition(t){n(this,It).commentPopupPositionInLayer=t}hasDefaultPopupPosition(){return n(this,It).hasDefaultPopupPosition()}get commentButtonWidth(){return n(this,It).commentButtonWidth}get elementBeforePopup(){return this.div}setCommentButtonStates(t){var e;(e=n(this,It))==null||e.setCommentButtonStates(t)}keydown(t){if(!this.isResizable||t.target!==this.div||t.key!=="Enter")return;this._uiManager.setSelected(this),p(this,Hn,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height});const e=n(this,Ue).children;if(!n(this,Di)){p(this,Di,Array.from(e));const a=v(this,it,Ob).bind(this),o=v(this,it,Rb).bind(this),l=this._uiManager._signal;for(const c of n(this,Di)){const h=c.getAttribute("data-resizer-name");c.setAttribute("role","spinbutton"),c.addEventListener("keydown",a,{signal:l}),c.addEventListener("blur",o,{signal:l}),c.addEventListener("focus",v(this,it,Nb).bind(this,h),{signal:l}),c.setAttribute("data-l10n-id",nt._l10nResizer[h])}}const s=n(this,Di)[0];let i=0;for(const a of e){if(a===s)break;i++}const r=(360-this.rotation+this.parentRotation)%360/90*(n(this,Di).length/4);if(r!==i){if(ri)for(let o=0;o{var i,r;(i=this.div)!=null&&i.classList.contains("selectedEditor")&&((r=this._editToolbar)==null||r.show())});return}(e=this._editToolbar)==null||e.show(),(s=n(this,Jt))==null||s.toggleAltTextBadge(!1)}focus(){this.div&&!this.div.contains(document.activeElement)&&setTimeout(()=>{var t;return(t=this.div)==null?void 0:t.focus({preventScroll:!0})},0)}unselect(){var t,e,s,i,r;this.isSelected&&(this.isSelected=!1,(t=n(this,Ue))==null||t.classList.add("hidden"),(e=this.div)==null||e.classList.remove("selectedEditor"),(s=this.div)!=null&&s.contains(document.activeElement)&&this._uiManager.currentLayer.div.focus({preventScroll:!0}),(i=this._editToolbar)==null||i.hide(),(r=n(this,Jt))==null||r.toggleAltTextBadge(!0),this.hideCommentPopup())}hideCommentPopup(){this.hasComment&&this._uiManager.toggleComment(null)}updateParams(t,e){}disableEditing(){}enableEditing(){}get canChangeContent(){return!1}enterInEditMode(){this.canChangeContent&&(this.enableEditMode(),this.div.focus())}dblclick(t){t.target.nodeName!=="BUTTON"&&(this.enterInEditMode(),this.parent.updateToolbar({mode:this.constructor._editorType,editId:this.uid}))}getElementForAltText(){return this.div}get contentDiv(){return this.div}get isEditing(){return n(this,Cd)}set isEditing(t){p(this,Cd,t),this.parent&&(t?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null))}static get MIN_SIZE(){return 16}static canCreateNewEmptyEditor(){return!0}get telemetryInitialData(){return{action:"added"}}get telemetryFinalData(){return null}_reportTelemetry(t,e=!1){if(e){n(this,mi)||p(this,mi,new Map);const{action:s}=t;let i=n(this,mi).get(s);i&&clearTimeout(i),i=setTimeout(()=>{this._reportTelemetry(t),n(this,mi).delete(s),n(this,mi).size===0&&p(this,mi,null)},nt._telemetryTimeout),n(this,mi).set(s,i);return}t.type||(t.type=this.editorType),this._uiManager._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:t}})}show(t=this._isVisible){this.div.classList.toggle("hidden",!t),this._isVisible=t}enable(){this.div&&(this.div.tabIndex=0),p(this,ac,!1)}disable(){this.div&&(this.div.tabIndex=-1),p(this,ac,!0)}updateFakeAnnotationElement(t){if(!n(this,gi)&&!this.deleted){p(this,gi,t.addFakeAnnotation(this));return}if(this.deleted){n(this,gi).remove(),p(this,gi,null);return}(this.hasEditedComment||this._hasBeenMoved||this._hasBeenResized)&&n(this,gi).updateEdited({rect:this.getPDFRect(),popup:this.comment})}renderAnnotationElement(t){if(this.deleted)return t.hide(),null;let e=t.container.querySelector(".annotationContent");if(!e)e=document.createElement("div"),e.classList.add("annotationContent",this.editorType),t.container.prepend(e);else if(e.nodeName==="CANVAS"){const s=e;e=document.createElement("div"),e.classList.add("annotationContent",this.editorType),s.before(e)}return e}resetAnnotationElement(t){const{firstElementChild:e}=t.container;(e==null?void 0:e.nodeName)==="DIV"&&e.classList.contains("annotationContent")&&e.remove()}};no=new WeakMap,Di=new WeakMap,Jt=new WeakMap,It=new WeakMap,Un=new WeakMap,ac=new WeakMap,Wr=new WeakMap,xd=new WeakMap,Ue=new WeakMap,ro=new WeakMap,Hn=new WeakMap,gi=new WeakMap,Xr=new WeakMap,Ed=new WeakMap,ao=new WeakMap,$s=new WeakMap,Cd=new WeakMap,oo=new WeakMap,zn=new WeakMap,an=new WeakMap,oc=new WeakMap,lc=new WeakMap,mi=new WeakMap,lo=new WeakMap,_d=new WeakMap,op=new WeakMap,it=new WeakSet,Ag=function([t,e],s,i){[s,i]=this.screenToPageTranslation(s,i),this.x+=s/t,this.y+=i/e,this._onTranslating(this.x,this.y),this.fixAndSetPosition()},kd=new WeakSet,Sg=function(t,e,s){switch(s){case 90:return[e,-t];case 180:return[-t,-e];case 270:return[-e,t];default:return[t,e]}},hf=function(t){switch(t){case 90:{const[e,s]=this.pageDimensions;return[0,-e/s,s/e,0]}case 180:return[-1,0,0,-1];case 270:{const[e,s]=this.pageDimensions;return[0,e/s,-s/e,0]}default:return[1,0,0,1]}},Pb=function(){if(n(this,Ue))return;p(this,Ue,document.createElement("div")),n(this,Ue).classList.add("resizers");const t=this._willKeepAspectRatio?["topLeft","topRight","bottomRight","bottomLeft"]:["topLeft","topMiddle","topRight","middleRight","bottomRight","bottomMiddle","bottomLeft","middleLeft"],e=this._uiManager._signal;for(const s of t){const i=document.createElement("div");n(this,Ue).append(i),i.classList.add("resizer",s),i.setAttribute("data-resizer-name",s),i.addEventListener("pointerdown",v(this,it,Mb).bind(this,s),{signal:e}),i.addEventListener("contextmenu",Ci,{signal:e}),i.tabIndex=-1}this.div.prepend(n(this,Ue))},Mb=function(t,e){var h;e.preventDefault();const{isMac:s}=$t.platform;if(e.button!==0||e.ctrlKey&&s)return;(h=n(this,Jt))==null||h.toggle(!1);const i=this._isDraggable;this._isDraggable=!1,p(this,ro,[e.screenX,e.screenY]);const r=new AbortController,a=this._uiManager.combinedSignal(r);this.parent.togglePointerEvents(!1),window.addEventListener("pointermove",v(this,it,Eg).bind(this,t),{passive:!0,capture:!0,signal:a}),window.addEventListener("touchmove",ie,{passive:!1,signal:a}),window.addEventListener("contextmenu",Ci,{signal:a}),p(this,Hn,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height});const o=this.parent.div.style.cursor,l=this.div.style.cursor;this.div.style.cursor=this.parent.div.style.cursor=window.getComputedStyle(e.target).cursor;const c=()=>{var d;r.abort(),this.parent.togglePointerEvents(!0),(d=n(this,Jt))==null||d.toggle(!0),this._isDraggable=i,this.parent.div.style.cursor=o,this.div.style.cursor=l,v(this,it,df).call(this)};window.addEventListener("pointerup",c,{signal:a}),window.addEventListener("blur",c,{signal:a})},xg=function(t,e,s,i){this.width=s,this.height=i,this.x=t,this.y=e,this.setDims(),this.fixAndSetPosition(),this._onResized()},df=function(){if(!n(this,Hn))return;const{savedX:t,savedY:e,savedWidth:s,savedHeight:i}=n(this,Hn);p(this,Hn,null);const r=this.x,a=this.y,o=this.width,l=this.height;r===t&&a===e&&o===s&&l===i||this.addCommands({cmd:v(this,it,xg).bind(this,r,a,o,l),undo:v(this,it,xg).bind(this,t,e,s,i),mustExec:!0})},Eg=function(t,e){const[s,i]=this.parentDimensions,r=this.x,a=this.y,o=this.width,l=this.height,c=nt.MIN_SIZE/s,h=nt.MIN_SIZE/i,d=v(this,it,hf).call(this,this.rotation),f=(T,q)=>[d[0]*T+d[2]*q,d[1]*T+d[3]*q],g=v(this,it,hf).call(this,360-this.rotation),y=(T,q)=>[g[0]*T+g[2]*q,g[1]*T+g[3]*q];let b,S,w=!1,x=!1;switch(t){case"topLeft":w=!0,b=(T,q)=>[0,0],S=(T,q)=>[T,q];break;case"topMiddle":b=(T,q)=>[T/2,0],S=(T,q)=>[T/2,q];break;case"topRight":w=!0,b=(T,q)=>[T,0],S=(T,q)=>[0,q];break;case"middleRight":x=!0,b=(T,q)=>[T,q/2],S=(T,q)=>[0,q/2];break;case"bottomRight":w=!0,b=(T,q)=>[T,q],S=(T,q)=>[0,0];break;case"bottomMiddle":b=(T,q)=>[T/2,q],S=(T,q)=>[T/2,0];break;case"bottomLeft":w=!0,b=(T,q)=>[0,q],S=(T,q)=>[T,0];break;case"middleLeft":x=!0,b=(T,q)=>[0,q/2],S=(T,q)=>[T,q/2];break}const A=b(o,l),C=S(o,l);let _=f(...C);const k=nt._round(r+_[0]),I=nt._round(a+_[1]);let L=1,P=1,D,R;if(e.fromKeyboard)({deltaX:D,deltaY:R}=e);else{const{screenX:T,screenY:q}=e,[Lt,mt]=n(this,ro);[D,R]=this.screenToPageTranslation(T-Lt,q-mt),n(this,ro)[0]=T,n(this,ro)[1]=q}if([D,R]=y(D/s,R/i),w){const T=Math.hypot(o,l);L=P=Math.max(Math.min(Math.hypot(C[0]-A[0]-D,C[1]-A[1]-R)/T,1/o,1/l),c/o,h/l)}else x?L=Qt(Math.abs(C[0]-A[0]-D),c,1)/o:P=Qt(Math.abs(C[1]-A[1]-R),h,1)/l;const K=nt._round(o*L),W=nt._round(l*P);_=f(...S(K,W));const Q=k-_[0],ht=I-_[1];n(this,$s)||p(this,$s,[this.x,this.y,this.width,this.height]),this.width=K,this.height=W,this.x=Q,this.y=ht,this.setDims(),this.fixAndSetPosition(),this._onResizing()},Ib=function(){var t;p(this,Hn,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height}),(t=n(this,Jt))==null||t.toggle(!1),this.parent.togglePointerEvents(!1)},Db=function(t,e,s){let r=.7*(s/e)+1-.7;if(r===1)return;const a=v(this,it,hf).call(this,this.rotation),o=(k,I)=>[a[0]*k+a[2]*I,a[1]*k+a[3]*I],[l,c]=this.parentDimensions,h=this.x,d=this.y,f=this.width,g=this.height,y=nt.MIN_SIZE/l,b=nt.MIN_SIZE/c;r=Math.max(Math.min(r,1/f,1/g),y/f,b/g);const S=nt._round(f*r),w=nt._round(g*r);if(S===f&&w===g)return;n(this,$s)||p(this,$s,[h,d,f,g]);const x=o(f/2,g/2),A=nt._round(h+x[0]),C=nt._round(d+x[1]),_=o(S/2,w/2);this.x=A-_[0],this.y=C-_[1],this.width=S,this.height=w,this.setDims(),this.fixAndSetPosition(),this._onResizing()},Lb=function(){var t;(t=n(this,Jt))==null||t.toggle(!0),this.parent.togglePointerEvents(!0),v(this,it,df).call(this)},Cg=function(t){const{isMac:e}=$t.platform;t.ctrlKey&&!e||t.shiftKey||t.metaKey&&e?this.parent.toggleSelected(this):this.parent.setSelected(this)},Fb=function(t){const{isSelected:e}=this;this._uiManager.setUpDragSession();let s=!1;const i=new AbortController,r=this._uiManager.combinedSignal(i),a={capture:!0,passive:!1,signal:r},o=c=>{i.abort(),p(this,Wr,null),p(this,ao,!1),this._uiManager.endDragSession()||v(this,it,Cg).call(this,c),s&&this._onStopDragging()};e&&(p(this,oc,t.clientX),p(this,lc,t.clientY),p(this,Wr,t.pointerId),p(this,xd,t.pointerType),window.addEventListener("pointermove",c=>{s||(s=!0,this._uiManager.toggleComment(this,!0,!1),this._onStartDragging());const{clientX:h,clientY:d,pointerId:f}=c;if(f!==n(this,Wr)){ie(c);return}const[g,y]=this.screenToPageTranslation(h-n(this,oc),d-n(this,lc));p(this,oc,h),p(this,lc,d),this._uiManager.dragSelectedEditors(g,y)},a),window.addEventListener("touchmove",ie,a),window.addEventListener("pointerdown",c=>{c.pointerType===n(this,xd)&&(n(this,lo)||c.isPrimary)&&o(c),ie(c)},a));const l=c=>{if(!n(this,Wr)||n(this,Wr)===c.pointerId){o(c);return}ie(c)};window.addEventListener("pointerup",l,{signal:r}),window.addEventListener("blur",l,{signal:r})},_g=function(){if(n(this,Xr)||!this.div)return;p(this,Xr,new AbortController);const t=this._uiManager.combinedSignal(n(this,Xr));this.div.addEventListener("focusin",this.focusin.bind(this),{signal:t}),this.div.addEventListener("focusout",this.focusout.bind(this),{signal:t})},Ob=function(t){nt._resizerKeyboardManager.exec(this,t)},Rb=function(t){var e;n(this,zn)&&((e=t.relatedTarget)==null?void 0:e.parentNode)!==n(this,Ue)&&v(this,it,Th).call(this)},Nb=function(t){p(this,Ed,n(this,zn)?t:"")},kg=function(t){if(n(this,Di))for(const e of n(this,Di))e.tabIndex=t},Th=function(){p(this,zn,!1),v(this,it,kg).call(this,-1),v(this,it,df).call(this)},m(nt,kd),M(nt,"_l10n",null),M(nt,"_l10nAlert",null),M(nt,"_l10nResizer",null),M(nt,"_borderLineWidth",-1),M(nt,"_colorManager",new gg),M(nt,"_zIndex",1),M(nt,"_telemetryTimeout",1e3);let Pt=nt;class zS extends Pt{constructor(t){super(t),this.annotationElementId=t.annotationElementId,this.deleted=!0}serialize(){return this.serializeDeleted()}}const bv=3285377520,ai=4294901760,qi=65535;class Tg{constructor(t){this.h1=t?t&4294967295:bv,this.h2=t?t&4294967295:bv}update(t){let e,s;if(typeof t=="string"){e=new Uint8Array(t.length*2),s=0;for(let b=0,S=t.length;b>>8,e[s++]=w&255)}}else if(ArrayBuffer.isView(t))e=t.slice(),s=e.byteLength;else throw new Error("Invalid data format, must be a string or TypedArray.");const i=s>>2,r=s-i*4,a=new Uint32Array(e.buffer,0,i);let o=0,l=0,c=this.h1,h=this.h2;const d=3432918353,f=461845907,g=d&qi,y=f&qi;for(let b=0;b>>17,o=o*f&ai|o*y&qi,c^=o,c=c<<13|c>>>19,c=c*5+3864292196):(l=a[b],l=l*d&ai|l*g&qi,l=l<<15|l>>>17,l=l*f&ai|l*y&qi,h^=l,h=h<<13|h>>>19,h=h*5+3864292196);switch(o=0,r){case 3:o^=e[i*4+2]<<16;case 2:o^=e[i*4+1]<<8;case 1:o^=e[i*4],o=o*d&ai|o*g&qi,o=o<<15|o>>>17,o=o*f&ai|o*y&qi,i&1?c^=o:h^=o}this.h1=c,this.h2=h}hexdigest(){let t=this.h1,e=this.h2;return t^=e>>>1,t=t*3981806797&ai|t*36045&qi,e=e*4283543511&ai|((e<<16|t>>>16)*2950163797&ai)>>>16,t^=e>>>1,t=t*444984403&ai|t*60499&qi,e=e*3301882366&ai|((e<<16|t>>>16)*3120437893&ai)>>>16,t^=e>>>1,(t>>>0).toString(16).padStart(8,"0")+(e>>>0).toString(16).padStart(8,"0")}}const Jh=Object.freeze({map:null,hash:"",transfer:void 0});var co,ho,Vn,He,lp,Bb;class jm{constructor(){m(this,lp);m(this,co,!1);m(this,ho,null);m(this,Vn,null);m(this,He,new Map);M(this,"onSetModified",null);M(this,"onResetModified",null);M(this,"onAnnotationEditor",null)}getValue(t,e){const s=n(this,He).get(t);return s===void 0?e:Object.assign(e,s)}getRawValue(t){return n(this,He).get(t)}remove(t){var s;const e=n(this,He).get(t);e!==void 0&&(e instanceof Pt&&n(this,Vn).delete(e.annotationElementId),n(this,He).delete(t),n(this,He).size===0&&this.resetModified(),!n(this,He).values().some(i=>i instanceof Pt)&&((s=this.onAnnotationEditor)==null||s.call(this,null)))}setValue(t,e){var r;const s=n(this,He).get(t);let i=!1;if(s!==void 0)for(const[a,o]of Object.entries(e))s[a]!==o&&(i=!0,s[a]=o);else i=!0,n(this,He).set(t,e);i&&v(this,lp,Bb).call(this),e instanceof Pt&&((n(this,Vn)||p(this,Vn,new Map)).set(e.annotationElementId,e),(r=this.onAnnotationEditor)==null||r.call(this,e.constructor._type))}has(t){return n(this,He).has(t)}get size(){return n(this,He).size}resetModified(){var t;n(this,co)&&(p(this,co,!1),(t=this.onResetModified)==null||t.call(this))}get print(){return new $b(this)}get serializable(){if(n(this,He).size===0)return Jh;const t=new Map,e=new Tg,s=[],i=Object.create(null);let r=!1;for(const[a,o]of n(this,He)){const l=o instanceof Pt?o.serialize(!1,i):o;o.page&&(o.pageIndex=o.page._pageIndex,delete o.page),l&&(t.set(a,l),e.update(`${a}:${JSON.stringify(l)}`),r||(r=!!l.bitmap))}if(r)for(const a of t.values())a.bitmap&&s.push(a.bitmap);return t.size>0?{map:t,hash:e.hexdigest(),transfer:s}:Jh}get editorStats(){let t=null;const e=new Map;let s=0,i=0;for(const r of n(this,He).values()){if(!(r instanceof Pt)){r.popup&&(r.popup.deleted?i+=1:s+=1);continue}r.isCommentDeleted?i+=1:r.hasEditedComment&&(s+=1);const a=r.telemetryFinalData;if(!a)continue;const{type:o}=a;e.getOrInsertComputed(o,()=>Object.getPrototypeOf(r).constructor),t||(t=Object.create(null));const l=t[o]||(t[o]=new Map);for(const[c,h]of Object.entries(a)){if(c==="type")continue;const d=l.getOrInsertComputed(c,Hm);d.set(h,(d.get(h)??0)+1)}}if((i>0||s>0)&&(t||(t=Object.create(null)),t.comments={deleted:i,edited:s}),!t)return null;for(const[r,a]of e)t[r]=a.computeTelemetryFinalData(t[r]);return t}resetModifiedIds(){p(this,ho,null)}updateEditor(t,e){var i;const s=(i=n(this,Vn))==null?void 0:i.get(t);return s?(s.updateFromAnnotationLayer(e),!0):!1}getEditor(t){var e;return((e=n(this,Vn))==null?void 0:e.get(t))||null}get modifiedIds(){if(n(this,ho))return n(this,ho);const t=[];if(n(this,Vn))for(const s of n(this,Vn).values())s.serialize()&&t.push(s.annotationElementId);let e="";if(t.length){const s=new Tg;s.update(t.join(",")),e=s.hexdigest()}return p(this,ho,{ids:new Set(t),hash:e})}[Symbol.iterator](){return n(this,He).entries()}}co=new WeakMap,ho=new WeakMap,Vn=new WeakMap,He=new WeakMap,lp=new WeakSet,Bb=function(){var t;n(this,co)||(p(this,co,!0),(t=this.onSetModified)==null||t.call(this))};var Td;class $b extends jm{constructor(e){super();m(this,Td,Jh);const{serializable:s}=e;if(s===Jh)return;const{map:i,hash:r,transfer:a}=s,o=structuredClone(i,a?{transfer:a}:null);p(this,Td,{map:o,hash:r,transfer:[]})}get print(){Ct("Should not call PrintAnnotationStorage.print")}get serializable(){return n(this,Td)}get modifiedIds(){return at(this,"modifiedIds",{ids:new Set,hash:""})}}Td=new WeakMap;const Dl="__forcedDependency",{floor:yv,ceil:wv}=Math;function Av(u,t,e,s,i,r){u[t*4+0]=Math.min(u[t*4+0],e),u[t*4+1]=Math.min(u[t*4+1],s),u[t*4+2]=Math.max(u[t*4+2],i),u[t*4+3]=Math.max(u[t*4+3],r)}function VS(u,t,e,s,i){let r;u?(u<0&&(r=i[0],i[0]=i[2],i[2]=r),i[0]*=u,i[2]*=u,t<0&&(r=i[1],i[1]=i[3],i[3]=r),i[1]*=t,i[3]*=t):i.fill(0),i[0]+=e,i[1]+=s,i[2]+=e,i[3]+=s}const Pg=new Uint32Array(new Uint8Array([255,255,0,0]).buffer)[0];var cc,qr;class GS{constructor(t,e){m(this,cc);m(this,qr);p(this,cc,t),p(this,qr,e)}get length(){return n(this,cc).length}isEmpty(t){return n(this,cc)[t]===Pg}minX(t){return n(this,qr)[t*4+0]/256}minY(t){return n(this,qr)[t*4+1]/256}maxX(t){return(n(this,qr)[t*4+2]+1)/256}maxY(t){return(n(this,qr)[t*4+3]+1)/256}}cc=new WeakMap,qr=new WeakMap;const Sv=(u,t)=>u==null?void 0:u.getOrInsertComputed(t,()=>({dependencies:new Set,isRenderingOperation:!1}));var Gn,Tt,Kt,uo,fo,po,ts,Pd,Mg;class jS{constructor(t,e){m(this,Pd);m(this,Gn,[[1,0,0,1,0,0]]);m(this,Tt,[-1/0,-1/0,1/0,1/0]);m(this,Kt,new Float64Array(mr));M(this,"_pendingBBoxIdx",-1);m(this,uo);m(this,fo);m(this,po);m(this,ts);M(this,"_savesStack",[]);M(this,"_markedContentStack",[]);p(this,uo,t.width),p(this,fo,t.height),v(this,Pd,Mg).call(this,e)}growOperationsCount(t){t>=n(this,ts).length&&v(this,Pd,Mg).call(this,t,n(this,ts))}get clipBox(){return n(this,Tt)}save(t){return p(this,Tt,{__proto__:n(this,Tt)}),this._savesStack.push(t),this}restore(t,e){const s=Object.getPrototypeOf(n(this,Tt));if(s===null)return this;p(this,Tt,s);const i=this._savesStack.pop();return i!==void 0&&(e==null||e(i,t),n(this,ts)[t]=n(this,ts)[i]),this}recordOpenMarker(t){return this._savesStack.push(t),this}getOpenMarker(){return this._savesStack.length===0?null:this._savesStack.at(-1)}recordCloseMarker(t,e){const s=this._savesStack.pop();return s!==void 0&&(e==null||e(s,t),n(this,ts)[t]=n(this,ts)[s]),this}beginMarkedContent(t){return this._markedContentStack.push(t),this}endMarkedContent(t,e){const s=this._markedContentStack.pop();return s!==void 0&&(e==null||e(s,t),n(this,ts)[t]=n(this,ts)[s]),this}pushBaseTransform(t){return n(this,Gn).push(B.multiplyByDOMMatrix(n(this,Gn).at(-1),t.getTransform())),this}popBaseTransform(){return n(this,Gn).length>1&&n(this,Gn).pop(),this}resetBBox(t){return this._pendingBBoxIdx!==t&&(this._pendingBBoxIdx=t,n(this,Kt).set(mr,0)),this}recordClipBox(t,e,s,i,r,a){const o=B.multiplyByDOMMatrix(n(this,Gn).at(-1),e.getTransform()),l=mr.slice();B.axialAlignedBoundingBox([s,r,i,a],o,l);const c=B.intersect(n(this,Tt),l);return c?(n(this,Tt)[0]=c[0],n(this,Tt)[1]=c[1],n(this,Tt)[2]=c[2],n(this,Tt)[3]=c[3]):(n(this,Tt)[0]=n(this,Tt)[1]=1/0,n(this,Tt)[2]=n(this,Tt)[3]=-1/0),this}recordBBox(t,e,s,i,r,a){const o=n(this,Tt);if(o[0]===1/0)return this;const l=B.multiplyByDOMMatrix(n(this,Gn).at(-1),e.getTransform());if(o[0]===-1/0)return B.axialAlignedBoundingBox([s,r,i,a],l,n(this,Kt)),this;const c=mr.slice();return B.axialAlignedBoundingBox([s,r,i,a],l,c),n(this,Kt)[0]=Qt(c[0],o[0],n(this,Kt)[0]),n(this,Kt)[1]=Qt(c[1],o[1],n(this,Kt)[1]),n(this,Kt)[2]=Qt(c[2],n(this,Kt)[2],o[2]),n(this,Kt)[3]=Qt(c[3],n(this,Kt)[3],o[3]),this}recordFullPageBBox(t){return n(this,Kt)[0]=Math.max(0,n(this,Tt)[0]),n(this,Kt)[1]=Math.max(0,n(this,Tt)[1]),n(this,Kt)[2]=Math.min(n(this,uo),n(this,Tt)[2]),n(this,Kt)[3]=Math.min(n(this,fo),n(this,Tt)[3]),this}recordOperation(t,e=!1,s){if(this._pendingBBoxIdx!==t)return this;const i=yv(n(this,Kt)[0]*256/n(this,uo)),r=yv(n(this,Kt)[1]*256/n(this,fo)),a=wv(n(this,Kt)[2]*256/n(this,uo)),o=wv(n(this,Kt)[3]*256/n(this,fo));if(Av(n(this,po),t,i,r,a,o),s)for(const l of s)for(const c of l)c!==t&&Av(n(this,po),c,i,r,a,o);return e||(this._pendingBBoxIdx=-1),this}bboxToClipBoxDropOperation(t){return this._pendingBBoxIdx===t&&(this._pendingBBoxIdx=-1,n(this,Tt)[0]=Math.max(n(this,Tt)[0],n(this,Kt)[0]),n(this,Tt)[1]=Math.max(n(this,Tt)[1],n(this,Kt)[1]),n(this,Tt)[2]=Math.min(n(this,Tt)[2],n(this,Kt)[2]),n(this,Tt)[3]=Math.min(n(this,Tt)[3],n(this,Kt)[3])),this}take(){return new GS(n(this,ts),n(this,po))}takeDebugMetadata(){throw new Error("Unreachable")}recordSimpleData(t,e){return this}recordIncrementalData(t,e){return this}resetIncrementalData(t,e){return this}recordNamedData(t,e){return this}recordSimpleDataFromNamed(t,e,s){return this}recordFutureForcedDependency(t,e){return this}inheritSimpleDataAsFutureForcedDependencies(t){return this}inheritPendingDependenciesAsFutureForcedDependencies(){return this}recordCharacterBBox(t,e,s,i=1,r=0,a=0,o){return this}getSimpleIndex(t){}recordDependencies(t,e){return this}recordNamedDependency(t,e){return this}recordShowTextOperation(t,e=!1){return this}}Gn=new WeakMap,Tt=new WeakMap,Kt=new WeakMap,uo=new WeakMap,fo=new WeakMap,po=new WeakMap,ts=new WeakMap,Pd=new WeakSet,Mg=function(t,e){const s=new ArrayBuffer(t*4);p(this,po,new Uint8ClampedArray(s)),p(this,ts,new Uint32Array(s)),e&&e.length>0?(n(this,ts).set(e),n(this,ts).fill(Pg,e.length)):n(this,ts).fill(Pg)};var As,Ss,go,Li,hc,Yr,Kr,Rt;class WS{constructor(t,e=!1){m(this,As,{__proto__:null});m(this,Ss,{__proto__:null,transform:[],moveText:[],sameLineText:[],[Dl]:[]});m(this,go,new Map);m(this,Li,new Set);m(this,hc,new Map);m(this,Yr);m(this,Kr);m(this,Rt);p(this,Rt,t),e&&(p(this,Yr,new Map),p(this,Kr,(s,i)=>{Sv(n(this,Yr),i).dependencies.add(s)}))}get clipBox(){return n(this,Rt).clipBox}growOperationsCount(t){n(this,Rt).growOperationsCount(t)}save(t){return p(this,As,{__proto__:n(this,As)}),p(this,Ss,{__proto__:n(this,Ss),transform:{__proto__:n(this,Ss).transform},moveText:{__proto__:n(this,Ss).moveText},sameLineText:{__proto__:n(this,Ss).sameLineText},[Dl]:{__proto__:n(this,Ss)[Dl]}}),n(this,Rt).save(t),this}restore(t){n(this,Rt).restore(t,n(this,Kr));const e=Object.getPrototypeOf(n(this,As));return e===null?this:(p(this,As,e),p(this,Ss,Object.getPrototypeOf(n(this,Ss))),this)}recordOpenMarker(t){return n(this,Rt).recordOpenMarker(t,n(this,Kr)),this}getOpenMarker(){return n(this,Rt).getOpenMarker()}recordCloseMarker(t){return n(this,Rt).recordCloseMarker(t,n(this,Kr)),this}beginMarkedContent(t){return n(this,Rt).beginMarkedContent(t),this}endMarkedContent(t){return n(this,Rt).endMarkedContent(t,n(this,Kr)),this}pushBaseTransform(t){return n(this,Rt).pushBaseTransform(t),this}popBaseTransform(){return n(this,Rt).popBaseTransform(),this}recordSimpleData(t,e){return n(this,As)[t]=e,this}recordIncrementalData(t,e){return n(this,Ss)[t].push(e),this}resetIncrementalData(t,e){return n(this,Ss)[t].length=0,this}recordNamedData(t,e){return n(this,go).set(t,e),this}recordSimpleDataFromNamed(t,e,s){n(this,As)[t]=n(this,go).get(e)??s}recordFutureForcedDependency(t,e){return this.recordIncrementalData(Dl,e),this}inheritSimpleDataAsFutureForcedDependencies(t){for(const e of t)e in n(this,As)&&this.recordFutureForcedDependency(e,n(this,As)[e]);return this}inheritPendingDependenciesAsFutureForcedDependencies(){for(const t of n(this,Li))this.recordFutureForcedDependency(Dl,t);return this}resetBBox(t){return n(this,Rt).resetBBox(t),this}recordClipBox(t,e,s,i,r,a){return n(this,Rt).recordClipBox(t,e,s,i,r,a),this}recordBBox(t,e,s,i,r,a){return n(this,Rt).recordBBox(t,e,s,i,r,a),this}recordCharacterBBox(t,e,s,i=1,r=0,a=0,o){const l=s.bbox;let c,h;if(l&&(c=l[2]!==l[0]&&l[3]!==l[1]&&n(this,hc).get(s),c!==!1&&(h=[0,0,0,0],B.axialAlignedBoundingBox(l,s.fontMatrix,h),(i!==1||r!==0||a!==0)&&VS(i,-i,r,a,h),c)))return this.recordBBox(t,e,h[0],h[2],h[1],h[3]);if(!o)return this.recordFullPageBBox(t);const d=o();return l&&h&&c===void 0&&(c=h[0]<=r-d.actualBoundingBoxLeft&&h[2]>=r+d.actualBoundingBoxRight&&h[1]<=a-d.actualBoundingBoxAscent&&h[3]>=a+d.actualBoundingBoxDescent,n(this,hc).set(s,c),c)?this.recordBBox(t,e,h[0],h[2],h[1],h[3]):this.recordBBox(t,e,r-d.actualBoundingBoxLeft,r+d.actualBoundingBoxRight,a-d.actualBoundingBoxAscent,a+d.actualBoundingBoxDescent)}recordFullPageBBox(t){return n(this,Rt).recordFullPageBBox(t),this}getSimpleIndex(t){return n(this,As)[t]}recordDependencies(t,e){const s=n(this,Li),i=n(this,As),r=n(this,Ss);for(const a of e)a in n(this,As)?s.add(i[a]):a in r&&r[a].forEach(s.add,s);return this}recordNamedDependency(t,e){return n(this,go).has(e)&&n(this,Li).add(n(this,go).get(e)),this}recordOperation(t,e=!1){if(this.recordDependencies(t,[Dl]),n(this,Yr)){const i=Sv(n(this,Yr),t),{dependencies:r}=i;n(this,Li).forEach(r.add,r),n(this,Rt)._savesStack.forEach(r.add,r),n(this,Rt)._markedContentStack.forEach(r.add,r),r.delete(t),i.isRenderingOperation=!0}const s=!e&&t===n(this,Rt)._pendingBBoxIdx;return n(this,Rt).recordOperation(t,e,[n(this,Li),n(this,Rt)._savesStack,n(this,Rt)._markedContentStack]),s&&n(this,Li).clear(),this}recordShowTextOperation(t,e=!1){const s=Array.from(n(this,Li));this.recordOperation(t,e),this.recordIncrementalData("sameLineText",t);for(const i of s)this.recordIncrementalData("sameLineText",i);return this}bboxToClipBoxDropOperation(t,e=!1){const s=!e&&t===n(this,Rt)._pendingBBoxIdx;return n(this,Rt).bboxToClipBoxDropOperation(t),s&&n(this,Li).clear(),this}take(){return n(this,hc).clear(),n(this,Rt).take()}takeDebugMetadata(){return n(this,Yr)}}As=new WeakMap,Ss=new WeakMap,go=new WeakMap,Li=new WeakMap,hc=new WeakMap,Yr=new WeakMap,Kr=new WeakMap,Rt=new WeakMap;var Nt,he,Fi,dc,uc;const Zm=class Zm{constructor(t,e,s){m(this,Nt);m(this,he);m(this,Fi);m(this,dc,0);m(this,uc,0);if(t instanceof Zm&&n(t,Fi)===!!s)return t;p(this,Nt,t),p(this,he,e),p(this,Fi,!!s)}get clipBox(){return n(this,Nt).clipBox}growOperationsCount(){throw new Error("Unreachable")}save(t){return qt(this,uc)._++,n(this,Nt).save(n(this,he)),this}restore(t){return n(this,uc)>0&&(n(this,Nt).restore(n(this,he)),qt(this,uc)._--),this}recordOpenMarker(t){return qt(this,dc)._++,this}getOpenMarker(){return n(this,dc)>0?n(this,he):n(this,Nt).getOpenMarker()}recordCloseMarker(t){return qt(this,dc)._--,this}beginMarkedContent(t){return this}endMarkedContent(t){return this}pushBaseTransform(t){return n(this,Nt).pushBaseTransform(t),this}popBaseTransform(){return n(this,Nt).popBaseTransform(),this}recordSimpleData(t,e){return n(this,Nt).recordSimpleData(t,n(this,he)),this}recordIncrementalData(t,e){return n(this,Nt).recordIncrementalData(t,n(this,he)),this}resetIncrementalData(t,e){return n(this,Nt).resetIncrementalData(t,n(this,he)),this}recordNamedData(t,e){return this}recordSimpleDataFromNamed(t,e,s){return n(this,Nt).recordSimpleDataFromNamed(t,e,n(this,he)),this}recordFutureForcedDependency(t,e){return n(this,Nt).recordFutureForcedDependency(t,n(this,he)),this}inheritSimpleDataAsFutureForcedDependencies(t){return n(this,Nt).inheritSimpleDataAsFutureForcedDependencies(t),this}inheritPendingDependenciesAsFutureForcedDependencies(){return n(this,Nt).inheritPendingDependenciesAsFutureForcedDependencies(),this}resetBBox(t){return n(this,Fi)||n(this,Nt).resetBBox(n(this,he)),this}recordClipBox(t,e,s,i,r,a){return n(this,Fi)||n(this,Nt).recordClipBox(n(this,he),e,s,i,r,a),this}recordBBox(t,e,s,i,r,a){return n(this,Fi)||n(this,Nt).recordBBox(n(this,he),e,s,i,r,a),this}recordCharacterBBox(t,e,s,i,r,a,o){return n(this,Fi)||n(this,Nt).recordCharacterBBox(n(this,he),e,s,i,r,a,o),this}recordFullPageBBox(t){return n(this,Fi)||n(this,Nt).recordFullPageBBox(n(this,he)),this}getSimpleIndex(t){return n(this,Nt).getSimpleIndex(t)}recordDependencies(t,e){return n(this,Nt).recordDependencies(n(this,he),e),this}recordNamedDependency(t,e){return n(this,Nt).recordNamedDependency(n(this,he),e),this}recordOperation(t){return n(this,Nt).recordOperation(n(this,he),!0),this}recordShowTextOperation(t){return n(this,Nt).recordShowTextOperation(n(this,he),!0),this}bboxToClipBoxDropOperation(t){return n(this,Fi)||n(this,Nt).bboxToClipBoxDropOperation(n(this,he),!0),this}take(){throw new Error("Unreachable")}takeDebugMetadata(){throw new Error("Unreachable")}};Nt=new WeakMap,he=new WeakMap,Fi=new WeakMap,dc=new WeakMap,uc=new WeakMap;let Zh=Zm;const oi={stroke:["path","transform","filter","strokeColor","strokeAlpha","lineWidth","lineCap","lineJoin","miterLimit","dash"],fill:["path","transform","filter","fillColor","fillAlpha","globalCompositeOperation","SMask"],imageXObject:["transform","SMask","filter","fillAlpha","strokeAlpha","globalCompositeOperation"],rawFillPath:["filter","fillColor","fillAlpha"],showText:["transform","leading","charSpacing","wordSpacing","hScale","textRise","moveText","textMatrix","font","fontObj","filter","fillColor","textRenderingMode","SMask","fillAlpha","strokeAlpha","globalCompositeOperation","sameLineText"],transform:["transform"],transformAndFill:["transform","fillColor"]};var mo,vo,bo,yo,wo,Md;const qh=class qh{constructor(t){m(this,mo);m(this,vo);m(this,bo,4);m(this,yo,0);m(this,wo,new(n(qh,Md))(n(this,bo)*6));p(this,mo,t.width),p(this,vo,t.height)}record(t,e,s,i){if(n(this,yo)===n(this,bo)){p(this,bo,n(this,bo)*2);const o=new(n(qh,Md))(n(this,bo)*6);o.set(n(this,wo)),p(this,wo,o)}const r=Wt(t);let a;if(i[0]!==1/0){const o=mr.slice();B.axialAlignedBoundingBox([0,-s,e,0],r,o);const l=B.intersect(i,o);if(!l)return;const[c,h,d,f]=l;if(c!==o[0]||h!==o[1]||d!==o[2]||f!==o[3]){const g=Math.atan2(r[1],r[0]),y=Math.abs(Math.sin(g)),b=Math.abs(Math.cos(g));if(y<1e-6||b<1e-6||Math.abs(y-b)<1e-6)a=[c,h,c,f,d,h];else{const S=d-c,w=f-h,x=y*y,A=b*b,C=b*y,_=A-x,k=(w*A-S*C)/_,I=(w*C-S*x)/_;a=[c+I,h,c,h+k,d,f-k]}}}a||(a=[0,-s,0,0,e,-s],B.applyTransform(a,r,0),B.applyTransform(a,r,2),B.applyTransform(a,r,4)),a[0]/=n(this,mo),a[1]/=n(this,vo),a[2]/=n(this,mo),a[3]/=n(this,vo),a[4]/=n(this,mo),a[5]/=n(this,vo),n(this,wo).set(a,n(this,yo)*6),qt(this,yo)._++}take(){return n(this,wo).subarray(0,n(this,yo)*6)}};mo=new WeakMap,vo=new WeakMap,bo=new WeakMap,yo=new WeakMap,wo=new WeakMap,Md=new WeakMap,m(qh,Md,$t.isFloat16ArraySupported?Float16Array:Float32Array);let Ig=qh;var fc,Oi,cp,Ub;class XS{constructor({ownerDocument:t=globalThis.document,styleElement:e=null}){m(this,cp);m(this,fc,new Set);m(this,Oi,null);this._document=t,this.nativeFontFaces=new Set,this.styleElement=null,this.loadingRequests=[],this.loadTestFontId=0}addNativeFontFace(t){this.nativeFontFaces.add(t),this._document.fonts.add(t)}removeNativeFontFace(t){this.nativeFontFaces.delete(t),this._document.fonts.delete(t)}insertRule(t){const e=v(this,cp,Ub).call(this);e.insertRule(t,e.cssRules.length)}clear(){for(const t of this.nativeFontFaces)this._document.fonts.delete(t);if(this.nativeFontFaces.clear(),n(this,fc).clear(),n(this,Oi)){const{adoptedStyleSheets:t}=this._document;t!=null&&t.includes(n(this,Oi))&&(this._document.adoptedStyleSheets=t.filter(e=>e!==n(this,Oi))),p(this,Oi,null)}this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}async loadSystemFont({systemFontInfo:t,disableFontFace:e,_inspectFont:s}){if(!(!t||n(this,fc).has(t.loadedName))){if(ne(!e,"loadSystemFont shouldn't be called when `disableFontFace` is set."),this.isFontLoadingAPISupported){const{loadedName:i,src:r,style:a}=t,o=new FontFace(i,r,a);this.addNativeFontFace(o);try{await o.load(),n(this,fc).add(i),s==null||s(t)}catch{lt(`Cannot load system font: ${t.baseFontName}, installing it could help to improve PDF rendering.`),this.removeNativeFontFace(o)}return}Ct("Not implemented: loadSystemFont without the Font Loading API.")}}async bind(t){if(t.attached||t.missingFile&&!t.systemFontInfo)return;if(t.attached=!0,t.systemFontInfo){await this.loadSystemFont(t);return}if(this.isFontLoadingAPISupported){const s=t.createNativeFontFace();if(s){this.addNativeFontFace(s);try{await s.loaded}catch(i){throw lt(`Failed to load font '${s.family}': '${i}'.`),t.disableFontFace=!0,i}}return}const e=t.createFontFaceRule();if(e){if(this.insertRule(e),this.isSyncFontLoadingSupported)return;await new Promise(s=>{const i=this._queueLoadingCallback(s);this._prepareFontLoadEvent(t,i)})}}get isFontLoadingAPISupported(){var e;const t=!!((e=this._document)!=null&&e.fonts);return at(this,"isFontLoadingAPISupported",t)}get isSyncFontLoadingSupported(){return at(this,"isSyncFontLoadingSupported",ei||$t.platform.isFirefox)}_queueLoadingCallback(t){function e(){for(ne(!i.done,"completeRequest() cannot be called twice."),i.done=!0;s.length>0&&s[0].done;){const r=s.shift();setTimeout(r.callback,0)}}const{loadingRequests:s}=this,i={done:!1,complete:e,callback:t};return s.push(i),i}get _loadTestFont(){const t=atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA==");return at(this,"_loadTestFont",t)}_prepareFontLoadEvent(t,e){function s(_,k){return _.charCodeAt(k)<<24|_.charCodeAt(k+1)<<16|_.charCodeAt(k+2)<<8|_.charCodeAt(k+3)&255}function i(_){return String.fromCharCode(_>>24&255,_>>16&255,_>>8&255,_&255)}function r(_,k,I,L){const P=_.substring(0,k),D=_.substring(k+I);return P+L+D}let a,o;const l=this._document.createElement("canvas");l.width=1,l.height=1;const c=l.getContext("2d");let h=0;function d(_,k){if(++h>30){lt("Load test font never loaded."),k();return}if(c.font="30px "+_,c.fillText(".",0,20),c.getImageData(0,0,1,1).data[3]>0){k();return}setTimeout(d.bind(null,_,k))}const f=`lt${Date.now()}${this.loadTestFontId++}`;let g=this._loadTestFont;g=r(g,976,f.length,f);const b=16,S=1482184792;let w=s(g,b);for(a=0,o=f.length-3;a{C.remove(),e.complete()})}}fc=new WeakMap,Oi=new WeakMap,cp=new WeakSet,Ub=function(){var e;if(n(this,Oi))return n(this,Oi);const t=((e=this._document.defaultView)==null?void 0:e.CSSStyleSheet)||globalThis.CSSStyleSheet;if(!this.styleElement&&t){const{adoptedStyleSheets:s}=this._document;if(s){const i=new t;return s.push(i),p(this,Oi,i)}}return this.styleElement||(this.styleElement=this._document.createElement("style"),this._document.documentElement.getElementsByTagName("head")[0].append(this.styleElement)),p(this,Oi,this.styleElement.sheet)};var Bt;class qS{constructor(t,e=null,s,i){M(this,"compiledGlyphs",Object.create(null));m(this,Bt);p(this,Bt,t),this._inspectFont=e,s&&(this.charProcOperatorList=s),i&&Object.assign(this,i)}createNativeFontFace(){var e;if(!this.data||this.disableFontFace)return null;let t;if(!this.cssFontInfo)t=new FontFace(this.loadedName,this.data,{});else{const s={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(s.style=`oblique ${this.cssFontInfo.italicAngle}deg`),t=new FontFace(this.cssFontInfo.fontFamily,this.data,s)}return(e=this._inspectFont)==null||e.call(this,this),t}createFontFaceRule(){var s;if(!this.data||this.disableFontFace)return null;const t=`url(data:${this.mimetype};base64,${this.data.toBase64()});`;let e;if(!this.cssFontInfo)e=`@font-face {font-family:"${this.loadedName}";src:${t}}`;else{let i=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(i+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),e=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${i}src:${t}}`}return(s=this._inspectFont)==null||s.call(this,this,t),e}getPathGenerator(t,e){if(this.compiledGlyphs[e]!==void 0)return this.compiledGlyphs[e];const s=this.loadedName+"_path_"+e;let i;try{i=t.get(s)}catch(a){lt(`getPathGenerator - ignoring character: "${a}".`)}const r=nb(i==null?void 0:i.path);return this.fontExtraProperties||t.delete(s),this.compiledGlyphs[e]=r}get black(){return n(this,Bt).black}get bold(){return n(this,Bt).bold}get disableFontFace(){return n(this,Bt).disableFontFace}set disableFontFace(t){at(this,"disableFontFace",!!t)}get fontExtraProperties(){return n(this,Bt).fontExtraProperties}get isInvalidPDFjsFont(){return n(this,Bt).isInvalidPDFjsFont}get isType3Font(){return n(this,Bt).isType3Font}get italic(){return n(this,Bt).italic}get missingFile(){return n(this,Bt).missingFile}get remeasure(){return n(this,Bt).remeasure}get vertical(){return n(this,Bt).vertical}get ascent(){return n(this,Bt).ascent}get defaultWidth(){return n(this,Bt).defaultWidth}get descent(){return n(this,Bt).descent}get bbox(){return n(this,Bt).bbox}get fontMatrix(){return n(this,Bt).fontMatrix}get fallbackName(){return n(this,Bt).fallbackName}get loadedName(){return n(this,Bt).loadedName}get mimetype(){return n(this,Bt).mimetype}get name(){return n(this,Bt).name}get data(){return n(this,Bt).data}clearData(){n(this,Bt).clearData()}get cssFontInfo(){return n(this,Bt).cssFontInfo}get systemFontInfo(){return n(this,Bt).systemFontInfo}get defaultVMetrics(){return n(this,Bt).defaultVMetrics}}Bt=new WeakMap;class Hb{}M(Hb,"strings",["fontFamily","fontWeight","italicAngle"]);class zb{}M(zb,"strings",["css","loadedName","baseFontName","src"]);const Qe=class Qe{};M(Qe,"bools",["black","bold","disableFontFace","fontExtraProperties","isInvalidPDFjsFont","isType3Font","italic","missingFile","remeasure","vertical"]),M(Qe,"numbers",["ascent","defaultWidth","descent"]),M(Qe,"strings",["fallbackName","loadedName","mimetype","name"]),M(Qe,"OFFSET_NUMBERS",Math.ceil(Qe.bools.length*2/8)),M(Qe,"OFFSET_BBOX",Qe.OFFSET_NUMBERS+Qe.numbers.length*8),M(Qe,"OFFSET_FONT_MATRIX",Qe.OFFSET_BBOX+1+8),M(Qe,"OFFSET_DEFAULT_VMETRICS",Qe.OFFSET_FONT_MATRIX+1+48),M(Qe,"OFFSET_STRINGS",Qe.OFFSET_DEFAULT_VMETRICS+1+6);let Fs=Qe;class fs{}M(fs,"KIND",0),M(fs,"HAS_BBOX",1),M(fs,"HAS_BACKGROUND",2),M(fs,"SHADING_TYPE",3),M(fs,"N_COORD",4),M(fs,"N_COLOR",8),M(fs,"N_STOP",12),M(fs,"N_FIGURES",16);var Id,hp,pc,gc,uf;class YS{constructor(t){m(this,gc);m(this,Id);m(this,hp,new TextDecoder);m(this,pc);p(this,Id,t),p(this,pc,new DataView(t))}get fontFamily(){return v(this,gc,uf).call(this,0)}get fontWeight(){return v(this,gc,uf).call(this,1)}get italicAngle(){return v(this,gc,uf).call(this,2)}}Id=new WeakMap,hp=new WeakMap,pc=new WeakMap,gc=new WeakSet,uf=function(t){ne(t>s&3;return i===0?void 0:i===2},ff=function(t){return ne(t0){b=mr.slice();for(let S=0,w=c.length;Stypeof u=="object"&&Number.isInteger(u==null?void 0:u.num)&&u.num>=0&&Number.isInteger(u==null?void 0:u.gen)&&u.gen>=0,s1=u=>typeof u=="object"&&typeof(u==null?void 0:u.name)=="string",i1=MS.bind(null,Lg,s1);var jn,up;class n1{constructor(){m(this,jn,new Map);m(this,up,Promise.resolve())}postMessage(t,e){const s={data:structuredClone(t,e?{transfer:e}:null)};n(this,up).then(()=>{for(const[i]of n(this,jn))i.call(this,s)})}addEventListener(t,e,s=null){let i=null;if((s==null?void 0:s.signal)instanceof AbortSignal){const{signal:r}=s;if(r.aborted){lt("LoopbackPort - cannot use an `aborted` signal.");return}const a=()=>this.removeEventListener(t,e);i=()=>r.removeEventListener("abort",a),r.addEventListener("abort",a)}n(this,jn).set(e,i)}removeEventListener(t,e){const s=n(this,jn).get(e);s==null||s(),n(this,jn).delete(e)}terminate(){for(const[,t]of n(this,jn))t==null||t();n(this,jn).clear()}}jn=new WeakMap,up=new WeakMap;const Ku={DATA:1,ERROR:2},ve={CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function xv(){}function vs(u){if(u instanceof _a||u instanceof og||u instanceof ag||u instanceof Xf||u instanceof Yp)return u;switch(u instanceof Error||typeof u=="object"&&u!==null||Ct('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),u.name){case"AbortException":return new _a(u.message);case"InvalidPDFException":return new og(u.message);case"PasswordException":return new ag(u.message,u.code);case"ResponseException":return new Xf(u.message,u.status,u.missing);case"UnknownErrorException":return new Yp(u.message,u.details)}return new Yp(u.message,u.toString())}var bc,Ei,Vb,Gb,jb,gf;class Ih{constructor(t,e,s){m(this,Ei);m(this,bc,new AbortController);this.sourceName=t,this.targetName=e,this.comObj=s,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),s.addEventListener("message",v(this,Ei,Vb).bind(this),{signal:n(this,bc).signal})}on(t,e){const s=this.actionHandler;if(s[t])throw new Error(`There is already an actionName called "${t}"`);s[t]=e}send(t,e,s){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,data:e},s)}sendWithPromise(t,e,s){const i=this.callbackId++,r=Promise.withResolvers();this.callbackCapabilities[i]=r;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,callbackId:i,data:e},s)}catch(a){r.reject(a)}return r.promise}sendWithStream(t,e,s,i){const r=this.streamId++,a=this.sourceName,o=this.targetName,l=this.comObj;return new ReadableStream({start:c=>{const h=Promise.withResolvers();return this.streamControllers[r]={controller:c,startCall:h,pullCall:null,cancelCall:null,isClosed:!1},l.postMessage({sourceName:a,targetName:o,action:t,streamId:r,data:e,desiredSize:c.desiredSize},i),h.promise},pull:c=>{const h=Promise.withResolvers();return this.streamControllers[r].pullCall=h,l.postMessage({sourceName:a,targetName:o,stream:ve.PULL,streamId:r,desiredSize:c.desiredSize}),h.promise},cancel:c=>{ne(c instanceof Error,"cancel must have a valid reason");const h=Promise.withResolvers();return this.streamControllers[r].cancelCall=h,this.streamControllers[r].isClosed=!0,l.postMessage({sourceName:a,targetName:o,stream:ve.CANCEL,streamId:r,reason:vs(c)}),h.promise}},s)}destroy(){var t;(t=n(this,bc))==null||t.abort(),p(this,bc,null)}}bc=new WeakMap,Ei=new WeakSet,Vb=function({data:t}){if(t.targetName!==this.sourceName)return;if(t.stream){v(this,Ei,jb).call(this,t);return}if(t.callback){const s=t.callbackId,i=this.callbackCapabilities[s];if(!i)throw new Error(`Cannot resolve callback ${s}`);if(delete this.callbackCapabilities[s],t.callback===Ku.DATA)i.resolve(t.data);else if(t.callback===Ku.ERROR)i.reject(vs(t.reason));else throw new Error("Unexpected callback case");return}const e=this.actionHandler[t.action];if(!e)throw new Error(`Unknown action from worker: ${t.action}`);if(t.callbackId){const s=this.sourceName,i=t.sourceName,r=this.comObj;Promise.try(e,t.data).then(function(a){r.postMessage({sourceName:s,targetName:i,callback:Ku.DATA,callbackId:t.callbackId,data:a})},function(a){r.postMessage({sourceName:s,targetName:i,callback:Ku.ERROR,callbackId:t.callbackId,reason:vs(a)})});return}if(t.streamId){v(this,Ei,Gb).call(this,t);return}e(t.data)},Gb=function(t){const e=t.streamId,s=this.sourceName,i=t.sourceName,r=this.comObj,a=this,o=this.actionHandler[t.action],l={enqueue(c,h=1,d){if(this.isCancelled)return;const f=this.desiredSize;this.desiredSize-=h,f>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),r.postMessage({sourceName:s,targetName:i,stream:ve.ENQUEUE,streamId:e,chunk:c},d)},close(){this.isCancelled||(this.isCancelled=!0,r.postMessage({sourceName:s,targetName:i,stream:ve.CLOSE,streamId:e}),delete a.streamSinks[e])},error(c){ne(c instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,r.postMessage({sourceName:s,targetName:i,stream:ve.ERROR,streamId:e,reason:vs(c)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:t.desiredSize,ready:null};l.sinkCapability.resolve(),l.ready=l.sinkCapability.promise,this.streamSinks[e]=l,Promise.try(o,t.data,l).then(function(){r.postMessage({sourceName:s,targetName:i,stream:ve.START_COMPLETE,streamId:e,success:!0})},function(c){r.postMessage({sourceName:s,targetName:i,stream:ve.START_COMPLETE,streamId:e,reason:vs(c)})})},jb=function(t){const e=t.streamId,s=this.sourceName,i=t.sourceName,r=this.comObj,a=this.streamControllers[e],o=this.streamSinks[e];switch(t.stream){case ve.START_COMPLETE:t.success?a.startCall.resolve():a.startCall.reject(vs(t.reason));break;case ve.PULL_COMPLETE:t.success?a.pullCall.resolve():a.pullCall.reject(vs(t.reason));break;case ve.PULL:if(!o){r.postMessage({sourceName:s,targetName:i,stream:ve.PULL_COMPLETE,streamId:e,success:!0});break}o.desiredSize<=0&&t.desiredSize>0&&o.sinkCapability.resolve(),o.desiredSize=t.desiredSize,Promise.try(o.onPull||xv).then(function(){r.postMessage({sourceName:s,targetName:i,stream:ve.PULL_COMPLETE,streamId:e,success:!0})},function(c){r.postMessage({sourceName:s,targetName:i,stream:ve.PULL_COMPLETE,streamId:e,reason:vs(c)})});break;case ve.ENQUEUE:if(ne(a,"enqueue should have stream controller"),a.isClosed)break;a.controller.enqueue(t.chunk);break;case ve.CLOSE:if(ne(a,"close should have stream controller"),a.isClosed)break;a.isClosed=!0,a.controller.close(),v(this,Ei,gf).call(this,a,e);break;case ve.ERROR:ne(a,"error should have stream controller"),a.controller.error(vs(t.reason)),v(this,Ei,gf).call(this,a,e);break;case ve.CANCEL_COMPLETE:t.success?a.cancelCall.resolve():a.cancelCall.reject(vs(t.reason)),v(this,Ei,gf).call(this,a,e);break;case ve.CANCEL:if(!o)break;const l=vs(t.reason);Promise.try(o.onCancel||xv,l).then(function(){r.postMessage({sourceName:s,targetName:i,stream:ve.CANCEL_COMPLETE,streamId:e,success:!0})},function(c){r.postMessage({sourceName:s,targetName:i,stream:ve.CANCEL_COMPLETE,streamId:e,reason:vs(c)})}),o.sinkCapability.reject(l),o.isCancelled=!0,delete this.streamSinks[e];break;default:throw new Error("Unexpected stream case")}},gf=async function(t,e){var s,i,r;await Promise.allSettled([(s=t.startCall)==null?void 0:s.promise,(i=t.pullCall)==null?void 0:i.promise,(r=t.cancelCall)==null?void 0:r.promise]),delete this.streamControllers[e]};var fp;class Wb{constructor({cMapUrl:t=null,standardFontDataUrl:e=null,wasmUrl:s=null}){m(this,fp,Object.freeze({cMapUrl:"CMap",standardFontDataUrl:"font",wasmUrl:"wasm"}));this.cMapUrl=t,this.standardFontDataUrl=e,this.wasmUrl=s}async fetch({kind:t,filename:e}){switch(t){case"cMapUrl":case"standardFontDataUrl":case"wasmUrl":break;default:Ct(`Not implemented: ${t}`)}const s=this[t];if(!s)throw new Error(`Ensure that the \`${t}\` API parameter is provided.`);const i=`${s}${e}`;return this._fetch(i,t).catch(r=>{throw new Error(`Unable to load ${n(this,fp)[t]} data at: ${i}`)})}async _fetch(t,e){Ct("Abstract method `_fetch` called.")}}fp=new WeakMap;class Ev extends Wb{async _fetch(t,e){const s=e==="cMapUrl"&&!t.endsWith(".bcmap")?"text":"bytes",i=await zm(t,s);return i instanceof Uint8Array?i:Op(i)}}var Dd;class Xb{constructor({enableHWA:t=!1}){m(this,Dd,!1);p(this,Dd,t)}create(t,e){if(t<=0||e<=0)throw new Error("Invalid canvas size");const s=this._createCanvas(t,e);return{canvas:s,context:s.getContext("2d",{willReadFrequently:!n(this,Dd)})}}reset({canvas:t},e,s){if(!t)throw new Error("Canvas is not specified");if(e<=0||s<=0)throw new Error("Invalid canvas size");t.width=e,t.height=s}destroy(t){const{canvas:e}=t;if(!e)throw new Error("Canvas is not specified");e.width=e.height=0,t.canvas=null,t.context=null}_createCanvas(t,e){Ct("Abstract method `_createCanvas` called.")}}Dd=new WeakMap;class r1 extends Xb{constructor({ownerDocument:t=globalThis.document,enableHWA:e=!1}){super({enableHWA:e}),this._document=t}_createCanvas(t,e){const s=this._document.createElement("canvas");return s.width=t,s.height=e,s}}class qb{addFilter(t){return"none"}addHCMFilter(t,e){return"none"}addAlphaFilter(t){return"none"}addLuminosityFilter(t){return"none"}addKnockoutFilter(t=0){return"none"}addHighlightHCMFilter(t,e,s,i,r){return"none"}addSelectionHCMFilter(t,e){return"none"}addSelectionFilter(){return"none"}createSelectionStyle(t=null){return null}destroy(t=!1){}}var xo,yc,Wn,ln,Ie,Eo,Qr,H,Te,Dh,xr,mf,Ra,Yb,Fg,Na,Lh,Fh,Og,Oh,Kb,Qb;class a1 extends qb{constructor({docId:e,ownerDocument:s=globalThis.document}){super();m(this,H);m(this,xo);m(this,yc);m(this,Wn);m(this,ln);m(this,Ie);m(this,Eo);m(this,Qr,0);p(this,ln,e),p(this,Ie,s)}addFilter(e){if(!e)return"none";let s=n(this,H,Te).get(e);if(s)return s;const[i,r,a]=v(this,H,mf).call(this,e),o=e.length===1?i:`${i}${r}${a}`;if(s=n(this,H,Te).get(o),s)return n(this,H,Te).set(e,s),s;const l=`g_${n(this,ln)}_transfer_map_${qt(this,Qr)._++}`,c=v(this,H,Ra).call(this,l);n(this,H,Te).set(e,c),n(this,H,Te).set(o,c);const h=v(this,H,Na).call(this,l);return v(this,H,Fh).call(this,i,r,a,h),c}addHCMFilter(e,s){var y;const i=`${e}-${s}`,r="base";let a=n(this,H,Dh).get(r);if((a==null?void 0:a.key)===i||(a?((y=a.filter)==null||y.remove(),a.key=i,a.url="none",a.filter=null):(a={key:i,url:"none",filter:null},n(this,H,Dh).set(r,a)),!e||!s))return a.url;const o=v(this,H,Oh).call(this,e);e=B.makeHexColor(...o);const l=v(this,H,Oh).call(this,s);if(s=B.makeHexColor(...l),n(this,H,xr).style.color="",e==="#000000"&&s==="#ffffff"||e===s)return a.url;const c=new Array(256);for(let b=0;b<=255;b++){const S=b/255;c[b]=S<=.03928?S/12.92:((S+.055)/1.055)**2.4}const h=c.join(","),d=`g_${n(this,ln)}_hcm_filter`,f=a.filter=v(this,H,Na).call(this,d);v(this,H,Fh).call(this,h,h,h,f),v(this,H,Fg).call(this,f);const g=(b,S)=>{const w=o[b]/255,x=l[b]/255,A=new Array(S+1);for(let C=0;C<=S;C++)A[C]=w+C/S*(x-w);return A.join(",")};return v(this,H,Fh).call(this,g(0,5),g(1,5),g(2,5),f),a.url=v(this,H,Ra).call(this,d),a.url}addSelectionHCMFilter(e,s){return this.addHighlightHCMFilter("selection",e,s,"HighlightText","Highlight")}addSelectionFilter(){return this.addHighlightHCMFilter("selection_default","black","white","HighlightText","Highlight")}createSelectionStyle(e=null){const s=e?this.addSelectionHCMFilter(e.foreground,e.background):this.addSelectionFilter();return s==="none"||!$t.platform.isFirefox?null:{"backdrop-filter":s,"background-color":"transparent"}}addAlphaFilter(e){let s=n(this,H,Te).get(e);if(s)return s;const[i]=v(this,H,mf).call(this,[e]),r=`alpha_${i}`;if(s=n(this,H,Te).get(r),s)return n(this,H,Te).set(e,s),s;const a=`g_${n(this,ln)}_alpha_map_${qt(this,Qr)._++}`,o=v(this,H,Ra).call(this,a);n(this,H,Te).set(e,o),n(this,H,Te).set(r,o);const l=v(this,H,Na).call(this,a);return v(this,H,Og).call(this,i,l),o}addLuminosityFilter(e){let s=n(this,H,Te).get(e||"luminosity");if(s)return s;let i,r;if(e?([i]=v(this,H,mf).call(this,[e]),r=`luminosity_${i}`):r="luminosity",s=n(this,H,Te).get(r),s)return n(this,H,Te).set(e,s),s;const a=`g_${n(this,ln)}_luminosity_map_${qt(this,Qr)._++}`,o=v(this,H,Ra).call(this,a);n(this,H,Te).set(e,o),n(this,H,Te).set(r,o);const l=v(this,H,Na).call(this,a);return v(this,H,Yb).call(this,l),e&&v(this,H,Og).call(this,i,l),o}addKnockoutFilter(e=0){const s=e>0?Math.min(1/e,1e6):1e6,i=`knockout_${s}`,r=n(this,H,Te).get(i);if(r)return r;const a=`g_${n(this,ln)}_knockout_filter_${qt(this,Qr)._++}`,o=v(this,H,Ra).call(this,a);n(this,H,Te).set(i,o);const l=v(this,H,Na).call(this,a),c=n(this,Ie).createElementNS(Rs,"feComponentTransfer");l.append(c);const h=n(this,Ie).createElementNS(Rs,"feFuncA");return h.setAttribute("type","linear"),h.setAttribute("slope",`${s}`),h.setAttribute("intercept","0"),c.append(h),o}addHighlightHCMFilter(e,s,i,r,a){var x;const o=`${s}-${i}-${r}-${a}`;let l=n(this,H,Dh).get(e);if((l==null?void 0:l.key)===o||(l?((x=l.filter)==null||x.remove(),l.key=o,l.url="none",l.filter=null):(l={key:o,url:"none",filter:null},n(this,H,Dh).set(e,l)),!s||!i))return l.url;const[c,h]=[s,i].map(v(this,H,Oh).bind(this));let d=Math.round(.2126*c[0]+.7152*c[1]+.0722*c[2]),f=Math.round(.2126*h[0]+.7152*h[1]+.0722*h[2]),[g,y]=[r,a].map(v(this,H,Qb).bind(this));f{const k=new Array(256),I=(f-d)/_,L=A/255,P=(C-A)/(255*_);let D=0;for(let R=0;R<=_;R++){const K=Math.round(d+R*I),W=L+R*P;for(let Q=D;Q<=K;Q++)k[Q]=W;D=K+1}for(let R=D;R<256;R++)k[R]=k[D-1];return k.join(",")},S=`g_${n(this,ln)}_hcm_${e}_filter`,w=l.filter=v(this,H,Na).call(this,S);return v(this,H,Fg).call(this,w),v(this,H,Fh).call(this,b(g[0],y[0],5),b(g[1],y[1],5),b(g[2],y[2],5),w),l.url=v(this,H,Ra).call(this,S),l.url}destroy(e=!1){var s,i,r,a;e&&((s=n(this,Eo))!=null&&s.size)||((i=n(this,Wn))==null||i.parentNode.parentNode.remove(),p(this,Wn,null),(r=n(this,yc))==null||r.clear(),p(this,yc,null),(a=n(this,Eo))==null||a.clear(),p(this,Eo,null),p(this,Qr,0))}}xo=new WeakMap,yc=new WeakMap,Wn=new WeakMap,ln=new WeakMap,Ie=new WeakMap,Eo=new WeakMap,Qr=new WeakMap,H=new WeakSet,Te=function(){return n(this,yc)||p(this,yc,new Map)},Dh=function(){return n(this,Eo)||p(this,Eo,new Map)},xr=function(){if(!n(this,Wn)){const e=n(this,Ie).createElement("div"),{style:s}=e;s.colorScheme="only light",s.visibility="hidden",s.contain="strict",s.width=s.height=0,s.position="absolute",s.top=s.left=0,s.zIndex=-1;const i=n(this,Ie).createElementNS(Rs,"svg");i.setAttribute("width",0),i.setAttribute("height",0),p(this,Wn,n(this,Ie).createElementNS(Rs,"defs")),e.append(i),i.append(n(this,Wn)),n(this,Ie).body.append(e)}return n(this,Wn)},mf=function(e){if(e.length===1){const c=e[0],h=new Array(256);for(let f=0;f<256;f++)h[f]=c[f]/255;const d=h.join(",");return[d,d,d]}const[s,i,r]=e,a=new Array(256),o=new Array(256),l=new Array(256);for(let c=0;c<256;c++)a[c]=s[c]/255,o[c]=i[c]/255,l[c]=r[c]/255;return[a.join(","),o.join(","),l.join(",")]},Ra=function(e){if(n(this,xo)===void 0){p(this,xo,"");const s=n(this,Ie).URL;s!==n(this,Ie).baseURI&&(Rp(s)?lt('#createUrl: ignore "data:"-URL for performance reasons.'):p(this,xo,tb(s,"")))}return`url(${n(this,xo)}#${e})`},Yb=function(e){const s=n(this,Ie).createElementNS(Rs,"feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0.59 0.11 0 0"),e.append(s)},Fg=function(e){const s=n(this,Ie).createElementNS(Rs,"feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("values","0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0"),e.append(s)},Na=function(e){const s=n(this,Ie).createElementNS(Rs,"filter");return s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("id",e),n(this,H,xr).append(s),s},Lh=function(e,s,i){const r=n(this,Ie).createElementNS(Rs,s);r.setAttribute("type","discrete"),r.setAttribute("tableValues",i),e.append(r)},Fh=function(e,s,i,r){const a=n(this,Ie).createElementNS(Rs,"feComponentTransfer");r.append(a),v(this,H,Lh).call(this,a,"feFuncR",e),v(this,H,Lh).call(this,a,"feFuncG",s),v(this,H,Lh).call(this,a,"feFuncB",i)},Og=function(e,s){const i=n(this,Ie).createElementNS(Rs,"feComponentTransfer");s.append(i),v(this,H,Lh).call(this,i,"feFuncA",e)},Oh=function(e){return n(this,H,xr).style.color=e,Wu(getComputedStyle(n(this,H,xr)).getPropertyValue("color"))},Kb=function(e){return n(this,H,xr).style.color=e,ju(getComputedStyle(n(this,H,xr)).getPropertyValue("color"))},Qb=function(e){const[s,i,r,a]=v(this,H,Kb).call(this,e);if(a===1)return[s,i,r];const[o,l,c]=v(this,H,Oh).call(this,"Canvas");return[Jp(s,o,a),Jp(i,l,a),Jp(r,c,a)]};function Jp(u,t,e){return Math.round(e*u+(1-e)*t)}ei&<("Please use the `legacy` build in Node.js environments.");async function o1(u){const e=await process.getBuiltinModule("fs/promises").readFile(u);return new Uint8Array(e)}class l1 extends qb{}class c1 extends Xb{_createCanvas(t,e){return process.getBuiltinModule("module").createRequire(import.meta.url)("@napi-rs/canvas").createCanvas(t,e)}}class h1 extends Wb{async _fetch(t,e){return o1(t)}}function Jb({src:u,srcPos:t=0,dest:e,width:s,height:i,nonBlackColor:r=4294967295,inverseDecode:a=!1}){const o=$t.isLittleEndian?4278190080:255,[l,c]=a?[r,o]:[o,r],h=s>>3,d=s&7,f=l^c,g=u.length;e=new Uint32Array(e.buffer);let y=0;for(let b=0;b>7&1)&f,e[y+1]=l^-(x>>6&1)&f,e[y+2]=l^-(x>>5&1)&f,e[y+3]=l^-(x>>4&1)&f,e[y+4]=l^-(x>>3&1)&f,e[y+5]=l^-(x>>2&1)&f,e[y+6]=l^-(x>>1&1)&f,e[y+7]=l^-(x&1)&f}if(d===0)continue;const S=t>7-w&1)&f}return{srcPos:t,destPos:y}}function d1({src:u,srcPos:t=0,dest:e,destPos:s=0,width:i,height:r}){let a=0;const o=i*r*3,l=o>>2,c=new Uint32Array(u.buffer,t,l),h=$t.isLittleEndian?4278190080:255;if($t.isLittleEndian){for(;a>>24|f<<8|h,e[s+2]=f>>>16|g<<16|h,e[s+3]=g>>>8|h}for(let d=a*4,f=t+o;d>>8|h,e[s+2]=f<<16|g>>>16|h,e[s+3]=g<<8|h}for(let d=a*4,f=t+o;d u : Uniforms; + +struct VertexInput { + @location(0) position : vec2, + @location(1) color : vec4, +}; + +struct VertexOutput { + @builtin(position) position : vec4, + @location(0) color : vec3, +}; + +@vertex +fn vs_main(in : VertexInput) -> VertexOutput { + var out : VertexOutput; + let cx = (in.position.x + u.offsetX) * u.scaleX; + let cy = (in.position.y + u.offsetY) * u.scaleY; + out.position = vec4( + ((cx + u.borderSize) / u.paddedWidth) * 2.0 - 1.0, + 1.0 - ((cy + u.borderSize) / u.paddedHeight) * 2.0, + 0.0, + 1.0 + ); + out.color = in.color.rgb; + return out; +} + +@fragment +fn fs_main(in : VertexOutput) -> @location(0) vec4 { + return vec4(in.color, 1.0); +} +`;var pp,Xn,Co,wc,gp,Zb;class f1{constructor(){m(this,gp);m(this,pp,null);m(this,Xn,null);m(this,Co,null);m(this,wc,null)}init(){return n(this,pp)||p(this,pp,v(this,gp,Zb).call(this))}get isReady(){return n(this,Xn)!==null}loadMeshShader(){if(!n(this,Xn)||n(this,Co))return;const t=n(this,Xn).createShaderModule({code:u1});p(this,Co,n(this,Xn).createRenderPipeline({layout:"auto",vertex:{module:t,entryPoint:"vs_main",buffers:[{arrayStride:8,attributes:[{shaderLocation:0,offset:0,format:"float32x2"}]},{arrayStride:4,attributes:[{shaderLocation:1,offset:0,format:"unorm8x4"}]}]},fragment:{module:t,entryPoint:"fs_main",targets:[{format:n(this,wc)}]},primitive:{topology:"triangle-list"}}))}draw(t,e,s,i,r,a,o,l){this.loadMeshShader();const c=n(this,Xn),{offsetX:h,offsetY:d,scaleX:f,scaleY:g}=i,y=c.createBuffer({size:Math.max(t.byteLength,4),usage:GPUBufferUsage.VERTEX|GPUBufferUsage.COPY_DST});t.byteLength>0&&c.queue.writeBuffer(y,0,t);const b=c.createBuffer({size:Math.max(e.byteLength,4),usage:GPUBufferUsage.VERTEX|GPUBufferUsage.COPY_DST});e.byteLength>0&&c.queue.writeBuffer(b,0,e);const S=c.createBuffer({size:32,usage:GPUBufferUsage.UNIFORM|GPUBufferUsage.COPY_DST});c.queue.writeBuffer(S,0,new Float32Array([h,d,f,g,a,o,l,0]));const w=c.createBindGroup({layout:n(this,Co).getBindGroupLayout(0),entries:[{binding:0,resource:{buffer:S}}]}),x=new OffscreenCanvas(a,o),A=x.getContext("webgpu");A.configure({device:c,format:n(this,wc),alphaMode:r?"opaque":"premultiplied"});const C=r?{r:r[0]/255,g:r[1]/255,b:r[2]/255,a:1}:{r:0,g:0,b:0,a:0},_=c.createCommandEncoder(),k=_.beginRenderPass({colorAttachments:[{view:A.getCurrentTexture().createView(),clearValue:C,loadOp:"clear",storeOp:"store"}]});return s>0&&(k.setPipeline(n(this,Co)),k.setBindGroup(0,w),k.setVertexBuffer(0,y),k.setVertexBuffer(1,b),k.draw(s)),k.end(),c.queue.submit([_.finish()]),y.destroy(),b.destroy(),S.destroy(),x.transferToImageBitmap()}}pp=new WeakMap,Xn=new WeakMap,Co=new WeakMap,wc=new WeakMap,gp=new WeakSet,Zb=async function(){var t;if(!((t=globalThis.navigator)!=null&&t.gpu))return!1;try{const e=await navigator.gpu.requestAdapter();return e?(p(this,wc,navigator.gpu.getPreferredCanvasFormat()),p(this,Xn,await e.requestDevice()),!0):!1}catch{return!1}};const Np=new f1;function p1(){return Np.init()}function g1(){return Np.isReady}function m1(){Np.loadMeshShader()}function v1(u,t,e,s,i,r,a,o){return Np.draw(u,t,e,s,i,r,a,o)}const We={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};function vf(u,t){if(!t)return;const e=t[2]-t[0],s=t[3]-t[1],i=new Path2D;i.rect(t[0],t[1],e,s),u.clip(i)}class Wm{isModifyingCurrentTransform(){return!1}getPattern(){Ct("Abstract method `getPattern` called.")}}class b1 extends Wm{constructor(t){super(),this._type=t[1],this._bbox=t[2],this._colorStops=t[3],this._p0=t[4],this._p1=t[5],this._r0=t[6],this._r1=t[7],this.matrix=null}isOriginBased(){return this._p0[0]===0&&this._p0[1]===0&&(!this.isRadial()||this._p1[0]===0&&this._p1[1]===0)}isRadial(){return this._type==="radial"}areConic(){if(!this.isRadial())return!1;const t=Math.hypot(this._p0[0]-this._p1[0],this._p0[1]-this._p1[1]);return t+this._r1>this._r0&&t+this._r0>this._r1}_createGradient(t,e=null){let s,i=this._p0,r=this._p1;if(e&&(i=i.slice(),r=r.slice(),B.applyTransform(i,e),B.applyTransform(r,e)),this._type==="axial")s=t.createLinearGradient(i[0],i[1],r[0],r[1]);else if(this._type==="radial"){let a=this._r0,o=this._r1;if(e){const l=new Float32Array(2);B.singularValueDecompose2dScale(e,l),a*=l[0],o*=l[0]}s=t.createRadialGradient(i[0],i[1],a,r[0],r[1],o)}for(const a of this._colorStops)s.addColorStop(a[0],a[1]);return s}_createReversedGradient(t,e=null){let s=this._p1,i=this._p0;e&&(s=s.slice(),i=i.slice(),B.applyTransform(s,e),B.applyTransform(i,e));let r=this._r1,a=this._r0;if(e){const c=new Float32Array(2);B.singularValueDecompose2dScale(e,c),r*=c[0],a*=c[0]}const o=t.createRadialGradient(s[0],s[1],r,i[0],i[1],a),l=this._colorStops.map(([c,h])=>[1-c,h]).reverse();for(const[c,h]of l)o.addColorStop(c,h);return o}getPattern(t,e,s,i){let r;if(i===We.STROKE||i===We.FILL){if(this.isOriginBased()){let f=B.transform(s,e.baseTransform);this.matrix&&(f=B.transform(f,this.matrix));const g=.001,y=Math.hypot(f[0],f[1]),b=Math.hypot(f[2],f[3]),S=(f[0]*f[2]+f[1]*f[3])/(y*b);if(Math.abs(S)l[s*2+1]&&(f=e,e=s,s=f,f=r,r=a,a=f),l[s*2+1]>l[i*2+1]&&(f=s,s=i,i=f,f=a,a=o,o=f),l[e*2+1]>l[s*2+1]&&(f=e,e=s,s=f,f=r,r=a,a=f);const g=(l[e*2]+t.offsetX)*t.scaleX,y=(l[e*2+1]+t.offsetY)*t.scaleY,b=(l[s*2]+t.offsetX)*t.scaleX,S=(l[s*2+1]+t.offsetY)*t.scaleY,w=(l[i*2]+t.offsetX)*t.scaleX,x=(l[i*2+1]+t.offsetY)*t.scaleY;if(y>=x)return;const A=c[r*4],C=c[r*4+1],_=c[r*4+2],k=c[a*4],I=c[a*4+1],L=c[a*4+2],P=c[o*4],D=c[o*4+1],R=c[o*4+2],K=Math.round(y),W=Math.round(x);let Q,ht,T,q,Lt,mt,_e,re;for(let Gt=K;Gt<=W;Gt++){if(Gtx?J=1:S===x?J=0:J=(S-Gt)/(S-x),Q=b-(b-w)*J,ht=k-(k-P)*J,T=I-(I-D)*J,q=L-(L-R)*J}let V;Gtx?V=1:V=(y-Gt)/(y-x),Lt=g-(g-w)*V,mt=A-(A-P)*V,_e=C-(C-D)*V,re=_-(_-R)*V;const $=Math.round(Math.min(Q,Lt)),Et=Math.round(Math.max(Q,Lt));let ct=d*Gt+$*4;for(let J=$;J<=Et;J++)V=(Q-J)/(Q-Lt),V<0?V=0:V>1&&(V=1),h[ct++]=ht-(ht-mt)*V|0,h[ct++]=T-(T-_e)*V|0,h[ct++]=q-(q-re)*V|0,h[ct++]=255}}class w1 extends Wm{constructor(t){super(),this._posData=t[2],this._colData=t[3],this._vertexCount=t[4],this._bounds=t[5],this._bbox=t[6],this._background=t[7],this.matrix=null,m1()}_createMeshCanvas(t,e,s){const o=Math.floor(this._bounds[0]),l=Math.floor(this._bounds[1]),c=Math.ceil(this._bounds[2])-o,h=Math.ceil(this._bounds[3])-l,d=Math.min(Math.ceil(Math.abs(c*t[0]*1.1)),3e3)||1,f=Math.min(Math.ceil(Math.abs(h*t[1]*1.1)),3e3)||1,g=c?c/d:1,y=h?h/f:1,b={coords:this._posData,colors:this._colData,offsetX:-o,offsetY:-l,scaleX:1/g,scaleY:1/y},S=d+4,w=f+4,x=s.create(S,w);if(g1()&&this._vertexCount>48)x.context.drawImage(v1(this._posData,this._colData,this._vertexCount,b,e,S,w,2),0,0);else{const A=x.context.createImageData(d,f);if(e){const C=A.data;for(let _=0,k=C.length;_c+1e-6||e>h+1e-6)return null;const d=Math.floor((s-o)/c)+1,f=Math.ceil((s+t-r)/c)-1,g=Math.floor((i-l)/h)+1,y=Math.ceil((i+e-a)/h)-1;return f<=d&&y<=g?[d,g]:null}updatePatternDims(t,e){const s=B.inverseTransform(this.patternBaseMatrix),i=[t[0],t[1]],r=[t[2],t[3]];B.applyTransform(i,s),B.applyTransform(r,s),e[0]=Math.abs(r[0]-i[0]),e[1]=Math.abs(r[1]-i[1]),e[2]=Math.min(i[0],r[0]),e[3]=Math.min(i[1],r[1])}_renderTileCanvas(t,e,s,i){var f,g;const[r,a,o,l]=this.bbox,c=t.canvasFactory.create(s.size,i.size),h=c.context,d=this.canvasGraphicsFactory.createCanvasGraphics(h,e);return d.groupLevel=t.groupLevel,this.setFillAndStrokeStyleToContext(d,this.paintType,this.color),h.translate(-s.scale*r,-i.scale*a),d.transform(0,s.scale,0,0,i.scale,0,0),h.save(),(f=d.dependencyTracker)==null||f.save(),this.clipBbox(d,r,a,o,l),d.baseTransform=Wt(d.ctx),d.executeOperatorList(this.operatorList),d.endDrawing(),(g=d.dependencyTracker)==null||g.restore(),h.restore(),c}_getCombinedScales(){const t=new Float32Array(2);B.singularValueDecompose2dScale(this.matrix,t);const[e,s]=t;return B.singularValueDecompose2dScale(this.baseTransform,t),[e*t[0],s*t[1]]}drawPattern(t,e,s=!1,[i,r],a){const[o,l,c,h]=this.bbox,d=t.dependencyTracker;if(d&&(t.dependencyTracker=new Zh(d,a)),t.save(),s?t.ctx.clip(e,"evenodd"):t.ctx.clip(e),t.ctx.setTransform(...this.patternBaseMatrix),t.ctx.translate(i*this.xstep,r*this.ystep),this.needsIsolation||t.ctx.globalAlpha!==1||t.ctx.globalCompositeOperation!=="source-over"||t.inSMaskMode){const f=c-o,g=h-l,[y,b]=this._getCombinedScales(),S=this.getSizeAndScale(f,this.ctx.canvas.width,y),w=this.getSizeAndScale(g,this.ctx.canvas.height,b),x=this._renderTileCanvas(t,a,S,w);t.ctx.drawImage(x.canvas,o,l,f,g),t.canvasFactory.destroy(x)}else this.setFillAndStrokeStyleToContext(t,this.paintType,this.color),this.clipBbox(t,o,l,c,h),t.baseTransformStack.push(t.baseTransform),t.baseTransform=Wt(t.ctx),t.executeOperatorList(this.operatorList),t.baseTransform=t.baseTransformStack.pop();t.restore(),d&&(t.dependencyTracker=d)}createPatternCanvas(t,e){const[s,i,r,a]=this.bbox,o=r-s,l=a-i;let{xstep:c,ystep:h}=this;c=Math.abs(c),h=Math.abs(h),Fp("TilingType: "+this.tilingType);const[d,f]=this._getCombinedScales();let g=o,y=l,b=!1,S=!1;Math.ceil(c*d)>=Math.ceil(o*d)?g=c:b=!0,Math.ceil(h*f)>=Math.ceil(l*f)?y=h:S=!0;const w=this.getSizeAndScale(g,this.ctx.canvas.width,d),x=this.getSizeAndScale(y,this.ctx.canvas.height,f),A=this._renderTileCanvas(t,e,w,x);if(b||S){const C=A.canvas;b&&(g=c),S&&(y=h);const _=this.getSizeAndScale(g,this.ctx.canvas.width,d),k=this.getSizeAndScale(y,this.ctx.canvas.height,f),I=_.size,L=k.size,P=t.canvasFactory.create(I,L),D=P.context,R=b?Math.floor(o/c):0,K=S?Math.floor(l/h):0;for(let W=0;W<=R;W++)for(let Q=0;Q<=K;Q++)D.drawImage(C,I*W,L*Q,I,L,0,0,I,L);return t.canvasFactory.destroy(A),{canvas:P.canvas,canvasEntry:P,scaleX:_.scale,scaleY:k.scale,offsetX:s,offsetY:i}}return{canvas:A.canvas,canvasEntry:A,scaleX:w.scale,scaleY:x.scale,offsetX:s,offsetY:i}}getSizeAndScale(t,e,s){const i=Math.max(mp.MAX_PATTERN_SIZE,e);let r=Math.ceil(t*s);return r>=i?r=i:s=r/t,{scale:s,size:r}}clipBbox(t,e,s,i,r){const a=i-e,o=r-s,l=new Path2D;l.rect(e,s,a,o),B.axialAlignedBoundingBox([e,s,i,r],Wt(t.ctx),t.current.minMax),t.ctx.clip(l),t.current.updateClipFromPath()}setFillAndStrokeStyleToContext(t,e,s){const i=t.ctx,r=t.current;switch(r.patternFill=r.patternStroke=!1,e){case Cv.COLORED:const{fillStyle:a,strokeStyle:o}=this.ctx;i.fillStyle=r.fillColor=a,i.strokeStyle=r.strokeColor=o;break;case Cv.UNCOLORED:i.fillStyle=i.strokeStyle=s,r.fillColor=r.strokeColor=s;break;default:throw new _S(`Unsupported paint type: ${e}`)}}isModifyingCurrentTransform(){return!1}getPattern(t,e,s,i,r){const a=i!==We.SHADING?B.transform(s,this.patternBaseMatrix):s,o=this.createPatternCanvas(e,r);let l=new DOMMatrix(a);l=l.translate(o.offsetX,o.offsetY),l=l.scale(1/o.scaleX,1/o.scaleY);const c=t.createPattern(o.canvas,"repeat");return e.canvasFactory.destroy(o.canvasEntry),c.setTransform(l),c}};M(mp,"MAX_PATTERN_SIZE",3e3);let Xh=mp;const x1=16,E1=100,C1=15,_v=10,_s=16,Zp=new DOMMatrix,si=new Float32Array(2);function kv(u,t){if(u._removeMirroring)throw new Error("Context is already forwarding operations.");const e=new Map;for(const s of["save","restore","rotate","scale","translate","transform","setTransform","resetTransform","clip","moveTo","lineTo","bezierCurveTo","quadraticCurveTo","arc","arcTo","ellipse","rect","roundRect","closePath","beginPath"]){const i=u[s];typeof i!="function"||typeof t[s]!="function"||(e.set(s,i),u[s]=function(...r){return t[s](...r),i.apply(this,r)})}u._removeMirroring=()=>{for(const[s,i]of e)u[s]=i;delete u._removeMirroring}}function Qu(u,t,e,s,i,r,a,o,l,c){const[h,d,f,g,y,b]=Wt(u);if(d===0&&f===0){const x=a*h+y,A=Math.round(x),C=o*g+b,_=Math.round(C),k=(a+l)*h+y,I=Math.abs(Math.round(k)-A)||1,L=(o+c)*g+b,P=Math.abs(Math.round(L)-_)||1;return u.setTransform(Math.sign(h),0,0,Math.sign(g),A,_),u.drawImage(t,e,s,i,r,0,0,I,P),u.setTransform(h,d,f,g,y,b),[I,P]}if(h===0&&g===0){const x=o*f+y,A=Math.round(x),C=a*d+b,_=Math.round(C),k=(o+c)*f+y,I=Math.abs(Math.round(k)-A)||1,L=(a+l)*d+b,P=Math.abs(Math.round(L)-_)||1;return u.setTransform(0,Math.sign(d),Math.sign(f),0,A,_),u.drawImage(t,e,s,i,r,0,0,P,I),u.setTransform(h,d,f,g,y,b),[P,I]}u.drawImage(t,e,s,i,r,a,o,l,c);const S=Math.hypot(h,d),w=Math.hypot(f,g);return[S*l,w*c]}class Tv{constructor(t,e){M(this,"alphaIsShape",!1);M(this,"fontSize",0);M(this,"fontSizeScale",1);M(this,"textMatrix",null);M(this,"textMatrixScale",1);M(this,"fontMatrix",ng);M(this,"leading",0);M(this,"x",0);M(this,"y",0);M(this,"lineX",0);M(this,"lineY",0);M(this,"charSpacing",0);M(this,"wordSpacing",0);M(this,"textHScale",1);M(this,"textRenderingMode",xe.FILL);M(this,"textRise",0);M(this,"fillColor","#000000");M(this,"strokeColor","#000000");M(this,"tilingPatternDims",null);M(this,"patternFill",!1);M(this,"patternStroke",!1);M(this,"fillAlpha",1);M(this,"strokeAlpha",1);M(this,"lineWidth",1);M(this,"activeSMask",null);M(this,"transferMaps","none");M(this,"minMax",ja.slice());this.clipBox=new Float32Array([0,0,t,e])}clone(){var e;const t=Object.create(this);return t.clipBox=this.clipBox.slice(),t.minMax=this.minMax.slice(),t.tilingPatternDims=(e=this.tilingPatternDims)==null?void 0:e.slice(),t}getPathBoundingBox(t=We.FILL,e=null){const s=this.minMax.slice();if(t===We.STROKE){e||Ct("Stroke bounding box must include transform."),B.singularValueDecompose2dScale(e,si);const i=si[0]*this.lineWidth/2,r=si[1]*this.lineWidth/2;s[0]-=i,s[1]-=r,s[2]+=i,s[3]+=r}return s}updateClipFromPath(){const t=B.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(t||[0,0,0,0])}isEmptyClip(){return this.minMax[0]===1/0}startNewPathAndClipBox(t){this.clipBox.set(t,0),this.minMax.set(ja,0)}getClippedPathBoundingBox(t=We.FILL,e=null){return B.intersect(this.clipBox,this.getPathBoundingBox(t,e))}}function Pv(u,t){const{width:e,height:s,kind:i}=t,r=s%_s,a=(s-r)/_s,o=r===0?a:a+1,l=u.createImageData(e,_s);let c=0;const h=t.data,d=l.data;let f;if(i===rf.GRAYSCALE_1BPP)for(f=0;f_v&&typeof s=="function",d=h?Date.now()+C1:0;let f=0;const g=this.commonObjs,y=this.objs;let b,S;for(;;){if(i!==void 0){if(l===i.nextBreakPoint)return i.breakIt(l,s),l;if(i.shouldSkip(l)){if(++l===c)return l;continue}}if(!r||r(l))if(b=o[l],S=a[l]??null,b!==Ki.dependency)S===null?this[b](l):this[b](l,...S);else for(const x of S){(w=this.dependencyTracker)==null||w.recordNamedData(x,l);const A=x.startsWith("g_")?g:y;if(!A.has(x))return A.get(x,s),l}if(l++,l===c)return l;if(h&&++f>_v){if(Date.now()>d)return s(),l;f=0}}}endDrawing(){v(this,Z,Rg).call(this);for(const t of this.smaskGroupCanvases)this.canvasFactory.destroy(t);this.smaskGroupCanvases.length=0,this._clearPreparedSMask(),this.tempSMask=null,this.smaskStack.length=0;for(const t of n(this,cn))v(this,Z,bf).call(this,t);n(this,cn).length=0,p(this,_o,null),p(this,ko,null),p(this,To,null),p(this,Po,null),p(this,Mo,1),p(this,Do,null),p(this,Jr,0),p(this,Us,0),this.cachedPatterns.clear();for(const t of this._cachedBitmapsMap.values()){for(const e of t.values())typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement&&(e.width=e.height=0);t.clear()}this._cachedBitmapsMap.clear(),v(this,Z,Ng).call(this)}_scaleImage(t,e){const s=t.width??t.displayWidth,i=t.height??t.displayHeight,r=Math.max(Math.hypot(e[0],e[1]),1),a=Math.max(Math.hypot(e[2],e[3]),1),o=[];let l=r,c=a,h=s,d=i;for(;l>2&&h>1||c>2&&d>1;){let w=h,x=d;l>2&&h>1&&(w=Math.ceil(h/2),l/=h/w),c>2&&d>1&&(x=Math.ceil(d/2),c/=d/x),o.push({newWidth:w,newHeight:x}),h=w,d=x}if(o.length===0)return{img:t,paintWidth:s,paintHeight:i,tmpCanvas:null};if(o.length===1){const{newWidth:w,newHeight:x}=o[0],A=this.canvasFactory.create(w,x);return A.context.drawImage(t,0,0,s,i,0,0,w,x),{img:A.canvas,paintWidth:w,paintHeight:x,tmpCanvas:A}}let f=this.canvasFactory.create(1,1),g=this.canvasFactory.create(1,1),y=s,b=i,S=t;for(const{newWidth:w,newHeight:x}of o)this.canvasFactory.reset(g,w,x),g.context.drawImage(S,0,0,y,b,0,0,w,x),[f,g]=[g,f],S=f.canvas,y=w,b=x;return this.canvasFactory.destroy(g),{img:f.canvas,paintWidth:y,paintHeight:b,tmpCanvas:f}}_createMaskCanvas(t,e){var R,K;const s=this.ctx,{width:i,height:r}=e,a=this.current.fillColor,o=this.current.patternFill,l=Wt(s);let c,h,d,f;if((e.bitmap||e.data)&&e.count>1){const W=e.bitmap||e.data.buffer;h=JSON.stringify(o?l:[l.slice(0,4),a]),c=this._cachedBitmapsMap.getOrInsertComputed(W,Hm);const Q=c.get(h);if(Q&&!o){const ht=Math.round(Math.min(l[0],l[2])+l[4]),T=Math.round(Math.min(l[1],l[3])+l[5]);return(R=this.dependencyTracker)==null||R.recordDependencies(t,oi.transformAndFill),{canvas:Q,offsetX:ht,offsetY:T}}d=Q}d||(f=this.canvasFactory.create(i,r),Mv(f.context,e));let g=B.transform(l,[1/i,0,0,-1/r,0,0]);g=B.transform(g,[1,0,0,1,0,-r]);const y=ja.slice();B.axialAlignedBoundingBox([0,0,i,r],g,y);const[b,S,w,x]=y,A=Math.round(w-b)||1,C=Math.round(x-S)||1,_=this.canvasFactory.create(A,C),k=_.context,I=b,L=S;k.translate(-I,-L),k.transform(...g);let P=null;if(!d){const W=this._scaleImage(f.canvas,Xi(k));d=W.img,P=W.tmpCanvas,d!==f.canvas&&(this.canvasFactory.destroy(f),f=null),c&&o&&(c.set(h,d),P=null,f=null)}k.imageSmoothingEnabled=Iv(Wt(k),e.interpolate),Qu(k,d,0,0,d.width,d.height,0,0,i,r),P&&this.canvasFactory.destroy(P),f&&this.canvasFactory.destroy(f),k.globalCompositeOperation="source-in";const D=B.transform(Xi(k),[1,0,0,1,-I,-L]);return k.fillStyle=o?a.getPattern(s,this,D,We.FILL,t):a,k.fillRect(0,0,i,r),c&&!o&&c.set(h,_.canvas),(K=this.dependencyTracker)==null||K.recordDependencies(t,oi.transformAndFill),{canvas:_.canvas,canvasEntry:c&&!o?null:_,offsetX:Math.round(I),offsetY:Math.round(L)}}setLineWidth(t,e){var s;(s=this.dependencyTracker)==null||s.recordSimpleData("lineWidth",t),e!==this.current.lineWidth&&(this._cachedScaleForStroking[0]=-1),this.current.lineWidth=e,this.ctx.lineWidth=e}setLineCap(t,e){var s;(s=this.dependencyTracker)==null||s.recordSimpleData("lineCap",t),this.ctx.lineCap=_1[e]}setLineJoin(t,e){var s;(s=this.dependencyTracker)==null||s.recordSimpleData("lineJoin",t),this.ctx.lineJoin=k1[e]}setMiterLimit(t,e){var s;(s=this.dependencyTracker)==null||s.recordSimpleData("miterLimit",t),this.ctx.miterLimit=e}setDash(t,e,s){var r;(r=this.dependencyTracker)==null||r.recordSimpleData("dash",t);const i=this.ctx;i.setLineDash!==void 0&&(i.setLineDash(e),i.lineDashOffset=s)}setRenderingIntent(t,e){}setFlatness(t,e){}setGState(t,e){var s,i,r,a,o;for(const[l,c]of e)switch(l){case"LW":this.setLineWidth(t,c);break;case"LC":this.setLineCap(t,c);break;case"LJ":this.setLineJoin(t,c);break;case"ML":this.setMiterLimit(t,c);break;case"D":this.setDash(t,c[0],c[1]);break;case"RI":this.setRenderingIntent(t,c);break;case"FL":this.setFlatness(t,c);break;case"Font":this.setFont(t,c[0],c[1]);break;case"CA":(s=this.dependencyTracker)==null||s.recordSimpleData("strokeAlpha",t),this.current.strokeAlpha=c;break;case"ca":(i=this.dependencyTracker)==null||i.recordSimpleData("fillAlpha",t),this.ctx.globalAlpha=this.current.fillAlpha=c;break;case"BM":(r=this.dependencyTracker)==null||r.recordSimpleData("globalCompositeOperation",t),this.ctx.globalCompositeOperation=c;break;case"SMask":(a=this.dependencyTracker)==null||a.recordSimpleData("SMask",t),this.current.activeSMask=c?this.tempSMask:null,this.current.activeSMask&&(this.current.activeSMask.blendMode=this.ctx.globalCompositeOperation),this.tempSMask=null,this.checkSMaskState(t);break;case"TR":(o=this.dependencyTracker)==null||o.recordSimpleData("filter",t),this.ctx.filter=this.current.transferMaps=this.filterFactory.addFilter(c);break}}get inSMaskMode(){return!!this.suspendedCtx}_clearPreparedSMask(){this.smaskPreparedEntry&&(this.canvasFactory.destroy(this.smaskPreparedEntry),this.smaskPreparedEntry=null),this.smaskPreparedFor=null,this.smaskPreparedOffsetX=0,this.smaskPreparedOffsetY=0,this.smaskPreparedOOBAlpha=null}_ensurePreparedSMask(t){t!==this.smaskPreparedFor&&(this._clearPreparedSMask(),this._prepareSMaskCanvas(t))}checkSMaskState(t){const e=this.inSMaskMode;this.current.activeSMask&&!e?this.beginSMaskMode(t):!this.current.activeSMask&&e?this.endSMaskMode():this.current.activeSMask&&e&&this._ensurePreparedSMask(this.current.activeSMask)}_prepareSMaskCanvas(t){const{canvas:e,subtype:s,backdrop:i,transferMap:r}=t,a=s==="Luminosity"||s==="Alpha"&&r;if(!a&&!(s==="Luminosity"&&i)){this.smaskPreparedFor=t;return}let o;if(s==="Luminosity"&&i){const[x,A,C]=ju(i),_=Math.round(.3*x+.59*A+.11*C);o=(r==null?void 0:r[_])??_}else o=(r==null?void 0:r[0])??0;const l=4,{width:c,height:h}=this.ctx.canvas,d=e.width*e.height,f=c*h0&&s===this.ctx;this.composeSMask(i?null:s,e,this.ctx,t),!i&&(this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore())}composeSMask(t,e,s,i){const r=i[0],a=i[1],o=i[2]-r,l=i[3]-a;if(o===0||l===0)return;const c=this.smaskPreparedEntry;if(c){let h=r,d=a,f=o,g=l;const y=this.smaskPreparedOOBAlpha,b=y!==null;if(b){h=Math.max(r,e.offsetX),d=Math.max(a,e.offsetY);const S=Math.min(r+o,e.offsetX+e.canvas.width),w=Math.min(a+l,e.offsetY+e.canvas.height);f=S-h,g=w-d}if(f>0&&g>0){const S=h-this.smaskPreparedOffsetX,w=d-this.smaskPreparedOffsetY;s.save(),s.globalAlpha=1,s.setTransform(1,0,0,1,0,0);const x=new Path2D;x.rect(h,d,f,g),s.clip(x),s.globalCompositeOperation="destination-in",s.drawImage(c.canvas,S,w,f,g,h,d,f,g),s.restore()}b&&y<255&&this._applySMaskOOBAlpha(s,r,a,o,l,h,d,h+f,d+g,y)}else this.genericComposeSMask(e,s,o,l,r,a);t&&(t.save(),t.globalAlpha=1,t.globalCompositeOperation=e.blendMode||"source-over",t.setTransform(1,0,0,1,0,0),t.drawImage(s.canvas,r,a,o,l,r,a,o,l),t.restore())}_applySMaskOOBAlpha(t,e,s,i,r,a,o,l,c,h){const d=ao.measureText(e))),(f===xe.STROKE||f===xe.FILL_STROKE)&&(this.dependencyTracker&&((A=this.dependencyTracker)==null||A.recordCharacterBBox(t,o,c,d,s,i,()=>o.measureText(e)).recordDependencies(t,oi.stroke)),o.strokeText(e,s,i));g&&((this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:Wt(o),x:s,y:i,fontSize:d,path:S}),(C=this.dependencyTracker)==null||C.recordCharacterBBox(t,o,c,d,s,i))}get isFontSubpixelAAEnabled(){const t=this.canvasFactory.create(10,10),e=t.context;e.scale(1.5,1),e.fillText("I",0,10);const s=e.getImageData(0,0,10,10).data;this.canvasFactory.destroy(t);let i=!1;for(let r=3;r0&&s[r]<255){i=!0;break}return at(this,"isFontSubpixelAAEnabled",i)}showText(t,e){var K,W,Q,ht;this.dependencyTracker&&(this.dependencyTracker.recordDependencies(t,oi.showText).resetBBox(t),this.current.textRenderingMode&xe.ADD_TO_PATH_FLAG&&this.dependencyTracker.recordFutureForcedDependency("textClip",t).inheritPendingDependenciesAsFutureForcedDependencies());const s=this.current,i=s.font;if(i.isType3Font){const T=v(this,Z,ms).call(this,s.fillAlpha);this.showType3Text(t,e),(K=this.dependencyTracker)==null||K.recordShowTextOperation(t),v(this,Z,Ke).call(this,T);return}const r=s.fontSize;if(r===0){(W=this.dependencyTracker)==null||W.recordOperation(t);return}const a=v(this,Z,ms).call(this,s.fillAlpha),o=this.ctx,l=s.fontSizeScale,c=s.charSpacing,h=s.wordSpacing,d=s.fontDirection,f=s.textHScale*d,g=e.length,y=i.vertical,b=y?1:-1,S=i.defaultVMetrics,w=r*s.fontMatrix[0],x=s.textRenderingMode===xe.FILL&&!i.disableFontFace&&!s.patternFill;o.save(),s.textMatrix&&o.transform(...s.textMatrix),o.translate(s.x,s.y+s.textRise),d>0?o.scale(f,-1):o.scale(f,1);let A,C;const _=s.textRenderingMode&xe.FILL_STROKE_MASK,k=_===xe.FILL||_===xe.FILL_STROKE,I=_===xe.STROKE||_===xe.FILL_STROKE;let L=s.lineWidth;const P=s.textMatrixScale;if(P===0||L===0?I&&(L=this.getSinglePixelWidth()):L/=P,l!==1&&(o.scale(l,l),L/=l),o.lineWidth=L,k&&s.patternFill){o.save();const T=s.fillColor.getPattern(o,this,Xi(o),We.FILL,t);A=Wt(o),o.restore(),o.fillStyle=T}if(I&&s.patternStroke){o.save();const T=s.strokeColor.getPattern(o,this,Xi(o),We.STROKE,t);C=Wt(o),o.restore(),o.strokeStyle=T}if(i.isInvalidPDFjsFont){const T=[];let q=0;for(const mt of e)T.push(mt.unicode),q+=mt.width;const Lt=T.join("");if(o.fillText(Lt,0,0),this.dependencyTracker!==null){const mt=o.measureText(Lt);this.dependencyTracker.recordBBox(t,this.ctx,-mt.actualBoundingBoxLeft,mt.actualBoundingBoxRight,-mt.actualBoundingBoxAscent,mt.actualBoundingBoxDescent).recordShowTextOperation(t)}s.x+=q*w*f,o.restore(),this.compose(),v(this,Z,Ke).call(this,a);return}let D=0,R;for(R=0;R0){$=o.measureText(mt);const ct=$.width*1e3/r*l;if(V$??o.measureText(mt));else if(this.paintChar(t,mt,re,Gt,A,C),_e){const ct=re+r*_e.offset.x/l,J=Gt-r*_e.offset.y/l;this.paintChar(t,_e.fontChar,ct,J,A,C)}}const Et=y?V*w-Lt*d:V*w+Lt*d;D+=Et,q&&o.restore()}y?s.y-=D:s.x+=D*f,o.restore(),this.compose(),(ht=this.dependencyTracker)==null||ht.recordShowTextOperation(t),v(this,Z,Ke).call(this,a)}showType3Text(t,e){const s=this.ctx,i=this.current,r=i.font,a=i.fontSize,o=i.fontDirection,l=r.vertical?1:-1,c=i.charSpacing,h=i.wordSpacing,d=i.textHScale*o,f=i.fontMatrix||ng,g=e.length,y=i.textRenderingMode===xe.INVISIBLE;let b,S,w,x;if(y||a===0)return;this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null,s.save(),i.textMatrix&&s.transform(...i.textMatrix),s.translate(i.x,i.y+i.textRise),s.scale(d,o);const A=this.dependencyTracker;for(this.dependencyTracker=A?new Zh(A,t):null,b=0;bnew tv(a,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:this.optionalContentConfig,markedContentStack:this.markedContentStack},void 0,void 0,this.dependencyTracker?new Zh(this.dependencyTracker,o,!0):null)};s=new Xh(e,this.ctx,r,i)}else s=this._getPattern(t,e[1],e[2]);return s}setStrokeColorN(t,...e){var s;(s=this.dependencyTracker)==null||s.recordSimpleData("strokeColor",t),this.current.strokeColor=this.getColorN_Pattern(t,e),this.current.patternStroke=!0}setFillColorN(t,...e){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("fillColor",t);const s=this.current.fillColor=this.getColorN_Pattern(t,e);this.current.patternFill=!0,this.current.tilingPatternDims=s instanceof Xh?[0,0,0,0]:null}setStrokeRGBColor(t,e){var s;(s=this.dependencyTracker)==null||s.recordSimpleData("strokeColor",t),this.ctx.strokeStyle=this.current.strokeColor=e,this.current.patternStroke=!1}setStrokeTransparent(t){var e;(e=this.dependencyTracker)==null||e.recordSimpleData("strokeColor",t),this.ctx.strokeStyle=this.current.strokeColor="transparent",this.current.patternStroke=!1}setFillRGBColor(t,e){var s;(s=this.dependencyTracker)==null||s.recordSimpleData("fillColor",t),this.ctx.fillStyle=this.current.fillColor=e,this.current.patternFill=!1,this.current.tilingPatternDims=null}setFillTransparent(t){var e;(e=this.dependencyTracker)==null||e.recordSimpleData("fillColor",t),this.ctx.fillStyle=this.current.fillColor="transparent",this.current.patternFill=!1,this.current.tilingPatternDims=null}_getPattern(t,e,s=null){let i;return this.cachedPatterns.has(e)?i=this.cachedPatterns.get(e):(i=S1(this.getObject(t,e)),this.cachedPatterns.set(e,i)),s&&(i.matrix=s),i}shadingFill(t,e){var o;if(!this.contentVisible)return;const s=v(this,Z,ms).call(this,this.current.fillAlpha),i=this.ctx;this.save(t);const r=this._getPattern(t,e);i.fillStyle=r.getPattern(i,this,Xi(i),We.SHADING,t);const a=Xi(i);if(a){const{width:l,height:c}=i.canvas,h=ja.slice();B.axialAlignedBoundingBox([0,0,l,c],a,h);const[d,f,g,y]=h;this.ctx.fillRect(d,f,g-d,y-f)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);(o=this.dependencyTracker)==null||o.resetBBox(t).recordFullPageBBox(t).recordDependencies(t,oi.transform).recordDependencies(t,oi.fill).recordOperation(t),this.compose(this.current.getClippedPathBoundingBox()),this.restore(t),v(this,Z,Ke).call(this,s)}beginInlineImage(){Ct("Should not call beginInlineImage")}beginImageData(){Ct("Should not call beginImageData")}paintFormXObjectBegin(t,e,s){var i;if(this.contentVisible&&(this.save(t),this.baseTransformStack.push(this.baseTransform),e&&this.transform(t,...e),this.baseTransform=Wt(this.ctx),s)){B.axialAlignedBoundingBox(s,this.baseTransform,this.current.minMax);const[r,a,o,l]=s,c=new Path2D;c.rect(r,a,o-r,l-a),this.ctx.clip(c),(i=this.dependencyTracker)==null||i.recordClipBox(t,this.ctx,r,o,a,l),this.endPath(t)}}paintFormXObjectEnd(t){this.contentVisible&&(this.restore(t),this.baseTransform=this.baseTransformStack.pop())}beginGroup(t,e){var x;if(!this.contentVisible)return;this.save(t);const{inSMaskMode:s}=this;s&&(this.endSMaskMode(),this.current.activeSMask=null);const i=this.ctx;if((!e.needsIsolation||!e.isolated&&!e.hasSoftMask)&&!e.knockout&&!e.isGray&&n(this,Us)===0&&i.globalAlpha===1&&i.globalCompositeOperation==="source-over"&&!s){if(e.bbox){let A=new Path2D;const[C,_,k,I]=e.bbox;if(A.rect(C,_,k-C,I-_),e.matrix){const L=new Path2D;L.addPath(A,new DOMMatrix(e.matrix)),A=L}i.clip(A)}this.groupStack.push(null),n(this,cn).push(null),this.groupLevel++;return}!e.isolated&&!e.knockout&&n(this,Us)===0&&Fp("TODO: Fully support non-isolated non-knockout groups.");const r=Wt(i);e.matrix&&i.transform(...e.matrix);const a=[0,0,i.canvas.width,i.canvas.height];let o;e.bbox?(o=ja.slice(),B.axialAlignedBoundingBox(e.bbox,Wt(i),o),o=B.intersect(o,a)||[0,0,0,0]):o=a;const l=Math.floor(o[0]),c=Math.floor(o[1]),h=Math.max(Math.ceil(o[2])-l,1),d=Math.max(Math.ceil(o[3])-c,1);this.current.startNewPathAndClipBox([0,0,h,d]);const f=this.canvasFactory.create(h,d);e.smask&&this.smaskGroupCanvases.push(f);const g=f.context,y=e.knockout&&!e.isolated?i:null,b=!e.isolated&&!e.knockout&&!e.smask&&e.needsIsolation&&n(this,Us)>0,S=e.knockout?this.canvasFactory.create(h,d):null,w=n(this,Us);if(e.knockout?qt(this,Us)._++:p(this,Us,0),g.translate(-l,-c),g.transform(...r),!e.isolated&&!e.smask&&s&&e.needsIsolation&&(g.save(),g.setTransform(1,0,0,1,0,0),g.drawImage(i.canvas,-l,-c),g.restore()),e.bbox){let A=new Path2D;const[C,_,k,I]=e.bbox;if(A.rect(C,_,k-C,I-_),e.matrix){const L=new Path2D;L.addPath(A,new DOMMatrix(e.matrix)),A=L}g.clip(A)}e.smask&&this.smaskStack.push({canvas:f.canvas,context:g,offsetX:l,offsetY:c,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null}),(!e.smask||this.dependencyTracker)&&(i.setTransform(1,0,0,1,0,0),i.translate(l,c),i.save()),Oa(i,g),this.ctx=g,(x=this.dependencyTracker)==null||x.inheritSimpleDataAsFutureForcedDependencies(["fillAlpha","strokeAlpha","globalCompositeOperation"]).pushBaseTransform(i),this.setGState(t,[["BM","source-over"],["ca",1],["CA",1],["TR",null]]),this.groupStack.push(i),n(this,cn).push({backdropCtx:y,savedKnockoutLevel:w,offsetX:l,offsetY:c,hasInnerBackdrop:b,knockoutMaskEntry:S,knockoutTempEntry:null,knockoutBackdropEntry:null}),this.groupLevel++}endGroup(t,e){var a;if(!this.contentVisible)return;this.groupLevel--;const s=this.ctx,i=this.groupStack.pop(),r=n(this,cn).pop();if(r&&p(this,Us,r.savedKnockoutLevel),i===null){this.restore(t);return}if(e.isGray&&v(this,Z,ty).call(this,s),this.ctx=i,this.ctx.imageSmoothingEnabled=!1,(a=this.dependencyTracker)==null||a.popBaseTransform(),e.smask)this.tempSMask=this.smaskStack.pop(),this.restore(t),this.dependencyTracker&&(this.ctx.restore(),this.inSMaskMode&&this.ctx.setTransform(this.suspendedCtx.getTransform())),v(this,Z,bf).call(this,r);else{this.ctx.restore();const o=Wt(this.ctx);this.restore(t),this.ctx.save(),this.ctx.setTransform(...o);const l=ja.slice();B.axialAlignedBoundingBox([0,0,s.canvas.width,s.canvas.height],o,l);const c=n(this,cn).at(-1);if(n(this,Us)>0)if(r.hasInnerBackdrop){const{width:h,height:d}=s.canvas,f=this.canvasFactory.create(h,d),g=f.context;g.drawImage(i.canvas,r.offsetX,r.offsetY,h,d,0,0,h,d),g.globalCompositeOperation="source-over",g.drawImage(s.canvas,0,0);const y=v(this,Z,Bg).call(this,s.canvas);g.globalCompositeOperation="destination-in",g.drawImage(y.canvas,0,0);const b=this.ctx.globalCompositeOperation,S=this.ctx.globalAlpha,w=this.ctx.filter;this.ctx.save(),this.ctx.setTransform(...o),this.ctx.globalAlpha=1,$t.isCanvasFilterSupported&&(this.ctx.filter="none"),this.ctx.globalCompositeOperation="destination-out",this.ctx.drawImage(y.canvas,0,0),this.ctx.globalCompositeOperation=b,this.ctx.globalAlpha=S,$t.isCanvasFilterSupported&&(this.ctx.filter=w??"none"),this.ctx.drawImage(f.canvas,0,0),this.ctx.restore(),this.canvasFactory.destroy(y),this.canvasFactory.destroy(f)}else{const h=(c==null?void 0:c.backdropCtx)??null;v(this,Z,Ug).call(this,this.ctx,s.canvas,{backdropCanvas:(h==null?void 0:h.canvas)??null,destTransform:o,backdropOffset:h?[c.offsetX+r.offsetX,c.offsetY+r.offsetY]:[0,0],sourceAlpha:this.ctx.globalAlpha,sourceFilter:this.ctx.filter})}else this.ctx.drawImage(s.canvas,0,0);this.ctx.restore(),this.canvasFactory.destroy({canvas:s.canvas,context:s}),v(this,Z,bf).call(this,r),this.compose(l)}}beginAnnotation(t,e,s,i,r,a,o){if(v(this,Z,Rg).call(this),Ju(this.ctx),this.ctx.save(),this.save(t),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),s){const l=s[2]-s[0],c=s[3]-s[1];if(a&&this.annotationCanvasMap){i=i.slice(),i[4]-=s[0],i[5]-=s[1],s=s.slice(),s[0]=s[1]=0,s[2]=l,s[3]=c,B.singularValueDecompose2dScale(Wt(this.ctx),si);const{viewportScale:h}=this,d=Math.ceil(l*this.outputScaleX*h),f=Math.ceil(c*this.outputScaleY*h);this.annotationCanvas=this.canvasFactory.create(d,f);const{canvas:g,context:y}=this.annotationCanvas;if(o){const b=this.annotationCanvasMap.getOrInsertComputed(e,Vu);g.setAttribute("data-canvas-name",o);const S=b.findIndex(w=>w.getAttribute("data-canvas-name")===o);S===-1?b.push(g):b[S]=g}else this.annotationCanvasMap.set(e,g);this.annotationCanvas.savedCtx=this.ctx,this.ctx=y,this.ctx.save(),this.ctx.setTransform(si[0],0,0,-si[1],0,c*si[1]),Ju(this.ctx)}else{Ju(this.ctx),this.endPath(t);const h=new Path2D;h.rect(s[0],s[1],l,c),this.ctx.clip(h)}}this.current=new Tv(this.ctx.canvas.width,this.ctx.canvas.height),this.baseTransformStack.push(this.baseTransform),this.transform(t,...i),this.transform(t,...r),this.baseTransform=Wt(this.ctx)}endAnnotation(t){this.annotationCanvas&&(this.ctx.restore(),v(this,Z,Ng).call(this),this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas),this.baseTransform=this.baseTransformStack.pop()}paintImageMaskXObject(t,e){var l;if(!this.contentVisible)return;const s=e.count;e=this.getObject(t,e.data,e),e.count=s;const i=v(this,Z,ms).call(this,this.current.fillAlpha),r=this.ctx,a=this._createMaskCanvas(t,e),o=a.canvas;r.save(),r.setTransform(1,0,0,1,0,0),r.drawImage(o,a.offsetX,a.offsetY),(l=this.dependencyTracker)==null||l.resetBBox(t).recordBBox(t,this.ctx,a.offsetX,a.offsetX+o.width,a.offsetY,a.offsetY+o.height).recordOperation(t),r.restore(),a.canvasEntry&&this.canvasFactory.destroy(a.canvasEntry),this.compose(),v(this,Z,Ke).call(this,i)}paintImageMaskXObjectRepeat(t,e,s,i=0,r=0,a,o){var f,g,y;if(!this.contentVisible)return;e=this.getObject(t,e.data,e);const l=v(this,Z,ms).call(this,this.current.fillAlpha),c=this.ctx;c.save();const h=Wt(c);c.transform(s,i,r,a,0,0);const d=this._createMaskCanvas(t,e);c.setTransform(1,0,0,1,d.offsetX-h[4],d.offsetY-h[5]),(f=this.dependencyTracker)==null||f.resetBBox(t);for(let b=0,S=o.length;bd?h/d:1,o=c>d?c/d:1}}this._cachedScaleForStroking[0]=a,this._cachedScaleForStroking[1]=o}return this._cachedScaleForStroking}rescaleAndStroke(t,e){const{ctx:s,current:{lineWidth:i}}=this,[r,a]=this.getScaleForStroking();if(r===a){s.lineWidth=(i||1)*r,s.stroke(t);return}const o=s.getLineDash();e&&s.save(),s.scale(r,a),Zp.a=1/r,Zp.d=1/a;const l=new Path2D;if(l.addPath(t,Zp),o.length>0){const c=Math.max(r,a);s.setLineDash(o.map(h=>h/c)),s.lineDashOffset/=c}s.lineWidth=i||1,s.stroke(l),e&&s.restore()}isContentVisible(){for(let t=this.markedContentStack.length-1;t>=0;t--)if(!this.markedContentStack[t].visible)return!1;return!0}};Us=new WeakMap,Jr=new WeakMap,_o=new WeakMap,ko=new WeakMap,To=new WeakMap,Po=new WeakMap,Mo=new WeakMap,Io=new WeakMap,Do=new WeakMap,cn=new WeakMap,Z=new WeakSet,Rg=function(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.current.activeSMask=null,this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.canvasFactory.destroy(this.transparentCanvasEntry),this.transparentCanvas=null,this.transparentCanvasEntry=null)},Ng=function(){if(this.pageColors){const t=this.filterFactory.addHCMFilter(this.pageColors.foreground,this.pageColors.background);if(t!=="none"){const e=this.ctx.filter;this.ctx.filter=t,this.ctx.drawImage(this.ctx.canvas,0,0),this.ctx.filter=e}}},Bg=function(t,e=null,s=1){const{width:i,height:r}=t,a=e??this.canvasFactory.create(i,r),o=a.context;s=Math.round(s*255)/255;const l=s<1;l&&n(this,Io)===void 0&&p(this,Io,$t.isCanvasFilterSupported?new Map:"none");let c="none";if(l&&n(this,Io)instanceof Map&&(c=n(this,Io).getOrInsertComputed(s,()=>this.filterFactory.addKnockoutFilter(s))),!l||c!=="none")return e&&(o.save(),o.setTransform(1,0,0,1,0,0),o.clearRect(0,0,i,r),o.restore()),o.filter=c,o.drawImage(t,0,0),o.filter="none",a;const h=t.getContext("2d",{willReadFrequently:!0}).getImageData(0,0,i,r),d=o.createImageData(i,r),f=h.data,g=d.data,y=s>0?1/s:1e6;for(let b=3,S=f.length;b0||!this.contentVisible)return!1;qt(this,Jr)._++,p(this,Mo,t);const e=n(this,cn).at(-1),{canvas:s}=this.ctx,i=v(this,Z,$g).call(this,e,"knockoutTempEntry",s.width,s.height);p(this,_o,i);const r=i.context;return r.save(),r.setTransform(this.ctx.getTransform()),Oa(this.ctx,r),p(this,Po,r.globalCompositeOperation),r.globalCompositeOperation="source-over",kv(r,this.ctx),p(this,Do,e),p(this,ko,this.ctx),p(this,To,this.suspendedCtx),this.ctx=r,this.inSMaskMode&&(this.suspendedCtx=r),!0},Ke=function(t){var l;if(!t)return;const e=n(this,_o),s=n(this,ko),i=n(this,To),r=e.context;p(this,_o,null),p(this,ko,null),p(this,To,null),this.inSMaskMode&&this.suspendedCtx===r&&this.ctx!==r&&this.endSMaskMode(),this.inSMaskMode&&(this.suspendedCtx=i),this.ctx._removeMirroring(),this.ctx.globalCompositeOperation=n(this,Po),p(this,Po,null),Oa(this.ctx,s),this.ctx=s;const a=n(this,Do);p(this,Do,null);const o=n(this,Mo);p(this,Mo,1);try{v(this,Z,Ug).call(this,i??s,e.canvas,{backdropCanvas:((l=a==null?void 0:a.backdropCtx)==null?void 0:l.canvas)??null,backdropOffset:a!=null&&a.backdropCtx?[a.offsetX,a.offsetY]:[0,0],reuseMaskEntry:(a==null?void 0:a.knockoutMaskEntry)??null,poolMeta:a,knockoutAlpha:o})}finally{r.restore(),qt(this,Jr)._--,a||this.canvasFactory.destroy(e)}},Hg=function(t,e,s){const i=new Path2D;return i.addPath(t,new DOMMatrix(s).invertSelf().multiplySelf(e)),i},ty=function(t){const{canvas:e}=t,{width:s,height:i}=e;if($t.isCanvasFilterSupported){t.save(),t.setTransform(1,0,0,1,0,0),t.filter="grayscale(1)",t.globalAlpha=1,t.globalCompositeOperation="copy",t.drawImage(e,0,0),t.restore();return}const r=t.getImageData(0,0,s,i),{data:a}=r;for(let o=0,l=a.length;o{e._responseOrigin=Hp(c.url),ay(c.status,a),this._reader=c.body.getReader();const h=c.headers,{contentLength:d,isRangeSupported:f}=sy({responseHeaders:h,isHttp:!0,rangeChunkSize:r,disableRange:s});this._contentLength=d,this._isRangeSupported=f,this._filename=iy(h),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new _a("Streaming is disabled.")),this._headersCapability.resolve()}).catch(this._headersCapability.reject)}async read(){await this._headersCapability.promise;const{value:e,done:s}=await this._reader.read();return s?{value:e,done:s}:(this._loaded+=e.byteLength,this._callOnProgress(),{value:Vp(e),done:!1})}cancel(e){var s;(s=this._reader)==null||s.cancel(e),this._abortController.abort()}}class D1 extends Up{constructor(e,s,i){super(e,s,i);M(this,"_abortController",new AbortController);M(this,"_readCapability",Promise.withResolvers());M(this,"_reader",null);const{url:r,withCredentials:a}=e._source,o=new Headers(e.headers);o.append("Range",`bytes=${s}-${i-1}`),ry(r,o,a,this._abortController).then(l=>{const c=Hp(l.url);ny(c,e._responseOrigin),ay(l.status,r),this._reader=l.body.getReader(),this._readCapability.resolve()}).catch(this._readCapability.reject)}async read(){await this._readCapability.promise;const{value:e,done:s}=await this._reader.read();return s?{value:e,done:s}:{value:Vp(e),done:!1}}cancel(e){var s;(s=this._reader)==null||s.cancel(e),this._abortController.abort()}}function Lv(u){return u instanceof Uint8Array&&u.byteLength===u.buffer.byteLength?u.buffer:new Uint8Array(u).buffer}function Gp(){for(const u of this._requests)u.resolve({value:void 0,done:!0});this._requests.length=0}var vp,oy;class L1 extends Bp{constructor(e){super(e,F1,O1);m(this,vp);M(this,"_progressiveDone",!1);M(this,"_queuedChunks",[]);const{pdfDataRangeTransport:s}=e,{initialData:i,progressiveDone:r}=s;if((i==null?void 0:i.length)>0){const o=Lv(i);this._queuedChunks.push(o)}this._progressiveDone=r;const a=o=>{var l;switch(o.type){case"range":case"progressiveRead":v(this,vp,oy).call(this,o.begin,o.chunk);break;case"progressiveDone":(l=this._fullReader)==null||l.progressiveDone(),this._progressiveDone=!0;break}};s.transportReady(a)}getFullReader(){const e=super.getFullReader();return this._queuedChunks=null,e}getRangeReader(e,s){const i=super.getRangeReader(e,s);return i&&(i.onDone=()=>this._rangeReaders.delete(i),this._source.pdfDataRangeTransport.requestDataRange(e,s)),i}cancelAllRequests(e){super.cancelAllRequests(e),this._source.pdfDataRangeTransport.abort()}}vp=new WeakSet,oy=function(e,s){const i=Lv(s);if(e===void 0)this._fullReader?this._fullReader._enqueue(i):this._queuedChunks.push(i);else{const r=this._rangeReaders.keys().find(a=>a._begin===e);ne(r,"#onReceiveData - no `PDFDataTransportStreamRangeReader` instance found."),r._enqueue(i)}};var Od;class F1 extends $p{constructor(e){super(e);m(this,Od,Gp.bind(this));M(this,"_done",!1);M(this,"_queuedChunks",null);M(this,"_requests",[]);const{pdfDataRangeTransport:s,disableRange:i,disableStream:r}=e._source,{length:a,contentDispositionFilename:o}=s;this._queuedChunks=e._queuedChunks||[];for(const c of this._queuedChunks)this._loaded+=c.byteLength;this._done=e._progressiveDone,this._contentLength=a,this._isStreamingSupported=!r,this._isRangeSupported=!i,Gm(o)&&(this._filename=o),this._headersCapability.resolve();const l=this._loaded;Promise.resolve().then(()=>{l>0&&this._loaded===l&&this._callOnProgress()})}_enqueue(e){this._done||(this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._queuedChunks.push(e),this._loaded+=e.byteLength,this._callOnProgress())}async read(){if(this._queuedChunks.length>0)return{value:this._queuedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0,n(this,Od).call(this)}progressiveDone(){this._done||(this._done=!0),this._queuedChunks.length===0&&n(this,Od).call(this)}}Od=new WeakMap;var Rd;class O1 extends Up{constructor(e,s,i){super(e,s,i);m(this,Rd,Gp.bind(this));M(this,"onDone",null);M(this,"_begin",-1);M(this,"_done",!1);M(this,"_queuedChunk",null);M(this,"_requests",[]);this._begin=s}_enqueue(e){var s;this._done||(this._requests.length===0?this._queuedChunk=e:(this._requests.shift().resolve({value:e,done:!1}),n(this,Rd).call(this)),this._done=!0,(s=this.onDone)==null||s.call(this))}async read(){if(this._queuedChunk){const s=this._queuedChunk;return this._queuedChunk=null,{value:s,done:!1}}if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){var s;this._done=!0,n(this,Rd).call(this),(s=this.onDone)==null||s.call(this)}}Rd=new WeakMap;const tg=200,Fv=206;function R1(u){return typeof u!="string"?u:Op(u).buffer}var hn,vh,ly,cy;class N1 extends Bp{constructor(e){super(e,B1,$1);m(this,vh);m(this,hn,new WeakMap);M(this,"_responseOrigin",null);const{httpHeaders:s,url:i}=e;this.url=i,this.isHttp=/https?:/.test(i.protocol),this.headers=ey(this.isHttp,s)}_request(e){const s=new XMLHttpRequest,i={validateStatus:null,onHeadersReceived:e.onHeadersReceived,onDone:e.onDone,onError:e.onError,onProgress:e.onProgress};n(this,hn).set(s,i),s.open("GET",this.url),s.withCredentials=this._source.withCredentials;for(const[r,a]of this.headers)s.setRequestHeader(r,a);return this.isHttp&&"begin"in e&&"end"in e?(s.setRequestHeader("Range",`bytes=${e.begin}-${e.end-1}`),i.validateStatus=r=>r===Fv||r===tg):i.validateStatus=r=>r===tg,s.responseType="arraybuffer",ne(e.onError,"Expected `onError` callback to be provided."),s.onerror=()=>e.onError(s.status),s.onreadystatechange=v(this,vh,cy).bind(this,s),s.onprogress=v(this,vh,ly).bind(this,s),s.send(null),s}_abortRequest(e){n(this,hn).has(e)&&(n(this,hn).delete(e),e.abort())}getRangeReader(e,s){const i=super.getRangeReader(e,s);return i&&(i.onClosed=()=>this._rangeReaders.delete(i)),i}}hn=new WeakMap,vh=new WeakSet,ly=function(e,s){var r;const i=n(this,hn).get(e);(r=i==null?void 0:i.onProgress)==null||r.call(i,s)},cy=function(e,s){const i=n(this,hn).get(e);if(!i||(e.readyState>=2&&i.onHeadersReceived&&(i.onHeadersReceived(),delete i.onHeadersReceived),e.readyState!==4)||!n(this,hn).has(e))return;if(n(this,hn).delete(e),e.status===0&&this.isHttp){i.onError(e.status);return}const r=e.status||tg;if(!i.validateStatus(r)){i.onError(e.status);return}const a=R1(e.response);if(r===Fv){const o=e.getResponseHeader("Content-Range");/bytes \d+-\d+\/\d+/.test(o)?i.onDone(a):(lt('Missing or invalid "Content-Range" header.'),i.onError(0))}else a?i.onDone(a):i.onError(e.status)};var Nd,Cn,hy,dy,uy,fy;class B1 extends $p{constructor(e){super(e);m(this,Cn);m(this,Nd,Gp.bind(this));M(this,"_cachedChunks",[]);M(this,"_done",!1);M(this,"_requests",[]);M(this,"_storedError",null);this._fullRequestXhr=e._request({onHeadersReceived:v(this,Cn,hy).bind(this),onDone:v(this,Cn,dy).bind(this),onError:v(this,Cn,uy).bind(this),onProgress:v(this,Cn,fy).bind(this)})}async read(){if(await this._headersCapability.promise,this._storedError)throw this._storedError;if(this._cachedChunks.length>0)return{value:this._cachedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0,this._headersCapability.reject(e),n(this,Nd).call(this),this._stream._abortRequest(this._fullRequestXhr),this._fullRequestXhr=null}}Nd=new WeakMap,Cn=new WeakSet,hy=function(){const e=this._stream,{disableRange:s,rangeChunkSize:i}=e._source,r=this._fullRequestXhr;e._responseOrigin=Hp(r.responseURL);const a=r.getAllResponseHeaders(),o=new Headers(a?a.trimStart().replace(/[^\S ]+$/,"").split(/[\r\n]+/).map(h=>{const[d,...f]=h.split(": ");return[d,f.join(": ")]}):[]),{contentLength:l,isRangeSupported:c}=sy({responseHeaders:o,isHttp:e.isHttp,rangeChunkSize:i,disableRange:s});this._contentLength=l,this._isRangeSupported=c,this._filename=iy(o),this._isRangeSupported&&e._abortRequest(r),this._headersCapability.resolve()},dy=function(e){this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._cachedChunks.push(e),this._done=!0,this._cachedChunks.length===0&&n(this,Nd).call(this)},uy=function(e){this._storedError=zp(e,this._stream.url),this._headersCapability.reject(this._storedError);for(const s of this._requests)s.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0},fy=function(e){var s;(s=this.onProgress)==null||s.call(this,{loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})};var Bd,wr,py,gy,zg;class $1 extends Up{constructor(e,s,i){super(e,s,i);m(this,wr);m(this,Bd,Gp.bind(this));M(this,"onClosed",null);M(this,"_done",!1);M(this,"_queuedChunk",null);M(this,"_requests",[]);M(this,"_storedError",null);this._requestXhr=e._request({begin:s,end:i,onHeadersReceived:v(this,wr,py).bind(this),onDone:v(this,wr,gy).bind(this),onError:v(this,wr,zg).bind(this),onProgress:null})}async read(){if(this._storedError)throw this._storedError;if(this._queuedChunk!==null){const s=this._queuedChunk;return this._queuedChunk=null,{value:s,done:!1}}if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){var s;this._done=!0,n(this,Bd).call(this),this._stream._abortRequest(this._requestXhr),(s=this.onClosed)==null||s.call(this)}}Bd=new WeakMap,wr=new WeakSet,py=function(){var s;const e=Hp((s=this._requestXhr)==null?void 0:s.responseURL);try{ny(e,this._stream._responseOrigin)}catch(i){this._storedError=i,v(this,wr,zg).call(this,0)}},gy=function(e){var s;this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._queuedChunk=e,this._done=!0,n(this,Bd).call(this),(s=this.onClosed)==null||s.call(this)},zg=function(e){this._storedError??(this._storedError=zp(e,this._stream.url));for(const s of this._requests)s.reject(this._storedError);this._requests.length=0,this._queuedChunk=null};function my(u,t=null){const e=process.getBuiltinModule("fs"),{Readable:s}=process.getBuiltinModule("stream"),i=e.createReadStream(u,t);return s.toWeb(i)}class U1 extends Bp{constructor(t){super(t,H1,z1);const{url:e}=t;ne(e.protocol==="file:","PDFNodeStream only supports file:// URLs.")}}class H1 extends $p{constructor(e){super(e);M(this,"_reader",null);const{disableRange:s,disableStream:i,rangeChunkSize:r,url:a}=e._source;this._isStreamingSupported=!i,process.getBuiltinModule("fs/promises").lstat(a).then(l=>{const c=my(a);this._reader=c.getReader();const{size:h}=l;this._contentLength=h,this._isRangeSupported=!s&&h>2*r,!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new _a("Streaming is disabled.")),this._headersCapability.resolve()}).catch(l=>{l.code==="ENOENT"&&(l=zp(0,a)),this._headersCapability.reject(l)})}async read(){await this._headersCapability.promise;const{value:e,done:s}=await this._reader.read();return s?{value:e,done:s}:(this._loaded+=e.byteLength,this._callOnProgress(),{value:Vp(e),done:!1})}cancel(e){var s;(s=this._reader)==null||s.cancel(e)}}class z1 extends Up{constructor(e,s,i){super(e,s,i);M(this,"_readCapability",Promise.withResolvers());M(this,"_reader",null);const{url:r}=e._source;try{const a=my(r,{start:s,end:i-1});this._reader=a.getReader(),this._readCapability.resolve()}catch(a){this._readCapability.reject(a)}}async read(){await this._readCapability.promise;const{value:e,done:s}=await this._reader.read();return s?{value:e,done:s}:{value:Vp(e),done:!1}}cancel(e){var s;(s=this._reader)==null||s.cancel(e)}}function V1(u){return Wh(u)?M1:ei?U1:N1}var $d,Ud;class Sn{static get workerPort(){return n(this,$d)}static set workerPort(t){if(!(typeof Worker<"u"&&t instanceof Worker)&&t!==null)throw new Error("Invalid `workerPort` type.");p(this,$d,t)}static get workerSrc(){return n(this,Ud)}static set workerSrc(t){if(typeof t!="string")throw new Error("Invalid `workerSrc` type.");p(this,Ud,t)}}$d=new WeakMap,Ud=new WeakMap,m(Sn,$d,null),m(Sn,Ud,"");var Ac,Hd;class G1{constructor({parsedData:t,rawData:e}){m(this,Ac);m(this,Hd);p(this,Ac,t),p(this,Hd,e)}getRaw(){return n(this,Hd)}get(t){return n(this,Ac).get(t)??null}[Symbol.iterator](){return n(this,Ac).entries()}}Ac=new WeakMap,Hd=new WeakMap;const Ba=Symbol("INTERNAL");var zd,Vd,Sc,Lo;class j1{constructor(t,{name:e,intent:s,usage:i,rbGroups:r}){m(this,zd,!1);m(this,Vd,!1);m(this,Sc,!1);m(this,Lo,!0);p(this,zd,!!(t&ti.DISPLAY)),p(this,Vd,!!(t&ti.PRINT)),this.name=e,this.intent=s,this.usage=i,this.rbGroups=r}get visible(){if(n(this,Sc))return n(this,Lo);if(!n(this,Lo))return!1;const{print:t,view:e}=this.usage;return n(this,zd)?(e==null?void 0:e.viewState)!=="OFF":n(this,Vd)?(t==null?void 0:t.printState)!=="OFF":!0}_setVisible(t,e,s=!1){t!==Ba&&Ct("Internal method `_setVisible` called."),p(this,Sc,s),p(this,Lo,e)}get serializable(){return{userSet:n(this,Sc),visible:n(this,Lo)}}}zd=new WeakMap,Vd=new WeakMap,Sc=new WeakMap,Lo=new WeakMap;var Zr,kt,xc,Ec,Gd,jd,Gg;const ev=class ev{constructor(t,e=ti.DISPLAY,s=null){m(this,jd);m(this,Zr,null);m(this,kt,new Map);m(this,xc,null);m(this,Ec,null);m(this,Gd);M(this,"creator",null);M(this,"name",null);if(p(this,Gd,t),this.renderingIntent=e,t!==null){this.name=t.name,this.creator=t.creator,p(this,Ec,t.order);for(const i of t.groups)n(this,kt).set(i.id,new j1(e,i));if(s){s.size!==n(this,kt).size&&Ct("Incorrect serialized groupState.");for(const[i,r]of s)n(this,kt).get(i)._setVisible(Ba,r.visible,r.userSet)}else{if(t.baseState==="OFF")for(const i of n(this,kt).values())i._setVisible(Ba,!1);for(const i of t.on)n(this,kt).get(i)._setVisible(Ba,!0);for(const i of t.off)n(this,kt).get(i)._setVisible(Ba,!1)}p(this,xc,this.getHash())}}isVisible(t){if(n(this,kt).size===0)return!0;if(!t)return Fp("Optional content group not defined."),!0;if(t.type==="OCG")return n(this,kt).has(t.id)?n(this,kt).get(t.id).visible:(lt(`Optional content group not found: ${t.id}`),!0);if(t.type==="OCMD"){if(t.expression)return v(this,jd,Gg).call(this,t.expression);if(!t.policy||t.policy==="AnyOn"){for(const e of t.ids){if(!n(this,kt).has(e))return lt(`Optional content group not found: ${e}`),!0;if(n(this,kt).get(e).visible)return!0}return!1}else if(t.policy==="AllOn"){for(const e of t.ids){if(!n(this,kt).has(e))return lt(`Optional content group not found: ${e}`),!0;if(!n(this,kt).get(e).visible)return!1}return!0}else if(t.policy==="AnyOff"){for(const e of t.ids){if(!n(this,kt).has(e))return lt(`Optional content group not found: ${e}`),!0;if(!n(this,kt).get(e).visible)return!0}return!1}else if(t.policy==="AllOff"){for(const e of t.ids){if(!n(this,kt).has(e))return lt(`Optional content group not found: ${e}`),!0;if(n(this,kt).get(e).visible)return!1}return!0}return lt(`Unknown optional content policy ${t.policy}.`),!0}return lt(`Unknown group type ${t.type}.`),!0}setVisibility(t,e=!0,s=!0){var r;const i=n(this,kt).get(t);if(!i){lt(`Optional content group not found: ${t}`);return}if(s&&e&&i.rbGroups.length)for(const a of i.rbGroups)for(const o of a)o!==t&&((r=n(this,kt).get(o))==null||r._setVisible(Ba,!1,!0));i._setVisible(Ba,!!e,!0),p(this,Zr,null)}setOCGState({state:t,preserveRB:e}){let s;for(const i of t){switch(i){case"ON":case"OFF":case"Toggle":s=i;continue}const r=n(this,kt).get(i);if(r)switch(s){case"ON":this.setVisibility(i,!0,e);break;case"OFF":this.setVisibility(i,!1,e);break;case"Toggle":this.setVisibility(i,!r.visible,e);break}}p(this,Zr,null)}get hasInitialVisibility(){return n(this,xc)===null||this.getHash()===n(this,xc)}getOrder(){return n(this,kt).size?n(this,Ec)?n(this,Ec).slice():[...n(this,kt).keys()]:null}getGroup(t){return n(this,kt).get(t)||null}getHash(){if(n(this,Zr)!==null)return n(this,Zr);const t=new Tg;for(const[e,s]of n(this,kt))t.update(`${e}:${s.visible}`);return p(this,Zr,t.hexdigest())}[Symbol.iterator](){return n(this,kt).entries()}get serializable(){const t=new Map;for(const[e,s]of n(this,kt))t.set(e,s.serializable);return{data:n(this,Gd),renderingIntent:this.renderingIntent,groupState:t}}static fromSerializable({data:t,renderingIntent:e,groupState:s}){return new ev(t,e,s)}};Zr=new WeakMap,kt=new WeakMap,xc=new WeakMap,Ec=new WeakMap,Gd=new WeakMap,jd=new WeakSet,Gg=function(t){const e=t.length;if(e<2)return!0;const s=t[0];for(let i=1;if===g+1)&&p(this,ge,null)}deletePages(t){v(this,is,Rh).call(this);const e=n(this,ge),s=v(this,is,Nh).call(this);p(this,dn,{pageNumberToId:e.slice(),pagesNumber:n(this,ze),prevPageNumbers:n(this,Ni).slice()});const i=n(this,ze)-t.length;p(this,ze,i);const r=p(this,ge,new Uint32Array(i));p(this,Ni,new Int32Array(i));let a=0,o=0;for(const l of t){const c=l-1;c!==a&&(r.set(e.subarray(a,c),o),o+=c-a),a=c+1}an(this,ge)[e-1])})}cancelCopy(){p(this,Fo,null)}pastePages(t){v(this,is,Rh).call(this);const e=n(this,ge),s=v(this,is,Nh).call(this),{pageNumbers:i,pageIds:r}=n(this,Fo),a=n(this,ze)+i.length;p(this,ze,a);const o=p(this,ge,new Uint32Array(a));p(this,Ni,new Int32Array(a)),o.set(e.subarray(0,t),0),o.set(r,t),o.set(e.subarray(t),t+i.length),v(this,is,yf).call(this,s,null,t,i),p(this,Fo,null)}hasBeenAltered(){return n(this,ge)!==null}getPageMappingForSaving(t=null){t??(t=v(this,is,Nh).call(this));let e=0;for(const i of t.values())e=Math.max(e,i.length);const s=new Array(e);for(let i=0;ia[0]-o[0]);for(let a=0,o=i.length;as-i);const e=new Map;for(let s=0,i=t.length;s=s&&c({...Promise.withResolvers(),data:Ol});var vi;class vy{constructor(){m(this,vi,new Map)}get(t,e=null){if(e){const i=n(this,vi).getOrInsertComputed(t,Ov);return i.promise.then(()=>e(i.data)),null}const s=n(this,vi).get(t);if(!s||s.data===Ol)throw new Error(`Requesting object that isn't resolved yet ${t}.`);return s.data}has(t){const e=n(this,vi).get(t);return!!e&&e.data!==Ol}delete(t){const e=n(this,vi).get(t);return!e||e.data===Ol?!1:(n(this,vi).delete(t),!0)}resolve(t,e=null){const s=n(this,vi).getOrInsertComputed(t,Ov);if(s.data!==Ol)throw new Error(`Object already resolved ${t}.`);s.data=e,s.resolve()}clear(){var t;for(const{data:e}of n(this,vi).values())(t=e==null?void 0:e.bitmap)==null||t.close();n(this,vi).clear()}*[Symbol.iterator](){for(const[t,{data:e}]of n(this,vi))e!==Ol&&(yield[t,e])}}vi=new WeakMap;const X1=1e5,Rv=30;var Gv,ta,ls,Wd,Xd,Cc,Oo,qn,qd,Yd,Ro,Kd,_c,ea,kc,Qd,Tc,No,Jd,Zd,Pc,Bo,tu,Mc,Ic,Ar,by,yy,jg,ri,wf,Wg,wy,Ay;const Be=class Be{constructor({textContentSource:t,images:e,container:s,viewport:i}){m(this,Ar);m(this,ta,Promise.withResolvers());m(this,ls,null);m(this,Wd,!1);m(this,Xd,!!((Gv=globalThis.FontInspector)!=null&&Gv.enabled));m(this,Cc,null);m(this,Oo,null);m(this,qn,null);m(this,qd,0);m(this,Yd,0);m(this,Ro,null);m(this,Kd,null);m(this,_c,0);m(this,ea,0);m(this,kc,Object.create(null));m(this,Qd,[]);m(this,Tc,null);m(this,No,[]);m(this,Jd,new WeakMap);m(this,Zd,null);var c;if(t instanceof ReadableStream)p(this,Tc,t);else if(typeof t=="object")p(this,Tc,new ReadableStream({start(h){h.enqueue(t),h.close()}}));else throw new Error('No "textContentSource" parameter specified.');p(this,ls,p(this,Kd,s)),p(this,Cc,e),p(this,ea,i.scale*En.pixelRatio),p(this,_c,i.rotation),p(this,qn,{div:null,properties:null,ctx:null});const{pageWidth:r,pageHeight:a,pageX:o,pageY:l}=i.rawDims;p(this,Zd,[1,0,0,-1,-o,l+a]),p(this,Yd,r),p(this,qd,a),v(c=Be,ri,wy).call(c),s.style.setProperty("--min-font-size",n(Be,Mc)),xl(s,i),n(this,ta).promise.finally(()=>{n(Be,Ic).delete(this),p(this,qn,null),p(this,kc,null)}).catch(()=>{})}static get fontFamilyMap(){const{isWindows:t,isFirefox:e}=$t.platform;return at(this,"fontFamilyMap",new Map([["sans-serif",`${t&&e?"Calibri, ":""}sans-serif`],["monospace",`${t&&e?"Lucida Console, ":""}monospace`]]))}render(){n(this,Cc)&&n(this,ls).append(n(this,Cc).render());const t=()=>{n(this,Ro).read().then(({value:e,done:s})=>{if(s){n(this,ta).resolve();return}n(this,Oo)??p(this,Oo,e.lang),Object.assign(n(this,kc),e.styles),v(this,Ar,by).call(this,e.items),t()},n(this,ta).reject)};return p(this,Ro,n(this,Tc).getReader()),n(Be,Ic).add(this),t(),n(this,ta).promise}update({viewport:t,onBefore:e=null}){var r;const s=t.scale*En.pixelRatio,i=t.rotation;if(i!==n(this,_c)&&(e==null||e(),p(this,_c,i),xl(n(this,Kd),{rotation:i})),s!==n(this,ea)){e==null||e(),p(this,ea,s);const a={div:null,properties:null,ctx:v(r=Be,ri,wf).call(r,n(this,Oo))};for(const o of n(this,No))a.properties=n(this,Jd).get(o),a.div=o,v(this,Ar,jg).call(this,a)}}cancel(){var e;const t=new _a("TextLayer task cancelled.");(e=n(this,Ro))==null||e.cancel(t).catch(()=>{}),p(this,Ro,null),n(this,ta).reject(t)}get textDivs(){return n(this,No)}get textContentItemsStr(){return n(this,Qd)}static cleanup(){if(!(n(this,Ic).size>0)){n(this,Pc).clear();for(const{canvas:t}of n(this,Bo).values())t.remove();n(this,Bo).clear()}}};ta=new WeakMap,ls=new WeakMap,Wd=new WeakMap,Xd=new WeakMap,Cc=new WeakMap,Oo=new WeakMap,qn=new WeakMap,qd=new WeakMap,Yd=new WeakMap,Ro=new WeakMap,Kd=new WeakMap,_c=new WeakMap,ea=new WeakMap,kc=new WeakMap,Qd=new WeakMap,Tc=new WeakMap,No=new WeakMap,Jd=new WeakMap,Zd=new WeakMap,Pc=new WeakMap,Bo=new WeakMap,tu=new WeakMap,Mc=new WeakMap,Ic=new WeakMap,Ar=new WeakSet,by=function(t){var i,r;if(n(this,Wd))return;(r=n(this,qn)).ctx??(r.ctx=v(i=Be,ri,wf).call(i,n(this,Oo)));const e=n(this,No),s=n(this,Qd);for(const a of t){if(e.length>X1){lt("Ignoring additional textDivs for performance reasons."),p(this,Wd,!0);return}if(a.str===void 0){if(a.type==="beginMarkedContentProps"||a.type==="beginMarkedContent"){const o=n(this,ls);p(this,ls,document.createElement("span")),n(this,ls).classList.add("markedContent"),a.id&&n(this,ls).setAttribute("id",`${a.id}`),a.tag==="Artifact"&&(n(this,ls).ariaHidden=!0),o.append(n(this,ls))}else a.type==="endMarkedContent"&&p(this,ls,n(this,ls).parentNode);continue}s.push(a.str),v(this,Ar,yy).call(this,a)}},yy=function(t){var y;const e=document.createElement("span"),s={angle:0,canvasWidth:0,hasText:t.str!=="",hasEOL:t.hasEOL,fontSize:0};n(this,No).push(e);const i=B.transform(n(this,Zd),t.transform);let r=Math.atan2(i[1],i[0]);const a=n(this,kc)[t.fontName];a.vertical&&(r+=Math.PI/2);let o=n(this,Xd)&&a.fontSubstitution||a.fontFamily;o=Be.fontFamilyMap.get(o)||o;const l=Math.hypot(i[2],i[3]),c=l*v(y=Be,ri,Ay).call(y,o,a,n(this,Oo));let h,d;r===0?(h=i[4],d=i[5]-c):(h=i[4]+c*Math.sin(r),d=i[5]-c*Math.cos(r));const f=e.style;f.left=`${(100*h/n(this,Yd)).toFixed(2)}%`,f.top=`${(100*d/n(this,qd)).toFixed(2)}%`,f.setProperty("--font-height",`${l.toFixed(2)}px`),f.fontFamily=o,s.fontSize=l,e.setAttribute("role","presentation"),e.textContent=t.str,e.dir=t.dir,n(this,Xd)&&(e.dataset.fontName=a.fontSubstitutionLoadedName||t.fontName),r!==0&&(s.angle=r*(180/Math.PI));let g=!1;if(t.str.length>1)g=!0;else if(t.str!==" "&&t.transform[0]!==t.transform[3]){const b=Math.abs(t.transform[0]),S=Math.abs(t.transform[3]);b!==S&&Math.max(b,S)/Math.min(b,S)>1.5&&(g=!0)}if(g&&(s.canvasWidth=a.vertical?t.height:t.width),n(this,Jd).set(e,s),n(this,qn).div=e,n(this,qn).properties=s,v(this,Ar,jg).call(this,n(this,qn)),s.hasText&&n(this,ls).append(e),s.hasEOL){const b=document.createElement("br");b.setAttribute("role","presentation"),n(this,ls).append(b)}},jg=function(t){var a;const{div:e,properties:s,ctx:i}=t,{style:r}=e;if(s.canvasWidth!==0&&s.hasText){const{fontFamily:o}=r,{canvasWidth:l,fontSize:c}=s;v(a=Be,ri,Wg).call(a,i,c*n(this,ea),o);const{width:h}=i.measureText(e.textContent);h>0&&r.setProperty("--scale-x",l*n(this,ea)/h)}s.angle!==0&&r.setProperty("--rotate",`${s.angle}deg`)},ri=new WeakSet,wf=function(t=null){let e=n(this,Bo).get(t||(t=""));if(!e){const s=document.createElement("canvas");s.style.cssText="position:absolute;top:0;left:0;width:0;height:0;display:none;letter-spacing:normal;word-spacing:normal",s.lang=t,document.body.append(s),e=s.getContext("2d",{alpha:!1,willReadFrequently:!0}),n(this,Bo).set(t,e),n(this,tu).set(e,{size:0,family:""})}return e},Wg=function(t,e,s){const i=n(this,tu).get(t);e===i.size&&s===i.family||(t.font=`${e}px ${s}`,i.size=e,i.family=s)},wy=function(){if(n(this,Mc)!==null)return;const t=document.createElement("div");t.style.opacity=0,t.style.lineHeight=1,t.style.fontSize="1px",t.style.position="absolute",t.textContent="X",document.body.append(t),p(this,Mc,t.getBoundingClientRect().height),t.remove()},Ay=function(t,e,s){const i=n(this,Pc).get(t);if(i)return i;const r=v(this,ri,wf).call(this,s);r.canvas.width=r.canvas.height=Rv,v(this,ri,Wg).call(this,r,Rv,t);const a=r.measureText(""),o=a.fontBoundingBoxAscent,l=Math.abs(a.fontBoundingBoxDescent);r.canvas.width=r.canvas.height=0;let c=.8;return o?c=o/(o+l):($t.platform.isFirefox&<("Enable the `dom.textMetrics.fontBoundingBox.enabled` preference in `about:config` to improve TextLayer rendering."),e.ascent?c=e.ascent:e.descent&&(c=1+e.descent)),n(this,Pc).set(t,c),c},m(Be,ri),m(Be,Pc,new Map),m(Be,Bo,new Map),m(Be,tu,new WeakMap),m(Be,Mc,null),m(Be,Ic,new Set);let gh=Be;const q1=100;function Sy(u={}){const t=new Xg,{docId:e}=t,s=u.url?t1(u.url):null,i=u.data?e1(u.data):null,r=u.httpHeaders||null,a=u.withCredentials===!0,o=u.password??null,l=u.range instanceof xy?u.range:null,c=Number.isInteger(u.rangeChunkSize)&&u.rangeChunkSize>0?u.rangeChunkSize:2**16;let h=u.worker instanceof td?u.worker:null;const d=u.verbosity,f=typeof u.docBaseUrl=="string"&&!Rp(u.docBaseUrl)?u.docBaseUrl:null,g=Yu(u.cMapUrl),y=u.cMapPacked!==!1,b=Yu(u.iccUrl),S=Yu(u.standardFontDataUrl),w=Yu(u.wasmUrl),x=u.stopAtErrors!==!0,A=Number.isInteger(u.maxImageSize)&&u.maxImageSize>-1?u.maxImageSize:-1,C=typeof u.isOffscreenCanvasSupported=="boolean"?u.isOffscreenCanvasSupported:!ei,_=typeof u.isImageDecoderSupported=="boolean"?u.isImageDecoderSupported:!ei,k=Number.isInteger(u.canvasMaxAreaInBytes)?u.canvasMaxAreaInBytes:-1,I=typeof u.disableFontFace=="boolean"?u.disableFontFace:ei,L=u.fontExtraProperties===!0,P=u.enableXfa===!0,D=u.ownerDocument||globalThis.document,R=u.disableRange===!0,K=u.disableStream===!0,W=u.disableAutoFetch===!0,Q=u.pdfBug===!0,ht=u.CanvasFactory||(ei?c1:r1),T=u.FilterFactory||(ei?l1:a1),q=u.BinaryDataFactory||(ei?h1:Ev),Lt=u.enableHWA===!0,_e=u.enableWebGPU===!0?p1():Promise.resolve(!1),re=u.useWasm!==!1,Gt=u.pagesMapper||new W1,V=typeof u.useSystemFonts=="boolean"?u.useSystemFonts:!ei&&!I,$=typeof u.useWorkerFetch=="boolean"?u.useWorkerFetch:!!(q===Ev&&g&&y&&S&&w&&Wh(g,document.baseURI)&&Wh(S,document.baseURI)&&Wh(w,document.baseURI)),Et=null;xS(d);const ct={canvasFactory:new ht({ownerDocument:D,enableHWA:Lt}),filterFactory:new T({docId:e,ownerDocument:D}),binaryDataFactory:$?null:new q({cMapUrl:g,standardFontDataUrl:S,wasmUrl:w})};h||(h=td.create({verbosity:d,port:Sn.workerPort}),t._worker=h);const J={docId:e,apiVersion:"6.1.200",data:i,password:o,disableAutoFetch:W,rangeChunkSize:c,docBaseUrl:f,enableXfa:P,evaluatorOptions:{maxImageSize:A,disableFontFace:I,ignoreErrors:x,isOffscreenCanvasSupported:C,isImageDecoderSupported:_,canvasMaxAreaInBytes:k,fontExtraProperties:L,useSystemFonts:V,useWasm:re,useWorkerFetch:$,cMapUrl:g,cMapPacked:y,iccUrl:b,standardFontDataUrl:S,wasmUrl:w,hasGPU:!1}},ae={ownerDocument:D,pdfBug:Q,styleElement:Et,enableHWA:Lt,loadingParams:{disableAutoFetch:W,enableXfa:P}};return Promise.all([h.promise,_e]).then(function([,Ti]){if(h.destroyed)throw new Error("Worker was destroyed");J.evaluatorOptions.hasGPU=Ti;const ks=h.messageHandler.sendWithPromise("GetDocRequest",J,i?[i.buffer]:null);let Ts;if(!i)if(l)Ts=new L1({pdfDataRangeTransport:l,disableRange:R,disableStream:K});else if(s){const Se=V1(s);Ts=new Se({url:s,httpHeaders:r,withCredentials:a,rangeChunkSize:c,disableRange:R,disableStream:K})}else throw new Error("getDocument - expected either `data`, `range`, or `url` parameter.");return ks.then(Se=>{if(h.destroyed)throw new Error("Worker was destroyed");const Sr=new Ih(e,Se,h.port),Pa=new K1(Sr,t,Ts,ae,ct,Gt);if(t._transport=Pa,t.destroyed)throw new Error("Loading aborted");Sr.send("Ready",null)})}).catch(t._capability.reject).finally(t._setupCapability.resolve),t}var bp;const yp=class yp{constructor(){M(this,"_capability",Promise.withResolvers());M(this,"_setupCapability",Promise.withResolvers());M(this,"_transport",null);M(this,"_worker",null);M(this,"docId",`d${qt(yp,bp)._++}`);M(this,"destroyed",!1);M(this,"onPassword",null);M(this,"onProgress",null)}get promise(){return this._capability.promise}async destroy(){var t,e,s,i;this.destroyed=!0,this._capability.promise.catch(()=>{});try{(t=this._worker)!=null&&t.port&&(this._worker._pendingDestroy=!0),await this._setupCapability.promise,await((e=this._transport)==null?void 0:e.destroy())}catch(r){throw(s=this._worker)!=null&&s.port&&delete this._worker._pendingDestroy,r}this._transport=null,(i=this._worker)==null||i.destroy(),this._worker=null}async getData(){return this._transport.getData()}};bp=new WeakMap,m(yp,bp,0);let Xg=yp;var Dc,$o;class xy{constructor(t,e,s=!1,i=null){m(this,Dc,Promise.withResolvers());m(this,$o,null);this.length=t,this.initialData=e,this.progressiveDone=s,this.contentDispositionFilename=i}onDataRange(t,e){n(this,$o).call(this,{type:"range",begin:t,chunk:e})}onDataProgressiveRead(t){n(this,Dc).promise.then(()=>{n(this,$o).call(this,{type:"progressiveRead",chunk:t})})}onDataProgressiveDone(){n(this,Dc).promise.then(()=>{n(this,$o).call(this,{type:"progressiveDone"})})}transportReady(t){p(this,$o,t),n(this,Dc).resolve()}requestDataRange(t,e){Ct("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}Dc=new WeakMap,$o=new WeakMap;class Y1{constructor(t,e){this._pdfInfo=t,this._transport=e}get pagesMapper(){return this._transport.pagesMapper}get annotationStorage(){return this._transport.annotationStorage}get canvasFactory(){return this._transport.canvasFactory}get filterFactory(){return this._transport.filterFactory}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get isPureXfa(){return at(this,"isPureXfa",!!this._transport._htmlForXfa)}get allXfaHtml(){return this._transport._htmlForXfa}getPage(t){return this._transport.getPage(t)}getPageIndex(t){return this._transport.getPageIndex(t)}getDestinations(){return this._transport.getDestinations()}getDestination(t){return this._transport.getDestination(t)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getAttachmentContent(t){return this._transport.getAttachmentContent(t)}getAnnotationsByType(t,e){return this._transport.getAnnotationsByType(t,e)}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig({intent:t="display"}={}){const{renderingIntent:e}=this._transport.getRenderingIntent(t);return this._transport.getOptionalContentConfig(e)}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}saveDocument(){return this._transport.saveDocument()}extractPages(t){return this._transport.extractPages(t)}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}getRawData(t){return this._transport.getRawData(t)}cleanup(t=!1){return this._transport.startCleanup(t||this.isPureXfa)}cachedPageNumber(t){return this._transport.cachedPageNumber(t)}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}var Yn,Uo,Ho,Bh;const sv=class sv{constructor(t,e,s,i,r=!1){m(this,Ho);m(this,Yn,!1);m(this,Uo,null);this._pageIndex=t,this._pageInfo=e,this._transport=s,this._stats=r?new fv:null,this._pdfBug=r,this.commonObjs=s.commonObjs,this.objs=new vy,this._intentStates=new Map,this.destroyed=!1,this.recordedBBoxes=null,p(this,Uo,i),this.imageCoordinates=null}clone(t){const e=new sv(t,this._pageInfo,this._transport,n(this,Uo),this._pdfBug);return e.clonedFromIndex=this.clonedFromIndex??this._pageIndex,this._transport.updatePage(e),e}get pageNumber(){return this._pageIndex+1}set pageNumber(t){this._pageIndex=t-1,this._transport.updatePage(this)}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:t,rotation:e=this.rotate,offsetX:s=0,offsetY:i=0,dontFlip:r=!1}={}){return new Gu({viewBox:this.view,userUnit:this.userUnit,scale:t,rotation:e,offsetX:s,offsetY:i,dontFlip:r})}getAnnotations({intent:t="display"}={}){const{renderingIntent:e}=this._transport.getRenderingIntent(t);return this._transport.getAnnotations(this._pageIndex,e)}getJSActions(){return this._transport.getPageJSActions(this._pageIndex)}get filterFactory(){return this._transport.filterFactory}get isPureXfa(){return at(this,"isPureXfa",!!this._transport._htmlForXfa)}async getXfa(){var t;return((t=this._transport._htmlForXfa)==null?void 0:t.children[this._pageIndex])||null}render({canvasContext:t,canvas:e=t.canvas,viewport:s,intent:i="display",annotationMode:r=Cr.ENABLE,transform:a=null,background:o=null,optionalContentConfigPromise:l=null,annotationCanvasMap:c=null,pageColors:h=null,printAnnotationStorage:d=null,isEditing:f=!1,recordImages:g=!1,recordOperations:y=!1,operationsFilter:b=null}){var W,Q,ht;(W=this._stats)==null||W.time("Overall");const S=this._transport.getRenderingIntent(i,r,d,f),{renderingIntent:w,cacheKey:x}=S;p(this,Yn,!1),l||(l=this._transport.getOptionalContentConfig(w));const A=this._intentStates.getOrInsertComputed(x,cg);A.streamReaderCancelTimeout&&(clearTimeout(A.streamReaderCancelTimeout),A.streamReaderCancelTimeout=null);const C=!!(w&ti.PRINT);A.displayReadyCapability||(A.displayReadyCapability=Promise.withResolvers(),A.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},(Q=this._stats)==null||Q.time("Page Request"),this._pumpOperatorList(S));const _=!!(this._pdfBug&&((ht=globalThis.StepperManager)!=null&&ht.enabled)),k=!!e&&!this.recordedBBoxes&&(y||_),I=!!e&&!this.imageCoordinates&&g,L=T=>{var q,Lt,mt,_e;if(A.renderTasks.delete(R),k){const re=(q=R.gfx)==null?void 0:q.dependencyTracker.take();re&&((Lt=R.stepper)==null||Lt.setOperatorBBoxes(re,R.gfx.dependencyTracker.takeDebugMetadata()),y&&(this.recordedBBoxes=re))}I&&!T&&(this.imageCoordinates=(mt=R.gfx)==null?void 0:mt.imagesTracker.take()),C&&p(this,Yn,!0),v(this,Ho,Bh).call(this),T?(R.capability.reject(T),this._abortOperatorList({intentState:A,reason:T instanceof Error?T:new Error(T)})):R.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"),(_e=globalThis.Stats)!=null&&_e.enabled&&globalThis.Stats.add(this.pageNumber,this._stats))};let P=null,D=null;(k||I)&&(D=new jS(e,A.operatorList.length)),k&&(P=new WS(D,_));const R=new Yg({callback:L,params:{canvas:e,canvasContext:t,dependencyTracker:P??D,imagesTracker:I?new Ig(e):null,viewport:s,transform:a,background:o},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:c,operatorList:A.operatorList,pageIndex:this._pageIndex,canvasFactory:this._transport.canvasFactory,filterFactory:this._transport.filterFactory,useRequestAnimationFrame:!C,pdfBug:this._pdfBug,pageColors:h,enableHWA:this._transport.enableHWA,operationsFilter:b});(A.renderTasks||(A.renderTasks=new Set)).add(R);const K=R.task;return Promise.all([A.displayReadyCapability.promise,l]).then(([T,q])=>{var Lt;if(this.destroyed){L();return}if((Lt=this._stats)==null||Lt.time("Rendering"),!(q.renderingIntent&w))throw new Error("Must use the same `intent`-argument when calling the `PDFPageProxy.render` and `PDFDocumentProxy.getOptionalContentConfig` methods.");R.initializeGraphics({transparency:T,optionalContentConfig:q}),R.operatorListChanged()}).catch(L),K}getOperatorList({intent:t="display",annotationMode:e=Cr.ENABLE,printAnnotationStorage:s=null,isEditing:i=!1}={}){var c;function r(){o.operatorList.lastChunk&&(o.opListReadCapability.resolve(o.operatorList),o.renderTasks.delete(l))}const a=this._transport.getRenderingIntent(t,e,s,i,!0),o=this._intentStates.getOrInsertComputed(a.cacheKey,cg);let l;return o.opListReadCapability||(l=Object.create(null),l.operatorListChanged=r,o.opListReadCapability=Promise.withResolvers(),(o.renderTasks||(o.renderTasks=new Set)).add(l),o.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},(c=this._stats)==null||c.time("Page Request"),this._pumpOperatorList(a)),o.opListReadCapability.promise}streamTextContent({includeMarkedContent:t=!1,disableNormalization:e=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageId:n(this,Uo).getPageId(this._pageIndex+1)-1,pageIndex:this._pageIndex,includeMarkedContent:t===!0,disableNormalization:e===!0},{highWaterMark:100,size(i){return i.items.length}})}async getTextContent(t={}){if(this._transport._htmlForXfa)return this.getXfa().then(i=>Qh.textContent(i));const e=this.streamTextContent(t),s={items:[],styles:Object.create(null),lang:null};for await(const i of e)s.lang??(s.lang=i.lang),Object.assign(s.styles,i.styles),s.items.push(...i.items);return s}getStructTree(){return this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const t=[];for(const e of this._intentStates.values())if(this._abortOperatorList({intentState:e,reason:new Error("Page was destroyed."),force:!0}),!e.opListReadCapability)for(const s of e.renderTasks)t.push(s.completed),s.cancel();return this.objs.clear(),p(this,Yn,!1),Promise.all(t)}cleanup(t=!1){p(this,Yn,!0);const e=v(this,Ho,Bh).call(this);return t&&e&&this._stats&&(this._stats=new fv),e}_startRenderPage(t,e){var i,r;const s=this._intentStates.get(e);s&&((i=this._stats)==null||i.timeEnd("Page Request"),(r=s.displayReadyCapability)==null||r.resolve(t))}_renderPageChunk(t,e){for(let s=0,i=t.length;s{l.read().then(({value:d,done:f})=>{if(f){c.streamReader=null;return}this._transport.destroyed||(this._renderPageChunk(d,c),h())},d=>{if(c.streamReader=null,!this._transport.destroyed){if(c.operatorList){c.operatorList.lastChunk=!0;for(const f of c.renderTasks)f.operatorListChanged();v(this,Ho,Bh).call(this)}if(c.displayReadyCapability)c.displayReadyCapability.reject(d);else if(c.opListReadCapability)c.opListReadCapability.reject(d);else throw d}})};h()}_abortOperatorList({intentState:t,reason:e,force:s=!1}){if(t.streamReader){if(t.streamReaderCancelTimeout&&(clearTimeout(t.streamReaderCancelTimeout),t.streamReaderCancelTimeout=null),!s){if(t.renderTasks.size>0)return;if(e instanceof Vm){let i=q1;e.extraDelay>0&&e.extraDelay<1e3&&(i+=e.extraDelay),t.streamReaderCancelTimeout=setTimeout(()=>{t.streamReaderCancelTimeout=null,this._abortOperatorList({intentState:t,reason:e,force:!0})},i);return}}if(t.streamReader.cancel(new _a(e.message)).catch(()=>{}),t.streamReader=null,!this._transport.destroyed){for(const[i,r]of this._intentStates)if(r===t){this._intentStates.delete(i);break}this.cleanup()}}}get stats(){return this._stats}};Yn=new WeakMap,Uo=new WeakMap,Ho=new WeakSet,Bh=function(){if(!n(this,Yn)||this.destroyed)return!1;for(const{renderTasks:t,operatorList:e}of this._intentStates.values())if(t.size>0||!e.lastChunk)return!1;return this._intentStates.clear(),this.objs.clear(),p(this,Yn,!1),!0};let qg=sv;var sa,Bi,Kn,zo,wp,Vo,Go,ps,Af,Ey,Cy,$h,Lc,Sf;const le=class le{constructor({name:t=null,port:e=null,verbosity:s=ES()}={}){m(this,ps);m(this,sa,Promise.withResolvers());m(this,Bi,null);m(this,Kn,null);m(this,zo,null);if(this.name=t,this.destroyed=!1,this.verbosity=s,e){if(n(le,Go).has(e))throw new Error("Cannot use more than one PDFWorker per port.");n(le,Go).set(e,this),v(this,ps,Ey).call(this,e)}else v(this,ps,Cy).call(this)}get promise(){return n(this,sa).promise}get port(){return n(this,Kn)}get messageHandler(){return n(this,Bi)}destroy(){var t,e;this.destroyed=!0,(t=n(this,zo))==null||t.terminate(),p(this,zo,null),n(le,Go).delete(n(this,Kn)),p(this,Kn,null),(e=n(this,Bi))==null||e.destroy(),p(this,Bi,null)}static create(t){const e=n(this,Go).get(t==null?void 0:t.port);if(e){if(e._pendingDestroy)throw new Error("PDFWorker.create - the worker is being destroyed.\nPlease remember to await `PDFDocumentLoadingTask.destroy()`-calls.");return e}return new le(t)}static get workerSrc(){if(Sn.workerSrc)return Sn.workerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _setupFakeWorkerGlobal(){return at(this,"_setupFakeWorkerGlobal",(async()=>n(this,Lc,Sf)?n(this,Lc,Sf):(await import(this.workerSrc)).WorkerMessageHandler)())}};sa=new WeakMap,Bi=new WeakMap,Kn=new WeakMap,zo=new WeakMap,wp=new WeakMap,Vo=new WeakMap,Go=new WeakMap,ps=new WeakSet,Af=function(){n(this,sa).resolve(),n(this,Bi).send("configure",{verbosity:this.verbosity})},Ey=function(t){p(this,Kn,t),p(this,Bi,new Ih("main","worker",t)),n(this,Bi).on("ready",()=>{}),v(this,ps,Af).call(this)},Cy=function(){if(n(le,Vo)||n(le,Lc,Sf)){v(this,ps,$h).call(this);return}let{workerSrc:t}=le;try{le._isSameOrigin(window.location,t)||(t=le._createCDNWrapper(new URL(t,window.location).href));const e=new Worker(t,{type:"module"}),s=new Ih("main","worker",e),i=()=>{r.abort(),s.destroy(),e.terminate(),this.destroyed?n(this,sa).reject(new Error("Worker was destroyed")):v(this,ps,$h).call(this)},r=new AbortController;e.addEventListener("error",()=>{n(this,zo)||i()},{signal:r.signal}),s.on("test",o=>{if(r.abort(),this.destroyed||!o){i();return}p(this,Bi,s),p(this,Kn,e),p(this,zo,e),v(this,ps,Af).call(this)}),s.on("ready",o=>{if(r.abort(),this.destroyed){i();return}try{a()}catch{v(this,ps,$h).call(this)}});const a=()=>{const o=new Uint8Array;s.send("test",o,[o.buffer])};a();return}catch{Fp("The worker has been disabled.")}v(this,ps,$h).call(this)},$h=function(){n(le,Vo)||(lt("Setting up fake worker."),p(le,Vo,!0)),le._setupFakeWorkerGlobal.then(t=>{if(this.destroyed){n(this,sa).reject(new Error("Worker was destroyed"));return}const e=new n1;p(this,Kn,e);const s=`fake${qt(le,wp)._++}`,i=new Ih(s+"_worker",s,e);t.setup(i,e),p(this,Bi,new Ih(s,s+"_worker",e)),v(this,ps,Af).call(this)}).catch(t=>{n(this,sa).reject(new Error(`Setting up fake worker failed: "${t.message}".`))})},Lc=new WeakSet,Sf=function(){var t;try{return((t=globalThis.pdfjsWorker)==null?void 0:t.WorkerMessageHandler)||null}catch{return null}},m(le,Lc),m(le,wp,0),m(le,Vo,!1),m(le,Go,new WeakMap),ei&&(p(le,Vo,!0),Sn.workerSrc||(Sn.workerSrc="./pdf.worker.mjs")),le._isSameOrigin=(t,e)=>{const s=URL.parse(t);if(!(s!=null&&s.origin)||s.origin==="null")return!1;const i=new URL(e,s);return s.origin===i.origin},le._createCDNWrapper=t=>{const e=`await import("${t}");`;return URL.createObjectURL(new Blob([e],{type:"text/javascript"}))};let td=le;var Hs,jo,Qn,$i,Wo,Fc,Jn,Wi,Uh,xf;class K1{constructor(t,e,s,i,r,a){m(this,Wi);M(this,"downloadInfoCapability",Promise.withResolvers());m(this,Hs,null);m(this,jo,new Map);m(this,Qn,null);m(this,$i,new Map);m(this,Wo,new Map);m(this,Fc,new Map);m(this,Jn,null);this.messageHandler=t,this.loadingTask=e,p(this,Qn,s),this.commonObjs=new vy,this.fontLoader=new XS({ownerDocument:i.ownerDocument,styleElement:i.styleElement}),this.enableHWA=i.enableHWA,this.loadingParams=i.loadingParams,this._params=i,this.canvasFactory=r.canvasFactory,this.filterFactory=r.filterFactory,this.binaryDataFactory=r.binaryDataFactory,this.pagesMapper=a,this.destroyed=!1,this.destroyCapability=null,this.setupMessageHandler()}updatePage(t){const{_pageIndex:e}=t;n(this,$i).set(e,t),n(this,Wo).set(e,Promise.resolve(t))}get annotationStorage(){return at(this,"annotationStorage",new jm)}getRenderingIntent(t,e=Cr.ENABLE,s=null,i=!1,r=!1){let a=ti.DISPLAY,o=Jh;switch(t){case"any":a=ti.ANY;break;case"display":break;case"print":a=ti.PRINT;break;default:lt(`getRenderingIntent - invalid intent: ${t}`)}const l=a&ti.PRINT&&s instanceof $b?s:this.annotationStorage;switch(e){case Cr.DISABLE:a+=ti.ANNOTATIONS_DISABLE;break;case Cr.ENABLE:break;case Cr.ENABLE_FORMS:a+=ti.ANNOTATIONS_FORMS;break;case Cr.ENABLE_STORAGE:a+=ti.ANNOTATIONS_STORAGE,o=l.serializable;break;default:lt(`getRenderingIntent - invalid annotationMode: ${e}`)}i&&(a+=ti.IS_EDITING),r&&(a+=ti.OPLIST);const{ids:c,hash:h}=l.modifiedIds,d=[a,o.hash,h];return{renderingIntent:a,cacheKey:d.join("_"),annotationStorageSerializable:o,modifiedIds:c}}destroy(){var s;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=Promise.withResolvers(),(s=n(this,Jn))==null||s.reject(new Error("Worker was destroyed during onPassword callback"));const t=[];for(const i of n(this,$i).values())t.push(i._destroy());n(this,$i).clear(),n(this,Wo).clear(),n(this,Fc).clear(),Object.hasOwn(this,"annotationStorage")&&this.annotationStorage.resetModified();const e=this.messageHandler.sendWithPromise("Terminate",null);return t.push(e),Promise.all(t).then(()=>{var i,r;this.commonObjs.clear(),this.fontLoader.clear(),n(this,jo).clear(),this.filterFactory.destroy(),gh.cleanup(),(i=n(this,Qn))==null||i.cancelAllRequests(new _a("Worker was terminated.")),(r=this.messageHandler)==null||r.destroy(),this.messageHandler=null,this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:t,loadingTask:e}=this;t.on("GetReader",(s,i)=>{ne(n(this,Qn),"GetReader - no `BasePDFStream` instance available."),p(this,Hs,n(this,Qn).getFullReader()),n(this,Hs).onProgress=r=>v(this,Wi,xf).call(this,r),i.onPull=()=>{n(this,Hs).read().then(function({value:r,done:a}){if(a){i.close();return}ne(r instanceof ArrayBuffer,"GetReader - expected an ArrayBuffer."),i.enqueue(new Uint8Array(r),1,[r])}).catch(r=>{i.error(r)})},i.onCancel=r=>{n(this,Hs).cancel(r),i.ready.catch(a=>{if(!this.destroyed)throw a})}}),t.on("ReaderHeadersReady",async s=>{await n(this,Hs).headersReady;const{isStreamingSupported:i,isRangeSupported:r,contentLength:a}=n(this,Hs);return i&&r&&(n(this,Hs).onProgress=null),{isStreamingSupported:i,isRangeSupported:r,contentLength:a}}),t.on("GetRangeReader",(s,i)=>{ne(n(this,Qn),"GetRangeReader - no `BasePDFStream` instance available.");const r=n(this,Qn).getRangeReader(s.begin,s.end);if(!r){i.close();return}i.onPull=()=>{r.read().then(function({value:a,done:o}){if(o){i.close();return}ne(a instanceof ArrayBuffer,"GetRangeReader - expected an ArrayBuffer."),i.enqueue(new Uint8Array(a),1,[a])}).catch(a=>{i.error(a)})},i.onCancel=a=>{r.cancel(a),i.ready.catch(o=>{if(!this.destroyed)throw o})}}),t.on("GetDoc",({pdfInfo:s})=>{this.pagesMapper.pagesNumber=s.numPages,this._numPages=s.numPages,this._htmlForXfa=s.htmlForXfa,delete s.htmlForXfa,e._capability.resolve(new Y1(s,this))}),t.on("DocException",s=>{e._capability.reject(vs(s))}),t.on("PasswordRequest",s=>{p(this,Jn,Promise.withResolvers());try{if(!e.onPassword)throw vs(s);const i=r=>{r instanceof Error?n(this,Jn).reject(r):n(this,Jn).resolve({password:r})};e.onPassword(i,s.code)}catch(i){n(this,Jn).reject(i)}return n(this,Jn).promise}),t.on("DataLoaded",s=>{v(this,Wi,xf).call(this,{loaded:s.length,total:s.length}),this.downloadInfoCapability.resolve(s)}),t.on("StartRenderPage",s=>{if(this.destroyed)return;n(this,$i).get(s.pageIndex)._startRenderPage(s.transparency,s.cacheKey)}),t.on("commonobj",([s,i,r])=>{var a;if(this.destroyed||this.commonObjs.has(s))return null;switch(i){case"Font":if("error"in r){const f=r.error;lt(`Error during font loading: ${f}`),this.commonObjs.resolve(s,f);break}const o=new QS(r),l=this._params.pdfBug&&((a=globalThis.FontInspector)!=null&&a.enabled)?(f,g)=>globalThis.FontInspector.fontAdded(f,g):null,c=new qS(o,l,r.charProcOperatorList,r.extra);this.fontLoader.bind(c).catch(()=>t.sendWithPromise("FontFallback",{id:s})).finally(()=>{c.fontExtraProperties||c.clearData(),this.commonObjs.resolve(s,c)});break;case"CopyLocalImage":const{imageRef:h}=r;ne(h,"The imageRef must be defined.");for(const f of n(this,$i).values())for(const[,g]of f.objs){if((g==null?void 0:g.ref)!==h)continue;if(!g.dataLen)return null;const y=structuredClone(g);return this.commonObjs.resolve(s,y),g.dataLen}break;case"FontPath":this.commonObjs.resolve(s,new ZS(r));break;case"Image":this.commonObjs.resolve(s,r);break;case"Pattern":const d=new JS(r);this.commonObjs.resolve(s,d.getIR());break;default:throw new Error(`Got unknown common object type ${i}`)}return null}),t.on("obj",([s,i,r,a])=>{var l;if(this.destroyed)return;const o=n(this,$i).get(i);if(!o.objs.has(s)){if(o._intentStates.size===0){(l=a==null?void 0:a.bitmap)==null||l.close();return}switch(r){case"Image":case"Pattern":o.objs.resolve(s,a);break;default:throw new Error(`Got unknown object type ${r}`)}}}),t.on("DocProgress",s=>{this.destroyed||v(this,Wi,xf).call(this,s)}),t.on("FetchBinaryData",async s=>{if(this.destroyed)throw new Error("Worker was destroyed.");if(!this.binaryDataFactory)throw new Error("`BinaryDataFactory` not initialized, see the `useWorkerFetch` parameter.");return this.binaryDataFactory.fetch(s)})}getData(){return this.messageHandler.sendWithPromise("GetData",null)}saveDocument(){var s;this.annotationStorage.size<=0&<("saveDocument called while `annotationStorage` is empty, please use the getData-method instead.");const{map:t,transfer:e}=this.annotationStorage.serializable;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:t,filename:((s=n(this,Hs))==null?void 0:s.filename)??null},e).finally(()=>{this.annotationStorage.resetModified()})}extractPages(t){var r;const e={pageInfos:t};let s;const i=globalThis.ImageBitmap;if(typeof i=="function"){const a=Array.isArray(t)?t:[t];for(const o of a)(o==null?void 0:o.image)instanceof i&&(s||(s=[])).push(o.image)}if(this.annotationStorage.size>0){const a=this.annotationStorage.serializable;let{map:o}=a;(r=a.transfer)!=null&&r.length&&(s?s.push(...a.transfer):s=a.transfer);const l=this.pagesMapper.getMapping();if(l){const c=new Map;for(const[h,d]of o){if((d==null?void 0:d.pageIndex)!==void 0&&d.pageIndex>=0&&d.pageIndex{this.annotationStorage.resetModified()})}getPage(t){if(!Number.isInteger(t)||t<=0||t>this.pagesMapper.pagesNumber)return Promise.reject(new Error("Invalid page request."));const e=t-1,s=this.pagesMapper.getPageId(t)-1,i=n(this,Wo).get(e);if(i)return i;const r=this.messageHandler.sendWithPromise("GetPage",{pageIndex:s}).then(a=>{if(this.destroyed)throw new Error("Transport destroyed");a.refStr&&n(this,Fc).set(a.refStr,s);const o=new qg(e,a,this,this.pagesMapper,this._params.pdfBug);return n(this,$i).set(e,o),o});return n(this,Wo).set(e,r),r}async getPageIndex(t){if(!Lg(t))throw new Error("Invalid pageIndex request.");const e=await this.messageHandler.sendWithPromise("GetPageIndex",{num:t.num,gen:t.gen}),s=this.pagesMapper.getPageNumber(e+1);if(s===0)throw new Error("GetPageIndex: page has been removed.");return s-1}getAnnotations(t,e){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:this.pagesMapper.getPageId(t+1)-1,intent:e})}getFieldObjects(){return v(this,Wi,Uh).call(this,"GetFieldObjects")}hasJSActions(){return v(this,Wi,Uh).call(this,"HasJSActions")}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(t){return typeof t!="string"?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:t})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getAttachmentContent(t){return this.messageHandler.sendWithPromise("GetAttachmentContent",t)}getAnnotationsByType(t,e){return this.messageHandler.sendWithPromise("GetAnnotationsByType",{types:t,pageIndexesToSkip:e})}getDocJSActions(){return v(this,Wi,Uh).call(this,"GetDocJSActions")}getPageJSActions(t){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:this.pagesMapper.getPageId(t+1)-1})}getStructTree(t){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:this.pagesMapper.getPageId(t+1)-1})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(t){return v(this,Wi,Uh).call(this,"GetOptionalContentConfig").then(e=>new Vg(e,t))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){const t="GetMetadata";return n(this,jo).getOrInsertComputed(t,()=>this.messageHandler.sendWithPromise(t,null).then(e=>{var s,i;return{info:e[0],metadata:e[1]?new G1(e[1]):null,contentDispositionFilename:((s=n(this,Hs))==null?void 0:s.filename)??null,contentLength:((i=n(this,Hs))==null?void 0:i.contentLength)??null,hasStructTree:e[2]}}))}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}getRawData(t){return this.messageHandler.sendWithPromise("GetRawData",t)}async startCleanup(t=!1){if(!this.destroyed){await this.messageHandler.sendWithPromise("Cleanup",null);for(const e of n(this,$i).values())if(!e.cleanup())throw new Error(`startCleanup: Page ${e.pageNumber} is currently rendering.`);this.commonObjs.clear(),t||this.fontLoader.clear(),n(this,jo).clear(),this.filterFactory.destroy(!0),gh.cleanup()}}cachedPageNumber(t){if(!Lg(t))return null;const e=t.gen===0?`${t.num}R`:`${t.num}R${t.gen}`,s=n(this,Fc).get(e);if(s>=0){const i=this.pagesMapper.getPageNumber(s+1);if(i!==0)return i}return null}}Hs=new WeakMap,jo=new WeakMap,Qn=new WeakMap,$i=new WeakMap,Wo=new WeakMap,Fc=new WeakMap,Jn=new WeakMap,Wi=new WeakSet,Uh=function(t,e=null){return n(this,jo).getOrInsertComputed(t,()=>this.messageHandler.sendWithPromise(t,e))},xf=function({loaded:t,total:e}){var s,i;(i=(s=this.loadingTask).onProgress)==null||i.call(s,{loaded:t,total:e,percent:e?Qt(Math.round(t/e*100),0,100):NaN})};class Q1{constructor(t){M(this,"_internalRenderTask",null);M(this,"onContinue",null);M(this,"onError",null);this._internalRenderTask=t}get promise(){return this._internalRenderTask.capability.promise}cancel(t=0){this._internalRenderTask.cancel(null,t)}get separateAnnots(){const{separateAnnots:t}=this._internalRenderTask.operatorList;if(!t)return!1;const{annotationCanvasMap:e}=this._internalRenderTask;return t.form||t.canvas&&(e==null?void 0:e.size)>0}get imageCoordinates(){return this._internalRenderTask.imageCoordinates||null}}var ia,Xo;const Va=class Va{constructor({callback:t,params:e,objs:s,commonObjs:i,annotationCanvasMap:r,operatorList:a,pageIndex:o,canvasFactory:l,filterFactory:c,useRequestAnimationFrame:h=!1,pdfBug:d=!1,pageColors:f=null,enableHWA:g=!1,operationsFilter:y=null}){m(this,ia,null);this.callback=t,this.params=e,this.objs=s,this.commonObjs=i,this.annotationCanvasMap=r,this.operatorListIdx=null,this.operatorList=a,this._pageIndex=o,this.canvasFactory=l,this.filterFactory=c,this._pdfBug=d,this.pageColors=f,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=h===!0&&typeof window<"u",this.cancelled=!1,this.capability=Promise.withResolvers(),this.task=new Q1(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=e.canvas,this._canvasContext=e.canvas?null:e.canvasContext,this._enableHWA=g,this._dependencyTracker=e.dependencyTracker,this._imagesTracker=e.imagesTracker,this._operationsFilter=y}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics({transparency:t=!1,optionalContentConfig:e}){var c,h;if(this.cancelled)return;if(this._canvas){if(n(Va,Xo).has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");n(Va,Xo).add(this._canvas)}this._pdfBug&&((c=globalThis.StepperManager)!=null&&c.enabled)&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{viewport:s,transform:i,background:r,dependencyTracker:a,imagesTracker:o}=this.params,l=this._canvasContext||this._canvas.getContext("2d",{alpha:!1,willReadFrequently:!this._enableHWA});this.gfx=new Hl(l,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:e},this.annotationCanvasMap,this.pageColors,a,o),this.gfx.beginDrawing({transform:i,viewport:s,transparency:t,background:r}),this.operatorListIdx=0,this.graphicsReady=!0,(h=this.graphicsReadyCallback)==null||h.call(this)}cancel(t=null,e=0){var s,i,r;this.running=!1,this.cancelled=!0,(s=this.gfx)==null||s.endDrawing(),n(this,ia)&&(window.cancelAnimationFrame(n(this,ia)),p(this,ia,null)),n(Va,Xo).delete(this._canvas),t||(t=new Vm(`Rendering cancelled, page ${this._pageIndex+1}`,e)),this.callback(t),(r=(i=this.task).onError)==null||r.call(i,t)}operatorListChanged(){var t,e;if(!this.graphicsReady){this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound);return}(t=this.gfx.dependencyTracker)==null||t.growOperationsCount(this.operatorList.fnArray.length),(e=this.stepper)==null||e.updateOperatorList(this.operatorList),!this.running&&this._continue()}_continue(){this.running=!0,!this.cancelled&&(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?p(this,ia,window.requestAnimationFrame(()=>{p(this,ia,null),this._nextBound().catch(this._cancelBound)})):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}async _next(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper,this._operationsFilter),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),n(Va,Xo).delete(this._canvas),this.callback())))}};ia=new WeakMap,Xo=new WeakMap,m(Va,Xo,new WeakSet);let Yg=Va;const J1="6.1.200",Z1="6353acefe";var zs,qo,Oc,Ee,eu,Rc,Zn,su,na,Ui,iu,Ut,Kg,Qg,Jg,$a,_y,Er;const ys=class ys{constructor({editor:t=null,uiManager:e=null}){m(this,Ut);m(this,zs,null);m(this,qo,null);m(this,Oc);m(this,Ee,null);m(this,eu,!1);m(this,Rc,!1);m(this,Zn,null);m(this,su);m(this,na,null);m(this,Ui,null);var s,i;t?(p(this,Rc,!1),p(this,Zn,t)):p(this,Rc,!0),p(this,Ui,(t==null?void 0:t._uiManager)||e),p(this,su,n(this,Ui)._eventBus),p(this,Oc,((s=t==null?void 0:t.color)==null?void 0:s.toUpperCase())||((i=n(this,Ui))==null?void 0:i.highlightColors.values().next().value)||"#FFFF98"),n(ys,iu)||p(ys,iu,Object.freeze({blue:"pdfjs-editor-colorpicker-blue",green:"pdfjs-editor-colorpicker-green",pink:"pdfjs-editor-colorpicker-pink",red:"pdfjs-editor-colorpicker-red",yellow:"pdfjs-editor-colorpicker-yellow"}))}static get _keyboardManager(){return at(this,"_keyboardManager",new El([[["Escape"],ys.prototype._hideDropdownFromKeyboard],[["Space"],ys.prototype._colorSelectFromKeyboard],[["ArrowDown","ArrowRight"],ys.prototype._moveToNext],[["ArrowUp","ArrowLeft"],ys.prototype._moveToPrevious],[["Home"],ys.prototype._moveToBeginning],[["End"],ys.prototype._moveToEnd]]))}renderButton(){const t=p(this,zs,document.createElement("button"));t.className="colorPicker",t.tabIndex="0",t.setAttribute("data-l10n-id","pdfjs-editor-colorpicker-button"),t.ariaHasPopup="true",n(this,Zn)&&(t.ariaControls=`${n(this,Zn).id}_colorpicker_dropdown`);const e=n(this,Ui)._signal;t.addEventListener("click",v(this,Ut,$a).bind(this),{signal:e}),t.addEventListener("keydown",v(this,Ut,Jg).bind(this),{signal:e});const s=p(this,qo,document.createElement("span"));return s.className="swatch",s.ariaHidden="true",s.style.backgroundColor=n(this,Oc),t.append(s),t}renderMainDropdown(){const t=p(this,Ee,v(this,Ut,Kg).call(this));return t.ariaOrientation="horizontal",t.ariaLabelledBy="highlightColorPickerLabel",t}_colorSelectFromKeyboard(t){if(t.target===n(this,zs)){v(this,Ut,$a).call(this,t);return}const e=t.target.getAttribute("data-color");e&&v(this,Ut,Qg).call(this,e,t)}_moveToNext(t){var e,s;if(!n(this,Ut,Er)){v(this,Ut,$a).call(this,t);return}if(t.target===n(this,zs)){(e=n(this,Ee).firstElementChild)==null||e.focus();return}(s=t.target.nextSibling)==null||s.focus()}_moveToPrevious(t){var e,s;if(t.target===((e=n(this,Ee))==null?void 0:e.firstElementChild)||t.target===n(this,zs)){n(this,Ut,Er)&&this._hideDropdownFromKeyboard();return}n(this,Ut,Er)||v(this,Ut,$a).call(this,t),(s=t.target.previousSibling)==null||s.focus()}_moveToBeginning(t){var e;if(!n(this,Ut,Er)){v(this,Ut,$a).call(this,t);return}(e=n(this,Ee).firstElementChild)==null||e.focus()}_moveToEnd(t){var e;if(!n(this,Ut,Er)){v(this,Ut,$a).call(this,t);return}(e=n(this,Ee).lastElementChild)==null||e.focus()}hideDropdown(){var t,e;(t=n(this,Ee))==null||t.classList.add("hidden"),n(this,zs).ariaExpanded="false",(e=n(this,na))==null||e.abort(),p(this,na,null)}_hideDropdownFromKeyboard(){var t;if(!n(this,Rc)){if(!n(this,Ut,Er)){(t=n(this,Zn))==null||t.unselect();return}this.hideDropdown(),n(this,zs).focus({preventScroll:!0,focusVisible:n(this,eu)})}}updateColor(t){if(n(this,qo)&&(n(this,qo).style.backgroundColor=t),!n(this,Ee))return;const e=n(this,Ui).highlightColors.values();for(const s of n(this,Ee).children)s.ariaSelected=e.next().value===t.toUpperCase()}destroy(){var t,e;(t=n(this,zs))==null||t.remove(),p(this,zs,null),p(this,qo,null),(e=n(this,Ee))==null||e.remove(),p(this,Ee,null)}};zs=new WeakMap,qo=new WeakMap,Oc=new WeakMap,Ee=new WeakMap,eu=new WeakMap,Rc=new WeakMap,Zn=new WeakMap,su=new WeakMap,na=new WeakMap,Ui=new WeakMap,iu=new WeakMap,Ut=new WeakSet,Kg=function(){const t=document.createElement("div"),e=n(this,Ui)._signal;t.addEventListener("contextmenu",Ci,{signal:e}),t.className="dropdown",t.role="listbox",t.ariaMultiSelectable="false",t.ariaOrientation="vertical",t.setAttribute("data-l10n-id","pdfjs-editor-colorpicker-dropdown"),n(this,Zn)&&(t.id=`${n(this,Zn).id}_colorpicker_dropdown`);for(const[s,i]of n(this,Ui).highlightColors){const r=document.createElement("button");r.tabIndex="0",r.role="option",r.setAttribute("data-color",i),r.title=s,r.setAttribute("data-l10n-id",n(ys,iu)[s]);const a=document.createElement("span");r.append(a),a.className="swatch",a.style.backgroundColor=i,r.ariaSelected=i===n(this,Oc),r.addEventListener("click",v(this,Ut,Qg).bind(this,i),{signal:e}),t.append(r)}return t.addEventListener("keydown",v(this,Ut,Jg).bind(this),{signal:e}),t},Qg=function(t,e){e.stopPropagation(),n(this,su).dispatch("switchannotationeditorparams",{source:this,type:dt.HIGHLIGHT_COLOR,value:t}),this.updateColor(t)},Jg=function(t){ys._keyboardManager.exec(this,t)},$a=function(t){if(n(this,Ut,Er)){this.hideDropdown();return}if(p(this,eu,t.detail===0),n(this,na)||(p(this,na,new AbortController),window.addEventListener("pointerdown",v(this,Ut,_y).bind(this),{signal:n(this,Ui).combinedSignal(n(this,na))})),n(this,zs).ariaExpanded="true",n(this,Ee)){n(this,Ee).classList.remove("hidden");return}const e=p(this,Ee,v(this,Ut,Kg).call(this));n(this,zs).append(e)},_y=function(t){var e;(e=n(this,Ee))!=null&&e.contains(t.target)||this.hideDropdown()},Er=function(){return n(this,Ee)&&!n(this,Ee).classList.contains("hidden")},m(ys,iu,null);let Qf=ys;var Vs,Nc,Yo,tr,nu;const Ga=class Ga{constructor(t){m(this,Vs,null);m(this,Nc,!1);m(this,Yo,null);m(this,tr,null);p(this,Yo,t),p(this,tr,t._uiManager),n(Ga,nu)||p(Ga,nu,Object.freeze({freetext:"pdfjs-editor-color-picker-free-text-input",ink:"pdfjs-editor-color-picker-ink-input"}))}renderButton(){if(n(this,Vs))return n(this,Vs);const{editorType:t,colorType:e,colorAndOpacityType:s,opacityType:i,color:r,opacity:a}=n(this,Yo),o=p(this,Nc,$t.isAlphaColorInputSupported&&i!==void 0),l=p(this,Vs,document.createElement("input"));if(l.type="color",o){l.setAttribute("alpha","");const c=B.hexNums[Math.round((a??1)*255)];l.value=(r||"#000000")+c}else l.value=r||"#000000";return l.className="basicColorPicker",l.tabIndex=0,l.setAttribute("data-l10n-id",n(Ga,nu)[t]),l.addEventListener("input",()=>{if(o){const c=ju(l.value);if(!c)return;const[h,d,f,g]=c,y=B.makeHexColor(h,d,f);s!==void 0?n(this,tr).updateParams(s,{color:y,opacity:g}):(n(this,tr).updateParams(e,y),n(this,tr).updateParams(i,g))}else n(this,tr).updateParams(e,l.value)},{signal:n(this,tr)._signal}),l}update(t){if(n(this,Vs))if(n(this,Nc)){const e=B.hexNums[Math.round(n(this,Yo).opacity*255)];n(this,Vs).value=t+e}else n(this,Vs).value=t}updateOpacity(t){if(!n(this,Vs)||!n(this,Nc))return;const e=B.hexNums[Math.round(t*255)];n(this,Vs).value=n(this,Yo).color+e}destroy(){var t;(t=n(this,Vs))==null||t.remove(),p(this,Vs,null)}hideDropdown(){}};Vs=new WeakMap,Nc=new WeakMap,Yo=new WeakMap,tr=new WeakMap,nu=new WeakMap,m(Ga,nu,null);let Jf=Ga;function Nv(u){return Math.floor(Qt(u,0,1)*255).toString(16).padStart(2,"0")}function Ah(u){return Qt(u,0,1)*255}class Bv{static CMYK_G([t,e,s,i]){return["G",1-Math.min(1,.3*t+.59*s+.11*e+i)]}static G_CMYK([t]){return["CMYK",0,0,0,1-t]}static G_RGB([t]){return["RGB",t,t,t]}static G_rgb([t]){return t=Ah(t),[t,t,t]}static G_HTML([t]){const e=Nv(t);return`#${e}${e}${e}`}static RGB_G([t,e,s]){return["G",.3*t+.59*e+.11*s]}static RGB_rgb(t){return t.map(Ah)}static RGB_HTML(t){return`#${t.map(Nv).join("")}`}static T_HTML(){return"#00000000"}static T_rgb(){return[null]}static CMYK_RGB([t,e,s,i]){return["RGB",1-Math.min(1,t+i),1-Math.min(1,s+i),1-Math.min(1,e+i)]}static CMYK_rgb([t,e,s,i]){return[Ah(1-Math.min(1,t+i)),Ah(1-Math.min(1,s+i)),Ah(1-Math.min(1,e+i))]}static CMYK_HTML(t){const e=this.CMYK_RGB(t).slice(1);return this.RGB_HTML(e)}static RGB_CMYK([t,e,s]){const i=1-t,r=1-e,a=1-s,o=Math.min(i,r,a);return["CMYK",i,r,a,o]}}class tx{create(t,e,s=!1){if(t<=0||e<=0)throw new Error("Invalid SVG dimensions");const i=this._createSVG("svg:svg");return i.setAttribute("version","1.1"),s||(i.setAttribute("width",`${t}px`),i.setAttribute("height",`${e}px`)),i.setAttribute("preserveAspectRatio","none"),i.setAttribute("viewBox",`0 0 ${t} ${e}`),i}createElement(t){if(typeof t!="string")throw new Error("Invalid SVG element type");return this._createSVG(t)}_createSVG(t){Ct("Abstract method `_createSVG` called.")}}class Zf extends tx{_createSVG(t){return document.createElementNS(Rs,t)}}const ex=9,_l=new WeakSet,sx=new Date().getTimezoneOffset()*60*1e3;class eg{static create(t){switch(t.data.annotationType){case oe.LINK:return new Xm(t);case oe.TEXT:return new nx(t);case oe.WIDGET:switch(t.data.fieldType){case"Tx":return new rx(t);case"Btn":return t.data.radioButton?new lx(t):t.data.checkBox?new ox(t):new cx(t);case"Ch":return new hx(t);case"Sig":return new ax(t)}return new Pl(t);case oe.POPUP:return new tm(t);case oe.FREETEXT:return new Ly(t);case oe.LINE:return new ux(t);case oe.SQUARE:return new fx(t);case oe.CIRCLE:return new px(t);case oe.POLYLINE:return new Fy(t);case oe.CARET:return new mx(t);case oe.INK:return new qm(t);case oe.POLYGON:return new gx(t);case oe.HIGHLIGHT:return new Oy(t);case oe.UNDERLINE:return new vx(t);case oe.SQUIGGLY:return new bx(t);case oe.STRIKEOUT:return new yx(t);case oe.STAMP:return new Ry(t);case oe.FILEATTACHMENT:return new wx(t);case oe.RICHMEDIA:case oe.SCREEN:return new Ny(t);default:return new te(t)}}}var Ko,Bc,bi,ru,Zg;const iv=class iv{constructor(t,{isRenderable:e=!1,ignoreBorder:s=!1,createQuadrilaterals:i=!1}={}){m(this,ru);m(this,Ko,null);m(this,Bc,!1);m(this,bi,null);this.isRenderable=e,this.data=t.data,this.layer=t.layer,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderForms=t.renderForms,this.svgFactory=t.svgFactory,this.annotationStorage=t.annotationStorage,this.enableComment=t.enableComment,this.enableScripting=t.enableScripting,this.hasJSActions=t.hasJSActions,this._fieldObjects=t.fieldObjects,this.parent=t.parent,this.hasOwnCommentButton=!1,e&&(this.contentElement=this.container=this._createContainer(s)),i&&this._createQuadrilaterals()}static _hasPopupData({contentsObj:t,richText:e}){return!!(t!=null&&t.str||e!=null&&e.str)}get _isEditable(){return this.data.isEditable}get hasPopupData(){return iv._hasPopupData(this.data)||this.enableComment&&!!this.commentText}get commentData(){var s;const{data:t}=this,e=(s=this.annotationStorage)==null?void 0:s.getEditor(t.id);return e?e.getData():t}get hasCommentButton(){return this.enableComment&&this.hasPopupElement}get commentButtonPosition(){var o;const t=(o=this.annotationStorage)==null?void 0:o.getEditor(this.data.id);if(t)return t.commentButtonPositionInPage;const{quadPoints:e,inkLists:s,rect:i}=this.data;let r=-1/0,a=-1/0;if((e==null?void 0:e.length)>=8){for(let l=0;la?(a=e[l+1],r=e[l+2]):e[l+1]===a&&(r=Math.max(r,e[l+2]));return[r,a]}if((s==null?void 0:s.length)>=1){for(const l of s)for(let c=0,h=l.length;ca?(a=l[c+1],r=l[c]):l[c+1]===a&&(r=Math.max(r,l[c]));if(r!==1/0)return[r,a]}return i?[i[2],i[3]]:null}_normalizePoint(t){const{page:{view:e},viewport:{rawDims:{pageWidth:s,pageHeight:i,pageX:r,pageY:a}}}=this.parent;return t[1]=e[3]-t[1]+e[1],t[0]=100*(t[0]-r)/s,t[1]=100*(t[1]-a)/i,t}get commentText(){var e,s,i;const{data:t}=this;return((s=(e=this.annotationStorage.getRawValue(`${Kh}${t.id}`))==null?void 0:e.popup)==null?void 0:s.contents)||((i=t.contentsObj)==null?void 0:i.str)||""}set commentText(t){const{data:e}=this,s={deleted:!t,contents:t||""};this.annotationStorage.updateEditor(e.id,{popup:s})||this.annotationStorage.setValue(`${Kh}${e.id}`,{id:e.id,annotationType:e.annotationType,page:this.parent.page,popup:s,popupRef:e.popupRef,modificationDate:new Date}),t||this.removePopup()}removePopup(){var t,e;(e=((t=n(this,bi))==null?void 0:t.popup)||this.popup)==null||e.remove(),p(this,bi,this.popup=null)}updateEdited(t){var r;if(!this.container)return;t.rect&&(n(this,Ko)||p(this,Ko,{rect:this.data.rect.slice(0)}));const{rect:e,popup:s}=t;e&&v(this,ru,Zg).call(this,e);let i=((r=n(this,bi))==null?void 0:r.popup)||this.popup;!i&&(s!=null&&s.text)&&(this._createPopup(s),i=n(this,bi).popup),i&&(i.updateEdited(t),s!=null&&s.deleted&&(i.remove(),p(this,bi,null),this.popup=null))}resetEdited(){var t;n(this,Ko)&&(v(this,ru,Zg).call(this,n(this,Ko).rect),(t=n(this,bi))==null||t.popup.resetEdited(),p(this,Ko,null))}_createContainer(t){const{data:e,parent:{page:s,viewport:i}}=this,r=document.createElement("section");r.setAttribute("data-annotation-id",e.id),!(this instanceof Pl)&&!(this instanceof Xm)&&!(this instanceof Ny)&&(r.tabIndex=0);const{style:a}=r;if(a.zIndex=this.parent.zIndex,this.parent.zIndex+=2,e.alternativeText&&(r.title=e.alternativeText),e.noRotate&&r.classList.add("norotate"),!e.rect||this instanceof tm){const{rotation:b}=e;return!e.hasOwnCanvas&&b!==0&&this.setRotation(b,r),r}const{width:o,height:l}=this;if(!t&&e.borderStyle.width>0){a.borderWidth=`${e.borderStyle.width}px`;const b=e.borderStyle.horizontalCornerRadius,S=e.borderStyle.verticalCornerRadius;if(b>0||S>0){const x=`calc(${b}px * var(--total-scale-factor)) / calc(${S}px * var(--total-scale-factor))`;a.borderRadius=x}switch(e.borderStyle.style){case Ll.SOLID:a.borderStyle="solid";break;case Ll.DASHED:a.borderStyle="dashed";break;case Ll.BEVELED:lt("Unimplemented border style: beveled");break;case Ll.INSET:lt("Unimplemented border style: inset");break;case Ll.UNDERLINE:a.borderBottomStyle="solid";break}const w=e.borderColor||null;w?(p(this,Bc,!0),a.borderColor=B.makeHexColor(...w)):a.borderWidth=0}const c=B.normalizeRect([e.rect[0],s.view[3]-e.rect[1]+s.view[1],e.rect[2],s.view[3]-e.rect[3]+s.view[1]]),{pageWidth:h,pageHeight:d,pageX:f,pageY:g}=i.rawDims;a.left=`${100*(c[0]-f)/h}%`,a.top=`${100*(c[1]-g)/d}%`;const{rotation:y}=e;return e.hasOwnCanvas||y===0?(a.width=`${100*o/h}%`,a.height=`${100*l/d}%`):this.setRotation(y,r),r}setRotation(t,e=this.container){if(!this.data.rect)return;const{pageWidth:s,pageHeight:i}=this.parent.viewport.rawDims;let{width:r,height:a}=this;t%180!==0&&([r,a]=[a,r]),e.style.width=`${100*r/s}%`,e.style.height=`${100*a/i}%`,e.setAttribute("data-main-rotation",(360-t)%360)}get _commonActions(){const t=(e,s,i)=>{const r=i.detail[e],a=r[0],o=r.slice(1);i.target.style[s]=Bv[`${a}_HTML`](o),this.annotationStorage.setValue(this.data.id,{[s]:Bv[`${a}_rgb`](o)})};return at(this,"_commonActions",{display:e=>{const{display:s}=e.detail,i=s%2===1;this.container.style.visibility=i?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noView:i,noPrint:s===1||s===2})},print:e=>{this.annotationStorage.setValue(this.data.id,{noPrint:!e.detail.print})},hidden:e=>{const{hidden:s}=e.detail;this.container.style.visibility=s?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noPrint:s,noView:s})},focus:e=>{setTimeout(()=>e.target.focus({preventScroll:!1}),0)},userName:e=>{e.target.title=e.detail.userName},readonly:e=>{e.target.disabled=e.detail.readonly},required:e=>{this._setRequired(e.target,e.detail.required)},bgColor:e=>{t("bgColor","backgroundColor",e)},fillColor:e=>{t("fillColor","backgroundColor",e)},fgColor:e=>{t("fgColor","color",e)},textColor:e=>{t("textColor","color",e)},borderColor:e=>{t("borderColor","borderColor",e)},strokeColor:e=>{t("strokeColor","borderColor",e)},rotation:e=>{const s=e.detail.rotation;this.setRotation(s),this.annotationStorage.setValue(this.data.id,{rotation:s})}})}_dispatchEventFromSandbox(t,e){const s=this._commonActions;for(const i of Object.keys(e.detail)){const r=t[i]||s[i];r==null||r(e)}}_setDefaultPropertiesFromJS(t){if(!this.enableScripting)return;const e=this.annotationStorage.getRawValue(this.data.id);if(!e)return;const s=this._commonActions;for(const[i,r]of Object.entries(e)){const a=s[i];if(a){const o={detail:{[i]:r},target:t};a(o),delete e[i]}}}_createQuadrilaterals(){if(!this.container)return;const{quadPoints:t}=this.data;if(!t)return;const[e,s,i,r]=this.data.rect.map(b=>Math.fround(b));if(t.length===8){const[b,S,w,x]=t.subarray(2,6);if(i===b&&r===S&&e===w&&s===x)return}const{style:a}=this.container;let o;if(n(this,Bc)){const{borderColor:b,borderWidth:S}=a;a.borderWidth=0,o=["url('data:image/svg+xml;utf8,",``,``],this.container.classList.add("hasBorder")}const l=i-e,c=r-s,{svgFactory:h}=this,d=h.createElement("svg");d.classList.add("quadrilateralsContainer"),d.setAttribute("width",0),d.setAttribute("height",0),d.role="none";const f=h.createElement("defs");d.append(f);const g=h.createElement("clipPath"),y=`clippath_${this.data.id}`;g.setAttribute("id",y),g.setAttribute("clipPathUnits","objectBoundingBox"),f.append(g);for(let b=2,S=t.length;b`)}n(this,Bc)&&(o.push("')"),a.backgroundImage=o.join("")),this.container.append(d),this.container.style.clipPath=`url(#${y})`}_createPopup(t=null){const{data:e}=this;let s,i;t?(s={str:t.text},i=t.date):(s=e.contentsObj,i=e.modificationDate),p(this,bi,new tm({data:{color:e.color,titleObj:e.titleObj,modificationDate:i,contentsObj:s,richText:e.richText,parentRect:e.rect,borderStyle:0,id:`popup_${e.id}`,rotation:e.rotation,noRotate:!0},linkService:this.linkService,parent:this.parent,elements:[this]}))}get hasPopupElement(){return!!(n(this,bi)||this.popup||this.data.popupRef)}get extraPopupElement(){return n(this,bi)}render(){Ct("Abstract method `AnnotationElement.render` called")}_getElementsByName(t,e=null){const s=[];if(this._fieldObjects){const i=this._fieldObjects[t];if(i)for(const{page:r,id:a,exportValues:o}of i){if(r===-1||a===e)continue;const l=typeof o=="string"?o:null,c=document.querySelector(`[data-element-id="${a}"]`);if(c&&!_l.has(c)){lt(`_getElementsByName - element not allowed: ${a}`);continue}s.push({id:a,exportValue:l,domElement:c})}return s}for(const i of document.getElementsByName(t)){const{exportValue:r}=i,a=i.getAttribute("data-element-id");a!==e&&_l.has(i)&&s.push({id:a,exportValue:r,domElement:i})}return s}show(){var t;this.container&&(this.container.hidden=!1),(t=this.popup)==null||t.maybeShow()}hide(){var t;this.container&&(this.container.hidden=!0),(t=this.popup)==null||t.forceHide()}getElementsToTriggerPopup(){return this.container}addHighlightArea(){const t=this.getElementsToTriggerPopup();if(Array.isArray(t))for(const e of t)e.classList.add("highlightArea");else t.classList.add("highlightArea")}_editOnDoubleClick(){if(!this._isEditable)return;const{annotationEditorType:t,data:{id:e}}=this;this.container.addEventListener("dblclick",()=>{var s;(s=this.linkService.eventBus)==null||s.dispatch("switchannotationeditormode",{source:this,mode:t,editId:e,mustEnterInEditMode:!0})})}updateOC(t){if(!this.data.oc||!t)return;t.isVisible(this.data.oc)?this.show():this.hide()}get width(){return this.data.rect[2]-this.data.rect[0]}get height(){return this.data.rect[3]-this.data.rect[1]}_setBackgroundColor(t){const e=this.data.backgroundColor||null;t.style.backgroundColor=e===null?"transparent":B.makeHexColor(...e)}};Ko=new WeakMap,Bc=new WeakMap,bi=new WeakMap,ru=new WeakSet,Zg=function(t){const{container:{style:e},data:{rect:s,rotation:i},parent:{viewport:{rawDims:{pageWidth:r,pageHeight:a,pageX:o,pageY:l}}}}=this;s==null||s.splice(0,4,...t),e.left=`${100*(t[0]-o)/r}%`,e.top=`${100*(a-t[3]+l)/a}%`,i===0?(e.width=`${100*(t[2]-t[0])/r}%`,e.height=`${100*(t[3]-t[1])/a}%`):this.setRotation(i)};let te=iv;class ix extends te{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0}),this.editor=t.editor}render(){return this.container.className="editorAnnotation",this.container}createOrUpdatePopup(){const{editor:t}=this;t.hasComment&&this._createPopup(t.comment)}get hasCommentButton(){return this.enableComment&&this.editor.hasComment}get commentButtonPosition(){return this.editor.commentButtonPositionInPage}get commentText(){return this.editor.comment.text}set commentText(t){this.editor.comment=t,t||this.removePopup()}get commentData(){return this.editor.getData()}remove(){this.parent.removeAnnotation(this.data.id),this.container.remove(),this.container=null,this.removePopup()}}var ii,Ua,ky,Ty;class Xm extends te{constructor(e,s=null){super(e,{isRenderable:!0,ignoreBorder:!!(s!=null&&s.ignoreBorder),createQuadrilaterals:!0});m(this,ii);this.isTooltipOnly=e.data.isTooltipOnly}render(){const{data:e,linkService:s}=this,i=document.createElement("a");i.setAttribute("data-element-id",e.id);let r=!1;return e.url?(s.addLinkAttributes(i,e.url,e.newWindow),r=!0):e.action?(this._bindNamedAction(i,e.action,e.overlaidText),r=!0):e.attachment?(v(this,ii,ky).call(this,i,e.attachmentId,e.attachment,e.overlaidText,e.attachmentDest),r=!0):e.setOCGState?(v(this,ii,Ty).call(this,i,e.setOCGState,e.overlaidText),r=!0):e.dest?(this._bindLink(i,e.dest,e.overlaidText),r=!0):(e.actions&&(e.actions.Action||e.actions["Mouse Up"]||e.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(i,e),r=!0),e.resetForm?(this._bindResetFormAction(i,e.resetForm),r=!0):this.isTooltipOnly&&!r&&(this._bindLink(i,""),r=!0)),this.container.classList.add("linkAnnotation"),r&&(this.contentElement=i,this.container.append(i)),this.container}_bindLink(e,s,i=""){e.href=this.linkService.getDestinationHash(s),e.onclick=()=>(s&&this.linkService.goToDestination(s),!1),(s||s==="")&&v(this,ii,Ua).call(this),i&&(e.title=i)}_bindNamedAction(e,s,i=""){e.href=this.linkService.getAnchorUrl(""),e.onclick=()=>(this.linkService.executeNamedAction(s),!1),i&&(e.title=i),v(this,ii,Ua).call(this)}_bindJSAction(e,s){e.href=this.linkService.getAnchorUrl("");const i=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const r of Object.keys(s.actions)){const a=i.get(r);a&&(e[a]=()=>{var o;return(o=this.linkService.eventBus)==null||o.dispatch("dispatcheventinsandbox",{source:this,detail:{id:s.id,name:r}}),!1})}s.overlaidText&&(e.title=s.overlaidText),e.onclick||(e.onclick=()=>!1),v(this,ii,Ua).call(this)}_bindResetFormAction(e,s){const i=e.onclick;if(i||(e.href=this.linkService.getAnchorUrl("")),v(this,ii,Ua).call(this),!this._fieldObjects){lt('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),i||(e.onclick=()=>!1);return}e.onclick=()=>{var d;i==null||i();const{fields:r,refs:a,include:o}=s,l=[];if(r.length!==0||a.length!==0){const f=new Set(a);for(const g of r){const y=this._fieldObjects[g]||[];for(const{id:b}of y)f.add(b)}for(const g of Object.values(this._fieldObjects))for(const y of g)f.has(y.id)===o&&l.push(y)}else for(const f of Object.values(this._fieldObjects))l.push(...f);const c=this.annotationStorage,h=[];for(const f of l){const{id:g}=f;switch(h.push(g),f.type){case"text":{const b=f.defaultValue||"";c.setValue(g,{value:b});break}case"checkbox":case"radiobutton":{const b=f.defaultValue===f.exportValues;c.setValue(g,{value:b});break}case"combobox":case"listbox":{const b=f.defaultValue||"";c.setValue(g,{value:b});break}default:continue}const y=document.querySelector(`[data-element-id="${g}"]`);if(y){if(!_l.has(y)){lt(`_bindResetFormAction - element not allowed: ${g}`);continue}}else continue;y.dispatchEvent(new Event("resetform"))}return this.enableScripting&&((d=this.linkService.eventBus)==null||d.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:h,name:"ResetForm"}})),!1}}}ii=new WeakSet,Ua=function(){this.container.setAttribute("data-internal-link","")},ky=function(e,s,i,r="",a=null){e.href=this.linkService.getAnchorUrl(""),i.description?e.title=i.description:r&&(e.title=r);const o=async()=>{var c;const l=await this.linkService.getAttachmentContent(s);l&&((c=this.downloadManager)==null||c.openOrDownloadData(l,i.filename,a))};e.onclick=()=>(o(),!1),v(this,ii,Ua).call(this)},Ty=function(e,s,i=""){e.href=this.linkService.getAnchorUrl(""),e.onclick=()=>(this.linkService.executeSetOCGState(s),!1),i&&(e.title=i),v(this,ii,Ua).call(this)};class nx extends te{constructor(t){super(t,{isRenderable:!0})}render(){this.container.classList.add("textAnnotation");const t=document.createElement("img");return t.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",t.setAttribute("data-l10n-id","pdfjs-text-annotation-type"),t.setAttribute("data-l10n-args",JSON.stringify({type:this.data.name})),!this.data.popupRef&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this.container.append(t),this.container}}class Pl extends te{render(){return this.container}_getKeyModifier(t){return $t.platform.isMac?t.metaKey:t.ctrlKey}_setEventListener(t,e,s,i,r){s.includes("mouse")?t.addEventListener(s,a=>{var o;(o=this.linkService.eventBus)==null||o.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:i,value:r(a),shift:a.shiftKey,modifier:this._getKeyModifier(a)}})}):t.addEventListener(s,a=>{var o;if(s==="blur"){if(!e.focused||!a.relatedTarget)return;e.focused=!1}else if(s==="focus"){if(e.focused)return;e.focused=!0}r&&((o=this.linkService.eventBus)==null||o.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:i,value:r(a)}}))})}_setEventListeners(t,e,s,i){var r,a,o;for(const[l,c]of s)(c==="Action"||(r=this.data.actions)!=null&&r[c])&&((c==="Focus"||c==="Blur")&&(e||(e={focused:!1})),this._setEventListener(t,e,l,c,i),c==="Focus"&&!((a=this.data.actions)!=null&&a.Blur)?this._setEventListener(t,e,"blur","Blur",null):c==="Blur"&&!((o=this.data.actions)!=null&&o.Focus)&&this._setEventListener(t,e,"focus","Focus",null))}_setTextStyle(t){const e=["left","center","right"],{fontColor:s}=this.data.defaultAppearanceData,i=this.data.defaultAppearanceData.fontSize||ex,r=t.style;let a;const o=2,l=c=>Math.round(10*c)/10;if(this.data.multiLine){const c=Math.abs(this.data.rect[3]-this.data.rect[1]-o),h=Math.round(c/(qp*i))||1,d=c/h;a=Math.min(i,l(d/qp))}else{const c=Math.abs(this.data.rect[3]-this.data.rect[1]-o);a=Math.min(i,l(c/qp))}r.fontSize=`calc(${a}px * var(--total-scale-factor))`,r.color=B.makeHexColor(...s),this.data.textAlignment!==null&&!this.data.comb&&(r.textAlign=e[this.data.textAlignment])}_setRequired(t,e){e?t.setAttribute("required",!0):t.removeAttribute("required"),t.setAttribute("aria-required",e)}}class rx extends Pl{constructor(t){const e=t.renderForms||t.data.hasOwnCanvas||!t.data.hasAppearance&&!!t.data.fieldValue;super(t,{isRenderable:e})}setPropertyOnSiblings(t,e,s,i){const r=this.annotationStorage;for(const a of this._getElementsByName(t.name,t.id))a.domElement&&(a.domElement[e]=s),r.setValue(a.id,{[i]:s})}render(){var i,r;const t=this.annotationStorage,e=this.data.id;this.container.classList.add("textWidgetAnnotation");let s=null;if(this.renderForms){const a=t.getValue(e,{value:this.data.fieldValue});let o=a.value||"";const l=t.getValue(e,{charLimit:this.data.maxLen}).charLimit;l&&o.length>l&&(o=o.slice(0,l));let c=a.formattedValue||((i=this.data.textContent)==null?void 0:i.join(` +`))||null;c&&this.data.comb&&(c=c.replaceAll(/\s+/g,""));const h={userValue:o,formattedValue:c,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?(s=document.createElement("textarea"),s.textContent=c??o,this.data.doNotScroll&&(s.style.overflowY="hidden")):(s=document.createElement("input"),s.type=this.data.password?"password":"text",s.setAttribute("value",c??o),this.data.doNotScroll&&(s.style.overflowX="hidden")),this.data.hasOwnCanvas&&(this.container.classList.add("hasOwnCanvas"),t.has(e)&&this.container.classList.add("sandboxModified")),_l.add(s),this.contentElement=s,s.setAttribute("data-element-id",e),s.disabled=this.data.readOnly,s.name=this.data.fieldName,s.tabIndex=0;const{datetimeFormat:d,datetimeType:f,timeStep:g}=this.data,y=!!f&&this.enableScripting;d&&(s.title=d),this._setRequired(s,this.data.required),l&&(s.maxLength=l),s.addEventListener("input",S=>{t.setValue(e,{value:S.target.value}),this.setPropertyOnSiblings(s,"value",S.target.value,"value"),h.formattedValue=null}),s.addEventListener("resetform",S=>{const w=this.data.defaultFieldValue??"";s.value=h.userValue=w,h.formattedValue=null});let b=S=>{const{formattedValue:w}=h;w!=null&&(S.target.value=w),S.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){s.addEventListener("focus",w=>{var A;if(h.focused)return;const{target:x}=w;if(y&&(x.type=f,g&&(x.step=g)),h.userValue){const C=h.userValue;if(y)if(f==="time"){const _=new Date(C),k=[_.getHours(),_.getMinutes(),_.getSeconds()];x.value=k.map(I=>I.toString().padStart(2,"0")).join(":")}else x.value=new Date(C-sx).toISOString().split(f==="date"?"T":".",1)[0];else x.value=C}h.lastCommittedValue=x.value,h.commitKey=1,(A=this.data.actions)!=null&&A.Focus||(h.focused=!0)}),s.addEventListener("updatefromsandbox",w=>{this.container.classList.add("sandboxModified");const x={value(A){h.userValue=A.detail.value??"",y||t.setValue(e,{value:h.userValue.toString()}),A.target.value=h.userValue},formattedValue(A){const{formattedValue:C}=A.detail;h.formattedValue=C,C!=null&&A.target!==document.activeElement&&(A.target.value=C);const _={formattedValue:C};y&&(_.value=C),t.setValue(e,_)},selRange(A){A.target.setSelectionRange(...A.detail.selRange)},charLimit:A=>{var I;const{charLimit:C}=A.detail,{target:_}=A;if(C===0){_.removeAttribute("maxLength");return}_.setAttribute("maxLength",C);let k=h.userValue;!k||k.length<=C||(k=k.slice(0,C),_.value=h.userValue=k,t.setValue(e,{value:k}),(I=this.linkService.eventBus)==null||I.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:k,willCommit:!0,commitKey:1,selStart:_.selectionStart,selEnd:_.selectionEnd}}))}};this._dispatchEventFromSandbox(x,w)}),s.addEventListener("keydown",w=>{var C;h.commitKey=1;let x=-1;if(w.key==="Escape"?x=0:w.key==="Enter"&&!this.data.multiLine?x=2:w.key==="Tab"&&(h.commitKey=3),x===-1)return;const{value:A}=w.target;h.lastCommittedValue!==A&&(h.lastCommittedValue=A,h.userValue=A,(C=this.linkService.eventBus)==null||C.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:A,willCommit:!0,commitKey:x,selStart:w.target.selectionStart,selEnd:w.target.selectionEnd}}))});const S=b;b=null,s.addEventListener("blur",w=>{var C,_;if(!h.focused||!w.relatedTarget)return;(C=this.data.actions)!=null&&C.Blur||(h.focused=!1);const{target:x}=w;let{value:A}=x;if(y){if(A&&f==="time"){const k=A.split(":").map(I=>parseInt(I,10));A=new Date(2e3,0,1,k[0],k[1],k[2]||0).valueOf(),x.step=""}else A.includes("T")||(A=`${A}T00:00`),A=new Date(A).valueOf();x.type="text"}h.userValue=A,h.lastCommittedValue!==A&&((_=this.linkService.eventBus)==null||_.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:A,willCommit:!0,commitKey:h.commitKey,selStart:w.target.selectionStart,selEnd:w.target.selectionEnd}})),S(w)}),(r=this.data.actions)!=null&&r.Keystroke&&s.addEventListener("beforeinput",w=>{var P;h.lastCommittedValue=null;const{data:x,target:A}=w,{value:C,selectionStart:_,selectionEnd:k}=A;let I=_,L=k;switch(w.inputType){case"deleteWordBackward":{const D=C.substring(0,_).match(/\w*\W*$/);D&&(I-=D[0].length);break}case"deleteWordForward":{const D=C.substring(_).match(/^\W*\w*/);D&&(L+=D[0].length);break}case"deleteContentBackward":_===k&&(I-=1);break;case"deleteContentForward":_===k&&(L+=1);break}w.preventDefault(),(P=this.linkService.eventBus)==null||P.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:C,change:x||"",willCommit:!1,selStart:I,selEnd:L}})}),this._setEventListeners(s,h,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],w=>w.target.value)}if(b&&s.addEventListener("blur",b),this.data.comb){const w=(this.data.rect[2]-this.data.rect[0])/l;s.classList.add("comb"),s.style.setProperty("--comb-width",`calc(${w}px * var(--total-scale-factor))`);const x=this.data.textAlignment;if(x===1||x===2){const A=()=>{const C=l-s.value.length;s.style.setProperty("--comb-offset",`${x===1?C>>1:C}`)};A();for(const C of["input","blur","resetform","updatefromsandbox"])s.addEventListener(C,A)}}}else s=document.createElement("div"),s.textContent=this.data.fieldValue,s.style.verticalAlign="middle",s.style.display="table-cell",this.data.hasOwnCanvas&&(s.hidden=!0);return this._setTextStyle(s),this._setBackgroundColor(s),this._setDefaultPropertiesFromJS(s),this.container.append(s),this.container}}class ax extends Pl{constructor(t){super(t,{isRenderable:!!t.data.hasOwnCanvas})}}class ox extends Pl{constructor(t){super(t,{isRenderable:t.renderForms})}render(){const t=this.annotationStorage,e=this.data,s=e.id;let i=t.getValue(s,{value:e.exportValue===e.fieldValue}).value;typeof i=="string"&&(i=i!=="Off",t.setValue(s,{value:i})),this.container.classList.add("buttonWidgetAnnotation","checkBox");const r=document.createElement("input");return _l.add(r),r.setAttribute("data-element-id",s),r.disabled=e.readOnly,this._setRequired(r,this.data.required),r.type="checkbox",r.name=e.fieldName,i&&r.setAttribute("checked",!0),r.setAttribute("exportValue",e.exportValue),r.tabIndex=0,r.addEventListener("change",a=>{const{name:o,checked:l}=a.target;for(const c of this._getElementsByName(o,s)){const h=l&&c.exportValue===e.exportValue;c.domElement&&(c.domElement.checked=h),t.setValue(c.id,{value:h})}t.setValue(s,{value:l})}),r.addEventListener("resetform",a=>{const o=e.defaultFieldValue||"Off";a.target.checked=o===e.exportValue}),this.enableScripting&&this.hasJSActions&&(r.addEventListener("updatefromsandbox",a=>{const o={value(l){l.target.checked=l.detail.value!=="Off",t.setValue(s,{value:l.target.checked})}};this._dispatchEventFromSandbox(o,a)}),this._setEventListeners(r,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],a=>a.target.checked)),this._setDefaultPropertiesFromJS(r),this.container.append(r),this.container}}class lx extends Pl{constructor(t){super(t,{isRenderable:t.renderForms})}render(){this.container.classList.add("buttonWidgetAnnotation","radioButton");const t=this.annotationStorage,e=this.data,s=e.id;let i=t.getValue(s,{value:e.buttonValue!==null&&e.fieldValue===e.buttonValue}).value;if(typeof i=="string"&&(i=i!==e.buttonValue,t.setValue(s,{value:i})),i)for(const a of this._getElementsByName(e.fieldName,s))t.setValue(a.id,{value:!1});const r=document.createElement("input");if(_l.add(r),r.setAttribute("data-element-id",s),r.disabled=e.readOnly,this._setRequired(r,this.data.required),r.type="radio",r.name=e.fieldName,i&&r.setAttribute("checked",!0),r.tabIndex=0,r.addEventListener("change",a=>{const{name:o,checked:l}=a.target;for(const c of this._getElementsByName(o,s))t.setValue(c.id,{value:!1});t.setValue(s,{value:l})}),r.addEventListener("resetform",a=>{const o=e.defaultFieldValue;a.target.checked=o!=null&&o===e.buttonValue}),this.enableScripting&&this.hasJSActions){const a=e.buttonValue;r.addEventListener("updatefromsandbox",o=>{const l={value:c=>{const h=a===c.detail.value;for(const d of this._getElementsByName(c.target.name)){const f=h&&d.id===s;d.domElement&&(d.domElement.checked=f),t.setValue(d.id,{value:f})}}};this._dispatchEventFromSandbox(l,o)}),this._setEventListeners(r,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],o=>o.target.checked)}return this._setDefaultPropertiesFromJS(r),this.container.append(r),this.container}}class cx extends Xm{constructor(t){super(t,{ignoreBorder:t.data.hasAppearance})}render(){const t=super.render();t.classList.add("buttonWidgetAnnotation","pushButton");const e=t.lastChild;return this.enableScripting&&this.hasJSActions&&e&&(this._setDefaultPropertiesFromJS(e),e.addEventListener("updatefromsandbox",s=>{this._dispatchEventFromSandbox({},s)})),t}}class hx extends Pl{constructor(t){super(t,{isRenderable:t.renderForms})}render(){this.container.classList.add("choiceWidgetAnnotation");const t=this.annotationStorage,e=this.data.id,s=t.getValue(e,{value:this.data.fieldValue}),i=document.createElement("select");_l.add(i),i.setAttribute("data-element-id",e),i.disabled=this.data.readOnly,this._setRequired(i,this.data.required),i.name=this.data.fieldName,i.tabIndex=0;let r=this.data.combo&&this.data.options.length>0;this.data.combo||(i.size=this.data.options.length,this.data.multiSelect&&(i.multiple=!0)),i.addEventListener("resetform",d=>{const f=this.data.defaultFieldValue;for(const g of i.options)g.selected=g.value===f});const a=(d,f)=>{const g=f.replaceAll(" "," ");d.textContent=g,g!==f&&d.setAttribute("display-value",f)};for(const d of this.data.options){const f=document.createElement("option");a(f,d.displayValue),f.value=d.exportValue,s.value.includes(d.exportValue)&&(f.setAttribute("selected",!0),r=!1),i.append(f)}let o=null;if(r){const d=document.createElement("option");d.value=" ",d.setAttribute("hidden",!0),d.setAttribute("selected",!0),i.prepend(d),o=()=>{d.remove(),i.removeEventListener("input",o),o=null},i.addEventListener("input",o)}const l=d=>{const f=d?"value":"textContent",{options:g,multiple:y}=i;return y?Array.prototype.filter.call(g,b=>b.selected).map(b=>b[f]):g.selectedIndex===-1?null:g[g.selectedIndex][f]};let c=l(!1);const h=d=>{const f=d.target.options;return Array.prototype.map.call(f,g=>({displayValue:g.getAttribute("display-value")||g.textContent,exportValue:g.value}))};return this.enableScripting&&this.hasJSActions?(i.addEventListener("updatefromsandbox",d=>{const f={value(g){o==null||o();const y=g.detail.value,b=new Set(Array.isArray(y)?y:[y]);for(const S of i.options)S.selected=b.has(S.value);t.setValue(e,{value:l(!0)}),c=l(!1)},multipleSelection(g){i.multiple=!0},remove(g){const y=i.options,b=g.detail.remove;y[b].selected=!1,i.remove(b),y.length>0&&Array.prototype.findIndex.call(y,w=>w.selected)===-1&&(y[0].selected=!0),t.setValue(e,{value:l(!0),items:h(g)}),c=l(!1)},clear(g){for(;i.length!==0;)i.remove(0);t.setValue(e,{value:null,items:[]}),c=l(!1)},insert(g){const{index:y,displayValue:b,exportValue:S}=g.detail.insert,w=i.children[y],x=document.createElement("option");a(x,b),x.value=S,w?w.before(x):i.append(x),t.setValue(e,{value:l(!0),items:h(g)}),c=l(!1)},items(g){const{items:y}=g.detail;for(;i.length!==0;)i.remove(0);for(const b of y){const{displayValue:S,exportValue:w}=b,x=document.createElement("option");a(x,S),x.value=w,i.append(x)}i.options.length>0&&(i.options[0].selected=!0),t.setValue(e,{value:l(!0),items:h(g)}),c=l(!1)},indices(g){const y=new Set(g.detail.indices);for(const b of g.target.options)b.selected=y.has(b.index);t.setValue(e,{value:l(!0)}),c=l(!1)},editable(g){g.target.disabled=!g.detail.editable}};this._dispatchEventFromSandbox(f,d)}),i.addEventListener("input",d=>{var y;const f=l(!0),g=l(!1);t.setValue(e,{value:f}),d.preventDefault(),(y=this.linkService.eventBus)==null||y.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:c,change:g,changeEx:f,willCommit:!1,commitKey:1,keyDown:!1}})}),this._setEventListeners(i,null,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"],["input","Validate"]],d=>d.target.value)):i.addEventListener("input",function(d){t.setValue(e,{value:l(!0)})}),this.data.combo&&this._setTextStyle(i),this._setBackgroundColor(i),this._setDefaultPropertiesFromJS(i),this.container.append(i),this.container}}var au,em;class tm extends te{constructor(e){const{data:s,elements:i,parent:r}=e,a=!!r._commentManager;super(e,{isRenderable:!a&&te._hasPopupData(s)});m(this,au);if(this.elements=i,a&&te._hasPopupData(s)){const o=this.popup=v(this,au,em).call(this);for(const l of i)l.popup=o}else this.popup=null}render(){const{container:e}=this;e.classList.add("popupAnnotation"),e.role="comment";const s=this.popup=v(this,au,em).call(this),i=[];for(const r of this.elements)r.popup=s,r.container.ariaHasPopup="dialog",i.push(r.data.id),r.addHighlightArea();return this.container.setAttribute("aria-controls",i.map(r=>`${Bl}${r}`).join(",")),this.container}}au=new WeakSet,em=function(){return new dx({container:this.container,color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate||this.data.creationDate,contentsObj:this.data.contentsObj,richText:this.data.richText,rect:this.data.rect,parentRect:this.data.parentRect||null,parent:this.parent,elements:this.elements,open:this.data.open,commentManager:this.parent._commentManager})};var Gs,ra,Ap,Sp,$c,Uc,de,un,aa,Qo,Hc,zc,fn,js,er,sr,ue,ir,oa,ou,nr,Vc,Jo,la,De,ca,gt,Ef,sm,im,nm,Cf,rm,Py,My,Iy,Dy,_f,kf,am;class dx{constructor({container:t,color:e,elements:s,titleObj:i,modificationDate:r,contentsObj:a,richText:o,parent:l,rect:c,parentRect:h,open:d,commentManager:f=null}){m(this,gt);m(this,Gs,null);m(this,ra,v(this,gt,Iy).bind(this));m(this,Ap,v(this,gt,am).bind(this));m(this,Sp,v(this,gt,kf).bind(this));m(this,$c,v(this,gt,_f).bind(this));m(this,Uc,null);m(this,de,null);m(this,un,null);m(this,aa,null);m(this,Qo,null);m(this,Hc,null);m(this,zc,null);m(this,fn,!1);m(this,js,null);m(this,er,null);m(this,sr,null);m(this,ue,null);m(this,ir,null);m(this,oa,null);m(this,ou,null);m(this,nr,null);m(this,Vc,null);m(this,Jo,null);m(this,la,!1);m(this,De,null);m(this,ca,null);p(this,de,t),p(this,Vc,i),p(this,un,a),p(this,nr,o),p(this,Hc,l),p(this,Uc,e),p(this,ou,c),p(this,zc,h),p(this,Qo,s),p(this,Gs,f),p(this,De,s[0]),p(this,aa,qf.toDateObject(r)),this.trigger=s.flatMap(g=>g.getElementsToTriggerPopup()),f||(v(this,gt,Ef).call(this),n(this,de).hidden=!0,d&&v(this,gt,_f).call(this))}renderCommentButton(){if(n(this,ue)){n(this,ue).parentNode||n(this,De).container.after(n(this,ue));return}if(n(this,ir)||v(this,gt,sm).call(this),!n(this,ir))return;const{signal:t}=p(this,er,new AbortController),e=n(this,De).hasOwnCommentButton,s=()=>{n(this,Gs).toggleCommentPopup(this,!0,void 0,!e)},i=()=>{n(this,Gs).toggleCommentPopup(this,!1,!0,!e)},r=()=>{n(this,Gs).toggleCommentPopup(this,!1,!1)};if(e){p(this,ue,n(this,De).container);for(const a of this.trigger)a.ariaHasPopup="dialog",a.ariaControls="commentPopup",a.addEventListener("keydown",n(this,ra),{signal:t}),a.addEventListener("click",s,{signal:t}),a.addEventListener("pointerenter",i,{signal:t}),a.addEventListener("pointerleave",r,{signal:t}),a.classList.add("popupTriggerArea")}else{const a=p(this,ue,document.createElement("button"));a.className="annotationCommentButton";const o=n(this,De).container;a.style.zIndex=parseInt(o.style.zIndex,10)+1,a.tabIndex=0,a.ariaHasPopup="dialog",a.ariaControls="commentPopup",a.setAttribute("data-l10n-id","pdfjs-show-comment-button"),v(this,gt,nm).call(this),v(this,gt,im).call(this),a.addEventListener("keydown",n(this,ra),{signal:t}),a.addEventListener("click",s,{signal:t}),a.addEventListener("pointerenter",i,{signal:t}),a.addEventListener("pointerleave",r,{signal:t}),o.after(a)}}get commentButtonColor(){const{color:t,opacity:e}=n(this,De).commentData;return t?n(this,Hc)._commentManager.makeCommentColor(t,e):null}focusCommentButton(){setTimeout(()=>{var t;(t=n(this,ue))==null||t.focus()},0)}getData(){const{richText:t,color:e,opacity:s,creationDate:i,modificationDate:r}=n(this,De).commentData;return{contentsObj:{str:this.comment},richText:t,color:e,opacity:s,creationDate:i,modificationDate:r}}get elementBeforePopup(){return n(this,ue)}get comment(){return n(this,ca)||p(this,ca,n(this,De).commentText),n(this,ca)}set comment(t){t!==this.comment&&(n(this,De).commentText=p(this,ca,t))}focus(){var t;(t=n(this,De).container)==null||t.focus()}get parentBoundingClientRect(){return n(this,De).layer.getBoundingClientRect()}setCommentButtonStates({selected:t,hasPopup:e}){n(this,ue)&&(n(this,ue).classList.toggle("selected",t),n(this,ue).ariaExpanded=e)}setSelectedCommentButton(t){n(this,ue).classList.toggle("selected",t)}get commentPopupPosition(){if(n(this,oa))return n(this,oa);const{x:t,y:e,height:s}=n(this,ue).getBoundingClientRect(),{x:i,y:r,width:a,height:o}=n(this,De).layer.getBoundingClientRect();return[(t-i)/a,(e+s-r)/o]}set commentPopupPosition(t){p(this,oa,t)}hasDefaultPopupPosition(){return n(this,oa)===null}get commentButtonPosition(){return n(this,ir)}get commentButtonWidth(){return n(this,ue).getBoundingClientRect().width/this.parentBoundingClientRect.width}editComment(t){const[e,s]=n(this,oa)||this.commentButtonPosition.map(c=>c/100),i=this.parentBoundingClientRect,{x:r,y:a,width:o,height:l}=i;n(this,Gs).showDialog(null,this,r+e*o,a+s*l,{...t,parentDimensions:i})}render(){var s,i;if(n(this,js))return;const t=p(this,js,document.createElement("div"));if(t.className="popup",n(this,Uc)){const r=t.style.outlineColor=B.makeHexColor(...n(this,Uc));t.style.backgroundColor=`color-mix(in srgb, ${r} 30%, white)`}const e=document.createElement("span");if(e.className="header",(s=n(this,Vc))!=null&&s.str){const r=document.createElement("span");r.className="title",e.append(r),{dir:r.dir,str:r.textContent}=n(this,Vc)}if(t.append(e),n(this,aa)){const r=document.createElement("time");r.className="popupDate",r.setAttribute("data-l10n-id","pdfjs-annotation-date-time-string"),r.setAttribute("data-l10n-args",JSON.stringify({dateObj:n(this,aa).valueOf()})),r.dateTime=n(this,aa).toISOString(),e.append(r)}ib({html:n(this,gt,Cf)||n(this,un).str,dir:(i=n(this,un))==null?void 0:i.dir,className:"popupContent"},t),n(this,de).append(t)}updateEdited({rect:t,popup:e,deleted:s}){var i;if(n(this,Gs)){s?(this.remove(),p(this,ca,null)):e&&(e.deleted?this.remove():(v(this,gt,nm).call(this),p(this,ca,e.text))),t&&(p(this,ir,null),v(this,gt,sm).call(this),v(this,gt,im).call(this));return}if(s||e!=null&&e.deleted){this.remove();return}v(this,gt,Ef).call(this),n(this,Jo)||p(this,Jo,{contentsObj:n(this,un),richText:n(this,nr)}),t&&p(this,sr,null),e&&e.text&&(p(this,nr,v(this,gt,My).call(this,e.text)),p(this,aa,qf.toDateObject(e.date)),p(this,un,null)),(i=n(this,js))==null||i.remove(),p(this,js,null)}resetEdited(){var t;n(this,Jo)&&({contentsObj:qt(this,un)._,richText:qt(this,nr)._}=n(this,Jo),p(this,Jo,null),(t=n(this,js))==null||t.remove(),p(this,js,null),p(this,sr,null))}remove(){var t,e,s;if((t=n(this,er))==null||t.abort(),p(this,er,null),(e=n(this,js))==null||e.remove(),p(this,js,null),p(this,la,!1),p(this,fn,!1),(s=n(this,ue))==null||s.remove(),p(this,ue,null),this.trigger)for(const i of this.trigger)i.classList.remove("popupTriggerArea")}forceHide(){p(this,la,this.isVisible),n(this,la)&&(n(this,de).hidden=!0)}maybeShow(){n(this,Gs)||(v(this,gt,Ef).call(this),n(this,la)&&(n(this,js)||v(this,gt,kf).call(this),p(this,la,!1),n(this,de).hidden=!1))}get isVisible(){return n(this,Gs)?!1:n(this,de).hidden===!1}}Gs=new WeakMap,ra=new WeakMap,Ap=new WeakMap,Sp=new WeakMap,$c=new WeakMap,Uc=new WeakMap,de=new WeakMap,un=new WeakMap,aa=new WeakMap,Qo=new WeakMap,Hc=new WeakMap,zc=new WeakMap,fn=new WeakMap,js=new WeakMap,er=new WeakMap,sr=new WeakMap,ue=new WeakMap,ir=new WeakMap,oa=new WeakMap,ou=new WeakMap,nr=new WeakMap,Vc=new WeakMap,Jo=new WeakMap,la=new WeakMap,De=new WeakMap,ca=new WeakMap,gt=new WeakSet,Ef=function(){var e;if(n(this,er))return;p(this,er,new AbortController);const{signal:t}=n(this,er);for(const s of this.trigger)s.addEventListener("click",n(this,$c),{signal:t}),s.addEventListener("pointerenter",n(this,Sp),{signal:t}),s.addEventListener("pointerleave",n(this,Ap),{signal:t}),s.classList.add("popupTriggerArea");for(const s of n(this,Qo))(e=s.container)==null||e.addEventListener("keydown",n(this,ra),{signal:t})},sm=function(){const t=n(this,Qo).find(e=>e.hasCommentButton);t&&p(this,ir,t._normalizePoint(t.commentButtonPosition))},im=function(){if(n(this,De).extraPopupElement&&!n(this,De).editor)return;n(this,ue)||this.renderCommentButton();const[t,e]=n(this,ir),{style:s}=n(this,ue);s.left=`calc(${t}%)`,s.top=`calc(${e}% - var(--comment-button-dim))`},nm=function(){n(this,De).extraPopupElement||(n(this,ue)||this.renderCommentButton(),n(this,ue).style.backgroundColor=this.commentButtonColor||"")},Cf=function(){const t=n(this,nr),e=n(this,un);return t!=null&&t.str&&(!(e!=null&&e.str)||e.str===t.str)&&n(this,nr).html||null},rm=function(){var t,e,s;return((s=(e=(t=n(this,gt,Cf))==null?void 0:t.attributes)==null?void 0:e.style)==null?void 0:s.fontSize)||0},Py=function(){var t,e,s;return((s=(e=(t=n(this,gt,Cf))==null?void 0:t.attributes)==null?void 0:e.style)==null?void 0:s.color)||null},My=function(t){const e=[],s={str:t,html:{name:"div",attributes:{dir:"auto"},children:[{name:"p",children:e}]}},i={style:{color:n(this,gt,Py),fontSize:n(this,gt,rm)?`calc(${n(this,gt,rm)}px * var(--total-scale-factor))`:""}};for(const r of t.split(` +`))e.push({name:"span",value:r,attributes:i});return s},Iy=function(t){t.altKey||t.shiftKey||t.ctrlKey||t.metaKey||(t.key==="Enter"||t.key==="Escape"&&n(this,fn))&&v(this,gt,_f).call(this)},Dy=function(){if(n(this,sr)!==null)return;const{page:{view:t},viewport:{rawDims:{pageWidth:e,pageHeight:s,pageX:i,pageY:r}}}=n(this,Hc);let a=!!n(this,zc),o=a?n(this,zc):n(this,ou);for(const y of n(this,Qo))if(!o||B.intersect(y.data.rect,o)!==null){o=y.data.rect,a=!0;break}const l=B.normalizeRect([o[0],t[3]-o[1]+t[1],o[2],t[3]-o[3]+t[1]]),h=a?o[2]-o[0]+5:0,d=l[0]+h,f=l[1];p(this,sr,[100*(d-i)/e,100*(f-r)/s]);const{style:g}=n(this,de);g.left=`${n(this,sr)[0]}%`,g.top=`${n(this,sr)[1]}%`},_f=function(){if(n(this,Gs)){n(this,Gs).toggleCommentPopup(this,!1);return}p(this,fn,!n(this,fn)),n(this,fn)?(v(this,gt,kf).call(this),n(this,de).addEventListener("click",n(this,$c)),n(this,de).addEventListener("keydown",n(this,ra))):(v(this,gt,am).call(this),n(this,de).removeEventListener("click",n(this,$c)),n(this,de).removeEventListener("keydown",n(this,ra)))},kf=function(){n(this,js)||this.render(),this.isVisible?n(this,fn)&&n(this,de).classList.add("focused"):(v(this,gt,Dy).call(this),n(this,de).hidden=!1,n(this,de).style.zIndex=parseInt(n(this,de).style.zIndex,10)+1e3)},am=function(){n(this,de).classList.remove("focused"),!(n(this,fn)||!this.isVisible)&&(n(this,de).hidden=!0,n(this,de).style.zIndex=parseInt(n(this,de).style.zIndex,10)-1e3)};class Ly extends te{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0}),this.textContent=t.data.textContent,this.textPosition=t.data.textPosition,this.annotationEditorType=ot.FREETEXT}render(){if(this.container.classList.add("freeTextAnnotation"),this.textContent){const t=this.contentElement=document.createElement("div");t.classList.add("annotationTextContent"),t.setAttribute("role","comment");for(const e of this.textContent){const s=document.createElement("span");s.textContent=e,t.append(s)}this.container.append(t)}return!this.data.popupRef&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this._editOnDoubleClick(),this.container}}var lu;class ux extends te{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0});m(this,lu,null)}render(){this.container.classList.add("lineAnnotation");const{data:e,width:s,height:i}=this,r=this.svgFactory.create(s,i,!0),a=p(this,lu,this.svgFactory.createElement("svg:line"));return a.setAttribute("x1",e.rect[2]-e.lineCoordinates[0]),a.setAttribute("y1",e.rect[3]-e.lineCoordinates[1]),a.setAttribute("x2",e.rect[2]-e.lineCoordinates[2]),a.setAttribute("y2",e.rect[3]-e.lineCoordinates[3]),a.setAttribute("stroke-width",e.borderStyle.width||1),a.setAttribute("stroke","transparent"),a.setAttribute("fill","transparent"),r.append(a),this.container.append(r),!e.popupRef&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this.container}getElementsToTriggerPopup(){return n(this,lu)}addHighlightArea(){this.container.classList.add("highlightArea")}}lu=new WeakMap;var cu;class fx extends te{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0});m(this,cu,null)}render(){this.container.classList.add("squareAnnotation");const{data:e,width:s,height:i}=this,r=this.svgFactory.create(s,i,!0),a=e.borderStyle.width,o=p(this,cu,this.svgFactory.createElement("svg:rect"));return o.setAttribute("x",a/2),o.setAttribute("y",a/2),o.setAttribute("width",s-a),o.setAttribute("height",i-a),o.setAttribute("stroke-width",a||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","transparent"),r.append(o),this.container.append(r),!e.popupRef&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this.container}getElementsToTriggerPopup(){return n(this,cu)}addHighlightArea(){this.container.classList.add("highlightArea")}}cu=new WeakMap;var hu;class px extends te{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0});m(this,hu,null)}render(){this.container.classList.add("circleAnnotation");const{data:e,width:s,height:i}=this,r=this.svgFactory.create(s,i,!0),a=e.borderStyle.width,o=p(this,hu,this.svgFactory.createElement("svg:ellipse"));return o.setAttribute("cx",s/2),o.setAttribute("cy",i/2),o.setAttribute("rx",s/2-a/2),o.setAttribute("ry",i/2-a/2),o.setAttribute("stroke-width",a||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","transparent"),r.append(o),this.container.append(r),!e.popupRef&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this.container}getElementsToTriggerPopup(){return n(this,hu)}addHighlightArea(){this.container.classList.add("highlightArea")}}hu=new WeakMap;var du;class Fy extends te{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0});m(this,du,null);this.containerClassName="polylineAnnotation",this.svgElementName="svg:polyline"}render(){this.container.classList.add(this.containerClassName);const{data:{rect:e,vertices:s,borderStyle:i,popupRef:r},width:a,height:o}=this;if(!s)return this.container;const l=this.svgFactory.create(a,o,!0);let c=[];for(let d=0,f=s.length;d=0&&a.setAttribute("stroke-width",s||1),i)for(let o=0,l=n(this,Zo).length;o{a.key==="Enter"&&(r?a.metaKey:a.ctrlKey)&&v(this,gu,lm).call(this)}),!s.popupRef&&this.hasPopupData?(this.hasOwnCommentButton=!0,this._createPopup()):i.classList.add("popupTriggerArea"),e.append(i),e}getElementsToTriggerPopup(){return n(this,pu)}addHighlightArea(){this.container.classList.add("highlightArea")}}pu=new WeakMap,gu=new WeakSet,lm=async function(){var a;const{fileId:e,filename:s,content:i}=this,r=await this.linkService.getAttachmentContent(e)||i;r&&((a=this.downloadManager)==null||a.openOrDownloadData(r,s))};var Gc,tl,rr,kl,By,cm;class Ny extends te{constructor(e){super(e,{isRenderable:!!e.data.richMedia});m(this,kl);m(this,Gc,new AbortController);m(this,tl,null);m(this,rr,null)}render(){this.container.classList.add("mediaAnnotation");const{filename:e}=this.data.richMedia,s=document.createElement("button");return s.className="mediaPlayButton",s.type="button",s.title=s.ariaLabel=e,s.addEventListener("click",()=>v(this,kl,By).call(this,s),{signal:n(this,Gc).signal}),this.container.append(s),this.container}destroy(){n(this,Gc).abort(),n(this,rr)&&(n(this,rr).pause(),n(this,rr).removeAttribute("src"),n(this,rr).load(),p(this,rr,null)),v(this,kl,cm).call(this)}}Gc=new WeakMap,tl=new WeakMap,rr=new WeakMap,kl=new WeakSet,By=async function(e){const{fileId:s,filename:i,contentType:r}=this.data.richMedia;e.disabled=!0;let a;try{a=await this.linkService.getAttachmentContent(s)}catch{return}finally{e.disabled=!1}if(!a||!e.isConnected)return;const{signal:o}=n(this,Gc),l=URL.createObjectURL(new Blob([a],{type:r}));p(this,tl,l);const c=r.startsWith("audio/"),h=document.createElement(c?"audio":"video");if(p(this,rr,h),h.className="mediaContent",this._setBackgroundColor(h),h.src=l,h.title=i,h.controls=!0,h.autoplay=!0,h.tabIndex=0,c){let d=!1,f=!1;const g=()=>{h.controls=d||f};this.container.addEventListener("pointerenter",()=>{d=!0,g()},{signal:o}),this.container.addEventListener("pointerleave",()=>{d=!1,g()},{signal:o}),this.container.addEventListener("focusin",()=>{f=!0,g()},{signal:o}),this.container.addEventListener("focusout",()=>{f=!1,g()},{signal:o})}h.addEventListener("emptied",()=>v(this,kl,cm).call(this,l),{once:!0,signal:o}),e.replaceWith(h),h.play().catch(()=>{})},cm=function(e=n(this,tl)){e&&e===n(this,tl)&&(URL.revokeObjectURL(e),p(this,tl,null))};var ha,el,jc,ar,mu,sl,es,vu,xn,Tf,Pf;const nv=class nv{constructor({div:t,accessibilityManager:e,annotationCanvasMap:s,annotationEditorUIManager:i,page:r,viewport:a,structTreeLayer:o,commentManager:l,linkService:c,annotationStorage:h}){m(this,xn);m(this,ha,null);m(this,el,null);m(this,jc,null);m(this,ar,new Map);m(this,mu,null);m(this,sl,null);m(this,es,[]);m(this,vu,!1);M(this,"zIndex",0);this.div=t,p(this,ha,e),p(this,el,s),p(this,mu,o||null),p(this,sl,c||null),p(this,jc,h||new jm),this.page=r,this.viewport=a,this._annotationEditorUIManager=i,this._commentManager=l||null}hasEditableAnnotations(){return n(this,ar).size>0}async render(t){var l;const{annotations:e,optionalContentConfig:s}=t,i=this.div;xl(i,this.viewport);const r=new Map,a=[],o={data:null,layer:i,linkService:n(this,sl),downloadManager:t.downloadManager,imageResourcesPath:t.imageResourcesPath||"",renderForms:t.renderForms!==!1,svgFactory:new Zf,annotationStorage:n(this,jc),enableComment:t.enableComment===!0,enableScripting:t.enableScripting===!0,hasJSActions:t.hasJSActions,fieldObjects:t.fieldObjects,parent:this,elements:null};for(const c of e){if(c.noHTML)continue;const h=c.annotationType===oe.POPUP;if(h){const g=r.get(c.id);if(!g)continue;if(!this._commentManager){a.push(c);continue}o.elements=g}else if(c.rect[2]===c.rect[0]||c.rect[3]===c.rect[1])continue;o.data=c;const d=eg.create(o);if(!d.isRenderable)continue;h||(n(this,es).push(d),c.popupRef&&r.getOrInsertComputed(c.popupRef,Vu).push(d));const f=d.render();c.hidden&&(f.style.visibility="hidden"),d.updateOC(s),d._isEditable&&(n(this,ar).set(d.data.id,d),(l=this._annotationEditorUIManager)==null||l.renderAnnotationElement(d))}await v(this,xn,Tf).call(this);for(const c of a){const h=o.elements=r.get(c.id);o.data=c;const d=eg.create(o);if(!d.isRenderable)continue;const f=d.render();d.contentElement.id=`${Bl}${c.id}`,c.hidden&&(f.style.visibility="hidden"),h.at(-1).container.after(f)}v(this,xn,Pf).call(this)}async addLinkAnnotations(t){const e={data:null,layer:this.div,linkService:n(this,sl),svgFactory:new Zf,parent:this};for(const s of t){s.borderStyle||(s.borderStyle=nv._defaultBorderStyle),e.data=s;const i=eg.create(e);i.isRenderable&&(i.render(),i.contentElement.id=`${Bl}${s.id}`,n(this,es).push(i))}await v(this,xn,Tf).call(this)}update({viewport:t,optionalContentConfig:e}){const s=this.div;this.viewport=t,xl(s,{rotation:t.rotation});for(const i of n(this,es))i.updateOC(e);v(this,xn,Pf).call(this),s.hidden=!1}destroy(){var t,e;for(const s of n(this,es))(t=s.destroy)==null||t.call(s),(e=n(this,ha))==null||e.removePointerInTextLayer(s.contentElement);n(this,es).length=0,n(this,ar).clear(),this.div.replaceChildren()}refreshCanvases(){v(this,xn,Pf).call(this)}getEditableAnnotations(){return n(this,ar).values()}getEditableAnnotation(t){return n(this,ar).get(t)}addFakeAnnotation(t){const{div:e}=this,{id:s,rotation:i}=t,r=new ix({data:{id:s,rect:t.getPDFRect(),rotation:i},editor:t,layer:e,parent:this,enableComment:!!this._commentManager,linkService:n(this,sl),annotationStorage:n(this,jc)});return r.render(),r.contentElement.id=`${Bl}${s}`,r.createOrUpdatePopup(),n(this,es).push(r),r}removeAnnotation(t){var i;const e=n(this,es).findIndex(r=>r.data.id===t);if(e<0)return;const[s]=n(this,es).splice(e,1);(i=n(this,ha))==null||i.removePointerInTextLayer(s.contentElement)}updateFakeAnnotations(t){if(t.length!==0){for(const e of t)e.updateFakeAnnotationElement(this);v(this,xn,Tf).call(this)}}togglePointerEvents(t=!1){this.div.classList.toggle("disabled",!t)}static get _defaultBorderStyle(){return at(this,"_defaultBorderStyle",Object.freeze({width:1,rawWidth:1,style:Ll.SOLID,dashArray:[3],horizontalCornerRadius:0,verticalCornerRadius:0}))}};ha=new WeakMap,el=new WeakMap,jc=new WeakMap,ar=new WeakMap,mu=new WeakMap,sl=new WeakMap,es=new WeakMap,vu=new WeakMap,xn=new WeakSet,Tf=async function(){var s,i,r;if(n(this,es).length===0)return;this.div.replaceChildren();const t=[];if(!n(this,vu)){p(this,vu,!0);for(const{contentElement:a,data:{id:o}}of n(this,es)){const l=a.id=`${Bl}${o}`;t.push((s=n(this,mu))==null?void 0:s.getAriaAttributes(l).then(c=>{if(c)for(const[h,d]of c)a.setAttribute(h,d)}))}}n(this,es).sort(({data:{rect:[a,o,l,c]}},{data:{rect:[h,d,f,g]}})=>{if(a===l&&o===c)return 1;if(h===f&&d===g)return-1;const y=c,b=o,S=(o+c)/2,w=g,x=d,A=(d+g)/2;if(S>=w&&A<=b)return-1;if(A>=y&&S<=x)return 1;const C=(a+l)/2,_=(h+f)/2;return C-_});const e=document.createDocumentFragment();for(const a of n(this,es))e.append(a.container),this._commentManager?(r=((i=a.extraPopupElement)==null?void 0:i.popup)||a.popup)==null||r.renderCommentButton():a.extraPopupElement&&e.append(a.extraPopupElement.render());if(this.div.append(e),await Promise.all(t),n(this,ha))for(const a of n(this,es))n(this,ha).addPointerInTextLayer(a.contentElement,!1)},Pf=function(){var e;if(!n(this,el))return;const t=this.div;for(const[s,i]of n(this,el)){const r=t.querySelector(`[data-annotation-id="${s}"]`);if(!r)continue;if(Array.isArray(i))for(const h of i)h.className="annotationContent",h.ariaHidden=!0;else i.className="annotationContent",i.ariaHidden=!0;const a=[];for(const h of r.children)h.nodeName==="CANVAS"&&a.push(h);for(const h of a)h.remove();const o=Array.isArray(i)?i[0]:i,{firstChild:l}=r;if(l?l.classList.contains("annotationContent")?l.after(o):l.before(o):r.append(o),Array.isArray(i)){let h=o;for(let d=1,f=i.length;da.isEmpty(),i=Cl.TRANSLATE_SMALL,r=Cl.TRANSLATE_BIG;return at(this,"_keyboardManager",new El([[["ctrl+s","mac+meta+s","ctrl+p","mac+meta+p"],e.commitOrRemove,{bubbles:!0}],[["ctrl+Enter","mac+meta+Enter"],e.commitOrRemove],[["Escape"],e.commitOrRemove],[["ArrowLeft"],e._translateEmpty,{args:[-i,0],checker:s}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],e._translateEmpty,{args:[-r,0],checker:s}],[["ArrowRight"],e._translateEmpty,{args:[i,0],checker:s}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],e._translateEmpty,{args:[r,0],checker:s}],[["ArrowUp"],e._translateEmpty,{args:[0,-i],checker:s}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],e._translateEmpty,{args:[0,-r],checker:s}],[["ArrowDown"],e._translateEmpty,{args:[0,i],checker:s}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],e._translateEmpty,{args:[0,r],checker:s}]]))}static initialize(e,s){Pt.initialize(e,s);const i=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(i.getPropertyValue("--freetext-padding"))}static updateDefaultParams(e,s){switch(e){case dt.FREETEXT_SIZE:Yt._defaultFontSize=s;break;case dt.FREETEXT_COLOR:Yt._defaultColor=s;break}}updateParams(e,s){switch(e){case dt.FREETEXT_SIZE:v(this,Ae,$y).call(this,s);break;case dt.FREETEXT_COLOR:v(this,Ae,Uy).call(this,s);break}}static get defaultPropertiesToUpdate(){return[[dt.FREETEXT_SIZE,Yt._defaultFontSize],[dt.FREETEXT_COLOR,Yt._defaultColor||Pt._defaultLineColor]]}get propertiesToUpdate(){return[[dt.FREETEXT_SIZE,n(this,Xs)],[dt.FREETEXT_COLOR,this.color]]}get toolbarButtons(){return this._colorPicker||(this._colorPicker=new Jf(this)),[["colorPicker",this._colorPicker]]}get colorType(){return dt.FREETEXT_COLOR}onUpdatedColor(){var e;this.editorDiv.style.color=this.color,(e=this._colorPicker)==null||e.update(this.color),super.onUpdatedColor()}_translateEmpty(e,s){this._uiManager.translateSelectedEditors(e,s,!0)}getInitialTranslation(){const e=this.parentScale;return[-Yt._internalPadding*e,-(Yt._internalPadding+n(this,Xs))*e]}rebuild(){this.parent&&(super.rebuild(),this.div!==null&&(this.isAttachedToDOM||this.parent.add(this)))}enableEditMode(){if(!super.enableEditMode())return!1;this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this._isDraggable=!1,this.div.removeAttribute("aria-activedescendant"),p(this,il,new AbortController);const e=this._uiManager.combinedSignal(n(this,il));return this.editorDiv.addEventListener("keydown",this.editorDivKeydown.bind(this),{signal:e}),this.editorDiv.addEventListener("focus",this.editorDivFocus.bind(this),{signal:e}),this.editorDiv.addEventListener("blur",this.editorDivBlur.bind(this),{signal:e}),this.editorDiv.addEventListener("input",this.editorDivInput.bind(this),{signal:e}),this.editorDiv.addEventListener("paste",this.editorDivPaste.bind(this),{signal:e}),!0}disableEditMode(){var e;return super.disableEditMode()?(this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.setAttribute("aria-activedescendant",n(this,bu)),this._isDraggable=!0,(e=n(this,il))==null||e.abort(),p(this,il,null),this.div.focus({preventScroll:!0}),this.isEditing=!1,this.parent.div.classList.add("freetextEditing"),!0):!1}focusin(e){this._focusEventsAllowed&&(super.focusin(e),e.target!==this.editorDiv&&this.editorDiv.focus())}onceAdded(e){var s;this.width||(this.enableEditMode(),e&&this.editorDiv.focus(),(s=this._initialOptions)!=null&&s.isCentered&&this.center(),this._initialOptions=null)}isEmpty(){return!this.editorDiv||this.editorDiv.innerText.trim()===""}remove(){this.isEditing=!1,this.parent&&(this.parent.setEditingState(!0),this.parent.div.classList.add("freetextEditing")),super.remove()}commit(){if(!this.isInEditMode())return;super.commit(),this.disableEditMode();const e=n(this,Ws),s=p(this,Ws,v(this,Ae,Hy).call(this).trimEnd());if(e===s)return;const i=r=>{if(p(this,Ws,r),!r){this.remove();return}v(this,Ae,Df).call(this),this._uiManager.rebuild(this),v(this,Ae,Mf).call(this)};this.addCommands({cmd:()=>{i(s)},undo:()=>{i(e)},mustExec:!1}),v(this,Ae,Mf).call(this)}shouldGetKeyboardEvents(){return this.isInEditMode()}enterInEditMode(){this.enableEditMode(),this.editorDiv.focus()}keydown(e){e.target===this.div&&e.key==="Enter"&&(this.enterInEditMode(),e.preventDefault())}editorDivKeydown(e){Yt._keyboardManager.exec(this,e)}editorDivFocus(e){this.isEditing=!0}editorDivBlur(e){this.isEditing=!1}editorDivInput(e){this.parent.div.classList.toggle("freetextEditing",this.isEmpty())}disableEditing(){this.editorDiv.setAttribute("role","comment"),this.editorDiv.removeAttribute("aria-multiline")}enableEditing(){this.editorDiv.setAttribute("role","textbox"),this.editorDiv.setAttribute("aria-multiline",!0)}get canChangeContent(){return!0}render(){if(this.div)return this.div;let e,s;(this._isCopy||this.annotationElementId)&&(e=this.x,s=this.y),super.render(),this.editorDiv=document.createElement("div"),this.editorDiv.className="internal",this.editorDiv.setAttribute("id",n(this,bu)),this.editorDiv.setAttribute("data-l10n-id","pdfjs-free-text2"),this.editorDiv.setAttribute("data-l10n-attrs","default-content"),this.enableEditing(),this.editorDiv.contentEditable=!0;const{style:i}=this.editorDiv;if(i.fontSize=`calc(${n(this,Xs)}px * var(--total-scale-factor))`,i.color=this.color,this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),this._isCopy||this.annotationElementId){const[r,a]=this.parentDimensions;if(this.annotationElementId){const{position:o}=this._initialData;let[l,c]=this.getInitialTranslation();[l,c]=this.pageTranslationToScreen(l,c);const[h,d]=this.pageDimensions,[f,g]=this.pageTranslation;let y,b;switch(this.rotation){case 0:y=e+(o[0]-f)/h,b=s+this.height-(o[1]-g)/d;break;case 90:y=e+(o[0]-f)/h,b=s-(o[1]-g)/d,[l,c]=[c,-l];break;case 180:y=e-this.width+(o[0]-f)/h,b=s-(o[1]-g)/d,[l,c]=[-l,-c];break;case 270:y=e+(o[0]-f-this.height*d)/h,b=s+(o[1]-g-this.width*h)/d,[l,c]=[-c,l];break}this.setAt(y*r,b*a,l,c)}else this._moveAfterPaste(e,s);v(this,Ae,Df).call(this),this._isDraggable=!0,this.editorDiv.contentEditable=!1}else this._isDraggable=!1,this.editorDiv.contentEditable=!0;return this.div}editorDivPaste(e){var y,b,S;const s=e.clipboardData||window.clipboardData,{types:i}=s;if(i.length===1&&i[0]==="text/plain")return;e.preventDefault();const r=v(y=Yt,br,um).call(y,s.getData("text")||"").replaceAll(Zu,` +`);if(!r)return;const a=window.getSelection();if(!a.rangeCount)return;this.editorDiv.normalize(),a.deleteFromDocument();const o=a.getRangeAt(0);if(!r.includes(` +`)){o.insertNode(document.createTextNode(r)),this.editorDiv.normalize(),a.collapseToStart();return}const{startContainer:l,startOffset:c}=o,h=[],d=[];if(l.nodeType===Node.TEXT_NODE){const w=l.parentElement;if(d.push(l.nodeValue.slice(c).replaceAll(Zu,"")),w!==this.editorDiv){let x=h;for(const A of this.editorDiv.childNodes){if(A===w){x=d;continue}x.push(v(b=Yt,br,If).call(b,A))}}h.push(l.nodeValue.slice(0,c).replaceAll(Zu,""))}else if(l===this.editorDiv){let w=h,x=0;for(const A of this.editorDiv.childNodes)x++===c&&(w=d),w.push(v(S=Yt,br,If).call(S,A))}p(this,Ws,`${h.join(` +`)}${r}${d.join(` +`)}`),v(this,Ae,Df).call(this);const f=new Range;let g=Math.sumPrecise(h.map(w=>w.length));for(const{firstChild:w}of this.editorDiv.childNodes)if(w.nodeType===Node.TEXT_NODE){const x=w.nodeValue.length;if(g<=x){f.setStart(w,g),f.setEnd(w,g);break}g-=x}a.removeAllRanges(),a.addRange(f)}get contentDiv(){return this.editorDiv}getPDFRect(){const e=Yt._internalPadding*this.parentScale;return this.getRect(e,e)}static async deserialize(e,s,i){var o;let r=null;if(e instanceof Ly){const{data:{defaultAppearanceData:{fontSize:l,fontColor:c},rect:h,rotation:d,id:f,popupRef:g,richText:y,contentsObj:b,creationDate:S,modificationDate:w},textContent:x,textPosition:A,parent:{page:{pageNumber:C}}}=e;if(!(x!=null&&x.length))return null;r=e={annotationType:ot.FREETEXT,color:Array.from(c),fontSize:l,value:x.join(` +`),position:A,pageIndex:C-1,rect:h.slice(0),rotation:d,annotationElementId:f,id:f,deleted:!1,popupRef:g,comment:(b==null?void 0:b.str)||null,richText:y,creationDate:S,modificationDate:w}}const a=await super.deserialize(e,s,i);return p(a,Xs,e.fontSize),a.color=B.makeHexColor(...e.color),p(a,Ws,v(o=Yt,br,um).call(o,e.value)),a._initialData=r,e.comment&&a.setCommentData(e),a}serialize(e=!1){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const s=Pt._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:this.color),i=Object.assign(super.serialize(e),{color:s,fontSize:n(this,Xs),value:v(this,Ae,zy).call(this)});return this.addComment(i),e?(i.isCopy=!0,i):this.annotationElementId&&!v(this,Ae,Vy).call(this,i)?null:(i.id=this.annotationElementId,i)}renderAnnotationElement(e){const s=super.renderAnnotationElement(e);if(!s)return null;const{style:i}=s;i.fontSize=`calc(${n(this,Xs)}px * var(--total-scale-factor))`,i.color=this.color,s.replaceChildren();for(const r of n(this,Ws).split(` +`)){const a=document.createElement("div");a.append(r?document.createTextNode(r):document.createElement("br")),s.append(a)}return e.updateEdited({rect:this.getPDFRect(),popup:this._uiManager.hasCommentManager()||this.hasEditedComment?this.comment:{text:n(this,Ws)}}),s}resetAnnotationElement(e){super.resetAnnotationElement(e),e.resetEdited()}};Ws=new WeakMap,bu=new WeakMap,il=new WeakMap,Xs=new WeakMap,Ae=new WeakSet,$y=function(e){const s=r=>{this.editorDiv.style.fontSize=`calc(${r}px * var(--total-scale-factor))`,this.translate(0,-(r-n(this,Xs))*this.parentScale),p(this,Xs,r),v(this,Ae,Mf).call(this)},i=n(this,Xs);this.addCommands({cmd:s.bind(this,e),undo:s.bind(this,i),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:dt.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})},Uy=function(e){const s=r=>{this.color=r,this.onUpdatedColor()},i=this.color;this.addCommands({cmd:s.bind(this,e),undo:s.bind(this,i),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:dt.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})},Hy=function(){var i;const e=[];this.editorDiv.normalize();let s=null;for(const r of this.editorDiv.childNodes)(s==null?void 0:s.nodeType)===Node.TEXT_NODE&&r.nodeName==="BR"||(e.push(v(i=Yt,br,If).call(i,r)),s=r);return e.join(` +`)},Mf=function(){const[e,s]=this.parentDimensions;let i;if(this.isAttachedToDOM)i=this.div.getBoundingClientRect();else{const{currentLayer:r,div:a}=this,o=a.style.display,l=a.classList.contains("hidden");a.classList.remove("hidden"),a.style.display="hidden",r.div.append(this.div),i=a.getBoundingClientRect(),a.remove(),a.style.display=o,a.classList.toggle("hidden",l)}this.rotation%180===this.parentRotation%180?(this.width=i.width/e,this.height=i.height/s):(this.width=i.height/e,this.height=i.width/s),this.fixAndSetPosition()},br=new WeakSet,If=function(e){return(e.nodeType===Node.TEXT_NODE?e.nodeValue:e.innerText).replaceAll(Zu,"")},Df=function(){if(this.editorDiv.replaceChildren(),!!n(this,Ws))for(const e of n(this,Ws).split(` +`)){const s=document.createElement("div");s.append(e?document.createTextNode(e):document.createElement("br")),this.editorDiv.append(s)}},zy=function(){return n(this,Ws).replaceAll(" "," ")},um=function(e){return e.replaceAll(" "," ")},Vy=function(e){const{value:s,fontSize:i,color:r,pageIndex:a}=this._initialData;return this.hasEditedComment||this._hasBeenMoved||e.value!==s||e.fontSize!==i||e.color.some((o,l)=>o!==r[l])||e.pageIndex!==a},m(Yt,br),M(Yt,"_freeTextDefaultContent",""),M(Yt,"_internalPadding",0),M(Yt,"_defaultColor",null),M(Yt,"_defaultFontSize",10),M(Yt,"_type","freetext"),M(Yt,"_editorType",ot.FREETEXT);let dm=Yt;class X{toSVGPath(){Ct("Abstract method `toSVGPath` must be implemented.")}get box(){Ct("Abstract getter `box` must be implemented.")}serialize(t,e){Ct("Abstract method `serialize` must be implemented.")}static _rescale(t,e,s,i,r,a){a||(a=new Float32Array(t.length));for(let o=0,l=t.length;o=6;i-=6)isNaN(e[i])?s.push(`L${e[i+4]} ${e[i+5]}`):s.push(`C${e[i]} ${e[i+1]} ${e[i+2]} ${e[i+3]} ${e[i+4]} ${e[i+5]}`);return v(this,Ce,jy).call(this,s),s.join(" ")}newFreeDrawOutline(t,e,s,i,r,a){return new Ky(t,e,s,i,r,a)}getOutlines(){var d;const t=n(this,pn),e=n(this,Hi),s=n(this,bt),[i,r,a,o]=n(this,qs),l=new Float32Array((((d=n(this,da))==null?void 0:d.length)??0)+2);for(let f=0,g=l.length-2;f=6;f-=6)for(let g=0;g<6;g+=2){if(isNaN(e[f+g])){c[h]=c[h+1]=NaN,h+=2;continue}c[h]=e[f+g],c[h+1]=e[f+g+1],h+=2}return v(this,Ce,qy).call(this,c,h),this.newFreeDrawOutline(c,l,n(this,qs),n(this,qc),n(this,Wc),n(this,Xc))}};qs=new WeakMap,Hi=new WeakMap,Wc=new WeakMap,Xc=new WeakMap,pn=new WeakMap,bt=new WeakMap,nl=new WeakMap,rl=new WeakMap,yu=new WeakMap,wu=new WeakMap,qc=new WeakMap,Yc=new WeakMap,da=new WeakMap,Au=new WeakMap,xp=new WeakMap,Ep=new WeakMap,Ce=new WeakSet,Hh=function(){const t=n(this,bt).subarray(4,6),e=n(this,bt).subarray(16,18),[s,i,r,a]=n(this,qs);return[(n(this,nl)+(t[0]-e[0])/2-s)/r,(n(this,rl)+(t[1]-e[1])/2-i)/a,(n(this,nl)+(e[0]-t[0])/2-s)/r,(n(this,rl)+(e[1]-t[1])/2-i)/a]},Gy=function(){const[t,e,s,i]=n(this,qs),[r,a,o,l]=v(this,Ce,Hh).call(this);return`M${(n(this,bt)[2]-t)/s} ${(n(this,bt)[3]-e)/i} L${(n(this,bt)[4]-t)/s} ${(n(this,bt)[5]-e)/i} L${r} ${a} L${o} ${l} L${(n(this,bt)[16]-t)/s} ${(n(this,bt)[17]-e)/i} L${(n(this,bt)[14]-t)/s} ${(n(this,bt)[15]-e)/i} Z`},jy=function(t){const e=n(this,Hi);t.push(`L${e[4]} ${e[5]} Z`)},Wy=function(t){const[e,s,i,r]=n(this,qs),a=n(this,bt).subarray(4,6),o=n(this,bt).subarray(16,18),[l,c,h,d]=v(this,Ce,Hh).call(this);t.push(`L${(a[0]-e)/i} ${(a[1]-s)/r} L${l} ${c} L${h} ${d} L${(o[0]-e)/i} ${(o[1]-s)/r}`)},Xy=function(t){const e=n(this,bt),[s,i,r,a]=n(this,qs),[o,l,c,h]=v(this,Ce,Hh).call(this),d=new Float32Array(36);return d.set([NaN,NaN,NaN,NaN,(e[2]-s)/r,(e[3]-i)/a,NaN,NaN,NaN,NaN,(e[4]-s)/r,(e[5]-i)/a,NaN,NaN,NaN,NaN,o,l,NaN,NaN,NaN,NaN,c,h,NaN,NaN,NaN,NaN,(e[16]-s)/r,(e[17]-i)/a,NaN,NaN,NaN,NaN,(e[14]-s)/r,(e[15]-i)/a],0),this.newFreeDrawOutline(d,t,n(this,qs),n(this,qc),n(this,Wc),n(this,Xc))},qy=function(t,e){const s=n(this,Hi);return t.set([NaN,NaN,NaN,NaN,s[4],s[5]],e),e+=6},Yy=function(t,e){const s=n(this,bt).subarray(4,6),i=n(this,bt).subarray(16,18),[r,a,o,l]=n(this,qs),[c,h,d,f]=v(this,Ce,Hh).call(this);return t.set([NaN,NaN,NaN,NaN,(s[0]-r)/o,(s[1]-a)/l,NaN,NaN,NaN,NaN,c,h,NaN,NaN,NaN,NaN,d,f,NaN,NaN,NaN,NaN,(i[0]-r)/o,(i[1]-a)/l],e),e+=24},m(In,Au,8),m(In,xp,2),m(In,Ep,n(In,Au)+n(In,xp));let tp=In;var Kc,al,or,Su,Ys,xu,me,Cp,Qy;class Ky extends X{constructor(e,s,i,r,a,o){super();m(this,Cp);m(this,Kc);m(this,al,new Float32Array(4));m(this,or);m(this,Su);m(this,Ys);m(this,xu);m(this,me);p(this,me,e),p(this,Ys,s),p(this,Kc,i),p(this,xu,r),p(this,or,a),p(this,Su,o),this.firstPoint=[NaN,NaN],this.lastPoint=[NaN,NaN],v(this,Cp,Qy).call(this,o);const[l,c,h,d]=n(this,al);for(let f=0,g=e.length;fw?(o=S,l=w):l===w&&(o=d(o,S)),hf[1]?(o=f[0],l=f[1]):l===f[1]&&(o=d(o,f[0])),he[0]-s[0]||e[1]-s[1]||e[2]-s[2]);const t=[];for(const e of n(this,ua))e[3]?(t.push(...v(this,gs,pm).call(this,e)),v(this,gs,Zy).call(this,e)):(v(this,gs,t0).call(this,e),t.push(...v(this,gs,pm).call(this,e)));return v(this,gs,Jy).call(this,t)}}Eu=new WeakMap,Cu=new WeakMap,_u=new WeakMap,ua=new WeakMap,zi=new WeakMap,gs=new WeakSet,Jy=function(t){const e=[],s=new Set;for(const a of t){const[o,l,c]=a;e.push([o,l,a],[o,c,a])}e.sort((a,o)=>a[1]-o[1]||a[0]-o[0]);for(let a=0,o=e.length;a0;){const a=s.values().next().value;let[o,l,c,h,d]=a;s.delete(a);let f=o,g=l;for(r=[o,c],i.push(r);;){let y;if(s.has(h))y=h;else if(s.has(d))y=d;else break;s.delete(y),[o,l,c,h,d]=y,f!==o&&(r.push(f,g,o,g===l?l:c),f=o),g=g===l?c:l}r.push(f,g)}return new Ax(i,n(this,Eu),n(this,Cu),n(this,_u))},Lf=function(t){const e=n(this,zi);let s=0,i=e.length-1;for(;s<=i;){const r=s+i>>1,a=e[r][0];if(a===t)return r;a=0;i--){const[r,a]=n(this,zi)[i];if(r!==t)break;if(r===t&&a===e){n(this,zi).splice(i,1);return}}},pm=function(t){const[e,s,i]=t,r=[[e,s,i]],a=v(this,gs,Lf).call(this,i);for(let o=0;o=l){if(g>c)r[h][1]=c;else{if(d===1)return[];r.splice(h,1),h--,d--}continue}r[h][2]=l,g>c&&r.push([e,c,g])}}}return r};var ku,Qc;class Ax extends X{constructor(e,s,i,r){super();m(this,ku);m(this,Qc);p(this,Qc,e),p(this,ku,s),this.firstPoint=i,this.lastPoint=r}toSVGPath(){const e=[];for(const s of n(this,Qc)){let[i,r]=s;e.push(`M${i} ${r}`);for(let a=2;a-1?(p(this,Ve,!0),v(this,pt,Ff).call(this,e),v(this,pt,Ha).call(this)):n(this,lr)&&(p(this,Jc,e.anchorNode),p(this,Tu,e.anchorOffset),p(this,Mu,e.focusNode),p(this,Iu,e.focusOffset),v(this,pt,mm).call(this),v(this,pt,Ha).call(this),this.rotate(this.rotation)),this.annotationElementId||this._uiManager.a11yAlert(Pt._l10nAlert.highlight)}static get _keyboardManager(){const e=_t.prototype;return at(this,"_keyboardManager",new El([[["ArrowLeft"],e._moveCaret,{args:[0]}],[["ArrowRight"],e._moveCaret,{args:[1]}],[["ArrowUp"],e._moveCaret,{args:[2]}],[["ArrowDown"],e._moveCaret,{args:[3]}]]))}get telemetryInitialData(){return{action:"added",type:n(this,Ve)?"free_highlight":"highlight",color:this._uiManager.getNonHCMColorName(this.color),thickness:n(this,yi),methodOfCreation:n(this,Du)}}get telemetryFinalData(){return{type:"highlight",color:this._uiManager.getNonHCMColorName(this.color)}}static computeTelemetryFinalData(e){return{numberOfColors:e.get("color").size}}static initialize(e,s){var i;Pt.initialize(e,s),_t._defaultColor||(_t._defaultColor=((i=s.highlightColors)==null?void 0:i.values().next().value)||"#fff066")}static updateDefaultParams(e,s){switch(e){case dt.HIGHLIGHT_COLOR:_t._defaultColor=s;break;case dt.HIGHLIGHT_THICKNESS:_t._defaultThickness=s;break}}translateInPage(e,s){}get toolbarPosition(){return n(this,th)}get commentButtonPosition(){return n(this,Zc)}updateParams(e,s){switch(e){case dt.HIGHLIGHT_COLOR:v(this,pt,e0).call(this,s);break;case dt.HIGHLIGHT_THICKNESS:v(this,pt,s0).call(this,s);break}}static get defaultPropertiesToUpdate(){return[[dt.HIGHLIGHT_COLOR,_t._defaultColor],[dt.HIGHLIGHT_THICKNESS,_t._defaultThickness]]}get propertiesToUpdate(){return[[dt.HIGHLIGHT_COLOR,this.color||_t._defaultColor],[dt.HIGHLIGHT_THICKNESS,n(this,yi)||_t._defaultThickness],[dt.HIGHLIGHT_FREE,n(this,Ve)]]}onUpdatedColor(){var e,s;(e=this.parent)==null||e.drawLayer.updateProperties(n(this,Qs),{root:{fill:this.color,"fill-opacity":this.opacity}}),(s=n(this,Pu))==null||s.updateColor(this.color),super.onUpdatedColor()}get toolbarButtons(){return this._uiManager.highlightColors?[["colorPicker",p(this,Pu,new Qf({editor:this}))]]:super.toolbarButtons}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}fixAndSetPosition(){return super.fixAndSetPosition(v(this,pt,Rf).call(this))}getBaseTranslation(){return[0,0]}getRect(e,s){return super.getRect(e,s,v(this,pt,Rf).call(this))}onceAdded(e){this.annotationElementId||this.parent.addUndoableEditor(this),e&&this.div.focus()}remove(){v(this,pt,vm).call(this),this._reportTelemetry({action:"deleted"}),super.remove()}rebuild(){this.parent&&(super.rebuild(),this.div!==null&&(v(this,pt,Ha).call(this),this.isAttachedToDOM||this.parent.add(this)))}setParent(e){var i;let s=!1;this.parent&&!e?v(this,pt,vm).call(this):e&&(v(this,pt,Ha).call(this,e),s=!this.parent&&((i=this.div)==null?void 0:i.classList.contains("selectedEditor"))),super.setParent(e),this.show(this._isVisible),s&&this.select()}rotate(e){var r,a,o;const{drawLayer:s}=this.parent;let i;n(this,Ve)?(e=(e-this.rotation+360)%360,i=v(r=_t,Si,Rl).call(r,n(this,Ks).box,e)):i=v(a=_t,Si,Rl).call(a,[this.x,this.y,this.width,this.height],e),s.updateProperties(n(this,Qs),{bbox:i,root:{"data-main-rotation":e}}),s.updateProperties(n(this,ss),{bbox:v(o=_t,Si,Rl).call(o,n(this,xs).box,e),root:{"data-main-rotation":e}})}render(){if(this.div)return this.div;const e=super.render();n(this,eh)&&(e.setAttribute("aria-label",n(this,eh)),e.setAttribute("role","mark")),n(this,Ve)?e.classList.add("free"):this.div.addEventListener("keydown",v(this,pt,n0).bind(this),{signal:this._uiManager._signal});const s=p(this,ll,document.createElement("div"));return e.append(s),s.setAttribute("aria-hidden","true"),s.className="internal",s.style.clipPath=n(this,ol),this.setDims(),hb(this,n(this,ll),["pointerover","pointerleave"]),this.enableEditing(),e}pointerover(){var e;this.isSelected||(e=this.parent)==null||e.drawLayer.updateProperties(n(this,ss),{rootClass:{hovered:!0}})}pointerleave(){var e;this.isSelected||(e=this.parent)==null||e.drawLayer.updateProperties(n(this,ss),{rootClass:{hovered:!1}})}_moveCaret(e){switch(this.parent.unselect(this),e){case 0:case 2:v(this,pt,Of).call(this,!0);break;case 1:case 3:v(this,pt,Of).call(this,!1);break}}select(){var e;super.select(),n(this,ss)&&((e=this.parent)==null||e.drawLayer.updateProperties(n(this,ss),{rootClass:{hovered:!1,selected:!0}}))}unselect(){var e;super.unselect(),n(this,ss)&&((e=this.parent)==null||e.drawLayer.updateProperties(n(this,ss),{rootClass:{selected:!1}}),n(this,Ve)||v(this,pt,Of).call(this,!1))}get _mustFixPosition(){return!n(this,Ve)}show(e=this._isVisible){super.show(e),this.parent&&(this.parent.drawLayer.updateProperties(n(this,Qs),{rootClass:{hidden:!e}}),this.parent.drawLayer.updateProperties(n(this,ss),{rootClass:{hidden:!e}}))}static startHighlighting(e,s,{target:i,x:r,y:a}){const{x:o,y:l,width:c,height:h}=i.getBoundingClientRect(),d=new AbortController,f=e.combinedSignal(d),g=y=>{d.abort(),v(this,Si,l0).call(this,e,y)};window.addEventListener("blur",g,{signal:f}),window.addEventListener("pointerup",g,{signal:f}),window.addEventListener("pointerdown",ie,{capture:!0,passive:!1,signal:f}),window.addEventListener("contextmenu",Ci,{signal:f}),i.addEventListener("pointermove",v(this,Si,o0).bind(this,e),{signal:f}),this._freeHighlight=new gm({x:r,y:a},[o,l,c,h],e.scale,this._defaultThickness/2,s,.001),{id:this._freeHighlightId,clipPathId:this._freeHighlightClipId}=e.drawLayer.draw({bbox:[0,0,1,1],root:{viewBox:"0 0 1 1",fill:this._defaultColor,"fill-opacity":this._defaultOpacity},rootClass:{highlight:!0,free:!0},path:{d:this._freeHighlight.toSVGPath()}},!0,!0)}static async deserialize(e,s,i){var S,w,x,A;let r=null;if(e instanceof Oy){const{data:{quadPoints:C,rect:_,rotation:k,id:I,color:L,opacity:P,popupRef:D,richText:R,contentsObj:K,creationDate:W,modificationDate:Q},parent:{page:{pageNumber:ht}}}=e;r=e={annotationType:ot.HIGHLIGHT,color:Array.from(L),opacity:P,quadPoints:C,boxes:null,pageIndex:ht-1,rect:_.slice(0),rotation:k,annotationElementId:I,id:I,deleted:!1,popupRef:D,richText:R,comment:(K==null?void 0:K.str)||null,creationDate:W,modificationDate:Q}}else if(e instanceof qm){const{data:{inkLists:C,rect:_,rotation:k,id:I,color:L,borderStyle:{rawWidth:P},popupRef:D,richText:R,contentsObj:K,creationDate:W,modificationDate:Q},parent:{page:{pageNumber:ht}}}=e;r=e={annotationType:ot.HIGHLIGHT,color:Array.from(L),thickness:P,inkLists:C,boxes:null,pageIndex:ht-1,rect:_.slice(0),rotation:k,annotationElementId:I,id:I,deleted:!1,popupRef:D,richText:R,comment:(K==null?void 0:K.str)||null,creationDate:W,modificationDate:Q}}const{color:a,quadPoints:o,inkLists:l,outlines:c,opacity:h}=e,d=await super.deserialize(e,s,i);d.color=B.makeHexColor(...a),d.opacity=h||1,l&&p(d,yi,e.thickness),d._initialData=r,e.comment&&d.setCommentData(e);const[f,g]=d.pageDimensions,[y,b]=d.pageTranslation;if(o){const C=p(d,lr,[]);for(let _=0;_=0)p(this,Qs,s),p(this,ol,i),this.parent.drawLayer.finalizeDraw(s,{bbox:e.box,path:{d:e.toSVGPath()}}),p(this,ss,this.parent.drawLayer.drawOutline({rootClass:{highlightOutline:!0,free:!0},bbox:n(this,xs).box,path:{d:n(this,xs).toSVGPath()}},!0));else if(this.parent){const y=this.parent.viewport.rotation;this.parent.drawLayer.updateProperties(n(this,Qs),{bbox:v(f=_t,Si,Rl).call(f,n(this,Ks).box,(y-this.rotation+360)%360),path:{d:e.toSVGPath()}}),this.parent.drawLayer.updateProperties(n(this,ss),{bbox:v(g=_t,Si,Rl).call(g,n(this,xs).box,y),path:{d:n(this,xs).toSVGPath()}})}const[a,o,l,c]=e.box;switch(this.rotation){case 0:this.x=a,this.y=o,this.width=l,this.height=c;break;case 90:{const[y,b]=this.parentDimensions;this.x=o,this.y=1-a,this.width=l*b/y,this.height=c*y/b;break}case 180:this.x=1-a,this.y=1-o,this.width=l,this.height=c;break;case 270:{const[y,b]=this.parentDimensions;this.x=1-o,this.y=a,this.width=l*b/y,this.height=c*y/b;break}}const{firstPoint:h}=e;p(this,Zc,[(h[0]-a)/l,(h[1]-o)/c]);const{lastPoint:d}=n(this,xs);p(this,th,[(d[0]-a)/l,(d[1]-o)/c])},e0=function(e){const s=(a,o)=>{this.color=a,this.opacity=o,this.onUpdatedColor()},i=this.color,r=this.opacity;this.addCommands({cmd:s.bind(this,e,_t._defaultOpacity),undo:s.bind(this,i,r),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:dt.HIGHLIGHT_COLOR,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"color_changed",color:this._uiManager.getNonHCMColorName(e)},!0)},s0=function(e){const s=n(this,yi),i=r=>{p(this,yi,r),v(this,pt,i0).call(this,r)};this.addCommands({cmd:i.bind(this,e),undo:i.bind(this,s),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:dt.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"thickness_changed",thickness:e},!0)},i0=function(e){n(this,Ve)&&(v(this,pt,Ff).call(this,{highlightOutlines:n(this,Ks).getNewOutline(e/2)}),this.fixAndSetPosition(),this.setDims())},vm=function(){n(this,Qs)===null||!this.parent||(this.parent.drawLayer.remove(n(this,Qs)),p(this,Qs,null),this.parent.drawLayer.remove(n(this,ss)),p(this,ss,null))},Ha=function(e=this.parent){n(this,Qs)===null&&({id:qt(this,Qs)._,clipPathId:qt(this,ol)._}=e.drawLayer.draw({bbox:n(this,Ks).box,root:{viewBox:"0 0 1 1",fill:this.color,"fill-opacity":this.opacity},rootClass:{highlight:!0,free:n(this,Ve)},path:{d:n(this,Ks).toSVGPath()}},!1,!0),p(this,ss,e.drawLayer.drawOutline({rootClass:{highlightOutline:!0,free:n(this,Ve)},bbox:n(this,xs).box,path:{d:n(this,xs).toSVGPath()}},n(this,Ve))),n(this,ll)&&(n(this,ll).style.clipPath=n(this,ol)))},Si=new WeakSet,Rl=function([e,s,i,r],a){switch(a){case 90:return[1-s-r,e,r,i];case 180:return[1-e-i,1-s-r,i,r];case 270:return[s,1-e-i,r,i]}return[e,s,i,r]},n0=function(e){_t._keyboardManager.exec(this,e)},Of=function(e){if(!n(this,Jc))return;const s=window.getSelection();e?s.setPosition(n(this,Jc),n(this,Tu)):s.setPosition(n(this,Mu),n(this,Iu))},Rf=function(){return n(this,Ve)?this.rotation:0},r0=function(){if(n(this,Ve))return null;const[e,s]=this.pageDimensions,[i,r]=this.pageTranslation,a=n(this,lr),o=new Float32Array(a.length*8);let l=0;for(const{x:c,y:h,width:d,height:f}of a){const g=c*e+i,y=(1-h)*s+r;o[l]=o[l+4]=g,o[l+1]=o[l+3]=y,o[l+2]=o[l+6]=g+d*e,o[l+5]=o[l+7]=y-f*s,l+=8}return o},a0=function(e){return n(this,Ks).serialize(e,v(this,pt,Rf).call(this))},o0=function(e,s){this._freeHighlight.add(s)&&e.drawLayer.updateProperties(this._freeHighlightId,{path:{d:this._freeHighlight.toSVGPath()}})},l0=function(e,s){this._freeHighlight.isEmpty()?e.drawLayer.remove(this._freeHighlightId):e.createAndAddNewEditor(s,!1,{highlightId:this._freeHighlightId,highlightOutlines:this._freeHighlight.getOutlines(),clipPathId:this._freeHighlightClipId,methodOfCreation:"main_toolbar"}),this._freeHighlightId=-1,this._freeHighlight=null,this._freeHighlightClipId=""},c0=function(e){const{color:s}=this._initialData;return this.hasEditedComment||e.color.some((i,r)=>i!==s[r])},m(_t,Si),M(_t,"_defaultColor",null),M(_t,"_defaultOpacity",1),M(_t,"_defaultThickness",12),M(_t,"_type","highlight"),M(_t,"_editorType",ot.HIGHLIGHT),M(_t,"_freeHighlightId",-1),M(_t,"_freeHighlight",null),M(_t,"_freeHighlightClipId","");let ep=_t;var cl;class h0{constructor(){m(this,cl,Object.create(null))}updateProperty(t,e){this[t]=e,this.updateSVGProperty(t,e)}updateProperties(t){if(t)for(const[e,s]of Object.entries(t))e.startsWith("_")||this.updateProperty(e,s)}updateSVGProperty(t,e){n(this,cl)[t]=e}toSVGProperties(){const t=n(this,cl);return p(this,cl,Object.create(null)),{root:t}}reset(){p(this,cl,Object.create(null))}updateAll(t=this){this.updateProperties(t)}clone(){Ct("Not implemented")}}cl=new WeakMap;var cs,sh,Le,hl,dl,St,bm,ym,wm,zh,d0,Nf,Vh,Nl;const wt=class wt extends Pt{constructor(e){super(e);m(this,St);m(this,cs,null);m(this,sh);M(this,"_colorPicker",null);M(this,"_drawId",null);p(this,sh,e.mustBeCommitted||!1),this._addOutlines(e)}onUpdatedColor(){var e;(e=this._colorPicker)==null||e.update(this.color),super.onUpdatedColor()}onUpdatedOpacity(){var e,s;(s=(e=this._colorPicker)==null?void 0:e.updateOpacity)==null||s.call(e,this.opacity)}_addOutlines(e){e.drawOutlines&&(v(this,St,bm).call(this,e),v(this,St,zh).call(this))}static _mergeSVGProperties(e,s){const i=new Set(Object.keys(e));for(const[r,a]of Object.entries(s))i.has(r)?Object.assign(e[r],a):e[r]=a;return e}static getDefaultDrawingOptions(e){Ct("Not implemented")}static get typesMap(){Ct("Not implemented")}static get isDrawer(){return!0}static get supportMultipleDrawings(){return!1}static updateDefaultParams(e,s){const i=this.typesMap.get(e);i&&this._defaultDrawingOptions.updateProperty(i,s),this._currentParent&&(n(wt,Le).updateProperty(i,s),this._currentParent.drawLayer.updateProperties(this._currentDrawId,this._defaultDrawingOptions.toSVGProperties()))}updateParams(e,s){const i=this.constructor.typesMap.get(e);i&&this._updateProperty(e,i,s)}static get defaultPropertiesToUpdate(){const e=[],s=this._defaultDrawingOptions;for(const[i,r]of this.typesMap)e.push([i,s[r]]);return e}get propertiesToUpdate(){const e=[],{_drawingOptions:s}=this;for(const[i,r]of this.constructor.typesMap)e.push([i,s[r]]);return e}_updateProperty(e,s,i){const r=this._drawingOptions,a=r[s],o=l=>{var h;r.updateProperty(s,l);const c=n(this,cs).updateProperty(s,l);c&&v(this,St,Vh).call(this,c),(h=this.parent)==null||h.drawLayer.updateProperties(this._drawId,r.toSVGProperties()),e===this.colorType?this.onUpdatedColor():e===this.opacityType&&this.onUpdatedOpacity()};this.addCommands({cmd:o.bind(this,i),undo:o.bind(this,a),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:e,overwriteIfSameType:!0,keepUndo:!0})}_updateColorAndOpacity(e,s){const i=this.constructor.typesMap.get(this.colorType),r=this.constructor.typesMap.get(this.opacityType),a=this._drawingOptions,o=a[i],l=a[r],c=(h,d)=>{var f;a.updateProperty(i,h),a.updateProperty(r,d),n(this,cs).updateProperty(i,h),n(this,cs).updateProperty(r,d),(f=this.parent)==null||f.drawLayer.updateProperties(this._drawId,a.toSVGProperties()),this.onUpdatedColor(),this.onUpdatedOpacity()};this.addCommands({cmd:c.bind(this,e,s),undo:c.bind(this,o,l),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:dt.INK_COLOR_AND_OPACITY,overwriteIfSameType:!0,keepUndo:!0})}_onResizing(){var e;(e=this.parent)==null||e.drawLayer.updateProperties(this._drawId,wt._mergeSVGProperties(n(this,cs).getPathResizingSVGProperties(v(this,St,Nf).call(this)),{bbox:v(this,St,Nl).call(this)}))}_onResized(){var e;(e=this.parent)==null||e.drawLayer.updateProperties(this._drawId,wt._mergeSVGProperties(n(this,cs).getPathResizedSVGProperties(v(this,St,Nf).call(this)),{bbox:v(this,St,Nl).call(this)}))}_onTranslating(e,s){var i;(i=this.parent)==null||i.drawLayer.updateProperties(this._drawId,{bbox:v(this,St,Nl).call(this)})}_onTranslated(){var e;(e=this.parent)==null||e.drawLayer.updateProperties(this._drawId,wt._mergeSVGProperties(n(this,cs).getPathTranslatedSVGProperties(v(this,St,Nf).call(this),this.parentDimensions),{bbox:v(this,St,Nl).call(this)}))}_onStartDragging(){var e;(e=this.parent)==null||e.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!0}})}_onStopDragging(){var e;(e=this.parent)==null||e.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!1}})}commit(){super.commit(),this.disableEditMode(),this.disableEditing()}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}getBaseTranslation(){return[0,0]}get isResizable(){return!0}onceAdded(e){this.annotationElementId||this.parent.addUndoableEditor(this),this._isDraggable=!0,n(this,sh)&&(p(this,sh,!1),this.commit(),this.parent.setSelected(this),e&&this.isOnScreen&&this.div.focus())}remove(){v(this,St,wm).call(this),super.remove()}rebuild(){this.parent&&(super.rebuild(),this.div!==null&&(v(this,St,zh).call(this),v(this,St,Vh).call(this,n(this,cs).box),this.isAttachedToDOM||this.parent.add(this)))}setParent(e){var i;let s=!1;this.parent&&!e?(this._uiManager.removeShouldRescale(this),v(this,St,wm).call(this)):e&&(this._uiManager.addShouldRescale(this),v(this,St,zh).call(this,e),s=!this.parent&&((i=this.div)==null?void 0:i.classList.contains("selectedEditor"))),super.setParent(e),s&&this.select()}rotate(){this.parent&&this.parent.drawLayer.updateProperties(this._drawId,wt._mergeSVGProperties({bbox:v(this,St,Nl).call(this)},n(this,cs).updateRotation((this.parentRotation-this.rotation+360)%360)))}onScaleChanging(){this.parent&&v(this,St,Vh).call(this,n(this,cs).updateParentDimensions(this.parentDimensions,this.parent.scale))}static onScaleChangingWhenDrawing(){}render(){if(this.div)return this.div;let e,s;this._isCopy&&(e=this.x,s=this.y);const i=super.render();i.classList.add("draw");const r=document.createElement("div");return i.append(r),r.setAttribute("aria-hidden","true"),r.className="internal",this.setDims(),this._uiManager.addShouldRescale(this),this.disableEditing(),this._isCopy&&this._moveAfterPaste(e,s),i}static createDrawerInstance(e,s,i,r,a){Ct("Not implemented")}static startDrawing(e,s,i,r){var S;const{target:a,offsetX:o,offsetY:l,pointerId:c,pointerType:h}=r;if(Je.isInitializedAndDifferentPointerType(h))return;const{viewport:{rotation:d}}=e,{width:f,height:g}=a.getBoundingClientRect(),y=p(wt,hl,new AbortController),b=e.combinedSignal(y);if(Je.setPointer(h,c),window.addEventListener("pointerup",w=>{Je.isSamePointerIdOrRemove(w.pointerId)&&this._endDraw(w)},{signal:b}),window.addEventListener("pointercancel",w=>{Je.isSamePointerIdOrRemove(w.pointerId)&&this._currentParent.endDrawingSession()},{signal:b}),window.addEventListener("pointerdown",w=>{Je.isSamePointerType(w.pointerType)&&(Je.initializeAndAddPointerId(w.pointerId),n(wt,Le).isCancellable()&&(n(wt,Le).removeLastElement(),n(wt,Le).isEmpty()?this._currentParent.endDrawingSession(!0):this._endDraw(null)))},{capture:!0,passive:!1,signal:b}),window.addEventListener("contextmenu",Ci,{signal:b}),a.addEventListener("pointermove",this._drawMove.bind(this),{signal:b}),a.addEventListener("touchmove",w=>{Je.isSameTimeStamp(w.timeStamp)&&ie(w)},{signal:b}),e.toggleDrawing(),(S=s._editorUndoBar)==null||S.hide(),n(wt,Le)){e.drawLayer.updateProperties(this._currentDrawId,n(wt,Le).startNew(o,l,f,g,d));return}s.updateUIForDefaultProperties(this),p(wt,Le,this.createDrawerInstance(o,l,f,g,d)),p(wt,dl,this.getDefaultDrawingOptions()),this._currentParent=e,{id:this._currentDrawId}=e.drawLayer.draw(this._mergeSVGProperties(n(wt,dl).toSVGProperties(),n(wt,Le).defaultSVGProperties),!0,!1)}static _drawMove(e){if(Je.isSameTimeStamp(e.timeStamp),!n(wt,Le))return;const{offsetX:s,offsetY:i,pointerId:r}=e;if(Je.isSamePointerId(r)){if(Je.isUsingMultiplePointers()){this._endDraw(e);return}this._currentParent.drawLayer.updateProperties(this._currentDrawId,n(wt,Le).add(s,i)),Je.setTimeStamp(e.timeStamp),ie(e)}}static _cleanup(e){e&&(this._currentDrawId=-1,this._currentParent=null,p(wt,Le,null),p(wt,dl,null),Je.clearTimeStamp()),n(wt,hl)&&(n(wt,hl).abort(),p(wt,hl,null),Je.clearPointerIds())}static _endDraw(e){const s=this._currentParent;if(s){if(s.toggleDrawing(!0),this._cleanup(!1),(e==null?void 0:e.target)===s.div&&s.drawLayer.updateProperties(this._currentDrawId,n(wt,Le).end(e.offsetX,e.offsetY)),this.supportMultipleDrawings){const i=n(wt,Le),r=this._currentDrawId,a=i.getLastElement();s.addCommands({cmd:()=>{s.drawLayer.updateProperties(r,i.setLastElement(a))},undo:()=>{s.drawLayer.updateProperties(r,i.removeLastElement())},mustExec:!1,type:dt.DRAW_STEP});return}this.endDrawing(!1)}}static endDrawing(e){const s=this._currentParent;if(!s)return null;if(s.toggleDrawing(!0),s.cleanUndoStack(dt.DRAW_STEP),!n(wt,Le).isEmpty()){const{pageDimensions:[i,r],scale:a}=s,o=s.createAndAddNewEditor({offsetX:0,offsetY:0},!1,{drawId:this._currentDrawId,drawOutlines:n(wt,Le).getOutlines(i*a,r*a,a,this._INNER_MARGIN),drawingOptions:n(wt,dl),mustBeCommitted:!e});return this._cleanup(!0),o}return s.drawLayer.remove(this._currentDrawId),this._cleanup(!0),null}createDrawingOptions(e){}static deserializeDraw(e,s,i,r,a,o){Ct("Not implemented")}static async deserialize(e,s,i){var d,f;const{rawDims:{pageWidth:r,pageHeight:a,pageX:o,pageY:l}}=s.viewport,c=this.deserializeDraw(o,l,r,a,this._INNER_MARGIN,e),h=await super.deserialize(e,s,i);return h.createDrawingOptions(e),v(d=h,St,bm).call(d,{drawOutlines:c}),v(f=h,St,zh).call(f),h.onScaleChanging(),h.rotate(),h}serializeDraw(e){const[s,i]=this.pageTranslation,[r,a]=this.pageDimensions;return n(this,cs).serialize([s,i,r,a],e)}renderAnnotationElement(e){return e.updateEdited({rect:this.getPDFRect()}),null}static canCreateNewEmptyEditor(){return!1}};cs=new WeakMap,sh=new WeakMap,Le=new WeakMap,hl=new WeakMap,dl=new WeakMap,St=new WeakSet,bm=function({drawOutlines:e,drawId:s,drawingOptions:i}){p(this,cs,e),this._drawingOptions||(this._drawingOptions=i),this.annotationElementId||this._uiManager.a11yAlert(Pt._l10nAlert[this.editorType]),s>=0?(this._drawId=s,this.parent.drawLayer.finalizeDraw(s,e.defaultProperties)):this._drawId=v(this,St,ym).call(this,e,this.parent),v(this,St,Vh).call(this,e.box)},ym=function(e,s){const{id:i}=s.drawLayer.draw(wt._mergeSVGProperties(this._drawingOptions.toSVGProperties(),e.defaultSVGProperties),!1,!1);return i},wm=function(){this._drawId===null||!this.parent||(this.parent.drawLayer.remove(this._drawId),this._drawId=null,this._drawingOptions.reset())},zh=function(e=this.parent){if(!(this._drawId!==null&&this.parent===e)){if(this._drawId!==null){this.parent.drawLayer.updateParent(this._drawId,e.drawLayer);return}this._drawingOptions.updateAll(),this._drawId=v(this,St,ym).call(this,n(this,cs),e)}},d0=function([e,s,i,r]){const{parentDimensions:[a,o],rotation:l}=this;switch(l){case 90:return[s,1-e,i*(o/a),r*(a/o)];case 180:return[1-e,1-s,i,r];case 270:return[1-s,e,i*(o/a),r*(a/o)];default:return[e,s,i,r]}},Nf=function(){const{x:e,y:s,width:i,height:r,parentDimensions:[a,o],rotation:l}=this;switch(l){case 90:return[1-s,e,i*(a/o),r*(o/a)];case 180:return[1-e,1-s,i,r];case 270:return[s,1-e,i*(a/o),r*(o/a)];default:return[e,s,i,r]}},Vh=function(e){[this.x,this.y,this.width,this.height]=v(this,St,d0).call(this,e),this.div&&(this.fixAndSetPosition(),this.setDims()),this._onResized()},Nl=function(){const{x:e,y:s,width:i,height:r,rotation:a,parentRotation:o,parentDimensions:[l,c]}=this;switch((a*4+o)/90){case 1:return[1-s-r,e,r,i];case 2:return[1-e-i,1-s-r,i,r];case 3:return[s,1-e-i,r,i];case 4:return[e,s-i*(l/c),r*(c/l),i*(l/c)];case 5:return[1-s,e,i*(l/c),r*(c/l)];case 6:return[1-e-r*(c/l),1-s,r*(c/l),i*(l/c)];case 7:return[s-i*(l/c),1-e-r*(c/l),i*(l/c),r*(c/l)];case 8:return[e-i,s-r,i,r];case 9:return[1-s,e-i,r,i];case 10:return[1-e,1-s,i,r];case 11:return[s-r,1-e,r,i];case 12:return[e-r*(c/l),s,r*(c/l),i*(l/c)];case 13:return[1-s-i*(l/c),e-r*(c/l),i*(l/c),r*(c/l)];case 14:return[1-e,1-s-i*(l/c),r*(c/l),i*(l/c)];case 15:return[s,1-e,i*(l/c),r*(c/l)];default:return[e,s,i,r]}},M(wt,"_currentDrawId",-1),M(wt,"_currentParent",null),m(wt,Le,null),m(wt,hl,null),m(wt,dl,null),M(wt,"_INNER_MARGIN",3);let sp=wt;var gn,Fe,Ge,ul,ih,hs,je,wi,fl,pl,gl,nh,Bf;class xx{constructor(t,e,s,i,r,a){m(this,nh);m(this,gn,new Float64Array(6));m(this,Fe);m(this,Ge);m(this,ul);m(this,ih);m(this,hs);m(this,je,"");m(this,wi,0);m(this,fl,new Xu);m(this,pl);m(this,gl);p(this,pl,s),p(this,gl,i),p(this,ul,r),p(this,ih,a),[t,e]=v(this,nh,Bf).call(this,t,e);const o=p(this,Fe,[NaN,NaN,NaN,NaN,t,e]);p(this,hs,[t,e]),p(this,Ge,[{line:o,points:n(this,hs)}]),n(this,gn).set(o,0)}updateProperty(t,e){t==="stroke-width"&&p(this,ih,e)}isEmpty(){var t;return!((t=n(this,Ge))!=null&&t.length)}isCancellable(){return n(this,hs).length<=10}add(t,e){[t,e]=v(this,nh,Bf).call(this,t,e);const[s,i,r,a]=n(this,gn).subarray(2,6),o=t-r,l=e-a;return Math.hypot(n(this,pl)*o,n(this,gl)*l)<=2?null:(n(this,hs).push(t,e),isNaN(s)?(n(this,gn).set([r,a,t,e],2),n(this,Fe).push(NaN,NaN,NaN,NaN,t,e),{path:{d:this.toSVGPath()}}):(isNaN(n(this,gn)[0])&&n(this,Fe).splice(6,6),n(this,gn).set([s,i,r,a,t,e],0),n(this,Fe).push(...X.createBezierPoints(s,i,r,a,t,e)),{path:{d:this.toSVGPath()}}))}end(t,e){const s=this.add(t,e);return s||(n(this,hs).length===2?{path:{d:this.toSVGPath()}}:null)}startNew(t,e,s,i,r){p(this,pl,s),p(this,gl,i),p(this,ul,r),[t,e]=v(this,nh,Bf).call(this,t,e);const a=p(this,Fe,[NaN,NaN,NaN,NaN,t,e]);p(this,hs,[t,e]);const o=n(this,Ge).at(-1);return o&&(o.line=new Float32Array(o.line),o.points=new Float32Array(o.points)),n(this,Ge).push({line:a,points:n(this,hs)}),n(this,gn).set(a,0),p(this,wi,0),this.toSVGPath(),null}getLastElement(){return n(this,Ge).at(-1)}setLastElement(t){return n(this,Ge)?(n(this,Ge).push(t),p(this,Fe,t.line),p(this,hs,t.points),p(this,wi,0),{path:{d:this.toSVGPath()}}):n(this,fl).setLastElement(t)}removeLastElement(){if(!n(this,Ge))return n(this,fl).removeLastElement();n(this,Ge).pop(),p(this,je,"");for(let t=0,e=n(this,Ge).length;tC??NaN),f,g,y,b),points:S(l[x].map(C=>C??NaN),f,g,y,b)});const w=new this.prototype.constructor;return w.build(d,i,r,1,c,h,a),w}get box(){return n(this,ds)}updateProperty(e,s){return e==="stroke-width"?v(this,Xe,p0).call(this,s):null}updateParentDimensions([e,s],i){const[r,a]=v(this,Xe,Pn).call(this);p(this,mn,e),p(this,vn,s),p(this,rh,i);const[o,l]=v(this,Xe,Pn).call(this),c=o-r,h=l-a,d=n(this,ds);return d[0]-=c,d[1]-=h,d[2]+=2*c,d[3]+=2*h,d}updateRotation(e){return p(this,Lu,e),{path:{transform:this.rotationTransform}}}get viewBox(){return n(this,ds).map(X.svgRound).join(" ")}get defaultProperties(){const[e,s]=n(this,ds);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${X.svgRound(e)} ${X.svgRound(s)}`}}}get rotationTransform(){const[,,e,s]=n(this,ds);let i=0,r=0,a=0,o=0,l=0,c=0;switch(n(this,Lu)){case 90:r=s/e,a=-e/s,l=e;break;case 180:i=-1,o=-1,l=e,c=s;break;case 270:r=-s/e,a=e/s,c=s;break;default:return""}return`matrix(${i} ${r} ${a} ${o} ${X.svgRound(l)} ${X.svgRound(c)})`}getPathResizingSVGProperties([e,s,i,r]){const[a,o]=v(this,Xe,Pn).call(this),[l,c,h,d]=n(this,ds);if(Math.abs(h-a)<=X.PRECISION||Math.abs(d-o)<=X.PRECISION){const S=e+i/2-(l+h/2),w=s+r/2-(c+d/2);return{path:{"transform-origin":`${X.svgRound(e)} ${X.svgRound(s)}`,transform:`${this.rotationTransform} translate(${S} ${w})`}}}const f=(i-2*a)/(h-2*a),g=(r-2*o)/(d-2*o),y=h/i,b=d/r;return{path:{"transform-origin":`${X.svgRound(l)} ${X.svgRound(c)}`,transform:`${this.rotationTransform} scale(${y} ${b}) translate(${X.svgRound(a)} ${X.svgRound(o)}) scale(${f} ${g}) translate(${X.svgRound(-a)} ${X.svgRound(-o)})`}}}getPathResizedSVGProperties([e,s,i,r]){const[a,o]=v(this,Xe,Pn).call(this),l=n(this,ds),[c,h,d,f]=l;if(l[0]=e,l[1]=s,l[2]=i,l[3]=r,Math.abs(d-a)<=X.PRECISION||Math.abs(f-o)<=X.PRECISION){const w=e+i/2-(c+d/2),x=s+r/2-(h+f/2);for(const{line:A,points:C}of n(this,Js))X._translate(A,w,x,A),X._translate(C,w,x,C);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${X.svgRound(e)} ${X.svgRound(s)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}const g=(i-2*a)/(d-2*a),y=(r-2*o)/(f-2*o),b=-g*(c+a)+e+a,S=-y*(h+o)+s+o;if(g!==1||y!==1||b!==0||S!==0)for(const{line:w,points:x}of n(this,Js))X._rescale(w,b,S,g,y,w),X._rescale(x,b,S,g,y,x);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${X.svgRound(e)} ${X.svgRound(s)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}getPathTranslatedSVGProperties([e,s],i){const[r,a]=i,o=n(this,ds),l=e-o[0],c=s-o[1];if(n(this,mn)===r&&n(this,vn)===a)for(const{line:h,points:d}of n(this,Js))X._translate(h,l,c,h),X._translate(d,l,c,d);else{const h=n(this,mn)/r,d=n(this,vn)/a;p(this,mn,r),p(this,vn,a);for(const{line:f,points:g}of n(this,Js))X._rescale(f,l,c,h,d,f),X._rescale(g,l,c,h,d,g);o[2]*=h,o[3]*=d}return o[0]=e,o[1]=s,{root:{viewBox:this.viewBox},path:{d:this.toSVGPath(),"transform-origin":`${X.svgRound(e)} ${X.svgRound(s)}`}}}get defaultSVGProperties(){const e=n(this,ds);return{root:{viewBox:this.viewBox},rootClass:{draw:!0},path:{d:this.toSVGPath(),"transform-origin":`${X.svgRound(e[0])} ${X.svgRound(e[1])}`,transform:this.rotationTransform||null},bbox:e}}}ds=new WeakMap,Lu=new WeakMap,Fu=new WeakMap,Js=new WeakMap,mn=new WeakMap,vn=new WeakMap,rh=new WeakMap,ah=new WeakMap,ml=new WeakMap,Xe=new WeakSet,Pn=function(e=n(this,ml)){const s=n(this,Fu)+e/2*n(this,rh);return n(this,ah)%180===0?[s/n(this,mn),s/n(this,vn)]:[s/n(this,vn),s/n(this,mn)]},u0=function(){const[e,s,i,r]=n(this,ds),[a,o]=v(this,Xe,Pn).call(this,0);return[e+a,s+o,i-2*a,r-2*o]},f0=function(){const e=p(this,ds,ja.slice());for(const{line:r}of n(this,Js)){if(r.length<=12){for(let l=4,c=r.length;lo!==s[l])||e.thickness!==i||e.opacity!==r||e.pageIndex!==a},M(Ul,"_type","ink"),M(Ul,"_editorType",ot.INK),M(Ul,"_defaultDrawingOptions",null);let Am=Ul;class Sm extends Xu{toSVGPath(){let t=super.toSVGPath();return t.endsWith("Z")||(t+="Z"),t}}const tf=8,Sh=3;var vl,Mt,xm,Vi,m0,v0,Em,$f,b0,y0,w0,Cm,_m,A0;class gr{static extractContoursFromText(t,{fontFamily:e,fontStyle:s,fontWeight:i},r,a,o,l){let c=new OffscreenCanvas(1,1),h=c.getContext("2d",{alpha:!1});const d=200,f=h.font=`${s} ${i} ${d}px ${e}`,{actualBoundingBoxLeft:g,actualBoundingBoxRight:y,actualBoundingBoxAscent:b,actualBoundingBoxDescent:S,fontBoundingBoxAscent:w,fontBoundingBoxDescent:x,width:A}=h.measureText(t),C=1.5,_=Math.ceil(Math.max(Math.abs(g)+Math.abs(y)||0,A)*C),k=Math.ceil(Math.max(Math.abs(b)+Math.abs(S)||d,Math.abs(w)+Math.abs(x)||d)*C);c=new OffscreenCanvas(_,k),h=c.getContext("2d",{alpha:!0,willReadFrequently:!0}),h.font=f,h.filter="grayscale(1)",h.fillStyle="white",h.fillRect(0,0,_,k),h.fillStyle="black",h.fillText(t,_*(C-1)/2,k*(3-C)/2);const I=v(this,Mt,Cm).call(this,h.getImageData(0,0,_,k).data),L=v(this,Mt,w0).call(this,I),P=v(this,Mt,_m).call(this,L),D=v(this,Mt,Em).call(this,I,_,k,P);return this.processDrawnLines({lines:{curves:D,width:_,height:k},pageWidth:r,pageHeight:a,rotation:o,innerMargin:l,mustSmooth:!0,areContours:!0})}static process(t,e,s,i,r){const[a,o,l]=v(this,Mt,A0).call(this,t),[c,h]=v(this,Mt,y0).call(this,a,o,l,Math.hypot(o,l)*n(this,vl).sigmaSFactor,n(this,vl).sigmaR,n(this,vl).kernelSize),d=v(this,Mt,_m).call(this,h),f=v(this,Mt,Em).call(this,c,o,l,d);return this.processDrawnLines({lines:{curves:f,width:o,height:l},pageWidth:e,pageHeight:s,rotation:i,innerMargin:r,mustSmooth:!0,areContours:!0})}static processDrawnLines({lines:t,pageWidth:e,pageHeight:s,rotation:i,innerMargin:r,mustSmooth:a,areContours:o}){i%180!==0&&([e,s]=[s,e]);const{curves:l,width:c,height:h}=t,d=t.thickness??0,f=[],g=Math.min(e/c,s/h),y=g/e,b=g/s,S=[];for(const{points:x}of l){const A=a?v(this,Mt,b0).call(this,x):x;if(!A)continue;S.push(A);const C=A.length,_=new Float32Array(C),k=new Float32Array(3*(C===2?2:C-2));if(f.push({line:k,points:_}),C===2){_[0]=A[0]*y,_[1]=A[1]*b,k.set([NaN,NaN,NaN,NaN,_[0],_[1]],0);continue}let[I,L,P,D]=A;I*=y,L*=b,P*=y,D*=b,_.set([I,L,P,D],0),k.set([NaN,NaN,NaN,NaN,I,L],0);for(let R=4;R=-128&&o<=127?c=Int8Array:a>=-32768&&o<=32767?c=Int16Array:c=Int32Array;const h=t.length,d=tf+Sh*h,f=new Uint32Array(d);let g=0;f[g++]=d*Uint32Array.BYTES_PER_ELEMENT+(l-2*h)*c.BYTES_PER_ELEMENT,f[g++]=0,f[g++]=i,f[g++]=r,f[g++]=e?0:1,f[g++]=Math.max(0,Math.floor(s??0)),f[g++]=h,f[g++]=c.BYTES_PER_ELEMENT;for(const x of t)f[g++]=x.length-2,f[g++]=x[0],f[g++]=x[1];const y=new CompressionStream("deflate-raw"),b=y.writable.getWriter();await b.ready,b.write(f);const S=c.prototype.constructor;for(const x of t){const A=new S(x.length-2);for(let C=2,_=x.length;C<_;C++)A[C-2]=x[C]-x[C-2];b.write(A)}return b.close(),(await new Response(y.readable).bytes()).toBase64()}static async decompressSignature(t){try{const e=Uint8Array.fromBase64(t),{readable:s,writable:i}=new DecompressionStream("deflate-raw"),r=i.getWriter();await r.ready,r.write(e).then(async()=>{await r.ready,await r.close()}).catch(()=>{});let a=null,o=0;for await(const A of s)a||(a=new Uint8Array(new Uint32Array(A.buffer,0,4)[0])),a.set(A,o),o+=A.length;const l=new Uint32Array(a.buffer,0,a.length>>2),c=l[1];if(c!==0)throw new Error(`Invalid version: ${c}`);const h=l[2],d=l[3],f=l[4]===0,g=l[5],y=l[6],b=l[7],S=[],w=(tf+Sh*y)*Uint32Array.BYTES_PER_ELEMENT;let x;switch(b){case Int8Array.BYTES_PER_ELEMENT:x=new Int8Array(a.buffer,w);break;case Int16Array.BYTES_PER_ELEMENT:x=new Int16Array(a.buffer,w);break;case Int32Array.BYTES_PER_ELEMENT:x=new Int32Array(a.buffer,w);break}o=0;for(let A=0;A0?0:4:s===1?i+6:2-i},Vi=new WeakMap,m0=function(t,e,s,i,r,a,o){const l=v(this,Mt,xm).call(this,s,i,r,a);for(let c=0;c<8;c++){const h=(-c+l-o+16)%8,d=n(this,Vi)[2*h],f=n(this,Vi)[2*h+1];if(t[(s+d)*e+(i+f)]!==0)return h}return-1},v0=function(t,e,s,i,r,a,o){const l=v(this,Mt,xm).call(this,s,i,r,a);for(let c=0;c<8;c++){const h=(c+l+o+16)%8,d=n(this,Vi)[2*h],f=n(this,Vi)[2*h+1];if(t[(s+d)*e+(i+f)]!==0)return h}return-1},Em=function(t,e,s,i){const r=t.length,a=new Int32Array(r);for(let h=0;h=1&&a[f+1]===0)o+=1,b+=1,g>1&&(l=g);else{g!==1&&(l=Math.abs(g));continue}const S=[d,h],w=b===d+1,x={isHole:w,points:S,id:o,parent:0};c.push(x);let A;for(const R of c)if(R.id===l){A=R;break}A?A.isHole?x.parent=w?A.parent:l:x.parent=w?l:A.parent:x.parent=w?l:0;const C=v(this,Mt,m0).call(this,a,e,h,d,y,b,0);if(C===-1){a[f]=-o,a[f]!==1&&(l=Math.abs(a[f]));continue}let _=n(this,Vi)[2*C],k=n(this,Vi)[2*C+1];const I=h+_,L=d+k;y=I,b=L;let P=h,D=d;for(;;){const R=v(this,Mt,v0).call(this,a,e,P,D,y,b,1);_=n(this,Vi)[2*R],k=n(this,Vi)[2*R+1];const K=P+_,W=D+k;S.push(W,K);const Q=P*e+D;if(a[Q+1]===0?a[Q]=-o:a[Q]===1&&(a[Q]=o),K===h&&W===d&&P===I&&D===L){a[f]!==1&&(l=Math.abs(a[f]));break}else y=P,b=D,P=K,D=W}}}return c},$f=function(t,e,s,i){if(s-e<=4){for(let I=e;I_&&(k=I,_=L)}_>(c*C)**2?(v(this,Mt,$f).call(this,t,e,k+2,i),v(this,Mt,$f).call(this,t,k,s,i)):i.push(r,a)},b0=function(t){const e=[],s=t.length;return v(this,Mt,$f).call(this,t,0,s,e),e.push(t[s-2],t[s-1]),e.length<=4?null:e},y0=function(t,e,s,i,r,a){const o=new Float32Array(a**2),l=-2*i**2,c=a>>1;for(let b=0;b=s))for(let L=0;L=e)continue;const D=t[I*e+P],R=o[k*a+L]*h[Math.abs(D-x)];A+=D*R,C+=R}}const _=g[w]=Math.round(A/C);y[_]++}return[g,y]},w0=function(t){const e=new Uint32Array(256);for(const s of t)e[s]++;return e},Cm=function(t){const e=t.length,s=new Uint8ClampedArray(e>>2);let i=-1/0,r=1/0;for(let o=0,l=s.length;ol!==0);let a=r,o=r;for(e=r;e<256;e++){const l=t[e];l>s&&(e-a>i&&(i=e-a,o=e-1),s=l,a=e)}for(e=o-1;e>=0&&!(t[e]>t[e+1]);e--);return e},A0=function(t){const e=t,{width:s,height:i}=t,{maxDim:r}=n(this,vl);let a=s,o=i;if(s>r||i>r){let f=s,g=i,y=Math.log2(Math.max(s,i)/r);const b=Math.floor(y);y=y===b?b-1:b;for(let w=0;w{s==null||s.updateEditSignatureButton(e)}))}getSignaturePreview(){const{newCurves:e,areContours:s,thickness:i,width:r,height:a}=n(this,pa),o=Math.max(r,a),l=gr.processDrawnLines({lines:{curves:e.map(c=>({points:c})),thickness:i,width:r,height:a},pageWidth:o,pageHeight:o,rotation:0,innerMargin:0,mustSmooth:!1,areContours:s});return{areContours:s,outline:l.outline}}get toolbarButtons(){return this._uiManager.signatureManager?[["editSignature",this._uiManager.signatureManager]]:super.toolbarButtons}addSignature(e,s,i,r){const{x:a,y:o}=this,{outline:l}=p(this,pa,e);p(this,fa,l instanceof Sm),this.description=i;let c;n(this,fa)?c=Os.getDefaultDrawingOptions():(c=Os._defaultDrawnSignatureOptions.clone(),c.updateProperties({"stroke-width":l.thickness})),this._addOutlines({drawOutlines:l,drawingOptions:c});const[,h]=this.pageDimensions;let d=s/h;d=d>=1?.5:d,this.width*=d/this.height,this.width>=1&&(d*=.9/this.width,this.width=.9),this.height=d,this.setDims(),this.x=a,this.y=o,this.center(),this._onResized(),this.onScaleChanging(),this.rotate(),this._uiManager.addToAnnotationStorage(this),this.setUuid(r),this._reportTelemetry({action:"pdfjs.signature.inserted",data:{hasBeenSaved:!!r,hasDescription:!!i}}),this.div.hidden=!1}getFromImage(e){const{rawDims:{pageWidth:s,pageHeight:i},rotation:r}=this.parent.viewport;return gr.process(e,s,i,r,Os._INNER_MARGIN)}getFromText(e,s){const{rawDims:{pageWidth:i,pageHeight:r},rotation:a}=this.parent.viewport;return gr.extractContoursFromText(e,s,i,r,a,Os._INNER_MARGIN)}getDrawnSignature(e){const{rawDims:{pageWidth:s,pageHeight:i},rotation:r}=this.parent.viewport;return gr.processDrawnLines({lines:e,pageWidth:s,pageHeight:i,rotation:r,innerMargin:Os._INNER_MARGIN,mustSmooth:!1,areContours:!1})}createDrawingOptions({areContours:e,thickness:s}){e?this._drawingOptions=Os.getDefaultDrawingOptions():(this._drawingOptions=Os._defaultDrawnSignatureOptions.clone(),this._drawingOptions.updateProperties({"stroke-width":s}))}serialize(e=!1){if(this.isEmpty())return null;const{lines:s,points:i}=this.serializeDraw(e),{_drawingOptions:{"stroke-width":r}}=this,a=Object.assign(super.serialize(e),{isSignature:!0,areContours:n(this,fa),color:[0,0,0],thickness:n(this,fa)?0:r});return this.addComment(a),e?(a.paths={lines:s,points:i},a.uuid=n(this,bl),a.isCopy=!0):a.lines=s,n(this,bn)&&(a.accessibilityData={type:"Figure",alt:n(this,bn)}),a}static deserializeDraw(e,s,i,r,a,o){return o.areContours?Sm.deserialize(e,s,i,r,a,o):Xu.deserialize(e,s,i,r,a,o)}static async deserialize(e,s,i){var a;const r=await super.deserialize(e,s,i);return p(r,fa,e.areContours),r.description=((a=e.accessibilityData)==null?void 0:a.alt)||"",p(r,bl,e.uuid),r}};fa=new WeakMap,bn=new WeakMap,pa=new WeakMap,bl=new WeakMap,M(Os,"_type","signature"),M(Os,"_editorType",ot.SIGNATURE),M(Os,"_defaultDrawingOptions",null);let km=Os;var Zt,Oe,ga,cr,ma,oh,hr,yl,yn,Zs,lh,xt,Gh,jh,Uf,Hf,zf,Pm,Vf,S0;class Tm extends Pt{constructor(e){super({...e,name:"stampEditor"});m(this,xt);m(this,Zt,null);m(this,Oe,null);m(this,ga,null);m(this,cr,null);m(this,ma,null);m(this,oh,"");m(this,hr,null);m(this,yl,!1);m(this,yn,null);m(this,Zs,!1);m(this,lh,!1);p(this,cr,e.bitmapUrl),p(this,ma,e.bitmapFile),this.defaultL10nId="pdfjs-editor-stamp-editor"}static initialize(e,s){Pt.initialize(e,s)}static isHandlingMimeForPasting(e){return hg.includes(e)}static paste(e,s){s.pasteEditor({mode:ot.STAMP},{bitmapFile:e.getAsFile()})}altTextFinish(){this._uiManager.useNewAltTextFlow&&(this.div.hidden=!1),super.altTextFinish()}get telemetryFinalData(){var e;return{type:"stamp",hasAltText:!!((e=this.altTextData)!=null&&e.altText)}}static computeTelemetryFinalData(e){const s=e.get("hasAltText");return{hasAltText:s.get(!0)??0,hasNoAltText:s.get(!1)??0}}async mlGuessAltText(e=null,s=!0){if(this.hasAltTextData())return null;const{mlManager:i}=this._uiManager;if(!i)throw new Error("No ML.");if(!await i.isEnabledFor("altText"))throw new Error("ML isn't enabled for alt text.");const{data:r,width:a,height:o}=e||this.copyCanvas(null,null,!0).imageData,l=await i.guess({name:"altText",request:{data:r,width:a,height:o,channels:r.length/(a*o)}});if(!l)throw new Error("No response from the AI service.");if(l.error)throw new Error("Error from the AI service.");if(l.cancel)return null;if(!l.output)throw new Error("No valid response from the AI service.");const c=l.output;return await this.setGuessedAltText(c),s&&!this.hasAltTextData()&&(this.altTextData={alt:c,decorative:!1}),c}remove(){var e;n(this,Oe)&&(p(this,Zt,null),this._uiManager.imageManager.deleteId(n(this,Oe)),(e=n(this,hr))==null||e.remove(),p(this,hr,null),n(this,yn)&&(clearTimeout(n(this,yn)),p(this,yn,null))),super.remove()}rebuild(){if(!this.parent){n(this,Oe)&&v(this,xt,Uf).call(this);return}super.rebuild(),this.div!==null&&(n(this,Oe)&&n(this,hr)===null&&v(this,xt,Uf).call(this),this.isAttachedToDOM||this.parent.add(this))}onceAdded(e){this._isDraggable=!0,e&&this.div.focus()}isEmpty(){return!(n(this,ga)||n(this,Zt)||n(this,cr)||n(this,ma)||n(this,Oe)||n(this,yl))}get toolbarButtons(){return[["altText",this.createAltText()]]}get isResizable(){return!0}render(){if(this.div)return this.div;let e,s;return this._isCopy&&(e=this.x,s=this.y),super.render(),this.div.hidden=!0,this.createAltText(),n(this,yl)||(n(this,Zt)?v(this,xt,Hf).call(this):v(this,xt,Uf).call(this)),this._isCopy&&this._moveAfterPaste(e,s),this._uiManager.addShouldRescale(this),this.div}setCanvas(e,s){const{id:i,bitmap:r}=this._uiManager.imageManager.getFromCanvas(e,s);s.remove(),i&&this._uiManager.imageManager.isValidId(i)&&(p(this,Oe,i),r&&p(this,Zt,r),p(this,yl,!1),v(this,xt,Hf).call(this))}_onResized(){this.onScaleChanging()}onScaleChanging(){if(!this.parent)return;n(this,yn)!==null&&clearTimeout(n(this,yn)),p(this,yn,setTimeout(()=>{p(this,yn,null),v(this,xt,Pm).call(this)},200))}copyCanvas(e,s,i=!1){e||(e=224);const{width:r,height:a}=n(this,Zt),o=new En;let l=n(this,Zt),c=r,h=a,d=null;if(s){if(r>s||a>s){const I=Math.min(s/r,s/a);c=Math.floor(r*I),h=Math.floor(a*I)}d=document.createElement("canvas");const g=d.width=Math.ceil(c*o.sx),y=d.height=Math.ceil(h*o.sy);n(this,Zs)||(l=v(this,xt,zf).call(this,g,y));const b=d.getContext("2d");b.filter=this._uiManager.hcmFilter;let S="white",w="#cfcfd8";this._uiManager.hcmFilter!=="none"?w="black":FS.isDarkMode&&(S="#8f8f9d",w="#42414d");const x=15,A=x*o.sx,C=x*o.sy,_=new OffscreenCanvas(A*2,C*2),k=_.getContext("2d");k.fillStyle=S,k.fillRect(0,0,A*2,C*2),k.fillStyle=w,k.fillRect(0,0,A,C),k.fillRect(A,C,A,C),b.fillStyle=b.createPattern(_,"repeat"),b.fillRect(0,0,g,y),b.drawImage(l,0,0,l.width,l.height,0,0,g,y)}let f=null;if(i){let g,y;if(o.symmetric&&l.widthe||a>e){const w=Math.min(e/r,e/a);g=Math.floor(r*w),y=Math.floor(a*w),n(this,Zs)||(l=v(this,xt,zf).call(this,g,y))}const S=new OffscreenCanvas(g,y).getContext("2d",{willReadFrequently:!0});S.drawImage(l,0,0,l.width,l.height,0,0,g,y),f={width:g,height:y,data:S.getImageData(0,0,g,y).data}}return{canvas:d,width:c,height:h,imageData:f}}static async deserialize(e,s,i){var S;let r=null,a=!1;if(e instanceof Ry){const{data:{rect:w,rotation:x,id:A,structParent:C,popupRef:_,richText:k,contentsObj:I,creationDate:L,modificationDate:P},container:D,parent:{page:{pageNumber:R}},canvas:K}=e;let W,Q;K?(delete e.canvas,{id:W,bitmap:Q}=i.imageManager.getFromCanvas(D.id,K),K.remove()):(a=!0,e._hasNoCanvas=!0);const ht=((S=await s._structTree.getAriaAttributes(`${Bl}${A}`))==null?void 0:S.get("aria-label"))||"";r=e={annotationType:ot.STAMP,bitmapId:W,bitmap:Q,pageIndex:R-1,rect:w.slice(0),rotation:x,annotationElementId:A,id:A,deleted:!1,accessibilityData:{decorative:!1,altText:ht},isSvg:!1,structParent:C,popupRef:_,richText:k,comment:(I==null?void 0:I.str)||null,creationDate:L,modificationDate:P}}const o=await super.deserialize(e,s,i),{rect:l,bitmap:c,bitmapUrl:h,bitmapId:d,isSvg:f,accessibilityData:g}=e;a?(i.addMissingCanvas(e.id,o),p(o,yl,!0)):d&&i.imageManager.isValidId(d)?(p(o,Oe,d),c&&p(o,Zt,c)):p(o,cr,h),p(o,Zs,f);const[y,b]=o.pageDimensions;return o.width=(l[2]-l[0])/y,o.height=(l[3]-l[1])/b,g&&(o.altTextData=g),o._initialData=r,e.comment&&o.setCommentData(e),p(o,lh,!!r),o}serialize(e=!1,s=null){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const i=Object.assign(super.serialize(e),{bitmapId:n(this,Oe),isSvg:n(this,Zs)});if(this.addComment(i),e)return i.bitmapUrl=v(this,xt,Vf).call(this,!0),i.accessibilityData=this.serializeAltText(!0),i.isCopy=!0,i;const{decorative:r,altText:a}=this.serializeAltText(!1);if(!r&&a&&(i.accessibilityData={type:"Figure",alt:a}),this.annotationElementId){const l=v(this,xt,S0).call(this,i);return l.isSame?null:(l.isSameAltText?delete i.accessibilityData:i.accessibilityData.structParent=this._initialData.structParent??-1,i.id=this.annotationElementId,delete i.bitmapId,i)}if(s===null)return i;s.stamps||(s.stamps=new Map);const o=n(this,Zs)?(i.rect[2]-i.rect[0])*(i.rect[3]-i.rect[1]):null;if(!s.stamps.has(n(this,Oe)))s.stamps.set(n(this,Oe),{area:o,serialized:i}),i.bitmap=v(this,xt,Vf).call(this,!1);else if(n(this,Zs)){const l=s.stamps.get(n(this,Oe));o>l.area&&(l.area=o,l.serialized.bitmap.close(),l.serialized.bitmap=v(this,xt,Vf).call(this,!1))}return i}renderAnnotationElement(e){return this.deleted?(e.hide(),null):(e.updateEdited({rect:this.getPDFRect(),popup:this.comment}),null)}}Zt=new WeakMap,Oe=new WeakMap,ga=new WeakMap,cr=new WeakMap,ma=new WeakMap,oh=new WeakMap,hr=new WeakMap,yl=new WeakMap,yn=new WeakMap,Zs=new WeakMap,lh=new WeakMap,xt=new WeakSet,Gh=function(e,s=!1){if(!e){this.remove();return}p(this,Zt,e.bitmap),s||(p(this,Oe,e.id),p(this,Zs,e.isSvg)),e.file&&p(this,oh,e.file.name),v(this,xt,Hf).call(this)},jh=function(){if(p(this,ga,null),this._uiManager.enableWaiting(!1),!!n(this,hr)){if(this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&n(this,Zt)){this.addEditToolbar().then(()=>{this._editToolbar.hide(),this._uiManager.editAltText(this,!0)});return}if(!this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&n(this,Zt)){this._reportTelemetry({action:"pdfjs.image.image_added",data:{alt_text_modal:!1,alt_text_type:"empty"}});try{this.mlGuessAltText()}catch{}}this.div.focus()}},Uf=function(){if(n(this,Oe)){this._uiManager.enableWaiting(!0),this._uiManager.imageManager.getFromId(n(this,Oe)).then(i=>v(this,xt,Gh).call(this,i,!0)).finally(()=>v(this,xt,jh).call(this));return}if(n(this,cr)){const i=n(this,cr);p(this,cr,null),this._uiManager.enableWaiting(!0),p(this,ga,this._uiManager.imageManager.getFromUrl(i).then(r=>v(this,xt,Gh).call(this,r)).finally(()=>v(this,xt,jh).call(this)));return}if(n(this,ma)){const i=n(this,ma);p(this,ma,null),this._uiManager.enableWaiting(!0),p(this,ga,this._uiManager.imageManager.getFromFile(i).then(r=>v(this,xt,Gh).call(this,r)).finally(()=>v(this,xt,jh).call(this)));return}const e=document.createElement("input");e.type="file",e.accept=hg.join(",");const s=this._uiManager._signal;p(this,ga,new Promise(i=>{e.addEventListener("change",async()=>{if(!e.files||e.files.length===0)this.remove();else{this._uiManager.enableWaiting(!0);const r=await this._uiManager.imageManager.getFromFile(e.files[0]);this._reportTelemetry({action:"pdfjs.image.image_selected",data:{alt_text_modal:this._uiManager.useNewAltTextFlow}}),v(this,xt,Gh).call(this,r)}i()},{signal:s}),e.addEventListener("cancel",()=>{this.remove(),i()},{signal:s})}).finally(()=>v(this,xt,jh).call(this))),e.click()},Hf=function(){var c;const{div:e}=this;let{width:s,height:i}=n(this,Zt);const[r,a]=this.pageDimensions,o=.75;if(this.width)s=this.width*r,i=this.height*a;else if(s>o*r||i>o*a){const h=Math.min(o*r/s,o*a/i);s*=h,i*=h}this._uiManager.enableWaiting(!1);const l=p(this,hr,document.createElement("canvas"));l.setAttribute("role","img"),this.addContainer(l),this.width=s/r,this.height=i/a,this.setDims(),(c=this._initialOptions)!=null&&c.isCentered?this.center():this.fixAndSetPosition(),this._initialOptions=null,(!this._uiManager.useNewAltTextWhenAddingImage||!this._uiManager.useNewAltTextFlow||this.annotationElementId)&&(e.hidden=!1),v(this,xt,Pm).call(this),n(this,lh)||(this.parent.addUndoableEditor(this),p(this,lh,!0)),this._reportTelemetry({action:"inserted_image"}),n(this,oh)&&this.div.setAttribute("aria-description",n(this,oh)),this.annotationElementId||this._uiManager.a11yAlert(Pt._l10nAlert.stamp)},zf=function(e,s){const{width:i,height:r}=n(this,Zt);let a=i,o=r,l=n(this,Zt);for(;a>2*e||o>2*s;){const c=a,h=o;a>2*e&&(a=Math.ceil(a/2)),o>2*s&&(o=Math.ceil(o/2));const d=new OffscreenCanvas(a,o);d.getContext("2d").drawImage(l,0,0,c,h,0,0,a,o),l=d.transferToImageBitmap()}return l},Pm=function(){const[e,s]=this.parentDimensions,{width:i,height:r}=this,a=new En,o=Math.ceil(i*e*a.sx),l=Math.ceil(r*s*a.sy),c=n(this,hr);if(!c||c.width===o&&c.height===l)return;c.width=o,c.height=l;const h=n(this,Zs)?n(this,Zt):v(this,xt,zf).call(this,o,l),d=c.getContext("2d");d.filter=this._uiManager.hcmFilter,d.drawImage(h,0,0,h.width,h.height,0,0,o,l)},Vf=function(e){if(e){if(n(this,Zs)){const r=this._uiManager.imageManager.getSvgUrl(n(this,Oe));if(r)return r}const s=document.createElement("canvas");return{width:s.width,height:s.height}=n(this,Zt),s.getContext("2d").drawImage(n(this,Zt),0,0),s.toDataURL()}if(n(this,Zs)){const[s,i]=this.pageDimensions,r=Math.round(this.width*s*ka.PDF_TO_CSS_UNITS),a=Math.round(this.height*i*ka.PDF_TO_CSS_UNITS),o=new OffscreenCanvas(r,a);return o.getContext("2d").drawImage(n(this,Zt),0,0,n(this,Zt).width,n(this,Zt).height,0,0,r,a),o.transferToImageBitmap()}return structuredClone(n(this,Zt))},S0=function(e){var o;const{pageIndex:s,accessibilityData:{altText:i}}=this._initialData,r=e.pageIndex===s,a=(((o=e.accessibilityData)==null?void 0:o.alt)||"")===i;return{isSame:!this.hasEditedComment&&!this._hasBeenMoved&&!this._hasBeenResized&&r&&a,isSameAltText:a}},M(Tm,"_type","stamp"),M(Tm,"_editorType",ot.STAMP);var wl,ch,va,ba,dr,Es,ya,hh,dh,Gi,ur,Re,fr,wa,uh,Y,Aa,zt,Im,x0,Yi,Dm,Lm,Gf;const Mi=class Mi{constructor({uiManager:t,pageIndex:e,div:s,structTreeLayer:i,accessibilityManager:r,annotationLayer:a,drawLayer:o,textLayer:l,viewport:c,l10n:h}){m(this,zt);m(this,wl);m(this,ch,!1);m(this,va,null);m(this,ba,null);m(this,dr,null);m(this,Es,new Map);m(this,ya,!1);m(this,hh,!1);m(this,dh,!1);m(this,Gi,null);m(this,ur,null);m(this,Re,null);m(this,fr,null);m(this,wa,null);m(this,uh,-1);m(this,Y);const d=[...n(Mi,Aa).values()];if(!Mi._initialized){Mi._initialized=!0;for(const f of d)f.initialize(h,t)}t.registerEditorTypes(d),p(this,Y,t),this.pageIndex=e,this.div=s,p(this,wl,r),p(this,va,a),this.viewport=c,p(this,Re,l),this.drawLayer=o,this._structTree=i,n(this,Y).addLayer(this)}get isEmpty(){return n(this,Es).size===0}get isInvisible(){return this.isEmpty&&n(this,Y).getMode()===ot.NONE}updateToolbar(t){n(this,Y).updateToolbar(t)}updateMode(t=n(this,Y).getMode()){switch(v(this,zt,Gf).call(this),t){case ot.NONE:this.div.classList.toggle("nonEditing",!0),this.disableTextSelection(),this.togglePointerEvents(!1),this.toggleAnnotationLayerPointerEvents(!0),this.disableClick();return;case ot.INK:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick();break;case ot.HIGHLIGHT:this.enableTextSelection(),this.togglePointerEvents(!1),this.disableClick();break;default:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick()}this.toggleAnnotationLayerPointerEvents(!1);const{classList:e}=this.div;if(e.toggle("nonEditing",!1),t===ot.POPUP)e.toggle("commentEditing",!0);else{e.toggle("commentEditing",!1);for(const s of n(Mi,Aa).values())e.toggle(`${s._type}Editing`,t===s._editorType)}this.div.hidden=!1}hasTextLayer(t){var e;return t===((e=n(this,Re))==null?void 0:e.div)}setEditingState(t){n(this,Y).setEditingState(t)}addCommands(t){n(this,Y).addCommands(t)}cleanUndoStack(t){n(this,Y).cleanUndoStack(t)}toggleDrawing(t=!1){this.div.classList.toggle("drawing",!t)}togglePointerEvents(t=!1){this.div.classList.toggle("disabled",!t)}toggleAnnotationLayerPointerEvents(t=!1){var e;(e=n(this,va))==null||e.togglePointerEvents(t)}async enable(){var s;p(this,dh,!0),this.div.tabIndex=0,this.togglePointerEvents(!0),this.div.classList.toggle("nonEditing",!1),(s=n(this,wa))==null||s.abort(),p(this,wa,null);const t=new Set;for(const i of n(this,zt,Im))i.enableEditing(),i.show(!0),i.annotationElementId&&(n(this,Y).removeChangedExistingAnnotation(i),t.add(i.annotationElementId));const e=n(this,va);if(e)for(const i of e.getEditableAnnotations()){if(i.hide(),n(this,Y).isDeletedAnnotationElement(i.data.id)||t.has(i.data.id))continue;const r=await this.deserialize(i);r&&(this.addOrRebuild(r),r.enableEditing())}p(this,dh,!1),n(this,Y)._eventBus.dispatch("editorsrendered",{source:this,pageNumber:this.pageIndex+1})}disable(){var i;if(p(this,hh,!0),this.div.tabIndex=-1,this.togglePointerEvents(!1),this.div.classList.toggle("nonEditing",!0),n(this,Re)&&!n(this,wa)){p(this,wa,new AbortController);const r=n(this,Y).combinedSignal(n(this,wa));n(this,Re).div.addEventListener("pointerdown",a=>{const{clientX:l,clientY:c,timeStamp:h}=a,d=n(this,uh);if(h-d>500){p(this,uh,h);return}p(this,uh,-1);const{classList:f}=this.div;f.toggle("getElements",!0);const g=document.elementsFromPoint(l,c);if(f.toggle("getElements",!1),!this.div.contains(g[0]))return;let y;const b=new RegExp(`^${Kh}[0-9]+$`);for(const w of g)if(b.test(w.id)){y=w.id;break}if(!y)return;const S=n(this,Es).get(y);(S==null?void 0:S.annotationElementId)===null&&(ie(a),S.dblclick(a))},{signal:r,capture:!0})}const t=n(this,va),e=[];if(t){const r=new Map,a=new Map;for(const o of n(this,zt,Im)){if(o.disableEditing(),!o.annotationElementId){e.push(o);continue}if(o.serialize()!==null){r.set(o.annotationElementId,o);continue}else a.set(o.annotationElementId,o);(i=this.getEditableAnnotation(o.annotationElementId))==null||i.show(),o.remove()}for(const o of t.getEditableAnnotations()){const{id:l}=o.data;if(n(this,Y).isDeletedAnnotationElement(l)){o.updateEdited({deleted:!0});continue}let c=a.get(l);if(c){c.resetAnnotationElement(o),c.show(!1),o.show();continue}c=r.get(l),c&&(n(this,Y).addChangedExistingAnnotation(c),c.renderAnnotationElement(o)&&c.show(!1)),o.show()}}v(this,zt,Gf).call(this),this.isEmpty&&(this.div.hidden=!0);const{classList:s}=this.div;for(const r of n(Mi,Aa).values())s.remove(`${r._type}Editing`);this.disableTextSelection(),this.toggleAnnotationLayerPointerEvents(!0),t==null||t.updateFakeAnnotations(e),p(this,hh,!1)}getEditableAnnotation(t){var e;return((e=n(this,va))==null?void 0:e.getEditableAnnotation(t))||null}setActiveEditor(t){n(this,Y).getActive()!==t&&n(this,Y).setActiveEditor(t)}enableTextSelection(){var t;if(this.div.tabIndex=-1,(t=n(this,Re))!=null&&t.div&&!n(this,fr)){p(this,fr,new AbortController);const e=n(this,Y).combinedSignal(n(this,fr));n(this,Re).div.addEventListener("pointerdown",v(this,zt,x0).bind(this),{signal:e}),n(this,Re).div.classList.add("highlighting")}}disableTextSelection(){var t;this.div.tabIndex=0,(t=n(this,Re))!=null&&t.div&&n(this,fr)&&(n(this,fr).abort(),p(this,fr,null),n(this,Re).div.classList.remove("highlighting"))}enableClick(){if(n(this,ba))return;p(this,ba,new AbortController);const t=n(this,Y).combinedSignal(n(this,ba));this.div.addEventListener("pointerdown",this.pointerdown.bind(this),{signal:t});const e=this.pointerup.bind(this);this.div.addEventListener("pointerup",e,{signal:t}),this.div.addEventListener("pointercancel",e,{signal:t})}disableClick(){var t;(t=n(this,ba))==null||t.abort(),p(this,ba,null)}attach(t){n(this,Es).set(t.id,t);const{annotationElementId:e}=t;e&&n(this,Y).isDeletedAnnotationElement(e)&&n(this,Y).removeDeletedAnnotationElement(t)}detach(t){var e;n(this,Es).delete(t.id),(e=n(this,wl))==null||e.removePointerInTextLayer(t.contentDiv),!n(this,hh)&&t.annotationElementId&&n(this,Y).addDeletedAnnotationElement(t)}remove(t){this.detach(t),n(this,Y).removeEditor(t),t.div.remove(),t.isAttachedToDOM=!1}changeParent(t){var e;t.parent!==this&&(t.parent&&t.annotationElementId&&(n(this,Y).addDeletedAnnotationElement(t),Pt.deleteAnnotationElement(t),t.annotationElementId=null),this.attach(t),(e=t.parent)==null||e.detach(t),t.setParent(this),t.div&&t.isAttachedToDOM&&(t.div.remove(),this.div.append(t.div)))}add(t){if(!(t.parent===this&&t.isAttachedToDOM)){if(this.changeParent(t),n(this,Y).addEditor(t),this.attach(t),!t.isAttachedToDOM){const e=t.render();this.div.append(e),t.isAttachedToDOM=!0}t.fixAndSetPosition(),t.onceAdded(!n(this,dh)),n(this,Y).addToAnnotationStorage(t),t._reportTelemetry(t.telemetryInitialData)}}moveEditorInDOM(t){var s;if(!t.isAttachedToDOM)return;const{activeElement:e}=document;t.div.contains(e)&&!n(this,dr)&&(t._focusEventsAllowed=!1,p(this,dr,setTimeout(()=>{p(this,dr,null),t.div.contains(document.activeElement)?t._focusEventsAllowed=!0:(t.div.addEventListener("focusin",()=>{t._focusEventsAllowed=!0},{once:!0,signal:n(this,Y)._signal}),e.focus())},0))),t._structTreeParentId=(s=n(this,wl))==null?void 0:s.moveElementInDOM(this.div,t.div,t.contentDiv,!0)}addOrRebuild(t){t.needsToBeRebuilt()?(t.parent||(t.parent=this),t.rebuild(),t.show()):this.add(t)}addUndoableEditor(t){const e=()=>t._uiManager.rebuild(t),s=()=>{t.remove()};this.addCommands({cmd:e,undo:s,mustExec:!1})}getEditorByUID(t){for(const e of n(this,Es).values())if(e.uid===t)return e;return null}combinedSignal(t){return n(this,Y).combinedSignal(t)}canCreateNewEmptyEditor(){var t;return(t=n(this,zt,Yi))==null?void 0:t.canCreateNewEmptyEditor()}async pasteEditor(t,e){this.updateToolbar(t),await n(this,Y).updateMode(t.mode);const{offsetX:s,offsetY:i}=v(this,zt,Lm).call(this),r=n(this,Y).getId(),a=v(this,zt,Dm).call(this,{parent:this,id:r,x:s,y:i,uiManager:n(this,Y),isCentered:!0,...e});a&&this.add(a)}async deserialize(t){var e;return await((e=n(Mi,Aa).get(t.annotationType??t.annotationEditorType))==null?void 0:e.deserialize(t,this,n(this,Y)))||null}createAndAddNewEditor(t,e,s={}){const i=n(this,Y).getId(),r=v(this,zt,Dm).call(this,{parent:this,id:i,x:t.offsetX,y:t.offsetY,uiManager:n(this,Y),isCentered:e,...s});return r&&this.add(r),r}get boundingClientRect(){return this.div.getBoundingClientRect()}addNewEditor(t={}){this.createAndAddNewEditor(v(this,zt,Lm).call(this),!0,t)}setSelected(t){n(this,Y).setSelected(t)}toggleSelected(t){n(this,Y).toggleSelected(t)}unselect(t){n(this,Y).unselect(t)}pointerup(t){var i;const{isMac:e}=$t.platform;if(t.button!==0||t.ctrlKey&&e||t.target!==this.div||!n(this,ya)||(p(this,ya,!1),(i=n(this,zt,Yi))!=null&&i.isDrawer&&n(this,zt,Yi).supportMultipleDrawings))return;if(!n(this,ch)){p(this,ch,!0);return}const s=n(this,Y).getMode();if(s===ot.STAMP||s===ot.POPUP||s===ot.SIGNATURE){n(this,Y).unselectAll();return}this.createAndAddNewEditor(t,!1)}pointerdown(t){var i;if(n(this,Y).getMode()===ot.HIGHLIGHT&&this.enableTextSelection(),n(this,ya)){p(this,ya,!1);return}const{isMac:e}=$t.platform;if(t.button!==0||t.ctrlKey&&e||t.target!==this.div)return;if(p(this,ya,!0),(i=n(this,zt,Yi))!=null&&i.isDrawer){this.startDrawingSession(t);return}const s=n(this,Y).getActive();p(this,ch,!s||s.isEmpty())}startDrawingSession(t){if(this.div.focus({preventScroll:!0}),n(this,Gi)){n(this,zt,Yi).startDrawing(this,n(this,Y),!1,t);return}n(this,Y).setCurrentDrawingSession(this),p(this,Gi,new AbortController);const e=n(this,Y).combinedSignal(n(this,Gi));this.div.addEventListener("blur",({relatedTarget:s})=>{s&&!this.div.contains(s)&&(p(this,ur,null),this.commitOrRemove())},{signal:e}),n(this,zt,Yi).startDrawing(this,n(this,Y),!1,t)}pause(t){if(t){const{activeElement:e}=document;this.div.contains(e)&&p(this,ur,e);return}n(this,ur)&&setTimeout(()=>{var e;(e=n(this,ur))==null||e.focus(),p(this,ur,null)},0)}endDrawingSession(t=!1){return n(this,Gi)?(n(this,Y).setCurrentDrawingSession(null),n(this,Gi).abort(),p(this,Gi,null),p(this,ur,null),n(this,zt,Yi).endDrawing(t)):null}findNewParent(t,e,s){const i=n(this,Y).findParent(e,s);return i===null||i===this?!1:(i.changeParent(t),!0)}commitOrRemove(){return n(this,Gi)?(this.endDrawingSession(),!0):!1}onScaleChanging(){n(this,Gi)&&n(this,zt,Yi).onScaleChangingWhenDrawing(this)}destroy(){var t,e;this.commitOrRemove(),((t=n(this,Y).getActive())==null?void 0:t.parent)===this&&(n(this,Y).commitOrRemove(),n(this,Y).setActiveEditor(null)),n(this,dr)&&(clearTimeout(n(this,dr)),p(this,dr,null));for(const s of n(this,Es).values())(e=n(this,wl))==null||e.removePointerInTextLayer(s.contentDiv),s.setParent(null),s.isAttachedToDOM=!1,s.div.remove();this.div=null,n(this,Es).clear(),n(this,Y).removeLayer(this)}async render({viewport:t}){this.viewport=t,xl(this.div,t);for(const e of n(this,Y).getEditors(this.pageIndex))this.add(e),e.rebuild();await n(this,Y).findClonesForPage(this),this.div.hidden=this.isEmpty,this.updateMode()}update({viewport:t}){n(this,Y).commitOrRemove(),v(this,zt,Gf).call(this);const e=this.viewport.rotation,s=t.rotation;if(this.viewport=t,xl(this.div,{rotation:s}),e!==s)for(const i of n(this,Es).values())i.rotate(s)}get pageDimensions(){const{pageWidth:t,pageHeight:e}=this.viewport.rawDims;return[t,e]}get scale(){return n(this,Y).viewParameters.realScale}};wl=new WeakMap,ch=new WeakMap,va=new WeakMap,ba=new WeakMap,dr=new WeakMap,Es=new WeakMap,ya=new WeakMap,hh=new WeakMap,dh=new WeakMap,Gi=new WeakMap,ur=new WeakMap,Re=new WeakMap,fr=new WeakMap,wa=new WeakMap,uh=new WeakMap,Y=new WeakMap,Aa=new WeakMap,zt=new WeakSet,Im=function(){return n(this,Es).size!==0?n(this,Es).values():n(this,Y).getEditors(this.pageIndex)},x0=function(t){n(this,Y).unselectAll();const{target:e}=t;if(e===n(this,Re).div||(e.getAttribute("role")==="img"||e.classList.contains("endOfContent")||e.classList.contains("textLayerImages")||e.classList.contains("textLayerImagePlaceholder"))&&n(this,Re).div.contains(e)){const{isMac:s}=$t.platform;if(t.button!==0||t.ctrlKey&&s)return;n(this,Y).showAllEditors("highlight",!0,!0),n(this,Re).div.classList.add("free"),this.toggleDrawing(),ep.startHighlighting(this,n(this,Y).direction==="ltr",{target:n(this,Re).div,x:t.x,y:t.y}),n(this,Re).div.addEventListener("pointerup",()=>{n(this,Re).div.classList.remove("free"),this.toggleDrawing(!0)},{once:!0,signal:n(this,Y)._signal}),t.preventDefault()}},Yi=function(){return n(Mi,Aa).get(n(this,Y).getMode())},Dm=function(t){const e=n(this,zt,Yi);return e?new e.prototype.constructor(t):null},Lm=function(){const{x:t,y:e,width:s,height:i}=this.boundingClientRect,r=Math.max(0,t),a=Math.max(0,e),o=Math.min(window.innerWidth,t+s),l=Math.min(window.innerHeight,e+i),c=(r+o)/2-t,h=(a+l)/2-e,[d,f]=this.viewport.rotation%180===0?[c,h]:[h,c];return{offsetX:d,offsetY:f}},Gf=function(){for(const t of n(this,Es).values())t.isEmpty()&&t.remove()},M(Mi,"_initialized",!1),m(Mi,Aa,new Map([dm,Am,Tm,ep,km].map(t=>[t._editorType,t])));let Mm=Mi;function Ex(u,t){return u===t?0:u.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}function ef(u){var t;return u?u.nodeType===Node.ELEMENT_NODE?u.closest(".textLayer"):((t=u.parentElement)==null?void 0:t.closest(".textLayer"))||null:null}function Cx(u,t,e,s){if(u===e)return t<=s;const i=u.compareDocumentPosition(e);return i&Node.DOCUMENT_POSITION_FOLLOWING?!0:i&Node.DOCUMENT_POSITION_PRECEDING?!1:null}function $v(u,t,e){if(u.nodeType!==Node.ELEMENT_NODE||!u.classList.contains("textLayer")||t!==u.childNodes.length)return{container:u,offset:t};let s=u.lastChild;return(s==null?void 0:s.nodeType)===Node.ELEMENT_NODE&&s.classList.contains("endOfContent")&&(s=s.previousSibling),!s||!e.contains(s)?null:s.nodeType===Node.TEXT_NODE?{container:s,offset:s.textContent.length}:{container:s,offset:s.childNodes.length}}var Cs,us,Ai,Ou,Ru,Al,Sl,Nu,kp,Sa,xa,Ea,Ca,pr,ns,Om,Rm,E0,jf,C0,_n,Nm,_0,Bm;const tt=class tt{constructor({filterFactory:t=null,pageColors:e=null,pageIndex:s,textLayer:i=null}){m(this,_n);m(this,Cs,null);m(this,us,new Map);m(this,Ai,null);m(this,Ou,null);m(this,Ru,null);m(this,Al,null);m(this,Sl,new Map);if(this.pageIndex=s,p(this,Ou,t),p(this,Ru,e),i){const r=n(tt,pr).get(i);if(r!=null&&r.selectionDiv&&(r.selectionDiv.remove(),n(tt,xa).delete(r.selectionDiv)),n(tt,pr).set(i,{drawLayer:this}),n(tt,Ca).add(i),p(this,Ai,i),p(this,Al,new MutationObserver(a=>{var o,l,c;if(!(!n(this,Cs)||!((o=n(this,Ai))!=null&&o.isConnected)||!v(l=tt,ns,Rm).call(l))){for(const{addedNodes:h}of a)for(const d of h)if(d.nodeType===Node.ELEMENT_NODE&&d.classList.contains("endOfContent")){v(c=tt,ns,jf).call(c);return}}})),n(this,Al).observe(i,{childList:!0}),n(tt,Sa)===null){p(tt,Sa,new AbortController);const{signal:a}=n(tt,Sa);document.addEventListener("selectionchange",v(tt,ns,jf).bind(tt),{signal:a}),document.addEventListener("pointerdown",()=>{p(tt,Ea,!0)},{signal:a}),document.addEventListener("pointerup",()=>{p(tt,Ea,!1)},{signal:a}),window.addEventListener("blur",()=>{p(tt,Ea,!1)},{signal:a})}}}setParent(t){var e,s,i;if(!n(this,Cs)){p(this,Cs,t),(e=n(this,Ai))!=null&&e.isConnected&&v(s=tt,ns,Rm).call(s)&&v(i=tt,ns,jf).call(i);return}if(n(this,Cs)!==t){if(n(this,us).size>0)for(const r of n(this,us).values())r.remove(),t.append(r);p(this,Cs,t)}}static get _svgFactory(){return at(this,"_svgFactory",new Zf)}draw(t,e=!1,s=!1){const i=qt(tt,Nu)._++,r=v(this,_n,Nm).call(this),a=tt._svgFactory.createElement("defs");r.append(a);const o=tt._svgFactory.createElement("path");a.append(o);const l=`path_${i}`;o.setAttribute("id",l),o.setAttribute("vector-effect","non-scaling-stroke"),e&&n(this,Sl).set(i,o);const c=s?v(this,_n,_0).call(this,a,l):null,h=tt._svgFactory.createElement("use");return r.append(h),h.setAttribute("href",`#${l}`),this.updateProperties(r,t),n(this,us).set(i,r),{id:i,clipPathId:`url(#${c})`}}drawOutline(t,e){const s=qt(tt,Nu)._++,i=v(this,_n,Nm).call(this),r=tt._svgFactory.createElement("defs");i.append(r);const a=tt._svgFactory.createElement("path");r.append(a);const o=`path_${s}`;a.setAttribute("id",o),a.setAttribute("vector-effect","non-scaling-stroke");let l;if(e){const d=tt._svgFactory.createElement("mask");r.append(d),l=`mask_${s}`,d.setAttribute("id",l),d.setAttribute("maskUnits","objectBoundingBox");const f=tt._svgFactory.createElement("rect");d.append(f),f.setAttribute("width","1"),f.setAttribute("height","1"),f.setAttribute("fill","white");const g=tt._svgFactory.createElement("use");d.append(g),g.setAttribute("href",`#${o}`),g.setAttribute("stroke","none"),g.setAttribute("fill","black"),g.setAttribute("fill-rule","nonzero"),g.classList.add("mask")}const c=tt._svgFactory.createElement("use");i.append(c),c.setAttribute("href",`#${o}`),l&&c.setAttribute("mask",`url(#${l})`);const h=c.cloneNode();return i.append(h),c.classList.add("mainOutline"),h.classList.add("secondaryOutline"),this.updateProperties(i,t),n(this,us).set(s,i),s}finalizeDraw(t,e){n(this,Sl).delete(t),this.updateProperties(t,e)}updateProperties(t,e){var l;if(!e)return;const{root:s,bbox:i,rootClass:r,path:a}=e,o=typeof t=="number"?n(this,us).get(t):t;if(o){if(s&&v(this,_n,Bm).call(this,o,s),i&&v(l=tt,ns,C0).call(l,o,i),r){const{classList:c}=o;for(const[h,d]of Object.entries(r))c.toggle(h,d)}if(a){const h=o.firstElementChild.firstElementChild;v(this,_n,Bm).call(this,h,a)}}}updateParent(t,e){if(e===this)return;const s=n(this,us).get(t);s&&(n(e,Cs).append(s),n(this,us).delete(t),n(e,us).set(t,s))}remove(t){n(this,Sl).delete(t),n(this,Cs)!==null&&(n(this,us).get(t).remove(),n(this,us).delete(t))}destroy(){var t,e,s;p(this,Cs,null);for(const i of n(this,us).values())i.remove();if(n(this,us).clear(),n(this,Sl).clear(),(t=n(this,Al))==null||t.disconnect(),p(this,Al,null),n(this,Ai)){const i=n(tt,pr).get(n(this,Ai));(i==null?void 0:i.drawLayer)===this&&(v(e=tt,ns,Om).call(e,n(this,Ai)),n(tt,pr).delete(n(this,Ai)),n(tt,Ca).delete(n(this,Ai)),n(tt,Ca).size===0&&((s=n(tt,Sa))==null||s.abort(),p(tt,Sa,null),p(tt,Ea,!1))),p(this,Ai,null)}}};Cs=new WeakMap,us=new WeakMap,Ai=new WeakMap,Ou=new WeakMap,Ru=new WeakMap,Al=new WeakMap,Sl=new WeakMap,Nu=new WeakMap,kp=new WeakMap,Sa=new WeakMap,xa=new WeakMap,Ea=new WeakMap,Ca=new WeakMap,pr=new WeakMap,ns=new WeakSet,Om=function(t){const e=n(this,pr).get(t);e!=null&&e.selectionDiv&&(e.selectionDiv.remove(),n(this,xa).delete(e.selectionDiv),e.selectionDiv=null,e.path=null)},Rm=function(){const t=document.getSelection();return!!t&&!t.isCollapsed},E0=function(){return[...n(this,Ca)].filter(t=>t.isConnected).sort(Ex)},jf=function(){var a;const t=document.getSelection();if(!t||t.isCollapsed){for(const o of n(this,xa))o.remove();n(this,xa).clear();return}const e=new WeakMap,s=v(this,ns,E0).call(this),i=[];for(let o=0,l=t.rangeCount;oc.intersectsNode(C));if(x.length===0)continue;let A=!1;if(y||(y=x[0],h=y,d=0,A=!0),b||(b=x.at(-1),f=b,g=b.childNodes.length,A=!0),f.nodeType===Node.ELEMENT_NODE){if(f.classList.contains("endOfContent")){const C=f.previousSibling;if(!C)continue;f=C,g=C.nodeType===Node.TEXT_NODE?C.textContent.length:C.childNodes.length}else if(f.classList.contains("textLayer")&&f.childNodes.length===g){const C=$v(f,g,b);if(!C)continue;f=C.container,g=C.offset}}if(h.nodeType===Node.ELEMENT_NODE){const C=$v(h,d,y);if(!C)continue;h=C.container,d=C.offset}if(y===b&&!A&&x.includes(y)){i.push([c,y]);continue}for(const C of x){const _=C.firstChild;if(!_)continue;const k=document.createRange();if(C===y?k.setStart(h,d):k.setStartBefore(_),C===b)k.setEnd(f,g);else{const I=C.lastChild;if(!I)continue;if(I.nodeType===Node.ELEMENT_NODE&&I.classList.contains("endOfContent")){const L=I.previousSibling;if(!L)continue;k.setEndAfter(L)}else k.setEndAfter(I)}k.collapsed||i.push([k,C])}}const r=new Set(i.map(o=>o[1]));for(const o of n(this,Ca))r.has(o)||v(this,ns,Om).call(this,o);for(const[o,l]of i){const c=n(tt,pr).get(l);if(!c)continue;let h=e.get(l);if(!h){const b=l.getBoundingClientRect();h=(S,w,x,A)=>({x:(S-b.x)/b.width,y:(w-b.y)/b.height,width:x/b.width,height:A/b.height}),e.set(l,h)}const d=[];for(let{x:b,y:S,width:w,height:x}of o.getClientRects())w===0||x===0||({x:b,y:S,width:w,height:x}=h(b,S,w,x),!(w===1&&x===1)&&d.push(`M${b} ${S} h${w} v${x} h-${w} Z`));if(d.length===0)continue;const f=c.drawLayer;let g=c.selectionDiv,y=c.path;if(!g){const b=`clip_selection_${qt(tt,kp)._++}`;g=document.createElement("div"),g.className="selection",g.style.clipPath=`url(#${b})`;const S=(a=n(f,Ou))==null?void 0:a.createSelectionStyle(n(f,Ru));if(S)for(const[A,C]of Object.entries(S))g.style.setProperty(A,C);const w=tt._svgFactory.create(1,1,!0);w.setAttribute("aria-hidden","true"),w.setAttribute("width","100%"),w.setAttribute("height","100%");const x=tt._svgFactory.createElement("clipPath");x.setAttribute("id",b),x.setAttribute("clipPathUnits","objectBoundingBox"),y=tt._svgFactory.createElement("path"),x.append(y),w.append(x),g.append(w),c.path=y,c.selectionDiv=g}!g.parentNode&&n(f,Cs)&&(n(f,Cs).append(g),n(this,xa).add(g)),y.setAttribute("d",d.join(" "))}},C0=function(t,[e,s,i,r]){const{style:a}=t;a.top=`${100*s}%`,a.left=`${100*e}%`,a.width=`${100*i}%`,a.height=`${100*r}%`},_n=new WeakSet,Nm=function(){const t=tt._svgFactory.create(1,1,!0);return n(this,Cs).append(t),t.setAttribute("aria-hidden","true"),t},_0=function(t,e){const s=tt._svgFactory.createElement("clipPath");t.append(s);const i=`clip_${e}`;s.setAttribute("id",i),s.setAttribute("clipPathUnits","objectBoundingBox");const r=tt._svgFactory.createElement("use");return s.append(r),r.setAttribute("href",`#${e}`),r.classList.add("clip"),i},Bm=function(t,e){for(const[s,i]of Object.entries(e))i===null?t.removeAttribute(s):t.setAttribute(s,i)},m(tt,ns),m(tt,Nu,0),m(tt,kp,0),m(tt,Sa,null),m(tt,xa,new Set),m(tt,Ea,!1),m(tt,Ca,new Set),m(tt,pr,new WeakMap);let Fm=tt;function sf(u){return`${(u*100).toFixed(2)}%`}var fh,Bu,$u,ph,wn,An,Uu,Tp,k0;const Yh=class Yh{constructor(t,e,s,i){m(this,Tp);m(this,fh,[]);m(this,Bu,new Map);m(this,$u,null);m(this,ph,0);m(this,wn,0);m(this,An,0);p(this,ph,t),p(this,fh,e),p(this,wn,s.rawDims.pageWidth),p(this,An,s.rawDims.pageHeight),p(this,$u,i)}render(){const t=document.createElement("div");t.className="textLayerImages";for(let e=0;e{var w;if(!(e.target instanceof HTMLCanvasElement))return;const s=e.target,i=n(this,Bu).get(s);if(!i)return;const r=(w=n(Yh,Uu))==null?void 0:w.deref();if(r===s)return;r&&(r.width=0,r.height=0),p(Yh,Uu,new WeakRef(s));const{inverseTransform:a,x1:o,y1:l,width:c,height:h}=i,d=n(this,$u).call(this),f=Math.ceil(o*d.width),g=Math.ceil(l*d.height),y=Math.floor((o+c/n(this,wn))*d.width),b=Math.floor((l+h/n(this,An))*d.height);s.width=y-f,s.height=b-g;const S=s.getContext("2d");S.setTransform(...a),S.translate(-f,-g),S.drawImage(d,0,0)}),t}};fh=new WeakMap,Bu=new WeakMap,$u=new WeakMap,ph=new WeakMap,wn=new WeakMap,An=new WeakMap,Uu=new WeakMap,Tp=new WeakSet,k0=function([t,e,s,i,r,a]){const o=Math.hypot((r-t)*n(this,wn),(a-e)*n(this,An)),l=Math.hypot((s-t)*n(this,wn),(i-e)*n(this,An));if(ot.taskId!=null&&t.sourceFileId!=null?pw(t.taskId,t.sourceFileId):""),L=ut(()=>({"--total-scale-factor":String(d.value)})),P=ut(()=>b.value==="highlighted"?`切片原文已在第 ${l.value} 页高亮`:b.value==="unmatched"?`已定位第 ${l.value} 页,未匹配到可高亮文字`:b.value==="manual"?"手动新增切片没有原文位置":c.value?`第 ${l.value} / ${c.value} 页`:"正在读取 PDF");function D(V){return!V||V.sourceStart==null||V.sourceEnd==null?null:o.value.find($=>V.sourceStart>=$.source_start&&V.sourceStart<$.source_end)??o.value.find($=>V.sourceStart<$.source_end&&V.sourceEnd>$.source_start)??null}function R(V){const $=t.selectedItem;if(!$||$.sourceStart==null||$.sourceEnd==null)return"";const Et=Math.max($.sourceStart,V.source_start),ct=Math.min($.sourceEnd,V.source_end);if(ct<=Et)return"";const J=Math.max(0,Et-$.sourceStart),ae=Math.max(J,ct-$.sourceStart);return $.originalContent.slice(J,ae)}function K(V){return V.normalize("NFKC").replace(/[^\p{L}\p{N}]+/gu,"").toLocaleLowerCase()}function W(V,$,Et){let ct=-1,J=Number.POSITIVE_INFINITY,ae=V.indexOf($);for(;ae>=0;){const Ti=Math.abs(ae-Et);TiMath.min(Ps,ae.length)).filter((Ps,Ne,Ms)=>Ps>=4&&Ms.indexOf(Ps)===Ne);for(const Ps of Sr){const Ne=ae.slice(0,Ps),Ms=W(J,Ne,Se);if(Ms<0)continue;const kn=Ms+Ne.length;return ct.reduce((Ma,Ml,Il)=>(Ml.end>Ms&&Ml.start{if(!(ks!==C||Ia instanceof Error&&Ia.name==="RenderingCancelledException"))throw Ia}),Il=await Se.getTextContent();if(ks!==C)return;const yh=new gh({textContentSource:Il,container:J,viewport:Ne});if(x=yh,await Promise.all([Ml,yh.render()]),ks!==C)return;_=l.value,ht(Ti),await Wf(),(Ts=Et.querySelector(".is-slice-highlighted"))==null||Ts.scrollIntoView({block:"center",inline:"center",behavior:"smooth"})}catch(Se){if(ks!==C)return;y.value=Se instanceof Error?Se.message:"PDF 页面渲染失败"}finally{ks===C&&(g.value=!1)}}async function q(){if(!a.value)return;const V=t.selectedItem;if(!V||V.sourceStart==null||V.sourceEnd==null){ht(null);return}const $=D(V);if(!$){b.value="unmatched";return}if(l.value!==$.page_number){l.value=$.page_number,await T(!0);return}await T(!1)}async function Lt(){const V=++A;if(++C,_=0,w==null||w.cancel(),x==null||x.cancel(),await(S==null?void 0:S.destroy()),S=null,a.value=null,o.value=[],c.value=0,l.value=1,y.value="",b.value="idle",!(!I.value||t.taskId==null||t.sourceFileId==null)){f.value=!0;try{const $=Sy({url:I.value});S=$;const[Et,ct]=await Promise.all([gw(t.taskId,t.sourceFileId),$.promise]);if(V!==A){await $.destroy();return}a.value=ct,o.value=Et.pages,c.value=ct.numPages,await Wf(),await q(),t.selectedItem||await T(!0)}catch($){if(V!==A)return;y.value=$ instanceof Error?$.message:"PDF 原文件加载失败"}finally{V===A&&(f.value=!1)}}}async function mt(V){const $=Math.min(c.value,Math.max(1,l.value+V));$!==l.value&&(l.value=$,await T(!0))}async function _e(V){const $=Math.min(2,Math.max(.6,Number((h.value+V).toFixed(1))));$!==h.value&&(h.value=$,await T(!0))}function re(){window.cancelAnimationFrame(k),k=window.requestAnimationFrame(()=>{a.value&&T(!0)})}const Gt=new ResizeObserver(re);return xi(e,(V,$)=>{$&&Gt.unobserve($),V&&Gt.observe(V)}),xi(I,()=>void Lt(),{immediate:!0}),xi(()=>{var V;return(V=t.selectedItem)==null?void 0:V.id},()=>void q()),jv(()=>{++A,++C,window.cancelAnimationFrame(k),Gt.disconnect(),w==null||w.cancel(),x==null||x.cancel(),S==null||S.destroy()}),(V,$)=>(N(),G("div",kx,[I.value?(N(),G("div",Tx,[E("div",Px,[E("button",{type:"button","aria-label":"上一页",disabled:l.value<=1||f.value,onClick:$[0]||($[0]=Et=>mt(-1))},[...$[4]||($[4]=[E("i",{class:"fa fa-chevron-left","aria-hidden":"true"},null,-1)])],8,Mx),E("span",Ix,j(l.value)+" / "+j(c.value||"—"),1),E("button",{type:"button","aria-label":"下一页",disabled:l.value>=c.value||f.value,onClick:$[1]||($[1]=Et=>mt(1))},[...$[5]||($[5]=[E("i",{class:"fa fa-chevron-right","aria-hidden":"true"},null,-1)])],8,Dx)]),E("span",{class:we(["location-state",`is-${b.value}`]),role:"status"},[b.value==="highlighted"?(N(),G("i",Lx)):vt("",!0),ft(" "+j(P.value),1)],2),E("div",Fx,[E("button",{type:"button","aria-label":"缩小",disabled:h.value<=.6||f.value,onClick:$[2]||($[2]=Et=>_e(-.1))},"−",8,Ox),E("span",Rx,j(Math.round(h.value*100))+"%",1),E("button",{type:"button","aria-label":"放大",disabled:h.value>=2||f.value,onClick:$[3]||($[3]=Et=>_e(.1))},"+",8,Nx)])])):vt("",!0),I.value?(N(),G("div",{key:1,ref_key:"scrollRef",ref:e,class:"pdf-scroll",tabindex:"0","aria-label":`PDF 预览:${u.fileName}`},[E("div",{ref_key:"pageRef",ref:s,class:"pdf-page",style:iw(L.value),"data-page-number":l.value},[E("canvas",{ref_key:"canvasRef",ref:i,class:"pdf-canvas"},null,512),E("div",{ref_key:"textLayerRef",ref:r,class:"pdf-text-layer"},null,512)],12,$x),f.value||g.value?(N(),G("div",Ux,[$[6]||($[6]=E("i",{class:"fa fa-spinner fa-spin","aria-hidden":"true"},null,-1)),ft(" "+j(f.value?"正在加载 PDF…":"正在渲染页面…"),1)])):vt("",!0),y.value?(N(),G("div",Hx,[$[7]||($[7]=E("i",{class:"fa fa-exclamation-circle","aria-hidden":"true"},null,-1)),$[8]||($[8]=E("strong",null,"PDF 预览失败",-1)),E("span",null,j(y.value),1),E("a",{href:I.value,target:"_blank",rel:"noopener noreferrer"},"在新窗口打开原件",8,zx)])):vt("",!0)],8,Bx)):(N(),G("div",Vx,[...$[9]||($[9]=[E("i",{class:"fa fa-file-pdf-o","aria-hidden":"true"},null,-1),E("strong",null,"PDF 原文件暂不可预览",-1),E("span",null,"请重新上传该文件后再试。",-1)])]))]))}}),jx=ki(Gx,[["__scopeId","data-v-6e2d2dbc"]]),Wx=["问:如何看待当前的通货膨胀风险?","答:当前通胀水平总体可控,但仍需关注能源价格与供给扰动。","问:美联储下一次议息会议何时召开?","答:会议时间以美联储官方日历为准,市场会重点关注利率路径指引。","问:人民币汇率未来走势如何?","答:人民币汇率取决于中美利差、经济基本面与政策预期。","问:什么是复利?","答:复利是将上一期利息加入本金,再计算下一期利息。"].join(` +`);function Xx(u){const t=u.split(` +`);let e=0;return t.map((s,i)=>{const r=e,a=r+s.length;return e=a+(iXx(e.sourceText)),h=ut(()=>e.items.find(P=>P.id===e.selectedId)??e.items[0]),d=ut(()=>e.items.find(P=>P.id===o.value)),f=ut(()=>/\.pdf$/i.test(e.fileName)),g=ut(()=>e.items.filter((P,D)=>!r.value.trim()||P.editedContent.toLowerCase().includes(r.value.trim().toLowerCase())||String(D+1).includes(r.value.trim()))),y=ut(()=>{const P=(a.value-1)*xh;return g.value.slice(P,P+xh)});function b(P,D){const R=h.value;return!R||R.sourceStart==null||R.sourceEnd==null?!1:D>=R.sourceStart&&P<=R.sourceEnd}function S(P){s("update:selectedId",P)}function w(P){S(P.id),o.value=P.id,l.value=P.editedContent}function x(){o.value=null,l.value=""}function A(){d.value&&(s("update:item-content",d.value.id,l.value),x())}function C(){d.value&&(s("restore:item",d.value.id),x())}function _(P){S(P.id),s("remove:item",P.id)}function k(){x()}xi(r,()=>{a.value=1,x()}),xi(()=>e.selectedFileId,x),xi(h,async P=>{var K,W;if(!P)return;const D=g.value.findIndex(Q=>Q.id===P.id);if(D>=0&&(a.value=Math.floor(D/xh)+1),f.value||P.sourceStart==null)return;await Wf();const R=((K=i.value)==null?void 0:K.querySelector(`[data-source-start="${P.sourceStart}"]`))??((W=i.value)==null?void 0:W.querySelector(".source-line.is-highlighted"));R==null||R.scrollIntoView({block:"center",behavior:"smooth"})},{immediate:!0});function I(P){return e.items.findIndex(D=>D.id===P.id)+1}function L(P){return P.sourceStartLine==null||P.sourceEndLine==null?"手动新增,无源文件定位":P.sourceStartLine===P.sourceEndLine?`来源:第 ${P.sourceStartLine} 行`:`来源:第 ${P.sourceStartLine}–${P.sourceEndLine} 行`}return(P,D)=>{const R=Ip,K=Mp,W=Hu,Q=bh,ht=Yv;return N(),G("section",qx,[E("div",Yx,[E("div",Kx,[D[5]||(D[5]=E("span",null,"当前文件",-1)),U(K,{"model-value":u.selectedFileId,filterable:"",placeholder:"选择文件","aria-label":"选择当前预览文件","onUpdate:modelValue":D[0]||(D[0]=T=>s("update:selectedFileId",T))},{default:et(()=>[(N(!0),G(ye,null,ni(u.files,T=>(N(),Vt(R,{key:T.id,label:T.name,value:T.id},{default:et(()=>[E("div",Qx,[E("strong",{title:T.name},j(T.name),9,Jx),E("span",null,j(T.count.toLocaleString())+" "+j(u.processType==="unstructured"?"个切片":"条记录"),1),T.modifiedCount?(N(),G("em",Zx,j(T.modifiedCount)+" 处已修改",1)):vt("",!0)])]),_:2},1032,["label","value"]))),128))]),_:1},8,["model-value"])]),E("span",tE,j(u.files.length)+" 个文件 · 当前文件 "+j(u.items.length.toLocaleString())+" "+j(u.processType==="unstructured"?"个切片":"条记录"),1)]),E("div",eE,[E("div",sE,[E("div",iE,[E("div",null,[E("strong",null,"源文件 · "+j(u.fileName),1)])]),f.value?(N(),Vt(jx,{key:0,"task-id":u.taskId,"source-file-id":u.sourceFileId,"file-name":u.fileName,"selected-item":h.value??null},null,8,["task-id","source-file-id","file-name","selected-item"])):(N(),G("div",{key:1,ref_key:"sourceViewerRef",ref:i,class:"source-viewer",tabindex:"0","aria-label":"源文件内容"},[(N(!0),G(ye,null,ni(c.value,T=>(N(),G("div",{key:T.number,class:we(["source-line",{"is-highlighted":b(T.start,T.end)}]),"data-source-start":T.start},[E("span",rE,j(T.number),1),E("span",aE,j(T.content||" "),1)],10,nE))),128))],512))]),E("div",oE,[E("div",lE,[E("strong",null,j(u.processType==="unstructured"?"切片内容":"记录内容"),1),E("div",cE,[E("span",null,"共 "+j(u.items.length.toLocaleString())+" 条",1),U(W,{link:"",type:"primary",onClick:D[1]||(D[1]=T=>s("add:item"))},{default:et(()=>[...D[6]||(D[6]=[E("i",{class:"fa fa-plus"},null,-1),ft(" 手动新增 ",-1)])]),_:1})])]),d.value?(N(),G("div",vE,[E("div",bE,[E("div",null,[E("strong",null,j(u.processType==="unstructured"?"切片":"记录")+" #"+j(String(I(d.value)).padStart(3,"0"))+" 正文",1),E("small",null,j(L(d.value)),1)])]),U(Q,{modelValue:l.value,"onUpdate:modelValue":D[4]||(D[4]=T=>l.value=T),type:"textarea",rows:7,resize:"none"},null,8,["modelValue"]),E("div",yE,[d.value.sourceStart!=null?(N(),Vt(W,{key:0,link:"",onClick:C},{default:et(()=>[...D[10]||(D[10]=[E("i",{class:"fa fa-undo"},null,-1),ft(" 恢复原始内容 ",-1)])]),_:1})):vt("",!0),E("div",null,[U(W,{onClick:x},{default:et(()=>[...D[11]||(D[11]=[ft("取消",-1)])]),_:1}),U(W,{type:"primary",onClick:A},{default:et(()=>[...D[12]||(D[12]=[ft("保存修改",-1)])]),_:1})])])])):(N(),G(ye,{key:0},[E("div",hE,[U(Q,{modelValue:r.value,"onUpdate:modelValue":D[2]||(D[2]=T=>r.value=T),clearable:"",placeholder:"搜索编号或内容",size:"small"},{prefix:et(()=>[...D[7]||(D[7]=[E("i",{class:"fa fa-search"},null,-1)])]),_:1},8,["modelValue"])]),E("div",dE,[(N(!0),G(ye,null,ni(y.value,T=>{var q,Lt;return N(),G("div",{key:T.id,class:we(["preview-item",{"is-active":T.id===((q=h.value)==null?void 0:q.id)}]),"data-preview-id":T.id,"aria-selected":T.id===((Lt=h.value)==null?void 0:Lt.id),role:"button",tabindex:"0",onClick:mt=>S(T.id),onKeydown:[cv(mt=>S(T.id),["enter"]),cv(Xp(mt=>S(T.id),["prevent"]),["space"])]},[E("span",fE,j(u.processType==="unstructured"?"切片":"记录")+" #"+j(String(I(T)).padStart(3,"0")),1),E("span",pE,j(L(T)),1),E("span",gE,[U(W,{link:"","aria-label":"编辑切片",title:"编辑",onClick:Xp(mt=>w(T),["stop"])},{default:et(()=>[...D[8]||(D[8]=[E("i",{class:"fa fa-pencil"},null,-1)])]),_:1},8,["onClick"]),U(W,{link:"",type:"danger","aria-label":"删除切片",title:"删除",onClick:Xp(mt=>_(T),["stop"])},{default:et(()=>[...D[9]||(D[9]=[E("i",{class:"fa fa-trash-o"},null,-1)])]),_:1},8,["onClick"])])],42,uE)}),128)),g.value.length?vt("",!0):(N(),G("div",mE,"没有符合条件的内容"))]),g.value.length>xh?(N(),Vt(ht,{key:0,"current-page":a.value,"onUpdate:currentPage":D[3]||(D[3]=T=>a.value=T),"page-size":xh,total:g.value.length,"pager-count":5,small:"",background:"",layout:"prev, pager, next",class:"preview-pagination",onCurrentChange:k},null,8,["current-page","total"])):vt("",!0)],64))])])])}}}),AE=ki(wE,[["__scopeId","data-v-56f2a99f"]]),SE={class:"generation-step"},xE={class:"generation-layout"},EE={class:"summary-panel"},CE={class:"run-icon"},_E={key:0,class:"fa fa-check"},kE={key:1,class:"fa fa-exclamation"},TE={key:2,class:"fa fa-cog fa-spin"},PE={key:3,class:"fa fa-play"},ME=_i({__name:"GenerationStep",props:{taskName:{},processType:{},fileName:{},previewCount:{},modifiedCount:{},generation:{}},emits:["stop","retry"],setup(u,{emit:t}){const e=t;return(s,i)=>{const r=Kv,a=Hu;return N(),G("section",SE,[E("div",xE,[E("div",EE,[i[7]||(i[7]=E("div",{class:"panel-heading"},[E("strong",null,"任务摘要"),E("span",null,"已完成预览确认")],-1)),E("dl",null,[E("div",null,[i[2]||(i[2]=E("dt",null,"任务名称",-1)),E("dd",null,j(u.taskName),1)]),E("div",null,[i[3]||(i[3]=E("dt",null,"数据类型",-1)),E("dd",null,j(u.processType==="unstructured"?"非结构化数据":u.processType==="external"?"外来数据源拉取":"结构化数据"),1)]),E("div",null,[i[4]||(i[4]=E("dt",null,"源文件",-1)),E("dd",null,j(u.fileName),1)]),E("div",null,[i[5]||(i[5]=E("dt",null,"预览条目",-1)),E("dd",null,j(u.previewCount.toLocaleString())+" 条",1)]),E("div",null,[i[6]||(i[6]=E("dt",null,"已修改",-1)),E("dd",null,j(u.modifiedCount.toLocaleString())+" 条",1)])])]),E("div",{class:we(["run-panel",`is-${u.generation.status}`])},[E("div",CE,[u.generation.status==="success"?(N(),G("i",_E)):u.generation.status==="failed"?(N(),G("i",kE)):u.generation.status==="running"?(N(),G("i",TE)):(N(),G("i",PE))]),E("h3",null,j(u.generation.status==="idle"?"准备开始处理":u.generation.status==="running"?"正在生成数据":u.generation.status==="success"?"数据生成完成":"生成已停止"),1),E("p",null,j(u.generation.message),1),u.generation.status!=="idle"?(N(),Vt(r,{key:0,percentage:u.generation.progress,"stroke-width":10,status:u.generation.status==="success"?"success":void 0},null,8,["percentage","status"])):vt("",!0),i[10]||(i[10]=E("div",{class:"run-meta"},[E("span",null,"解析源数据"),E("span",null,"应用预览修改"),E("span",null,"生成标准结果")],-1)),u.generation.status==="running"?(N(),Vt(a,{key:1,plain:"",type:"warning",onClick:i[0]||(i[0]=o=>e("stop"))},{default:et(()=>[...i[8]||(i[8]=[ft(" 停止生成 ",-1)])]),_:1})):vt("",!0),u.generation.status==="failed"?(N(),Vt(a,{key:2,plain:"",type:"primary",onClick:i[1]||(i[1]=o=>e("retry"))},{default:et(()=>[...i[9]||(i[9]=[ft(" 重新生成 ",-1)])]),_:1})):vt("",!0)],2)])])}}}),IE=ki(ME,[["__scopeId","data-v-94e8b875"]]),DE={class:"result-step"},LE={class:"result-workspace"},FE={class:"result-list-pane"},OE={class:"pane-header"},RE={class:"result-toolbar"},NE={class:"result-list"},BE=["onClick"],$E={class:"result-index"},UE={class:"result-copy"},HE={key:0,class:"result-editor-pane"},zE={class:"pane-header"},VE={key:0,class:"modified-label"},GE={class:"field-editor"},jE={class:"field-editor"},WE={class:"field-editor"},XE={key:0,class:"validation-error"},qE={key:1,class:"validation-success"},YE={key:2,class:"quality-flags"},KE={class:"editor-pagination"},QE=_i({__name:"ResultEditorStep",props:{items:{},selectedId:{}},emits:["update:selectedId","update:field","restore:item"],setup(u,{emit:t}){const e=u,s=t,i=rt(""),r=rt(!1),a=ut(()=>e.items.find(h=>h.id===e.selectedId)??e.items[0]),o=ut(()=>e.items.findIndex(h=>{var d;return h.id===((d=a.value)==null?void 0:d.id)})),l=ut(()=>e.items.filter((h,d)=>{const f=i.value.trim().toLowerCase();return(!f||h.instruction.toLowerCase().includes(f)||h.output.toLowerCase().includes(f)||String(d+1).includes(f))&&(!r.value||h.status==="invalid")}));function c(h){if(!e.items.length)return;const d=Math.min(Math.max(o.value+h,0),e.items.length-1);s("update:selectedId",e.items[d].id)}return(h,d)=>{var S;const f=bh,g=Pp,y=Iw,b=Hu;return N(),G("section",DE,[E("div",LE,[E("aside",FE,[E("div",OE,[d[8]||(d[8]=E("strong",null,"生成结果",-1)),E("span",null,"共 "+j(u.items.length)+" 条",1)]),E("div",RE,[U(f,{modelValue:i.value,"onUpdate:modelValue":d[0]||(d[0]=w=>i.value=w),clearable:"",size:"small",placeholder:"搜索结果"},{prefix:et(()=>[...d[9]||(d[9]=[E("i",{class:"fa fa-search"},null,-1)])]),_:1},8,["modelValue"]),U(g,{modelValue:r.value,"onUpdate:modelValue":d[1]||(d[1]=w=>r.value=w)},{default:et(()=>[...d[10]||(d[10]=[ft("仅看错误",-1)])]),_:1},8,["modelValue"])]),E("div",NE,[(N(!0),G(ye,null,ni(l.value,w=>{var x;return N(),G("button",{key:w.id,type:"button",class:we(["result-item",{"is-active":w.id===((x=a.value)==null?void 0:x.id)}]),onClick:A=>s("update:selectedId",w.id)},[E("span",$E,"#"+j(String(u.items.findIndex(A=>A.id===w.id)+1).padStart(3,"0")),1),E("span",UE,[E("strong",null,j(w.instruction||"未填写指令"),1),E("small",null,j(w.output||"未填写输出"),1)]),E("i",{class:we(["fa",w.status==="invalid"?"fa-exclamation-circle is-error":"fa-check-circle is-valid"])},null,2)],10,BE)}),128))])]),a.value?(N(),G("div",HE,[E("div",zE,[E("div",null,[E("strong",null,"结果 #"+j(String(o.value+1).padStart(3,"0")),1),a.value.status==="modified"?(N(),G("span",VE,"已修改")):vt("",!0),a.value.split?(N(),Vt(y,{key:1,size:"small",effect:"plain"},{default:et(()=>[ft(j(a.value.split),1)]),_:1})):vt("",!0),a.value.qualityScore!=null?(N(),Vt(y,{key:2,size:"small",type:a.value.qualityScore>=80?"success":a.value.qualityScore>=60?"warning":"danger"},{default:et(()=>[ft("质量 "+j(a.value.qualityScore.toFixed(1)),1)]),_:1},8,["type"])):vt("",!0)]),U(b,{link:"",onClick:d[2]||(d[2]=w=>s("restore:item",a.value.id))},{default:et(()=>[...d[11]||(d[11]=[E("i",{class:"fa fa-undo"},null,-1),ft(" 恢复生成结果",-1)])]),_:1})]),E("div",GE,[d[12]||(d[12]=E("label",null,[ft("Instruction "),E("em",null,"必填")],-1)),U(f,{"model-value":a.value.instruction,type:"textarea",rows:3,"onUpdate:modelValue":d[3]||(d[3]=w=>s("update:field",a.value.id,"instruction",w))},null,8,["model-value"])]),E("div",jE,[d[13]||(d[13]=E("label",null,[ft("Input "),E("span",null,"选填")],-1)),U(f,{"model-value":a.value.input,type:"textarea",rows:2,"onUpdate:modelValue":d[4]||(d[4]=w=>s("update:field",a.value.id,"input",w))},null,8,["model-value"])]),E("div",WE,[d[14]||(d[14]=E("label",null,[ft("Output "),E("em",null,"必填")],-1)),U(f,{"model-value":a.value.output,type:"textarea",rows:7,"onUpdate:modelValue":d[5]||(d[5]=w=>s("update:field",a.value.id,"output",w))},null,8,["model-value"])]),a.value.error?(N(),G("div",XE,[d[15]||(d[15]=E("i",{class:"fa fa-exclamation-circle"},null,-1)),ft(" "+j(a.value.error),1)])):(N(),G("div",qE,[...d[16]||(d[16]=[E("i",{class:"fa fa-check-circle"},null,-1),ft(" 字段校验通过 ",-1)])])),(S=a.value.qualityFlags)!=null&&S.length?(N(),G("div",YE,[(N(!0),G(ye,null,ni(a.value.qualityFlags,w=>(N(),Vt(y,{key:w,size:"small",type:"warning",effect:"plain"},{default:et(()=>[ft(j(w),1)]),_:2},1024))),128))])):vt("",!0),E("div",KE,[U(b,{disabled:o.value<=0,onClick:d[6]||(d[6]=w=>c(-1))},{default:et(()=>[...d[17]||(d[17]=[ft("上一条",-1)])]),_:1},8,["disabled"]),E("span",null,j(o.value+1)+" / "+j(u.items.length),1),U(b,{disabled:o.value>=u.items.length-1,onClick:d[7]||(d[7]=w=>c(1))},{default:et(()=>[...d[18]||(d[18]=[ft("下一条",-1)])]),_:1},8,["disabled"])])])):vt("",!0)])])}}}),JE=ki(QE,[["__scopeId","data-v-37fecd0b"]]),T0="你是一名专业的数据生成助手。请根据输入内容生成准确、完整、可直接用于模型训练的问答数据。仅输出符合目标格式的内容,答案应事实清晰、语言自然,不要添加分析过程、说明或无关内容。";function ZE(){return{preprocessOptions:["clean_invalid","detect_structure","deduplicate","normalize_format"],semanticEnrichment:!1,qaPairsPerRow:1,datasetSplit:{train:80,validation:10,test:10},generationModelId:"",generationPrompt:T0,temperature:.7,maxTokens:1024,jsonMode:!1,qualityFilterEnabled:!1,filterLowQuality:!0,filterShortContent:!0,minOutputLength:20}}function tC(){return{preprocessOptions:["clean_invalid_content","detect_document_structure","merge_short_content","filter_low_quality","deduplicate_content","preserve_context"],chunkMethod:"structure",chunkSize:800,chunkOverlap:100,minChunkSize:100,customDelimiter:"",preserveTables:!0,preserveCodeBlocks:!0,preserveLists:!0,semanticEnrichment:!1,qaPairsPerChunk:1,datasetSplit:{train:80,validation:10,test:10},generationModelId:"",generationPrompt:T0,temperature:.7,maxTokens:1024,jsonMode:!1,qualityFilterEnabled:!1,filterLowQuality:!0,filterShortContent:!0,minOutputLength:20}}const Hv=500,nf=1500;function sg(u){var t,e;return{id:String(u.id),instruction:u.instruction,input:u.input||"",output:u.output,originalInstruction:u.original_instruction??u.instruction,originalInput:u.original_input??u.input??"",originalOutput:u.original_output??u.output,status:u.status,error:u.error||void 0,split:u.split||void 0,qualityScore:(t=u.quality_score)==null?void 0:t.overall,qualityFlags:((e=u.quality_score)==null?void 0:e.flags)||[],updatedAt:u.updated_at}}function eC(u){const t=rt([]),e=rt(null),s=ig({status:"idle",progress:0,message:"确认摘要后即可开始生成,过程中可查看实时进度。"});let i=null,r=0,a=0;function o(){r+=1,i&&clearTimeout(i),i=null}function l(){o(),s.status="idle",s.progress=0,s.message="确认摘要后即可开始生成,过程中可查看实时进度。",t.value=[],e.value=null}function c(A){s.progress=Math.max(0,Math.min(100,Number(A.progress)||0)),s.message=A.message||(A.status==="running"?"后端正在生成标准化结果并进行质量评分。":A.status==="completed"?"数据处理已完成。":A.failure_reason||"任务已停止。")}async function h(A){var I;const C=await hv(A,{page:1,page_size:Hv}),_=[...C.items],k=Math.ceil(C.total/C.page_size);for(let L=2;L<=k;L+=1){const P=await hv(A,{page:L,page_size:Hv});_.push(...P.items)}t.value=_.map(sg),e.value=((I=t.value[0])==null?void 0:I.id)??null}async function d(A){if(a=0,c(A),A.status==="completed"){const C=u.taskId.value;if(!C)return;await h(C),s.status="success",s.progress=100,s.message=`已完成 ${t.value.length.toLocaleString()} 条数据处理,可进入结果页检查。`,u.dirty.value=!0,yt.success("数据处理完成");return}(A.status==="failed"||A.status==="stopped")&&(s.status="failed",s.message=A.failure_reason||A.message||(A.status==="stopped"?"任务已停止,可以重新生成。":"数据处理失败,请检查配置后重试。"))}async function f(A){const C=u.taskId.value;if(!(!C||A!==r||s.status!=="running"))try{const _=await ww(C);if(A!==r)return;if(a=0,_.status==="running"||_.status==="pending"){c(_),i=setTimeout(()=>void f(A),nf);return}await d(_)}catch(_){if(A!==r)return;if(a+=1,a<=3){s.message=`进度查询暂时失败,正在重试(${a}/3)…`,i=setTimeout(()=>void f(A),nf);return}s.status="failed",s.message=_ instanceof Error?_.message:"查询任务进度失败,请重试。"}}async function g(){var _;const A=u.taskId.value;if(!A){yt.error("任务尚未创建,请返回上一步重试");return}o();const C=r;s.status="running",a=0,s.progress=0,s.message="正在同步预览修改并启动后端处理,请稍候。";try{await((_=u.beforeGenerate)==null?void 0:_.call(u));const k=await vw(A);if(C!==r)return;if(k.status==="completed"||k.status==="failed"||k.status==="stopped"){await d(k);return}c(k),i=setTimeout(()=>void f(C),nf)}catch(k){if(C!==r)return;s.status="failed",s.message=k instanceof Error?k.message:"启动数据处理失败,请重试。"}}async function y(){const A=u.taskId.value;if(A){o();try{const C=await mw(A);c(C)}catch{s.status="running",s.message="停止请求失败,继续查询后端任务状态。";const C=r;i=setTimeout(()=>void f(C),nf);return}s.status="failed",s.message="任务已停止,预览修改仍然保留,可以重新生成。"}}function b(A,C,_){const k=t.value.find(P=>P.id===A);if(!k)return;k[C]=_;const I=k.instruction.trim()&&k.output.trim();k.error=I?void 0:"Instruction 和 Output 不能为空";const L=k.instruction!==k.originalInstruction||k.input!==k.originalInput||k.output!==k.originalOutput;k.status=k.error?"invalid":L?"modified":"valid",u.dirty.value=!0}async function S(A){const C=u.taskId.value,_=t.value.find(L=>L.id===A);if(!C||!_)return;const k=await bw(C,A),I=t.value.indexOf(_);t.value[I]=sg(k),u.dirty.value=!0}async function w(){const A=u.taskId.value;if(!A)throw new Error("任务尚未创建");const C=t.value.filter(_=>_.instruction!==_.originalInstruction||_.input!==_.originalInput||_.output!==_.originalOutput);for(const _ of C){const k=await yw(A,_.id,{instruction:_.instruction,input:_.input,output:_.output,expected_updated_at:_.updatedAt}),I=t.value.findIndex(L=>L.id===_.id);I>=0&&(t.value[I]=sg(k))}}function x(){let A=null;for(const C of t.value)(!C.instruction.trim()||!C.output.trim()||C.status==="invalid")&&(C.error||(C.error="结果未通过后端质量校验,请修改后重新保存"),C.status="invalid",A??(A=C.id));return A&&(e.value=A),A==null}return{generation:s,results:t,selectedResultId:e,persistResultChanges:w,resetDownstream:l,restoreResult:S,startGeneration:g,stopGeneration:y,stopGenerationTimer:o,updateResultField:b,validateResults:x}}function sC(){async function u(t,e,s){var r,a;const i=[];for(const o of e){s({source_file_id:o,status:"processing",progress:0});let l;try{const c=await Aw(t,{replace_existing:!0,source_file_ids:[o]}),h=String(o),d=(r=c.files)==null?void 0:r.find(g=>String(g.source_file_id)===h),f=(d==null?void 0:d.preview_count)??((a=c.file_counts)==null?void 0:a[h])??c.items.filter(g=>String(g.source_file_id)===h).length;l=f>0?{source_file_id:o,status:"success",progress:100,preview_count:f}:{source_file_id:o,status:"failed",progress:0,preview_count:0,error:"该文件没有生成可用的预览条目,请检查内容或切分配置"}}catch(c){l={source_file_id:o,status:"failed",progress:0,error:c instanceof Error&&c.message?c.message:"切分失败,请重试"}}i.push(l),s(l)}return i}return{buildPreviewsByFile:u}}const zv=new Set(["xlsx","pdf","docx","pptx"]),iC=new Set(["json","jsonl","ndjson","csv","tsv","xlsx"]),nC=new Set(["txt","md","markdown","pdf","docx","pptx","json","jsonl","ndjson"]),rC=new Set(["doc","xls","ppt"]),aC=200*1024*1024,Vv=20,oC=500*1024*1024;function lC(u,t,e){var a;if(u.size>aC)return{valid:!1,severity:"warning",message:"单文件不能超过 200MB"};const s=((a=u.name.split(".").pop())==null?void 0:a.toLowerCase())??"";return rC.has(s)?{valid:!1,severity:"error",message:"旧版 DOC、XLS、PPT 文件暂不支持,请分别转换为 DOCX、XLSX、PPTX 后上传"}:(t==="unstructured"?nC:iC).has(s)?e.some(o=>o.name===u.name&&o.size===u.size)?{valid:!1,severity:"warning",message:"同名且同大小的文件已经选择"}:e.length>=Vv?{valid:!1,severity:"warning",message:`每个任务最多选择 ${Vv} 个文件`}:e.reduce((o,l)=>o+l.size,0)+u.size>oC?{valid:!1,severity:"warning",message:"当前任务选择的文件总大小不能超过 500MB"}:{valid:!0,extension:s}:{valid:!1,severity:"error",message:t==="unstructured"?"非结构化数据支持 TXT、MD、MARKDOWN、PDF、DOCX、PPTX、JSON、JSONL、NDJSON":"结构化数据支持 JSON、JSONL、NDJSON、CSV、TSV、XLSX"}}function P0(u,t=""){return{uid:String(u.id),sourceFileId:String(u.id),name:u.name,size:u.size_bytes,count:u.record_count,content:t,fileFormat:u.file_format,checksumSha256:u.checksum_sha256,status:"ready",uploadProgress:100,previewStatus:"waiting",previewProgress:0}}function cC(u){var s;const t=(s=u==null?void 0:u.response)==null?void 0:s.data,e=t==null?void 0:t.detail;return typeof e=="string"?e:e!=null&&e.message?e.message:t!=null&&t.message?t.message:u instanceof Error&&u.message?u.message:"上传失败,请删除该文件后重新选择"}function hC(u){const t=rt(!1),e=[];let s=null;async function i(o){const l=u.uploadedFiles.value.find(h=>String(h.uid)===o.uid);if(!l)return;const c=u.taskId.value;if(!c){l.status="failed",l.uploadError="任务尚未创建,请返回模型选择步骤后重试";return}l.status="uploading",l.uploadProgress=0,l.uploadError=void 0;try{let h="";if(!zv.has(o.extension)){try{h=new TextDecoder("utf-8",{fatal:!0}).decode(await o.file.arrayBuffer())}catch{throw new Error("文本文件不是有效的 UTF-8 编码,请转换编码后重试")}if(!h.trim())throw new Error("不能上传空文件")}const f=(await Sw(c,[o.file],g=>{l.uploadProgress=g})).files[0];if(!f)throw new Error("后端未返回源文件记录");if(Object.assign(l,P0(f),{rawFile:o.file,status:"uploading",uploadProgress:99}),zv.has(o.extension))try{const g=await Qv(c,f.id,{start_line:1,line_count:1e4});l.content=g.content}catch{}else l.content=h;l.status="ready",l.uploadProgress=100,u.onUploaded(l)}catch(h){l.status="failed",l.uploadError=cC(h)}}async function r(){t.value=!0;try{for(;e.length;){const o=e.shift();o&&await i(o)}}finally{t.value=!1}}function a(o){e.push(o),!s&&(s=r().finally(()=>{s=null}))}return{enqueueSourceUpload:a,sourceUploading:t}}const dC={class:"create-wizard-layout"},uC={class:"wizard-main"},fC={class:"wizard-main-inner"},pC={class:"wizard-steps-container"},gC={class:"custom-wizard-steps"},mC=["aria-current"],vC={class:"step-node"},bC={class:"step-icon"},yC={key:0,class:"fa fa-check"},wC={key:1},AC={class:"step-text"},SC={class:"step-title"},xC={class:"wizard-content"},EC={class:"wizard-footer"},CC={class:"footer-left"},_C={class:"footer-right"},kC="backend-pipeline-v2",TC=_i({__name:"DataProcessCreateView",setup(u){const t=cw(),e=Dw(),{list:s}=rw(e),i=ut(()=>s.value),r=rt(),a=rt(),o=rt(),l=[{id:"create",title:"创建任务",desc:"填写任务信息与处理配置"},{id:"model",title:"大模型选择",desc:"选择生成模型并设置输出要求"},{id:"upload",title:"上传文件",desc:"上传或接入待处理的源数据"},{id:"preview",title:"数据预览",desc:"核对源文件与预览内容"},{id:"generate",title:"开始生成",desc:"确认摘要并启动处理"},{id:"results",title:"结果编辑与保存",desc:"检查、修改并保存结果"}],c=rt(0),h=ut(()=>{var F;return((F=l[c.value])==null?void 0:F.id)??"create"}),d=ig({name:"",description:""}),f=rt(null),g=rt("structured"),y=rt(ZE()),b=rt(tC()),S=ut(()=>g.value==="unstructured"?b.value:y.value),w=rt([]),x=rt(!1),{buildPreviewsByFile:A}=sC(),C=ig({type:"postgresql",url:"",authMode:"none",username:"",password:"",limit:1e3,query:"",fileName:"external-data.jsonl"}),_=rt(!1),k=rt(!1),I=ut(()=>w.value.map(F=>F.name).join(", ")),L=rt(""),P=rt([]),D=rt(null),R=rt(null),K=rt({}),W=rt(!1);let Q=!1;const{generation:ht,results:T,selectedResultId:q,persistResultChanges:Lt,resetDownstream:mt,restoreResult:_e,startGeneration:re,stopGeneration:Gt,stopGenerationTimer:V,updateResultField:$,validateResults:Et}=eC({taskId:f,dirty:W,beforeGenerate:W0}),{enqueueSourceUpload:ct,sourceUploading:J}=hC({taskId:f,uploadedFiles:w,onUploaded(F){L.value="",mt(),W.value=!0,yt.success(`文件 ${F.name} 上传成功,等待切分`)}}),ae=ut(()=>w.value.some(F=>F.status!=="ready"||!F.sourceFileId)),Ti=ut(()=>P.value.filter(F=>F.status!=="original").length),ks=ut(()=>{const F=new Map;for(const O of P.value){const st=F.get(O.sourceFileId)||[];st.push(O),F.set(O.sourceFileId,st)}return F}),Ts=ut(()=>w.value.find(F=>String(F.uid)===D.value)),Se=ut(()=>ks.value.get(D.value||"")||[]),Sr=ut(()=>{var F;return((F=Ts.value)==null?void 0:F.content)??""}),Pa=ut(()=>w.value.map(F=>{const O=ks.value.get(String(F.uid))||[];return{id:String(F.uid),name:F.name,count:O.length,modifiedCount:O.filter(st=>st.status!=="original").length}})),Ps=ut(()=>h.value==="create"?"继续:选择大模型":h.value==="model"?"继续:上传文件":h.value==="upload"?J.value?"正在上传":x.value?"正在切分":"继续:数据预览":h.value==="preview"?"确认预览并继续":h.value==="results"?"保存任务":ht.status==="running"?"正在生成":ht.status==="success"?"查看生成结果":ht.status==="failed"?"重新生成":"开始生成"),Ne=ut(()=>h.value==="results"?"fa-check":h.value==="generate"&&ht.status!=="success"?"fa-play":"fa-arrow-right"),Ms=ut(()=>c.value>0?l[c.value-1].title:"");function kn(F){const O=l.findIndex(st=>st.id===F);O>=0&&(c.value=O)}function Ma(F){if(g.value==="unstructured"){b.value={...b.value,...F};return}y.value={...y.value,...F}}function Ml(){const F=g.value==="unstructured"?b.value:y.value,O={preprocess_options:[...F.preprocessOptions],semantic_enrichment:F.semanticEnrichment,dataset_split:{...F.datasetSplit},generation_model_id:F.generationModelId,generation_prompt:F.generationPrompt,temperature:F.temperature,max_tokens:F.maxTokens,json_mode:F.jsonMode,quality_filter_enabled:F.qualityFilterEnabled,filter_low_quality:F.filterLowQuality,filter_short_content:F.filterShortContent,min_output_length:F.minOutputLength};return g.value==="unstructured"?{...O,chunk_method:b.value.chunkMethod,chunk_size:b.value.chunkSize,chunk_overlap:b.value.chunkOverlap,min_chunk_size:b.value.minChunkSize,custom_delimiter:b.value.customDelimiter,preserve_tables:b.value.preserveTables,preserve_code_blocks:b.value.preserveCodeBlocks,preserve_lists:b.value.preserveLists,qa_pairs_per_chunk:b.value.qaPairsPerChunk}:{...O,qa_pairs_per_row:y.value.qaPairsPerRow}}function Il(){return{name:d.name.trim(),description:d.description.trim(),process_type:g.value,config:Ml()}}function yh(){var F;return{type:C.type,url:C.url.trim(),auth_mode:C.authMode,username:C.username||void 0,password:C.password||void 0,limit:C.limit,query:((F=C.query)==null?void 0:F.trim())||void 0,file_name:C.fileName||"external-data.jsonl"}}function Ia(F){return{id:String(F.id),sourceFileId:String(F.source_file_id),originalContent:F.original_content,editedContent:F.edited_content,sourceStart:F.source_start,sourceEnd:F.source_end,sourceStartLine:F.source_start_line,sourceEndLine:F.source_end_line,tokenCount:F.token_count,status:F.status,updatedAt:F.updated_at}}function M0(){if(g.value==="structured")return{preprocessOptions:y.value.preprocessOptions};if(g.value==="unstructured"){const{preprocessOptions:F,chunkMethod:O,chunkSize:st,chunkOverlap:Ht,minChunkSize:ke,customDelimiter:Is,preserveTables:At,preserveCodeBlocks:Ye,preserveLists:Xt}=b.value;return{preprocessOptions:F,chunkMethod:O,chunkSize:st,chunkOverlap:Ht,minChunkSize:ke,customDelimiter:O==="custom"?Is:"",preserveTables:At,preserveCodeBlocks:Ye,preserveLists:Xt}}return null}function I0(){if(g.value==="structured"){const{semanticEnrichment:F,qaPairsPerRow:O,datasetSplit:st,generationModelId:Ht,generationPrompt:ke,temperature:Is,maxTokens:At,jsonMode:Ye,qualityFilterEnabled:Xt,filterLowQuality:Ds,filterShortContent:Da,minOutputLength:La}=y.value;return{semanticEnrichment:F,qaPairsPerRow:O,datasetSplit:st,generationModelId:Ht,generationPrompt:ke,temperature:Is,maxTokens:At,jsonMode:Ye,qualityFilterEnabled:Xt,filterLowQuality:Ds,filterShortContent:Da,minOutputLength:La}}if(g.value==="unstructured"){const{semanticEnrichment:F,qaPairsPerChunk:O,datasetSplit:st,generationModelId:Ht,generationPrompt:ke,temperature:Is,maxTokens:At,jsonMode:Ye,qualityFilterEnabled:Xt,filterLowQuality:Ds,filterShortContent:Da,minOutputLength:La}=b.value;return{semanticEnrichment:F,qaPairsPerChunk:O,datasetSplit:st,generationModelId:Ht,generationPrompt:ke,temperature:Is,maxTokens:At,jsonMode:Ye,qualityFilterEnabled:Xt,filterLowQuality:Ds,filterShortContent:Da,minOutputLength:La}}return null}const D0=ut(()=>JSON.stringify(I0()));function rv(){return`${kC}:${g.value}:${JSON.stringify(M0())}`}function L0(){const F=w.value.map(O=>`${O.uid}:${O.name}:${O.size}:${O.checksumSha256||O.count}`).join("|");return`${rv()}:${F}`}xi([()=>d.name,()=>d.description,g,y,b,C],()=>{W.value=!0},{deep:!0}),xi(g,(F,O)=>{F===O||w.value.length===0||(U0(),yt.info("处理类型已变更,请重新上传或拉取匹配的源数据"))}),xi(D0,(F,O)=>{F!==O&&mt()});function F0(){var F;(F=document.querySelector(".layout-content"))==null||F.scrollTo({top:0,behavior:"smooth"})}xi(c,()=>Wf(F0));function av(F){const O=F.raw;if(!O)return;if(!f.value){yt.error("任务尚未创建,请返回模型选择步骤后重试");return}const st=lC(O,g.value,w.value);if(!st.valid){yt[st.severity](st.message);return}const Ht=`local-${F.uid}-${Date.now()}-${w.value.length}`;w.value.push({uid:Ht,rawFile:O,name:O.name,size:O.size,count:0,content:"",fileFormat:st.extension,status:"queued",uploadProgress:0,previewStatus:"waiting",previewProgress:0}),W.value=!0,ct({uid:Ht,file:O,extension:st.extension})}async function O0(){if(!f.value){yt.error("任务尚未创建,请返回模型选择步骤后重试");return}const F=new File([Wx],"finance_qa.jsonl",{type:"application/x-ndjson"});av({raw:F,uid:Date.now(),name:F.name})}function R0(F){Object.assign(C,F),k.value=!1}async function N0(){if(!f.value){yt.error("任务尚未创建,请返回模型选择步骤后重试");return}if(!C.url.trim()){yt.warning("请先填写数据源地址");return}_.value=!0;try{const F=await _w(f.value,yh());k.value=F.connected,F.connected?yt.success(F.message||"数据源连接测试成功"):yt.warning(F.message||"数据源连接失败")}catch{k.value=!1}finally{_.value=!1}}async function B0(){var F;if(!f.value){yt.error("任务尚未创建,请返回模型选择步骤后重试");return}if(!C.url.trim()){yt.warning("请先填写数据源地址");return}if(!((F=C.query)!=null&&F.trim())){yt.warning("请先填写只读 SELECT 查询语句");return}_.value=!0;try{const O=await kw(f.value,yh()),st=[];for(const Ht of O.files){const ke=await Qv(f.value,Ht.id,{start_line:1,line_count:5e3});st.push(P0(Ht,ke.content))}w.value.push(...st),k.value=!0,L.value="",mt(),W.value=!0,yt.success(`已成功登记 ${st.length} 个外部源文件`)}catch{k.value=!1}finally{_.value=!1}}async function $0(F){const O=w.value.findIndex(Ht=>Ht.uid===F);if(O<0||!f.value)return;const st=w.value[O];if(st){if(st.status==="uploading"){yt.warning("当前文件正在上传,请等待上传结束后再删除");return}if(st.sourceFileId)try{await Tw(f.value,st.sourceFileId)}catch{return}w.value.splice(O,1),L.value="",P.value=[],R.value=null,mt(),W.value=!0}}function U0(){w.value=[],L.value="",P.value=[],D.value=null,R.value=null,K.value={},k.value=!1,mt()}async function H0(){var O;await((O=r.value)==null?void 0:O.validate())&&kn("model")}async function z0(){var O;if(await((O=a.value)==null?void 0:O.validate()))try{const st=f.value?await Ew(f.value,Il()):await Cw(Il());f.value=String(st.id),W.value=!0,kn("upload")}catch{}}async function V0(){var ke,Is;if(x.value||J.value)return;if(!f.value){yt.error("任务尚未创建,请返回模型选择步骤后重试");return}if(w.value.length===0){yt.warning(g.value==="external"?"请先拉取至少一个数据源":"请上传至少一个源数据文件");return}const F=w.value.filter(At=>At.status==="failed");if(F.length){yt.warning(`${F.length} 个文件上传失败,请删除后重新选择`);return}if(ae.value){yt.warning("请等待所有文件上传完成后再开始切分");return}const O=L0(),st=rv(),Ht=()=>w.value.every(At=>At.previewStatus==="success"&&At.previewConfigSignature===st);if(O===L.value&&P.value.length&&Ht()){kn("preview");return}for(const At of w.value)At.previewConfigSignature!==st&&(At.previewStatus="waiting",At.previewProgress=0,At.previewError=void 0,At.previewCount=void 0);x.value=!0;try{const At=w.value.filter(Xt=>Xt.previewStatus!=="success"||Xt.previewConfigSignature!==st).map(Xt=>Xt.sourceFileId).filter(Xt=>!!Xt);await A(f.value,At,Xt=>{const Ds=w.value.find(Da=>String(Da.sourceFileId)===String(Xt.source_file_id));Ds&&(Ds.previewStatus=Xt.status,Ds.previewProgress=Xt.progress,Ds.previewCount=Xt.preview_count,Ds.previewError=Xt.error,Xt.status==="success"&&(Ds.previewConfigSignature=st))});const Ye=w.value.filter(Xt=>Xt.previewStatus==="failed").length;if(Ye||!Ht()){yt.warning(`${Ye||1} 个文件切分失败;修正问题后点击“继续:数据预览”即可重试`);return}try{const Xt=await dv(f.value,{page:1,page_size:500}),Ds=[...Xt.items],Da=Math.ceil(Xt.total/Xt.page_size);for(let La=2;La<=Da;La+=1){const tw=await dv(f.value,{page:La,page_size:500});Ds.push(...tw.items)}P.value=Ds.map(Ia)}catch{yt.warning("文件切分已经完成,但预览加载失败;请再次点击继续重试加载");return}if(!P.value.length){yt.warning("源文件没有生成可用的预览条目,请检查文件内容和预处理配置");return}D.value=String(((ke=w.value[0])==null?void 0:ke.uid)??"")||null,R.value=((Is=Se.value[0])==null?void 0:Is.id)??null,K.value=R.value&&D.value?{[D.value]:R.value}:{},L.value=O,mt(),kn("preview")}finally{x.value=!1}}function G0(F){var O;D.value&&R.value&&(K.value[D.value]=R.value),D.value=F,R.value=K.value[F]||((O=Se.value[0])==null?void 0:O.id)||null}function ov(F){R.value=F,D.value&&(K.value[D.value]=F)}function j0(F,O){const st=P.value.find(Ht=>Ht.id===F);st&&(st.editedContent=O,st.tokenCount=Uv(O),st.status=O===st.originalContent?"original":st.sourceStart==null?"manual":"modified",mt(),W.value=!0)}async function W0(){if(!f.value)throw new Error("任务尚未创建");const F=P.value.filter(O=>O.status==="modified"||O.status==="manual");for(const O of F){const st=await xw(f.value,O.id,{edited_content:O.editedContent,expected_updated_at:O.updatedAt}),Ht=P.value.findIndex(ke=>ke.id===O.id);Ht>=0&&(P.value[Ht]=Ia(st))}}function X0(F){const O=P.value.find(st=>st.id===F);!O||O.sourceStart==null||(O.editedContent=O.originalContent,O.tokenCount=Uv(O.originalContent),O.status="original",mt(),W.value=!0)}async function q0(){if(!(!D.value||!f.value))try{const F=await Pw(f.value,{source_file_id:D.value,edited_content:""}),O=Ia(F);P.value.push(O),ov(O.id),mt(),W.value=!0}catch{}}async function Y0(F){var Ht,ke;if(!await((Ht=o.value)==null?void 0:Ht.open({title:"删除预览内容?",message:"删除只影响本次处理,不会修改源文件。删除后可重新从源文件生成预览。",confirmText:"删除",cancelText:"取消",tone:"danger"})))return;const st=P.value.findIndex(Is=>Is.id===F);if(!(st<0)&&f.value){try{await Mw(f.value,F)}catch{return}P.value.splice(st,1),R.value=((ke=Se.value[Math.min(st,Se.value.length-1)])==null?void 0:ke.id)??null,D.value&&R.value&&(K.value[D.value]=R.value),mt(),W.value=!0}}async function K0(){if(h.value==="create"){await H0();return}if(h.value==="model"){await z0();return}if(h.value==="upload"){await V0();return}if(h.value==="preview"){if(!P.value.length){yt.warning("当前没有可生成的预览内容");return}kn("generate");return}if(h.value==="generate"){ht.status==="success"?kn("results"):ht.status!=="running"&&await re();return}await J0()}function Q0(){if(J.value){yt.warning("请等待当前文件上传完成");return}if(x.value){yt.warning("请等待当前文件切分完成");return}if(ht.status==="running"){yt.warning("请先停止当前生成任务");return}c.value>0&&(c.value-=1)}async function J0(){if(!Et()){yt.warning("请先修正校验失败的结果");return}try{await Lt()}catch{return}if(!Et()){yt.warning("仍有结果未通过后端质量校验,请继续修正");return}W.value=!1,Q=!0,yt.success("数据处理任务已保存"),await t.push("/data-process")}async function Z0(){var O;if(!W.value){Q=!0,t.back();return}await((O=o.value)==null?void 0:O.open({title:"确认离开当前页面?",message:"当前存在未保存修改,离开后这些修改将不会保留。",confirmText:"放弃修改",cancelText:"继续编辑",tone:"danger"}))&&(Q=!0,t.back())}return aw(async()=>{var O;if(J.value)return yt.warning("请等待当前文件上传完成后再离开页面"),!1;if(Q||!W.value)return!0;const F=await((O=o.value)==null?void 0:O.open({title:"确认离开当前页面?",message:"当前存在未保存修改,离开后这些修改将不会保留。",confirmText:"放弃修改",cancelText:"继续编辑",tone:"danger"}));return F&&(Q=!0),!!F}),jv(()=>{V()}),ow(()=>{localStorage.removeItem("yg-data-process-create-draft"),e.load(!0)}),(F,O)=>{var Ht,ke,Is;const st=Hu;return N(),G(ye,null,[E("div",dC,[E("main",uC,[E("div",fC,[E("div",pC,[E("div",gC,[(N(),G(ye,null,ni(l,(At,Ye)=>(N(),G(ye,{key:At.id},[Ye!==0?(N(),G("div",{key:0,class:we(["step-connector",{"is-active":c.value>=Ye}])},null,2)):vt("",!0),E("div",{class:we(["step-item",{"is-active":c.value===Ye,"is-completed":c.value>Ye}]),"aria-current":c.value===Ye?"step":void 0},[E("div",vC,[E("div",bC,[c.value>Ye?(N(),G("i",yC)):(N(),G("span",wC,j(Ye+1),1))]),E("div",AC,[E("div",SC,j(At.title),1)])])],10,mC)],64))),64))])]),E("div",xC,[h.value==="create"?(N(),Vt($A,{key:0,ref_key:"taskSetupRef",ref:r,name:d.name,"onUpdate:name":O[0]||(O[0]=At=>d.name=At),description:d.description,"onUpdate:description":O[1]||(O[1]=At=>d.description=At),"process-type":g.value,"onUpdate:processType":O[2]||(O[2]=At=>g.value=At),"structured-options":y.value,"onUpdate:structuredOptions":O[3]||(O[3]=At=>y.value=At),"unstructured-options":b.value,"onUpdate:unstructuredOptions":O[4]||(O[4]=At=>b.value=At)},null,8,["name","description","process-type","structured-options","unstructured-options"])):h.value==="model"?(N(),Vt(GA,{key:1,ref_key:"modelSelectionRef",ref:a,options:S.value,models:i.value,"onUpdate:options":Ma},null,8,["options","models"])):h.value==="upload"?(N(),Vt(wS,{key:2,"process-type":g.value,"uploaded-files":w.value,"external-source":C,"external-pulling":_.value,"external-connected":k.value,"preview-building":x.value,"source-uploading":Ls(J),"onUpdate:externalSource":R0,onFileChange:av,onRemoveFile:$0,onUseSample:O0,onTestConnection:N0,onPullData:B0},null,8,["process-type","uploaded-files","external-source","external-pulling","external-connected","preview-building","source-uploading"])):h.value==="preview"?(N(),Vt(AE,{key:3,"selected-id":R.value,"selected-file-id":D.value,"source-text":Sr.value,items:Se.value,"process-type":g.value,"file-name":((Ht=Ts.value)==null?void 0:Ht.name)??"","task-id":f.value,"source-file-id":((ke=Ts.value)==null?void 0:ke.sourceFileId)??((Is=Ts.value)==null?void 0:Is.uid)??null,files:Pa.value,"onUpdate:selectedId":ov,"onUpdate:selectedFileId":G0,"onUpdate:itemContent":j0,"onRestore:item":X0,"onAdd:item":q0,"onRemove:item":Y0},null,8,["selected-id","selected-file-id","source-text","items","process-type","file-name","task-id","source-file-id","files"])):h.value==="generate"?(N(),Vt(IE,{key:4,"task-name":d.name,"process-type":g.value,"file-name":I.value,"preview-count":P.value.length,"modified-count":Ti.value,generation:Ls(ht),onStop:Ls(Gt),onRetry:Ls(re)},null,8,["task-name","process-type","file-name","preview-count","modified-count","generation","onStop","onRetry"])):h.value==="results"?(N(),Vt(JE,{key:5,"selected-id":Ls(q),"onUpdate:selectedId":O[5]||(O[5]=At=>lw(q)?q.value=At:null),items:Ls(T),"onUpdate:field":Ls($),"onRestore:item":Ls(_e)},null,8,["selected-id","items","onUpdate:field","onRestore:item"])):vt("",!0)])])]),E("footer",EC,[E("div",CC,[c.value>0?(N(),Vt(st,{key:0,disabled:x.value||Ls(J),onClick:Q0},{default:et(()=>[O[6]||(O[6]=E("i",{class:"fa fa-arrow-left",style:{"margin-right":"6px"}},null,-1)),ft(" 返回:"+j(Ms.value),1)]),_:1},8,["disabled"])):(N(),Vt(st,{key:1,onClick:Z0},{default:et(()=>[...O[7]||(O[7]=[ft("取消",-1)])]),_:1}))]),O[8]||(O[8]=E("div",{class:"footer-center"},null,-1)),E("div",_C,[U(st,{class:"wizard-primary-action",type:"primary",loading:Ls(ht).status==="running"||h.value==="upload"&&(Ls(J)||x.value),disabled:h.value==="generate"&&Ls(ht).status==="running"||x.value||Ls(J)||h.value==="upload"&&ae.value,onClick:K0},{default:et(()=>[ft(j(Ps.value)+" ",1),E("i",{class:we(["fa",Ne.value]),style:{"margin-left":"6px"}},null,2)]),_:1},8,["loading","disabled"])])])]),U(hw,{ref_key:"confirmDialogRef",ref:o},null,512)],64)}}}),g_=ki(TC,[["__scopeId","data-v-63522af3"]]);export{g_ as default}; diff --git a/frontend/dist/assets/DataProcessDetailView-D3Stz31J.css b/frontend/dist/assets/DataProcessDetailView-D3Stz31J.css new file mode 100644 index 0000000..2afcaad --- /dev/null +++ b/frontend/dist/assets/DataProcessDetailView-D3Stz31J.css @@ -0,0 +1 @@ +.data-process-detail-page[data-v-b8903381]{width:100%;min-width:0}.detail-heading[data-v-b8903381]{width:100%}.detail-heading .heading-row[data-v-b8903381]{display:flex;align-items:center;gap:12px}.detail-heading h1[data-v-b8903381]{margin:0;color:#1f2937;font-size:20px;font-weight:600}.detail-heading>p[data-v-b8903381]{margin:8px 0 0;color:#64748b;font-size:13px}.publish-button[data-v-b8903381]{margin-left:auto}.load-state-actions[data-v-b8903381]{display:flex;gap:10px}.compact-empty[data-v-b8903381]{padding:28px 18px;color:#94a3b8;font-size:13px;text-align:center}.publish-form-grid[data-v-b8903381]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.publish-form-grid[data-v-b8903381] .el-select{width:100%}.heading-meta[data-v-b8903381]{margin:16px 0 0;display:flex;flex-wrap:wrap;gap:10px 30px}.heading-meta div[data-v-b8903381]{display:flex;gap:7px;font-size:12px}.heading-meta dt[data-v-b8903381]{color:#94a3b8}.heading-meta dd[data-v-b8903381]{margin:0;color:#475569;font-weight:500}.metric-grid[data-v-b8903381]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.metric-card[data-v-b8903381]{min-height:116px;padding:18px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;display:flex;flex-direction:column}.metric-card>span[data-v-b8903381]{color:#64748b;font-size:12px}.metric-card>strong[data-v-b8903381]{margin-top:10px;color:#1f2937;font-size:22px;font-weight:600}.metric-card>small[data-v-b8903381]{margin-top:auto;color:#94a3b8;font-size:12px}.metric-card[data-v-b8903381] .el-progress{margin-top:auto}.metric-card.is-primary[data-v-b8903381]{border-color:var(--el-color-primary-light-7);background:var(--el-color-primary-light-9)}.metric-card.is-primary>strong[data-v-b8903381]{color:var(--primary-color)}.failure-alert[data-v-b8903381]{margin-top:16px;padding:14px 16px;border:1px solid #fecaca;border-radius:8px;background:#fef2f2;color:#b91c1c;display:flex;gap:12px}.failure-alert>i[data-v-b8903381]{margin-top:2px}.failure-alert strong[data-v-b8903381]{font-size:13px}.failure-alert p[data-v-b8903381]{margin:4px 0 0;color:#7f1d1d;font-size:12px}.detail-grid[data-v-b8903381]{margin-top:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.detail-section[data-v-b8903381]{border:1px solid #e5e7eb;border-radius:8px;background:#fff;overflow:hidden}.section-heading[data-v-b8903381]{padding:16px 18px;border-bottom:1px solid #eef0f3}.section-heading h2[data-v-b8903381]{margin:0;color:#1f2937;font-size:15px;font-weight:600}.section-heading p[data-v-b8903381]{margin:4px 0 0;color:#94a3b8;font-size:12px}.info-list[data-v-b8903381]{margin:0;padding:4px 18px 12px}.info-list>div[data-v-b8903381]{min-height:44px;border-bottom:1px solid #f1f5f9;display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center}.info-list>div[data-v-b8903381]:last-child{border-bottom:0}.info-list>div dt[data-v-b8903381]{color:#64748b;font-size:12px}.info-list>div dd[data-v-b8903381]{margin:0;color:#334155;font-size:13px;text-align:right}.info-list>div[data-v-b8903381] .el-button{height:auto;padding:0}.statistics-grid[data-v-b8903381]{padding:18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.statistics-grid>div[data-v-b8903381]{min-height:78px;padding:13px;border-radius:6px;background:#f8fafc;display:flex;flex-direction:column;gap:8px}.statistics-grid>div span[data-v-b8903381]{color:#64748b;font-size:12px}.statistics-grid>div strong[data-v-b8903381]{color:#1f2937;font-size:18px;font-weight:600}.config-section[data-v-b8903381],.result-section[data-v-b8903381]{margin-top:16px}.config-grid[data-v-b8903381]{margin:0;padding:8px 18px 16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}.config-grid>div[data-v-b8903381]{min-height:48px;border-bottom:1px solid #f1f5f9;display:flex;align-items:center;justify-content:space-between;gap:20px}.config-grid dt[data-v-b8903381]{color:#64748b;font-size:12px}.config-grid dd[data-v-b8903381]{margin:0;color:#334155;font-size:13px;text-align:right}.result-toolbar[data-v-b8903381]{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #eef0f3}.result-toolbar .section-heading[data-v-b8903381]{border-bottom:0}.result-filters[data-v-b8903381]{padding-right:18px;display:flex;gap:10px}.result-filters[data-v-b8903381] .el-input{width:250px}.result-filters[data-v-b8903381] .el-select{width:120px}.result-section[data-v-b8903381] .el-table{border-radius:0}.result-empty[data-v-b8903381],.not-found-state[data-v-b8903381]{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#94a3b8}.result-empty>i[data-v-b8903381],.not-found-state>i[data-v-b8903381]{margin-bottom:12px;color:var(--el-color-primary-light-5);font-size:30px}.result-empty strong[data-v-b8903381],.result-empty h2[data-v-b8903381],.not-found-state strong[data-v-b8903381],.not-found-state h2[data-v-b8903381]{margin:0;color:#475569;font-size:14px;font-weight:500}.result-empty span[data-v-b8903381],.result-empty p[data-v-b8903381],.not-found-state span[data-v-b8903381],.not-found-state p[data-v-b8903381]{margin:6px 0 16px;font-size:12px}.result-pagination[data-v-b8903381]{min-height:56px;padding:0 18px;border-top:1px solid #eef0f3;display:flex;align-items:center;justify-content:space-between}.result-pagination>span[data-v-b8903381]{color:#94a3b8;font-size:12px}.result-pagination[data-v-b8903381] .el-pagination{margin-top:0}@media(max-width:1100px){.metric-grid[data-v-b8903381]{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid[data-v-b8903381]{grid-template-columns:1fr}}@media(max-width:720px){.metric-grid[data-v-b8903381],.config-grid[data-v-b8903381]{grid-template-columns:1fr}.detail-heading .heading-row[data-v-b8903381]{align-items:flex-start;flex-wrap:wrap}.publish-button[data-v-b8903381]{width:100%;margin-left:0}.publish-form-grid[data-v-b8903381]{grid-template-columns:1fr;gap:0}.result-toolbar[data-v-b8903381]{align-items:stretch;flex-direction:column}.result-filters[data-v-b8903381]{padding:0 16px 16px;flex-direction:column}.result-filters[data-v-b8903381] .el-input,.result-filters[data-v-b8903381] .el-select{width:100%}.heading-meta[data-v-b8903381]{flex-direction:column;gap:6px}} diff --git a/frontend/dist/assets/DataProcessDetailView-gE1enluH.js b/frontend/dist/assets/DataProcessDetailView-gE1enluH.js new file mode 100644 index 0000000..50ef471 --- /dev/null +++ b/frontend/dist/assets/DataProcessDetailView-gE1enluH.js @@ -0,0 +1 @@ +import{E as Bt}from"./el-alert-Ty1qfW58.js";import{E as Ot,a as At}from"./el-form-item-BA3ZlfqF.js";import{E as Jt}from"./el-popper-OAwpEmER.js";import{E as Gt}from"./index-zJ9bqPrh.js";import{E as Ht}from"./index-D23K2h6y.js";import{E as Kt}from"./index-BjlLyKON.js";import{a as Xt,E as Qt}from"./el-select-CeiDjMzB.js";import{E as Wt}from"./el-dialog-fpsmuz8Z.js";import{E as Yt}from"./el-pagination-ByKJEnCx.js";import{E as Zt}from"./el-progress-Br676mBH.js";import{a as te,E as ee}from"./el-table-b_qkWXYf.js";import{v as le}from"./directive-DCr8Ae3g.js";import{d as ae,D as ne,G as oe,H as se,c as v,K as dt,e as h,aX as ue,w as s,s as n,M as et,y as p,o as r,q as e,aa as i,n as pt,x as c,g as A,f as mt,ad as ie,v as re,j as _,z as vt,A as P,ac as de}from"./index-CxbBjZKo.js";import{E as pe}from"./index-CLZoQJ1o.js";import"./el-scrollbar-B0E7ZTt3.js";/* empty css */import"./el-tooltip-l0sNRNKZ.js";import"./el-checkbox-C_TzqU9u.js";import{P as me}from"./PageCard-CC9cofwx.js";import{_ as ve}from"./ModelStatusTag.vue_vue_type_script_setup_true_lang-CUZ4SBb2.js";import{u as fe}from"./usePolling-D0edaRGY.js";import{w as ce,f as _e,e as ge,u as be,r as ye,x as we}from"./dataProcess-DXC9XrKo.js";import{_ as ke}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./vnode-DIVHEdsp.js";import"./castArray-CwVgzdTt.js";import"./_baseClone-B6d4qZbo.js";import"./index-DxP0p4ch.js";import"./index-DHcidAHK.js";import"./raf-Bjl8yy5U.js";import"./index-C4wGR5UT.js";import"./index-Bzaib5AU.js";import"./scroll-Dvb2mTx8.js";import"./clamp-Ow4I6lPc.js";import"./toNumber-Yuob3eJv.js";import"./_baseIteratee-C6JbNheX.js";import"./index-36LucyXi.js";import"./use-dialog-DGVjglW6.js";import"./index-C3HZL-2Y.js";import"./debounce-BJxjS5F3.js";import"./validator-AVoXfk3G.js";import"./omit-CbHF-OEy.js";import"./el-card-BsCFVTSD.js";const Ve={class:"detail-heading"},xe={class:"heading-row"},Ee={class:"heading-meta"},Se={key:0,class:"not-found-state",role:"alert"},Ce={class:"load-state-actions"},Ne={class:"metric-grid","aria-label":"处理结果概览"},De={class:"metric-card"},Te={class:"metric-card"},$e={class:"metric-card"},Pe={class:"metric-card is-primary"},Le={key:0,class:"failure-alert",role:"alert"},Re={class:"detail-grid"},je={class:"detail-section","aria-labelledby":"runtime-title"},Ue={class:"info-list"},he={key:1},ze={class:"detail-section","aria-labelledby":"statistics-title"},Fe={class:"statistics-grid"},Ie={class:"detail-section config-section","aria-labelledby":"config-title"},Me={key:0,class:"config-grid"},qe={key:1,class:"compact-empty"},Be={class:"detail-section result-section","aria-labelledby":"result-title"},Oe={class:"result-toolbar"},Ae={class:"result-filters"},Je={key:1,class:"result-empty"},Ge={key:0},He={key:2,class:"result-pagination"},Ke={class:"publish-form-grid"},Xe=ae({__name:"DataProcessDetailView",setup(Qe){const ft=de(),z=re(),S=_(()=>String(ft.params.id||"")),a=p(null),L=p(!0),F=p(""),k=p([]),C=p(0),I=p(!1),N=p(""),J=p(""),G=p(""),D=p(1),M=p(10),q=p(null),R=p(!1),H=p(!1),K=p(null),T=p(!1),X=p(!1);let j=null;const f=vt({instruction:"",input:"",output:""}),d=vt({dataset_name:"",dataset_type:"train",storage_type:"local",split:{train:80,validation:10,test:10},format:"alpaca_jsonl"}),ct={structured:"结构化数据",unstructured:"非结构化数据",external:"外来数据源拉取"},_t={preprocess_options:"预处理规则",dataset_split:"数据集划分",generation_model_id:"数据生成模型",generation_prompt:"生成提示语",temperature:"生成温度",max_tokens:"最大输出长度",json_mode:"JSON 输出",quality_filter_enabled:"质量筛选",filter_low_quality:"过滤低质量内容",filter_short_content:"过滤过短内容",min_output_length:"最少输出字数",semantic_enrichment:"语义增强",qa_pairs_per_row:"每行生成数量",qa_pairs_per_chunk:"每切片生成数量",chunk_method:"切分方式",chunk_size:"切片长度",chunk_overlap:"重叠长度",min_chunk_size:"最小切片长度",custom_delimiter:"自定义分隔符",preserve_tables:"保留表格",preserve_code_blocks:"保留代码块",preserve_lists:"保留列表"},gt={structure:"文档结构",fixed:"固定 Token",custom:"自定义分隔符"};function g(l){return Number.isFinite(l)?Number(l):0}function B(l){if(!l)return"-";const t=new Date(l);return Number.isNaN(t.getTime())?l:t.toLocaleString("zh-CN",{hour12:!1})}const bt=_(()=>{var t,u;const l=g((t=a.value)==null?void 0:t.input_count);return l?Number((g((u=a.value)==null?void 0:u.output_count)/l*100).toFixed(1)):0}),Q=_(()=>{var l;return Math.min(100,Math.max(0,g((l=a.value)==null?void 0:l.progress)))}),lt=_(()=>{var l,t,u,b;return((l=a.value)==null?void 0:l.source_dataset_name)||((t=a.value)==null?void 0:t.source_dataset)||((b=(u=a.value)==null?void 0:u.source_files)==null?void 0:b.map(y=>y.name).join("、"))||"源文件上传"}),O=_(()=>{var l,t;return((l=a.value)==null?void 0:l.output_dataset_name)||((t=a.value)==null?void 0:t.output_dataset)||""}),w=_(()=>{var l;return((l=a.value)==null?void 0:l.output_dataset_id)||null}),yt=_(()=>{var l,t;return((l=a.value)==null?void 0:l.creator_name)||((t=a.value)==null?void 0:t.creator)||"-"}),wt=_(()=>{var l,t;return((l=a.value)==null?void 0:l.create_time)||((t=a.value)==null?void 0:t.created_at)}),kt=_(()=>{var l,t;return((l=a.value)==null?void 0:l.start_time)||((t=a.value)==null?void 0:t.started_at)}),W=_(()=>{var l,t;return((l=a.value)==null?void 0:l.complete_time)||((t=a.value)==null?void 0:t.completed_at)}),at=_(()=>{var y,m,V;if((y=a.value)!=null&&y.duration)return a.value.duration;const l=(m=a.value)==null?void 0:m.duration_seconds;if(!Number.isFinite(l))return((V=a.value)==null?void 0:V.status)==="running"?"处理中":"-";const t=Math.max(0,Math.round(Number(l))),u=Math.floor(t/60),b=t%60;return u?`${u} 分 ${b} 秒`:`${b} 秒`}),nt=_(()=>{var l;return Object.entries(((l=a.value)==null?void 0:l.config)||{}).filter(([t])=>!/(?:password|secret|token|api_key)/i.test(t)).map(([t,u])=>({label:_t[t]||t.split("_").join(" "),value:Vt(t,u)}))});function Vt(l,t){if(l==="chunk_method"&&typeof t=="string")return gt[t]||t;if(l==="dataset_split"&&t&&typeof t=="object"){const u=t;return`训练集 ${u.train??0}% / 验证集 ${u.validation??0}% / 测试集 ${u.test??0}%`}return Array.isArray(t)?t.length?t.join("、"):"-":typeof t=="boolean"?t?"是":"否":t&&typeof t=="object"?JSON.stringify(t):t==null||t===""?"-":String(t)}function xt(l){return l?ct[l]||l:"-"}function Y(l){return l==="running"}async function U(l=!1){l||(L.value=!0),F.value="";try{a.value=await ce(S.value)}catch{a.value=null,F.value="数据处理任务加载失败,任务可能已删除或当前无权访问。"}finally{l||(L.value=!1)}}async function $(){I.value=!0,N.value="";try{const l=await _e(S.value,{page:D.value,page_size:M.value,keyword:J.value.trim()||void 0,status:G.value||void 0});k.value=l.items,C.value=l.total}catch{k.value=[],C.value=0,N.value="结果明细加载失败,请稍后重试。"}finally{I.value=!1}}async function ot(){var l;L.value=!0,await U(!0),a.value?await $():(k.value=[],C.value=0,N.value=""),L.value=!1,Y((l=a.value)==null?void 0:l.status)?St():Z()}async function Et(){if(!a.value||!Y(a.value.status)){Z();return}const l=await ge(S.value);a.value={...a.value,status:l.status,progress:l.progress,input_count:l.input_count??a.value.input_count,output_count:l.output_count??a.value.output_count,filtered_count:l.filtered_count??a.value.filtered_count,duplicate_count:l.duplicate_count??a.value.duplicate_count,error_count:l.error_count??a.value.error_count,failure_reason:l.failure_reason??a.value.failure_reason},Y(l.status)||(Z(),await Promise.all([U(!0),$()]))}const{start:St,stop:Z}=fe(Et,3e3,{immediate:!1});function tt(){if(D.value!==1){D.value=1;return}j&&clearTimeout(j),j=setTimeout(()=>void $(),300)}function Ct(l){return l==="valid"?"有效":l==="modified"?"已修改":"无效"}function Nt(l){return l==="valid"?"success":l==="modified"?"warning":"danger"}function Dt(l){if(l==null)return"-";const t=l.overall;return Number.isFinite(t)?Number(t).toFixed(1):"-"}function Tt(l){var t;return(t=l==null?void 0:l.flags)!=null&&t.length?l.flags.join("、"):"未命中质量规则"}function st(l){const t=k.value.findIndex(u=>u.id===l.id);t>=0&&k.value.splice(t,1,l)}function $t(l){q.value=l,Object.assign(f,{instruction:l.instruction,input:l.input,output:l.output}),R.value=!0}async function Pt(){if(q.value){if(!f.instruction.trim()||!f.output.trim()){P.warning("Instruction 和 Output 不能为空");return}H.value=!0;try{const l=await be(S.value,q.value.id,{instruction:f.instruction,input:f.input,output:f.output,expected_updated_at:q.value.updated_at});st(l),await U(!0),R.value=!1,P.success("结果已保存")}catch{}finally{H.value=!1}}}async function Lt(l){try{await pe.confirm("确定恢复为模型最初生成的内容吗?","恢复生成结果",{type:"warning",confirmButtonText:"恢复",cancelButtonText:"取消"})}catch{return}K.value=l.id;try{const t=await ye(S.value,l.id);st(t),await U(!0),P.success("已恢复生成结果")}catch{}finally{K.value=null}}function Rt(){var u,b;const l=(b=(u=a.value)==null?void 0:u.config)==null?void 0:b.dataset_split;if(!l||typeof l!="object")return{train:80,validation:10,test:10};const t=l;return{train:Number(t.train)||0,validation:Number(t.validation)||0,test:Number(t.test)||0}}function jt(){if(a.value){if(w.value){z.push(`/dataset/${w.value}/preview`);return}d.dataset_name=`${a.value.name}-数据集`,d.split=Rt(),T.value=!0}}async function Ut(){var l;if(!d.dataset_name.trim()){P.warning("请输入数据集名称");return}X.value=!0;try{const t=await we(S.value,{...d,dataset_name:d.dataset_name.trim(),split:{...d.split}}),u=t.dataset_id||t.output_dataset_id||((l=t.dataset)==null?void 0:l.id);if(!u){P.success("数据集发布成功"),T.value=!1,await U(!0);return}P.success("数据集发布成功"),T.value=!1,await z.push(`/dataset/${u}/preview`)}catch{}finally{X.value=!1}}return ne([D,M],()=>void $()),oe(ot),se(()=>{j&&clearTimeout(j)}),(l,t)=>{const u=Ht,b=Zt,y=Gt,m=Xt,V=Qt,x=ee,ht=Jt,zt=Kt,Ft=te,It=Yt,E=At,ut=Ot,it=Wt,Mt=Bt,rt=le;return r(),v(et,null,[dt((r(),h(me,{class:"data-process-detail-page"},ue({default:s(()=>[F.value?(r(),v("div",Se,[t[22]||(t[22]=e("i",{class:"fa fa-exclamation-circle","aria-hidden":"true"},null,-1)),t[23]||(t[23]=e("h2",null,"无法加载数据处理任务",-1)),e("p",null,i(F.value),1),e("div",Ce,[n(u,{onClick:t[0]||(t[0]=o=>mt(z).push("/data-process"))},{default:s(()=>[...t[20]||(t[20]=[c("返回任务列表",-1)])]),_:1}),n(u,{type:"primary",onClick:ot},{default:s(()=>[...t[21]||(t[21]=[c("重新加载",-1)])]),_:1})])])):a.value?(r(),v(et,{key:1},[e("section",Ne,[e("div",De,[t[24]||(t[24]=e("span",null,"处理耗时",-1)),e("strong",null,i(at.value),1),e("small",null,i(W.value?`完成于 ${B(W.value)}`:`当前进度 ${Q.value}%`),1)]),e("div",Te,[t[25]||(t[25]=e("span",null,"输入数据",-1)),e("strong",null,i(g(a.value.input_count).toLocaleString()),1),e("small",null,"来源:"+i(lt.value),1)]),e("div",$e,[t[26]||(t[26]=e("span",null,"输出结果",-1)),e("strong",null,i(g(a.value.output_count).toLocaleString()),1),e("small",null,i(O.value||"尚未生成输出数据集"),1)]),e("div",Pe,[t[27]||(t[27]=e("span",null,"数据保留率",-1)),e("strong",null,i(g(a.value.input_count)?`${bt.value}%`:"-"),1),n(b,{percentage:Q.value,"show-text":!1,"stroke-width":5},null,8,["percentage"])])]),a.value.failure_reason?(r(),v("div",Le,[t[29]||(t[29]=e("i",{class:"fa fa-exclamation-triangle","aria-hidden":"true"},null,-1)),e("div",null,[t[28]||(t[28]=e("strong",null,"处理任务执行失败",-1)),e("p",null,i(a.value.failure_reason),1)])])):A("",!0),e("div",Re,[e("section",je,[t[37]||(t[37]=e("div",{class:"section-heading"},[e("div",null,[e("h2",{id:"runtime-title"},"运行信息"),e("p",null,"查看任务执行时间与数据流向")])],-1)),e("dl",Ue,[e("div",null,[t[30]||(t[30]=e("dt",null,"创建时间",-1)),e("dd",null,i(B(wt.value)),1)]),e("div",null,[t[31]||(t[31]=e("dt",null,"开始时间",-1)),e("dd",null,i(B(kt.value)),1)]),e("div",null,[t[32]||(t[32]=e("dt",null,"完成时间",-1)),e("dd",null,i(B(W.value)),1)]),e("div",null,[t[33]||(t[33]=e("dt",null,"处理耗时",-1)),e("dd",null,i(at.value),1)]),e("div",null,[t[34]||(t[34]=e("dt",null,"源数据集",-1)),e("dd",null,i(lt.value),1)]),e("div",null,[t[36]||(t[36]=e("dt",null,"输出数据集",-1)),e("dd",null,[w.value&&O.value?(r(),h(u,{key:0,type:"primary",link:"",onClick:t[1]||(t[1]=o=>mt(z).push(`/dataset/${w.value}/preview`))},{default:s(()=>[c(i(O.value)+" ",1),t[35]||(t[35]=e("i",{class:"fa fa-external-link"},null,-1))]),_:1})):(r(),v("span",he,i(O.value||"尚未生成"),1))])])])]),e("section",ze,[t[44]||(t[44]=e("div",{class:"section-heading"},[e("div",null,[e("h2",{id:"statistics-title"},"处理统计"),e("p",null,"查看数据清洗、过滤和输出情况")])],-1)),e("div",Fe,[e("div",null,[t[38]||(t[38]=e("span",null,"原始数据",-1)),e("strong",null,i(g(a.value.input_count).toLocaleString()),1)]),e("div",null,[t[39]||(t[39]=e("span",null,"成功输出",-1)),e("strong",null,i(g(a.value.output_count).toLocaleString()),1)]),e("div",null,[t[40]||(t[40]=e("span",null,"过滤数据",-1)),e("strong",null,i(g(a.value.filtered_count).toLocaleString()),1)]),e("div",null,[t[41]||(t[41]=e("span",null,"重复数据",-1)),e("strong",null,i(g(a.value.duplicate_count).toLocaleString()),1)]),e("div",null,[t[42]||(t[42]=e("span",null,"异常数据",-1)),e("strong",null,i(g(a.value.error_count).toLocaleString()),1)]),e("div",null,[t[43]||(t[43]=e("span",null,"执行进度",-1)),e("strong",null,i(Q.value)+"%",1)])])])]),e("section",Ie,[t[45]||(t[45]=e("div",{class:"section-heading"},[e("div",null,[e("h2",{id:"config-title"},"处理配置"),e("p",null,"任务执行时使用的规则与参数")])],-1)),nt.value.length?(r(),v("dl",Me,[(r(!0),v(et,null,ie(nt.value,o=>(r(),v("div",{key:o.label},[e("dt",null,i(o.label),1),e("dd",null,i(o.value),1)]))),128))])):(r(),v("div",qe,"暂无处理配置"))]),dt((r(),v("section",Be,[e("div",Oe,[t[48]||(t[48]=e("div",{class:"section-heading"},[e("div",null,[e("h2",{id:"result-title"},"结果明细"),e("p",null,"查看、编辑或恢复处理结果")])],-1)),e("div",Ae,[n(y,{modelValue:J.value,"onUpdate:modelValue":t[2]||(t[2]=o=>J.value=o),clearable:"",placeholder:"搜索指令、输入或输出",onInput:tt,onClear:tt},{prefix:s(()=>[...t[46]||(t[46]=[e("i",{class:"fa fa-search","aria-hidden":"true"},null,-1)])]),_:1},8,["modelValue"]),n(V,{modelValue:G.value,"onUpdate:modelValue":t[3]||(t[3]=o=>G.value=o),clearable:"",placeholder:"全部状态",onChange:tt},{default:s(()=>[n(m,{label:"有效",value:"valid"}),n(m,{label:"已修改",value:"modified"}),n(m,{label:"无效",value:"invalid"})]),_:1},8,["modelValue"]),n(u,{loading:I.value,onClick:$},{default:s(()=>[...t[47]||(t[47]=[e("i",{class:"fa fa-refresh"},null,-1)])]),_:1},8,["loading"])])]),k.value.length?(r(),h(Ft,{key:0,data:k.value,"row-key":"id","table-layout":"fixed"},{default:s(()=>[n(x,{type:"index",label:"#",width:"56",align:"center"}),n(x,{label:"指令","min-width":"190","show-overflow-tooltip":"",prop:"instruction"}),n(x,{label:"输入","min-width":"160","show-overflow-tooltip":"",prop:"input"}),n(x,{label:"输出","min-width":"230","show-overflow-tooltip":"",prop:"output"}),n(x,{label:"质量分",width:"88",align:"center"},{default:s(({row:o})=>[n(ht,{content:Tt(o.quality_score)},{default:s(()=>[e("span",null,i(Dt(o.quality_score)),1)]),_:2},1032,["content"])]),_:1}),n(x,{label:"状态",width:"90",align:"center"},{default:s(({row:o})=>[n(zt,{type:Nt(o.status),size:"small"},{default:s(()=>[c(i(Ct(o.status)),1)]),_:2},1032,["type"])]),_:1}),n(x,{label:"操作",width:"130",align:"center",fixed:"right"},{default:s(({row:o})=>[n(u,{link:"",type:"primary",disabled:!!w.value,onClick:qt=>$t(o)},{default:s(()=>[...t[49]||(t[49]=[c("编辑",-1)])]),_:1},8,["disabled","onClick"]),n(u,{link:"",disabled:!!w.value,loading:K.value===o.id,onClick:qt=>Lt(o)},{default:s(()=>[...t[50]||(t[50]=[c("恢复",-1)])]),_:1},8,["disabled","loading","onClick"])]),_:1})]),_:1},8,["data"])):(r(),v("div",Je,[e("i",{class:pt(["fa",N.value||a.value.status==="failed"?"fa-exclamation-circle":"fa-hourglass-half"]),"aria-hidden":"true"},null,2),e("strong",null,i(N.value||(a.value.status==="completed"?"没有符合条件的结果":a.value.status==="failed"?"任务失败,未生成结果明细":"处理完成后将在这里展示结果明细")),1),N.value?(r(),h(u,{key:1,type:"primary",link:"",onClick:$},{default:s(()=>[...t[51]||(t[51]=[c("重新加载",-1)])]),_:1})):(r(),v("span",Ge,i(a.value.status==="completed"?"请调整搜索或筛选条件":`当前任务状态:${a.value.status==="running"?"运行中":"等待中"}`),1))])),C.value?(r(),v("div",He,[e("span",null,"共 "+i(C.value)+" 条结果",1),n(It,{"current-page":D.value,"onUpdate:currentPage":t[4]||(t[4]=o=>D.value=o),"page-size":M.value,"onUpdate:pageSize":t[5]||(t[5]=o=>M.value=o),layout:"sizes, prev, pager, next","page-sizes":[10,20,50],total:C.value},null,8,["current-page","page-size","total"])])):A("",!0)])),[[rt,I.value]])],64)):A("",!0)]),_:2},[a.value?{name:"header",fn:s(()=>[e("div",Ve,[e("div",xe,[e("h1",null,i(a.value.name),1),n(ve,{status:a.value.status},null,8,["status"]),a.value.status==="completed"?(r(),h(u,{key:0,class:"publish-button",type:"primary",onClick:jt},{default:s(()=>[e("i",{class:pt(["fa",w.value?"fa-external-link":"fa-database"])},null,2),c(" "+i(w.value?"查看输出数据集":"发布为数据集"),1)]),_:1})):A("",!0)]),e("p",null,i(a.value.description||"暂无任务描述"),1),e("dl",Ee,[e("div",null,[t[17]||(t[17]=e("dt",null,"任务 ID",-1)),e("dd",null,i(a.value.id),1)]),e("div",null,[t[18]||(t[18]=e("dt",null,"处理类型",-1)),e("dd",null,i(xt(a.value.process_type)),1)]),e("div",null,[t[19]||(t[19]=e("dt",null,"创建人",-1)),e("dd",null,i(yt.value),1)])])])]),key:"0"}:void 0]),1024)),[[rt,L.value]]),n(it,{modelValue:R.value,"onUpdate:modelValue":t[10]||(t[10]=o=>R.value=o),title:"编辑处理结果",width:"680px","destroy-on-close":""},{footer:s(()=>[n(u,{onClick:t[9]||(t[9]=o=>R.value=!1)},{default:s(()=>[...t[52]||(t[52]=[c("取消",-1)])]),_:1}),n(u,{type:"primary",loading:H.value,onClick:Pt},{default:s(()=>[...t[53]||(t[53]=[c("保存",-1)])]),_:1},8,["loading"])]),default:s(()=>[n(ut,{"label-position":"top"},{default:s(()=>[n(E,{label:"Instruction",required:""},{default:s(()=>[n(y,{modelValue:f.instruction,"onUpdate:modelValue":t[6]||(t[6]=o=>f.instruction=o),type:"textarea",rows:3,maxlength:"4000","show-word-limit":""},null,8,["modelValue"])]),_:1}),n(E,{label:"Input"},{default:s(()=>[n(y,{modelValue:f.input,"onUpdate:modelValue":t[7]||(t[7]=o=>f.input=o),type:"textarea",rows:3,maxlength:"10000","show-word-limit":""},null,8,["modelValue"])]),_:1}),n(E,{label:"Output",required:""},{default:s(()=>[n(y,{modelValue:f.output,"onUpdate:modelValue":t[8]||(t[8]=o=>f.output=o),type:"textarea",rows:6,maxlength:"20000","show-word-limit":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),n(it,{modelValue:T.value,"onUpdate:modelValue":t[16]||(t[16]=o=>T.value=o),title:"发布为数据集",width:"560px","destroy-on-close":""},{footer:s(()=>[n(u,{onClick:t[15]||(t[15]=o=>T.value=!1)},{default:s(()=>[...t[54]||(t[54]=[c("取消",-1)])]),_:1}),n(u,{type:"primary",loading:X.value,onClick:Ut},{default:s(()=>[...t[55]||(t[55]=[c("发布并查看",-1)])]),_:1},8,["loading"])]),default:s(()=>[n(ut,{"label-position":"top"},{default:s(()=>[n(E,{label:"数据集名称",required:""},{default:s(()=>[n(y,{modelValue:d.dataset_name,"onUpdate:modelValue":t[11]||(t[11]=o=>d.dataset_name=o),maxlength:"150","show-word-limit":""},null,8,["modelValue"])]),_:1}),e("div",Ke,[n(E,{label:"数据集类型"},{default:s(()=>[n(V,{modelValue:d.dataset_type,"onUpdate:modelValue":t[12]||(t[12]=o=>d.dataset_type=o)},{default:s(()=>[n(m,{label:"训练数据",value:"train"}),n(m,{label:"测试数据",value:"test"}),n(m,{label:"评测数据",value:"eval"}),n(m,{label:"验证数据",value:"val"}),n(m,{label:"其他",value:"other"})]),_:1},8,["modelValue"])]),_:1}),n(E,{label:"存储位置"},{default:s(()=>[n(V,{modelValue:d.storage_type,"onUpdate:modelValue":t[13]||(t[13]=o=>d.storage_type=o)},{default:s(()=>[n(m,{label:"平台本地存储",value:"local"})]),_:1},8,["modelValue"])]),_:1}),n(E,{label:"输出格式"},{default:s(()=>[n(V,{modelValue:d.format,"onUpdate:modelValue":t[14]||(t[14]=o=>d.format=o)},{default:s(()=>[n(m,{label:"Alpaca JSONL",value:"alpaca_jsonl"}),n(m,{label:"JSONL",value:"jsonl"})]),_:1},8,["modelValue"])]),_:1})]),n(Mt,{type:"info",closable:!1,title:`数据集划分:训练集 ${d.split.train}% / 验证集 ${d.split.validation}% / 测试集 ${d.split.test}%`},null,8,["title"])]),_:1})]),_:1},8,["modelValue"])],64)}}}),Il=ke(Xe,[["__scopeId","data-v-b8903381"]]);export{Il as default}; diff --git a/frontend/dist/assets/DataProcessListView-B4pOm5Q_.js b/frontend/dist/assets/DataProcessListView-B4pOm5Q_.js new file mode 100644 index 0000000..48002e9 --- /dev/null +++ b/frontend/dist/assets/DataProcessListView-B4pOm5Q_.js @@ -0,0 +1 @@ +import{E as B}from"./index-D23K2h6y.js";import{E as C}from"./index-BjlLyKON.js";import{E as N}from"./el-table-b_qkWXYf.js";import{d as z,G as P,c as g,s as o,w as s,y as n,o as d,q as f,x as r,e as V,aa as c,A as I,v as L}from"./index-CxbBjZKo.js";import{E as M}from"./index-CLZoQJ1o.js";/* empty css */import"./el-checkbox-C_TzqU9u.js";import{D as $}from"./DataTablePage-C1WQGBXF.js";import{_ as S}from"./ModelStatusTag.vue_vue_type_script_setup_true_lang-CUZ4SBb2.js";import{g as q,d as A}from"./dataProcess-DXC9XrKo.js";import{_ as G}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./el-scrollbar-B0E7ZTt3.js";import"./index-DxP0p4ch.js";import"./el-popper-OAwpEmER.js";import"./index-DHcidAHK.js";import"./_baseClone-B6d4qZbo.js";import"./_baseIteratee-C6JbNheX.js";import"./castArray-CwVgzdTt.js";import"./debounce-BJxjS5F3.js";import"./toNumber-Yuob3eJv.js";import"./raf-Bjl8yy5U.js";import"./validator-AVoXfk3G.js";import"./index-C3HZL-2Y.js";import"./clamp-Ow4I6lPc.js";import"./index-36LucyXi.js";import"./scroll-Dvb2mTx8.js";import"./index-zJ9bqPrh.js";import"./index-C4wGR5UT.js";import"./omit-CbHF-OEy.js";import"./el-card-BsCFVTSD.js";import"./el-pagination-ByKJEnCx.js";import"./el-select-CeiDjMzB.js";import"./vnode-DIVHEdsp.js";import"./index-Bzaib5AU.js";import"./directive-DCr8Ae3g.js";import"./el-tooltip-l0sNRNKZ.js";const R={class:"data-process-page",style:{height:"100%"}},j={key:1},F={class:"action-buttons"},H=z({__name:"DataProcessListView",setup(J){const y={structured:"结构化数据",unstructured:"非结构化数据",external:"外来数据源拉取"},h=L(),l=n([]),p=n(!1),m=n(null),u=n("");async function v(t=!1){t||(p.value=!0),u.value="";try{const a=await q({page:1,page_size:200});l.value=a.items}catch{u.value="数据处理任务加载失败,请稍后重试。"}finally{t||(p.value=!1)}}function x(t){const a=t.id;h.push({name:"data-process-detail",params:{id:a}})}async function b(t){try{await M.confirm(`确定删除数据处理任务“${t.name}”吗?删除后无法恢复。`,"确认删除",{type:"warning",confirmButtonText:"删除",cancelButtonText:"取消",confirmButtonClass:"el-button--danger"})}catch{return}m.value=t.id;try{await A(t.id),l.value=l.value.filter(a=>a.id!==t.id),I.success("数据处理任务已删除")}catch{}finally{m.value=null}}function D(t){if(!t)return"-";const a=new Date(t);return Number.isNaN(a.getTime())?t:a.toLocaleString("zh-CN",{hour12:!1})}function k(t){return t.source_dataset_name||t.source_dataset||"-"}function w(t){return t.output_dataset_name||t.output_dataset||"-"}return P(v),(t,a)=>{const i=N,E=C,_=B;return d(),g("div",R,[o($,{title:"",data:l.value,loading:p.value,searchable:"","search-fields":["name"],"create-text":"新建数据处理","create-to":"/data-process/create","row-key":"id","page-size":10,"empty-text":u.value||"暂无数据处理任务"},{columns:s(()=>[o(i,{label:"任务ID",prop:"id",align:"center",width:"100"}),o(i,{label:"任务名称",prop:"name",align:"center","show-overflow-tooltip":""}),o(i,{label:"任务状态",align:"center",width:"110"},{default:s(({row:e})=>[o(S,{status:e.status},null,8,["status"])]),_:1}),o(i,{label:"处理类型",align:"center",width:"140"},{default:s(({row:e})=>[e.process_type?(d(),V(E,{key:0,size:"small",type:"info",effect:"plain"},{default:s(()=>[r(c(y[e.process_type]||e.process_type),1)]),_:2},1024)):(d(),g("span",j,"-"))]),_:1}),o(i,{label:"源数据集",align:"center","show-overflow-tooltip":""},{default:s(({row:e})=>[r(c(k(e)),1)]),_:1}),o(i,{label:"输出数据集",align:"center","show-overflow-tooltip":""},{default:s(({row:e})=>[r(c(w(e)),1)]),_:1}),o(i,{label:"创建时间",align:"center",width:"190"},{default:s(({row:e})=>[r(c(D(e.create_time||e.created_at)),1)]),_:1})]),actions:s(({row:e})=>[f("div",F,[o(_,{type:"primary",link:"",size:"small",onClick:T=>x(e)},{default:s(()=>[...a[0]||(a[0]=[f("i",{class:"fa fa-file-text-o",style:{"margin-right":"4px"}},null,-1),r("详情 ",-1)])]),_:1},8,["onClick"]),o(_,{type:"danger",link:"",size:"small",loading:m.value===e.id,onClick:T=>b(e)},{default:s(()=>[...a[1]||(a[1]=[f("i",{class:"fa fa-trash-o",style:{"margin-right":"4px"}},null,-1),r("删除 ",-1)])]),_:1},8,["loading","onClick"])])]),_:1},8,["data","loading","empty-text"])])}}}),Ct=G(H,[["__scopeId","data-v-71f2711e"]]);export{Ct as default}; diff --git a/frontend/dist/assets/DataProcessListView-D--2V8HO.css b/frontend/dist/assets/DataProcessListView-D--2V8HO.css new file mode 100644 index 0000000..dc4f720 --- /dev/null +++ b/frontend/dist/assets/DataProcessListView-D--2V8HO.css @@ -0,0 +1 @@ +.action-buttons[data-v-71f2711e]{display:flex;justify-content:center;gap:8px} diff --git a/frontend/dist/assets/DataTablePage-C1WQGBXF.js b/frontend/dist/assets/DataTablePage-C1WQGBXF.js new file mode 100644 index 0000000..7e3b825 --- /dev/null +++ b/frontend/dist/assets/DataTablePage-C1WQGBXF.js @@ -0,0 +1 @@ +import{E as M}from"./index-zJ9bqPrh.js";import{E as Z}from"./index-D23K2h6y.js";import{E as A}from"./el-card-BsCFVTSD.js";import{E as G}from"./el-pagination-ByKJEnCx.js";import{E as H,a as J}from"./el-table-b_qkWXYf.js";import{v as O}from"./directive-DCr8Ae3g.js";import{E as b}from"./index-CLZoQJ1o.js";import{d as Q,y as f,D as _,c as D,s as p,w as r,o as u,q as s,h as w,e as g,g as v,x as y,aa as k,Z as W,K as X,j as $,v as Y}from"./index-CxbBjZKo.js";import"./el-scrollbar-B0E7ZTt3.js";import"./el-popper-OAwpEmER.js";/* empty css */import"./el-select-CeiDjMzB.js";import"./el-tooltip-l0sNRNKZ.js";import"./el-checkbox-C_TzqU9u.js";import{_ as ee}from"./_plugin-vue_export-helper-DlAUqK2U.js";const te={class:"data-table-page"},ae={class:"table-toolbar"},le={class:"table-title"},oe={class:"toolbar-actions"},se={key:0,class:"batch-bar"},ne={class:"batch-info"},re={class:"table-body"},ie={class:"table-pagination"},ce=Q({__name:"DataTablePage",props:{title:{},data:{},loading:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},searchFields:{},multiSelect:{type:Boolean,default:!1},createText:{},createTo:{},deleteFn:{},rowKey:{default:"id"},emptyText:{default:"暂无数据"},pageSize:{default:10},pageSizes:{default:()=>[10,20,50,100]}},emits:["create","refresh"],setup(l,{expose:F,emit:V}){const a=l,x=V,P=Y(),S=f(),o=f(new Set),d=f(""),m=f(1),h=f(a.pageSize);function z(t){return t[a.rowKey]??t.name??t.id}const T=$(()=>{var e;if(!d.value.trim()||!((e=a.searchFields)!=null&&e.length))return a.data;const t=d.value.toLowerCase().trim();return a.data.filter(i=>a.searchFields.some(n=>String(i[n]??"").toLowerCase().includes(t)))}),I=$(()=>{const t=(m.value-1)*h.value;return T.value.slice(t,t+h.value)});function K(t){o.value=new Set(t.map(z))}async function E(t,e="确定要删除这条记录吗?"){if(a.deleteFn)try{await b.confirm(e,"确认删除",{type:"warning",confirmButtonText:"确定",cancelButtonText:"取消"}),await a.deleteFn(t),x("refresh")}catch{}}async function N(){if(!(o.value.size===0||!a.deleteFn))try{await b.confirm(`确定要删除选中的 ${o.value.size} 条记录吗?`,"批量删除",{type:"warning"});const t=a.data.filter(n=>o.value.has(z(n)));let e=0,i=0;for(const n of t)try{await a.deleteFn(n),e++}catch{i++}o.value.clear(),x("refresh"),i===0?b.alert(`成功删除 ${e} 条记录`,"成功",{type:"success"}):b.alert(`成功 ${e} 条,失败 ${i} 条`,"部分失败",{type:"warning"})}catch{}}function C(){var t;o.value.clear(),(t=S.value)==null||t.clearSelection()}function L(){a.createTo?P.push(a.createTo):x("create")}return _(()=>a.data,()=>{var t;o.value.clear(),m.value=1,(t=S.value)==null||t.clearSelection()}),_(()=>d.value,()=>{m.value=1}),F({handleDelete:E,clearSelection:C}),(t,e)=>{const i=M,n=Z,B=H,R=J,U=G,j=A,q=O;return u(),D("div",te,[p(j,{shadow:"never",class:"table-card"},{default:r(()=>[s("div",ae,[w(t.$slots,"title",{},()=>[s("h2",le,k(l.title),1)],!0),s("div",oe,[l.searchable?(u(),g(i,{key:0,modelValue:d.value,"onUpdate:modelValue":e[0]||(e[0]=c=>d.value=c),placeholder:`搜索${l.title}...`,clearable:"",class:"search-input"},{prefix:r(()=>[...e[3]||(e[3]=[s("i",{class:"fa fa-search"},null,-1)])]),_:1},8,["modelValue","placeholder"])):v("",!0),l.createText?(u(),g(n,{key:1,type:"primary",onClick:L},{default:r(()=>[e[4]||(e[4]=s("i",{class:"fa fa-plus",style:{"margin-right":"4px"}},null,-1)),y(" "+k(l.createText),1)]),_:1})):v("",!0),w(t.$slots,"toolbar-extra",{},void 0,!0)])]),p(W,{name:"el-zoom-in-top"},{default:r(()=>[l.multiSelect&&o.value.size>0?(u(),D("div",se,[s("span",ne,[e[6]||(e[6]=y(" 已选择 ",-1)),s("strong",null,k(o.value.size),1),e[7]||(e[7]=y(" 项 ",-1)),p(n,{link:"",type:"primary",onClick:C},{default:r(()=>[...e[5]||(e[5]=[y("取消选择",-1)])]),_:1})]),p(n,{type:"danger",size:"small",onClick:N},{default:r(()=>[e[8]||(e[8]=s("i",{class:"fa fa-trash",style:{"margin-right":"4px"}},null,-1)),y(" 批量删除 ("+k(o.value.size)+") ",1)]),_:1})])):v("",!0)]),_:1}),s("div",re,[X((u(),g(R,{ref_key:"tableRef",ref:S,data:I.value,"row-key":l.rowKey,height:"100%",style:{width:"100%"},"empty-text":l.emptyText,onSelectionChange:K},{default:r(()=>[l.multiSelect?(u(),g(B,{key:0,type:"selection",width:"50",align:"center","reserve-selection":"",fixed:"left"})):v("",!0),w(t.$slots,"columns",{},void 0,!0),t.$slots.actions?(u(),g(B,{key:1,label:"操作",align:"center",width:"220",fixed:"right"},{default:r(({row:c})=>[w(t.$slots,"actions",{row:c,handleDelete:E},void 0,!0)]),_:3})):v("",!0)]),_:3},8,["data","row-key","empty-text"])),[[q,l.loading]])]),s("div",ie,[p(U,{"current-page":m.value,"onUpdate:currentPage":e[1]||(e[1]=c=>m.value=c),"page-size":h.value,"onUpdate:pageSize":e[2]||(e[2]=c=>h.value=c),background:"",layout:"total, sizes, prev, pager, next, jumper","page-sizes":l.pageSizes,total:T.value.length},null,8,["current-page","page-size","page-sizes","total"])])]),_:3})])}}}),Te=ee(ce,[["__scopeId","data-v-0986ab61"]]);export{Te as D}; diff --git a/frontend/dist/assets/DataTablePage-C4LN7Pt2.css b/frontend/dist/assets/DataTablePage-C4LN7Pt2.css new file mode 100644 index 0000000..2501acd --- /dev/null +++ b/frontend/dist/assets/DataTablePage-C4LN7Pt2.css @@ -0,0 +1 @@ +@charset "UTF-8";.data-table-page[data-v-0986ab61]{width:100%;height:100%;box-sizing:border-box;display:flex;flex-direction:column;min-height:0}.data-table-page .table-card[data-v-0986ab61]{margin-bottom:0;width:100%;flex:1;display:flex;flex-direction:column;min-height:0;overflow:hidden}.data-table-page .table-toolbar[data-v-0986ab61]{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;padding:0 12px;flex-wrap:wrap;gap:12px}.data-table-page .table-title[data-v-0986ab61]{font-size:18px;font-weight:600;color:#1e293b;margin:0;letter-spacing:-.3px}.data-table-page .toolbar-actions[data-v-0986ab61]{display:flex;align-items:center;gap:12px}.data-table-page .search-input[data-v-0986ab61]{width:280px}.data-table-page .search-input[data-v-0986ab61] .el-input__wrapper{border-radius:8px;box-shadow:0 0 0 1px #e2e8f0 inset;transition:all .2s}.data-table-page .search-input[data-v-0986ab61] .el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--primary-color) inset}.data-table-page .batch-bar[data-v-0986ab61]{display:flex;align-items:center;justify-content:space-between;background:#4f46e50d;border:1px solid rgba(79,70,229,.1);border-radius:8px;padding:10px 16px;margin:0 24px 16px}.data-table-page .batch-bar .batch-info[data-v-0986ab61]{font-size:13px;color:var(--primary-color)}.data-table-page .batch-bar .batch-info strong[data-v-0986ab61]{font-weight:600;margin:0 4px}.data-table-page .table-body[data-v-0986ab61]{flex:1;min-height:0}.data-table-page .table-pagination[data-v-0986ab61]{display:flex;justify-content:flex-end;align-items:center;padding:16px 24px;border-top:1px solid #f1f5f9}.data-table-page .table-pagination[data-v-0986ab61] .el-pagination{margin-top:0}.data-table-page[data-v-0986ab61] .el-card__body{display:flex;flex-direction:column;padding:12px 0 0;flex:1;min-height:0}.data-table-page[data-v-0986ab61] .el-table__inner-wrapper:before{display:none}.data-table-page[data-v-0986ab61] .el-table td.el-table__cell{padding:18px 0!important}.data-table-page[data-v-0986ab61] .el-table__cell .cell{line-height:22px;white-space:nowrap}.data-table-page[data-v-0986ab61] .el-table .action-buttons{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:8px} diff --git a/frontend/dist/assets/DatasetCreateView-COHS3nji.js b/frontend/dist/assets/DatasetCreateView-COHS3nji.js index 9f88dac..5d7f938 100644 --- a/frontend/dist/assets/DatasetCreateView-COHS3nji.js +++ b/frontend/dist/assets/DatasetCreateView-COHS3nji.js @@ -1,2 +1,10 @@ +<<<<<<<< HEAD:frontend/dist/assets/DatasetCreateView-COHS3nji.js import{E as H}from"./el-alert-DiB50G4H.js";import{a as Q,E as W}from"./el-form-item--AdlsBF7.js";import{E as X}from"./index-D0wqu88j.js";import{E as Y}from"./index-6OTFNiIi.js";import{E as Z,b as ee}from"./el-radio-group-11DJtD5j.js";import{E as te}from"./el-switch-4ONH-tca.js";import{E as ae}from"./el-upload-swsSyuSG.js";import{v as le}from"./directive-DsbMrhCX.js";import{d as oe,G as se,K as ne,e as U,w as l,y as f,j,z as ie,o as _,s as a,x as m,c as V,M as z,g as k,q as u,ad as ue,aa as b,A as g,v as re,ac as de}from"./index-CD29OCdJ.js";import"./el-progress-B102G_mC.js";import{P as me}from"./PageCard-Byh3epid.js";import{b as pe,u as A,c as F,e as ce}from"./dataset-C17jngxQ.js";import{_ as fe}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./vnode-_QM9LlTR.js";import"./castArray-BEiueV6y.js";import"./_baseClone-Blem5BWg.js";import"./raf-DGtHIxe2.js";import"./index-C8FAS7l2.js";import"./index-DpY84JwG.js";import"./omit-9H73Nvwk.js";import"./validator-BQ0LVwAS.js";import"./el-card-BvbOkvag.js";const _e={style:{width:"100%"}},ve={class:"file-info"},ye={class:"file-name"},ge={class:"file-size"},we={key:1,class:"record-count"},Ve=".json,.jsonl",ke=oe({__name:"DatasetCreateView",setup(be){const D=de(),N=re(),x=f(),E=f(!1),C=f(!1),w=j(()=>!!D.params.id),y=j(()=>D.params.id),t=ie({name:"",description:"",dataset_type:"train",storage:"local",minio_endpoint:"",minio_bucket:"",minio_access_key:"",minio_secret_key:"",minio_ssl:!1}),r=f([]),d=f(0),v=f(null),p=f(""),M={name:[{required:!0,message:"请输入数据集名称",trigger:"blur"},{max:20,message:"不超过 20 字符",trigger:"blur"}],description:[{max:50,message:"不超过 50 字符",trigger:"blur"}]};async function O(i){var o;const e=i.raw;if(!e)return;const n=(o=e.name.split(".").pop())==null?void 0:o.toLowerCase();if(n!=="json"&&n!=="jsonl"){g.warning("仅支持 JSON/JSONL 格式");return}if(e.size>200*1024*1024){g.warning("单文件不能超过 200MB");return}r.value=[e],await R(e)}async function R(i){try{const n=(await i.text()).trim().split(` `).filter(Boolean);d.value=n.length;let o=0;for(const c of n)try{JSON.parse(c).instruction!==void 0&&o++}catch{}o>0&&o===n.length?(v.value=!0,p.value="符合 Alpaca 格式(含 instruction 字段)"):o>0?(v.value=!0,p.value=`部分符合 Alpaca 格式(${o}/${n.length})`):(v.value=!1,p.value="未检测到标准 Alpaca 格式(缺少 instruction 字段),仍可上传")}catch{d.value=0,v.value=null,p.value="文件解析失败"}}function I(){return Promise.resolve()}function K(){r.value=[],d.value=0,v.value=null,p.value=""}async function L(){if(y.value){E.value=!0;try{const i=await pe(y.value);Object.assign(t,{name:i.name||"",description:i.description||"",dataset_type:i.type==="eval"?"eval":"train",storage:i.storage_type||"local"}),d.value=i.count||0}catch{}finally{E.value=!1}}}async function h(){x.value&&await x.value.validate(async i=>{if(i){if(!w.value&&r.value.length===0){g.warning("请至少上传一个数据集文件");return}C.value=!0;try{const e={name:t.name,type:t.dataset_type,storage_type:t.storage,description:t.description,count:d.value};if(t.storage==="minio"&&(e.minio_config={endpoint:t.minio_endpoint,bucket:t.minio_bucket,access_key:t.minio_access_key,secret_key:t.minio_secret_key,ssl:t.minio_ssl}),w.value&&y.value)await A(y.value,e),r.value.length>0&&await F(y.value,r.value),g.success("更新成功");else{const n=await ce(e),o=(n==null?void 0:n.id)||n;r.value.length>0&&(await F(o,r.value),await A(o,{count:d.value})),g.success("上传成功")}N.push("/dataset")}catch{}finally{C.value=!1}}})}function J(){N.back()}return se(L),(i,e)=>{const n=X,o=Q,c=ee,S=Z,q=te,P=ae,B=Y,G=H,T=W,$=le;return ne((_(),U(me,{title:w.value?"编辑数据集":"上传数据集"},{default:l(()=>[a(T,{ref_key:"formRef",ref:x,model:t,rules:M,"label-width":"120px",style:{"max-width":"640px"}},{default:l(()=>[a(o,{label:"数据集名称",prop:"name"},{default:l(()=>[a(n,{modelValue:t.name,"onUpdate:modelValue":e[0]||(e[0]=s=>t.name=s),placeholder:"请输入数据集名称",maxlength:"20","show-word-limit":""},null,8,["modelValue"])]),_:1}),a(o,{label:"数据集描述"},{default:l(()=>[a(n,{modelValue:t.description,"onUpdate:modelValue":e[1]||(e[1]=s=>t.description=s),type:"textarea",rows:2,maxlength:"50","show-word-limit":"",placeholder:"选填"},null,8,["modelValue"])]),_:1}),a(o,{label:"数据集类型"},{default:l(()=>[a(S,{modelValue:t.dataset_type,"onUpdate:modelValue":e[2]||(e[2]=s=>t.dataset_type=s)},{default:l(()=>[a(c,{value:"train"},{default:l(()=>[...e[9]||(e[9]=[m("训练集",-1)])]),_:1}),a(c,{value:"eval"},{default:l(()=>[...e[10]||(e[10]=[m("评测集",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(o,{label:"上传方式"},{default:l(()=>[a(S,{modelValue:t.storage,"onUpdate:modelValue":e[3]||(e[3]=s=>t.storage=s)},{default:l(()=>[a(c,{value:"local"},{default:l(()=>[...e[11]||(e[11]=[m("本地",-1)])]),_:1}),a(c,{value:"cloud"},{default:l(()=>[...e[12]||(e[12]=[m("云平台",-1)])]),_:1}),a(c,{value:"minio"},{default:l(()=>[...e[13]||(e[13]=[m("MinIO",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),t.storage==="minio"?(_(),V(z,{key:0},[a(o,{label:"Endpoint"},{default:l(()=>[a(n,{modelValue:t.minio_endpoint,"onUpdate:modelValue":e[4]||(e[4]=s=>t.minio_endpoint=s),placeholder:"如:http://minio:9000"},null,8,["modelValue"])]),_:1}),a(o,{label:"Bucket"},{default:l(()=>[a(n,{modelValue:t.minio_bucket,"onUpdate:modelValue":e[5]||(e[5]=s=>t.minio_bucket=s),placeholder:"请输入 Bucket 名称"},null,8,["modelValue"])]),_:1}),a(o,{label:"Access Key"},{default:l(()=>[a(n,{modelValue:t.minio_access_key,"onUpdate:modelValue":e[6]||(e[6]=s=>t.minio_access_key=s),placeholder:"请输入 Access Key"},null,8,["modelValue"])]),_:1}),a(o,{label:"Secret Key"},{default:l(()=>[a(n,{modelValue:t.minio_secret_key,"onUpdate:modelValue":e[7]||(e[7]=s=>t.minio_secret_key=s),type:"password","show-password":"",placeholder:"请输入 Secret Key"},null,8,["modelValue"])]),_:1}),a(o,{label:"启用 SSL"},{default:l(()=>[a(q,{modelValue:t.minio_ssl,"onUpdate:modelValue":e[8]||(e[8]=s=>t.minio_ssl=s)},null,8,["modelValue"])]),_:1})],64)):k("",!0),t.storage==="local"?(_(),U(o,{key:1,label:"上传文件"},{default:l(()=>[u("div",_e,[a(P,{drag:"",accept:Ve,"auto-upload":!1,"show-file-list":!1,"http-request":I,"on-change":O},{tip:l(()=>[...e[14]||(e[14]=[u("div",{class:"el-upload__tip"},"仅支持 JSON/JSONL 格式,单文件不超过 200MB",-1)])]),default:l(()=>[e[15]||(e[15]=u("i",{class:"fa fa-cloud-upload",style:{"font-size":"32px",color:"#1890ff"}},null,-1)),e[16]||(e[16]=u("div",{class:"el-upload__text"},[m(" 将文件拖到此处,或"),u("em",null,"点击上传")],-1))]),_:1}),(_(!0),V(z,null,ue(r.value,s=>(_(),V("div",{key:s.name,class:"file-item"},[u("div",ve,[e[17]||(e[17]=u("i",{class:"fa fa-file-code-o"},null,-1)),u("span",ye,b(s.name),1),u("span",ge,b((s.size/1024).toFixed(1))+" KB",1)]),a(B,{link:"",type:"danger",size:"small",onClick:K},{default:l(()=>[...e[18]||(e[18]=[u("i",{class:"fa fa-times"},null,-1)])]),_:1})]))),128)),p.value?(_(),U(G,{key:0,title:p.value,type:v.value?"success":"warning",closable:!1,"show-icon":"",style:{"margin-top":"8px"}},null,8,["title","type"])):k("",!0),d.value?(_(),V("div",we,"解析到 "+b(d.value)+" 条记录",1)):k("",!0)])]),_:1})):k("",!0),a(o,null,{default:l(()=>[a(B,{type:"primary",loading:C.value,onClick:h},{default:l(()=>[m(b(w.value?"保存":"上传"),1)]),_:1},8,["loading"]),a(B,{onClick:J},{default:l(()=>[...e[19]||(e[19]=[m("取消",-1)])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["title"])),[[$,E.value]])}}}),Ge=fe(ke,[["__scopeId","data-v-85ac7099"]]);export{Ge as default}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/DatasetCreateView-CCIPqE-L.js +import{E as H}from"./el-alert-CoSdHkeK.js";import{a as Q,E as W}from"./el-form-item-Bq0n_p5a.js";import{E as X}from"./index-h5FkzAP_.js";import{E as Y}from"./index-BNsCyG4A.js";import{E as Z,b as ee}from"./el-radio-group-DxV9SE4w.js";import{E as te}from"./el-switch-DflKYtBf.js";import{E as ae}from"./el-upload-9Z6SSyNu.js";import{v as le}from"./directive-B1cwmVOz.js";import{d as oe,G as se,K as ne,e as U,w as l,y as f,j,z as ie,o as _,s as a,x as m,c as V,M as z,g as k,q as u,ad as ue,aa as b,A as g,v as re,ac as de}from"./index-Ds9AETjS.js";import"./el-progress-Dz5Z3t_E.js";import{P as me}from"./PageCard-CV3p14-x.js";import{b as pe,u as A,c as F,e as ce}from"./dataset-BWM6p-mU.js";import{_ as fe}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./vnode-CBiWHFw7.js";import"./castArray-BWI4UxBy.js";import"./_baseClone-CZxxnGCv.js";import"./raf-zQ00nuMI.js";import"./index-B0if-AHo.js";import"./index-BSbCLbaz.js";import"./omit-BzI1MV_K.js";import"./validator-D1MwuZXj.js";import"./el-card-D86TXgMv.js";const _e={style:{width:"100%"}},ve={class:"file-info"},ye={class:"file-name"},ge={class:"file-size"},we={key:1,class:"record-count"},Ve=".json,.jsonl",ke=oe({__name:"DatasetCreateView",setup(be){const D=de(),N=re(),x=f(),E=f(!1),C=f(!1),w=j(()=>!!D.params.id),y=j(()=>D.params.id),t=ie({name:"",description:"",dataset_type:"train",storage:"local",minio_endpoint:"",minio_bucket:"",minio_access_key:"",minio_secret_key:"",minio_ssl:!1}),r=f([]),d=f(0),v=f(null),p=f(""),M={name:[{required:!0,message:"请输入数据集名称",trigger:"blur"},{max:20,message:"不超过 20 字符",trigger:"blur"}],description:[{max:50,message:"不超过 50 字符",trigger:"blur"}]};async function O(i){var o;const e=i.raw;if(!e)return;const n=(o=e.name.split(".").pop())==null?void 0:o.toLowerCase();if(n!=="json"&&n!=="jsonl"){g.warning("仅支持 JSON/JSONL 格式");return}if(e.size>200*1024*1024){g.warning("单文件不能超过 200MB");return}r.value=[e],await R(e)}async function R(i){try{const n=(await i.text()).trim().split(` +`).filter(Boolean);d.value=n.length;let o=0;for(const c of n)try{JSON.parse(c).instruction!==void 0&&o++}catch{}o>0&&o===n.length?(v.value=!0,p.value="符合 Alpaca 格式(含 instruction 字段)"):o>0?(v.value=!0,p.value=`部分符合 Alpaca 格式(${o}/${n.length})`):(v.value=!1,p.value="未检测到标准 Alpaca 格式(缺少 instruction 字段),仍可上传")}catch{d.value=0,v.value=null,p.value="文件解析失败"}}function I(){return Promise.resolve()}function K(){r.value=[],d.value=0,v.value=null,p.value=""}async function L(){if(y.value){E.value=!0;try{const i=await pe(y.value);Object.assign(t,{name:i.name||"",description:i.description||"",dataset_type:i.type==="eval"?"eval":"train",storage:i.storage_type||"local"}),d.value=i.count||0}catch{}finally{E.value=!1}}}async function h(){x.value&&await x.value.validate(async i=>{if(i){if(!w.value&&r.value.length===0){g.warning("请至少上传一个数据集文件");return}C.value=!0;try{const e={name:t.name,type:t.dataset_type,storage_type:t.storage,description:t.description,count:d.value};if(t.storage==="minio"&&(e.minio_config={endpoint:t.minio_endpoint,bucket:t.minio_bucket,access_key:t.minio_access_key,secret_key:t.minio_secret_key,ssl:t.minio_ssl}),w.value&&y.value)await A(y.value,e),r.value.length>0&&await F(y.value,r.value),g.success("更新成功");else{const n=await ce(e),o=(n==null?void 0:n.id)||n;r.value.length>0&&(await F(o,r.value),await A(o,{count:d.value})),g.success("上传成功")}N.push("/dataset")}catch{}finally{C.value=!1}}})}function J(){N.back()}return se(L),(i,e)=>{const n=X,o=Q,c=ee,S=Z,q=te,P=ae,B=Y,G=H,T=W,$=le;return ne((_(),U(me,{title:w.value?"编辑数据集":"上传数据集"},{default:l(()=>[a(T,{ref_key:"formRef",ref:x,model:t,rules:M,"label-width":"120px",style:{"max-width":"640px"}},{default:l(()=>[a(o,{label:"数据集名称",prop:"name"},{default:l(()=>[a(n,{modelValue:t.name,"onUpdate:modelValue":e[0]||(e[0]=s=>t.name=s),placeholder:"请输入数据集名称",maxlength:"20","show-word-limit":""},null,8,["modelValue"])]),_:1}),a(o,{label:"数据集描述"},{default:l(()=>[a(n,{modelValue:t.description,"onUpdate:modelValue":e[1]||(e[1]=s=>t.description=s),type:"textarea",rows:2,maxlength:"50","show-word-limit":"",placeholder:"选填"},null,8,["modelValue"])]),_:1}),a(o,{label:"数据集类型"},{default:l(()=>[a(S,{modelValue:t.dataset_type,"onUpdate:modelValue":e[2]||(e[2]=s=>t.dataset_type=s)},{default:l(()=>[a(c,{value:"train"},{default:l(()=>[...e[9]||(e[9]=[m("训练集",-1)])]),_:1}),a(c,{value:"eval"},{default:l(()=>[...e[10]||(e[10]=[m("评测集",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(o,{label:"上传方式"},{default:l(()=>[a(S,{modelValue:t.storage,"onUpdate:modelValue":e[3]||(e[3]=s=>t.storage=s)},{default:l(()=>[a(c,{value:"local"},{default:l(()=>[...e[11]||(e[11]=[m("本地",-1)])]),_:1}),a(c,{value:"cloud"},{default:l(()=>[...e[12]||(e[12]=[m("云平台",-1)])]),_:1}),a(c,{value:"minio"},{default:l(()=>[...e[13]||(e[13]=[m("MinIO",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),t.storage==="minio"?(_(),V(z,{key:0},[a(o,{label:"Endpoint"},{default:l(()=>[a(n,{modelValue:t.minio_endpoint,"onUpdate:modelValue":e[4]||(e[4]=s=>t.minio_endpoint=s),placeholder:"如:http://minio:9000"},null,8,["modelValue"])]),_:1}),a(o,{label:"Bucket"},{default:l(()=>[a(n,{modelValue:t.minio_bucket,"onUpdate:modelValue":e[5]||(e[5]=s=>t.minio_bucket=s),placeholder:"请输入 Bucket 名称"},null,8,["modelValue"])]),_:1}),a(o,{label:"Access Key"},{default:l(()=>[a(n,{modelValue:t.minio_access_key,"onUpdate:modelValue":e[6]||(e[6]=s=>t.minio_access_key=s),placeholder:"请输入 Access Key"},null,8,["modelValue"])]),_:1}),a(o,{label:"Secret Key"},{default:l(()=>[a(n,{modelValue:t.minio_secret_key,"onUpdate:modelValue":e[7]||(e[7]=s=>t.minio_secret_key=s),type:"password","show-password":"",placeholder:"请输入 Secret Key"},null,8,["modelValue"])]),_:1}),a(o,{label:"启用 SSL"},{default:l(()=>[a(q,{modelValue:t.minio_ssl,"onUpdate:modelValue":e[8]||(e[8]=s=>t.minio_ssl=s)},null,8,["modelValue"])]),_:1})],64)):k("",!0),t.storage==="local"?(_(),U(o,{key:1,label:"上传文件"},{default:l(()=>[u("div",_e,[a(P,{drag:"",accept:Ve,"auto-upload":!1,"show-file-list":!1,"http-request":I,"on-change":O},{tip:l(()=>[...e[14]||(e[14]=[u("div",{class:"el-upload__tip"},"仅支持 JSON/JSONL 格式,单文件不超过 200MB",-1)])]),default:l(()=>[e[15]||(e[15]=u("i",{class:"fa fa-cloud-upload",style:{"font-size":"32px",color:"#1890ff"}},null,-1)),e[16]||(e[16]=u("div",{class:"el-upload__text"},[m(" 将文件拖到此处,或"),u("em",null,"点击上传")],-1))]),_:1}),(_(!0),V(z,null,ue(r.value,s=>(_(),V("div",{key:s.name,class:"file-item"},[u("div",ve,[e[17]||(e[17]=u("i",{class:"fa fa-file-code-o"},null,-1)),u("span",ye,b(s.name),1),u("span",ge,b((s.size/1024).toFixed(1))+" KB",1)]),a(B,{link:"",type:"danger",size:"small",onClick:K},{default:l(()=>[...e[18]||(e[18]=[u("i",{class:"fa fa-times"},null,-1)])]),_:1})]))),128)),p.value?(_(),U(G,{key:0,title:p.value,type:v.value?"success":"warning",closable:!1,"show-icon":"",style:{"margin-top":"8px"}},null,8,["title","type"])):k("",!0),d.value?(_(),V("div",we,"解析到 "+b(d.value)+" 条记录",1)):k("",!0)])]),_:1})):k("",!0),a(o,null,{default:l(()=>[a(B,{type:"primary",loading:C.value,onClick:h},{default:l(()=>[m(b(w.value?"保存":"上传"),1)]),_:1},8,["loading"]),a(B,{onClick:J},{default:l(()=>[...e[19]||(e[19]=[m("取消",-1)])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["title"])),[[$,E.value]])}}}),Ge=fe(ke,[["__scopeId","data-v-85ac7099"]]);export{Ge as default}; +======== +import{E as H}from"./el-alert-Ty1qfW58.js";import{a as Q,E as W}from"./el-form-item-BA3ZlfqF.js";import{E as X}from"./index-zJ9bqPrh.js";import{E as Y}from"./index-D23K2h6y.js";import{E as Z,b as ee}from"./el-radio-group-BJiEgTS_.js";import{E as te}from"./el-switch-EBBsaB1p.js";import{E as ae}from"./el-upload-CLbTdSbQ.js";import{v as le}from"./directive-DCr8Ae3g.js";import{d as oe,G as se,K as ne,e as U,w as l,y as f,j,z as ie,o as _,s as a,x as m,c as V,M as z,g as k,q as u,ad as ue,aa as b,A as g,v as re,ac as de}from"./index-CxbBjZKo.js";import"./el-progress-Br676mBH.js";import{P as me}from"./PageCard-CC9cofwx.js";import{b as pe,u as A,c as F,e as ce}from"./dataset-BdzlocXa.js";import{_ as fe}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./vnode-DIVHEdsp.js";import"./castArray-CwVgzdTt.js";import"./_baseClone-B6d4qZbo.js";import"./raf-Bjl8yy5U.js";import"./index-C4wGR5UT.js";import"./index-DxP0p4ch.js";import"./omit-CbHF-OEy.js";import"./validator-AVoXfk3G.js";import"./el-card-BsCFVTSD.js";const _e={style:{width:"100%"}},ve={class:"file-info"},ye={class:"file-name"},ge={class:"file-size"},we={key:1,class:"record-count"},Ve=".json,.jsonl",ke=oe({__name:"DatasetCreateView",setup(be){const D=de(),N=re(),x=f(),E=f(!1),C=f(!1),w=j(()=>!!D.params.id),y=j(()=>D.params.id),t=ie({name:"",description:"",dataset_type:"train",storage:"local",minio_endpoint:"",minio_bucket:"",minio_access_key:"",minio_secret_key:"",minio_ssl:!1}),r=f([]),d=f(0),v=f(null),p=f(""),M={name:[{required:!0,message:"请输入数据集名称",trigger:"blur"},{max:20,message:"不超过 20 字符",trigger:"blur"}],description:[{max:50,message:"不超过 50 字符",trigger:"blur"}]};async function O(i){var o;const e=i.raw;if(!e)return;const n=(o=e.name.split(".").pop())==null?void 0:o.toLowerCase();if(n!=="json"&&n!=="jsonl"){g.warning("仅支持 JSON/JSONL 格式");return}if(e.size>200*1024*1024){g.warning("单文件不能超过 200MB");return}r.value=[e],await R(e)}async function R(i){try{const n=(await i.text()).trim().split(` +`).filter(Boolean);d.value=n.length;let o=0;for(const c of n)try{JSON.parse(c).instruction!==void 0&&o++}catch{}o>0&&o===n.length?(v.value=!0,p.value="符合 Alpaca 格式(含 instruction 字段)"):o>0?(v.value=!0,p.value=`部分符合 Alpaca 格式(${o}/${n.length})`):(v.value=!1,p.value="未检测到标准 Alpaca 格式(缺少 instruction 字段),仍可上传")}catch{d.value=0,v.value=null,p.value="文件解析失败"}}function I(){return Promise.resolve()}function K(){r.value=[],d.value=0,v.value=null,p.value=""}async function L(){if(y.value){E.value=!0;try{const i=await pe(y.value);Object.assign(t,{name:i.name||"",description:i.description||"",dataset_type:i.type==="eval"?"eval":"train",storage:i.storage_type||"local"}),d.value=i.count||0}catch{}finally{E.value=!1}}}async function h(){x.value&&await x.value.validate(async i=>{if(i){if(!w.value&&r.value.length===0){g.warning("请至少上传一个数据集文件");return}C.value=!0;try{const e={name:t.name,type:t.dataset_type,storage_type:t.storage,description:t.description,count:d.value};if(t.storage==="minio"&&(e.minio_config={endpoint:t.minio_endpoint,bucket:t.minio_bucket,access_key:t.minio_access_key,secret_key:t.minio_secret_key,ssl:t.minio_ssl}),w.value&&y.value)await A(y.value,e),r.value.length>0&&await F(y.value,r.value),g.success("更新成功");else{const n=await ce(e),o=(n==null?void 0:n.id)||n;r.value.length>0&&(await F(o,r.value),await A(o,{count:d.value})),g.success("上传成功")}N.push("/dataset")}catch{}finally{C.value=!1}}})}function J(){N.back()}return se(L),(i,e)=>{const n=X,o=Q,c=ee,S=Z,q=te,P=ae,B=Y,G=H,T=W,$=le;return ne((_(),U(me,{title:w.value?"编辑数据集":"上传数据集"},{default:l(()=>[a(T,{ref_key:"formRef",ref:x,model:t,rules:M,"label-width":"120px",style:{"max-width":"640px"}},{default:l(()=>[a(o,{label:"数据集名称",prop:"name"},{default:l(()=>[a(n,{modelValue:t.name,"onUpdate:modelValue":e[0]||(e[0]=s=>t.name=s),placeholder:"请输入数据集名称",maxlength:"20","show-word-limit":""},null,8,["modelValue"])]),_:1}),a(o,{label:"数据集描述"},{default:l(()=>[a(n,{modelValue:t.description,"onUpdate:modelValue":e[1]||(e[1]=s=>t.description=s),type:"textarea",rows:2,maxlength:"50","show-word-limit":"",placeholder:"选填"},null,8,["modelValue"])]),_:1}),a(o,{label:"数据集类型"},{default:l(()=>[a(S,{modelValue:t.dataset_type,"onUpdate:modelValue":e[2]||(e[2]=s=>t.dataset_type=s)},{default:l(()=>[a(c,{value:"train"},{default:l(()=>[...e[9]||(e[9]=[m("训练集",-1)])]),_:1}),a(c,{value:"eval"},{default:l(()=>[...e[10]||(e[10]=[m("评测集",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(o,{label:"上传方式"},{default:l(()=>[a(S,{modelValue:t.storage,"onUpdate:modelValue":e[3]||(e[3]=s=>t.storage=s)},{default:l(()=>[a(c,{value:"local"},{default:l(()=>[...e[11]||(e[11]=[m("本地",-1)])]),_:1}),a(c,{value:"cloud"},{default:l(()=>[...e[12]||(e[12]=[m("云平台",-1)])]),_:1}),a(c,{value:"minio"},{default:l(()=>[...e[13]||(e[13]=[m("MinIO",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),t.storage==="minio"?(_(),V(z,{key:0},[a(o,{label:"Endpoint"},{default:l(()=>[a(n,{modelValue:t.minio_endpoint,"onUpdate:modelValue":e[4]||(e[4]=s=>t.minio_endpoint=s),placeholder:"如:http://minio:9000"},null,8,["modelValue"])]),_:1}),a(o,{label:"Bucket"},{default:l(()=>[a(n,{modelValue:t.minio_bucket,"onUpdate:modelValue":e[5]||(e[5]=s=>t.minio_bucket=s),placeholder:"请输入 Bucket 名称"},null,8,["modelValue"])]),_:1}),a(o,{label:"Access Key"},{default:l(()=>[a(n,{modelValue:t.minio_access_key,"onUpdate:modelValue":e[6]||(e[6]=s=>t.minio_access_key=s),placeholder:"请输入 Access Key"},null,8,["modelValue"])]),_:1}),a(o,{label:"Secret Key"},{default:l(()=>[a(n,{modelValue:t.minio_secret_key,"onUpdate:modelValue":e[7]||(e[7]=s=>t.minio_secret_key=s),type:"password","show-password":"",placeholder:"请输入 Secret Key"},null,8,["modelValue"])]),_:1}),a(o,{label:"启用 SSL"},{default:l(()=>[a(q,{modelValue:t.minio_ssl,"onUpdate:modelValue":e[8]||(e[8]=s=>t.minio_ssl=s)},null,8,["modelValue"])]),_:1})],64)):k("",!0),t.storage==="local"?(_(),U(o,{key:1,label:"上传文件"},{default:l(()=>[u("div",_e,[a(P,{drag:"",accept:Ve,"auto-upload":!1,"show-file-list":!1,"http-request":I,"on-change":O},{tip:l(()=>[...e[14]||(e[14]=[u("div",{class:"el-upload__tip"},"仅支持 JSON/JSONL 格式,单文件不超过 200MB",-1)])]),default:l(()=>[e[15]||(e[15]=u("i",{class:"fa fa-cloud-upload",style:{"font-size":"32px",color:"#1890ff"}},null,-1)),e[16]||(e[16]=u("div",{class:"el-upload__text"},[m(" 将文件拖到此处,或"),u("em",null,"点击上传")],-1))]),_:1}),(_(!0),V(z,null,ue(r.value,s=>(_(),V("div",{key:s.name,class:"file-item"},[u("div",ve,[e[17]||(e[17]=u("i",{class:"fa fa-file-code-o"},null,-1)),u("span",ye,b(s.name),1),u("span",ge,b((s.size/1024).toFixed(1))+" KB",1)]),a(B,{link:"",type:"danger",size:"small",onClick:K},{default:l(()=>[...e[18]||(e[18]=[u("i",{class:"fa fa-times"},null,-1)])]),_:1})]))),128)),p.value?(_(),U(G,{key:0,title:p.value,type:v.value?"success":"warning",closable:!1,"show-icon":"",style:{"margin-top":"8px"}},null,8,["title","type"])):k("",!0),d.value?(_(),V("div",we,"解析到 "+b(d.value)+" 条记录",1)):k("",!0)])]),_:1})):k("",!0),a(o,null,{default:l(()=>[a(B,{type:"primary",loading:C.value,onClick:h},{default:l(()=>[m(b(w.value?"保存":"上传"),1)]),_:1},8,["loading"]),a(B,{onClick:J},{default:l(()=>[...e[19]||(e[19]=[m("取消",-1)])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["title"])),[[$,E.value]])}}}),Ge=fe(ke,[["__scopeId","data-v-9270ca02"]]);export{Ge as default}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/DatasetCreateView-tR9bKxGq.js diff --git a/frontend/dist/assets/DatasetCreateView-Cv3osIe8.css b/frontend/dist/assets/DatasetCreateView-Cv3osIe8.css new file mode 100644 index 0000000..9ecf10c --- /dev/null +++ b/frontend/dist/assets/DatasetCreateView-Cv3osIe8.css @@ -0,0 +1 @@ +.file-item[data-v-9270ca02]{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border:1px solid #ebeef5;border-radius:4px;margin-top:8px}.file-info[data-v-9270ca02]{display:flex;align-items:center;gap:8px}.file-name[data-v-9270ca02]{color:#303133}.file-size[data-v-9270ca02]{color:#909399;font-size:12px}.record-count[data-v-9270ca02]{margin-top:8px;font-size:13px;color:#909399} diff --git a/frontend/dist/assets/DatasetCreateView-D2g2qvbH.css b/frontend/dist/assets/DatasetCreateView-D2g2qvbH.css deleted file mode 100644 index 5d534a5..0000000 --- a/frontend/dist/assets/DatasetCreateView-D2g2qvbH.css +++ /dev/null @@ -1 +0,0 @@ -.file-item[data-v-85ac7099]{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border:1px solid #ebeef5;border-radius:4px;margin-top:8px}.file-info[data-v-85ac7099]{display:flex;align-items:center;gap:8px}.file-name[data-v-85ac7099]{color:#303133}.file-size[data-v-85ac7099]{color:#909399;font-size:12px}.record-count[data-v-85ac7099]{margin-top:8px;font-size:13px;color:#909399} diff --git a/frontend/dist/assets/DatasetCreateView-tR9bKxGq.js b/frontend/dist/assets/DatasetCreateView-tR9bKxGq.js new file mode 100644 index 0000000..b7a3da1 --- /dev/null +++ b/frontend/dist/assets/DatasetCreateView-tR9bKxGq.js @@ -0,0 +1,2 @@ +import{E as H}from"./el-alert-Ty1qfW58.js";import{a as Q,E as W}from"./el-form-item-BA3ZlfqF.js";import{E as X}from"./index-zJ9bqPrh.js";import{E as Y}from"./index-D23K2h6y.js";import{E as Z,b as ee}from"./el-radio-group-BJiEgTS_.js";import{E as te}from"./el-switch-EBBsaB1p.js";import{E as ae}from"./el-upload-CLbTdSbQ.js";import{v as le}from"./directive-DCr8Ae3g.js";import{d as oe,G as se,K as ne,e as U,w as l,y as f,j,z as ie,o as _,s as a,x as m,c as V,M as z,g as k,q as u,ad as ue,aa as b,A as g,v as re,ac as de}from"./index-CxbBjZKo.js";import"./el-progress-Br676mBH.js";import{P as me}from"./PageCard-CC9cofwx.js";import{b as pe,u as A,c as F,e as ce}from"./dataset-BdzlocXa.js";import{_ as fe}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./vnode-DIVHEdsp.js";import"./castArray-CwVgzdTt.js";import"./_baseClone-B6d4qZbo.js";import"./raf-Bjl8yy5U.js";import"./index-C4wGR5UT.js";import"./index-DxP0p4ch.js";import"./omit-CbHF-OEy.js";import"./validator-AVoXfk3G.js";import"./el-card-BsCFVTSD.js";const _e={style:{width:"100%"}},ve={class:"file-info"},ye={class:"file-name"},ge={class:"file-size"},we={key:1,class:"record-count"},Ve=".json,.jsonl",ke=oe({__name:"DatasetCreateView",setup(be){const D=de(),N=re(),x=f(),E=f(!1),C=f(!1),w=j(()=>!!D.params.id),y=j(()=>D.params.id),t=ie({name:"",description:"",dataset_type:"train",storage:"local",minio_endpoint:"",minio_bucket:"",minio_access_key:"",minio_secret_key:"",minio_ssl:!1}),r=f([]),d=f(0),v=f(null),p=f(""),M={name:[{required:!0,message:"请输入数据集名称",trigger:"blur"},{max:20,message:"不超过 20 字符",trigger:"blur"}],description:[{max:50,message:"不超过 50 字符",trigger:"blur"}]};async function O(i){var o;const e=i.raw;if(!e)return;const n=(o=e.name.split(".").pop())==null?void 0:o.toLowerCase();if(n!=="json"&&n!=="jsonl"){g.warning("仅支持 JSON/JSONL 格式");return}if(e.size>200*1024*1024){g.warning("单文件不能超过 200MB");return}r.value=[e],await R(e)}async function R(i){try{const n=(await i.text()).trim().split(` +`).filter(Boolean);d.value=n.length;let o=0;for(const c of n)try{JSON.parse(c).instruction!==void 0&&o++}catch{}o>0&&o===n.length?(v.value=!0,p.value="符合 Alpaca 格式(含 instruction 字段)"):o>0?(v.value=!0,p.value=`部分符合 Alpaca 格式(${o}/${n.length})`):(v.value=!1,p.value="未检测到标准 Alpaca 格式(缺少 instruction 字段),仍可上传")}catch{d.value=0,v.value=null,p.value="文件解析失败"}}function I(){return Promise.resolve()}function K(){r.value=[],d.value=0,v.value=null,p.value=""}async function L(){if(y.value){E.value=!0;try{const i=await pe(y.value);Object.assign(t,{name:i.name||"",description:i.description||"",dataset_type:i.type==="eval"?"eval":"train",storage:i.storage_type||"local"}),d.value=i.count||0}catch{}finally{E.value=!1}}}async function h(){x.value&&await x.value.validate(async i=>{if(i){if(!w.value&&r.value.length===0){g.warning("请至少上传一个数据集文件");return}C.value=!0;try{const e={name:t.name,type:t.dataset_type,storage_type:t.storage,description:t.description,count:d.value};if(t.storage==="minio"&&(e.minio_config={endpoint:t.minio_endpoint,bucket:t.minio_bucket,access_key:t.minio_access_key,secret_key:t.minio_secret_key,ssl:t.minio_ssl}),w.value&&y.value)await A(y.value,e),r.value.length>0&&await F(y.value,r.value),g.success("更新成功");else{const n=await ce(e),o=(n==null?void 0:n.id)||n;r.value.length>0&&(await F(o,r.value),await A(o,{count:d.value})),g.success("上传成功")}N.push("/dataset")}catch{}finally{C.value=!1}}})}function J(){N.back()}return se(L),(i,e)=>{const n=X,o=Q,c=ee,S=Z,q=te,P=ae,B=Y,G=H,T=W,$=le;return ne((_(),U(me,{title:w.value?"编辑数据集":"上传数据集"},{default:l(()=>[a(T,{ref_key:"formRef",ref:x,model:t,rules:M,"label-width":"120px",style:{"max-width":"640px"}},{default:l(()=>[a(o,{label:"数据集名称",prop:"name"},{default:l(()=>[a(n,{modelValue:t.name,"onUpdate:modelValue":e[0]||(e[0]=s=>t.name=s),placeholder:"请输入数据集名称",maxlength:"20","show-word-limit":""},null,8,["modelValue"])]),_:1}),a(o,{label:"数据集描述"},{default:l(()=>[a(n,{modelValue:t.description,"onUpdate:modelValue":e[1]||(e[1]=s=>t.description=s),type:"textarea",rows:2,maxlength:"50","show-word-limit":"",placeholder:"选填"},null,8,["modelValue"])]),_:1}),a(o,{label:"数据集类型"},{default:l(()=>[a(S,{modelValue:t.dataset_type,"onUpdate:modelValue":e[2]||(e[2]=s=>t.dataset_type=s)},{default:l(()=>[a(c,{value:"train"},{default:l(()=>[...e[9]||(e[9]=[m("训练集",-1)])]),_:1}),a(c,{value:"eval"},{default:l(()=>[...e[10]||(e[10]=[m("评测集",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(o,{label:"上传方式"},{default:l(()=>[a(S,{modelValue:t.storage,"onUpdate:modelValue":e[3]||(e[3]=s=>t.storage=s)},{default:l(()=>[a(c,{value:"local"},{default:l(()=>[...e[11]||(e[11]=[m("本地",-1)])]),_:1}),a(c,{value:"cloud"},{default:l(()=>[...e[12]||(e[12]=[m("云平台",-1)])]),_:1}),a(c,{value:"minio"},{default:l(()=>[...e[13]||(e[13]=[m("MinIO",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),t.storage==="minio"?(_(),V(z,{key:0},[a(o,{label:"Endpoint"},{default:l(()=>[a(n,{modelValue:t.minio_endpoint,"onUpdate:modelValue":e[4]||(e[4]=s=>t.minio_endpoint=s),placeholder:"如:http://minio:9000"},null,8,["modelValue"])]),_:1}),a(o,{label:"Bucket"},{default:l(()=>[a(n,{modelValue:t.minio_bucket,"onUpdate:modelValue":e[5]||(e[5]=s=>t.minio_bucket=s),placeholder:"请输入 Bucket 名称"},null,8,["modelValue"])]),_:1}),a(o,{label:"Access Key"},{default:l(()=>[a(n,{modelValue:t.minio_access_key,"onUpdate:modelValue":e[6]||(e[6]=s=>t.minio_access_key=s),placeholder:"请输入 Access Key"},null,8,["modelValue"])]),_:1}),a(o,{label:"Secret Key"},{default:l(()=>[a(n,{modelValue:t.minio_secret_key,"onUpdate:modelValue":e[7]||(e[7]=s=>t.minio_secret_key=s),type:"password","show-password":"",placeholder:"请输入 Secret Key"},null,8,["modelValue"])]),_:1}),a(o,{label:"启用 SSL"},{default:l(()=>[a(q,{modelValue:t.minio_ssl,"onUpdate:modelValue":e[8]||(e[8]=s=>t.minio_ssl=s)},null,8,["modelValue"])]),_:1})],64)):k("",!0),t.storage==="local"?(_(),U(o,{key:1,label:"上传文件"},{default:l(()=>[u("div",_e,[a(P,{drag:"",accept:Ve,"auto-upload":!1,"show-file-list":!1,"http-request":I,"on-change":O},{tip:l(()=>[...e[14]||(e[14]=[u("div",{class:"el-upload__tip"},"仅支持 JSON/JSONL 格式,单文件不超过 200MB",-1)])]),default:l(()=>[e[15]||(e[15]=u("i",{class:"fa fa-cloud-upload",style:{"font-size":"32px",color:"#1890ff"}},null,-1)),e[16]||(e[16]=u("div",{class:"el-upload__text"},[m(" 将文件拖到此处,或"),u("em",null,"点击上传")],-1))]),_:1}),(_(!0),V(z,null,ue(r.value,s=>(_(),V("div",{key:s.name,class:"file-item"},[u("div",ve,[e[17]||(e[17]=u("i",{class:"fa fa-file-code-o"},null,-1)),u("span",ye,b(s.name),1),u("span",ge,b((s.size/1024).toFixed(1))+" KB",1)]),a(B,{link:"",type:"danger",size:"small",onClick:K},{default:l(()=>[...e[18]||(e[18]=[u("i",{class:"fa fa-times"},null,-1)])]),_:1})]))),128)),p.value?(_(),U(G,{key:0,title:p.value,type:v.value?"success":"warning",closable:!1,"show-icon":"",style:{"margin-top":"8px"}},null,8,["title","type"])):k("",!0),d.value?(_(),V("div",we,"解析到 "+b(d.value)+" 条记录",1)):k("",!0)])]),_:1})):k("",!0),a(o,null,{default:l(()=>[a(B,{type:"primary",loading:C.value,onClick:h},{default:l(()=>[m(b(w.value?"保存":"上传"),1)]),_:1},8,["loading"]),a(B,{onClick:J},{default:l(()=>[...e[19]||(e[19]=[m("取消",-1)])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["title"])),[[$,E.value]])}}}),Ge=fe(ke,[["__scopeId","data-v-9270ca02"]]);export{Ge as default}; diff --git a/frontend/dist/assets/DatasetListView-CReMcPGE.css b/frontend/dist/assets/DatasetListView-BClt_Ip_.css similarity index 52% rename from frontend/dist/assets/DatasetListView-CReMcPGE.css rename to frontend/dist/assets/DatasetListView-BClt_Ip_.css index b57c009..4000b9b 100644 --- a/frontend/dist/assets/DatasetListView-CReMcPGE.css +++ b/frontend/dist/assets/DatasetListView-BClt_Ip_.css @@ -1 +1 @@ -@charset "UTF-8";.capsule-tabs[data-v-e406ac6d]{display:flex;background:#f1f5f9;padding:3px;border-radius:8px;gap:2px;border:1px solid #e2e8f0}.capsule-tab-item[data-v-e406ac6d]{border:0;background:transparent;padding:6px 20px;font-size:13px;font-weight:500;color:#64748b;cursor:pointer;border-radius:6px;transition:all .2s ease;outline:none}.capsule-tab-item[data-v-e406ac6d]:hover{color:#1e293b}.capsule-tab-item.active[data-v-e406ac6d]{background:#fff;color:#4f46e5;box-shadow:0 1px 3px #0000000f,0 1px 2px #0000000a;font-weight:600} +@charset "UTF-8";.capsule-tabs[data-v-9179f18b]{display:flex;background:#f1f5f9;padding:3px;border-radius:8px;gap:2px;border:1px solid #e2e8f0}.capsule-tab-item[data-v-9179f18b]{border:0;background:transparent;padding:6px 20px;font-size:13px;font-weight:500;color:#64748b;cursor:pointer;border-radius:6px;transition:all .2s ease;outline:none}.capsule-tab-item[data-v-9179f18b]:hover{color:#1e293b}.capsule-tab-item.active[data-v-9179f18b]{background:#fff;color:#4f46e5;box-shadow:0 1px 3px #0000000f,0 1px 2px #0000000a;font-weight:600} diff --git a/frontend/dist/assets/DatasetListView-f5ydkZni.js b/frontend/dist/assets/DatasetListView-f5ydkZni.js new file mode 100644 index 0000000..c064d68 --- /dev/null +++ b/frontend/dist/assets/DatasetListView-f5ydkZni.js @@ -0,0 +1 @@ +import{E as z}from"./index-D23K2h6y.js";import{E}from"./index-BjlLyKON.js";import{E as T}from"./el-table-b_qkWXYf.js";import{d as L,G as A,e as k,w as e,y as f,j as V,o as y,q as r,s as l,x as s,g as $,aa as p,f as b,aY as B,aZ as N,n as w,v as P,A as S}from"./index-CxbBjZKo.js";/* empty css */import"./el-checkbox-C_TzqU9u.js";import{D as M}from"./DataTablePage-C1WQGBXF.js";import{g as R,d as G,a as I}from"./dataset-BdzlocXa.js";import{_ as Y}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./el-scrollbar-B0E7ZTt3.js";import"./index-DxP0p4ch.js";import"./el-popper-OAwpEmER.js";import"./index-DHcidAHK.js";import"./_baseClone-B6d4qZbo.js";import"./_baseIteratee-C6JbNheX.js";import"./castArray-CwVgzdTt.js";import"./debounce-BJxjS5F3.js";import"./toNumber-Yuob3eJv.js";import"./raf-Bjl8yy5U.js";import"./omit-CbHF-OEy.js";import"./index-zJ9bqPrh.js";import"./index-C4wGR5UT.js";import"./el-card-BsCFVTSD.js";import"./el-pagination-ByKJEnCx.js";import"./el-select-CeiDjMzB.js";import"./vnode-DIVHEdsp.js";import"./index-Bzaib5AU.js";import"./scroll-Dvb2mTx8.js";import"./clamp-Ow4I6lPc.js";import"./directive-DCr8Ae3g.js";import"./index-CLZoQJ1o.js";import"./validator-AVoXfk3G.js";import"./index-C3HZL-2Y.js";import"./index-36LucyXi.js";import"./el-tooltip-l0sNRNKZ.js";const j={class:"capsule-tabs"},q={class:"action-buttons"},O=L({__name:"DatasetListView",setup(U){const C=P(),c=f(!1),m=f([]),n=f("upload"),D=V(()=>n.value==="task"?m.value.filter(i=>i.source==="task"):m.value.filter(i=>i.source!=="task"));async function u(){c.value=!0;try{m.value=await R()||[]}catch{}finally{c.value=!1}}async function _(i){await G(i.id),m.value=m.value.filter(a=>a.id!==i.id),await u(),S.success("删除成功")}function h(i){C.push(`/dataset/${i.id}/preview`)}function x(i){window.open(I(i.id),"_blank")}return A(u),(i,a)=>{const o=T,v=E,d=z;return y(),k(M,{title:"数据集管理",data:D.value,loading:c.value,searchable:"","search-fields":["name","description"],"create-text":n.value==="upload"?"上传数据集":"","create-to":"/dataset/create","delete-fn":_,"row-key":"id",onRefresh:u},{title:e(()=>[r("div",j,[r("button",{class:w(["capsule-tab-item",{active:n.value==="upload"}]),onClick:a[0]||(a[0]=t=>n.value="upload")}," 上传任务 ",2),r("button",{class:w(["capsule-tab-item",{active:n.value==="task"}]),onClick:a[1]||(a[1]=t=>n.value="task")}," 数据任务 ",2)])]),columns:e(()=>[n.value==="task"?(y(),k(o,{key:0,label:"任务ID",prop:"task_id",align:"center",width:"100"})):$("",!0),l(o,{label:"数据集名称",prop:"name",align:"center"}),l(o,{label:"数据类型",align:"center",width:"110"},{default:e(({row:t})=>[l(v,{type:"primary",size:"small"},{default:e(()=>[s(p(b(B)[String(t.type).toLowerCase()]||t.type||"-"),1)]),_:2},1024)]),_:1}),l(o,{label:"存储位置",align:"center",width:"110"},{default:e(({row:t})=>[l(v,{type:"success",size:"small"},{default:e(()=>[s(p(b(N)[t.storage_type]||t.storage_type||"-"),1)]),_:2},1024)]),_:1}),l(o,{label:"大小",align:"center",width:"100"},{default:e(({row:t})=>[s(p(t.size&&t.size!=="0 B"&&t.size!=="0"?t.size:"-"),1)]),_:1}),l(o,{label:"数据条数",align:"center",width:"100"},{default:e(({row:t})=>[s(p(t.count||0),1)]),_:1}),l(o,{label:"描述",align:"center","show-overflow-tooltip":""},{default:e(({row:t})=>[s(p(t.description||"-"),1)]),_:1}),l(o,{label:"创建时间",align:"center",width:"180"},{default:e(({row:t})=>[s(p(t.create_time?new Date(t.create_time).toLocaleString("zh-CN"):"-"),1)]),_:1})]),actions:e(({row:t})=>[r("div",q,[l(d,{type:"primary",link:"",size:"small",onClick:g=>h(t)},{default:e(()=>[...a[2]||(a[2]=[r("i",{class:"fa fa-eye",style:{"margin-right":"4px"}},null,-1),s("详情 ",-1)])]),_:1},8,["onClick"]),l(d,{type:"success",link:"",size:"small",onClick:g=>x(t)},{default:e(()=>[...a[3]||(a[3]=[r("i",{class:"fa fa-download",style:{"margin-right":"4px"}},null,-1),s("下载 ",-1)])]),_:1},8,["onClick"]),l(d,{type:"danger",link:"",size:"small",onClick:g=>_(t)},{default:e(()=>[...a[4]||(a[4]=[r("i",{class:"fa fa-trash-o",style:{"margin-right":"4px"}},null,-1),s("删除 ",-1)])]),_:1},8,["onClick"])])]),_:1},8,["data","loading","create-text"])}}}),Et=Y(O,[["__scopeId","data-v-9179f18b"]]);export{Et as default}; diff --git a/frontend/dist/assets/DatasetPreviewView-DO7Vb8Tp.css b/frontend/dist/assets/DatasetPreviewView-BPL99X5w.css similarity index 67% rename from frontend/dist/assets/DatasetPreviewView-DO7Vb8Tp.css rename to frontend/dist/assets/DatasetPreviewView-BPL99X5w.css index 1ef6782..38b4f05 100644 --- a/frontend/dist/assets/DatasetPreviewView-DO7Vb8Tp.css +++ b/frontend/dist/assets/DatasetPreviewView-BPL99X5w.css @@ -1 +1 @@ -.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button:first-child:last-child{border-top-right-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);border-bottom-left-radius:var(--el-border-radius-base)}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:var(--el-border-radius-round)}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:hover,.el-button-group>.el-button:focus,.el-button-group>.el-button:active,.el-button-group>.el-button.is-active{z-index:1}.el-button-group--horizontal{vertical-align:middle;display:inline-block}.el-button-group--horizontal:before,.el-button-group--horizontal:after{content:"";display:table}.el-button-group--horizontal:after{clear:both}.el-button-group--horizontal>.el-button{float:left;position:relative}.el-button-group--horizontal>.el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group--horizontal>.el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group--horizontal>.el-button:not(:last-child){margin-right:-1px}.el-button-group--horizontal .el-button--primary:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--primary:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--primary:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal>.el-dropdown>.el-button{border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group--vertical{flex-direction:column;align-items:stretch;display:inline-flex}.el-button-group--vertical>.el-button{margin-top:-1px}.el-button-group--vertical>.el-button:first-child{border-bottom-right-radius:0;border-bottom-left-radius:0}.el-button-group--vertical>.el-button:last-child{border-top-left-radius:0;border-top-right-radius:0}.el-button-group--vertical>.el-dropdown{margin-top:-1px}.el-button-group--vertical>.el-dropdown>.el-button{border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0;border-top-right-radius:0}.el-button-group--vertical .el-button--primary:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--primary:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--primary:not(:first-child):not(:last-child){border-top-color:var(--el-button-divide-border-color);border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:not(:first-child):not(:last-child){border-top-color:var(--el-button-divide-border-color);border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:not(:first-child):not(:last-child){border-top-color:var(--el-button-divide-border-color);border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:not(:first-child):not(:last-child){border-top-color:var(--el-button-divide-border-color);border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:not(:first-child):not(:last-child){border-top-color:var(--el-button-divide-border-color);border-bottom-color:var(--el-button-divide-border-color)}.el-dropdown{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);vertical-align:top;line-height:1;display:inline-flex;position:relative}.el-dropdown.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-dropdown__popper{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10}.el-dropdown__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:#0000;border-left-color:#0000}.el-dropdown__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-dropdown__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-dropdown__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-top-color:#0000;border-right-color:#0000}.el-dropdown__popper .el-dropdown-menu{border:none}.el-dropdown__popper .el-dropdown__popper-selfdefine{outline:none}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{box-sizing:border-box;margin:0;padding:0;list-style:none}.el-dropdown .el-dropdown__caret-button{border-left:none;justify-content:center;align-items:center;width:32px;padding-left:0;padding-right:0;display:inline-flex}.el-dropdown .el-dropdown__caret-button>span{display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{content:"";background:var(--el-overlay-color-lighter);width:1px;display:block;position:absolute;top:-1px;bottom:-1px;left:0}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:none}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{z-index:var(--el-dropdown-menu-index);background-color:var(--el-bg-color-overlay);border-radius:var(--el-border-radius-base);box-shadow:none;border:none;margin:0;padding:5px 0;list-style:none;position:relative;top:0;left:0}.el-dropdown-menu__item{white-space:nowrap;line-height:22px;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);cursor:pointer;outline:none;align-items:center;margin:0;padding:5px 16px;list-style:none;display:flex}.el-dropdown-menu__item:not(.is-disabled):hover,.el-dropdown-menu__item:not(.is-disabled):focus{background-color:var(--el-dropdown-menuItem-hover-fill);color:var(--el-dropdown-menuItem-hover-color)}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{border-top:1px solid var(--el-border-color-lighter);margin:6px 0}.el-dropdown-menu__item.is-disabled{cursor:not-allowed;color:var(--el-text-color-disabled)}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{padding:7px 20px;font-size:14px;line-height:22px}.el-dropdown-menu--large .el-dropdown-menu__item--divided{margin:8px 0}.el-dropdown-menu--small{padding:3px 0}.el-dropdown-menu--small .el-dropdown-menu__item{padding:2px 12px;font-size:12px;line-height:20px}.el-dropdown-menu--small .el-dropdown-menu__item--divided{margin:4px 0}.version-control-bar[data-v-e51d9b4f]{display:flex;align-items:center;gap:16px;min-height:64px;margin-bottom:12px;padding:10px 14px;box-sizing:border-box;border:1px solid #dfe5ee;border-radius:10px;background:#fff}.version-selector-group[data-v-e51d9b4f]{display:flex;align-items:center;gap:10px;flex:0 0 auto}.version-selector-group label[data-v-e51d9b4f]{color:#344054;font-size:13px;font-weight:600}.version-select[data-v-e51d9b4f]{width:300px}.version-status[data-v-e51d9b4f]{display:flex;align-items:center;flex:1;gap:10px;min-width:0}.version-status>span[data-v-e51d9b4f]{overflow:hidden;color:#7c8799;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.version-actions[data-v-e51d9b4f]{flex:0 0 auto;line-height:1}.version-actions-button[data-v-e51d9b4f]{width:40px;height:40px;flex:0 0 auto;padding:0;border-radius:10px}.version-actions-button i[data-v-e51d9b4f]{font-size:16px}.version-actions-popper .el-dropdown-menu__item{gap:8px;min-height:40px}.version-actions-popper .el-dropdown-menu{min-width:168px}.version-actions-popper .version-action-primary:not(.is-disabled) i{color:var(--primary-color)}.version-actions-popper .version-action-danger:not(.is-disabled){color:var(--el-color-danger)}.version-actions-popper .version-action-danger:not(.is-disabled):hover{color:var(--el-color-danger);background:var(--el-color-danger-light-9)}@media(max-width:680px){.version-control-bar[data-v-e51d9b4f],.version-selector-group[data-v-e51d9b4f],.version-status[data-v-e51d9b4f]{align-items:stretch;flex-direction:column}.version-select[data-v-e51d9b4f],.version-selector-group[data-v-e51d9b4f]{width:100%}.version-status[data-v-e51d9b4f]{width:100%;min-width:0}.version-status>span[data-v-e51d9b4f]{white-space:normal;overflow-wrap:anywhere}.version-actions[data-v-e51d9b4f]{align-self:flex-end}}.records-viewer[data-v-cc5ff1bc]{min-height:468px;padding:16px;box-sizing:border-box}.records-toolbar[data-v-cc5ff1bc]{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.records-toolbar>div[data-v-cc5ff1bc]{display:flex;align-items:center;gap:8px;min-width:0}.records-toolbar strong[data-v-cc5ff1bc]{color:#253047;font-size:14px}.records-toolbar span[data-v-cc5ff1bc]{color:#8a94a6;font-size:12px}.record-search[data-v-cc5ff1bc]{width:240px}.record-table-shell[data-v-cc5ff1bc]{overflow:hidden;border:1px solid #e4e9f1;border-radius:8px}.record-table[data-v-cc5ff1bc]{width:100%}.record-table[data-v-cc5ff1bc] .el-table__header th{height:44px;background:#f5f7fa;color:#475467;font-size:12px;font-weight:600}.record-table[data-v-cc5ff1bc] .el-table__cell{padding:10px 0}.record-table[data-v-cc5ff1bc] .record-table-row-invalid td{background:#fff7f7!important}.table-index[data-v-cc5ff1bc]{display:flex;align-items:center;flex-direction:column;gap:1px;color:#667085;font-variant-numeric:tabular-nums}.table-index strong[data-v-cc5ff1bc]{font-size:13px;font-weight:600}.table-index small[data-v-cc5ff1bc]{color:#98a2b3;font-size:10px}.table-cell-text[data-v-cc5ff1bc]{display:-webkit-box;overflow:hidden;color:#526076;font-size:12px;line-height:1.6;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.record-table .el-button i[data-v-cc5ff1bc]{margin-right:5px}.records-pagination[data-v-cc5ff1bc]{display:flex;justify-content:flex-end;margin-top:16px}.viewer-state[data-v-cc5ff1bc]{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;height:100%;min-height:400px;color:#8b96a8;font-size:13px}.viewer-state>i[data-v-cc5ff1bc]{color:#aeb7c5;font-size:24px}.record-empty-state[data-v-cc5ff1bc]{min-height:320px}@media(max-width:680px){.records-toolbar[data-v-cc5ff1bc]{align-items:stretch;flex-direction:column}.record-search[data-v-cc5ff1bc]{width:100%}}@media(prefers-reduced-motion:reduce){.record-table[data-v-cc5ff1bc] .el-table__row{transition:none}}.editor-hint[data-v-745108eb]{margin-bottom:18px;padding:10px 12px;border:1px solid #dbe2ff;border-radius:8px;background:#f5f7ff;color:#56627a;font-size:13px}.editor-hint i[data-v-745108eb]{margin-right:6px;color:var(--primary-color)}.field-helper[data-v-745108eb]{margin-top:5px;color:#8a94a6;line-height:1.5}.raw-record-editor label[data-v-745108eb]{display:block;margin-bottom:8px;color:#344054;font-size:13px;font-weight:600}.record-editor-actions[data-v-745108eb]{display:flex;align-items:center;justify-content:space-between;gap:16px}.record-editor-actions>span[data-v-745108eb]{color:#8a94a6;font-size:12px}@media(max-width:680px){.record-editor-actions[data-v-745108eb]{align-items:stretch;flex-direction:column}.record-editor-actions>div[data-v-745108eb]{display:grid;grid-template-columns:1fr 1fr;gap:8px}}.code-viewer[data-v-6d3466ce]{height:100%;max-height:468px;overflow:auto;padding:12px 0 18px;outline:none}.code-viewer[data-v-6d3466ce]:focus-visible{box-shadow:inset 0 0 0 2px var(--el-color-primary-light-5)}.code-line[data-v-6d3466ce]{display:grid;grid-template-columns:54px minmax(0,1fr);min-height:25px;color:#344054;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.65}.code-line[data-v-6d3466ce]:hover{background:#f4f6fa}.line-number[data-v-6d3466ce]{padding-right:14px;border-right:1px solid #edf0f5;color:#a4adbc;font-variant-numeric:tabular-nums;text-align:right;-webkit-user-select:none;user-select:none}.code-line code[data-v-6d3466ce]{display:block;min-width:max-content;padding:0 18px;white-space:pre}.dataset-preview-page[data-v-a92162ce]{min-width:0}.page-header[data-v-a92162ce]{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;min-width:0}.page-heading[data-v-a92162ce]{display:flex;align-items:center;gap:14px;min-width:0}.heading-icon[data-v-a92162ce]{display:grid;flex:0 0 44px;width:44px;height:44px;place-items:center;border-radius:12px;background:linear-gradient(145deg,#eef2ff,#e0e7ff);color:var(--primary-color);font-size:18px}.heading-row[data-v-a92162ce]{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.heading-row h1[data-v-a92162ce]{margin:0 4px 0 0;color:#172033;font-size:20px;font-weight:650;line-height:1.35}.page-heading p[data-v-a92162ce]{margin:4px 0 0;color:#7c8799;font-size:13px;line-height:1.5}.dataset-overview[data-v-a92162ce]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:20px;padding:16px 20px;border:1px solid #edf0f5;border-radius:12px;background:#fbfcfe}.overview-item[data-v-a92162ce]{display:flex;flex-direction:column;gap:5px;min-width:0;padding:0 20px;border-right:1px solid #e9edf4}.overview-item[data-v-a92162ce]:first-child{padding-left:0}.overview-item[data-v-a92162ce]:last-child{padding-right:0;border-right:0}.overview-item span[data-v-a92162ce]{color:#8a94a6;font-size:12px}.overview-item strong[data-v-a92162ce]{overflow:hidden;color:#283347;font-size:15px;font-variant-numeric:tabular-nums;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.historical-version-alert[data-v-a92162ce]{margin-bottom:12px}.preview-workspace[data-v-a92162ce]{min-height:520px;overflow:hidden;border:1px solid #e5eaf2;border-radius:12px;background:#fff}.content-title h2[data-v-a92162ce]{margin:0;color:#263146;font-size:14px;font-weight:600}.content-pane[data-v-a92162ce]{display:flex;flex-direction:column;min-width:0;background:#fff}.content-toolbar[data-v-a92162ce]{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px;padding:10px 16px;border-bottom:1px solid #e5eaf2}.content-title[data-v-a92162ce]{display:flex;align-items:center;gap:10px;min-width:0}.content-title>div[data-v-a92162ce]{min-width:0}.content-title h2[data-v-a92162ce]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content-title p[data-v-a92162ce]{display:flex;gap:6px;margin:3px 0 0;color:#8a94a6;font-size:11px;font-variant-numeric:tabular-nums}.file-icon[data-v-a92162ce]{display:grid;flex:0 0 34px;height:34px;place-items:center;border-radius:8px;background:#f1f5f9;color:#69768b}.download-button[data-v-a92162ce]{min-height:36px}.download-button i[data-v-a92162ce]{margin-right:6px}.toolbar-actions[data-v-a92162ce]{display:flex;align-items:center;flex:0 0 auto}.toolbar-actions i[data-v-a92162ce]{margin-right:6px}.viewer-shell[data-v-a92162ce]{position:relative;flex:1;min-height:400px;overflow:hidden;background:#fbfcfe}.viewer-state[data-v-a92162ce]{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;height:100%;min-height:400px;color:#8b96a8;font-size:13px}.viewer-state>i[data-v-a92162ce]{color:#aeb7c5;font-size:24px}.viewer-state-error>i[data-v-a92162ce],.viewer-state-error strong[data-v-a92162ce]{color:#d14343}.viewer-state-error strong[data-v-a92162ce]{font-weight:500}.viewer-footer[data-v-a92162ce]{display:flex;align-items:center;justify-content:space-between;min-height:34px;padding:6px 14px;border-top:1px solid #e5eaf2;background:#f8fafc;color:#8a94a6;font-size:11px}.viewer-footer i[data-v-a92162ce]{margin-right:5px}.empty-files[data-v-a92162ce]{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:420px;border:1px dashed #dce2eb;border-radius:12px;background:#fbfcfe;text-align:center}.empty-icon[data-v-a92162ce]{display:grid;width:54px;height:54px;margin-bottom:14px;place-items:center;border-radius:14px;background:#eef2f7;color:#8a96a8;font-size:22px}.empty-files h2[data-v-a92162ce]{margin:0;color:#354056;font-size:15px}.empty-files p[data-v-a92162ce]{margin:6px 0 0;color:#929daf;font-size:13px}@media(max-width:900px){.dataset-overview[data-v-a92162ce]{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:680px){.page-header[data-v-a92162ce]{align-items:flex-start}.dataset-overview[data-v-a92162ce]{grid-template-columns:1fr}.overview-item[data-v-a92162ce]{padding:0 0 12px;border-right:0;border-bottom:1px solid #e9edf4}.overview-item[data-v-a92162ce]:last-child{padding-bottom:0;border-bottom:0}.content-toolbar[data-v-a92162ce]{align-items:flex-start}.download-button[data-v-a92162ce]{width:44px;padding:8px;font-size:0}.download-button i[data-v-a92162ce]{margin:0;font-size:14px}} +.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button:first-child:last-child{border-top-right-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);border-bottom-left-radius:var(--el-border-radius-base)}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:var(--el-border-radius-round)}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:hover,.el-button-group>.el-button:focus,.el-button-group>.el-button:active,.el-button-group>.el-button.is-active{z-index:1}.el-button-group--horizontal{vertical-align:middle;display:inline-block}.el-button-group--horizontal:before,.el-button-group--horizontal:after{content:"";display:table}.el-button-group--horizontal:after{clear:both}.el-button-group--horizontal>.el-button{float:left;position:relative}.el-button-group--horizontal>.el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group--horizontal>.el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group--horizontal>.el-button:not(:last-child){margin-right:-1px}.el-button-group--horizontal .el-button--primary:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--primary:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--primary:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal>.el-dropdown>.el-button{border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group--vertical{flex-direction:column;align-items:stretch;display:inline-flex}.el-button-group--vertical>.el-button{margin-top:-1px}.el-button-group--vertical>.el-button:first-child{border-bottom-right-radius:0;border-bottom-left-radius:0}.el-button-group--vertical>.el-button:last-child{border-top-left-radius:0;border-top-right-radius:0}.el-button-group--vertical>.el-dropdown{margin-top:-1px}.el-button-group--vertical>.el-dropdown>.el-button{border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0;border-top-right-radius:0}.el-button-group--vertical .el-button--primary:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--primary:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--primary:not(:first-child):not(:last-child){border-top-color:var(--el-button-divide-border-color);border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:not(:first-child):not(:last-child){border-top-color:var(--el-button-divide-border-color);border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:not(:first-child):not(:last-child){border-top-color:var(--el-button-divide-border-color);border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:not(:first-child):not(:last-child){border-top-color:var(--el-button-divide-border-color);border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:not(:first-child):not(:last-child){border-top-color:var(--el-button-divide-border-color);border-bottom-color:var(--el-button-divide-border-color)}.el-dropdown{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);vertical-align:top;line-height:1;display:inline-flex;position:relative}.el-dropdown.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-dropdown__popper{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10}.el-dropdown__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:#0000;border-left-color:#0000}.el-dropdown__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-dropdown__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-dropdown__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-top-color:#0000;border-right-color:#0000}.el-dropdown__popper .el-dropdown-menu{border:none}.el-dropdown__popper .el-dropdown__popper-selfdefine{outline:none}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{box-sizing:border-box;margin:0;padding:0;list-style:none}.el-dropdown .el-dropdown__caret-button{border-left:none;justify-content:center;align-items:center;width:32px;padding-left:0;padding-right:0;display:inline-flex}.el-dropdown .el-dropdown__caret-button>span{display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{content:"";background:var(--el-overlay-color-lighter);width:1px;display:block;position:absolute;top:-1px;bottom:-1px;left:0}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:none}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{z-index:var(--el-dropdown-menu-index);background-color:var(--el-bg-color-overlay);border-radius:var(--el-border-radius-base);box-shadow:none;border:none;margin:0;padding:5px 0;list-style:none;position:relative;top:0;left:0}.el-dropdown-menu__item{white-space:nowrap;line-height:22px;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);cursor:pointer;outline:none;align-items:center;margin:0;padding:5px 16px;list-style:none;display:flex}.el-dropdown-menu__item:not(.is-disabled):hover,.el-dropdown-menu__item:not(.is-disabled):focus{background-color:var(--el-dropdown-menuItem-hover-fill);color:var(--el-dropdown-menuItem-hover-color)}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{border-top:1px solid var(--el-border-color-lighter);margin:6px 0}.el-dropdown-menu__item.is-disabled{cursor:not-allowed;color:var(--el-text-color-disabled)}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{padding:7px 20px;font-size:14px;line-height:22px}.el-dropdown-menu--large .el-dropdown-menu__item--divided{margin:8px 0}.el-dropdown-menu--small{padding:3px 0}.el-dropdown-menu--small .el-dropdown-menu__item{padding:2px 12px;font-size:12px;line-height:20px}.el-dropdown-menu--small .el-dropdown-menu__item--divided{margin:4px 0}.version-control-bar[data-v-e7e4bc14]{display:flex;align-items:center;gap:16px;min-height:64px;margin-bottom:12px;padding:10px 14px;box-sizing:border-box;border:1px solid #dfe5ee;border-radius:10px;background:#fff}.version-selector-group[data-v-e7e4bc14]{display:flex;align-items:center;gap:10px;flex:0 0 auto}.version-selector-group label[data-v-e7e4bc14]{color:#344054;font-size:13px;font-weight:600}.version-select[data-v-e7e4bc14]{width:300px}.version-status[data-v-e7e4bc14]{display:flex;align-items:center;flex:1;gap:10px;min-width:0}.version-status>span[data-v-e7e4bc14]{overflow:hidden;color:#7c8799;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.version-actions[data-v-e7e4bc14]{flex:0 0 auto;line-height:1}.version-actions-button[data-v-e7e4bc14]{width:40px;height:40px;flex:0 0 auto;padding:0;border-radius:10px}.version-actions-button i[data-v-e7e4bc14]{font-size:16px}.version-actions-popper .el-dropdown-menu__item{gap:8px;min-height:40px}.version-actions-popper .el-dropdown-menu{min-width:168px}.version-actions-popper .version-action-primary:not(.is-disabled) i{color:var(--primary-color)}.version-actions-popper .version-action-danger:not(.is-disabled){color:var(--el-color-danger)}.version-actions-popper .version-action-danger:not(.is-disabled):hover{color:var(--el-color-danger);background:var(--el-color-danger-light-9)}@media(max-width:680px){.version-control-bar[data-v-e7e4bc14],.version-selector-group[data-v-e7e4bc14],.version-status[data-v-e7e4bc14]{align-items:stretch;flex-direction:column}.version-select[data-v-e7e4bc14],.version-selector-group[data-v-e7e4bc14]{width:100%}.version-status[data-v-e7e4bc14]{width:100%;min-width:0}.version-status>span[data-v-e7e4bc14]{white-space:normal;overflow-wrap:anywhere}.version-actions[data-v-e7e4bc14]{align-self:flex-end}}.records-viewer[data-v-7e2fd767]{min-height:468px;padding:16px;box-sizing:border-box}.records-toolbar[data-v-7e2fd767]{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.records-toolbar>div[data-v-7e2fd767]{display:flex;align-items:center;gap:8px;min-width:0}.records-toolbar strong[data-v-7e2fd767]{color:#253047;font-size:14px}.records-toolbar span[data-v-7e2fd767]{color:#8a94a6;font-size:12px}.record-search[data-v-7e2fd767]{width:240px}.record-table-shell[data-v-7e2fd767]{overflow:hidden;border:1px solid #e4e9f1;border-radius:8px}.record-table[data-v-7e2fd767]{width:100%}.record-table[data-v-7e2fd767] .el-table__header th{height:44px;background:#f5f7fa;color:#475467;font-size:12px;font-weight:600}.record-table[data-v-7e2fd767] .el-table__cell{padding:10px 0}.record-table[data-v-7e2fd767] .record-table-row-invalid td{background:#fff7f7!important}.table-index[data-v-7e2fd767]{display:flex;align-items:center;flex-direction:column;gap:1px;color:#667085;font-variant-numeric:tabular-nums}.table-index strong[data-v-7e2fd767]{font-size:13px;font-weight:600}.table-index small[data-v-7e2fd767]{color:#98a2b3;font-size:10px}.table-cell-text[data-v-7e2fd767]{display:-webkit-box;overflow:hidden;color:#526076;font-size:12px;line-height:1.6;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.record-table .el-button i[data-v-7e2fd767]{margin-right:5px}.records-pagination[data-v-7e2fd767]{display:flex;justify-content:flex-end;margin-top:16px}.viewer-state[data-v-7e2fd767]{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;height:100%;min-height:400px;color:#8b96a8;font-size:13px}.viewer-state>i[data-v-7e2fd767]{color:#aeb7c5;font-size:24px}.record-empty-state[data-v-7e2fd767]{min-height:320px}@media(max-width:680px){.records-toolbar[data-v-7e2fd767]{align-items:stretch;flex-direction:column}.record-search[data-v-7e2fd767]{width:100%}}@media(prefers-reduced-motion:reduce){.record-table[data-v-7e2fd767] .el-table__row{transition:none}}.editor-hint[data-v-3901358e]{margin-bottom:18px;padding:10px 12px;border:1px solid #dbe2ff;border-radius:8px;background:#f5f7ff;color:#56627a;font-size:13px}.editor-hint i[data-v-3901358e]{margin-right:6px;color:var(--primary-color)}.field-helper[data-v-3901358e]{margin-top:5px;color:#8a94a6;line-height:1.5}.raw-record-editor label[data-v-3901358e]{display:block;margin-bottom:8px;color:#344054;font-size:13px;font-weight:600}.record-editor-actions[data-v-3901358e]{display:flex;align-items:center;justify-content:space-between;gap:16px}.record-editor-actions>span[data-v-3901358e]{color:#8a94a6;font-size:12px}@media(max-width:680px){.record-editor-actions[data-v-3901358e]{align-items:stretch;flex-direction:column}.record-editor-actions>div[data-v-3901358e]{display:grid;grid-template-columns:1fr 1fr;gap:8px}}.code-viewer[data-v-66746ea9]{height:100%;max-height:468px;overflow:auto;padding:12px 0 18px;outline:none}.code-viewer[data-v-66746ea9]:focus-visible{box-shadow:inset 0 0 0 2px var(--el-color-primary-light-5)}.code-line[data-v-66746ea9]{display:grid;grid-template-columns:54px minmax(0,1fr);min-height:25px;color:#344054;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.65}.code-line[data-v-66746ea9]:hover{background:#f4f6fa}.line-number[data-v-66746ea9]{padding-right:14px;border-right:1px solid #edf0f5;color:#a4adbc;font-variant-numeric:tabular-nums;text-align:right;-webkit-user-select:none;user-select:none}.code-line code[data-v-66746ea9]{display:block;min-width:max-content;padding:0 18px;white-space:pre}.dataset-preview-page[data-v-e31106e4]{min-width:0}.page-header[data-v-e31106e4]{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;min-width:0}.page-heading[data-v-e31106e4]{display:flex;align-items:center;gap:14px;min-width:0}.heading-icon[data-v-e31106e4]{display:grid;flex:0 0 44px;width:44px;height:44px;place-items:center;border-radius:12px;background:linear-gradient(145deg,#eef2ff,#e0e7ff);color:var(--primary-color);font-size:18px}.heading-row[data-v-e31106e4]{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.heading-row h1[data-v-e31106e4]{margin:0 4px 0 0;color:#172033;font-size:20px;font-weight:650;line-height:1.35}.page-heading p[data-v-e31106e4]{margin:4px 0 0;color:#7c8799;font-size:13px;line-height:1.5}.dataset-overview[data-v-e31106e4]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:20px;padding:16px 20px;border:1px solid #edf0f5;border-radius:12px;background:#fbfcfe}.overview-item[data-v-e31106e4]{display:flex;flex-direction:column;gap:5px;min-width:0;padding:0 20px;border-right:1px solid #e9edf4}.overview-item[data-v-e31106e4]:first-child{padding-left:0}.overview-item[data-v-e31106e4]:last-child{padding-right:0;border-right:0}.overview-item span[data-v-e31106e4]{color:#8a94a6;font-size:12px}.overview-item strong[data-v-e31106e4]{overflow:hidden;color:#283347;font-size:15px;font-variant-numeric:tabular-nums;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.historical-version-alert[data-v-e31106e4]{margin-bottom:12px}.preview-workspace[data-v-e31106e4]{min-height:520px;overflow:hidden;border:1px solid #e5eaf2;border-radius:12px;background:#fff}.content-title h2[data-v-e31106e4]{margin:0;color:#263146;font-size:14px;font-weight:600}.content-pane[data-v-e31106e4]{display:flex;flex-direction:column;min-width:0;background:#fff}.content-toolbar[data-v-e31106e4]{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px;padding:10px 16px;border-bottom:1px solid #e5eaf2}.content-title[data-v-e31106e4]{display:flex;align-items:center;gap:10px;min-width:0}.content-title>div[data-v-e31106e4]{min-width:0}.content-title h2[data-v-e31106e4]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content-title p[data-v-e31106e4]{display:flex;gap:6px;margin:3px 0 0;color:#8a94a6;font-size:11px;font-variant-numeric:tabular-nums}.file-icon[data-v-e31106e4]{display:grid;flex:0 0 34px;height:34px;place-items:center;border-radius:8px;background:#f1f5f9;color:#69768b}.download-button[data-v-e31106e4]{min-height:36px}.download-button i[data-v-e31106e4]{margin-right:6px}.toolbar-actions[data-v-e31106e4]{display:flex;align-items:center;flex:0 0 auto}.toolbar-actions i[data-v-e31106e4]{margin-right:6px}.viewer-shell[data-v-e31106e4]{position:relative;flex:1;min-height:400px;overflow:hidden;background:#fbfcfe}.viewer-state[data-v-e31106e4]{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;height:100%;min-height:400px;color:#8b96a8;font-size:13px}.viewer-state>i[data-v-e31106e4]{color:#aeb7c5;font-size:24px}.viewer-state-error>i[data-v-e31106e4],.viewer-state-error strong[data-v-e31106e4]{color:#d14343}.viewer-state-error strong[data-v-e31106e4]{font-weight:500}.viewer-footer[data-v-e31106e4]{display:flex;align-items:center;justify-content:space-between;min-height:34px;padding:6px 14px;border-top:1px solid #e5eaf2;background:#f8fafc;color:#8a94a6;font-size:11px}.viewer-footer i[data-v-e31106e4]{margin-right:5px}.empty-files[data-v-e31106e4]{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:420px;border:1px dashed #dce2eb;border-radius:12px;background:#fbfcfe;text-align:center}.empty-icon[data-v-e31106e4]{display:grid;width:54px;height:54px;margin-bottom:14px;place-items:center;border-radius:14px;background:#eef2f7;color:#8a96a8;font-size:22px}.empty-files h2[data-v-e31106e4]{margin:0;color:#354056;font-size:15px}.empty-files p[data-v-e31106e4]{margin:6px 0 0;color:#929daf;font-size:13px}@media(max-width:900px){.dataset-overview[data-v-e31106e4]{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:680px){.page-header[data-v-e31106e4]{align-items:flex-start}.dataset-overview[data-v-e31106e4]{grid-template-columns:1fr}.overview-item[data-v-e31106e4]{padding:0 0 12px;border-right:0;border-bottom:1px solid #e9edf4}.overview-item[data-v-e31106e4]:last-child{padding-bottom:0;border-bottom:0}.content-toolbar[data-v-e31106e4]{align-items:flex-start}.download-button[data-v-e31106e4]{width:44px;padding:8px;font-size:0}.download-button i[data-v-e31106e4]{margin:0;font-size:14px}} diff --git a/frontend/dist/assets/DatasetPreviewView-DbgPnKVJ.js b/frontend/dist/assets/DatasetPreviewView-DbgPnKVJ.js index 392c560..8c40c68 100644 --- a/frontend/dist/assets/DatasetPreviewView-DbgPnKVJ.js +++ b/frontend/dist/assets/DatasetPreviewView-DbgPnKVJ.js @@ -1,6 +1,22 @@ +<<<<<<<< HEAD:frontend/dist/assets/DatasetPreviewView-DbgPnKVJ.js import{E as Tn}from"./el-alert-DiB50G4H.js";import{O as Rn,E as Re}from"./el-popper-DIiB8Y-M.js";import{f as Ye,E as le,e as Sn}from"./index-6OTFNiIi.js";import{E as Se}from"./el-tag-C4SnL2z_.js";import{v as On}from"./directive-DsbMrhCX.js";import{d as z,h as j,B as H,G as He,f as U,H as We,y as _,F as ae,b as Nn,R as ke,V as _e,ba as W,D as qe,aS as Fn,a9 as ce,j as E,bb as Dn,P as Bn,ai as J,o as c,e as D,w as v,s as k,bc as Pn,bd as An,W as ve,S as Ln,E as Qe,a as Oe,aW as Mn,am as Kn,N as Xe,c as O,aX as Ze,Y as ye,n as fe,g as K,q as l,r as Jn,aL as Te,M as ne,be as Je,al as zn,l as jn,ab as xe,ad as he,x as P,aa as N,aQ as Gn,K as ze,ac as Un,A as oe,aY as Yn,aZ as Hn}from"./index-CD29OCdJ.js";import{E as $e}from"./index-BpXxrg-6.js";import"./el-tooltip-l0sNRNKZ.js";import{A as Wn}from"./AppConfirmDialog-BI5Yud_k.js";import{P as qn}from"./PageCard-Byh3epid.js";import{b as Qn,f as Xn,h as Ve,i as Zn,j as xn,k as et,l as nt}from"./dataset-C17jngxQ.js";import{E as tt,a as ot}from"./el-select-dn4MhMwo.js";import{_ as X}from"./index-BpugJXyE.js";import{E as at}from"./el-scrollbar-YCRG1835.js";import{d as lt,a as en,b as rt}from"./dropdown-6w4BXBMV.js";import{c as st}from"./castArray-BEiueV6y.js";import{c as nn,E as it}from"./el-dialog-Dl0YWHPs.js";import{_ as pe}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{E as tn}from"./index-D0wqu88j.js";import{E as ut}from"./el-pagination-B1UdckVp.js";import{E as dt,a as ct}from"./el-table-CzpPw-qp.js";import"./el-checkbox-Pnt9POcY.js";import{E as vt,a as ft}from"./el-form-item--AdlsBF7.js";import"./vnode-_QM9LlTR.js";import"./index-DpY84JwG.js";import"./validator-BQ0LVwAS.js";import"./index-D9N-GMuA.js";import"./clamp-BfrLWns4.js";import"./toNumber-B6P5MqPp.js";import"./index-roSlfP_P.js";import"./scroll-D-TPweuo.js";import"./raf-DGtHIxe2.js";import"./el-card-BvbOkvag.js";import"./index-D1b786GX.js";import"./index-C8FAS7l2.js";import"./_baseIteratee-CuPmYyG4.js";import"./use-dialog-DvXGfCuS.js";import"./_baseClone-Blem5BWg.js";import"./debounce-BCyqG5kC.js";import"./omit-9H73Nvwk.js";const Ee=Symbol("elDropdown"),on="elDropdown";var pt=z({inheritAttrs:!1});function mt(e,a,r,n,p,s){return j(e.$slots,"default")}var gt=X(pt,[["render",mt]]),wt=z({name:"ElCollectionItem",inheritAttrs:!1});function bt(e,a,r,n,p,s){return j(e.$slots,"default")}var yt=X(wt,[["render",bt]]);const an="data-el-collection-item",_t=e=>{const a=`El${e}Collection`,r=`${a}Item`,n=Symbol(a),p=Symbol(r);return{COLLECTION_INJECTION_KEY:n,COLLECTION_ITEM_INJECTION_KEY:p,ElCollection:Object.assign({},gt,{name:a,setup(){const s=_(),t=new Map;ae(n,{itemMap:t,getItems:(()=>{const w=U(s);if(!w)return[];const f=Array.from(w.querySelectorAll(`[${an}]`));return[...t.values()].sort((b,y)=>f.indexOf(b.ref)-f.indexOf(y.ref))}),collectionRef:s})}}),ElCollectionItem:Object.assign({},yt,{name:r,setup(s,{attrs:t}){const m=_(),w=H(n,void 0);ae(p,{collectionItemRef:m}),He(()=>{const f=U(m);f&&w.itemMap.set(f,{ref:f,...t})}),We(()=>{const f=U(m);w.itemMap.delete(f)})}})}},ht=Nn({style:{type:ke([String,Array,Object,Boolean]),default:void 0},currentTabId:{type:ke(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:ke(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:Et,ElCollectionItem:Ct,COLLECTION_INJECTION_KEY:ln,COLLECTION_ITEM_INJECTION_KEY:It}=_t("RovingFocusGroup"),Ne=Symbol("elRovingFocusGroup"),rn=Symbol("elRovingFocusGroupItem"),kt={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},$t=(e,a)=>e,Vt=(e,a,r)=>{const n=$t(_e(e));return kt[n]},Tt=(e,a)=>e.map((r,n)=>e[(n+a)%e.length]),je=e=>{const{activeElement:a}=document;for(const r of e)if(r===a||(r.focus(),a!==document.activeElement))return},Ge="currentTabIdChange",Ue="rovingFocusGroup.entryFocus",Rt={bubbles:!1,cancelable:!0};var St=z({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:ht,emits:[Ge,"entryFocus"],setup(e,{emit:a}){const r=_((e.currentTabId||e.defaultCurrentTabId)??null),n=_(!1),p=_(!1),s=_(),{getItems:t}=H(ln,void 0),m=E(()=>[{outline:"none"},e.style]),w=T=>{a(Ge,T)},f=()=>{n.value=!0},b=W(T=>{var S;(S=e.onMousedown)==null||S.call(e,T)},()=>{p.value=!0}),y=W(T=>{var S;(S=e.onFocus)==null||S.call(e,T)},T=>{const S=!U(p),{target:g,currentTarget:d}=T;if(g===d&&S&&!U(n)){const $=new Event(Ue,Rt);if(d==null||d.dispatchEvent($),!$.defaultPrevented){const C=t().filter(I=>I.focusable);je([C.find(I=>I.active),C.find(I=>I.id===U(r)),...C].filter(Boolean).map(I=>I.ref))}}p.value=!1}),u=W(T=>{var S;(S=e.onBlur)==null||S.call(e,T)},()=>{n.value=!1}),R=(...T)=>{a("entryFocus",...T)},F=T=>{const S=Vt(T);if(S){T.preventDefault();let g=t().filter(d=>d.focusable).map(d=>d.ref);switch(S){case"last":g.reverse();break;case"prev":case"next":{S==="prev"&&g.reverse();const d=g.indexOf(T.currentTarget);g=e.loop?Tt(g,d+1):g.slice(d+1);break}}Bn(()=>{je(g)})}};ae(Ne,{currentTabbedId:Dn(r),loop:ce(e,"loop"),tabIndex:E(()=>U(n)?-1:0),rovingFocusGroupRef:s,rovingFocusGroupRootStyle:m,orientation:ce(e,"orientation"),dir:ce(e,"dir"),onItemFocus:w,onItemShiftTab:f,onBlur:u,onFocus:y,onMousedown:b,onKeydown:F}),qe(()=>e.currentTabId,T=>{r.value=T??null}),Fn(s,Ue,R)}});function Ot(e,a,r,n,p,s){return j(e.$slots,"default")}var Nt=X(St,[["render",Ot]]),Ft=z({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:Et,ElRovingFocusGroupImpl:Nt}});function Dt(e,a,r,n,p,s){const t=J("el-roving-focus-group-impl"),m=J("el-focus-group-collection");return c(),D(m,null,{default:v(()=>[k(t,Pn(An(e.$attrs)),{default:v(()=>[j(e.$slots,"default")]),_:3},16)]),_:3})}var Bt=X(Ft,[["render",Dt]]),Pt=z({components:{ElRovingFocusCollectionItem:Ct},props:{focusable:{type:Boolean,default:!0},active:Boolean},emits:["mousedown","focus","keydown"],setup(e,{emit:a}){const{currentTabbedId:r,onItemFocus:n,onItemShiftTab:p,onKeydown:s}=H(Ne,void 0),t=Ye(),m=_(),w=W(u=>{a("mousedown",u)},u=>{e.focusable?n(U(t)):u.preventDefault()}),f=W(u=>{a("focus",u)},()=>{n(U(t))}),b=W(u=>{a("keydown",u)},u=>{const{shiftKey:R,target:F,currentTarget:T}=u;if(_e(u)===ve.tab&&R){p();return}F===T&&s(u)}),y=E(()=>r.value===U(t));return ae(rn,{rovingFocusGroupItemRef:m,tabIndex:E(()=>U(y)?0:-1),handleMousedown:w,handleFocus:f,handleKeydown:b}),{id:t,handleKeydown:b,handleFocus:f,handleMousedown:w}}});function At(e,a,r,n,p,s){const t=J("el-roving-focus-collection-item");return c(),D(t,{id:e.id,focusable:e.focusable,active:e.active},{default:v(()=>[j(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var Lt=X(Pt,[["render",At]]),Mt=Bt;const{ButtonGroup:Kt}=le;var Jt=z({name:"ElDropdown",components:{ElButton:le,ElButtonGroup:Kt,ElScrollbar:at,ElTooltip:Re,ElRovingFocusGroup:Mt,ElOnlyChild:Rn,ElIcon:Qe,ArrowDown:Ln},props:lt,emits:["visible-change","click","command"],setup(e,{emit:a}){const r=Xe(),n=Oe("dropdown"),{t:p}=Mn(),s=_(),t=_(),m=_(),w=_(),f=_(null),b=_(null),y=_(!1),u=E(()=>({maxHeight:Kn(e.maxHeight)})),R=E(()=>[n.m(C.value)]),F=E(()=>st(e.trigger)),T=Ye().value,S=E(()=>e.id||T);function g(){var B;(B=m.value)==null||B.onClose(void 0,0)}function d(){var B;(B=m.value)==null||B.onClose()}function $(){var B;(B=m.value)==null||B.onOpen()}const C=Sn();function I(...B){a("command",...B)}function L(){}function G(){const B=U(w);F.value.includes("hover")&&(B==null||B.focus({preventScroll:!0})),b.value=null}function Z(B){b.value=B}function x(){a("visible-change",!0)}function V(B){var re;y.value=(B==null?void 0:B.type)==="keydown",(re=w.value)==null||re.focus()}function Q(){a("visible-change",!1)}return ae(Ee,{contentRef:w,role:E(()=>e.role),triggerId:S,isUsingKeyboard:y,onItemEnter:L,onItemLeave:G,handleClose:d}),ae(on,{instance:r,dropdownSize:C,handleClick:g,commandHandler:I,trigger:ce(e,"trigger"),hideOnClick:ce(e,"hideOnClick")}),{t:p,ns:n,scrollbar:f,wrapStyle:u,dropdownTriggerKls:R,dropdownSize:C,triggerId:S,currentTabId:b,handleCurrentTabIdChange:Z,handlerMainButtonClick:B=>{a("click",B)},handleClose:d,handleOpen:$,handleBeforeShowTooltip:x,handleShowTooltip:V,handleBeforeHideTooltip:Q,popperRef:m,contentRef:w,triggeringElementRef:s,referenceElementRef:t}}});function zt(e,a,r,n,p,s){const t=J("el-roving-focus-group"),m=J("el-scrollbar"),w=J("el-only-child"),f=J("el-tooltip"),b=J("el-button"),y=J("arrow-down"),u=J("el-icon"),R=J("el-button-group");return c(),O("div",{class:fe([e.ns.b(),e.ns.is("disabled",e.disabled)])},[k(f,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"popper-style":e.popperStyle,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-arrow":e.showArrow,"show-after":e.trigger==="hover"?e.showTimeout:0,"hide-after":e.trigger==="hover"?e.hideTimeout:0,"virtual-ref":e.virtualRef??e.triggeringElementRef,"virtual-triggering":e.virtualTriggering||e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,"append-to":e.appendTo,pure:"","focus-on-target":"",persistent:e.persistent,onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},Ze({content:v(()=>[k(m,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:v(()=>[k(t,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange},{default:v(()=>[j(e.$slots,"dropdown")]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:v(()=>[k(w,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:v(()=>[j(e.$slots,"default")]),_:3},8,["id","tabindex"])]),key:"0"}]),1032,["role","effect","popper-options","placement","popper-class","popper-style","trigger","trigger-keys","trigger-target-el","show-arrow","show-after","hide-after","virtual-ref","virtual-triggering","disabled","transition","teleported","append-to","persistent","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(c(),D(R,{key:0},{default:v(()=>[k(b,ye({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:v(()=>[j(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),k(b,ye({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:v(()=>[k(u,{class:fe(e.ns.e("icon"))},{default:v(()=>[k(y)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):K("v-if",!0)],2)}var jt=X(Jt,[["render",zt]]),Gt=z({name:"DropdownItemImpl",components:{ElIcon:Qe},props:en,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:a}){const r=Oe("dropdown"),{role:n}=H(Ee,void 0),{collectionItemRef:p}=H(It,void 0),{rovingFocusGroupItemRef:s,tabIndex:t,handleFocus:m,handleKeydown:w,handleMousedown:f}=H(rn,void 0),b=nn(p,s),y=E(()=>n.value==="menu"?"menuitem":n.value==="navigation"?"link":"button"),u=W(R=>{const F=_e(R);if([ve.enter,ve.numpadEnter,ve.space].includes(F))return R.preventDefault(),R.stopImmediatePropagation(),a("clickimpl",R),!0},w);return{ns:r,itemRef:b,dataset:{[an]:""},role:y,tabIndex:t,handleFocus:m,handleKeydown:u,handleMousedown:f}}});const Ut=["aria-disabled","tabindex","role"];function Yt(e,a,r,n,p,s){const t=J("el-icon");return c(),O(ne,null,[e.divided?(c(),O("li",{key:0,role:"separator",class:fe(e.ns.bem("menu","item","divided"))},null,2)):K("v-if",!0),l("li",ye({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:a[0]||(a[0]=m=>e.$emit("clickimpl",m)),onFocus:a[1]||(a[1]=(...m)=>e.handleFocus&&e.handleFocus(...m)),onKeydown:a[2]||(a[2]=Te((...m)=>e.handleKeydown&&e.handleKeydown(...m),["self"])),onMousedown:a[3]||(a[3]=(...m)=>e.handleMousedown&&e.handleMousedown(...m)),onPointermove:a[4]||(a[4]=m=>e.$emit("pointermove",m)),onPointerleave:a[5]||(a[5]=m=>e.$emit("pointerleave",m))}),[e.icon||e.$slots.icon?(c(),D(t,{key:0},{default:v(()=>[j(e.$slots,"icon",{},()=>[(c(),D(Jn(e.icon)))])]),_:3})):K("v-if",!0),j(e.$slots,"default")],16,Ut)],64)}var Ht=X(Gt,[["render",Yt]]);const sn=()=>{const e=H(on,{});return{elDropdown:e,_elDropdownSize:E(()=>e==null?void 0:e.dropdownSize)}};var Wt=z({name:"ElDropdownItem",components:{ElRovingFocusItem:Lt,ElDropdownItemImpl:Ht},inheritAttrs:!1,props:en,emits:["pointermove","pointerleave","click"],setup(e,{emit:a,attrs:r}){const{elDropdown:n}=sn(),p=Xe(),{onItemEnter:s,onItemLeave:t}=H(Ee,void 0),m=W(f=>(a("pointermove",f),f.defaultPrevented),Je(f=>{if(e.disabled){t(f);return}const b=f.currentTarget;b===document.activeElement||b.contains(document.activeElement)||(s(f),f.defaultPrevented||b==null||b.focus({preventScroll:!0}))})),w=W(f=>(a("pointerleave",f),f.defaultPrevented),Je(t));return{handleClick:W(f=>{if(!e.disabled)return a("click",f),f.type!=="keydown"&&f.defaultPrevented},f=>{var b,y,u;if(e.disabled){f.stopImmediatePropagation();return}(b=n==null?void 0:n.hideOnClick)!=null&&b.value&&((y=n.handleClick)==null||y.call(n)),(u=n.commandHandler)==null||u.call(n,e.command,p,f)}),handlePointerMove:m,handlePointerLeave:w,propsAndAttrs:E(()=>({...e,...r}))}}});function qt(e,a,r,n,p,s){const t=J("el-dropdown-item-impl"),m=J("el-roving-focus-item");return c(),D(m,{focusable:!e.disabled},{default:v(()=>[k(t,ye(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),Ze({default:v(()=>[j(e.$slots,"default")]),_:2},[e.$slots.icon?{name:"icon",fn:v(()=>[j(e.$slots,"icon")]),key:"0"}:void 0]),1040,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])}var un=X(Wt,[["render",qt]]),Qt=z({name:"ElDropdownMenu",props:rt,setup(e){const a=Oe("dropdown"),{_elDropdownSize:r}=sn(),n=r.value,{contentRef:p,role:s,triggerId:t,isUsingKeyboard:m,handleClose:w}=H(Ee,void 0),{rovingFocusGroupRef:f,rovingFocusGroupRootStyle:b,onBlur:y,onFocus:u,onKeydown:R,onMousedown:F}=H(Ne,void 0),{collectionRef:T}=H(ln,void 0),S=E(()=>[a.b("menu"),a.bm("menu",n==null?void 0:n.value)]),g=nn(p,f,T),d=W(C=>{var I;(I=e.onKeydown)==null||I.call(e,C)},C=>{const{currentTarget:I,target:L}=C,G=_e(C);if(I.contains(L),ve.tab===G)return w();R(C)});function $(C){m.value&&u(C)}return{size:n,rovingFocusGroupRootStyle:b,dropdownKls:S,role:s,triggerId:t,dropdownListWrapperRef:g,handleKeydown:d,onBlur:y,handleFocus:$,onMousedown:F}}});const Xt=["role","aria-labelledby"];function Zt(e,a,r,n,p,s){return c(),O("ul",{ref:e.dropdownListWrapperRef,class:fe(e.dropdownKls),style:zn(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onFocusin:a[0]||(a[0]=(...t)=>e.handleFocus&&e.handleFocus(...t)),onFocusout:a[1]||(a[1]=(...t)=>e.onBlur&&e.onBlur(...t)),onKeydown:a[2]||(a[2]=Te((...t)=>e.handleKeydown&&e.handleKeydown(...t),["self"])),onMousedown:a[3]||(a[3]=Te((...t)=>e.onMousedown&&e.onMousedown(...t),["self"]))},[j(e.$slots,"default")],46,Xt)}var dn=X(Qt,[["render",Zt]]);const xt=jn(jt,{DropdownItem:un,DropdownMenu:dn}),eo=xe(un),no=xe(dn);function cn(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function to(e,a,r){try{const n=JSON.parse(e);return{sourceIndex:a,displayIndex:r,raw:e,kind:cn(n)?"object":"primitive",value:n}}catch(n){return{sourceIndex:a,displayIndex:r,raw:e,kind:"invalid",value:e,error:n instanceof Error?n.message:"JSON 格式不正确"}}}function oo(e,a){const r=a.toLowerCase();if(r.endsWith(".jsonl")){const n=[];return e.split(` +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/DatasetPreviewView-Bl5eFjFu.js +import{E as Tn}from"./el-alert-CoSdHkeK.js";import{O as Rn,E as Re}from"./el-popper-D1tByNLb.js";import{f as Ye,E as le,e as Sn}from"./index-BNsCyG4A.js";import{E as Se}from"./index-ByhS8A1d.js";import{v as On}from"./directive-B1cwmVOz.js";import{d as z,h as j,B as H,G as He,f as U,H as We,y as _,F as ae,b as Nn,R as ke,V as _e,ba as W,D as qe,aS as Fn,a9 as ce,j as E,bb as Dn,P as Bn,ai as J,o as c,e as D,w as v,s as k,bc as Pn,bd as An,W as ve,S as Ln,E as Qe,a as Oe,aW as Mn,am as Kn,N as Xe,c as O,aX as Ze,Y as ye,n as fe,g as K,q as l,r as Jn,aL as Te,M as ne,be as Je,al as zn,l as jn,ab as xe,ad as he,x as P,aa as N,aQ as Gn,K as ze,ac as Un,A as oe,aY as Yn,aZ as Hn}from"./index-Ds9AETjS.js";import{E as $e}from"./index-DqJTjrY3.js";import"./el-tooltip-l0sNRNKZ.js";/* empty css */import{A as Wn}from"./AppConfirmDialog-DssSJ2jv.js";import{P as qn}from"./PageCard-CV3p14-x.js";import{b as Qn,f as Xn,h as Ve,i as Zn,j as xn,k as et,l as nt}from"./dataset-BWM6p-mU.js";import{E as tt,a as ot}from"./el-select-BD70by95.js";import{_ as X}from"./index-sWKLi7bH.js";import{E as at}from"./el-scrollbar-CF42LNzg.js";import{d as lt,a as en,b as rt}from"./dropdown-CtOpTBjN.js";import{c as st}from"./castArray-BWI4UxBy.js";import{c as nn,E as it}from"./el-dialog-C3T3IeSf.js";import{_ as pe}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{E as tn}from"./index-h5FkzAP_.js";import{E as ut}from"./el-pagination-C9R_oTJ1.js";import{E as dt,a as ct}from"./el-table-C7Zx0Bmo.js";import"./el-checkbox-pV3o_8iy.js";import{E as vt,a as ft}from"./el-form-item-Bq0n_p5a.js";import"./vnode-CBiWHFw7.js";import"./index-BSbCLbaz.js";import"./validator-D1MwuZXj.js";import"./index-jBnYrPdD.js";import"./clamp-CyhADbdq.js";import"./toNumber-DrayciwT.js";import"./index-RtwaMutE.js";import"./scroll-DVmMv0d9.js";import"./raf-zQ00nuMI.js";import"./el-card-D86TXgMv.js";import"./index-CQlF36Lk.js";import"./index-B0if-AHo.js";import"./_baseIteratee-82gB5Yov.js";import"./use-dialog-gWD8AZr4.js";import"./_baseClone-CZxxnGCv.js";import"./debounce-D6mJVDYC.js";import"./omit-BzI1MV_K.js";const Ee=Symbol("elDropdown"),on="elDropdown";var pt=z({inheritAttrs:!1});function mt(e,a,r,n,p,s){return j(e.$slots,"default")}var gt=X(pt,[["render",mt]]),wt=z({name:"ElCollectionItem",inheritAttrs:!1});function bt(e,a,r,n,p,s){return j(e.$slots,"default")}var yt=X(wt,[["render",bt]]);const an="data-el-collection-item",_t=e=>{const a=`El${e}Collection`,r=`${a}Item`,n=Symbol(a),p=Symbol(r);return{COLLECTION_INJECTION_KEY:n,COLLECTION_ITEM_INJECTION_KEY:p,ElCollection:Object.assign({},gt,{name:a,setup(){const s=_(),t=new Map;ae(n,{itemMap:t,getItems:(()=>{const w=U(s);if(!w)return[];const f=Array.from(w.querySelectorAll(`[${an}]`));return[...t.values()].sort((b,y)=>f.indexOf(b.ref)-f.indexOf(y.ref))}),collectionRef:s})}}),ElCollectionItem:Object.assign({},yt,{name:r,setup(s,{attrs:t}){const m=_(),w=H(n,void 0);ae(p,{collectionItemRef:m}),He(()=>{const f=U(m);f&&w.itemMap.set(f,{ref:f,...t})}),We(()=>{const f=U(m);w.itemMap.delete(f)})}})}},ht=Nn({style:{type:ke([String,Array,Object,Boolean]),default:void 0},currentTabId:{type:ke(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:ke(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:Et,ElCollectionItem:Ct,COLLECTION_INJECTION_KEY:ln,COLLECTION_ITEM_INJECTION_KEY:It}=_t("RovingFocusGroup"),Ne=Symbol("elRovingFocusGroup"),rn=Symbol("elRovingFocusGroupItem"),kt={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},$t=(e,a)=>e,Vt=(e,a,r)=>{const n=$t(_e(e));return kt[n]},Tt=(e,a)=>e.map((r,n)=>e[(n+a)%e.length]),je=e=>{const{activeElement:a}=document;for(const r of e)if(r===a||(r.focus(),a!==document.activeElement))return},Ge="currentTabIdChange",Ue="rovingFocusGroup.entryFocus",Rt={bubbles:!1,cancelable:!0};var St=z({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:ht,emits:[Ge,"entryFocus"],setup(e,{emit:a}){const r=_((e.currentTabId||e.defaultCurrentTabId)??null),n=_(!1),p=_(!1),s=_(),{getItems:t}=H(ln,void 0),m=E(()=>[{outline:"none"},e.style]),w=T=>{a(Ge,T)},f=()=>{n.value=!0},b=W(T=>{var S;(S=e.onMousedown)==null||S.call(e,T)},()=>{p.value=!0}),y=W(T=>{var S;(S=e.onFocus)==null||S.call(e,T)},T=>{const S=!U(p),{target:g,currentTarget:d}=T;if(g===d&&S&&!U(n)){const $=new Event(Ue,Rt);if(d==null||d.dispatchEvent($),!$.defaultPrevented){const C=t().filter(I=>I.focusable);je([C.find(I=>I.active),C.find(I=>I.id===U(r)),...C].filter(Boolean).map(I=>I.ref))}}p.value=!1}),u=W(T=>{var S;(S=e.onBlur)==null||S.call(e,T)},()=>{n.value=!1}),R=(...T)=>{a("entryFocus",...T)},F=T=>{const S=Vt(T);if(S){T.preventDefault();let g=t().filter(d=>d.focusable).map(d=>d.ref);switch(S){case"last":g.reverse();break;case"prev":case"next":{S==="prev"&&g.reverse();const d=g.indexOf(T.currentTarget);g=e.loop?Tt(g,d+1):g.slice(d+1);break}}Bn(()=>{je(g)})}};ae(Ne,{currentTabbedId:Dn(r),loop:ce(e,"loop"),tabIndex:E(()=>U(n)?-1:0),rovingFocusGroupRef:s,rovingFocusGroupRootStyle:m,orientation:ce(e,"orientation"),dir:ce(e,"dir"),onItemFocus:w,onItemShiftTab:f,onBlur:u,onFocus:y,onMousedown:b,onKeydown:F}),qe(()=>e.currentTabId,T=>{r.value=T??null}),Fn(s,Ue,R)}});function Ot(e,a,r,n,p,s){return j(e.$slots,"default")}var Nt=X(St,[["render",Ot]]),Ft=z({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:Et,ElRovingFocusGroupImpl:Nt}});function Dt(e,a,r,n,p,s){const t=J("el-roving-focus-group-impl"),m=J("el-focus-group-collection");return c(),D(m,null,{default:v(()=>[k(t,Pn(An(e.$attrs)),{default:v(()=>[j(e.$slots,"default")]),_:3},16)]),_:3})}var Bt=X(Ft,[["render",Dt]]),Pt=z({components:{ElRovingFocusCollectionItem:Ct},props:{focusable:{type:Boolean,default:!0},active:Boolean},emits:["mousedown","focus","keydown"],setup(e,{emit:a}){const{currentTabbedId:r,onItemFocus:n,onItemShiftTab:p,onKeydown:s}=H(Ne,void 0),t=Ye(),m=_(),w=W(u=>{a("mousedown",u)},u=>{e.focusable?n(U(t)):u.preventDefault()}),f=W(u=>{a("focus",u)},()=>{n(U(t))}),b=W(u=>{a("keydown",u)},u=>{const{shiftKey:R,target:F,currentTarget:T}=u;if(_e(u)===ve.tab&&R){p();return}F===T&&s(u)}),y=E(()=>r.value===U(t));return ae(rn,{rovingFocusGroupItemRef:m,tabIndex:E(()=>U(y)?0:-1),handleMousedown:w,handleFocus:f,handleKeydown:b}),{id:t,handleKeydown:b,handleFocus:f,handleMousedown:w}}});function At(e,a,r,n,p,s){const t=J("el-roving-focus-collection-item");return c(),D(t,{id:e.id,focusable:e.focusable,active:e.active},{default:v(()=>[j(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var Lt=X(Pt,[["render",At]]),Mt=Bt;const{ButtonGroup:Kt}=le;var Jt=z({name:"ElDropdown",components:{ElButton:le,ElButtonGroup:Kt,ElScrollbar:at,ElTooltip:Re,ElRovingFocusGroup:Mt,ElOnlyChild:Rn,ElIcon:Qe,ArrowDown:Ln},props:lt,emits:["visible-change","click","command"],setup(e,{emit:a}){const r=Xe(),n=Oe("dropdown"),{t:p}=Mn(),s=_(),t=_(),m=_(),w=_(),f=_(null),b=_(null),y=_(!1),u=E(()=>({maxHeight:Kn(e.maxHeight)})),R=E(()=>[n.m(C.value)]),F=E(()=>st(e.trigger)),T=Ye().value,S=E(()=>e.id||T);function g(){var B;(B=m.value)==null||B.onClose(void 0,0)}function d(){var B;(B=m.value)==null||B.onClose()}function $(){var B;(B=m.value)==null||B.onOpen()}const C=Sn();function I(...B){a("command",...B)}function L(){}function G(){const B=U(w);F.value.includes("hover")&&(B==null||B.focus({preventScroll:!0})),b.value=null}function Z(B){b.value=B}function x(){a("visible-change",!0)}function V(B){var re;y.value=(B==null?void 0:B.type)==="keydown",(re=w.value)==null||re.focus()}function Q(){a("visible-change",!1)}return ae(Ee,{contentRef:w,role:E(()=>e.role),triggerId:S,isUsingKeyboard:y,onItemEnter:L,onItemLeave:G,handleClose:d}),ae(on,{instance:r,dropdownSize:C,handleClick:g,commandHandler:I,trigger:ce(e,"trigger"),hideOnClick:ce(e,"hideOnClick")}),{t:p,ns:n,scrollbar:f,wrapStyle:u,dropdownTriggerKls:R,dropdownSize:C,triggerId:S,currentTabId:b,handleCurrentTabIdChange:Z,handlerMainButtonClick:B=>{a("click",B)},handleClose:d,handleOpen:$,handleBeforeShowTooltip:x,handleShowTooltip:V,handleBeforeHideTooltip:Q,popperRef:m,contentRef:w,triggeringElementRef:s,referenceElementRef:t}}});function zt(e,a,r,n,p,s){const t=J("el-roving-focus-group"),m=J("el-scrollbar"),w=J("el-only-child"),f=J("el-tooltip"),b=J("el-button"),y=J("arrow-down"),u=J("el-icon"),R=J("el-button-group");return c(),O("div",{class:fe([e.ns.b(),e.ns.is("disabled",e.disabled)])},[k(f,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"popper-style":e.popperStyle,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-arrow":e.showArrow,"show-after":e.trigger==="hover"?e.showTimeout:0,"hide-after":e.trigger==="hover"?e.hideTimeout:0,"virtual-ref":e.virtualRef??e.triggeringElementRef,"virtual-triggering":e.virtualTriggering||e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,"append-to":e.appendTo,pure:"","focus-on-target":"",persistent:e.persistent,onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},Ze({content:v(()=>[k(m,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:v(()=>[k(t,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange},{default:v(()=>[j(e.$slots,"dropdown")]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:v(()=>[k(w,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:v(()=>[j(e.$slots,"default")]),_:3},8,["id","tabindex"])]),key:"0"}]),1032,["role","effect","popper-options","placement","popper-class","popper-style","trigger","trigger-keys","trigger-target-el","show-arrow","show-after","hide-after","virtual-ref","virtual-triggering","disabled","transition","teleported","append-to","persistent","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(c(),D(R,{key:0},{default:v(()=>[k(b,ye({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:v(()=>[j(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),k(b,ye({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:v(()=>[k(u,{class:fe(e.ns.e("icon"))},{default:v(()=>[k(y)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):K("v-if",!0)],2)}var jt=X(Jt,[["render",zt]]),Gt=z({name:"DropdownItemImpl",components:{ElIcon:Qe},props:en,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:a}){const r=Oe("dropdown"),{role:n}=H(Ee,void 0),{collectionItemRef:p}=H(It,void 0),{rovingFocusGroupItemRef:s,tabIndex:t,handleFocus:m,handleKeydown:w,handleMousedown:f}=H(rn,void 0),b=nn(p,s),y=E(()=>n.value==="menu"?"menuitem":n.value==="navigation"?"link":"button"),u=W(R=>{const F=_e(R);if([ve.enter,ve.numpadEnter,ve.space].includes(F))return R.preventDefault(),R.stopImmediatePropagation(),a("clickimpl",R),!0},w);return{ns:r,itemRef:b,dataset:{[an]:""},role:y,tabIndex:t,handleFocus:m,handleKeydown:u,handleMousedown:f}}});const Ut=["aria-disabled","tabindex","role"];function Yt(e,a,r,n,p,s){const t=J("el-icon");return c(),O(ne,null,[e.divided?(c(),O("li",{key:0,role:"separator",class:fe(e.ns.bem("menu","item","divided"))},null,2)):K("v-if",!0),l("li",ye({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:a[0]||(a[0]=m=>e.$emit("clickimpl",m)),onFocus:a[1]||(a[1]=(...m)=>e.handleFocus&&e.handleFocus(...m)),onKeydown:a[2]||(a[2]=Te((...m)=>e.handleKeydown&&e.handleKeydown(...m),["self"])),onMousedown:a[3]||(a[3]=(...m)=>e.handleMousedown&&e.handleMousedown(...m)),onPointermove:a[4]||(a[4]=m=>e.$emit("pointermove",m)),onPointerleave:a[5]||(a[5]=m=>e.$emit("pointerleave",m))}),[e.icon||e.$slots.icon?(c(),D(t,{key:0},{default:v(()=>[j(e.$slots,"icon",{},()=>[(c(),D(Jn(e.icon)))])]),_:3})):K("v-if",!0),j(e.$slots,"default")],16,Ut)],64)}var Ht=X(Gt,[["render",Yt]]);const sn=()=>{const e=H(on,{});return{elDropdown:e,_elDropdownSize:E(()=>e==null?void 0:e.dropdownSize)}};var Wt=z({name:"ElDropdownItem",components:{ElRovingFocusItem:Lt,ElDropdownItemImpl:Ht},inheritAttrs:!1,props:en,emits:["pointermove","pointerleave","click"],setup(e,{emit:a,attrs:r}){const{elDropdown:n}=sn(),p=Xe(),{onItemEnter:s,onItemLeave:t}=H(Ee,void 0),m=W(f=>(a("pointermove",f),f.defaultPrevented),Je(f=>{if(e.disabled){t(f);return}const b=f.currentTarget;b===document.activeElement||b.contains(document.activeElement)||(s(f),f.defaultPrevented||b==null||b.focus({preventScroll:!0}))})),w=W(f=>(a("pointerleave",f),f.defaultPrevented),Je(t));return{handleClick:W(f=>{if(!e.disabled)return a("click",f),f.type!=="keydown"&&f.defaultPrevented},f=>{var b,y,u;if(e.disabled){f.stopImmediatePropagation();return}(b=n==null?void 0:n.hideOnClick)!=null&&b.value&&((y=n.handleClick)==null||y.call(n)),(u=n.commandHandler)==null||u.call(n,e.command,p,f)}),handlePointerMove:m,handlePointerLeave:w,propsAndAttrs:E(()=>({...e,...r}))}}});function qt(e,a,r,n,p,s){const t=J("el-dropdown-item-impl"),m=J("el-roving-focus-item");return c(),D(m,{focusable:!e.disabled},{default:v(()=>[k(t,ye(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),Ze({default:v(()=>[j(e.$slots,"default")]),_:2},[e.$slots.icon?{name:"icon",fn:v(()=>[j(e.$slots,"icon")]),key:"0"}:void 0]),1040,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])}var un=X(Wt,[["render",qt]]),Qt=z({name:"ElDropdownMenu",props:rt,setup(e){const a=Oe("dropdown"),{_elDropdownSize:r}=sn(),n=r.value,{contentRef:p,role:s,triggerId:t,isUsingKeyboard:m,handleClose:w}=H(Ee,void 0),{rovingFocusGroupRef:f,rovingFocusGroupRootStyle:b,onBlur:y,onFocus:u,onKeydown:R,onMousedown:F}=H(Ne,void 0),{collectionRef:T}=H(ln,void 0),S=E(()=>[a.b("menu"),a.bm("menu",n==null?void 0:n.value)]),g=nn(p,f,T),d=W(C=>{var I;(I=e.onKeydown)==null||I.call(e,C)},C=>{const{currentTarget:I,target:L}=C,G=_e(C);if(I.contains(L),ve.tab===G)return w();R(C)});function $(C){m.value&&u(C)}return{size:n,rovingFocusGroupRootStyle:b,dropdownKls:S,role:s,triggerId:t,dropdownListWrapperRef:g,handleKeydown:d,onBlur:y,handleFocus:$,onMousedown:F}}});const Xt=["role","aria-labelledby"];function Zt(e,a,r,n,p,s){return c(),O("ul",{ref:e.dropdownListWrapperRef,class:fe(e.dropdownKls),style:zn(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onFocusin:a[0]||(a[0]=(...t)=>e.handleFocus&&e.handleFocus(...t)),onFocusout:a[1]||(a[1]=(...t)=>e.onBlur&&e.onBlur(...t)),onKeydown:a[2]||(a[2]=Te((...t)=>e.handleKeydown&&e.handleKeydown(...t),["self"])),onMousedown:a[3]||(a[3]=Te((...t)=>e.onMousedown&&e.onMousedown(...t),["self"]))},[j(e.$slots,"default")],46,Xt)}var dn=X(Qt,[["render",Zt]]);const xt=jn(jt,{DropdownItem:un,DropdownMenu:dn}),eo=xe(un),no=xe(dn);function cn(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function to(e,a,r){try{const n=JSON.parse(e);return{sourceIndex:a,displayIndex:r,raw:e,kind:cn(n)?"object":"primitive",value:n}}catch(n){return{sourceIndex:a,displayIndex:r,raw:e,kind:"invalid",value:e,error:n instanceof Error?n.message:"JSON 格式不正确"}}}function oo(e,a){const r=a.toLowerCase();if(r.endsWith(".jsonl")){const n=[];return e.split(` +======== +import{E as Tn}from"./el-alert-Ty1qfW58.js";import{O as Rn,E as Re}from"./el-popper-OAwpEmER.js";import{f as Ye,E as le,e as Sn}from"./index-D23K2h6y.js";import{E as Se}from"./index-BjlLyKON.js";import{v as On}from"./directive-DCr8Ae3g.js";import{d as z,h as j,B as H,G as He,f as U,H as We,y as _,F as ae,b as Nn,R as ke,V as _e,ba as W,D as qe,aT as Fn,a9 as ce,j as E,bb as Dn,P as Bn,ai as J,o as c,e as D,w as v,s as k,bc as Pn,bd as An,W as ve,S as Ln,E as Xe,a as Oe,aW as Mn,am as Kn,N as Ze,c as O,aX as Qe,Y as ye,n as fe,g as K,q as l,r as Jn,aL as Te,M as ne,be as Je,al as zn,l as jn,ab as xe,ad as he,x as P,aa as N,aR as Gn,K as ze,ac as Un,A as oe,aY as Yn,aZ as Hn}from"./index-CxbBjZKo.js";import{E as $e}from"./index-CLZoQJ1o.js";import"./el-tooltip-l0sNRNKZ.js";/* empty css */import{A as Wn}from"./AppConfirmDialog-D93e215T.js";import{P as qn}from"./PageCard-CC9cofwx.js";import{b as Xn,f as Zn,h as Ve,i as Qn,j as xn,k as et,l as nt}from"./dataset-BdzlocXa.js";import{E as tt,a as ot}from"./el-select-CeiDjMzB.js";import{_ as Z}from"./index-DHcidAHK.js";import{E as at}from"./el-scrollbar-B0E7ZTt3.js";import{d as lt,a as en,b as rt}from"./dropdown-yHGqI4WU.js";import{c as st}from"./castArray-CwVgzdTt.js";import{c as nn,E as it}from"./el-dialog-fpsmuz8Z.js";import{_ as pe}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{E as tn}from"./index-zJ9bqPrh.js";import{E as ut}from"./el-pagination-ByKJEnCx.js";import{E as dt,a as ct}from"./el-table-b_qkWXYf.js";import"./el-checkbox-C_TzqU9u.js";import{E as vt,a as ft}from"./el-form-item-BA3ZlfqF.js";import"./vnode-DIVHEdsp.js";import"./index-DxP0p4ch.js";import"./validator-AVoXfk3G.js";import"./index-C3HZL-2Y.js";import"./clamp-Ow4I6lPc.js";import"./toNumber-Yuob3eJv.js";import"./index-36LucyXi.js";import"./scroll-Dvb2mTx8.js";import"./raf-Bjl8yy5U.js";import"./el-card-BsCFVTSD.js";import"./index-Bzaib5AU.js";import"./index-C4wGR5UT.js";import"./_baseIteratee-C6JbNheX.js";import"./use-dialog-DGVjglW6.js";import"./_baseClone-B6d4qZbo.js";import"./debounce-BJxjS5F3.js";import"./omit-CbHF-OEy.js";const Ee=Symbol("elDropdown"),on="elDropdown";var pt=z({inheritAttrs:!1});function mt(e,a,r,n,p,s){return j(e.$slots,"default")}var gt=Z(pt,[["render",mt]]),wt=z({name:"ElCollectionItem",inheritAttrs:!1});function bt(e,a,r,n,p,s){return j(e.$slots,"default")}var yt=Z(wt,[["render",bt]]);const an="data-el-collection-item",_t=e=>{const a=`El${e}Collection`,r=`${a}Item`,n=Symbol(a),p=Symbol(r);return{COLLECTION_INJECTION_KEY:n,COLLECTION_ITEM_INJECTION_KEY:p,ElCollection:Object.assign({},gt,{name:a,setup(){const s=_(),t=new Map;ae(n,{itemMap:t,getItems:(()=>{const w=U(s);if(!w)return[];const f=Array.from(w.querySelectorAll(`[${an}]`));return[...t.values()].sort((b,y)=>f.indexOf(b.ref)-f.indexOf(y.ref))}),collectionRef:s})}}),ElCollectionItem:Object.assign({},yt,{name:r,setup(s,{attrs:t}){const m=_(),w=H(n,void 0);ae(p,{collectionItemRef:m}),He(()=>{const f=U(m);f&&w.itemMap.set(f,{ref:f,...t})}),We(()=>{const f=U(m);w.itemMap.delete(f)})}})}},ht=Nn({style:{type:ke([String,Array,Object,Boolean]),default:void 0},currentTabId:{type:ke(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:ke(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:Et,ElCollectionItem:Ct,COLLECTION_INJECTION_KEY:ln,COLLECTION_ITEM_INJECTION_KEY:It}=_t("RovingFocusGroup"),Ne=Symbol("elRovingFocusGroup"),rn=Symbol("elRovingFocusGroupItem"),kt={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},$t=(e,a)=>e,Vt=(e,a,r)=>{const n=$t(_e(e));return kt[n]},Tt=(e,a)=>e.map((r,n)=>e[(n+a)%e.length]),je=e=>{const{activeElement:a}=document;for(const r of e)if(r===a||(r.focus(),a!==document.activeElement))return},Ge="currentTabIdChange",Ue="rovingFocusGroup.entryFocus",Rt={bubbles:!1,cancelable:!0};var St=z({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:ht,emits:[Ge,"entryFocus"],setup(e,{emit:a}){const r=_((e.currentTabId||e.defaultCurrentTabId)??null),n=_(!1),p=_(!1),s=_(),{getItems:t}=H(ln,void 0),m=E(()=>[{outline:"none"},e.style]),w=T=>{a(Ge,T)},f=()=>{n.value=!0},b=W(T=>{var S;(S=e.onMousedown)==null||S.call(e,T)},()=>{p.value=!0}),y=W(T=>{var S;(S=e.onFocus)==null||S.call(e,T)},T=>{const S=!U(p),{target:g,currentTarget:d}=T;if(g===d&&S&&!U(n)){const $=new Event(Ue,Rt);if(d==null||d.dispatchEvent($),!$.defaultPrevented){const C=t().filter(I=>I.focusable);je([C.find(I=>I.active),C.find(I=>I.id===U(r)),...C].filter(Boolean).map(I=>I.ref))}}p.value=!1}),u=W(T=>{var S;(S=e.onBlur)==null||S.call(e,T)},()=>{n.value=!1}),R=(...T)=>{a("entryFocus",...T)},F=T=>{const S=Vt(T);if(S){T.preventDefault();let g=t().filter(d=>d.focusable).map(d=>d.ref);switch(S){case"last":g.reverse();break;case"prev":case"next":{S==="prev"&&g.reverse();const d=g.indexOf(T.currentTarget);g=e.loop?Tt(g,d+1):g.slice(d+1);break}}Bn(()=>{je(g)})}};ae(Ne,{currentTabbedId:Dn(r),loop:ce(e,"loop"),tabIndex:E(()=>U(n)?-1:0),rovingFocusGroupRef:s,rovingFocusGroupRootStyle:m,orientation:ce(e,"orientation"),dir:ce(e,"dir"),onItemFocus:w,onItemShiftTab:f,onBlur:u,onFocus:y,onMousedown:b,onKeydown:F}),qe(()=>e.currentTabId,T=>{r.value=T??null}),Fn(s,Ue,R)}});function Ot(e,a,r,n,p,s){return j(e.$slots,"default")}var Nt=Z(St,[["render",Ot]]),Ft=z({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:Et,ElRovingFocusGroupImpl:Nt}});function Dt(e,a,r,n,p,s){const t=J("el-roving-focus-group-impl"),m=J("el-focus-group-collection");return c(),D(m,null,{default:v(()=>[k(t,Pn(An(e.$attrs)),{default:v(()=>[j(e.$slots,"default")]),_:3},16)]),_:3})}var Bt=Z(Ft,[["render",Dt]]),Pt=z({components:{ElRovingFocusCollectionItem:Ct},props:{focusable:{type:Boolean,default:!0},active:Boolean},emits:["mousedown","focus","keydown"],setup(e,{emit:a}){const{currentTabbedId:r,onItemFocus:n,onItemShiftTab:p,onKeydown:s}=H(Ne,void 0),t=Ye(),m=_(),w=W(u=>{a("mousedown",u)},u=>{e.focusable?n(U(t)):u.preventDefault()}),f=W(u=>{a("focus",u)},()=>{n(U(t))}),b=W(u=>{a("keydown",u)},u=>{const{shiftKey:R,target:F,currentTarget:T}=u;if(_e(u)===ve.tab&&R){p();return}F===T&&s(u)}),y=E(()=>r.value===U(t));return ae(rn,{rovingFocusGroupItemRef:m,tabIndex:E(()=>U(y)?0:-1),handleMousedown:w,handleFocus:f,handleKeydown:b}),{id:t,handleKeydown:b,handleFocus:f,handleMousedown:w}}});function At(e,a,r,n,p,s){const t=J("el-roving-focus-collection-item");return c(),D(t,{id:e.id,focusable:e.focusable,active:e.active},{default:v(()=>[j(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var Lt=Z(Pt,[["render",At]]),Mt=Bt;const{ButtonGroup:Kt}=le;var Jt=z({name:"ElDropdown",components:{ElButton:le,ElButtonGroup:Kt,ElScrollbar:at,ElTooltip:Re,ElRovingFocusGroup:Mt,ElOnlyChild:Rn,ElIcon:Xe,ArrowDown:Ln},props:lt,emits:["visible-change","click","command"],setup(e,{emit:a}){const r=Ze(),n=Oe("dropdown"),{t:p}=Mn(),s=_(),t=_(),m=_(),w=_(),f=_(null),b=_(null),y=_(!1),u=E(()=>({maxHeight:Kn(e.maxHeight)})),R=E(()=>[n.m(C.value)]),F=E(()=>st(e.trigger)),T=Ye().value,S=E(()=>e.id||T);function g(){var B;(B=m.value)==null||B.onClose(void 0,0)}function d(){var B;(B=m.value)==null||B.onClose()}function $(){var B;(B=m.value)==null||B.onOpen()}const C=Sn();function I(...B){a("command",...B)}function L(){}function G(){const B=U(w);F.value.includes("hover")&&(B==null||B.focus({preventScroll:!0})),b.value=null}function Q(B){b.value=B}function x(){a("visible-change",!0)}function V(B){var re;y.value=(B==null?void 0:B.type)==="keydown",(re=w.value)==null||re.focus()}function X(){a("visible-change",!1)}return ae(Ee,{contentRef:w,role:E(()=>e.role),triggerId:S,isUsingKeyboard:y,onItemEnter:L,onItemLeave:G,handleClose:d}),ae(on,{instance:r,dropdownSize:C,handleClick:g,commandHandler:I,trigger:ce(e,"trigger"),hideOnClick:ce(e,"hideOnClick")}),{t:p,ns:n,scrollbar:f,wrapStyle:u,dropdownTriggerKls:R,dropdownSize:C,triggerId:S,currentTabId:b,handleCurrentTabIdChange:Q,handlerMainButtonClick:B=>{a("click",B)},handleClose:d,handleOpen:$,handleBeforeShowTooltip:x,handleShowTooltip:V,handleBeforeHideTooltip:X,popperRef:m,contentRef:w,triggeringElementRef:s,referenceElementRef:t}}});function zt(e,a,r,n,p,s){const t=J("el-roving-focus-group"),m=J("el-scrollbar"),w=J("el-only-child"),f=J("el-tooltip"),b=J("el-button"),y=J("arrow-down"),u=J("el-icon"),R=J("el-button-group");return c(),O("div",{class:fe([e.ns.b(),e.ns.is("disabled",e.disabled)])},[k(f,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"popper-style":e.popperStyle,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-arrow":e.showArrow,"show-after":e.trigger==="hover"?e.showTimeout:0,"hide-after":e.trigger==="hover"?e.hideTimeout:0,"virtual-ref":e.virtualRef??e.triggeringElementRef,"virtual-triggering":e.virtualTriggering||e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,"append-to":e.appendTo,pure:"","focus-on-target":"",persistent:e.persistent,onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},Qe({content:v(()=>[k(m,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:v(()=>[k(t,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange},{default:v(()=>[j(e.$slots,"dropdown")]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:v(()=>[k(w,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:v(()=>[j(e.$slots,"default")]),_:3},8,["id","tabindex"])]),key:"0"}]),1032,["role","effect","popper-options","placement","popper-class","popper-style","trigger","trigger-keys","trigger-target-el","show-arrow","show-after","hide-after","virtual-ref","virtual-triggering","disabled","transition","teleported","append-to","persistent","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(c(),D(R,{key:0},{default:v(()=>[k(b,ye({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:v(()=>[j(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),k(b,ye({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:v(()=>[k(u,{class:fe(e.ns.e("icon"))},{default:v(()=>[k(y)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):K("v-if",!0)],2)}var jt=Z(Jt,[["render",zt]]),Gt=z({name:"DropdownItemImpl",components:{ElIcon:Xe},props:en,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:a}){const r=Oe("dropdown"),{role:n}=H(Ee,void 0),{collectionItemRef:p}=H(It,void 0),{rovingFocusGroupItemRef:s,tabIndex:t,handleFocus:m,handleKeydown:w,handleMousedown:f}=H(rn,void 0),b=nn(p,s),y=E(()=>n.value==="menu"?"menuitem":n.value==="navigation"?"link":"button"),u=W(R=>{const F=_e(R);if([ve.enter,ve.numpadEnter,ve.space].includes(F))return R.preventDefault(),R.stopImmediatePropagation(),a("clickimpl",R),!0},w);return{ns:r,itemRef:b,dataset:{[an]:""},role:y,tabIndex:t,handleFocus:m,handleKeydown:u,handleMousedown:f}}});const Ut=["aria-disabled","tabindex","role"];function Yt(e,a,r,n,p,s){const t=J("el-icon");return c(),O(ne,null,[e.divided?(c(),O("li",{key:0,role:"separator",class:fe(e.ns.bem("menu","item","divided"))},null,2)):K("v-if",!0),l("li",ye({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:a[0]||(a[0]=m=>e.$emit("clickimpl",m)),onFocus:a[1]||(a[1]=(...m)=>e.handleFocus&&e.handleFocus(...m)),onKeydown:a[2]||(a[2]=Te((...m)=>e.handleKeydown&&e.handleKeydown(...m),["self"])),onMousedown:a[3]||(a[3]=(...m)=>e.handleMousedown&&e.handleMousedown(...m)),onPointermove:a[4]||(a[4]=m=>e.$emit("pointermove",m)),onPointerleave:a[5]||(a[5]=m=>e.$emit("pointerleave",m))}),[e.icon||e.$slots.icon?(c(),D(t,{key:0},{default:v(()=>[j(e.$slots,"icon",{},()=>[(c(),D(Jn(e.icon)))])]),_:3})):K("v-if",!0),j(e.$slots,"default")],16,Ut)],64)}var Ht=Z(Gt,[["render",Yt]]);const sn=()=>{const e=H(on,{});return{elDropdown:e,_elDropdownSize:E(()=>e==null?void 0:e.dropdownSize)}};var Wt=z({name:"ElDropdownItem",components:{ElRovingFocusItem:Lt,ElDropdownItemImpl:Ht},inheritAttrs:!1,props:en,emits:["pointermove","pointerleave","click"],setup(e,{emit:a,attrs:r}){const{elDropdown:n}=sn(),p=Ze(),{onItemEnter:s,onItemLeave:t}=H(Ee,void 0),m=W(f=>(a("pointermove",f),f.defaultPrevented),Je(f=>{if(e.disabled){t(f);return}const b=f.currentTarget;b===document.activeElement||b.contains(document.activeElement)||(s(f),f.defaultPrevented||b==null||b.focus({preventScroll:!0}))})),w=W(f=>(a("pointerleave",f),f.defaultPrevented),Je(t));return{handleClick:W(f=>{if(!e.disabled)return a("click",f),f.type!=="keydown"&&f.defaultPrevented},f=>{var b,y,u;if(e.disabled){f.stopImmediatePropagation();return}(b=n==null?void 0:n.hideOnClick)!=null&&b.value&&((y=n.handleClick)==null||y.call(n)),(u=n.commandHandler)==null||u.call(n,e.command,p,f)}),handlePointerMove:m,handlePointerLeave:w,propsAndAttrs:E(()=>({...e,...r}))}}});function qt(e,a,r,n,p,s){const t=J("el-dropdown-item-impl"),m=J("el-roving-focus-item");return c(),D(m,{focusable:!e.disabled},{default:v(()=>[k(t,ye(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),Qe({default:v(()=>[j(e.$slots,"default")]),_:2},[e.$slots.icon?{name:"icon",fn:v(()=>[j(e.$slots,"icon")]),key:"0"}:void 0]),1040,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])}var un=Z(Wt,[["render",qt]]),Xt=z({name:"ElDropdownMenu",props:rt,setup(e){const a=Oe("dropdown"),{_elDropdownSize:r}=sn(),n=r.value,{contentRef:p,role:s,triggerId:t,isUsingKeyboard:m,handleClose:w}=H(Ee,void 0),{rovingFocusGroupRef:f,rovingFocusGroupRootStyle:b,onBlur:y,onFocus:u,onKeydown:R,onMousedown:F}=H(Ne,void 0),{collectionRef:T}=H(ln,void 0),S=E(()=>[a.b("menu"),a.bm("menu",n==null?void 0:n.value)]),g=nn(p,f,T),d=W(C=>{var I;(I=e.onKeydown)==null||I.call(e,C)},C=>{const{currentTarget:I,target:L}=C,G=_e(C);if(I.contains(L),ve.tab===G)return w();R(C)});function $(C){m.value&&u(C)}return{size:n,rovingFocusGroupRootStyle:b,dropdownKls:S,role:s,triggerId:t,dropdownListWrapperRef:g,handleKeydown:d,onBlur:y,handleFocus:$,onMousedown:F}}});const Zt=["role","aria-labelledby"];function Qt(e,a,r,n,p,s){return c(),O("ul",{ref:e.dropdownListWrapperRef,class:fe(e.dropdownKls),style:zn(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onFocusin:a[0]||(a[0]=(...t)=>e.handleFocus&&e.handleFocus(...t)),onFocusout:a[1]||(a[1]=(...t)=>e.onBlur&&e.onBlur(...t)),onKeydown:a[2]||(a[2]=Te((...t)=>e.handleKeydown&&e.handleKeydown(...t),["self"])),onMousedown:a[3]||(a[3]=Te((...t)=>e.onMousedown&&e.onMousedown(...t),["self"]))},[j(e.$slots,"default")],46,Zt)}var dn=Z(Xt,[["render",Qt]]);const xt=jn(jt,{DropdownItem:un,DropdownMenu:dn}),eo=xe(un),no=xe(dn);function cn(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function to(e,a,r){try{const n=JSON.parse(e);return{sourceIndex:a,displayIndex:r,raw:e,kind:cn(n)?"object":"primitive",value:n}}catch(n){return{sourceIndex:a,displayIndex:r,raw:e,kind:"invalid",value:e,error:n instanceof Error?n.message:"JSON 格式不正确"}}}function oo(e,a){const r=a.toLowerCase();if(r.endsWith(".jsonl")){const n=[];return e.split(` +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/DatasetPreviewView-Lebw9VGN.js `).forEach((p,s)=>{p.trim()&&n.push(to(p,s,n.length+1))}),{supported:!0,records:n}}if(r.endsWith(".json"))try{const n=JSON.parse(e);return{supported:!0,records:(Array.isArray(n)?n:[n]).map((s,t)=>({sourceIndex:t,displayIndex:t+1,raw:JSON.stringify(s),kind:cn(s)?"object":"primitive",value:s}))}}catch(n){return{supported:!0,records:[{sourceIndex:0,displayIndex:1,raw:e,kind:"invalid",value:e,error:n instanceof Error?n.message:"JSON 格式不正确"}]}}return{supported:!1,records:[]}}function ao(e,a,r,n){const p=a.toLowerCase();if(p.endsWith(".jsonl")){const s=e.split(` `);if(r<0||r>=s.length)throw new Error("目标样本不存在");return s[r]=JSON.stringify(n),s.join(` +<<<<<<<< HEAD:frontend/dist/assets/DatasetPreviewView-DbgPnKVJ.js `)}if(p.endsWith(".json")){let s;try{s=JSON.parse(e)}catch{if(r!==0)throw new Error("目标样本不存在");return JSON.stringify(n,null,2)}if(Array.isArray(s)){if(r<0||r>=s.length)throw new Error("目标样本不存在");return s[r]=n,JSON.stringify(s,null,2)}if(r!==0)throw new Error("目标样本不存在");return JSON.stringify(n,null,2)}throw new Error("当前文件不支持逐条编辑")}const lo={class:"version-control-bar","aria-label":"数据集版本控制"},ro={class:"version-selector-group"},so={class:"version-status",role:"status","aria-live":"polite"},io={key:0,class:"fa fa-ellipsis-h","aria-hidden":"true"},uo=z({__name:"DatasetVersionBar",props:{modelValue:{},versions:{},viewedVersion:{},activeVersionId:{},isViewingActiveVersion:{type:Boolean},hasPendingVersionChanges:{type:Boolean},versionLoading:{type:Boolean},savingRecord:{type:Boolean},activatingVersion:{type:Boolean},deletingVersion:{type:Boolean}},emits:["update:modelValue","change","activate","delete"],setup(e,{emit:a}){const r=e,n=a,p=E(()=>r.versionLoading||r.savingRecord||r.activatingVersion||r.deletingVersion),s=E(()=>{var y;return((y=r.viewedVersion)==null?void 0:y.version)===1?"初始版本不可删除":r.versions.length<=1?"至少需要保留一个版本":""}),t=E(()=>p.value||!!s.value);function m(y){return new Date(y).toLocaleString("zh-CN",{hour12:!1})}function w(y){const u=y.id===r.activeVersionId?"当前版本":"历史版本";return`V${y.version} · ${u} · ${m(y.create_time)}`}function f(y){n("update:modelValue",y),n("change",y)}function b(y){if(!p.value){if(y==="activate"){n("activate");return}t.value||n("delete")}}return(y,u)=>{const R=ot,F=tt,T=Se,S=le,g=eo,d=no,$=xt;return c(),O("section",lo,[l("div",ro,[u[0]||(u[0]=l("label",{for:"dataset-version-select"},"数据版本",-1)),k(F,{id:"dataset-version-select","model-value":e.modelValue,class:"version-select",loading:e.versionLoading,disabled:e.versionLoading||e.savingRecord,"aria-label":"选择要查看的数据集版本",onChange:f},{default:v(()=>[(c(!0),O(ne,null,he(e.versions,C=>(c(),D(R,{key:C.id,label:w(C),value:C.id},null,8,["label","value"]))),128))]),_:1},8,["model-value","loading","disabled"])]),l("div",so,[e.viewedVersion?(c(),O(ne,{key:0},[e.isViewingActiveVersion?(c(),D(T,{key:0,type:"success"},{default:v(()=>[P(" V"+N(e.viewedVersion.version)+" · 当前版本 ",1)]),_:1})):(c(),D(T,{key:1,type:"info"},{default:v(()=>[P("V"+N(e.viewedVersion.version)+" · 历史版本(只读)",1)]),_:1})),e.hasPendingVersionChanges?(c(),D(T,{key:2,type:"warning"},{default:v(()=>[...u[1]||(u[1]=[P("有待保存修改",-1)])]),_:1})):K("",!0),l("span",null,N(e.viewedVersion.description||"无版本说明")+" · "+N(m(e.viewedVersion.create_time)),1)],64)):K("",!0)]),e.viewedVersion&&!e.isViewingActiveVersion?(c(),D($,{key:0,class:"version-actions",trigger:"click",placement:"bottom-end","popper-class":"version-actions-popper",disabled:p.value,onCommand:b},{dropdown:v(()=>[k(d,null,{default:v(()=>[k(g,{command:"activate",class:"version-action-primary",disabled:p.value},{default:v(()=>[...u[2]||(u[2]=[l("i",{class:"fa fa-check-circle","aria-hidden":"true"},null,-1),P(" 设为当前版本 ",-1)])]),_:1},8,["disabled"]),k(g,{command:"delete",class:"version-action-danger",disabled:t.value,title:s.value||void 0,divided:""},{default:v(()=>[...u[3]||(u[3]=[l("i",{class:"fa fa-trash-o","aria-hidden":"true"},null,-1),P(" 删除版本 ",-1)])]),_:1},8,["disabled","title"])]),_:1})]),default:v(()=>[k(S,{class:"version-actions-button",loading:e.activatingVersion||e.deletingVersion,disabled:p.value,"aria-label":"打开历史版本操作菜单"},{default:v(()=>[!e.activatingVersion&&!e.deletingVersion?(c(),O("i",io)):K("",!0)]),_:1},8,["loading","disabled"])]),_:1},8,["disabled"])):K("",!0)])}}}),co=pe(uo,[["__scopeId","data-v-e51d9b4f"]]),vo={class:"records-viewer"},fo={class:"records-toolbar"},po={key:0,class:"viewer-state record-empty-state"},mo={key:1,class:"record-table-shell","aria-label":"数据样本表格"},go={class:"table-index"},wo={class:"table-cell-text"},bo={class:"table-cell-text"},yo={key:2,class:"records-pagination"},be=10,_o=z({__name:"DatasetRecordTable",props:{records:{},isViewingActiveVersion:{type:Boolean},versionId:{}},emits:["edit"],setup(e,{emit:a}){const r=e,n=a,p=_(""),s=_(1),t=E(()=>{const g=new Set;r.records.forEach($=>{$.kind==="object"&&Object.keys($.value).forEach(C=>g.add(C))});const d=["instruction","question","prompt","input","context","output","answer","response"];return[...g].sort(($,C)=>{const I=L=>{const G=d.indexOf(L);return G===-1?d.length:G};return I($)-I(C)})}),m=E(()=>t.value.slice(0,6)),w=E(()=>r.records.filter(g=>g.kind==="invalid").length),f=E(()=>t.value.length>m.value.length),b=E(()=>{const g=p.value.trim().toLowerCase();return g?r.records.filter(d=>JSON.stringify(d.value).toLowerCase().includes(g)):r.records}),y=E(()=>{const g=(s.value-1)*be;return b.value.slice(g,g+be)});qe(()=>r.versionId,()=>{p.value="",s.value=1});function u(g){return g}function R(g){return typeof g=="string"?g||"(空)":JSON.stringify(g)}function F(g,d){if(g.kind!=="object")return g.kind==="invalid"?g.raw:R(g.value);const $=g.value;return Object.prototype.hasOwnProperty.call($,d)?R($[d]):"-"}function T(g){if(g.kind!=="object")return"-";const d=g.value;return t.value.filter($=>!m.value.includes($)&&Object.prototype.hasOwnProperty.call(d,$)).map($=>`${$}: ${R(d[$])}`).join(";")||"-"}function S({row:g}){return g.kind==="invalid"?"record-table-row-invalid":""}return(g,d)=>{const $=Se,C=tn,I=dt,L=Re,G=le,Z=ct,x=ut;return c(),O("div",vo,[l("div",fo,[l("div",null,[d[3]||(d[3]=l("strong",null,"样本数据",-1)),l("span",null,"共 "+N(e.records.length.toLocaleString())+" 条",1),w.value?(c(),D($,{key:0,size:"small",type:"danger"},{default:v(()=>[P(N(w.value)+" 条格式错误 ",1)]),_:1})):K("",!0)]),k(C,{modelValue:p.value,"onUpdate:modelValue":d[0]||(d[0]=V=>p.value=V),class:"record-search",clearable:"",placeholder:"搜索样本内容","aria-label":"搜索样本内容",onInput:d[1]||(d[1]=V=>s.value=1)},{prefix:v(()=>[...d[4]||(d[4]=[l("i",{class:"fa fa-search"},null,-1)])]),_:1},8,["modelValue"])]),b.value.length?(c(),O("div",mo,[k(Z,{data:y.value,"row-key":"sourceIndex",stripe:"",border:"",class:"record-table","row-class-name":S},{default:v(()=>[k(I,{label:"序号",width:"76",align:"center"},{default:v(({row:V})=>[l("div",go,[l("strong",null,N(V.displayIndex),1),l("small",null,"第 "+N(V.sourceIndex+1)+" 行",1)])]),_:1}),(c(!0),O(ne,null,he(m.value,V=>(c(),D(I,{key:V,label:V,"min-width":"220"},{default:v(({row:Q})=>[k(L,{content:F(Q,V),placement:"top","show-after":400},{default:v(()=>[l("div",wo,N(F(Q,V)),1)]),_:2},1032,["content"])]),_:2},1032,["label"]))),128)),f.value?(c(),D(I,{key:0,label:"其他字段","min-width":"240"},{default:v(({row:V})=>[k(L,{content:T(V),placement:"top","show-after":400},{default:v(()=>[l("div",bo,N(T(V)),1)]),_:2},1032,["content"])]),_:1})):K("",!0),k(I,{label:"状态",width:"96",align:"center"},{default:v(({row:V})=>[V.kind==="invalid"?(c(),D($,{key:0,size:"small",type:"danger"},{default:v(()=>[...d[6]||(d[6]=[P(" 格式错误 ",-1)])]),_:1})):V.kind==="primitive"?(c(),D($,{key:1,size:"small",type:"warning"},{default:v(()=>[...d[7]||(d[7]=[P(" 非对象 ",-1)])]),_:1})):(c(),D($,{key:2,size:"small",type:"success"},{default:v(()=>[...d[8]||(d[8]=[P("正常",-1)])]),_:1}))]),_:1}),k(I,{label:"操作",width:"96",align:"center",fixed:"right"},{default:v(({row:V})=>[k(G,{type:"primary",link:"",disabled:!e.isViewingActiveVersion,title:e.isViewingActiveVersion?"":"历史版本为只读,请先设为当前版本","aria-label":`${V.kind==="invalid"?"修复":"编辑"}第 ${V.displayIndex} 条数据`,onClick:Q=>n("edit",V)},{default:v(()=>[l("i",{class:fe(V.kind==="invalid"?"fa fa-wrench":"fa fa-pencil")},null,2),P(" "+N(V.kind==="invalid"?"修复":"编辑"),1)]),_:2},1032,["disabled","title","aria-label","onClick"])]),_:1})]),_:1},8,["data"])])):(c(),O("div",po,[...d[5]||(d[5]=[l("i",{class:"fa fa-search","aria-hidden":"true"},null,-1),l("span",null,"没有找到匹配的样本",-1)])])),b.value.length>be?(c(),O("div",yo,[k(x,{"current-page":s.value,"onUpdate:currentPage":d[2]||(d[2]=V=>s.value=V),"page-size":be,total:b.value.length,layout:"prev, pager, next",background:""},null,8,["current-page","total"])])):K("",!0)])}}}),ho=pe(_o,[["__scopeId","data-v-cc5ff1bc"]]),Eo={class:"editor-hint"},Co={key:0,class:"field-helper"},Io={key:1,class:"raw-record-editor"},ko={for:"raw-record-draft"},$o={class:"record-editor-actions"},Vo=z({__name:"DatasetRecordEditorDialog",props:{modelValue:{type:Boolean},record:{},editFields:{},rawDraft:{},savingRecord:{type:Boolean},hasDraftChanges:{type:Boolean},nextVersionNumber:{}},emits:["close","save","update:field","update:rawDraft"],setup(e,{emit:a}){const r=a;function n(s){r("close",s)}function p(s){(s.ctrlKey||s.metaKey)&&s.key.toLowerCase()==="s"&&(s.preventDefault(),r("save"))}return(s,t)=>{const m=tn,w=ft,f=vt,b=le,y=it;return c(),D(y,{"model-value":e.modelValue,class:"record-editor-dialog",width:"min(720px, 92vw)",title:e.record?`编辑第 ${e.record.displayIndex} 条数据`:"编辑数据","close-on-click-modal":!1,"close-on-press-escape":!e.savingRecord,"show-close":!e.savingRecord,"before-close":n,"destroy-on-close":""},{footer:v(()=>[l("div",$o,[l("span",null,N(e.hasDraftChanges?"有未暂存修改":"尚未修改")+" · Ctrl/⌘ + S 暂存",1),l("div",null,[k(b,{disabled:e.savingRecord,onClick:t[1]||(t[1]=u=>r("close"))},{default:v(()=>[...t[4]||(t[4]=[P("取消",-1)])]),_:1},8,["disabled"]),k(b,{type:"primary",loading:e.savingRecord,disabled:!e.hasDraftChanges,onClick:t[2]||(t[2]=u=>r("save"))},{default:v(()=>[...t[5]||(t[5]=[P(" 暂存修改 ",-1)])]),_:1},8,["loading","disabled"])])])]),default:v(()=>[e.record?(c(),O("div",{key:0,class:"record-editor",onKeydown:p},[l("div",Eo,[t[3]||(t[3]=l("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),P(" 当前修改会先暂存;完成多条修改后,点击文件工具栏中的“保存版本”创建 V"+N(e.nextVersionNumber)+"。 ",1)]),e.record.kind==="object"?(c(),D(f,{key:0,"label-position":"top"},{default:v(()=>[(c(!0),O(ne,null,he(e.editFields,(u,R)=>(c(),D(w,{key:u.key,label:u.key},{default:v(()=>[k(m,{"model-value":u.value,type:"textarea",rows:u.isJson?5:3,"aria-label":`编辑字段 ${u.key}`,placeholder:u.isJson?"请输入合法 JSON":`请输入 ${u.key}`,"onUpdate:modelValue":F=>r("update:field",R,F)},null,8,["model-value","rows","aria-label","placeholder","onUpdate:modelValue"]),u.isJson?(c(),O("small",Co," 该字段为对象、数组或数值,请保持合法 JSON 格式。 ")):K("",!0)]),_:2},1032,["label"]))),128))]),_:1})):(c(),O("div",Io,[l("label",ko,N(e.record.kind==="invalid"?"修复 JSON 内容":"JSON 内容"),1),k(m,{id:"raw-record-draft","model-value":e.rawDraft,type:"textarea",rows:10,"aria-label":"编辑当前条 JSON 内容",placeholder:"请输入合法 JSON","onUpdate:modelValue":t[0]||(t[0]=u=>r("update:rawDraft",u))},null,8,["model-value"])]))],32)):K("",!0)]),_:1},8,["model-value","title","close-on-press-escape","show-close"])}}}),To=pe(Vo,[["__scopeId","data-v-745108eb"]]),Ro=["aria-label"],So={class:"line-number","aria-hidden":"true"},Oo=z({__name:"DatasetRawPreview",props:{content:{},fileName:{}},setup(e){const a=e,r=E(()=>a.content.split(` `).slice(0,100));return(n,p)=>(c(),O("div",{class:"code-viewer",tabindex:"0","aria-label":`${e.fileName||""} 文件内容`},[(c(!0),O(ne,null,he(r.value,(s,t)=>(c(),O("div",{key:t,class:"code-line"},[l("span",So,N(t+1),1),l("code",null,N(s||" "),1)]))),128))],8,Ro))}}),No=pe(Oo,[["__scopeId","data-v-6d3466ce"]]),Fo={class:"page-header"},Do={class:"page-heading"},Bo={class:"heading-row"},Po={class:"dataset-overview","aria-label":"数据集概览"},Ao={class:"overview-item"},Lo={class:"overview-item"},Mo={class:"overview-item overview-item-wide"},Ko={key:1,class:"preview-workspace","aria-label":"数据集文件详情"},Jo={class:"content-pane"},zo={class:"content-toolbar"},jo={class:"content-title"},Go={class:"toolbar-actions"},Uo=["aria-busy"],Yo={key:0,class:"viewer-state"},Ho={key:1,class:"viewer-state viewer-state-error",role:"alert"},Wo={key:2,class:"viewer-state"},qo={class:"viewer-footer"},Qo={key:0},Xo={key:1},Zo={key:2,class:"empty-files","aria-label":"空文件列表"},xo=z({__name:"DatasetPreviewView",setup(e){const r=Un().params.id,n=_(),p=_(!1),s=_(!1),t=_(null),m=_(""),w=_(""),f=_(""),b=_(""),y=_(!1),u=_(null),R=_([]),F=_(""),T=_(""),S=_(!1),g=_(!1),d=_([]),$=_(""),C=_(""),I=_(""),L=_(!1),G=_(!1),Z=_(!1),x=_(1);let V=0;const Q=E(()=>{var o;return((o=t.value)==null?void 0:o.files)||[]}),A=E(()=>Q.value.find(o=>q(o)===m.value)),B=E(()=>w.value?w.value.split(` `).length:0),re=E(()=>{var o;return oo(w.value,((o=A.value)==null?void 0:o.name)||"")}),Ce=E(()=>re.value.supported),Fe=E(()=>re.value.records),te=E(()=>d.value.find(o=>o.id===I.value)),ee=E(()=>!!I.value&&I.value===C.value),vn=E(()=>{var o;return((o=u.value)==null?void 0:o.kind)==="object"?JSON.stringify(R.value):F.value}),Ie=E(()=>y.value&&vn.value!==T.value),me=E(()=>w.value!==f.value),De=E(()=>Ie.value||me.value),fn=E(()=>{var i,h;const o=String(((i=t.value)==null?void 0:i.type)||"").toLowerCase();return Yn[o]||((h=t.value)==null?void 0:h.type)||"-"}),pn=E(()=>{var i;const o=((i=t.value)==null?void 0:i.storage_type)||"";return Hn[o]||o||"-"}),mn=E(()=>{var o;return(o=t.value)!=null&&o.create_time?new Date(t.value.create_time).toLocaleString("zh-CN"):"-"});function q(o){return String(o.id||o.name)}async function gn(){p.value=!0;try{t.value=await Qn(r);const o=Q.value[0];o&&(m.value=q(o),await Be(o))}finally{p.value=!1}}async function Be(o){s.value=!0,b.value="";const i=++V;try{const h=await Xn(q(o)),Y=await Ve(q(o),h.active_version_id);if(i!==V)return;d.value=h.versions,x.value=h.next_version_number??Math.max(0,...h.versions.map(M=>M.version))+1,C.value=h.active_version_id,$.value=h.active_version_id,I.value=h.active_version_id,w.value=Y.content,f.value=Y.content,se()}catch{i===V&&(b.value="版本内容加载失败,请稍后重试")}finally{i===V&&(s.value=!1)}}async function wn(o){if(!A.value||o===I.value)return;const i=I.value;if(!await Pe("切换版本后,当前样本的未保存修改将丢失。")){$.value=i;return}L.value=!0;const h=++V;try{const Y=await Ve(q(A.value),o);if(h!==V)return;w.value=Y.content,f.value=Y.content,I.value=Y.version.id,se()}catch{h===V&&($.value=i)}finally{h===V&&(L.value=!1)}}async function bn(){if(!(!A.value||!te.value||ee.value)){try{await $e.confirm(`确定将 V${te.value.version} 设为当前版本吗?后续任务将使用该版本。`,"切换当前版本",{type:"warning",confirmButtonText:"设为当前版本",cancelButtonText:"取消"})}catch{return}G.value=!0;try{const o=await et(q(A.value),te.value.id,C.value);C.value=o.version.id,w.value=o.content,f.value=o.content,oe.success(`已将 V${o.version.version} 设为当前版本`)}finally{G.value=!1}}}async function yn(){var h,Y;if(!A.value||!te.value||ee.value||Z.value)return;const o=te.value;if(await((Y=n.value)==null?void 0:Y.open({title:`删除 V${o.version} 版本?`,message:`删除后无法恢复。当前版本 V${((h=d.value.find(M=>M.id===C.value))==null?void 0:h.version)||"-"} 不受影响。`,confirmText:"删除版本",cancelText:"取消",tone:"danger"}))){Z.value=!0,L.value=!0;try{const M=await nt(q(A.value),o.id,C.value),ge=await Ve(q(A.value),M.active_version_id);d.value=M.versions,x.value=M.next_version_number??Math.max(0,...M.versions.map(we=>we.version))+1,C.value=M.active_version_id,$.value=M.active_version_id,I.value=M.active_version_id,w.value=ge.content,f.value=ge.content,se(),oe.success(`V${o.version} 版本已删除`)}finally{L.value=!1,Z.value=!1}}}function _n(o){if(!ee.value){oe.warning("历史版本为只读,请先设为当前版本");return}u.value=o,o.kind==="object"?(R.value=Object.entries(o.value).map(([i,h])=>({key:i,value:typeof h=="string"?h:JSON.stringify(h,null,2),isJson:typeof h!="string"})),F.value=""):(R.value=[],F.value=o.raw),y.value=!0,T.value=o.kind==="object"?JSON.stringify(R.value):F.value}function se(){y.value=!1,u.value=null,R.value=[],F.value="",T.value=""}function hn(o,i){const h=R.value[o];h&&(h.value=i)}async function Pe(o="当前存在尚未保存为版本的修改,放弃后将无法恢复。"){if(!De.value)return!0;try{return await $e.confirm(o,"确认放弃修改?",{type:"warning",confirmButtonText:"放弃修改",cancelButtonText:"继续编辑"}),!0}catch{return!1}}async function En(){if(!Ie.value)return!0;try{return await $e.confirm("当前样本存在未暂存修改,放弃后将无法恢复。","确认放弃修改?",{type:"warning",confirmButtonText:"放弃修改",cancelButtonText:"继续编辑"}),!0}catch{return!1}}async function Cn(o){S.value||await En()&&(se(),o==null||o())}function In(){var i;if(((i=u.value)==null?void 0:i.kind)!=="object")return JSON.parse(F.value);const o={};for(const h of R.value)o[h.key]=h.isJson?JSON.parse(h.value):h.value;return o}async function kn(){if(!A.value||!u.value||S.value)return;const o=u.value;let i;try{i=In()}catch(h){oe.error(`JSON 格式校验失败:${h instanceof Error?h.message:"内容格式不正确"}`);return}S.value=!0;try{const h=ao(w.value,A.value.name,o.sourceIndex,i);w.value=h,se(),oe.success(`第 ${o.displayIndex} 条修改已暂存`)}finally{S.value=!1}}async function $n(){if(!(!A.value||!me.value||!ee.value||g.value)){g.value=!0;try{const o=await Zn(q(A.value),w.value,{description:"在线编辑数据样本",baseVersionId:I.value,expectedCurrentVersionId:C.value});w.value=o.content,f.value=o.content,d.value=[o.version,...d.value],x.value=o.version.version+1,C.value=o.version.id,$.value=o.version.id,I.value=o.version.id,oe.success(`V${o.version.version} 创建成功,已设为当前版本`)}finally{g.value=!1}}}function Ae(o){De.value&&(o.preventDefault(),o.returnValue="")}function Vn(o){window.open(xn(r,q(o),I.value),"_blank")}return Gn(()=>Pe()),He(()=>{window.addEventListener("beforeunload",Ae),gn()}),We(()=>window.removeEventListener("beforeunload",Ae)),(o,i)=>{const h=Se,Y=Tn,M=le,ge=Re,we=On;return ze((c(),D(qn,{class:"dataset-preview-page"},{header:v(()=>{var ie,ue;return[l("div",Fo,[l("div",Do,[i[4]||(i[4]=l("div",{class:"heading-icon","aria-hidden":"true"},[l("i",{class:"fa fa-database"})],-1)),l("div",null,[l("div",Bo,[l("h1",null,N(((ie=t.value)==null?void 0:ie.name)||"数据集详情"),1),k(h,{size:"small",type:"primary"},{default:v(()=>[P(N(fn.value),1)]),_:1}),k(h,{size:"small",type:"success"},{default:v(()=>[P(N(pn.value),1)]),_:1})]),l("p",null,N(((ue=t.value)==null?void 0:ue.description)||"逐条查看和修改数据样本"),1)])])])]}),default:v(()=>{var ie,ue,Le,Me,Ke;return[l("section",Po,[l("div",Ao,[i[5]||(i[5]=l("span",null,"数据条数",-1)),l("strong",null,N((((ie=t.value)==null?void 0:ie.count)||0).toLocaleString()),1)]),l("div",Lo,[i[6]||(i[6]=l("span",null,"数据大小",-1)),l("strong",null,N(((ue=t.value)==null?void 0:ue.size)||"-"),1)]),l("div",Mo,[i[7]||(i[7]=l("span",null,"创建时间",-1)),l("strong",null,N(mn.value),1)])]),k(co,{modelValue:$.value,"onUpdate:modelValue":i[0]||(i[0]=de=>$.value=de),versions:d.value,"viewed-version":te.value,"active-version-id":C.value,"is-viewing-active-version":ee.value,"has-pending-version-changes":me.value,"version-loading":L.value,"saving-record":S.value,"activating-version":G.value,"deleting-version":Z.value,onChange:wn,onActivate:bn,onDelete:yn},null,8,["modelValue","versions","viewed-version","active-version-id","is-viewing-active-version","has-pending-version-changes","version-loading","saving-record","activating-version","deleting-version"]),te.value&&!ee.value?(c(),D(Y,{key:0,class:"historical-version-alert",type:"info",closable:!1,"show-icon":"",title:"你正在查看历史版本,数据默认只读;设为当前版本后才可编辑。"})):K("",!0),Q.value.length?(c(),O("section",Ko,[l("div",Jo,[l("div",zo,[l("div",jo,[i[9]||(i[9]=l("span",{class:"file-icon","aria-hidden":"true"},[l("i",{class:"fa fa-file-text-o"})],-1)),l("div",null,[l("h2",null,N((Le=A.value)==null?void 0:Le.name),1),l("p",null,[P(N(((Me=A.value)==null?void 0:Me.size)||"未知大小")+" ",1),i[8]||(i[8]=l("span",{"aria-hidden":"true"},"·",-1)),Ce.value?(c(),O(ne,{key:0},[P(N(Fe.value.length.toLocaleString())+" 条记录",1)],64)):(c(),O(ne,{key:1},[P(N(B.value.toLocaleString())+" 行",1)],64))])])]),l("div",Go,[me.value&&ee.value?(c(),D(M,{key:0,type:"primary",loading:g.value,onClick:$n},{default:v(()=>[...i[10]||(i[10]=[l("i",{class:"fa fa-save"},null,-1),P("保存版本 ",-1)])]),_:1},8,["loading"])):K("",!0),k(ge,{content:"下载当前文件",placement:"top"},{default:v(()=>[k(M,{class:"download-button","aria-label":"下载当前文件",disabled:!A.value,onClick:i[1]||(i[1]=de=>A.value&&Vn(A.value))},{default:v(()=>[...i[11]||(i[11]=[l("i",{class:"fa fa-download"},null,-1),P("下载文件 ",-1)])]),_:1},8,["disabled"])]),_:1})])]),ze((c(),O("div",{class:"viewer-shell","aria-busy":s.value||L.value},[s.value?(c(),O("div",Yo,[...i[12]||(i[12]=[l("i",{class:"fa fa-circle-o-notch fa-spin","aria-hidden":"true"},null,-1),l("span",null,"正在加载文件内容…",-1)])])):b.value?(c(),O("div",Ho,[i[14]||(i[14]=l("i",{class:"fa fa-exclamation-circle","aria-hidden":"true"},null,-1)),l("strong",null,N(b.value),1),k(M,{size:"small",onClick:i[2]||(i[2]=de=>A.value&&Be(A.value))},{default:v(()=>[...i[13]||(i[13]=[P("重新加载",-1)])]),_:1})])):w.value?Ce.value?(c(),D(ho,{key:3,records:Fe.value,"is-viewing-active-version":ee.value,"version-id":I.value,onEdit:_n},null,8,["records","is-viewing-active-version","version-id"])):(c(),D(No,{key:4,content:w.value,"file-name":(Ke=A.value)==null?void 0:Ke.name},null,8,["content","file-name"])):(c(),O("div",Wo,[...i[15]||(i[15]=[l("i",{class:"fa fa-file-o","aria-hidden":"true"},null,-1),l("span",null,"当前文件暂无可预览内容",-1)])]))],8,Uo)),[[we,L.value]]),l("div",qo,[Ce.value?(c(),O("span",Qo,[...i[16]||(i[16]=[l("i",{class:"fa fa-list-alt","aria-hidden":"true"},null,-1),P(" 逐条查看与编辑",-1)])])):(c(),O("span",Xo,[...i[17]||(i[17]=[l("i",{class:"fa fa-eye","aria-hidden":"true"},null,-1),P(" 文本预览",-1)])])),i[18]||(i[18]=l("span",null,"UTF-8",-1))])])])):p.value?K("",!0):(c(),O("section",Zo,[...i[19]||(i[19]=[l("span",{class:"empty-icon","aria-hidden":"true"},[l("i",{class:"fa fa-folder-open-o"})],-1),l("h2",null,"暂无数据文件",-1),l("p",null,"该数据集还没有可供预览的文件。",-1)])])),k(To,{"model-value":y.value,record:u.value,"edit-fields":R.value,"raw-draft":F.value,"saving-record":S.value,"has-draft-changes":Ie.value,"next-version-number":x.value,onClose:Cn,onSave:kn,"onUpdate:field":hn,"onUpdate:rawDraft":i[3]||(i[3]=de=>F.value=de)},null,8,["model-value","record","edit-fields","raw-draft","saving-record","has-draft-changes","next-version-number"]),k(Wn,{ref_key:"confirmDialogRef",ref:n},null,512)]}),_:1})),[[we,p.value]])}}}),Ka=pe(xo,[["__scopeId","data-v-a92162ce"]]);export{Ka as default}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/DatasetPreviewView-Bl5eFjFu.js +`)}if(p.endsWith(".json")){let s;try{s=JSON.parse(e)}catch{if(r!==0)throw new Error("目标样本不存在");return JSON.stringify(n,null,2)}if(Array.isArray(s)){if(r<0||r>=s.length)throw new Error("目标样本不存在");return s[r]=n,JSON.stringify(s,null,2)}if(r!==0)throw new Error("目标样本不存在");return JSON.stringify(n,null,2)}throw new Error("当前文件不支持逐条编辑")}const lo={class:"version-control-bar","aria-label":"数据集版本控制"},ro={class:"version-selector-group"},so={class:"version-status",role:"status","aria-live":"polite"},io={key:0,class:"fa fa-ellipsis-h","aria-hidden":"true"},uo=z({__name:"DatasetVersionBar",props:{modelValue:{},versions:{},viewedVersion:{},activeVersionId:{},isViewingActiveVersion:{type:Boolean},hasPendingVersionChanges:{type:Boolean},versionLoading:{type:Boolean},savingRecord:{type:Boolean},activatingVersion:{type:Boolean},deletingVersion:{type:Boolean}},emits:["update:modelValue","change","activate","delete"],setup(e,{emit:a}){const r=e,n=a,p=E(()=>r.versionLoading||r.savingRecord||r.activatingVersion||r.deletingVersion),s=E(()=>{var y;return((y=r.viewedVersion)==null?void 0:y.version)===1?"初始版本不可删除":r.versions.length<=1?"至少需要保留一个版本":""}),t=E(()=>p.value||!!s.value);function m(y){return new Date(y).toLocaleString("zh-CN",{hour12:!1})}function w(y){const u=y.id===r.activeVersionId?"当前版本":"历史版本";return`V${y.version} · ${u} · ${m(y.create_time)}`}function f(y){n("update:modelValue",y),n("change",y)}function b(y){if(!p.value){if(y==="activate"){n("activate");return}t.value||n("delete")}}return(y,u)=>{const R=ot,F=tt,T=Se,S=le,g=eo,d=no,$=xt;return c(),O("section",lo,[l("div",ro,[u[0]||(u[0]=l("label",{for:"dataset-version-select"},"数据版本",-1)),k(F,{id:"dataset-version-select","model-value":e.modelValue,class:"version-select",loading:e.versionLoading,disabled:e.versionLoading||e.savingRecord,"aria-label":"选择要查看的数据集版本",onChange:f},{default:v(()=>[(c(!0),O(ne,null,he(e.versions,C=>(c(),D(R,{key:C.id,label:w(C),value:C.id},null,8,["label","value"]))),128))]),_:1},8,["model-value","loading","disabled"])]),l("div",so,[e.viewedVersion?(c(),O(ne,{key:0},[e.isViewingActiveVersion?(c(),D(T,{key:0,type:"success"},{default:v(()=>[P(" V"+N(e.viewedVersion.version)+" · 当前版本 ",1)]),_:1})):(c(),D(T,{key:1,type:"info"},{default:v(()=>[P("V"+N(e.viewedVersion.version)+" · 历史版本(只读)",1)]),_:1})),e.hasPendingVersionChanges?(c(),D(T,{key:2,type:"warning"},{default:v(()=>[...u[1]||(u[1]=[P("有待保存修改",-1)])]),_:1})):K("",!0),l("span",null,N(e.viewedVersion.description||"无版本说明")+" · "+N(m(e.viewedVersion.create_time)),1)],64)):K("",!0)]),e.viewedVersion&&!e.isViewingActiveVersion?(c(),D($,{key:0,class:"version-actions",trigger:"click",placement:"bottom-end","popper-class":"version-actions-popper",disabled:p.value,onCommand:b},{dropdown:v(()=>[k(d,null,{default:v(()=>[k(g,{command:"activate",class:"version-action-primary",disabled:p.value},{default:v(()=>[...u[2]||(u[2]=[l("i",{class:"fa fa-check-circle","aria-hidden":"true"},null,-1),P(" 设为当前版本 ",-1)])]),_:1},8,["disabled"]),k(g,{command:"delete",class:"version-action-danger",disabled:t.value,title:s.value||void 0,divided:""},{default:v(()=>[...u[3]||(u[3]=[l("i",{class:"fa fa-trash-o","aria-hidden":"true"},null,-1),P(" 删除版本 ",-1)])]),_:1},8,["disabled","title"])]),_:1})]),default:v(()=>[k(S,{class:"version-actions-button",loading:e.activatingVersion||e.deletingVersion,disabled:p.value,"aria-label":"打开历史版本操作菜单"},{default:v(()=>[!e.activatingVersion&&!e.deletingVersion?(c(),O("i",io)):K("",!0)]),_:1},8,["loading","disabled"])]),_:1},8,["disabled"])):K("",!0)])}}}),co=pe(uo,[["__scopeId","data-v-e51d9b4f"]]),vo={class:"records-viewer"},fo={class:"records-toolbar"},po={key:0,class:"viewer-state record-empty-state"},mo={key:1,class:"record-table-shell","aria-label":"数据样本表格"},go={class:"table-index"},wo={class:"table-cell-text"},bo={class:"table-cell-text"},yo={key:2,class:"records-pagination"},be=10,_o=z({__name:"DatasetRecordTable",props:{records:{},isViewingActiveVersion:{type:Boolean},versionId:{}},emits:["edit"],setup(e,{emit:a}){const r=e,n=a,p=_(""),s=_(1),t=E(()=>{const g=new Set;r.records.forEach($=>{$.kind==="object"&&Object.keys($.value).forEach(C=>g.add(C))});const d=["instruction","question","prompt","input","context","output","answer","response"];return[...g].sort(($,C)=>{const I=L=>{const G=d.indexOf(L);return G===-1?d.length:G};return I($)-I(C)})}),m=E(()=>t.value.slice(0,6)),w=E(()=>r.records.filter(g=>g.kind==="invalid").length),f=E(()=>t.value.length>m.value.length),b=E(()=>{const g=p.value.trim().toLowerCase();return g?r.records.filter(d=>JSON.stringify(d.value).toLowerCase().includes(g)):r.records}),y=E(()=>{const g=(s.value-1)*be;return b.value.slice(g,g+be)});qe(()=>r.versionId,()=>{p.value="",s.value=1});function u(g){return g}function R(g){return typeof g=="string"?g||"(空)":JSON.stringify(g)}function F(g,d){if(g.kind!=="object")return g.kind==="invalid"?g.raw:R(g.value);const $=g.value;return Object.prototype.hasOwnProperty.call($,d)?R($[d]):"-"}function T(g){if(g.kind!=="object")return"-";const d=g.value;return t.value.filter($=>!m.value.includes($)&&Object.prototype.hasOwnProperty.call(d,$)).map($=>`${$}: ${R(d[$])}`).join(";")||"-"}function S({row:g}){return g.kind==="invalid"?"record-table-row-invalid":""}return(g,d)=>{const $=Se,C=tn,I=dt,L=Re,G=le,Z=ct,x=ut;return c(),O("div",vo,[l("div",fo,[l("div",null,[d[3]||(d[3]=l("strong",null,"样本数据",-1)),l("span",null,"共 "+N(e.records.length.toLocaleString())+" 条",1),w.value?(c(),D($,{key:0,size:"small",type:"danger"},{default:v(()=>[P(N(w.value)+" 条格式错误 ",1)]),_:1})):K("",!0)]),k(C,{modelValue:p.value,"onUpdate:modelValue":d[0]||(d[0]=V=>p.value=V),class:"record-search",clearable:"",placeholder:"搜索样本内容","aria-label":"搜索样本内容",onInput:d[1]||(d[1]=V=>s.value=1)},{prefix:v(()=>[...d[4]||(d[4]=[l("i",{class:"fa fa-search"},null,-1)])]),_:1},8,["modelValue"])]),b.value.length?(c(),O("div",mo,[k(Z,{data:y.value,"row-key":"sourceIndex",stripe:"",border:"",class:"record-table","row-class-name":S},{default:v(()=>[k(I,{label:"序号",width:"76",align:"center"},{default:v(({row:V})=>[l("div",go,[l("strong",null,N(V.displayIndex),1),l("small",null,"第 "+N(V.sourceIndex+1)+" 行",1)])]),_:1}),(c(!0),O(ne,null,he(m.value,V=>(c(),D(I,{key:V,label:V,"min-width":"220"},{default:v(({row:Q})=>[k(L,{content:F(Q,V),placement:"top","show-after":400},{default:v(()=>[l("div",wo,N(F(Q,V)),1)]),_:2},1032,["content"])]),_:2},1032,["label"]))),128)),f.value?(c(),D(I,{key:0,label:"其他字段","min-width":"240"},{default:v(({row:V})=>[k(L,{content:T(V),placement:"top","show-after":400},{default:v(()=>[l("div",bo,N(T(V)),1)]),_:2},1032,["content"])]),_:1})):K("",!0),k(I,{label:"状态",width:"96",align:"center"},{default:v(({row:V})=>[V.kind==="invalid"?(c(),D($,{key:0,size:"small",type:"danger"},{default:v(()=>[...d[6]||(d[6]=[P(" 格式错误 ",-1)])]),_:1})):V.kind==="primitive"?(c(),D($,{key:1,size:"small",type:"warning"},{default:v(()=>[...d[7]||(d[7]=[P(" 非对象 ",-1)])]),_:1})):(c(),D($,{key:2,size:"small",type:"success"},{default:v(()=>[...d[8]||(d[8]=[P("正常",-1)])]),_:1}))]),_:1}),k(I,{label:"操作",width:"96",align:"center",fixed:"right"},{default:v(({row:V})=>[k(G,{type:"primary",link:"",disabled:!e.isViewingActiveVersion,title:e.isViewingActiveVersion?"":"历史版本为只读,请先设为当前版本","aria-label":`${V.kind==="invalid"?"修复":"编辑"}第 ${V.displayIndex} 条数据`,onClick:Q=>n("edit",V)},{default:v(()=>[l("i",{class:fe(V.kind==="invalid"?"fa fa-wrench":"fa fa-pencil")},null,2),P(" "+N(V.kind==="invalid"?"修复":"编辑"),1)]),_:2},1032,["disabled","title","aria-label","onClick"])]),_:1})]),_:1},8,["data"])])):(c(),O("div",po,[...d[5]||(d[5]=[l("i",{class:"fa fa-search","aria-hidden":"true"},null,-1),l("span",null,"没有找到匹配的样本",-1)])])),b.value.length>be?(c(),O("div",yo,[k(x,{"current-page":s.value,"onUpdate:currentPage":d[2]||(d[2]=V=>s.value=V),"page-size":be,total:b.value.length,layout:"prev, pager, next",background:""},null,8,["current-page","total"])])):K("",!0)])}}}),ho=pe(_o,[["__scopeId","data-v-cc5ff1bc"]]),Eo={class:"editor-hint"},Co={key:0,class:"field-helper"},Io={key:1,class:"raw-record-editor"},ko={for:"raw-record-draft"},$o={class:"record-editor-actions"},Vo=z({__name:"DatasetRecordEditorDialog",props:{modelValue:{type:Boolean},record:{},editFields:{},rawDraft:{},savingRecord:{type:Boolean},hasDraftChanges:{type:Boolean},nextVersionNumber:{}},emits:["close","save","update:field","update:rawDraft"],setup(e,{emit:a}){const r=a;function n(s){r("close",s)}function p(s){(s.ctrlKey||s.metaKey)&&s.key.toLowerCase()==="s"&&(s.preventDefault(),r("save"))}return(s,t)=>{const m=tn,w=ft,f=vt,b=le,y=it;return c(),D(y,{"model-value":e.modelValue,class:"record-editor-dialog",width:"min(720px, 92vw)",title:e.record?`编辑第 ${e.record.displayIndex} 条数据`:"编辑数据","close-on-click-modal":!1,"close-on-press-escape":!e.savingRecord,"show-close":!e.savingRecord,"before-close":n,"destroy-on-close":""},{footer:v(()=>[l("div",$o,[l("span",null,N(e.hasDraftChanges?"有未暂存修改":"尚未修改")+" · Ctrl/⌘ + S 暂存",1),l("div",null,[k(b,{disabled:e.savingRecord,onClick:t[1]||(t[1]=u=>r("close"))},{default:v(()=>[...t[4]||(t[4]=[P("取消",-1)])]),_:1},8,["disabled"]),k(b,{type:"primary",loading:e.savingRecord,disabled:!e.hasDraftChanges,onClick:t[2]||(t[2]=u=>r("save"))},{default:v(()=>[...t[5]||(t[5]=[P(" 暂存修改 ",-1)])]),_:1},8,["loading","disabled"])])])]),default:v(()=>[e.record?(c(),O("div",{key:0,class:"record-editor",onKeydown:p},[l("div",Eo,[t[3]||(t[3]=l("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),P(" 当前修改会先暂存;完成多条修改后,点击文件工具栏中的“保存版本”创建 V"+N(e.nextVersionNumber)+"。 ",1)]),e.record.kind==="object"?(c(),D(f,{key:0,"label-position":"top"},{default:v(()=>[(c(!0),O(ne,null,he(e.editFields,(u,R)=>(c(),D(w,{key:u.key,label:u.key},{default:v(()=>[k(m,{"model-value":u.value,type:"textarea",rows:u.isJson?5:3,"aria-label":`编辑字段 ${u.key}`,placeholder:u.isJson?"请输入合法 JSON":`请输入 ${u.key}`,"onUpdate:modelValue":F=>r("update:field",R,F)},null,8,["model-value","rows","aria-label","placeholder","onUpdate:modelValue"]),u.isJson?(c(),O("small",Co," 该字段为对象、数组或数值,请保持合法 JSON 格式。 ")):K("",!0)]),_:2},1032,["label"]))),128))]),_:1})):(c(),O("div",Io,[l("label",ko,N(e.record.kind==="invalid"?"修复 JSON 内容":"JSON 内容"),1),k(m,{id:"raw-record-draft","model-value":e.rawDraft,type:"textarea",rows:10,"aria-label":"编辑当前条 JSON 内容",placeholder:"请输入合法 JSON","onUpdate:modelValue":t[0]||(t[0]=u=>r("update:rawDraft",u))},null,8,["model-value"])]))],32)):K("",!0)]),_:1},8,["model-value","title","close-on-press-escape","show-close"])}}}),To=pe(Vo,[["__scopeId","data-v-745108eb"]]),Ro=["aria-label"],So={class:"line-number","aria-hidden":"true"},Oo=z({__name:"DatasetRawPreview",props:{content:{},fileName:{}},setup(e){const a=e,r=E(()=>a.content.split(` +`).slice(0,100));return(n,p)=>(c(),O("div",{class:"code-viewer",tabindex:"0","aria-label":`${e.fileName||""} 文件内容`},[(c(!0),O(ne,null,he(r.value,(s,t)=>(c(),O("div",{key:t,class:"code-line"},[l("span",So,N(t+1),1),l("code",null,N(s||" "),1)]))),128))],8,Ro))}}),No=pe(Oo,[["__scopeId","data-v-6d3466ce"]]),Fo={class:"page-header"},Do={class:"page-heading"},Bo={class:"heading-row"},Po={class:"dataset-overview","aria-label":"数据集概览"},Ao={class:"overview-item"},Lo={class:"overview-item"},Mo={class:"overview-item overview-item-wide"},Ko={key:1,class:"preview-workspace","aria-label":"数据集文件详情"},Jo={class:"content-pane"},zo={class:"content-toolbar"},jo={class:"content-title"},Go={class:"toolbar-actions"},Uo=["aria-busy"],Yo={key:0,class:"viewer-state"},Ho={key:1,class:"viewer-state viewer-state-error",role:"alert"},Wo={key:2,class:"viewer-state"},qo={class:"viewer-footer"},Qo={key:0},Xo={key:1},Zo={key:2,class:"empty-files","aria-label":"空文件列表"},xo=z({__name:"DatasetPreviewView",setup(e){const r=Un().params.id,n=_(),p=_(!1),s=_(!1),t=_(null),m=_(""),w=_(""),f=_(""),b=_(""),y=_(!1),u=_(null),R=_([]),F=_(""),T=_(""),S=_(!1),g=_(!1),d=_([]),$=_(""),C=_(""),I=_(""),L=_(!1),G=_(!1),Z=_(!1),x=_(1);let V=0;const Q=E(()=>{var o;return((o=t.value)==null?void 0:o.files)||[]}),A=E(()=>Q.value.find(o=>q(o)===m.value)),B=E(()=>w.value?w.value.split(` +`).length:0),re=E(()=>{var o;return oo(w.value,((o=A.value)==null?void 0:o.name)||"")}),Ce=E(()=>re.value.supported),Fe=E(()=>re.value.records),te=E(()=>d.value.find(o=>o.id===I.value)),ee=E(()=>!!I.value&&I.value===C.value),vn=E(()=>{var o;return((o=u.value)==null?void 0:o.kind)==="object"?JSON.stringify(R.value):F.value}),Ie=E(()=>y.value&&vn.value!==T.value),me=E(()=>w.value!==f.value),De=E(()=>Ie.value||me.value),fn=E(()=>{var i,h;const o=String(((i=t.value)==null?void 0:i.type)||"").toLowerCase();return Yn[o]||((h=t.value)==null?void 0:h.type)||"-"}),pn=E(()=>{var i;const o=((i=t.value)==null?void 0:i.storage_type)||"";return Hn[o]||o||"-"}),mn=E(()=>{var o;return(o=t.value)!=null&&o.create_time?new Date(t.value.create_time).toLocaleString("zh-CN"):"-"});function q(o){return String(o.id||o.name)}async function gn(){p.value=!0;try{t.value=await Qn(r);const o=Q.value[0];o&&(m.value=q(o),await Be(o))}finally{p.value=!1}}async function Be(o){s.value=!0,b.value="";const i=++V;try{const h=await Xn(q(o)),Y=await Ve(q(o),h.active_version_id);if(i!==V)return;d.value=h.versions,x.value=h.next_version_number??Math.max(0,...h.versions.map(M=>M.version))+1,C.value=h.active_version_id,$.value=h.active_version_id,I.value=h.active_version_id,w.value=Y.content,f.value=Y.content,se()}catch{i===V&&(b.value="版本内容加载失败,请稍后重试")}finally{i===V&&(s.value=!1)}}async function wn(o){if(!A.value||o===I.value)return;const i=I.value;if(!await Pe("切换版本后,当前样本的未保存修改将丢失。")){$.value=i;return}L.value=!0;const h=++V;try{const Y=await Ve(q(A.value),o);if(h!==V)return;w.value=Y.content,f.value=Y.content,I.value=Y.version.id,se()}catch{h===V&&($.value=i)}finally{h===V&&(L.value=!1)}}async function bn(){if(!(!A.value||!te.value||ee.value)){try{await $e.confirm(`确定将 V${te.value.version} 设为当前版本吗?后续任务将使用该版本。`,"切换当前版本",{type:"warning",confirmButtonText:"设为当前版本",cancelButtonText:"取消"})}catch{return}G.value=!0;try{const o=await et(q(A.value),te.value.id,C.value);C.value=o.version.id,w.value=o.content,f.value=o.content,oe.success(`已将 V${o.version.version} 设为当前版本`)}finally{G.value=!1}}}async function yn(){var h,Y;if(!A.value||!te.value||ee.value||Z.value)return;const o=te.value;if(await((Y=n.value)==null?void 0:Y.open({title:`删除 V${o.version} 版本?`,message:`删除后无法恢复。当前版本 V${((h=d.value.find(M=>M.id===C.value))==null?void 0:h.version)||"-"} 不受影响。`,confirmText:"删除版本",cancelText:"取消",tone:"danger"}))){Z.value=!0,L.value=!0;try{const M=await nt(q(A.value),o.id,C.value),ge=await Ve(q(A.value),M.active_version_id);d.value=M.versions,x.value=M.next_version_number??Math.max(0,...M.versions.map(we=>we.version))+1,C.value=M.active_version_id,$.value=M.active_version_id,I.value=M.active_version_id,w.value=ge.content,f.value=ge.content,se(),oe.success(`V${o.version} 版本已删除`)}finally{L.value=!1,Z.value=!1}}}function _n(o){if(!ee.value){oe.warning("历史版本为只读,请先设为当前版本");return}u.value=o,o.kind==="object"?(R.value=Object.entries(o.value).map(([i,h])=>({key:i,value:typeof h=="string"?h:JSON.stringify(h,null,2),isJson:typeof h!="string"})),F.value=""):(R.value=[],F.value=o.raw),y.value=!0,T.value=o.kind==="object"?JSON.stringify(R.value):F.value}function se(){y.value=!1,u.value=null,R.value=[],F.value="",T.value=""}function hn(o,i){const h=R.value[o];h&&(h.value=i)}async function Pe(o="当前存在尚未保存为版本的修改,放弃后将无法恢复。"){if(!De.value)return!0;try{return await $e.confirm(o,"确认放弃修改?",{type:"warning",confirmButtonText:"放弃修改",cancelButtonText:"继续编辑"}),!0}catch{return!1}}async function En(){if(!Ie.value)return!0;try{return await $e.confirm("当前样本存在未暂存修改,放弃后将无法恢复。","确认放弃修改?",{type:"warning",confirmButtonText:"放弃修改",cancelButtonText:"继续编辑"}),!0}catch{return!1}}async function Cn(o){S.value||await En()&&(se(),o==null||o())}function In(){var i;if(((i=u.value)==null?void 0:i.kind)!=="object")return JSON.parse(F.value);const o={};for(const h of R.value)o[h.key]=h.isJson?JSON.parse(h.value):h.value;return o}async function kn(){if(!A.value||!u.value||S.value)return;const o=u.value;let i;try{i=In()}catch(h){oe.error(`JSON 格式校验失败:${h instanceof Error?h.message:"内容格式不正确"}`);return}S.value=!0;try{const h=ao(w.value,A.value.name,o.sourceIndex,i);w.value=h,se(),oe.success(`第 ${o.displayIndex} 条修改已暂存`)}finally{S.value=!1}}async function $n(){if(!(!A.value||!me.value||!ee.value||g.value)){g.value=!0;try{const o=await Zn(q(A.value),w.value,{description:"在线编辑数据样本",baseVersionId:I.value,expectedCurrentVersionId:C.value});w.value=o.content,f.value=o.content,d.value=[o.version,...d.value],x.value=o.version.version+1,C.value=o.version.id,$.value=o.version.id,I.value=o.version.id,oe.success(`V${o.version.version} 创建成功,已设为当前版本`)}finally{g.value=!1}}}function Ae(o){De.value&&(o.preventDefault(),o.returnValue="")}function Vn(o){window.open(xn(r,q(o),I.value),"_blank")}return Gn(()=>Pe()),He(()=>{window.addEventListener("beforeunload",Ae),gn()}),We(()=>window.removeEventListener("beforeunload",Ae)),(o,i)=>{const h=Se,Y=Tn,M=le,ge=Re,we=On;return ze((c(),D(qn,{class:"dataset-preview-page"},{header:v(()=>{var ie,ue;return[l("div",Fo,[l("div",Do,[i[4]||(i[4]=l("div",{class:"heading-icon","aria-hidden":"true"},[l("i",{class:"fa fa-database"})],-1)),l("div",null,[l("div",Bo,[l("h1",null,N(((ie=t.value)==null?void 0:ie.name)||"数据集详情"),1),k(h,{size:"small",type:"primary"},{default:v(()=>[P(N(fn.value),1)]),_:1}),k(h,{size:"small",type:"success"},{default:v(()=>[P(N(pn.value),1)]),_:1})]),l("p",null,N(((ue=t.value)==null?void 0:ue.description)||"逐条查看和修改数据样本"),1)])])])]}),default:v(()=>{var ie,ue,Le,Me,Ke;return[l("section",Po,[l("div",Ao,[i[5]||(i[5]=l("span",null,"数据条数",-1)),l("strong",null,N((((ie=t.value)==null?void 0:ie.count)||0).toLocaleString()),1)]),l("div",Lo,[i[6]||(i[6]=l("span",null,"数据大小",-1)),l("strong",null,N(((ue=t.value)==null?void 0:ue.size)||"-"),1)]),l("div",Mo,[i[7]||(i[7]=l("span",null,"创建时间",-1)),l("strong",null,N(mn.value),1)])]),k(co,{modelValue:$.value,"onUpdate:modelValue":i[0]||(i[0]=de=>$.value=de),versions:d.value,"viewed-version":te.value,"active-version-id":C.value,"is-viewing-active-version":ee.value,"has-pending-version-changes":me.value,"version-loading":L.value,"saving-record":S.value,"activating-version":G.value,"deleting-version":Z.value,onChange:wn,onActivate:bn,onDelete:yn},null,8,["modelValue","versions","viewed-version","active-version-id","is-viewing-active-version","has-pending-version-changes","version-loading","saving-record","activating-version","deleting-version"]),te.value&&!ee.value?(c(),D(Y,{key:0,class:"historical-version-alert",type:"info",closable:!1,"show-icon":"",title:"你正在查看历史版本,数据默认只读;设为当前版本后才可编辑。"})):K("",!0),Q.value.length?(c(),O("section",Ko,[l("div",Jo,[l("div",zo,[l("div",jo,[i[9]||(i[9]=l("span",{class:"file-icon","aria-hidden":"true"},[l("i",{class:"fa fa-file-text-o"})],-1)),l("div",null,[l("h2",null,N((Le=A.value)==null?void 0:Le.name),1),l("p",null,[P(N(((Me=A.value)==null?void 0:Me.size)||"未知大小")+" ",1),i[8]||(i[8]=l("span",{"aria-hidden":"true"},"·",-1)),Ce.value?(c(),O(ne,{key:0},[P(N(Fe.value.length.toLocaleString())+" 条记录",1)],64)):(c(),O(ne,{key:1},[P(N(B.value.toLocaleString())+" 行",1)],64))])])]),l("div",Go,[me.value&&ee.value?(c(),D(M,{key:0,type:"primary",loading:g.value,onClick:$n},{default:v(()=>[...i[10]||(i[10]=[l("i",{class:"fa fa-save"},null,-1),P("保存版本 ",-1)])]),_:1},8,["loading"])):K("",!0),k(ge,{content:"下载当前文件",placement:"top"},{default:v(()=>[k(M,{class:"download-button","aria-label":"下载当前文件",disabled:!A.value,onClick:i[1]||(i[1]=de=>A.value&&Vn(A.value))},{default:v(()=>[...i[11]||(i[11]=[l("i",{class:"fa fa-download"},null,-1),P("下载文件 ",-1)])]),_:1},8,["disabled"])]),_:1})])]),ze((c(),O("div",{class:"viewer-shell","aria-busy":s.value||L.value},[s.value?(c(),O("div",Yo,[...i[12]||(i[12]=[l("i",{class:"fa fa-circle-o-notch fa-spin","aria-hidden":"true"},null,-1),l("span",null,"正在加载文件内容…",-1)])])):b.value?(c(),O("div",Ho,[i[14]||(i[14]=l("i",{class:"fa fa-exclamation-circle","aria-hidden":"true"},null,-1)),l("strong",null,N(b.value),1),k(M,{size:"small",onClick:i[2]||(i[2]=de=>A.value&&Be(A.value))},{default:v(()=>[...i[13]||(i[13]=[P("重新加载",-1)])]),_:1})])):w.value?Ce.value?(c(),D(ho,{key:3,records:Fe.value,"is-viewing-active-version":ee.value,"version-id":I.value,onEdit:_n},null,8,["records","is-viewing-active-version","version-id"])):(c(),D(No,{key:4,content:w.value,"file-name":(Ke=A.value)==null?void 0:Ke.name},null,8,["content","file-name"])):(c(),O("div",Wo,[...i[15]||(i[15]=[l("i",{class:"fa fa-file-o","aria-hidden":"true"},null,-1),l("span",null,"当前文件暂无可预览内容",-1)])]))],8,Uo)),[[we,L.value]]),l("div",qo,[Ce.value?(c(),O("span",Qo,[...i[16]||(i[16]=[l("i",{class:"fa fa-list-alt","aria-hidden":"true"},null,-1),P(" 逐条查看与编辑",-1)])])):(c(),O("span",Xo,[...i[17]||(i[17]=[l("i",{class:"fa fa-eye","aria-hidden":"true"},null,-1),P(" 文本预览",-1)])])),i[18]||(i[18]=l("span",null,"UTF-8",-1))])])])):p.value?K("",!0):(c(),O("section",Zo,[...i[19]||(i[19]=[l("span",{class:"empty-icon","aria-hidden":"true"},[l("i",{class:"fa fa-folder-open-o"})],-1),l("h2",null,"暂无数据文件",-1),l("p",null,"该数据集还没有可供预览的文件。",-1)])])),k(To,{"model-value":y.value,record:u.value,"edit-fields":R.value,"raw-draft":F.value,"saving-record":S.value,"has-draft-changes":Ie.value,"next-version-number":x.value,onClose:Cn,onSave:kn,"onUpdate:field":hn,"onUpdate:rawDraft":i[3]||(i[3]=de=>F.value=de)},null,8,["model-value","record","edit-fields","raw-draft","saving-record","has-draft-changes","next-version-number"]),k(Wn,{ref_key:"confirmDialogRef",ref:n},null,512)]}),_:1})),[[we,p.value]])}}}),Ja=pe(xo,[["__scopeId","data-v-a92162ce"]]);export{Ja as default}; +======== +`)}if(p.endsWith(".json")){let s;try{s=JSON.parse(e)}catch{if(r!==0)throw new Error("目标样本不存在");return JSON.stringify(n,null,2)}if(Array.isArray(s)){if(r<0||r>=s.length)throw new Error("目标样本不存在");return s[r]=n,JSON.stringify(s,null,2)}if(r!==0)throw new Error("目标样本不存在");return JSON.stringify(n,null,2)}throw new Error("当前文件不支持逐条编辑")}const lo={class:"version-control-bar","aria-label":"数据集版本控制"},ro={class:"version-selector-group"},so={class:"version-status",role:"status","aria-live":"polite"},io={key:0,class:"fa fa-ellipsis-h","aria-hidden":"true"},uo=z({__name:"DatasetVersionBar",props:{modelValue:{},versions:{},viewedVersion:{},activeVersionId:{},isViewingActiveVersion:{type:Boolean},hasPendingVersionChanges:{type:Boolean},versionLoading:{type:Boolean},savingRecord:{type:Boolean},activatingVersion:{type:Boolean},deletingVersion:{type:Boolean}},emits:["update:modelValue","change","activate","delete"],setup(e,{emit:a}){const r=e,n=a,p=E(()=>r.versionLoading||r.savingRecord||r.activatingVersion||r.deletingVersion),s=E(()=>{var y;return((y=r.viewedVersion)==null?void 0:y.version)===1?"初始版本不可删除":r.versions.length<=1?"至少需要保留一个版本":""}),t=E(()=>p.value||!!s.value);function m(y){return new Date(y).toLocaleString("zh-CN",{hour12:!1})}function w(y){const u=y.id===r.activeVersionId?"当前版本":"历史版本";return`V${y.version} · ${u} · ${m(y.create_time)}`}function f(y){n("update:modelValue",y),n("change",y)}function b(y){if(!p.value){if(y==="activate"){n("activate");return}t.value||n("delete")}}return(y,u)=>{const R=ot,F=tt,T=Se,S=le,g=eo,d=no,$=xt;return c(),O("section",lo,[l("div",ro,[u[0]||(u[0]=l("label",{for:"dataset-version-select"},"数据版本",-1)),k(F,{id:"dataset-version-select","model-value":e.modelValue,class:"version-select",loading:e.versionLoading,disabled:e.versionLoading||e.savingRecord,"aria-label":"选择要查看的数据集版本",onChange:f},{default:v(()=>[(c(!0),O(ne,null,he(e.versions,C=>(c(),D(R,{key:C.id,label:w(C),value:C.id},null,8,["label","value"]))),128))]),_:1},8,["model-value","loading","disabled"])]),l("div",so,[e.viewedVersion?(c(),O(ne,{key:0},[e.isViewingActiveVersion?(c(),D(T,{key:0,type:"success"},{default:v(()=>[P(" V"+N(e.viewedVersion.version)+" · 当前版本 ",1)]),_:1})):(c(),D(T,{key:1,type:"info"},{default:v(()=>[P("V"+N(e.viewedVersion.version)+" · 历史版本(只读)",1)]),_:1})),e.hasPendingVersionChanges?(c(),D(T,{key:2,type:"warning"},{default:v(()=>[...u[1]||(u[1]=[P("有待保存修改",-1)])]),_:1})):K("",!0),l("span",null,N(e.viewedVersion.description||"无版本说明")+" · "+N(m(e.viewedVersion.create_time)),1)],64)):K("",!0)]),e.viewedVersion&&!e.isViewingActiveVersion?(c(),D($,{key:0,class:"version-actions",trigger:"click",placement:"bottom-end","popper-class":"version-actions-popper",disabled:p.value,onCommand:b},{dropdown:v(()=>[k(d,null,{default:v(()=>[k(g,{command:"activate",class:"version-action-primary",disabled:p.value},{default:v(()=>[...u[2]||(u[2]=[l("i",{class:"fa fa-check-circle","aria-hidden":"true"},null,-1),P(" 设为当前版本 ",-1)])]),_:1},8,["disabled"]),k(g,{command:"delete",class:"version-action-danger",disabled:t.value,title:s.value||void 0,divided:""},{default:v(()=>[...u[3]||(u[3]=[l("i",{class:"fa fa-trash-o","aria-hidden":"true"},null,-1),P(" 删除版本 ",-1)])]),_:1},8,["disabled","title"])]),_:1})]),default:v(()=>[k(S,{class:"version-actions-button",loading:e.activatingVersion||e.deletingVersion,disabled:p.value,"aria-label":"打开历史版本操作菜单"},{default:v(()=>[!e.activatingVersion&&!e.deletingVersion?(c(),O("i",io)):K("",!0)]),_:1},8,["loading","disabled"])]),_:1},8,["disabled"])):K("",!0)])}}}),co=pe(uo,[["__scopeId","data-v-e7e4bc14"]]),vo={class:"records-viewer"},fo={class:"records-toolbar"},po={key:0,class:"viewer-state record-empty-state"},mo={key:1,class:"record-table-shell","aria-label":"数据样本表格"},go={class:"table-index"},wo={class:"table-cell-text"},bo={class:"table-cell-text"},yo={key:2,class:"records-pagination"},be=10,_o=z({__name:"DatasetRecordTable",props:{records:{},isViewingActiveVersion:{type:Boolean},versionId:{}},emits:["edit"],setup(e,{emit:a}){const r=e,n=a,p=_(""),s=_(1),t=E(()=>{const g=new Set;r.records.forEach($=>{$.kind==="object"&&Object.keys($.value).forEach(C=>g.add(C))});const d=["instruction","question","prompt","input","context","output","answer","response"];return[...g].sort(($,C)=>{const I=L=>{const G=d.indexOf(L);return G===-1?d.length:G};return I($)-I(C)})}),m=E(()=>t.value.slice(0,6)),w=E(()=>r.records.filter(g=>g.kind==="invalid").length),f=E(()=>t.value.length>m.value.length),b=E(()=>{const g=p.value.trim().toLowerCase();return g?r.records.filter(d=>JSON.stringify(d.value).toLowerCase().includes(g)):r.records}),y=E(()=>{const g=(s.value-1)*be;return b.value.slice(g,g+be)});qe(()=>r.versionId,()=>{p.value="",s.value=1});function u(g){return g}function R(g){return typeof g=="string"?g||"(空)":JSON.stringify(g)}function F(g,d){if(g.kind!=="object")return g.kind==="invalid"?g.raw:R(g.value);const $=g.value;return Object.prototype.hasOwnProperty.call($,d)?R($[d]):"-"}function T(g){if(g.kind!=="object")return"-";const d=g.value;return t.value.filter($=>!m.value.includes($)&&Object.prototype.hasOwnProperty.call(d,$)).map($=>`${$}: ${R(d[$])}`).join(";")||"-"}function S({row:g}){return g.kind==="invalid"?"record-table-row-invalid":""}return(g,d)=>{const $=Se,C=tn,I=dt,L=Re,G=le,Q=ct,x=ut;return c(),O("div",vo,[l("div",fo,[l("div",null,[d[3]||(d[3]=l("strong",null,"样本数据",-1)),l("span",null,"共 "+N(e.records.length.toLocaleString())+" 条",1),w.value?(c(),D($,{key:0,size:"small",type:"danger"},{default:v(()=>[P(N(w.value)+" 条格式错误 ",1)]),_:1})):K("",!0)]),k(C,{modelValue:p.value,"onUpdate:modelValue":d[0]||(d[0]=V=>p.value=V),class:"record-search",clearable:"",placeholder:"搜索样本内容","aria-label":"搜索样本内容",onInput:d[1]||(d[1]=V=>s.value=1)},{prefix:v(()=>[...d[4]||(d[4]=[l("i",{class:"fa fa-search"},null,-1)])]),_:1},8,["modelValue"])]),b.value.length?(c(),O("div",mo,[k(Q,{data:y.value,"row-key":"sourceIndex",stripe:"",border:"",class:"record-table","row-class-name":S},{default:v(()=>[k(I,{label:"序号",width:"76",align:"center"},{default:v(({row:V})=>[l("div",go,[l("strong",null,N(V.displayIndex),1),l("small",null,"第 "+N(V.sourceIndex+1)+" 行",1)])]),_:1}),(c(!0),O(ne,null,he(m.value,V=>(c(),D(I,{key:V,label:V,"min-width":"220"},{default:v(({row:X})=>[k(L,{content:F(X,V),placement:"top","show-after":400},{default:v(()=>[l("div",wo,N(F(X,V)),1)]),_:2},1032,["content"])]),_:2},1032,["label"]))),128)),f.value?(c(),D(I,{key:0,label:"其他字段","min-width":"240"},{default:v(({row:V})=>[k(L,{content:T(V),placement:"top","show-after":400},{default:v(()=>[l("div",bo,N(T(V)),1)]),_:2},1032,["content"])]),_:1})):K("",!0),k(I,{label:"状态",width:"96",align:"center"},{default:v(({row:V})=>[V.kind==="invalid"?(c(),D($,{key:0,size:"small",type:"danger"},{default:v(()=>[...d[6]||(d[6]=[P(" 格式错误 ",-1)])]),_:1})):V.kind==="primitive"?(c(),D($,{key:1,size:"small",type:"warning"},{default:v(()=>[...d[7]||(d[7]=[P(" 非对象 ",-1)])]),_:1})):(c(),D($,{key:2,size:"small",type:"success"},{default:v(()=>[...d[8]||(d[8]=[P("正常",-1)])]),_:1}))]),_:1}),k(I,{label:"操作",width:"96",align:"center",fixed:"right"},{default:v(({row:V})=>[k(G,{type:"primary",link:"",disabled:!e.isViewingActiveVersion,title:e.isViewingActiveVersion?"":"历史版本为只读,请先设为当前版本","aria-label":`${V.kind==="invalid"?"修复":"编辑"}第 ${V.displayIndex} 条数据`,onClick:X=>n("edit",V)},{default:v(()=>[l("i",{class:fe(V.kind==="invalid"?"fa fa-wrench":"fa fa-pencil")},null,2),P(" "+N(V.kind==="invalid"?"修复":"编辑"),1)]),_:2},1032,["disabled","title","aria-label","onClick"])]),_:1})]),_:1},8,["data"])])):(c(),O("div",po,[...d[5]||(d[5]=[l("i",{class:"fa fa-search","aria-hidden":"true"},null,-1),l("span",null,"没有找到匹配的样本",-1)])])),b.value.length>be?(c(),O("div",yo,[k(x,{"current-page":s.value,"onUpdate:currentPage":d[2]||(d[2]=V=>s.value=V),"page-size":be,total:b.value.length,layout:"prev, pager, next",background:""},null,8,["current-page","total"])])):K("",!0)])}}}),ho=pe(_o,[["__scopeId","data-v-7e2fd767"]]),Eo={class:"editor-hint"},Co={key:0,class:"field-helper"},Io={key:1,class:"raw-record-editor"},ko={for:"raw-record-draft"},$o={class:"record-editor-actions"},Vo=z({__name:"DatasetRecordEditorDialog",props:{modelValue:{type:Boolean},record:{},editFields:{},rawDraft:{},savingRecord:{type:Boolean},hasDraftChanges:{type:Boolean},nextVersionNumber:{}},emits:["close","save","update:field","update:rawDraft"],setup(e,{emit:a}){const r=a;function n(s){r("close",s)}function p(s){(s.ctrlKey||s.metaKey)&&s.key.toLowerCase()==="s"&&(s.preventDefault(),r("save"))}return(s,t)=>{const m=tn,w=ft,f=vt,b=le,y=it;return c(),D(y,{"model-value":e.modelValue,class:"record-editor-dialog",width:"min(720px, 92vw)",title:e.record?`编辑第 ${e.record.displayIndex} 条数据`:"编辑数据","close-on-click-modal":!1,"close-on-press-escape":!e.savingRecord,"show-close":!e.savingRecord,"before-close":n,"destroy-on-close":""},{footer:v(()=>[l("div",$o,[l("span",null,N(e.hasDraftChanges?"有未暂存修改":"尚未修改")+" · Ctrl/⌘ + S 暂存",1),l("div",null,[k(b,{disabled:e.savingRecord,onClick:t[1]||(t[1]=u=>r("close"))},{default:v(()=>[...t[4]||(t[4]=[P("取消",-1)])]),_:1},8,["disabled"]),k(b,{type:"primary",loading:e.savingRecord,disabled:!e.hasDraftChanges,onClick:t[2]||(t[2]=u=>r("save"))},{default:v(()=>[...t[5]||(t[5]=[P(" 暂存修改 ",-1)])]),_:1},8,["loading","disabled"])])])]),default:v(()=>[e.record?(c(),O("div",{key:0,class:"record-editor",onKeydown:p},[l("div",Eo,[t[3]||(t[3]=l("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),P(" 当前修改会先暂存;完成多条修改后,点击文件工具栏中的“保存版本”创建 V"+N(e.nextVersionNumber)+"。 ",1)]),e.record.kind==="object"?(c(),D(f,{key:0,"label-position":"top"},{default:v(()=>[(c(!0),O(ne,null,he(e.editFields,(u,R)=>(c(),D(w,{key:u.key,label:u.key},{default:v(()=>[k(m,{"model-value":u.value,type:"textarea",rows:u.isJson?5:3,"aria-label":`编辑字段 ${u.key}`,placeholder:u.isJson?"请输入合法 JSON":`请输入 ${u.key}`,"onUpdate:modelValue":F=>r("update:field",R,F)},null,8,["model-value","rows","aria-label","placeholder","onUpdate:modelValue"]),u.isJson?(c(),O("small",Co," 该字段为对象、数组或数值,请保持合法 JSON 格式。 ")):K("",!0)]),_:2},1032,["label"]))),128))]),_:1})):(c(),O("div",Io,[l("label",ko,N(e.record.kind==="invalid"?"修复 JSON 内容":"JSON 内容"),1),k(m,{id:"raw-record-draft","model-value":e.rawDraft,type:"textarea",rows:10,"aria-label":"编辑当前条 JSON 内容",placeholder:"请输入合法 JSON","onUpdate:modelValue":t[0]||(t[0]=u=>r("update:rawDraft",u))},null,8,["model-value"])]))],32)):K("",!0)]),_:1},8,["model-value","title","close-on-press-escape","show-close"])}}}),To=pe(Vo,[["__scopeId","data-v-3901358e"]]),Ro=["aria-label"],So={class:"line-number","aria-hidden":"true"},Oo=z({__name:"DatasetRawPreview",props:{content:{},fileName:{}},setup(e){const a=e,r=E(()=>a.content.split(` +`).slice(0,100));return(n,p)=>(c(),O("div",{class:"code-viewer",tabindex:"0","aria-label":`${e.fileName||""} 文件内容`},[(c(!0),O(ne,null,he(r.value,(s,t)=>(c(),O("div",{key:t,class:"code-line"},[l("span",So,N(t+1),1),l("code",null,N(s||" "),1)]))),128))],8,Ro))}}),No=pe(Oo,[["__scopeId","data-v-66746ea9"]]),Fo={class:"page-header"},Do={class:"page-heading"},Bo={class:"heading-row"},Po={class:"dataset-overview","aria-label":"数据集概览"},Ao={class:"overview-item"},Lo={class:"overview-item"},Mo={class:"overview-item overview-item-wide"},Ko={key:1,class:"preview-workspace","aria-label":"数据集文件详情"},Jo={class:"content-pane"},zo={class:"content-toolbar"},jo={class:"content-title"},Go={class:"toolbar-actions"},Uo=["aria-busy"],Yo={key:0,class:"viewer-state"},Ho={key:1,class:"viewer-state viewer-state-error",role:"alert"},Wo={key:2,class:"viewer-state"},qo={class:"viewer-footer"},Xo={key:0},Zo={key:1},Qo={key:2,class:"empty-files","aria-label":"空文件列表"},xo=z({__name:"DatasetPreviewView",setup(e){const r=Un().params.id,n=_(),p=_(!1),s=_(!1),t=_(null),m=_(""),w=_(""),f=_(""),b=_(""),y=_(!1),u=_(null),R=_([]),F=_(""),T=_(""),S=_(!1),g=_(!1),d=_([]),$=_(""),C=_(""),I=_(""),L=_(!1),G=_(!1),Q=_(!1),x=_(1);let V=0;const X=E(()=>{var o;return((o=t.value)==null?void 0:o.files)||[]}),A=E(()=>X.value.find(o=>q(o)===m.value)),B=E(()=>w.value?w.value.split(` +`).length:0),re=E(()=>{var o;return oo(w.value,((o=A.value)==null?void 0:o.name)||"")}),Ce=E(()=>re.value.supported),Fe=E(()=>re.value.records),te=E(()=>d.value.find(o=>o.id===I.value)),ee=E(()=>!!I.value&&I.value===C.value),vn=E(()=>{var o;return((o=u.value)==null?void 0:o.kind)==="object"?JSON.stringify(R.value):F.value}),Ie=E(()=>y.value&&vn.value!==T.value),me=E(()=>w.value!==f.value),De=E(()=>Ie.value||me.value),fn=E(()=>{var i,h;const o=String(((i=t.value)==null?void 0:i.type)||"").toLowerCase();return Yn[o]||((h=t.value)==null?void 0:h.type)||"-"}),pn=E(()=>{var i;const o=((i=t.value)==null?void 0:i.storage_type)||"";return Hn[o]||o||"-"}),mn=E(()=>{var o;return(o=t.value)!=null&&o.create_time?new Date(t.value.create_time).toLocaleString("zh-CN"):"-"});function q(o){return String(o.id||o.name)}async function gn(){p.value=!0;try{t.value=await Xn(r);const o=X.value[0];o&&(m.value=q(o),await Be(o))}finally{p.value=!1}}async function Be(o){s.value=!0,b.value="";const i=++V;try{const h=await Zn(q(o)),Y=await Ve(q(o),h.active_version_id);if(i!==V)return;d.value=h.versions,x.value=h.next_version_number??Math.max(0,...h.versions.map(M=>M.version))+1,C.value=h.active_version_id,$.value=h.active_version_id,I.value=h.active_version_id,w.value=Y.content,f.value=Y.content,se()}catch{i===V&&(b.value="版本内容加载失败,请稍后重试")}finally{i===V&&(s.value=!1)}}async function wn(o){if(!A.value||o===I.value)return;const i=I.value;if(!await Pe("切换版本后,当前样本的未保存修改将丢失。")){$.value=i;return}L.value=!0;const h=++V;try{const Y=await Ve(q(A.value),o);if(h!==V)return;w.value=Y.content,f.value=Y.content,I.value=Y.version.id,se()}catch{h===V&&($.value=i)}finally{h===V&&(L.value=!1)}}async function bn(){if(!(!A.value||!te.value||ee.value)){try{await $e.confirm(`确定将 V${te.value.version} 设为当前版本吗?后续任务将使用该版本。`,"切换当前版本",{type:"warning",confirmButtonText:"设为当前版本",cancelButtonText:"取消"})}catch{return}G.value=!0;try{const o=await et(q(A.value),te.value.id,C.value);C.value=o.version.id,w.value=o.content,f.value=o.content,oe.success(`已将 V${o.version.version} 设为当前版本`)}finally{G.value=!1}}}async function yn(){var h,Y;if(!A.value||!te.value||ee.value||Q.value)return;const o=te.value;if(await((Y=n.value)==null?void 0:Y.open({title:`删除 V${o.version} 版本?`,message:`删除后无法恢复。当前版本 V${((h=d.value.find(M=>M.id===C.value))==null?void 0:h.version)||"-"} 不受影响。`,confirmText:"删除版本",cancelText:"取消",tone:"danger"}))){Q.value=!0,L.value=!0;try{const M=await nt(q(A.value),o.id,C.value),ge=await Ve(q(A.value),M.active_version_id);d.value=M.versions,x.value=M.next_version_number??Math.max(0,...M.versions.map(we=>we.version))+1,C.value=M.active_version_id,$.value=M.active_version_id,I.value=M.active_version_id,w.value=ge.content,f.value=ge.content,se(),oe.success(`V${o.version} 版本已删除`)}finally{L.value=!1,Q.value=!1}}}function _n(o){if(!ee.value){oe.warning("历史版本为只读,请先设为当前版本");return}u.value=o,o.kind==="object"?(R.value=Object.entries(o.value).map(([i,h])=>({key:i,value:typeof h=="string"?h:JSON.stringify(h,null,2),isJson:typeof h!="string"})),F.value=""):(R.value=[],F.value=o.raw),y.value=!0,T.value=o.kind==="object"?JSON.stringify(R.value):F.value}function se(){y.value=!1,u.value=null,R.value=[],F.value="",T.value=""}function hn(o,i){const h=R.value[o];h&&(h.value=i)}async function Pe(o="当前存在尚未保存为版本的修改,放弃后将无法恢复。"){if(!De.value)return!0;try{return await $e.confirm(o,"确认放弃修改?",{type:"warning",confirmButtonText:"放弃修改",cancelButtonText:"继续编辑"}),!0}catch{return!1}}async function En(){if(!Ie.value)return!0;try{return await $e.confirm("当前样本存在未暂存修改,放弃后将无法恢复。","确认放弃修改?",{type:"warning",confirmButtonText:"放弃修改",cancelButtonText:"继续编辑"}),!0}catch{return!1}}async function Cn(o){S.value||await En()&&(se(),o==null||o())}function In(){var i;if(((i=u.value)==null?void 0:i.kind)!=="object")return JSON.parse(F.value);const o={};for(const h of R.value)o[h.key]=h.isJson?JSON.parse(h.value):h.value;return o}async function kn(){if(!A.value||!u.value||S.value)return;const o=u.value;let i;try{i=In()}catch(h){oe.error(`JSON 格式校验失败:${h instanceof Error?h.message:"内容格式不正确"}`);return}S.value=!0;try{const h=ao(w.value,A.value.name,o.sourceIndex,i);w.value=h,se(),oe.success(`第 ${o.displayIndex} 条修改已暂存`)}finally{S.value=!1}}async function $n(){if(!(!A.value||!me.value||!ee.value||g.value)){g.value=!0;try{const o=await Qn(q(A.value),w.value,{description:"在线编辑数据样本",baseVersionId:I.value,expectedCurrentVersionId:C.value});w.value=o.content,f.value=o.content,d.value=[o.version,...d.value],x.value=o.version.version+1,C.value=o.version.id,$.value=o.version.id,I.value=o.version.id,oe.success(`V${o.version.version} 创建成功,已设为当前版本`)}finally{g.value=!1}}}function Ae(o){De.value&&(o.preventDefault(),o.returnValue="")}function Vn(o){window.open(xn(r,q(o),I.value),"_blank")}return Gn(()=>Pe()),He(()=>{window.addEventListener("beforeunload",Ae),gn()}),We(()=>window.removeEventListener("beforeunload",Ae)),(o,i)=>{const h=Se,Y=Tn,M=le,ge=Re,we=On;return ze((c(),D(qn,{class:"dataset-preview-page"},{header:v(()=>{var ie,ue;return[l("div",Fo,[l("div",Do,[i[4]||(i[4]=l("div",{class:"heading-icon","aria-hidden":"true"},[l("i",{class:"fa fa-database"})],-1)),l("div",null,[l("div",Bo,[l("h1",null,N(((ie=t.value)==null?void 0:ie.name)||"数据集详情"),1),k(h,{size:"small",type:"primary"},{default:v(()=>[P(N(fn.value),1)]),_:1}),k(h,{size:"small",type:"success"},{default:v(()=>[P(N(pn.value),1)]),_:1})]),l("p",null,N(((ue=t.value)==null?void 0:ue.description)||"逐条查看和修改数据样本"),1)])])])]}),default:v(()=>{var ie,ue,Le,Me,Ke;return[l("section",Po,[l("div",Ao,[i[5]||(i[5]=l("span",null,"数据条数",-1)),l("strong",null,N((((ie=t.value)==null?void 0:ie.count)||0).toLocaleString()),1)]),l("div",Lo,[i[6]||(i[6]=l("span",null,"数据大小",-1)),l("strong",null,N(((ue=t.value)==null?void 0:ue.size)||"-"),1)]),l("div",Mo,[i[7]||(i[7]=l("span",null,"创建时间",-1)),l("strong",null,N(mn.value),1)])]),k(co,{modelValue:$.value,"onUpdate:modelValue":i[0]||(i[0]=de=>$.value=de),versions:d.value,"viewed-version":te.value,"active-version-id":C.value,"is-viewing-active-version":ee.value,"has-pending-version-changes":me.value,"version-loading":L.value,"saving-record":S.value,"activating-version":G.value,"deleting-version":Q.value,onChange:wn,onActivate:bn,onDelete:yn},null,8,["modelValue","versions","viewed-version","active-version-id","is-viewing-active-version","has-pending-version-changes","version-loading","saving-record","activating-version","deleting-version"]),te.value&&!ee.value?(c(),D(Y,{key:0,class:"historical-version-alert",type:"info",closable:!1,"show-icon":"",title:"你正在查看历史版本,数据默认只读;设为当前版本后才可编辑。"})):K("",!0),X.value.length?(c(),O("section",Ko,[l("div",Jo,[l("div",zo,[l("div",jo,[i[9]||(i[9]=l("span",{class:"file-icon","aria-hidden":"true"},[l("i",{class:"fa fa-file-text-o"})],-1)),l("div",null,[l("h2",null,N((Le=A.value)==null?void 0:Le.name),1),l("p",null,[P(N(((Me=A.value)==null?void 0:Me.size)||"未知大小")+" ",1),i[8]||(i[8]=l("span",{"aria-hidden":"true"},"·",-1)),Ce.value?(c(),O(ne,{key:0},[P(N(Fe.value.length.toLocaleString())+" 条记录",1)],64)):(c(),O(ne,{key:1},[P(N(B.value.toLocaleString())+" 行",1)],64))])])]),l("div",Go,[me.value&&ee.value?(c(),D(M,{key:0,type:"primary",loading:g.value,onClick:$n},{default:v(()=>[...i[10]||(i[10]=[l("i",{class:"fa fa-save"},null,-1),P("保存版本 ",-1)])]),_:1},8,["loading"])):K("",!0),k(ge,{content:"下载当前文件",placement:"top"},{default:v(()=>[k(M,{class:"download-button","aria-label":"下载当前文件",disabled:!A.value,onClick:i[1]||(i[1]=de=>A.value&&Vn(A.value))},{default:v(()=>[...i[11]||(i[11]=[l("i",{class:"fa fa-download"},null,-1),P("下载文件 ",-1)])]),_:1},8,["disabled"])]),_:1})])]),ze((c(),O("div",{class:"viewer-shell","aria-busy":s.value||L.value},[s.value?(c(),O("div",Yo,[...i[12]||(i[12]=[l("i",{class:"fa fa-circle-o-notch fa-spin","aria-hidden":"true"},null,-1),l("span",null,"正在加载文件内容…",-1)])])):b.value?(c(),O("div",Ho,[i[14]||(i[14]=l("i",{class:"fa fa-exclamation-circle","aria-hidden":"true"},null,-1)),l("strong",null,N(b.value),1),k(M,{size:"small",onClick:i[2]||(i[2]=de=>A.value&&Be(A.value))},{default:v(()=>[...i[13]||(i[13]=[P("重新加载",-1)])]),_:1})])):w.value?Ce.value?(c(),D(ho,{key:3,records:Fe.value,"is-viewing-active-version":ee.value,"version-id":I.value,onEdit:_n},null,8,["records","is-viewing-active-version","version-id"])):(c(),D(No,{key:4,content:w.value,"file-name":(Ke=A.value)==null?void 0:Ke.name},null,8,["content","file-name"])):(c(),O("div",Wo,[...i[15]||(i[15]=[l("i",{class:"fa fa-file-o","aria-hidden":"true"},null,-1),l("span",null,"当前文件暂无可预览内容",-1)])]))],8,Uo)),[[we,L.value]]),l("div",qo,[Ce.value?(c(),O("span",Xo,[...i[16]||(i[16]=[l("i",{class:"fa fa-list-alt","aria-hidden":"true"},null,-1),P(" 逐条查看与编辑",-1)])])):(c(),O("span",Zo,[...i[17]||(i[17]=[l("i",{class:"fa fa-eye","aria-hidden":"true"},null,-1),P(" 文本预览",-1)])])),i[18]||(i[18]=l("span",null,"UTF-8",-1))])])])):p.value?K("",!0):(c(),O("section",Qo,[...i[19]||(i[19]=[l("span",{class:"empty-icon","aria-hidden":"true"},[l("i",{class:"fa fa-folder-open-o"})],-1),l("h2",null,"暂无数据文件",-1),l("p",null,"该数据集还没有可供预览的文件。",-1)])])),k(To,{"model-value":y.value,record:u.value,"edit-fields":R.value,"raw-draft":F.value,"saving-record":S.value,"has-draft-changes":Ie.value,"next-version-number":x.value,onClose:Cn,onSave:kn,"onUpdate:field":hn,"onUpdate:rawDraft":i[3]||(i[3]=de=>F.value=de)},null,8,["model-value","record","edit-fields","raw-draft","saving-record","has-draft-changes","next-version-number"]),k(Wn,{ref_key:"confirmDialogRef",ref:n},null,512)]}),_:1})),[[we,p.value]])}}}),Ja=pe(xo,[["__scopeId","data-v-e31106e4"]]);export{Ja as default}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/DatasetPreviewView-Lebw9VGN.js diff --git a/frontend/dist/assets/DatasetPreviewView-Lebw9VGN.js b/frontend/dist/assets/DatasetPreviewView-Lebw9VGN.js new file mode 100644 index 0000000..50ae4d0 --- /dev/null +++ b/frontend/dist/assets/DatasetPreviewView-Lebw9VGN.js @@ -0,0 +1,6 @@ +import{E as Tn}from"./el-alert-Ty1qfW58.js";import{O as Rn,E as Re}from"./el-popper-OAwpEmER.js";import{f as Ye,E as le,e as Sn}from"./index-D23K2h6y.js";import{E as Se}from"./index-BjlLyKON.js";import{v as On}from"./directive-DCr8Ae3g.js";import{d as z,h as j,B as H,G as He,f as U,H as We,y as _,F as ae,b as Nn,R as ke,V as _e,ba as W,D as qe,aT as Fn,a9 as ce,j as E,bb as Dn,P as Bn,ai as J,o as c,e as D,w as v,s as k,bc as Pn,bd as An,W as ve,S as Ln,E as Xe,a as Oe,aW as Mn,am as Kn,N as Ze,c as O,aX as Qe,Y as ye,n as fe,g as K,q as l,r as Jn,aL as Te,M as ne,be as Je,al as zn,l as jn,ab as xe,ad as he,x as P,aa as N,aR as Gn,K as ze,ac as Un,A as oe,aY as Yn,aZ as Hn}from"./index-CxbBjZKo.js";import{E as $e}from"./index-CLZoQJ1o.js";import"./el-tooltip-l0sNRNKZ.js";/* empty css */import{A as Wn}from"./AppConfirmDialog-D93e215T.js";import{P as qn}from"./PageCard-CC9cofwx.js";import{b as Xn,f as Zn,h as Ve,i as Qn,j as xn,k as et,l as nt}from"./dataset-BdzlocXa.js";import{E as tt,a as ot}from"./el-select-CeiDjMzB.js";import{_ as Z}from"./index-DHcidAHK.js";import{E as at}from"./el-scrollbar-B0E7ZTt3.js";import{d as lt,a as en,b as rt}from"./dropdown-yHGqI4WU.js";import{c as st}from"./castArray-CwVgzdTt.js";import{c as nn,E as it}from"./el-dialog-fpsmuz8Z.js";import{_ as pe}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{E as tn}from"./index-zJ9bqPrh.js";import{E as ut}from"./el-pagination-ByKJEnCx.js";import{E as dt,a as ct}from"./el-table-b_qkWXYf.js";import"./el-checkbox-C_TzqU9u.js";import{E as vt,a as ft}from"./el-form-item-BA3ZlfqF.js";import"./vnode-DIVHEdsp.js";import"./index-DxP0p4ch.js";import"./validator-AVoXfk3G.js";import"./index-C3HZL-2Y.js";import"./clamp-Ow4I6lPc.js";import"./toNumber-Yuob3eJv.js";import"./index-36LucyXi.js";import"./scroll-Dvb2mTx8.js";import"./raf-Bjl8yy5U.js";import"./el-card-BsCFVTSD.js";import"./index-Bzaib5AU.js";import"./index-C4wGR5UT.js";import"./_baseIteratee-C6JbNheX.js";import"./use-dialog-DGVjglW6.js";import"./_baseClone-B6d4qZbo.js";import"./debounce-BJxjS5F3.js";import"./omit-CbHF-OEy.js";const Ee=Symbol("elDropdown"),on="elDropdown";var pt=z({inheritAttrs:!1});function mt(e,a,r,n,p,s){return j(e.$slots,"default")}var gt=Z(pt,[["render",mt]]),wt=z({name:"ElCollectionItem",inheritAttrs:!1});function bt(e,a,r,n,p,s){return j(e.$slots,"default")}var yt=Z(wt,[["render",bt]]);const an="data-el-collection-item",_t=e=>{const a=`El${e}Collection`,r=`${a}Item`,n=Symbol(a),p=Symbol(r);return{COLLECTION_INJECTION_KEY:n,COLLECTION_ITEM_INJECTION_KEY:p,ElCollection:Object.assign({},gt,{name:a,setup(){const s=_(),t=new Map;ae(n,{itemMap:t,getItems:(()=>{const w=U(s);if(!w)return[];const f=Array.from(w.querySelectorAll(`[${an}]`));return[...t.values()].sort((b,y)=>f.indexOf(b.ref)-f.indexOf(y.ref))}),collectionRef:s})}}),ElCollectionItem:Object.assign({},yt,{name:r,setup(s,{attrs:t}){const m=_(),w=H(n,void 0);ae(p,{collectionItemRef:m}),He(()=>{const f=U(m);f&&w.itemMap.set(f,{ref:f,...t})}),We(()=>{const f=U(m);w.itemMap.delete(f)})}})}},ht=Nn({style:{type:ke([String,Array,Object,Boolean]),default:void 0},currentTabId:{type:ke(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:ke(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:Et,ElCollectionItem:Ct,COLLECTION_INJECTION_KEY:ln,COLLECTION_ITEM_INJECTION_KEY:It}=_t("RovingFocusGroup"),Ne=Symbol("elRovingFocusGroup"),rn=Symbol("elRovingFocusGroupItem"),kt={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},$t=(e,a)=>e,Vt=(e,a,r)=>{const n=$t(_e(e));return kt[n]},Tt=(e,a)=>e.map((r,n)=>e[(n+a)%e.length]),je=e=>{const{activeElement:a}=document;for(const r of e)if(r===a||(r.focus(),a!==document.activeElement))return},Ge="currentTabIdChange",Ue="rovingFocusGroup.entryFocus",Rt={bubbles:!1,cancelable:!0};var St=z({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:ht,emits:[Ge,"entryFocus"],setup(e,{emit:a}){const r=_((e.currentTabId||e.defaultCurrentTabId)??null),n=_(!1),p=_(!1),s=_(),{getItems:t}=H(ln,void 0),m=E(()=>[{outline:"none"},e.style]),w=T=>{a(Ge,T)},f=()=>{n.value=!0},b=W(T=>{var S;(S=e.onMousedown)==null||S.call(e,T)},()=>{p.value=!0}),y=W(T=>{var S;(S=e.onFocus)==null||S.call(e,T)},T=>{const S=!U(p),{target:g,currentTarget:d}=T;if(g===d&&S&&!U(n)){const $=new Event(Ue,Rt);if(d==null||d.dispatchEvent($),!$.defaultPrevented){const C=t().filter(I=>I.focusable);je([C.find(I=>I.active),C.find(I=>I.id===U(r)),...C].filter(Boolean).map(I=>I.ref))}}p.value=!1}),u=W(T=>{var S;(S=e.onBlur)==null||S.call(e,T)},()=>{n.value=!1}),R=(...T)=>{a("entryFocus",...T)},F=T=>{const S=Vt(T);if(S){T.preventDefault();let g=t().filter(d=>d.focusable).map(d=>d.ref);switch(S){case"last":g.reverse();break;case"prev":case"next":{S==="prev"&&g.reverse();const d=g.indexOf(T.currentTarget);g=e.loop?Tt(g,d+1):g.slice(d+1);break}}Bn(()=>{je(g)})}};ae(Ne,{currentTabbedId:Dn(r),loop:ce(e,"loop"),tabIndex:E(()=>U(n)?-1:0),rovingFocusGroupRef:s,rovingFocusGroupRootStyle:m,orientation:ce(e,"orientation"),dir:ce(e,"dir"),onItemFocus:w,onItemShiftTab:f,onBlur:u,onFocus:y,onMousedown:b,onKeydown:F}),qe(()=>e.currentTabId,T=>{r.value=T??null}),Fn(s,Ue,R)}});function Ot(e,a,r,n,p,s){return j(e.$slots,"default")}var Nt=Z(St,[["render",Ot]]),Ft=z({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:Et,ElRovingFocusGroupImpl:Nt}});function Dt(e,a,r,n,p,s){const t=J("el-roving-focus-group-impl"),m=J("el-focus-group-collection");return c(),D(m,null,{default:v(()=>[k(t,Pn(An(e.$attrs)),{default:v(()=>[j(e.$slots,"default")]),_:3},16)]),_:3})}var Bt=Z(Ft,[["render",Dt]]),Pt=z({components:{ElRovingFocusCollectionItem:Ct},props:{focusable:{type:Boolean,default:!0},active:Boolean},emits:["mousedown","focus","keydown"],setup(e,{emit:a}){const{currentTabbedId:r,onItemFocus:n,onItemShiftTab:p,onKeydown:s}=H(Ne,void 0),t=Ye(),m=_(),w=W(u=>{a("mousedown",u)},u=>{e.focusable?n(U(t)):u.preventDefault()}),f=W(u=>{a("focus",u)},()=>{n(U(t))}),b=W(u=>{a("keydown",u)},u=>{const{shiftKey:R,target:F,currentTarget:T}=u;if(_e(u)===ve.tab&&R){p();return}F===T&&s(u)}),y=E(()=>r.value===U(t));return ae(rn,{rovingFocusGroupItemRef:m,tabIndex:E(()=>U(y)?0:-1),handleMousedown:w,handleFocus:f,handleKeydown:b}),{id:t,handleKeydown:b,handleFocus:f,handleMousedown:w}}});function At(e,a,r,n,p,s){const t=J("el-roving-focus-collection-item");return c(),D(t,{id:e.id,focusable:e.focusable,active:e.active},{default:v(()=>[j(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var Lt=Z(Pt,[["render",At]]),Mt=Bt;const{ButtonGroup:Kt}=le;var Jt=z({name:"ElDropdown",components:{ElButton:le,ElButtonGroup:Kt,ElScrollbar:at,ElTooltip:Re,ElRovingFocusGroup:Mt,ElOnlyChild:Rn,ElIcon:Xe,ArrowDown:Ln},props:lt,emits:["visible-change","click","command"],setup(e,{emit:a}){const r=Ze(),n=Oe("dropdown"),{t:p}=Mn(),s=_(),t=_(),m=_(),w=_(),f=_(null),b=_(null),y=_(!1),u=E(()=>({maxHeight:Kn(e.maxHeight)})),R=E(()=>[n.m(C.value)]),F=E(()=>st(e.trigger)),T=Ye().value,S=E(()=>e.id||T);function g(){var B;(B=m.value)==null||B.onClose(void 0,0)}function d(){var B;(B=m.value)==null||B.onClose()}function $(){var B;(B=m.value)==null||B.onOpen()}const C=Sn();function I(...B){a("command",...B)}function L(){}function G(){const B=U(w);F.value.includes("hover")&&(B==null||B.focus({preventScroll:!0})),b.value=null}function Q(B){b.value=B}function x(){a("visible-change",!0)}function V(B){var re;y.value=(B==null?void 0:B.type)==="keydown",(re=w.value)==null||re.focus()}function X(){a("visible-change",!1)}return ae(Ee,{contentRef:w,role:E(()=>e.role),triggerId:S,isUsingKeyboard:y,onItemEnter:L,onItemLeave:G,handleClose:d}),ae(on,{instance:r,dropdownSize:C,handleClick:g,commandHandler:I,trigger:ce(e,"trigger"),hideOnClick:ce(e,"hideOnClick")}),{t:p,ns:n,scrollbar:f,wrapStyle:u,dropdownTriggerKls:R,dropdownSize:C,triggerId:S,currentTabId:b,handleCurrentTabIdChange:Q,handlerMainButtonClick:B=>{a("click",B)},handleClose:d,handleOpen:$,handleBeforeShowTooltip:x,handleShowTooltip:V,handleBeforeHideTooltip:X,popperRef:m,contentRef:w,triggeringElementRef:s,referenceElementRef:t}}});function zt(e,a,r,n,p,s){const t=J("el-roving-focus-group"),m=J("el-scrollbar"),w=J("el-only-child"),f=J("el-tooltip"),b=J("el-button"),y=J("arrow-down"),u=J("el-icon"),R=J("el-button-group");return c(),O("div",{class:fe([e.ns.b(),e.ns.is("disabled",e.disabled)])},[k(f,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"popper-style":e.popperStyle,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-arrow":e.showArrow,"show-after":e.trigger==="hover"?e.showTimeout:0,"hide-after":e.trigger==="hover"?e.hideTimeout:0,"virtual-ref":e.virtualRef??e.triggeringElementRef,"virtual-triggering":e.virtualTriggering||e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,"append-to":e.appendTo,pure:"","focus-on-target":"",persistent:e.persistent,onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},Qe({content:v(()=>[k(m,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:v(()=>[k(t,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange},{default:v(()=>[j(e.$slots,"dropdown")]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:v(()=>[k(w,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:v(()=>[j(e.$slots,"default")]),_:3},8,["id","tabindex"])]),key:"0"}]),1032,["role","effect","popper-options","placement","popper-class","popper-style","trigger","trigger-keys","trigger-target-el","show-arrow","show-after","hide-after","virtual-ref","virtual-triggering","disabled","transition","teleported","append-to","persistent","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(c(),D(R,{key:0},{default:v(()=>[k(b,ye({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:v(()=>[j(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),k(b,ye({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:v(()=>[k(u,{class:fe(e.ns.e("icon"))},{default:v(()=>[k(y)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):K("v-if",!0)],2)}var jt=Z(Jt,[["render",zt]]),Gt=z({name:"DropdownItemImpl",components:{ElIcon:Xe},props:en,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:a}){const r=Oe("dropdown"),{role:n}=H(Ee,void 0),{collectionItemRef:p}=H(It,void 0),{rovingFocusGroupItemRef:s,tabIndex:t,handleFocus:m,handleKeydown:w,handleMousedown:f}=H(rn,void 0),b=nn(p,s),y=E(()=>n.value==="menu"?"menuitem":n.value==="navigation"?"link":"button"),u=W(R=>{const F=_e(R);if([ve.enter,ve.numpadEnter,ve.space].includes(F))return R.preventDefault(),R.stopImmediatePropagation(),a("clickimpl",R),!0},w);return{ns:r,itemRef:b,dataset:{[an]:""},role:y,tabIndex:t,handleFocus:m,handleKeydown:u,handleMousedown:f}}});const Ut=["aria-disabled","tabindex","role"];function Yt(e,a,r,n,p,s){const t=J("el-icon");return c(),O(ne,null,[e.divided?(c(),O("li",{key:0,role:"separator",class:fe(e.ns.bem("menu","item","divided"))},null,2)):K("v-if",!0),l("li",ye({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:a[0]||(a[0]=m=>e.$emit("clickimpl",m)),onFocus:a[1]||(a[1]=(...m)=>e.handleFocus&&e.handleFocus(...m)),onKeydown:a[2]||(a[2]=Te((...m)=>e.handleKeydown&&e.handleKeydown(...m),["self"])),onMousedown:a[3]||(a[3]=(...m)=>e.handleMousedown&&e.handleMousedown(...m)),onPointermove:a[4]||(a[4]=m=>e.$emit("pointermove",m)),onPointerleave:a[5]||(a[5]=m=>e.$emit("pointerleave",m))}),[e.icon||e.$slots.icon?(c(),D(t,{key:0},{default:v(()=>[j(e.$slots,"icon",{},()=>[(c(),D(Jn(e.icon)))])]),_:3})):K("v-if",!0),j(e.$slots,"default")],16,Ut)],64)}var Ht=Z(Gt,[["render",Yt]]);const sn=()=>{const e=H(on,{});return{elDropdown:e,_elDropdownSize:E(()=>e==null?void 0:e.dropdownSize)}};var Wt=z({name:"ElDropdownItem",components:{ElRovingFocusItem:Lt,ElDropdownItemImpl:Ht},inheritAttrs:!1,props:en,emits:["pointermove","pointerleave","click"],setup(e,{emit:a,attrs:r}){const{elDropdown:n}=sn(),p=Ze(),{onItemEnter:s,onItemLeave:t}=H(Ee,void 0),m=W(f=>(a("pointermove",f),f.defaultPrevented),Je(f=>{if(e.disabled){t(f);return}const b=f.currentTarget;b===document.activeElement||b.contains(document.activeElement)||(s(f),f.defaultPrevented||b==null||b.focus({preventScroll:!0}))})),w=W(f=>(a("pointerleave",f),f.defaultPrevented),Je(t));return{handleClick:W(f=>{if(!e.disabled)return a("click",f),f.type!=="keydown"&&f.defaultPrevented},f=>{var b,y,u;if(e.disabled){f.stopImmediatePropagation();return}(b=n==null?void 0:n.hideOnClick)!=null&&b.value&&((y=n.handleClick)==null||y.call(n)),(u=n.commandHandler)==null||u.call(n,e.command,p,f)}),handlePointerMove:m,handlePointerLeave:w,propsAndAttrs:E(()=>({...e,...r}))}}});function qt(e,a,r,n,p,s){const t=J("el-dropdown-item-impl"),m=J("el-roving-focus-item");return c(),D(m,{focusable:!e.disabled},{default:v(()=>[k(t,ye(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),Qe({default:v(()=>[j(e.$slots,"default")]),_:2},[e.$slots.icon?{name:"icon",fn:v(()=>[j(e.$slots,"icon")]),key:"0"}:void 0]),1040,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])}var un=Z(Wt,[["render",qt]]),Xt=z({name:"ElDropdownMenu",props:rt,setup(e){const a=Oe("dropdown"),{_elDropdownSize:r}=sn(),n=r.value,{contentRef:p,role:s,triggerId:t,isUsingKeyboard:m,handleClose:w}=H(Ee,void 0),{rovingFocusGroupRef:f,rovingFocusGroupRootStyle:b,onBlur:y,onFocus:u,onKeydown:R,onMousedown:F}=H(Ne,void 0),{collectionRef:T}=H(ln,void 0),S=E(()=>[a.b("menu"),a.bm("menu",n==null?void 0:n.value)]),g=nn(p,f,T),d=W(C=>{var I;(I=e.onKeydown)==null||I.call(e,C)},C=>{const{currentTarget:I,target:L}=C,G=_e(C);if(I.contains(L),ve.tab===G)return w();R(C)});function $(C){m.value&&u(C)}return{size:n,rovingFocusGroupRootStyle:b,dropdownKls:S,role:s,triggerId:t,dropdownListWrapperRef:g,handleKeydown:d,onBlur:y,handleFocus:$,onMousedown:F}}});const Zt=["role","aria-labelledby"];function Qt(e,a,r,n,p,s){return c(),O("ul",{ref:e.dropdownListWrapperRef,class:fe(e.dropdownKls),style:zn(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onFocusin:a[0]||(a[0]=(...t)=>e.handleFocus&&e.handleFocus(...t)),onFocusout:a[1]||(a[1]=(...t)=>e.onBlur&&e.onBlur(...t)),onKeydown:a[2]||(a[2]=Te((...t)=>e.handleKeydown&&e.handleKeydown(...t),["self"])),onMousedown:a[3]||(a[3]=Te((...t)=>e.onMousedown&&e.onMousedown(...t),["self"]))},[j(e.$slots,"default")],46,Zt)}var dn=Z(Xt,[["render",Qt]]);const xt=jn(jt,{DropdownItem:un,DropdownMenu:dn}),eo=xe(un),no=xe(dn);function cn(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function to(e,a,r){try{const n=JSON.parse(e);return{sourceIndex:a,displayIndex:r,raw:e,kind:cn(n)?"object":"primitive",value:n}}catch(n){return{sourceIndex:a,displayIndex:r,raw:e,kind:"invalid",value:e,error:n instanceof Error?n.message:"JSON 格式不正确"}}}function oo(e,a){const r=a.toLowerCase();if(r.endsWith(".jsonl")){const n=[];return e.split(` +`).forEach((p,s)=>{p.trim()&&n.push(to(p,s,n.length+1))}),{supported:!0,records:n}}if(r.endsWith(".json"))try{const n=JSON.parse(e);return{supported:!0,records:(Array.isArray(n)?n:[n]).map((s,t)=>({sourceIndex:t,displayIndex:t+1,raw:JSON.stringify(s),kind:cn(s)?"object":"primitive",value:s}))}}catch(n){return{supported:!0,records:[{sourceIndex:0,displayIndex:1,raw:e,kind:"invalid",value:e,error:n instanceof Error?n.message:"JSON 格式不正确"}]}}return{supported:!1,records:[]}}function ao(e,a,r,n){const p=a.toLowerCase();if(p.endsWith(".jsonl")){const s=e.split(` +`);if(r<0||r>=s.length)throw new Error("目标样本不存在");return s[r]=JSON.stringify(n),s.join(` +`)}if(p.endsWith(".json")){let s;try{s=JSON.parse(e)}catch{if(r!==0)throw new Error("目标样本不存在");return JSON.stringify(n,null,2)}if(Array.isArray(s)){if(r<0||r>=s.length)throw new Error("目标样本不存在");return s[r]=n,JSON.stringify(s,null,2)}if(r!==0)throw new Error("目标样本不存在");return JSON.stringify(n,null,2)}throw new Error("当前文件不支持逐条编辑")}const lo={class:"version-control-bar","aria-label":"数据集版本控制"},ro={class:"version-selector-group"},so={class:"version-status",role:"status","aria-live":"polite"},io={key:0,class:"fa fa-ellipsis-h","aria-hidden":"true"},uo=z({__name:"DatasetVersionBar",props:{modelValue:{},versions:{},viewedVersion:{},activeVersionId:{},isViewingActiveVersion:{type:Boolean},hasPendingVersionChanges:{type:Boolean},versionLoading:{type:Boolean},savingRecord:{type:Boolean},activatingVersion:{type:Boolean},deletingVersion:{type:Boolean}},emits:["update:modelValue","change","activate","delete"],setup(e,{emit:a}){const r=e,n=a,p=E(()=>r.versionLoading||r.savingRecord||r.activatingVersion||r.deletingVersion),s=E(()=>{var y;return((y=r.viewedVersion)==null?void 0:y.version)===1?"初始版本不可删除":r.versions.length<=1?"至少需要保留一个版本":""}),t=E(()=>p.value||!!s.value);function m(y){return new Date(y).toLocaleString("zh-CN",{hour12:!1})}function w(y){const u=y.id===r.activeVersionId?"当前版本":"历史版本";return`V${y.version} · ${u} · ${m(y.create_time)}`}function f(y){n("update:modelValue",y),n("change",y)}function b(y){if(!p.value){if(y==="activate"){n("activate");return}t.value||n("delete")}}return(y,u)=>{const R=ot,F=tt,T=Se,S=le,g=eo,d=no,$=xt;return c(),O("section",lo,[l("div",ro,[u[0]||(u[0]=l("label",{for:"dataset-version-select"},"数据版本",-1)),k(F,{id:"dataset-version-select","model-value":e.modelValue,class:"version-select",loading:e.versionLoading,disabled:e.versionLoading||e.savingRecord,"aria-label":"选择要查看的数据集版本",onChange:f},{default:v(()=>[(c(!0),O(ne,null,he(e.versions,C=>(c(),D(R,{key:C.id,label:w(C),value:C.id},null,8,["label","value"]))),128))]),_:1},8,["model-value","loading","disabled"])]),l("div",so,[e.viewedVersion?(c(),O(ne,{key:0},[e.isViewingActiveVersion?(c(),D(T,{key:0,type:"success"},{default:v(()=>[P(" V"+N(e.viewedVersion.version)+" · 当前版本 ",1)]),_:1})):(c(),D(T,{key:1,type:"info"},{default:v(()=>[P("V"+N(e.viewedVersion.version)+" · 历史版本(只读)",1)]),_:1})),e.hasPendingVersionChanges?(c(),D(T,{key:2,type:"warning"},{default:v(()=>[...u[1]||(u[1]=[P("有待保存修改",-1)])]),_:1})):K("",!0),l("span",null,N(e.viewedVersion.description||"无版本说明")+" · "+N(m(e.viewedVersion.create_time)),1)],64)):K("",!0)]),e.viewedVersion&&!e.isViewingActiveVersion?(c(),D($,{key:0,class:"version-actions",trigger:"click",placement:"bottom-end","popper-class":"version-actions-popper",disabled:p.value,onCommand:b},{dropdown:v(()=>[k(d,null,{default:v(()=>[k(g,{command:"activate",class:"version-action-primary",disabled:p.value},{default:v(()=>[...u[2]||(u[2]=[l("i",{class:"fa fa-check-circle","aria-hidden":"true"},null,-1),P(" 设为当前版本 ",-1)])]),_:1},8,["disabled"]),k(g,{command:"delete",class:"version-action-danger",disabled:t.value,title:s.value||void 0,divided:""},{default:v(()=>[...u[3]||(u[3]=[l("i",{class:"fa fa-trash-o","aria-hidden":"true"},null,-1),P(" 删除版本 ",-1)])]),_:1},8,["disabled","title"])]),_:1})]),default:v(()=>[k(S,{class:"version-actions-button",loading:e.activatingVersion||e.deletingVersion,disabled:p.value,"aria-label":"打开历史版本操作菜单"},{default:v(()=>[!e.activatingVersion&&!e.deletingVersion?(c(),O("i",io)):K("",!0)]),_:1},8,["loading","disabled"])]),_:1},8,["disabled"])):K("",!0)])}}}),co=pe(uo,[["__scopeId","data-v-e7e4bc14"]]),vo={class:"records-viewer"},fo={class:"records-toolbar"},po={key:0,class:"viewer-state record-empty-state"},mo={key:1,class:"record-table-shell","aria-label":"数据样本表格"},go={class:"table-index"},wo={class:"table-cell-text"},bo={class:"table-cell-text"},yo={key:2,class:"records-pagination"},be=10,_o=z({__name:"DatasetRecordTable",props:{records:{},isViewingActiveVersion:{type:Boolean},versionId:{}},emits:["edit"],setup(e,{emit:a}){const r=e,n=a,p=_(""),s=_(1),t=E(()=>{const g=new Set;r.records.forEach($=>{$.kind==="object"&&Object.keys($.value).forEach(C=>g.add(C))});const d=["instruction","question","prompt","input","context","output","answer","response"];return[...g].sort(($,C)=>{const I=L=>{const G=d.indexOf(L);return G===-1?d.length:G};return I($)-I(C)})}),m=E(()=>t.value.slice(0,6)),w=E(()=>r.records.filter(g=>g.kind==="invalid").length),f=E(()=>t.value.length>m.value.length),b=E(()=>{const g=p.value.trim().toLowerCase();return g?r.records.filter(d=>JSON.stringify(d.value).toLowerCase().includes(g)):r.records}),y=E(()=>{const g=(s.value-1)*be;return b.value.slice(g,g+be)});qe(()=>r.versionId,()=>{p.value="",s.value=1});function u(g){return g}function R(g){return typeof g=="string"?g||"(空)":JSON.stringify(g)}function F(g,d){if(g.kind!=="object")return g.kind==="invalid"?g.raw:R(g.value);const $=g.value;return Object.prototype.hasOwnProperty.call($,d)?R($[d]):"-"}function T(g){if(g.kind!=="object")return"-";const d=g.value;return t.value.filter($=>!m.value.includes($)&&Object.prototype.hasOwnProperty.call(d,$)).map($=>`${$}: ${R(d[$])}`).join(";")||"-"}function S({row:g}){return g.kind==="invalid"?"record-table-row-invalid":""}return(g,d)=>{const $=Se,C=tn,I=dt,L=Re,G=le,Q=ct,x=ut;return c(),O("div",vo,[l("div",fo,[l("div",null,[d[3]||(d[3]=l("strong",null,"样本数据",-1)),l("span",null,"共 "+N(e.records.length.toLocaleString())+" 条",1),w.value?(c(),D($,{key:0,size:"small",type:"danger"},{default:v(()=>[P(N(w.value)+" 条格式错误 ",1)]),_:1})):K("",!0)]),k(C,{modelValue:p.value,"onUpdate:modelValue":d[0]||(d[0]=V=>p.value=V),class:"record-search",clearable:"",placeholder:"搜索样本内容","aria-label":"搜索样本内容",onInput:d[1]||(d[1]=V=>s.value=1)},{prefix:v(()=>[...d[4]||(d[4]=[l("i",{class:"fa fa-search"},null,-1)])]),_:1},8,["modelValue"])]),b.value.length?(c(),O("div",mo,[k(Q,{data:y.value,"row-key":"sourceIndex",stripe:"",border:"",class:"record-table","row-class-name":S},{default:v(()=>[k(I,{label:"序号",width:"76",align:"center"},{default:v(({row:V})=>[l("div",go,[l("strong",null,N(V.displayIndex),1),l("small",null,"第 "+N(V.sourceIndex+1)+" 行",1)])]),_:1}),(c(!0),O(ne,null,he(m.value,V=>(c(),D(I,{key:V,label:V,"min-width":"220"},{default:v(({row:X})=>[k(L,{content:F(X,V),placement:"top","show-after":400},{default:v(()=>[l("div",wo,N(F(X,V)),1)]),_:2},1032,["content"])]),_:2},1032,["label"]))),128)),f.value?(c(),D(I,{key:0,label:"其他字段","min-width":"240"},{default:v(({row:V})=>[k(L,{content:T(V),placement:"top","show-after":400},{default:v(()=>[l("div",bo,N(T(V)),1)]),_:2},1032,["content"])]),_:1})):K("",!0),k(I,{label:"状态",width:"96",align:"center"},{default:v(({row:V})=>[V.kind==="invalid"?(c(),D($,{key:0,size:"small",type:"danger"},{default:v(()=>[...d[6]||(d[6]=[P(" 格式错误 ",-1)])]),_:1})):V.kind==="primitive"?(c(),D($,{key:1,size:"small",type:"warning"},{default:v(()=>[...d[7]||(d[7]=[P(" 非对象 ",-1)])]),_:1})):(c(),D($,{key:2,size:"small",type:"success"},{default:v(()=>[...d[8]||(d[8]=[P("正常",-1)])]),_:1}))]),_:1}),k(I,{label:"操作",width:"96",align:"center",fixed:"right"},{default:v(({row:V})=>[k(G,{type:"primary",link:"",disabled:!e.isViewingActiveVersion,title:e.isViewingActiveVersion?"":"历史版本为只读,请先设为当前版本","aria-label":`${V.kind==="invalid"?"修复":"编辑"}第 ${V.displayIndex} 条数据`,onClick:X=>n("edit",V)},{default:v(()=>[l("i",{class:fe(V.kind==="invalid"?"fa fa-wrench":"fa fa-pencil")},null,2),P(" "+N(V.kind==="invalid"?"修复":"编辑"),1)]),_:2},1032,["disabled","title","aria-label","onClick"])]),_:1})]),_:1},8,["data"])])):(c(),O("div",po,[...d[5]||(d[5]=[l("i",{class:"fa fa-search","aria-hidden":"true"},null,-1),l("span",null,"没有找到匹配的样本",-1)])])),b.value.length>be?(c(),O("div",yo,[k(x,{"current-page":s.value,"onUpdate:currentPage":d[2]||(d[2]=V=>s.value=V),"page-size":be,total:b.value.length,layout:"prev, pager, next",background:""},null,8,["current-page","total"])])):K("",!0)])}}}),ho=pe(_o,[["__scopeId","data-v-7e2fd767"]]),Eo={class:"editor-hint"},Co={key:0,class:"field-helper"},Io={key:1,class:"raw-record-editor"},ko={for:"raw-record-draft"},$o={class:"record-editor-actions"},Vo=z({__name:"DatasetRecordEditorDialog",props:{modelValue:{type:Boolean},record:{},editFields:{},rawDraft:{},savingRecord:{type:Boolean},hasDraftChanges:{type:Boolean},nextVersionNumber:{}},emits:["close","save","update:field","update:rawDraft"],setup(e,{emit:a}){const r=a;function n(s){r("close",s)}function p(s){(s.ctrlKey||s.metaKey)&&s.key.toLowerCase()==="s"&&(s.preventDefault(),r("save"))}return(s,t)=>{const m=tn,w=ft,f=vt,b=le,y=it;return c(),D(y,{"model-value":e.modelValue,class:"record-editor-dialog",width:"min(720px, 92vw)",title:e.record?`编辑第 ${e.record.displayIndex} 条数据`:"编辑数据","close-on-click-modal":!1,"close-on-press-escape":!e.savingRecord,"show-close":!e.savingRecord,"before-close":n,"destroy-on-close":""},{footer:v(()=>[l("div",$o,[l("span",null,N(e.hasDraftChanges?"有未暂存修改":"尚未修改")+" · Ctrl/⌘ + S 暂存",1),l("div",null,[k(b,{disabled:e.savingRecord,onClick:t[1]||(t[1]=u=>r("close"))},{default:v(()=>[...t[4]||(t[4]=[P("取消",-1)])]),_:1},8,["disabled"]),k(b,{type:"primary",loading:e.savingRecord,disabled:!e.hasDraftChanges,onClick:t[2]||(t[2]=u=>r("save"))},{default:v(()=>[...t[5]||(t[5]=[P(" 暂存修改 ",-1)])]),_:1},8,["loading","disabled"])])])]),default:v(()=>[e.record?(c(),O("div",{key:0,class:"record-editor",onKeydown:p},[l("div",Eo,[t[3]||(t[3]=l("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),P(" 当前修改会先暂存;完成多条修改后,点击文件工具栏中的“保存版本”创建 V"+N(e.nextVersionNumber)+"。 ",1)]),e.record.kind==="object"?(c(),D(f,{key:0,"label-position":"top"},{default:v(()=>[(c(!0),O(ne,null,he(e.editFields,(u,R)=>(c(),D(w,{key:u.key,label:u.key},{default:v(()=>[k(m,{"model-value":u.value,type:"textarea",rows:u.isJson?5:3,"aria-label":`编辑字段 ${u.key}`,placeholder:u.isJson?"请输入合法 JSON":`请输入 ${u.key}`,"onUpdate:modelValue":F=>r("update:field",R,F)},null,8,["model-value","rows","aria-label","placeholder","onUpdate:modelValue"]),u.isJson?(c(),O("small",Co," 该字段为对象、数组或数值,请保持合法 JSON 格式。 ")):K("",!0)]),_:2},1032,["label"]))),128))]),_:1})):(c(),O("div",Io,[l("label",ko,N(e.record.kind==="invalid"?"修复 JSON 内容":"JSON 内容"),1),k(m,{id:"raw-record-draft","model-value":e.rawDraft,type:"textarea",rows:10,"aria-label":"编辑当前条 JSON 内容",placeholder:"请输入合法 JSON","onUpdate:modelValue":t[0]||(t[0]=u=>r("update:rawDraft",u))},null,8,["model-value"])]))],32)):K("",!0)]),_:1},8,["model-value","title","close-on-press-escape","show-close"])}}}),To=pe(Vo,[["__scopeId","data-v-3901358e"]]),Ro=["aria-label"],So={class:"line-number","aria-hidden":"true"},Oo=z({__name:"DatasetRawPreview",props:{content:{},fileName:{}},setup(e){const a=e,r=E(()=>a.content.split(` +`).slice(0,100));return(n,p)=>(c(),O("div",{class:"code-viewer",tabindex:"0","aria-label":`${e.fileName||""} 文件内容`},[(c(!0),O(ne,null,he(r.value,(s,t)=>(c(),O("div",{key:t,class:"code-line"},[l("span",So,N(t+1),1),l("code",null,N(s||" "),1)]))),128))],8,Ro))}}),No=pe(Oo,[["__scopeId","data-v-66746ea9"]]),Fo={class:"page-header"},Do={class:"page-heading"},Bo={class:"heading-row"},Po={class:"dataset-overview","aria-label":"数据集概览"},Ao={class:"overview-item"},Lo={class:"overview-item"},Mo={class:"overview-item overview-item-wide"},Ko={key:1,class:"preview-workspace","aria-label":"数据集文件详情"},Jo={class:"content-pane"},zo={class:"content-toolbar"},jo={class:"content-title"},Go={class:"toolbar-actions"},Uo=["aria-busy"],Yo={key:0,class:"viewer-state"},Ho={key:1,class:"viewer-state viewer-state-error",role:"alert"},Wo={key:2,class:"viewer-state"},qo={class:"viewer-footer"},Xo={key:0},Zo={key:1},Qo={key:2,class:"empty-files","aria-label":"空文件列表"},xo=z({__name:"DatasetPreviewView",setup(e){const r=Un().params.id,n=_(),p=_(!1),s=_(!1),t=_(null),m=_(""),w=_(""),f=_(""),b=_(""),y=_(!1),u=_(null),R=_([]),F=_(""),T=_(""),S=_(!1),g=_(!1),d=_([]),$=_(""),C=_(""),I=_(""),L=_(!1),G=_(!1),Q=_(!1),x=_(1);let V=0;const X=E(()=>{var o;return((o=t.value)==null?void 0:o.files)||[]}),A=E(()=>X.value.find(o=>q(o)===m.value)),B=E(()=>w.value?w.value.split(` +`).length:0),re=E(()=>{var o;return oo(w.value,((o=A.value)==null?void 0:o.name)||"")}),Ce=E(()=>re.value.supported),Fe=E(()=>re.value.records),te=E(()=>d.value.find(o=>o.id===I.value)),ee=E(()=>!!I.value&&I.value===C.value),vn=E(()=>{var o;return((o=u.value)==null?void 0:o.kind)==="object"?JSON.stringify(R.value):F.value}),Ie=E(()=>y.value&&vn.value!==T.value),me=E(()=>w.value!==f.value),De=E(()=>Ie.value||me.value),fn=E(()=>{var i,h;const o=String(((i=t.value)==null?void 0:i.type)||"").toLowerCase();return Yn[o]||((h=t.value)==null?void 0:h.type)||"-"}),pn=E(()=>{var i;const o=((i=t.value)==null?void 0:i.storage_type)||"";return Hn[o]||o||"-"}),mn=E(()=>{var o;return(o=t.value)!=null&&o.create_time?new Date(t.value.create_time).toLocaleString("zh-CN"):"-"});function q(o){return String(o.id||o.name)}async function gn(){p.value=!0;try{t.value=await Xn(r);const o=X.value[0];o&&(m.value=q(o),await Be(o))}finally{p.value=!1}}async function Be(o){s.value=!0,b.value="";const i=++V;try{const h=await Zn(q(o)),Y=await Ve(q(o),h.active_version_id);if(i!==V)return;d.value=h.versions,x.value=h.next_version_number??Math.max(0,...h.versions.map(M=>M.version))+1,C.value=h.active_version_id,$.value=h.active_version_id,I.value=h.active_version_id,w.value=Y.content,f.value=Y.content,se()}catch{i===V&&(b.value="版本内容加载失败,请稍后重试")}finally{i===V&&(s.value=!1)}}async function wn(o){if(!A.value||o===I.value)return;const i=I.value;if(!await Pe("切换版本后,当前样本的未保存修改将丢失。")){$.value=i;return}L.value=!0;const h=++V;try{const Y=await Ve(q(A.value),o);if(h!==V)return;w.value=Y.content,f.value=Y.content,I.value=Y.version.id,se()}catch{h===V&&($.value=i)}finally{h===V&&(L.value=!1)}}async function bn(){if(!(!A.value||!te.value||ee.value)){try{await $e.confirm(`确定将 V${te.value.version} 设为当前版本吗?后续任务将使用该版本。`,"切换当前版本",{type:"warning",confirmButtonText:"设为当前版本",cancelButtonText:"取消"})}catch{return}G.value=!0;try{const o=await et(q(A.value),te.value.id,C.value);C.value=o.version.id,w.value=o.content,f.value=o.content,oe.success(`已将 V${o.version.version} 设为当前版本`)}finally{G.value=!1}}}async function yn(){var h,Y;if(!A.value||!te.value||ee.value||Q.value)return;const o=te.value;if(await((Y=n.value)==null?void 0:Y.open({title:`删除 V${o.version} 版本?`,message:`删除后无法恢复。当前版本 V${((h=d.value.find(M=>M.id===C.value))==null?void 0:h.version)||"-"} 不受影响。`,confirmText:"删除版本",cancelText:"取消",tone:"danger"}))){Q.value=!0,L.value=!0;try{const M=await nt(q(A.value),o.id,C.value),ge=await Ve(q(A.value),M.active_version_id);d.value=M.versions,x.value=M.next_version_number??Math.max(0,...M.versions.map(we=>we.version))+1,C.value=M.active_version_id,$.value=M.active_version_id,I.value=M.active_version_id,w.value=ge.content,f.value=ge.content,se(),oe.success(`V${o.version} 版本已删除`)}finally{L.value=!1,Q.value=!1}}}function _n(o){if(!ee.value){oe.warning("历史版本为只读,请先设为当前版本");return}u.value=o,o.kind==="object"?(R.value=Object.entries(o.value).map(([i,h])=>({key:i,value:typeof h=="string"?h:JSON.stringify(h,null,2),isJson:typeof h!="string"})),F.value=""):(R.value=[],F.value=o.raw),y.value=!0,T.value=o.kind==="object"?JSON.stringify(R.value):F.value}function se(){y.value=!1,u.value=null,R.value=[],F.value="",T.value=""}function hn(o,i){const h=R.value[o];h&&(h.value=i)}async function Pe(o="当前存在尚未保存为版本的修改,放弃后将无法恢复。"){if(!De.value)return!0;try{return await $e.confirm(o,"确认放弃修改?",{type:"warning",confirmButtonText:"放弃修改",cancelButtonText:"继续编辑"}),!0}catch{return!1}}async function En(){if(!Ie.value)return!0;try{return await $e.confirm("当前样本存在未暂存修改,放弃后将无法恢复。","确认放弃修改?",{type:"warning",confirmButtonText:"放弃修改",cancelButtonText:"继续编辑"}),!0}catch{return!1}}async function Cn(o){S.value||await En()&&(se(),o==null||o())}function In(){var i;if(((i=u.value)==null?void 0:i.kind)!=="object")return JSON.parse(F.value);const o={};for(const h of R.value)o[h.key]=h.isJson?JSON.parse(h.value):h.value;return o}async function kn(){if(!A.value||!u.value||S.value)return;const o=u.value;let i;try{i=In()}catch(h){oe.error(`JSON 格式校验失败:${h instanceof Error?h.message:"内容格式不正确"}`);return}S.value=!0;try{const h=ao(w.value,A.value.name,o.sourceIndex,i);w.value=h,se(),oe.success(`第 ${o.displayIndex} 条修改已暂存`)}finally{S.value=!1}}async function $n(){if(!(!A.value||!me.value||!ee.value||g.value)){g.value=!0;try{const o=await Qn(q(A.value),w.value,{description:"在线编辑数据样本",baseVersionId:I.value,expectedCurrentVersionId:C.value});w.value=o.content,f.value=o.content,d.value=[o.version,...d.value],x.value=o.version.version+1,C.value=o.version.id,$.value=o.version.id,I.value=o.version.id,oe.success(`V${o.version.version} 创建成功,已设为当前版本`)}finally{g.value=!1}}}function Ae(o){De.value&&(o.preventDefault(),o.returnValue="")}function Vn(o){window.open(xn(r,q(o),I.value),"_blank")}return Gn(()=>Pe()),He(()=>{window.addEventListener("beforeunload",Ae),gn()}),We(()=>window.removeEventListener("beforeunload",Ae)),(o,i)=>{const h=Se,Y=Tn,M=le,ge=Re,we=On;return ze((c(),D(qn,{class:"dataset-preview-page"},{header:v(()=>{var ie,ue;return[l("div",Fo,[l("div",Do,[i[4]||(i[4]=l("div",{class:"heading-icon","aria-hidden":"true"},[l("i",{class:"fa fa-database"})],-1)),l("div",null,[l("div",Bo,[l("h1",null,N(((ie=t.value)==null?void 0:ie.name)||"数据集详情"),1),k(h,{size:"small",type:"primary"},{default:v(()=>[P(N(fn.value),1)]),_:1}),k(h,{size:"small",type:"success"},{default:v(()=>[P(N(pn.value),1)]),_:1})]),l("p",null,N(((ue=t.value)==null?void 0:ue.description)||"逐条查看和修改数据样本"),1)])])])]}),default:v(()=>{var ie,ue,Le,Me,Ke;return[l("section",Po,[l("div",Ao,[i[5]||(i[5]=l("span",null,"数据条数",-1)),l("strong",null,N((((ie=t.value)==null?void 0:ie.count)||0).toLocaleString()),1)]),l("div",Lo,[i[6]||(i[6]=l("span",null,"数据大小",-1)),l("strong",null,N(((ue=t.value)==null?void 0:ue.size)||"-"),1)]),l("div",Mo,[i[7]||(i[7]=l("span",null,"创建时间",-1)),l("strong",null,N(mn.value),1)])]),k(co,{modelValue:$.value,"onUpdate:modelValue":i[0]||(i[0]=de=>$.value=de),versions:d.value,"viewed-version":te.value,"active-version-id":C.value,"is-viewing-active-version":ee.value,"has-pending-version-changes":me.value,"version-loading":L.value,"saving-record":S.value,"activating-version":G.value,"deleting-version":Q.value,onChange:wn,onActivate:bn,onDelete:yn},null,8,["modelValue","versions","viewed-version","active-version-id","is-viewing-active-version","has-pending-version-changes","version-loading","saving-record","activating-version","deleting-version"]),te.value&&!ee.value?(c(),D(Y,{key:0,class:"historical-version-alert",type:"info",closable:!1,"show-icon":"",title:"你正在查看历史版本,数据默认只读;设为当前版本后才可编辑。"})):K("",!0),X.value.length?(c(),O("section",Ko,[l("div",Jo,[l("div",zo,[l("div",jo,[i[9]||(i[9]=l("span",{class:"file-icon","aria-hidden":"true"},[l("i",{class:"fa fa-file-text-o"})],-1)),l("div",null,[l("h2",null,N((Le=A.value)==null?void 0:Le.name),1),l("p",null,[P(N(((Me=A.value)==null?void 0:Me.size)||"未知大小")+" ",1),i[8]||(i[8]=l("span",{"aria-hidden":"true"},"·",-1)),Ce.value?(c(),O(ne,{key:0},[P(N(Fe.value.length.toLocaleString())+" 条记录",1)],64)):(c(),O(ne,{key:1},[P(N(B.value.toLocaleString())+" 行",1)],64))])])]),l("div",Go,[me.value&&ee.value?(c(),D(M,{key:0,type:"primary",loading:g.value,onClick:$n},{default:v(()=>[...i[10]||(i[10]=[l("i",{class:"fa fa-save"},null,-1),P("保存版本 ",-1)])]),_:1},8,["loading"])):K("",!0),k(ge,{content:"下载当前文件",placement:"top"},{default:v(()=>[k(M,{class:"download-button","aria-label":"下载当前文件",disabled:!A.value,onClick:i[1]||(i[1]=de=>A.value&&Vn(A.value))},{default:v(()=>[...i[11]||(i[11]=[l("i",{class:"fa fa-download"},null,-1),P("下载文件 ",-1)])]),_:1},8,["disabled"])]),_:1})])]),ze((c(),O("div",{class:"viewer-shell","aria-busy":s.value||L.value},[s.value?(c(),O("div",Yo,[...i[12]||(i[12]=[l("i",{class:"fa fa-circle-o-notch fa-spin","aria-hidden":"true"},null,-1),l("span",null,"正在加载文件内容…",-1)])])):b.value?(c(),O("div",Ho,[i[14]||(i[14]=l("i",{class:"fa fa-exclamation-circle","aria-hidden":"true"},null,-1)),l("strong",null,N(b.value),1),k(M,{size:"small",onClick:i[2]||(i[2]=de=>A.value&&Be(A.value))},{default:v(()=>[...i[13]||(i[13]=[P("重新加载",-1)])]),_:1})])):w.value?Ce.value?(c(),D(ho,{key:3,records:Fe.value,"is-viewing-active-version":ee.value,"version-id":I.value,onEdit:_n},null,8,["records","is-viewing-active-version","version-id"])):(c(),D(No,{key:4,content:w.value,"file-name":(Ke=A.value)==null?void 0:Ke.name},null,8,["content","file-name"])):(c(),O("div",Wo,[...i[15]||(i[15]=[l("i",{class:"fa fa-file-o","aria-hidden":"true"},null,-1),l("span",null,"当前文件暂无可预览内容",-1)])]))],8,Uo)),[[we,L.value]]),l("div",qo,[Ce.value?(c(),O("span",Xo,[...i[16]||(i[16]=[l("i",{class:"fa fa-list-alt","aria-hidden":"true"},null,-1),P(" 逐条查看与编辑",-1)])])):(c(),O("span",Zo,[...i[17]||(i[17]=[l("i",{class:"fa fa-eye","aria-hidden":"true"},null,-1),P(" 文本预览",-1)])])),i[18]||(i[18]=l("span",null,"UTF-8",-1))])])])):p.value?K("",!0):(c(),O("section",Qo,[...i[19]||(i[19]=[l("span",{class:"empty-icon","aria-hidden":"true"},[l("i",{class:"fa fa-folder-open-o"})],-1),l("h2",null,"暂无数据文件",-1),l("p",null,"该数据集还没有可供预览的文件。",-1)])])),k(To,{"model-value":y.value,record:u.value,"edit-fields":R.value,"raw-draft":F.value,"saving-record":S.value,"has-draft-changes":Ie.value,"next-version-number":x.value,onClose:Cn,onSave:kn,"onUpdate:field":hn,"onUpdate:rawDraft":i[3]||(i[3]=de=>F.value=de)},null,8,["model-value","record","edit-fields","raw-draft","saving-record","has-draft-changes","next-version-number"]),k(Wn,{ref_key:"confirmDialogRef",ref:n},null,512)]}),_:1})),[[we,p.value]])}}}),Ja=pe(xo,[["__scopeId","data-v-e31106e4"]]);export{Ja as default}; diff --git a/frontend/dist/assets/DimensionCreateView-BGQzQW6r.js b/frontend/dist/assets/DimensionCreateView-BGQzQW6r.js new file mode 100644 index 0000000..5a17cc1 --- /dev/null +++ b/frontend/dist/assets/DimensionCreateView-BGQzQW6r.js @@ -0,0 +1 @@ +import{a as k,E as M}from"./el-form-item-BA3ZlfqF.js";import{E as q}from"./index-zJ9bqPrh.js";import{E as R}from"./index-D23K2h6y.js";import{d as S,G as B,e as F,w as i,j as y,y as _,z as I,o as O,s as r,f as m,aB as P,x as h,aa as j,A as x,v as A,ac as L}from"./index-CxbBjZKo.js";import{P as N}from"./PageCard-CC9cofwx.js";import{E as T,D as U}from"./DimensionFormFields-bC-zvb-R.js";import{b as z,u as G,c as H}from"./eval-BLcZ-A_I.js";import{g as J}from"./model-B9dq9fy6.js";import"./castArray-CwVgzdTt.js";import"./_baseClone-B6d4qZbo.js";import"./raf-Bjl8yy5U.js";import"./index-C4wGR5UT.js";import"./index-DxP0p4ch.js";import"./el-card-BsCFVTSD.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./el-select-CeiDjMzB.js";import"./index-DHcidAHK.js";import"./vnode-DIVHEdsp.js";import"./el-popper-OAwpEmER.js";import"./el-scrollbar-B0E7ZTt3.js";import"./index-Bzaib5AU.js";import"./index-BjlLyKON.js";import"./scroll-Dvb2mTx8.js";import"./clamp-Ow4I6lPc.js";import"./toNumber-Yuob3eJv.js";import"./_baseIteratee-C6JbNheX.js";import"./el-checkbox-C_TzqU9u.js";import"./omit-CbHF-OEy.js";import"./el-radio-group-BJiEgTS_.js";import"./el-input-number-Ba6IqA7Z.js";import"./index-ZKnv_mga.js";import"./el-slider-CPsf2yeE.js";import"./debounce-BJxjS5F3.js";import"./el-switch-EBBsaB1p.js";import"./validator-AVoXfk3G.js";import"./el-tooltip-l0sNRNKZ.js";/* empty css *//* empty css */const Be=S({__name:"DimensionCreateView",setup(K){const c=L(),f=A(),n=_(),p=_(!1),u=y(()=>!!c.params.id),s=y(()=>c.params.id),d=_([]);let e=I({name:"",type:"",description:"",eval_model:"",eval_method:"",eval_prompt:"",is_active:!0,is_default:!1,bleu_n:1,output_precision:3,score_min:0,score_max:5,pass_threshold:3});const b={name:[{required:!0,message:"请输入维度名称",trigger:"blur"},{max:50,message:"不超过 50 字符",trigger:"blur"}],type:[{required:!0,message:"请选择指标类型",trigger:"change"}],eval_model:[{required:!0,message:"请选择大模型",trigger:"change"}],eval_method:[{required:!0,message:"请选择评估方式",trigger:"change"}],eval_prompt:[{required:!0,message:"请填写评估 Prompt",trigger:"blur"}]};async function w(){var o,t;if(s.value)try{const a=await z(s.value);Object.assign(e,{name:a.name||"",type:a.type||"",description:a.description||"",eval_model:a.eval_model||"",eval_method:a.eval_method||(a.type?(t=(o=T[a.type])==null?void 0:o[0])==null?void 0:t.value:""),eval_prompt:a.eval_prompt||"",is_active:a.is_active!==!1,is_default:!!a.is_default,bleu_n:a.bleu_n??1,output_precision:a.output_precision??3,score_min:a.score_min??0,score_max:a.score_max??5,pass_threshold:a.pass_threshold??3})}catch{}}async function E(){try{const o=await J()||[];d.value=o.filter(t=>t.purpose==="evaluation")}catch{d.value=[]}}async function D(){n.value&&await n.value.validate(async o=>{if(o){p.value=!0;try{const t={name:e.name,type:e.type,description:e.description,eval_model:e.type==="text_similarity"?null:e.eval_model,eval_method:e.eval_method,eval_prompt:e.type==="text_similarity"?null:e.eval_prompt,is_active:e.is_active,is_default:e.is_default,create_time:new Date().toISOString()};e.type==="text_similarity"&&(t.bleu_n=e.bleu_n,t.output_precision=e.output_precision),e.type==="metric"&&(t.score_min=e.score_min,t.score_max=e.score_max,t.pass_threshold=e.pass_threshold),u.value&&s.value?(await G(s.value,t),x.success("更新成功")):(await H(t),x.success("创建成功")),f.push("/model-eval")}catch{}finally{p.value=!1}}})}function V(){f.back()}return B(()=>{E(),w()}),(o,t)=>{const a=q,v=k,g=R,C=M;return O(),F(N,{title:u.value?"编辑评测维度":"添加评测维度"},{default:i(()=>[r(C,{ref_key:"formRef",ref:n,model:m(e),rules:b,"label-width":"130px",style:{"max-width":"760px"}},{default:i(()=>[r(v,{label:"维度名称",prop:"name"},{default:i(()=>[r(a,{modelValue:m(e).name,"onUpdate:modelValue":t[0]||(t[0]=l=>m(e).name=l),placeholder:"请输入维度名称",maxlength:"50","show-word-limit":""},null,8,["modelValue"])]),_:1}),r(U,{modelValue:m(e),"onUpdate:modelValue":t[1]||(t[1]=l=>P(e)?e.value=l:e=l),"eval-models":d.value},null,8,["modelValue","eval-models"]),r(v,null,{default:i(()=>[r(g,{type:"primary",loading:p.value,onClick:D},{default:i(()=>[h(j(u.value?"保存":"创建"),1)]),_:1},8,["loading"]),r(g,{onClick:V},{default:i(()=>[...t[2]||(t[2]=[h("取消",-1)])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["title"])}}});export{Be as default}; diff --git a/frontend/dist/assets/DimensionFormFields-BI47UlOW.js b/frontend/dist/assets/DimensionFormFields-BI47UlOW.js index b65fda8..02feda2 100644 --- a/frontend/dist/assets/DimensionFormFields-BI47UlOW.js +++ b/frontend/dist/assets/DimensionFormFields-BI47UlOW.js @@ -1,5 +1,13 @@ +<<<<<<<< HEAD:frontend/dist/assets/DimensionFormFields-BI47UlOW.js const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/style-CLmeZurA.css","assets/index-DFkjzvE0.js","assets/index-CD29OCdJ.js","assets/index-BrKMLqs4.css"])))=>i.map(i=>d[i]); import{d as R,az as B,D as b,o as m,c as r,M as d,s as t,w as o,ad as f,e as v,g as _,x as w,aa as V,q as E,f as I,aA as L,aC as G,j as U,aD as k,aE as j}from"./index-CD29OCdJ.js";import{a as q}from"./el-form-item--AdlsBF7.js";import{E as z}from"./index-D0wqu88j.js";import{E as H,a as Y}from"./el-select-dn4MhMwo.js";import{a as J,E as K}from"./el-checkbox-Pnt9POcY.js";import{E as Q,b as W}from"./el-radio-group-11DJtD5j.js";import{E as X}from"./el-input-number-CUR6qfYr.js";import{E as Z}from"./el-slider-D0ESR8FK.js";import{E as $}from"./el-switch-4ONH-tca.js";import"./el-popper-DIiB8Y-M.js";import"./el-tooltip-l0sNRNKZ.js";/* empty css */import"./el-scrollbar-YCRG1835.js";import"./el-tag-C4SnL2z_.js";import{_ as ee}from"./_plugin-vue_export-helper-DlAUqK2U.js";const M={classification:[{value:"standard",name:"标准匹配",desc:"根据预设标准评估"},{value:"sentiment",name:"情感分析",desc:"识别文本情感倾向"},{value:"custom",name:"自定义评分器",desc:"自定义评估规则"}],metric:[{value:"metric_standard",name:"综合评测",desc:"根据预设标准评分"},{value:"semantic",name:"语义相似度",desc:"计算语义相似程度"},{value:"custom",name:"自定义评分器",desc:"自定义评估规则"}],text_similarity:[{value:"bleu_4",name:"BLEU-4",desc:"N-gram 精确度评估"},{value:"cosine",name:"Cosine",desc:"余弦相似度"},{value:"rouge_1",name:"ROUGE-1",desc:"unigram 重叠评估"},{value:"rouge_2",name:"ROUGE-2",desc:"bigram 重叠评估"},{value:"rouge_4",name:"ROUGE-4",desc:"4-gram 重叠评估"}]},y={standard:`# 角色 +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/DimensionFormFields-Bvlt4Km3.js +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/style-CLmeZurA.css","assets/index-Szd58FrA.js","assets/index-Ds9AETjS.js","assets/index-BrKMLqs4.css"])))=>i.map(i=>d[i]); +import{d as R,az as B,D as b,o as m,c as r,M as d,s as t,w as o,ad as f,e as v,g as _,x as w,aa as V,q as E,f as I,aA as L,aC as G,j as U,aD as k,aE as j}from"./index-Ds9AETjS.js";import{a as q}from"./el-form-item-Bq0n_p5a.js";import{E as z}from"./index-h5FkzAP_.js";import{E as H,a as Y}from"./el-select-BD70by95.js";import{a as J,E as K}from"./el-checkbox-pV3o_8iy.js";import{E as Q,b as W}from"./el-radio-group-DxV9SE4w.js";import{E as X}from"./el-input-number-Bg2C0S8w.js";import{E as Z}from"./el-slider-mZJHOhL2.js";import{E as $}from"./el-switch-DflKYtBf.js";import"./el-popper-D1tByNLb.js";import"./el-tooltip-l0sNRNKZ.js";/* empty css */import"./el-scrollbar-CF42LNzg.js";/* empty css */import{_ as ee}from"./_plugin-vue_export-helper-DlAUqK2U.js";const M={classification:[{value:"standard",name:"标准匹配",desc:"根据预设标准评估"},{value:"sentiment",name:"情感分析",desc:"识别文本情感倾向"},{value:"custom",name:"自定义评分器",desc:"自定义评估规则"}],metric:[{value:"metric_standard",name:"综合评测",desc:"根据预设标准评分"},{value:"semantic",name:"语义相似度",desc:"计算语义相似程度"},{value:"custom",name:"自定义评分器",desc:"自定义评估规则"}],text_similarity:[{value:"bleu_4",name:"BLEU-4",desc:"N-gram 精确度评估"},{value:"cosine",name:"Cosine",desc:"余弦相似度"},{value:"rouge_1",name:"ROUGE-1",desc:"unigram 重叠评估"},{value:"rouge_2",name:"ROUGE-2",desc:"bigram 重叠评估"},{value:"rouge_4",name:"ROUGE-4",desc:"4-gram 重叠评估"}]},y={standard:`# 角色 +======== +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/style-CLmeZurA.css","assets/index-DlqR5_tk.js","assets/index-CxbBjZKo.js","assets/index-BrKMLqs4.css"])))=>i.map(i=>d[i]); +import{d as R,az as B,D as b,o as m,c as r,M as d,s as t,w as o,ad as f,e as v,g as _,x as w,aa as V,q as E,f as I,aA as L,aC as G,j as U,aD as k,aE as j}from"./index-CxbBjZKo.js";import{a as q}from"./el-form-item-BA3ZlfqF.js";import{E as z}from"./index-zJ9bqPrh.js";import{E as H,a as Y}from"./el-select-CeiDjMzB.js";import{a as J,E as K}from"./el-checkbox-C_TzqU9u.js";import{E as Q,b as W}from"./el-radio-group-BJiEgTS_.js";import{E as X}from"./el-input-number-Ba6IqA7Z.js";import{E as Z}from"./el-slider-CPsf2yeE.js";import{E as $}from"./el-switch-EBBsaB1p.js";import"./el-popper-OAwpEmER.js";import"./el-tooltip-l0sNRNKZ.js";/* empty css */import"./el-scrollbar-B0E7ZTt3.js";/* empty css */import{_ as ee}from"./_plugin-vue_export-helper-DlAUqK2U.js";const M={classification:[{value:"standard",name:"标准匹配",desc:"根据预设标准评估"},{value:"sentiment",name:"情感分析",desc:"识别文本情感倾向"},{value:"custom",name:"自定义评分器",desc:"自定义评估规则"}],metric:[{value:"metric_standard",name:"综合评测",desc:"根据预设标准评分"},{value:"semantic",name:"语义相似度",desc:"计算语义相似程度"},{value:"custom",name:"自定义评分器",desc:"自定义评估规则"}],text_similarity:[{value:"bleu_4",name:"BLEU-4",desc:"N-gram 精确度评估"},{value:"cosine",name:"Cosine",desc:"余弦相似度"},{value:"rouge_1",name:"ROUGE-1",desc:"unigram 重叠评估"},{value:"rouge_2",name:"ROUGE-2",desc:"bigram 重叠评估"},{value:"rouge_4",name:"ROUGE-4",desc:"4-gram 重叠评估"}]},y={standard:`# 角色 +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/DimensionFormFields-bC-zvb-R.js 你是一位专业的对话评估专家,擅长根据提供的标准对助理在对话中的最终反应进行评估,并确定其是否[[Pass]]或[[Fail]]。 ## 技能 @@ -67,4 +75,10 @@ import{d as R,az as B,D as b,o as m,c as r,M as d,s as t,w as o,ad as f,e as v,g ## 输出格式 - **相似度分析:**[分析过程] - **相似度分数:**[0-1 的分数]`,custom:`# 自定义评估器 +<<<<<<<< HEAD:frontend/dist/assets/DimensionFormFields-BI47UlOW.js 请在此编写您的自定义评估 Prompt...`},le={class:"method-desc"},ae={class:"method-desc"},te={style:{width:"100%"}},c=.5,oe=R({__name:"DimensionFormFields",props:L({evalModels:{},showDescription:{type:Boolean,default:!0},showStatusSettings:{type:Boolean,default:!0},allowedTypes:{default:()=>["classification","metric","text_similarity"]}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(p){const P=G(async()=>(await k(()=>Promise.resolve({}),__vite__mapDeps([0])),(await k(()=>import("./index-DFkjzvE0.js").then(l=>l.w),__vite__mapDeps([1,2,3]))).MdEditor)),D=p,e=B(p,"modelValue"),N=U(()=>Object.entries(j).filter(([u])=>D.allowedTypes.includes(u)).map(([u,l])=>({value:u,label:l}))),x=U(()=>e.value.type?M[e.value.type]||[]:[]);return b(()=>e.value.type,u=>{var s,i;if(!u)return;const l=((i=(s=M[u])==null?void 0:s[0])==null?void 0:i.value)||"";e.value.eval_method=u==="text_similarity"?[l]:l,u!=="text_similarity"&&y[l]&&(e.value.eval_prompt=y[l])},{flush:"sync"}),b(()=>e.value.eval_method,u=>{if(e.value.type==="text_similarity"||!u)return;const l=Array.isArray(u)?u[0]:u;l&&y[l]&&(e.value.eval_prompt=y[l])},{flush:"sync"}),b(()=>[e.value.type,e.value.score_min,e.value.score_max],([u,l,s])=>{if(u==="metric"){if(s<=l){e.value.score_max=l+c;return}e.value.pass_threshold=Math.min(Math.max(e.value.pass_threshold,l),s)}},{flush:"sync"}),(u,l)=>{const s=Y,i=H,n=q,O=z,S=W,C=Q,T=K,A=J,h=X,F=Z,g=$;return m(),r(d,null,[t(n,{label:"指标类型",prop:"type"},{default:o(()=>[t(i,{modelValue:e.value.type,"onUpdate:modelValue":l[0]||(l[0]=a=>e.value.type=a),placeholder:"请选择指标类型",style:{width:"100%"}},{default:o(()=>[(m(!0),r(d,null,f(N.value,a=>(m(),v(s,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),p.showDescription?(m(),v(n,{key:0,label:"描述"},{default:o(()=>[t(O,{modelValue:e.value.description,"onUpdate:modelValue":l[1]||(l[1]=a=>e.value.description=a),type:"textarea",rows:2,maxlength:"200","show-word-limit":""},null,8,["modelValue"])]),_:1})):_("",!0),e.value.type==="classification"||e.value.type==="metric"?(m(),r(d,{key:1},[t(n,{label:"选择大模型",prop:"eval_model"},{default:o(()=>[t(i,{modelValue:e.value.eval_model,"onUpdate:modelValue":l[2]||(l[2]=a=>e.value.eval_model=a),placeholder:"请选择评测模型",filterable:"",style:{width:"100%"}},{default:o(()=>[(m(!0),r(d,null,f(p.evalModels,a=>(m(),v(s,{key:a.id,label:a.name,value:a.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(n,{label:"评估方式",prop:"eval_method"},{default:o(()=>[t(C,{modelValue:e.value.eval_method,"onUpdate:modelValue":l[3]||(l[3]=a=>e.value.eval_method=a)},{default:o(()=>[(m(!0),r(d,null,f(x.value,a=>(m(),v(S,{key:a.value,value:a.value},{default:o(()=>[w(V(a.name)+" ",1),E("span",le,V(a.desc),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(n,{label:"评估 Prompt",prop:"eval_prompt"},{default:o(()=>[t(I(P),{modelValue:e.value.eval_prompt,"onUpdate:modelValue":l[4]||(l[4]=a=>e.value.eval_prompt=a),language:"zh-CN","toolbars-exclude":["github","save"],style:{height:"320px"}},null,8,["modelValue"])]),_:1})],64)):_("",!0),e.value.type==="text_similarity"?(m(),r(d,{key:2},[t(n,{label:"评估方式",prop:"eval_method"},{default:o(()=>[t(A,{modelValue:e.value.eval_method,"onUpdate:modelValue":l[5]||(l[5]=a=>e.value.eval_method=a)},{default:o(()=>[(m(!0),r(d,null,f(x.value,a=>(m(),v(T,{key:a.value,value:a.value},{default:o(()=>[w(V(a.name)+" ",1),E("span",ae,V(a.desc),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(n,{label:"BLEU n-gram"},{default:o(()=>[t(i,{modelValue:e.value.bleu_n,"onUpdate:modelValue":l[6]||(l[6]=a=>e.value.bleu_n=a),style:{width:"160px"}},{default:o(()=>[t(s,{value:1,label:"1-gram"}),t(s,{value:2,label:"2-gram"}),t(s,{value:3,label:"3-gram"}),t(s,{value:4,label:"4-gram"})]),_:1},8,["modelValue"])]),_:1}),t(n,{label:"输出精度"},{default:o(()=>[t(i,{modelValue:e.value.output_precision,"onUpdate:modelValue":l[7]||(l[7]=a=>e.value.output_precision=a),style:{width:"160px"}},{default:o(()=>[t(s,{value:1,label:"1 位小数"}),t(s,{value:2,label:"2 位小数"}),t(s,{value:3,label:"3 位小数"}),t(s,{value:4,label:"4 位小数"})]),_:1},8,["modelValue"])]),_:1})],64)):_("",!0),e.value.type==="metric"?(m(),r(d,{key:3},[t(n,{label:"评分最小值",prop:"score_min"},{default:o(()=>[t(h,{modelValue:e.value.score_min,"onUpdate:modelValue":l[8]||(l[8]=a=>e.value.score_min=a),min:0,max:Math.max(e.value.score_max-c,0),step:c,style:{width:"160px"}},null,8,["modelValue","max"])]),_:1}),t(n,{label:"评分最大值",prop:"score_max"},{default:o(()=>[t(h,{modelValue:e.value.score_max,"onUpdate:modelValue":l[9]||(l[9]=a=>e.value.score_max=a),min:e.value.score_min+c,step:c,style:{width:"160px"}},null,8,["modelValue","min"])]),_:1}),t(n,{label:"通过阈值",prop:"pass_threshold"},{default:o(()=>[E("div",te,[t(F,{modelValue:e.value.pass_threshold,"onUpdate:modelValue":l[10]||(l[10]=a=>e.value.pass_threshold=a),min:e.value.score_min,max:e.value.score_max,step:.5,"show-input":"","show-input-controls":!1},null,8,["modelValue","min","max"])])]),_:1})],64)):_("",!0),p.showStatusSettings?(m(),r(d,{key:4},[t(n,{label:"启用该维度"},{default:o(()=>[t(g,{modelValue:e.value.is_active,"onUpdate:modelValue":l[11]||(l[11]=a=>e.value.is_active=a)},null,8,["modelValue"])]),_:1}),t(n,{label:"设为默认"},{default:o(()=>[t(g,{modelValue:e.value.is_default,"onUpdate:modelValue":l[12]||(l[12]=a=>e.value.is_default=a)},null,8,["modelValue"])]),_:1})],64)):_("",!0)],64)}}}),Ee=ee(oe,[["__scopeId","data-v-c192dba1"]]);export{Ee as D,M as E}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/DimensionFormFields-Bvlt4Km3.js +请在此编写您的自定义评估 Prompt...`},le={class:"method-desc"},ae={class:"method-desc"},te={style:{width:"100%"}},c=.5,oe=R({__name:"DimensionFormFields",props:L({evalModels:{},showDescription:{type:Boolean,default:!0},showStatusSettings:{type:Boolean,default:!0},allowedTypes:{default:()=>["classification","metric","text_similarity"]}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(p){const P=G(async()=>(await k(()=>Promise.resolve({}),__vite__mapDeps([0])),(await k(()=>import("./index-Szd58FrA.js").then(l=>l.w),__vite__mapDeps([1,2,3]))).MdEditor)),D=p,e=B(p,"modelValue"),N=U(()=>Object.entries(j).filter(([u])=>D.allowedTypes.includes(u)).map(([u,l])=>({value:u,label:l}))),x=U(()=>e.value.type?M[e.value.type]||[]:[]);return b(()=>e.value.type,u=>{var s,i;if(!u)return;const l=((i=(s=M[u])==null?void 0:s[0])==null?void 0:i.value)||"";e.value.eval_method=u==="text_similarity"?[l]:l,u!=="text_similarity"&&y[l]&&(e.value.eval_prompt=y[l])},{flush:"sync"}),b(()=>e.value.eval_method,u=>{if(e.value.type==="text_similarity"||!u)return;const l=Array.isArray(u)?u[0]:u;l&&y[l]&&(e.value.eval_prompt=y[l])},{flush:"sync"}),b(()=>[e.value.type,e.value.score_min,e.value.score_max],([u,l,s])=>{if(u==="metric"){if(s<=l){e.value.score_max=l+c;return}e.value.pass_threshold=Math.min(Math.max(e.value.pass_threshold,l),s)}},{flush:"sync"}),(u,l)=>{const s=Y,i=H,n=q,O=z,S=W,C=Q,T=K,A=J,h=X,F=Z,g=$;return m(),r(d,null,[t(n,{label:"指标类型",prop:"type"},{default:o(()=>[t(i,{modelValue:e.value.type,"onUpdate:modelValue":l[0]||(l[0]=a=>e.value.type=a),placeholder:"请选择指标类型",style:{width:"100%"}},{default:o(()=>[(m(!0),r(d,null,f(N.value,a=>(m(),v(s,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),p.showDescription?(m(),v(n,{key:0,label:"描述"},{default:o(()=>[t(O,{modelValue:e.value.description,"onUpdate:modelValue":l[1]||(l[1]=a=>e.value.description=a),type:"textarea",rows:2,maxlength:"200","show-word-limit":""},null,8,["modelValue"])]),_:1})):_("",!0),e.value.type==="classification"||e.value.type==="metric"?(m(),r(d,{key:1},[t(n,{label:"选择大模型",prop:"eval_model"},{default:o(()=>[t(i,{modelValue:e.value.eval_model,"onUpdate:modelValue":l[2]||(l[2]=a=>e.value.eval_model=a),placeholder:"请选择评测模型",filterable:"",style:{width:"100%"}},{default:o(()=>[(m(!0),r(d,null,f(p.evalModels,a=>(m(),v(s,{key:a.id,label:a.name,value:a.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(n,{label:"评估方式",prop:"eval_method"},{default:o(()=>[t(C,{modelValue:e.value.eval_method,"onUpdate:modelValue":l[3]||(l[3]=a=>e.value.eval_method=a)},{default:o(()=>[(m(!0),r(d,null,f(x.value,a=>(m(),v(S,{key:a.value,value:a.value},{default:o(()=>[w(V(a.name)+" ",1),E("span",le,V(a.desc),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(n,{label:"评估 Prompt",prop:"eval_prompt"},{default:o(()=>[t(I(P),{modelValue:e.value.eval_prompt,"onUpdate:modelValue":l[4]||(l[4]=a=>e.value.eval_prompt=a),language:"zh-CN","toolbars-exclude":["github","save"],style:{height:"320px"}},null,8,["modelValue"])]),_:1})],64)):_("",!0),e.value.type==="text_similarity"?(m(),r(d,{key:2},[t(n,{label:"评估方式",prop:"eval_method"},{default:o(()=>[t(A,{modelValue:e.value.eval_method,"onUpdate:modelValue":l[5]||(l[5]=a=>e.value.eval_method=a)},{default:o(()=>[(m(!0),r(d,null,f(x.value,a=>(m(),v(T,{key:a.value,value:a.value},{default:o(()=>[w(V(a.name)+" ",1),E("span",ae,V(a.desc),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(n,{label:"BLEU n-gram"},{default:o(()=>[t(i,{modelValue:e.value.bleu_n,"onUpdate:modelValue":l[6]||(l[6]=a=>e.value.bleu_n=a),style:{width:"160px"}},{default:o(()=>[t(s,{value:1,label:"1-gram"}),t(s,{value:2,label:"2-gram"}),t(s,{value:3,label:"3-gram"}),t(s,{value:4,label:"4-gram"})]),_:1},8,["modelValue"])]),_:1}),t(n,{label:"输出精度"},{default:o(()=>[t(i,{modelValue:e.value.output_precision,"onUpdate:modelValue":l[7]||(l[7]=a=>e.value.output_precision=a),style:{width:"160px"}},{default:o(()=>[t(s,{value:1,label:"1 位小数"}),t(s,{value:2,label:"2 位小数"}),t(s,{value:3,label:"3 位小数"}),t(s,{value:4,label:"4 位小数"})]),_:1},8,["modelValue"])]),_:1})],64)):_("",!0),e.value.type==="metric"?(m(),r(d,{key:3},[t(n,{label:"评分最小值",prop:"score_min"},{default:o(()=>[t(h,{modelValue:e.value.score_min,"onUpdate:modelValue":l[8]||(l[8]=a=>e.value.score_min=a),min:0,max:Math.max(e.value.score_max-c,0),step:c,style:{width:"160px"}},null,8,["modelValue","max"])]),_:1}),t(n,{label:"评分最大值",prop:"score_max"},{default:o(()=>[t(h,{modelValue:e.value.score_max,"onUpdate:modelValue":l[9]||(l[9]=a=>e.value.score_max=a),min:e.value.score_min+c,step:c,style:{width:"160px"}},null,8,["modelValue","min"])]),_:1}),t(n,{label:"通过阈值",prop:"pass_threshold"},{default:o(()=>[E("div",te,[t(F,{modelValue:e.value.pass_threshold,"onUpdate:modelValue":l[10]||(l[10]=a=>e.value.pass_threshold=a),min:e.value.score_min,max:e.value.score_max,step:.5,"show-input":"","show-input-controls":!1},null,8,["modelValue","min","max"])])]),_:1})],64)):_("",!0),p.showStatusSettings?(m(),r(d,{key:4},[t(n,{label:"启用该维度"},{default:o(()=>[t(g,{modelValue:e.value.is_active,"onUpdate:modelValue":l[11]||(l[11]=a=>e.value.is_active=a)},null,8,["modelValue"])]),_:1}),t(n,{label:"设为默认"},{default:o(()=>[t(g,{modelValue:e.value.is_default,"onUpdate:modelValue":l[12]||(l[12]=a=>e.value.is_default=a)},null,8,["modelValue"])]),_:1})],64)):_("",!0)],64)}}}),Ee=ee(oe,[["__scopeId","data-v-c192dba1"]]);export{Ee as D,M as E}; +======== +请在此编写您的自定义评估 Prompt...`},le={class:"method-desc"},ae={class:"method-desc"},te={style:{width:"100%"}},c=.5,oe=R({__name:"DimensionFormFields",props:L({evalModels:{},showDescription:{type:Boolean,default:!0},showStatusSettings:{type:Boolean,default:!0},allowedTypes:{default:()=>["classification","metric","text_similarity"]}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(p){const P=G(async()=>(await k(()=>Promise.resolve({}),__vite__mapDeps([0])),(await k(()=>import("./index-DlqR5_tk.js").then(l=>l.w),__vite__mapDeps([1,2,3]))).MdEditor)),D=p,e=B(p,"modelValue"),N=U(()=>Object.entries(j).filter(([u])=>D.allowedTypes.includes(u)).map(([u,l])=>({value:u,label:l}))),x=U(()=>e.value.type?M[e.value.type]||[]:[]);return b(()=>e.value.type,u=>{var s,i;if(!u)return;const l=((i=(s=M[u])==null?void 0:s[0])==null?void 0:i.value)||"";e.value.eval_method=u==="text_similarity"?[l]:l,u!=="text_similarity"&&y[l]&&(e.value.eval_prompt=y[l])},{flush:"sync"}),b(()=>e.value.eval_method,u=>{if(e.value.type==="text_similarity"||!u)return;const l=Array.isArray(u)?u[0]:u;l&&y[l]&&(e.value.eval_prompt=y[l])},{flush:"sync"}),b(()=>[e.value.type,e.value.score_min,e.value.score_max],([u,l,s])=>{if(u==="metric"){if(s<=l){e.value.score_max=l+c;return}e.value.pass_threshold=Math.min(Math.max(e.value.pass_threshold,l),s)}},{flush:"sync"}),(u,l)=>{const s=Y,i=H,n=q,O=z,S=W,C=Q,T=K,A=J,h=X,F=Z,g=$;return m(),r(d,null,[t(n,{label:"指标类型",prop:"type"},{default:o(()=>[t(i,{modelValue:e.value.type,"onUpdate:modelValue":l[0]||(l[0]=a=>e.value.type=a),placeholder:"请选择指标类型",style:{width:"100%"}},{default:o(()=>[(m(!0),r(d,null,f(N.value,a=>(m(),v(s,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),p.showDescription?(m(),v(n,{key:0,label:"描述"},{default:o(()=>[t(O,{modelValue:e.value.description,"onUpdate:modelValue":l[1]||(l[1]=a=>e.value.description=a),type:"textarea",rows:2,maxlength:"200","show-word-limit":""},null,8,["modelValue"])]),_:1})):_("",!0),e.value.type==="classification"||e.value.type==="metric"?(m(),r(d,{key:1},[t(n,{label:"选择大模型",prop:"eval_model"},{default:o(()=>[t(i,{modelValue:e.value.eval_model,"onUpdate:modelValue":l[2]||(l[2]=a=>e.value.eval_model=a),placeholder:"请选择评测模型",filterable:"",style:{width:"100%"}},{default:o(()=>[(m(!0),r(d,null,f(p.evalModels,a=>(m(),v(s,{key:a.id,label:a.name,value:a.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(n,{label:"评估方式",prop:"eval_method"},{default:o(()=>[t(C,{modelValue:e.value.eval_method,"onUpdate:modelValue":l[3]||(l[3]=a=>e.value.eval_method=a)},{default:o(()=>[(m(!0),r(d,null,f(x.value,a=>(m(),v(S,{key:a.value,value:a.value},{default:o(()=>[w(V(a.name)+" ",1),E("span",le,V(a.desc),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(n,{label:"评估 Prompt",prop:"eval_prompt"},{default:o(()=>[t(I(P),{modelValue:e.value.eval_prompt,"onUpdate:modelValue":l[4]||(l[4]=a=>e.value.eval_prompt=a),language:"zh-CN","toolbars-exclude":["github","save"],style:{height:"320px"}},null,8,["modelValue"])]),_:1})],64)):_("",!0),e.value.type==="text_similarity"?(m(),r(d,{key:2},[t(n,{label:"评估方式",prop:"eval_method"},{default:o(()=>[t(A,{modelValue:e.value.eval_method,"onUpdate:modelValue":l[5]||(l[5]=a=>e.value.eval_method=a)},{default:o(()=>[(m(!0),r(d,null,f(x.value,a=>(m(),v(T,{key:a.value,value:a.value},{default:o(()=>[w(V(a.name)+" ",1),E("span",ae,V(a.desc),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(n,{label:"BLEU n-gram"},{default:o(()=>[t(i,{modelValue:e.value.bleu_n,"onUpdate:modelValue":l[6]||(l[6]=a=>e.value.bleu_n=a),style:{width:"160px"}},{default:o(()=>[t(s,{value:1,label:"1-gram"}),t(s,{value:2,label:"2-gram"}),t(s,{value:3,label:"3-gram"}),t(s,{value:4,label:"4-gram"})]),_:1},8,["modelValue"])]),_:1}),t(n,{label:"输出精度"},{default:o(()=>[t(i,{modelValue:e.value.output_precision,"onUpdate:modelValue":l[7]||(l[7]=a=>e.value.output_precision=a),style:{width:"160px"}},{default:o(()=>[t(s,{value:1,label:"1 位小数"}),t(s,{value:2,label:"2 位小数"}),t(s,{value:3,label:"3 位小数"}),t(s,{value:4,label:"4 位小数"})]),_:1},8,["modelValue"])]),_:1})],64)):_("",!0),e.value.type==="metric"?(m(),r(d,{key:3},[t(n,{label:"评分最小值",prop:"score_min"},{default:o(()=>[t(h,{modelValue:e.value.score_min,"onUpdate:modelValue":l[8]||(l[8]=a=>e.value.score_min=a),min:0,max:Math.max(e.value.score_max-c,0),step:c,style:{width:"160px"}},null,8,["modelValue","max"])]),_:1}),t(n,{label:"评分最大值",prop:"score_max"},{default:o(()=>[t(h,{modelValue:e.value.score_max,"onUpdate:modelValue":l[9]||(l[9]=a=>e.value.score_max=a),min:e.value.score_min+c,step:c,style:{width:"160px"}},null,8,["modelValue","min"])]),_:1}),t(n,{label:"通过阈值",prop:"pass_threshold"},{default:o(()=>[E("div",te,[t(F,{modelValue:e.value.pass_threshold,"onUpdate:modelValue":l[10]||(l[10]=a=>e.value.pass_threshold=a),min:e.value.score_min,max:e.value.score_max,step:.5,"show-input":"","show-input-controls":!1},null,8,["modelValue","min","max"])])]),_:1})],64)):_("",!0),p.showStatusSettings?(m(),r(d,{key:4},[t(n,{label:"启用该维度"},{default:o(()=>[t(g,{modelValue:e.value.is_active,"onUpdate:modelValue":l[11]||(l[11]=a=>e.value.is_active=a)},null,8,["modelValue"])]),_:1}),t(n,{label:"设为默认"},{default:o(()=>[t(g,{modelValue:e.value.is_default,"onUpdate:modelValue":l[12]||(l[12]=a=>e.value.is_default=a)},null,8,["modelValue"])]),_:1})],64)):_("",!0)],64)}}}),Ee=ee(oe,[["__scopeId","data-v-c194cd75"]]);export{Ee as D,M as E}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/DimensionFormFields-bC-zvb-R.js diff --git a/frontend/dist/assets/DimensionFormFields-bC-zvb-R.js b/frontend/dist/assets/DimensionFormFields-bC-zvb-R.js new file mode 100644 index 0000000..c0cefb9 --- /dev/null +++ b/frontend/dist/assets/DimensionFormFields-bC-zvb-R.js @@ -0,0 +1,70 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/style-CLmeZurA.css","assets/index-DlqR5_tk.js","assets/index-CxbBjZKo.js","assets/index-BrKMLqs4.css"])))=>i.map(i=>d[i]); +import{d as R,az as B,D as b,o as m,c as r,M as d,s as t,w as o,ad as f,e as v,g as _,x as w,aa as V,q as E,f as I,aA as L,aC as G,j as U,aD as k,aE as j}from"./index-CxbBjZKo.js";import{a as q}from"./el-form-item-BA3ZlfqF.js";import{E as z}from"./index-zJ9bqPrh.js";import{E as H,a as Y}from"./el-select-CeiDjMzB.js";import{a as J,E as K}from"./el-checkbox-C_TzqU9u.js";import{E as Q,b as W}from"./el-radio-group-BJiEgTS_.js";import{E as X}from"./el-input-number-Ba6IqA7Z.js";import{E as Z}from"./el-slider-CPsf2yeE.js";import{E as $}from"./el-switch-EBBsaB1p.js";import"./el-popper-OAwpEmER.js";import"./el-tooltip-l0sNRNKZ.js";/* empty css */import"./el-scrollbar-B0E7ZTt3.js";/* empty css */import{_ as ee}from"./_plugin-vue_export-helper-DlAUqK2U.js";const M={classification:[{value:"standard",name:"标准匹配",desc:"根据预设标准评估"},{value:"sentiment",name:"情感分析",desc:"识别文本情感倾向"},{value:"custom",name:"自定义评分器",desc:"自定义评估规则"}],metric:[{value:"metric_standard",name:"综合评测",desc:"根据预设标准评分"},{value:"semantic",name:"语义相似度",desc:"计算语义相似程度"},{value:"custom",name:"自定义评分器",desc:"自定义评估规则"}],text_similarity:[{value:"bleu_4",name:"BLEU-4",desc:"N-gram 精确度评估"},{value:"cosine",name:"Cosine",desc:"余弦相似度"},{value:"rouge_1",name:"ROUGE-1",desc:"unigram 重叠评估"},{value:"rouge_2",name:"ROUGE-2",desc:"bigram 重叠评估"},{value:"rouge_4",name:"ROUGE-4",desc:"4-gram 重叠评估"}]},y={standard:`# 角色 +你是一位专业的对话评估专家,擅长根据提供的标准对助理在对话中的最终反应进行评估,并确定其是否[[Pass]]或[[Fail]]。 + +## 技能 +### 技能 1: 对话回顾 +- 通读整个对话以理解上下文和背景信息。 +- 确保全面理解对话的意图和用户的需求。 + +### 技能 2: 最终回答识别 +- 从对话中准确识别出助理给出的最后一个回答。 +- 确保关注的是最终的回答,而不是中间的部分。 + +### 技能 3: 标准应用 +- 仔细审查每个评价标准。 +- 将助理的最终回答与标准的各个方面进行详细比较。 + +### 技能 4: 逐步推理 +- 记录每个标准以及最终响应如何满足或不满足该标准。 +- 提供详细的证据,并解释为什么最终答复满足或不满足期望。 + +### 技能 5: 结果判定 +- 根据逐步推理的结果,判断最终回答是[[Pass]]或[[Fail]] +- 提供明确的结论并解释理由。 + +## 输出格式 +以下列格式提供结果: +- **分步推理:**[详细推理在这里] +- **最终结果:**[[Pass]]或[[Fail]] + +## 限制 +- 只针对对话中的最终回答进行评估。 +- 在评估过程中,确保遵循提供的标准,避免主观判断。`,sentiment:`# 角色 +你是一位专业的情感分析专家,擅长识别文本中的情感倾向,并给出[[Positive]]、[[Neutral]]或[[Negative]]的判断。 + +## 技能 +### 技能 1: 文本理解 +- 通读输入文本,理解其内容和语境。 + +### 技能 2: 情感识别 +- 识别文本中表达的情感词汇、语气和情感强度。 +- 分析上下文中的情感线索。 + +### 技能 3: 情感判定 +- 根据识别到的情感信息,判断整体情感倾向。 + +## 输出格式 +- **情感分析:**[分析过程] +- **最终结果:**[[Positive]]/[[Neutral]]/[[Negative]]`,metric_standard:`# 角色 +你是一位专业的模型评估专家,擅长根据预设标准对模型输出进行综合评分(0-5分)。 + +## 评估标准 +请从以下维度对模型输出进行评分: +1. 准确性:回答是否准确无误 +2. 完整性:是否完整覆盖了问题的各个方面 +3. 连贯性:回答是否逻辑清晰、结构合理 +4. 可读性:语言表达是否流畅、易懂 + +## 输出格式 +- **评分理由:**[详细说明] +- **最终评分:**[0-5 的分数]`,semantic:`# 角色 +你是一位专业的语义相似度评估专家,擅长计算两段文本之间的语义相似程度。 + +## 任务 +请评估生成文本与参考文本在语义上的相似程度,给出 0-1 之间的分数。 + +## 输出格式 +- **相似度分析:**[分析过程] +- **相似度分数:**[0-1 的分数]`,custom:`# 自定义评估器 +请在此编写您的自定义评估 Prompt...`},le={class:"method-desc"},ae={class:"method-desc"},te={style:{width:"100%"}},c=.5,oe=R({__name:"DimensionFormFields",props:L({evalModels:{},showDescription:{type:Boolean,default:!0},showStatusSettings:{type:Boolean,default:!0},allowedTypes:{default:()=>["classification","metric","text_similarity"]}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(p){const P=G(async()=>(await k(()=>Promise.resolve({}),__vite__mapDeps([0])),(await k(()=>import("./index-DlqR5_tk.js").then(l=>l.w),__vite__mapDeps([1,2,3]))).MdEditor)),D=p,e=B(p,"modelValue"),N=U(()=>Object.entries(j).filter(([u])=>D.allowedTypes.includes(u)).map(([u,l])=>({value:u,label:l}))),x=U(()=>e.value.type?M[e.value.type]||[]:[]);return b(()=>e.value.type,u=>{var s,i;if(!u)return;const l=((i=(s=M[u])==null?void 0:s[0])==null?void 0:i.value)||"";e.value.eval_method=u==="text_similarity"?[l]:l,u!=="text_similarity"&&y[l]&&(e.value.eval_prompt=y[l])},{flush:"sync"}),b(()=>e.value.eval_method,u=>{if(e.value.type==="text_similarity"||!u)return;const l=Array.isArray(u)?u[0]:u;l&&y[l]&&(e.value.eval_prompt=y[l])},{flush:"sync"}),b(()=>[e.value.type,e.value.score_min,e.value.score_max],([u,l,s])=>{if(u==="metric"){if(s<=l){e.value.score_max=l+c;return}e.value.pass_threshold=Math.min(Math.max(e.value.pass_threshold,l),s)}},{flush:"sync"}),(u,l)=>{const s=Y,i=H,n=q,O=z,S=W,C=Q,T=K,A=J,h=X,F=Z,g=$;return m(),r(d,null,[t(n,{label:"指标类型",prop:"type"},{default:o(()=>[t(i,{modelValue:e.value.type,"onUpdate:modelValue":l[0]||(l[0]=a=>e.value.type=a),placeholder:"请选择指标类型",style:{width:"100%"}},{default:o(()=>[(m(!0),r(d,null,f(N.value,a=>(m(),v(s,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),p.showDescription?(m(),v(n,{key:0,label:"描述"},{default:o(()=>[t(O,{modelValue:e.value.description,"onUpdate:modelValue":l[1]||(l[1]=a=>e.value.description=a),type:"textarea",rows:2,maxlength:"200","show-word-limit":""},null,8,["modelValue"])]),_:1})):_("",!0),e.value.type==="classification"||e.value.type==="metric"?(m(),r(d,{key:1},[t(n,{label:"选择大模型",prop:"eval_model"},{default:o(()=>[t(i,{modelValue:e.value.eval_model,"onUpdate:modelValue":l[2]||(l[2]=a=>e.value.eval_model=a),placeholder:"请选择评测模型",filterable:"",style:{width:"100%"}},{default:o(()=>[(m(!0),r(d,null,f(p.evalModels,a=>(m(),v(s,{key:a.id,label:a.name,value:a.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(n,{label:"评估方式",prop:"eval_method"},{default:o(()=>[t(C,{modelValue:e.value.eval_method,"onUpdate:modelValue":l[3]||(l[3]=a=>e.value.eval_method=a)},{default:o(()=>[(m(!0),r(d,null,f(x.value,a=>(m(),v(S,{key:a.value,value:a.value},{default:o(()=>[w(V(a.name)+" ",1),E("span",le,V(a.desc),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(n,{label:"评估 Prompt",prop:"eval_prompt"},{default:o(()=>[t(I(P),{modelValue:e.value.eval_prompt,"onUpdate:modelValue":l[4]||(l[4]=a=>e.value.eval_prompt=a),language:"zh-CN","toolbars-exclude":["github","save"],style:{height:"320px"}},null,8,["modelValue"])]),_:1})],64)):_("",!0),e.value.type==="text_similarity"?(m(),r(d,{key:2},[t(n,{label:"评估方式",prop:"eval_method"},{default:o(()=>[t(A,{modelValue:e.value.eval_method,"onUpdate:modelValue":l[5]||(l[5]=a=>e.value.eval_method=a)},{default:o(()=>[(m(!0),r(d,null,f(x.value,a=>(m(),v(T,{key:a.value,value:a.value},{default:o(()=>[w(V(a.name)+" ",1),E("span",ae,V(a.desc),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(n,{label:"BLEU n-gram"},{default:o(()=>[t(i,{modelValue:e.value.bleu_n,"onUpdate:modelValue":l[6]||(l[6]=a=>e.value.bleu_n=a),style:{width:"160px"}},{default:o(()=>[t(s,{value:1,label:"1-gram"}),t(s,{value:2,label:"2-gram"}),t(s,{value:3,label:"3-gram"}),t(s,{value:4,label:"4-gram"})]),_:1},8,["modelValue"])]),_:1}),t(n,{label:"输出精度"},{default:o(()=>[t(i,{modelValue:e.value.output_precision,"onUpdate:modelValue":l[7]||(l[7]=a=>e.value.output_precision=a),style:{width:"160px"}},{default:o(()=>[t(s,{value:1,label:"1 位小数"}),t(s,{value:2,label:"2 位小数"}),t(s,{value:3,label:"3 位小数"}),t(s,{value:4,label:"4 位小数"})]),_:1},8,["modelValue"])]),_:1})],64)):_("",!0),e.value.type==="metric"?(m(),r(d,{key:3},[t(n,{label:"评分最小值",prop:"score_min"},{default:o(()=>[t(h,{modelValue:e.value.score_min,"onUpdate:modelValue":l[8]||(l[8]=a=>e.value.score_min=a),min:0,max:Math.max(e.value.score_max-c,0),step:c,style:{width:"160px"}},null,8,["modelValue","max"])]),_:1}),t(n,{label:"评分最大值",prop:"score_max"},{default:o(()=>[t(h,{modelValue:e.value.score_max,"onUpdate:modelValue":l[9]||(l[9]=a=>e.value.score_max=a),min:e.value.score_min+c,step:c,style:{width:"160px"}},null,8,["modelValue","min"])]),_:1}),t(n,{label:"通过阈值",prop:"pass_threshold"},{default:o(()=>[E("div",te,[t(F,{modelValue:e.value.pass_threshold,"onUpdate:modelValue":l[10]||(l[10]=a=>e.value.pass_threshold=a),min:e.value.score_min,max:e.value.score_max,step:.5,"show-input":"","show-input-controls":!1},null,8,["modelValue","min","max"])])]),_:1})],64)):_("",!0),p.showStatusSettings?(m(),r(d,{key:4},[t(n,{label:"启用该维度"},{default:o(()=>[t(g,{modelValue:e.value.is_active,"onUpdate:modelValue":l[11]||(l[11]=a=>e.value.is_active=a)},null,8,["modelValue"])]),_:1}),t(n,{label:"设为默认"},{default:o(()=>[t(g,{modelValue:e.value.is_default,"onUpdate:modelValue":l[12]||(l[12]=a=>e.value.is_default=a)},null,8,["modelValue"])]),_:1})],64)):_("",!0)],64)}}}),Ee=ee(oe,[["__scopeId","data-v-c194cd75"]]);export{Ee as D,M as E}; diff --git a/frontend/dist/assets/DimensionFormFields-jElmd60O.css b/frontend/dist/assets/DimensionFormFields-jElmd60O.css deleted file mode 100644 index 4773e55..0000000 --- a/frontend/dist/assets/DimensionFormFields-jElmd60O.css +++ /dev/null @@ -1 +0,0 @@ -.method-desc[data-v-c192dba1]{color:#909399;font-size:12px;margin-left:6px} diff --git a/frontend/dist/assets/DimensionFormFields-m3yQWFvt.css b/frontend/dist/assets/DimensionFormFields-m3yQWFvt.css new file mode 100644 index 0000000..f0cf2ac --- /dev/null +++ b/frontend/dist/assets/DimensionFormFields-m3yQWFvt.css @@ -0,0 +1 @@ +.method-desc[data-v-c194cd75]{color:#909399;font-size:12px;margin-left:6px} diff --git a/frontend/dist/assets/EvalCreateView-BGllY7Gc.css b/frontend/dist/assets/EvalCreateView-BGllY7Gc.css new file mode 100644 index 0000000..7d5228a --- /dev/null +++ b/frontend/dist/assets/EvalCreateView-BGllY7Gc.css @@ -0,0 +1 @@ +.step-form[data-v-684556c4]{max-width:760px}.field-tip[data-v-684556c4]{color:#909399;font-size:12px;line-height:20px}.source-alert[data-v-684556c4]{margin:-4px 0 20px 120px;max-width:640px}.step-form[data-v-91940aa0]{max-width:760px}.step-form-wide[data-v-91940aa0]{max-width:920px}.basic-metric-form[data-v-dac20296]{max-width:760px}.start-eval-step[data-v-7800c08e]{max-width:920px}.create-wizard-layout[data-v-95b7e7f1]{display:flex;flex-direction:column;min-height:620px;margin:-20px;background:#fff}.wizard-main[data-v-95b7e7f1]{flex:1;padding:32px}.wizard-steps-container[data-v-95b7e7f1]{margin-bottom:32px;padding-bottom:24px;border-bottom:1px dashed #e2e8f0}.custom-wizard-steps[data-v-95b7e7f1]{display:flex;align-items:center;justify-content:space-between;max-width:1120px;margin:0 auto;padding:0 20px}.step-item[data-v-95b7e7f1]{display:flex;flex:none;align-items:center}.step-connector[data-v-95b7e7f1]{flex:1;height:2px;margin:0 12px;background:#e2e8f0;transition:background-color .2s ease}.step-connector.is-active[data-v-95b7e7f1]{background:#5146e5}.step-node[data-v-95b7e7f1]{display:flex;align-items:center;gap:12px}.step-icon[data-v-95b7e7f1]{display:flex;width:30px;height:30px;flex:0 0 30px;align-items:center;justify-content:center;box-sizing:border-box;border:2px solid #cbd5e1;border-radius:50%;background:#fff;color:#64748b;font-size:13px;font-weight:650;transition:all .2s ease}.step-title[data-v-95b7e7f1]{color:#64748b;font-size:15px;font-weight:600;white-space:nowrap}.step-description[data-v-95b7e7f1]{margin-top:3px;color:#94a3b8;font-size:12px;white-space:nowrap}.step-item.is-active .step-icon[data-v-95b7e7f1]{border-color:#5146e5;background:#eef2ff;color:#5146e5}.step-item.is-active .step-title[data-v-95b7e7f1],.step-item.is-completed .step-title[data-v-95b7e7f1]{color:#1e293b}.step-item.is-completed .step-icon[data-v-95b7e7f1]{border-color:#5146e5;background:#5146e5;color:#fff}.wizard-content[data-v-95b7e7f1]{max-width:920px;min-height:400px;margin:0 auto}.wizard-footer[data-v-95b7e7f1]{display:flex;min-height:64px;flex-shrink:0;align-items:center;justify-content:flex-end;gap:12px;padding:0 32px;border-top:1px solid #e2e8f0;background:#fff;box-shadow:0 -4px 6px -1px #0f172a05}.footer-back[data-v-95b7e7f1]{margin-right:auto}.footer-button-icon[data-v-95b7e7f1]{margin-right:6px}.footer-button-icon.is-right[data-v-95b7e7f1]{margin-right:0;margin-left:6px}@media(max-width:1100px){.step-description[data-v-95b7e7f1]{display:none}}@media(max-width:760px){.wizard-main[data-v-95b7e7f1]{padding:24px 20px}.custom-wizard-steps[data-v-95b7e7f1]{padding:0}.step-connector[data-v-95b7e7f1]{margin:0 8px}.step-text[data-v-95b7e7f1]{display:none}.wizard-footer[data-v-95b7e7f1]{padding:0 20px}} diff --git a/frontend/dist/assets/EvalCreateView-DW15zgvp.css b/frontend/dist/assets/EvalCreateView-DW15zgvp.css deleted file mode 100644 index 9bbf5f1..0000000 --- a/frontend/dist/assets/EvalCreateView-DW15zgvp.css +++ /dev/null @@ -1 +0,0 @@ -.step-form[data-v-41b02b05]{max-width:760px}.field-tip[data-v-41b02b05]{color:#909399;font-size:12px;line-height:20px}.source-alert[data-v-41b02b05]{margin:-4px 0 20px 120px;max-width:640px}.step-form[data-v-4a03e7a1]{max-width:760px}.step-form-wide[data-v-4a03e7a1]{max-width:920px}.basic-metric-form[data-v-55c3e9f0]{max-width:760px}.start-eval-step[data-v-1470a4e6]{max-width:920px}.create-wizard-layout[data-v-63694ec5]{display:flex;flex-direction:column;min-height:620px;margin:-20px;background:#fff}.wizard-main[data-v-63694ec5]{flex:1;padding:32px}.wizard-steps-container[data-v-63694ec5]{margin-bottom:32px;padding-bottom:24px;border-bottom:1px dashed #e2e8f0}.custom-wizard-steps[data-v-63694ec5]{display:flex;align-items:center;justify-content:space-between;max-width:1120px;margin:0 auto;padding:0 20px}.step-item[data-v-63694ec5]{display:flex;flex:none;align-items:center}.step-connector[data-v-63694ec5]{flex:1;height:2px;margin:0 12px;background:#e2e8f0;transition:background-color .2s ease}.step-connector.is-active[data-v-63694ec5]{background:#5146e5}.step-node[data-v-63694ec5]{display:flex;align-items:center;gap:12px}.step-icon[data-v-63694ec5]{display:flex;width:30px;height:30px;flex:0 0 30px;align-items:center;justify-content:center;box-sizing:border-box;border:2px solid #cbd5e1;border-radius:50%;background:#fff;color:#64748b;font-size:13px;font-weight:650;transition:all .2s ease}.step-title[data-v-63694ec5]{color:#64748b;font-size:15px;font-weight:600;white-space:nowrap}.step-description[data-v-63694ec5]{margin-top:3px;color:#94a3b8;font-size:12px;white-space:nowrap}.step-item.is-active .step-icon[data-v-63694ec5]{border-color:#5146e5;background:#eef2ff;color:#5146e5}.step-item.is-active .step-title[data-v-63694ec5],.step-item.is-completed .step-title[data-v-63694ec5]{color:#1e293b}.step-item.is-completed .step-icon[data-v-63694ec5]{border-color:#5146e5;background:#5146e5;color:#fff}.wizard-content[data-v-63694ec5]{max-width:920px;min-height:400px;margin:0 auto}.wizard-footer[data-v-63694ec5]{display:flex;min-height:64px;flex-shrink:0;align-items:center;justify-content:flex-end;gap:12px;padding:0 32px;border-top:1px solid #e2e8f0;background:#fff;box-shadow:0 -4px 6px -1px #0f172a05}.footer-back[data-v-63694ec5]{margin-right:auto}.footer-button-icon[data-v-63694ec5]{margin-right:6px}.footer-button-icon.is-right[data-v-63694ec5]{margin-right:0;margin-left:6px}@media(max-width:1100px){.step-description[data-v-63694ec5]{display:none}}@media(max-width:760px){.wizard-main[data-v-63694ec5]{padding:24px 20px}.custom-wizard-steps[data-v-63694ec5]{padding:0}.step-connector[data-v-63694ec5]{margin:0 8px}.step-text[data-v-63694ec5]{display:none}.wizard-footer[data-v-63694ec5]{padding:0 20px}} diff --git a/frontend/dist/assets/EvalCreateView-DhvGYj5M.js b/frontend/dist/assets/EvalCreateView-DhvGYj5M.js new file mode 100644 index 0000000..9aa99bd --- /dev/null +++ b/frontend/dist/assets/EvalCreateView-DhvGYj5M.js @@ -0,0 +1 @@ +import{E as Q}from"./index-D23K2h6y.js";import{v as X}from"./directive-DCr8Ae3g.js";import{d as $,az as O,D as A,o as s,e as c,w as l,s as o,c as S,M as q,ad as F,q as k,x as f,aA as T,y,g as G,aa as E,G as ee,at as ae,A as I,K as le,n as N,v as te}from"./index-CxbBjZKo.js";import{P as oe}from"./PageCard-CC9cofwx.js";import{E as se}from"./el-alert-Ty1qfW58.js";import{E as z,a as j}from"./el-form-item-BA3ZlfqF.js";import{E as ie}from"./index-zJ9bqPrh.js";import{E as re,a as de}from"./el-select-CeiDjMzB.js";import{E as ue,b as ne}from"./el-radio-group-BJiEgTS_.js";import{E as K}from"./el-switch-EBBsaB1p.js";import"./el-scrollbar-B0E7ZTt3.js";import"./el-popper-OAwpEmER.js";/* empty css */import{_ as L}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{D as me}from"./DimensionFormFields-bC-zvb-R.js";import{E as ce,a as _e}from"./el-checkbox-C_TzqU9u.js";import{E as pe}from"./el-input-number-Ba6IqA7Z.js";/* empty css */import{E as ve}from"./index-BjlLyKON.js";import{E as fe,a as be}from"./el-descriptions-BNd8WHaD.js";import{E as ge}from"./el-space-9hUfFaMV.js";import{s as Ve,c as ye}from"./eval-BLcZ-A_I.js";import{a as ke,g as Ee}from"./model-B9dq9fy6.js";import{g as we}from"./dataset-BdzlocXa.js";import"./el-card-BsCFVTSD.js";import"./vnode-DIVHEdsp.js";import"./castArray-CwVgzdTt.js";import"./_baseClone-B6d4qZbo.js";import"./raf-Bjl8yy5U.js";import"./index-C4wGR5UT.js";import"./index-DxP0p4ch.js";import"./index-DHcidAHK.js";import"./index-Bzaib5AU.js";import"./scroll-Dvb2mTx8.js";import"./clamp-Ow4I6lPc.js";import"./toNumber-Yuob3eJv.js";import"./_baseIteratee-C6JbNheX.js";import"./omit-CbHF-OEy.js";import"./validator-AVoXfk3G.js";import"./el-slider-CPsf2yeE.js";import"./debounce-BJxjS5F3.js";import"./el-tooltip-l0sNRNKZ.js";import"./index-ZKnv_mga.js";const Me=$({__name:"EvalTaskSetupStep",props:T({trainedModels:{},evalDatasets:{},gpus:{},loading:{type:Boolean},disabled:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(b,{expose:u}){const e=O(b,"modelValue"),r=y(),i={eval_task_name:[{required:!0,message:"请输入任务名称",trigger:"blur"},{max:50,message:"任务名称不超过 50 个字符",trigger:"blur"}],model_id:[{required:!0,message:"请选择评测模型",trigger:"change"}],gpu_id:[{required:!0,message:"请选择 GPU",trigger:"change"}],dataset_id:[{validator:(g,a,p)=>{if(e.value.data_source==="dataset"&&(a===""||a===null||a===void 0)){p(new Error("请选择评测数据集"));return}p()},trigger:"change"}]};A(()=>e.value.data_source,g=>{var a;g!=="dataset"&&(e.value.dataset_id="",(a=r.value)==null||a.clearValidate("dataset_id"))});async function _(){if(!r.value)return!1;try{return!!await r.value.validate()}catch{return!1}}return u({validate:_}),(g,a)=>{const p=ie,v=j,w=de,M=re,R=ne,D=ue,n=se,C=K,h=z;return s(),c(h,{ref_key:"formRef",ref:r,model:e.value,rules:i,"label-width":"120px",class:"step-form",disabled:b.disabled,"scroll-to-error":""},{default:l(()=>[o(v,{label:"任务名称",prop:"eval_task_name"},{default:l(()=>[o(p,{modelValue:e.value.eval_task_name,"onUpdate:modelValue":a[0]||(a[0]=m=>e.value.eval_task_name=m),placeholder:"请输入任务名称",maxlength:"50","show-word-limit":""},null,8,["modelValue"])]),_:1}),o(v,{label:"评测模型",prop:"model_id"},{default:l(()=>[o(M,{modelValue:e.value.model_id,"onUpdate:modelValue":a[1]||(a[1]=m=>e.value.model_id=m),placeholder:"请选择已训练且已合并的模型",filterable:"",style:{width:"100%"},loading:b.loading},{default:l(()=>[(s(!0),S(q,null,F(b.trainedModels,m=>(s(),c(w,{key:m.id,label:m.name,value:m.id,disabled:!m.merged},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue","loading"]),a[6]||(a[6]=k("div",{class:"field-tip"},"未完成合并的模型不可用于评测。",-1))]),_:1}),o(v,{label:"选择 GPU",prop:"gpu_id"},{default:l(()=>[o(M,{modelValue:e.value.gpu_id,"onUpdate:modelValue":a[2]||(a[2]=m=>e.value.gpu_id=m),placeholder:"请选择 GPU",style:{width:"100%"},loading:b.loading},{default:l(()=>[(s(!0),S(q,null,F(b.gpus,(m,P)=>(s(),c(w,{key:P,label:`${m.name} (GPU ${P})`,value:P},null,8,["label","value"]))),128))]),_:1},8,["modelValue","loading"])]),_:1}),o(v,{label:"数据来源"},{default:l(()=>[o(D,{modelValue:e.value.data_source,"onUpdate:modelValue":a[3]||(a[3]=m=>e.value.data_source=m)},{default:l(()=>[o(R,{value:"dataset"},{default:l(()=>[...a[7]||(a[7]=[f("评测数据集",-1)])]),_:1}),o(R,{value:"inference"},{default:l(()=>[...a[8]||(a[8]=[f("推理结果集",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),e.value.data_source==="dataset"?(s(),c(v,{key:0,label:"评测数据集",prop:"dataset_id"},{default:l(()=>[o(M,{modelValue:e.value.dataset_id,"onUpdate:modelValue":a[4]||(a[4]=m=>e.value.dataset_id=m),placeholder:"请选择评测数据集",filterable:"",style:{width:"100%"},loading:b.loading},{default:l(()=>[(s(!0),S(q,null,F(b.evalDatasets,m=>(s(),c(w,{key:m.id,label:m.name,value:m.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","loading"])]),_:1})):(s(),c(n,{key:1,title:"将使用该模型最近一次可用的推理结果集。",type:"info",closable:!1,"show-icon":"",class:"source-alert"})),o(v,{label:"加入排行榜"},{default:l(()=>[o(C,{modelValue:e.value.leaderboard,"onUpdate:modelValue":a[5]||(a[5]=m=>e.value.leaderboard=m)},null,8,["modelValue"])]),_:1})]),_:1},8,["model","disabled"])}}}),he=L(Me,[["__scopeId","data-v-684556c4"]]),Se={class:"rule-step"},Ue=$({__name:"EvalRuleSetupStep",props:T({evalModels:{},disabled:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(b,{expose:u}){const e=O(b,"modelValue"),r=y(),i=["classification","metric"],_={type:[{required:!0,message:"请选择大模型评测指标类型",trigger:"change"}],eval_model:[{required:!0,message:"请选择评测大模型",trigger:"change"}],eval_method:[{required:!0,message:"请选择评估方式",trigger:"change"}],eval_prompt:[{required:!0,message:"请填写评估 Prompt",trigger:"blur"}]};async function g(){if(!r.value)return!1;try{return!!await r.value.validate()}catch{return!1}}return u({validate:g}),(a,p)=>{const v=z;return s(),S("div",Se,[o(v,{ref_key:"newFormRef",ref:r,model:e.value,rules:_,"label-width":"130px",class:"step-form step-form-wide",disabled:b.disabled,"scroll-to-error":""},{default:l(()=>[o(me,{modelValue:e.value,"onUpdate:modelValue":p[0]||(p[0]=w=>e.value=w),"eval-models":b.evalModels,"show-description":!1,"show-status-settings":!1,"allowed-types":i},null,8,["modelValue","eval-models"])]),_:1},8,["model","disabled"])])}}}),Re=L(Ue,[["__scopeId","data-v-91940aa0"]]),De=$({__name:"BasicMetricSetupStep",props:T({disabled:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(b,{expose:u}){const e=O(b,"modelValue"),r=y(),i={bleu_n:[{required:!0,type:"number",min:1,max:8,message:"BLEU ngram must be between 1 and 8",trigger:"change"}],output_precision:[{required:!0,type:"number",min:0,max:8,message:"Precision must be between 0 and 8",trigger:"change"}]};async function _(){if(!r.value)return!1;try{return!!await r.value.validate()}catch{return!1}}return u({validate:_}),(g,a)=>{const p=K,v=j,w=pe,M=ce,R=_e,D=z;return s(),c(D,{ref_key:"formRef",ref:r,model:e.value,rules:i,"label-width":"140px",class:"basic-metric-form",disabled:b.disabled},{default:l(()=>[o(v,{label:"BLEU"},{default:l(()=>[o(p,{modelValue:e.value.bleu_enabled,"onUpdate:modelValue":a[0]||(a[0]=n=>e.value.bleu_enabled=n)},null,8,["modelValue"])]),_:1}),e.value.bleu_enabled?(s(),c(v,{key:0,label:"BLEU ngram",prop:"bleu_n"},{default:l(()=>[o(w,{modelValue:e.value.bleu_n,"onUpdate:modelValue":a[1]||(a[1]=n=>e.value.bleu_n=n),min:1,max:8},null,8,["modelValue"])]),_:1})):G("",!0),o(v,{label:"ROUGE"},{default:l(()=>[o(p,{modelValue:e.value.rouge_enabled,"onUpdate:modelValue":a[2]||(a[2]=n=>e.value.rouge_enabled=n)},null,8,["modelValue"])]),_:1}),e.value.rouge_enabled?(s(),c(v,{key:1,label:"ROUGE methods"},{default:l(()=>[o(R,{modelValue:e.value.rouge_methods,"onUpdate:modelValue":a[3]||(a[3]=n=>e.value.rouge_methods=n)},{default:l(()=>[o(M,{value:"rouge_1"},{default:l(()=>[...a[6]||(a[6]=[f("ROUGE-1",-1)])]),_:1}),o(M,{value:"rouge_2"},{default:l(()=>[...a[7]||(a[7]=[f("ROUGE-2",-1)])]),_:1}),o(M,{value:"rouge_l"},{default:l(()=>[...a[8]||(a[8]=[f("ROUGE-L",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})):G("",!0),o(v,{label:"Cosine"},{default:l(()=>[o(p,{modelValue:e.value.cosine_enabled,"onUpdate:modelValue":a[4]||(a[4]=n=>e.value.cosine_enabled=n)},null,8,["modelValue"])]),_:1}),o(v,{label:"Output precision",prop:"output_precision"},{default:l(()=>[o(w,{modelValue:e.value.output_precision,"onUpdate:modelValue":a[5]||(a[5]=n=>e.value.output_precision=n),min:0,max:8},null,8,["modelValue"])]),_:1})]),_:1},8,["model","disabled"])}}}),xe=L(De,[["__scopeId","data-v-dac20296"]]),Ce={class:"start-eval-step"},Be=$({__name:"StartEvalStep",props:{task:{},llmMetric:{},basicMetrics:{},trainedModels:{},evalDatasets:{},evalModels:{},gpus:{}},setup(b){const u=b;function e(r,i){var _;return((_=r.find(g=>g.id===i))==null?void 0:_.name)||String(i||"-")}return(r,i)=>{const _=fe,g=ve,a=ge,p=be;return s(),S("div",Ce,[o(p,{column:2,border:""},{default:l(()=>[o(_,{label:"Task"},{default:l(()=>[f(E(u.task.eval_task_name||"-"),1)]),_:1}),o(_,{label:"Model"},{default:l(()=>[f(E(e(u.trainedModels,u.task.model_id)),1)]),_:1}),o(_,{label:"GPU"},{default:l(()=>[f("GPU "+E(u.task.gpu_id||0),1)]),_:1}),o(_,{label:"Dataset"},{default:l(()=>[f(E(u.task.data_source==="dataset"?e(u.evalDatasets,u.task.dataset_id):"Inference results"),1)]),_:1}),o(_,{label:"Eval model"},{default:l(()=>[f(E(e(u.evalModels,u.llmMetric.eval_model||"")),1)]),_:1}),o(_,{label:"Eval method"},{default:l(()=>[f(E(u.llmMetric.eval_method||"-"),1)]),_:1}),o(_,{label:"Basic metrics",span:2},{default:l(()=>[o(a,{wrap:""},{default:l(()=>[u.basicMetrics.bleu_enabled?(s(),c(g,{key:0},{default:l(()=>[f("BLEU-"+E(u.basicMetrics.bleu_n),1)]),_:1})):G("",!0),u.basicMetrics.rouge_enabled?(s(),c(g,{key:1},{default:l(()=>[f(E(u.basicMetrics.rouge_methods.join(", ")),1)]),_:1})):G("",!0),u.basicMetrics.cosine_enabled?(s(),c(g,{key:2},{default:l(()=>[...i[0]||(i[0]=[f("Cosine",-1)])]),_:1})):G("",!0),o(g,{effect:"plain"},{default:l(()=>[f("Precision "+E(u.basicMetrics.output_precision),1)]),_:1})]),_:1})]),_:1})]),_:1})])}}}),Ie=L(Be,[["__scopeId","data-v-7800c08e"]]),Ge={class:"create-wizard-layout"},Pe={class:"wizard-main"},qe={class:"wizard-steps-container","aria-label":"评测任务创建步骤"},$e={class:"custom-wizard-steps"},Le=["aria-current","aria-label"],Fe={class:"step-node"},Oe={class:"step-icon","aria-hidden":"true"},Te={key:0,class:"fa fa-check"},ze={key:1},Ne={class:"step-text"},Ae={class:"step-title"},je={class:"step-description"},Ke={class:"wizard-content"},We={class:"wizard-footer"},Ye=$({__name:"EvalCreateView",setup(b){const u=te(),e=y(!1),r=y(!1),i=y(0),_=y(),g=y(),a=y(),p=[{title:"任务配置",description:"选择模型、算力与评测数据"},{title:"大模型评测指标",description:"配置评测模型、方式与标准"},{title:"基础评测指标",description:"选择 BLEU、ROUGE 等参考指标"},{title:"开始评测",description:"确认配置并启动评测任务"}],v=y([]),w=y([]),M=y([]),R=y([]),D=y(""),n=y({eval_task_name:"",model_id:"",gpu_id:"",data_source:"dataset",dataset_id:"",leaderboard:!1}),C=y({type:"",description:"",eval_model:"",eval_method:"",eval_prompt:"",is_active:!0,is_default:!1,bleu_n:1,output_precision:3,score_min:0,score_max:5,pass_threshold:3}),h=y({bleu_enabled:!1,bleu_n:4,rouge_enabled:!1,rouge_methods:["rouge_1","rouge_2"],cosine_enabled:!1,output_precision:3});A(C,()=>{D.value=""},{deep:!0});async function m(){var U,B;e.value=!0;const t=await Promise.allSettled([ke(),we(),ae(),Ee()]);t[0].status==="fulfilled"&&(v.value=((U=t[0].value)==null?void 0:U.models)||[]),t[1].status==="fulfilled"&&(w.value=(t[1].value||[]).filter(V=>V.type==="eval")),t[2].status==="fulfilled"&&(R.value=((B=t[2].value)==null?void 0:B.gpu)||[]),t[3].status==="fulfilled"&&(M.value=(t[3].value||[]).filter(V=>V.purpose==="evaluation"));const d=t.filter(V=>V.status==="rejected").length;d>0&&I.error(`部分基础数据加载失败(${d} 项),请刷新页面后重试`),e.value=!1}function P(){const t=C.value,d={name:`Custom_Dim_${Date.now()}`,type:t.type,description:t.description,eval_model:t.eval_model,eval_method:t.eval_method,eval_prompt:t.eval_prompt,is_active:t.is_active,is_default:t.is_default,create_time:new Date().toISOString()};return t.type==="metric"&&(d.score_min=t.score_min,d.score_max=t.score_max,d.pass_threshold=t.pass_threshold),d}async function W(){if(D.value!=="")return D.value;const t=await ye(P());if((t==null?void 0:t.id)===void 0||t.id===null||t.id==="")throw new Error("评测维度已提交,但未返回维度 ID,无法启动评测任务");return D.value=t.id,t.id}async function Y(){if(!(e.value||r.value)){r.value=!0;try{const t=await W();await Ve({eval_task_name:n.value.eval_task_name,eval_type:"custom",model_id:n.value.model_id,gpu_id:n.value.gpu_id,dataset_id:n.value.data_source==="dataset"?n.value.dataset_id:"",dimension_id:t,data_source:n.value.data_source,leaderboard:n.value.leaderboard,basic_metrics:{bleu:{enabled:h.value.bleu_enabled,ngram:h.value.bleu_n},rouge:{enabled:h.value.rouge_enabled,methods:h.value.rouge_methods},cosine:{enabled:h.value.cosine_enabled},output_precision:h.value.output_precision}}),I.success("评测任务已创建并启动"),u.push("/model-eval")}catch(t){const d=t instanceof Error?t.message:"创建评测任务失败,请稍后重试";I.error(d)}finally{r.value=!1}}}async function Z(){var t,d,U;if(!(e.value||r.value)){if(i.value===0&&!await((t=_.value)==null?void 0:t.validate())){I.warning("请检查并完善任务配置");return}if(i.value===1&&!await((d=g.value)==null?void 0:d.validate())){I.warning("请检查并完善大模型评测指标");return}if(i.value===2&&!await((U=a.value)==null?void 0:U.validate())){I.warning("请检查并完善基础评测指标");return}i.value=Math.min(i.value+1,p.length-1)}}function H(){r.value||(i.value=Math.max(i.value-1,0))}function J(){u.back()}return ee(m),(t,d)=>{const U=Q,B=X;return s(),c(oe,{title:"新建评测任务",subtitle:"依次配置任务、大模型评测指标与基础评测指标,确认后开始评测"},{default:l(()=>[k("div",Ge,[le((s(),S("main",Pe,[k("div",qe,[k("div",$e,[(s(),S(q,null,F(p,(V,x)=>(s(),S(q,{key:V.title},[x!==0?(s(),S("div",{key:0,class:N(["step-connector",{"is-active":i.value>=x}])},null,2)):G("",!0),k("div",{class:N(["step-item",{"is-active":i.value===x,"is-completed":i.value>x}]),"aria-current":i.value===x?"step":void 0,"aria-label":`${x+1}. ${V.title}:${V.description}`},[k("div",Fe,[k("div",Oe,[i.value>x?(s(),S("i",Te)):(s(),S("span",ze,E(x+1),1))]),k("div",Ne,[k("div",Ae,E(V.title),1),k("div",je,E(V.description),1)])])],10,Le)],64))),64))])]),k("div",Ke,[i.value===0?(s(),c(he,{key:0,ref_key:"taskStepRef",ref:_,modelValue:n.value,"onUpdate:modelValue":d[0]||(d[0]=V=>n.value=V),"trained-models":v.value,"eval-datasets":w.value,gpus:R.value,loading:e.value,disabled:r.value},null,8,["modelValue","trained-models","eval-datasets","gpus","loading","disabled"])):i.value===1?(s(),c(Re,{key:1,ref_key:"ruleStepRef",ref:g,modelValue:C.value,"onUpdate:modelValue":d[1]||(d[1]=V=>C.value=V),"eval-models":M.value,disabled:r.value},null,8,["modelValue","eval-models","disabled"])):i.value===2?(s(),c(xe,{key:2,ref_key:"basicMetricStepRef",ref:a,modelValue:h.value,"onUpdate:modelValue":d[2]||(d[2]=V=>h.value=V),disabled:r.value},null,8,["modelValue","disabled"])):(s(),c(Ie,{key:3,task:n.value,"llm-metric":C.value,"basic-metrics":h.value,"trained-models":v.value,"eval-datasets":w.value,"eval-models":M.value,gpus:R.value},null,8,["task","llm-metric","basic-metrics","trained-models","eval-datasets","eval-models","gpus"]))])])),[[B,e.value]]),k("footer",We,[i.value>0?(s(),c(U,{key:0,class:"footer-back",disabled:r.value,onClick:H},{default:l(()=>[d[3]||(d[3]=k("i",{class:"fa fa-arrow-left footer-button-icon"},null,-1)),f("返回:"+E(p[i.value-1].title),1)]),_:1},8,["disabled"])):(s(),c(U,{key:1,class:"footer-back",disabled:r.value,onClick:J},{default:l(()=>[...d[4]||(d[4]=[f(" 取消 ",-1)])]),_:1},8,["disabled"])),i.value[f(" 下一步:"+E(p[i.value+1].title),1),d[5]||(d[5]=k("i",{class:"fa fa-arrow-right footer-button-icon is-right"},null,-1))]),_:1},8,["disabled"])):(s(),c(U,{key:3,type:"primary",loading:r.value,disabled:e.value||r.value,onClick:Y},{default:l(()=>[...d[6]||(d[6]=[f(" 开始评测 ",-1)])]),_:1},8,["loading","disabled"]))])])]),_:1})}}}),La=L(Ye,[["__scopeId","data-v-95b7e7f1"]]);export{La as default}; diff --git a/frontend/dist/assets/EvalDetailView-BJu9nn43.js b/frontend/dist/assets/EvalDetailView-BJu9nn43.js new file mode 100644 index 0000000..4b2829a --- /dev/null +++ b/frontend/dist/assets/EvalDetailView-BJu9nn43.js @@ -0,0 +1 @@ +import{E as H}from"./index-zJ9bqPrh.js";import{E as Q}from"./index-D23K2h6y.js";import{E as W}from"./index-BjlLyKON.js";import{a as X,E as Y}from"./el-select-CeiDjMzB.js";import{E as Z}from"./el-pagination-ByKJEnCx.js";import{E as ee}from"./el-progress-Br676mBH.js";import{a as le,E as te}from"./el-table-b_qkWXYf.js";import{v as ae}from"./directive-DCr8Ae3g.js";import{d as se,G as oe,K as ne,e as w,w as u,ac as ie,y as v,o as n,c as d,q as e,aa as s,s as i,x as k,g as c,M as N,ad as B,f as re,j as E}from"./index-CxbBjZKo.js";import"./el-scrollbar-B0E7ZTt3.js";import"./el-popper-OAwpEmER.js";/* empty css */import"./el-tooltip-l0sNRNKZ.js";import"./el-checkbox-C_TzqU9u.js";import{P as ue}from"./PageCard-CC9cofwx.js";import{_ as de}from"./ModelStatusTag.vue_vue_type_script_setup_true_lang-CUZ4SBb2.js";import{a as me}from"./eval-BLcZ-A_I.js";import{_ as pe}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./raf-Bjl8yy5U.js";import"./index-C4wGR5UT.js";import"./index-DxP0p4ch.js";import"./index-DHcidAHK.js";import"./castArray-CwVgzdTt.js";import"./vnode-DIVHEdsp.js";import"./index-Bzaib5AU.js";import"./scroll-Dvb2mTx8.js";import"./clamp-Ow4I6lPc.js";import"./toNumber-Yuob3eJv.js";import"./_baseIteratee-C6JbNheX.js";import"./_baseClone-B6d4qZbo.js";import"./debounce-BJxjS5F3.js";import"./omit-CbHF-OEy.js";import"./el-card-BsCFVTSD.js";const ve={class:"page-heading"},ce={class:"heading-copy"},_e={class:"heading-row"},ge={class:"task-meta"},fe={key:0,class:"load-state is-error",role:"alert"},ye={class:"overview-grid","aria-label":"评测概览"},be={class:"overview-item score-hero"},he={class:"overview-item"},we={class:"overview-item"},ke={class:"overview-item overview-time"},Ee={class:"overall-review","aria-labelledby":"overall-review-title"},xe={class:"review-copy"},Ve={class:"section-heading"},ze={class:"review-text"},Ce={class:"suggestion-block"},De={key:0,class:"improvement-list"},Ne={key:1,class:"empty-copy"},Te={key:0,class:"dimension-summary","aria-labelledby":"dimension-title"},Se={class:"dimension-grid"},Pe={class:"dimension-label"},Be={class:"sample-section","aria-labelledby":"sample-results-title"},Ie={class:"sample-toolbar"},$e={class:"sample-filters","aria-label":"样本筛选"},je={class:"sample-detail-grid"},Le={class:"evaluation-reason"},Me={key:0,class:"error-type"},Ue={key:1,class:"sample-dimensions"},Fe={class:"dimension-score-list"},Re={class:"cell-copy"},Ke={class:"cell-copy"},qe={class:"cell-copy"},Ge={class:"sample-score"},Je={key:1,class:"load-state sample-empty"},Oe=se({__name:"EvalDetailView",setup(Ae){const I=ie().params.id,T=v(!0),x=v(""),a=v(null),S=v(""),V=v(""),z=v(1),_=v(10),g=E(()=>{var l;const o=S.value.trim().toLowerCase();return(((l=a.value)==null?void 0:l.samples)||[]).filter(r=>{const D=!V.value||r.judgement===V.value,f=[r.input,r.reference_answer,r.model_output,r.evaluation_reason,r.error_type].filter(Boolean).join(" ").toLowerCase();return D&&(!o||f.includes(o))})}),M=E(()=>{const o=(z.value-1)*_.value;return g.value.slice(o,o+_.value)}),$=E(()=>{var l,r;const o=((l=a.value)==null?void 0:l.sample_count)||0;return o?Math.round((((r=a.value)==null?void 0:r.completed_count)||0)/o*100):0}),U=E(()=>{var l,r;const o=((l=a.value)==null?void 0:l.completed_count)||0;return o?Math.round((((r=a.value)==null?void 0:r.passed_count)||0)/o*100):0}),F=E(()=>{var o,l;return C((o=a.value)==null?void 0:o.overall_score,(l=a.value)==null?void 0:l.overall_score_max)});function R(o){if(!o)return"-";const l=new Date(o);return Number.isNaN(l.getTime())?o:l.toLocaleString("zh-CN",{hour12:!1})}function C(o,l){if(o==null)return"-";const r=Number.isInteger(o)?0:2;return`${o.toFixed(r)}${l!=null?` / ${l}`:""}`}function K(o){return o==="正确"?"success":o==="部分正确"?"warning":o==="错误"?"danger":"info"}function j(){z.value=1}async function L(){T.value=!0,x.value="";try{a.value=await me(I)}catch{a.value=null,x.value="评测详情加载失败,请稍后重试。"}finally{T.value=!1}}return oe(L),(o,l)=>{const r=Q,D=ee,f=W,q=H,P=X,G=Y,m=te,J=le,O=Z,A=ae;return ne((n(),w(ue,{class:"eval-detail-page"},{header:u(()=>{var y,b,t,h,p;return[e("div",ve,[e("div",ce,[e("div",_e,[e("h1",null,s(((y=a.value)==null?void 0:y.eval_task_name)||"评测任务详情"),1),a.value?(n(),w(de,{key:0,status:a.value.status},null,8,["status"])):c("",!0)]),e("dl",ge,[e("div",null,[l[4]||(l[4]=e("dt",null,"任务 ID",-1)),e("dd",null,s(((b=a.value)==null?void 0:b.id)||re(I)),1)]),e("div",null,[l[5]||(l[5]=e("dt",null,"评测模型",-1)),e("dd",null,s(((t=a.value)==null?void 0:t.model_name)||"-"),1)]),e("div",null,[l[6]||(l[6]=e("dt",null,"测试集",-1)),e("dd",null,s(((h=a.value)==null?void 0:h.dataset)||"-"),1)]),e("div",null,[l[7]||(l[7]=e("dt",null,"评测指标",-1)),e("dd",null,s(((p=a.value)==null?void 0:p.metric)||"-"),1)])])])])]}),default:u(()=>{var y,b;return[x.value?(n(),d("div",fe,[l[9]||(l[9]=e("i",{class:"fa fa-exclamation-circle","aria-hidden":"true"},null,-1)),l[10]||(l[10]=e("h2",null,"无法加载评测详情",-1)),e("p",null,s(x.value),1),i(r,{type:"primary",onClick:L},{default:u(()=>[...l[8]||(l[8]=[k("重新加载",-1)])]),_:1})])):a.value?(n(),d(N,{key:1},[e("section",ye,[e("div",be,[l[11]||(l[11]=e("span",null,"综合得分",-1)),e("strong",null,s(F.value),1),l[12]||(l[12]=e("small",null,"大模型综合评分",-1))]),e("div",he,[l[13]||(l[13]=e("span",null,"样本通过率",-1)),e("strong",null,s(a.value.completed_count?`${U.value}%`:"-"),1),e("small",null,"通过 "+s(a.value.passed_count||0)+" / 已评测 "+s(a.value.completed_count),1)]),e("div",we,[l[14]||(l[14]=e("span",null,"评测进度",-1)),e("strong",null,s(a.value.completed_count)+" / "+s(a.value.sample_count),1),i(D,{percentage:$.value,"show-text":!1,"stroke-width":5},null,8,["percentage"])]),e("div",ke,[e("span",null,s(a.value.completed_time?"完成时间":"创建时间"),1),e("strong",null,s(R(a.value.completed_time||a.value.create_time)),1),e("small",null,s(a.value.completed_time?"评测任务已完成":`当前进度 ${$.value}%`),1)])]),e("section",Ee,[e("div",xe,[e("div",Ve,[l[15]||(l[15]=e("div",null,[e("h2",{id:"overall-review-title"},"大模型综合评价"),e("p",null,"基于全部已评测样本生成的总体结论")],-1)),a.value.evaluator_model?(n(),w(f,{key:0,type:"primary",size:"small"},{default:u(()=>[k(" 评审模型:"+s(a.value.evaluator_model),1)]),_:1})):c("",!0)]),e("p",ze,s(a.value.overall_evaluation||(a.value.status==="running"?"评测仍在进行,综合评价将在样本评分完成后生成。":"暂无综合评价。")),1),e("div",Ce,[l[16]||(l[16]=e("h3",null,"改进建议",-1)),(y=a.value.improvement_suggestions)!=null&&y.length?(n(),d("ul",De,[(n(!0),d(N,null,B(a.value.improvement_suggestions,t=>(n(),d("li",{key:t},s(t),1))),128))])):(n(),d("p",Ne,"暂无改进建议。"))])])]),(b=a.value.dimension_summary)!=null&&b.length?(n(),d("section",Te,[l[17]||(l[17]=e("div",{class:"section-heading compact-heading"},[e("div",null,[e("h2",{id:"dimension-title"},"维度表现"),e("p",null,"查看各评测维度的得分与样本通过率")])],-1)),e("div",Se,[(n(!0),d(N,null,B(a.value.dimension_summary,t=>(n(),d("div",{key:t.name,class:"dimension-item"},[e("div",Pe,[e("strong",null,s(t.name),1),e("span",null,s(C(t.score,t.max_score)),1)]),i(D,{percentage:t.pass_rate,"stroke-width":7},null,8,["percentage"])]))),128))])])):c("",!0),e("section",Be,[e("div",Ie,[e("div",null,[l[18]||(l[18]=e("h2",{id:"sample-results-title"},"测试集样本评测结果",-1)),e("p",null,"共 "+s(g.value.length)+" 条结果,展开行可查看评分依据与子维度分数",1)]),e("div",$e,[i(q,{modelValue:S.value,"onUpdate:modelValue":l[0]||(l[0]=t=>S.value=t),clearable:"",placeholder:"搜索问题、回答或评价","aria-label":"搜索样本",onInput:j},{prefix:u(()=>[...l[19]||(l[19]=[e("i",{class:"fa fa-search","aria-hidden":"true"},null,-1)])]),_:1},8,["modelValue"]),i(G,{modelValue:V.value,"onUpdate:modelValue":l[1]||(l[1]=t=>V.value=t),clearable:"",placeholder:"全部判定","aria-label":"按判定筛选",onChange:j},{default:u(()=>[i(P,{label:"正确",value:"正确"}),i(P,{label:"部分正确",value:"部分正确"}),i(P,{label:"错误",value:"错误"})]),_:1},8,["modelValue"])])]),g.value.length?(n(),w(J,{key:0,class:"sample-results-table",data:M.value,"row-key":"id","table-layout":"fixed"},{default:u(()=>[i(m,{type:"expand",width:"48"},{default:u(({row:t})=>{var h;return[e("div",je,[e("div",Le,[l[20]||(l[20]=e("span",null,"大模型评分依据",-1)),e("p",null,s(t.evaluation_reason||"暂无评分依据。"),1)]),t.error_type?(n(),d("div",Me,[l[21]||(l[21]=e("span",null,"错误类型",-1)),i(f,{type:"danger",size:"small"},{default:u(()=>[k(s(t.error_type),1)]),_:2},1024)])):c("",!0),(h=t.dimension_scores)!=null&&h.length?(n(),d("div",Ue,[l[22]||(l[22]=e("span",null,"子维度评分",-1)),e("div",Fe,[(n(!0),d(N,null,B(t.dimension_scores,p=>(n(),d("span",{key:p.name},[k(s(p.name)+" ",1),e("strong",null,s(C(p.score,p.max_score)),1)]))),128))])])):c("",!0)])]}),_:1}),i(m,{label:"#",prop:"index",width:"56",align:"center"}),i(m,{label:"问题 / 输入","min-width":"180"},{default:u(({row:t})=>[e("p",Re,s(t.input),1)]),_:1}),i(m,{label:"标准答案","min-width":"170"},{default:u(({row:t})=>[e("p",Ke,s(t.reference_answer||"-"),1)]),_:1}),i(m,{label:"模型回答","min-width":"190"},{default:u(({row:t})=>[e("p",qe,s(t.model_output||"等待生成"),1)]),_:1}),i(m,{label:"得分",width:"90",align:"center"},{default:u(({row:t})=>[e("span",Ge,s(C(t.score,t.max_score)),1)]),_:1}),i(m,{label:"判定",width:"96",align:"center"},{default:u(({row:t})=>[i(f,{type:K(t.judgement),size:"small"},{default:u(()=>[k(s(t.judgement||(t.status==="pending"?"待评测":"-")),1)]),_:2},1032,["type"])]),_:1})]),_:1},8,["data"])):(n(),d("div",Je,[l[23]||(l[23]=e("i",{class:"fa fa-list-alt","aria-hidden":"true"},null,-1)),e("h3",null,s(a.value.samples.length?"没有符合筛选条件的样本":"暂无样本评测结果"),1),e("p",null,s(a.value.status==="running"?"任务正在运行,结果生成后会显示在这里。":"请调整筛选条件或稍后重试。"),1)])),g.value.length>_.value?(n(),w(O,{key:2,"current-page":z.value,"onUpdate:currentPage":l[2]||(l[2]=t=>z.value=t),"page-size":_.value,"onUpdate:pageSize":l[3]||(l[3]=t=>_.value=t),background:"",layout:"total, sizes, prev, pager, next","page-sizes":[10,20,50],total:g.value.length,"aria-label":"样本结果分页"},null,8,["current-page","page-size","total"])):c("",!0)])],64)):c("",!0)]}),_:1})),[[A,T.value]])}}}),Dl=pe(Oe,[["__scopeId","data-v-a0594b97"]]);export{Dl as default}; diff --git a/frontend/dist/assets/EvalDetailView-Clfyt0He.css b/frontend/dist/assets/EvalDetailView-Clfyt0He.css deleted file mode 100644 index 2ffeedd..0000000 --- a/frontend/dist/assets/EvalDetailView-Clfyt0He.css +++ /dev/null @@ -1 +0,0 @@ -.eval-detail-page[data-v-a33421f6]{min-width:0}.page-heading[data-v-a33421f6],.heading-row[data-v-a33421f6],.section-heading[data-v-a33421f6],.sample-toolbar[data-v-a33421f6],.sample-filters[data-v-a33421f6],.dimension-label[data-v-a33421f6]{display:flex;align-items:center}.heading-copy[data-v-a33421f6]{width:100%;min-width:0}.heading-row[data-v-a33421f6]{gap:10px;flex-wrap:wrap}.heading-row h1[data-v-a33421f6]{margin:0;color:#303133;font-size:18px;font-weight:600;line-height:1.4}.task-meta[data-v-a33421f6]{display:flex;flex-wrap:wrap;gap:8px 24px;margin:10px 0 0}.task-meta>div[data-v-a33421f6]{display:flex;gap:6px;min-width:0}.task-meta dt[data-v-a33421f6],.task-meta dd[data-v-a33421f6]{margin:0;font-size:13px}.task-meta dt[data-v-a33421f6]{color:#909399}.task-meta dd[data-v-a33421f6]{color:#606266;font-weight:500}.overview-grid[data-v-a33421f6]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e4e7ed;border-radius:8px;overflow:hidden;background:#fff}.overview-item[data-v-a33421f6]{min-width:0;min-height:92px;padding:16px 20px;border-right:1px solid #e4e7ed}.overview-item[data-v-a33421f6]:last-child{border-right:0}.overview-item>span[data-v-a33421f6],.evaluation-reason>span[data-v-a33421f6],.error-type>span[data-v-a33421f6],.sample-dimensions>span[data-v-a33421f6]{display:block;margin-bottom:8px;color:#606266;font-size:13px;font-weight:500}.overview-item>strong[data-v-a33421f6]{display:block;color:#303133;font-size:22px;font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums}.score-hero>strong[data-v-a33421f6]{color:var(--primary-color)}.overview-item small[data-v-a33421f6]{display:block;margin-top:5px;color:#909399;font-size:12px}.overview-item[data-v-a33421f6] .el-progress{margin-top:8px}.overview-time>strong[data-v-a33421f6]{font-size:14px;font-weight:500;line-height:1.6}.overall-review[data-v-a33421f6]{margin-top:16px;border:1px solid #e4e7ed;border-radius:8px;background:#fff}.review-copy[data-v-a33421f6]{padding:18px 20px}.section-heading[data-v-a33421f6],.sample-toolbar[data-v-a33421f6]{justify-content:space-between;gap:16px}.section-heading h2[data-v-a33421f6],.sample-toolbar h2[data-v-a33421f6]{margin:0;color:#303133;font-size:16px;font-weight:600}.section-heading p[data-v-a33421f6],.sample-toolbar p[data-v-a33421f6]{margin:5px 0 0;color:#909399;font-size:13px}.review-text[data-v-a33421f6]{max-width:1100px;margin:16px 0;color:#606266;font-size:14px;line-height:1.75}.suggestion-block[data-v-a33421f6]{padding:14px 16px;border:1px solid #ebeef5;border-radius:6px;background:#f8f9fb}.suggestion-block h3[data-v-a33421f6]{margin:0 0 8px;color:#303133;font-size:14px;font-weight:600}.improvement-list[data-v-a33421f6]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 24px;margin:0;padding-left:18px;color:#606266;font-size:13px;line-height:1.6}.dimension-summary[data-v-a33421f6],.sample-section[data-v-a33421f6]{margin-top:16px;padding:18px 20px;border:1px solid #e4e7ed;border-radius:8px;background:#fff}.compact-heading[data-v-a33421f6]{align-items:center}.dimension-grid[data-v-a33421f6]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:16px;border:1px solid #ebeef5;border-radius:6px;overflow:hidden}.dimension-item[data-v-a33421f6]{min-width:0;padding:14px 16px;border-right:1px solid #ebeef5;background:#fafafa}.dimension-item[data-v-a33421f6]:last-child{border-right:0}.dimension-label[data-v-a33421f6]{justify-content:space-between;margin-bottom:8px;gap:8px;color:#606266;font-size:13px}.dimension-label strong[data-v-a33421f6]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dimension-label span[data-v-a33421f6]{flex:0 0 auto;color:#303133;font-weight:600;font-variant-numeric:tabular-nums}.sample-toolbar[data-v-a33421f6]{align-items:center;margin-bottom:14px}.sample-filters[data-v-a33421f6]{flex:0 1 450px;justify-content:flex-end;gap:10px}.sample-filters[data-v-a33421f6] .el-input{width:min(260px,100%)}.sample-filters[data-v-a33421f6] .el-select{width:130px}.sample-results-table[data-v-a33421f6]{width:100%;border:1px solid #ebeef5;border-radius:6px}.cell-copy[data-v-a33421f6]{display:-webkit-box;overflow:hidden;margin:0;color:#606266;font-size:13px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sample-score[data-v-a33421f6]{color:#303133;font-weight:600;font-variant-numeric:tabular-nums}.sample-detail-grid[data-v-a33421f6]{display:grid;grid-template-columns:minmax(140px,.35fr) minmax(320px,1fr);gap:14px 24px;padding:16px 48px;background:#f7f8fa}.evaluation-reason[data-v-a33421f6]{grid-column:1/-1}.evaluation-reason p[data-v-a33421f6]{margin:0;color:#606266;font-size:13px;line-height:1.7}.dimension-score-list[data-v-a33421f6]{display:flex;flex-wrap:wrap;gap:8px}.dimension-score-list>span[data-v-a33421f6]{color:#606266;font-size:12px}.dimension-score-list>span[data-v-a33421f6]:not(:last-child):after{margin-left:8px;color:#c0c4cc;content:"/"}.dimension-score-list strong[data-v-a33421f6]{margin-left:4px;color:#303133;font-variant-numeric:tabular-nums}.load-state[data-v-a33421f6]{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;color:#909399;text-align:center}.load-state>i[data-v-a33421f6]{margin-bottom:12px;color:#c0c4cc;font-size:30px}.load-state h2[data-v-a33421f6],.load-state h3[data-v-a33421f6]{margin:0;color:#303133}.load-state p[data-v-a33421f6],.empty-copy[data-v-a33421f6]{margin:8px 0 16px;color:#909399;font-size:13px}.load-state.is-error>i[data-v-a33421f6]{color:#ef4444}.sample-empty[data-v-a33421f6]{min-height:210px;border:1px dashed #dcdfe6;border-radius:6px;background:#fafafa}@media(max-width:1100px){.overview-grid[data-v-a33421f6]{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-item[data-v-a33421f6]:nth-child(2){border-right:0}.overview-item[data-v-a33421f6]:nth-child(-n+2){border-bottom:1px solid #e4e7ed}.dimension-grid[data-v-a33421f6]{grid-template-columns:repeat(2,minmax(0,1fr))}.dimension-item[data-v-a33421f6]:nth-child(2){border-right:0}.dimension-item[data-v-a33421f6]:nth-child(-n+2){border-bottom:1px solid #ebeef5}.sample-toolbar[data-v-a33421f6]{align-items:stretch;flex-direction:column}.sample-filters[data-v-a33421f6]{flex:1;justify-content:flex-start}.sample-detail-grid[data-v-a33421f6]{padding:16px 24px}}@media(max-width:720px){.task-meta[data-v-a33421f6]{flex-direction:column;gap:5px}.overview-grid[data-v-a33421f6]{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-item[data-v-a33421f6]{padding:14px}.review-copy[data-v-a33421f6],.dimension-summary[data-v-a33421f6],.sample-section[data-v-a33421f6]{padding:16px}.dimension-grid[data-v-a33421f6],.improvement-list[data-v-a33421f6],.sample-detail-grid[data-v-a33421f6]{grid-template-columns:minmax(0,1fr)}.dimension-item[data-v-a33421f6],.dimension-item[data-v-a33421f6]:nth-child(2){border-right:0;border-bottom:1px solid #ebeef5}.dimension-item[data-v-a33421f6]:last-child{border-bottom:0}.sample-filters[data-v-a33421f6]{flex-direction:column;align-items:stretch}.sample-filters[data-v-a33421f6] .el-input,.sample-filters[data-v-a33421f6] .el-select{width:100%}.evaluation-reason[data-v-a33421f6]{grid-column:auto}} diff --git a/frontend/dist/assets/EvalDetailView-Cq93pccF.css b/frontend/dist/assets/EvalDetailView-Cq93pccF.css new file mode 100644 index 0000000..bcad666 --- /dev/null +++ b/frontend/dist/assets/EvalDetailView-Cq93pccF.css @@ -0,0 +1 @@ +.eval-detail-page[data-v-a0594b97]{min-width:0}.page-heading[data-v-a0594b97],.heading-row[data-v-a0594b97],.section-heading[data-v-a0594b97],.sample-toolbar[data-v-a0594b97],.sample-filters[data-v-a0594b97],.dimension-label[data-v-a0594b97]{display:flex;align-items:center}.heading-copy[data-v-a0594b97]{width:100%;min-width:0}.heading-row[data-v-a0594b97]{gap:10px;flex-wrap:wrap}.heading-row h1[data-v-a0594b97]{margin:0;color:#303133;font-size:18px;font-weight:600;line-height:1.4}.task-meta[data-v-a0594b97]{display:flex;flex-wrap:wrap;gap:8px 24px;margin:10px 0 0}.task-meta>div[data-v-a0594b97]{display:flex;gap:6px;min-width:0}.task-meta dt[data-v-a0594b97],.task-meta dd[data-v-a0594b97]{margin:0;font-size:13px}.task-meta dt[data-v-a0594b97]{color:#909399}.task-meta dd[data-v-a0594b97]{color:#606266;font-weight:500}.overview-grid[data-v-a0594b97]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e4e7ed;border-radius:8px;overflow:hidden;background:#fff}.overview-item[data-v-a0594b97]{min-width:0;min-height:92px;padding:16px 20px;border-right:1px solid #e4e7ed}.overview-item[data-v-a0594b97]:last-child{border-right:0}.overview-item>span[data-v-a0594b97],.evaluation-reason>span[data-v-a0594b97],.error-type>span[data-v-a0594b97],.sample-dimensions>span[data-v-a0594b97]{display:block;margin-bottom:8px;color:#606266;font-size:13px;font-weight:500}.overview-item>strong[data-v-a0594b97]{display:block;color:#303133;font-size:22px;font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums}.score-hero>strong[data-v-a0594b97]{color:var(--primary-color)}.overview-item small[data-v-a0594b97]{display:block;margin-top:5px;color:#909399;font-size:12px}.overview-item[data-v-a0594b97] .el-progress{margin-top:8px}.overview-time>strong[data-v-a0594b97]{font-size:14px;font-weight:500;line-height:1.6}.overall-review[data-v-a0594b97]{margin-top:16px;border:1px solid #e4e7ed;border-radius:8px;background:#fff}.review-copy[data-v-a0594b97]{padding:18px 20px}.section-heading[data-v-a0594b97],.sample-toolbar[data-v-a0594b97]{justify-content:space-between;gap:16px}.section-heading h2[data-v-a0594b97],.sample-toolbar h2[data-v-a0594b97]{margin:0;color:#303133;font-size:16px;font-weight:600}.section-heading p[data-v-a0594b97],.sample-toolbar p[data-v-a0594b97]{margin:5px 0 0;color:#909399;font-size:13px}.review-text[data-v-a0594b97]{max-width:1100px;margin:16px 0;color:#606266;font-size:14px;line-height:1.75}.suggestion-block[data-v-a0594b97]{padding:14px 16px;border:1px solid #ebeef5;border-radius:6px;background:#f8f9fb}.suggestion-block h3[data-v-a0594b97]{margin:0 0 8px;color:#303133;font-size:14px;font-weight:600}.improvement-list[data-v-a0594b97]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 24px;margin:0;padding-left:18px;color:#606266;font-size:13px;line-height:1.6}.dimension-summary[data-v-a0594b97],.sample-section[data-v-a0594b97]{margin-top:16px;padding:18px 20px;border:1px solid #e4e7ed;border-radius:8px;background:#fff}.compact-heading[data-v-a0594b97]{align-items:center}.dimension-grid[data-v-a0594b97]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:16px;border:1px solid #ebeef5;border-radius:6px;overflow:hidden}.dimension-item[data-v-a0594b97]{min-width:0;padding:14px 16px;border-right:1px solid #ebeef5;background:#fafafa}.dimension-item[data-v-a0594b97]:last-child{border-right:0}.dimension-label[data-v-a0594b97]{justify-content:space-between;margin-bottom:8px;gap:8px;color:#606266;font-size:13px}.dimension-label strong[data-v-a0594b97]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dimension-label span[data-v-a0594b97]{flex:0 0 auto;color:#303133;font-weight:600;font-variant-numeric:tabular-nums}.sample-toolbar[data-v-a0594b97]{align-items:center;margin-bottom:14px}.sample-filters[data-v-a0594b97]{flex:0 1 450px;justify-content:flex-end;gap:10px}.sample-filters[data-v-a0594b97] .el-input{width:min(260px,100%)}.sample-filters[data-v-a0594b97] .el-select{width:130px}.sample-results-table[data-v-a0594b97]{width:100%;border:1px solid #ebeef5;border-radius:6px}.cell-copy[data-v-a0594b97]{display:-webkit-box;overflow:hidden;margin:0;color:#606266;font-size:13px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sample-score[data-v-a0594b97]{color:#303133;font-weight:600;font-variant-numeric:tabular-nums}.sample-detail-grid[data-v-a0594b97]{display:grid;grid-template-columns:minmax(140px,.35fr) minmax(320px,1fr);gap:14px 24px;padding:16px 48px;background:#f7f8fa}.evaluation-reason[data-v-a0594b97]{grid-column:1/-1}.evaluation-reason p[data-v-a0594b97]{margin:0;color:#606266;font-size:13px;line-height:1.7}.dimension-score-list[data-v-a0594b97]{display:flex;flex-wrap:wrap;gap:8px}.dimension-score-list>span[data-v-a0594b97]{color:#606266;font-size:12px}.dimension-score-list>span[data-v-a0594b97]:not(:last-child):after{margin-left:8px;color:#c0c4cc;content:"/"}.dimension-score-list strong[data-v-a0594b97]{margin-left:4px;color:#303133;font-variant-numeric:tabular-nums}.load-state[data-v-a0594b97]{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;color:#909399;text-align:center}.load-state>i[data-v-a0594b97]{margin-bottom:12px;color:#c0c4cc;font-size:30px}.load-state h2[data-v-a0594b97],.load-state h3[data-v-a0594b97]{margin:0;color:#303133}.load-state p[data-v-a0594b97],.empty-copy[data-v-a0594b97]{margin:8px 0 16px;color:#909399;font-size:13px}.load-state.is-error>i[data-v-a0594b97]{color:#ef4444}.sample-empty[data-v-a0594b97]{min-height:210px;border:1px dashed #dcdfe6;border-radius:6px;background:#fafafa}@media(max-width:1100px){.overview-grid[data-v-a0594b97]{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-item[data-v-a0594b97]:nth-child(2){border-right:0}.overview-item[data-v-a0594b97]:nth-child(-n+2){border-bottom:1px solid #e4e7ed}.dimension-grid[data-v-a0594b97]{grid-template-columns:repeat(2,minmax(0,1fr))}.dimension-item[data-v-a0594b97]:nth-child(2){border-right:0}.dimension-item[data-v-a0594b97]:nth-child(-n+2){border-bottom:1px solid #ebeef5}.sample-toolbar[data-v-a0594b97]{align-items:stretch;flex-direction:column}.sample-filters[data-v-a0594b97]{flex:1;justify-content:flex-start}.sample-detail-grid[data-v-a0594b97]{padding:16px 24px}}@media(max-width:720px){.task-meta[data-v-a0594b97]{flex-direction:column;gap:5px}.overview-grid[data-v-a0594b97]{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-item[data-v-a0594b97]{padding:14px}.review-copy[data-v-a0594b97],.dimension-summary[data-v-a0594b97],.sample-section[data-v-a0594b97]{padding:16px}.dimension-grid[data-v-a0594b97],.improvement-list[data-v-a0594b97],.sample-detail-grid[data-v-a0594b97]{grid-template-columns:minmax(0,1fr)}.dimension-item[data-v-a0594b97],.dimension-item[data-v-a0594b97]:nth-child(2){border-right:0;border-bottom:1px solid #ebeef5}.dimension-item[data-v-a0594b97]:last-child{border-bottom:0}.sample-filters[data-v-a0594b97]{flex-direction:column;align-items:stretch}.sample-filters[data-v-a0594b97] .el-input,.sample-filters[data-v-a0594b97] .el-select{width:100%}.evaluation-reason[data-v-a0594b97]{grid-column:auto}} diff --git a/frontend/dist/assets/EvalView-Bd4r6it-.css b/frontend/dist/assets/EvalView-Bd4r6it-.css new file mode 100644 index 0000000..ce153e3 --- /dev/null +++ b/frontend/dist/assets/EvalView-Bd4r6it-.css @@ -0,0 +1 @@ +@charset "UTF-8";.eval-page[data-v-d4aa0c92]{width:100%;height:100%;display:flex;flex-direction:column;min-height:0}.capsule-tabs[data-v-d4aa0c92]{display:flex;background:#f1f5f9;padding:3px;border-radius:8px;gap:2px;border:1px solid #e2e8f0}.capsule-tab-item[data-v-d4aa0c92]{border:0;background:transparent;padding:6px 20px;font-size:13px;font-weight:500;color:#64748b;cursor:pointer;border-radius:6px;transition:all .2s ease;outline:none}.capsule-tab-item[data-v-d4aa0c92]:hover{color:#1e293b}.capsule-tab-item.active[data-v-d4aa0c92]{background:#fff;color:#4f46e5;box-shadow:0 1px 3px #0000000f,0 1px 2px #0000000a;font-weight:600} diff --git a/frontend/dist/assets/EvalView-DKVRGpUe.js b/frontend/dist/assets/EvalView-DKVRGpUe.js new file mode 100644 index 0000000..476ff85 --- /dev/null +++ b/frontend/dist/assets/EvalView-DKVRGpUe.js @@ -0,0 +1 @@ +import{E as V}from"./index-D23K2h6y.js";import{E as B}from"./el-table-b_qkWXYf.js";import{d as D,G as T,c as $,e as _,w as o,g as C,y as m,o as v,s as a,q as i,x as b,aa as L,n as c,v as N,A as z}from"./index-CxbBjZKo.js";import{E as M}from"./index-CLZoQJ1o.js";/* empty css */import"./el-checkbox-C_TzqU9u.js";import{D as y}from"./DataTablePage-C1WQGBXF.js";import{g as A,d as G}from"./eval-BLcZ-A_I.js";import{_ as P}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./el-scrollbar-B0E7ZTt3.js";import"./index-DxP0p4ch.js";import"./el-popper-OAwpEmER.js";import"./index-DHcidAHK.js";import"./_baseClone-B6d4qZbo.js";import"./_baseIteratee-C6JbNheX.js";import"./castArray-CwVgzdTt.js";import"./debounce-BJxjS5F3.js";import"./toNumber-Yuob3eJv.js";import"./raf-Bjl8yy5U.js";import"./validator-AVoXfk3G.js";import"./index-C3HZL-2Y.js";import"./clamp-Ow4I6lPc.js";import"./index-36LucyXi.js";import"./scroll-Dvb2mTx8.js";import"./index-zJ9bqPrh.js";import"./index-C4wGR5UT.js";import"./omit-CbHF-OEy.js";import"./el-card-BsCFVTSD.js";import"./el-pagination-ByKJEnCx.js";import"./el-select-CeiDjMzB.js";import"./vnode-DIVHEdsp.js";import"./index-Bzaib5AU.js";import"./index-BjlLyKON.js";import"./directive-DCr8Ae3g.js";import"./el-tooltip-l0sNRNKZ.js";const R={class:"eval-page"},S={class:"capsule-tabs"},q={class:"capsule-tabs"},I=D({__name:"EvalView",setup(Q){const f=N(),r=m("tasks"),d=m(!1),n=m([]),w=m([{rank:1,name:"GPT-4",score:92.5},{rank:2,name:"Claude-3",score:90.1},{rank:3,name:"Qwen-Max",score:85.3}]);async function u(){d.value=!0;try{n.value=await A()||[]}catch{n.value=[]}finally{d.value=!1}}async function k(s){await M.confirm("确定要删除这个评测任务吗?","确认删除",{type:"warning"}),await G(s.id),n.value=n.value.filter(e=>e.id!==s.id),z.success("删除成功"),await u()}function E(){f.push("/model-eval/create")}function p(s){return r.value===s}function x(s){f.push({name:"model-eval-detail",params:{id:s.id}})}return T(()=>{u()}),(s,e)=>{const t=B,g=V;return v(),$("div",R,[r.value==="tasks"?(v(),_(y,{key:0,title:"",data:n.value,loading:d.value,"delete-fn":k,"create-text":"创建评测任务",onCreate:E,"row-key":"id",onRefresh:u},{title:o(()=>[i("div",S,[i("button",{class:c(["capsule-tab-item",{active:p("tasks")}]),onClick:e[0]||(e[0]=l=>r.value="tasks")},"评测任务",2),i("button",{class:c(["capsule-tab-item",{active:p("leaderboard")}]),onClick:e[1]||(e[1]=l=>r.value="leaderboard")},"排行榜",2)])]),columns:o(()=>[a(t,{label:"任务名称",prop:"eval_task_name",align:"center"}),a(t,{label:"评测模型",prop:"model_name",align:"center"}),a(t,{label:"数据集",prop:"dataset",align:"center"}),a(t,{label:"指标",prop:"metric",align:"center"}),a(t,{label:"评分",prop:"score",width:"100",align:"center"}),a(t,{label:"状态",prop:"status",width:"100",align:"center"}),a(t,{label:"创建时间",align:"center",width:"180"},{default:o(({row:l})=>[b(L(l.create_time?new Date(l.create_time).toLocaleString("zh-CN"):"-"),1)]),_:1})]),actions:o(({row:l})=>[a(g,{link:"",type:"primary",size:"small",onClick:h=>x(l)},{default:o(()=>[...e[4]||(e[4]=[i("i",{class:"fa fa-file-text-o",style:{"margin-right":"4px"}},null,-1),b("详情 ",-1)])]),_:1},8,["onClick"]),a(g,{link:"",type:"danger",size:"small",onClick:h=>k(l)},{default:o(()=>[...e[5]||(e[5]=[i("i",{class:"fa fa-trash-o",style:{"margin-right":"4px"}},null,-1),b("删除 ",-1)])]),_:1},8,["onClick"])]),_:1},8,["data","loading"])):C("",!0),r.value==="leaderboard"?(v(),_(y,{key:1,title:"",data:w.value,"row-key":"rank"},{title:o(()=>[i("div",q,[i("button",{class:c(["capsule-tab-item",{active:p("tasks")}]),onClick:e[2]||(e[2]=l=>r.value="tasks")},"评测任务",2),i("button",{class:c(["capsule-tab-item",{active:p("leaderboard")}]),onClick:e[3]||(e[3]=l=>r.value="leaderboard")},"排行榜",2)])]),columns:o(()=>[a(t,{label:"排名",prop:"rank",width:"80",align:"center"}),a(t,{label:"模型名称",prop:"name",align:"center"}),a(t,{label:"综合评分",prop:"score",align:"center"})]),_:1},8,["data"])):C("",!0)])}}}),xe=P(I,[["__scopeId","data-v-d4aa0c92"]]);export{xe as default}; diff --git a/frontend/dist/assets/FineTuneCreateView-CgnCRBJT.css b/frontend/dist/assets/FineTuneCreateView-CgnCRBJT.css index 119a9c6..5df92f9 100644 --- a/frontend/dist/assets/FineTuneCreateView-CgnCRBJT.css +++ b/frontend/dist/assets/FineTuneCreateView-CgnCRBJT.css @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/FineTuneCreateView-CgnCRBJT.css @charset "UTF-8";.el-radio-button{--el-radio-button-checked-bg-color:var(--el-color-primary);--el-radio-button-checked-text-color:var(--el-color-white);--el-radio-button-checked-border-color:var(--el-color-primary);--el-radio-button-disabled-checked-fill:var(--el-border-color-extra-light);outline:none;display:inline-block;position:relative}.el-radio-button__inner{white-space:nowrap;vertical-align:middle;background:var(--el-button-bg-color,var(--el-fill-color-blank));outline:var(--el-border);line-height:1;font-weight:var(--el-button-font-weight,var(--el-font-weight-primary));color:var(--el-button-text-color,var(--el-text-color-regular));-webkit-appearance:none;text-align:center;box-sizing:border-box;cursor:pointer;transition:var(--el-transition-all);-webkit-user-select:none;user-select:none;font-size:var(--el-font-size-base);border-radius:0;margin:0;padding:8px 15px;display:inline-block;position:relative}.el-radio-button__inner.is-round{padding:8px 15px}.el-radio-button__inner:hover{color:var(--el-color-primary)}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button:first-child .el-radio-button__inner{border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);box-shadow:none!important}.el-radio-button.is-active .el-radio-button__original-radio:not(:disabled)+.el-radio-button__inner{color:var(--el-radio-button-checked-text-color,var(--el-color-white));background-color:var(--el-radio-button-checked-bg-color,var(--el-color-primary));border-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));box-shadow:-1px 0 0 0 var(--el-radio-button-checked-border-color,var(--el-color-primary))}.el-radio-button__original-radio{opacity:0;z-index:-1;outline:none;position:absolute}.el-radio-button__original-radio:focus-visible+.el-radio-button__inner{border-left:var(--el-border);border-left-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));outline:2px solid var(--el-radio-button-checked-border-color);outline-offset:1px;z-index:2;border-radius:var(--el-border-radius-base);box-shadow:none}.el-radio-button__original-radio:disabled+.el-radio-button__inner{color:var(--el-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none}.el-radio-button__original-radio:disabled:checked+.el-radio-button__inner{background-color:var(--el-radio-button-disabled-checked-fill)}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0}.el-radio-button:first-child:last-child .el-radio-button__inner{border-radius:var(--el-border-radius-base)}.el-radio-button--large .el-radio-button__inner{font-size:var(--el-font-size-base);border-radius:0;padding:12px 19px}.el-radio-button--large .el-radio-button__inner.is-round{padding:12px 19px}.el-radio-button--small .el-radio-button__inner{border-radius:0;padding:5px 11px;font-size:12px}.el-radio-button--small .el-radio-button__inner.is-round{padding:5px 11px}[data-v-9028e87c] .model-select-dialog{max-width:calc(100vw - 48px);border-radius:6px;box-shadow:0 18px 46px #0f172a2e}[data-v-9028e87c] .model-select-dialog .el-dialog__header{padding:0;margin:0}[data-v-9028e87c] .model-select-dialog .el-dialog__body,[data-v-9028e87c] .model-select-dialog .el-dialog__footer{padding:0}.model-dialog-header[data-v-9028e87c]{height:56px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eef0f5}.model-dialog-title[data-v-9028e87c]{display:flex;align-items:baseline;gap:12px}.model-dialog-title span[data-v-9028e87c]{font-size:16px;font-weight:700;color:#1f2937}.model-dialog-title em[data-v-9028e87c]{font-style:normal;font-size:13px;color:#94a3b8}.model-dialog-close[data-v-9028e87c]{width:30px;height:30px;border:0;background:transparent;color:#64748b;cursor:pointer;font-size:16px;border-radius:6px}.model-dialog-close[data-v-9028e87c]:hover{background:#f5f6fb}.model-dialog-body[data-v-9028e87c]{height:452px}.model-dialog-toolbar[data-v-9028e87c]{height:76px;padding:14px 20px 0;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid #eef0f5}.model-tabs[data-v-9028e87c]{min-width:210px}.model-tabs[data-v-9028e87c] .el-tabs__item{height:42px;padding:0 18px 0 0;font-size:14px;font-weight:600;color:#475569}.model-tabs[data-v-9028e87c] .el-tabs__active-bar{height:2px;background:#2563eb}.model-tabs[data-v-9028e87c] .el-tabs__nav-wrap:after{display:none}.model-search[data-v-9028e87c]{width:280px}.model-search[data-v-9028e87c] .el-input__wrapper{border-radius:6px;min-height:36px}.model-dialog-content[data-v-9028e87c]{display:grid;grid-template-columns:280px 1fr;height:376px;min-height:0}.model-series-list[data-v-9028e87c],.model-version-list[data-v-9028e87c]{padding:16px 20px;overflow:auto}.model-series-list[data-v-9028e87c]{border-right:1px solid #eef0f5}.column-title[data-v-9028e87c]{font-size:13px;font-weight:600;color:#64748b;margin-bottom:12px}.model-series-item[data-v-9028e87c],.model-version-item[data-v-9028e87c]{width:100%;border:1px solid #e5e7eb;background:#fff;border-radius:6px;cursor:pointer;transition:all .2s;color:#1f2937}.model-series-item[data-v-9028e87c]:hover,.model-version-item[data-v-9028e87c]:hover{border-color:#94a3b8;background:#f8fafc}.model-series-item.active[data-v-9028e87c],.model-version-item.active[data-v-9028e87c]{border-color:#2563eb;background:#eff6ff;box-shadow:inset 0 0 0 1px #2563eb}.model-series-item[data-v-9028e87c]{height:44px;padding:0 12px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin-bottom:8px;text-align:left}.model-series-item i[data-v-9028e87c]{color:#2563eb}.model-series-item span[data-v-9028e87c]{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-series-item em[data-v-9028e87c]{font-style:normal;color:#777b92}.model-version-item[data-v-9028e87c]{min-height:64px;padding:12px 14px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px;margin-bottom:8px;text-align:left}.model-version-main[data-v-9028e87c]{display:grid;gap:6px;min-width:0}.model-version-main strong[data-v-9028e87c]{color:#1f2937;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-version-main span[data-v-9028e87c]{color:#64748b;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-radio-dot[data-v-9028e87c]{width:16px;height:16px;border:1px solid #cbd5e1;border-radius:50%;position:relative}.model-version-item.active .model-radio-dot[data-v-9028e87c]{border-color:#2563eb}.model-version-item.active .model-radio-dot[data-v-9028e87c]:after{content:"";position:absolute;top:3px;right:3px;bottom:3px;left:3px;border-radius:50%;background:#2563eb}.model-dialog-footer[data-v-9028e87c]{height:60px;padding:0 20px;border-top:1px solid #eef0f5;display:flex;align-items:center;justify-content:space-between}.selected-model-summary[data-v-9028e87c]{display:flex;align-items:center;gap:10px;color:#475569;font-size:13px}.selected-model-pill[data-v-9028e87c]{max-width:300px;height:28px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid #dbeafe;border-radius:4px;background:#eff6ff;color:#1f2937;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-model-pill i[data-v-9028e87c]{color:#2563eb}.model-dialog-actions[data-v-9028e87c]{display:flex;gap:10px}@media(max-width:900px){.model-dialog-toolbar[data-v-9028e87c],.model-dialog-footer[data-v-9028e87c]{height:auto;align-items:flex-start;flex-direction:column;padding:18px}.model-search[data-v-9028e87c]{width:100%}.model-dialog-content[data-v-9028e87c]{grid-template-columns:1fr}.model-series-list[data-v-9028e87c]{border-right:0;border-bottom:1px solid #eef0f5}}.fine-tune-create[data-v-44665554] .page-card{margin-bottom:0}.gpu-list[data-v-44665554]{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;width:100%}.gpu-card[data-v-44665554]{border:1px solid #e5e7eb;border-radius:6px;padding:9px 12px;cursor:pointer;transition:border-color .2s,box-shadow .2s,background .2s;background:#fff}.gpu-card[data-v-44665554]:hover{border-color:#94a3b8;box-shadow:0 4px 12px #0f172a0f}.gpu-card.active[data-v-44665554]{border-color:#2563eb;background:#f8fbff;box-shadow:inset 0 0 0 1px #2563eb}.gpu-card.is-busy[data-v-44665554]{border-color:#f59e0b;background:#fffaf0}.gpu-card.is-busy .gpu-usage[data-v-44665554]{color:#b45309;background:#fffbeb;border-color:#fcd34d}.gpu-card.is-busy .gpu-usage-bar span[data-v-44665554]{background:#f59e0b}.gpu-card.is-busy.active[data-v-44665554]{border-color:#dc2626;background:#fff7f7;box-shadow:inset 0 0 0 1px #dc2626}.gpu-card.is-busy.active .gpu-usage[data-v-44665554]{color:#dc2626;background:#fef2f2;border-color:#fecaca}.gpu-card.is-busy.active .gpu-usage-bar span[data-v-44665554]{background:#dc2626}.gpu-card-top[data-v-44665554]{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.gpu-title[data-v-44665554]{min-width:0;display:grid;gap:2px}.gpu-index[data-v-44665554]{font-size:11px;line-height:1;font-weight:600;letter-spacing:.04em;color:#64748b}.gpu-name[data-v-44665554]{font-size:13px;font-weight:600;color:#1f2937;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gpu-usage[data-v-44665554]{height:20px;min-width:40px;padding:0 6px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #bfdbfe;border-radius:4px;background:#eff6ff;color:#2563eb;font-size:11px;font-weight:700;white-space:nowrap}.gpu-usage-bar[data-v-44665554]{height:3px;margin:7px 0 6px;overflow:hidden;border-radius:999px;background:#eef2f7}.gpu-usage-bar span[data-v-44665554]{display:block;height:100%;border-radius:inherit;background:#2563eb}.gpu-meta[data-v-44665554]{display:flex;flex-wrap:nowrap;gap:10px;font-size:11px;color:#64748b;line-height:1.4;white-space:nowrap;overflow:hidden}.gpu-empty[data-v-44665554]{color:#909399;font-size:13px}.command-preview-wrapper[data-v-44665554]{margin-left:80px;margin-bottom:22px}.preflight-actions[data-v-44665554]{display:flex;align-items:center;gap:12px;margin:0 0 12px 80px}.preflight-hint[data-v-44665554]{color:#64748b;font-size:12px}.preflight-panel[data-v-44665554]{margin:-8px 0 24px 80px;border:1px solid #e5e7eb;border-radius:8px;padding:14px 16px;background:#f8fafc}.preflight-panel.is-valid[data-v-44665554]{border-color:#bbf7d0;background:#f0fdf4}.preflight-panel.is-invalid[data-v-44665554]{border-color:#fecaca;background:#fef2f2}.preflight-header[data-v-44665554]{display:flex;align-items:center;gap:16px;margin-bottom:10px;color:#111827}.preflight-header span[data-v-44665554]{color:#64748b;font-size:12px}.preflight-section[data-v-44665554]{margin-top:10px}.preflight-section ul[data-v-44665554]{margin:6px 0 0;padding-left:18px;color:#374151;line-height:1.7}.section-label[data-v-44665554]{display:inline-flex;color:#475569;font-size:12px;font-weight:700}.field-tip[data-v-44665554]{color:#909399;font-size:12px;line-height:20px;margin-top:4px}.form-actions-wrapper[data-v-44665554]{position:fixed;bottom:0;left:240px;right:0;height:56px;background:#fff;border-top:1px solid #eef0f5;display:flex;align-items:center;padding-left:112px;z-index:1000;box-shadow:0 -4px 12px #0000000d}.command-preview[data-v-44665554]{background:#1e1e1e;color:#d4d4d4;padding:12px 16px;border-radius:6px;font-family:SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.6;overflow-x:auto;width:100%;margin:0}.command-preview.remote[data-v-44665554]{margin-top:6px;background:#111827}.model-picker-input[data-v-44665554],.model-picker-input[data-v-44665554] .el-input__wrapper,.model-picker-input[data-v-44665554] .el-input__inner{cursor:pointer}.hyperparam-section[data-v-44665554]{margin:32px 0 20px}.hyperparam-title[data-v-44665554]{font-size:16px;font-weight:700;color:#1f2937;margin-bottom:24px}.param-config-header[data-v-44665554]{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.param-config-title[data-v-44665554]{font-size:14px;color:#475569;font-weight:600}.param-table-wrapper[data-v-44665554]{margin-left:80px;border:1px solid #eef0f5;border-radius:6px;overflow:hidden;background:#fff}[data-v-44665554] .el-form-item{margin-left:80px}[data-v-44665554] .el-form-item .el-form-item__label{position:relative;padding-left:0}[data-v-44665554] .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before{position:absolute;left:-10px;margin-right:0}.param-header[data-v-44665554],.param-row[data-v-44665554]{display:grid;grid-template-columns:140px 420px 1fr;align-items:center}.param-header[data-v-44665554]{background:#f8fafc;border-bottom:1px solid #eef0f5;color:#64748b;font-size:13px;font-weight:600}.param-row[data-v-44665554]{border-bottom:1px solid #eef0f5}.param-col[data-v-44665554]{padding:16px 20px}.param-col.name[data-v-44665554]{font-weight:600;color:#475569;font-size:14px;text-align:left}.param-col.config[data-v-44665554]{display:flex;align-items:center;gap:12px}.param-col.desc[data-v-44665554]{color:#64748b;font-size:13px;min-width:0}.desc-text[data-v-44665554]{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:default}.param-hint[data-v-44665554]{color:#94a3b8;font-size:13px}.param-footer[data-v-44665554]{padding:12px 20px}@media(min-width:1280px){.gpu-list[data-v-44665554]{grid-template-columns:repeat(4,minmax(0,1fr))}} +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/FineTuneCreateView-Dbr8mf56.css +@charset "UTF-8";.el-radio-button{--el-radio-button-checked-bg-color:var(--el-color-primary);--el-radio-button-checked-text-color:var(--el-color-white);--el-radio-button-checked-border-color:var(--el-color-primary);--el-radio-button-disabled-checked-fill:var(--el-border-color-extra-light);outline:none;display:inline-block;position:relative}.el-radio-button__inner{white-space:nowrap;vertical-align:middle;background:var(--el-button-bg-color,var(--el-fill-color-blank));outline:var(--el-border);line-height:1;font-weight:var(--el-button-font-weight,var(--el-font-weight-primary));color:var(--el-button-text-color,var(--el-text-color-regular));-webkit-appearance:none;text-align:center;box-sizing:border-box;cursor:pointer;transition:var(--el-transition-all);-webkit-user-select:none;user-select:none;font-size:var(--el-font-size-base);border-radius:0;margin:0;padding:8px 15px;display:inline-block;position:relative}.el-radio-button__inner.is-round{padding:8px 15px}.el-radio-button__inner:hover{color:var(--el-color-primary)}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button:first-child .el-radio-button__inner{border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);box-shadow:none!important}.el-radio-button.is-active .el-radio-button__original-radio:not(:disabled)+.el-radio-button__inner{color:var(--el-radio-button-checked-text-color,var(--el-color-white));background-color:var(--el-radio-button-checked-bg-color,var(--el-color-primary));border-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));box-shadow:-1px 0 0 0 var(--el-radio-button-checked-border-color,var(--el-color-primary))}.el-radio-button__original-radio{opacity:0;z-index:-1;outline:none;position:absolute}.el-radio-button__original-radio:focus-visible+.el-radio-button__inner{border-left:var(--el-border);border-left-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));outline:2px solid var(--el-radio-button-checked-border-color);outline-offset:1px;z-index:2;border-radius:var(--el-border-radius-base);box-shadow:none}.el-radio-button__original-radio:disabled+.el-radio-button__inner{color:var(--el-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none}.el-radio-button__original-radio:disabled:checked+.el-radio-button__inner{background-color:var(--el-radio-button-disabled-checked-fill)}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0}.el-radio-button:first-child:last-child .el-radio-button__inner{border-radius:var(--el-border-radius-base)}.el-radio-button--large .el-radio-button__inner{font-size:var(--el-font-size-base);border-radius:0;padding:12px 19px}.el-radio-button--large .el-radio-button__inner.is-round{padding:12px 19px}.el-radio-button--small .el-radio-button__inner{border-radius:0;padding:5px 11px;font-size:12px}.el-radio-button--small .el-radio-button__inner.is-round{padding:5px 11px}[data-v-9028e87c] .model-select-dialog{max-width:calc(100vw - 48px);border-radius:6px;box-shadow:0 18px 46px #0f172a2e}[data-v-9028e87c] .model-select-dialog .el-dialog__header{padding:0;margin:0}[data-v-9028e87c] .model-select-dialog .el-dialog__body,[data-v-9028e87c] .model-select-dialog .el-dialog__footer{padding:0}.model-dialog-header[data-v-9028e87c]{height:56px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eef0f5}.model-dialog-title[data-v-9028e87c]{display:flex;align-items:baseline;gap:12px}.model-dialog-title span[data-v-9028e87c]{font-size:16px;font-weight:700;color:#1f2937}.model-dialog-title em[data-v-9028e87c]{font-style:normal;font-size:13px;color:#94a3b8}.model-dialog-close[data-v-9028e87c]{width:30px;height:30px;border:0;background:transparent;color:#64748b;cursor:pointer;font-size:16px;border-radius:6px}.model-dialog-close[data-v-9028e87c]:hover{background:#f5f6fb}.model-dialog-body[data-v-9028e87c]{height:452px}.model-dialog-toolbar[data-v-9028e87c]{height:76px;padding:14px 20px 0;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid #eef0f5}.model-tabs[data-v-9028e87c]{min-width:210px}.model-tabs[data-v-9028e87c] .el-tabs__item{height:42px;padding:0 18px 0 0;font-size:14px;font-weight:600;color:#475569}.model-tabs[data-v-9028e87c] .el-tabs__active-bar{height:2px;background:#2563eb}.model-tabs[data-v-9028e87c] .el-tabs__nav-wrap:after{display:none}.model-search[data-v-9028e87c]{width:280px}.model-search[data-v-9028e87c] .el-input__wrapper{border-radius:6px;min-height:36px}.model-dialog-content[data-v-9028e87c]{display:grid;grid-template-columns:280px 1fr;height:376px;min-height:0}.model-series-list[data-v-9028e87c],.model-version-list[data-v-9028e87c]{padding:16px 20px;overflow:auto}.model-series-list[data-v-9028e87c]{border-right:1px solid #eef0f5}.column-title[data-v-9028e87c]{font-size:13px;font-weight:600;color:#64748b;margin-bottom:12px}.model-series-item[data-v-9028e87c],.model-version-item[data-v-9028e87c]{width:100%;border:1px solid #e5e7eb;background:#fff;border-radius:6px;cursor:pointer;transition:all .2s;color:#1f2937}.model-series-item[data-v-9028e87c]:hover,.model-version-item[data-v-9028e87c]:hover{border-color:#94a3b8;background:#f8fafc}.model-series-item.active[data-v-9028e87c],.model-version-item.active[data-v-9028e87c]{border-color:#2563eb;background:#eff6ff;box-shadow:inset 0 0 0 1px #2563eb}.model-series-item[data-v-9028e87c]{height:44px;padding:0 12px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin-bottom:8px;text-align:left}.model-series-item i[data-v-9028e87c]{color:#2563eb}.model-series-item span[data-v-9028e87c]{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-series-item em[data-v-9028e87c]{font-style:normal;color:#777b92}.model-version-item[data-v-9028e87c]{min-height:64px;padding:12px 14px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px;margin-bottom:8px;text-align:left}.model-version-main[data-v-9028e87c]{display:grid;gap:6px;min-width:0}.model-version-main strong[data-v-9028e87c]{color:#1f2937;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-version-main span[data-v-9028e87c]{color:#64748b;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-radio-dot[data-v-9028e87c]{width:16px;height:16px;border:1px solid #cbd5e1;border-radius:50%;position:relative}.model-version-item.active .model-radio-dot[data-v-9028e87c]{border-color:#2563eb}.model-version-item.active .model-radio-dot[data-v-9028e87c]:after{content:"";position:absolute;top:3px;right:3px;bottom:3px;left:3px;border-radius:50%;background:#2563eb}.model-dialog-footer[data-v-9028e87c]{height:60px;padding:0 20px;border-top:1px solid #eef0f5;display:flex;align-items:center;justify-content:space-between}.selected-model-summary[data-v-9028e87c]{display:flex;align-items:center;gap:10px;color:#475569;font-size:13px}.selected-model-pill[data-v-9028e87c]{max-width:300px;height:28px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid #dbeafe;border-radius:4px;background:#eff6ff;color:#1f2937;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-model-pill i[data-v-9028e87c]{color:#2563eb}.model-dialog-actions[data-v-9028e87c]{display:flex;gap:10px}@media(max-width:900px){.model-dialog-toolbar[data-v-9028e87c],.model-dialog-footer[data-v-9028e87c]{height:auto;align-items:flex-start;flex-direction:column;padding:18px}.model-search[data-v-9028e87c]{width:100%}.model-dialog-content[data-v-9028e87c]{grid-template-columns:1fr}.model-series-list[data-v-9028e87c]{border-right:0;border-bottom:1px solid #eef0f5}}.fine-tune-create[data-v-e759555b] .page-card{margin-bottom:0}.gpu-list[data-v-e759555b]{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;width:100%}.gpu-card[data-v-e759555b]{border:1px solid #e5e7eb;border-radius:6px;padding:9px 12px;cursor:pointer;transition:border-color .2s,box-shadow .2s,background .2s;background:#fff}.gpu-card[data-v-e759555b]:hover{border-color:#94a3b8;box-shadow:0 4px 12px #0f172a0f}.gpu-card.active[data-v-e759555b]{border-color:#2563eb;background:#f8fbff;box-shadow:inset 0 0 0 1px #2563eb}.gpu-card.is-busy[data-v-e759555b]{border-color:#f59e0b;background:#fffaf0}.gpu-card.is-busy .gpu-usage[data-v-e759555b]{color:#b45309;background:#fffbeb;border-color:#fcd34d}.gpu-card.is-busy .gpu-usage-bar span[data-v-e759555b]{background:#f59e0b}.gpu-card.is-busy.active[data-v-e759555b]{border-color:#dc2626;background:#fff7f7;box-shadow:inset 0 0 0 1px #dc2626}.gpu-card.is-busy.active .gpu-usage[data-v-e759555b]{color:#dc2626;background:#fef2f2;border-color:#fecaca}.gpu-card.is-busy.active .gpu-usage-bar span[data-v-e759555b]{background:#dc2626}.gpu-card-top[data-v-e759555b]{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.gpu-title[data-v-e759555b]{min-width:0;display:grid;gap:2px}.gpu-index[data-v-e759555b]{font-size:11px;line-height:1;font-weight:600;letter-spacing:.04em;color:#64748b}.gpu-name[data-v-e759555b]{font-size:13px;font-weight:600;color:#1f2937;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gpu-usage[data-v-e759555b]{height:20px;min-width:40px;padding:0 6px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #bfdbfe;border-radius:4px;background:#eff6ff;color:#2563eb;font-size:11px;font-weight:700;white-space:nowrap}.gpu-usage-bar[data-v-e759555b]{height:3px;margin:7px 0 6px;overflow:hidden;border-radius:999px;background:#eef2f7}.gpu-usage-bar span[data-v-e759555b]{display:block;height:100%;border-radius:inherit;background:#2563eb}.gpu-meta[data-v-e759555b]{display:flex;flex-wrap:nowrap;gap:10px;font-size:11px;color:#64748b;line-height:1.4;white-space:nowrap;overflow:hidden}.gpu-empty[data-v-e759555b]{color:#909399;font-size:13px}.command-preview-wrapper[data-v-e759555b]{margin-left:80px;margin-bottom:22px}.field-tip[data-v-e759555b]{color:#909399;font-size:12px;line-height:20px;margin-top:4px}.form-actions-wrapper[data-v-e759555b]{position:fixed;bottom:0;left:240px;right:0;height:56px;background:#fff;border-top:1px solid #eef0f5;display:flex;align-items:center;padding-left:112px;z-index:1000;box-shadow:0 -4px 12px #0000000d}.command-preview[data-v-e759555b]{background:#1e1e1e;color:#d4d4d4;padding:12px 16px;border-radius:6px;font-family:SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.6;overflow-x:auto;width:100%;margin:0}.model-picker-input[data-v-e759555b],.model-picker-input[data-v-e759555b] .el-input__wrapper,.model-picker-input[data-v-e759555b] .el-input__inner{cursor:pointer}.hyperparam-section[data-v-e759555b]{margin:32px 0 20px}.hyperparam-title[data-v-e759555b]{font-size:16px;font-weight:700;color:#1f2937;margin-bottom:24px}.param-config-header[data-v-e759555b]{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.param-config-title[data-v-e759555b]{font-size:14px;color:#475569;font-weight:600}.param-table-wrapper[data-v-e759555b]{margin-left:80px;border:1px solid #eef0f5;border-radius:6px;overflow:hidden;background:#fff}[data-v-e759555b] .el-form-item{margin-left:80px}[data-v-e759555b] .el-form-item .el-form-item__label{position:relative;padding-left:0}[data-v-e759555b] .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before{position:absolute;left:-10px;margin-right:0}.param-header[data-v-e759555b],.param-row[data-v-e759555b]{display:grid;grid-template-columns:140px 420px 1fr;align-items:center}.param-header[data-v-e759555b]{background:#f8fafc;border-bottom:1px solid #eef0f5;color:#64748b;font-size:13px;font-weight:600}.param-row[data-v-e759555b]{border-bottom:1px solid #eef0f5}.param-col[data-v-e759555b]{padding:16px 20px}.param-col.name[data-v-e759555b]{font-weight:600;color:#475569;font-size:14px;text-align:left}.param-col.config[data-v-e759555b]{display:flex;align-items:center;gap:12px}.param-col.desc[data-v-e759555b]{color:#64748b;font-size:13px;min-width:0}.desc-text[data-v-e759555b]{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:default}.param-hint[data-v-e759555b]{color:#94a3b8;font-size:13px}.param-footer[data-v-e759555b]{padding:12px 20px}@media(min-width:1280px){.gpu-list[data-v-e759555b]{grid-template-columns:repeat(4,minmax(0,1fr))}} +======== +@charset "UTF-8";.el-radio-button{--el-radio-button-checked-bg-color:var(--el-color-primary);--el-radio-button-checked-text-color:var(--el-color-white);--el-radio-button-checked-border-color:var(--el-color-primary);--el-radio-button-disabled-checked-fill:var(--el-border-color-extra-light);outline:none;display:inline-block;position:relative}.el-radio-button__inner{white-space:nowrap;vertical-align:middle;background:var(--el-button-bg-color,var(--el-fill-color-blank));outline:var(--el-border);line-height:1;font-weight:var(--el-button-font-weight,var(--el-font-weight-primary));color:var(--el-button-text-color,var(--el-text-color-regular));-webkit-appearance:none;text-align:center;box-sizing:border-box;cursor:pointer;transition:var(--el-transition-all);-webkit-user-select:none;user-select:none;font-size:var(--el-font-size-base);border-radius:0;margin:0;padding:8px 15px;display:inline-block;position:relative}.el-radio-button__inner.is-round{padding:8px 15px}.el-radio-button__inner:hover{color:var(--el-color-primary)}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button:first-child .el-radio-button__inner{border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);box-shadow:none!important}.el-radio-button.is-active .el-radio-button__original-radio:not(:disabled)+.el-radio-button__inner{color:var(--el-radio-button-checked-text-color,var(--el-color-white));background-color:var(--el-radio-button-checked-bg-color,var(--el-color-primary));border-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));box-shadow:-1px 0 0 0 var(--el-radio-button-checked-border-color,var(--el-color-primary))}.el-radio-button__original-radio{opacity:0;z-index:-1;outline:none;position:absolute}.el-radio-button__original-radio:focus-visible+.el-radio-button__inner{border-left:var(--el-border);border-left-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));outline:2px solid var(--el-radio-button-checked-border-color);outline-offset:1px;z-index:2;border-radius:var(--el-border-radius-base);box-shadow:none}.el-radio-button__original-radio:disabled+.el-radio-button__inner{color:var(--el-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none}.el-radio-button__original-radio:disabled:checked+.el-radio-button__inner{background-color:var(--el-radio-button-disabled-checked-fill)}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0}.el-radio-button:first-child:last-child .el-radio-button__inner{border-radius:var(--el-border-radius-base)}.el-radio-button--large .el-radio-button__inner{font-size:var(--el-font-size-base);border-radius:0;padding:12px 19px}.el-radio-button--large .el-radio-button__inner.is-round{padding:12px 19px}.el-radio-button--small .el-radio-button__inner{border-radius:0;padding:5px 11px;font-size:12px}.el-radio-button--small .el-radio-button__inner.is-round{padding:5px 11px}[data-v-7fb2f968] .model-select-dialog{max-width:calc(100vw - 48px);border-radius:6px;box-shadow:0 18px 46px #0f172a2e}[data-v-7fb2f968] .model-select-dialog .el-dialog__header{padding:0;margin:0}[data-v-7fb2f968] .model-select-dialog .el-dialog__body,[data-v-7fb2f968] .model-select-dialog .el-dialog__footer{padding:0}.model-dialog-header[data-v-7fb2f968]{height:56px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eef0f5}.model-dialog-title[data-v-7fb2f968]{display:flex;align-items:baseline;gap:12px}.model-dialog-title span[data-v-7fb2f968]{font-size:16px;font-weight:700;color:#1f2937}.model-dialog-title em[data-v-7fb2f968]{font-style:normal;font-size:13px;color:#94a3b8}.model-dialog-close[data-v-7fb2f968]{width:30px;height:30px;border:0;background:transparent;color:#64748b;cursor:pointer;font-size:16px;border-radius:6px}.model-dialog-close[data-v-7fb2f968]:hover{background:#f5f6fb}.model-dialog-body[data-v-7fb2f968]{height:452px}.model-dialog-toolbar[data-v-7fb2f968]{height:76px;padding:14px 20px 0;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid #eef0f5}.model-tabs[data-v-7fb2f968]{min-width:210px}.model-tabs[data-v-7fb2f968] .el-tabs__item{height:42px;padding:0 18px 0 0;font-size:14px;font-weight:600;color:#475569}.model-tabs[data-v-7fb2f968] .el-tabs__active-bar{height:2px;background:#2563eb}.model-tabs[data-v-7fb2f968] .el-tabs__nav-wrap:after{display:none}.model-search[data-v-7fb2f968]{width:280px}.model-search[data-v-7fb2f968] .el-input__wrapper{border-radius:6px;min-height:36px}.model-dialog-content[data-v-7fb2f968]{display:grid;grid-template-columns:280px 1fr;height:376px;min-height:0}.model-series-list[data-v-7fb2f968],.model-version-list[data-v-7fb2f968]{padding:16px 20px;overflow:auto}.model-series-list[data-v-7fb2f968]{border-right:1px solid #eef0f5}.column-title[data-v-7fb2f968]{font-size:13px;font-weight:600;color:#64748b;margin-bottom:12px}.model-series-item[data-v-7fb2f968],.model-version-item[data-v-7fb2f968]{width:100%;border:1px solid #e5e7eb;background:#fff;border-radius:6px;cursor:pointer;transition:all .2s;color:#1f2937}.model-series-item[data-v-7fb2f968]:hover,.model-version-item[data-v-7fb2f968]:hover{border-color:#94a3b8;background:#f8fafc}.model-series-item.active[data-v-7fb2f968],.model-version-item.active[data-v-7fb2f968]{border-color:#2563eb;background:#eff6ff;box-shadow:inset 0 0 0 1px #2563eb}.model-series-item[data-v-7fb2f968]{height:44px;padding:0 12px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin-bottom:8px;text-align:left}.model-series-item i[data-v-7fb2f968]{color:#2563eb}.model-series-item span[data-v-7fb2f968]{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-series-item em[data-v-7fb2f968]{font-style:normal;color:#777b92}.model-version-item[data-v-7fb2f968]{min-height:64px;padding:12px 14px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px;margin-bottom:8px;text-align:left}.model-version-main[data-v-7fb2f968]{display:grid;gap:6px;min-width:0}.model-version-main strong[data-v-7fb2f968]{color:#1f2937;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-version-main span[data-v-7fb2f968]{color:#64748b;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-radio-dot[data-v-7fb2f968]{width:16px;height:16px;border:1px solid #cbd5e1;border-radius:50%;position:relative}.model-version-item.active .model-radio-dot[data-v-7fb2f968]{border-color:#2563eb}.model-version-item.active .model-radio-dot[data-v-7fb2f968]:after{content:"";position:absolute;top:3px;right:3px;bottom:3px;left:3px;border-radius:50%;background:#2563eb}.model-dialog-footer[data-v-7fb2f968]{height:60px;padding:0 20px;border-top:1px solid #eef0f5;display:flex;align-items:center;justify-content:space-between}.selected-model-summary[data-v-7fb2f968]{display:flex;align-items:center;gap:10px;color:#475569;font-size:13px}.selected-model-pill[data-v-7fb2f968]{max-width:300px;height:28px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid #dbeafe;border-radius:4px;background:#eff6ff;color:#1f2937;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-model-pill i[data-v-7fb2f968]{color:#2563eb}.model-dialog-actions[data-v-7fb2f968]{display:flex;gap:10px}@media(max-width:900px){.model-dialog-toolbar[data-v-7fb2f968],.model-dialog-footer[data-v-7fb2f968]{height:auto;align-items:flex-start;flex-direction:column;padding:18px}.model-search[data-v-7fb2f968]{width:100%}.model-dialog-content[data-v-7fb2f968]{grid-template-columns:1fr}.model-series-list[data-v-7fb2f968]{border-right:0;border-bottom:1px solid #eef0f5}}.fine-tune-create[data-v-5e295ce9] .page-card{margin-bottom:0}.gpu-list[data-v-5e295ce9]{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;width:100%}.gpu-card[data-v-5e295ce9]{border:1px solid #e5e7eb;border-radius:6px;padding:9px 12px;cursor:pointer;transition:border-color .2s,box-shadow .2s,background .2s;background:#fff}.gpu-card[data-v-5e295ce9]:hover{border-color:#94a3b8;box-shadow:0 4px 12px #0f172a0f}.gpu-card.active[data-v-5e295ce9]{border-color:#2563eb;background:#f8fbff;box-shadow:inset 0 0 0 1px #2563eb}.gpu-card.is-busy[data-v-5e295ce9]{border-color:#f59e0b;background:#fffaf0}.gpu-card.is-busy .gpu-usage[data-v-5e295ce9]{color:#b45309;background:#fffbeb;border-color:#fcd34d}.gpu-card.is-busy .gpu-usage-bar span[data-v-5e295ce9]{background:#f59e0b}.gpu-card.is-busy.active[data-v-5e295ce9]{border-color:#dc2626;background:#fff7f7;box-shadow:inset 0 0 0 1px #dc2626}.gpu-card.is-busy.active .gpu-usage[data-v-5e295ce9]{color:#dc2626;background:#fef2f2;border-color:#fecaca}.gpu-card.is-busy.active .gpu-usage-bar span[data-v-5e295ce9]{background:#dc2626}.gpu-card-top[data-v-5e295ce9]{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.gpu-title[data-v-5e295ce9]{min-width:0;display:grid;gap:2px}.gpu-index[data-v-5e295ce9]{font-size:11px;line-height:1;font-weight:600;letter-spacing:.04em;color:#64748b}.gpu-name[data-v-5e295ce9]{font-size:13px;font-weight:600;color:#1f2937;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gpu-usage[data-v-5e295ce9]{height:20px;min-width:40px;padding:0 6px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #bfdbfe;border-radius:4px;background:#eff6ff;color:#2563eb;font-size:11px;font-weight:700;white-space:nowrap}.gpu-usage-bar[data-v-5e295ce9]{height:3px;margin:7px 0 6px;overflow:hidden;border-radius:999px;background:#eef2f7}.gpu-usage-bar span[data-v-5e295ce9]{display:block;height:100%;border-radius:inherit;background:#2563eb}.gpu-meta[data-v-5e295ce9]{display:flex;flex-wrap:nowrap;gap:10px;font-size:11px;color:#64748b;line-height:1.4;white-space:nowrap;overflow:hidden}.gpu-empty[data-v-5e295ce9]{color:#909399;font-size:13px}.command-preview-wrapper[data-v-5e295ce9]{margin-left:80px;margin-bottom:22px}.field-tip[data-v-5e295ce9]{color:#909399;font-size:12px;line-height:20px;margin-top:4px}.form-actions-wrapper[data-v-5e295ce9]{position:fixed;bottom:0;left:240px;right:0;height:56px;background:#fff;border-top:1px solid #eef0f5;display:flex;align-items:center;padding-left:112px;z-index:1000;box-shadow:0 -4px 12px #0000000d}.command-preview[data-v-5e295ce9]{background:#1e1e1e;color:#d4d4d4;padding:12px 16px;border-radius:6px;font-family:SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.6;overflow-x:auto;width:100%;margin:0}.model-picker-input[data-v-5e295ce9],.model-picker-input[data-v-5e295ce9] .el-input__wrapper,.model-picker-input[data-v-5e295ce9] .el-input__inner{cursor:pointer}.hyperparam-section[data-v-5e295ce9]{margin:32px 0 20px}.hyperparam-title[data-v-5e295ce9]{font-size:16px;font-weight:700;color:#1f2937;margin-bottom:24px}.param-config-header[data-v-5e295ce9]{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.param-config-title[data-v-5e295ce9]{font-size:14px;color:#475569;font-weight:600}.param-table-wrapper[data-v-5e295ce9]{margin-left:80px;border:1px solid #eef0f5;border-radius:6px;overflow:hidden;background:#fff}[data-v-5e295ce9] .el-form-item{margin-left:80px}[data-v-5e295ce9] .el-form-item .el-form-item__label{position:relative;padding-left:0}[data-v-5e295ce9] .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before{position:absolute;left:-10px;margin-right:0}.param-header[data-v-5e295ce9],.param-row[data-v-5e295ce9]{display:grid;grid-template-columns:140px 420px 1fr;align-items:center}.param-header[data-v-5e295ce9]{background:#f8fafc;border-bottom:1px solid #eef0f5;color:#64748b;font-size:13px;font-weight:600}.param-row[data-v-5e295ce9]{border-bottom:1px solid #eef0f5}.param-col[data-v-5e295ce9]{padding:16px 20px}.param-col.name[data-v-5e295ce9]{font-weight:600;color:#475569;font-size:14px;text-align:left}.param-col.config[data-v-5e295ce9]{display:flex;align-items:center;gap:12px}.param-col.desc[data-v-5e295ce9]{color:#64748b;font-size:13px;min-width:0}.desc-text[data-v-5e295ce9]{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:default}.param-hint[data-v-5e295ce9]{color:#94a3b8;font-size:13px}.param-footer[data-v-5e295ce9]{padding:12px 20px}@media(min-width:1280px){.gpu-list[data-v-5e295ce9]{grid-template-columns:repeat(4,minmax(0,1fr))}} +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/FineTuneCreateView-SMgRyQ_C.css diff --git a/frontend/dist/assets/FineTuneCreateView-Cz_5yMnR.js b/frontend/dist/assets/FineTuneCreateView-Cz_5yMnR.js new file mode 100644 index 0000000..735d9a6 --- /dev/null +++ b/frontend/dist/assets/FineTuneCreateView-Cz_5yMnR.js @@ -0,0 +1,2 @@ +import{E as ve,a as fe}from"./el-form-item-BA3ZlfqF.js";import{E as ge}from"./el-popper-OAwpEmER.js";import{E as ne}from"./index-zJ9bqPrh.js";import{E as se}from"./index-D23K2h6y.js";import{E as be,a as ye,b as he}from"./el-select-CeiDjMzB.js";import{E as xe,a as ke,b as we}from"./el-radio-group-BJiEgTS_.js";import{E as Ve}from"./el-divider-B4fvp0nA.js";import{E as qe}from"./el-input-number-Ba6IqA7Z.js";import{d as ie,D as oe,e as y,w as n,o as u,q as l,s as o,c as _,ad as q,n as H,aa as f,M as w,g as $,x as v,y as V,j as M,G as $e,z as Ee,at as ze,al as Te,f as Q,au as Ce,av as Me,aw as Ue,ax as Se,A as F,v as Pe,ay as Ie}from"./index-CxbBjZKo.js";import"./el-tooltip-l0sNRNKZ.js";import"./el-scrollbar-B0E7ZTt3.js";/* empty css */import{P as Fe}from"./PageCard-CC9cofwx.js";import{E as De}from"./el-dialog-fpsmuz8Z.js";import{E as Oe}from"./el-empty-DUcrYyo6.js";import{E as Re,a as Ae}from"./el-tab-pane-DQY-HDUC.js";import{_ as ue}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{c as Ne,e as Ge,f as Le,u as Be}from"./fineTune-C-jGF1Jc.js";import{g as je}from"./model-B9dq9fy6.js";import{g as Qe}from"./dataset-BdzlocXa.js";import"./castArray-CwVgzdTt.js";import"./_baseClone-B6d4qZbo.js";import"./index-DxP0p4ch.js";import"./index-DHcidAHK.js";import"./raf-Bjl8yy5U.js";import"./index-C4wGR5UT.js";import"./vnode-DIVHEdsp.js";import"./index-Bzaib5AU.js";import"./index-BjlLyKON.js";import"./scroll-Dvb2mTx8.js";import"./clamp-Ow4I6lPc.js";import"./toNumber-Yuob3eJv.js";import"./_baseIteratee-C6JbNheX.js";import"./omit-CbHF-OEy.js";import"./index-ZKnv_mga.js";import"./el-card-BsCFVTSD.js";import"./index-36LucyXi.js";import"./use-dialog-DGVjglW6.js";import"./index-C3HZL-2Y.js";const He={class:"model-dialog-body"},Ke={class:"model-dialog-toolbar"},We={class:"model-dialog-content"},Ze={class:"model-series-list"},Je=["onClick"],Xe={class:"model-version-list"},Ye=["onClick"],et={class:"model-version-main"},tt={class:"model-dialog-footer"},at={class:"selected-model-summary"},lt={key:0,class:"selected-model-pill"},ot={class:"model-dialog-actions"},nt=ie({__name:"ModelSelectDialog",props:{modelValue:{type:Boolean},models:{},currentModelId:{}},emits:["update:modelValue","confirm"],setup(a,{emit:U}){const x=a,E=U,g=V("official"),z=V(""),h=V(""),k=V("");function D(p){return p.replace(/-\d+(?:\.\d+)?B.*$/i,"").replace(/-\d+(?:\.\d+)?b.*$/i,"").replace(/-\d{4}.*$/,"")}const s=M(()=>{const p=k.value.trim().toLowerCase(),i=x.models.filter(d=>g.value==="official"?d.model_source!=="api":d.model_source==="api");return p?i.filter(d=>[d.name,d.description,d.path,d.online_model_name].filter(Boolean).some(S=>String(S).toLowerCase().includes(p))):i}),I=M(()=>{const p=new Map;return s.value.forEach(i=>{const d=D(i.name),S=p.get(d)||[];S.push(i),p.set(d,S)}),Array.from(p.entries()).map(([i,d])=>({name:i,count:d.length,models:d}))}),N=M(()=>{var p;return((p=I.value.find(i=>i.name===z.value))==null?void 0:p.models)||[]}),O=M(()=>x.models.find(p=>p.id===h.value));function G(){var i;const p=((i=I.value[0])==null?void 0:i.name)||"";(!z.value||!I.value.some(d=>d.name===z.value))&&(z.value=p)}oe(()=>x.modelValue,p=>{if(p){const i=x.models.find(d=>d.id===x.currentModelId);g.value=(i==null?void 0:i.model_source)==="api"?"mine":"official",h.value=x.currentModelId,G()}}),oe([g,k],()=>{G()});function K(p){z.value=p}function W(p){h.value=p.id}function L(){E("update:modelValue",!1)}function Z(){h.value!==""&&h.value!==void 0&&h.value!==null&&E("confirm",h.value),E("update:modelValue",!1)}return(p,i)=>{const d=Re,S=Ae,J=ne,R=Oe,A=se,X=De;return u(),y(X,{"model-value":a.modelValue,class:"model-select-dialog",width:"860px",top:"10vh","show-close":!1,"append-to-body":"","onUpdate:modelValue":i[2]||(i[2]=m=>E("update:modelValue",m))},{header:n(()=>[l("div",{class:"model-dialog-header"},[i[4]||(i[4]=l("div",{class:"model-dialog-title"},[l("span",null,"选择模型"),l("em",null,"仅可选 1 个模型")],-1)),l("button",{class:"model-dialog-close",type:"button",onClick:L},[...i[3]||(i[3]=[l("i",{class:"fa fa-close"},null,-1)])])])]),footer:n(()=>[l("div",tt,[l("div",at,[l("span",null,"已选 "+f(O.value?1:0)+"/1",1),O.value?(u(),_("div",lt,[i[10]||(i[10]=l("i",{class:"fa fa-star-o"},null,-1)),v(" "+f(O.value.name),1)])):$("",!0)]),l("div",ot,[o(A,{onClick:L},{default:n(()=>[...i[11]||(i[11]=[v("取消",-1)])]),_:1}),o(A,{type:"primary",onClick:Z},{default:n(()=>[...i[12]||(i[12]=[v("确定",-1)])]),_:1})])])]),default:n(()=>[l("div",He,[l("div",Ke,[o(S,{modelValue:g.value,"onUpdate:modelValue":i[0]||(i[0]=m=>g.value=m),class:"model-tabs"},{default:n(()=>[o(d,{label:"官方模型",name:"official"}),o(d,{label:"我的模型",name:"mine"})]),_:1},8,["modelValue"]),o(J,{modelValue:k.value,"onUpdate:modelValue":i[1]||(i[1]=m=>k.value=m),class:"model-search",placeholder:"从全部模型中搜索",clearable:""},{suffix:n(()=>[...i[5]||(i[5]=[l("i",{class:"fa fa-search"},null,-1)])]),_:1},8,["modelValue"])]),l("div",We,[l("aside",Ze,[i[7]||(i[7]=l("div",{class:"column-title"},"模型系列",-1)),(u(!0),_(w,null,q(I.value,m=>(u(),_("button",{key:m.name,class:H(["model-series-item",{active:z.value===m.name}]),type:"button",onClick:Y=>K(m.name)},[i[6]||(i[6]=l("i",{class:"fa fa-star-o"},null,-1)),l("span",null,f(m.name),1),l("em",null,f(m.count),1)],10,Je))),128)),I.value.length?$("",!0):(u(),y(R,{key:0,description:"暂无模型","image-size":80}))]),l("section",Xe,[i[9]||(i[9]=l("div",{class:"column-title"},"快照版本",-1)),(u(!0),_(w,null,q(N.value,m=>(u(),_("button",{key:m.id,class:H(["model-version-item",{active:h.value===m.id}]),type:"button",onClick:Y=>W(m)},[l("div",et,[l("strong",null,f(m.name),1),l("span",null,f(m.description||m.path||m.online_model_name||"暂无模型描述"),1)]),i[8]||(i[8]=l("span",{class:"model-radio-dot"},null,-1))],10,Ye))),128)),N.value.length?$("",!0):(u(),y(R,{key:0,description:"暂无快照版本","image-size":80}))])])])]),_:1},8,["model-value"])}}}),st=ue(nt,[["__scopeId","data-v-7fb2f968"]]),de={batch_size:1,learning_rate:1e-4,n_epochs:1,save_steps:100,lr_scheduler_type:"cosine",max_length:512,warmup_ratio:.05,weight_decay:.01,lora_alpha:16,lora_dropout:.1,lora_rank:8,quantization_bit:0,export_quantized:!1,quant_method:"bnb",quant_bits:4,quant_group_size:128,export_format:"Q4_K_M"};function it(){return{name:"",description:"",train_type:"SFT",base_model:"",template:"qwen",train_method:"lora",train_dataset_id:"",auto_merge:!1,...de}}function ut(a,U){return{name:a.name,description:a.description,base_model:a.base_model,template:a.template,train_type:a.train_type,train_method:a.train_method,gpus:[...U],train_dataset_id:a.train_dataset_id,auto_merge:a.train_type==="SFT"&&a.auto_merge,output_model_name:a.name,batch_size:a.batch_size,learning_rate:a.learning_rate,n_epochs:a.n_epochs,save_steps:a.save_steps,lr_scheduler_type:a.lr_scheduler_type,max_length:a.max_length,warmup_ratio:a.warmup_ratio,weight_decay:a.weight_decay,lora_alpha:a.lora_alpha,lora_dropout:a.lora_dropout,lora_rank:a.lora_rank,quantization_bit:a.train_method==="lora"?a.quantization_bit:0,export_quantized:a.export_quantized,quant_method:a.export_quantized?a.quant_method:"",quant_bits:a.export_quantized?a.quant_bits:0,quant_group_size:a.export_quantized?a.quant_group_size:0,export_format:a.export_quantized&&a.quant_method==="gguf"?a.export_format:""}}function dt(a,U){const x=U.length?U.join(","):"0",E=a.train_type==="DPO"?"dpo":a.train_type==="CPT"?"cpt":"sft",g=[`CUDA_VISIBLE_DEVICES=${x} llamafactory-cli train`,` --stage ${E}`," --do_train"," --model_name_or_path "," --dataset ",` --template ${a.template}`,` --finetuning_type ${a.train_method}`,` --output_dir ./saves/${a.name||"output"}`,` --per_device_train_batch_size ${a.batch_size}`,` --learning_rate ${a.learning_rate}`,` --num_train_epochs ${a.n_epochs}`,` --save_steps ${a.save_steps}`,` --lr_scheduler_type ${a.lr_scheduler_type}`,` --cutoff_len ${a.max_length}`,` --warmup_ratio ${a.warmup_ratio}`,` --weight_decay ${a.weight_decay}`];return a.train_method==="lora"&&(g.push(` --lora_alpha ${a.lora_alpha}`,` --lora_dropout ${a.lora_dropout}`,` --lora_rank ${a.lora_rank}`),a.quantization_bit&&g.push(` --quantization_bit ${a.quantization_bit}`)),a.export_quantized&&(g.push(` # 训练后导出量化模型:${a.quant_method} ${a.quant_bits}bit`),a.quant_method==="gguf"&&g.push(` # export_format=${a.export_format}`),(a.quant_method==="gptq"||a.quant_method==="awq")&&g.push(` # group_size=${a.quant_group_size}`)),g.join(` \\ +`)}function rt(a){return{...a,status:"pending",progress:0}}const pt={class:"fine-tune-create page-card-host has-fixed-footer"},mt={class:"gpu-list"},_t=["onClick"],ct={class:"gpu-card-top"},vt={class:"gpu-title"},ft={class:"gpu-index"},gt={class:"gpu-name"},bt={class:"gpu-usage"},yt={class:"gpu-usage-bar"},ht={class:"gpu-meta"},xt={key:0,class:"gpu-empty"},kt={class:"hyperparam-section"},wt={class:"param-table-wrapper"},Vt={class:"param-table"},qt={class:"param-col name"},$t={class:"param-col config"},Et={key:2,class:"param-hint"},zt={class:"param-col desc"},Tt={class:"desc-text"},Ct={class:"param-footer"},Mt={class:"command-preview-wrapper"},Ut={class:"command-preview"},St={class:"form-actions-wrapper"},Pt=ie({__name:"FineTuneCreateView",setup(a){const U=Pe(),x=V(),E=V(!1),g=V([]),z=V([]),h=V([]),k=V([]),D=V(!1),s=Ee(it()),I={name:[{required:!0,message:"请输入任务名称",trigger:"blur"},{pattern:/^[a-zA-Z0-9_]+$/,message:"仅支持字母、数字、下划线",trigger:"blur"},{max:50,message:"不超过 50 字符",trigger:"blur"}],base_model:[{required:!0,message:"请选择模型",trigger:"change"}],template:[{required:!0,message:"请选择训练模板",trigger:"change"}],train_dataset_id:[{required:!0,message:"请选择训练数据集",trigger:"change"}]},N=M(()=>s.train_method==="lora"),O=M(()=>g.value.find(r=>r.id===s.base_model)),G=M(()=>{var r;return((r=O.value)==null?void 0:r.name)||""}),K=M(()=>dt(s,k.value));function W(r){const e=k.value.indexOf(r);e===-1?k.value.push(r):k.value.splice(e,1)}function L(r){return`${Math.max(0,Math.min(r,100))}%`}function Z(){D.value=!0}function p(r){var e;s.base_model=r,(e=x.value)==null||e.validateField("base_model")}function i(){Object.assign(s,de)}const d=V(!1),S=M(()=>{const r=[{key:"batch_size",name:"batch_size",desc:"批次大小,代表模型训练过程中,模型更新一次参数所需要的数据样本数。",hint:"[1, 64], step:1",type:"number",min:1,max:64,step:1},{key:"learning_rate",name:"learning_rate",desc:"学习率,代表每次更新数据的增量参数权重比例。",hint:"[0.000001, 1]",type:"number",min:1e-6,max:1,step:1e-5,precision:6},{key:"n_epochs",name:"n_epochs",desc:"循环次数,代表模型训练过程中模型学习数据集的次数,可理解为看几遍数据,一般建议的范围是 1-3 遍即可,可依据需求进行调整",hint:"[1, 100], step:1",type:"number",min:1,max:100,step:1},{key:"save_steps",name:"save_steps",desc:"保存步数,训练阶段模型保存的间隔步长。",hint:"[10, 10000]",type:"number",min:10,max:1e4,step:1},{key:"lr_scheduler_type",name:"lr_scheduler_type",desc:"学习率调整策略,选择不同的学习率策略。",hint:"",type:"select",options:Ie},{key:"max_length",name:"max_length",desc:"序列长度,单个训练数据样本的最大长度。",hint:"[64, 4096]",type:"number",min:64,max:4096,step:1},{key:"warmup_ratio",name:"warmup_ratio",desc:"学习率预热比例,学习率预热阶段占总训练步数的比例。",hint:"[0, 1]",type:"number",min:0,max:1,step:.01,precision:2},{key:"weight_decay",name:"weight_decay",desc:"权重衰减,用于在优化过程中对模型参数施加惩罚,防止过拟合。",hint:"[0, 1]",type:"number",min:0,max:1,step:.01,precision:2}];return N.value&&r.push({key:"lora_alpha",name:"lora_alpha",desc:"LoRA 缩放系数。",hint:"16/32/64/128",type:"select",options:[{label:"16",value:16},{label:"32",value:32},{label:"64",value:64},{label:"128",value:128}]},{key:"lora_rank",name:"lora_rank",desc:"LoRA 秩大小,控制低秩矩阵的维度。",hint:"8/16/32/64",type:"select",options:[{label:"8",value:8},{label:"16",value:16},{label:"32",value:32},{label:"64",value:64}]},{key:"lora_dropout",name:"lora_dropout",desc:"LoRA 层的 dropout 比例。",hint:"[0, 1]",type:"number",min:0,max:1,step:.05,precision:2}),r}),J=M(()=>d.value?S.value:S.value.slice(0,3));function R(r){const e=s[r];return typeof e=="boolean"?Number(e):e}function A(r,e){e!==void 0&&Reflect.set(s,r,e)}async function X(){try{g.value=await je()||[]}catch{g.value=[]}}async function m(){try{z.value=await Qe()||[]}catch{z.value=[]}}async function Y(){try{const r=await ze();h.value=(r==null?void 0:r.gpu)||[],h.value.length>0&&(k.value=[0])}catch{h.value=[]}}async function re(){x.value&&await x.value.validate(async r=>{if(r){if(k.value.length===0){F.warning("请至少选择一个 GPU");return}E.value=!0;try{let e;try{e=await Ne(s.name)}catch{F.error("任务名校验失败,请稍后重试");return}if(e.exists){F.error("任务名称已存在,请更换");return}const T=ut(s,k.value),c=(await Ge(rt(T))).id;try{await Le({...T,task_id:c}),F.success("训练任务已创建并启动")}catch{await Be(c,{status:"failed"}),F.error("任务已创建,但训练启动失败")}U.push("/fine-tune")}catch{F.error("训练任务创建失败,请稍后重试")}finally{E.value=!1}}})}function pe(){U.back()}return $e(()=>{X(),m(),Y()}),(r,e)=>{const T=Ve,B=ne,c=fe,ee=ke,ae=xe,C=ye,me=he,P=be,le=we,j=se,te=qe,_e=ge,ce=ve;return u(),_("div",pt,[o(Fe,{title:"创建训练任务"},{default:n(()=>[o(ce,{ref_key:"formRef",ref:x,model:s,rules:I,"label-width":"140px","label-position":"left"},{default:n(()=>[o(T,{"content-position":"left"},{default:n(()=>[...e[15]||(e[15]=[v("基本信息",-1)])]),_:1}),o(c,{label:"任务名称",prop:"name"},{default:n(()=>[o(B,{modelValue:s.name,"onUpdate:modelValue":e[0]||(e[0]=t=>s.name=t),placeholder:"字母、数字、下划线",maxlength:"50","show-word-limit":"",style:{width:"420px"}},null,8,["modelValue"])]),_:1}),o(c,{label:"任务描述"},{default:n(()=>[o(B,{modelValue:s.description,"onUpdate:modelValue":e[1]||(e[1]=t=>s.description=t),type:"textarea",rows:4,maxlength:"200","show-word-limit":"",style:{width:"600px"}},null,8,["modelValue"])]),_:1}),o(T,{"content-position":"left"},{default:n(()=>[...e[16]||(e[16]=[v("训练配置",-1)])]),_:1}),o(c,{label:"GPU 硬件"},{default:n(()=>[l("div",mt,[(u(!0),_(w,null,q(h.value,(t,b)=>(u(),_("div",{key:b,class:H(["gpu-card",{active:k.value.includes(b),"is-busy":t.gpu_percent>80}]),onClick:It=>W(b)},[l("div",ct,[l("div",vt,[l("span",ft,"GPU-"+f(b),1),l("span",gt,f(t.name),1)]),l("span",bt,f(t.gpu_percent)+"%",1)]),l("div",yt,[l("span",{style:Te({width:L(t.gpu_percent)})},null,4)]),l("div",ht,[l("span",null,"显存 "+f(t.memory_used_gb)+"/"+f(t.memory_total_gb)+"GB",1),l("span",null,f(t.temperature)+"°C",1),l("span",null,f(t.power_w)+"W",1)])],10,_t))),128)),h.value.length?$("",!0):(u(),_("div",xt,"暂无 GPU 信息"))])]),_:1}),o(c,{label:"训练方式"},{default:n(()=>[o(ae,{modelValue:s.train_type,"onUpdate:modelValue":e[2]||(e[2]=t=>s.train_type=t)},{default:n(()=>[o(ee,{value:"SFT"},{default:n(()=>[...e[17]||(e[17]=[v("SFT 微调训练",-1)])]),_:1}),o(ee,{value:"DPO"},{default:n(()=>[...e[18]||(e[18]=[v("DPO 偏好训练",-1)])]),_:1}),o(ee,{value:"CPT"},{default:n(()=>[...e[19]||(e[19]=[v("CPT 继续预训练",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),o(c,{label:"选择模型",prop:"base_model"},{default:n(()=>[o(B,{class:"model-picker-input","model-value":G.value,placeholder:"请选择基座模型",readonly:"",onClick:Z,style:{width:"420px"}},{suffix:n(()=>[...e[20]||(e[20]=[l("i",{class:"fa fa-angle-right"},null,-1)])]),_:1},8,["model-value"])]),_:1}),o(c,{label:"训练模板",prop:"template"},{default:n(()=>[o(P,{modelValue:s.template,"onUpdate:modelValue":e[3]||(e[3]=t=>s.template=t),placeholder:"请选择训练模板",filterable:"",style:{width:"420px"}},{default:n(()=>[(u(!0),_(w,null,q(Q(Ce),t=>(u(),y(me,{key:t.label,label:t.label},{default:n(()=>[(u(!0),_(w,null,q(t.options,b=>(u(),y(C,{key:b.value,label:b.label,value:b.value},null,8,["label","value"]))),128))]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1}),o(c,{label:"训练方法"},{default:n(()=>[o(ae,{modelValue:s.train_method,"onUpdate:modelValue":e[4]||(e[4]=t=>s.train_method=t)},{default:n(()=>[o(le,{value:"lora"},{default:n(()=>[...e[21]||(e[21]=[v("LoRA(高效微调)",-1)])]),_:1}),o(le,{value:"full"},{default:n(()=>[...e[22]||(e[22]=[v("全参微调",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),o(T,{"content-position":"left"},{default:n(()=>[e[24]||(e[24]=l("span",{style:{"font-size":"15px","font-weight":"600",color:"#1f2937","margin-right":"12px"}},"超参配置",-1)),o(j,{link:"",type:"primary",size:"small",onClick:i},{default:n(()=>[...e[23]||(e[23]=[l("i",{class:"fa fa-refresh",style:{"margin-right":"4px"}},null,-1),v(" 恢复默认配置 ",-1)])]),_:1})]),_:1}),l("div",kt,[l("div",wt,[l("div",Vt,[e[25]||(e[25]=l("div",{class:"param-header"},[l("div",{class:"param-col name"},"参数名称"),l("div",{class:"param-col config"},"配置"),l("div",{class:"param-col desc"},"说明")],-1)),(u(!0),_(w,null,q(J.value,t=>(u(),_("div",{class:"param-row",key:t.key},[l("div",qt,f(t.name),1),l("div",$t,[t.type==="number"?(u(),y(te,{key:0,"model-value":Number(R(t.key)),min:t.min,max:t.max,step:t.step,precision:t.precision,"controls-position":"right",style:{width:"200px"},"onUpdate:modelValue":b=>A(t.key,b)},null,8,["model-value","min","max","step","precision","onUpdate:modelValue"])):t.type==="select"?(u(),y(P,{key:1,"model-value":R(t.key),style:{width:"200px"},"onUpdate:modelValue":b=>A(t.key,b)},{default:n(()=>[(u(!0),_(w,null,q(t.options,b=>(u(),y(C,{key:b.value,label:b.label,value:b.value},null,8,["label","value"]))),128))]),_:2},1032,["model-value","onUpdate:modelValue"])):$("",!0),t.hint?(u(),_("span",Et,f(t.hint),1)):$("",!0)]),l("div",zt,[o(_e,{content:t.desc,placement:"top",effect:"dark","show-after":200},{default:n(()=>[l("span",Tt,f(t.desc),1)]),_:2},1032,["content"])])]))),128))]),l("div",Ct,[o(j,{link:"",type:"primary",onClick:e[5]||(e[5]=t=>d.value=!d.value)},{default:n(()=>[l("i",{class:H(d.value?"fa fa-angle-up":"fa fa-angle-down"),style:{"margin-right":"4px"}},null,2),v(" "+f(d.value?"收起配置":"展开配置"),1)]),_:1})])])]),o(T,{"content-position":"left"},{default:n(()=>[...e[26]||(e[26]=[v("数据配置",-1)])]),_:1}),o(c,{label:"训练数据集",prop:"train_dataset_id"},{default:n(()=>[o(P,{modelValue:s.train_dataset_id,"onUpdate:modelValue":e[6]||(e[6]=t=>s.train_dataset_id=t),placeholder:"请选择训练数据集",filterable:"",style:{width:"420px"}},{default:n(()=>[(u(!0),_(w,null,q(z.value,t=>(u(),y(C,{key:t.id,label:t.name,value:t.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),s.train_type==="SFT"?(u(),_(w,{key:0},[o(T,{"content-position":"left"},{default:n(()=>[...e[27]||(e[27]=[v("合并模型",-1)])]),_:1}),o(c,{label:"自动合并权重并保存"},{default:n(()=>[o(P,{modelValue:s.auto_merge,"onUpdate:modelValue":e[7]||(e[7]=t=>s.auto_merge=t),style:{width:"420px"}},{default:n(()=>[o(C,{label:"否",value:!1}),o(C,{label:"是",value:!0})]),_:1},8,["modelValue"])]),_:1})],64)):$("",!0),o(T,{"content-position":"left"},{default:n(()=>[...e[28]||(e[28]=[v("模型量化",-1)])]),_:1}),s.train_method==="lora"?(u(),y(c,{key:1,label:"训练时量化"},{default:n(()=>[o(P,{modelValue:s.quantization_bit,"onUpdate:modelValue":e[8]||(e[8]=t=>s.quantization_bit=t),style:{width:"420px"}},{default:n(()=>[(u(!0),_(w,null,q(Q(Me),t=>(u(),y(C,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):$("",!0),o(c,{label:"导出量化模型"},{default:n(()=>[o(P,{modelValue:s.export_quantized,"onUpdate:modelValue":e[9]||(e[9]=t=>s.export_quantized=t),style:{width:"420px"}},{default:n(()=>[o(C,{label:"否",value:!1}),o(C,{label:"是",value:!0})]),_:1},8,["modelValue"])]),_:1}),s.export_quantized?(u(),_(w,{key:2},[o(c,{label:"量化方法"},{default:n(()=>[o(P,{modelValue:s.quant_method,"onUpdate:modelValue":e[10]||(e[10]=t=>s.quant_method=t),style:{width:"420px"}},{default:n(()=>[(u(!0),_(w,null,q(Q(Ue),t=>(u(),y(C,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),o(c,{label:"量化位数"},{default:n(()=>[o(te,{modelValue:s.quant_bits,"onUpdate:modelValue":e[11]||(e[11]=t=>s.quant_bits=t),min:s.quant_method==="bnb"?4:2,max:s.quant_method==="bnb"?8:16,step:1,"controls-position":"right",style:{width:"200px"}},null,8,["modelValue","min","max"])]),_:1}),s.quant_method==="gptq"||s.quant_method==="awq"?(u(),y(c,{key:0,label:"分组大小"},{default:n(()=>[o(te,{modelValue:s.quant_group_size,"onUpdate:modelValue":e[12]||(e[12]=t=>s.quant_group_size=t),min:32,max:1024,step:32,"controls-position":"right",style:{width:"200px"}},null,8,["modelValue"])]),_:1})):$("",!0),s.quant_method==="gguf"?(u(),y(c,{key:1,label:"导出格式"},{default:n(()=>[o(P,{modelValue:s.export_format,"onUpdate:modelValue":e[13]||(e[13]=t=>s.export_format=t),style:{width:"420px"}},{default:n(()=>[(u(!0),_(w,null,q(Q(Se),t=>(u(),y(C,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):$("",!0)],64)):$("",!0),o(T,{"content-position":"left"},{default:n(()=>[...e[29]||(e[29]=[v("训练命令预览",-1)])]),_:1}),l("div",Mt,[l("pre",Ut,f(K.value),1)]),l("div",St,[o(j,{type:"primary",loading:E.value,onClick:re},{default:n(()=>[...e[30]||(e[30]=[v("创建并启动训练",-1)])]),_:1},8,["loading"]),o(j,{onClick:pe},{default:n(()=>[...e[31]||(e[31]=[v("取消",-1)])]),_:1})])]),_:1},8,["model"])]),_:1}),o(st,{modelValue:D.value,"onUpdate:modelValue":e[14]||(e[14]=t=>D.value=t),models:g.value,"current-model-id":s.base_model,onConfirm:p},null,8,["modelValue","models","current-model-id"])])}}}),xa=ue(Pt,[["__scopeId","data-v-5e295ce9"]]);export{xa as default}; diff --git a/frontend/dist/assets/FineTuneCreateView-SMgRyQ_C.css b/frontend/dist/assets/FineTuneCreateView-SMgRyQ_C.css new file mode 100644 index 0000000..c218ddb --- /dev/null +++ b/frontend/dist/assets/FineTuneCreateView-SMgRyQ_C.css @@ -0,0 +1 @@ +@charset "UTF-8";.el-radio-button{--el-radio-button-checked-bg-color:var(--el-color-primary);--el-radio-button-checked-text-color:var(--el-color-white);--el-radio-button-checked-border-color:var(--el-color-primary);--el-radio-button-disabled-checked-fill:var(--el-border-color-extra-light);outline:none;display:inline-block;position:relative}.el-radio-button__inner{white-space:nowrap;vertical-align:middle;background:var(--el-button-bg-color,var(--el-fill-color-blank));outline:var(--el-border);line-height:1;font-weight:var(--el-button-font-weight,var(--el-font-weight-primary));color:var(--el-button-text-color,var(--el-text-color-regular));-webkit-appearance:none;text-align:center;box-sizing:border-box;cursor:pointer;transition:var(--el-transition-all);-webkit-user-select:none;user-select:none;font-size:var(--el-font-size-base);border-radius:0;margin:0;padding:8px 15px;display:inline-block;position:relative}.el-radio-button__inner.is-round{padding:8px 15px}.el-radio-button__inner:hover{color:var(--el-color-primary)}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button:first-child .el-radio-button__inner{border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);box-shadow:none!important}.el-radio-button.is-active .el-radio-button__original-radio:not(:disabled)+.el-radio-button__inner{color:var(--el-radio-button-checked-text-color,var(--el-color-white));background-color:var(--el-radio-button-checked-bg-color,var(--el-color-primary));border-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));box-shadow:-1px 0 0 0 var(--el-radio-button-checked-border-color,var(--el-color-primary))}.el-radio-button__original-radio{opacity:0;z-index:-1;outline:none;position:absolute}.el-radio-button__original-radio:focus-visible+.el-radio-button__inner{border-left:var(--el-border);border-left-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));outline:2px solid var(--el-radio-button-checked-border-color);outline-offset:1px;z-index:2;border-radius:var(--el-border-radius-base);box-shadow:none}.el-radio-button__original-radio:disabled+.el-radio-button__inner{color:var(--el-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none}.el-radio-button__original-radio:disabled:checked+.el-radio-button__inner{background-color:var(--el-radio-button-disabled-checked-fill)}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0}.el-radio-button:first-child:last-child .el-radio-button__inner{border-radius:var(--el-border-radius-base)}.el-radio-button--large .el-radio-button__inner{font-size:var(--el-font-size-base);border-radius:0;padding:12px 19px}.el-radio-button--large .el-radio-button__inner.is-round{padding:12px 19px}.el-radio-button--small .el-radio-button__inner{border-radius:0;padding:5px 11px;font-size:12px}.el-radio-button--small .el-radio-button__inner.is-round{padding:5px 11px}[data-v-7fb2f968] .model-select-dialog{max-width:calc(100vw - 48px);border-radius:6px;box-shadow:0 18px 46px #0f172a2e}[data-v-7fb2f968] .model-select-dialog .el-dialog__header{padding:0;margin:0}[data-v-7fb2f968] .model-select-dialog .el-dialog__body,[data-v-7fb2f968] .model-select-dialog .el-dialog__footer{padding:0}.model-dialog-header[data-v-7fb2f968]{height:56px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eef0f5}.model-dialog-title[data-v-7fb2f968]{display:flex;align-items:baseline;gap:12px}.model-dialog-title span[data-v-7fb2f968]{font-size:16px;font-weight:700;color:#1f2937}.model-dialog-title em[data-v-7fb2f968]{font-style:normal;font-size:13px;color:#94a3b8}.model-dialog-close[data-v-7fb2f968]{width:30px;height:30px;border:0;background:transparent;color:#64748b;cursor:pointer;font-size:16px;border-radius:6px}.model-dialog-close[data-v-7fb2f968]:hover{background:#f5f6fb}.model-dialog-body[data-v-7fb2f968]{height:452px}.model-dialog-toolbar[data-v-7fb2f968]{height:76px;padding:14px 20px 0;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid #eef0f5}.model-tabs[data-v-7fb2f968]{min-width:210px}.model-tabs[data-v-7fb2f968] .el-tabs__item{height:42px;padding:0 18px 0 0;font-size:14px;font-weight:600;color:#475569}.model-tabs[data-v-7fb2f968] .el-tabs__active-bar{height:2px;background:#2563eb}.model-tabs[data-v-7fb2f968] .el-tabs__nav-wrap:after{display:none}.model-search[data-v-7fb2f968]{width:280px}.model-search[data-v-7fb2f968] .el-input__wrapper{border-radius:6px;min-height:36px}.model-dialog-content[data-v-7fb2f968]{display:grid;grid-template-columns:280px 1fr;height:376px;min-height:0}.model-series-list[data-v-7fb2f968],.model-version-list[data-v-7fb2f968]{padding:16px 20px;overflow:auto}.model-series-list[data-v-7fb2f968]{border-right:1px solid #eef0f5}.column-title[data-v-7fb2f968]{font-size:13px;font-weight:600;color:#64748b;margin-bottom:12px}.model-series-item[data-v-7fb2f968],.model-version-item[data-v-7fb2f968]{width:100%;border:1px solid #e5e7eb;background:#fff;border-radius:6px;cursor:pointer;transition:all .2s;color:#1f2937}.model-series-item[data-v-7fb2f968]:hover,.model-version-item[data-v-7fb2f968]:hover{border-color:#94a3b8;background:#f8fafc}.model-series-item.active[data-v-7fb2f968],.model-version-item.active[data-v-7fb2f968]{border-color:#2563eb;background:#eff6ff;box-shadow:inset 0 0 0 1px #2563eb}.model-series-item[data-v-7fb2f968]{height:44px;padding:0 12px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin-bottom:8px;text-align:left}.model-series-item i[data-v-7fb2f968]{color:#2563eb}.model-series-item span[data-v-7fb2f968]{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-series-item em[data-v-7fb2f968]{font-style:normal;color:#777b92}.model-version-item[data-v-7fb2f968]{min-height:64px;padding:12px 14px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px;margin-bottom:8px;text-align:left}.model-version-main[data-v-7fb2f968]{display:grid;gap:6px;min-width:0}.model-version-main strong[data-v-7fb2f968]{color:#1f2937;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-version-main span[data-v-7fb2f968]{color:#64748b;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-radio-dot[data-v-7fb2f968]{width:16px;height:16px;border:1px solid #cbd5e1;border-radius:50%;position:relative}.model-version-item.active .model-radio-dot[data-v-7fb2f968]{border-color:#2563eb}.model-version-item.active .model-radio-dot[data-v-7fb2f968]:after{content:"";position:absolute;top:3px;right:3px;bottom:3px;left:3px;border-radius:50%;background:#2563eb}.model-dialog-footer[data-v-7fb2f968]{height:60px;padding:0 20px;border-top:1px solid #eef0f5;display:flex;align-items:center;justify-content:space-between}.selected-model-summary[data-v-7fb2f968]{display:flex;align-items:center;gap:10px;color:#475569;font-size:13px}.selected-model-pill[data-v-7fb2f968]{max-width:300px;height:28px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid #dbeafe;border-radius:4px;background:#eff6ff;color:#1f2937;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-model-pill i[data-v-7fb2f968]{color:#2563eb}.model-dialog-actions[data-v-7fb2f968]{display:flex;gap:10px}@media(max-width:900px){.model-dialog-toolbar[data-v-7fb2f968],.model-dialog-footer[data-v-7fb2f968]{height:auto;align-items:flex-start;flex-direction:column;padding:18px}.model-search[data-v-7fb2f968]{width:100%}.model-dialog-content[data-v-7fb2f968]{grid-template-columns:1fr}.model-series-list[data-v-7fb2f968]{border-right:0;border-bottom:1px solid #eef0f5}}.fine-tune-create[data-v-5e295ce9] .page-card{margin-bottom:0}.gpu-list[data-v-5e295ce9]{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;width:100%}.gpu-card[data-v-5e295ce9]{border:1px solid #e5e7eb;border-radius:6px;padding:9px 12px;cursor:pointer;transition:border-color .2s,box-shadow .2s,background .2s;background:#fff}.gpu-card[data-v-5e295ce9]:hover{border-color:#94a3b8;box-shadow:0 4px 12px #0f172a0f}.gpu-card.active[data-v-5e295ce9]{border-color:#2563eb;background:#f8fbff;box-shadow:inset 0 0 0 1px #2563eb}.gpu-card.is-busy[data-v-5e295ce9]{border-color:#f59e0b;background:#fffaf0}.gpu-card.is-busy .gpu-usage[data-v-5e295ce9]{color:#b45309;background:#fffbeb;border-color:#fcd34d}.gpu-card.is-busy .gpu-usage-bar span[data-v-5e295ce9]{background:#f59e0b}.gpu-card.is-busy.active[data-v-5e295ce9]{border-color:#dc2626;background:#fff7f7;box-shadow:inset 0 0 0 1px #dc2626}.gpu-card.is-busy.active .gpu-usage[data-v-5e295ce9]{color:#dc2626;background:#fef2f2;border-color:#fecaca}.gpu-card.is-busy.active .gpu-usage-bar span[data-v-5e295ce9]{background:#dc2626}.gpu-card-top[data-v-5e295ce9]{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.gpu-title[data-v-5e295ce9]{min-width:0;display:grid;gap:2px}.gpu-index[data-v-5e295ce9]{font-size:11px;line-height:1;font-weight:600;letter-spacing:.04em;color:#64748b}.gpu-name[data-v-5e295ce9]{font-size:13px;font-weight:600;color:#1f2937;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gpu-usage[data-v-5e295ce9]{height:20px;min-width:40px;padding:0 6px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #bfdbfe;border-radius:4px;background:#eff6ff;color:#2563eb;font-size:11px;font-weight:700;white-space:nowrap}.gpu-usage-bar[data-v-5e295ce9]{height:3px;margin:7px 0 6px;overflow:hidden;border-radius:999px;background:#eef2f7}.gpu-usage-bar span[data-v-5e295ce9]{display:block;height:100%;border-radius:inherit;background:#2563eb}.gpu-meta[data-v-5e295ce9]{display:flex;flex-wrap:nowrap;gap:10px;font-size:11px;color:#64748b;line-height:1.4;white-space:nowrap;overflow:hidden}.gpu-empty[data-v-5e295ce9]{color:#909399;font-size:13px}.command-preview-wrapper[data-v-5e295ce9]{margin-left:80px;margin-bottom:22px}.field-tip[data-v-5e295ce9]{color:#909399;font-size:12px;line-height:20px;margin-top:4px}.form-actions-wrapper[data-v-5e295ce9]{position:fixed;bottom:0;left:240px;right:0;height:56px;background:#fff;border-top:1px solid #eef0f5;display:flex;align-items:center;padding-left:112px;z-index:1000;box-shadow:0 -4px 12px #0000000d}.command-preview[data-v-5e295ce9]{background:#1e1e1e;color:#d4d4d4;padding:12px 16px;border-radius:6px;font-family:SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.6;overflow-x:auto;width:100%;margin:0}.model-picker-input[data-v-5e295ce9],.model-picker-input[data-v-5e295ce9] .el-input__wrapper,.model-picker-input[data-v-5e295ce9] .el-input__inner{cursor:pointer}.hyperparam-section[data-v-5e295ce9]{margin:32px 0 20px}.hyperparam-title[data-v-5e295ce9]{font-size:16px;font-weight:700;color:#1f2937;margin-bottom:24px}.param-config-header[data-v-5e295ce9]{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.param-config-title[data-v-5e295ce9]{font-size:14px;color:#475569;font-weight:600}.param-table-wrapper[data-v-5e295ce9]{margin-left:80px;border:1px solid #eef0f5;border-radius:6px;overflow:hidden;background:#fff}[data-v-5e295ce9] .el-form-item{margin-left:80px}[data-v-5e295ce9] .el-form-item .el-form-item__label{position:relative;padding-left:0}[data-v-5e295ce9] .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before{position:absolute;left:-10px;margin-right:0}.param-header[data-v-5e295ce9],.param-row[data-v-5e295ce9]{display:grid;grid-template-columns:140px 420px 1fr;align-items:center}.param-header[data-v-5e295ce9]{background:#f8fafc;border-bottom:1px solid #eef0f5;color:#64748b;font-size:13px;font-weight:600}.param-row[data-v-5e295ce9]{border-bottom:1px solid #eef0f5}.param-col[data-v-5e295ce9]{padding:16px 20px}.param-col.name[data-v-5e295ce9]{font-weight:600;color:#475569;font-size:14px;text-align:left}.param-col.config[data-v-5e295ce9]{display:flex;align-items:center;gap:12px}.param-col.desc[data-v-5e295ce9]{color:#64748b;font-size:13px;min-width:0}.desc-text[data-v-5e295ce9]{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:default}.param-hint[data-v-5e295ce9]{color:#94a3b8;font-size:13px}.param-footer[data-v-5e295ce9]{padding:12px 20px}@media(min-width:1280px){.gpu-list[data-v-5e295ce9]{grid-template-columns:repeat(4,minmax(0,1fr))}} diff --git a/frontend/dist/assets/FineTuneListView-CYVd4cuQ.css b/frontend/dist/assets/FineTuneListView-DHl7bZ3e.css similarity index 77% rename from frontend/dist/assets/FineTuneListView-CYVd4cuQ.css rename to frontend/dist/assets/FineTuneListView-DHl7bZ3e.css index 8fe6604..0068d35 100644 --- a/frontend/dist/assets/FineTuneListView-CYVd4cuQ.css +++ b/frontend/dist/assets/FineTuneListView-DHl7bZ3e.css @@ -1 +1 @@ -.el-popover{--el-popover-bg-color:var(--el-bg-color-overlay);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);border-radius:var(--el-popover-border-radius);border:1px solid var(--el-popover-border-color);min-width:150px;padding:var(--el-popover-padding);z-index:var(--el-index-popper);color:var(--el-text-color-regular);line-height:1.4;font-size:var(--el-popover-font-size);box-shadow:var(--el-box-shadow-light);overflow-wrap:break-word;box-sizing:border-box}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);margin-bottom:12px;line-height:1}.el-popover__reference:focus:not(.focusing),.el-popover__reference:focus:hover{outline-width:0}.el-popover.el-popper.is-dark{--el-popover-bg-color:var(--el-text-color-primary);--el-popover-border-color:var(--el-text-color-primary);--el-popover-title-text-color:var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus:active,.el-popover.el-popper:focus{outline-width:0}.progress-value[data-v-d1d743ee]{color:var(--primary-color);font-weight:600}.filter-header[data-v-d1d743ee]{display:inline-flex;align-items:center;gap:6px}.filter-badge[data-v-d1d743ee]{line-height:1}.filter-icon[data-v-d1d743ee]{cursor:pointer;font-size:12px;color:#c0c4cc;transition:color .2s}.filter-icon[data-v-d1d743ee]:hover,.filter-icon.active[data-v-d1d743ee]{color:#1890ff}.filter-options[data-v-d1d743ee]{display:flex;flex-direction:column;gap:8px;max-height:240px;overflow-y:auto}.filter-actions[data-v-d1d743ee]{text-align:right;margin-top:8px;border-top:1px solid #ebeef5;padding-top:8px} +.el-popover{--el-popover-bg-color:var(--el-bg-color-overlay);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);border-radius:var(--el-popover-border-radius);border:1px solid var(--el-popover-border-color);min-width:150px;padding:var(--el-popover-padding);z-index:var(--el-index-popper);color:var(--el-text-color-regular);line-height:1.4;font-size:var(--el-popover-font-size);box-shadow:var(--el-box-shadow-light);overflow-wrap:break-word;box-sizing:border-box}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);margin-bottom:12px;line-height:1}.el-popover__reference:focus:not(.focusing),.el-popover__reference:focus:hover{outline-width:0}.el-popover.el-popper.is-dark{--el-popover-bg-color:var(--el-text-color-primary);--el-popover-border-color:var(--el-text-color-primary);--el-popover-title-text-color:var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus:active,.el-popover.el-popper:focus{outline-width:0}.progress-value[data-v-4ab0bbc0]{color:var(--primary-color);font-weight:600}.filter-header[data-v-4ab0bbc0]{display:inline-flex;align-items:center;gap:6px}.filter-badge[data-v-4ab0bbc0]{line-height:1}.filter-icon[data-v-4ab0bbc0]{cursor:pointer;font-size:12px;color:#c0c4cc;transition:color .2s}.filter-icon[data-v-4ab0bbc0]:hover,.filter-icon.active[data-v-4ab0bbc0]{color:#1890ff}.filter-options[data-v-4ab0bbc0]{display:flex;flex-direction:column;gap:8px;max-height:240px;overflow-y:auto}.filter-actions[data-v-4ab0bbc0]{text-align:right;margin-top:8px;border-top:1px solid #ebeef5;padding-top:8px} diff --git a/frontend/dist/assets/FineTuneListView-DiOkr_gD.js b/frontend/dist/assets/FineTuneListView-DiOkr_gD.js new file mode 100644 index 0000000..ab67568 --- /dev/null +++ b/frontend/dist/assets/FineTuneListView-DiOkr_gD.js @@ -0,0 +1 @@ +import{k as Q,b as W,d as J,a as X,o as v,e as P,w as i,h as K,g as L,c as F,n as z,f as b,aa as c,x as p,Y as Z,j as k,y as x,am as ee,l as te,ap as ae,aq as j,ar as oe,G as ie,q as s,s as r,ad as H,M as q,as as re,A as G,v as le}from"./index-CxbBjZKo.js";import{E as ne}from"./index-D23K2h6y.js";import{a as se,E as pe}from"./el-checkbox-C_TzqU9u.js";import{E as ue}from"./el-table-b_qkWXYf.js";import{u as m,b as D,E as de}from"./el-popper-OAwpEmER.js";import{d as R}from"./dropdown-yHGqI4WU.js";/* empty css *//* empty css */import{D as fe}from"./DataTablePage-C1WQGBXF.js";import{_ as ce}from"./ModelStatusTag.vue_vue_type_script_setup_true_lang-CUZ4SBb2.js";import{u as me}from"./usePolling-D0edaRGY.js";import{u as ve}from"./models-WwcwjK0u.js";import{g as ge,a as be,b as he,s as ye,d as we}from"./fineTune-C-jGF1Jc.js";import{_ as ke}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./raf-Bjl8yy5U.js";import"./index-DxP0p4ch.js";import"./omit-CbHF-OEy.js";import"./_baseClone-B6d4qZbo.js";import"./el-scrollbar-B0E7ZTt3.js";import"./_baseIteratee-C6JbNheX.js";import"./castArray-CwVgzdTt.js";import"./debounce-BJxjS5F3.js";import"./toNumber-Yuob3eJv.js";import"./index-DHcidAHK.js";import"./index-zJ9bqPrh.js";import"./index-C4wGR5UT.js";import"./el-card-BsCFVTSD.js";import"./el-pagination-ByKJEnCx.js";import"./el-select-CeiDjMzB.js";import"./vnode-DIVHEdsp.js";import"./index-Bzaib5AU.js";import"./index-BjlLyKON.js";import"./scroll-Dvb2mTx8.js";import"./clamp-Ow4I6lPc.js";import"./directive-DCr8Ae3g.js";import"./index-CLZoQJ1o.js";import"./validator-AVoXfk3G.js";import"./index-C3HZL-2Y.js";import"./index-36LucyXi.js";import"./el-tooltip-l0sNRNKZ.js";import"./model-B9dq9fy6.js";const Te=W({trigger:D.trigger,triggerKeys:D.triggerKeys,placement:R.placement,disabled:D.disabled,visible:m.visible,transition:m.transition,popperOptions:R.popperOptions,tabindex:R.tabindex,content:m.content,popperStyle:m.popperStyle,popperClass:m.popperClass,enterable:{...m.enterable,default:!0},effect:{...m.effect,default:"light"},teleported:m.teleported,appendTo:m.appendTo,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),_e={"update:visible":t=>Q(t),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},Ce="onUpdate:visible";var Ee=J({name:"ElPopover",__name:"popover",props:Te,emits:_e,setup(t,{expose:f,emit:g}){const n=t,u=g,T=k(()=>n[Ce]),h=X("popover"),_=x(),l=k(()=>{var o;return(o=b(_))==null?void 0:o.popperRef}),V=k(()=>[{width:ee(n.width)},n.popperStyle]),y=k(()=>[h.b(),n.popperClass,{[h.m("plain")]:!!n.content}]),M=k(()=>n.transition===`${h.namespace.value}-fade-in-linear`),N=()=>{var o;(o=_.value)==null||o.hide()},S=()=>{u("before-enter")},A=()=>{u("before-leave")},$=()=>{u("after-enter")},B=()=>{u("update:visible",!1),u("after-leave")};return f({popperRef:l,hide:N}),(o,e)=>(v(),P(b(de),Z({ref_key:"tooltipRef",ref:_},o.$attrs,{trigger:t.trigger,"trigger-keys":t.triggerKeys,placement:t.placement,disabled:t.disabled,visible:t.visible,transition:t.transition,"popper-options":t.popperOptions,tabindex:t.tabindex,content:t.content,offset:t.offset,"show-after":t.showAfter,"hide-after":t.hideAfter,"auto-close":t.autoClose,"show-arrow":t.showArrow,"aria-label":t.title,effect:t.effect,enterable:t.enterable,"popper-class":y.value,"popper-style":V.value,teleported:t.teleported,"append-to":t.appendTo,persistent:t.persistent,"gpu-acceleration":M.value,"onUpdate:visible":T.value,onBeforeShow:S,onBeforeHide:A,onShow:$,onHide:B}),{content:i(()=>[t.title?(v(),F("div",{key:0,class:z(b(h).e("title")),role:"title"},c(t.title),3)):L("v-if",!0),K(o.$slots,"default",{hide:N},()=>[p(c(t.content),1)])]),default:i(()=>[o.$slots.reference?K(o.$slots,"reference",{key:0}):L("v-if",!0)]),_:3},16,["trigger","trigger-keys","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","append-to","persistent","gpu-acceleration","onUpdate:visible"]))}}),Pe=Ee;const Y=(t,f)=>{var n;const g=(n=f.arg||f.value)==null?void 0:n.popperRef;g&&(g.triggerRef=t)};var xe={mounted(t,f){Y(t,f)},updated(t,f){Y(t,f)}};const Me="popover",Ne=ae(xe,Me),Ve=te(Pe,{directive:Ne}),Se={class:"filter-header"},Ae={class:"filter-actions"},$e={class:"filter-header"},Be={class:"filter-actions"},De={class:"progress-value"},Re={class:"action-buttons"},Le=J({__name:"FineTuneListView",setup(t){const f=le(),g=ve(),n=x(!1),u=x([]),T=x({}),h=Object.entries(j).map(([o,e])=>({value:o,label:e})),_=Object.entries(oe).map(([o,e])=>({value:o,label:e})),l=x({trainType:[],trainMethod:[]}),V=k(()=>u.value.filter(o=>!(l.value.trainType.length&&!l.value.trainType.includes(o.train_type)||l.value.trainMethod.length&&(!o.train_method||!l.value.trainMethod.includes(o.train_method)))));async function y(){n.value=!0;try{u.value=await ge()||[]}catch{}finally{n.value=!1}}async function M(){const o=u.value.filter(e=>e.status==="running"||e.status==="pending");for(const e of o)try{const[d,w]=await Promise.all([be(e.id),he(e.id)]);T.value[e.id]=d,w.status&&w.status!==e.status&&(e.status=w.status)}catch{}}async function N(o){await we(o.id),u.value=u.value.filter(e=>e.id!==o.id),delete T.value[o.id],await y(),G.success("删除成功")}async function S(o){await ye(o.id),G.success("训练任务已停止"),y()}function A(o){f.push(`/training-log/${o.id}`)}function $(o){return o?new Date(o).toLocaleString("zh-CN",{hour12:!1}):"-"}const{start:B}=me(M,5e3,{immediate:!1});return ie(async()=>{g.load(),await y(),await M(),B()}),(o,e)=>{const d=ue,w=re,O=pe,U=se,C=ne,I=Ve;return v(),P(fe,{title:"模型微调",data:V.value,loading:n.value,searchable:"","search-fields":["name"],"create-text":"创建训练任务","create-to":"/fine-tune/create","row-key":"id","page-size":10,onRefresh:y},{columns:i(()=>[r(d,{label:"任务ID",prop:"id",align:"center",width:"100"}),r(d,{label:"任务名称",prop:"name",align:"center",width:"180","show-overflow-tooltip":""}),r(d,{label:"任务状态",align:"center",width:"110"},{default:i(({row:a})=>[r(ce,{status:a.status},null,8,["status"])]),_:1}),r(d,{align:"center",width:"140"},{header:i(()=>[s("div",Se,[e[5]||(e[5]=s("span",null,"训练方式",-1)),r(I,{trigger:"click",placement:"bottom",width:160},{reference:i(()=>[r(w,{"is-dot":l.value.trainType.length>0,class:"filter-badge"},{default:i(()=>[s("i",{class:z(["fa fa-filter filter-icon",{active:l.value.trainType.length>0}])},null,2)]),_:1},8,["is-dot"])]),default:i(()=>[r(U,{modelValue:l.value.trainType,"onUpdate:modelValue":e[0]||(e[0]=a=>l.value.trainType=a),class:"filter-options"},{default:i(()=>[(v(!0),F(q,null,H(b(h),a=>(v(),P(O,{key:a.value,value:a.value},{default:i(()=>[p(c(a.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"]),s("div",Ae,[r(C,{size:"small",link:"",onClick:e[1]||(e[1]=a=>l.value.trainType=[])},{default:i(()=>[...e[4]||(e[4]=[p("清除",-1)])]),_:1})])]),_:1})])]),default:i(({row:a})=>[p(c(b(j)[a.train_type]||"-"),1)]),_:1}),r(d,{align:"center",width:"120"},{header:i(()=>[s("div",$e,[e[7]||(e[7]=s("span",null,"训练方法",-1)),r(I,{trigger:"click",placement:"bottom",width:160},{reference:i(()=>[r(w,{"is-dot":l.value.trainMethod.length>0,class:"filter-badge"},{default:i(()=>[s("i",{class:z(["fa fa-filter filter-icon",{active:l.value.trainMethod.length>0}])},null,2)]),_:1},8,["is-dot"])]),default:i(()=>[r(U,{modelValue:l.value.trainMethod,"onUpdate:modelValue":e[2]||(e[2]=a=>l.value.trainMethod=a),class:"filter-options"},{default:i(()=>[(v(!0),F(q,null,H(b(_),a=>(v(),P(O,{key:a.value,value:a.value},{default:i(()=>[p(c(a.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"]),s("div",Be,[r(C,{size:"small",link:"",onClick:e[3]||(e[3]=a=>l.value.trainMethod=[])},{default:i(()=>[...e[6]||(e[6]=[p("清除",-1)])]),_:1})])]),_:1})])]),default:i(({row:a})=>[p(c(a.train_method||"-"),1)]),_:1}),r(d,{label:"基座模型",align:"center",width:"190","show-overflow-tooltip":""},{default:i(({row:a})=>[p(c(b(g).getModelName(a.base_model)),1)]),_:1}),r(d,{label:"训练开始时间",align:"center",width:"190"},{default:i(({row:a})=>[p(c($(a.create_time)),1)]),_:1}),r(d,{label:"训练时长",align:"center",width:"130"},{default:i(({row:a})=>[p(c(a.train_duration||"-"),1)]),_:1}),r(d,{label:"进度",align:"center",width:"140"},{default:i(({row:a})=>{var E;return[s("span",De,c(((E=T.value[a.id])==null?void 0:E.progress)??a.progress??0)+"% ",1)]}),_:1})]),actions:i(({row:a})=>[s("div",Re,[a.status==="running"?(v(),P(C,{key:0,type:"warning",link:"",size:"small",onClick:E=>S(a)},{default:i(()=>[...e[8]||(e[8]=[s("i",{class:"fa fa-stop-circle-o",style:{"margin-right":"4px"}},null,-1),p(" 停止 ",-1)])]),_:1},8,["onClick"])):L("",!0),r(C,{type:"primary",link:"",size:"small",onClick:E=>A(a)},{default:i(()=>[...e[9]||(e[9]=[s("i",{class:"fa fa-file-text-o",style:{"margin-right":"4px"}},null,-1),p(" 日志 ",-1)])]),_:1},8,["onClick"]),r(C,{type:"danger",link:"",size:"small",onClick:E=>N(a)},{default:i(()=>[...e[10]||(e[10]=[s("i",{class:"fa fa-trash-o",style:{"margin-right":"4px"}},null,-1),p(" 删除 ",-1)])]),_:1},8,["onClick"])])]),_:1},8,["data","loading"])}}}),Et=ke(Le,[["__scopeId","data-v-4ab0bbc0"]]);export{Et as default}; diff --git a/frontend/dist/assets/GuideView-3g5nbKBg.js b/frontend/dist/assets/GuideView-3g5nbKBg.js new file mode 100644 index 0000000..f7818e6 --- /dev/null +++ b/frontend/dist/assets/GuideView-3g5nbKBg.js @@ -0,0 +1 @@ +import{_ as s}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c,q as o}from"./index-CxbBjZKo.js";const n={},r={class:"simple-page"};function a(_,e){return t(),c("section",r,[...e[0]||(e[0]=[o("h1",null,"使用文档",-1),o("p",null,"第一版系统已接入后端、数据集、模型、微调任务、算力节点和训练日志主链路。",-1)])])}const p=s(n,[["render",a],["__scopeId","data-v-962c8803"]]);export{p as default}; diff --git a/frontend/dist/assets/GuideView-BuVTsF9M.css b/frontend/dist/assets/GuideView-BuVTsF9M.css new file mode 100644 index 0000000..fe88200 --- /dev/null +++ b/frontend/dist/assets/GuideView-BuVTsF9M.css @@ -0,0 +1 @@ +.simple-page[data-v-962c8803]{padding:24px} diff --git a/frontend/dist/assets/GuideView-CaCcm19L.css b/frontend/dist/assets/GuideView-CaCcm19L.css deleted file mode 100644 index c0fe523..0000000 --- a/frontend/dist/assets/GuideView-CaCcm19L.css +++ /dev/null @@ -1 +0,0 @@ -.simple-page[data-v-87551c13]{padding:24px} diff --git a/frontend/dist/assets/GuideView-enryb6Zk.js b/frontend/dist/assets/GuideView-enryb6Zk.js index a032f79..8758775 100644 --- a/frontend/dist/assets/GuideView-enryb6Zk.js +++ b/frontend/dist/assets/GuideView-enryb6Zk.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/GuideView-enryb6Zk.js import{_ as s}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c,q as o}from"./index-CD29OCdJ.js";const n={},r={class:"simple-page"};function a(_,e){return t(),c("section",r,[...e[0]||(e[0]=[o("h1",null,"使用文档",-1),o("p",null,"第一版系统已接入后端、数据集、模型、微调任务、算力节点和训练日志主链路。",-1)])])}const p=s(n,[["render",a],["__scopeId","data-v-87551c13"]]);export{p as default}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/GuideView-CiALCc3O.js +import{_ as s}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c,q as o}from"./index-Ds9AETjS.js";const n={},r={class:"simple-page"};function a(_,e){return t(),c("section",r,[...e[0]||(e[0]=[o("h1",null,"使用文档",-1),o("p",null,"第一版系统已接入后端、数据集、模型、微调任务、算力节点和训练日志主链路。",-1)])])}const p=s(n,[["render",a],["__scopeId","data-v-87551c13"]]);export{p as default}; +======== +import{_ as s}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c,q as o}from"./index-CxbBjZKo.js";const n={},r={class:"simple-page"};function a(_,e){return t(),c("section",r,[...e[0]||(e[0]=[o("h1",null,"使用文档",-1),o("p",null,"第一版系统已接入后端、数据集、模型、微调任务、算力节点和训练日志主链路。",-1)])])}const p=s(n,[["render",a],["__scopeId","data-v-962c8803"]]);export{p as default}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/GuideView-3g5nbKBg.js diff --git a/frontend/dist/assets/HardwareView-CpvcIwdL.css b/frontend/dist/assets/HardwareView-CpvcIwdL.css new file mode 100644 index 0000000..cf44124 --- /dev/null +++ b/frontend/dist/assets/HardwareView-CpvcIwdL.css @@ -0,0 +1 @@ +.monitor-actions[data-v-91b73178]{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:10px}.health-state[data-v-91b73178]{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:500;color:#606266}.health-dot[data-v-91b73178]{width:8px;height:8px;border-radius:50%;background:#10b981;box-shadow:0 0 0 3px #10b9811f}.health-state.is-warning .health-dot[data-v-91b73178]{background:#f59e0b;box-shadow:0 0 0 3px #f59e0b1f}.health-state.is-danger .health-dot[data-v-91b73178]{background:#ef4444;box-shadow:0 0 0 3px #ef44441f}.update-time[data-v-91b73178]{color:#909399;font-size:12px}.interval-select[data-v-91b73178]{width:78px}.load-alert[data-v-91b73178]{margin-bottom:16px}.performance-content[data-v-91b73178]{min-height:320px}.overview-grid[data-v-91b73178]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.overview-card[data-v-91b73178],.panel[data-v-91b73178],.gpu-card[data-v-91b73178]{border:1px solid #e4e7ed;border-radius:8px;background:#fff}.overview-card[data-v-91b73178]{position:relative;padding:18px;overflow:hidden}.metric-heading[data-v-91b73178]{display:flex;align-items:center;gap:10px;margin-bottom:14px}.metric-heading h3[data-v-91b73178],.metric-heading p[data-v-91b73178]{margin:0}.metric-heading h3[data-v-91b73178]{color:#303133;font-size:14px;font-weight:600}.metric-heading p[data-v-91b73178]{margin-top:2px;color:#909399;font-size:12px}.metric-icon[data-v-91b73178]{display:grid;width:34px;height:34px;place-items:center;border-radius:7px;font-size:15px}.metric-icon.is-cpu[data-v-91b73178]{color:#4f46e5;background:#eef2ff}.metric-icon.is-memory[data-v-91b73178]{color:#0ea5e9;background:#ecfeff}.metric-icon.is-disk[data-v-91b73178]{color:#10b981;background:#ecfdf5}.metric-icon.is-network[data-v-91b73178]{color:#f59e0b;background:#fffbeb}.metric-number[data-v-91b73178]{display:block;margin-bottom:10px;color:#1f2937;font-size:29px;line-height:1}.metric-number small[data-v-91b73178],.network-values small[data-v-91b73178],.gpu-primary small[data-v-91b73178]{margin-left:2px;color:#909399;font-size:13px;font-weight:500}.network-values[data-v-91b73178]{display:flex;flex-wrap:wrap;gap:12px 18px;min-height:38px;align-items:center}.network-values strong[data-v-91b73178]{color:#374151;font-size:17px}.network-values i[data-v-91b73178]{margin-right:3px;color:#10b981;font-size:12px}.network-values strong:last-child i[data-v-91b73178]{color:#f59e0b}.panel[data-v-91b73178]{padding:18px 20px}.resource-panel[data-v-91b73178]{margin-bottom:24px}.panel-heading[data-v-91b73178],.section-heading[data-v-91b73178]{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.panel-heading h2[data-v-91b73178],.panel-heading p[data-v-91b73178],.section-heading h2[data-v-91b73178],.section-heading p[data-v-91b73178]{margin:0}.panel-heading h2[data-v-91b73178],.section-heading h2[data-v-91b73178]{color:#303133;font-size:15px;font-weight:600}.panel-heading p[data-v-91b73178],.section-heading p[data-v-91b73178]{margin-top:4px;color:#909399;font-size:12px}.sample-count[data-v-91b73178]{color:#909399;font-size:12px}.resource-chart[data-v-91b73178]{height:260px;margin-top:8px}.gpu-section[data-v-91b73178]{margin-bottom:24px}.gpu-summary[data-v-91b73178]{min-width:100px;text-align:right}.gpu-summary span[data-v-91b73178]{display:block;color:#909399;font-size:12px}.gpu-summary strong[data-v-91b73178]{color:#303133;font-size:22px}.gpu-grid[data-v-91b73178]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:14px}.gpu-card[data-v-91b73178]{padding:16px;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.gpu-card[data-v-91b73178]:hover,.gpu-card[data-v-91b73178]:focus-visible{border-color:#a5b4fc;box-shadow:0 5px 16px #4f46e514;outline:none;transform:translateY(-1px)}.gpu-card-heading[data-v-91b73178]{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.gpu-identity[data-v-91b73178]{min-width:0}.gpu-index[data-v-91b73178]{display:inline-block;margin-bottom:4px;padding:2px 7px;border-radius:4px;color:#4338ca;background:#eef2ff;font-size:11px;font-weight:600}.gpu-identity h3[data-v-91b73178]{overflow:hidden;margin:0;color:#303133;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.status-pill[data-v-91b73178]{display:inline-flex;flex:none;align-items:center;gap:5px;padding:3px 7px;border-radius:999px;color:#047857;background:#ecfdf5;font-size:11px}.status-pill i[data-v-91b73178]{width:6px;height:6px;border-radius:50%;background:currentColor}.status-pill.is-busy[data-v-91b73178]{color:#4338ca;background:#eef2ff}.status-pill.is-warning[data-v-91b73178]{color:#b45309;background:#fffbeb}.status-pill.is-danger[data-v-91b73178]{color:#b91c1c;background:#fef2f2}.gpu-primary[data-v-91b73178]{display:flex;align-items:baseline;justify-content:space-between;margin:17px 0 8px}.gpu-primary strong[data-v-91b73178]{color:#1f2937;font-size:25px}.gpu-primary span[data-v-91b73178]{color:#909399;font-size:11px}.gpu-metrics[data-v-91b73178]{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;margin:15px 0 0}.gpu-metrics div[data-v-91b73178]{min-width:0}.gpu-metrics dt[data-v-91b73178]{margin-bottom:2px;color:#909399;font-size:11px}.gpu-metrics dd[data-v-91b73178]{overflow:hidden;margin:0;color:#606266;font-size:12px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.gpu-metrics dd.is-warm[data-v-91b73178]{color:#b45309}.gpu-metrics dd.is-hot[data-v-91b73178]{color:#dc2626}.gpu-card-footer[data-v-91b73178]{margin:14px -16px -16px;padding:9px 16px;border-top:1px solid #f0f2f5;color:#909399;font-size:11px;text-align:right}.host-panel[data-v-91b73178]{padding-bottom:4px}.host-info-grid[data-v-91b73178]{display:grid;grid-template-columns:2fr 1.2fr 1fr 1fr;margin:15px 0 0}.host-info-grid>div[data-v-91b73178]{min-width:0;padding:0 18px 14px;border-left:1px solid #ebeef5}.host-info-grid>div[data-v-91b73178]:first-child{padding-left:0;border-left:0}.host-info-grid dt[data-v-91b73178]{margin-bottom:5px;color:#909399;font-size:12px}.host-info-grid dd[data-v-91b73178]{overflow:hidden;margin:0;color:#303133;font-size:13px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.drawer-heading[data-v-91b73178]{display:flex;width:100%;align-items:center;gap:12px}.drawer-heading .gpu-index[data-v-91b73178]{margin:0}.drawer-heading div[data-v-91b73178]{min-width:0;flex:1}.drawer-heading h2[data-v-91b73178],.drawer-heading p[data-v-91b73178]{margin:0}.drawer-heading h2[data-v-91b73178]{color:#303133;font-size:16px}.drawer-heading p[data-v-91b73178]{overflow:hidden;margin-top:3px;color:#909399;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.drawer-metrics[data-v-91b73178]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.drawer-metrics>div[data-v-91b73178]{min-width:0;padding:13px;border:1px solid #e4e7ed;border-radius:7px;background:#fafafa}.drawer-metrics span[data-v-91b73178],.drawer-metrics small[data-v-91b73178]{display:block;overflow:hidden;color:#909399;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.drawer-metrics strong[data-v-91b73178]{display:block;margin:6px 0 2px;color:#303133;font-size:20px}.drawer-section[data-v-91b73178]{margin-top:22px}.drawer-section-heading[data-v-91b73178]{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.drawer-section-heading h3[data-v-91b73178]{margin:0;color:#303133;font-size:14px}.drawer-section-heading span[data-v-91b73178]{color:#909399;font-size:11px}.gpu-detail-chart[data-v-91b73178]{height:230px;border:1px solid #ebeef5;border-radius:7px}.device-properties dl[data-v-91b73178]{display:grid;grid-template-columns:1fr 1fr;margin:0;border:1px solid #ebeef5;border-radius:7px}.device-properties dl>div[data-v-91b73178]{display:flex;min-width:0;justify-content:space-between;gap:14px;padding:11px 13px;border-bottom:1px solid #ebeef5}.device-properties dl>div[data-v-91b73178]:nth-last-child(-n+2){border-bottom:0}.device-properties dt[data-v-91b73178]{color:#909399;font-size:12px}.device-properties dd[data-v-91b73178]{overflow:hidden;margin:0;color:#303133;font-size:12px;text-overflow:ellipsis;white-space:nowrap}[data-v-91b73178] .gpu-detail-drawer .el-drawer__header{margin-bottom:0;padding-bottom:17px;border-bottom:1px solid #ebeef5}[data-v-91b73178] .gpu-detail-drawer .el-drawer__body{outline:none}@media(max-width:1280px){.overview-grid[data-v-91b73178],.gpu-grid[data-v-91b73178]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:860px){.monitor-actions[data-v-91b73178]{justify-content:flex-start}.update-time[data-v-91b73178]{width:100%}.host-info-grid[data-v-91b73178]{grid-template-columns:repeat(2,minmax(0,1fr))}.host-info-grid>div[data-v-91b73178]:nth-child(3){padding-left:0;border-left:0}.drawer-metrics[data-v-91b73178]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.overview-grid[data-v-91b73178],.gpu-grid[data-v-91b73178]{grid-template-columns:1fr}.resource-chart[data-v-91b73178]{height:230px}.section-heading[data-v-91b73178]{flex-direction:column}.gpu-summary[data-v-91b73178]{text-align:left}.host-info-grid[data-v-91b73178],.device-properties dl[data-v-91b73178]{grid-template-columns:1fr}.host-info-grid>div[data-v-91b73178]{padding-left:0;border-left:0}.device-properties dl>div[data-v-91b73178]{border-bottom:1px solid #ebeef5!important}.device-properties dl>div[data-v-91b73178]:last-child{border-bottom:0!important}} diff --git a/frontend/dist/assets/HardwareView-DL8UFEoH.js b/frontend/dist/assets/HardwareView-DL8UFEoH.js new file mode 100644 index 0000000..b5e1c59 --- /dev/null +++ b/frontend/dist/assets/HardwareView-DL8UFEoH.js @@ -0,0 +1 @@ +import{E as lt}from"./el-alert-Ty1qfW58.js";import{E as rt}from"./index-D23K2h6y.js";import{E as nt,a as it}from"./el-select-CeiDjMzB.js";import{E as st}from"./el-drawer-DaAwE3bJ.js";import{E as ot}from"./el-empty-DUcrYyo6.js";import{E as ut}from"./el-progress-Br676mBH.js";import{E as dt}from"./el-switch-EBBsaB1p.js";import{a as vt,E as mt}from"./el-table-b_qkWXYf.js";import{v as ct}from"./directive-DCr8Ae3g.js";import{d as pt,G as Oe,ah as gt,c as ae,s as D,w as le,M as ye,y as Z,at as ft,o as J,e as Re,g as me,K as ht,q as e,aa as s,x as F,f as He,ad as yt,n as ce,j,P as wt}from"./index-CxbBjZKo.js";import"./el-scrollbar-B0E7ZTt3.js";import"./el-popper-OAwpEmER.js";import"./el-tooltip-l0sNRNKZ.js";import"./el-checkbox-C_TzqU9u.js";/* empty css */import{_ as we,ah as bt,aw as _t,a5 as We,E as kt,B as R,aI as Ke,aJ as St,az as pe,aK as ge,X as Fe,aL as Ie,Y as qe,ax as se,aM as xt,a7 as Pt,ae as Xe,ad as Ye,aN as Ze,a1 as Je,ab as Et,aO as Ct,a4 as Mt,aP as At,aQ as Nt,aR as Gt,R as Lt,O as Q,K as Dt,aC as Vt,aD as Tt,aE as Ut,aF as zt,aG as $t,aH as Qe}from"./install-i_dmuKuk.js";import{P as Bt}from"./PageCard-CC9cofwx.js";import{i as Ot}from"./install-yQKxYHXo.js";import{S as je,c as Rt}from"./createSeriesDataSimply-MGSYAhUE.js";import{_ as Ht}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./vnode-DIVHEdsp.js";import"./index-DHcidAHK.js";import"./castArray-CwVgzdTt.js";import"./index-Bzaib5AU.js";import"./index-BjlLyKON.js";import"./raf-Bjl8yy5U.js";import"./scroll-Dvb2mTx8.js";import"./index-C4wGR5UT.js";import"./clamp-Ow4I6lPc.js";import"./toNumber-Yuob3eJv.js";import"./_baseIteratee-C6JbNheX.js";import"./index-DxP0p4ch.js";import"./index-36LucyXi.js";import"./use-dialog-DGVjglW6.js";import"./validator-AVoXfk3G.js";import"./_baseClone-B6d4qZbo.js";import"./debounce-BJxjS5F3.js";import"./omit-CbHF-OEy.js";import"./el-card-BsCFVTSD.js";var Wt=(function(){function E(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return E})(),Kt=(function(E){we(r,E);function r(l){var v=E.call(this,l)||this;return v.type="pointer",v}return r.prototype.getDefaultShape=function(){return new Wt},r.prototype.buildPath=function(l,v){var k=Math.cos,w=Math.sin,n=v.r,b=v.width,u=v.angle,N=v.x-k(u)*b*(b>=n/3?1:2),_=v.y-w(u)*b*(b>=n/3?1:2);u=v.angle-Math.PI/2,l.moveTo(N,_),l.lineTo(v.x+k(u)*b,v.y+w(u)*b),l.lineTo(v.x+k(v.angle)*n,v.y+w(v.angle)*n),l.lineTo(v.x-k(u)*b,v.y-w(u)*b),l.lineTo(N,_)},r})(bt);function Ft(E,r){var l=E.get("center"),v=r.getWidth(),k=r.getHeight(),w=Math.min(v,k),n=R(l[0],r.getWidth()),b=R(l[1],r.getHeight()),u=R(E.get("radius"),w/2);return{cx:n,cy:b,r:u}}function fe(E,r){var l=E==null?"":E+"";return r&&(At(r)?l=r.replace("{value}",l):Nt(r)&&(l=r(E))),l}var It=(function(E){we(r,E);function r(){var l=E!==null&&E.apply(this,arguments)||this;return l.type=r.type,l}return r.prototype.render=function(l,v,k){this.group.removeAll();var w=l.get(["axisLine","lineStyle","color"]),n=Ft(l,k);this._renderMain(l,v,k,w,n),this._data=l.getData()},r.prototype.dispose=function(){},r.prototype._renderMain=function(l,v,k,w,n){var b=this.group,u=l.get("clockwise"),N=-l.get("startAngle")/180*Math.PI,_=-l.get("endAngle")/180*Math.PI,V=l.getModel("axisLine"),z=V.get("roundCap"),T=z?je:We,m=V.get("show"),c=V.getModel("lineStyle"),$=c.get("width"),S=[N,_];_t(S,!u),N=S[0],_=S[1];for(var f=_-N,G=N,L=[],H=0;m&&H=B&&(i===0?0:w[i-1][0])Math.PI/2&&(X+=Math.PI)):ne==="tangential"?X=-o-Math.PI/2:Lt(ne)&&(X=ne*Math.PI/180),X===0?V.add(new pe({style:ge(G,{text:K,x:g,y:re,verticalAlign:p<-.8?"top":p>.8?"bottom":"middle",align:y<-.4?"left":y>.4?"right":"center"},{inheritColor:W}),silent:!0})):V.add(new pe({style:ge(G,{text:K,x:g,y:re,verticalAlign:"middle",align:"center"},{inheritColor:W}),silent:!0,originX:g,originY:re,rotation:X}))}if(f.get("show")&&A!==L){var d=f.get("distance");d=d?d+_:_;for(var a=0;a<=H;a++){y=Math.cos(o),p=Math.sin(o);var t=new Ke({shape:{x1:y*(m-d)+z,y1:p*(m-d)+T,x2:y*(m-C-d)+z,y2:p*(m-C-d)+T},silent:!0,style:M});M.stroke==="auto"&&t.setStyle({stroke:w((A+a/H)/L)}),V.add(t),o+=i}o-=i}else o+=B}},r.prototype._renderPointer=function(l,v,k,w,n,b,u,N,_){var V=this.group,z=this._data,T=this._progressEls,m=[],c=l.get(["pointer","show"]),$=l.getModel("progress"),S=$.get("show"),f=l.getData(),G=f.mapDimension("value"),L=+l.get("min"),H=+l.get("max"),U=[L,H],C=[b,u];function o(i,h){var M=f.getItemModel(i),x=M.getModel("pointer"),y=R(x.get("width"),n.r),p=R(x.get("length"),n.r),A=l.get(["pointer","icon"]),d=x.get("offsetCenter"),P=R(d[0],n.r),K=R(d[1],n.r),W=x.get("keepAspect"),g;return A?g=Ze(A,P-y/2,K-p,y,p,null,W):g=new Kt({shape:{angle:-Math.PI/2,width:y,r:p,x:P,y:K}}),g.rotation=-(h+Math.PI/2),g.x=n.cx,g.y=n.cy,g}function B(i,h){var M=$.get("roundCap"),x=M?je:We,y=$.get("overlap"),p=y?$.get("width"):_/f.count(),A=y?n.r-p:n.r-(i+1)*p,d=y?n.r:n.r-i*p,P=new x({shape:{startAngle:b,endAngle:h,cx:n.cx,cy:n.cy,clockwise:N,r0:A,r:d}});return y&&(P.z2=se(f.get(G,i),[L,H],[100,0],!0)),P}(S||c)&&(f.diff(z).add(function(i){var h=f.get(G,i);if(c){var M=o(i,b);Fe(M,{rotation:-((isNaN(+h)?C[0]:se(h,U,C,!0))+Math.PI/2)},l),V.add(M),f.setItemGraphicEl(i,M)}if(S){var x=B(i,b),y=$.get("clip");Fe(x,{shape:{endAngle:se(h,U,C,y)}},l),V.add(x),Ie(l.seriesIndex,f.dataType,i,x),m[i]=x}}).update(function(i,h){var M=f.get(G,i);if(c){var x=z.getItemGraphicEl(h),y=x?x.rotation:b,p=o(i,y);p.rotation=y,qe(p,{rotation:-((isNaN(+M)?C[0]:se(M,U,C,!0))+Math.PI/2)},l),V.add(p),f.setItemGraphicEl(i,p)}if(S){var A=T[h],d=A?A.shape.endAngle:b,P=B(i,d),K=$.get("clip");qe(P,{shape:{endAngle:se(M,U,C,K)}},l),V.add(P),Ie(l.seriesIndex,f.dataType,i,P),m[i]=P}}).execute(),f.each(function(i){var h=f.getItemModel(i),M=h.getModel("emphasis"),x=M.get("focus"),y=M.get("blurScope"),p=M.get("disabled"),A=w(se(f.get(G,i),U,[0,1],!0));if(c){var d=f.getItemGraphicEl(i),P=f.getItemVisual(i,"style"),K=P.fill;if(d instanceof xt){var W=d.style;d.useStyle(Pt({image:W.image,x:W.x,y:W.y,width:W.width,height:W.height},P))}else d.useStyle(P),d.type!=="pointer"&&d.setColor(K);d.setStyle(h.getModel(["pointer","itemStyle"]).getItemStyle()),d.style.fill==="auto"&&d.setStyle("fill",A),d.z2EmphasisLift=0,Xe(d,h),Ye(d,x,y,p)}if(S){var g=m[i];g.useStyle(f.getItemVisual(i,"style")),g.setStyle(h.getModel(["progress","itemStyle"]).getItemStyle()),g.style.fill==="auto"&&g.setStyle("fill",A),g.z2EmphasisLift=0,Xe(g,h),Ye(g,x,y,p)}}),this._progressEls=m)},r.prototype._renderAnchor=function(l,v){var k=l.getModel("anchor"),w=k.get("show");if(w){var n=k.get("size"),b=k.get("icon"),u=k.get("offsetCenter"),N=k.get("keepAspect"),_=Ze(b,v.cx-n/2+R(u[0],v.r),v.cy-n/2+R(u[1],v.r),n,n,null,N);_.z2=k.get("showAbove")?1:0,_.setStyle(k.getModel("itemStyle").getItemStyle()),this.group.add(_)}},r.prototype._renderTitleAndDetail=function(l,v,k,w,n){var b=this,u=l.getData(),N=u.mapDimension("value"),_=+l.get("min"),V=+l.get("max"),z=new Je,T=[],m=[],c=l.isAnimationEnabled(),$=l.get(["pointer","showAbove"]);u.diff(this._data).add(function(S){T[S]=new pe({silent:!0}),m[S]=new pe({silent:!0})}).update(function(S,f){T[S]=b._titleEls[f],m[S]=b._detailEls[f]}).execute(),u.each(function(S){var f=u.getItemModel(S),G=u.get(N,S),L=new Je,H=w(se(G,[_,V],[0,1],!0)),U=f.getModel("title");if(U.get("show")){var C=U.get("offsetCenter"),o=n.cx+R(C[0],n.r),B=n.cy+R(C[1],n.r),i=T[S];i.attr({z2:$?0:2,style:ge(U,{x:o,y:B,text:u.getName(S),align:"center",verticalAlign:"middle"},{inheritColor:H})}),L.add(i)}var h=f.getModel("detail");if(h.get("show")){var M=h.get("offsetCenter"),x=n.cx+R(M[0],n.r),y=n.cy+R(M[1],n.r),p=R(h.get("width"),n.r),A=R(h.get("height"),n.r),d=l.get(["progress","show"])?u.getItemVisual(S,"style").fill:H,i=m[S],P=h.get("formatter");i.attr({z2:$?0:2,style:ge(h,{x,y,text:fe(G,P),width:isNaN(p)?null:p,height:isNaN(A)?null:A,align:"center",verticalAlign:"middle"},{inheritColor:d})}),Et(i,{normal:h},G,function(W){return fe(W,P)}),c&&Ct(i,S,u,l,{getFormattedLabel:function(W,g,re,ne,X,a){return fe(a?a.interpolatedValue:G,P)}}),L.add(i)}z.add(L)}),this.group.add(z),this._titleEls=T,this._detailEls=m},r.type="gauge",r})(Mt),qt=(function(E){we(r,E);function r(){var l=E!==null&&E.apply(this,arguments)||this;return l.type=r.type,l.visualStyleAccessPath="itemStyle",l}return r.prototype.getInitialData=function(l,v){return Rt(this,["value"])},r.type="series.gauge",r.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,Q.color.neutral10]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:Q.color.axisTick,width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:Q.color.axisTickMinor,width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:Q.color.axisLabel,fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:Q.color.neutral00,borderWidth:0,borderColor:Q.color.theme[0]}},title:{show:!0,offsetCenter:[0,"20%"],color:Q.color.secondary,fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:Q.color.transparent,borderWidth:0,borderColor:Q.color.neutral40,width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:Q.color.primary,fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},r})(Dt);function Xt(E){E.registerChartView(It),E.registerSeriesModel(qt)}Vt([Tt,Ot,Xt,Ut,zt,$t]);const Yt={class:"monitor-actions"},Zt={class:"update-time"},Jt={class:"performance-content"},Qt={class:"overview-grid","aria-label":"硬件资源概览"},jt={class:"overview-card"},ea={class:"metric-heading"},ta={class:"metric-number"},aa={class:"overview-card"},la={class:"metric-heading"},ra={class:"metric-number"},na={class:"overview-card"},ia={class:"metric-heading"},sa={class:"metric-number"},oa={class:"overview-card"},ua={class:"network-values"},da={class:"panel resource-panel","aria-labelledby":"resource-trend-title"},va={class:"panel-heading"},ma={class:"sample-count"},ca={class:"gpu-section","aria-labelledby":"gpu-pool-title"},pa={class:"section-heading"},ga={class:"gpu-summary"},fa={key:1,class:"gpu-grid"},ha=["aria-label","onClick","onKeydown"],ya={class:"gpu-card-heading"},wa={class:"gpu-identity"},ba={class:"gpu-index"},_a={class:"gpu-primary"},ka={class:"gpu-metrics"},Sa={class:"panel host-panel","aria-labelledby":"host-info-title"},xa={class:"host-info-grid"},Pa={key:0,class:"drawer-heading"},Ea={class:"gpu-index"},Ca={class:"drawer-metrics","aria-label":"GPU 关键指标"},Ma={key:0},Aa={class:"drawer-section","aria-labelledby":"gpu-trend-title"},Na={class:"drawer-section","aria-labelledby":"gpu-process-title"},Ga={class:"drawer-section-heading"},La={class:"drawer-section device-properties","aria-labelledby":"gpu-property-title"},Da=pt({__name:"HardwareView",setup(E){const r=Z({}),l=Z(!0),v=Z(!1),k=Z(""),w=Z(null),n=Z(!0),b=Z(5e3),u=Z([]),N=Z(!1),_=Z(0);let V=null,z=!1,T=!1;const m=j(()=>r.value.gpu??[]),c=j(()=>m.value[_.value]),$=j(()=>m.value.length?Math.round(m.value.reduce((a,t)=>a+o(t.gpu_percent),0)/m.value.length):0),S=j(()=>m.value.reduce((a,t)=>a+Number(t.memory_total_gb||0),0)),f=j(()=>m.value.reduce((a,t)=>a+Number(t.memory_used_gb||0),0)),G=j(()=>m.value.filter(a=>i(a).key==="busy").length),L=j(()=>{var ee,I,ie;const a=m.value.some(te=>i(te).key==="offline"),t=o((ee=r.value.cpu)==null?void 0:ee.percent)>=90||o((I=r.value.memory)==null?void 0:I.percent)>=90||o((ie=r.value.disk)==null?void 0:ie.percent)>=90||m.value.some(te=>i(te).key==="warning");return a?{label:"存在离线设备",className:"is-danger"}:t?{label:"资源需要关注",className:"is-warning"}:{label:"平台运行正常",className:"is-healthy"}}),H=j(()=>({animationDuration:300,color:["#4f46e5","#0ea5e9","#10b981","#f59e0b"],tooltip:{trigger:"axis",valueFormatter:a=>`${a}%`},legend:{top:0,right:0,itemWidth:10,itemHeight:10,textStyle:{color:"#606266"}},grid:{left:14,right:14,top:42,bottom:8,containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:u.value.map(a=>a.time),axisLine:{lineStyle:{color:"#dcdfe6"}},axisLabel:{color:"#909399",hideOverlap:!0}},yAxis:{type:"value",min:0,max:100,axisLabel:{formatter:"{value}%",color:"#909399"},splitLine:{lineStyle:{color:"#ebeef5",type:"dashed"}}},series:[C("CPU",u.value.map(a=>a.cpu)),C("内存",u.value.map(a=>a.memory)),C("磁盘",u.value.map(a=>a.disk)),C("GPU 平均",u.value.map(a=>a.gpuAverage))]})),U=j(()=>{const a=u.value.map(t=>({time:t.time,gpu:t.gpu[_.value]})).filter(t=>t.gpu);return{animationDuration:300,color:["#4f46e5","#0ea5e9","#f59e0b"],tooltip:{trigger:"axis",valueFormatter:t=>`${t}%`},legend:{top:0,right:0,itemWidth:10,itemHeight:10},grid:{left:12,right:12,top:40,bottom:6,containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:a.map(t=>t.time),axisLine:{lineStyle:{color:"#dcdfe6"}},axisLabel:{color:"#909399",hideOverlap:!0}},yAxis:{type:"value",min:0,max:100,axisLabel:{formatter:"{value}%",color:"#909399"},splitLine:{lineStyle:{color:"#ebeef5",type:"dashed"}}},series:[C("利用率",a.map(t=>t.gpu.usage)),C("显存",a.map(t=>t.gpu.memory))]}});function C(a,t){return{name:a,type:"line",data:t,showSymbol:!1,smooth:!0,lineStyle:{width:2},areaStyle:{opacity:.05}}}function o(a){return Math.min(100,Math.max(0,Number(a||0)))}function B(a){return a?a.memory_percent!=null?o(a.memory_percent):a.memory_total_gb?Math.round(a.memory_used_gb/a.memory_total_gb*100):0:0}function i(a){return a.status==="offline"?{key:"offline",label:"离线",className:"is-danger"}:a.status==="warning"||a.temperature>=80||B(a)>=90?{key:"warning",label:"需关注",className:"is-warning"}:a.status==="busy"||a.gpu_percent>=10?{key:"busy",label:"运行中",className:"is-busy"}:{key:"idle",label:"空闲",className:"is-idle"}}function h(a){return a>=90?"#f56c6c":a>=75?"#e6a23c":"#4f46e5"}function M(a){var ie,te,ve;const t=a.gpu??[],ee=t.length?Math.round(t.reduce((Y,he)=>Y+o(he.gpu_percent),0)/t.length):0,I=new Date;u.value=[...u.value,{time:I.toLocaleTimeString("zh-CN",{hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"}),cpu:o((ie=a.cpu)==null?void 0:ie.percent),memory:o((te=a.memory)==null?void 0:te.percent),disk:o((ve=a.disk)==null?void 0:ve.percent),gpuAverage:ee,gpu:t.map(Y=>({usage:o(Y.gpu_percent),memory:B(Y),temperature:o(Y.temperature)}))}].slice(-60)}async function x(){if(!(T||z)){T=!0,v.value=!0,p();try{const a=await ft();r.value=a,w.value=new Date,k.value="",M(a)}catch(a){k.value=a instanceof Error?a.message:"监控数据更新失败,请稍后重试"}finally{l.value=!1,v.value=!1,T=!1,y()}}}function y(){p(),!z&&n.value&&document.visibilityState==="visible"&&(V=setTimeout(x,b.value))}function p(){V&&(clearTimeout(V),V=null)}function A(){y()}function d(){n.value?y():p()}function P(){document.visibilityState==="hidden"?p():n.value&&x()}function K(a){_.value=a,N.value=!0,wt(()=>{var t;return(t=document.querySelector(".gpu-detail-drawer .el-drawer__body"))==null?void 0:t.focus()})}function W(a,t){(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),K(t))}function g(a,t=1){return Number(a||0).toFixed(t).replace(/\.0$/,"")}function re(a){return a==null?"--":g(a)}function ne(a){if(!a)return"-";const t=Math.floor(a/86400),ee=Math.floor(a%86400/3600),I=Math.floor(a%3600/60);return`${t?`${t}天 `:""}${ee}小时 ${I}分钟`}function X(a){return a?a.toLocaleTimeString("zh-CN",{hour12:!1}):"等待首次更新"}return Oe(x),Oe(()=>document.addEventListener("visibilitychange",P)),gt(()=>{z=!0,p(),document.removeEventListener("visibilitychange",P)}),(a,t)=>{const ee=dt,I=it,ie=nt,te=rt,ve=lt,Y=ut,he=ot,oe=mt,et=vt,tt=st,at=ct;return J(),ae(ye,null,[D(Bt,{title:"平台性能",subtitle:"实时监控计算、存储、网络与 GPU 资源池状态"},{extra:le(()=>[e("div",Yt,[e("div",{class:ce(["health-state",L.value.className])},[t[3]||(t[3]=e("span",{class:"health-dot","aria-hidden":"true"},null,-1)),F(" "+s(L.value.label),1)],2),e("span",Zt,"更新于 "+s(X(w.value)),1),D(ee,{modelValue:n.value,"onUpdate:modelValue":t[0]||(t[0]=q=>n.value=q),"inline-prompt":"","active-text":"自动","inactive-text":"暂停","aria-label":"自动刷新",onChange:d},null,8,["modelValue"]),D(ie,{modelValue:b.value,"onUpdate:modelValue":t[1]||(t[1]=q=>b.value=q),class:"interval-select",size:"small","aria-label":"刷新频率",disabled:!n.value,onChange:A},{default:le(()=>[D(I,{value:1e3,label:"1 秒"}),D(I,{value:3e3,label:"3 秒"}),D(I,{value:5e3,label:"5 秒"}),D(I,{value:1e4,label:"10 秒"})]),_:1},8,["modelValue","disabled"]),D(te,{loading:v.value,"aria-label":"立即刷新平台性能数据",onClick:x},{default:le(()=>[...t[4]||(t[4]=[e("i",{class:"fa fa-refresh","aria-hidden":"true"},null,-1),F(" 刷新 ",-1)])]),_:1},8,["loading"])])]),default:le(()=>{var q,ue,be,_e,ke,Se,xe,Pe,Ee,Ce,Me,Ae,Ne,Ge,Le,De,Ve,Te,Ue,ze,$e;return[k.value?(J(),Re(ve,{key:0,class:"load-alert",type:"warning",closable:!1,"show-icon":"",title:"最新数据获取失败,当前仍展示上一次成功采集的数据",description:k.value},null,8,["description"])):me("",!0),ht((J(),ae("div",Jt,[e("section",Qt,[e("article",jt,[e("div",ea,[t[6]||(t[6]=e("span",{class:"metric-icon is-cpu"},[e("i",{class:"fa fa-microchip"})],-1)),e("div",null,[t[5]||(t[5]=e("h3",null,"CPU",-1)),e("p",null,s(((q=r.value.cpu)==null?void 0:q.model)||`${((ue=r.value.cpu)==null?void 0:ue.cores)||0} 个逻辑核心`),1)])]),e("strong",ta,[F(s(o((be=r.value.cpu)==null?void 0:be.percent)),1),t[7]||(t[7]=e("small",null,"%",-1))]),D(Y,{percentage:o((_e=r.value.cpu)==null?void 0:_e.percent),"stroke-width":6,"show-text":!1,color:h(o((ke=r.value.cpu)==null?void 0:ke.percent))},null,8,["percentage","color"])]),e("article",aa,[e("div",la,[t[9]||(t[9]=e("span",{class:"metric-icon is-memory"},[e("i",{class:"fa fa-database"})],-1)),e("div",null,[t[8]||(t[8]=e("h3",null,"内存",-1)),e("p",null,s(g((Se=r.value.memory)==null?void 0:Se.used_gb))+" / "+s(g((xe=r.value.memory)==null?void 0:xe.total_gb))+" GB",1)])]),e("strong",ra,[F(s(o((Pe=r.value.memory)==null?void 0:Pe.percent)),1),t[10]||(t[10]=e("small",null,"%",-1))]),D(Y,{percentage:o((Ee=r.value.memory)==null?void 0:Ee.percent),"stroke-width":6,"show-text":!1,color:h(o((Ce=r.value.memory)==null?void 0:Ce.percent))},null,8,["percentage","color"])]),e("article",na,[e("div",ia,[t[12]||(t[12]=e("span",{class:"metric-icon is-disk"},[e("i",{class:"fa fa-hdd-o"})],-1)),e("div",null,[t[11]||(t[11]=e("h3",null,"磁盘",-1)),e("p",null,s(g((Me=r.value.disk)==null?void 0:Me.used_gb))+" / "+s(g((Ae=r.value.disk)==null?void 0:Ae.total_gb))+" GB",1)])]),e("strong",sa,[F(s(o((Ne=r.value.disk)==null?void 0:Ne.percent)),1),t[13]||(t[13]=e("small",null,"%",-1))]),D(Y,{percentage:o((Ge=r.value.disk)==null?void 0:Ge.percent),"stroke-width":6,"show-text":!1,color:h(o((Le=r.value.disk)==null?void 0:Le.percent))},null,8,["percentage","color"])]),e("article",oa,[t[18]||(t[18]=e("div",{class:"metric-heading"},[e("span",{class:"metric-icon is-network"},[e("i",{class:"fa fa-exchange"})]),e("div",null,[e("h3",null,"网络吞吐"),e("p",null,"实时接收 / 发送")])],-1)),e("div",ua,[e("strong",null,[t[14]||(t[14]=e("i",{class:"fa fa-arrow-down"},null,-1)),F(" "+s(re((De=r.value.network)==null?void 0:De.download_mb_s))+" ",1),t[15]||(t[15]=e("small",null,"MB/s",-1))]),e("strong",null,[t[16]||(t[16]=e("i",{class:"fa fa-arrow-up"},null,-1)),F(" "+s(re((Ve=r.value.network)==null?void 0:Ve.upload_mb_s))+" ",1),t[17]||(t[17]=e("small",null,"MB/s",-1))])])])]),e("section",da,[e("div",va,[t[19]||(t[19]=e("div",null,[e("h2",{id:"resource-trend-title"},"系统资源趋势"),e("p",null,"展示最近 60 次前端采集快照")],-1)),e("span",ma,s(u.value.length)+" / 60 个采样点",1)]),D(He(Qe),{class:"resource-chart",option:H.value,autoresize:"","aria-label":"CPU、内存、磁盘和GPU平均利用率趋势图"},null,8,["option"])]),e("section",ca,[e("div",pa,[e("div",null,[t[20]||(t[20]=e("h2",{id:"gpu-pool-title"},"GPU 资源池",-1)),e("p",null,"共 "+s(m.value.length)+" 张卡,"+s(G.value)+" 张运行中 · 显存 "+s(g(f.value))+" / "+s(g(S.value))+" GB",1)]),e("div",ga,[t[21]||(t[21]=e("span",null,"平均利用率",-1)),e("strong",null,s($.value)+"%",1)])]),!m.value.length&&!l.value?(J(),Re(he,{key:0,description:"当前未检测到 GPU 设备"})):(J(),ae("div",fa,[(J(!0),ae(ye,null,yt(m.value,(O,de)=>(J(),ae("article",{key:O.uuid||O.id||de,class:"gpu-card",role:"button",tabindex:"0","aria-label":`查看 GPU ${de} 详情`,onClick:Be=>K(de),onKeydown:Be=>W(Be,de)},[e("div",ya,[e("div",wa,[e("span",ba,"GPU "+s(de),1),e("h3",null,s(O.name),1)]),e("span",{class:ce(["status-pill",i(O).className])},[t[22]||(t[22]=e("i",null,null,-1)),F(s(i(O).label),1)],2)]),e("div",_a,[e("strong",null,[F(s(o(O.gpu_percent)),1),t[23]||(t[23]=e("small",null,"%",-1))]),t[24]||(t[24]=e("span",null,"计算利用率",-1))]),D(Y,{percentage:o(O.gpu_percent),"stroke-width":7,"show-text":!1,color:h(o(O.gpu_percent))},null,8,["percentage","color"]),e("dl",ka,[e("div",null,[t[25]||(t[25]=e("dt",null,"显存",-1)),e("dd",null,s(g(O.memory_used_gb))+" / "+s(g(O.memory_total_gb))+" GB",1)]),e("div",null,[t[26]||(t[26]=e("dt",null,"温度",-1)),e("dd",{class:ce({"is-hot":O.temperature>=80,"is-warm":O.temperature>=70&&O.temperature<80})},s(O.temperature)+"°C",3)]),e("div",null,[t[27]||(t[27]=e("dt",null,"功耗",-1)),e("dd",null,s(g(O.power_w,0))+" W",1)]),e("div",null,[t[28]||(t[28]=e("dt",null,"风扇",-1)),e("dd",null,s(O.fan_speed??"-")+s(O.fan_speed!=null?"%":""),1)])]),t[29]||(t[29]=e("div",{class:"gpu-card-footer"},[F("查看设备详情 "),e("i",{class:"fa fa-angle-right"})],-1))],40,ha))),128))]))]),e("section",Sa,[t[34]||(t[34]=e("div",{class:"panel-heading compact"},[e("div",null,[e("h2",{id:"host-info-title"},"主机信息"),e("p",null,"节点运行环境与基础状态")])],-1)),e("dl",xa,[e("div",null,[t[30]||(t[30]=e("dt",null,"操作系统",-1)),e("dd",null,s(((Te=r.value.system)==null?void 0:Te.os)||"-"),1)]),e("div",null,[t[31]||(t[31]=e("dt",null,"运行时长",-1)),e("dd",null,s(ne((Ue=r.value.system)==null?void 0:Ue.uptime_seconds)),1)]),e("div",null,[t[32]||(t[32]=e("dt",null,"运行进程",-1)),e("dd",null,s(((ze=r.value.system)==null?void 0:ze.process_count)??"-"),1)]),e("div",null,[t[33]||(t[33]=e("dt",null,"GPU 驱动",-1)),e("dd",null,s((($e=m.value[0])==null?void 0:$e.driver_version)||"-"),1)])])])])),[[at,l.value]])]}),_:1}),D(tt,{modelValue:N.value,"onUpdate:modelValue":t[2]||(t[2]=q=>N.value=q),class:"gpu-detail-drawer",size:"min(720px, 92vw)","destroy-on-close":""},{header:le(()=>[c.value?(J(),ae("div",Pa,[e("span",Ea,"GPU "+s(_.value),1),e("div",null,[e("h2",null,s(c.value.name),1),e("p",null,s(c.value.uuid||"设备详细运行信息"),1)]),e("span",{class:ce(["status-pill",i(c.value).className])},[t[35]||(t[35]=e("i",null,null,-1)),F(s(i(c.value).label),1)],2)])):me("",!0)]),default:le(()=>{var q;return[c.value?(J(),ae(ye,{key:0},[e("section",Ca,[e("div",null,[t[36]||(t[36]=e("span",null,"计算利用率",-1)),e("strong",null,s(o(c.value.gpu_percent))+"%",1)]),e("div",null,[t[37]||(t[37]=e("span",null,"显存占用",-1)),e("strong",null,s(B(c.value))+"%",1),e("small",null,s(g(c.value.memory_used_gb))+" / "+s(g(c.value.memory_total_gb))+" GB",1)]),e("div",null,[t[38]||(t[38]=e("span",null,"温度",-1)),e("strong",null,s(c.value.temperature)+"°C",1)]),e("div",null,[t[39]||(t[39]=e("span",null,"实时功耗",-1)),e("strong",null,s(g(c.value.power_w,0))+" W",1),c.value.power_limit_w?(J(),ae("small",Ma,"上限 "+s(c.value.power_limit_w)+" W",1)):me("",!0)])]),e("section",Aa,[t[40]||(t[40]=e("div",{class:"drawer-section-heading"},[e("h3",{id:"gpu-trend-title"},"设备趋势"),e("span",null,"最近 60 次采样")],-1)),D(He(Qe),{class:"gpu-detail-chart",option:U.value,autoresize:"","aria-label":"单卡利用率和显存占用趋势图"},null,8,["option"])]),e("section",Na,[e("div",Ga,[t[41]||(t[41]=e("h3",{id:"gpu-process-title"},"GPU 进程",-1)),e("span",null,s(((q=c.value.processes)==null?void 0:q.length)||0)+" 个",1)]),D(et,{data:c.value.processes||[],stripe:"","empty-text":"当前没有占用此 GPU 的进程"},{default:le(()=>[D(oe,{prop:"pid",label:"PID",width:"90"}),D(oe,{prop:"task_name",label:"任务","min-width":"130","show-overflow-tooltip":""}),D(oe,{prop:"name",label:"进程","min-width":"130","show-overflow-tooltip":""}),D(oe,{prop:"user",label:"用户",width:"100"}),D(oe,{label:"显存",width:"110",align:"right"},{default:le(({row:ue})=>[F(s(ue.memory_used_gb!=null?`${g(ue.memory_used_gb)} GB`:"-"),1)]),_:1})]),_:1},8,["data"])]),e("section",La,[t[46]||(t[46]=e("div",{class:"drawer-section-heading"},[e("h3",{id:"gpu-property-title"},"设备属性")],-1)),e("dl",null,[e("div",null,[t[42]||(t[42]=e("dt",null,"风扇转速",-1)),e("dd",null,s(c.value.fan_speed!=null?`${c.value.fan_speed}%`:"-"),1)]),e("div",null,[t[43]||(t[43]=e("dt",null,"核心频率",-1)),e("dd",null,s(c.value.clock_mhz?`${c.value.clock_mhz} MHz`:"-"),1)]),e("div",null,[t[44]||(t[44]=e("dt",null,"驱动版本",-1)),e("dd",null,s(c.value.driver_version||"-"),1)]),e("div",null,[t[45]||(t[45]=e("dt",null,"设备标识",-1)),e("dd",null,s(c.value.uuid||c.value.id||`GPU-${_.value}`),1)])])])],64)):me("",!0)]}),_:1},8,["modelValue"])],64)}}}),wl=Ht(Da,[["__scopeId","data-v-91b73178"]]);export{wl as default}; diff --git a/frontend/dist/assets/HardwareView-DcounnQ-.css b/frontend/dist/assets/HardwareView-DcounnQ-.css deleted file mode 100644 index 55ac482..0000000 --- a/frontend/dist/assets/HardwareView-DcounnQ-.css +++ /dev/null @@ -1 +0,0 @@ -.monitor-actions[data-v-37c93228]{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:10px}.health-state[data-v-37c93228]{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:500;color:#606266}.health-dot[data-v-37c93228]{width:8px;height:8px;border-radius:50%;background:#10b981;box-shadow:0 0 0 3px #10b9811f}.health-state.is-warning .health-dot[data-v-37c93228]{background:#f59e0b;box-shadow:0 0 0 3px #f59e0b1f}.health-state.is-danger .health-dot[data-v-37c93228]{background:#ef4444;box-shadow:0 0 0 3px #ef44441f}.update-time[data-v-37c93228]{color:#909399;font-size:12px}.interval-select[data-v-37c93228]{width:78px}.load-alert[data-v-37c93228]{margin-bottom:16px}.performance-content[data-v-37c93228]{min-height:320px}.overview-grid[data-v-37c93228]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.overview-card[data-v-37c93228],.panel[data-v-37c93228],.gpu-card[data-v-37c93228]{border:1px solid #e4e7ed;border-radius:8px;background:#fff}.overview-card[data-v-37c93228]{position:relative;padding:18px;overflow:hidden}.metric-heading[data-v-37c93228]{display:flex;align-items:center;gap:10px;margin-bottom:14px}.metric-heading h3[data-v-37c93228],.metric-heading p[data-v-37c93228]{margin:0}.metric-heading h3[data-v-37c93228]{color:#303133;font-size:14px;font-weight:600}.metric-heading p[data-v-37c93228]{margin-top:2px;color:#909399;font-size:12px}.metric-icon[data-v-37c93228]{display:grid;width:34px;height:34px;place-items:center;border-radius:7px;font-size:15px}.metric-icon.is-cpu[data-v-37c93228]{color:#4f46e5;background:#eef2ff}.metric-icon.is-memory[data-v-37c93228]{color:#0ea5e9;background:#ecfeff}.metric-icon.is-disk[data-v-37c93228]{color:#10b981;background:#ecfdf5}.metric-icon.is-network[data-v-37c93228]{color:#f59e0b;background:#fffbeb}.metric-number[data-v-37c93228]{display:block;margin-bottom:10px;color:#1f2937;font-size:29px;line-height:1}.metric-number small[data-v-37c93228],.network-values small[data-v-37c93228],.gpu-primary small[data-v-37c93228]{margin-left:2px;color:#909399;font-size:13px;font-weight:500}.network-values[data-v-37c93228]{display:flex;flex-wrap:wrap;gap:12px 18px;min-height:38px;align-items:center}.network-values strong[data-v-37c93228]{color:#374151;font-size:17px}.network-values i[data-v-37c93228]{margin-right:3px;color:#10b981;font-size:12px}.network-values strong:last-child i[data-v-37c93228]{color:#f59e0b}.panel[data-v-37c93228]{padding:18px 20px}.resource-panel[data-v-37c93228]{margin-bottom:24px}.panel-heading[data-v-37c93228],.section-heading[data-v-37c93228]{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.panel-heading h2[data-v-37c93228],.panel-heading p[data-v-37c93228],.section-heading h2[data-v-37c93228],.section-heading p[data-v-37c93228]{margin:0}.panel-heading h2[data-v-37c93228],.section-heading h2[data-v-37c93228]{color:#303133;font-size:15px;font-weight:600}.panel-heading p[data-v-37c93228],.section-heading p[data-v-37c93228]{margin-top:4px;color:#909399;font-size:12px}.sample-count[data-v-37c93228]{color:#909399;font-size:12px}.resource-chart[data-v-37c93228]{height:260px;margin-top:8px}.gpu-section[data-v-37c93228]{margin-bottom:24px}.gpu-summary[data-v-37c93228]{min-width:100px;text-align:right}.gpu-summary span[data-v-37c93228]{display:block;color:#909399;font-size:12px}.gpu-summary strong[data-v-37c93228]{color:#303133;font-size:22px}.gpu-grid[data-v-37c93228]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:14px}.gpu-card[data-v-37c93228]{padding:16px;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.gpu-card[data-v-37c93228]:hover,.gpu-card[data-v-37c93228]:focus-visible{border-color:#a5b4fc;box-shadow:0 5px 16px #4f46e514;outline:none;transform:translateY(-1px)}.gpu-card-heading[data-v-37c93228]{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.gpu-identity[data-v-37c93228]{min-width:0}.gpu-index[data-v-37c93228]{display:inline-block;margin-bottom:4px;padding:2px 7px;border-radius:4px;color:#4338ca;background:#eef2ff;font-size:11px;font-weight:600}.gpu-identity h3[data-v-37c93228]{overflow:hidden;margin:0;color:#303133;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.status-pill[data-v-37c93228]{display:inline-flex;flex:none;align-items:center;gap:5px;padding:3px 7px;border-radius:999px;color:#047857;background:#ecfdf5;font-size:11px}.status-pill i[data-v-37c93228]{width:6px;height:6px;border-radius:50%;background:currentColor}.status-pill.is-busy[data-v-37c93228]{color:#4338ca;background:#eef2ff}.status-pill.is-warning[data-v-37c93228]{color:#b45309;background:#fffbeb}.status-pill.is-danger[data-v-37c93228]{color:#b91c1c;background:#fef2f2}.gpu-primary[data-v-37c93228]{display:flex;align-items:baseline;justify-content:space-between;margin:17px 0 8px}.gpu-primary strong[data-v-37c93228]{color:#1f2937;font-size:25px}.gpu-primary span[data-v-37c93228]{color:#909399;font-size:11px}.gpu-metrics[data-v-37c93228]{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;margin:15px 0 0}.gpu-metrics div[data-v-37c93228]{min-width:0}.gpu-metrics dt[data-v-37c93228]{margin-bottom:2px;color:#909399;font-size:11px}.gpu-metrics dd[data-v-37c93228]{overflow:hidden;margin:0;color:#606266;font-size:12px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.gpu-metrics dd.is-warm[data-v-37c93228]{color:#b45309}.gpu-metrics dd.is-hot[data-v-37c93228]{color:#dc2626}.gpu-card-footer[data-v-37c93228]{margin:14px -16px -16px;padding:9px 16px;border-top:1px solid #f0f2f5;color:#909399;font-size:11px;text-align:right}.host-panel[data-v-37c93228]{padding-bottom:4px}.host-info-grid[data-v-37c93228]{display:grid;grid-template-columns:2fr 1.2fr 1fr 1fr;margin:15px 0 0}.host-info-grid>div[data-v-37c93228]{min-width:0;padding:0 18px 14px;border-left:1px solid #ebeef5}.host-info-grid>div[data-v-37c93228]:first-child{padding-left:0;border-left:0}.host-info-grid dt[data-v-37c93228]{margin-bottom:5px;color:#909399;font-size:12px}.host-info-grid dd[data-v-37c93228]{overflow:hidden;margin:0;color:#303133;font-size:13px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.drawer-heading[data-v-37c93228]{display:flex;width:100%;align-items:center;gap:12px}.drawer-heading .gpu-index[data-v-37c93228]{margin:0}.drawer-heading div[data-v-37c93228]{min-width:0;flex:1}.drawer-heading h2[data-v-37c93228],.drawer-heading p[data-v-37c93228]{margin:0}.drawer-heading h2[data-v-37c93228]{color:#303133;font-size:16px}.drawer-heading p[data-v-37c93228]{overflow:hidden;margin-top:3px;color:#909399;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.drawer-metrics[data-v-37c93228]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.drawer-metrics>div[data-v-37c93228]{min-width:0;padding:13px;border:1px solid #e4e7ed;border-radius:7px;background:#fafafa}.drawer-metrics span[data-v-37c93228],.drawer-metrics small[data-v-37c93228]{display:block;overflow:hidden;color:#909399;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.drawer-metrics strong[data-v-37c93228]{display:block;margin:6px 0 2px;color:#303133;font-size:20px}.drawer-section[data-v-37c93228]{margin-top:22px}.drawer-section-heading[data-v-37c93228]{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.drawer-section-heading h3[data-v-37c93228]{margin:0;color:#303133;font-size:14px}.drawer-section-heading span[data-v-37c93228]{color:#909399;font-size:11px}.gpu-detail-chart[data-v-37c93228]{height:230px;border:1px solid #ebeef5;border-radius:7px}.device-properties dl[data-v-37c93228]{display:grid;grid-template-columns:1fr 1fr;margin:0;border:1px solid #ebeef5;border-radius:7px}.device-properties dl>div[data-v-37c93228]{display:flex;min-width:0;justify-content:space-between;gap:14px;padding:11px 13px;border-bottom:1px solid #ebeef5}.device-properties dl>div[data-v-37c93228]:nth-last-child(-n+2){border-bottom:0}.device-properties dt[data-v-37c93228]{color:#909399;font-size:12px}.device-properties dd[data-v-37c93228]{overflow:hidden;margin:0;color:#303133;font-size:12px;text-overflow:ellipsis;white-space:nowrap}[data-v-37c93228] .gpu-detail-drawer .el-drawer__header{margin-bottom:0;padding-bottom:17px;border-bottom:1px solid #ebeef5}[data-v-37c93228] .gpu-detail-drawer .el-drawer__body{outline:none}@media(max-width:1280px){.overview-grid[data-v-37c93228],.gpu-grid[data-v-37c93228]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:860px){.monitor-actions[data-v-37c93228]{justify-content:flex-start}.update-time[data-v-37c93228]{width:100%}.host-info-grid[data-v-37c93228]{grid-template-columns:repeat(2,minmax(0,1fr))}.host-info-grid>div[data-v-37c93228]:nth-child(3){padding-left:0;border-left:0}.drawer-metrics[data-v-37c93228]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.overview-grid[data-v-37c93228],.gpu-grid[data-v-37c93228]{grid-template-columns:1fr}.resource-chart[data-v-37c93228]{height:230px}.section-heading[data-v-37c93228]{flex-direction:column}.gpu-summary[data-v-37c93228]{text-align:left}.host-info-grid[data-v-37c93228],.device-properties dl[data-v-37c93228]{grid-template-columns:1fr}.host-info-grid>div[data-v-37c93228]{padding-left:0;border-left:0}.device-properties dl>div[data-v-37c93228]{border-bottom:1px solid #ebeef5!important}.device-properties dl>div[data-v-37c93228]:last-child{border-bottom:0!important}} diff --git a/frontend/dist/assets/InferenceChatView-dVyzm1FM.css b/frontend/dist/assets/InferenceChatView-BUsWenWa.css similarity index 55% rename from frontend/dist/assets/InferenceChatView-dVyzm1FM.css rename to frontend/dist/assets/InferenceChatView-BUsWenWa.css index c5664b9..043c9c6 100644 --- a/frontend/dist/assets/InferenceChatView-dVyzm1FM.css +++ b/frontend/dist/assets/InferenceChatView-BUsWenWa.css @@ -1 +1 @@ -@charset "UTF-8";.el-collapse{--el-collapse-border-color:var(--el-border-color-lighter);--el-collapse-header-height:48px;--el-collapse-header-bg-color:var(--el-fill-color-blank);--el-collapse-header-text-color:var(--el-text-color-primary);--el-collapse-header-font-size:13px;--el-collapse-content-bg-color:var(--el-fill-color-blank);--el-collapse-content-font-size:13px;--el-collapse-content-text-color:var(--el-text-color-primary);border-top:1px solid var(--el-collapse-border-color);border-bottom:1px solid var(--el-collapse-border-color)}.el-collapse-icon-position-left .el-collapse-item__header{gap:8px}.el-collapse-icon-position-left .el-collapse-item__title{order:1}.el-collapse-icon-position-right .el-collapse-item__header{padding-right:8px}.el-collapse-item.is-disabled .el-collapse-item__header{color:var(--el-text-color-disabled);cursor:not-allowed}.el-collapse-item__header{width:100%;min-height:var(--el-collapse-header-height);line-height:var(--el-collapse-header-height);background-color:var(--el-collapse-header-bg-color);color:var(--el-collapse-header-text-color);cursor:pointer;border:none;border-bottom:1px solid var(--el-collapse-border-color);font-size:var(--el-collapse-header-font-size);transition:border-bottom-color var(--el-transition-duration);box-sizing:border-box;outline:none;align-items:center;padding:0;font-weight:500;display:flex}.el-collapse-item__arrow{transition:transform var(--el-transition-duration);font-weight:300}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__title{text-align:left;flex:auto}.el-collapse-item__header.focusing:focus:not(:hover){color:var(--el-color-primary)}.el-collapse-item__header.is-active{border-bottom-color:#0000}.el-collapse-item__wrap{will-change:height;background-color:var(--el-collapse-content-bg-color);box-sizing:border-box;border-bottom:1px solid var(--el-collapse-border-color);overflow:hidden}.el-collapse-item__content{font-size:var(--el-collapse-content-font-size);color:var(--el-collapse-content-text-color);padding-bottom:25px;line-height:1.76923}.el-collapse-item:last-child{margin-bottom:-1px}.chat-wrap[data-v-9d0a3d84]{height:calc(100vh - 80px);box-sizing:border-box;display:flex;flex-direction:column;background:#fff;border-radius:12px;box-shadow:0 4px 6px -1px #0000000d,0 2px 4px -1px #00000008;overflow:hidden;border:1px solid #f3f4f6}.chat-header[data-v-9d0a3d84]{flex-shrink:0;height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;background:#fff;border-bottom:1px solid #f3f4f6}.chat-header .header-left[data-v-9d0a3d84]{display:flex;align-items:center;gap:12px}.chat-header .header-title[data-v-9d0a3d84]{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:#111827}.chat-header .header-title .title-text[data-v-9d0a3d84]{max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-header .header-title .mock-badge[data-v-9d0a3d84]{padding:2px 6px;font-size:11px;font-weight:600;color:#b45309;background:#fef3c7;border-radius:4px;text-transform:uppercase}.chat-header .header-btn[data-v-9d0a3d84]{width:36px;height:36px;border:none;background:transparent;border-radius:8px;font-size:18px;color:#6b7280;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.chat-header .header-btn[data-v-9d0a3d84]:hover{background:#f3f4f6;color:#111827}.chat-body[data-v-9d0a3d84]{flex:1;overflow-y:auto;padding:24px 0;scroll-behavior:smooth}.chat-body[data-v-9d0a3d84]::-webkit-scrollbar{width:6px}.chat-body[data-v-9d0a3d84]::-webkit-scrollbar-thumb{background:#e5e7eb;border-radius:3px}.chat-body[data-v-9d0a3d84]::-webkit-scrollbar-track{background:transparent}.chat-body-inner[data-v-9d0a3d84]{max-width:800px;margin:0 auto;padding:0 20px;display:flex;flex-direction:column;gap:32px}.empty-hint[data-v-9d0a3d84]{margin-top:10vh;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#6b7280}.empty-hint .empty-logo[data-v-9d0a3d84]{width:64px;height:64px;border-radius:16px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;margin-bottom:24px}.empty-hint .empty-logo i[data-v-9d0a3d84]{font-size:32px;color:#9ca3af}.empty-hint h2[data-v-9d0a3d84]{font-size:24px;font-weight:600;color:#111827;margin:0 0 8px}.empty-hint p[data-v-9d0a3d84]{margin:0;font-size:15px}.msg-row[data-v-9d0a3d84]{display:flex;gap:16px;align-items:flex-start;width:100%}.msg-row.user[data-v-9d0a3d84]{flex-direction:row-reverse}.msg-row.assistant[data-v-9d0a3d84]{flex-direction:row}.avatar[data-v-9d0a3d84]{flex-shrink:0;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px}.avatar.assistant[data-v-9d0a3d84]{background:#111827}.bubble-wrap[data-v-9d0a3d84]{max-width:85%;min-width:0}.bubble[data-v-9d0a3d84]{font-size:15px;line-height:1.6;word-break:break-word;white-space:pre-wrap}.user-bubble[data-v-9d0a3d84]{background:#f3f4f6;color:#111827;padding:12px 20px;border-radius:20px 4px 20px 20px}.ai-bubble[data-v-9d0a3d84]{color:#111827;padding:4px 0}.ai-bubble.markdown[data-v-9d0a3d84]{white-space:normal}.ai-bubble.markdown[data-v-9d0a3d84] .markdown-view p:last-child{margin-bottom:0}.ai-bubble.markdown[data-v-9d0a3d84] pre{border-radius:8px;background:#f9fafb!important;border:1px solid #e5e7eb;margin:12px 0}.ai-bubble.markdown[data-v-9d0a3d84] code{background:#f3f4f6;padding:2px 6px;border-radius:4px;font-size:.9em}.think-collapse[data-v-9d0a3d84]{margin-bottom:12px;max-width:100%;border:1px solid #e5e7eb;border-radius:8px;background:#f9fafb;overflow:hidden}.think-collapse[data-v-9d0a3d84] .el-collapse-item__header{padding:0 16px;font-size:13px;font-weight:500;color:#6b7280;height:36px;background:transparent;border-bottom:none}.think-collapse[data-v-9d0a3d84] .el-collapse-item__wrap{border-bottom:none;background:transparent}.think-collapse .think-content[data-v-9d0a3d84]{padding:12px 16px;font-size:13px;color:#4b5563;line-height:1.6;white-space:pre-wrap;border-top:1px dashed #e5e7eb;margin-top:4px}.streaming .typing-cursor[data-v-9d0a3d84]{display:inline-block;width:4px;height:16px;background:#111827;border-radius:2px;margin-left:4px;vertical-align:middle;animation:blink-9d0a3d84 1s steps(1) infinite}@keyframes blink-9d0a3d84{0%,50%{opacity:1}51%,to{opacity:0}}.chat-input-container[data-v-9d0a3d84]{flex-shrink:0;padding:16px 20px 24px;background:linear-gradient(180deg,#fff0,#fff 20%);display:flex;flex-direction:column;align-items:center}.chat-input-inner[data-v-9d0a3d84]{width:100%;max-width:800px;display:flex;align-items:flex-end;gap:12px}.clear-btn[data-v-9d0a3d84]{flex-shrink:0;width:40px;height:40px;margin-bottom:4px;border:1px solid #e5e7eb;background:#fff;border-radius:50%;font-size:16px;color:#6b7280;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;box-shadow:0 1px 2px #0000000d}.clear-btn[data-v-9d0a3d84]:hover{background:#f9fafb;color:#ef4444;border-color:#fca5a5}.input-wrapper[data-v-9d0a3d84]{flex:1;position:relative;background:#f4f4f5;border-radius:24px;padding:8px 16px;display:flex;align-items:flex-end;transition:all .2s;border:1px solid transparent}.input-wrapper[data-v-9d0a3d84]:focus-within{background:#fff;border-color:#d1d5db;box-shadow:0 4px 6px -1px #0000000d,0 2px 4px -1px #00000008}.input-box[data-v-9d0a3d84]{flex:1;max-height:200px;padding:4px 44px 4px 0;border:none;background:transparent;font-size:15px;line-height:1.5;color:#111827;resize:none;outline:none;font-family:inherit}.input-box[data-v-9d0a3d84]::placeholder{color:#9ca3af}.send-btn[data-v-9d0a3d84]{position:absolute;right:12px;bottom:8px;width:32px;height:32px;border:none;border-radius:50%;background:#e5e7eb;color:#fff;font-size:14px;cursor:not-allowed;display:flex;align-items:center;justify-content:center;transition:all .2s}.send-btn.active[data-v-9d0a3d84]{background:#111827;cursor:pointer}.send-btn.active[data-v-9d0a3d84]:hover{background:#374151;transform:translateY(-1px)}.send-btn.active[data-v-9d0a3d84]:active{transform:translateY(1px)}.footer-hint[data-v-9d0a3d84]{margin-top:12px;font-size:12px;color:#9ca3af} +@charset "UTF-8";.el-collapse{--el-collapse-border-color:var(--el-border-color-lighter);--el-collapse-header-height:48px;--el-collapse-header-bg-color:var(--el-fill-color-blank);--el-collapse-header-text-color:var(--el-text-color-primary);--el-collapse-header-font-size:13px;--el-collapse-content-bg-color:var(--el-fill-color-blank);--el-collapse-content-font-size:13px;--el-collapse-content-text-color:var(--el-text-color-primary);border-top:1px solid var(--el-collapse-border-color);border-bottom:1px solid var(--el-collapse-border-color)}.el-collapse-icon-position-left .el-collapse-item__header{gap:8px}.el-collapse-icon-position-left .el-collapse-item__title{order:1}.el-collapse-icon-position-right .el-collapse-item__header{padding-right:8px}.el-collapse-item.is-disabled .el-collapse-item__header{color:var(--el-text-color-disabled);cursor:not-allowed}.el-collapse-item__header{width:100%;min-height:var(--el-collapse-header-height);line-height:var(--el-collapse-header-height);background-color:var(--el-collapse-header-bg-color);color:var(--el-collapse-header-text-color);cursor:pointer;border:none;border-bottom:1px solid var(--el-collapse-border-color);font-size:var(--el-collapse-header-font-size);transition:border-bottom-color var(--el-transition-duration);box-sizing:border-box;outline:none;align-items:center;padding:0;font-weight:500;display:flex}.el-collapse-item__arrow{transition:transform var(--el-transition-duration);font-weight:300}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__title{text-align:left;flex:auto}.el-collapse-item__header.focusing:focus:not(:hover){color:var(--el-color-primary)}.el-collapse-item__header.is-active{border-bottom-color:#0000}.el-collapse-item__wrap{will-change:height;background-color:var(--el-collapse-content-bg-color);box-sizing:border-box;border-bottom:1px solid var(--el-collapse-border-color);overflow:hidden}.el-collapse-item__content{font-size:var(--el-collapse-content-font-size);color:var(--el-collapse-content-text-color);padding-bottom:25px;line-height:1.76923}.el-collapse-item:last-child{margin-bottom:-1px}.chat-wrap[data-v-7a15a4cd]{height:calc(100vh - 80px);box-sizing:border-box;display:flex;flex-direction:column;background:#fff;border-radius:12px;box-shadow:0 4px 6px -1px #0000000d,0 2px 4px -1px #00000008;overflow:hidden;border:1px solid #f3f4f6}.chat-header[data-v-7a15a4cd]{flex-shrink:0;height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;background:#fff;border-bottom:1px solid #f3f4f6}.chat-header .header-left[data-v-7a15a4cd]{display:flex;align-items:center;gap:12px}.chat-header .header-title[data-v-7a15a4cd]{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:#111827}.chat-header .header-title .title-text[data-v-7a15a4cd]{max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-header .header-title .mock-badge[data-v-7a15a4cd]{padding:2px 6px;font-size:11px;font-weight:600;color:#b45309;background:#fef3c7;border-radius:4px;text-transform:uppercase}.chat-header .header-btn[data-v-7a15a4cd]{width:36px;height:36px;border:none;background:transparent;border-radius:8px;font-size:18px;color:#6b7280;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.chat-header .header-btn[data-v-7a15a4cd]:hover{background:#f3f4f6;color:#111827}.chat-body[data-v-7a15a4cd]{flex:1;overflow-y:auto;padding:24px 0;scroll-behavior:smooth}.chat-body[data-v-7a15a4cd]::-webkit-scrollbar{width:6px}.chat-body[data-v-7a15a4cd]::-webkit-scrollbar-thumb{background:#e5e7eb;border-radius:3px}.chat-body[data-v-7a15a4cd]::-webkit-scrollbar-track{background:transparent}.chat-body-inner[data-v-7a15a4cd]{max-width:800px;margin:0 auto;padding:0 20px;display:flex;flex-direction:column;gap:32px}.empty-hint[data-v-7a15a4cd]{margin-top:10vh;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#6b7280}.empty-hint .empty-logo[data-v-7a15a4cd]{width:64px;height:64px;border-radius:16px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;margin-bottom:24px}.empty-hint .empty-logo i[data-v-7a15a4cd]{font-size:32px;color:#9ca3af}.empty-hint h2[data-v-7a15a4cd]{font-size:24px;font-weight:600;color:#111827;margin:0 0 8px}.empty-hint p[data-v-7a15a4cd]{margin:0;font-size:15px}.msg-row[data-v-7a15a4cd]{display:flex;gap:16px;align-items:flex-start;width:100%}.msg-row.user[data-v-7a15a4cd]{flex-direction:row-reverse}.msg-row.assistant[data-v-7a15a4cd]{flex-direction:row}.avatar[data-v-7a15a4cd]{flex-shrink:0;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px}.avatar.assistant[data-v-7a15a4cd]{background:#111827}.bubble-wrap[data-v-7a15a4cd]{max-width:85%;min-width:0}.bubble[data-v-7a15a4cd]{font-size:15px;line-height:1.6;word-break:break-word;white-space:pre-wrap}.user-bubble[data-v-7a15a4cd]{background:#f3f4f6;color:#111827;padding:12px 20px;border-radius:20px 4px 20px 20px}.ai-bubble[data-v-7a15a4cd]{color:#111827;padding:4px 0}.ai-bubble.markdown[data-v-7a15a4cd]{white-space:normal}.ai-bubble.markdown[data-v-7a15a4cd] .markdown-view p:last-child{margin-bottom:0}.ai-bubble.markdown[data-v-7a15a4cd] pre{border-radius:8px;background:#f9fafb!important;border:1px solid #e5e7eb;margin:12px 0}.ai-bubble.markdown[data-v-7a15a4cd] code{background:#f3f4f6;padding:2px 6px;border-radius:4px;font-size:.9em}.think-collapse[data-v-7a15a4cd]{margin-bottom:12px;max-width:100%;border:1px solid #e5e7eb;border-radius:8px;background:#f9fafb;overflow:hidden}.think-collapse[data-v-7a15a4cd] .el-collapse-item__header{padding:0 16px;font-size:13px;font-weight:500;color:#6b7280;height:36px;background:transparent;border-bottom:none}.think-collapse[data-v-7a15a4cd] .el-collapse-item__wrap{border-bottom:none;background:transparent}.think-collapse .think-content[data-v-7a15a4cd]{padding:12px 16px;font-size:13px;color:#4b5563;line-height:1.6;white-space:pre-wrap;border-top:1px dashed #e5e7eb;margin-top:4px}.streaming .typing-cursor[data-v-7a15a4cd]{display:inline-block;width:4px;height:16px;background:#111827;border-radius:2px;margin-left:4px;vertical-align:middle;animation:blink-7a15a4cd 1s steps(1) infinite}@keyframes blink-7a15a4cd{0%,50%{opacity:1}51%,to{opacity:0}}.chat-input-container[data-v-7a15a4cd]{flex-shrink:0;padding:16px 20px 24px;background:linear-gradient(180deg,#fff0,#fff 20%);display:flex;flex-direction:column;align-items:center}.chat-input-inner[data-v-7a15a4cd]{width:100%;max-width:800px;display:flex;align-items:flex-end;gap:12px}.clear-btn[data-v-7a15a4cd]{flex-shrink:0;width:40px;height:40px;margin-bottom:4px;border:1px solid #e5e7eb;background:#fff;border-radius:50%;font-size:16px;color:#6b7280;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;box-shadow:0 1px 2px #0000000d}.clear-btn[data-v-7a15a4cd]:hover{background:#f9fafb;color:#ef4444;border-color:#fca5a5}.input-wrapper[data-v-7a15a4cd]{flex:1;position:relative;background:#f4f4f5;border-radius:24px;padding:8px 16px;display:flex;align-items:flex-end;transition:all .2s;border:1px solid transparent}.input-wrapper[data-v-7a15a4cd]:focus-within{background:#fff;border-color:#d1d5db;box-shadow:0 4px 6px -1px #0000000d,0 2px 4px -1px #00000008}.input-box[data-v-7a15a4cd]{flex:1;max-height:200px;padding:4px 44px 4px 0;border:none;background:transparent;font-size:15px;line-height:1.5;color:#111827;resize:none;outline:none;font-family:inherit}.input-box[data-v-7a15a4cd]::placeholder{color:#9ca3af}.send-btn[data-v-7a15a4cd]{position:absolute;right:12px;bottom:8px;width:32px;height:32px;border:none;border-radius:50%;background:#e5e7eb;color:#fff;font-size:14px;cursor:not-allowed;display:flex;align-items:center;justify-content:center;transition:all .2s}.send-btn.active[data-v-7a15a4cd]{background:#111827;cursor:pointer}.send-btn.active[data-v-7a15a4cd]:hover{background:#374151;transform:translateY(-1px)}.send-btn.active[data-v-7a15a4cd]:active{transform:translateY(1px)}.footer-hint[data-v-7a15a4cd]{margin-top:12px;font-size:12px;color:#9ca3af} diff --git a/frontend/dist/assets/InferenceChatView-D5OD0NwF.js b/frontend/dist/assets/InferenceChatView-D5OD0NwF.js new file mode 100644 index 0000000..aa3b2cb --- /dev/null +++ b/frontend/dist/assets/InferenceChatView-D5OD0NwF.js @@ -0,0 +1,12 @@ +import{E as he,a as _e}from"./el-form-item-BA3ZlfqF.js";import{E as be}from"./index-zJ9bqPrh.js";import{a as ke,E as ye}from"./index-D23K2h6y.js";import{ak as Ce,J as ge,a6 as we,b as Y,R as H,a5 as xe,T as Te,i as Ee,y as b,D as Z,a as L,j as T,F as Ie,aJ as W,k as Ve,C as Se,aK as Ke,d as O,o as g,c as E,h as R,n as K,f as s,B as Ne,q as l,x as ee,aa as A,s as _,w as x,e as te,r as $e,E as Pe,t as se,aL as ae,K as ne,L as Ae,ab as De,l as Be,G as Me,g as F,M as Fe,ad as He,aM as Re,ac as Ue,P as M,A as qe,z as Le,v as Oe}from"./index-CxbBjZKo.js";import{C as oe,U as le}from"./raf-Bjl8yy5U.js";import{c as G}from"./castArray-CwVgzdTt.js";import{E as ze}from"./index-Bp52mKPt.js";import{E as je}from"./el-drawer-DaAwE3bJ.js";import{E as Je}from"./el-slider-CPsf2yeE.js";import"./el-popper-OAwpEmER.js";import"./el-tooltip-l0sNRNKZ.js";import"./el-input-number-Ba6IqA7Z.js";import{_ as We}from"./MarkdownView.vue_vue_type_style_index_0_lang-BKsnCmpO.js";import{b as Ge,a as Qe}from"./compare-DtYcNyhY.js";import{_ as Xe}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./_baseClone-B6d4qZbo.js";import"./index-C4wGR5UT.js";import"./index-DxP0p4ch.js";import"./index-DHcidAHK.js";import"./index-36LucyXi.js";import"./scroll-Dvb2mTx8.js";import"./use-dialog-DGVjglW6.js";import"./debounce-BJxjS5F3.js";import"./toNumber-Yuob3eJv.js";import"./clamp-Ow4I6lPc.js";import"./index-ZKnv_mga.js";const Q=t=>Ce(t)||ge(t)||we(t),Ye=Y({accordion:Boolean,modelValue:{type:H([Array,String,Number]),default:()=>xe([])},expandIconPosition:{type:H([String]),default:"right"},beforeCollapse:{type:H(Function)}}),Ze={[le]:Q,[oe]:Q},ie=Symbol("collapseContextKey"),et=Y({title:{type:String,default:""},name:{type:H([String,Number]),default:void 0},icon:{type:Ee,default:Te},disabled:Boolean}),X="ElCollapse",tt=(t,i)=>{const d=b(G(t.modelValue)),p=o=>{d.value=o;const r=t.accordion?d.value[0]:d.value;i(le,r),i(oe,r)},n=o=>{if(t.accordion)p([d.value[0]===o?"":o]);else{const r=[...d.value],c=r.indexOf(o);c>-1?r.splice(c,1):r.push(o),p(r)}},a=async o=>{const{beforeCollapse:r}=t;if(!r){n(o);return}const c=r(o);[W(c),Ve(c)].includes(!0)||Se(X,"beforeCollapse must return type `Promise` or `boolean`"),W(c)?c.then(f=>{f!==!1&&n(o)}).catch(f=>{Ke(X,`some error occurred: ${f}`)}):c&&n(o)};return Z(()=>t.modelValue,()=>d.value=G(t.modelValue),{deep:!0}),Ie(ie,{activeNames:d,handleItemClick:a}),{activeNames:d,setActiveNames:p}},st=t=>{const i=L("collapse");return{rootKls:T(()=>[i.b(),i.b(`icon-position-${t.expandIconPosition}`)])}};var at=O({name:"ElCollapse",__name:"collapse",props:Ye,emits:Ze,setup(t,{expose:i,emit:d}){const p=t,{activeNames:n,setActiveNames:a}=tt(p,d),{rootKls:o}=st(p);return i({activeNames:n,setActiveNames:a}),(r,c)=>(g(),E("div",{class:K(s(o))},[R(r.$slots,"default")],2))}}),nt=at;const ot=t=>{const i=Ne(ie),{namespace:d}=L("collapse"),p=b(!1),n=b(!1),a=ke(),o=T(()=>a.current++),r=T(()=>t.name??`${d.value}-id-${a.prefix}-${s(o)}`),c=T(()=>i==null?void 0:i.activeNames.value.includes(s(r)));return{focusing:p,id:o,isActive:c,handleFocus:()=>{setTimeout(()=>{n.value?n.value=!1:p.value=!0},50)},handleHeaderClick:v=>{var y;t.disabled||(y=v.target)!=null&&y.closest("input, textarea, select")||(i==null||i.handleItemClick(s(r)),p.value=!1,n.value=!0)},handleEnterClick:v=>{var y;(y=v.target)!=null&&y.closest("input, textarea, select")||(v.preventDefault(),i==null||i.handleItemClick(s(r)))}}},lt=(t,{focusing:i,isActive:d,id:p})=>{const n=L("collapse"),a=T(()=>[n.b("item"),n.is("active",s(d)),n.is("disabled",t.disabled)]),o=T(()=>[n.be("item","header"),n.is("active",s(d)),{focusing:s(i)&&!t.disabled}]),r=T(()=>[n.be("item","arrow"),n.is("active",s(d))]);return{itemTitleKls:T(()=>[n.be("item","title")]),arrowKls:r,headKls:o,rootKls:a,itemWrapperKls:T(()=>n.be("item","wrap")),itemContentKls:T(()=>n.be("item","content")),scopedContentId:T(()=>n.b(`content-${s(p)}`)),scopedHeadId:T(()=>n.b(`head-${s(p)}`))}},it=["id","aria-expanded","aria-controls","aria-describedby","tabindex","aria-disabled"],rt=["id","aria-hidden","aria-labelledby"];var ut=O({name:"ElCollapseItem",__name:"collapse-item",props:et,setup(t,{expose:i}){const d=t,{focusing:p,id:n,isActive:a,handleFocus:o,handleHeaderClick:r,handleEnterClick:c}=ot(d),{arrowKls:f,headKls:k,rootKls:C,itemTitleKls:v,itemWrapperKls:y,itemContentKls:$,scopedContentId:V,scopedHeadId:I}=lt(d,{focusing:p,isActive:a,id:n});return i({isActive:a}),(h,w)=>(g(),E("div",{class:K(s(C))},[l("div",{id:s(I),class:K(s(k)),"aria-expanded":s(a),"aria-controls":s(V),"aria-describedby":s(V),tabindex:t.disabled?void 0:0,"aria-disabled":t.disabled,role:"button",onClick:w[0]||(w[0]=(...N)=>s(r)&&s(r)(...N)),onKeydown:w[1]||(w[1]=se(ae((...N)=>s(c)&&s(c)(...N),["stop"]),["space","enter"])),onFocus:w[2]||(w[2]=(...N)=>s(o)&&s(o)(...N)),onBlur:w[3]||(w[3]=N=>p.value=!1)},[l("span",{class:K(s(v))},[R(h.$slots,"title",{isActive:s(a)},()=>[ee(A(t.title),1)])],2),R(h.$slots,"icon",{isActive:s(a)},()=>[_(s(Pe),{class:K(s(f))},{default:x(()=>[(g(),te($e(t.icon)))]),_:1},8,["class"])])],42,it),_(s(ze),null,{default:x(()=>[ne(l("div",{id:s(V),role:"region",class:K(s(y)),"aria-hidden":!s(a),"aria-labelledby":s(I)},[l("div",{class:K(s($))},[R(h.$slots,"default")],2)],10,rt),[[Ae,s(a)]])]),_:3})],2))}}),re=ut;const dt=Be(nt,{CollapseItem:re}),ct=De(re);function mt(){const t=b({question:"",fullContent:"",displayContent:"",thinkContent:"",isThinking:!1,isStreaming:!1,done:!1}),i=b(!1);function d(a){const o=/([\s\S]*?)(<\/think>)?/g;let r="",c=a,f=!1,k;const C=(a.match(//g)||[]).length,v=(a.match(/<\/think>/g)||[]).length;for(f=C>v;(k=o.exec(a))!==null;)r+=k[1];return c=a.replace(/[\s\S]*?(<\/think>|$)/g,"").trim(),{think:r.trim(),display:c,isThinking:f}}async function p(a){var c;i.value=!0,t.value={question:a.user_question||"",fullContent:"",displayContent:"",thinkContent:"",isThinking:!1,isStreaming:!0,done:!1};let o=0;const r=50;try{const f=await Ge(a);if(!f.ok)throw new Error(`HTTP ${f.status}`);const k=(c=f.body)==null?void 0:c.getReader();if(!k)throw new Error("无法读取响应流");const C=new TextDecoder("utf-8");let v="";for(;;){const{done:$,value:V}=await k.read();if($)break;v+=C.decode(V,{stream:!0}),t.value.fullContent=v;const I=Date.now();if(I-o>=r){o=I;const h=d(v);t.value.thinkContent=h.think,t.value.displayContent=h.display,t.value.isThinking=h.isThinking}}const y=d(v);t.value.thinkContent=y.think,t.value.displayContent=y.display,t.value.isThinking=!1,t.value.isStreaming=!1,t.value.done=!0}catch(f){t.value.isStreaming=!1,t.value.done=!0,t.value.error=f.message||"流式请求失败",t.value.displayContent=t.value.fullContent||t.value.error||"请求失败"}finally{i.value=!1}}function n(){t.value={question:"",fullContent:"",displayContent:"",thinkContent:"",isThinking:!1,isStreaming:!1,done:!1}}return{message:t,loading:i,send:p,reset:n}}const pt={class:"chat-wrap"},ft={class:"chat-header"},vt={class:"header-left"},ht={class:"header-title"},_t={class:"title-text"},bt={key:0,class:"mock-badge"},kt={class:"chat-body-inner"},yt={key:0,class:"empty-hint"},Ct={key:0,class:"avatar assistant"},gt={class:"bubble-wrap"},wt={class:"think-content"},xt={key:1,class:"bubble user-bubble"},Tt={key:2,class:"bubble ai-bubble markdown"},Et={key:3,class:"bubble ai-bubble streaming"},It={class:"chat-input-container"},Vt={class:"chat-input-inner"},St={class:"input-wrapper"},Kt=["disabled","onKeydown"],Nt=["disabled"],$t=O({__name:"InferenceChatView",setup(t){const i=Ue();Oe();const d=i.params.id,p=d==="mock",n=b(i.query.model||""),{message:a,loading:o,send:r,reset:c}=mt(),f=b(null),k=b([]),C=b(""),v=b(""),y=b(.7),$=b(.95),V=b(2048),I=b();let h=null;const w=b(!1);async function N(){var u;if(!p)try{f.value=await Qe(d);const e=z(f.value);(u=e[0])!=null&&u.model_name&&(n.value=e[0].model_name)}catch{}}function z(u){if(!(u!=null&&u.load_status))return[];try{return(typeof u.load_status=="string"?JSON.parse(u.load_status):u.load_status).loaded_models||[]}catch{return[]}}async function j(){const u=C.value.trim();if(!u||o.value)return;k.value.push({role:"user",content:u,done:!0});const e=Le({role:"assistant",content:"",think:"",isThinking:!1,isStreaming:!0,done:!1});if(k.value.push(e),C.value="",await M(),ce(),D(),p){await ue(e,u);return}const S=z(f.value)[0];if(!S){qe.error("未找到已启动的模型"),e.content="未找到已启动的模型,请先返回列表加载模型",e.done=!0,e.isStreaming=!1;return}h=e,await r({port:S.port,model_name:S.model_name,model_path:"",system_prompt:v.value,user_question:u,temperature:y.value,top_p:$.value,max_tokens:V.value}),e.content=a.value.displayContent||a.value.error||"(无回复)",e.think=a.value.thinkContent,e.isThinking=!1,e.isStreaming=!1,e.done=!0,h=null,c(),await M(),D()}async function ue(u,e){const P=`你好!我是 **${n.value||"示例模型"}**(mock 演示)。 + +你刚才问的是: + +> ${e} + +这是一段模拟回复,用于演示对话界面。接入真实模型后,这里会展示模型的真实推理输出。 + +## 说明 +- 当前为前端 mock 环境 +- 回复内容由本地生成 +- 流式打字效果为前端模拟`;for(const S of P)u.content+=S,await M(),D(),u.content.length%3===0&&await new Promise(U=>setTimeout(U,16));u.isStreaming=!1,u.done=!0,await M(),D()}Z(()=>[a.value.displayContent,a.value.thinkContent,a.value.isThinking,a.value.done],async([u,e,P,S])=>{h&&(h.content=u,h.think=e,h.isThinking=P,h.isStreaming=!S,await M(),D())},{flush:"post"});function D(){I.value&&(I.value.scrollTop=I.value.scrollHeight)}function J(){h=null,k.value=[],c()}function de(u){const e=u.target;e.style.height="auto",e.style.height=Math.min(e.scrollHeight,120)+"px"}function ce(){const u=document.querySelector(".input-box");u&&(u.style.height="auto")}return Me(N),(u,e)=>{const P=ct,S=dt,U=be,B=_e,q=Je,me=ye,pe=he,fe=je;return g(),E("div",pt,[l("header",ft,[l("div",vt,[l("div",ht,[l("span",_t,A(n.value||"模型对话"),1),p?(g(),E("span",bt,"mock")):F("",!0)])]),l("button",{class:"header-btn",title:"设置",onClick:e[0]||(e[0]=m=>w.value=!0)},[...e[7]||(e[7]=[l("i",{class:"fa fa-sliders"},null,-1)])])]),l("div",{ref_key:"contentRef",ref:I,class:"chat-body"},[l("div",kt,[k.value.length===0?(g(),E("div",yt,[e[8]||(e[8]=l("div",{class:"empty-logo"},[l("i",{class:"fa fa-cube"})],-1)),e[9]||(e[9]=l("h2",null,"有什么我可以帮你的吗?",-1)),l("p",null,"开始与 "+A(n.value||"模型")+" 对话",1)])):F("",!0),(g(!0),E(Fe,null,He(k.value,(m,ve)=>(g(),E("div",{key:ve,class:K(["msg-row",m.role])},[m.role==="assistant"?(g(),E("div",Ct,[...e[10]||(e[10]=[l("i",{class:"fa fa-robot"},null,-1)])])):F("",!0),l("div",gt,[m.think?(g(),te(S,{key:0,class:"think-collapse"},{default:x(()=>[_(P,{title:"思考过程",name:"think"},{default:x(()=>[l("div",wt,A(m.think),1)]),_:2},1024)]),_:2},1024)):F("",!0),m.role==="user"?(g(),E("div",xt,A(m.content),1)):m.done?(g(),E("div",Tt,[_(We,{content:m.content},null,8,["content"])])):(g(),E("div",Et,[l("span",null,A(m.content||(m.isThinking?"思考中...":"生成中")),1),e[11]||(e[11]=l("span",{class:"typing-cursor"},null,-1))]))])],2))),128))])],512),l("footer",It,[l("div",Vt,[l("button",{class:"clear-btn",title:"清空对话",onClick:J},[...e[12]||(e[12]=[l("i",{class:"fa fa-eraser"},null,-1)])]),l("div",St,[ne(l("textarea",{"onUpdate:modelValue":e[1]||(e[1]=m=>C.value=m),class:"input-box",rows:"1",disabled:s(o),placeholder:"给模型发送消息...",onKeydown:se(ae(j,["exact","prevent"]),["enter"]),onInput:de},null,40,Kt),[[Re,C.value]]),l("button",{class:K(["send-btn",{active:C.value.trim()&&!s(o)}]),disabled:!C.value.trim()||s(o),onClick:j},[...e[13]||(e[13]=[l("i",{class:"fa fa-arrow-up"},null,-1)])],10,Nt)])]),e[14]||(e[14]=l("div",{class:"footer-hint"},"内容由 AI 生成,请仔细甄别。",-1))]),_(fe,{modelValue:w.value,"onUpdate:modelValue":e[6]||(e[6]=m=>w.value=m),title:"对话设置",size:"360px"},{default:x(()=>[_(pe,{"label-position":"top"},{default:x(()=>[_(B,{label:"系统提示词"},{default:x(()=>[_(U,{modelValue:v.value,"onUpdate:modelValue":e[2]||(e[2]=m=>v.value=m),type:"textarea",rows:6,placeholder:"设置模型角色/约束(可选)",resize:"none"},null,8,["modelValue"])]),_:1}),_(B,{label:"Temperature (温度)"},{default:x(()=>[_(q,{modelValue:y.value,"onUpdate:modelValue":e[3]||(e[3]=m=>y.value=m),min:0,max:2,step:.1,"show-input":""},null,8,["modelValue"])]),_:1}),_(B,{label:"Top P (核心采样)"},{default:x(()=>[_(q,{modelValue:$.value,"onUpdate:modelValue":e[4]||(e[4]=m=>$.value=m),min:0,max:1,step:.05,"show-input":""},null,8,["modelValue"])]),_:1}),_(B,{label:"Max Tokens (最大生成长度)"},{default:x(()=>[_(q,{modelValue:V.value,"onUpdate:modelValue":e[5]||(e[5]=m=>V.value=m),min:128,max:8192,step:128,"show-input":""},null,8,["modelValue"])]),_:1}),_(B,null,{default:x(()=>[_(me,{type:"danger",plain:"",onClick:J,style:{width:"100%","margin-top":"20px"}},{default:x(()=>[...e[15]||(e[15]=[l("i",{class:"fa fa-trash-o",style:{"margin-right":"4px"}},null,-1),ee("清空当前对话 ",-1)])]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])])}}}),os=Xe($t,[["__scopeId","data-v-7a15a4cd"]]);export{os as default}; diff --git a/frontend/dist/assets/InferenceChatView-mqKHZA9k.js b/frontend/dist/assets/InferenceChatView-mqKHZA9k.js index b56336b..da191dd 100644 --- a/frontend/dist/assets/InferenceChatView-mqKHZA9k.js +++ b/frontend/dist/assets/InferenceChatView-mqKHZA9k.js @@ -1,4 +1,10 @@ +<<<<<<<< HEAD:frontend/dist/assets/InferenceChatView-mqKHZA9k.js import{E as he,a as _e}from"./el-form-item--AdlsBF7.js";import{E as be}from"./index-D0wqu88j.js";import{a as ke,E as ye}from"./index-6OTFNiIi.js";import{ak as Ce,J as ge,a6 as we,b as Y,R as H,a5 as xe,T as Te,i as Ee,y as b,D as Z,a as L,j as T,F as Ie,aJ as W,k as Ve,C as Se,aK as Ke,d as O,o as g,c as E,h as R,n as K,f as s,B as Ne,q as l,x as ee,aa as A,s as _,w as x,e as te,r as $e,E as Pe,t as se,aL as ae,K as ne,L as Ae,ab as De,l as Be,G as Me,g as F,M as Fe,ad as He,aM as Re,ac as Ue,P as M,A as qe,z as Le,v as Oe}from"./index-CD29OCdJ.js";import{C as oe,U as le}from"./raf-DGtHIxe2.js";import{c as G}from"./castArray-BEiueV6y.js";import{E as ze}from"./index-nU1bUa76.js";import{E as je}from"./el-drawer-CJxSltWc.js";import{E as Je}from"./el-slider-D0ESR8FK.js";import"./el-popper-DIiB8Y-M.js";import"./el-tooltip-l0sNRNKZ.js";import"./el-input-number-CUR6qfYr.js";import{_ as We}from"./MarkdownView.vue_vue_type_style_index_0_lang-Cz6hZilm.js";import{b as Ge,a as Qe}from"./compare-BAX_umRe.js";import{_ as Xe}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./_baseClone-Blem5BWg.js";import"./index-C8FAS7l2.js";import"./index-DpY84JwG.js";import"./index-BpugJXyE.js";import"./index-roSlfP_P.js";import"./scroll-D-TPweuo.js";import"./use-dialog-DvXGfCuS.js";import"./debounce-BCyqG5kC.js";import"./toNumber-B6P5MqPp.js";import"./clamp-BfrLWns4.js";import"./index-sBiRi5wE.js";const Q=t=>Ce(t)||ge(t)||we(t),Ye=Y({accordion:Boolean,modelValue:{type:H([Array,String,Number]),default:()=>xe([])},expandIconPosition:{type:H([String]),default:"right"},beforeCollapse:{type:H(Function)}}),Ze={[le]:Q,[oe]:Q},ie=Symbol("collapseContextKey"),et=Y({title:{type:String,default:""},name:{type:H([String,Number]),default:void 0},icon:{type:Ee,default:Te},disabled:Boolean}),X="ElCollapse",tt=(t,i)=>{const d=b(G(t.modelValue)),p=o=>{d.value=o;const r=t.accordion?d.value[0]:d.value;i(le,r),i(oe,r)},n=o=>{if(t.accordion)p([d.value[0]===o?"":o]);else{const r=[...d.value],c=r.indexOf(o);c>-1?r.splice(c,1):r.push(o),p(r)}},a=async o=>{const{beforeCollapse:r}=t;if(!r){n(o);return}const c=r(o);[W(c),Ve(c)].includes(!0)||Se(X,"beforeCollapse must return type `Promise` or `boolean`"),W(c)?c.then(f=>{f!==!1&&n(o)}).catch(f=>{Ke(X,`some error occurred: ${f}`)}):c&&n(o)};return Z(()=>t.modelValue,()=>d.value=G(t.modelValue),{deep:!0}),Ie(ie,{activeNames:d,handleItemClick:a}),{activeNames:d,setActiveNames:p}},st=t=>{const i=L("collapse");return{rootKls:T(()=>[i.b(),i.b(`icon-position-${t.expandIconPosition}`)])}};var at=O({name:"ElCollapse",__name:"collapse",props:Ye,emits:Ze,setup(t,{expose:i,emit:d}){const p=t,{activeNames:n,setActiveNames:a}=tt(p,d),{rootKls:o}=st(p);return i({activeNames:n,setActiveNames:a}),(r,c)=>(g(),E("div",{class:K(s(o))},[R(r.$slots,"default")],2))}}),nt=at;const ot=t=>{const i=Ne(ie),{namespace:d}=L("collapse"),p=b(!1),n=b(!1),a=ke(),o=T(()=>a.current++),r=T(()=>t.name??`${d.value}-id-${a.prefix}-${s(o)}`),c=T(()=>i==null?void 0:i.activeNames.value.includes(s(r)));return{focusing:p,id:o,isActive:c,handleFocus:()=>{setTimeout(()=>{n.value?n.value=!1:p.value=!0},50)},handleHeaderClick:v=>{var y;t.disabled||(y=v.target)!=null&&y.closest("input, textarea, select")||(i==null||i.handleItemClick(s(r)),p.value=!1,n.value=!0)},handleEnterClick:v=>{var y;(y=v.target)!=null&&y.closest("input, textarea, select")||(v.preventDefault(),i==null||i.handleItemClick(s(r)))}}},lt=(t,{focusing:i,isActive:d,id:p})=>{const n=L("collapse"),a=T(()=>[n.b("item"),n.is("active",s(d)),n.is("disabled",t.disabled)]),o=T(()=>[n.be("item","header"),n.is("active",s(d)),{focusing:s(i)&&!t.disabled}]),r=T(()=>[n.be("item","arrow"),n.is("active",s(d))]);return{itemTitleKls:T(()=>[n.be("item","title")]),arrowKls:r,headKls:o,rootKls:a,itemWrapperKls:T(()=>n.be("item","wrap")),itemContentKls:T(()=>n.be("item","content")),scopedContentId:T(()=>n.b(`content-${s(p)}`)),scopedHeadId:T(()=>n.b(`head-${s(p)}`))}},it=["id","aria-expanded","aria-controls","aria-describedby","tabindex","aria-disabled"],rt=["id","aria-hidden","aria-labelledby"];var ut=O({name:"ElCollapseItem",__name:"collapse-item",props:et,setup(t,{expose:i}){const d=t,{focusing:p,id:n,isActive:a,handleFocus:o,handleHeaderClick:r,handleEnterClick:c}=ot(d),{arrowKls:f,headKls:k,rootKls:C,itemTitleKls:v,itemWrapperKls:y,itemContentKls:$,scopedContentId:V,scopedHeadId:I}=lt(d,{focusing:p,isActive:a,id:n});return i({isActive:a}),(h,w)=>(g(),E("div",{class:K(s(C))},[l("div",{id:s(I),class:K(s(k)),"aria-expanded":s(a),"aria-controls":s(V),"aria-describedby":s(V),tabindex:t.disabled?void 0:0,"aria-disabled":t.disabled,role:"button",onClick:w[0]||(w[0]=(...N)=>s(r)&&s(r)(...N)),onKeydown:w[1]||(w[1]=se(ae((...N)=>s(c)&&s(c)(...N),["stop"]),["space","enter"])),onFocus:w[2]||(w[2]=(...N)=>s(o)&&s(o)(...N)),onBlur:w[3]||(w[3]=N=>p.value=!1)},[l("span",{class:K(s(v))},[R(h.$slots,"title",{isActive:s(a)},()=>[ee(A(t.title),1)])],2),R(h.$slots,"icon",{isActive:s(a)},()=>[_(s(Pe),{class:K(s(f))},{default:x(()=>[(g(),te($e(t.icon)))]),_:1},8,["class"])])],42,it),_(s(ze),null,{default:x(()=>[ne(l("div",{id:s(V),role:"region",class:K(s(y)),"aria-hidden":!s(a),"aria-labelledby":s(I)},[l("div",{class:K(s($))},[R(h.$slots,"default")],2)],10,rt),[[Ae,s(a)]])]),_:3})],2))}}),re=ut;const dt=Be(nt,{CollapseItem:re}),ct=De(re);function mt(){const t=b({question:"",fullContent:"",displayContent:"",thinkContent:"",isThinking:!1,isStreaming:!1,done:!1}),i=b(!1);function d(a){const o=/([\s\S]*?)(<\/think>)?/g;let r="",c=a,f=!1,k;const C=(a.match(//g)||[]).length,v=(a.match(/<\/think>/g)||[]).length;for(f=C>v;(k=o.exec(a))!==null;)r+=k[1];return c=a.replace(/[\s\S]*?(<\/think>|$)/g,"").trim(),{think:r.trim(),display:c,isThinking:f}}async function p(a){var c;i.value=!0,t.value={question:a.user_question||"",fullContent:"",displayContent:"",thinkContent:"",isThinking:!1,isStreaming:!0,done:!1};let o=0;const r=50;try{const f=await Ge(a);if(!f.ok)throw new Error(`HTTP ${f.status}`);const k=(c=f.body)==null?void 0:c.getReader();if(!k)throw new Error("无法读取响应流");const C=new TextDecoder("utf-8");let v="";for(;;){const{done:$,value:V}=await k.read();if($)break;v+=C.decode(V,{stream:!0}),t.value.fullContent=v;const I=Date.now();if(I-o>=r){o=I;const h=d(v);t.value.thinkContent=h.think,t.value.displayContent=h.display,t.value.isThinking=h.isThinking}}const y=d(v);t.value.thinkContent=y.think,t.value.displayContent=y.display,t.value.isThinking=!1,t.value.isStreaming=!1,t.value.done=!0}catch(f){t.value.isStreaming=!1,t.value.done=!0,t.value.error=f.message||"流式请求失败",t.value.displayContent=t.value.fullContent||t.value.error||"请求失败"}finally{i.value=!1}}function n(){t.value={question:"",fullContent:"",displayContent:"",thinkContent:"",isThinking:!1,isStreaming:!1,done:!1}}return{message:t,loading:i,send:p,reset:n}}const pt={class:"chat-wrap"},ft={class:"chat-header"},vt={class:"header-left"},ht={class:"header-title"},_t={class:"title-text"},bt={key:0,class:"mock-badge"},kt={class:"chat-body-inner"},yt={key:0,class:"empty-hint"},Ct={key:0,class:"avatar assistant"},gt={class:"bubble-wrap"},wt={class:"think-content"},xt={key:1,class:"bubble user-bubble"},Tt={key:2,class:"bubble ai-bubble markdown"},Et={key:3,class:"bubble ai-bubble streaming"},It={class:"chat-input-container"},Vt={class:"chat-input-inner"},St={class:"input-wrapper"},Kt=["disabled","onKeydown"],Nt=["disabled"],$t=O({__name:"InferenceChatView",setup(t){const i=Ue();Oe();const d=i.params.id,p=d==="mock",n=b(i.query.model||""),{message:a,loading:o,send:r,reset:c}=mt(),f=b(null),k=b([]),C=b(""),v=b(""),y=b(.7),$=b(.95),V=b(2048),I=b();let h=null;const w=b(!1);async function N(){var u;if(!p)try{f.value=await Qe(d);const e=z(f.value);(u=e[0])!=null&&u.model_name&&(n.value=e[0].model_name)}catch{}}function z(u){if(!(u!=null&&u.load_status))return[];try{return(typeof u.load_status=="string"?JSON.parse(u.load_status):u.load_status).loaded_models||[]}catch{return[]}}async function j(){const u=C.value.trim();if(!u||o.value)return;k.value.push({role:"user",content:u,done:!0});const e=Le({role:"assistant",content:"",think:"",isThinking:!1,isStreaming:!0,done:!1});if(k.value.push(e),C.value="",await M(),ce(),D(),p){await ue(e,u);return}const S=z(f.value)[0];if(!S){qe.error("未找到已启动的模型"),e.content="未找到已启动的模型,请先返回列表加载模型",e.done=!0,e.isStreaming=!1;return}h=e,await r({port:S.port,model_name:S.model_name,model_path:"",system_prompt:v.value,user_question:u,temperature:y.value,top_p:$.value,max_tokens:V.value}),e.content=a.value.displayContent||a.value.error||"(无回复)",e.think=a.value.thinkContent,e.isThinking=!1,e.isStreaming=!1,e.done=!0,h=null,c(),await M(),D()}async function ue(u,e){const P=`你好!我是 **${n.value||"示例模型"}**(mock 演示)。 +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/InferenceChatView-nI4RM9OF.js +import{E as he,a as _e}from"./el-form-item-Bq0n_p5a.js";import{E as be}from"./index-h5FkzAP_.js";import{a as ke,E as ye}from"./index-BNsCyG4A.js";import{ak as Ce,J as ge,a6 as we,b as Y,R as H,a5 as xe,T as Te,i as Ee,y as b,D as Z,a as L,j as T,F as Ie,aJ as W,k as Ve,C as Se,aK as Ke,d as O,o as g,c as E,h as R,n as K,f as s,B as Ne,q as l,x as ee,aa as A,s as _,w as x,e as te,r as $e,E as Pe,t as se,aL as ae,K as ne,L as Ae,ab as De,l as Be,G as Me,g as F,M as Fe,ad as He,aM as Re,ac as Ue,P as M,A as qe,z as Le,v as Oe}from"./index-Ds9AETjS.js";import{C as oe,U as le}from"./raf-zQ00nuMI.js";import{c as G}from"./castArray-BWI4UxBy.js";import{E as ze}from"./index-Tr1QMyk2.js";import{E as je}from"./el-drawer-BDGl0H79.js";import{E as Je}from"./el-slider-mZJHOhL2.js";import"./el-popper-D1tByNLb.js";import"./el-tooltip-l0sNRNKZ.js";import"./el-input-number-Bg2C0S8w.js";import{_ as We}from"./MarkdownView.vue_vue_type_style_index_0_lang-CNORZ6uG.js";import{b as Ge,a as Qe}from"./compare-fmy9bbtE.js";import{_ as Xe}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./_baseClone-CZxxnGCv.js";import"./index-B0if-AHo.js";import"./index-BSbCLbaz.js";import"./index-sWKLi7bH.js";import"./index-RtwaMutE.js";import"./scroll-DVmMv0d9.js";import"./use-dialog-gWD8AZr4.js";import"./debounce-D6mJVDYC.js";import"./toNumber-DrayciwT.js";import"./clamp-CyhADbdq.js";import"./index-2LOSO4Pw.js";const Q=t=>Ce(t)||ge(t)||we(t),Ye=Y({accordion:Boolean,modelValue:{type:H([Array,String,Number]),default:()=>xe([])},expandIconPosition:{type:H([String]),default:"right"},beforeCollapse:{type:H(Function)}}),Ze={[le]:Q,[oe]:Q},ie=Symbol("collapseContextKey"),et=Y({title:{type:String,default:""},name:{type:H([String,Number]),default:void 0},icon:{type:Ee,default:Te},disabled:Boolean}),X="ElCollapse",tt=(t,i)=>{const d=b(G(t.modelValue)),p=o=>{d.value=o;const r=t.accordion?d.value[0]:d.value;i(le,r),i(oe,r)},n=o=>{if(t.accordion)p([d.value[0]===o?"":o]);else{const r=[...d.value],c=r.indexOf(o);c>-1?r.splice(c,1):r.push(o),p(r)}},a=async o=>{const{beforeCollapse:r}=t;if(!r){n(o);return}const c=r(o);[W(c),Ve(c)].includes(!0)||Se(X,"beforeCollapse must return type `Promise` or `boolean`"),W(c)?c.then(f=>{f!==!1&&n(o)}).catch(f=>{Ke(X,`some error occurred: ${f}`)}):c&&n(o)};return Z(()=>t.modelValue,()=>d.value=G(t.modelValue),{deep:!0}),Ie(ie,{activeNames:d,handleItemClick:a}),{activeNames:d,setActiveNames:p}},st=t=>{const i=L("collapse");return{rootKls:T(()=>[i.b(),i.b(`icon-position-${t.expandIconPosition}`)])}};var at=O({name:"ElCollapse",__name:"collapse",props:Ye,emits:Ze,setup(t,{expose:i,emit:d}){const p=t,{activeNames:n,setActiveNames:a}=tt(p,d),{rootKls:o}=st(p);return i({activeNames:n,setActiveNames:a}),(r,c)=>(g(),E("div",{class:K(s(o))},[R(r.$slots,"default")],2))}}),nt=at;const ot=t=>{const i=Ne(ie),{namespace:d}=L("collapse"),p=b(!1),n=b(!1),a=ke(),o=T(()=>a.current++),r=T(()=>t.name??`${d.value}-id-${a.prefix}-${s(o)}`),c=T(()=>i==null?void 0:i.activeNames.value.includes(s(r)));return{focusing:p,id:o,isActive:c,handleFocus:()=>{setTimeout(()=>{n.value?n.value=!1:p.value=!0},50)},handleHeaderClick:v=>{var y;t.disabled||(y=v.target)!=null&&y.closest("input, textarea, select")||(i==null||i.handleItemClick(s(r)),p.value=!1,n.value=!0)},handleEnterClick:v=>{var y;(y=v.target)!=null&&y.closest("input, textarea, select")||(v.preventDefault(),i==null||i.handleItemClick(s(r)))}}},lt=(t,{focusing:i,isActive:d,id:p})=>{const n=L("collapse"),a=T(()=>[n.b("item"),n.is("active",s(d)),n.is("disabled",t.disabled)]),o=T(()=>[n.be("item","header"),n.is("active",s(d)),{focusing:s(i)&&!t.disabled}]),r=T(()=>[n.be("item","arrow"),n.is("active",s(d))]);return{itemTitleKls:T(()=>[n.be("item","title")]),arrowKls:r,headKls:o,rootKls:a,itemWrapperKls:T(()=>n.be("item","wrap")),itemContentKls:T(()=>n.be("item","content")),scopedContentId:T(()=>n.b(`content-${s(p)}`)),scopedHeadId:T(()=>n.b(`head-${s(p)}`))}},it=["id","aria-expanded","aria-controls","aria-describedby","tabindex","aria-disabled"],rt=["id","aria-hidden","aria-labelledby"];var ut=O({name:"ElCollapseItem",__name:"collapse-item",props:et,setup(t,{expose:i}){const d=t,{focusing:p,id:n,isActive:a,handleFocus:o,handleHeaderClick:r,handleEnterClick:c}=ot(d),{arrowKls:f,headKls:k,rootKls:C,itemTitleKls:v,itemWrapperKls:y,itemContentKls:$,scopedContentId:V,scopedHeadId:I}=lt(d,{focusing:p,isActive:a,id:n});return i({isActive:a}),(h,w)=>(g(),E("div",{class:K(s(C))},[l("div",{id:s(I),class:K(s(k)),"aria-expanded":s(a),"aria-controls":s(V),"aria-describedby":s(V),tabindex:t.disabled?void 0:0,"aria-disabled":t.disabled,role:"button",onClick:w[0]||(w[0]=(...N)=>s(r)&&s(r)(...N)),onKeydown:w[1]||(w[1]=se(ae((...N)=>s(c)&&s(c)(...N),["stop"]),["space","enter"])),onFocus:w[2]||(w[2]=(...N)=>s(o)&&s(o)(...N)),onBlur:w[3]||(w[3]=N=>p.value=!1)},[l("span",{class:K(s(v))},[R(h.$slots,"title",{isActive:s(a)},()=>[ee(A(t.title),1)])],2),R(h.$slots,"icon",{isActive:s(a)},()=>[_(s(Pe),{class:K(s(f))},{default:x(()=>[(g(),te($e(t.icon)))]),_:1},8,["class"])])],42,it),_(s(ze),null,{default:x(()=>[ne(l("div",{id:s(V),role:"region",class:K(s(y)),"aria-hidden":!s(a),"aria-labelledby":s(I)},[l("div",{class:K(s($))},[R(h.$slots,"default")],2)],10,rt),[[Ae,s(a)]])]),_:3})],2))}}),re=ut;const dt=Be(nt,{CollapseItem:re}),ct=De(re);function mt(){const t=b({question:"",fullContent:"",displayContent:"",thinkContent:"",isThinking:!1,isStreaming:!1,done:!1}),i=b(!1);function d(a){const o=/([\s\S]*?)(<\/think>)?/g;let r="",c=a,f=!1,k;const C=(a.match(//g)||[]).length,v=(a.match(/<\/think>/g)||[]).length;for(f=C>v;(k=o.exec(a))!==null;)r+=k[1];return c=a.replace(/[\s\S]*?(<\/think>|$)/g,"").trim(),{think:r.trim(),display:c,isThinking:f}}async function p(a){var c;i.value=!0,t.value={question:a.user_question||"",fullContent:"",displayContent:"",thinkContent:"",isThinking:!1,isStreaming:!0,done:!1};let o=0;const r=50;try{const f=await Ge(a);if(!f.ok)throw new Error(`HTTP ${f.status}`);const k=(c=f.body)==null?void 0:c.getReader();if(!k)throw new Error("无法读取响应流");const C=new TextDecoder("utf-8");let v="";for(;;){const{done:$,value:V}=await k.read();if($)break;v+=C.decode(V,{stream:!0}),t.value.fullContent=v;const I=Date.now();if(I-o>=r){o=I;const h=d(v);t.value.thinkContent=h.think,t.value.displayContent=h.display,t.value.isThinking=h.isThinking}}const y=d(v);t.value.thinkContent=y.think,t.value.displayContent=y.display,t.value.isThinking=!1,t.value.isStreaming=!1,t.value.done=!0}catch(f){t.value.isStreaming=!1,t.value.done=!0,t.value.error=f.message||"流式请求失败",t.value.displayContent=t.value.fullContent||t.value.error||"请求失败"}finally{i.value=!1}}function n(){t.value={question:"",fullContent:"",displayContent:"",thinkContent:"",isThinking:!1,isStreaming:!1,done:!1}}return{message:t,loading:i,send:p,reset:n}}const pt={class:"chat-wrap"},ft={class:"chat-header"},vt={class:"header-left"},ht={class:"header-title"},_t={class:"title-text"},bt={key:0,class:"mock-badge"},kt={class:"chat-body-inner"},yt={key:0,class:"empty-hint"},Ct={key:0,class:"avatar assistant"},gt={class:"bubble-wrap"},wt={class:"think-content"},xt={key:1,class:"bubble user-bubble"},Tt={key:2,class:"bubble ai-bubble markdown"},Et={key:3,class:"bubble ai-bubble streaming"},It={class:"chat-input-container"},Vt={class:"chat-input-inner"},St={class:"input-wrapper"},Kt=["disabled","onKeydown"],Nt=["disabled"],$t=O({__name:"InferenceChatView",setup(t){const i=Ue();Oe();const d=i.params.id,p=d==="mock",n=b(i.query.model||""),{message:a,loading:o,send:r,reset:c}=mt(),f=b(null),k=b([]),C=b(""),v=b(""),y=b(.7),$=b(.95),V=b(2048),I=b();let h=null;const w=b(!1);async function N(){var u;if(!p)try{f.value=await Qe(d);const e=z(f.value);(u=e[0])!=null&&u.model_name&&(n.value=e[0].model_name)}catch{}}function z(u){if(!(u!=null&&u.load_status))return[];try{return(typeof u.load_status=="string"?JSON.parse(u.load_status):u.load_status).loaded_models||[]}catch{return[]}}async function j(){const u=C.value.trim();if(!u||o.value)return;k.value.push({role:"user",content:u,done:!0});const e=Le({role:"assistant",content:"",think:"",isThinking:!1,isStreaming:!0,done:!1});if(k.value.push(e),C.value="",await M(),ce(),D(),p){await ue(e,u);return}const S=z(f.value)[0];if(!S){qe.error("未找到已启动的模型"),e.content="未找到已启动的模型,请先返回列表加载模型",e.done=!0,e.isStreaming=!1;return}h=e,await r({port:S.port,model_name:S.model_name,model_path:"",system_prompt:v.value,user_question:u,temperature:y.value,top_p:$.value,max_tokens:V.value}),e.content=a.value.displayContent||a.value.error||"(无回复)",e.think=a.value.thinkContent,e.isThinking=!1,e.isStreaming=!1,e.done=!0,h=null,c(),await M(),D()}async function ue(u,e){const P=`你好!我是 **${n.value||"示例模型"}**(mock 演示)。 +======== +import{E as he,a as _e}from"./el-form-item-BA3ZlfqF.js";import{E as be}from"./index-zJ9bqPrh.js";import{a as ke,E as ye}from"./index-D23K2h6y.js";import{ak as Ce,J as ge,a6 as we,b as Y,R as H,a5 as xe,T as Te,i as Ee,y as b,D as Z,a as L,j as T,F as Ie,aJ as W,k as Ve,C as Se,aK as Ke,d as O,o as g,c as E,h as R,n as K,f as s,B as Ne,q as l,x as ee,aa as A,s as _,w as x,e as te,r as $e,E as Pe,t as se,aL as ae,K as ne,L as Ae,ab as De,l as Be,G as Me,g as F,M as Fe,ad as He,aM as Re,ac as Ue,P as M,A as qe,z as Le,v as Oe}from"./index-CxbBjZKo.js";import{C as oe,U as le}from"./raf-Bjl8yy5U.js";import{c as G}from"./castArray-CwVgzdTt.js";import{E as ze}from"./index-Bp52mKPt.js";import{E as je}from"./el-drawer-DaAwE3bJ.js";import{E as Je}from"./el-slider-CPsf2yeE.js";import"./el-popper-OAwpEmER.js";import"./el-tooltip-l0sNRNKZ.js";import"./el-input-number-Ba6IqA7Z.js";import{_ as We}from"./MarkdownView.vue_vue_type_style_index_0_lang-BKsnCmpO.js";import{b as Ge,a as Qe}from"./compare-DtYcNyhY.js";import{_ as Xe}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./_baseClone-B6d4qZbo.js";import"./index-C4wGR5UT.js";import"./index-DxP0p4ch.js";import"./index-DHcidAHK.js";import"./index-36LucyXi.js";import"./scroll-Dvb2mTx8.js";import"./use-dialog-DGVjglW6.js";import"./debounce-BJxjS5F3.js";import"./toNumber-Yuob3eJv.js";import"./clamp-Ow4I6lPc.js";import"./index-ZKnv_mga.js";const Q=t=>Ce(t)||ge(t)||we(t),Ye=Y({accordion:Boolean,modelValue:{type:H([Array,String,Number]),default:()=>xe([])},expandIconPosition:{type:H([String]),default:"right"},beforeCollapse:{type:H(Function)}}),Ze={[le]:Q,[oe]:Q},ie=Symbol("collapseContextKey"),et=Y({title:{type:String,default:""},name:{type:H([String,Number]),default:void 0},icon:{type:Ee,default:Te},disabled:Boolean}),X="ElCollapse",tt=(t,i)=>{const d=b(G(t.modelValue)),p=o=>{d.value=o;const r=t.accordion?d.value[0]:d.value;i(le,r),i(oe,r)},n=o=>{if(t.accordion)p([d.value[0]===o?"":o]);else{const r=[...d.value],c=r.indexOf(o);c>-1?r.splice(c,1):r.push(o),p(r)}},a=async o=>{const{beforeCollapse:r}=t;if(!r){n(o);return}const c=r(o);[W(c),Ve(c)].includes(!0)||Se(X,"beforeCollapse must return type `Promise` or `boolean`"),W(c)?c.then(f=>{f!==!1&&n(o)}).catch(f=>{Ke(X,`some error occurred: ${f}`)}):c&&n(o)};return Z(()=>t.modelValue,()=>d.value=G(t.modelValue),{deep:!0}),Ie(ie,{activeNames:d,handleItemClick:a}),{activeNames:d,setActiveNames:p}},st=t=>{const i=L("collapse");return{rootKls:T(()=>[i.b(),i.b(`icon-position-${t.expandIconPosition}`)])}};var at=O({name:"ElCollapse",__name:"collapse",props:Ye,emits:Ze,setup(t,{expose:i,emit:d}){const p=t,{activeNames:n,setActiveNames:a}=tt(p,d),{rootKls:o}=st(p);return i({activeNames:n,setActiveNames:a}),(r,c)=>(g(),E("div",{class:K(s(o))},[R(r.$slots,"default")],2))}}),nt=at;const ot=t=>{const i=Ne(ie),{namespace:d}=L("collapse"),p=b(!1),n=b(!1),a=ke(),o=T(()=>a.current++),r=T(()=>t.name??`${d.value}-id-${a.prefix}-${s(o)}`),c=T(()=>i==null?void 0:i.activeNames.value.includes(s(r)));return{focusing:p,id:o,isActive:c,handleFocus:()=>{setTimeout(()=>{n.value?n.value=!1:p.value=!0},50)},handleHeaderClick:v=>{var y;t.disabled||(y=v.target)!=null&&y.closest("input, textarea, select")||(i==null||i.handleItemClick(s(r)),p.value=!1,n.value=!0)},handleEnterClick:v=>{var y;(y=v.target)!=null&&y.closest("input, textarea, select")||(v.preventDefault(),i==null||i.handleItemClick(s(r)))}}},lt=(t,{focusing:i,isActive:d,id:p})=>{const n=L("collapse"),a=T(()=>[n.b("item"),n.is("active",s(d)),n.is("disabled",t.disabled)]),o=T(()=>[n.be("item","header"),n.is("active",s(d)),{focusing:s(i)&&!t.disabled}]),r=T(()=>[n.be("item","arrow"),n.is("active",s(d))]);return{itemTitleKls:T(()=>[n.be("item","title")]),arrowKls:r,headKls:o,rootKls:a,itemWrapperKls:T(()=>n.be("item","wrap")),itemContentKls:T(()=>n.be("item","content")),scopedContentId:T(()=>n.b(`content-${s(p)}`)),scopedHeadId:T(()=>n.b(`head-${s(p)}`))}},it=["id","aria-expanded","aria-controls","aria-describedby","tabindex","aria-disabled"],rt=["id","aria-hidden","aria-labelledby"];var ut=O({name:"ElCollapseItem",__name:"collapse-item",props:et,setup(t,{expose:i}){const d=t,{focusing:p,id:n,isActive:a,handleFocus:o,handleHeaderClick:r,handleEnterClick:c}=ot(d),{arrowKls:f,headKls:k,rootKls:C,itemTitleKls:v,itemWrapperKls:y,itemContentKls:$,scopedContentId:V,scopedHeadId:I}=lt(d,{focusing:p,isActive:a,id:n});return i({isActive:a}),(h,w)=>(g(),E("div",{class:K(s(C))},[l("div",{id:s(I),class:K(s(k)),"aria-expanded":s(a),"aria-controls":s(V),"aria-describedby":s(V),tabindex:t.disabled?void 0:0,"aria-disabled":t.disabled,role:"button",onClick:w[0]||(w[0]=(...N)=>s(r)&&s(r)(...N)),onKeydown:w[1]||(w[1]=se(ae((...N)=>s(c)&&s(c)(...N),["stop"]),["space","enter"])),onFocus:w[2]||(w[2]=(...N)=>s(o)&&s(o)(...N)),onBlur:w[3]||(w[3]=N=>p.value=!1)},[l("span",{class:K(s(v))},[R(h.$slots,"title",{isActive:s(a)},()=>[ee(A(t.title),1)])],2),R(h.$slots,"icon",{isActive:s(a)},()=>[_(s(Pe),{class:K(s(f))},{default:x(()=>[(g(),te($e(t.icon)))]),_:1},8,["class"])])],42,it),_(s(ze),null,{default:x(()=>[ne(l("div",{id:s(V),role:"region",class:K(s(y)),"aria-hidden":!s(a),"aria-labelledby":s(I)},[l("div",{class:K(s($))},[R(h.$slots,"default")],2)],10,rt),[[Ae,s(a)]])]),_:3})],2))}}),re=ut;const dt=Be(nt,{CollapseItem:re}),ct=De(re);function mt(){const t=b({question:"",fullContent:"",displayContent:"",thinkContent:"",isThinking:!1,isStreaming:!1,done:!1}),i=b(!1);function d(a){const o=/([\s\S]*?)(<\/think>)?/g;let r="",c=a,f=!1,k;const C=(a.match(//g)||[]).length,v=(a.match(/<\/think>/g)||[]).length;for(f=C>v;(k=o.exec(a))!==null;)r+=k[1];return c=a.replace(/[\s\S]*?(<\/think>|$)/g,"").trim(),{think:r.trim(),display:c,isThinking:f}}async function p(a){var c;i.value=!0,t.value={question:a.user_question||"",fullContent:"",displayContent:"",thinkContent:"",isThinking:!1,isStreaming:!0,done:!1};let o=0;const r=50;try{const f=await Ge(a);if(!f.ok)throw new Error(`HTTP ${f.status}`);const k=(c=f.body)==null?void 0:c.getReader();if(!k)throw new Error("无法读取响应流");const C=new TextDecoder("utf-8");let v="";for(;;){const{done:$,value:V}=await k.read();if($)break;v+=C.decode(V,{stream:!0}),t.value.fullContent=v;const I=Date.now();if(I-o>=r){o=I;const h=d(v);t.value.thinkContent=h.think,t.value.displayContent=h.display,t.value.isThinking=h.isThinking}}const y=d(v);t.value.thinkContent=y.think,t.value.displayContent=y.display,t.value.isThinking=!1,t.value.isStreaming=!1,t.value.done=!0}catch(f){t.value.isStreaming=!1,t.value.done=!0,t.value.error=f.message||"流式请求失败",t.value.displayContent=t.value.fullContent||t.value.error||"请求失败"}finally{i.value=!1}}function n(){t.value={question:"",fullContent:"",displayContent:"",thinkContent:"",isThinking:!1,isStreaming:!1,done:!1}}return{message:t,loading:i,send:p,reset:n}}const pt={class:"chat-wrap"},ft={class:"chat-header"},vt={class:"header-left"},ht={class:"header-title"},_t={class:"title-text"},bt={key:0,class:"mock-badge"},kt={class:"chat-body-inner"},yt={key:0,class:"empty-hint"},Ct={key:0,class:"avatar assistant"},gt={class:"bubble-wrap"},wt={class:"think-content"},xt={key:1,class:"bubble user-bubble"},Tt={key:2,class:"bubble ai-bubble markdown"},Et={key:3,class:"bubble ai-bubble streaming"},It={class:"chat-input-container"},Vt={class:"chat-input-inner"},St={class:"input-wrapper"},Kt=["disabled","onKeydown"],Nt=["disabled"],$t=O({__name:"InferenceChatView",setup(t){const i=Ue();Oe();const d=i.params.id,p=d==="mock",n=b(i.query.model||""),{message:a,loading:o,send:r,reset:c}=mt(),f=b(null),k=b([]),C=b(""),v=b(""),y=b(.7),$=b(.95),V=b(2048),I=b();let h=null;const w=b(!1);async function N(){var u;if(!p)try{f.value=await Qe(d);const e=z(f.value);(u=e[0])!=null&&u.model_name&&(n.value=e[0].model_name)}catch{}}function z(u){if(!(u!=null&&u.load_status))return[];try{return(typeof u.load_status=="string"?JSON.parse(u.load_status):u.load_status).loaded_models||[]}catch{return[]}}async function j(){const u=C.value.trim();if(!u||o.value)return;k.value.push({role:"user",content:u,done:!0});const e=Le({role:"assistant",content:"",think:"",isThinking:!1,isStreaming:!0,done:!1});if(k.value.push(e),C.value="",await M(),ce(),D(),p){await ue(e,u);return}const S=z(f.value)[0];if(!S){qe.error("未找到已启动的模型"),e.content="未找到已启动的模型,请先返回列表加载模型",e.done=!0,e.isStreaming=!1;return}h=e,await r({port:S.port,model_name:S.model_name,model_path:"",system_prompt:v.value,user_question:u,temperature:y.value,top_p:$.value,max_tokens:V.value}),e.content=a.value.displayContent||a.value.error||"(无回复)",e.think=a.value.thinkContent,e.isThinking=!1,e.isStreaming=!1,e.done=!0,h=null,c(),await M(),D()}async function ue(u,e){const P=`你好!我是 **${n.value||"示例模型"}**(mock 演示)。 +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/InferenceChatView-D5OD0NwF.js 你刚才问的是: @@ -9,4 +15,4 @@ import{E as he,a as _e}from"./el-form-item--AdlsBF7.js";import{E as be}from"./in ## 说明 - 当前为前端 mock 环境 - 回复内容由本地生成 -- 流式打字效果为前端模拟`;for(const S of P)u.content+=S,await M(),D(),u.content.length%3===0&&await new Promise(U=>setTimeout(U,16));u.isStreaming=!1,u.done=!0,await M(),D()}Z(()=>[a.value.displayContent,a.value.thinkContent,a.value.isThinking,a.value.done],async([u,e,P,S])=>{h&&(h.content=u,h.think=e,h.isThinking=P,h.isStreaming=!S,await M(),D())},{flush:"post"});function D(){I.value&&(I.value.scrollTop=I.value.scrollHeight)}function J(){h=null,k.value=[],c()}function de(u){const e=u.target;e.style.height="auto",e.style.height=Math.min(e.scrollHeight,120)+"px"}function ce(){const u=document.querySelector(".input-box");u&&(u.style.height="auto")}return Me(N),(u,e)=>{const P=ct,S=dt,U=be,B=_e,q=Je,me=ye,pe=he,fe=je;return g(),E("div",pt,[l("header",ft,[l("div",vt,[l("div",ht,[l("span",_t,A(n.value||"模型对话"),1),p?(g(),E("span",bt,"mock")):F("",!0)])]),l("button",{class:"header-btn",title:"设置",onClick:e[0]||(e[0]=m=>w.value=!0)},[...e[7]||(e[7]=[l("i",{class:"fa fa-sliders"},null,-1)])])]),l("div",{ref_key:"contentRef",ref:I,class:"chat-body"},[l("div",kt,[k.value.length===0?(g(),E("div",yt,[e[8]||(e[8]=l("div",{class:"empty-logo"},[l("i",{class:"fa fa-cube"})],-1)),e[9]||(e[9]=l("h2",null,"有什么我可以帮你的吗?",-1)),l("p",null,"开始与 "+A(n.value||"模型")+" 对话",1)])):F("",!0),(g(!0),E(Fe,null,He(k.value,(m,ve)=>(g(),E("div",{key:ve,class:K(["msg-row",m.role])},[m.role==="assistant"?(g(),E("div",Ct,[...e[10]||(e[10]=[l("i",{class:"fa fa-robot"},null,-1)])])):F("",!0),l("div",gt,[m.think?(g(),te(S,{key:0,class:"think-collapse"},{default:x(()=>[_(P,{title:"思考过程",name:"think"},{default:x(()=>[l("div",wt,A(m.think),1)]),_:2},1024)]),_:2},1024)):F("",!0),m.role==="user"?(g(),E("div",xt,A(m.content),1)):m.done?(g(),E("div",Tt,[_(We,{content:m.content},null,8,["content"])])):(g(),E("div",Et,[l("span",null,A(m.content||(m.isThinking?"思考中...":"生成中")),1),e[11]||(e[11]=l("span",{class:"typing-cursor"},null,-1))]))])],2))),128))])],512),l("footer",It,[l("div",Vt,[l("button",{class:"clear-btn",title:"清空对话",onClick:J},[...e[12]||(e[12]=[l("i",{class:"fa fa-eraser"},null,-1)])]),l("div",St,[ne(l("textarea",{"onUpdate:modelValue":e[1]||(e[1]=m=>C.value=m),class:"input-box",rows:"1",disabled:s(o),placeholder:"给模型发送消息...",onKeydown:se(ae(j,["exact","prevent"]),["enter"]),onInput:de},null,40,Kt),[[Re,C.value]]),l("button",{class:K(["send-btn",{active:C.value.trim()&&!s(o)}]),disabled:!C.value.trim()||s(o),onClick:j},[...e[13]||(e[13]=[l("i",{class:"fa fa-arrow-up"},null,-1)])],10,Nt)])]),e[14]||(e[14]=l("div",{class:"footer-hint"},"内容由 AI 生成,请仔细甄别。",-1))]),_(fe,{modelValue:w.value,"onUpdate:modelValue":e[6]||(e[6]=m=>w.value=m),title:"对话设置",size:"360px"},{default:x(()=>[_(pe,{"label-position":"top"},{default:x(()=>[_(B,{label:"系统提示词"},{default:x(()=>[_(U,{modelValue:v.value,"onUpdate:modelValue":e[2]||(e[2]=m=>v.value=m),type:"textarea",rows:6,placeholder:"设置模型角色/约束(可选)",resize:"none"},null,8,["modelValue"])]),_:1}),_(B,{label:"Temperature (温度)"},{default:x(()=>[_(q,{modelValue:y.value,"onUpdate:modelValue":e[3]||(e[3]=m=>y.value=m),min:0,max:2,step:.1,"show-input":""},null,8,["modelValue"])]),_:1}),_(B,{label:"Top P (核心采样)"},{default:x(()=>[_(q,{modelValue:$.value,"onUpdate:modelValue":e[4]||(e[4]=m=>$.value=m),min:0,max:1,step:.05,"show-input":""},null,8,["modelValue"])]),_:1}),_(B,{label:"Max Tokens (最大生成长度)"},{default:x(()=>[_(q,{modelValue:V.value,"onUpdate:modelValue":e[5]||(e[5]=m=>V.value=m),min:128,max:8192,step:128,"show-input":""},null,8,["modelValue"])]),_:1}),_(B,null,{default:x(()=>[_(me,{type:"danger",plain:"",onClick:J,style:{width:"100%","margin-top":"20px"}},{default:x(()=>[...e[15]||(e[15]=[l("i",{class:"fa fa-trash-o",style:{"margin-right":"4px"}},null,-1),ee("清空当前对话 ",-1)])]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])])}}}),os=Xe($t,[["__scopeId","data-v-9d0a3d84"]]);export{os as default}; +- 流式打字效果为前端模拟`;for(const S of P)u.content+=S,await M(),D(),u.content.length%3===0&&await new Promise(U=>setTimeout(U,16));u.isStreaming=!1,u.done=!0,await M(),D()}Z(()=>[a.value.displayContent,a.value.thinkContent,a.value.isThinking,a.value.done],async([u,e,P,S])=>{h&&(h.content=u,h.think=e,h.isThinking=P,h.isStreaming=!S,await M(),D())},{flush:"post"});function D(){I.value&&(I.value.scrollTop=I.value.scrollHeight)}function J(){h=null,k.value=[],c()}function de(u){const e=u.target;e.style.height="auto",e.style.height=Math.min(e.scrollHeight,120)+"px"}function ce(){const u=document.querySelector(".input-box");u&&(u.style.height="auto")}return Me(N),(u,e)=>{const P=ct,S=dt,U=be,B=_e,q=Je,me=ye,pe=he,fe=je;return g(),E("div",pt,[l("header",ft,[l("div",vt,[l("div",ht,[l("span",_t,A(n.value||"模型对话"),1),p?(g(),E("span",bt,"mock")):F("",!0)])]),l("button",{class:"header-btn",title:"设置",onClick:e[0]||(e[0]=m=>w.value=!0)},[...e[7]||(e[7]=[l("i",{class:"fa fa-sliders"},null,-1)])])]),l("div",{ref_key:"contentRef",ref:I,class:"chat-body"},[l("div",kt,[k.value.length===0?(g(),E("div",yt,[e[8]||(e[8]=l("div",{class:"empty-logo"},[l("i",{class:"fa fa-cube"})],-1)),e[9]||(e[9]=l("h2",null,"有什么我可以帮你的吗?",-1)),l("p",null,"开始与 "+A(n.value||"模型")+" 对话",1)])):F("",!0),(g(!0),E(Fe,null,He(k.value,(m,ve)=>(g(),E("div",{key:ve,class:K(["msg-row",m.role])},[m.role==="assistant"?(g(),E("div",Ct,[...e[10]||(e[10]=[l("i",{class:"fa fa-robot"},null,-1)])])):F("",!0),l("div",gt,[m.think?(g(),te(S,{key:0,class:"think-collapse"},{default:x(()=>[_(P,{title:"思考过程",name:"think"},{default:x(()=>[l("div",wt,A(m.think),1)]),_:2},1024)]),_:2},1024)):F("",!0),m.role==="user"?(g(),E("div",xt,A(m.content),1)):m.done?(g(),E("div",Tt,[_(We,{content:m.content},null,8,["content"])])):(g(),E("div",Et,[l("span",null,A(m.content||(m.isThinking?"思考中...":"生成中")),1),e[11]||(e[11]=l("span",{class:"typing-cursor"},null,-1))]))])],2))),128))])],512),l("footer",It,[l("div",Vt,[l("button",{class:"clear-btn",title:"清空对话",onClick:J},[...e[12]||(e[12]=[l("i",{class:"fa fa-eraser"},null,-1)])]),l("div",St,[ne(l("textarea",{"onUpdate:modelValue":e[1]||(e[1]=m=>C.value=m),class:"input-box",rows:"1",disabled:s(o),placeholder:"给模型发送消息...",onKeydown:se(ae(j,["exact","prevent"]),["enter"]),onInput:de},null,40,Kt),[[Re,C.value]]),l("button",{class:K(["send-btn",{active:C.value.trim()&&!s(o)}]),disabled:!C.value.trim()||s(o),onClick:j},[...e[13]||(e[13]=[l("i",{class:"fa fa-arrow-up"},null,-1)])],10,Nt)])]),e[14]||(e[14]=l("div",{class:"footer-hint"},"内容由 AI 生成,请仔细甄别。",-1))]),_(fe,{modelValue:w.value,"onUpdate:modelValue":e[6]||(e[6]=m=>w.value=m),title:"对话设置",size:"360px"},{default:x(()=>[_(pe,{"label-position":"top"},{default:x(()=>[_(B,{label:"系统提示词"},{default:x(()=>[_(U,{modelValue:v.value,"onUpdate:modelValue":e[2]||(e[2]=m=>v.value=m),type:"textarea",rows:6,placeholder:"设置模型角色/约束(可选)",resize:"none"},null,8,["modelValue"])]),_:1}),_(B,{label:"Temperature (温度)"},{default:x(()=>[_(q,{modelValue:y.value,"onUpdate:modelValue":e[3]||(e[3]=m=>y.value=m),min:0,max:2,step:.1,"show-input":""},null,8,["modelValue"])]),_:1}),_(B,{label:"Top P (核心采样)"},{default:x(()=>[_(q,{modelValue:$.value,"onUpdate:modelValue":e[4]||(e[4]=m=>$.value=m),min:0,max:1,step:.05,"show-input":""},null,8,["modelValue"])]),_:1}),_(B,{label:"Max Tokens (最大生成长度)"},{default:x(()=>[_(q,{modelValue:V.value,"onUpdate:modelValue":e[5]||(e[5]=m=>V.value=m),min:128,max:8192,step:128,"show-input":""},null,8,["modelValue"])]),_:1}),_(B,null,{default:x(()=>[_(me,{type:"danger",plain:"",onClick:J,style:{width:"100%","margin-top":"20px"}},{default:x(()=>[...e[15]||(e[15]=[l("i",{class:"fa fa-trash-o",style:{"margin-right":"4px"}},null,-1),ee("清空当前对话 ",-1)])]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])])}}}),os=Xe($t,[["__scopeId","data-v-7a15a4cd"]]);export{os as default}; diff --git a/frontend/dist/assets/InferenceCreateView-NSg6vwcm.js b/frontend/dist/assets/InferenceCreateView-NSg6vwcm.js new file mode 100644 index 0000000..c0c639b --- /dev/null +++ b/frontend/dist/assets/InferenceCreateView-NSg6vwcm.js @@ -0,0 +1 @@ +import{E as T}from"./el-alert-Ty1qfW58.js";import{a as A,E as D}from"./el-form-item-BA3ZlfqF.js";import{E as L}from"./index-zJ9bqPrh.js";import{E as j}from"./index-D23K2h6y.js";import{E as z,b as H,a as J}from"./el-select-CeiDjMzB.js";import{E as K}from"./el-divider-B4fvp0nA.js";import{d as Q,G as W,e as u,w as o,at as X,y as i,z as Y,o as s,s as a,x as b,c as v,ad as k,M as w,g as Z,j as p,A as B,v as ee}from"./index-CxbBjZKo.js";import"./el-scrollbar-B0E7ZTt3.js";import"./el-popper-OAwpEmER.js";/* empty css */import{P as te}from"./PageCard-CC9cofwx.js";import{g as le,a as ae}from"./model-B9dq9fy6.js";import"./vnode-DIVHEdsp.js";import"./castArray-CwVgzdTt.js";import"./_baseClone-B6d4qZbo.js";import"./raf-Bjl8yy5U.js";import"./index-C4wGR5UT.js";import"./index-DxP0p4ch.js";import"./index-DHcidAHK.js";import"./index-Bzaib5AU.js";import"./index-BjlLyKON.js";import"./scroll-Dvb2mTx8.js";import"./clamp-Ow4I6lPc.js";import"./toNumber-Yuob3eJv.js";import"./_baseIteratee-C6JbNheX.js";import"./el-card-BsCFVTSD.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const Ie=Q({__name:"InferenceCreateView",setup(oe){const E=ee(),f=i(),c=i(!1),m=i(""),V=i([]),h=i([]),_=i([]),x=p(()=>V.value.map(t=>({key:`db-${t.id}`,id:t.id,name:t.name,source:"database",model_path:t.path||""}))),M=p(()=>h.value.map(t=>({key:`trained-${t.id}`,id:t.id,name:t.name,source:"trained",model_path:t.merged_path||t.base_model_path||"",merged:t.merged,merging:t.merging,disabled:t.merged===!1}))),G=p(()=>{const t={};for(const e of[...x.value,...M.value])t[e.key]=e;return t}),n=Y({name:"",description:"",model_key:"",gpu_id:0}),I={name:[{required:!0,message:"请输入推理名称",trigger:"blur"}],model_key:[{required:!0,message:"请选择模型",trigger:"change"}]},O=p(()=>G.value[n.model_key]);async function S(){f.value&&await f.value.validate(async t=>{if(!t)return;const e=O.value;if(!e){B.warning("请选择模型");return}c.value=!0,m.value="正在启动模型服务...";try{await new Promise(r=>setTimeout(r,1200)),B.success("模型已启动"),E.push({path:"/model-inference/chat/mock",query:{model:e.name}})}finally{c.value=!1,m.value=""}})}function $(){E.back()}async function q(){try{const[t,e,r]=await Promise.all([le(),ae(),X()]);V.value=t||[],h.value=(e==null?void 0:e.models)||[],_.value=(r==null?void 0:r.gpu)||[],_.value.length>0&&(n.gpu_id=0)}catch{}}return W(q),(t,e)=>{const r=L,d=A,F=K,g=J,C=H,P=z,N=T,U=j,R=D;return s(),u(te,{title:"新建推理"},{default:o(()=>[a(R,{ref_key:"formRef",ref:f,model:n,rules:I,"label-width":"100px"},{default:o(()=>[a(d,{label:"推理名称",prop:"name"},{default:o(()=>[a(r,{modelValue:n.name,"onUpdate:modelValue":e[0]||(e[0]=l=>n.name=l),placeholder:"请输入推理名称",maxlength:"50","show-word-limit":"",style:{"max-width":"400px"}},null,8,["modelValue"])]),_:1}),a(d,{label:"描述"},{default:o(()=>[a(r,{modelValue:n.description,"onUpdate:modelValue":e[1]||(e[1]=l=>n.description=l),type:"textarea",rows:2,maxlength:"200","show-word-limit":"",style:{"max-width":"400px"}},null,8,["modelValue"])]),_:1}),a(F,{"content-position":"left"},{default:o(()=>[...e[4]||(e[4]=[b("选择模型",-1)])]),_:1}),a(d,{label:"选择模型",prop:"model_key"},{default:o(()=>[a(P,{modelValue:n.model_key,"onUpdate:modelValue":e[2]||(e[2]=l=>n.model_key=l),placeholder:"请选择模型",filterable:"",style:{width:"400px"}},{default:o(()=>[a(C,{label:"本地模型"},{default:o(()=>[(s(!0),v(w,null,k(x.value,l=>(s(),u(g,{key:l.key,label:l.name,value:l.key},null,8,["label","value"]))),128))]),_:1}),a(C,{label:"已训练模型"},{default:o(()=>[(s(!0),v(w,null,k(M.value,l=>(s(),u(g,{key:l.key,label:l.name+(l.disabled?"(未合并)":""),value:l.key,disabled:l.disabled},null,8,["label","value","disabled"]))),128))]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(d,{label:"GPU"},{default:o(()=>[a(P,{modelValue:n.gpu_id,"onUpdate:modelValue":e[3]||(e[3]=l=>n.gpu_id=l),style:{width:"400px"}},{default:o(()=>[(s(!0),v(w,null,k(_.value,(l,y)=>(s(),u(g,{key:y,label:`${l.name} (GPU${y})`,value:y},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),m.value?(s(),u(d,{key:0,label:"启动状态"},{default:o(()=>[a(N,{title:m.value,type:"info",closable:!1,"show-icon":""},null,8,["title"])]),_:1})):Z("",!0),a(d,null,{default:o(()=>[a(U,{type:"primary",loading:c.value,onClick:S},{default:o(()=>[...e[5]||(e[5]=[b("开始推理",-1)])]),_:1},8,["loading"]),a(U,{onClick:$},{default:o(()=>[...e[6]||(e[6]=[b("取消",-1)])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})}}});export{Ie as default}; diff --git a/frontend/dist/assets/InferenceListView-B67fPddK.js b/frontend/dist/assets/InferenceListView-B67fPddK.js new file mode 100644 index 0000000..8032361 --- /dev/null +++ b/frontend/dist/assets/InferenceListView-B67fPddK.js @@ -0,0 +1 @@ +import{E as D}from"./index-D23K2h6y.js";import{E as L}from"./index-BjlLyKON.js";import{E as A}from"./el-table-b_qkWXYf.js";import{d as S,G as $,ah as w,e as d,w as i,y as x,o as n,q as c,x as l,c as P,s as o,M as R,aa as f,A as h,v as V}from"./index-CxbBjZKo.js";import{E as J}from"./index-CLZoQJ1o.js";/* empty css */import"./el-checkbox-C_TzqU9u.js";import{D as O}from"./DataTablePage-C1WQGBXF.js";import{u as U}from"./usePolling-D0edaRGY.js";import{g as j,l as q,u as F,a as G,s as I,d as H}from"./compare-DtYcNyhY.js";import"./el-scrollbar-B0E7ZTt3.js";import"./index-DxP0p4ch.js";import"./el-popper-OAwpEmER.js";import"./index-DHcidAHK.js";import"./_baseClone-B6d4qZbo.js";import"./_baseIteratee-C6JbNheX.js";import"./castArray-CwVgzdTt.js";import"./debounce-BJxjS5F3.js";import"./toNumber-Yuob3eJv.js";import"./raf-Bjl8yy5U.js";import"./validator-AVoXfk3G.js";import"./index-C3HZL-2Y.js";import"./clamp-Ow4I6lPc.js";import"./index-36LucyXi.js";import"./scroll-Dvb2mTx8.js";import"./index-zJ9bqPrh.js";import"./index-C4wGR5UT.js";import"./omit-CbHF-OEy.js";import"./el-card-BsCFVTSD.js";import"./el-pagination-ByKJEnCx.js";import"./el-select-CeiDjMzB.js";import"./vnode-DIVHEdsp.js";import"./index-Bzaib5AU.js";import"./directive-DCr8Ae3g.js";import"./el-tooltip-l0sNRNKZ.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const K={class:"action-buttons"},Ae=S({__name:"InferenceListView",setup(Q){const E=V(),g=x(!1),y=x([]);let u=null;async function r(t=!1){t||(g.value=!0);try{y.value=await j()||[]}catch{}finally{t||(g.value=!1)}}function _(t){const e=k(t);return e.length>0&&e.some(s=>s.status==="starting")}function v(t){const e=k(t);return e.length===0?t.status==="loaded"||t.status==="ready":e.every(s=>s.status==="ready"||s.status==="running")&&!_(t)}function k(t){if(!t.load_status)return[];try{return(typeof t.load_status=="string"?JSON.parse(t.load_status):t.load_status).loaded_models||[]}catch{return[]}}function z(t){if(!t.models)return[];if(Array.isArray(t.models))return t.models.map(e=>e.model_name||e.name).filter(Boolean);try{const e=JSON.parse(t.models);if(Array.isArray(e))return e.map(s=>s.model_name||s.name).filter(Boolean)}catch{}return[]}async function B(t){await q(t.id),h.info("正在加载模型,请稍候..."),u&&clearTimeout(u),u=setTimeout(r,1e3)}async function T(t){await J.confirm("确定要停止模型服务吗?","确认停止",{type:"warning"}),await F(t.id),h.success("已停止模型服务"),r()}async function b(t){const e=await G(t.id).catch(()=>null);if(e!=null&&e.load_status){const s=k(e);for(const m of s)m.pid&&await I(m.pid).catch(()=>{})}await H(t.id),y.value=y.value.filter(s=>s.id!==t.id),await r(!0),h.success("删除成功")}function M(t){E.push(`/model-inference/chat/${t.id}`)}const{start:N}=U(()=>r(!0),3e3,{immediate:!1});return $(async()=>{await r(),N()}),w(()=>{u&&clearTimeout(u)}),(t,e)=>{const s=A,m=L,p=D;return n(),d(O,{title:"模型推理",data:y.value,loading:g.value,searchable:"","search-fields":["name","model_name","description"],"create-text":"新建推理","create-to":"/model-inference/create","delete-fn":b,"row-key":"id",onRefresh:r},{columns:i(()=>[o(s,{label:"推理名称",align:"center"},{default:i(({row:a})=>[l(f(a.model_name||a.name||"-"),1)]),_:1}),o(s,{label:"描述",align:"center","show-overflow-tooltip":""},{default:i(({row:a})=>[l(f(a.description||"-"),1)]),_:1}),o(s,{label:"状态",align:"center",width:"120"},{default:i(({row:a})=>[_(a)?(n(),d(m,{key:0,type:"warning",size:"small"},{default:i(()=>[...e[0]||(e[0]=[l("启动中",-1)])]),_:1})):v(a)?(n(),d(m,{key:1,type:"success",size:"small"},{default:i(()=>[...e[1]||(e[1]=[l("已就绪",-1)])]),_:1})):(n(),d(m,{key:2,type:"info",size:"small"},{default:i(()=>[l(f(a.status||"未启动"),1)]),_:2},1024))]),_:1}),o(s,{label:"相关模型",align:"center","show-overflow-tooltip":""},{default:i(({row:a})=>[l(f(z(a).join(",")||"-"),1)]),_:1}),o(s,{label:"创建时间",align:"center",width:"180"},{default:i(({row:a})=>[l(f(a.create_time?new Date(a.create_time).toLocaleString("zh-CN"):"-"),1)]),_:1})]),actions:i(({row:a})=>[c("div",K,[_(a)?(n(),d(p,{key:0,type:"warning",link:"",size:"small",loading:!0,disabled:""},{default:i(()=>[...e[2]||(e[2]=[l(" 加载中 ",-1)])]),_:1})):v(a)?(n(),P(R,{key:1},[o(p,{type:"success",link:"",size:"small",onClick:C=>M(a)},{default:i(()=>[...e[3]||(e[3]=[c("i",{class:"fa fa-comments-o",style:{"margin-right":"4px"}},null,-1),l("对话 ",-1)])]),_:1},8,["onClick"]),o(p,{type:"warning",link:"",size:"small",onClick:C=>T(a)},{default:i(()=>[...e[4]||(e[4]=[c("i",{class:"fa fa-stop-circle-o",style:{"margin-right":"4px"}},null,-1),l("停止 ",-1)])]),_:1},8,["onClick"])],64)):(n(),d(p,{key:2,type:"primary",link:"",size:"small",onClick:C=>B(a)},{default:i(()=>[...e[5]||(e[5]=[c("i",{class:"fa fa-play-circle-o",style:{"margin-right":"4px"}},null,-1),l("加载 ",-1)])]),_:1},8,["onClick"])),o(p,{type:"danger",link:"",size:"small",onClick:C=>b(a)},{default:i(()=>[...e[6]||(e[6]=[c("i",{class:"fa fa-trash-o",style:{"margin-right":"4px"}},null,-1),l("删除 ",-1)])]),_:1},8,["onClick"])])]),_:1},8,["data","loading"])}}});export{Ae as default}; diff --git a/frontend/dist/assets/LoginView-BnSabjr1.css b/frontend/dist/assets/LoginView-BnSabjr1.css deleted file mode 100644 index f5ac23a..0000000 --- a/frontend/dist/assets/LoginView-BnSabjr1.css +++ /dev/null @@ -1 +0,0 @@ -.el-link{--el-link-font-size:var(--el-font-size-base);--el-link-font-weight:var(--el-font-weight-primary);--el-link-text-color:var(--el-text-color-regular);--el-link-hover-text-color:var(--el-color-primary);--el-link-disabled-text-color:var(--el-text-color-placeholder);vertical-align:middle;cursor:pointer;font-size:var(--el-link-font-size);font-weight:var(--el-link-font-weight);color:var(--el-link-text-color);outline:none;flex-direction:row;justify-content:center;align-items:center;padding:0;text-decoration:none;display:inline-flex;position:relative}.el-link.is-hover-underline:hover:after{content:"";border-bottom:1px solid var(--el-link-hover-text-color);height:0;position:absolute;bottom:0;left:0;right:0}.el-link.is-underline:after{content:"";border-bottom:1px solid var(--el-link-text-color);height:0;position:absolute;bottom:0;left:0;right:0}.el-link:hover{color:var(--el-link-hover-text-color)}.el-link:hover:after{border-color:var(--el-link-hover-text-color)}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link__inner{justify-content:center;align-items:center;display:inline-flex}.el-link.el-link--primary{--el-link-text-color:var(--el-color-primary);--el-link-hover-text-color:var(--el-color-primary-light-3);--el-link-disabled-text-color:var(--el-color-primary-light-5)}.el-link.el-link--success{--el-link-text-color:var(--el-color-success);--el-link-hover-text-color:var(--el-color-success-light-3);--el-link-disabled-text-color:var(--el-color-success-light-5)}.el-link.el-link--warning{--el-link-text-color:var(--el-color-warning);--el-link-hover-text-color:var(--el-color-warning-light-3);--el-link-disabled-text-color:var(--el-color-warning-light-5)}.el-link.el-link--danger{--el-link-text-color:var(--el-color-danger);--el-link-hover-text-color:var(--el-color-danger-light-3);--el-link-disabled-text-color:var(--el-color-danger-light-5)}.el-link.el-link--error{--el-link-text-color:var(--el-color-error);--el-link-hover-text-color:var(--el-color-error-light-3);--el-link-disabled-text-color:var(--el-color-error-light-5)}.el-link.el-link--info{--el-link-text-color:var(--el-color-info);--el-link-hover-text-color:var(--el-color-info-light-3);--el-link-disabled-text-color:var(--el-color-info-light-5)}.el-link.is-disabled{color:var(--el-link-disabled-text-color);cursor:not-allowed}.el-link.is-disabled:after{border-color:var(--el-link-disabled-text-color)}.login-page[data-v-713185bd]{height:100vh;height:100dvh;display:grid;grid-template-columns:minmax(0,58fr) minmax(500px,42fr);overflow:hidden;background:#fcfcfe}.login-visual[data-v-713185bd]{min-height:0;height:100%;position:relative;color:#fff;background-color:#121127;background-image:url(/assets/login-hero-flow-cfjqVyxM.jpg);background-size:cover;background-position:center;overflow:hidden}.login-visual[data-v-713185bd]:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,rgba(12,12,35,.2),transparent 36%,rgba(12,12,35,.2));pointer-events:none}.login-visual-content[data-v-713185bd]{min-height:0;height:100%;position:relative;z-index:1;display:flex;flex-direction:column;padding:clamp(80px,10vh,132px) clamp(56px,6vw,112px) clamp(56px,7vh,84px)}.login-visual-copy[data-v-713185bd]{max-width:680px;margin-top:clamp(80px,11vh,136px)}.login-visual-copy h1[data-v-713185bd]{margin:0;font-size:clamp(38px,3.8vw,62px);line-height:1.2;letter-spacing:-.035em;font-weight:700;text-wrap:balance}.login-visual-copy p[data-v-713185bd]{margin:22px 0 0;color:#e2e8f0c2;font-size:clamp(17px,1.5vw,24px);line-height:1.6;letter-spacing:.01em}.login-visual-footer[data-v-713185bd]{width:min(100%,640px);margin-top:auto;display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:24px;color:#e2e8f0b8;font-size:16px;letter-spacing:.04em}.login-visual-footer span[data-v-713185bd]:nth-child(3),.login-visual-footer span[data-v-713185bd]:nth-child(5){text-align:center}.login-visual-footer span[data-v-713185bd]:nth-child(2n){color:#c7d2fecc}.login-panel[data-v-713185bd]{min-height:0;height:100%;position:relative;display:grid;place-items:center;padding:120px clamp(48px,5vw,88px) 96px;border-left:1px solid #e8eaf1;background:#fcfcfe}.brand-lockup[data-v-713185bd]{position:absolute;top:42px;right:clamp(36px,4vw,64px);display:flex;align-items:center;gap:9px}.brand-logo-crop[data-v-713185bd]{position:relative;display:block;overflow:hidden}.brand-logo-crop img[data-v-713185bd]{position:absolute;left:0;width:100%;max-width:none}.brand-logo-crop-mark[data-v-713185bd]{width:40px;height:38px}.brand-logo-crop-mark img[data-v-713185bd]{top:0}.brand-logo-crop-wordmark[data-v-713185bd]{width:96px;height:25px}.brand-logo-crop-wordmark img[data-v-713185bd]{bottom:0}.login-form-wrap[data-v-713185bd]{width:min(100%,480px)}.login-heading[data-v-713185bd]{margin-bottom:42px}.login-heading>span[data-v-713185bd]{display:block;margin-bottom:24px;color:#4f46e5;font-size:16px;line-height:1;font-weight:600}.login-heading h2[data-v-713185bd]{margin:0;color:#17182c;font-size:clamp(38px,3vw,48px);line-height:1.15;letter-spacing:-.035em;font-weight:700}.login-heading p[data-v-713185bd]{margin:14px 0 0;color:#8a93a6;font-size:16px;line-height:1.6}[data-v-713185bd] .el-form-item{margin-bottom:26px}[data-v-713185bd] .el-form-item__label{height:auto;margin-bottom:10px;padding:0;color:#272a3a;font-size:15px;line-height:1.4;font-weight:600}[data-v-713185bd] .el-input__wrapper{min-height:54px;padding:0 18px;border-radius:8px;background:#fff;box-shadow:0 0 0 1px #cfd4df inset;transition:box-shadow .16s ease,background-color .16s ease}[data-v-713185bd] .el-input__wrapper:hover{box-shadow:0 0 0 1px #aeb6c6 inset}[data-v-713185bd] .el-input__wrapper.is-focus{box-shadow:0 0 0 1px #4f46e5 inset,0 0 0 3px #4f46e51f}[data-v-713185bd] .el-input__inner{font-size:15px;color:#1e293b}[data-v-713185bd] .el-input__inner::placeholder{color:#a4acba}.login-options[data-v-713185bd]{display:flex;align-items:center;justify-content:space-between;margin:-2px 0 30px}.login-options[data-v-713185bd] .el-checkbox__label{color:#556070;font-size:14px}.login-options[data-v-713185bd] .el-link{font-weight:500;color:#4f46e5}.login-options[data-v-713185bd] .el-link:hover{color:#4338ca}.login-btn[data-v-713185bd]{width:100%;height:54px;font-size:16px;font-weight:600;border-radius:8px;border:none;background:linear-gradient(135deg,#4f46e5,#6366f1);color:#fff;box-shadow:0 10px 22px #4f46e52e;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.login-btn[data-v-713185bd]:hover{transform:translateY(-1px);box-shadow:0 14px 26px #4f46e53d;background:linear-gradient(135deg,#4338ca,#4f46e5)}.login-btn[data-v-713185bd]:active{transform:translateY(0);box-shadow:0 6px 14px #4f46e533}.login-panel footer[data-v-713185bd]{position:absolute;right:clamp(36px,4vw,64px);bottom:34px;color:#9aa2b2;font-size:13px}@media(max-width:1440px){.login-page[data-v-713185bd]{grid-template-columns:minmax(0,55fr) minmax(500px,45fr)}.login-visual-content[data-v-713185bd]{padding-inline:clamp(52px,5vw,72px)}.login-visual-copy[data-v-713185bd]{max-width:580px}.login-visual-copy h1[data-v-713185bd]{font-size:clamp(42px,3.6vw,52px)}.login-visual-copy p[data-v-713185bd]{font-size:clamp(16px,1.45vw,20px)}.login-panel[data-v-713185bd]{padding-inline:clamp(44px,4.2vw,64px)}.login-form-wrap[data-v-713185bd]{max-width:440px}}@media(max-width:1180px){.login-page[data-v-713185bd]{grid-template-columns:minmax(0,52fr) minmax(470px,48fr)}.login-visual-content[data-v-713185bd]{padding-inline:48px}.login-visual-copy h1[data-v-713185bd]{font-size:42px}.login-visual-footer[data-v-713185bd]{gap:14px;font-size:14px}}@media(max-height:820px)and (min-width:901px){.login-visual[data-v-713185bd]{background-position:center 54%}.login-visual-content[data-v-713185bd]{padding-top:48px;padding-bottom:38px}.login-visual-copy[data-v-713185bd]{max-width:560px;margin-top:clamp(52px,9vh,72px)}.login-visual-copy h1[data-v-713185bd]{font-size:clamp(38px,3.4vw,46px)}.login-visual-copy p[data-v-713185bd]{margin-top:14px;font-size:clamp(15px,1.35vw,18px)}.login-visual-footer[data-v-713185bd]{gap:14px;font-size:14px}.login-panel[data-v-713185bd]{padding-top:78px;padding-bottom:56px}.brand-lockup[data-v-713185bd]{top:24px}.login-heading[data-v-713185bd]{margin-bottom:26px}.login-heading>span[data-v-713185bd]{margin-bottom:16px;font-size:15px}.login-heading h2[data-v-713185bd]{font-size:38px}.login-heading p[data-v-713185bd]{margin-top:8px;font-size:15px}[data-v-713185bd] .el-form-item{margin-bottom:18px}[data-v-713185bd] .el-form-item__label{margin-bottom:7px;font-size:14px}[data-v-713185bd] .el-input__wrapper{min-height:48px}.login-options[data-v-713185bd]{margin-bottom:20px}.login-btn[data-v-713185bd]{height:50px}.login-panel footer[data-v-713185bd]{bottom:18px}}@media(max-width:900px){.login-page[data-v-713185bd]{display:block;height:auto;min-height:100vh;min-height:100dvh;overflow:auto}.login-visual[data-v-713185bd]{display:none}.login-panel[data-v-713185bd]{height:auto;min-height:100vh;min-height:100dvh;padding:116px 32px 84px;border-left:0}.login-panel footer[data-v-713185bd]{right:50%;transform:translate(50%);white-space:nowrap}}@media(max-width:560px){.login-panel[data-v-713185bd]{display:flex;align-items:center;padding:100px 24px 72px}.brand-lockup[data-v-713185bd]{top:28px;right:24px;transform:scale(.88);transform-origin:top right}.login-heading[data-v-713185bd]{margin-bottom:32px}.login-heading>span[data-v-713185bd]{margin-bottom:18px}.login-heading h2[data-v-713185bd]{font-size:36px}[data-v-713185bd] .el-form-item{margin-bottom:22px}.login-options[data-v-713185bd]{margin-bottom:26px}} diff --git a/frontend/dist/assets/LoginView-DurC5Xb4.css b/frontend/dist/assets/LoginView-DurC5Xb4.css new file mode 100644 index 0000000..b46fc60 --- /dev/null +++ b/frontend/dist/assets/LoginView-DurC5Xb4.css @@ -0,0 +1 @@ +.el-link{--el-link-font-size:var(--el-font-size-base);--el-link-font-weight:var(--el-font-weight-primary);--el-link-text-color:var(--el-text-color-regular);--el-link-hover-text-color:var(--el-color-primary);--el-link-disabled-text-color:var(--el-text-color-placeholder);vertical-align:middle;cursor:pointer;font-size:var(--el-link-font-size);font-weight:var(--el-link-font-weight);color:var(--el-link-text-color);outline:none;flex-direction:row;justify-content:center;align-items:center;padding:0;text-decoration:none;display:inline-flex;position:relative}.el-link.is-hover-underline:hover:after{content:"";border-bottom:1px solid var(--el-link-hover-text-color);height:0;position:absolute;bottom:0;left:0;right:0}.el-link.is-underline:after{content:"";border-bottom:1px solid var(--el-link-text-color);height:0;position:absolute;bottom:0;left:0;right:0}.el-link:hover{color:var(--el-link-hover-text-color)}.el-link:hover:after{border-color:var(--el-link-hover-text-color)}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link__inner{justify-content:center;align-items:center;display:inline-flex}.el-link.el-link--primary{--el-link-text-color:var(--el-color-primary);--el-link-hover-text-color:var(--el-color-primary-light-3);--el-link-disabled-text-color:var(--el-color-primary-light-5)}.el-link.el-link--success{--el-link-text-color:var(--el-color-success);--el-link-hover-text-color:var(--el-color-success-light-3);--el-link-disabled-text-color:var(--el-color-success-light-5)}.el-link.el-link--warning{--el-link-text-color:var(--el-color-warning);--el-link-hover-text-color:var(--el-color-warning-light-3);--el-link-disabled-text-color:var(--el-color-warning-light-5)}.el-link.el-link--danger{--el-link-text-color:var(--el-color-danger);--el-link-hover-text-color:var(--el-color-danger-light-3);--el-link-disabled-text-color:var(--el-color-danger-light-5)}.el-link.el-link--error{--el-link-text-color:var(--el-color-error);--el-link-hover-text-color:var(--el-color-error-light-3);--el-link-disabled-text-color:var(--el-color-error-light-5)}.el-link.el-link--info{--el-link-text-color:var(--el-color-info);--el-link-hover-text-color:var(--el-color-info-light-3);--el-link-disabled-text-color:var(--el-color-info-light-5)}.el-link.is-disabled{color:var(--el-link-disabled-text-color);cursor:not-allowed}.el-link.is-disabled:after{border-color:var(--el-link-disabled-text-color)}.login-page[data-v-5b789cef]{height:100vh;height:100dvh;display:grid;grid-template-columns:minmax(0,58fr) minmax(500px,42fr);overflow:hidden;background:#fcfcfe}.login-visual[data-v-5b789cef]{min-height:0;height:100%;position:relative;color:#fff;background-color:#121127;background-image:url(/assets/login-hero-flow-cfjqVyxM.jpg);background-size:cover;background-position:center;overflow:hidden}.login-visual[data-v-5b789cef]:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,rgba(12,12,35,.2),transparent 36%,rgba(12,12,35,.2));pointer-events:none}.login-visual-content[data-v-5b789cef]{min-height:0;height:100%;position:relative;z-index:1;display:flex;flex-direction:column;padding:clamp(80px,10vh,132px) clamp(56px,6vw,112px) clamp(56px,7vh,84px)}.login-visual-copy[data-v-5b789cef]{max-width:680px;margin-top:clamp(80px,11vh,136px)}.login-visual-copy h1[data-v-5b789cef]{margin:0;font-size:clamp(38px,3.8vw,62px);line-height:1.2;letter-spacing:-.035em;font-weight:700;text-wrap:balance}.login-visual-copy p[data-v-5b789cef]{margin:22px 0 0;color:#e2e8f0c2;font-size:clamp(17px,1.5vw,24px);line-height:1.6;letter-spacing:.01em}.login-visual-footer[data-v-5b789cef]{width:min(100%,640px);margin-top:auto;display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:24px;color:#e2e8f0b8;font-size:16px;letter-spacing:.04em}.login-visual-footer span[data-v-5b789cef]:nth-child(3),.login-visual-footer span[data-v-5b789cef]:nth-child(5){text-align:center}.login-visual-footer span[data-v-5b789cef]:nth-child(2n){color:#c7d2fecc}.login-panel[data-v-5b789cef]{min-height:0;height:100%;position:relative;display:grid;place-items:center;padding:120px clamp(48px,5vw,88px) 96px;border-left:1px solid #e8eaf1;background:#fcfcfe}.brand-lockup[data-v-5b789cef]{position:absolute;top:42px;right:clamp(36px,4vw,64px);display:flex;align-items:center;gap:9px}.brand-logo-crop[data-v-5b789cef]{position:relative;display:block;overflow:hidden}.brand-logo-crop img[data-v-5b789cef]{position:absolute;left:0;width:100%;max-width:none}.brand-logo-crop-mark[data-v-5b789cef]{width:40px;height:38px}.brand-logo-crop-mark img[data-v-5b789cef]{top:0}.brand-logo-crop-wordmark[data-v-5b789cef]{width:96px;height:25px}.brand-logo-crop-wordmark img[data-v-5b789cef]{bottom:0}.login-form-wrap[data-v-5b789cef]{width:min(100%,480px)}.login-heading[data-v-5b789cef]{margin-bottom:42px}.login-heading>span[data-v-5b789cef]{display:block;margin-bottom:24px;color:#4f46e5;font-size:16px;line-height:1;font-weight:600}.login-heading h2[data-v-5b789cef]{margin:0;color:#17182c;font-size:clamp(38px,3vw,48px);line-height:1.15;letter-spacing:-.035em;font-weight:700}.login-heading p[data-v-5b789cef]{margin:14px 0 0;color:#8a93a6;font-size:16px;line-height:1.6}[data-v-5b789cef] .el-form-item{margin-bottom:26px}[data-v-5b789cef] .el-form-item__label{height:auto;margin-bottom:10px;padding:0;color:#272a3a;font-size:15px;line-height:1.4;font-weight:600}[data-v-5b789cef] .el-input__wrapper{min-height:54px;padding:0 18px;border-radius:8px;background:#fff;box-shadow:0 0 0 1px #cfd4df inset;transition:box-shadow .16s ease,background-color .16s ease}[data-v-5b789cef] .el-input__wrapper:hover{box-shadow:0 0 0 1px #aeb6c6 inset}[data-v-5b789cef] .el-input__wrapper.is-focus{box-shadow:0 0 0 1px #4f46e5 inset,0 0 0 3px #4f46e51f}[data-v-5b789cef] .el-input__inner{font-size:15px;color:#1e293b}[data-v-5b789cef] .el-input__inner::placeholder{color:#a4acba}.login-options[data-v-5b789cef]{display:flex;align-items:center;justify-content:space-between;margin:-2px 0 30px}.login-options[data-v-5b789cef] .el-checkbox__label{color:#556070;font-size:14px}.login-options[data-v-5b789cef] .el-link{font-weight:500;color:#4f46e5}.login-options[data-v-5b789cef] .el-link:hover{color:#4338ca}.login-btn[data-v-5b789cef]{width:100%;height:54px;font-size:16px;font-weight:600;border-radius:8px;border:none;background:linear-gradient(135deg,#4f46e5,#6366f1);color:#fff;box-shadow:0 10px 22px #4f46e52e;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.login-btn[data-v-5b789cef]:hover{transform:translateY(-1px);box-shadow:0 14px 26px #4f46e53d;background:linear-gradient(135deg,#4338ca,#4f46e5)}.login-btn[data-v-5b789cef]:active{transform:translateY(0);box-shadow:0 6px 14px #4f46e533}.login-panel footer[data-v-5b789cef]{position:absolute;right:clamp(36px,4vw,64px);bottom:34px;color:#9aa2b2;font-size:13px}@media(max-width:1440px){.login-page[data-v-5b789cef]{grid-template-columns:minmax(0,55fr) minmax(500px,45fr)}.login-visual-content[data-v-5b789cef]{padding-inline:clamp(52px,5vw,72px)}.login-visual-copy[data-v-5b789cef]{max-width:580px}.login-visual-copy h1[data-v-5b789cef]{font-size:clamp(42px,3.6vw,52px)}.login-visual-copy p[data-v-5b789cef]{font-size:clamp(16px,1.45vw,20px)}.login-panel[data-v-5b789cef]{padding-inline:clamp(44px,4.2vw,64px)}.login-form-wrap[data-v-5b789cef]{max-width:440px}}@media(max-width:1180px){.login-page[data-v-5b789cef]{grid-template-columns:minmax(0,52fr) minmax(470px,48fr)}.login-visual-content[data-v-5b789cef]{padding-inline:48px}.login-visual-copy h1[data-v-5b789cef]{font-size:42px}.login-visual-footer[data-v-5b789cef]{gap:14px;font-size:14px}}@media(max-height:820px)and (min-width:901px){.login-visual[data-v-5b789cef]{background-position:center 54%}.login-visual-content[data-v-5b789cef]{padding-top:48px;padding-bottom:38px}.login-visual-copy[data-v-5b789cef]{max-width:560px;margin-top:clamp(52px,9vh,72px)}.login-visual-copy h1[data-v-5b789cef]{font-size:clamp(38px,3.4vw,46px)}.login-visual-copy p[data-v-5b789cef]{margin-top:14px;font-size:clamp(15px,1.35vw,18px)}.login-visual-footer[data-v-5b789cef]{gap:14px;font-size:14px}.login-panel[data-v-5b789cef]{padding-top:78px;padding-bottom:56px}.brand-lockup[data-v-5b789cef]{top:24px}.login-heading[data-v-5b789cef]{margin-bottom:26px}.login-heading>span[data-v-5b789cef]{margin-bottom:16px;font-size:15px}.login-heading h2[data-v-5b789cef]{font-size:38px}.login-heading p[data-v-5b789cef]{margin-top:8px;font-size:15px}[data-v-5b789cef] .el-form-item{margin-bottom:18px}[data-v-5b789cef] .el-form-item__label{margin-bottom:7px;font-size:14px}[data-v-5b789cef] .el-input__wrapper{min-height:48px}.login-options[data-v-5b789cef]{margin-bottom:20px}.login-btn[data-v-5b789cef]{height:50px}.login-panel footer[data-v-5b789cef]{bottom:18px}}@media(max-width:900px){.login-page[data-v-5b789cef]{display:block;height:auto;min-height:100vh;min-height:100dvh;overflow:auto}.login-visual[data-v-5b789cef]{display:none}.login-panel[data-v-5b789cef]{height:auto;min-height:100vh;min-height:100dvh;padding:116px 32px 84px;border-left:0}.login-panel footer[data-v-5b789cef]{right:50%;transform:translate(50%);white-space:nowrap}}@media(max-width:560px){.login-panel[data-v-5b789cef]{display:flex;align-items:center;padding:100px 24px 72px}.brand-lockup[data-v-5b789cef]{top:28px;right:24px;transform:scale(.88);transform-origin:top right}.login-heading[data-v-5b789cef]{margin-bottom:32px}.login-heading>span[data-v-5b789cef]{margin-bottom:18px}.login-heading h2[data-v-5b789cef]{font-size:36px}[data-v-5b789cef] .el-form-item{margin-bottom:22px}.login-options[data-v-5b789cef]{margin-bottom:26px}} diff --git a/frontend/dist/assets/LoginView-Pwx0U7_G.js b/frontend/dist/assets/LoginView-Pwx0U7_G.js index e6ed9ed..0073ba8 100644 --- a/frontend/dist/assets/LoginView-Pwx0U7_G.js +++ b/frontend/dist/assets/LoginView-Pwx0U7_G.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/LoginView-Pwx0U7_G.js import{E as $,a as q}from"./el-form-item--AdlsBF7.js";import{E as z}from"./index-D0wqu88j.js";import{u as K,E as P}from"./index-6OTFNiIi.js";import{E as R}from"./el-checkbox-Pnt9POcY.js";import{b as T,i as U,d as N,u as A,a as D,o as u,c as k,e as h,w as t,r as M,f as w,E as j,g,n as E,h as V,j as b,k as C,l as G,m as H,p as J,q as n,s,t as O,v as Q,x as y,y as B,z as W,A as X}from"./index-CD29OCdJ.js";import{_ as S}from"./logo-CxXS7KxG.js";import{_ as Y}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./castArray-BEiueV6y.js";import"./_baseClone-Blem5BWg.js";import"./raf-DGtHIxe2.js";import"./index-C8FAS7l2.js";import"./index-DpY84JwG.js";import"./omit-9H73Nvwk.js";const Z=T({type:{type:String,values:["primary","success","warning","info","danger","default"],default:void 0},underline:{type:[Boolean,String],values:[!0,!1,"always","never","hover"],default:void 0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:U}}),ee={click:l=>l instanceof MouseEvent},ae=["href","target"];var ne=N({name:"ElLink",__name:"link",props:Z,emits:ee,setup(l,{emit:m}){const o=l,i=m,r=A("link");K({scope:"el-link",from:"The underline option (boolean)",replacement:"'always' | 'hover' | 'never'",version:"3.0.0",ref:"https://element-plus.org/en-US/component/link.html#underline"},b(()=>C(o.underline)));const a=D("link"),c=b(()=>{var e;return[a.b(),a.m(o.type??((e=r.value)==null?void 0:e.type)??"default"),a.is("disabled",o.disabled),a.is("underline",d.value==="always"),a.is("hover-underline",d.value==="hover"&&!o.disabled)]}),d=b(()=>{var e;return C(o.underline)?o.underline?"hover":"never":o.underline??((e=r.value)==null?void 0:e.underline)??"hover"});function p(e){o.disabled||i("click",e)}return(e,f)=>(u(),k("a",{class:E(c.value),href:l.disabled||!l.href?void 0:l.href,target:l.disabled||!l.href?void 0:l.target,onClick:p},[l.icon?(u(),h(w(j),{key:0},{default:t(()=>[(u(),h(M(l.icon)))]),_:1})):g("v-if",!0),e.$slots.default?(u(),k("span",{key:1,class:E(w(a).e("inner"))},[V(e.$slots,"default")],2)):g("v-if",!0),e.$slots.icon?V(e.$slots,"icon",{key:2}):g("v-if",!0)],10,ae))}}),le=ne;const oe=G(le),se={class:"login-page"},te={class:"login-panel"},re={class:"login-form-wrap"},ie={class:"login-options"},de=N({__name:"LoginView",setup(l){const m=Q(),o=H(),i=B(),r=B(!1),a=W({username:"",password:""}),c={username:[{required:!0,message:"请输入账号",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}]};async function d(){i.value&&await i.value.validate(async p=>{if(p){r.value=!0;try{await o.login(a.username,a.password),X.success("登录成功"),m.push("/dashboard")}catch{}finally{r.value=!1}}})}return(p,e)=>{const f=z,_=q,x=R,F=oe,I=P,L=$;return u(),k("div",se,[e[8]||(e[8]=J('',1)),n("main",te,[e[6]||(e[6]=n("div",{class:"brand-lockup",role:"img","aria-label":"远光软件"},[n("span",{class:"brand-logo-crop brand-logo-crop-mark","aria-hidden":"true"},[n("img",{src:S,alt:""})]),n("span",{class:"brand-logo-crop brand-logo-crop-wordmark","aria-hidden":"true"},[n("img",{src:S,alt:""})])],-1)),n("div",re,[e[5]||(e[5]=n("div",{class:"login-heading"},[n("span",null,"账号登录"),n("h2",null,"欢迎回来"),n("p",null,"登录后继续使用微调平台")],-1)),s(L,{ref_key:"loginFormRef",ref:i,model:a,rules:c,"label-position":"top",size:"large",onKeyup:O(d,["enter"])},{default:t(()=>[s(_,{label:"账号",prop:"username"},{default:t(()=>[s(f,{modelValue:a.username,"onUpdate:modelValue":e[0]||(e[0]=v=>a.username=v),placeholder:"请输入账号",clearable:""},null,8,["modelValue"])]),_:1}),s(_,{label:"密码",prop:"password"},{default:t(()=>[s(f,{modelValue:a.password,"onUpdate:modelValue":e[1]||(e[1]=v=>a.password=v),type:"password",placeholder:"请输入密码","show-password":""},null,8,["modelValue"])]),_:1}),n("div",ie,[s(x,null,{default:t(()=>[...e[2]||(e[2]=[y("记住密码",-1)])]),_:1}),s(F,{type:"primary",underline:!1},{default:t(()=>[...e[3]||(e[3]=[y("忘记密码?",-1)])]),_:1})]),s(I,{type:"primary",class:"login-btn",loading:r.value,onClick:d},{default:t(()=>[...e[4]||(e[4]=[y(" 登录 ",-1)])]),_:1},8,["loading"])]),_:1},8,["model"])]),e[7]||(e[7]=n("footer",null,"© 2026 远光软件",-1))])])}}}),Ee=Y(de,[["__scopeId","data-v-713185bd"]]);export{Ee as default}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/LoginView-DxdhlDPY.js +import{E as $,a as q}from"./el-form-item-Bq0n_p5a.js";import{E as z}from"./index-h5FkzAP_.js";import{u as K,E as P}from"./index-BNsCyG4A.js";import{E as R}from"./el-checkbox-pV3o_8iy.js";import{b as T,i as U,d as N,u as A,a as D,o as u,c as k,e as h,w as t,r as M,f as w,E as j,g,n as E,h as V,j as b,k as C,l as G,m as H,p as J,q as n,s,t as O,v as Q,x as y,y as B,z as W,A as X}from"./index-Ds9AETjS.js";import{_ as S}from"./logo-CxXS7KxG.js";import{_ as Y}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./castArray-BWI4UxBy.js";import"./_baseClone-CZxxnGCv.js";import"./raf-zQ00nuMI.js";import"./index-B0if-AHo.js";import"./index-BSbCLbaz.js";import"./omit-BzI1MV_K.js";const Z=T({type:{type:String,values:["primary","success","warning","info","danger","default"],default:void 0},underline:{type:[Boolean,String],values:[!0,!1,"always","never","hover"],default:void 0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:U}}),ee={click:l=>l instanceof MouseEvent},ae=["href","target"];var ne=N({name:"ElLink",__name:"link",props:Z,emits:ee,setup(l,{emit:m}){const o=l,i=m,r=A("link");K({scope:"el-link",from:"The underline option (boolean)",replacement:"'always' | 'hover' | 'never'",version:"3.0.0",ref:"https://element-plus.org/en-US/component/link.html#underline"},b(()=>C(o.underline)));const a=D("link"),c=b(()=>{var e;return[a.b(),a.m(o.type??((e=r.value)==null?void 0:e.type)??"default"),a.is("disabled",o.disabled),a.is("underline",d.value==="always"),a.is("hover-underline",d.value==="hover"&&!o.disabled)]}),d=b(()=>{var e;return C(o.underline)?o.underline?"hover":"never":o.underline??((e=r.value)==null?void 0:e.underline)??"hover"});function p(e){o.disabled||i("click",e)}return(e,f)=>(u(),k("a",{class:E(c.value),href:l.disabled||!l.href?void 0:l.href,target:l.disabled||!l.href?void 0:l.target,onClick:p},[l.icon?(u(),h(w(j),{key:0},{default:t(()=>[(u(),h(M(l.icon)))]),_:1})):g("v-if",!0),e.$slots.default?(u(),k("span",{key:1,class:E(w(a).e("inner"))},[V(e.$slots,"default")],2)):g("v-if",!0),e.$slots.icon?V(e.$slots,"icon",{key:2}):g("v-if",!0)],10,ae))}}),le=ne;const oe=G(le),se={class:"login-page"},te={class:"login-panel"},re={class:"login-form-wrap"},ie={class:"login-options"},de=N({__name:"LoginView",setup(l){const m=Q(),o=H(),i=B(),r=B(!1),a=W({username:"",password:""}),c={username:[{required:!0,message:"请输入账号",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}]};async function d(){i.value&&await i.value.validate(async p=>{if(p){r.value=!0;try{await o.login(a.username,a.password),X.success("登录成功"),m.push("/dashboard")}catch{}finally{r.value=!1}}})}return(p,e)=>{const f=z,_=q,x=R,F=oe,I=P,L=$;return u(),k("div",se,[e[8]||(e[8]=J('',1)),n("main",te,[e[6]||(e[6]=n("div",{class:"brand-lockup",role:"img","aria-label":"远光软件"},[n("span",{class:"brand-logo-crop brand-logo-crop-mark","aria-hidden":"true"},[n("img",{src:S,alt:""})]),n("span",{class:"brand-logo-crop brand-logo-crop-wordmark","aria-hidden":"true"},[n("img",{src:S,alt:""})])],-1)),n("div",re,[e[5]||(e[5]=n("div",{class:"login-heading"},[n("span",null,"账号登录"),n("h2",null,"欢迎回来"),n("p",null,"登录后继续使用微调平台")],-1)),s(L,{ref_key:"loginFormRef",ref:i,model:a,rules:c,"label-position":"top",size:"large",onKeyup:O(d,["enter"])},{default:t(()=>[s(_,{label:"账号",prop:"username"},{default:t(()=>[s(f,{modelValue:a.username,"onUpdate:modelValue":e[0]||(e[0]=v=>a.username=v),placeholder:"请输入账号",clearable:""},null,8,["modelValue"])]),_:1}),s(_,{label:"密码",prop:"password"},{default:t(()=>[s(f,{modelValue:a.password,"onUpdate:modelValue":e[1]||(e[1]=v=>a.password=v),type:"password",placeholder:"请输入密码","show-password":""},null,8,["modelValue"])]),_:1}),n("div",ie,[s(x,null,{default:t(()=>[...e[2]||(e[2]=[y("记住密码",-1)])]),_:1}),s(F,{type:"primary",underline:!1},{default:t(()=>[...e[3]||(e[3]=[y("忘记密码?",-1)])]),_:1})]),s(I,{type:"primary",class:"login-btn",loading:r.value,onClick:d},{default:t(()=>[...e[4]||(e[4]=[y(" 登录 ",-1)])]),_:1},8,["loading"])]),_:1},8,["model"])]),e[7]||(e[7]=n("footer",null,"© 2026 远光软件",-1))])])}}}),Ee=Y(de,[["__scopeId","data-v-713185bd"]]);export{Ee as default}; +======== +import{E as $,a as q}from"./el-form-item-BA3ZlfqF.js";import{E as z}from"./index-zJ9bqPrh.js";import{u as K,E as P}from"./index-D23K2h6y.js";import{E as R}from"./el-checkbox-C_TzqU9u.js";import{b as T,i as U,d as N,u as A,a as D,o as u,c as k,e as h,w as t,r as M,f as w,E as j,g,n as E,h as V,j as b,k as C,l as G,m as H,p as J,q as n,s,t as O,v as Q,x as y,y as B,z as W,A as X}from"./index-CxbBjZKo.js";import{_ as S}from"./logo-CxXS7KxG.js";import{_ as Y}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./castArray-CwVgzdTt.js";import"./_baseClone-B6d4qZbo.js";import"./raf-Bjl8yy5U.js";import"./index-C4wGR5UT.js";import"./index-DxP0p4ch.js";import"./omit-CbHF-OEy.js";const Z=T({type:{type:String,values:["primary","success","warning","info","danger","default"],default:void 0},underline:{type:[Boolean,String],values:[!0,!1,"always","never","hover"],default:void 0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:U}}),ee={click:l=>l instanceof MouseEvent},ae=["href","target"];var ne=N({name:"ElLink",__name:"link",props:Z,emits:ee,setup(l,{emit:c}){const o=l,i=c,r=A("link");K({scope:"el-link",from:"The underline option (boolean)",replacement:"'always' | 'hover' | 'never'",version:"3.0.0",ref:"https://element-plus.org/en-US/component/link.html#underline"},b(()=>C(o.underline)));const a=D("link"),m=b(()=>{var e;return[a.b(),a.m(o.type??((e=r.value)==null?void 0:e.type)??"default"),a.is("disabled",o.disabled),a.is("underline",d.value==="always"),a.is("hover-underline",d.value==="hover"&&!o.disabled)]}),d=b(()=>{var e;return C(o.underline)?o.underline?"hover":"never":o.underline??((e=r.value)==null?void 0:e.underline)??"hover"});function p(e){o.disabled||i("click",e)}return(e,f)=>(u(),k("a",{class:E(m.value),href:l.disabled||!l.href?void 0:l.href,target:l.disabled||!l.href?void 0:l.target,onClick:p},[l.icon?(u(),h(w(j),{key:0},{default:t(()=>[(u(),h(M(l.icon)))]),_:1})):g("v-if",!0),e.$slots.default?(u(),k("span",{key:1,class:E(w(a).e("inner"))},[V(e.$slots,"default")],2)):g("v-if",!0),e.$slots.icon?V(e.$slots,"icon",{key:2}):g("v-if",!0)],10,ae))}}),le=ne;const oe=G(le),se={class:"login-page"},te={class:"login-panel"},re={class:"login-form-wrap"},ie={class:"login-options"},de=N({__name:"LoginView",setup(l){const c=Q(),o=H(),i=B(),r=B(!1),a=W({username:"",password:""}),m={username:[{required:!0,message:"请输入账号",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}]};async function d(){i.value&&await i.value.validate(async p=>{if(p){r.value=!0;try{await o.login(a.username,a.password),X.success("登录成功"),c.push("/dashboard")}catch{}finally{r.value=!1}}})}return(p,e)=>{const f=z,_=q,x=R,F=oe,I=P,L=$;return u(),k("div",se,[e[8]||(e[8]=J('',1)),n("main",te,[e[6]||(e[6]=n("div",{class:"brand-lockup",role:"img","aria-label":"远光软件"},[n("span",{class:"brand-logo-crop brand-logo-crop-mark","aria-hidden":"true"},[n("img",{src:S,alt:""})]),n("span",{class:"brand-logo-crop brand-logo-crop-wordmark","aria-hidden":"true"},[n("img",{src:S,alt:""})])],-1)),n("div",re,[e[5]||(e[5]=n("div",{class:"login-heading"},[n("span",null,"账号登录"),n("h2",null,"欢迎回来"),n("p",null,"登录后继续使用微调平台")],-1)),s(L,{ref_key:"loginFormRef",ref:i,model:a,rules:m,"label-position":"top",size:"large",onKeyup:O(d,["enter"])},{default:t(()=>[s(_,{label:"账号",prop:"username"},{default:t(()=>[s(f,{modelValue:a.username,"onUpdate:modelValue":e[0]||(e[0]=v=>a.username=v),placeholder:"请输入账号",clearable:""},null,8,["modelValue"])]),_:1}),s(_,{label:"密码",prop:"password"},{default:t(()=>[s(f,{modelValue:a.password,"onUpdate:modelValue":e[1]||(e[1]=v=>a.password=v),type:"password",placeholder:"请输入密码","show-password":""},null,8,["modelValue"])]),_:1}),n("div",ie,[s(x,null,{default:t(()=>[...e[2]||(e[2]=[y("记住密码",-1)])]),_:1}),s(F,{type:"primary",underline:!1},{default:t(()=>[...e[3]||(e[3]=[y("忘记密码?",-1)])]),_:1})]),s(I,{type:"primary",class:"login-btn",loading:r.value,onClick:d},{default:t(()=>[...e[4]||(e[4]=[y(" 登录 ",-1)])]),_:1},8,["loading"])]),_:1},8,["model"])]),e[7]||(e[7]=n("footer",null,"© 2026 远光软件",-1))])])}}}),Ee=Y(de,[["__scopeId","data-v-5b789cef"]]);export{Ee as default}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/LoginView-Q_NnBv06.js diff --git a/frontend/dist/assets/LoginView-Q_NnBv06.js b/frontend/dist/assets/LoginView-Q_NnBv06.js new file mode 100644 index 0000000..d1a4cc6 --- /dev/null +++ b/frontend/dist/assets/LoginView-Q_NnBv06.js @@ -0,0 +1 @@ +import{E as $,a as q}from"./el-form-item-BA3ZlfqF.js";import{E as z}from"./index-zJ9bqPrh.js";import{u as K,E as P}from"./index-D23K2h6y.js";import{E as R}from"./el-checkbox-C_TzqU9u.js";import{b as T,i as U,d as N,u as A,a as D,o as u,c as k,e as h,w as t,r as M,f as w,E as j,g,n as E,h as V,j as b,k as C,l as G,m as H,p as J,q as n,s,t as O,v as Q,x as y,y as B,z as W,A as X}from"./index-CxbBjZKo.js";import{_ as S}from"./logo-CxXS7KxG.js";import{_ as Y}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./castArray-CwVgzdTt.js";import"./_baseClone-B6d4qZbo.js";import"./raf-Bjl8yy5U.js";import"./index-C4wGR5UT.js";import"./index-DxP0p4ch.js";import"./omit-CbHF-OEy.js";const Z=T({type:{type:String,values:["primary","success","warning","info","danger","default"],default:void 0},underline:{type:[Boolean,String],values:[!0,!1,"always","never","hover"],default:void 0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:U}}),ee={click:l=>l instanceof MouseEvent},ae=["href","target"];var ne=N({name:"ElLink",__name:"link",props:Z,emits:ee,setup(l,{emit:c}){const o=l,i=c,r=A("link");K({scope:"el-link",from:"The underline option (boolean)",replacement:"'always' | 'hover' | 'never'",version:"3.0.0",ref:"https://element-plus.org/en-US/component/link.html#underline"},b(()=>C(o.underline)));const a=D("link"),m=b(()=>{var e;return[a.b(),a.m(o.type??((e=r.value)==null?void 0:e.type)??"default"),a.is("disabled",o.disabled),a.is("underline",d.value==="always"),a.is("hover-underline",d.value==="hover"&&!o.disabled)]}),d=b(()=>{var e;return C(o.underline)?o.underline?"hover":"never":o.underline??((e=r.value)==null?void 0:e.underline)??"hover"});function p(e){o.disabled||i("click",e)}return(e,f)=>(u(),k("a",{class:E(m.value),href:l.disabled||!l.href?void 0:l.href,target:l.disabled||!l.href?void 0:l.target,onClick:p},[l.icon?(u(),h(w(j),{key:0},{default:t(()=>[(u(),h(M(l.icon)))]),_:1})):g("v-if",!0),e.$slots.default?(u(),k("span",{key:1,class:E(w(a).e("inner"))},[V(e.$slots,"default")],2)):g("v-if",!0),e.$slots.icon?V(e.$slots,"icon",{key:2}):g("v-if",!0)],10,ae))}}),le=ne;const oe=G(le),se={class:"login-page"},te={class:"login-panel"},re={class:"login-form-wrap"},ie={class:"login-options"},de=N({__name:"LoginView",setup(l){const c=Q(),o=H(),i=B(),r=B(!1),a=W({username:"",password:""}),m={username:[{required:!0,message:"请输入账号",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}]};async function d(){i.value&&await i.value.validate(async p=>{if(p){r.value=!0;try{await o.login(a.username,a.password),X.success("登录成功"),c.push("/dashboard")}catch{}finally{r.value=!1}}})}return(p,e)=>{const f=z,_=q,x=R,F=oe,I=P,L=$;return u(),k("div",se,[e[8]||(e[8]=J('',1)),n("main",te,[e[6]||(e[6]=n("div",{class:"brand-lockup",role:"img","aria-label":"远光软件"},[n("span",{class:"brand-logo-crop brand-logo-crop-mark","aria-hidden":"true"},[n("img",{src:S,alt:""})]),n("span",{class:"brand-logo-crop brand-logo-crop-wordmark","aria-hidden":"true"},[n("img",{src:S,alt:""})])],-1)),n("div",re,[e[5]||(e[5]=n("div",{class:"login-heading"},[n("span",null,"账号登录"),n("h2",null,"欢迎回来"),n("p",null,"登录后继续使用微调平台")],-1)),s(L,{ref_key:"loginFormRef",ref:i,model:a,rules:m,"label-position":"top",size:"large",onKeyup:O(d,["enter"])},{default:t(()=>[s(_,{label:"账号",prop:"username"},{default:t(()=>[s(f,{modelValue:a.username,"onUpdate:modelValue":e[0]||(e[0]=v=>a.username=v),placeholder:"请输入账号",clearable:""},null,8,["modelValue"])]),_:1}),s(_,{label:"密码",prop:"password"},{default:t(()=>[s(f,{modelValue:a.password,"onUpdate:modelValue":e[1]||(e[1]=v=>a.password=v),type:"password",placeholder:"请输入密码","show-password":""},null,8,["modelValue"])]),_:1}),n("div",ie,[s(x,null,{default:t(()=>[...e[2]||(e[2]=[y("记住密码",-1)])]),_:1}),s(F,{type:"primary",underline:!1},{default:t(()=>[...e[3]||(e[3]=[y("忘记密码?",-1)])]),_:1})]),s(I,{type:"primary",class:"login-btn",loading:r.value,onClick:d},{default:t(()=>[...e[4]||(e[4]=[y(" 登录 ",-1)])]),_:1},8,["loading"])]),_:1},8,["model"])]),e[7]||(e[7]=n("footer",null,"© 2026 远光软件",-1))])])}}}),Ee=Y(de,[["__scopeId","data-v-5b789cef"]]);export{Ee as default}; diff --git a/frontend/dist/assets/LogsView-DmeeKzFp.js b/frontend/dist/assets/LogsView-DmeeKzFp.js new file mode 100644 index 0000000..4c88a57 --- /dev/null +++ b/frontend/dist/assets/LogsView-DmeeKzFp.js @@ -0,0 +1,3 @@ +import{u as rn,E as la}from"./index-zJ9bqPrh.js";import{b as Bt,d as on,c as Ya,e as un,E as Ma}from"./index-D23K2h6y.js";import{E as dn,a as cn}from"./el-select-CeiDjMzB.js";import{a6 as Ce,bM as Lt,bN as ae,bO as Pt,b as De,R as de,bP as fn,aS as vn,bQ as mn,aW as Ee,j as E,y as Z,b6 as Wt,d as Re,z as ft,a as Oe,o as $,c as q,h as he,q as H,Y as ba,f as e,al as rt,n as S,bR as vt,B as $e,bS as pn,aU as Ta,D as Se,bT as hn,H as Ut,e as ve,w as le,aL as Je,E as be,r as xa,g as se,aa as me,V as mt,W as Pe,P as Ye,a2 as bn,bU as yn,bV as gn,F as ya,bW as St,bL as kn,G as Kt,M as ge,ad as Ve,x as Xe,K as Ie,s as W,bB as wn,S as Cn,ak as Pn,Z as Sn,U as jt,bX as sa,J as Dn,t as Ze,$ as qa,bF as pt,a9 as je,L as Qe,bh as fa,bl as ot,T as Ea,bj as va,b8 as it,N as Ht,aV as Mn,an as zt,l as qt,ah as Vn}from"./index-CxbBjZKo.js";import{U as Va,C as Ga,r as $n}from"./raf-Bjl8yy5U.js";import{u as Gt}from"./index-C4wGR5UT.js";import{a as _n,u as Dt,E as On,c as Ne,e as Pa}from"./el-popper-OAwpEmER.js";import{u as Yn,f as Rn}from"./index-DxP0p4ch.js";import{C as ut}from"./index-Bzaib5AU.js";import{E as In}from"./el-scrollbar-B0E7ZTt3.js";import{v as Mt}from"./index-ZKnv_mga.js";import{d as Tn}from"./debounce-BJxjS5F3.js";import{o as xn}from"./omit-CbHF-OEy.js";import{E as Fn,a as Nn}from"./el-tab-pane-DQY-HDUC.js";/* empty css */import{P as En}from"./PageCard-CC9cofwx.js";import{u as An}from"./usePolling-D0edaRGY.js";import{g as Bn,a as Ln,b as Wn,c as Un}from"./log-jDwH_n_V.js";import{_ as Kn}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./index-DHcidAHK.js";import"./castArray-CwVgzdTt.js";import"./vnode-DIVHEdsp.js";import"./index-BjlLyKON.js";import"./scroll-Dvb2mTx8.js";import"./clamp-Ow4I6lPc.js";import"./toNumber-Yuob3eJv.js";import"./_baseIteratee-C6JbNheX.js";import"./_baseClone-B6d4qZbo.js";import"./el-card-BsCFVTSD.js";const jn=["year","years","month","months","date","dates","week","datetime","datetimerange","daterange","monthrange","yearrange"];const Vt=["hours","minutes","seconds"],ea="EP_PICKER_BASE",Zt="ElPopperOptions",Jt=Symbol("commonPickerContextKey"),$t="HH:mm:ss",Sa="YYYY-MM-DD",Hn={date:Sa,dates:Sa,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",months:"YYYY-MM",datetime:`${Sa} ${$t}`,monthrange:"YYYY-MM",yearrange:"YYYY",daterange:Sa,datetimerange:`${Sa} ${$t}`},nt=(t,i)=>[t>0?t-1:void 0,t,tArray.from(Array.from({length:t}).keys()),Xt=t=>t.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),en=t=>t.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),_t=function(t,i){const l=Pt(t),a=Pt(i);return l&&a?t.getTime()===i.getTime():!l&&!a?t===i:!1},an=function(t,i){const l=Ce(t),a=Ce(i);return l&&a?t.length!==i.length?!1:t.every((n,p)=>_t(n,i[p])):!l&&!a?_t(t,i):!1},Ot=function(t,i,l){const a=Lt(i)||i==="x"?ae(t).locale(l):ae(t,i).locale(l);return a.isValid()?a:void 0},Yt=function(t,i,l){return Lt(i)?t:i==="x"?+t:ae(t).locale(l).format(i)},lt=(t,i)=>{const l=[],a=i==null?void 0:i();for(let n=0;nCe(t)?t.map(i=>i.toDate()):t.toDate(),ht=De({disabledHours:{type:de(Function)},disabledMinutes:{type:de(Function)},disabledSeconds:{type:de(Function)}}),zn=De({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),tn=De({automaticDropdown:{type:Boolean,default:!0},id:{type:de([Array,String])},name:{type:de([Array,String])},popperClass:Dt.popperClass,popperStyle:Dt.popperStyle,format:String,valueFormat:String,dateFormat:String,timeFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:de([String,Object]),default:mn},editable:{type:Boolean,default:!0},saveOnBlur:{type:Boolean,default:!0},prefixIcon:{type:de([String,Object]),default:""},size:vn,readonly:Boolean,disabled:{type:Boolean,default:void 0},placeholder:{type:String,default:""},popperOptions:{type:de(Object),default:()=>({})},modelValue:{type:de([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:de([Date,Array])},defaultTime:{type:de([Date,Array])},isRange:Boolean,...ht,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,tabindex:{type:de([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,singlePanel:Boolean,placement:{type:de(String),values:_n,default:"bottom"},fallbackPlacements:{type:de(Array),default:["bottom","top","right","left"]},...fn,...Yn(["ariaLabel"]),showNow:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean}),qn=De({id:{type:de(Array)},name:{type:de(Array)},modelValue:{type:de([Array,String])},startPlaceholder:String,endPlaceholder:String,disabled:Boolean}),nn=(t,i)=>{const{lang:l}=Ee(),a=Z(!1),n=Z(!1),p=Z(null),r=E(()=>{const{modelValue:o}=t;return!o||Ce(o)&&!o.filter(Boolean).length}),g=o=>{if(!an(t.modelValue,o)){let M;Ce(o)?M=o.map(d=>Yt(d,t.valueFormat,l.value)):o&&(M=Yt(o,t.valueFormat,l.value)),i(Va,o&&M,l.value)}},_=E(()=>{let o;if(r.value?C.value.getDefaultValue&&(o=C.value.getDefaultValue()):Ce(t.modelValue)?o=t.modelValue.map(M=>Ot(M,t.valueFormat,l.value)):o=Ot(t.modelValue??"",t.valueFormat,l.value),C.value.getRangeAvailableTime){const M=C.value.getRangeAvailableTime(o);Wt(M,o)||(o=M,r.value||g(Aa(o)))}return Ce(o)&&o.some(M=>!M)&&(o=[]),o}),C=Z({});return{parsedValue:_,pickerActualVisible:n,pickerOptions:C,pickerVisible:a,userInput:p,valueIsEmpty:r,emitInput:g,onCalendarChange:o=>{i("calendar-change",o)},onPanelChange:(o,M,d)=>{i("panel-change",o,M,d)},onPick:(o="",M=!1)=>{a.value=M;let d;Ce(o)?d=o.map(m=>m.toDate()):d=o&&o.toDate(),p.value=null,g(d)},onSetPickerOption:o=>{C.value[o[0]]=o[1],C.value.panelReady=!0}}},Gn=["id","name","placeholder","value","disabled"],Zn=["id","name","placeholder","value","disabled"];var Jn=Re({name:"PickerRangeTrigger",inheritAttrs:!1,__name:"picker-range-trigger",props:qn,emits:["mouseenter","mouseleave","click","touchstart","focus","blur","startInput","endInput","startChange","endChange"],setup(t,{expose:i,emit:l}){const a=t,n=l,{formItem:p}=Bt(),{inputId:r}=on(ft({id:E(()=>{var c;return(c=a.id)==null?void 0:c[0]})}),{formItemContext:p}),g=rn(),_=Oe("date"),C=Oe("range"),P=Z(),D=Z(),{wrapperRef:F,isFocused:R}=Gt(P,{disabled:E(()=>a.disabled)}),o=c=>{n("click",c)},M=c=>{n("mouseenter",c)},d=c=>{n("mouseleave",c)},m=c=>{n("touchstart",c)},L=c=>{n("startInput",c)},b=c=>{n("endInput",c)},k=c=>{n("startChange",c)},u=c=>{n("endChange",c)};return i({focus:()=>{var c;(c=P.value)==null||c.focus()},blur:()=>{var c,O;(c=P.value)==null||c.blur(),(O=D.value)==null||O.blur()}}),(c,O)=>($(),q("div",{ref_key:"wrapperRef",ref:F,class:S([e(_).is("active",e(R)),c.$attrs.class]),style:rt(c.$attrs.style),onClick:o,onMouseenter:M,onMouseleave:d,onTouchstartPassive:m},[he(c.$slots,"prefix"),H("input",ba(e(g),{id:e(r),ref_key:"inputRef",ref:P,name:c.name&&c.name[0],placeholder:c.startPlaceholder,value:c.modelValue&&c.modelValue[0],class:e(C).b("input"),disabled:c.disabled,onInput:L,onChange:k}),null,16,Gn),he(c.$slots,"range-separator"),H("input",ba(e(g),{id:c.id&&c.id[1],ref_key:"endInputRef",ref:D,name:c.name&&c.name[1],placeholder:c.endPlaceholder,value:c.modelValue&&c.modelValue[1],class:e(C).b("input"),disabled:c.disabled,onInput:b,onChange:u}),null,16,Zn),he(c.$slots,"suffix")],38))}}),Qn=Jn,Xn=Re({name:"Picker",__name:"picker",props:tn,emits:[Va,Ga,"focus","blur","clear","calendar-change","panel-change","visible-change","keydown"],setup(t,{expose:i,emit:l}){const a=t,n=l,p=vt(),r=Oe("date"),g=Oe("input"),_=Oe("range"),{formItem:C}=Bt(),P=$e(Zt,{}),D=pn(a,null),F=Z(),R=Z(),o=Z(null);let M=!1;const d=Ya(),m=nn(a,n),{parsedValue:L,pickerActualVisible:b,userInput:k,pickerVisible:u,pickerOptions:h,valueIsEmpty:I,emitInput:c,onPick:O,onSetPickerOption:V,onCalendarChange:T,onPanelChange:B}=m,{isFocused:J,handleFocus:z,handleBlur:te}=Gt(R,{disabled:d,beforeFocus(){return a.readonly},afterFocus(){a.automaticDropdown&&(u.value=!0)},beforeBlur(s){var N;return!M&&((N=F.value)==null?void 0:N.isFocusInsideContent(s))},afterBlur(){var s,N;ye.value&&!a.saveOnBlur?I.value||(N=(s=h.value).handleCancel)==null||N.call(s):ua(),u.value=!1,M=!1,a.validateEvent&&(C==null||C.validate("blur").catch(Ta))}}),ne=Z(!1),ce=E(()=>[r.b("editor"),r.bm("editor",a.type),g.e("wrapper"),r.is("disabled",d.value),r.is("active",u.value),_.b("editor"),ra?_.bm("editor",ra.value):"",p.class]),U=E(()=>[g.e("icon"),_.e("close-icon"),Be.value?"":_.em("close-icon","hidden")]);Se(u,s=>{s?Ye(()=>{s&&(o.value=a.modelValue)}):(k.value=null,Ye(()=>{f(a.modelValue)}))});const f=(s,N)=>{(N||!an(s,o.value))&&(n(Ga,s),N&&(o.value=s),a.validateEvent&&(C==null||C.validate("change").catch(Ta)))},G=s=>{n("keydown",s)},v=E(()=>R.value?Array.from(R.value.$el.querySelectorAll("input")):[]),Y=(s,N,oe)=>{const we=v.value;we.length&&(!oe||oe==="min"?(we[0].setSelectionRange(s,N),we[0].focus()):oe==="max"&&(we[1].setSelectionRange(s,N),we[1].focus()))},w=()=>{b.value=!0},A=()=>{n("visible-change",!0)},Q=()=>{b.value=!1,u.value=!1,n("visible-change",!1)},ie=()=>{u.value=!0},ee=()=>{u.value=!1},re=E(()=>{const s=Ge(L.value);return Ce(k.value)?[k.value[0]??(s&&s[0])??"",k.value[1]??(s&&s[1])??""]:k.value!==null?k.value:ye.value&&I.value&&!a.saveOnBlur||!ye.value&&I.value||!u.value&&I.value?"":s?Ae.value||He.value||ze.value?s.join(", "):s:""}),ue=E(()=>a.type.includes("time")),ye=E(()=>a.type.startsWith("time")),Ae=E(()=>a.type==="dates"),He=E(()=>a.type==="months"),ze=E(()=>a.type==="years"),Te=E(()=>a.prefixIcon||(ue.value?yn:gn)),Be=E(()=>a.clearable&&!d.value&&!a.readonly&&!I.value&&(ne.value||J.value)),Me=s=>{a.readonly||d.value||(Be.value&&(s==null||s.stopPropagation(),h.value.handleClear?h.value.handleClear():c(D.valueOnClear.value),f(D.valueOnClear.value,!0),Q()),n("clear"))},_e=async s=>{var N;a.readonly||d.value||(((N=s.target)==null?void 0:N.tagName)!=="INPUT"||J.value||!a.automaticDropdown)&&(u.value=!0)},Ue=()=>{a.readonly||d.value||!I.value&&a.clearable&&(ne.value=!0)},qe=()=>{ne.value=!1},Le=s=>{var N;a.readonly||d.value||(((N=s.touches[0].target)==null?void 0:N.tagName)!=="INPUT"||J.value||!a.automaticDropdown)&&(u.value=!0)},wa=E(()=>a.type.includes("range")),ra=un(),oa=E(()=>{var s,N;return(N=(s=e(F))==null?void 0:s.popperRef)==null?void 0:N.contentRef}),ia=hn(R,s=>{const N=e(oa),oe=bn(R);N&&(s.target===N||s.composedPath().includes(N))||s.target===oe||oe&&s.composedPath().includes(oe)||(u.value=!1)});Ut(()=>{ia==null||ia()});const ua=()=>{if(ye.value&&!a.saveOnBlur)return;const s=Ce(k.value)&&k.value.every(N=>N==="");if(k.value&&!s){const N=aa(re.value);N&&(Ke(N)&&c(Aa(N)),k.value=null)}(k.value===""||s)&&(c(D.valueOnClear.value),f(D.valueOnClear.value,!0),k.value=null)},aa=s=>s?h.value.parseUserInput(s):null,Ge=s=>s?Ce(s)?s.map(N=>N.format(a.format)):s.format(a.format):null,Ke=s=>h.value.isValidValue(s),fe=async s=>{if(a.readonly||d.value)return;const N=mt(s);if(G(s),N===Pe.esc){u.value===!0&&(u.value=!1,s.preventDefault(),s.stopPropagation());return}if(N===Pe.down&&(h.value.handleFocusPicker&&(s.preventDefault(),s.stopPropagation()),u.value===!1&&(u.value=!0,await Ye()),h.value.handleFocusPicker)){h.value.handleFocusPicker();return}if(N===Pe.tab){M=!0;return}if(N===Pe.enter||N===Pe.numpadEnter){u.value?(k.value===null||k.value===""||Ke(aa(re.value)))&&(ua(),u.value=!1):u.value=!0,s.preventDefault(),s.stopPropagation();return}if(k.value){s.stopPropagation();return}h.value.handleKeydownInput&&h.value.handleKeydownInput(s)},ta=s=>{k.value=s,u.value||(u.value=!0)},na=s=>{const N=s.target;k.value?k.value=[N.value,k.value[1]]:k.value=[N.value,null]},ma=s=>{const N=s.target;k.value?k.value=[k.value[0],N.value]:k.value=[null,N.value]},da=()=>{var we;const s=k.value,N=aa(s&&s[0]),oe=e(L);if(N&&N.isValid()){k.value=[Ge(N),((we=re.value)==null?void 0:we[1])||null];const Fe=[N,oe&&(oe[1]||null)];Ke(Fe)&&(c(Aa(Fe)),k.value=null)}},xe=()=>{var we;const s=e(k),N=aa(s&&s[1]),oe=e(L);if(N&&N.isValid()){k.value=[((we=e(re))==null?void 0:we[0])||null,Ge(N)];const Fe=[oe&&oe[0],N];Ke(Fe)&&(c(Aa(Fe)),k.value=null)}},y=()=>{var s;(s=R.value)==null||s.focus()},j=()=>{var s;(s=R.value)==null||s.blur()};return ya(ea,{props:a,emptyValues:D}),ya(Jt,m),i({focus:y,blur:j,handleOpen:ie,handleClose:ee,onPick:O}),(s,N)=>($(),ve(e(On),ba({ref_key:"refPopper",ref:F,visible:e(u),effect:"light",pure:"",trigger:"click"},s.$attrs,{role:"dialog",teleported:"",transition:`${e(r).namespace.value}-zoom-in-top`,"popper-class":[`${e(r).namespace.value}-picker__popper`,s.popperClass],"popper-style":s.popperStyle,"popper-options":e(P),"fallback-placements":s.fallbackPlacements,"gpu-acceleration":!1,placement:s.placement,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:w,onShow:A,onHide:Q}),{default:le(()=>[wa.value?($(),ve(Qn,{key:1,id:s.id,ref_key:"inputRef",ref:R,"model-value":re.value,name:s.name,disabled:e(d),readonly:!s.editable||s.readonly,"start-placeholder":s.startPlaceholder,"end-placeholder":s.endPlaceholder,class:S(ce.value),style:rt(s.$attrs.style),"aria-label":s.ariaLabel,tabindex:s.tabindex,autocomplete:"off",role:"combobox",onClick:_e,onFocus:e(z),onBlur:e(te),onStartInput:na,onStartChange:da,onEndInput:ma,onEndChange:xe,onMousedown:_e,onMouseenter:Ue,onMouseleave:qe,onTouchstartPassive:Le,onKeydown:fe},{prefix:le(()=>[Te.value?($(),ve(e(be),{key:0,class:S([e(g).e("icon"),e(_).e("icon")])},{default:le(()=>[($(),ve(xa(Te.value)))]),_:1},8,["class"])):se("v-if",!0)]),"range-separator":le(()=>[he(s.$slots,"range-separator",{},()=>[H("span",{class:S(e(_).b("separator"))},me(s.rangeSeparator),3)])]),suffix:le(()=>[s.clearIcon?($(),ve(e(be),{key:0,class:S(U.value),onMousedown:Je(e(Ta),["prevent"]),onClick:Me},{default:le(()=>[($(),ve(xa(s.clearIcon)))]),_:1},8,["class","onMousedown"])):se("v-if",!0)]),_:3},8,["id","model-value","name","disabled","readonly","start-placeholder","end-placeholder","class","style","aria-label","tabindex","onFocus","onBlur"])):($(),ve(e(la),{key:0,id:s.id,ref_key:"inputRef",ref:R,"container-role":"combobox","model-value":re.value,name:s.name,size:e(ra),disabled:e(d),placeholder:s.placeholder,class:S([e(r).b("editor"),e(r).bm("editor",s.type),e(r).is("focus",e(u)),s.$attrs.class]),style:rt(s.$attrs.style),readonly:!s.editable||s.readonly||Ae.value||He.value||ze.value||s.type==="week","aria-label":s.ariaLabel,tabindex:s.tabindex,"validate-event":!1,onInput:ta,onFocus:e(z),onBlur:e(te),onKeydown:fe,onChange:ua,onMousedown:_e,onMouseenter:Ue,onMouseleave:qe,onTouchstartPassive:Le,onClick:N[0]||(N[0]=Je(()=>{},["stop"]))},{prefix:le(()=>[Te.value?($(),ve(e(be),{key:0,class:S(e(g).e("icon")),onMousedown:Je(_e,["prevent"]),onTouchstartPassive:Le},{default:le(()=>[($(),ve(xa(Te.value)))]),_:1},8,["class"])):se("v-if",!0)]),suffix:le(()=>[Be.value&&s.clearIcon?($(),ve(e(be),{key:0,class:S(`${e(g).e("icon")} clear-icon`),onMousedown:Je(e(Ta),["prevent"]),onClick:Me},{default:le(()=>[($(),ve(xa(s.clearIcon)))]),_:1},8,["class","onMousedown"])):se("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onFocus","onBlur"]))]),content:le(()=>[he(s.$slots,"default",{visible:e(u),actualVisible:e(b),parsedValue:e(L),format:s.format,dateFormat:s.dateFormat,timeFormat:s.timeFormat,unlinkPanels:s.unlinkPanels,type:s.type,defaultValue:s.defaultValue,showNow:s.showNow,showConfirm:s.showConfirm,showFooter:s.showFooter,showWeekNumber:s.showWeekNumber,singlePanel:s.singlePanel,onPick:N[1]||(N[1]=(...oe)=>e(O)&&e(O)(...oe)),onSelectRange:Y,onSetPickerOption:N[2]||(N[2]=(...oe)=>e(V)&&e(V)(...oe)),onCalendarChange:N[3]||(N[3]=(...oe)=>e(T)&&e(T)(...oe)),onClear:Me,onPanelChange:N[4]||(N[4]=(...oe)=>e(B)&&e(B)(...oe)),onMousedown:N[5]||(N[5]=Je(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-style","popper-options","fallback-placements","placement"]))}}),el=Xn;const al=De({...zn,datetimeRole:String,parsedValue:{type:de(Object)}}),tl=({getAvailableHours:t,getAvailableMinutes:i,getAvailableSeconds:l})=>{const a=(r,g,_,C)=>{const P={hour:t,minute:i,second:l};let D=r;return["hour","minute","second"].forEach(F=>{if(P[F]){let R;const o=P[F];switch(F){case"minute":R=o(D.hour(),g,C);break;case"second":R=o(D.hour(),D.minute(),g,C);break;default:R=o(g,C);break}if(R!=null&&R.length&&!R.includes(D[F]())){const M=_?0:R.length-1;D=D[F](R[M])}}}),D},n={};return{timePickerOptions:n,getAvailableTime:a,onSetOption:([r,g])=>{n[r]=g}}},st=t=>{const i=(a,n)=>a||n,l=a=>a!==!0;return t.map(i).filter(l)},ln=(t,i,l)=>({getHoursList:(r,g)=>lt(24,t&&(()=>t==null?void 0:t(r,g))),getMinutesList:(r,g,_)=>lt(60,i&&(()=>i==null?void 0:i(r,g,_))),getSecondsList:(r,g,_,C)=>lt(60,l&&(()=>l==null?void 0:l(r,g,_,C)))}),nl=(t,i,l)=>{const{getHoursList:a,getMinutesList:n,getSecondsList:p}=ln(t,i,l);return{getAvailableHours:(C,P)=>st(a(C,P)),getAvailableMinutes:(C,P,D)=>st(n(C,P,D)),getAvailableSeconds:(C,P,D,F)=>st(p(C,P,D,F))}},ll=(t,i)=>{const l=Z(t.parsedValue);return Se(()=>t.visible,a=>{const n=St(i.modelValue),p=St(i.valueOnClear);if(a&&n===p){l.value=p;return}a||(l.value=t.parsedValue)}),l},sl=De({role:{type:String,required:!0},spinnerDate:{type:de(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:de(String),default:""},...ht}),rl=["onClick"],ol=["onMouseenter"];var il=Re({__name:"basic-time-spinner",props:sl,emits:[Ga,"select-range","set-option"],setup(t,{emit:i}){const l=t,{isRange:a,format:n,saveOnBlur:p}=$e(ea).props,r=i,g=Oe("time"),{getHoursList:_,getMinutesList:C,getSecondsList:P}=ln(l.disabledHours,l.disabledMinutes,l.disabledSeconds);let D=!1;const F={hours:!1,minutes:!1,seconds:!1},R=Z(),o={hours:Z(),minutes:Z(),seconds:Z()},M=E(()=>l.showSeconds?Vt:Vt.slice(0,2)),d=E(()=>{const{spinnerDate:v}=l;return{hours:v.hour(),minutes:v.minute(),seconds:v.second()}}),m=E(()=>{const{hours:v,minutes:Y}=e(d),{role:w,spinnerDate:A}=l,Q=a?void 0:A;return{hours:_(w,Q),minutes:C(v,w,Q),seconds:P(v,Y,w,Q)}}),L=E(()=>{const{hours:v,minutes:Y,seconds:w}=e(d);return{hours:nt(v,23),minutes:nt(Y,59),seconds:nt(w,59)}}),b=Tn(v=>{D=!1,h(v)},200),k=v=>{if(!l.amPmMode)return"";const Y=l.amPmMode==="A";let w=v<12?" am":" pm";return Y&&(w=w.toUpperCase()),w},u=v=>{let Y=[0,0];const w=n||"HH:mm:ss",A=w.indexOf("HH"),Q=w.indexOf("mm"),ie=w.indexOf("ss");switch(v){case"hours":A!==-1&&(Y=[A,A+2]);break;case"minutes":Q!==-1&&(Y=[Q,Q+2]);break;case"seconds":ie!==-1&&(Y=[ie,ie+2]);break}const[ee,re]=Y;r("select-range",ee,re),R.value=v},h=v=>{O(v,e(d)[v])},I=()=>{h("hours"),h("minutes"),h("seconds")},c=v=>v.querySelector(`.${g.namespace.value}-scrollbar__wrap`),O=(v,Y)=>{if(l.arrowControl)return;const w=e(o[v]);w&&w.$el&&(p||(F[v]=!0,$n(()=>{F[v]=!1})),c(w.$el).scrollTop=Math.max(0,Y*V(v)))},V=v=>{var w;const Y=(w=e(o[v]))==null?void 0:w.$el.querySelector("li");return Y&&Number.parseFloat(kn(Y,"height"))||0},T=()=>{J(1)},B=()=>{J(-1)},J=v=>{R.value||u("hours");const Y=R.value,w=e(d)[Y],A=z(Y,w,v,R.value==="hours"?24:60);te(Y,A),O(Y,A),Ye(()=>u(Y))},z=(v,Y,w,A)=>{let Q=(Y+w+A)%A;const ie=e(m)[v];for(;ie[Q]&&Q!==Y;)Q=(Q+w+A)%A;return Q},te=(v,Y)=>{if(e(m)[v][Y])return;const{hours:w,minutes:A,seconds:Q}=e(d);let ie;switch(v){case"hours":ie=l.spinnerDate.hour(Y).minute(A).second(Q);break;case"minutes":ie=l.spinnerDate.hour(w).minute(Y).second(Q);break;case"seconds":ie=l.spinnerDate.hour(w).minute(A).second(Y);break}r(Ga,ie)},ne=(v,{value:Y,disabled:w})=>{w||(te(v,Y),u(v),O(v,Y))},ce=v=>{if(!p&&F[v])return;const Y=e(o[v]);Y&&(D=!0,b(v),te(v,Math.min(Math.round((c(Y.$el).scrollTop-(U(v)*.5-10)/V(v)+3)/V(v)),v==="hours"?23:59)))},U=v=>e(o[v]).$el.offsetHeight,f=()=>{const v=Y=>{const w=e(o[Y]);w&&w.$el&&(c(w.$el).onscroll=()=>{ce(Y)})};v("hours"),v("minutes"),v("seconds")};Kt(()=>{Ye(()=>{!l.arrowControl&&f(),I(),l.role==="start"&&u("hours")})});const G=(v,Y)=>{o[Y].value=v??void 0};return r("set-option",[`${l.role}_scrollDown`,J]),r("set-option",[`${l.role}_emitSelectRange`,u]),Se(()=>l.spinnerDate,()=>{D||I()}),(v,Y)=>($(),q("div",{class:S([e(g).b("spinner"),{"has-seconds":v.showSeconds}])},[v.arrowControl?se("v-if",!0):($(!0),q(ge,{key:0},Ve(M.value,w=>($(),ve(e(In),{key:w,ref_for:!0,ref:A=>G(A,w),class:S(e(g).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":e(g).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:A=>u(w),onMousemove:A=>h(w)},{default:le(()=>[($(!0),q(ge,null,Ve(m.value[w],(A,Q)=>($(),q("li",{key:Q,class:S([e(g).be("spinner","item"),e(g).is("active",Q===d.value[w]),e(g).is("disabled",A)]),onClick:ie=>ne(w,{value:Q,disabled:A})},[w==="hours"?($(),q(ge,{key:0},[Xe(me(("0"+(v.amPmMode?Q%12||12:Q)).slice(-2))+me(k(Q)),1)],64)):($(),q(ge,{key:1},[Xe(me(("0"+Q).slice(-2)),1)],64))],10,rl))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),v.arrowControl?($(!0),q(ge,{key:1},Ve(M.value,w=>($(),q("div",{key:w,class:S([e(g).be("spinner","wrapper"),e(g).is("arrow")]),onMouseenter:A=>u(w)},[Ie(($(),ve(e(be),{class:S(["arrow-up",e(g).be("spinner","arrow")])},{default:le(()=>[W(e(wn))]),_:1},8,["class"])),[[e(Mt),B]]),Ie(($(),ve(e(be),{class:S(["arrow-down",e(g).be("spinner","arrow")])},{default:le(()=>[W(e(Cn))]),_:1},8,["class"])),[[e(Mt),T]]),H("ul",{class:S(e(g).be("spinner","list"))},[($(!0),q(ge,null,Ve(L.value[w],(A,Q)=>($(),q("li",{key:Q,class:S([e(g).be("spinner","item"),e(g).is("active",A===d.value[w]),e(g).is("disabled",m.value[w][A])])},[e(Pn)(A)?($(),q(ge,{key:0},[w==="hours"?($(),q(ge,{key:0},[Xe(me(("0"+(v.amPmMode?A%12||12:A)).slice(-2))+me(k(A)),1)],64)):($(),q(ge,{key:1},[Xe(me(("0"+A).slice(-2)),1)],64))],64)):se("v-if",!0)],2))),128))],2)],42,ol))),128)):se("v-if",!0)],2))}}),ul=il,dl=Re({__name:"panel-time-pick",props:al,emits:["pick","select-range","set-picker-option"],setup(t,{emit:i}){const l=t,a=i,n=$e(ea),{arrowControl:p,disabledHours:r,disabledMinutes:g,disabledSeconds:_,defaultValue:C}=n.props,{getAvailableHours:P,getAvailableMinutes:D,getAvailableSeconds:F}=nl(r,g,_),R=Oe("time"),{t:o,lang:M}=Ee(),d=Z([0,2]),m=ll(l,{modelValue:E(()=>n.props.modelValue),valueOnClear:E(()=>n!=null&&n.emptyValues?n.emptyValues.valueOnClear.value:null)}),L=E(()=>jt(l.actualVisible)?`${R.namespace.value}-zoom-in-top`:""),b=E(()=>l.format.includes("ss")),k=E(()=>l.format.includes("A")?"A":l.format.includes("a")?"a":""),u=U=>{const f=ae(U).locale(M.value),G=te(f);return f.isSame(G)},h=()=>{const U=m.value;a("pick",U,!1),Ye(()=>{m.value=U})},I=(U=!1,f=!1)=>{f||a("pick",l.parsedValue,U)},c=U=>{l.visible&&a("pick",te(U).millisecond(0),!0)},O=(U,f)=>{a("select-range",U,f),d.value=[U,f]},V=U=>{const f=l.format,G=f.indexOf("HH"),v=f.indexOf("mm"),Y=f.indexOf("ss"),w=[],A=[];G!==-1&&(w.push(G),A.push("hours")),v!==-1&&(w.push(v),A.push("minutes")),Y!==-1&&b.value&&(w.push(Y),A.push("seconds"));const Q=(w.indexOf(d.value[0])+U+w.length)%w.length;B.start_emitSelectRange(A[Q])},T=U=>{const f=mt(U),{left:G,right:v,up:Y,down:w}=Pe;if([G,v].includes(f)){V(f===G?-1:1),U.preventDefault();return}if([Y,w].includes(f)){const A=f===Y?-1:1;B.start_scrollDown(A),U.preventDefault();return}},{timePickerOptions:B,onSetOption:J,getAvailableTime:z}=tl({getAvailableHours:P,getAvailableMinutes:D,getAvailableSeconds:F}),te=U=>z(U,l.datetimeRole||"",!0),ne=U=>U?ae(U,l.format).locale(M.value):null,ce=()=>ae(C).locale(M.value);return a("set-picker-option",["isValidValue",u]),a("set-picker-option",["parseUserInput",ne]),a("set-picker-option",["handleKeydownInput",T]),a("set-picker-option",["getRangeAvailableTime",te]),a("set-picker-option",["getDefaultValue",ce]),a("set-picker-option",["handleCancel",h]),(U,f)=>($(),ve(Sn,{name:L.value},{default:le(()=>[U.actualVisible||U.visible?($(),q("div",{key:0,class:S(e(R).b("panel"))},[H("div",{class:S([e(R).be("panel","content"),{"has-seconds":b.value}])},[W(ul,{ref:"spinner",role:U.datetimeRole||"start","arrow-control":e(p),"show-seconds":b.value,"am-pm-mode":k.value,"spinner-date":U.parsedValue,"disabled-hours":e(r),"disabled-minutes":e(g),"disabled-seconds":e(_),onChange:c,onSetOption:e(J),onSelectRange:O},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),H("div",{class:S(e(R).be("panel","footer"))},[H("button",{type:"button",class:S([e(R).be("panel","btn"),"cancel"]),onClick:h},me(e(o)("el.datepicker.cancel")),3),H("button",{type:"button",class:S([e(R).be("panel","btn"),"confirm"]),onClick:f[0]||(f[0]=G=>I())},me(e(o)("el.datepicker.confirm")),3)],2)],2)):se("v-if",!0)]),_:1},8,["name"]))}}),dt=dl,Ba={exports:{}},cl=Ba.exports,Rt;function fl(){return Rt||(Rt=1,(function(t,i){(function(l,a){t.exports=a()})(cl,(function(){var l={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},a=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,p=/\d\d/,r=/\d\d?/,g=/\d*[^-_:/,()\s\d]+/,_={},C=function(d){return(d=+d)+(d>68?1900:2e3)},P=function(d){return function(m){this[d]=+m}},D=[/[+-]\d\d:?(\d\d)?|Z/,function(d){(this.zone||(this.zone={})).offset=(function(m){if(!m||m==="Z")return 0;var L=m.match(/([+-]|\d\d)/g),b=60*L[1]+(+L[2]||0);return b===0?0:L[0]==="+"?-b:b})(d)}],F=function(d){var m=_[d];return m&&(m.indexOf?m:m.s.concat(m.f))},R=function(d,m){var L,b=_.meridiem;if(b){for(var k=1;k<=24;k+=1)if(d.indexOf(b(k,0,m))>-1){L=k>12;break}}else L=d===(m?"pm":"PM");return L},o={A:[g,function(d){this.afternoon=R(d,!1)}],a:[g,function(d){this.afternoon=R(d,!0)}],Q:[n,function(d){this.month=3*(d-1)+1}],S:[n,function(d){this.milliseconds=100*+d}],SS:[p,function(d){this.milliseconds=10*+d}],SSS:[/\d{3}/,function(d){this.milliseconds=+d}],s:[r,P("seconds")],ss:[r,P("seconds")],m:[r,P("minutes")],mm:[r,P("minutes")],H:[r,P("hours")],h:[r,P("hours")],HH:[r,P("hours")],hh:[r,P("hours")],D:[r,P("day")],DD:[p,P("day")],Do:[g,function(d){var m=_.ordinal,L=d.match(/\d+/);if(this.day=L[0],m)for(var b=1;b<=31;b+=1)m(b).replace(/\[|\]/g,"")===d&&(this.day=b)}],w:[r,P("week")],ww:[p,P("week")],M:[r,P("month")],MM:[p,P("month")],MMM:[g,function(d){var m=F("months"),L=(F("monthsShort")||m.map((function(b){return b.slice(0,3)}))).indexOf(d)+1;if(L<1)throw new Error;this.month=L%12||L}],MMMM:[g,function(d){var m=F("months").indexOf(d)+1;if(m<1)throw new Error;this.month=m%12||m}],Y:[/[+-]?\d+/,P("year")],YY:[p,function(d){this.year=C(d)}],YYYY:[/\d{4}/,P("year")],Z:D,ZZ:D};function M(d){var m,L;m=d,L=_&&_.formats;for(var b=(d=m.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(V,T,B){var J=B&&B.toUpperCase();return T||L[B]||l[B]||L[J].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(z,te,ne){return te||ne.slice(1)}))}))).match(a),k=b.length,u=0;u-1)return new Date((U==="X"?1e3:1)*ce);var v=M(U)(ce),Y=v.year,w=v.month,A=v.day,Q=v.hours,ie=v.minutes,ee=v.seconds,re=v.milliseconds,ue=v.zone,ye=v.week,Ae=new Date,He=A||(Y||w?1:Ae.getDate()),ze=Y||Ae.getFullYear(),Te=0;Y&&!w||(Te=w>0?w-1:Ae.getMonth());var Be,Me=Q||0,_e=ie||0,Ue=ee||0,qe=re||0;return ue?new Date(Date.UTC(ze,Te,He,Me,_e,Ue,qe+60*ue.offset*1e3)):f?new Date(Date.UTC(ze,Te,He,Me,_e,Ue,qe)):(Be=new Date(ze,Te,He,Me,_e,Ue,qe),ye&&(Be=G(Be).week(ye).toDate()),Be)}catch{return new Date("")}})(h,O,I,L),this.init(),J&&J!==!0&&(this.$L=this.locale(J).$L),B&&h!=this.format(O)&&(this.$d=new Date("")),_={}}else if(O instanceof Array)for(var z=O.length,te=1;te<=z;te+=1){c[1]=O[te-1];var ne=L.apply(this,c);if(ne.isValid()){this.$d=ne.$d,this.$L=ne.$L,this.init();break}te===z&&(this.$d=new Date(""))}else k.call(this,u)}}}))})(Ba)),Ba.exports}var vl=fl();const ml=sa(vl);var La={exports:{}},pl=La.exports,It;function hl(){return It||(It=1,(function(t,i){(function(l,a){t.exports=a()})(pl,(function(){return function(l,a,n){var p=a.prototype,r=function(D){return D&&(D.indexOf?D:D.s)},g=function(D,F,R,o,M){var d=D.name?D:D.$locale(),m=r(d[F]),L=r(d[R]),b=m||L.map((function(u){return u.slice(0,o)}));if(!M)return b;var k=d.weekStart;return b.map((function(u,h){return b[(h+(k||0))%7]}))},_=function(){return n.Ls[n.locale()]},C=function(D,F){return D.formats[F]||(function(R){return R.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(o,M,d){return M||d.slice(1)}))})(D.formats[F.toUpperCase()])},P=function(){var D=this;return{months:function(F){return F?F.format("MMMM"):g(D,"months")},monthsShort:function(F){return F?F.format("MMM"):g(D,"monthsShort","months",3)},firstDayOfWeek:function(){return D.$locale().weekStart||0},weekdays:function(F){return F?F.format("dddd"):g(D,"weekdays")},weekdaysMin:function(F){return F?F.format("dd"):g(D,"weekdaysMin","weekdays",2)},weekdaysShort:function(F){return F?F.format("ddd"):g(D,"weekdaysShort","weekdays",3)},longDateFormat:function(F){return C(D.$locale(),F)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};p.localeData=function(){return P.bind(this)()},n.localeData=function(){var D=_();return{firstDayOfWeek:function(){return D.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(F){return C(D,F)},meridiem:D.meridiem,ordinal:D.ordinal}},n.months=function(){return g(_(),"months")},n.monthsShort=function(){return g(_(),"monthsShort","months",3)},n.weekdays=function(D){return g(_(),"weekdays",null,null,D)},n.weekdaysShort=function(D){return g(_(),"weekdaysShort","weekdays",3,D)},n.weekdaysMin=function(D){return g(_(),"weekdaysMin","weekdays",2,D)}}}))})(La)),La.exports}var bl=hl();const yl=sa(bl),gl=De({valueFormat:String,dateFormat:String,timeFormat:String,disabled:{type:Boolean,default:void 0},modelValue:{type:de([Date,Array,String,Number]),default:""},defaultValue:{type:de([Date,Array])},defaultTime:{type:de([Date,Array])},isRange:Boolean,...ht,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,unlinkPanels:Boolean,showNow:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:Boolean,showWeekNumber:Boolean,type:{type:de(String),default:"date"},clearable:{type:Boolean,default:!0},border:{type:Boolean,default:!0},editable:{type:Boolean,default:!0}}),bt=Symbol("rootPickerContextKey"),Ra="ElIsDefaultFormat",kl=["date","dates","year","years","month","months","week","range"],yt=De({cellClassName:{type:de(Function)},disabledDate:{type:de(Function)},date:{type:de(Object),required:!0},minDate:{type:de(Object)},maxDate:{type:de(Object)},parsedValue:{type:de([Object,Array])},rangeState:{type:de(Object),default:()=>({endDate:null,selecting:!1})},disabled:Boolean}),sn=De({type:{type:de(String),required:!0,values:jn},dateFormat:String,timeFormat:String,showNow:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean,border:Boolean,disabled:Boolean,editable:{type:Boolean,default:!0}}),gt=De({unlinkPanels:Boolean,visible:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},border:Boolean,disabled:Boolean,parsedValue:{type:de(Array)},singlePanel:Boolean}),kt=t=>({type:String,values:kl,default:t}),wl=De({...sn,parsedValue:{type:de([Object,Array])},visible:{type:Boolean,default:!0},format:{type:String,default:""}}),$a=t=>{if(!Ce(t))return!1;const[i,l]=t;return ae.isDayjs(i)&&ae.isDayjs(l)&&ae(i).isValid()&&ae(l).isValid()&&i.isSameOrBefore(l)},Xa=(t,{lang:i,step:l=1,unit:a,unlinkPanels:n})=>{let p;if(Ce(t)){let[r,g]=t.map(_=>ae(_).locale(i));return n||(g=r.add(l,a)),[r,g]}else t?p=ae(t):p=ae();return p=p.locale(i),[p,p.add(l,a)]},Cl=(t,i,{columnIndexOffset:l,startDate:a,nextEndDate:n,now:p,unit:r,relativeDateGetter:g,setCellMetadata:_,setRowMetadata:C})=>{for(let P=0;P{const n=ae().locale(a).startOf("month").month(l).year(i).hour(t.hour()).minute(t.minute()).second(t.second());return Qt(n.daysInMonth()).map(p=>n.add(p,"day").toDate())},ga=(t,i,l,a,n)=>{const p=ae().year(i).month(l).startOf("month").hour(t.hour()).minute(t.minute()).second(t.second()),r=Za(t,i,l,a).find(g=>!(n!=null&&n(g)));return r?ae(r).locale(a):p.locale(a)},Ja=(t,i,l)=>{const a=t.year();if(!(l!=null&&l(t.toDate())))return t.locale(i);const n=t.month();if(!Za(t,a,n,i).every(l))return ga(t,a,n,i,l);for(let p=0;p<12;p++)if(!Za(t,a,p,i).every(l))return ga(t,a,p,i,l);return t},ka=(t,i,l,a)=>{if(Ce(t))return t.map(n=>ka(n,i,l,a));if(Dn(t)){const n=a!=null&&a.value?ae(t):ae(t,i);if(!n.isValid())return n}return ae(t,i).locale(l)},Pl=De({...yt,showWeekNumber:Boolean,selectionMode:kt("date")}),Sl=["changerange","pick","select"],Qa=(t="")=>["normal","today"].includes(t),Dl=(t,i)=>{const{lang:l}=Ee(),a=Z(),n=Z(),p=Z(),r=Z(),g=Z([[],[],[],[],[],[]]);let _=!1;const C=t.date.$locale().weekStart||7,P=t.date.locale("en").localeData().weekdaysShort().map(f=>f.toLowerCase()),D=E(()=>C>3?7-C:-C),F=E(()=>{const f=t.date.startOf("month");return f.subtract(f.day()||7,"day")}),R=E(()=>P.concat(P).slice(C,C+7)),o=E(()=>Rn(e(k)).some(f=>f.isCurrent)),M=E(()=>{const f=t.date.startOf("month");return{startOfMonthDay:f.day()||7,dateCountOfMonth:f.daysInMonth(),dateCountOfLastMonth:f.subtract(1,"month").daysInMonth()}}),d=E(()=>t.selectionMode==="dates"?Ne(t.parsedValue):[]),m=(f,{count:G,rowIndex:v,columnIndex:Y})=>{const{startOfMonthDay:w,dateCountOfMonth:A,dateCountOfLastMonth:Q}=e(M),ie=e(D);if(v>=0&&v<=1){const ee=w+ie<0?7+w+ie:w+ie;if(Y+v*7>=ee)return f.text=G,!0;f.text=Q-(ee-Y%7)+1+v*7,f.type="prev-month"}else return G<=A?f.text=G:(f.text=G-A,f.type="next-month"),!0;return!1},L=(f,{columnIndex:G,rowIndex:v},Y)=>{const{disabledDate:w,cellClassName:A}=t,Q=e(d),ie=m(f,{count:Y,rowIndex:v,columnIndex:G}),ee=f.dayjs.toDate();return f.selected=Q.find(re=>re.isSame(f.dayjs,"day")),f.isSelected=!!f.selected,f.isCurrent=h(f),f.disabled=w==null?void 0:w(ee),f.customClass=A==null?void 0:A(ee),ie},b=f=>{if(t.selectionMode==="week"){const[G,v]=t.showWeekNumber?[1,7]:[0,6],Y=U(f[G+1]);f[G].inRange=Y,f[G].start=Y,f[v].inRange=Y,f[v].end=Y}},k=E(()=>{const{minDate:f,maxDate:G,rangeState:v,showWeekNumber:Y}=t,w=e(D),A=e(g),Q="day";let ie=1;if(Cl({row:6,column:7},A,{startDate:f,columnIndexOffset:Y?1:0,nextEndDate:v.endDate||G||v.selecting&&f||null,now:ae().locale(e(l)).startOf(Q),unit:Q,relativeDateGetter:ee=>e(F).add(ee-w,Q),setCellMetadata:(...ee)=>{L(...ee,ie)&&(ie+=1)},setRowMetadata:b}),Y)for(let ee=0;ee<6;ee++)A[ee][1].dayjs&&(A[ee][0]={type:"week",text:A[ee][1].dayjs.week()});return A});Se(()=>t.date,async()=>{var f;(f=e(a))!=null&&f.contains(document.activeElement)&&(await Ye(),await u())});const u=async()=>{var f;return(f=e(n))==null?void 0:f.focus()},h=f=>t.selectionMode==="date"&&Qa(f.type)&&I(f,t.parsedValue),I=(f,G)=>G?ae(G).locale(e(l)).isSame(t.date.date(Number(f.text)),"day"):!1,c=(f,G)=>{const v=e(M).startOfMonthDay,Y=e(D),w=v+Y<0?7+v+Y:v+Y,A=f*7+(G-(t.showWeekNumber?1:0));return t.date.startOf("month").subtract(w,"day").add(A,"day")},O=f=>{var w;if(!t.rangeState.selecting)return;let G=f.target;if(G.tagName==="SPAN"&&(G=(w=G.parentNode)==null?void 0:w.parentNode),G.tagName==="DIV"&&(G=G.parentNode),G.tagName!=="TD")return;const v=G.parentNode.rowIndex-1,Y=G.cellIndex;e(k)[v][Y].disabled||(v!==e(p)||Y!==e(r))&&(p.value=v,r.value=Y,i("changerange",{selecting:!0,endDate:c(v,Y)}))},V=f=>!e(o)&&(f==null?void 0:f.text)===1&&Qa(f.type)||f.isCurrent,T=f=>{_||e(o)||t.selectionMode!=="date"||ce(f,!0)},B=f=>{f.target.closest("td")&&(_=!0)},J=f=>{f.target.closest("td")&&(_=!1)},z=f=>{!t.rangeState.selecting||!t.minDate?(i("pick",{minDate:f,maxDate:null}),i("select",!0)):(f>=t.minDate?i("pick",{minDate:t.minDate,maxDate:f}):i("pick",{minDate:f,maxDate:t.minDate}),i("select",!1))},te=f=>{const G=f.week(),v=`${f.year()}w${G}`;i("pick",{year:f.year(),week:G,value:v,date:f.startOf("week")})},ne=(f,G)=>{i("pick",G?Ne(t.parsedValue).filter(v=>(v==null?void 0:v.valueOf())!==f.valueOf()):Ne(t.parsedValue).concat([f]))},ce=(f,G=!1)=>{if(t.disabled)return;const v=f.target.closest("td");if(!v)return;const Y=v.parentNode.rowIndex-1,w=v.cellIndex,A=e(k)[Y][w];if(A.disabled||A.type==="week")return;const Q=c(Y,w);switch(t.selectionMode){case"range":z(Q);break;case"date":i("pick",Q,G);break;case"week":te(Q);break;case"dates":ne(Q,!!A.selected);break}},U=f=>{if(t.selectionMode!=="week")return!1;let G=t.date.startOf("day");if(f.type==="prev-month"&&(G=G.subtract(1,"month")),f.type==="next-month"&&(G=G.add(1,"month")),G=G.date(Number.parseInt(f.text,10)),t.parsedValue&&!Ce(t.parsedValue)){const v=(t.parsedValue.day()-C+7)%7-1;return t.parsedValue.subtract(v,"day").isSame(G,"day")}return!1};return{WEEKS:R,rows:k,tbodyRef:a,currentCellRef:n,focus:u,isCurrent:h,isWeekActive:U,isSelectedCell:V,handlePickDate:ce,handleMouseUp:J,handleMouseDown:B,handleMouseMove:O,handleFocus:T}},Ml=(t,{isCurrent:i,isWeekActive:l})=>{const a=Oe("date-table"),{t:n}=Ee(),p=E(()=>[a.b(),a.is("week-mode",t.selectionMode==="week"&&!t.disabled)]),r=E(()=>n("el.datepicker.dateTablePrompt")),g=C=>{const P=[];return Qa(C.type)&&!C.disabled?(P.push("available"),C.type==="today"&&P.push("today")):P.push(C.type),i(C)&&P.push("current"),C.inRange&&(Qa(C.type)||t.selectionMode==="week")&&(P.push("in-range"),C.start&&P.push("start-date"),C.end&&P.push("end-date")),(C.disabled||t.disabled)&&P.push("disabled"),C.selected&&P.push("selected"),C.customClass&&P.push(C.customClass),P.join(" ")},_=C=>[a.e("row"),{current:l(C)}];return{tableKls:p,tableLabel:r,weekHeaderClass:a.e("week-header"),getCellClasses:g,getRowKls:_,t:n}},Vl=De({cell:{type:de(Object)}});var wt=Re({name:"ElDatePickerCell",props:Vl,setup(t){const i=Oe("date-table-cell"),{slots:l}=$e(bt);return()=>{const{cell:a}=t;return he(l,"default",{...a},()=>[W("div",{class:i.b()},[W("span",{class:i.e("text")},[(a==null?void 0:a.renderText)??(a==null?void 0:a.text)])])])}}});const $l=["aria-label"],_l=["aria-label"],Ol=["aria-current","aria-selected","tabindex","aria-disabled"];var Yl=Re({__name:"basic-date-table",props:Pl,emits:Sl,setup(t,{expose:i,emit:l}){const a=t,{WEEKS:n,rows:p,tbodyRef:r,currentCellRef:g,focus:_,isCurrent:C,isWeekActive:P,isSelectedCell:D,handlePickDate:F,handleMouseUp:R,handleMouseDown:o,handleMouseMove:M,handleFocus:d}=Dl(a,l),{tableLabel:m,tableKls:L,getCellClasses:b,getRowKls:k,weekHeaderClass:u,t:h}=Ml(a,{isCurrent:C,isWeekActive:P});let I=!1;return Ut(()=>{I=!0}),i({focus:_}),(c,O)=>($(),q("table",{"aria-label":e(m),class:S(e(L)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:O[1]||(O[1]=(...V)=>e(F)&&e(F)(...V)),onMousemove:O[2]||(O[2]=(...V)=>e(M)&&e(M)(...V)),onMousedown:O[3]||(O[3]=(...V)=>e(o)&&e(o)(...V)),onMouseup:O[4]||(O[4]=(...V)=>e(R)&&e(R)(...V))},[H("tbody",{ref_key:"tbodyRef",ref:r},[H("tr",null,[c.showWeekNumber?($(),q("th",{key:0,scope:"col",class:S(e(u))},null,2)):se("v-if",!0),($(!0),q(ge,null,Ve(e(n),(V,T)=>($(),q("th",{key:T,"aria-label":e(h)("el.datepicker.weeksFull."+V),scope:"col"},me(e(h)("el.datepicker.weeks."+V)),9,_l))),128))]),($(!0),q(ge,null,Ve(e(p),(V,T)=>($(),q("tr",{key:T,class:S(e(k)(c.showWeekNumber?V[2]:V[1]))},[($(!0),q(ge,null,Ve(V,(B,J)=>($(),q("td",{key:`${T}.${J}`,ref_for:!0,ref:z=>!e(I)&&e(D)(B)&&(g.value=z),class:S(e(b)(B)),"aria-current":B.isCurrent?"date":void 0,"aria-selected":B.isCurrent,tabindex:c.disabled?void 0:e(D)(B)?0:-1,"aria-disabled":c.disabled,onFocus:O[0]||(O[0]=(...z)=>e(d)&&e(d)(...z))},[W(e(wt),{cell:B},null,8,["cell"])],42,Ol))),128))],2))),128))],512)],42,$l))}}),ct=Yl;const Rl=De({...yt,selectionMode:kt("month")}),Il=["aria-label"],Tl=["aria-selected","aria-label","tabindex","onKeydown"];var xl=Re({__name:"basic-month-table",props:Rl,emits:["changerange","pick","select"],setup(t,{expose:i,emit:l}){const a=t,n=l,p=Oe("month-table"),{t:r,lang:g}=Ee(),_=Z(),C=Z(),P=Z(a.date.locale("en").localeData().monthsShort().map(k=>k.toLowerCase())),D=Z([[],[],[]]),F=Z(),R=Z(),o=E(()=>{var h,I,c;const k=D.value,u=ae().locale(g.value).startOf("month");for(let O=0;O<3;O++){const V=k[O];for(let T=0;T<4;T++){const B=V[T]||(V[T]={row:O,column:T,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0});B.type="normal";const J=O*4+T,z=a.date.startOf("year").month(J),te=a.rangeState.endDate||a.maxDate||a.rangeState.selecting&&a.minDate||null;B.inRange=!!(a.minDate&&z.isSameOrAfter(a.minDate,"month")&&te&&z.isSameOrBefore(te,"month"))||!!(a.minDate&&z.isSameOrBefore(a.minDate,"month")&&te&&z.isSameOrAfter(te,"month")),(h=a.minDate)!=null&&h.isSameOrAfter(te)?(B.start=!!(te&&z.isSame(te,"month")),B.end=a.minDate&&z.isSame(a.minDate,"month")):(B.start=!!(a.minDate&&z.isSame(a.minDate,"month")),B.end=!!(te&&z.isSame(te,"month"))),u.isSame(z)&&(B.type="today");const ne=z.toDate();B.text=J,B.disabled=((I=a.disabledDate)==null?void 0:I.call(a,ne))||!1,B.date=ne,B.customClass=(c=a.cellClassName)==null?void 0:c.call(a,ne),B.dayjs=z,B.timestamp=z.valueOf(),B.isSelected=m(B)}}return k}),M=()=>{var k;(k=C.value)==null||k.focus()},d=k=>{const u={},h=a.date.year(),I=new Date,c=k.text;return u.disabled=a.disabled||(a.disabledDate?Za(a.date,h,c,g.value).every(a.disabledDate):!1),u.current=Ne(a.parsedValue).some(O=>ae.isDayjs(O)&&O.year()===h&&O.month()===c),u.today=I.getFullYear()===h&&I.getMonth()===c,k.customClass&&(u[k.customClass]=!0),k.inRange&&(u["in-range"]=!0,k.start&&(u["start-date"]=!0),k.end&&(u["end-date"]=!0)),u},m=k=>{const u=a.date.year(),h=k.text;return Ne(a.date).some(I=>I.year()===u&&I.month()===h)},L=k=>{var c;if(!a.rangeState.selecting)return;let u=k.target;if(u.tagName==="SPAN"&&(u=(c=u.parentNode)==null?void 0:c.parentNode),u.tagName==="DIV"&&(u=u.parentNode),u.tagName!=="TD")return;const h=u.parentNode.rowIndex,I=u.cellIndex;o.value[h][I].disabled||(h!==F.value||I!==R.value)&&(F.value=h,R.value=I,n("changerange",{selecting:!0,endDate:a.date.startOf("year").month(h*4+I)}))},b=k=>{var O;if(a.disabled)return;const u=(O=k.target)==null?void 0:O.closest("td");if((u==null?void 0:u.tagName)!=="TD"||qa(u,"disabled"))return;const h=u.cellIndex,I=u.parentNode.rowIndex*4+h,c=a.date.startOf("year").month(I);if(a.selectionMode==="months"){if(k.type==="keydown"){n("pick",Ne(a.parsedValue),!1);return}const V=ga(a.date,a.date.year(),I,g.value,a.disabledDate);n("pick",qa(u,"current")?Ne(a.parsedValue).filter(T=>(T==null?void 0:T.year())!==V.year()||(T==null?void 0:T.month())!==V.month()):Ne(a.parsedValue).concat([ae(V)]))}else a.selectionMode==="range"?a.rangeState.selecting?(a.minDate&&c>=a.minDate?n("pick",{minDate:a.minDate,maxDate:c}):n("pick",{minDate:c,maxDate:a.minDate}),n("select",!1)):(n("pick",{minDate:c,maxDate:null}),n("select",!0)):n("pick",I)};return Se(()=>a.date,async()=>{var k,u;(k=_.value)!=null&&k.contains(document.activeElement)&&(await Ye(),(u=C.value)==null||u.focus())}),i({focus:M}),(k,u)=>($(),q("table",{role:"grid","aria-label":e(r)("el.datepicker.monthTablePrompt"),class:S(e(p).b()),onClick:b,onMousemove:L},[H("tbody",{ref_key:"tbodyRef",ref:_},[($(!0),q(ge,null,Ve(o.value,(h,I)=>($(),q("tr",{key:I},[($(!0),q(ge,null,Ve(h,(c,O)=>($(),q("td",{key:O,ref_for:!0,ref:V=>c.isSelected&&(C.value=V),class:S(d(c)),"aria-selected":!!c.isSelected,"aria-label":e(r)(`el.datepicker.month${+c.text+1}`),tabindex:c.isSelected?0:-1,onKeydown:[Ze(Je(b,["prevent","stop"]),["space"]),Ze(Je(b,["prevent","stop"]),["enter"])]},[W(e(wt),{cell:{...c,renderText:e(r)("el.datepicker.months."+P.value[c.text])}},null,8,["cell"])],42,Tl))),128))]))),128))],512)],42,Il))}}),_a=xl;const Fl=De({...yt,selectionMode:kt("year")}),Nl=["aria-label"],El=["aria-selected","aria-label","tabindex","onKeydown"];var Al=Re({__name:"basic-year-table",props:Fl,emits:["changerange","pick","select"],setup(t,{expose:i,emit:l}){const a=(u,h)=>{const I=ae(String(u)).locale(h).startOf("year");return Qt(I.endOf("year").dayOfYear()).map(c=>I.add(c,"day").toDate())},n=t,p=l,r=Oe("year-table"),{t:g,lang:_}=Ee(),C=Z(),P=Z(),D=E(()=>Math.floor(n.date.year()/10)*10),F=Z([[],[],[]]),R=Z(),o=Z(),M=E(()=>{var I,c,O;const u=F.value,h=ae().locale(_.value).startOf("year");for(let V=0;V<3;V++){const T=u[V];for(let B=0;B<4&&!(V*4+B>=10);B++){let J=T[B];J||(J={row:V,column:B,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0}),J.type="normal";const z=V*4+B+D.value,te=ae().year(z),ne=n.rangeState.endDate||n.maxDate||n.rangeState.selecting&&n.minDate||null;J.inRange=!!(n.minDate&&te.isSameOrAfter(n.minDate,"year")&&ne&&te.isSameOrBefore(ne,"year"))||!!(n.minDate&&te.isSameOrBefore(n.minDate,"year")&&ne&&te.isSameOrAfter(ne,"year")),(I=n.minDate)!=null&&I.isSameOrAfter(ne)?(J.start=!!(ne&&te.isSame(ne,"year")),J.end=!!(n.minDate&&te.isSame(n.minDate,"year"))):(J.start=!!(n.minDate&&te.isSame(n.minDate,"year")),J.end=!!(ne&&te.isSame(ne,"year"))),h.isSame(te)&&(J.type="today"),J.text=z;const ce=te.toDate();J.disabled=((c=n.disabledDate)==null?void 0:c.call(n,ce))||!1,J.date=ce,J.customClass=(O=n.cellClassName)==null?void 0:O.call(n,ce),J.dayjs=te,J.timestamp=te.valueOf(),J.isSelected=L(J),T[B]=J}}return u}),d=()=>{var u;(u=P.value)==null||u.focus()},m=u=>{const h={},I=ae().locale(_.value),c=u.text;return h.disabled=n.disabled||(n.disabledDate?a(c,_.value).every(n.disabledDate):!1),h.today=I.year()===c,h.current=Ne(n.parsedValue).some(O=>O.year()===c),u.customClass&&(h[u.customClass]=!0),u.inRange&&(h["in-range"]=!0,u.start&&(h["start-date"]=!0),u.end&&(h["end-date"]=!0)),h},L=u=>{const h=u.text;return Ne(n.date).some(I=>I.year()===h)},b=u=>{var V;if(n.disabled)return;const h=(V=u.target)==null?void 0:V.closest("td");if(!h||!h.textContent||qa(h,"disabled"))return;const I=h.cellIndex,c=h.parentNode.rowIndex*4+I+D.value,O=ae().year(c);if(n.selectionMode==="range")n.rangeState.selecting?(n.minDate&&O>=n.minDate?p("pick",{minDate:n.minDate,maxDate:O}):p("pick",{minDate:O,maxDate:n.minDate}),p("select",!1)):(p("pick",{minDate:O,maxDate:null}),p("select",!0));else if(n.selectionMode==="years"){if(u.type==="keydown"){p("pick",Ne(n.parsedValue),!1);return}const T=Ja(O.startOf("year"),_.value,n.disabledDate);p("pick",qa(h,"current")?Ne(n.parsedValue).filter(B=>(B==null?void 0:B.year())!==c):Ne(n.parsedValue).concat([T]))}else p("pick",c)},k=u=>{var O;if(!n.rangeState.selecting)return;const h=(O=u.target)==null?void 0:O.closest("td");if(!h)return;const I=h.parentNode.rowIndex,c=h.cellIndex;M.value[I][c].disabled||(I!==R.value||c!==o.value)&&(R.value=I,o.value=c,p("changerange",{selecting:!0,endDate:ae().year(D.value).add(I*4+c,"year")}))};return Se(()=>n.date,async()=>{var u,h;(u=C.value)!=null&&u.contains(document.activeElement)&&(await Ye(),(h=P.value)==null||h.focus())}),i({focus:d}),(u,h)=>($(),q("table",{role:"grid","aria-label":e(g)("el.datepicker.yearTablePrompt"),class:S(e(r).b()),onClick:b,onMousemove:k},[H("tbody",{ref_key:"tbodyRef",ref:C},[($(!0),q(ge,null,Ve(M.value,(I,c)=>($(),q("tr",{key:c},[($(!0),q(ge,null,Ve(I,(O,V)=>($(),q("td",{key:`${c}_${V}`,ref_for:!0,ref:T=>O.isSelected&&(P.value=T),class:S(["available",m(O)]),"aria-selected":O.isSelected,"aria-label":String(O.text),tabindex:O.isSelected?0:-1,onKeydown:[Ze(Je(b,["prevent","stop"]),["space"]),Ze(Je(b,["prevent","stop"]),["enter"])]},[W(e(wt),{cell:O},null,8,["cell"])],42,El))),128))]))),128))],512)],42,Nl))}}),Oa=Al;const Bl=["disabled","onClick"],Ll=["aria-label","disabled"],Wl=["aria-label","disabled"],Ul=["tabindex","aria-disabled"],Kl=["tabindex","aria-disabled"],jl=["aria-label","disabled"],Hl=["aria-label","disabled"];var zl=Re({__name:"panel-date-pick",props:wl,emits:["pick","set-picker-option","panel-change"],setup(t,{emit:i}){const l=(y,j,s)=>!0,a=t,n=i,p=Oe("picker-panel"),r=Oe("date-picker"),g=vt(),_=pt(),{t:C,lang:P}=Ee(),D=$e(ea),F=$e(Ra,void 0),{shortcuts:R,disabledDate:o,cellClassName:M,defaultTime:d}=D.props,m=je(D.props,"defaultValue"),L=Z(),b=Z(ae().locale(P.value)),k=Z(!1);let u=!1;const h=E(()=>ae(d).locale(P.value)),I=E(()=>b.value.month()),c=E(()=>b.value.year()),O=Z([]),V=Z(null),T=Z(null),B=y=>O.value.length>0?l(y,O.value,a.format||"HH:mm:ss"):!0,J=y=>d&&!Ue.value&&!k.value&&!u?h.value.year(y.year()).month(y.month()).date(y.date()):ue.value?y.millisecond(0):y.startOf("day"),z=(y,...j)=>{y?Ce(y)?n("pick",y.map(J),...j):n("pick",J(y),...j):n("pick",y,...j),V.value=null,T.value=null,k.value=!1,u=!1},te=async(y,j)=>{if(v.value==="date"&&ae.isDayjs(y)){const s=Pa(a.parsedValue);let N=s?s.year(y.year()).month(y.month()).date(y.date()):y;B(N),b.value=N,z(N,ue.value||j)}else v.value==="week"?z(y.date):v.value==="dates"&&z(y,!0)},ne=y=>{const j=y?"add":"subtract";b.value=b.value[j](1,"month"),xe("month")},ce=y=>{const j=b.value,s=y?"add":"subtract";b.value=U.value==="year"?j[s](10,"year"):j[s](1,"year"),xe("year")},U=Z("date"),f=E(()=>{const y=C("el.datepicker.year");if(U.value==="year"){const j=Math.floor(c.value/10)*10;return y?`${j} ${y} - ${j+9} ${y}`:`${j} - ${j+9}`}return`${c.value} ${y}`}),G=y=>{const j=it(y.value)?y.value():y.value;if(j){u=!0,z(ae(j).locale(P.value));return}y.onClick&&y.onClick({attrs:g,slots:_,emit:n})},v=E(()=>{const{type:y}=a;return["week","month","months","year","years","dates"].includes(y)?y:"date"}),Y=E(()=>v.value==="dates"||v.value==="months"||v.value==="years"),w=E(()=>v.value==="date"?U.value:v.value),A=E(()=>!!R.length),Q=async(y,j)=>{v.value==="month"?(b.value=ga(b.value,b.value.year(),y,P.value,o),z(b.value,!1)):v.value==="months"?z(y,j??!0):(b.value=ga(b.value,b.value.year(),y,P.value,o),U.value="date",["month","year","date","week"].includes(v.value)&&(z(b.value,!0),await Ye(),ta())),xe("month")},ie=async(y,j)=>{v.value==="year"?(b.value=Ja(b.value.startOf("year").year(y),P.value,o),z(b.value,!1)):v.value==="years"?z(y,j??!0):(b.value=Ja(b.value.year(y),P.value,o),U.value="month",["month","year","date","week"].includes(v.value)&&(z(b.value,!0),await Ye(),ta())),xe("year")},ee=Ya(),re=async y=>{ee.value||(U.value=y,await Ye(),ta())},ue=E(()=>a.type==="datetime"||a.type==="datetimerange"),ye=E(()=>{const y=ue.value||v.value==="dates",j=v.value==="years",s=v.value==="months",N=U.value==="date",oe=U.value==="year",we=U.value==="month";return y&&N||j&&oe||s&&we}),Ae=E(()=>!Y.value&&a.showNow||a.showConfirm),He=E(()=>o?a.parsedValue?Ce(a.parsedValue)?o(a.parsedValue[0].toDate()):o(a.parsedValue.toDate()):!0:!1),ze=()=>{if(Y.value)z(a.parsedValue);else{let y=Pa(a.parsedValue);if(!y){const j=ae(d).locale(P.value),s=fe();y=j.year(s.year()).month(s.month()).date(s.date())}b.value=y,z(y)}},Te=E(()=>o?o(ae().locale(P.value).toDate()):!1),Be=()=>{const y=ae().locale(P.value).toDate();k.value=!0,(!o||!o(y))&&B(y)&&(b.value=ae().locale(P.value),z(b.value))},Me=E(()=>a.timeFormat||en(a.format)||"HH:mm:ss"),_e=E(()=>a.dateFormat||Xt(a.format)||"YYYY-MM-DD"),Ue=E(()=>{if(T.value)return T.value;if(!(!a.parsedValue&&!m.value))return(Pa(a.parsedValue)||b.value).format(Me.value)}),qe=E(()=>{if(V.value)return V.value;if(!(!a.parsedValue&&!m.value))return(Pa(a.parsedValue)||b.value).format(_e.value)}),Le=Z(!1),wa=()=>{Le.value=!0},ra=()=>{Le.value=!1},oa=y=>({hour:y.hour(),minute:y.minute(),second:y.second(),year:y.year(),month:y.month(),date:y.date()}),ia=(y,j,s)=>{const{hour:N,minute:oe,second:we}=oa(y),Fe=Pa(a.parsedValue);b.value=Fe?Fe.hour(N).minute(oe).second(we):y,z(b.value,!0),s||(Le.value=j)},ua=y=>{const j=ae(y,Me.value).locale(P.value);if(j.isValid()&&B(j)){const{year:s,month:N,date:oe}=oa(b.value);b.value=j.year(s).month(N).date(oe),T.value=null,Le.value=!1,z(b.value,!0)}},aa=y=>{const j=ka(y,_e.value,P.value,F);if(j.isValid()){if(o&&o(j.toDate()))return;const{hour:s,minute:N,second:oe}=oa(b.value);b.value=j.hour(s).minute(N).second(oe),V.value=null,z(b.value,!0)}},Ge=y=>ae.isDayjs(y)&&y.isValid()&&(o?!o(y.toDate()):!0),Ke=y=>ka(y,a.format,P.value,F),fe=()=>{const y=ae(m.value).locale(P.value);if(!m.value){const j=h.value;return ae().hour(j.hour()).minute(j.minute()).second(j.second()).locale(P.value)}return y},ta=()=>{var y;["week","month","year","date"].includes(v.value)&&((y=L.value)==null||y.focus())},na=()=>{ta(),v.value==="week"&&da(Pe.down)},ma=y=>{const j=mt(y);[Pe.up,Pe.down,Pe.left,Pe.right,Pe.home,Pe.end,Pe.pageUp,Pe.pageDown].includes(j)&&(da(j),y.stopPropagation(),y.preventDefault()),[Pe.enter,Pe.space,Pe.numpadEnter].includes(j)&&V.value===null&&T.value===null&&(y.preventDefault(),z(b.value,!1))},da=y=>{const{up:j,down:s,left:N,right:oe,home:we,end:Fe,pageUp:Ia,pageDown:et}=Pe,at={year:{[j]:-4,[s]:4,[N]:-1,[oe]:1,offset:(pe,We)=>pe.setFullYear(pe.getFullYear()+We)},month:{[j]:-4,[s]:4,[N]:-1,[oe]:1,offset:(pe,We)=>pe.setMonth(pe.getMonth()+We)},week:{[j]:-1,[s]:1,[N]:-1,[oe]:1,offset:(pe,We)=>pe.setDate(pe.getDate()+We*7)},date:{[j]:-7,[s]:7,[N]:-1,[oe]:1,[we]:pe=>-pe.getDay(),[Fe]:pe=>-pe.getDay()+6,[Ia]:pe=>-new Date(pe.getFullYear(),pe.getMonth(),0).getDate(),[et]:pe=>new Date(pe.getFullYear(),pe.getMonth()+1,0).getDate(),offset:(pe,We)=>pe.setDate(pe.getDate()+We)}},ca=b.value.toDate();for(;Math.abs(b.value.diff(ca,"year",!0))<1;){const pe=at[w.value];if(!pe)return;if(pe.offset(ca,it(pe[y])?pe[y](ca):pe[y]??0),o&&o(ca))break;const We=ae(ca).locale(P.value);b.value=We,n("pick",We,!0);break}},xe=y=>{n("panel-change",b.value.toDate(),y,U.value)};return Se(()=>v.value,y=>{if(["month","year"].includes(y)){U.value=y;return}else if(y==="years"){U.value="year";return}else if(y==="months"){U.value="month";return}U.value="date"},{immediate:!0}),Se(()=>m.value,y=>{y&&(b.value=fe())},{immediate:!0}),Se(()=>a.parsedValue,y=>{if(y){if(Y.value||Ce(y))return;b.value=y}else b.value=fe()},{immediate:!0}),n("set-picker-option",["isValidValue",Ge]),n("set-picker-option",["parseUserInput",Ke]),n("set-picker-option",["handleFocusPicker",na]),(y,j)=>($(),q("div",{class:S([e(p).b(),e(r).b(),e(p).is("border",y.border),e(p).is("disabled",e(ee)),{"has-sidebar":y.$slots.sidebar||A.value,"has-time":ue.value}])},[H("div",{class:S(e(p).e("body-wrapper"))},[he(y.$slots,"sidebar",{class:S(e(p).e("sidebar"))}),A.value?($(),q("div",{key:0,class:S(e(p).e("sidebar"))},[($(!0),q(ge,null,Ve(e(R),(s,N)=>($(),q("button",{key:N,type:"button",disabled:e(ee),class:S(e(p).e("shortcut")),onClick:oe=>G(s)},me(s.text),11,Bl))),128))],2)):se("v-if",!0),H("div",{class:S(e(p).e("body"))},[ue.value?($(),q("div",{key:0,class:S(e(r).e("time-header"))},[H("span",{class:S(e(r).e("editor-wrap"))},[W(e(la),{placeholder:e(C)("el.datepicker.selectDate"),"model-value":qe.value,size:"small","validate-event":!1,disabled:e(ee),readonly:!y.editable,onInput:j[0]||(j[0]=s=>V.value=s),onChange:aa},null,8,["placeholder","model-value","disabled","readonly"])],2),Ie(($(),q("span",{class:S(e(r).e("editor-wrap"))},[W(e(la),{placeholder:e(C)("el.datepicker.selectTime"),"model-value":Ue.value,size:"small","validate-event":!1,disabled:e(ee),readonly:!y.editable,onFocus:wa,onInput:j[1]||(j[1]=s=>T.value=s),onChange:ua},null,8,["placeholder","model-value","disabled","readonly"]),W(e(dt),{visible:Le.value,format:Me.value,"parsed-value":b.value,onPick:ia},null,8,["visible","format","parsed-value"])],2)),[[e(ut),ra]])],2)):se("v-if",!0),Ie(H("div",{class:S([e(r).e("header"),(U.value==="year"||U.value==="month")&&e(r).em("header","bordered")])},[H("span",{class:S(e(r).e("prev-btn"))},[H("button",{type:"button","aria-label":e(C)("el.datepicker.prevYear"),class:S(["d-arrow-left",e(p).e("icon-btn")]),disabled:e(ee),onClick:j[2]||(j[2]=s=>ce(!1))},[he(y.$slots,"prev-year",{},()=>[W(e(be),null,{default:le(()=>[W(e(fa))]),_:1})])],10,Ll),Ie(H("button",{type:"button","aria-label":e(C)("el.datepicker.prevMonth"),class:S([e(p).e("icon-btn"),"arrow-left"]),disabled:e(ee),onClick:j[3]||(j[3]=s=>ne(!1))},[he(y.$slots,"prev-month",{},()=>[W(e(be),null,{default:le(()=>[W(e(ot))]),_:1})])],10,Wl),[[Qe,U.value==="date"]])],2),H("span",{role:"button",class:S(e(r).e("header-label")),"aria-live":"polite",tabindex:y.disabled?void 0:0,"aria-disabled":y.disabled,onKeydown:j[4]||(j[4]=Ze(s=>re("year"),["enter"])),onClick:j[5]||(j[5]=s=>re("year"))},me(f.value),43,Ul),Ie(H("span",{role:"button","aria-live":"polite",tabindex:y.disabled?void 0:0,"aria-disabled":y.disabled,class:S([e(r).e("header-label"),{active:U.value==="month"}]),onKeydown:j[6]||(j[6]=Ze(s=>re("month"),["enter"])),onClick:j[7]||(j[7]=s=>re("month"))},me(e(C)(`el.datepicker.month${I.value+1}`)),43,Kl),[[Qe,U.value==="date"]]),H("span",{class:S(e(r).e("next-btn"))},[Ie(H("button",{type:"button","aria-label":e(C)("el.datepicker.nextMonth"),class:S([e(p).e("icon-btn"),"arrow-right"]),disabled:e(ee),onClick:j[8]||(j[8]=s=>ne(!0))},[he(y.$slots,"next-month",{},()=>[W(e(be),null,{default:le(()=>[W(e(Ea))]),_:1})])],10,jl),[[Qe,U.value==="date"]]),H("button",{type:"button","aria-label":e(C)("el.datepicker.nextYear"),class:S([e(p).e("icon-btn"),"d-arrow-right"]),disabled:e(ee),onClick:j[9]||(j[9]=s=>ce(!0))},[he(y.$slots,"next-year",{},()=>[W(e(be),null,{default:le(()=>[W(e(va))]),_:1})])],10,Hl)],2)],2),[[Qe,U.value!=="time"]]),H("div",{class:S(e(p).e("content")),onKeydown:ma},[U.value==="date"?($(),ve(ct,{key:0,ref_key:"currentViewRef",ref:L,"selection-mode":v.value,date:b.value,"parsed-value":y.parsedValue,"disabled-date":e(o),disabled:e(ee),"cell-class-name":e(M),"show-week-number":y.showWeekNumber,onPick:te},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name","show-week-number"])):se("v-if",!0),U.value==="year"?($(),ve(Oa,{key:1,ref_key:"currentViewRef",ref:L,"selection-mode":v.value,date:b.value,"disabled-date":e(o),disabled:e(ee),"parsed-value":y.parsedValue,"cell-class-name":e(M),onPick:ie},null,8,["selection-mode","date","disabled-date","disabled","parsed-value","cell-class-name"])):se("v-if",!0),U.value==="month"?($(),ve(_a,{key:2,ref_key:"currentViewRef",ref:L,"selection-mode":v.value,date:b.value,"parsed-value":y.parsedValue,"disabled-date":e(o),disabled:e(ee),"cell-class-name":e(M),onPick:Q},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name"])):se("v-if",!0)],34)],2)],2),y.showFooter&&ye.value&&Ae.value?($(),q("div",{key:0,class:S(e(p).e("footer"))},[Ie(W(e(Ma),{text:"",size:"small",class:S(e(p).e("link-btn")),disabled:Te.value,onClick:Be},{default:le(()=>[Xe(me(e(C)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[Qe,!Y.value&&y.showNow]]),y.showConfirm?($(),ve(e(Ma),{key:0,plain:"",size:"small",class:S(e(p).e("link-btn")),disabled:He.value,onClick:ze},{default:le(()=>[Xe(me(e(C)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):se("v-if",!0)],2)):se("v-if",!0)],2))}}),ql=zl;const Gl=De({...sn,...gt}),Zl=t=>{const{emit:i}=Ht(),l=vt(),a=pt();return p=>{const r=it(p.value)?p.value():p.value;if(r){i("pick",[ae(r[0]).locale(t.value),ae(r[1]).locale(t.value)]);return}p.onClick&&p.onClick({attrs:l,slots:a,emit:i})}},Ct=(t,{defaultValue:i,defaultTime:l,leftDate:a,rightDate:n,step:p,unit:r,sortDates:g})=>{const{emit:_}=Ht(),{pickerNs:C}=$e(bt),P=Oe("date-range-picker"),{t:D,lang:F}=Ee(),R=Zl(F),o=Z(),M=Z(),d=Z({endDate:null,selecting:!1}),m=h=>{d.value=h},L=(h=!1)=>{const I=e(o),c=e(M);$a([I,c])&&_("pick",[I,c],h)},b=h=>{d.value.selecting=h,h||(d.value.endDate=null)},k=h=>{if(Ce(h)&&h.length===2){const[I,c]=h;o.value=I,a.value=I,M.value=c,g(e(o),e(M))}else u()},u=()=>{let[h,I]=Xa(e(i),{lang:e(F),step:p,unit:r,unlinkPanels:t.unlinkPanels});const c=V=>V.diff(V.startOf("d"),"ms"),O=e(l);if(O){let V=0,T=0;if(Ce(O)){const[B,J]=O.map(ae);V=c(B),T=c(J)}else{const B=c(ae(O));V=B,T=B}h=h.startOf("d").add(V,"ms"),I=I.startOf("d").add(T,"ms")}o.value=void 0,M.value=void 0,a.value=h,n.value=I};return Se(i,h=>{h&&u()},{immediate:!0}),Se(()=>t.parsedValue,h=>{(!(h!=null&&h.length)||!Wt(h,[o.value,M.value]))&&k(h)},{immediate:!0}),Se(()=>t.visible,()=>{t.visible&&k(t.parsedValue)},{immediate:!0}),{minDate:o,maxDate:M,rangeState:d,lang:F,ppNs:C,drpNs:P,handleChangeRange:m,handleRangeConfirm:L,handleShortcutClick:R,onSelect:b,parseValue:k,t:D}},Jl=(t,i,l,a)=>{const n=Z("date"),p=Z(),r=Z("date"),g=Z(),{disabledDate:_}=$e(ea).props,{t:C,lang:P}=Ee(),D=E(()=>l.value.year()),F=E(()=>l.value.month()),R=E(()=>a.value.year()),o=E(()=>a.value.month());function M(u,h){const I=C("el.datepicker.year");if(u.value==="year"){const c=Math.floor(h.value/10)*10;return I?`${c} ${I} - ${c+9} ${I}`:`${c} - ${c+9}`}return`${h.value} ${I}`}function d(u){u==null||u.focus()}async function m(u,h){if(t.disabled)return;const I=u==="left"?n:r,c=u==="left"?p:g;I.value=h,await Ye(),d(c.value)}async function L(u,h,I){if(t.disabled)return;const c=h==="left",O=c?l:a,V=c?a:l,T=c?n:r,B=c?p:g;u==="year"&&(O.value=Ja(O.value.year(I),P.value,_)),u==="month"&&(O.value=ga(O.value,O.value.year(),I,P.value,_)),t.unlinkPanels||(V.value=h==="left"?O.value.add(1,"month"):O.value.subtract(1,"month")),T.value=u==="year"?"month":"date",await Ye(),d(B.value),b(u)}function b(u){i("panel-change",[l.value.toDate(),a.value.toDate()],u)}function k(u,h,I){const c=I?"add":"subtract";return u==="year"?h[c](10,"year"):h[c](1,"year")}return{leftCurrentView:n,rightCurrentView:r,leftCurrentViewRef:p,rightCurrentViewRef:g,leftYear:D,rightYear:R,leftMonth:F,rightMonth:o,leftYearLabel:E(()=>M(n,D)),rightYearLabel:E(()=>M(r,R)),showLeftPicker:u=>m("left",u),showRightPicker:u=>m("right",u),handleLeftYearPick:u=>L("year","left",u),handleRightYearPick:u=>L("year","right",u),handleLeftMonthPick:u=>L("month","left",u),handleRightMonthPick:u=>L("month","right",u),handlePanelChange:b,adjustDateByView:k}},Ql=["disabled","onClick"],Xl=["aria-label","disabled"],es=["aria-label","disabled"],as=["disabled","aria-label"],ts=["disabled","aria-label"],ns=["tabindex","aria-disabled"],ls=["tabindex","aria-disabled"],ss=["disabled","aria-label"],rs=["disabled","aria-label"],os=["aria-label","disabled"],is=["disabled","aria-label"],us=["tabindex","aria-disabled"],ds=["tabindex","aria-disabled"],Fa="month";var cs=Re({__name:"panel-date-range",props:Gl,emits:["pick","set-picker-option","calendar-change","panel-change","clear"],setup(t,{emit:i}){const l=t,a=i,n=$e(ea),p=$e(Ra,void 0),{disabledDate:r,cellClassName:g,defaultTime:_,clearable:C}=n.props,P=je(n.props,"format"),D=je(n.props,"shortcuts"),F=je(n.props,"defaultValue"),{lang:R}=Ee(),o=Z(ae().locale(R.value)),M=Z(ae().locale(R.value).add(1,Fa)),{minDate:d,maxDate:m,rangeState:L,ppNs:b,drpNs:k,handleChangeRange:u,handleRangeConfirm:h,handleShortcutClick:I,onSelect:c,parseValue:O,t:V}=Ct(l,{defaultValue:F,defaultTime:_,leftDate:o,rightDate:M,unit:Fa,sortDates:tt});Se(()=>l.visible,x=>{!x&&L.value.selecting&&(O(l.parsedValue),c(!1))});const T=Z({min:null,max:null}),B=Z({min:null,max:null}),{leftCurrentView:J,rightCurrentView:z,leftCurrentViewRef:te,rightCurrentViewRef:ne,leftYear:ce,rightYear:U,leftMonth:f,rightMonth:G,leftYearLabel:v,rightYearLabel:Y,showLeftPicker:w,showRightPicker:A,handleLeftYearPick:Q,handleRightYearPick:ie,handleLeftMonthPick:ee,handleRightMonthPick:re,handlePanelChange:ue,adjustDateByView:ye}=Jl(l,a,o,M),Ae=E(()=>!!D.value.length),He=E(()=>T.value.min!==null?T.value.min:d.value?d.value.format(_e.value):""),ze=E(()=>T.value.max!==null?T.value.max:m.value||d.value?(m.value||d.value).format(_e.value):""),Te=E(()=>B.value.min!==null?B.value.min:d.value?d.value.format(Me.value):""),Be=E(()=>B.value.max!==null?B.value.max:m.value||d.value?(m.value||d.value).format(Me.value):""),Me=E(()=>l.timeFormat||en(P.value||"")||"HH:mm:ss"),_e=E(()=>l.dateFormat||Xt(P.value||"")||"YYYY-MM-DD"),Ue=x=>$a(x)&&(r?!r(x[0].toDate())&&!r(x[1].toDate()):!0),qe=()=>{o.value=ye(J.value,o.value,!1),l.unlinkPanels||(M.value=o.value.add(1,"month")),ue("year")},Le=()=>{o.value=o.value.subtract(1,"month"),l.unlinkPanels||(M.value=o.value.add(1,"month")),ue("month")},wa=()=>{l.unlinkPanels?M.value=ye(z.value,M.value,!0):(o.value=ye(z.value,o.value,!0),M.value=o.value.add(1,"month")),ue("year")},ra=()=>{l.unlinkPanels?M.value=M.value.add(1,"month"):(o.value=o.value.add(1,"month"),M.value=o.value.add(1,"month")),ue("month")},oa=()=>{o.value=ye(J.value,o.value,!0),ue("year")},ia=()=>{o.value=o.value.add(1,"month"),ue("month")},ua=()=>{M.value=ye(z.value,M.value,!1),ue("year")},aa=()=>{M.value=M.value.subtract(1,"month"),ue("month")},Ge=E(()=>{const x=(f.value+1)%12,K=f.value+1>=12?1:0;return l.singlePanel||l.unlinkPanels&&new Date(ce.value+K,x)l.singlePanel||l.unlinkPanels&&U.value*12+G.value-(ce.value*12+f.value+1)>=12),fe=Ya(),ta=E(()=>!(d.value&&m.value&&!L.value.selecting&&$a([d.value,m.value])&&!fe.value)),na=E(()=>l.type==="datetime"||l.type==="datetimerange"),ma=(x,K)=>{if(x)return _?ae(_[K]||_).locale(R.value).year(x.year()).month(x.month()).date(x.date()):x},da=(x,K=!0)=>{const X=x.minDate,ke=x.maxDate,pa=ma(X,0),Ca=ma(ke,1);m.value===Ca&&d.value===pa||(a("calendar-change",[X.toDate(),ke&&ke.toDate()]),m.value=Ca,d.value=pa,!na.value&&K&&(K=!pa||!Ca),h(K))},xe=Z(!1),y=Z(!1),j=()=>{xe.value=!1},s=()=>{y.value=!1},N=(x,K)=>{if(!r||!r(x.toDate()))return x;const X=x.isBefore(K);let ke=x;for(;X?ke.isBefore(K):ke.isAfter(K);)if(ke=X?ke.add(1,"day"):ke.subtract(1,"day"),!r(ke.toDate()))return ke;return x},oe=(x,K)=>{T.value[K]=x;const X=ae(x,_e.value).locale(R.value);if(X.isValid()){if(r&&r(X.toDate()))return;if(K==="min"){if(o.value=X,d.value=(d.value||o.value).year(X.year()).month(X.month()).date(X.date()),!l.unlinkPanels&&!m.value){const ke=N(d.value.add(1,"month"),d.value);M.value=ke,m.value=ke}}else if(M.value=X,m.value=(m.value||M.value).year(X.year()).month(X.month()).date(X.date()),!l.unlinkPanels&&!d.value){const ke=N(m.value.subtract(1,"month"),m.value);o.value=ke,d.value=ke}tt(d.value,m.value),h(!0)}},we=(x,K)=>{if(T.value[K]=null,K==="min"){if(!l.unlinkPanels&&m.value&&d.value&&m.value.isBefore(d.value)){const X=N(d.value.add(1,"month"),d.value);M.value=X,m.value=X}}else if(!l.unlinkPanels&&d.value&&m.value&&d.value.isAfter(m.value)){const X=N(m.value.subtract(1,"month"),m.value);o.value=X,d.value=X}tt(d.value,m.value),h(!0)},Fe=(x,K)=>{B.value[K]=x;const X=ae(x,Me.value).locale(R.value);X.isValid()&&(K==="min"?(xe.value=!0,d.value=(d.value||o.value).hour(X.hour()).minute(X.minute()).second(X.second()),o.value=d.value):(y.value=!0,m.value=(m.value||M.value).hour(X.hour()).minute(X.minute()).second(X.second()),M.value=m.value))},Ia=(x,K)=>{B.value[K]=null,K==="min"?(o.value=d.value,xe.value=!1,(!m.value||m.value.isBefore(d.value))&&(m.value=d.value)):(M.value=m.value,y.value=!1,m.value&&m.value.isBefore(d.value)&&(d.value=m.value)),h(!0)},et=(x,K,X)=>{B.value.min||(x&&(d.value=(d.value||o.value).hour(x.hour()).minute(x.minute()).second(x.second())),X||(xe.value=K),(!m.value||m.value.isBefore(d.value))&&(m.value=d.value,M.value=x,Ye(()=>{O(l.parsedValue)})),h(!0))},at=(x,K,X)=>{B.value.max||(x&&(m.value=(m.value||M.value).hour(x.hour()).minute(x.minute()).second(x.second())),X||(y.value=K),m.value&&m.value.isBefore(d.value)&&(d.value=m.value),h(!0))},ca=()=>{pe(),a("clear")},pe=()=>{let x=null;n!=null&&n.emptyValues&&(x=n.emptyValues.valueOnClear.value),o.value=Xa(e(F),{lang:e(R),unit:"month",unlinkPanels:l.unlinkPanels})[0],M.value=o.value.add(1,"month"),m.value=void 0,d.value=void 0,h(!0),a("pick",x)},We=x=>ka(x,P.value||"",R.value,p);function tt(x,K){if(l.unlinkPanels&&K){const X=(x==null?void 0:x.year())||0,ke=(x==null?void 0:x.month())||0,pa=K.year(),Ca=K.month();M.value=X===pa&&ke===Ca?K.add(1,Fa):K}else M.value=o.value.add(1,Fa),K&&(M.value=M.value.hour(K.hour()).minute(K.minute()).second(K.second()))}return a("set-picker-option",["isValidValue",Ue]),a("set-picker-option",["parseUserInput",We]),a("set-picker-option",["handleClear",pe]),(x,K)=>($(),q("div",{class:S([e(b).b(),e(k).b(),e(b).is("border",x.border),e(b).is("disabled",e(fe)),{"has-sidebar":x.$slots.sidebar||Ae.value,"has-time":na.value,"single-panel":x.singlePanel}])},[H("div",{class:S(e(b).e("body-wrapper"))},[he(x.$slots,"sidebar",{class:S(e(b).e("sidebar"))}),Ae.value?($(),q("div",{key:0,class:S(e(b).e("sidebar"))},[($(!0),q(ge,null,Ve(D.value,(X,ke)=>($(),q("button",{key:ke,type:"button",disabled:e(fe),class:S(e(b).e("shortcut")),onClick:pa=>e(I)(X)},me(X.text),11,Ql))),128))],2)):se("v-if",!0),H("div",{class:S(e(b).e("body"))},[na.value?($(),q("div",{key:0,class:S(e(k).e("time-header"))},[H("span",{class:S(e(k).e("editors-wrap"))},[H("span",{class:S(e(k).e("time-picker-wrap"))},[W(e(la),{size:"small",disabled:e(L).selecting||e(fe),placeholder:e(V)("el.datepicker.startDate"),class:S(e(k).e("editor")),"model-value":He.value,"validate-event":!1,readonly:!x.editable,onInput:K[0]||(K[0]=X=>oe(X,"min")),onChange:K[1]||(K[1]=X=>we(X,"min"))},null,8,["disabled","placeholder","class","model-value","readonly"])],2),Ie(($(),q("span",{class:S(e(k).e("time-picker-wrap"))},[W(e(la),{size:"small",class:S(e(k).e("editor")),disabled:e(L).selecting||e(fe),placeholder:e(V)("el.datepicker.startTime"),"model-value":Te.value,"validate-event":!1,readonly:!x.editable,onFocus:K[2]||(K[2]=X=>xe.value=!0),onInput:K[3]||(K[3]=X=>Fe(X,"min")),onChange:K[4]||(K[4]=X=>Ia(X,"min"))},null,8,["class","disabled","placeholder","model-value","readonly"]),W(e(dt),{visible:xe.value,format:Me.value,"datetime-role":"start","parsed-value":e(d)||o.value,onPick:et},null,8,["visible","format","parsed-value"])],2)),[[e(ut),j]])],2),H("span",null,[W(e(be),null,{default:le(()=>[W(e(Ea))]),_:1})]),H("span",{class:S([e(k).e("editors-wrap"),"is-right"])},[H("span",{class:S(e(k).e("time-picker-wrap"))},[W(e(la),{size:"small",class:S(e(k).e("editor")),disabled:e(L).selecting||e(fe),placeholder:e(V)("el.datepicker.endDate"),"model-value":ze.value,readonly:!e(d)||!x.editable,"validate-event":!1,onInput:K[5]||(K[5]=X=>oe(X,"max")),onChange:K[6]||(K[6]=X=>we(X,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),Ie(($(),q("span",{class:S(e(k).e("time-picker-wrap"))},[W(e(la),{size:"small",class:S(e(k).e("editor")),disabled:e(L).selecting||e(fe),placeholder:e(V)("el.datepicker.endTime"),"model-value":Be.value,readonly:!e(d)||!x.editable,"validate-event":!1,onFocus:K[7]||(K[7]=X=>e(d)&&(y.value=!0)),onInput:K[8]||(K[8]=X=>Fe(X,"max")),onChange:K[9]||(K[9]=X=>Ia(X,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),W(e(dt),{"datetime-role":"end",visible:y.value,format:Me.value,"parsed-value":e(m)||M.value,onPick:at},null,8,["visible","format","parsed-value"])],2)),[[e(ut),s]])],2)],2)):se("v-if",!0),H("div",{class:S([e(b).e("content"),e(k).e("content"),e(k).is("left",!x.singlePanel)])},[H("div",{class:S(e(k).e("header"))},[H("button",{type:"button",class:S([e(b).e("icon-btn"),"d-arrow-left"]),"aria-label":e(V)("el.datepicker.prevYear"),disabled:e(fe),onClick:qe},[he(x.$slots,"prev-year",{},()=>[W(e(be),null,{default:le(()=>[W(e(fa))]),_:1})])],10,Xl),Ie(H("button",{type:"button",class:S([e(b).e("icon-btn"),"arrow-left"]),"aria-label":e(V)("el.datepicker.prevMonth"),disabled:e(fe),onClick:Le},[he(x.$slots,"prev-month",{},()=>[W(e(be),null,{default:le(()=>[W(e(ot))]),_:1})])],10,es),[[Qe,e(J)==="date"]]),x.unlinkPanels||x.singlePanel?($(),q("button",{key:0,type:"button",disabled:!Ke.value||e(fe),class:S([[e(b).e("icon-btn"),e(b).is("disabled",!Ke.value||e(fe))],"d-arrow-right"]),"aria-label":e(V)("el.datepicker.nextYear"),onClick:oa},[he(x.$slots,"next-year",{},()=>[W(e(be),null,{default:le(()=>[W(e(va))]),_:1})])],10,as)):se("v-if",!0),x.unlinkPanels&&e(J)==="date"||x.singlePanel?($(),q("button",{key:1,type:"button",disabled:!Ge.value||e(fe),class:S([[e(b).e("icon-btn"),e(b).is("disabled",!Ge.value||e(fe))],"arrow-right"]),"aria-label":e(V)("el.datepicker.nextMonth"),onClick:ia},[he(x.$slots,"next-month",{},()=>[W(e(be),null,{default:le(()=>[W(e(Ea))]),_:1})])],10,ts)):se("v-if",!0),H("div",null,[H("span",{role:"button",class:S(e(k).e("header-label")),"aria-live":"polite",tabindex:x.disabled?void 0:0,"aria-disabled":x.disabled,onKeydown:K[10]||(K[10]=Ze(X=>e(w)("year"),["enter"])),onClick:K[11]||(K[11]=X=>e(w)("year"))},me(e(v)),43,ns),Ie(H("span",{role:"button","aria-live":"polite",tabindex:x.disabled?void 0:0,"aria-disabled":x.disabled,class:S([e(k).e("header-label"),{active:e(J)==="month"}]),onKeydown:K[12]||(K[12]=Ze(X=>e(w)("month"),["enter"])),onClick:K[13]||(K[13]=X=>e(w)("month"))},me(e(V)(`el.datepicker.month${o.value.month()+1}`)),43,ls),[[Qe,e(J)==="date"]])])],2),e(J)==="date"?($(),ve(ct,{key:0,ref_key:"leftCurrentViewRef",ref:te,"selection-mode":"range",date:o.value,"min-date":e(d),"max-date":e(m),"range-state":e(L),"disabled-date":e(r),"cell-class-name":e(g),"show-week-number":x.showWeekNumber,disabled:e(fe),onChangerange:e(u),onPick:da,onSelect:e(c)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):se("v-if",!0),e(J)==="year"?($(),ve(Oa,{key:1,ref_key:"leftCurrentViewRef",ref:te,"selection-mode":"year",date:o.value,"disabled-date":e(r),"parsed-value":x.parsedValue,disabled:e(fe),onPick:e(Q)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):se("v-if",!0),e(J)==="month"?($(),ve(_a,{key:2,ref_key:"leftCurrentViewRef",ref:te,"selection-mode":"month",date:o.value,"parsed-value":x.parsedValue,"disabled-date":e(r),disabled:e(fe),onPick:e(ee)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):se("v-if",!0)],2),x.singlePanel?se("v-if",!0):($(),q("div",{key:1,class:S([[e(b).e("content"),e(k).e("content")],"is-right"])},[H("div",{class:S(e(k).e("header"))},[x.unlinkPanels?($(),q("button",{key:0,type:"button",disabled:!Ke.value||e(fe),class:S([[e(b).e("icon-btn"),e(b).is("disabled",!Ke.value||e(fe))],"d-arrow-left"]),"aria-label":e(V)("el.datepicker.prevYear"),onClick:ua},[he(x.$slots,"prev-year",{},()=>[W(e(be),null,{default:le(()=>[W(e(fa))]),_:1})])],10,ss)):se("v-if",!0),x.unlinkPanels&&e(z)==="date"?($(),q("button",{key:1,type:"button",disabled:!Ge.value||e(fe),class:S([[e(b).e("icon-btn"),e(b).is("disabled",!Ge.value||e(fe))],"arrow-left"]),"aria-label":e(V)("el.datepicker.prevMonth"),onClick:aa},[he(x.$slots,"prev-month",{},()=>[W(e(be),null,{default:le(()=>[W(e(ot))]),_:1})])],10,rs)):se("v-if",!0),H("button",{type:"button","aria-label":e(V)("el.datepicker.nextYear"),class:S([e(b).e("icon-btn"),"d-arrow-right"]),disabled:e(fe),onClick:wa},[he(x.$slots,"next-year",{},()=>[W(e(be),null,{default:le(()=>[W(e(va))]),_:1})])],10,os),Ie(H("button",{type:"button",class:S([e(b).e("icon-btn"),"arrow-right"]),disabled:e(fe),"aria-label":e(V)("el.datepicker.nextMonth"),onClick:ra},[he(x.$slots,"next-month",{},()=>[W(e(be),null,{default:le(()=>[W(e(Ea))]),_:1})])],10,is),[[Qe,e(z)==="date"]]),H("div",null,[H("span",{role:"button",class:S(e(k).e("header-label")),"aria-live":"polite",tabindex:x.disabled?void 0:0,"aria-disabled":x.disabled,onKeydown:K[14]||(K[14]=Ze(X=>e(A)("year"),["enter"])),onClick:K[15]||(K[15]=X=>e(A)("year"))},me(e(Y)),43,us),Ie(H("span",{role:"button","aria-live":"polite",tabindex:x.disabled?void 0:0,"aria-disabled":x.disabled,class:S([e(k).e("header-label"),{active:e(z)==="month"}]),onKeydown:K[16]||(K[16]=Ze(X=>e(A)("month"),["enter"])),onClick:K[17]||(K[17]=X=>e(A)("month"))},me(e(V)(`el.datepicker.month${M.value.month()+1}`)),43,ds),[[Qe,e(z)==="date"]])])],2),e(z)==="date"?($(),ve(ct,{key:0,ref_key:"rightCurrentViewRef",ref:ne,"selection-mode":"range",date:M.value,"min-date":e(d),"max-date":e(m),"range-state":e(L),"disabled-date":e(r),"cell-class-name":e(g),"show-week-number":x.showWeekNumber,disabled:e(fe),onChangerange:e(u),onPick:da,onSelect:e(c)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):se("v-if",!0),e(z)==="year"?($(),ve(Oa,{key:1,ref_key:"rightCurrentViewRef",ref:ne,"selection-mode":"year",date:M.value,"disabled-date":e(r),"parsed-value":x.parsedValue,disabled:e(fe),onPick:e(ie)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):se("v-if",!0),e(z)==="month"?($(),ve(_a,{key:2,ref_key:"rightCurrentViewRef",ref:ne,"selection-mode":"month",date:M.value,"parsed-value":x.parsedValue,"disabled-date":e(r),disabled:e(fe),onPick:e(re)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):se("v-if",!0)],2))],2)],2),x.showFooter&&na.value&&(x.showConfirm||e(C))?($(),q("div",{key:0,class:S(e(b).e("footer"))},[e(C)?($(),ve(e(Ma),{key:0,text:"",size:"small",class:S(e(b).e("link-btn")),onClick:ca},{default:le(()=>[Xe(me(e(V)("el.datepicker.clear")),1)]),_:1},8,["class"])):se("v-if",!0),x.showConfirm?($(),ve(e(Ma),{key:1,plain:"",size:"small",class:S(e(b).e("link-btn")),disabled:ta.value,onClick:K[18]||(K[18]=X=>e(h)(!1))},{default:le(()=>[Xe(me(e(V)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):se("v-if",!0)],2)):se("v-if",!0)],2))}}),fs=cs;const vs=De({...gt}),ms=["pick","set-picker-option","calendar-change"],ps=({unlinkPanels:t,leftDate:i,rightDate:l})=>{const{t:a}=Ee();return{leftPrevYear:()=>{i.value=i.value.subtract(1,"year"),t.value||(l.value=l.value.subtract(1,"year"))},rightNextYear:()=>{t.value||(i.value=i.value.add(1,"year")),l.value=l.value.add(1,"year")},leftNextYear:()=>{i.value=i.value.add(1,"year")},rightPrevYear:()=>{l.value=l.value.subtract(1,"year")},leftLabel:E(()=>`${i.value.year()} ${a("el.datepicker.year")}`),rightLabel:E(()=>`${l.value.year()} ${a("el.datepicker.year")}`),leftYear:E(()=>i.value.year()),rightYear:E(()=>l.value.year()===i.value.year()?i.value.year()+1:l.value.year())}},hs=["disabled","onClick"],bs=["disabled"],ys=["disabled"],gs=["disabled"],ks=["disabled"],Na="year";var ws=Re({name:"DatePickerMonthRange",__name:"panel-month-range",props:vs,emits:ms,setup(t,{emit:i}){const l=t,a=i,{lang:n}=Ee(),p=$e(ea),r=$e(Ra,void 0),{shortcuts:g,disabledDate:_,cellClassName:C}=p.props,P=je(p.props,"format"),D=je(p.props,"defaultValue"),F=Z(ae().locale(n.value)),R=Z(ae().locale(n.value).add(1,Na)),{minDate:o,maxDate:M,rangeState:d,ppNs:m,drpNs:L,handleChangeRange:b,handleRangeConfirm:k,handleShortcutClick:u,onSelect:h,parseValue:I}=Ct(l,{defaultValue:D,leftDate:F,rightDate:R,unit:Na,sortDates:v}),c=E(()=>!!g.length),{leftPrevYear:O,rightNextYear:V,leftNextYear:T,rightPrevYear:B,leftLabel:J,rightLabel:z,leftYear:te,rightYear:ne}=ps({unlinkPanels:je(l,"unlinkPanels"),leftDate:F,rightDate:R}),ce=E(()=>l.singlePanel||l.unlinkPanels&&ne.value>te.value+1),U=(w,A=!0)=>{const Q=w.minDate,ie=w.maxDate;M.value===ie&&o.value===Q||(a("calendar-change",[Q.toDate(),ie&&ie.toDate()]),M.value=ie,o.value=Q,A&&k())},f=()=>{let w=null;p!=null&&p.emptyValues&&(w=p.emptyValues.valueOnClear.value),F.value=Xa(e(D),{lang:e(n),unit:"year",unlinkPanels:l.unlinkPanels})[0],R.value=F.value.add(1,"year"),a("pick",w)},G=w=>ka(w,P.value,n.value,r);function v(w,A){l.unlinkPanels&&A?R.value=((w==null?void 0:w.year())||0)===A.year()?A.add(1,Na):A:R.value=F.value.add(1,Na)}const Y=Ya();return Se(()=>l.visible,w=>{!w&&d.value.selecting&&(I(l.parsedValue),h(!1))}),a("set-picker-option",["isValidValue",$a]),a("set-picker-option",["parseUserInput",G]),a("set-picker-option",["handleClear",f]),(w,A)=>($(),q("div",{class:S([e(m).b(),e(L).b(),e(m).is("border",w.border),e(m).is("disabled",e(Y)),{"has-sidebar":!!w.$slots.sidebar||c.value,"single-panel":w.singlePanel}])},[H("div",{class:S(e(m).e("body-wrapper"))},[he(w.$slots,"sidebar",{class:S(e(m).e("sidebar"))}),c.value?($(),q("div",{key:0,class:S(e(m).e("sidebar"))},[($(!0),q(ge,null,Ve(e(g),(Q,ie)=>($(),q("button",{key:ie,type:"button",class:S(e(m).e("shortcut")),disabled:e(Y),onClick:ee=>e(u)(Q)},me(Q.text),11,hs))),128))],2)):se("v-if",!0),H("div",{class:S(e(m).e("body"))},[H("div",{class:S([e(m).e("content"),e(L).e("content"),e(L).is("left",!w.singlePanel)])},[H("div",{class:S(e(L).e("header"))},[H("button",{type:"button",class:S([e(m).e("icon-btn"),"d-arrow-left"]),disabled:e(Y),onClick:A[0]||(A[0]=(...Q)=>e(O)&&e(O)(...Q))},[he(w.$slots,"prev-year",{},()=>[W(e(be),null,{default:le(()=>[W(e(fa))]),_:1})])],10,bs),w.unlinkPanels||w.singlePanel?($(),q("button",{key:0,type:"button",disabled:!ce.value||e(Y),class:S([[e(m).e("icon-btn"),e(m).is("disabled",!ce.value||e(Y))],"d-arrow-right"]),onClick:A[1]||(A[1]=(...Q)=>e(T)&&e(T)(...Q))},[he(w.$slots,"next-year",{},()=>[W(e(be),null,{default:le(()=>[W(e(va))]),_:1})])],10,ys)):se("v-if",!0),H("div",null,me(e(J)),1)],2),W(_a,{"selection-mode":"range",date:F.value,"min-date":e(o),"max-date":e(M),"range-state":e(d),"disabled-date":e(_),disabled:e(Y),"cell-class-name":e(C),onChangerange:e(b),onPick:U,onSelect:e(h)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),w.singlePanel?se("v-if",!0):($(),q("div",{key:0,class:S([[e(m).e("content"),e(L).e("content")],"is-right"])},[H("div",{class:S(e(L).e("header"))},[w.unlinkPanels?($(),q("button",{key:0,type:"button",disabled:!ce.value||e(Y),class:S([[e(m).e("icon-btn"),e(m).is("disabled",!ce.value||e(Y))],"d-arrow-left"]),onClick:A[2]||(A[2]=(...Q)=>e(B)&&e(B)(...Q))},[he(w.$slots,"prev-year",{},()=>[W(e(be),null,{default:le(()=>[W(e(fa))]),_:1})])],10,gs)):se("v-if",!0),H("button",{type:"button",class:S([e(m).e("icon-btn"),"d-arrow-right"]),disabled:e(Y),onClick:A[3]||(A[3]=(...Q)=>e(V)&&e(V)(...Q))},[he(w.$slots,"next-year",{},()=>[W(e(be),null,{default:le(()=>[W(e(va))]),_:1})])],10,ks),H("div",null,me(e(z)),1)],2),W(_a,{"selection-mode":"range",date:R.value,"min-date":e(o),"max-date":e(M),"range-state":e(d),"disabled-date":e(_),disabled:e(Y),"cell-class-name":e(C),onChangerange:e(b),onPick:U,onSelect:e(h)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2))],2)],2)],2))}}),Cs=ws;const Ps=De({...gt}),Ss=["pick","set-picker-option","calendar-change"],Ds=({unlinkPanels:t,leftDate:i,rightDate:l})=>({leftPrevYear:()=>{i.value=i.value.subtract(10,"year"),t.value||(l.value=l.value.subtract(10,"year"))},rightNextYear:()=>{t.value||(i.value=i.value.add(10,"year")),l.value=l.value.add(10,"year")},leftNextYear:()=>{i.value=i.value.add(10,"year")},rightPrevYear:()=>{l.value=l.value.subtract(10,"year")},leftLabel:E(()=>{const g=Math.floor(i.value.year()/10)*10;return`${g}-${g+9}`}),rightLabel:E(()=>{const g=Math.floor(l.value.year()/10)*10;return`${g}-${g+9}`}),leftYear:E(()=>Math.floor(i.value.year()/10)*10+9),rightYear:E(()=>Math.floor(l.value.year()/10)*10)}),Ms=["disabled","onClick"],Vs=["disabled"],$s=["disabled"],_s=["disabled"],Os=["disabled"],ha=10,Da="year";var Ys=Re({name:"DatePickerYearRange",__name:"panel-year-range",props:Ps,emits:Ss,setup(t,{emit:i}){const l=t,a=i,{lang:n}=Ee(),p=Z(ae().locale(n.value)),r=Z(ae().locale(n.value).add(ha,Da)),g=$e(Ra,void 0),_=$e(ea),{shortcuts:C,disabledDate:P,cellClassName:D}=_.props,F=je(_.props,"format"),R=je(_.props,"defaultValue"),{minDate:o,maxDate:M,rangeState:d,ppNs:m,drpNs:L,handleChangeRange:b,handleRangeConfirm:k,handleShortcutClick:u,onSelect:h,parseValue:I}=Ct(l,{defaultValue:R,leftDate:p,rightDate:r,step:ha,unit:Da,sortDates:ie}),{leftPrevYear:c,rightNextYear:O,leftNextYear:V,rightPrevYear:T,leftLabel:B,rightLabel:J,leftYear:z,rightYear:te}=Ds({unlinkPanels:je(l,"unlinkPanels"),leftDate:p,rightDate:r}),ne=Ya(),ce=E(()=>!!C.length),U=E(()=>[m.b(),L.b(),m.is("border",l.border),m.is("disabled",ne.value),{"has-sidebar":!!pt().sidebar||ce.value,"single-panel":l.singlePanel}]),f=E(()=>({content:[m.e("content"),L.e("content"),L.is("left",!l.singlePanel)],arrowLeftBtn:[m.e("icon-btn"),"d-arrow-left"],arrowRightBtn:[m.e("icon-btn"),m.is("disabled",!v.value||ne.value),"d-arrow-right"]})),G=E(()=>({content:[m.e("content"),L.e("content"),"is-right"],arrowLeftBtn:[m.e("icon-btn"),m.is("disabled",!v.value||ne.value),"d-arrow-left"],arrowRightBtn:[m.e("icon-btn"),"d-arrow-right"]})),v=E(()=>l.singlePanel||l.unlinkPanels&&te.value>z.value+1),Y=(ee,re=!0)=>{const ue=ee.minDate,ye=ee.maxDate;M.value===ye&&o.value===ue||(a("calendar-change",[ue.toDate(),ye&&ye.toDate()]),M.value=ye,o.value=ue,re&&k())},w=ee=>ka(ee,F.value,n.value,g),A=ee=>$a(ee)&&(P?!P(ee[0].toDate())&&!P(ee[1].toDate()):!0),Q=()=>{let ee=null;_!=null&&_.emptyValues&&(ee=_.emptyValues.valueOnClear.value);const re=Xa(e(R),{lang:e(n),step:ha,unit:Da,unlinkPanels:l.unlinkPanels});p.value=re[0],r.value=re[1],a("pick",ee)};function ie(ee,re){if(l.unlinkPanels&&re){const ue=(ee==null?void 0:ee.year())||0,ye=re.year();r.value=ue+ha>ye?re.add(ha,Da):re}else r.value=p.value.add(ha,Da)}return Se(()=>l.visible,ee=>{!ee&&d.value.selecting&&(I(l.parsedValue),h(!1))}),a("set-picker-option",["isValidValue",A]),a("set-picker-option",["parseUserInput",w]),a("set-picker-option",["handleClear",Q]),(ee,re)=>($(),q("div",{class:S(U.value)},[H("div",{class:S(e(m).e("body-wrapper"))},[he(ee.$slots,"sidebar",{class:S(e(m).e("sidebar"))}),ce.value?($(),q("div",{key:0,class:S(e(m).e("sidebar"))},[($(!0),q(ge,null,Ve(e(C),(ue,ye)=>($(),q("button",{key:ye,type:"button",class:S(e(m).e("shortcut")),disabled:e(ne),onClick:Ae=>e(u)(ue)},me(ue.text),11,Ms))),128))],2)):se("v-if",!0),H("div",{class:S(e(m).e("body"))},[H("div",{class:S(f.value.content)},[H("div",{class:S(e(L).e("header"))},[H("button",{type:"button",class:S(f.value.arrowLeftBtn),disabled:e(ne),onClick:re[0]||(re[0]=(...ue)=>e(c)&&e(c)(...ue))},[he(ee.$slots,"prev-year",{},()=>[W(e(be),null,{default:le(()=>[W(e(fa))]),_:1})])],10,Vs),ee.unlinkPanels||ee.singlePanel?($(),q("button",{key:0,type:"button",disabled:!v.value||e(ne),class:S(f.value.arrowRightBtn),onClick:re[1]||(re[1]=(...ue)=>e(V)&&e(V)(...ue))},[he(ee.$slots,"next-year",{},()=>[W(e(be),null,{default:le(()=>[W(e(va))]),_:1})])],10,$s)):se("v-if",!0),H("div",null,me(e(B)),1)],2),W(Oa,{"selection-mode":"range",date:p.value,"min-date":e(o),"max-date":e(M),"range-state":e(d),"disabled-date":e(P),disabled:e(ne),"cell-class-name":e(D),onChangerange:e(b),onPick:Y,onSelect:e(h)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),ee.singlePanel?se("v-if",!0):($(),q("div",{key:0,class:S(G.value.content)},[H("div",{class:S(e(L).e("header"))},[ee.unlinkPanels?($(),q("button",{key:0,type:"button",disabled:!v.value||e(ne),class:S(G.value.arrowLeftBtn),onClick:re[2]||(re[2]=(...ue)=>e(T)&&e(T)(...ue))},[he(ee.$slots,"prev-year",{},()=>[W(e(be),null,{default:le(()=>[W(e(fa))]),_:1})])],10,_s)):se("v-if",!0),H("button",{type:"button",class:S(G.value.arrowRightBtn),disabled:e(ne),onClick:re[3]||(re[3]=(...ue)=>e(O)&&e(O)(...ue))},[he(ee.$slots,"next-year",{},()=>[W(e(be),null,{default:le(()=>[W(e(va))]),_:1})])],10,Os),H("div",null,me(e(J)),1)],2),W(Oa,{"selection-mode":"range",date:r.value,"min-date":e(o),"max-date":e(M),"range-state":e(d),"disabled-date":e(P),disabled:e(ne),"cell-class-name":e(D),onChangerange:e(b),onPick:Y,onSelect:e(h)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2))],2)],2)],2))}}),Rs=Ys;const Is=function(t){switch(t){case"daterange":case"datetimerange":return fs;case"monthrange":return Cs;case"yearrange":return Rs;default:return ql}};var Wa={exports:{}},Ts=Wa.exports,Tt;function xs(){return Tt||(Tt=1,(function(t,i){(function(l,a){t.exports=a()})(Ts,(function(){return function(l,a){var n=a.prototype,p=n.format;n.format=function(r){var g=this,_=this.$locale();if(!this.isValid())return p.bind(this)(r);var C=this.$utils(),P=(r||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(D){switch(D){case"Q":return Math.ceil((g.$M+1)/3);case"Do":return _.ordinal(g.$D);case"gggg":return g.weekYear();case"GGGG":return g.isoWeekYear();case"wo":return _.ordinal(g.week(),"W");case"w":case"ww":return C.s(g.week(),D==="w"?1:2,"0");case"W":case"WW":return C.s(g.isoWeek(),D==="W"?1:2,"0");case"k":case"kk":return C.s(String(g.$H===0?24:g.$H),D==="k"?1:2,"0");case"X":return Math.floor(g.$d.getTime()/1e3);case"x":return g.$d.getTime();case"z":return"["+g.offsetName()+"]";case"zzz":return"["+g.offsetName("long")+"]";default:return D}}));return p.bind(this)(P)}}}))})(Wa)),Wa.exports}var Fs=xs();const Ns=sa(Fs);var Ua={exports:{}},Es=Ua.exports,xt;function As(){return xt||(xt=1,(function(t,i){(function(l,a){t.exports=a()})(Es,(function(){var l="week",a="year";return function(n,p,r){var g=p.prototype;g.week=function(_){if(_===void 0&&(_=null),_!==null)return this.add(7*(_-this.week()),"day");var C=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var P=r(this).startOf(a).add(1,a).date(C),D=r(this).endOf(l);if(P.isBefore(D))return 1}var F=r(this).startOf(a).date(C).startOf(l).subtract(1,"millisecond"),R=this.diff(F,l,!0);return R<0?r(this).startOf("week").week():Math.ceil(R)},g.weeks=function(_){return _===void 0&&(_=null),this.week(_)}}}))})(Ua)),Ua.exports}var Bs=As();const Ls=sa(Bs);var Ka={exports:{}},Ws=Ka.exports,Ft;function Us(){return Ft||(Ft=1,(function(t,i){(function(l,a){t.exports=a()})(Ws,(function(){return function(l,a){a.prototype.weekYear=function(){var n=this.month(),p=this.week(),r=this.year();return p===1&&n===11?r+1:n===0&&p>=52?r-1:r}}}))})(Ka)),Ka.exports}var Ks=Us();const js=sa(Ks);var ja={exports:{}},Hs=ja.exports,Nt;function zs(){return Nt||(Nt=1,(function(t,i){(function(l,a){t.exports=a()})(Hs,(function(){return function(l,a,n){a.prototype.dayOfYear=function(p){var r=Math.round((n(this).startOf("day")-n(this).startOf("year"))/864e5)+1;return p==null?r:this.add(p-r,"day")}}}))})(ja)),ja.exports}var qs=zs();const Gs=sa(qs);var Ha={exports:{}},Zs=Ha.exports,Et;function Js(){return Et||(Et=1,(function(t,i){(function(l,a){t.exports=a()})(Zs,(function(){return function(l,a){a.prototype.isSameOrAfter=function(n,p){return this.isSame(n,p)||this.isAfter(n,p)}}}))})(Ha)),Ha.exports}var Qs=Js();const Xs=sa(Qs);var za={exports:{}},er=za.exports,At;function ar(){return At||(At=1,(function(t,i){(function(l,a){t.exports=a()})(er,(function(){return function(l,a){a.prototype.isSameOrBefore=function(n,p){return this.isSame(n,p)||this.isBefore(n,p)}}}))})(za)),za.exports}var tr=ar();const nr=sa(tr);function lr(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!zt(t)}ae.extend(yl);ae.extend(Ns);ae.extend(ml);ae.extend(Ls);ae.extend(js);ae.extend(Gs);ae.extend(Xs);ae.extend(nr);var sr=Re({name:"ElDatePickerPanel",install:null,inheritAttrs:!1,props:gl,emits:[Va,"calendar-change","panel-change","visible-change","clear"],setup(t,{slots:i,emit:l,attrs:a}){const n=Oe("picker-panel");jt($e("EP_PICKER_BASE",void 0))&&ya(ea,{props:ft({...Mn(t)})}),ya(bt,{slots:i,pickerNs:n});const{parsedValue:p,onCalendarChange:r,onPanelChange:g,onSetPickerOption:_,onPick:C}=$e(Jt,()=>nn(t,l),!0);return()=>W(Is(t.type),ba(xn(a,"onPick"),t,{parsedValue:p.value,"onSet-picker-option":_,"onCalendar-change":r,"onPanel-change":g,onClear:()=>l("clear"),onPick:C}),lr(i)?i:{default:()=>[i]})}});const rr=qt(sr),or=De({...tn,type:{type:de(String),default:"date"}});function ir(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!zt(t)}var ur=Re({name:"ElDatePicker",install:null,props:or,emits:[Va],setup(t,{expose:i,emit:l,slots:a}){ya(Ra,E(()=>!t.format)),ya(Zt,ft(je(t,"popperOptions")));const n=Z();i({focus:()=>{var r;(r=n.value)==null||r.focus()},blur:()=>{var r;(r=n.value)==null||r.blur()},handleOpen:()=>{var r;(r=n.value)==null||r.handleOpen()},handleClose:()=>{var r;(r=n.value)==null||r.handleClose()}});const p=r=>{l(Va,r)};return()=>W(el,ba(t,{format:t.format??(Hn[t.type]||"YYYY-MM-DD"),type:t.type,ref:n,"onUpdate:modelValue":p}),{default:r=>W(rr,ba({disabled:t.disabled,editable:t.editable,border:!1},r),ir(a)?a:{default:()=>[a]}),"range-separator":a["range-separator"]})}});const dr=qt(ur);function cr(t){const i=Z(t);let l=null;function a(){p(),i.value=t,l=setInterval(()=>{i.value--,i.value<=0&&(i.value=t)},1e3)}function n(){i.value=t}function p(){l&&(clearInterval(l),l=null)}return Vn(p),{remaining:i,start:a,stop:p,reset:n}}const fr={key:0,class:"log-options"},vr={class:"option-group"},mr={class:"option-group"},pr={class:"option-group"},hr={key:0,class:"countdown"},br={class:"log-content-box"},yr={class:"log-toolbar"},gr={key:0,class:"match-count"},kr={class:"log-pre"},wr=Re({__name:"LogsView",setup(t){const i=Z("system"),l=Z(new Date().toISOString().split("T")[0]),a=Z([]),n=Z(""),p=Z(""),r=Z([]),g=Z(""),_=Z(""),C=Z(""),P=Z(""),D=Z(10),{remaining:F,start:R,stop:o}=cr(10),M=E(()=>{if(!C.value.trim())return{content:P.value,count:0};const V=C.value.toLowerCase().trim(),T=P.value.split(` +`).filter(B=>B.toLowerCase().includes(V));return{content:T.join(` +`),count:T.length}}),d=E(()=>M.value.content),m=E(()=>M.value.count);async function L(){try{if(a.value=await Bn(l.value)||[],a.value.length>0){const V=a.value[0].file;n.value===V?b():n.value=V}else p.value="该日期暂无日志文件"}catch{a.value=[]}}async function b(){if(n.value)try{const V=await Ln(n.value);P.value=V.content||"",p.value=P.value}catch{}}async function k(){try{if(r.value=await Un()||[],r.value.length>0){const V=r.value[0].file;g.value===V?u():g.value=V}else _.value="暂无训练日志"}catch{r.value=[]}}async function u(){if(g.value)try{const V=await Wn(g.value);P.value=V.content||"",_.value=P.value}catch{}}async function h(){i.value==="system"?await b():await u()}const{start:I,stop:c}=An(h,()=>D.value*1e3,{immediate:!1});function O(){if(c(),D.value===0){o();return}R(),I()}return Se(D,O),Se(i,()=>{C.value="",i.value==="system"?L():k()}),Se(n,b),Se(g,u),Kt(()=>{L(),O()}),(V,T)=>{const B=Fn,J=Nn,z=dr,te=cn,ne=dn,ce=Ma,U=la;return $(),ve(En,{title:"查看日志"},{default:le(()=>[W(J,{modelValue:i.value,"onUpdate:modelValue":T[0]||(T[0]=f=>i.value=f),style:{"margin-bottom":"16px"}},{default:le(()=>[W(B,{label:"系统日志",name:"system"}),W(B,{label:"训练日志",name:"training"})]),_:1},8,["modelValue"]),i.value==="system"?($(),q("div",fr,[H("div",vr,[T[6]||(T[6]=H("span",{class:"option-label"},"选择日期:",-1)),W(z,{modelValue:l.value,"onUpdate:modelValue":T[1]||(T[1]=f=>l.value=f),type:"date","value-format":"YYYY-MM-DD",style:{width:"160px"},onChange:L},null,8,["modelValue"])])])):se("",!0),H("div",mr,[T[7]||(T[7]=H("span",{class:"option-label"},"日志类型:",-1)),i.value==="system"?($(),ve(ne,{key:0,modelValue:n.value,"onUpdate:modelValue":T[2]||(T[2]=f=>n.value=f),placeholder:"请选择日志文件",style:{width:"320px"}},{default:le(()=>[($(!0),q(ge,null,Ve(a.value,f=>($(),ve(te,{key:f.file,label:`${f.name} (${f.size})`,value:f.file},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])):($(),ve(ne,{key:1,modelValue:g.value,"onUpdate:modelValue":T[3]||(T[3]=f=>g.value=f),placeholder:"请选择训练日志",style:{width:"320px"}},{default:le(()=>[($(!0),q(ge,null,Ve(r.value,f=>($(),ve(te,{key:f.file,label:`${f.name} (PID: ${f.pid})`,value:f.file},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]))]),H("div",pr,[T[9]||(T[9]=H("span",{class:"option-label"},"自动刷新:",-1)),W(ne,{modelValue:D.value,"onUpdate:modelValue":T[4]||(T[4]=f=>D.value=f),style:{width:"100px"}},{default:le(()=>[W(te,{value:0,label:"关闭"}),W(te,{value:5,label:"5秒"}),W(te,{value:10,label:"10秒"}),W(te,{value:30,label:"30秒"}),W(te,{value:60,label:"60秒"})]),_:1},8,["modelValue"]),D.value>0?($(),q("span",hr,"下次刷新: "+me(e(F))+"秒",1)):se("",!0),W(ce,{onClick:h},{default:le(()=>[...T[8]||(T[8]=[Xe("立即刷新",-1)])]),_:1})]),H("div",br,[H("div",yr,[W(U,{modelValue:C.value,"onUpdate:modelValue":T[5]||(T[5]=f=>C.value=f),placeholder:"搜索日志...",size:"small",clearable:"",style:{width:"240px"}},{prefix:le(()=>[...T[10]||(T[10]=[H("i",{class:"fa fa-search"},null,-1)])]),_:1},8,["modelValue"]),C.value?($(),q("span",gr,me(m.value)+" 条匹配",1)):se("",!0)]),H("pre",kr,me(d.value||(i.value==="system"?p.value:_.value)||"日志内容将在这里显示..."),1)])]),_:1})}}}),Jr=Kn(wr,[["__scopeId","data-v-8584af09"]]);export{Jr as default}; diff --git a/frontend/dist/assets/LogsView-Np1qgq3l.css b/frontend/dist/assets/LogsView-Dmh1BeLU.css similarity index 98% rename from frontend/dist/assets/LogsView-Np1qgq3l.css rename to frontend/dist/assets/LogsView-Dmh1BeLU.css index 9dadf05..92f988a 100644 --- a/frontend/dist/assets/LogsView-Np1qgq3l.css +++ b/frontend/dist/assets/LogsView-Dmh1BeLU.css @@ -1 +1 @@ -.el-date-table{-webkit-user-select:none;user-select:none;font-size:12px}.el-date-table.is-week-mode .el-date-table__row:hover .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:var(--el-datepicker-text-color)}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child .el-date-table-cell{border-top-left-radius:15px;border-bottom-left-radius:15px;margin-left:5px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child .el-date-table-cell{border-top-right-radius:15px;border-bottom-right-radius:15px;margin-right:5px}.el-date-table.is-week-mode .el-date-table__row.current .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td{box-sizing:border-box;text-align:center;cursor:pointer;width:32px;height:30px;padding:4px 0;position:relative}.el-date-table td .el-date-table-cell{box-sizing:border-box;height:30px;padding:3px 0}.el-date-table td .el-date-table-cell .el-date-table-cell__text{border-radius:50%;width:24px;height:24px;margin:0 auto;line-height:24px;display:block;position:absolute;left:50%;transform:translate(-50%)}.el-date-table td.next-month,.el-date-table td.prev-month{color:var(--el-datepicker-off-text-color)}.el-date-table td.today{position:relative}.el-date-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-date-table td.today.start-date .el-date-table-cell__text,.el-date-table td.today.end-date .el-date-table-cell__text{color:#fff}.el-date-table td.available:hover{color:var(--el-datepicker-hover-text-color)}.el-date-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-date-table td.current:not(.disabled):focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-date-table td.start-date .el-date-table-cell,.el-date-table td.end-date .el-date-table-cell{color:#fff}.el-date-table td.start-date .el-date-table-cell__text,.el-date-table td.end-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color)}.el-date-table td.start-date .el-date-table-cell{border-top-left-radius:15px;border-bottom-left-radius:15px;margin-left:5px}.el-date-table td.end-date .el-date-table-cell{border-top-right-radius:15px;border-bottom-right-radius:15px;margin-right:5px}.el-date-table td.disabled .el-date-table-cell{background-color:var(--el-fill-color-light);opacity:1;cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-date-table td.selected .el-date-table-cell{border-radius:15px;margin-left:5px;margin-right:5px}.el-date-table td.selected .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff;border-radius:15px}.el-date-table td.week{color:var(--el-datepicker-off-text-color);cursor:default;font-size:80%}.el-date-table td:focus{outline:none}.el-date-table th{color:var(--el-datepicker-header-text-color);border-bottom:solid 1px var(--el-border-color-lighter);padding:5px;font-weight:400}.el-date-table th.el-date-table__week-header{width:24px;padding:0}.el-month-table{border-collapse:collapse;margin:-1px;font-size:12px}.el-month-table td{text-align:center;cursor:pointer;width:68px;padding:8px 0;position:relative}.el-month-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-month-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-month-table td.today.start-date .el-date-table-cell__text,.el-month-table td.today.end-date .el-date-table-cell__text{color:#fff}.el-month-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-month-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-month-table td .el-date-table-cell__text{width:54px;height:36px;color:var(--el-datepicker-text-color);border-radius:18px;margin:0 auto;line-height:36px;display:block;position:absolute;left:50%;transform:translate(-50%)}.el-month-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-month-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-month-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-month-table td.start-date .el-date-table-cell,.el-month-table td.end-date .el-date-table-cell{color:#fff}.el-month-table td.start-date .el-date-table-cell__text,.el-month-table td.end-date .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-month-table td.start-date .el-date-table-cell{border-top-left-radius:24px;border-bottom-left-radius:24px;margin-left:3px}.el-month-table td.end-date .el-date-table-cell{border-top-right-radius:24px;border-bottom-right-radius:24px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell{border-radius:24px;margin-left:3px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-month-table td:focus-visible{outline:none}.el-month-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-year-table{border-collapse:collapse;margin:-1px;font-size:12px}.el-year-table .el-icon{color:var(--el-datepicker-icon-color)}.el-year-table td{text-align:center;cursor:pointer;width:68px;padding:8px 0;position:relative}.el-year-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-year-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-year-table td.today.start-date .el-date-table-cell__text,.el-year-table td.today.end-date .el-date-table-cell__text{color:#fff}.el-year-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-year-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-year-table td .el-date-table-cell__text{width:60px;height:36px;color:var(--el-datepicker-text-color);border-radius:18px;margin:0 auto;line-height:36px;display:block;position:absolute;left:50%;transform:translate(-50%)}.el-year-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-year-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-year-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-year-table td.start-date .el-date-table-cell,.el-year-table td.end-date .el-date-table-cell{color:#fff}.el-year-table td.start-date .el-date-table-cell__text,.el-year-table td.end-date .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-year-table td.start-date .el-date-table-cell{border-top-left-radius:24px;border-bottom-left-radius:24px}.el-year-table td.end-date .el-date-table-cell{border-top-right-radius:24px;border-bottom-right-radius:24px}.el-year-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-year-table td:focus-visible{outline:none}.el-year-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{vertical-align:top;width:50%;max-height:192px;display:inline-block;position:relative;overflow:auto}.el-time-spinner__wrapper.el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;text-align:center;overflow:hidden}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:default}.el-time-spinner__arrow{color:var(--el-text-color-secondary);width:100%;z-index:var(--el-index-normal);text-align:center;cursor:pointer;height:30px;font-size:12px;line-height:30px;position:absolute;left:0}.el-time-spinner__arrow:hover{color:var(--el-color-primary)}.el-time-spinner__arrow.arrow-up{top:10px}.el-time-spinner__arrow.arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__input.el-input .el-input__inner{text-align:center;padding:0}.el-time-spinner__list{text-align:center;margin:0;padding:0;list-style:none}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";width:100%;height:80px;display:block}.el-time-spinner__item{height:32px;color:var(--el-text-color-regular);font-size:12px;line-height:32px}.el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:pointer}.el-time-spinner__item.is-active:not(.is-disabled){color:var(--el-text-color-primary);font-weight:700}.el-time-spinner__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:top;transform:scaleY(1)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:bottom;transform:scaleY(1)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:0 0;transform:scale(1)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-leave-active,.el-collapse-transition-enter-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-picker__popper{--el-datepicker-border-color:var(--el-disabled-border-color)}.el-picker__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light)}.el-picker__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-datepicker-border-color)}.el-picker__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:#0000;border-left-color:#0000}.el-picker__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-picker__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-picker__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-top-color:#0000;border-right-color:#0000}.el-date-editor{--el-date-editor-width:220px;--el-date-editor-monthrange-width:300px;--el-date-editor-daterange-width:350px;--el-date-editor-datetimerange-width:400px;--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;text-align:left;vertical-align:middle;position:relative}.el-date-editor.el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.el-date-editor.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-date-editor.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-date-editor.el-input,.el-date-editor.el-input__wrapper{width:var(--el-date-editor-width);height:var(--el-input-height,var(--el-component-size))}.el-date-editor--monthrange{--el-date-editor-width:var(--el-date-editor-monthrange-width)}.el-date-editor--daterange,.el-date-editor--timerange{--el-date-editor-width:var(--el-date-editor-daterange-width)}.el-date-editor--datetimerange{--el-date-editor-width:var(--el-date-editor-datetimerange-width)}.el-date-editor--dates .el-input__wrapper{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .close-icon,.el-date-editor .clear-icon{cursor:pointer}.el-date-editor .clear-icon:hover{color:var(--el-input-clear-hover-color)}.el-date-editor .el-range__icon{height:inherit;color:var(--el-text-color-placeholder);float:left;font-size:14px}.el-date-editor .el-range__icon svg{vertical-align:middle}.el-date-editor .el-range-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:center;width:39%;height:30px;line-height:30px;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);background-color:#0000;border:none;outline:none;margin:0;padding:0;display:inline-block}.el-date-editor .el-range-input::placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-separator{overflow-wrap:break-word;height:100%;color:var(--el-text-color-primary);flex:1;justify-content:center;align-items:center;margin:0;padding:0 5px;font-size:14px;display:inline-flex}.el-date-editor .el-range__close-icon{color:var(--el-text-color-placeholder);height:inherit;width:unset;cursor:pointer;font-size:14px}.el-date-editor .el-range__close-icon:hover{color:var(--el-input-clear-hover-color)}.el-date-editor .el-range__close-icon svg{vertical-align:middle}.el-date-editor .el-range__close-icon--hidden{opacity:0;visibility:hidden}.el-range-editor.el-input__wrapper{vertical-align:middle;align-items:center;padding:0 10px;display:inline-flex}.el-range-editor.is-active,.el-range-editor.is-active:hover{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-range-editor--large{line-height:var(--el-component-size-large)}.el-range-editor--large.el-input__wrapper{height:var(--el-component-size-large)}.el-range-editor--large .el-range-separator{font-size:14px;line-height:40px}.el-range-editor--large .el-range-input{height:38px;font-size:14px;line-height:38px}.el-range-editor--small{line-height:var(--el-component-size-small)}.el-range-editor--small.el-input__wrapper{height:var(--el-component-size-small)}.el-range-editor--small .el-range-separator{font-size:12px;line-height:24px}.el-range-editor--small .el-range-input{height:22px;font-size:12px;line-height:22px}.el-range-editor.is-disabled{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled:hover,.el-range-editor.is-disabled:focus{border-color:var(--el-disabled-border-color)}.el-range-editor.is-disabled input{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled input::placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled .el-range-separator{color:var(--el-disabled-text-color)}.el-picker-panel{color:var(--el-text-color-regular);background:var(--el-datepicker-bg-color);border-radius:var(--el-popper-border-radius,var(--el-border-radius-base));line-height:30px}.el-picker-panel .el-time-panel{border:solid 1px var(--el-datepicker-border-color);background-color:var(--el-datepicker-bg-color);box-shadow:var(--el-box-shadow-light);margin:5px 0}.el-picker-panel__body:after,.el-picker-panel__body-wrapper:after{content:"";clear:both;display:table}.el-picker-panel__content{margin:15px;position:relative}.el-picker-panel__footer{border-top:1px solid var(--el-datepicker-inner-border-color);text-align:right;background-color:var(--el-datepicker-bg-color);padding:4px 12px;font-size:0;position:relative}.el-picker-panel__shortcut{width:100%;color:var(--el-datepicker-text-color);text-align:left;cursor:pointer;background-color:#0000;border:0;outline:none;padding-left:12px;font-size:14px;line-height:28px;display:block}.el-picker-panel__shortcut:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__shortcut.active{color:var(--el-datepicker-active-color);background-color:#e6f1fe}.el-picker-panel__btn{border:1px solid var(--el-fill-color-darker);color:var(--el-text-color-primary);cursor:pointer;background-color:#0000;border-radius:2px;outline:none;padding:0 20px;font-size:12px;line-height:24px}.el-picker-panel__btn[disabled]{color:var(--el-text-color-disabled);cursor:not-allowed}.el-picker-panel__icon-btn{color:var(--el-datepicker-icon-color);cursor:pointer;background:0 0;border:0;outline:none;margin-top:8px;padding:1px 6px;font-size:12px;line-height:1}.el-picker-panel__icon-btn:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn:focus-visible{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn.is-disabled{color:var(--el-text-color-disabled)}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__icon-btn.is-disabled .el-icon{cursor:inherit}.el-picker-panel__icon-btn .el-icon{cursor:pointer;font-size:inherit}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel.is-disabled .el-picker-panel__prev-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__prev-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__prev-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__next-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__next-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__next-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__icon-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__icon-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__icon-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__shortcut{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__shortcut:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__shortcut .el-icon{cursor:inherit}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;width:110px;padding-top:6px;position:absolute;top:0;bottom:0;overflow:auto}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-date-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary);--el-datepicker-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-datepicker-bg-color);width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{padding:0 5px;display:table-cell;position:relative}.el-date-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;width:100%;padding:8px 5px 5px;font-size:12px;display:table;position:relative}.el-date-picker__header{text-align:center;padding:12px 12px 0}.el-date-picker__header--bordered{border-bottom:solid 1px var(--el-border-color-lighter);margin-bottom:0;padding-bottom:12px}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{text-align:center;cursor:pointer;color:var(--el-text-color-regular);padding:0 5px;font-size:16px;font-weight:500;line-height:22px}.el-date-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.el-date-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{text-align:center;padding:10px}.el-date-picker__time-label{float:left;cursor:pointer;margin-left:10px;line-height:30px}.el-date-picker .el-time-panel{position:absolute}.el-date-picker.is-disabled .el-date-picker__header-label{color:var(--el-text-color-disabled)}.el-date-picker.is-disabled .el-date-picker__header-label:hover{cursor:not-allowed}.el-date-picker.is-disabled .el-date-picker__header-label .el-icon{cursor:inherit}.el-date-range-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary);--el-datepicker-bg-color:var(--el-bg-color-overlay);width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker.single-panel{width:322px}.el-date-range-picker.single-panel .el-picker-panel__body{min-width:322px}.el-date-range-picker.single-panel.has-sidebar.has-time{width:434px}.el-date-range-picker.single-panel.has-sidebar{width:438px}.el-date-range-picker.single-panel .el-picker-panel__content{width:292px;margin:15px;padding:0;display:block;position:relative}.el-date-range-picker__header{text-align:center;height:28px;position:relative}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{margin-right:50px;font-size:16px;font-weight:500}.el-date-range-picker__header-label{text-align:center;cursor:pointer;color:var(--el-text-color-regular);padding:0 5px;font-size:16px;font-weight:500;line-height:22px}.el-date-range-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-range-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.el-date-range-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-range-picker__content{box-sizing:border-box;width:50%;margin:0;padding:16px;display:table-cell}.el-date-range-picker__content.is-left{border-right:1px solid var(--el-datepicker-inner-border-color)}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;width:100%;padding:8px 5px 5px;font-size:12px;display:table;position:relative}.el-date-range-picker__time-header>.el-icon-arrow-right{vertical-align:middle;color:var(--el-datepicker-icon-color);font-size:20px;display:table-cell}.el-date-range-picker__time-picker-wrap{padding:0 5px;display:table-cell;position:relative}.el-date-range-picker__time-picker-wrap .el-picker-panel{z-index:1;background:#fff;position:absolute;top:13px;right:0}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-date-range-picker.is-disabled .el-date-range-picker__header-label{color:var(--el-text-color-disabled)}.el-date-range-picker.is-disabled .el-date-range-picker__header-label:hover{cursor:not-allowed}.el-date-range-picker.is-disabled .el-date-range-picker__header-label .el-icon{cursor:inherit}.el-time-range-picker{width:354px;overflow:visible}.el-time-range-picker__content{text-align:center;z-index:1;padding:10px;position:relative}.el-time-range-picker__cell{box-sizing:border-box;width:50%;margin:0;padding:4px 7px 7px;display:inline-block}.el-time-range-picker__header{text-align:center;margin-bottom:5px;font-size:14px}.el-time-range-picker__body{border:1px solid var(--el-datepicker-border-color);border-radius:2px}.el-time-panel{width:180px;z-index:var(--el-index-top);-webkit-user-select:none;user-select:none;box-sizing:content-box;border-radius:2px;position:relative;left:0}.el-time-panel__content{font-size:0;position:relative;overflow:hidden}.el-time-panel__content:after,.el-time-panel__content:before{content:"";z-index:-1;box-sizing:border-box;text-align:left;height:32px;margin-top:-16px;padding-top:6px;position:absolute;top:50%;left:0;right:0}.el-time-panel__content:after{margin-left:12%;margin-right:12%;left:50%}.el-time-panel__content:before{border-top:1px solid var(--el-border-color-light);border-bottom:1px solid var(--el-border-color-light);margin-left:12%;margin-right:12%;padding-left:50%}.el-time-panel__content.has-seconds:after{left:66.6667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333%}.el-time-panel__footer{border-top:1px solid var(--el-timepicker-inner-border-color,var(--el-border-color-light));text-align:right;box-sizing:border-box;height:36px;padding:4px;line-height:25px}.el-time-panel__btn{cursor:pointer;color:var(--el-text-color-primary);background-color:#0000;border:none;outline:none;margin:0 5px;padding:0 5px;font-size:12px;line-height:28px}.el-time-panel__btn.confirm{color:var(--el-timepicker-active-color,var(--el-color-primary));font-weight:800}.el-picker-panel.is-border{border:solid 1px var(--el-border-color-lighter)}.el-picker-panel.is-border .el-picker-panel__body-wrapper{position:relative}.el-picker-panel.is-border.el-picker-panel [slot=sidebar],.el-picker-panel.is-border.el-picker-panel__sidebar{border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;width:110px;height:100%;padding-top:6px;position:absolute;top:0;overflow:auto}.log-options[data-v-155e9805]{margin-bottom:16px}.option-group[data-v-155e9805]{display:flex;align-items:center;gap:12px;margin-bottom:16px}.option-group .option-label[data-v-155e9805]{font-size:13px;color:#606266;white-space:nowrap}.option-group .countdown[data-v-155e9805]{font-size:12px;color:#909399}.log-content-box[data-v-155e9805]{border:1px solid #ebeef5;border-radius:6px;overflow:hidden}.log-toolbar[data-v-155e9805]{display:flex;align-items:center;gap:12px;padding:8px 16px;background:#f5f7fa;border-bottom:1px solid #ebeef5}.log-toolbar .match-count[data-v-155e9805]{font-size:12px;color:#909399}.log-pre[data-v-155e9805]{margin:0;padding:16px;background:#1e1e1e;color:#d4d4d4;font-family:SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.6;max-height:600px;overflow:auto;white-space:pre-wrap;word-wrap:break-word} +.el-date-table{-webkit-user-select:none;user-select:none;font-size:12px}.el-date-table.is-week-mode .el-date-table__row:hover .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:var(--el-datepicker-text-color)}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child .el-date-table-cell{border-top-left-radius:15px;border-bottom-left-radius:15px;margin-left:5px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child .el-date-table-cell{border-top-right-radius:15px;border-bottom-right-radius:15px;margin-right:5px}.el-date-table.is-week-mode .el-date-table__row.current .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td{box-sizing:border-box;text-align:center;cursor:pointer;width:32px;height:30px;padding:4px 0;position:relative}.el-date-table td .el-date-table-cell{box-sizing:border-box;height:30px;padding:3px 0}.el-date-table td .el-date-table-cell .el-date-table-cell__text{border-radius:50%;width:24px;height:24px;margin:0 auto;line-height:24px;display:block;position:absolute;left:50%;transform:translate(-50%)}.el-date-table td.next-month,.el-date-table td.prev-month{color:var(--el-datepicker-off-text-color)}.el-date-table td.today{position:relative}.el-date-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-date-table td.today.start-date .el-date-table-cell__text,.el-date-table td.today.end-date .el-date-table-cell__text{color:#fff}.el-date-table td.available:hover{color:var(--el-datepicker-hover-text-color)}.el-date-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-date-table td.current:not(.disabled):focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-date-table td.start-date .el-date-table-cell,.el-date-table td.end-date .el-date-table-cell{color:#fff}.el-date-table td.start-date .el-date-table-cell__text,.el-date-table td.end-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color)}.el-date-table td.start-date .el-date-table-cell{border-top-left-radius:15px;border-bottom-left-radius:15px;margin-left:5px}.el-date-table td.end-date .el-date-table-cell{border-top-right-radius:15px;border-bottom-right-radius:15px;margin-right:5px}.el-date-table td.disabled .el-date-table-cell{background-color:var(--el-fill-color-light);opacity:1;cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-date-table td.selected .el-date-table-cell{border-radius:15px;margin-left:5px;margin-right:5px}.el-date-table td.selected .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff;border-radius:15px}.el-date-table td.week{color:var(--el-datepicker-off-text-color);cursor:default;font-size:80%}.el-date-table td:focus{outline:none}.el-date-table th{color:var(--el-datepicker-header-text-color);border-bottom:solid 1px var(--el-border-color-lighter);padding:5px;font-weight:400}.el-date-table th.el-date-table__week-header{width:24px;padding:0}.el-month-table{border-collapse:collapse;margin:-1px;font-size:12px}.el-month-table td{text-align:center;cursor:pointer;width:68px;padding:8px 0;position:relative}.el-month-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-month-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-month-table td.today.start-date .el-date-table-cell__text,.el-month-table td.today.end-date .el-date-table-cell__text{color:#fff}.el-month-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-month-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-month-table td .el-date-table-cell__text{width:54px;height:36px;color:var(--el-datepicker-text-color);border-radius:18px;margin:0 auto;line-height:36px;display:block;position:absolute;left:50%;transform:translate(-50%)}.el-month-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-month-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-month-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-month-table td.start-date .el-date-table-cell,.el-month-table td.end-date .el-date-table-cell{color:#fff}.el-month-table td.start-date .el-date-table-cell__text,.el-month-table td.end-date .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-month-table td.start-date .el-date-table-cell{border-top-left-radius:24px;border-bottom-left-radius:24px;margin-left:3px}.el-month-table td.end-date .el-date-table-cell{border-top-right-radius:24px;border-bottom-right-radius:24px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell{border-radius:24px;margin-left:3px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-month-table td:focus-visible{outline:none}.el-month-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-year-table{border-collapse:collapse;margin:-1px;font-size:12px}.el-year-table .el-icon{color:var(--el-datepicker-icon-color)}.el-year-table td{text-align:center;cursor:pointer;width:68px;padding:8px 0;position:relative}.el-year-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-year-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-year-table td.today.start-date .el-date-table-cell__text,.el-year-table td.today.end-date .el-date-table-cell__text{color:#fff}.el-year-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-year-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-year-table td .el-date-table-cell__text{width:60px;height:36px;color:var(--el-datepicker-text-color);border-radius:18px;margin:0 auto;line-height:36px;display:block;position:absolute;left:50%;transform:translate(-50%)}.el-year-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-year-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-year-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-year-table td.start-date .el-date-table-cell,.el-year-table td.end-date .el-date-table-cell{color:#fff}.el-year-table td.start-date .el-date-table-cell__text,.el-year-table td.end-date .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-year-table td.start-date .el-date-table-cell{border-top-left-radius:24px;border-bottom-left-radius:24px}.el-year-table td.end-date .el-date-table-cell{border-top-right-radius:24px;border-bottom-right-radius:24px}.el-year-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-year-table td:focus-visible{outline:none}.el-year-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{vertical-align:top;width:50%;max-height:192px;display:inline-block;position:relative;overflow:auto}.el-time-spinner__wrapper.el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;text-align:center;overflow:hidden}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:default}.el-time-spinner__arrow{color:var(--el-text-color-secondary);width:100%;z-index:var(--el-index-normal);text-align:center;cursor:pointer;height:30px;font-size:12px;line-height:30px;position:absolute;left:0}.el-time-spinner__arrow:hover{color:var(--el-color-primary)}.el-time-spinner__arrow.arrow-up{top:10px}.el-time-spinner__arrow.arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__input.el-input .el-input__inner{text-align:center;padding:0}.el-time-spinner__list{text-align:center;margin:0;padding:0;list-style:none}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";width:100%;height:80px;display:block}.el-time-spinner__item{height:32px;color:var(--el-text-color-regular);font-size:12px;line-height:32px}.el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:pointer}.el-time-spinner__item.is-active:not(.is-disabled){color:var(--el-text-color-primary);font-weight:700}.el-time-spinner__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:top;transform:scaleY(1)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:bottom;transform:scaleY(1)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:0 0;transform:scale(1)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-leave-active,.el-collapse-transition-enter-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-picker__popper{--el-datepicker-border-color:var(--el-disabled-border-color)}.el-picker__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light)}.el-picker__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-datepicker-border-color)}.el-picker__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:#0000;border-left-color:#0000}.el-picker__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-picker__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-picker__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-top-color:#0000;border-right-color:#0000}.el-date-editor{--el-date-editor-width:220px;--el-date-editor-monthrange-width:300px;--el-date-editor-daterange-width:350px;--el-date-editor-datetimerange-width:400px;--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;text-align:left;vertical-align:middle;position:relative}.el-date-editor.el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.el-date-editor.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-date-editor.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-date-editor.el-input,.el-date-editor.el-input__wrapper{width:var(--el-date-editor-width);height:var(--el-input-height,var(--el-component-size))}.el-date-editor--monthrange{--el-date-editor-width:var(--el-date-editor-monthrange-width)}.el-date-editor--daterange,.el-date-editor--timerange{--el-date-editor-width:var(--el-date-editor-daterange-width)}.el-date-editor--datetimerange{--el-date-editor-width:var(--el-date-editor-datetimerange-width)}.el-date-editor--dates .el-input__wrapper{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .close-icon,.el-date-editor .clear-icon{cursor:pointer}.el-date-editor .clear-icon:hover{color:var(--el-input-clear-hover-color)}.el-date-editor .el-range__icon{height:inherit;color:var(--el-text-color-placeholder);float:left;font-size:14px}.el-date-editor .el-range__icon svg{vertical-align:middle}.el-date-editor .el-range-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:center;width:39%;height:30px;line-height:30px;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);background-color:#0000;border:none;outline:none;margin:0;padding:0;display:inline-block}.el-date-editor .el-range-input::placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-separator{overflow-wrap:break-word;height:100%;color:var(--el-text-color-primary);flex:1;justify-content:center;align-items:center;margin:0;padding:0 5px;font-size:14px;display:inline-flex}.el-date-editor .el-range__close-icon{color:var(--el-text-color-placeholder);height:inherit;width:unset;cursor:pointer;font-size:14px}.el-date-editor .el-range__close-icon:hover{color:var(--el-input-clear-hover-color)}.el-date-editor .el-range__close-icon svg{vertical-align:middle}.el-date-editor .el-range__close-icon--hidden{opacity:0;visibility:hidden}.el-range-editor.el-input__wrapper{vertical-align:middle;align-items:center;padding:0 10px;display:inline-flex}.el-range-editor.is-active,.el-range-editor.is-active:hover{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-range-editor--large{line-height:var(--el-component-size-large)}.el-range-editor--large.el-input__wrapper{height:var(--el-component-size-large)}.el-range-editor--large .el-range-separator{font-size:14px;line-height:40px}.el-range-editor--large .el-range-input{height:38px;font-size:14px;line-height:38px}.el-range-editor--small{line-height:var(--el-component-size-small)}.el-range-editor--small.el-input__wrapper{height:var(--el-component-size-small)}.el-range-editor--small .el-range-separator{font-size:12px;line-height:24px}.el-range-editor--small .el-range-input{height:22px;font-size:12px;line-height:22px}.el-range-editor.is-disabled{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled:hover,.el-range-editor.is-disabled:focus{border-color:var(--el-disabled-border-color)}.el-range-editor.is-disabled input{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled input::placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled .el-range-separator{color:var(--el-disabled-text-color)}.el-picker-panel{color:var(--el-text-color-regular);background:var(--el-datepicker-bg-color);border-radius:var(--el-popper-border-radius,var(--el-border-radius-base));line-height:30px}.el-picker-panel .el-time-panel{border:solid 1px var(--el-datepicker-border-color);background-color:var(--el-datepicker-bg-color);box-shadow:var(--el-box-shadow-light);margin:5px 0}.el-picker-panel__body:after,.el-picker-panel__body-wrapper:after{content:"";clear:both;display:table}.el-picker-panel__content{margin:15px;position:relative}.el-picker-panel__footer{border-top:1px solid var(--el-datepicker-inner-border-color);text-align:right;background-color:var(--el-datepicker-bg-color);padding:4px 12px;font-size:0;position:relative}.el-picker-panel__shortcut{width:100%;color:var(--el-datepicker-text-color);text-align:left;cursor:pointer;background-color:#0000;border:0;outline:none;padding-left:12px;font-size:14px;line-height:28px;display:block}.el-picker-panel__shortcut:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__shortcut.active{color:var(--el-datepicker-active-color);background-color:#e6f1fe}.el-picker-panel__btn{border:1px solid var(--el-fill-color-darker);color:var(--el-text-color-primary);cursor:pointer;background-color:#0000;border-radius:2px;outline:none;padding:0 20px;font-size:12px;line-height:24px}.el-picker-panel__btn[disabled]{color:var(--el-text-color-disabled);cursor:not-allowed}.el-picker-panel__icon-btn{color:var(--el-datepicker-icon-color);cursor:pointer;background:0 0;border:0;outline:none;margin-top:8px;padding:1px 6px;font-size:12px;line-height:1}.el-picker-panel__icon-btn:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn:focus-visible{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn.is-disabled{color:var(--el-text-color-disabled)}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__icon-btn.is-disabled .el-icon{cursor:inherit}.el-picker-panel__icon-btn .el-icon{cursor:pointer;font-size:inherit}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel.is-disabled .el-picker-panel__prev-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__prev-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__prev-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__next-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__next-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__next-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__icon-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__icon-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__icon-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__shortcut{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__shortcut:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__shortcut .el-icon{cursor:inherit}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;width:110px;padding-top:6px;position:absolute;top:0;bottom:0;overflow:auto}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-date-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary);--el-datepicker-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-datepicker-bg-color);width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{padding:0 5px;display:table-cell;position:relative}.el-date-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;width:100%;padding:8px 5px 5px;font-size:12px;display:table;position:relative}.el-date-picker__header{text-align:center;padding:12px 12px 0}.el-date-picker__header--bordered{border-bottom:solid 1px var(--el-border-color-lighter);margin-bottom:0;padding-bottom:12px}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{text-align:center;cursor:pointer;color:var(--el-text-color-regular);padding:0 5px;font-size:16px;font-weight:500;line-height:22px}.el-date-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.el-date-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{text-align:center;padding:10px}.el-date-picker__time-label{float:left;cursor:pointer;margin-left:10px;line-height:30px}.el-date-picker .el-time-panel{position:absolute}.el-date-picker.is-disabled .el-date-picker__header-label{color:var(--el-text-color-disabled)}.el-date-picker.is-disabled .el-date-picker__header-label:hover{cursor:not-allowed}.el-date-picker.is-disabled .el-date-picker__header-label .el-icon{cursor:inherit}.el-date-range-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary);--el-datepicker-bg-color:var(--el-bg-color-overlay);width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker.single-panel{width:322px}.el-date-range-picker.single-panel .el-picker-panel__body{min-width:322px}.el-date-range-picker.single-panel.has-sidebar.has-time{width:434px}.el-date-range-picker.single-panel.has-sidebar{width:438px}.el-date-range-picker.single-panel .el-picker-panel__content{width:292px;margin:15px;padding:0;display:block;position:relative}.el-date-range-picker__header{text-align:center;height:28px;position:relative}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{margin-right:50px;font-size:16px;font-weight:500}.el-date-range-picker__header-label{text-align:center;cursor:pointer;color:var(--el-text-color-regular);padding:0 5px;font-size:16px;font-weight:500;line-height:22px}.el-date-range-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-range-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.el-date-range-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-range-picker__content{box-sizing:border-box;width:50%;margin:0;padding:16px;display:table-cell}.el-date-range-picker__content.is-left{border-right:1px solid var(--el-datepicker-inner-border-color)}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;width:100%;padding:8px 5px 5px;font-size:12px;display:table;position:relative}.el-date-range-picker__time-header>.el-icon-arrow-right{vertical-align:middle;color:var(--el-datepicker-icon-color);font-size:20px;display:table-cell}.el-date-range-picker__time-picker-wrap{padding:0 5px;display:table-cell;position:relative}.el-date-range-picker__time-picker-wrap .el-picker-panel{z-index:1;background:#fff;position:absolute;top:13px;right:0}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-date-range-picker.is-disabled .el-date-range-picker__header-label{color:var(--el-text-color-disabled)}.el-date-range-picker.is-disabled .el-date-range-picker__header-label:hover{cursor:not-allowed}.el-date-range-picker.is-disabled .el-date-range-picker__header-label .el-icon{cursor:inherit}.el-time-range-picker{width:354px;overflow:visible}.el-time-range-picker__content{text-align:center;z-index:1;padding:10px;position:relative}.el-time-range-picker__cell{box-sizing:border-box;width:50%;margin:0;padding:4px 7px 7px;display:inline-block}.el-time-range-picker__header{text-align:center;margin-bottom:5px;font-size:14px}.el-time-range-picker__body{border:1px solid var(--el-datepicker-border-color);border-radius:2px}.el-time-panel{width:180px;z-index:var(--el-index-top);-webkit-user-select:none;user-select:none;box-sizing:content-box;border-radius:2px;position:relative;left:0}.el-time-panel__content{font-size:0;position:relative;overflow:hidden}.el-time-panel__content:after,.el-time-panel__content:before{content:"";z-index:-1;box-sizing:border-box;text-align:left;height:32px;margin-top:-16px;padding-top:6px;position:absolute;top:50%;left:0;right:0}.el-time-panel__content:after{margin-left:12%;margin-right:12%;left:50%}.el-time-panel__content:before{border-top:1px solid var(--el-border-color-light);border-bottom:1px solid var(--el-border-color-light);margin-left:12%;margin-right:12%;padding-left:50%}.el-time-panel__content.has-seconds:after{left:66.6667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333%}.el-time-panel__footer{border-top:1px solid var(--el-timepicker-inner-border-color,var(--el-border-color-light));text-align:right;box-sizing:border-box;height:36px;padding:4px;line-height:25px}.el-time-panel__btn{cursor:pointer;color:var(--el-text-color-primary);background-color:#0000;border:none;outline:none;margin:0 5px;padding:0 5px;font-size:12px;line-height:28px}.el-time-panel__btn.confirm{color:var(--el-timepicker-active-color,var(--el-color-primary));font-weight:800}.el-picker-panel.is-border{border:solid 1px var(--el-border-color-lighter)}.el-picker-panel.is-border .el-picker-panel__body-wrapper{position:relative}.el-picker-panel.is-border.el-picker-panel [slot=sidebar],.el-picker-panel.is-border.el-picker-panel__sidebar{border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;width:110px;height:100%;padding-top:6px;position:absolute;top:0;overflow:auto}.log-options[data-v-8584af09]{margin-bottom:16px}.option-group[data-v-8584af09]{display:flex;align-items:center;gap:12px;margin-bottom:16px}.option-group .option-label[data-v-8584af09]{font-size:13px;color:#606266;white-space:nowrap}.option-group .countdown[data-v-8584af09]{font-size:12px;color:#909399}.log-content-box[data-v-8584af09]{border:1px solid #ebeef5;border-radius:6px;overflow:hidden}.log-toolbar[data-v-8584af09]{display:flex;align-items:center;gap:12px;padding:8px 16px;background:#f5f7fa;border-bottom:1px solid #ebeef5}.log-toolbar .match-count[data-v-8584af09]{font-size:12px;color:#909399}.log-pre[data-v-8584af09]{margin:0;padding:16px;background:#1e1e1e;color:#d4d4d4;font-family:SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.6;max-height:600px;overflow:auto;white-space:pre-wrap;word-wrap:break-word} diff --git a/frontend/dist/assets/MainLayout-C4Xu6RsD.css b/frontend/dist/assets/MainLayout-BCu2Uo8K.css similarity index 90% rename from frontend/dist/assets/MainLayout-C4Xu6RsD.css rename to frontend/dist/assets/MainLayout-BCu2Uo8K.css index 9dfe595..9312adc 100644 --- a/frontend/dist/assets/MainLayout-C4Xu6RsD.css +++ b/frontend/dist/assets/MainLayout-BCu2Uo8K.css @@ -1,4 +1,4 @@ @charset "UTF-8";/*! * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) -*/@font-face{font-family:FontAwesome;src:url(../fonts/fontawesome-webfont.eot?v=4.7.0);src:url(../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0) format("embedded-opentype"),url(/assets/fontawesome-webfont-B-jkhYfk.woff2?v=4.7.0) format("woff2"),url(/assets/fontawesome-webfont-CDK5bt4p.woff?v=4.7.0) format("woff"),url(/assets/fontawesome-webfont-CQDK8MU3.ttf?v=4.7.0) format("truetype"),url(../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular) format("svg");font-weight:400;font-style:normal}.fa{display:inline-block;font: 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scaleX(-1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1,-1);-ms-transform:scale(1,-1);transform:scaleY(-1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:""}.fa-music:before{content:""}.fa-search:before{content:""}.fa-envelope-o:before{content:""}.fa-heart:before{content:""}.fa-star:before{content:""}.fa-star-o:before{content:""}.fa-user:before{content:""}.fa-film:before{content:""}.fa-th-large:before{content:""}.fa-th:before{content:""}.fa-th-list:before{content:""}.fa-check:before{content:""}.fa-remove:before,.fa-close:before,.fa-times:before{content:""}.fa-search-plus:before{content:""}.fa-search-minus:before{content:""}.fa-power-off:before{content:""}.fa-signal:before{content:""}.fa-gear:before,.fa-cog:before{content:""}.fa-trash-o:before{content:""}.fa-home:before{content:""}.fa-file-o:before{content:""}.fa-clock-o:before{content:""}.fa-road:before{content:""}.fa-download:before{content:""}.fa-arrow-circle-o-down:before{content:""}.fa-arrow-circle-o-up:before{content:""}.fa-inbox:before{content:""}.fa-play-circle-o:before{content:""}.fa-rotate-right:before,.fa-repeat:before{content:""}.fa-refresh:before{content:""}.fa-list-alt:before{content:""}.fa-lock:before{content:""}.fa-flag:before{content:""}.fa-headphones:before{content:""}.fa-volume-off:before{content:""}.fa-volume-down:before{content:""}.fa-volume-up:before{content:""}.fa-qrcode:before{content:""}.fa-barcode:before{content:""}.fa-tag:before{content:""}.fa-tags:before{content:""}.fa-book:before{content:""}.fa-bookmark:before{content:""}.fa-print:before{content:""}.fa-camera:before{content:""}.fa-font:before{content:""}.fa-bold:before{content:""}.fa-italic:before{content:""}.fa-text-height:before{content:""}.fa-text-width:before{content:""}.fa-align-left:before{content:""}.fa-align-center:before{content:""}.fa-align-right:before{content:""}.fa-align-justify:before{content:""}.fa-list:before{content:""}.fa-dedent:before,.fa-outdent:before{content:""}.fa-indent:before{content:""}.fa-video-camera:before{content:""}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:""}.fa-pencil:before{content:""}.fa-map-marker:before{content:""}.fa-adjust:before{content:""}.fa-tint:before{content:""}.fa-edit:before,.fa-pencil-square-o:before{content:""}.fa-share-square-o:before{content:""}.fa-check-square-o:before{content:""}.fa-arrows:before{content:""}.fa-step-backward:before{content:""}.fa-fast-backward:before{content:""}.fa-backward:before{content:""}.fa-play:before{content:""}.fa-pause:before{content:""}.fa-stop:before{content:""}.fa-forward:before{content:""}.fa-fast-forward:before{content:""}.fa-step-forward:before{content:""}.fa-eject:before{content:""}.fa-chevron-left:before{content:""}.fa-chevron-right:before{content:""}.fa-plus-circle:before{content:""}.fa-minus-circle:before{content:""}.fa-times-circle:before{content:""}.fa-check-circle:before{content:""}.fa-question-circle:before{content:""}.fa-info-circle:before{content:""}.fa-crosshairs:before{content:""}.fa-times-circle-o:before{content:""}.fa-check-circle-o:before{content:""}.fa-ban:before{content:""}.fa-arrow-left:before{content:""}.fa-arrow-right:before{content:""}.fa-arrow-up:before{content:""}.fa-arrow-down:before{content:""}.fa-mail-forward:before,.fa-share:before{content:""}.fa-expand:before{content:""}.fa-compress:before{content:""}.fa-plus:before{content:""}.fa-minus:before{content:""}.fa-asterisk:before{content:""}.fa-exclamation-circle:before{content:""}.fa-gift:before{content:""}.fa-leaf:before{content:""}.fa-fire:before{content:""}.fa-eye:before{content:""}.fa-eye-slash:before{content:""}.fa-warning:before,.fa-exclamation-triangle:before{content:""}.fa-plane:before{content:""}.fa-calendar:before{content:""}.fa-random:before{content:""}.fa-comment:before{content:""}.fa-magnet:before{content:""}.fa-chevron-up:before{content:""}.fa-chevron-down:before{content:""}.fa-retweet:before{content:""}.fa-shopping-cart:before{content:""}.fa-folder:before{content:""}.fa-folder-open:before{content:""}.fa-arrows-v:before{content:""}.fa-arrows-h:before{content:""}.fa-bar-chart-o:before,.fa-bar-chart:before{content:""}.fa-twitter-square:before{content:""}.fa-facebook-square:before{content:""}.fa-camera-retro:before{content:""}.fa-key:before{content:""}.fa-gears:before,.fa-cogs:before{content:""}.fa-comments:before{content:""}.fa-thumbs-o-up:before{content:""}.fa-thumbs-o-down:before{content:""}.fa-star-half:before{content:""}.fa-heart-o:before{content:""}.fa-sign-out:before{content:""}.fa-linkedin-square:before{content:""}.fa-thumb-tack:before{content:""}.fa-external-link:before{content:""}.fa-sign-in:before{content:""}.fa-trophy:before{content:""}.fa-github-square:before{content:""}.fa-upload:before{content:""}.fa-lemon-o:before{content:""}.fa-phone:before{content:""}.fa-square-o:before{content:""}.fa-bookmark-o:before{content:""}.fa-phone-square:before{content:""}.fa-twitter:before{content:""}.fa-facebook-f:before,.fa-facebook:before{content:""}.fa-github:before{content:""}.fa-unlock:before{content:""}.fa-credit-card:before{content:""}.fa-feed:before,.fa-rss:before{content:""}.fa-hdd-o:before{content:""}.fa-bullhorn:before{content:""}.fa-bell:before{content:""}.fa-certificate:before{content:""}.fa-hand-o-right:before{content:""}.fa-hand-o-left:before{content:""}.fa-hand-o-up:before{content:""}.fa-hand-o-down:before{content:""}.fa-arrow-circle-left:before{content:""}.fa-arrow-circle-right:before{content:""}.fa-arrow-circle-up:before{content:""}.fa-arrow-circle-down:before{content:""}.fa-globe:before{content:""}.fa-wrench:before{content:""}.fa-tasks:before{content:""}.fa-filter:before{content:""}.fa-briefcase:before{content:""}.fa-arrows-alt:before{content:""}.fa-group:before,.fa-users:before{content:""}.fa-chain:before,.fa-link:before{content:""}.fa-cloud:before{content:""}.fa-flask:before{content:""}.fa-cut:before,.fa-scissors:before{content:""}.fa-copy:before,.fa-files-o:before{content:""}.fa-paperclip:before{content:""}.fa-save:before,.fa-floppy-o:before{content:""}.fa-square:before{content:""}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:""}.fa-list-ul:before{content:""}.fa-list-ol:before{content:""}.fa-strikethrough:before{content:""}.fa-underline:before{content:""}.fa-table:before{content:""}.fa-magic:before{content:""}.fa-truck:before{content:""}.fa-pinterest:before{content:""}.fa-pinterest-square:before{content:""}.fa-google-plus-square:before{content:""}.fa-google-plus:before{content:""}.fa-money:before{content:""}.fa-caret-down:before{content:""}.fa-caret-up:before{content:""}.fa-caret-left:before{content:""}.fa-caret-right:before{content:""}.fa-columns:before{content:""}.fa-unsorted:before,.fa-sort:before{content:""}.fa-sort-down:before,.fa-sort-desc:before{content:""}.fa-sort-up:before,.fa-sort-asc:before{content:""}.fa-envelope:before{content:""}.fa-linkedin:before{content:""}.fa-rotate-left:before,.fa-undo:before{content:""}.fa-legal:before,.fa-gavel:before{content:""}.fa-dashboard:before,.fa-tachometer:before{content:""}.fa-comment-o:before{content:""}.fa-comments-o:before{content:""}.fa-flash:before,.fa-bolt:before{content:""}.fa-sitemap:before{content:""}.fa-umbrella:before{content:""}.fa-paste:before,.fa-clipboard:before{content:""}.fa-lightbulb-o:before{content:""}.fa-exchange:before{content:""}.fa-cloud-download:before{content:""}.fa-cloud-upload:before{content:""}.fa-user-md:before{content:""}.fa-stethoscope:before{content:""}.fa-suitcase:before{content:""}.fa-bell-o:before{content:""}.fa-coffee:before{content:""}.fa-cutlery:before{content:""}.fa-file-text-o:before{content:""}.fa-building-o:before{content:""}.fa-hospital-o:before{content:""}.fa-ambulance:before{content:""}.fa-medkit:before{content:""}.fa-fighter-jet:before{content:""}.fa-beer:before{content:""}.fa-h-square:before{content:""}.fa-plus-square:before{content:""}.fa-angle-double-left:before{content:""}.fa-angle-double-right:before{content:""}.fa-angle-double-up:before{content:""}.fa-angle-double-down:before{content:""}.fa-angle-left:before{content:""}.fa-angle-right:before{content:""}.fa-angle-up:before{content:""}.fa-angle-down:before{content:""}.fa-desktop:before{content:""}.fa-laptop:before{content:""}.fa-tablet:before{content:""}.fa-mobile-phone:before,.fa-mobile:before{content:""}.fa-circle-o:before{content:""}.fa-quote-left:before{content:""}.fa-quote-right:before{content:""}.fa-spinner:before{content:""}.fa-circle:before{content:""}.fa-mail-reply:before,.fa-reply:before{content:""}.fa-github-alt:before{content:""}.fa-folder-o:before{content:""}.fa-folder-open-o:before{content:""}.fa-smile-o:before{content:""}.fa-frown-o:before{content:""}.fa-meh-o:before{content:""}.fa-gamepad:before{content:""}.fa-keyboard-o:before{content:""}.fa-flag-o:before{content:""}.fa-flag-checkered:before{content:""}.fa-terminal:before{content:""}.fa-code:before{content:""}.fa-mail-reply-all:before,.fa-reply-all:before{content:""}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:""}.fa-location-arrow:before{content:""}.fa-crop:before{content:""}.fa-code-fork:before{content:""}.fa-unlink:before,.fa-chain-broken:before{content:""}.fa-question:before{content:""}.fa-info:before{content:""}.fa-exclamation:before{content:""}.fa-superscript:before{content:""}.fa-subscript:before{content:""}.fa-eraser:before{content:""}.fa-puzzle-piece:before{content:""}.fa-microphone:before{content:""}.fa-microphone-slash:before{content:""}.fa-shield:before{content:""}.fa-calendar-o:before{content:""}.fa-fire-extinguisher:before{content:""}.fa-rocket:before{content:""}.fa-maxcdn:before{content:""}.fa-chevron-circle-left:before{content:""}.fa-chevron-circle-right:before{content:""}.fa-chevron-circle-up:before{content:""}.fa-chevron-circle-down:before{content:""}.fa-html5:before{content:""}.fa-css3:before{content:""}.fa-anchor:before{content:""}.fa-unlock-alt:before{content:""}.fa-bullseye:before{content:""}.fa-ellipsis-h:before{content:""}.fa-ellipsis-v:before{content:""}.fa-rss-square:before{content:""}.fa-play-circle:before{content:""}.fa-ticket:before{content:""}.fa-minus-square:before{content:""}.fa-minus-square-o:before{content:""}.fa-level-up:before{content:""}.fa-level-down:before{content:""}.fa-check-square:before{content:""}.fa-pencil-square:before{content:""}.fa-external-link-square:before{content:""}.fa-share-square:before{content:""}.fa-compass:before{content:""}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:""}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:""}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:""}.fa-euro:before,.fa-eur:before{content:""}.fa-gbp:before{content:""}.fa-dollar:before,.fa-usd:before{content:""}.fa-rupee:before,.fa-inr:before{content:""}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:""}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:""}.fa-won:before,.fa-krw:before{content:""}.fa-bitcoin:before,.fa-btc:before{content:""}.fa-file:before{content:""}.fa-file-text:before{content:""}.fa-sort-alpha-asc:before{content:""}.fa-sort-alpha-desc:before{content:""}.fa-sort-amount-asc:before{content:""}.fa-sort-amount-desc:before{content:""}.fa-sort-numeric-asc:before{content:""}.fa-sort-numeric-desc:before{content:""}.fa-thumbs-up:before{content:""}.fa-thumbs-down:before{content:""}.fa-youtube-square:before{content:""}.fa-youtube:before{content:""}.fa-xing:before{content:""}.fa-xing-square:before{content:""}.fa-youtube-play:before{content:""}.fa-dropbox:before{content:""}.fa-stack-overflow:before{content:""}.fa-instagram:before{content:""}.fa-flickr:before{content:""}.fa-adn:before{content:""}.fa-bitbucket:before{content:""}.fa-bitbucket-square:before{content:""}.fa-tumblr:before{content:""}.fa-tumblr-square:before{content:""}.fa-long-arrow-down:before{content:""}.fa-long-arrow-up:before{content:""}.fa-long-arrow-left:before{content:""}.fa-long-arrow-right:before{content:""}.fa-apple:before{content:""}.fa-windows:before{content:""}.fa-android:before{content:""}.fa-linux:before{content:""}.fa-dribbble:before{content:""}.fa-skype:before{content:""}.fa-foursquare:before{content:""}.fa-trello:before{content:""}.fa-female:before{content:""}.fa-male:before{content:""}.fa-gittip:before,.fa-gratipay:before{content:""}.fa-sun-o:before{content:""}.fa-moon-o:before{content:""}.fa-archive:before{content:""}.fa-bug:before{content:""}.fa-vk:before{content:""}.fa-weibo:before{content:""}.fa-renren:before{content:""}.fa-pagelines:before{content:""}.fa-stack-exchange:before{content:""}.fa-arrow-circle-o-right:before{content:""}.fa-arrow-circle-o-left:before{content:""}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:""}.fa-dot-circle-o:before{content:""}.fa-wheelchair:before{content:""}.fa-vimeo-square:before{content:""}.fa-turkish-lira:before,.fa-try:before{content:""}.fa-plus-square-o:before{content:""}.fa-space-shuttle:before{content:""}.fa-slack:before{content:""}.fa-envelope-square:before{content:""}.fa-wordpress:before{content:""}.fa-openid:before{content:""}.fa-institution:before,.fa-bank:before,.fa-university:before{content:""}.fa-mortar-board:before,.fa-graduation-cap:before{content:""}.fa-yahoo:before{content:""}.fa-google:before{content:""}.fa-reddit:before{content:""}.fa-reddit-square:before{content:""}.fa-stumbleupon-circle:before{content:""}.fa-stumbleupon:before{content:""}.fa-delicious:before{content:""}.fa-digg:before{content:""}.fa-pied-piper-pp:before{content:""}.fa-pied-piper-alt:before{content:""}.fa-drupal:before{content:""}.fa-joomla:before{content:""}.fa-language:before{content:""}.fa-fax:before{content:""}.fa-building:before{content:""}.fa-child:before{content:""}.fa-paw:before{content:""}.fa-spoon:before{content:""}.fa-cube:before{content:""}.fa-cubes:before{content:""}.fa-behance:before{content:""}.fa-behance-square:before{content:""}.fa-steam:before{content:""}.fa-steam-square:before{content:""}.fa-recycle:before{content:""}.fa-automobile:before,.fa-car:before{content:""}.fa-cab:before,.fa-taxi:before{content:""}.fa-tree:before{content:""}.fa-spotify:before{content:""}.fa-deviantart:before{content:""}.fa-soundcloud:before{content:""}.fa-database:before{content:""}.fa-file-pdf-o:before{content:""}.fa-file-word-o:before{content:""}.fa-file-excel-o:before{content:""}.fa-file-powerpoint-o:before{content:""}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:""}.fa-file-zip-o:before,.fa-file-archive-o:before{content:""}.fa-file-sound-o:before,.fa-file-audio-o:before{content:""}.fa-file-movie-o:before,.fa-file-video-o:before{content:""}.fa-file-code-o:before{content:""}.fa-vine:before{content:""}.fa-codepen:before{content:""}.fa-jsfiddle:before{content:""}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:""}.fa-circle-o-notch:before{content:""}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:""}.fa-ge:before,.fa-empire:before{content:""}.fa-git-square:before{content:""}.fa-git:before{content:""}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:""}.fa-tencent-weibo:before{content:""}.fa-qq:before{content:""}.fa-wechat:before,.fa-weixin:before{content:""}.fa-send:before,.fa-paper-plane:before{content:""}.fa-send-o:before,.fa-paper-plane-o:before{content:""}.fa-history:before{content:""}.fa-circle-thin:before{content:""}.fa-header:before{content:""}.fa-paragraph:before{content:""}.fa-sliders:before{content:""}.fa-share-alt:before{content:""}.fa-share-alt-square:before{content:""}.fa-bomb:before{content:""}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:""}.fa-tty:before{content:""}.fa-binoculars:before{content:""}.fa-plug:before{content:""}.fa-slideshare:before{content:""}.fa-twitch:before{content:""}.fa-yelp:before{content:""}.fa-newspaper-o:before{content:""}.fa-wifi:before{content:""}.fa-calculator:before{content:""}.fa-paypal:before{content:""}.fa-google-wallet:before{content:""}.fa-cc-visa:before{content:""}.fa-cc-mastercard:before{content:""}.fa-cc-discover:before{content:""}.fa-cc-amex:before{content:""}.fa-cc-paypal:before{content:""}.fa-cc-stripe:before{content:""}.fa-bell-slash:before{content:""}.fa-bell-slash-o:before{content:""}.fa-trash:before{content:""}.fa-copyright:before{content:""}.fa-at:before{content:""}.fa-eyedropper:before{content:""}.fa-paint-brush:before{content:""}.fa-birthday-cake:before{content:""}.fa-area-chart:before{content:""}.fa-pie-chart:before{content:""}.fa-line-chart:before{content:""}.fa-lastfm:before{content:""}.fa-lastfm-square:before{content:""}.fa-toggle-off:before{content:""}.fa-toggle-on:before{content:""}.fa-bicycle:before{content:""}.fa-bus:before{content:""}.fa-ioxhost:before{content:""}.fa-angellist:before{content:""}.fa-cc:before{content:""}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:""}.fa-meanpath:before{content:""}.fa-buysellads:before{content:""}.fa-connectdevelop:before{content:""}.fa-dashcube:before{content:""}.fa-forumbee:before{content:""}.fa-leanpub:before{content:""}.fa-sellsy:before{content:""}.fa-shirtsinbulk:before{content:""}.fa-simplybuilt:before{content:""}.fa-skyatlas:before{content:""}.fa-cart-plus:before{content:""}.fa-cart-arrow-down:before{content:""}.fa-diamond:before{content:""}.fa-ship:before{content:""}.fa-user-secret:before{content:""}.fa-motorcycle:before{content:""}.fa-street-view:before{content:""}.fa-heartbeat:before{content:""}.fa-venus:before{content:""}.fa-mars:before{content:""}.fa-mercury:before{content:""}.fa-intersex:before,.fa-transgender:before{content:""}.fa-transgender-alt:before{content:""}.fa-venus-double:before{content:""}.fa-mars-double:before{content:""}.fa-venus-mars:before{content:""}.fa-mars-stroke:before{content:""}.fa-mars-stroke-v:before{content:""}.fa-mars-stroke-h:before{content:""}.fa-neuter:before{content:""}.fa-genderless:before{content:""}.fa-facebook-official:before{content:""}.fa-pinterest-p:before{content:""}.fa-whatsapp:before{content:""}.fa-server:before{content:""}.fa-user-plus:before{content:""}.fa-user-times:before{content:""}.fa-hotel:before,.fa-bed:before{content:""}.fa-viacoin:before{content:""}.fa-train:before{content:""}.fa-subway:before{content:""}.fa-medium:before{content:""}.fa-yc:before,.fa-y-combinator:before{content:""}.fa-optin-monster:before{content:""}.fa-opencart:before{content:""}.fa-expeditedssl:before{content:""}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:""}.fa-battery-3:before,.fa-battery-three-quarters:before{content:""}.fa-battery-2:before,.fa-battery-half:before{content:""}.fa-battery-1:before,.fa-battery-quarter:before{content:""}.fa-battery-0:before,.fa-battery-empty:before{content:""}.fa-mouse-pointer:before{content:""}.fa-i-cursor:before{content:""}.fa-object-group:before{content:""}.fa-object-ungroup:before{content:""}.fa-sticky-note:before{content:""}.fa-sticky-note-o:before{content:""}.fa-cc-jcb:before{content:""}.fa-cc-diners-club:before{content:""}.fa-clone:before{content:""}.fa-balance-scale:before{content:""}.fa-hourglass-o:before{content:""}.fa-hourglass-1:before,.fa-hourglass-start:before{content:""}.fa-hourglass-2:before,.fa-hourglass-half:before{content:""}.fa-hourglass-3:before,.fa-hourglass-end:before{content:""}.fa-hourglass:before{content:""}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:""}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:""}.fa-hand-scissors-o:before{content:""}.fa-hand-lizard-o:before{content:""}.fa-hand-spock-o:before{content:""}.fa-hand-pointer-o:before{content:""}.fa-hand-peace-o:before{content:""}.fa-trademark:before{content:""}.fa-registered:before{content:""}.fa-creative-commons:before{content:""}.fa-gg:before{content:""}.fa-gg-circle:before{content:""}.fa-tripadvisor:before{content:""}.fa-odnoklassniki:before{content:""}.fa-odnoklassniki-square:before{content:""}.fa-get-pocket:before{content:""}.fa-wikipedia-w:before{content:""}.fa-safari:before{content:""}.fa-chrome:before{content:""}.fa-firefox:before{content:""}.fa-opera:before{content:""}.fa-internet-explorer:before{content:""}.fa-tv:before,.fa-television:before{content:""}.fa-contao:before{content:""}.fa-500px:before{content:""}.fa-amazon:before{content:""}.fa-calendar-plus-o:before{content:""}.fa-calendar-minus-o:before{content:""}.fa-calendar-times-o:before{content:""}.fa-calendar-check-o:before{content:""}.fa-industry:before{content:""}.fa-map-pin:before{content:""}.fa-map-signs:before{content:""}.fa-map-o:before{content:""}.fa-map:before{content:""}.fa-commenting:before{content:""}.fa-commenting-o:before{content:""}.fa-houzz:before{content:""}.fa-vimeo:before{content:""}.fa-black-tie:before{content:""}.fa-fonticons:before{content:""}.fa-reddit-alien:before{content:""}.fa-edge:before{content:""}.fa-credit-card-alt:before{content:""}.fa-codiepie:before{content:""}.fa-modx:before{content:""}.fa-fort-awesome:before{content:""}.fa-usb:before{content:""}.fa-product-hunt:before{content:""}.fa-mixcloud:before{content:""}.fa-scribd:before{content:""}.fa-pause-circle:before{content:""}.fa-pause-circle-o:before{content:""}.fa-stop-circle:before{content:""}.fa-stop-circle-o:before{content:""}.fa-shopping-bag:before{content:""}.fa-shopping-basket:before{content:""}.fa-hashtag:before{content:""}.fa-bluetooth:before{content:""}.fa-bluetooth-b:before{content:""}.fa-percent:before{content:""}.fa-gitlab:before{content:""}.fa-wpbeginner:before{content:""}.fa-wpforms:before{content:""}.fa-envira:before{content:""}.fa-universal-access:before{content:""}.fa-wheelchair-alt:before{content:""}.fa-question-circle-o:before{content:""}.fa-blind:before{content:""}.fa-audio-description:before{content:""}.fa-volume-control-phone:before{content:""}.fa-braille:before{content:""}.fa-assistive-listening-systems:before{content:""}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:""}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:""}.fa-glide:before{content:""}.fa-glide-g:before{content:""}.fa-signing:before,.fa-sign-language:before{content:""}.fa-low-vision:before{content:""}.fa-viadeo:before{content:""}.fa-viadeo-square:before{content:""}.fa-snapchat:before{content:""}.fa-snapchat-ghost:before{content:""}.fa-snapchat-square:before{content:""}.fa-pied-piper:before{content:""}.fa-first-order:before{content:""}.fa-yoast:before{content:""}.fa-themeisle:before{content:""}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:""}.fa-fa:before,.fa-font-awesome:before{content:""}.fa-handshake-o:before{content:""}.fa-envelope-open:before{content:""}.fa-envelope-open-o:before{content:""}.fa-linode:before{content:""}.fa-address-book:before{content:""}.fa-address-book-o:before{content:""}.fa-vcard:before,.fa-address-card:before{content:""}.fa-vcard-o:before,.fa-address-card-o:before{content:""}.fa-user-circle:before{content:""}.fa-user-circle-o:before{content:""}.fa-user-o:before{content:""}.fa-id-badge:before{content:""}.fa-drivers-license:before,.fa-id-card:before{content:""}.fa-drivers-license-o:before,.fa-id-card-o:before{content:""}.fa-quora:before{content:""}.fa-free-code-camp:before{content:""}.fa-telegram:before{content:""}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:""}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:""}.fa-thermometer-2:before,.fa-thermometer-half:before{content:""}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:""}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:""}.fa-shower:before{content:""}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:""}.fa-podcast:before{content:""}.fa-window-maximize:before{content:""}.fa-window-minimize:before{content:""}.fa-window-restore:before{content:""}.fa-times-rectangle:before,.fa-window-close:before{content:""}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:""}.fa-bandcamp:before{content:""}.fa-grav:before{content:""}.fa-etsy:before{content:""}.fa-imdb:before{content:""}.fa-ravelry:before{content:""}.fa-eercast:before{content:""}.fa-microchip:before{content:""}.fa-snowflake-o:before{content:""}.fa-superpowers:before{content:""}.fa-wpexplorer:before{content:""}.fa-meetup:before{content:""}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:top;transform:scaleY(1)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:bottom;transform:scaleY(1)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:0 0;transform:scale(1)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-leave-active,.el-collapse-transition-enter-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}:root{--el-menu-active-color:var(--el-color-primary);--el-menu-text-color:var(--el-text-color-primary);--el-menu-hover-text-color:var(--el-color-primary);--el-menu-bg-color:var(--el-fill-color-blank);--el-menu-hover-bg-color:var(--el-color-primary-light-9);--el-menu-item-height:56px;--el-menu-sub-item-height:calc(var(--el-menu-item-height) - 6px);--el-menu-horizontal-height:60px;--el-menu-horizontal-sub-item-height:36px;--el-menu-item-font-size:var(--el-font-size-base);--el-menu-item-hover-fill:var(--el-color-primary-light-9);--el-menu-border-color:var(--el-border-color);--el-menu-base-level-padding:20px;--el-menu-level-padding:20px;--el-menu-icon-width:24px}.el-menu{border-right:solid 1px var(--el-menu-border-color);background-color:var(--el-menu-bg-color);box-sizing:border-box;margin:0;padding-left:0;list-style:none;position:relative}.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-sub-menu__title,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item-group__title{white-space:nowrap;padding-left:calc(var(--el-menu-base-level-padding) + var(--el-menu-level) * var(--el-menu-level-padding))}.el-menu:not(.el-menu--collapse) .el-sub-menu__title{padding-right:calc(var(--el-menu-base-level-padding) + var(--el-menu-icon-width))}.el-menu--horizontal{height:var(--el-menu-horizontal-height);border-right:none;flex-wrap:nowrap;display:flex}.el-menu--horizontal.el-menu--popup-container{height:unset}.el-menu--horizontal.el-menu{border-bottom:solid 1px var(--el-menu-border-color)}.el-menu--horizontal>.el-menu-item{height:100%;color:var(--el-menu-text-color);border-bottom:2px solid #0000;justify-content:center;align-items:center;margin:0;display:inline-flex}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-sub-menu:focus,.el-menu--horizontal>.el-sub-menu:hover{outline:none}.el-menu--horizontal>.el-sub-menu:hover .el-sub-menu__title{color:var(--el-menu-hover-text-color)}.el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title{height:100%;color:var(--el-menu-text-color);border-bottom:2px solid #0000}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title:hover{background-color:var(--el-menu-bg-color)}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-sub-menu__title{background-color:var(--el-menu-bg-color);height:var(--el-menu-horizontal-sub-item-height);line-height:var(--el-menu-horizontal-sub-item-height);color:var(--el-menu-text-color);align-items:center;padding:0 10px;display:flex}.el-menu--horizontal .el-menu .el-sub-menu__title{padding-right:40px}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-menu-item.is-active:hover,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title:hover{color:var(--el-menu-active-color)}.el-menu--horizontal .el-menu-item:not(.is-disabled):hover,.el-menu--horizontal .el-menu-item:not(.is-disabled):focus{color:var(--el-menu-active-color,var(--el-menu-hover-text-color));background-color:var(--el-menu-hover-bg-color);outline:none}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)!important}.el-menu--collapse{width:calc(var(--el-menu-icon-width) + var(--el-menu-base-level-padding) * 2)}.el-menu--collapse>.el-menu-item [class^=el-icon],.el-menu--collapse>.el-sub-menu>.el-sub-menu__title [class^=el-icon],.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title [class^=el-icon]{vertical-align:middle;width:var(--el-menu-icon-width);text-align:center;margin:0}.el-menu--collapse>.el-menu-item .el-sub-menu__icon-arrow,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item>span,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title>span,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title>span{visibility:hidden;width:0;height:0;display:inline-block;overflow:hidden}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-sub-menu{min-width:200px}.el-menu--collapse .el-sub-menu.is-active .el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--popup{z-index:100;border-radius:var(--el-border-radius-small);min-width:200px;box-shadow:var(--el-box-shadow-light);border:none;padding:5px 0}.el-menu .el-icon{flex-shrink:0}.el-menu-item{height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);font-size:var(--el-menu-item-font-size);color:var(--el-menu-text-color);padding:0 var(--el-menu-base-level-padding);cursor:pointer;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);box-sizing:border-box;white-space:nowrap;align-items:center;list-style:none;display:flex;position:relative}.el-menu-item *{vertical-align:bottom}.el-menu-item i{color:inherit}.el-menu-item:hover,.el-menu-item:focus{outline:none}.el-menu-item:hover{background-color:var(--el-menu-hover-bg-color)}.el-menu-item.is-disabled{opacity:.25;cursor:not-allowed;background:0 0!important}.el-menu-item [class^=el-icon]{width:var(--el-menu-icon-width);text-align:center;vertical-align:middle;margin-right:5px;font-size:18px}.el-menu-item.is-active{color:var(--el-menu-active-color)}.el-menu-item.is-active i{color:inherit}.el-menu-item .el-menu-tooltip__trigger{box-sizing:border-box;width:100%;height:100%;padding:0 var(--el-menu-base-level-padding);align-items:center;display:inline-flex;position:absolute;top:0;left:0}.el-sub-menu{margin:0;padding-left:0;list-style:none}.el-sub-menu__title{height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);font-size:var(--el-menu-item-font-size);color:var(--el-menu-text-color);padding:0 var(--el-menu-base-level-padding);cursor:pointer;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);box-sizing:border-box;white-space:nowrap;align-items:center;list-style:none;display:flex;position:relative}.el-sub-menu__title *{vertical-align:bottom}.el-sub-menu__title i{color:inherit}.el-sub-menu__title:hover,.el-sub-menu__title:focus{outline:none}.el-sub-menu__title.is-disabled{opacity:.25;cursor:not-allowed;background:0 0!important}.el-sub-menu__title:hover{background-color:var(--el-menu-hover-bg-color)}.el-sub-menu .el-menu{border:none}.el-sub-menu .el-menu-item{height:var(--el-menu-sub-item-height);line-height:var(--el-menu-sub-item-height)}.el-sub-menu.el-sub-menu__hide-arrow .el-sub-menu__title{padding-right:var(--el-menu-base-level-padding)}.el-sub-menu__hide-arrow .el-sub-menu__icon-arrow{display:none!important}.el-sub-menu.is-active .el-sub-menu__title{border-bottom-color:var(--el-menu-active-color)}.el-sub-menu.is-disabled .el-sub-menu__title,.el-sub-menu.is-disabled .el-menu-item{opacity:.25;cursor:not-allowed;background:0 0!important}.el-sub-menu .el-icon{vertical-align:middle;width:var(--el-menu-icon-width);text-align:center;margin-right:5px;font-size:18px}.el-sub-menu .el-icon.el-sub-menu__icon-more{margin-right:0!important}.el-sub-menu .el-sub-menu__icon-arrow{top:50%;right:var(--el-menu-base-level-padding);transition:transform var(--el-transition-duration);width:inherit;margin-top:-6px;margin-right:0;font-size:12px;position:absolute}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{padding:7px 0 7px var(--el-menu-base-level-padding);color:var(--el-text-color-secondary);font-size:12px;line-height:normal}.horizontal-collapse-transition .el-sub-menu__title .el-sub-menu__icon-arrow{transition:var(--el-transition-duration-fast);opacity:0}.el-popper,.el-menu--popup-container,.el-menu{outline:none}.app-sidebar[data-v-79462f28]{width:240px;flex-shrink:0;height:100vh;background-color:var(--sidebar-bg);display:flex;flex-direction:column;color:var(--sidebar-text);box-shadow:4px 0 24px #00000005;z-index:100;border-right:1px solid #e2e8f0}.sidebar-logo[data-v-79462f28]{display:flex;align-items:center;padding:24px 20px;margin-bottom:8px}.sidebar-logo .sidebar-logo-img[data-v-79462f28]{width:36px;height:36px;object-fit:contain;margin-right:12px}.sidebar-logo .logo-text[data-v-79462f28]{color:#334155;font-weight:600;font-size:16px;letter-spacing:.5px;white-space:nowrap}.sidebar-nav[data-v-79462f28]{flex:1;min-height:0;padding:0 12px}[data-v-79462f28] .nav-scrollbar-wrap{overflow-x:hidden}.sidebar-menu[data-v-79462f28]{border-right:none;background:transparent}.sidebar-menu[data-v-79462f28] .el-menu-item{height:46px;line-height:46px;margin-bottom:4px;border-radius:8px;padding:0 16px!important;transition:all .3s ease}.sidebar-menu[data-v-79462f28] .el-menu-item .fa{width:20px;text-align:center;margin-right:10px;font-size:16px;transition:transform .2s}.sidebar-menu[data-v-79462f28] .el-menu-item:hover{background-color:#00000008!important;color:var(--sidebar-active-text)!important}.sidebar-menu[data-v-79462f28] .el-menu-item:hover .fa{transform:scale(1.1)}.sidebar-menu[data-v-79462f28] .el-menu-item.is-active{background-color:var(--sidebar-active-bg)!important;color:var(--sidebar-active-text)!important;font-weight:600}.sidebar-menu[data-v-79462f28] .el-menu-item.is-active .fa{color:inherit}.sidebar-section-title[data-v-79462f28]{padding:16px 16px 8px;font-size:11px;color:#64748b;font-weight:600;text-transform:uppercase;letter-spacing:1px}.sidebar-footer[data-v-79462f28]{padding:20px;background:transparent;border-top:1px solid #e2e8f0}.sidebar-footer .footer-user[data-v-79462f28]{display:flex;align-items:center;background:#fff;padding:10px;border-radius:12px;border:1px solid #e2e8f0}.sidebar-footer .footer-user .user-avatar[data-v-79462f28]{border:2px solid #e2e8f0}.sidebar-footer .footer-user .user-info[data-v-79462f28]{flex:1;margin-left:12px;display:flex;flex-direction:column;overflow:hidden}.sidebar-footer .footer-user .user-info .user-name[data-v-79462f28]{color:#334155;font-size:14px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.sidebar-footer .footer-user .user-info .user-role[data-v-79462f28]{color:#64748b;font-size:11px;margin-top:2px}.sidebar-footer .footer-user .logout-btn[data-v-79462f28]{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;color:#94a3b8;cursor:pointer;transition:all .2s}.sidebar-footer .footer-user .logout-btn[data-v-79462f28]:hover{background:#ef44441a;color:var(--danger-color)}.app-header[data-v-f7c0063e]{height:var(--header-height);background:#ffffffd9;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,0,0,.04);box-shadow:0 1px 12px #00000005;display:flex;align-items:center;justify-content:space-between;padding:0 24px;flex-shrink:0;position:sticky;top:0;z-index:50}.header-left .back-btn[data-v-f7c0063e]{display:flex;align-items:center;color:#64748b;font-weight:500;transition:all .2s}.header-left .back-btn .back-icon-wrap[data-v-f7c0063e]{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:#f1f5f9;border-radius:8px;margin-right:8px;transition:all .2s}.header-left .back-btn[data-v-f7c0063e]:hover{color:var(--primary-color)}.header-left .back-btn:hover .back-icon-wrap[data-v-f7c0063e]{background:#4f46e51a;color:var(--primary-color)}.header-right[data-v-f7c0063e]{display:flex;align-items:center;gap:20px}.metrics-dashboard[data-v-f7c0063e]{display:flex;align-items:center;gap:12px;cursor:pointer;padding:4px 6px;border-radius:12px;transition:background .2s}.metrics-dashboard[data-v-f7c0063e]:hover{background:#f8fafc}.metrics-dashboard .metric-badge[data-v-f7c0063e]{display:flex;align-items:center;background:#f1f5f9;padding:4px 10px;border-radius:8px;font-size:13px;font-weight:600;color:#475569;border:1px solid transparent;transition:all .2s}.metrics-dashboard .metric-badge[data-v-f7c0063e]:hover{background:#fff;border-color:#e2e8f0;box-shadow:0 2px 8px #0000000a}.metrics-dashboard .metric-badge .icon[data-v-f7c0063e]{margin-right:6px;font-size:14px}.metrics-dashboard .metric-badge .icon.cpu[data-v-f7c0063e]{color:var(--primary-color)}.metrics-dashboard .metric-badge .icon.mem[data-v-f7c0063e]{color:var(--success-color)}.metrics-dashboard .metric-badge .icon.disk[data-v-f7c0063e]{color:var(--warning-color)}.metrics-dashboard .metric-badge .value small[data-v-f7c0063e]{font-size:10px;color:#94a3b8;margin-left:2px}.metrics-dashboard .metric-badge .value.is-danger[data-v-f7c0063e]{color:var(--danger-color);animation:pulse-f7c0063e 2s infinite}@keyframes pulse-f7c0063e{0%{opacity:1}50%{opacity:.6}to{opacity:1}}.divider[data-v-f7c0063e]{width:1px;height:24px;background-color:#e2e8f0}.system-info[data-v-f7c0063e]{display:flex;align-items:center;gap:16px;color:#64748b;font-size:13px;font-weight:500;background:#f8fafc;padding:6px 12px;border-radius:8px;border:1px solid #f1f5f9}.system-info .info-item[data-v-f7c0063e]{display:flex;align-items:center;gap:6px}.system-info .info-item i[data-v-f7c0063e]{color:#94a3b8}.system-info .time-item[data-v-f7c0063e]{color:#475569;font-weight:600;min-width:80px;font-variant-numeric:tabular-nums}.system-info .time-item i[data-v-f7c0063e]{color:var(--primary-color)}.documentation-btn[data-v-f7c0063e]{width:40px;height:40px;padding:0;border:1px solid #e2e8f0;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;background:#fff;color:#64748b;cursor:pointer;font-size:17px;transition:color .18s ease,border-color .18s ease,background-color .18s ease,box-shadow .18s ease}.documentation-btn[data-v-f7c0063e]:hover{border-color:#4f46e547;background:#eef2ff;color:var(--primary-color);box-shadow:0 4px 12px #4f46e51a}.documentation-btn[data-v-f7c0063e]:focus-visible{outline:3px solid rgba(79,70,229,.2);outline-offset:2px}@media(max-width:1280px){.header-right[data-v-f7c0063e]{gap:12px}.system-info .info-item[data-v-f7c0063e]:first-child{display:none}}@media(max-width:1040px){.system-info[data-v-f7c0063e],.header-right>.divider[data-v-f7c0063e]:not(.document-divider){display:none}}.main-layout[data-v-250aaaa6]{display:flex;height:100vh;overflow:hidden}.layout-main[data-v-250aaaa6]{flex:1;display:flex;flex-direction:column;min-width:0;height:100vh}.layout-content[data-v-250aaaa6]{flex:1;overflow-y:auto;padding:8px 8px 16px;background-color:var(--app-shell-bg);display:flex;flex-direction:column;min-height:0}.layout-content[data-v-250aaaa6]:has(.data-table-page),.layout-content[data-v-250aaaa6]:has(.eval-page),.layout-content[data-v-250aaaa6]:has(.manage-card-container){overflow-y:hidden}.layout-content[data-v-250aaaa6]:has(.create-wizard-layout){overflow-y:hidden}.layout-content:has(.create-wizard-layout) .page-canvas[data-v-250aaaa6]{flex:1 1 auto;min-height:0}@media(min-width:1181px){.layout-content[data-v-250aaaa6]:has(.dashboard-view){overflow-y:auto}.layout-content:has(.dashboard-view) .page-canvas[data-v-250aaaa6]{flex:1 0 auto;min-height:0;padding:16px;overflow:visible}}.page-canvas[data-v-250aaaa6]{flex:1 0 auto;display:flex;flex-direction:column;width:100%;min-width:0;padding:24px;border-radius:16px;background-color:var(--app-page-bg);box-shadow:var(--card-shadow)}.page-canvas.is-self-surface[data-v-250aaaa6]{padding:0;border-radius:0;background-color:transparent;box-shadow:none}.page-canvas[data-v-250aaaa6]:has(.has-fixed-footer){margin-bottom:56px}.page-canvas[data-v-250aaaa6]:not(.is-self-surface)>.page-card,.page-canvas[data-v-250aaaa6]:not(.is-self-surface)>.page-card-host>.page-card{margin-bottom:0;background-color:transparent;border-radius:0!important;box-shadow:none!important} +*/@font-face{font-family:FontAwesome;src:url(../fonts/fontawesome-webfont.eot?v=4.7.0);src:url(../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0) format("embedded-opentype"),url(/assets/fontawesome-webfont-B-jkhYfk.woff2?v=4.7.0) format("woff2"),url(/assets/fontawesome-webfont-CDK5bt4p.woff?v=4.7.0) format("woff"),url(/assets/fontawesome-webfont-CQDK8MU3.ttf?v=4.7.0) format("truetype"),url(../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular) format("svg");font-weight:400;font-style:normal}.fa{display:inline-block;font: 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scaleX(-1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1,-1);-ms-transform:scale(1,-1);transform:scaleY(-1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:""}.fa-music:before{content:""}.fa-search:before{content:""}.fa-envelope-o:before{content:""}.fa-heart:before{content:""}.fa-star:before{content:""}.fa-star-o:before{content:""}.fa-user:before{content:""}.fa-film:before{content:""}.fa-th-large:before{content:""}.fa-th:before{content:""}.fa-th-list:before{content:""}.fa-check:before{content:""}.fa-remove:before,.fa-close:before,.fa-times:before{content:""}.fa-search-plus:before{content:""}.fa-search-minus:before{content:""}.fa-power-off:before{content:""}.fa-signal:before{content:""}.fa-gear:before,.fa-cog:before{content:""}.fa-trash-o:before{content:""}.fa-home:before{content:""}.fa-file-o:before{content:""}.fa-clock-o:before{content:""}.fa-road:before{content:""}.fa-download:before{content:""}.fa-arrow-circle-o-down:before{content:""}.fa-arrow-circle-o-up:before{content:""}.fa-inbox:before{content:""}.fa-play-circle-o:before{content:""}.fa-rotate-right:before,.fa-repeat:before{content:""}.fa-refresh:before{content:""}.fa-list-alt:before{content:""}.fa-lock:before{content:""}.fa-flag:before{content:""}.fa-headphones:before{content:""}.fa-volume-off:before{content:""}.fa-volume-down:before{content:""}.fa-volume-up:before{content:""}.fa-qrcode:before{content:""}.fa-barcode:before{content:""}.fa-tag:before{content:""}.fa-tags:before{content:""}.fa-book:before{content:""}.fa-bookmark:before{content:""}.fa-print:before{content:""}.fa-camera:before{content:""}.fa-font:before{content:""}.fa-bold:before{content:""}.fa-italic:before{content:""}.fa-text-height:before{content:""}.fa-text-width:before{content:""}.fa-align-left:before{content:""}.fa-align-center:before{content:""}.fa-align-right:before{content:""}.fa-align-justify:before{content:""}.fa-list:before{content:""}.fa-dedent:before,.fa-outdent:before{content:""}.fa-indent:before{content:""}.fa-video-camera:before{content:""}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:""}.fa-pencil:before{content:""}.fa-map-marker:before{content:""}.fa-adjust:before{content:""}.fa-tint:before{content:""}.fa-edit:before,.fa-pencil-square-o:before{content:""}.fa-share-square-o:before{content:""}.fa-check-square-o:before{content:""}.fa-arrows:before{content:""}.fa-step-backward:before{content:""}.fa-fast-backward:before{content:""}.fa-backward:before{content:""}.fa-play:before{content:""}.fa-pause:before{content:""}.fa-stop:before{content:""}.fa-forward:before{content:""}.fa-fast-forward:before{content:""}.fa-step-forward:before{content:""}.fa-eject:before{content:""}.fa-chevron-left:before{content:""}.fa-chevron-right:before{content:""}.fa-plus-circle:before{content:""}.fa-minus-circle:before{content:""}.fa-times-circle:before{content:""}.fa-check-circle:before{content:""}.fa-question-circle:before{content:""}.fa-info-circle:before{content:""}.fa-crosshairs:before{content:""}.fa-times-circle-o:before{content:""}.fa-check-circle-o:before{content:""}.fa-ban:before{content:""}.fa-arrow-left:before{content:""}.fa-arrow-right:before{content:""}.fa-arrow-up:before{content:""}.fa-arrow-down:before{content:""}.fa-mail-forward:before,.fa-share:before{content:""}.fa-expand:before{content:""}.fa-compress:before{content:""}.fa-plus:before{content:""}.fa-minus:before{content:""}.fa-asterisk:before{content:""}.fa-exclamation-circle:before{content:""}.fa-gift:before{content:""}.fa-leaf:before{content:""}.fa-fire:before{content:""}.fa-eye:before{content:""}.fa-eye-slash:before{content:""}.fa-warning:before,.fa-exclamation-triangle:before{content:""}.fa-plane:before{content:""}.fa-calendar:before{content:""}.fa-random:before{content:""}.fa-comment:before{content:""}.fa-magnet:before{content:""}.fa-chevron-up:before{content:""}.fa-chevron-down:before{content:""}.fa-retweet:before{content:""}.fa-shopping-cart:before{content:""}.fa-folder:before{content:""}.fa-folder-open:before{content:""}.fa-arrows-v:before{content:""}.fa-arrows-h:before{content:""}.fa-bar-chart-o:before,.fa-bar-chart:before{content:""}.fa-twitter-square:before{content:""}.fa-facebook-square:before{content:""}.fa-camera-retro:before{content:""}.fa-key:before{content:""}.fa-gears:before,.fa-cogs:before{content:""}.fa-comments:before{content:""}.fa-thumbs-o-up:before{content:""}.fa-thumbs-o-down:before{content:""}.fa-star-half:before{content:""}.fa-heart-o:before{content:""}.fa-sign-out:before{content:""}.fa-linkedin-square:before{content:""}.fa-thumb-tack:before{content:""}.fa-external-link:before{content:""}.fa-sign-in:before{content:""}.fa-trophy:before{content:""}.fa-github-square:before{content:""}.fa-upload:before{content:""}.fa-lemon-o:before{content:""}.fa-phone:before{content:""}.fa-square-o:before{content:""}.fa-bookmark-o:before{content:""}.fa-phone-square:before{content:""}.fa-twitter:before{content:""}.fa-facebook-f:before,.fa-facebook:before{content:""}.fa-github:before{content:""}.fa-unlock:before{content:""}.fa-credit-card:before{content:""}.fa-feed:before,.fa-rss:before{content:""}.fa-hdd-o:before{content:""}.fa-bullhorn:before{content:""}.fa-bell:before{content:""}.fa-certificate:before{content:""}.fa-hand-o-right:before{content:""}.fa-hand-o-left:before{content:""}.fa-hand-o-up:before{content:""}.fa-hand-o-down:before{content:""}.fa-arrow-circle-left:before{content:""}.fa-arrow-circle-right:before{content:""}.fa-arrow-circle-up:before{content:""}.fa-arrow-circle-down:before{content:""}.fa-globe:before{content:""}.fa-wrench:before{content:""}.fa-tasks:before{content:""}.fa-filter:before{content:""}.fa-briefcase:before{content:""}.fa-arrows-alt:before{content:""}.fa-group:before,.fa-users:before{content:""}.fa-chain:before,.fa-link:before{content:""}.fa-cloud:before{content:""}.fa-flask:before{content:""}.fa-cut:before,.fa-scissors:before{content:""}.fa-copy:before,.fa-files-o:before{content:""}.fa-paperclip:before{content:""}.fa-save:before,.fa-floppy-o:before{content:""}.fa-square:before{content:""}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:""}.fa-list-ul:before{content:""}.fa-list-ol:before{content:""}.fa-strikethrough:before{content:""}.fa-underline:before{content:""}.fa-table:before{content:""}.fa-magic:before{content:""}.fa-truck:before{content:""}.fa-pinterest:before{content:""}.fa-pinterest-square:before{content:""}.fa-google-plus-square:before{content:""}.fa-google-plus:before{content:""}.fa-money:before{content:""}.fa-caret-down:before{content:""}.fa-caret-up:before{content:""}.fa-caret-left:before{content:""}.fa-caret-right:before{content:""}.fa-columns:before{content:""}.fa-unsorted:before,.fa-sort:before{content:""}.fa-sort-down:before,.fa-sort-desc:before{content:""}.fa-sort-up:before,.fa-sort-asc:before{content:""}.fa-envelope:before{content:""}.fa-linkedin:before{content:""}.fa-rotate-left:before,.fa-undo:before{content:""}.fa-legal:before,.fa-gavel:before{content:""}.fa-dashboard:before,.fa-tachometer:before{content:""}.fa-comment-o:before{content:""}.fa-comments-o:before{content:""}.fa-flash:before,.fa-bolt:before{content:""}.fa-sitemap:before{content:""}.fa-umbrella:before{content:""}.fa-paste:before,.fa-clipboard:before{content:""}.fa-lightbulb-o:before{content:""}.fa-exchange:before{content:""}.fa-cloud-download:before{content:""}.fa-cloud-upload:before{content:""}.fa-user-md:before{content:""}.fa-stethoscope:before{content:""}.fa-suitcase:before{content:""}.fa-bell-o:before{content:""}.fa-coffee:before{content:""}.fa-cutlery:before{content:""}.fa-file-text-o:before{content:""}.fa-building-o:before{content:""}.fa-hospital-o:before{content:""}.fa-ambulance:before{content:""}.fa-medkit:before{content:""}.fa-fighter-jet:before{content:""}.fa-beer:before{content:""}.fa-h-square:before{content:""}.fa-plus-square:before{content:""}.fa-angle-double-left:before{content:""}.fa-angle-double-right:before{content:""}.fa-angle-double-up:before{content:""}.fa-angle-double-down:before{content:""}.fa-angle-left:before{content:""}.fa-angle-right:before{content:""}.fa-angle-up:before{content:""}.fa-angle-down:before{content:""}.fa-desktop:before{content:""}.fa-laptop:before{content:""}.fa-tablet:before{content:""}.fa-mobile-phone:before,.fa-mobile:before{content:""}.fa-circle-o:before{content:""}.fa-quote-left:before{content:""}.fa-quote-right:before{content:""}.fa-spinner:before{content:""}.fa-circle:before{content:""}.fa-mail-reply:before,.fa-reply:before{content:""}.fa-github-alt:before{content:""}.fa-folder-o:before{content:""}.fa-folder-open-o:before{content:""}.fa-smile-o:before{content:""}.fa-frown-o:before{content:""}.fa-meh-o:before{content:""}.fa-gamepad:before{content:""}.fa-keyboard-o:before{content:""}.fa-flag-o:before{content:""}.fa-flag-checkered:before{content:""}.fa-terminal:before{content:""}.fa-code:before{content:""}.fa-mail-reply-all:before,.fa-reply-all:before{content:""}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:""}.fa-location-arrow:before{content:""}.fa-crop:before{content:""}.fa-code-fork:before{content:""}.fa-unlink:before,.fa-chain-broken:before{content:""}.fa-question:before{content:""}.fa-info:before{content:""}.fa-exclamation:before{content:""}.fa-superscript:before{content:""}.fa-subscript:before{content:""}.fa-eraser:before{content:""}.fa-puzzle-piece:before{content:""}.fa-microphone:before{content:""}.fa-microphone-slash:before{content:""}.fa-shield:before{content:""}.fa-calendar-o:before{content:""}.fa-fire-extinguisher:before{content:""}.fa-rocket:before{content:""}.fa-maxcdn:before{content:""}.fa-chevron-circle-left:before{content:""}.fa-chevron-circle-right:before{content:""}.fa-chevron-circle-up:before{content:""}.fa-chevron-circle-down:before{content:""}.fa-html5:before{content:""}.fa-css3:before{content:""}.fa-anchor:before{content:""}.fa-unlock-alt:before{content:""}.fa-bullseye:before{content:""}.fa-ellipsis-h:before{content:""}.fa-ellipsis-v:before{content:""}.fa-rss-square:before{content:""}.fa-play-circle:before{content:""}.fa-ticket:before{content:""}.fa-minus-square:before{content:""}.fa-minus-square-o:before{content:""}.fa-level-up:before{content:""}.fa-level-down:before{content:""}.fa-check-square:before{content:""}.fa-pencil-square:before{content:""}.fa-external-link-square:before{content:""}.fa-share-square:before{content:""}.fa-compass:before{content:""}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:""}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:""}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:""}.fa-euro:before,.fa-eur:before{content:""}.fa-gbp:before{content:""}.fa-dollar:before,.fa-usd:before{content:""}.fa-rupee:before,.fa-inr:before{content:""}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:""}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:""}.fa-won:before,.fa-krw:before{content:""}.fa-bitcoin:before,.fa-btc:before{content:""}.fa-file:before{content:""}.fa-file-text:before{content:""}.fa-sort-alpha-asc:before{content:""}.fa-sort-alpha-desc:before{content:""}.fa-sort-amount-asc:before{content:""}.fa-sort-amount-desc:before{content:""}.fa-sort-numeric-asc:before{content:""}.fa-sort-numeric-desc:before{content:""}.fa-thumbs-up:before{content:""}.fa-thumbs-down:before{content:""}.fa-youtube-square:before{content:""}.fa-youtube:before{content:""}.fa-xing:before{content:""}.fa-xing-square:before{content:""}.fa-youtube-play:before{content:""}.fa-dropbox:before{content:""}.fa-stack-overflow:before{content:""}.fa-instagram:before{content:""}.fa-flickr:before{content:""}.fa-adn:before{content:""}.fa-bitbucket:before{content:""}.fa-bitbucket-square:before{content:""}.fa-tumblr:before{content:""}.fa-tumblr-square:before{content:""}.fa-long-arrow-down:before{content:""}.fa-long-arrow-up:before{content:""}.fa-long-arrow-left:before{content:""}.fa-long-arrow-right:before{content:""}.fa-apple:before{content:""}.fa-windows:before{content:""}.fa-android:before{content:""}.fa-linux:before{content:""}.fa-dribbble:before{content:""}.fa-skype:before{content:""}.fa-foursquare:before{content:""}.fa-trello:before{content:""}.fa-female:before{content:""}.fa-male:before{content:""}.fa-gittip:before,.fa-gratipay:before{content:""}.fa-sun-o:before{content:""}.fa-moon-o:before{content:""}.fa-archive:before{content:""}.fa-bug:before{content:""}.fa-vk:before{content:""}.fa-weibo:before{content:""}.fa-renren:before{content:""}.fa-pagelines:before{content:""}.fa-stack-exchange:before{content:""}.fa-arrow-circle-o-right:before{content:""}.fa-arrow-circle-o-left:before{content:""}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:""}.fa-dot-circle-o:before{content:""}.fa-wheelchair:before{content:""}.fa-vimeo-square:before{content:""}.fa-turkish-lira:before,.fa-try:before{content:""}.fa-plus-square-o:before{content:""}.fa-space-shuttle:before{content:""}.fa-slack:before{content:""}.fa-envelope-square:before{content:""}.fa-wordpress:before{content:""}.fa-openid:before{content:""}.fa-institution:before,.fa-bank:before,.fa-university:before{content:""}.fa-mortar-board:before,.fa-graduation-cap:before{content:""}.fa-yahoo:before{content:""}.fa-google:before{content:""}.fa-reddit:before{content:""}.fa-reddit-square:before{content:""}.fa-stumbleupon-circle:before{content:""}.fa-stumbleupon:before{content:""}.fa-delicious:before{content:""}.fa-digg:before{content:""}.fa-pied-piper-pp:before{content:""}.fa-pied-piper-alt:before{content:""}.fa-drupal:before{content:""}.fa-joomla:before{content:""}.fa-language:before{content:""}.fa-fax:before{content:""}.fa-building:before{content:""}.fa-child:before{content:""}.fa-paw:before{content:""}.fa-spoon:before{content:""}.fa-cube:before{content:""}.fa-cubes:before{content:""}.fa-behance:before{content:""}.fa-behance-square:before{content:""}.fa-steam:before{content:""}.fa-steam-square:before{content:""}.fa-recycle:before{content:""}.fa-automobile:before,.fa-car:before{content:""}.fa-cab:before,.fa-taxi:before{content:""}.fa-tree:before{content:""}.fa-spotify:before{content:""}.fa-deviantart:before{content:""}.fa-soundcloud:before{content:""}.fa-database:before{content:""}.fa-file-pdf-o:before{content:""}.fa-file-word-o:before{content:""}.fa-file-excel-o:before{content:""}.fa-file-powerpoint-o:before{content:""}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:""}.fa-file-zip-o:before,.fa-file-archive-o:before{content:""}.fa-file-sound-o:before,.fa-file-audio-o:before{content:""}.fa-file-movie-o:before,.fa-file-video-o:before{content:""}.fa-file-code-o:before{content:""}.fa-vine:before{content:""}.fa-codepen:before{content:""}.fa-jsfiddle:before{content:""}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:""}.fa-circle-o-notch:before{content:""}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:""}.fa-ge:before,.fa-empire:before{content:""}.fa-git-square:before{content:""}.fa-git:before{content:""}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:""}.fa-tencent-weibo:before{content:""}.fa-qq:before{content:""}.fa-wechat:before,.fa-weixin:before{content:""}.fa-send:before,.fa-paper-plane:before{content:""}.fa-send-o:before,.fa-paper-plane-o:before{content:""}.fa-history:before{content:""}.fa-circle-thin:before{content:""}.fa-header:before{content:""}.fa-paragraph:before{content:""}.fa-sliders:before{content:""}.fa-share-alt:before{content:""}.fa-share-alt-square:before{content:""}.fa-bomb:before{content:""}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:""}.fa-tty:before{content:""}.fa-binoculars:before{content:""}.fa-plug:before{content:""}.fa-slideshare:before{content:""}.fa-twitch:before{content:""}.fa-yelp:before{content:""}.fa-newspaper-o:before{content:""}.fa-wifi:before{content:""}.fa-calculator:before{content:""}.fa-paypal:before{content:""}.fa-google-wallet:before{content:""}.fa-cc-visa:before{content:""}.fa-cc-mastercard:before{content:""}.fa-cc-discover:before{content:""}.fa-cc-amex:before{content:""}.fa-cc-paypal:before{content:""}.fa-cc-stripe:before{content:""}.fa-bell-slash:before{content:""}.fa-bell-slash-o:before{content:""}.fa-trash:before{content:""}.fa-copyright:before{content:""}.fa-at:before{content:""}.fa-eyedropper:before{content:""}.fa-paint-brush:before{content:""}.fa-birthday-cake:before{content:""}.fa-area-chart:before{content:""}.fa-pie-chart:before{content:""}.fa-line-chart:before{content:""}.fa-lastfm:before{content:""}.fa-lastfm-square:before{content:""}.fa-toggle-off:before{content:""}.fa-toggle-on:before{content:""}.fa-bicycle:before{content:""}.fa-bus:before{content:""}.fa-ioxhost:before{content:""}.fa-angellist:before{content:""}.fa-cc:before{content:""}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:""}.fa-meanpath:before{content:""}.fa-buysellads:before{content:""}.fa-connectdevelop:before{content:""}.fa-dashcube:before{content:""}.fa-forumbee:before{content:""}.fa-leanpub:before{content:""}.fa-sellsy:before{content:""}.fa-shirtsinbulk:before{content:""}.fa-simplybuilt:before{content:""}.fa-skyatlas:before{content:""}.fa-cart-plus:before{content:""}.fa-cart-arrow-down:before{content:""}.fa-diamond:before{content:""}.fa-ship:before{content:""}.fa-user-secret:before{content:""}.fa-motorcycle:before{content:""}.fa-street-view:before{content:""}.fa-heartbeat:before{content:""}.fa-venus:before{content:""}.fa-mars:before{content:""}.fa-mercury:before{content:""}.fa-intersex:before,.fa-transgender:before{content:""}.fa-transgender-alt:before{content:""}.fa-venus-double:before{content:""}.fa-mars-double:before{content:""}.fa-venus-mars:before{content:""}.fa-mars-stroke:before{content:""}.fa-mars-stroke-v:before{content:""}.fa-mars-stroke-h:before{content:""}.fa-neuter:before{content:""}.fa-genderless:before{content:""}.fa-facebook-official:before{content:""}.fa-pinterest-p:before{content:""}.fa-whatsapp:before{content:""}.fa-server:before{content:""}.fa-user-plus:before{content:""}.fa-user-times:before{content:""}.fa-hotel:before,.fa-bed:before{content:""}.fa-viacoin:before{content:""}.fa-train:before{content:""}.fa-subway:before{content:""}.fa-medium:before{content:""}.fa-yc:before,.fa-y-combinator:before{content:""}.fa-optin-monster:before{content:""}.fa-opencart:before{content:""}.fa-expeditedssl:before{content:""}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:""}.fa-battery-3:before,.fa-battery-three-quarters:before{content:""}.fa-battery-2:before,.fa-battery-half:before{content:""}.fa-battery-1:before,.fa-battery-quarter:before{content:""}.fa-battery-0:before,.fa-battery-empty:before{content:""}.fa-mouse-pointer:before{content:""}.fa-i-cursor:before{content:""}.fa-object-group:before{content:""}.fa-object-ungroup:before{content:""}.fa-sticky-note:before{content:""}.fa-sticky-note-o:before{content:""}.fa-cc-jcb:before{content:""}.fa-cc-diners-club:before{content:""}.fa-clone:before{content:""}.fa-balance-scale:before{content:""}.fa-hourglass-o:before{content:""}.fa-hourglass-1:before,.fa-hourglass-start:before{content:""}.fa-hourglass-2:before,.fa-hourglass-half:before{content:""}.fa-hourglass-3:before,.fa-hourglass-end:before{content:""}.fa-hourglass:before{content:""}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:""}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:""}.fa-hand-scissors-o:before{content:""}.fa-hand-lizard-o:before{content:""}.fa-hand-spock-o:before{content:""}.fa-hand-pointer-o:before{content:""}.fa-hand-peace-o:before{content:""}.fa-trademark:before{content:""}.fa-registered:before{content:""}.fa-creative-commons:before{content:""}.fa-gg:before{content:""}.fa-gg-circle:before{content:""}.fa-tripadvisor:before{content:""}.fa-odnoklassniki:before{content:""}.fa-odnoklassniki-square:before{content:""}.fa-get-pocket:before{content:""}.fa-wikipedia-w:before{content:""}.fa-safari:before{content:""}.fa-chrome:before{content:""}.fa-firefox:before{content:""}.fa-opera:before{content:""}.fa-internet-explorer:before{content:""}.fa-tv:before,.fa-television:before{content:""}.fa-contao:before{content:""}.fa-500px:before{content:""}.fa-amazon:before{content:""}.fa-calendar-plus-o:before{content:""}.fa-calendar-minus-o:before{content:""}.fa-calendar-times-o:before{content:""}.fa-calendar-check-o:before{content:""}.fa-industry:before{content:""}.fa-map-pin:before{content:""}.fa-map-signs:before{content:""}.fa-map-o:before{content:""}.fa-map:before{content:""}.fa-commenting:before{content:""}.fa-commenting-o:before{content:""}.fa-houzz:before{content:""}.fa-vimeo:before{content:""}.fa-black-tie:before{content:""}.fa-fonticons:before{content:""}.fa-reddit-alien:before{content:""}.fa-edge:before{content:""}.fa-credit-card-alt:before{content:""}.fa-codiepie:before{content:""}.fa-modx:before{content:""}.fa-fort-awesome:before{content:""}.fa-usb:before{content:""}.fa-product-hunt:before{content:""}.fa-mixcloud:before{content:""}.fa-scribd:before{content:""}.fa-pause-circle:before{content:""}.fa-pause-circle-o:before{content:""}.fa-stop-circle:before{content:""}.fa-stop-circle-o:before{content:""}.fa-shopping-bag:before{content:""}.fa-shopping-basket:before{content:""}.fa-hashtag:before{content:""}.fa-bluetooth:before{content:""}.fa-bluetooth-b:before{content:""}.fa-percent:before{content:""}.fa-gitlab:before{content:""}.fa-wpbeginner:before{content:""}.fa-wpforms:before{content:""}.fa-envira:before{content:""}.fa-universal-access:before{content:""}.fa-wheelchair-alt:before{content:""}.fa-question-circle-o:before{content:""}.fa-blind:before{content:""}.fa-audio-description:before{content:""}.fa-volume-control-phone:before{content:""}.fa-braille:before{content:""}.fa-assistive-listening-systems:before{content:""}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:""}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:""}.fa-glide:before{content:""}.fa-glide-g:before{content:""}.fa-signing:before,.fa-sign-language:before{content:""}.fa-low-vision:before{content:""}.fa-viadeo:before{content:""}.fa-viadeo-square:before{content:""}.fa-snapchat:before{content:""}.fa-snapchat-ghost:before{content:""}.fa-snapchat-square:before{content:""}.fa-pied-piper:before{content:""}.fa-first-order:before{content:""}.fa-yoast:before{content:""}.fa-themeisle:before{content:""}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:""}.fa-fa:before,.fa-font-awesome:before{content:""}.fa-handshake-o:before{content:""}.fa-envelope-open:before{content:""}.fa-envelope-open-o:before{content:""}.fa-linode:before{content:""}.fa-address-book:before{content:""}.fa-address-book-o:before{content:""}.fa-vcard:before,.fa-address-card:before{content:""}.fa-vcard-o:before,.fa-address-card-o:before{content:""}.fa-user-circle:before{content:""}.fa-user-circle-o:before{content:""}.fa-user-o:before{content:""}.fa-id-badge:before{content:""}.fa-drivers-license:before,.fa-id-card:before{content:""}.fa-drivers-license-o:before,.fa-id-card-o:before{content:""}.fa-quora:before{content:""}.fa-free-code-camp:before{content:""}.fa-telegram:before{content:""}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:""}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:""}.fa-thermometer-2:before,.fa-thermometer-half:before{content:""}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:""}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:""}.fa-shower:before{content:""}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:""}.fa-podcast:before{content:""}.fa-window-maximize:before{content:""}.fa-window-minimize:before{content:""}.fa-window-restore:before{content:""}.fa-times-rectangle:before,.fa-window-close:before{content:""}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:""}.fa-bandcamp:before{content:""}.fa-grav:before{content:""}.fa-etsy:before{content:""}.fa-imdb:before{content:""}.fa-ravelry:before{content:""}.fa-eercast:before{content:""}.fa-microchip:before{content:""}.fa-snowflake-o:before{content:""}.fa-superpowers:before{content:""}.fa-wpexplorer:before{content:""}.fa-meetup:before{content:""}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:top;transform:scaleY(1)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:bottom;transform:scaleY(1)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:0 0;transform:scale(1)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-leave-active,.el-collapse-transition-enter-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}:root{--el-menu-active-color:var(--el-color-primary);--el-menu-text-color:var(--el-text-color-primary);--el-menu-hover-text-color:var(--el-color-primary);--el-menu-bg-color:var(--el-fill-color-blank);--el-menu-hover-bg-color:var(--el-color-primary-light-9);--el-menu-item-height:56px;--el-menu-sub-item-height:calc(var(--el-menu-item-height) - 6px);--el-menu-horizontal-height:60px;--el-menu-horizontal-sub-item-height:36px;--el-menu-item-font-size:var(--el-font-size-base);--el-menu-item-hover-fill:var(--el-color-primary-light-9);--el-menu-border-color:var(--el-border-color);--el-menu-base-level-padding:20px;--el-menu-level-padding:20px;--el-menu-icon-width:24px}.el-menu{border-right:solid 1px var(--el-menu-border-color);background-color:var(--el-menu-bg-color);box-sizing:border-box;margin:0;padding-left:0;list-style:none;position:relative}.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-sub-menu__title,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item-group__title{white-space:nowrap;padding-left:calc(var(--el-menu-base-level-padding) + var(--el-menu-level) * var(--el-menu-level-padding))}.el-menu:not(.el-menu--collapse) .el-sub-menu__title{padding-right:calc(var(--el-menu-base-level-padding) + var(--el-menu-icon-width))}.el-menu--horizontal{height:var(--el-menu-horizontal-height);border-right:none;flex-wrap:nowrap;display:flex}.el-menu--horizontal.el-menu--popup-container{height:unset}.el-menu--horizontal.el-menu{border-bottom:solid 1px var(--el-menu-border-color)}.el-menu--horizontal>.el-menu-item{height:100%;color:var(--el-menu-text-color);border-bottom:2px solid #0000;justify-content:center;align-items:center;margin:0;display:inline-flex}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-sub-menu:focus,.el-menu--horizontal>.el-sub-menu:hover{outline:none}.el-menu--horizontal>.el-sub-menu:hover .el-sub-menu__title{color:var(--el-menu-hover-text-color)}.el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title{height:100%;color:var(--el-menu-text-color);border-bottom:2px solid #0000}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title:hover{background-color:var(--el-menu-bg-color)}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-sub-menu__title{background-color:var(--el-menu-bg-color);height:var(--el-menu-horizontal-sub-item-height);line-height:var(--el-menu-horizontal-sub-item-height);color:var(--el-menu-text-color);align-items:center;padding:0 10px;display:flex}.el-menu--horizontal .el-menu .el-sub-menu__title{padding-right:40px}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-menu-item.is-active:hover,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title:hover{color:var(--el-menu-active-color)}.el-menu--horizontal .el-menu-item:not(.is-disabled):hover,.el-menu--horizontal .el-menu-item:not(.is-disabled):focus{color:var(--el-menu-active-color,var(--el-menu-hover-text-color));background-color:var(--el-menu-hover-bg-color);outline:none}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)!important}.el-menu--collapse{width:calc(var(--el-menu-icon-width) + var(--el-menu-base-level-padding) * 2)}.el-menu--collapse>.el-menu-item [class^=el-icon],.el-menu--collapse>.el-sub-menu>.el-sub-menu__title [class^=el-icon],.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title [class^=el-icon]{vertical-align:middle;width:var(--el-menu-icon-width);text-align:center;margin:0}.el-menu--collapse>.el-menu-item .el-sub-menu__icon-arrow,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item>span,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title>span,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title>span{visibility:hidden;width:0;height:0;display:inline-block;overflow:hidden}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-sub-menu{min-width:200px}.el-menu--collapse .el-sub-menu.is-active .el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--popup{z-index:100;border-radius:var(--el-border-radius-small);min-width:200px;box-shadow:var(--el-box-shadow-light);border:none;padding:5px 0}.el-menu .el-icon{flex-shrink:0}.el-menu-item{height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);font-size:var(--el-menu-item-font-size);color:var(--el-menu-text-color);padding:0 var(--el-menu-base-level-padding);cursor:pointer;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);box-sizing:border-box;white-space:nowrap;align-items:center;list-style:none;display:flex;position:relative}.el-menu-item *{vertical-align:bottom}.el-menu-item i{color:inherit}.el-menu-item:hover,.el-menu-item:focus{outline:none}.el-menu-item:hover{background-color:var(--el-menu-hover-bg-color)}.el-menu-item.is-disabled{opacity:.25;cursor:not-allowed;background:0 0!important}.el-menu-item [class^=el-icon]{width:var(--el-menu-icon-width);text-align:center;vertical-align:middle;margin-right:5px;font-size:18px}.el-menu-item.is-active{color:var(--el-menu-active-color)}.el-menu-item.is-active i{color:inherit}.el-menu-item .el-menu-tooltip__trigger{box-sizing:border-box;width:100%;height:100%;padding:0 var(--el-menu-base-level-padding);align-items:center;display:inline-flex;position:absolute;top:0;left:0}.el-sub-menu{margin:0;padding-left:0;list-style:none}.el-sub-menu__title{height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);font-size:var(--el-menu-item-font-size);color:var(--el-menu-text-color);padding:0 var(--el-menu-base-level-padding);cursor:pointer;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);box-sizing:border-box;white-space:nowrap;align-items:center;list-style:none;display:flex;position:relative}.el-sub-menu__title *{vertical-align:bottom}.el-sub-menu__title i{color:inherit}.el-sub-menu__title:hover,.el-sub-menu__title:focus{outline:none}.el-sub-menu__title.is-disabled{opacity:.25;cursor:not-allowed;background:0 0!important}.el-sub-menu__title:hover{background-color:var(--el-menu-hover-bg-color)}.el-sub-menu .el-menu{border:none}.el-sub-menu .el-menu-item{height:var(--el-menu-sub-item-height);line-height:var(--el-menu-sub-item-height)}.el-sub-menu.el-sub-menu__hide-arrow .el-sub-menu__title{padding-right:var(--el-menu-base-level-padding)}.el-sub-menu__hide-arrow .el-sub-menu__icon-arrow{display:none!important}.el-sub-menu.is-active .el-sub-menu__title{border-bottom-color:var(--el-menu-active-color)}.el-sub-menu.is-disabled .el-sub-menu__title,.el-sub-menu.is-disabled .el-menu-item{opacity:.25;cursor:not-allowed;background:0 0!important}.el-sub-menu .el-icon{vertical-align:middle;width:var(--el-menu-icon-width);text-align:center;margin-right:5px;font-size:18px}.el-sub-menu .el-icon.el-sub-menu__icon-more{margin-right:0!important}.el-sub-menu .el-sub-menu__icon-arrow{top:50%;right:var(--el-menu-base-level-padding);transition:transform var(--el-transition-duration);width:inherit;margin-top:-6px;margin-right:0;font-size:12px;position:absolute}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{padding:7px 0 7px var(--el-menu-base-level-padding);color:var(--el-text-color-secondary);font-size:12px;line-height:normal}.horizontal-collapse-transition .el-sub-menu__title .el-sub-menu__icon-arrow{transition:var(--el-transition-duration-fast);opacity:0}.el-popper,.el-menu--popup-container,.el-menu{outline:none}.app-sidebar[data-v-cc00d83d]{width:240px;flex-shrink:0;height:100vh;background-color:var(--sidebar-bg);display:flex;flex-direction:column;color:var(--sidebar-text);box-shadow:4px 0 24px #00000005;z-index:100;border-right:1px solid #e2e8f0}.sidebar-logo[data-v-cc00d83d]{display:flex;align-items:center;padding:24px 20px;margin-bottom:8px}.sidebar-logo .sidebar-logo-img[data-v-cc00d83d]{width:36px;height:36px;object-fit:contain;margin-right:12px}.sidebar-logo .logo-text[data-v-cc00d83d]{color:#334155;font-weight:600;font-size:16px;letter-spacing:.5px;white-space:nowrap}.sidebar-nav[data-v-cc00d83d]{flex:1;min-height:0;padding:0 12px}[data-v-cc00d83d] .nav-scrollbar-wrap{overflow-x:hidden}.sidebar-menu[data-v-cc00d83d]{border-right:none;background:transparent}.sidebar-menu[data-v-cc00d83d] .el-menu-item{height:46px;line-height:46px;margin-bottom:4px;border-radius:8px;padding:0 16px!important;transition:all .3s ease}.sidebar-menu[data-v-cc00d83d] .el-menu-item .fa{width:20px;text-align:center;margin-right:10px;font-size:16px;transition:transform .2s}.sidebar-menu[data-v-cc00d83d] .el-menu-item:hover{background-color:#00000008!important;color:var(--sidebar-active-text)!important}.sidebar-menu[data-v-cc00d83d] .el-menu-item:hover .fa{transform:scale(1.1)}.sidebar-menu[data-v-cc00d83d] .el-menu-item.is-active{background-color:var(--sidebar-active-bg)!important;color:var(--sidebar-active-text)!important;font-weight:600}.sidebar-menu[data-v-cc00d83d] .el-menu-item.is-active .fa{color:inherit}.sidebar-section-title[data-v-cc00d83d]{padding:16px 16px 8px;font-size:11px;color:#64748b;font-weight:600;text-transform:uppercase;letter-spacing:1px}.sidebar-footer[data-v-cc00d83d]{padding:20px;background:transparent;border-top:1px solid #e2e8f0}.sidebar-footer .footer-user[data-v-cc00d83d]{display:flex;align-items:center;background:#fff;padding:10px;border-radius:12px;border:1px solid #e2e8f0}.sidebar-footer .footer-user .user-avatar[data-v-cc00d83d]{border:2px solid #e2e8f0}.sidebar-footer .footer-user .user-info[data-v-cc00d83d]{flex:1;margin-left:12px;display:flex;flex-direction:column;overflow:hidden}.sidebar-footer .footer-user .user-info .user-name[data-v-cc00d83d]{color:#334155;font-size:14px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.sidebar-footer .footer-user .user-info .user-role[data-v-cc00d83d]{color:#64748b;font-size:11px;margin-top:2px}.sidebar-footer .footer-user .logout-btn[data-v-cc00d83d]{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;color:#94a3b8;cursor:pointer;transition:all .2s}.sidebar-footer .footer-user .logout-btn[data-v-cc00d83d]:hover{background:#ef44441a;color:var(--danger-color)}.app-header[data-v-004b11b7]{height:var(--header-height);background:#ffffffd9;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,0,0,.04);box-shadow:0 1px 12px #00000005;display:flex;align-items:center;justify-content:space-between;padding:0 24px;flex-shrink:0;position:sticky;top:0;z-index:50}.header-left .back-btn[data-v-004b11b7]{display:flex;align-items:center;color:#64748b;font-weight:500;transition:all .2s}.header-left .back-btn .back-icon-wrap[data-v-004b11b7]{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:#f1f5f9;border-radius:8px;margin-right:8px;transition:all .2s}.header-left .back-btn[data-v-004b11b7]:hover{color:var(--primary-color)}.header-left .back-btn:hover .back-icon-wrap[data-v-004b11b7]{background:#4f46e51a;color:var(--primary-color)}.header-right[data-v-004b11b7]{display:flex;align-items:center;gap:20px}.metrics-dashboard[data-v-004b11b7]{display:flex;align-items:center;gap:12px;cursor:pointer;padding:4px 6px;border-radius:12px;transition:background .2s}.metrics-dashboard[data-v-004b11b7]:hover{background:#f8fafc}.metrics-dashboard .metric-badge[data-v-004b11b7]{display:flex;align-items:center;background:#f1f5f9;padding:4px 10px;border-radius:8px;font-size:13px;font-weight:600;color:#475569;border:1px solid transparent;transition:all .2s}.metrics-dashboard .metric-badge[data-v-004b11b7]:hover{background:#fff;border-color:#e2e8f0;box-shadow:0 2px 8px #0000000a}.metrics-dashboard .metric-badge .icon[data-v-004b11b7]{margin-right:6px;font-size:14px}.metrics-dashboard .metric-badge .icon.cpu[data-v-004b11b7]{color:var(--primary-color)}.metrics-dashboard .metric-badge .icon.mem[data-v-004b11b7]{color:var(--success-color)}.metrics-dashboard .metric-badge .icon.disk[data-v-004b11b7]{color:var(--warning-color)}.metrics-dashboard .metric-badge .value small[data-v-004b11b7]{font-size:10px;color:#94a3b8;margin-left:2px}.metrics-dashboard .metric-badge .value.is-danger[data-v-004b11b7]{color:var(--danger-color);animation:pulse-004b11b7 2s infinite}@keyframes pulse-004b11b7{0%{opacity:1}50%{opacity:.6}to{opacity:1}}.divider[data-v-004b11b7]{width:1px;height:24px;background-color:#e2e8f0}.system-info[data-v-004b11b7]{display:flex;align-items:center;gap:16px;color:#64748b;font-size:13px;font-weight:500;background:#f8fafc;padding:6px 12px;border-radius:8px;border:1px solid #f1f5f9}.system-info .info-item[data-v-004b11b7]{display:flex;align-items:center;gap:6px}.system-info .info-item i[data-v-004b11b7]{color:#94a3b8}.system-info .time-item[data-v-004b11b7]{color:#475569;font-weight:600;min-width:80px;font-variant-numeric:tabular-nums}.system-info .time-item i[data-v-004b11b7]{color:var(--primary-color)}.documentation-btn[data-v-004b11b7]{width:40px;height:40px;padding:0;border:1px solid #e2e8f0;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;background:#fff;color:#64748b;cursor:pointer;font-size:17px;transition:color .18s ease,border-color .18s ease,background-color .18s ease,box-shadow .18s ease}.documentation-btn[data-v-004b11b7]:hover{border-color:#4f46e547;background:#eef2ff;color:var(--primary-color);box-shadow:0 4px 12px #4f46e51a}.documentation-btn[data-v-004b11b7]:focus-visible{outline:3px solid rgba(79,70,229,.2);outline-offset:2px}@media(max-width:1280px){.header-right[data-v-004b11b7]{gap:12px}.system-info .info-item[data-v-004b11b7]:first-child{display:none}}@media(max-width:1040px){.system-info[data-v-004b11b7],.header-right>.divider[data-v-004b11b7]:not(.document-divider){display:none}}.main-layout[data-v-59b6052e]{display:flex;height:100vh;overflow:hidden}.layout-main[data-v-59b6052e]{flex:1;display:flex;flex-direction:column;min-width:0;height:100vh}.layout-content[data-v-59b6052e]{flex:1;overflow-y:auto;padding:8px 8px 16px;background-color:var(--app-shell-bg);display:flex;flex-direction:column;min-height:0}.layout-content[data-v-59b6052e]:has(.data-table-page),.layout-content[data-v-59b6052e]:has(.eval-page),.layout-content[data-v-59b6052e]:has(.manage-card-container){overflow-y:hidden}.layout-content[data-v-59b6052e]:has(.create-wizard-layout){overflow-y:hidden}.layout-content:has(.create-wizard-layout) .page-canvas[data-v-59b6052e]{flex:1 1 auto;min-height:0}@media(min-width:1181px){.layout-content[data-v-59b6052e]:has(.dashboard-view){overflow-y:auto}.layout-content:has(.dashboard-view) .page-canvas[data-v-59b6052e]{flex:1 0 auto;min-height:0;padding:16px;overflow:visible}}.page-canvas[data-v-59b6052e]{flex:1 0 auto;display:flex;flex-direction:column;width:100%;min-width:0;padding:24px;border-radius:16px;background-color:var(--app-page-bg);box-shadow:var(--card-shadow)}.page-canvas.is-self-surface[data-v-59b6052e]{padding:0;border-radius:0;background-color:transparent;box-shadow:none}.page-canvas[data-v-59b6052e]:has(.has-fixed-footer){margin-bottom:56px}.page-canvas[data-v-59b6052e]:not(.is-self-surface)>.page-card,.page-canvas[data-v-59b6052e]:not(.is-self-surface)>.page-card-host>.page-card{margin-bottom:0;background-color:transparent;border-radius:0!important;box-shadow:none!important} diff --git a/frontend/dist/assets/MainLayout-CMUyfVBl.js b/frontend/dist/assets/MainLayout-CMUyfVBl.js index d400e5c..c385b5b 100644 --- a/frontend/dist/assets/MainLayout-CMUyfVBl.js +++ b/frontend/dist/assets/MainLayout-CMUyfVBl.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/MainLayout-CMUyfVBl.js import{j as b,a as j,d as V,B as de,C as pe,z as Se,D as X,F as Ie,G as te,H as ze,I as E,J as K,E as De,K as Re,L as Ye,M as Y,N as xe,y as S,O as Pe,P as Ce,Q as Ze,b as Ee,i as Q,R as ee,S as Qe,T as Xe,U as We,V as je,W as B,X as ue,o as w,e as ne,w as $,h as F,Y as et,Z as tt,_ as re,$ as nt,a0 as ge,a1 as st,a2 as at,a3 as ot,a4 as lt,a5 as it,a6 as Ue,a7 as rt,a8 as Be,c as L,f as g,q as o,n as W,a9 as ut,x as ce,aa as z,l as ct,ab as we,ac as Te,v as Ve,m as dt,s as D,ad as Le,g as ke,ae as pt,af as mt,ag as ft,ah as Fe,ai as vt,r as ht}from"./index-CD29OCdJ.js";import{E as fe}from"./el-popper-DIiB8Y-M.js";import{E as bt}from"./el-scrollbar-YCRG1835.js";import{E as gt}from"./el-avatar-LJbp0pVv.js";import{E as _t}from"./index-nU1bUa76.js";import{T as yt,E as Mt}from"./index-6OTFNiIi.js";import{f as It}from"./vnode-_QM9LlTR.js";import{C as kt}from"./index-D1b786GX.js";import"./el-tooltip-l0sNRNKZ.js";import{_ as St}from"./logo-CxXS7KxG.js";import{_ as Ne}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{u as xt}from"./models-OcIATFUq.js";import"./index-DpY84JwG.js";import"./index-BpugJXyE.js";import"./model-e1J4FzWC.js";const Oe="rootMenu",me="subMenu:";function qe(e,n){const l=b(()=>{let t=e.parent;const c=[n.value];for(;t.type.name!=="ElMenu";)t.props.index&&c.unshift(t.props.index),t=t.parent;return c});return{parentMenu:b(()=>{let t=e.parent;for(;t&&!["ElMenu","ElSubMenu"].includes(t.type.name);)t=t.parent;return t}),indexPath:l}}function Ct(e){return b(()=>{const n=e.backgroundColor;return n?new yt(n).shade(20).toString():""})}const Ge=(e,n)=>{const l=j("menu");return b(()=>l.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":Ct(e).value||"","active-color":e.activeTextColor||"",level:`${n}`}))},Et=Ee({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,popperStyle:{type:ee([String,Object])},disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:Q},expandOpenIcon:{type:Q},collapseCloseIcon:{type:Q},collapseOpenIcon:{type:Q}}),_e="ElSubMenu";var $e=V({name:_e,props:Et,setup(e,{slots:n,expose:l}){const t=xe(),{indexPath:c,parentMenu:T}=qe(t,b(()=>e.index)),u=j("menu"),y=j("sub-menu"),i=de(Oe);i||pe(_e,"can not inject root menu");const v=de(`${me}${T.value.uid}`);v||pe(_e,"can not inject sub menu");const M=S({}),h=S({});let p;const m=S(!1),s=S(),k=S(),N=b(()=>v.level===0),P=b(()=>U.value==="horizontal"&&N.value?"bottom-start":"right-start"),O=b(()=>U.value==="horizontal"&&N.value||U.value==="vertical"&&!i.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?R.value?e.expandOpenIcon:e.expandCloseIcon:Qe:e.collapseCloseIcon&&e.collapseOpenIcon?R.value?e.collapseOpenIcon:e.collapseCloseIcon:Xe),q=b(()=>{const d=e.teleported;return We(d)?N.value:d}),se=b(()=>i.props.collapse?`${u.namespace.value}-zoom-in-left`:`${u.namespace.value}-zoom-in-top`),ve=b(()=>U.value==="horizontal"&&N.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),R=b(()=>i.openedMenus.includes(e.index)),G=b(()=>[...Object.values(M.value),...Object.values(h.value)].some(({active:d})=>d)),U=b(()=>i.props.mode),ae=b(()=>i.props.persistent),H=Se({index:e.index,indexPath:c,active:G}),oe=Ge(i.props,v.level+1),le=b(()=>e.popperOffset??i.props.popperOffset),Z=b(()=>e.popperClass??i.props.popperClass),J=b(()=>e.popperStyle??i.props.popperStyle),ie=b(()=>e.showTimeout??i.props.showTimeout),he=b(()=>e.hideTimeout??i.props.hideTimeout),a=()=>{var d,C,_;return(_=(C=(d=k.value)==null?void 0:d.popperRef)==null?void 0:C.popperInstanceRef)==null?void 0:_.destroy()},r=d=>{d||a()},f=()=>{i.props.menuTrigger==="hover"&&i.props.mode==="horizontal"||i.props.collapse&&i.props.mode==="vertical"||e.disabled||i.handleSubMenuClick({index:e.index,indexPath:c.value,active:G.value})},x=(d,C=ie.value)=>{var _;if(d.type!=="focus"){if(i.props.menuTrigger==="click"&&i.props.mode==="horizontal"||!i.props.collapse&&i.props.mode==="vertical"||e.disabled){v.mouseInChild.value=!0;return}v.mouseInChild.value=!0,p==null||p(),{stop:p}=Pe(()=>{i.openMenu(e.index,c.value)},C),q.value&&((_=T.value.vnode.el)==null||_.dispatchEvent(new MouseEvent("mouseenter"))),d.type==="mouseenter"&&d.target&&Ce(()=>{Ze(d.target,{preventScroll:!0})})}},I=(d=!1)=>{var C;if(i.props.menuTrigger==="click"&&i.props.mode==="horizontal"||!i.props.collapse&&i.props.mode==="vertical"){v.mouseInChild.value=!1;return}p==null||p(),v.mouseInChild.value=!1,{stop:p}=Pe(()=>!m.value&&i.closeMenu(e.index,c.value),he.value),q.value&&d&&((C=v.handleMouseleave)==null||C.call(v,!0))};X(()=>i.props.collapse,d=>r(!!d));{const d=_=>{h.value[_.index]=_},C=_=>{delete h.value[_.index]};Ie(`${me}${t.uid}`,{addSubMenu:d,removeSubMenu:C,handleMouseleave:I,mouseInChild:m,level:v.level+1})}return l({opened:R}),te(()=>{i.addSubMenu(H),v.addSubMenu(H)}),ze(()=>{v.removeSubMenu(H),i.removeSubMenu(H)}),()=>{var _;const d=[(_=n.title)==null?void 0:_.call(n),E(De,{class:y.e("icon-arrow"),style:{transform:R.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&i.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>K(O.value)?E(t.appContext.components[O.value]):E(O.value)})],C=i.isMenuPopup?E(fe,{ref:k,visible:R.value,effect:"light",pure:!0,offset:le.value,showArrow:!1,persistent:ae.value,popperClass:Z.value,popperStyle:J.value,placement:P.value,teleported:q.value,fallbackPlacements:ve.value,transition:se.value,gpuAcceleration:!1},{content:()=>{var A;return E("div",{class:[u.m(U.value),u.m("popup-container"),Z.value],onMouseenter:be=>x(be,100),onMouseleave:()=>I(!0),onFocus:be=>x(be,100)},[E("ul",{class:[u.b(),u.m("popup"),u.m(`popup-${P.value}`)],style:oe.value},[(A=n.default)==null?void 0:A.call(n)])])},default:()=>E("div",{class:y.e("title"),onClick:f},d)}):E(Y,{},[E("div",{class:y.e("title"),ref:s,onClick:f},d),E(_t,{},{default:()=>{var A;return Re(E("ul",{role:"menu",class:[u.b(),u.m("inline")],style:oe.value},[(A=n.default)==null?void 0:A.call(n)]),[[Ye,R.value]])}})]);return E("li",{class:[y.b(),y.is("active",G.value),y.is("opened",R.value),y.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:R.value,onMouseenter:x,onMouseleave:()=>I(),onFocus:x},[C])}}}),wt=class{constructor(e,n){this.parent=e,this.domNode=n,this.subIndex=0,this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(e){e===this.subMenuItems.length?e=0:e<0&&(e=this.subMenuItems.length-1),this.subMenuItems[e].focus(),this.subIndex=e}addListeners(){const e=this.parent.domNode;this.subMenuItems.forEach(n=>{n.addEventListener("keydown",l=>{const t=je(l);let c=!1;switch(t){case B.down:this.gotoSubIndex(this.subIndex+1),c=!0;break;case B.up:this.gotoSubIndex(this.subIndex-1),c=!0;break;case B.tab:ue(e,"mouseleave");break;case B.enter:case B.numpadEnter:case B.space:c=!0,l.currentTarget.click();break}return c&&(l.preventDefault(),l.stopPropagation()),!1})})}},Tt=class{constructor(e,n){this.domNode=e,this.submenu=null,this.init(n)}init(e){this.domNode.setAttribute("tabindex","0");const n=this.domNode.querySelector(`.${e}-menu`);n&&(this.submenu=new wt(this,n)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",e=>{var t,c;const n=je(e);let l=!1;switch(n){case B.down:ue(e.currentTarget,"mouseenter"),(t=this.submenu)==null||t.gotoSubIndex(0),l=!0;break;case B.up:ue(e.currentTarget,"mouseenter"),(c=this.submenu)==null||c.gotoSubIndex(this.submenu.subMenuItems.length-1),l=!0;break;case B.tab:ue(e.currentTarget,"mouseleave");break;case B.enter:case B.numpadEnter:case B.space:l=!0,e.currentTarget.click();break}l&&e.preventDefault()})}},Nt=class{constructor(e,n){this.domNode=e,this.init(n)}init(e){const n=this.domNode.childNodes;Array.from(n).forEach(l=>{l.nodeType===1&&new Tt(l,e)})}},Ot=V({name:"ElMenuCollapseTransition",__name:"menu-collapse-transition",setup(e){const n=j("menu"),l={onBeforeEnter:t=>t.style.opacity="0.2",onEnter(t,c){re(t,`${n.namespace.value}-opacity-transition`),t.style.opacity="1",c()},onAfterEnter(t){ge(t,`${n.namespace.value}-opacity-transition`),t.style.opacity=""},onBeforeLeave(t){t.dataset||(t.dataset={}),nt(t,n.m("collapse"))?(ge(t,n.m("collapse")),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth.toString(),re(t,n.m("collapse"))):(re(t,n.m("collapse")),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth.toString(),ge(t,n.m("collapse"))),t.style.width=`${t.scrollWidth}px`,t.style.overflow="hidden"},onLeave(t){re(t,"horizontal-collapse-transition"),t.style.width=`${t.dataset.scrollWidth}px`}};return(t,c)=>(w(),ne(tt,et({mode:"out-in"},l),{default:$(()=>[F(t.$slots,"default")]),_:3},16))}}),$t=Ot;const Pt=Ee({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:ee(Array),default:()=>it([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:Q,default:()=>lt},popperEffect:{type:ee(String),default:"dark"},popperClass:String,popperStyle:{type:ee([String,Object])},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},persistent:{type:Boolean,default:!0}}),ye=e=>Ue(e)&&e.every(n=>K(n)),Bt={close:(e,n)=>K(e)&&ye(n),open:(e,n)=>K(e)&&ye(n),select:(e,n,l,t)=>K(e)&&ye(n)&&ot(l)&&(We(t)||t instanceof Promise)},Ae=64;var Lt=V({name:"ElMenu",props:Pt,emits:Bt,setup(e,{emit:n,slots:l,expose:t}){const c=xe(),T=c.appContext.config.globalProperties.$router,u=S(),y=S(),i=j("menu"),v=j("sub-menu");let M=Ae;const h=S(-1),p=S(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),m=S(e.defaultActive),s=S({}),k=S({}),N=b(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),P=()=>{const a=m.value&&s.value[m.value];!a||e.mode==="horizontal"||e.collapse||a.indexPath.forEach(r=>{const f=k.value[r];f&&O(r,f.indexPath)})},O=(a,r)=>{p.value.includes(a)||(e.uniqueOpened&&(p.value=p.value.filter(f=>r.includes(f))),p.value.push(a),n("open",a,r))},q=a=>{const r=p.value.indexOf(a);r!==-1&&p.value.splice(r,1)},se=(a,r)=>{q(a),n("close",a,r)},ve=({index:a,indexPath:r})=>{p.value.includes(a)?se(a,r):O(a,r)},R=a=>{(e.mode==="horizontal"||e.collapse)&&(p.value=[]);const{index:r,indexPath:f}=a;if(!(Be(r)||Be(f)))if(e.router&&T){const x=a.route||r,I=T.push(x).then(d=>(d||(m.value=r),d));n("select",r,f,{index:r,indexPath:f,route:x},I)}else m.value=r,n("select",r,f,{index:r,indexPath:f})},G=a=>{var f;const r=s.value;m.value=((f=r[a]||m.value&&r[m.value]||r[e.defaultActive])==null?void 0:f.index)??a},U=a=>{const r=getComputedStyle(a),f=Number.parseInt(r.marginLeft,10),x=Number.parseInt(r.marginRight,10);return a.offsetWidth+f+x||0},ae=()=>{if(!u.value)return-1;const a=Array.from(u.value.childNodes).filter(_=>_.nodeName!=="#comment"&&(_.nodeName!=="#text"||_.nodeValue)),r=getComputedStyle(u.value),f=Number.parseInt(r.paddingLeft,10),x=Number.parseInt(r.paddingRight,10),I=u.value.clientWidth-f-x;let d=0,C=0;return a.forEach((_,A)=>{d+=U(_),d<=I-M&&(C=A+1)}),C===a.length?-1:C},H=a=>k.value[a].indexPath,oe=(a,r=33.34)=>{let f;return()=>{f&&clearTimeout(f),f=setTimeout(()=>{a()},r)}};let le=!0;const Z=()=>{const a=at(y);if(a&&(M=U(a)||Ae),h.value===ae())return;const r=()=>{h.value=-1,Ce(()=>{h.value=ae()})};le?r():oe(r)(),le=!1};X(()=>e.defaultActive,a=>{s.value[a]||(m.value=""),G(a)}),X(()=>e.collapse,a=>{a&&(p.value=[])}),X(s.value,P);let J;st(()=>{e.mode==="horizontal"&&e.ellipsis?J=rt(u,Z).stop:J==null||J()});const ie=S(!1);{const a=I=>{k.value[I.index]=I},r=I=>{delete k.value[I.index]};Ie(Oe,Se({props:e,openedMenus:p,items:s,subMenus:k,activeIndex:m,isMenuPopup:N,addMenuItem:I=>{s.value[I.index]=I},removeMenuItem:I=>{delete s.value[I.index]},addSubMenu:a,removeSubMenu:r,openMenu:O,closeMenu:se,handleMenuItemClick:R,handleSubMenuClick:ve})),Ie(`${me}${c.uid}`,{addSubMenu:a,removeSubMenu:r,mouseInChild:ie,level:0})}te(()=>{e.mode==="horizontal"&&new Nt(c.vnode.el,i.namespace.value)}),t({open:r=>{const{indexPath:f}=k.value[r];f.forEach(x=>O(x,f))},close:q,updateActiveIndex:G,handleResize:Z});const he=Ge(e,0);return()=>{var I;let a=((I=l.default)==null?void 0:I.call(l))??[];const r=[];if(e.mode==="horizontal"&&u.value){const d=It(a).filter(A=>(A==null?void 0:A.shapeFlag)!==8),C=h.value===-1?d:d.slice(0,h.value),_=h.value===-1?[]:d.slice(h.value);_!=null&&_.length&&e.ellipsis&&(a=C,r.push(E($e,{ref:y,index:"sub-menu-more",class:v.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>E(De,{class:v.e("icon-more")},{default:()=>E(e.ellipsisIcon)}),default:()=>_})))}const f=e.closeOnClickOutside?[[kt,()=>{p.value.length&&(ie.value||(p.value.forEach(d=>n("close",d,H(d))),p.value=[]))}]]:[],x=Re(E("ul",{key:String(e.collapse),role:"menubar",ref:u,style:he.value,class:{[i.b()]:!0,[i.m(e.mode)]:!0,[i.m("collapse")]:e.collapse}},[...a,...r]),f);return e.collapseTransition&&e.mode==="vertical"?E($t,()=>x):x}}});const At=Ee({index:{type:String,required:!0},route:{type:ee([String,Object])},disabled:Boolean}),zt={click:e=>K(e.index)&&Ue(e.indexPath)},Dt={title:String},Me="ElMenuItem";var Rt=V({name:Me,__name:"menu-item",props:At,emits:zt,setup(e,{expose:n,emit:l}){const t=e,c=l,T=xe(),u=de(Oe),y=j("menu"),i=j("menu-item");u||pe(Me,"can not inject root menu");const{parentMenu:v,indexPath:M}=qe(T,ut(t,"index")),h=de(`${me}${v.value.uid}`);h||pe(Me,"can not inject sub menu");const p=b(()=>t.index===u.activeIndex),m=Se({index:t.index,indexPath:M,active:p}),s=()=>{t.disabled||(u.handleMenuItemClick({index:t.index,indexPath:M.value,route:t.route}),c("click",m))};return te(()=>{h.addSubMenu(m),u.addMenuItem(m)}),ze(()=>{h.removeSubMenu(m),u.removeMenuItem(m)}),n({parentMenu:v,rootMenu:u,active:p,nsMenu:y,nsMenuItem:i,handleClick:s}),(k,N)=>(w(),L("li",{class:W([g(i).b(),g(i).is("active",p.value),g(i).is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:s},[g(v).type.name==="ElMenu"&&g(u).props.collapse&&k.$slots.title?(w(),ne(g(fe),{key:0,effect:g(u).props.popperEffect,placement:"right","fallback-placements":["left"],"popper-class":g(u).props.popperClass,"popper-style":g(u).props.popperStyle,persistent:g(u).props.persistent,"focus-on-target":""},{content:$(()=>[F(k.$slots,"title")]),default:$(()=>[o("div",{class:W(g(y).be("tooltip","trigger"))},[F(k.$slots,"default")],2)]),_:3},8,["effect","popper-class","popper-style","persistent"])):(w(),L(Y,{key:1},[F(k.$slots,"default"),F(k.$slots,"title")],64))],2))}}),He=Rt,Wt=V({name:"ElMenuItemGroup",__name:"menu-item-group",props:Dt,setup(e){const n=j("menu-item-group");return(l,t)=>(w(),L("li",{class:W(g(n).b())},[o("div",{class:W(g(n).e("title"))},[l.$slots.title?F(l.$slots,"title",{key:1}):(w(),L(Y,{key:0},[ce(z(e.title),1)],64))],2),o("ul",null,[F(l.$slots,"default")])],2))}}),Je=Wt;const jt=ct(Lt,{MenuItem:He,MenuItemGroup:Je,SubMenu:$e}),Ut=we(He);we(Je);we($e);const Vt={class:"app-sidebar"},Ft={key:0,class:"sidebar-section-title"},qt={class:"sidebar-footer"},Gt={key:0,class:"footer-user"},Ht={class:"user-info"},Jt={class:"user-name"},Kt={class:"user-role"},Yt=V({__name:"AppSidebar",setup(e){const n=Te(),l=Ve(),t=dt(),c=b(()=>{const M=n.path.split("/")[1]||"dashboard";return M==="training-log"?"fine-tune":n.path.includes("model-eval/dimension")?"model-eval":n.path.startsWith("/model-compare/chat")?"model-inference":n.path==="/model-manage/merge"||n.path.match(/^\/model-manage\/\d+\/edit/)?"model-manage":n.path.match(/^\/dataset\/(\d+)/)?"dataset":n.path.match(/^\/tools\/[^/]+\/edit/)?"tools":M}),T=[{showTitle:!1,items:[{key:"dashboard",label:"服务看板",icon:"fa-tachometer",to:"/dashboard",permission:"dashboard"}]},{title:"模型服务",items:[{key:"fine-tune",label:"模型训练",icon:"fa-cogs",to:"/fine-tune",permission:"fine-tune"},{key:"model-eval",label:"模型评测",icon:"fa-line-chart",to:"/model-eval",permission:"model-eval"},{key:"model-inference",label:"模型推理",icon:"fa-server",to:"/model-inference",permission:"model-inference"},{key:"model-manage",label:"模型管理",icon:"fa-cube",to:"/model-manage",permission:"model-manage"}]},{title:"数据治理",items:[{key:"dataset",label:"数据集管理",icon:"fa-file-text",to:"/dataset",permission:"dataset"},{key:"data-process",label:"数据处理",icon:"fa-filter",to:"/data-process",permission:"data-process"}]},{title:"其他工具",items:[{key:"data-convert",label:"数据类型转换",icon:"fa-exchange",to:"/data-convert",permission:"data-convert"}]},{title:"算力资源",items:[{key:"compute",label:"算力节点",icon:"fa-microchip",to:"/compute",permission:"compute"}]},{title:"系统设置",items:[{key:"user-settings",label:"用户设置",icon:"fa-users",to:"/user-settings",permission:"user-settings"},{key:"hardware",label:"平台性能",icon:"fa-bar-chart",to:"/hardware",permission:"hardware"},{key:"logs",label:"查看日志",icon:"fa-file-text",to:"/logs",permission:"logs"}]}],u=b(()=>T.map(M=>({...M,items:M.items.filter(h=>t.hasPermission(h.permission))})).filter(M=>M.items.length>0)),y=S(c.value);X(c,M=>{y.value=M});async function i(M){const p=u.value.flatMap(s=>s.items).find(s=>s.key===M);if(!p)return;await l.push(p.to)&&(y.value="",await Ce(),y.value=c.value)}function v(){t.logout(),l.push("/login")}return(M,h)=>{const p=Ut,m=jt,s=bt,k=gt,N=fe;return w(),L("aside",Vt,[h[1]||(h[1]=o("div",{class:"sidebar-logo"},[o("img",{src:St,alt:"Logo",class:"sidebar-logo-img"}),o("span",{class:"logo-text"},"远光软件微调平台")],-1)),D(s,{class:"sidebar-nav","wrap-class":"nav-scrollbar-wrap"},{default:$(()=>[D(m,{"default-active":y.value,class:"sidebar-menu","background-color":"transparent","text-color":"var(--sidebar-text)","active-text-color":"var(--sidebar-active-text)",onSelect:i},{default:$(()=>[(w(!0),L(Y,null,Le(u.value,P=>(w(),L(Y,{key:P.title||P.items[0].key},[P.title?(w(),L("div",Ft,z(P.title),1)):ke("",!0),(w(!0),L(Y,null,Le(P.items,O=>(w(),ne(p,{key:O.key,index:O.key},{default:$(()=>[o("i",{class:W(["fa",O.icon])},null,2),o("span",null,z(O.label),1)]),_:2},1032,["index"]))),128))],64))),128))]),_:1},8,["default-active"])]),_:1}),o("div",qt,[g(t).username?(w(),L("div",Gt,[D(k,{size:36,src:"https://picsum.photos/id/1005/36/36",class:"user-avatar"}),o("div",Ht,[o("span",Jt,z(g(t).displayName),1),o("span",Kt,z(g(t).roleLabel),1)]),D(N,{content:"退出登录",placement:"top"},{default:$(()=>[o("div",{class:"logout-btn",onClick:v},[...h[0]||(h[0]=[o("i",{class:"fa fa-sign-out"},null,-1)])])]),_:1})])):ke("",!0)])])}}}),Zt=Ne(Yt,[["__scopeId","data-v-79462f28"]]),Ke=pt("system",()=>{const e=S({});let n=null,l=!1;async function t(){if(!(l||document.hidden)){l=!0;try{e.value=await mt()}catch{}finally{l=!1}}}function c(){document.hidden||t()}function T(){n||(t(),n=setInterval(t,3e4),document.addEventListener("visibilitychange",c))}function u(){n&&(clearInterval(n),n=null),document.removeEventListener("visibilitychange",c)}return{metrics:e,fetchMetrics:t,start:T,stop:u}}),Qt={class:"app-header"},Xt={class:"header-left"},en={class:"header-right"},tn={class:"metric-badge"},nn={class:"metric-badge"},sn={class:"metric-badge"},an={class:"system-info"},on={class:"info-item"},ln={class:"info-item"},rn={class:"info-item time-item"},un=V({__name:"AppHeader",setup(e){const n=Ke(),{metrics:l}=ft(n),t=Te(),c=Ve(),T=b(()=>t.path.split("/").filter(Boolean).length>1);function u(m){return m!=null&&m>80?"is-danger":""}const y=S(""),i=S("");let v=null;function M(){const m=new Date;y.value=m.toLocaleTimeString("zh-CN",{hour12:!1}),i.value=m.toLocaleDateString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit"}).replace(/\//g,"-")}function h(){const m=c.resolve({name:"guide"}).href;window.open(m,"_blank","noopener,noreferrer")}const p=S(window.location.hostname);return te(()=>{M(),v=setInterval(M,1e3)}),Fe(()=>{v&&clearInterval(v)}),(m,s)=>{const k=Mt,N=fe;return w(),L("header",Qt,[o("div",Xt,[T.value?(w(),ne(k,{key:0,class:"back-btn",link:"",onClick:s[0]||(s[0]=P=>g(c).back())},{default:$(()=>[...s[2]||(s[2]=[o("div",{class:"back-icon-wrap"},[o("i",{class:"fa fa-arrow-left"})],-1),o("span",{class:"back-text"},"返回上一页",-1)])]),_:1})):ke("",!0)]),o("div",en,[o("div",{class:"metrics-dashboard",onClick:s[1]||(s[1]=P=>g(c).push("/hardware"))},[D(N,{content:"CPU 使用率",placement:"bottom"},{default:$(()=>[o("div",tn,[s[4]||(s[4]=o("i",{class:"fa fa-microchip icon cpu"},null,-1)),o("span",{class:W(["value",u(g(l).cpu_percent)])},[ce(z(g(l).cpu_percent??"--"),1),s[3]||(s[3]=o("small",null,"%",-1))],2)])]),_:1}),D(N,{content:"内存 使用率",placement:"bottom"},{default:$(()=>[o("div",nn,[s[6]||(s[6]=o("i",{class:"fa fa-database icon mem"},null,-1)),o("span",{class:W(["value",u(g(l).memory_percent)])},[ce(z(g(l).memory_percent??"--"),1),s[5]||(s[5]=o("small",null,"%",-1))],2)])]),_:1}),D(N,{content:"磁盘 使用率",placement:"bottom"},{default:$(()=>[o("div",sn,[s[8]||(s[8]=o("i",{class:"fa fa-hdd-o icon disk"},null,-1)),o("span",{class:W(["value",u(g(l).disk_percent)])},[ce(z(g(l).disk_percent??"--"),1),s[7]||(s[7]=o("small",null,"%",-1))],2)])]),_:1})]),s[13]||(s[13]=o("div",{class:"divider"},null,-1)),o("div",an,[o("div",on,[s[9]||(s[9]=o("i",{class:"fa fa-server"},null,-1)),o("span",null,z(p.value),1)]),o("div",ln,[s[10]||(s[10]=o("i",{class:"fa fa-calendar"},null,-1)),o("span",null,z(i.value),1)]),o("div",rn,[s[11]||(s[11]=o("i",{class:"fa fa-clock-o"},null,-1)),o("span",null,z(y.value),1)])]),s[14]||(s[14]=o("div",{class:"divider document-divider"},null,-1)),D(N,{content:"使用文档",placement:"bottom"},{default:$(()=>[o("button",{type:"button",class:"documentation-btn","aria-label":"打开使用文档",onClick:h},[...s[12]||(s[12]=[o("i",{class:"fa fa-book","aria-hidden":"true"},null,-1)])])]),_:1})])])}}}),cn=Ne(un,[["__scopeId","data-v-f7c0063e"]]),dn={class:"main-layout"},pn={class:"layout-main"},mn={class:"layout-content"},fn=V({__name:"MainLayout",setup(e){const n=Ke(),l=xt(),t=Te();return te(()=>{n.start(),l.load()}),Fe(()=>{n.stop()}),(c,T)=>{const u=vt("router-view");return w(),L("div",dn,[D(Zt),o("div",pn,[D(cn),o("main",mn,[o("div",{class:W(["page-canvas",{"is-self-surface":g(t).meta.pageSurface==="self"}])},[D(u,null,{default:$(({Component:y})=>[(w(),ne(ht(y)))]),_:1})],2)])])])}}}),Nn=Ne(fn,[["__scopeId","data-v-250aaaa6"]]);export{Nn as default}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/MainLayout-CH9dDYMJ.js +import{j as b,a as j,d as V,B as de,C as pe,z as Se,D as X,F as Ie,G as te,H as ze,I as E,J as K,E as De,K as Re,L as Ye,M as Y,N as xe,y as S,O as Pe,P as Ce,Q as Ze,b as Ee,i as Q,R as ee,S as Qe,T as Xe,U as We,V as je,W as B,X as ue,o as w,e as ne,w as $,h as F,Y as et,Z as tt,_ as re,$ as nt,a0 as ge,a1 as st,a2 as at,a3 as ot,a4 as lt,a5 as it,a6 as Ue,a7 as rt,a8 as Be,c as L,f as g,q as o,n as W,a9 as ut,x as ce,aa as z,l as ct,ab as we,ac as Te,v as Ve,m as dt,s as D,ad as Le,g as ke,ae as pt,af as mt,ag as ft,ah as Fe,ai as vt,r as ht}from"./index-Ds9AETjS.js";import{E as fe}from"./el-popper-D1tByNLb.js";import{E as bt}from"./el-scrollbar-CF42LNzg.js";import{E as gt}from"./el-avatar-CNBfYcqk.js";import{E as _t}from"./index-Tr1QMyk2.js";import{T as yt,E as Mt}from"./index-BNsCyG4A.js";import{f as It}from"./vnode-CBiWHFw7.js";import{C as kt}from"./index-CQlF36Lk.js";import"./el-tooltip-l0sNRNKZ.js";import{_ as St}from"./logo-CxXS7KxG.js";import{_ as Ne}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{u as xt}from"./models-a1fp9IUS.js";import"./index-BSbCLbaz.js";import"./index-sWKLi7bH.js";import"./model-cWd9CDtT.js";const Oe="rootMenu",me="subMenu:";function qe(e,n){const l=b(()=>{let t=e.parent;const c=[n.value];for(;t.type.name!=="ElMenu";)t.props.index&&c.unshift(t.props.index),t=t.parent;return c});return{parentMenu:b(()=>{let t=e.parent;for(;t&&!["ElMenu","ElSubMenu"].includes(t.type.name);)t=t.parent;return t}),indexPath:l}}function Ct(e){return b(()=>{const n=e.backgroundColor;return n?new yt(n).shade(20).toString():""})}const Ge=(e,n)=>{const l=j("menu");return b(()=>l.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":Ct(e).value||"","active-color":e.activeTextColor||"",level:`${n}`}))},Et=Ee({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,popperStyle:{type:ee([String,Object])},disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:Q},expandOpenIcon:{type:Q},collapseCloseIcon:{type:Q},collapseOpenIcon:{type:Q}}),_e="ElSubMenu";var $e=V({name:_e,props:Et,setup(e,{slots:n,expose:l}){const t=xe(),{indexPath:c,parentMenu:T}=qe(t,b(()=>e.index)),u=j("menu"),y=j("sub-menu"),i=de(Oe);i||pe(_e,"can not inject root menu");const v=de(`${me}${T.value.uid}`);v||pe(_e,"can not inject sub menu");const M=S({}),h=S({});let p;const m=S(!1),s=S(),k=S(),N=b(()=>v.level===0),P=b(()=>U.value==="horizontal"&&N.value?"bottom-start":"right-start"),O=b(()=>U.value==="horizontal"&&N.value||U.value==="vertical"&&!i.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?R.value?e.expandOpenIcon:e.expandCloseIcon:Qe:e.collapseCloseIcon&&e.collapseOpenIcon?R.value?e.collapseOpenIcon:e.collapseCloseIcon:Xe),q=b(()=>{const d=e.teleported;return We(d)?N.value:d}),se=b(()=>i.props.collapse?`${u.namespace.value}-zoom-in-left`:`${u.namespace.value}-zoom-in-top`),ve=b(()=>U.value==="horizontal"&&N.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),R=b(()=>i.openedMenus.includes(e.index)),G=b(()=>[...Object.values(M.value),...Object.values(h.value)].some(({active:d})=>d)),U=b(()=>i.props.mode),ae=b(()=>i.props.persistent),H=Se({index:e.index,indexPath:c,active:G}),oe=Ge(i.props,v.level+1),le=b(()=>e.popperOffset??i.props.popperOffset),Z=b(()=>e.popperClass??i.props.popperClass),J=b(()=>e.popperStyle??i.props.popperStyle),ie=b(()=>e.showTimeout??i.props.showTimeout),he=b(()=>e.hideTimeout??i.props.hideTimeout),a=()=>{var d,C,_;return(_=(C=(d=k.value)==null?void 0:d.popperRef)==null?void 0:C.popperInstanceRef)==null?void 0:_.destroy()},r=d=>{d||a()},f=()=>{i.props.menuTrigger==="hover"&&i.props.mode==="horizontal"||i.props.collapse&&i.props.mode==="vertical"||e.disabled||i.handleSubMenuClick({index:e.index,indexPath:c.value,active:G.value})},x=(d,C=ie.value)=>{var _;if(d.type!=="focus"){if(i.props.menuTrigger==="click"&&i.props.mode==="horizontal"||!i.props.collapse&&i.props.mode==="vertical"||e.disabled){v.mouseInChild.value=!0;return}v.mouseInChild.value=!0,p==null||p(),{stop:p}=Pe(()=>{i.openMenu(e.index,c.value)},C),q.value&&((_=T.value.vnode.el)==null||_.dispatchEvent(new MouseEvent("mouseenter"))),d.type==="mouseenter"&&d.target&&Ce(()=>{Ze(d.target,{preventScroll:!0})})}},I=(d=!1)=>{var C;if(i.props.menuTrigger==="click"&&i.props.mode==="horizontal"||!i.props.collapse&&i.props.mode==="vertical"){v.mouseInChild.value=!1;return}p==null||p(),v.mouseInChild.value=!1,{stop:p}=Pe(()=>!m.value&&i.closeMenu(e.index,c.value),he.value),q.value&&d&&((C=v.handleMouseleave)==null||C.call(v,!0))};X(()=>i.props.collapse,d=>r(!!d));{const d=_=>{h.value[_.index]=_},C=_=>{delete h.value[_.index]};Ie(`${me}${t.uid}`,{addSubMenu:d,removeSubMenu:C,handleMouseleave:I,mouseInChild:m,level:v.level+1})}return l({opened:R}),te(()=>{i.addSubMenu(H),v.addSubMenu(H)}),ze(()=>{v.removeSubMenu(H),i.removeSubMenu(H)}),()=>{var _;const d=[(_=n.title)==null?void 0:_.call(n),E(De,{class:y.e("icon-arrow"),style:{transform:R.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&i.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>K(O.value)?E(t.appContext.components[O.value]):E(O.value)})],C=i.isMenuPopup?E(fe,{ref:k,visible:R.value,effect:"light",pure:!0,offset:le.value,showArrow:!1,persistent:ae.value,popperClass:Z.value,popperStyle:J.value,placement:P.value,teleported:q.value,fallbackPlacements:ve.value,transition:se.value,gpuAcceleration:!1},{content:()=>{var A;return E("div",{class:[u.m(U.value),u.m("popup-container"),Z.value],onMouseenter:be=>x(be,100),onMouseleave:()=>I(!0),onFocus:be=>x(be,100)},[E("ul",{class:[u.b(),u.m("popup"),u.m(`popup-${P.value}`)],style:oe.value},[(A=n.default)==null?void 0:A.call(n)])])},default:()=>E("div",{class:y.e("title"),onClick:f},d)}):E(Y,{},[E("div",{class:y.e("title"),ref:s,onClick:f},d),E(_t,{},{default:()=>{var A;return Re(E("ul",{role:"menu",class:[u.b(),u.m("inline")],style:oe.value},[(A=n.default)==null?void 0:A.call(n)]),[[Ye,R.value]])}})]);return E("li",{class:[y.b(),y.is("active",G.value),y.is("opened",R.value),y.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:R.value,onMouseenter:x,onMouseleave:()=>I(),onFocus:x},[C])}}}),wt=class{constructor(e,n){this.parent=e,this.domNode=n,this.subIndex=0,this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(e){e===this.subMenuItems.length?e=0:e<0&&(e=this.subMenuItems.length-1),this.subMenuItems[e].focus(),this.subIndex=e}addListeners(){const e=this.parent.domNode;this.subMenuItems.forEach(n=>{n.addEventListener("keydown",l=>{const t=je(l);let c=!1;switch(t){case B.down:this.gotoSubIndex(this.subIndex+1),c=!0;break;case B.up:this.gotoSubIndex(this.subIndex-1),c=!0;break;case B.tab:ue(e,"mouseleave");break;case B.enter:case B.numpadEnter:case B.space:c=!0,l.currentTarget.click();break}return c&&(l.preventDefault(),l.stopPropagation()),!1})})}},Tt=class{constructor(e,n){this.domNode=e,this.submenu=null,this.init(n)}init(e){this.domNode.setAttribute("tabindex","0");const n=this.domNode.querySelector(`.${e}-menu`);n&&(this.submenu=new wt(this,n)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",e=>{var t,c;const n=je(e);let l=!1;switch(n){case B.down:ue(e.currentTarget,"mouseenter"),(t=this.submenu)==null||t.gotoSubIndex(0),l=!0;break;case B.up:ue(e.currentTarget,"mouseenter"),(c=this.submenu)==null||c.gotoSubIndex(this.submenu.subMenuItems.length-1),l=!0;break;case B.tab:ue(e.currentTarget,"mouseleave");break;case B.enter:case B.numpadEnter:case B.space:l=!0,e.currentTarget.click();break}l&&e.preventDefault()})}},Nt=class{constructor(e,n){this.domNode=e,this.init(n)}init(e){const n=this.domNode.childNodes;Array.from(n).forEach(l=>{l.nodeType===1&&new Tt(l,e)})}},Ot=V({name:"ElMenuCollapseTransition",__name:"menu-collapse-transition",setup(e){const n=j("menu"),l={onBeforeEnter:t=>t.style.opacity="0.2",onEnter(t,c){re(t,`${n.namespace.value}-opacity-transition`),t.style.opacity="1",c()},onAfterEnter(t){ge(t,`${n.namespace.value}-opacity-transition`),t.style.opacity=""},onBeforeLeave(t){t.dataset||(t.dataset={}),nt(t,n.m("collapse"))?(ge(t,n.m("collapse")),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth.toString(),re(t,n.m("collapse"))):(re(t,n.m("collapse")),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth.toString(),ge(t,n.m("collapse"))),t.style.width=`${t.scrollWidth}px`,t.style.overflow="hidden"},onLeave(t){re(t,"horizontal-collapse-transition"),t.style.width=`${t.dataset.scrollWidth}px`}};return(t,c)=>(w(),ne(tt,et({mode:"out-in"},l),{default:$(()=>[F(t.$slots,"default")]),_:3},16))}}),$t=Ot;const Pt=Ee({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:ee(Array),default:()=>it([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:Q,default:()=>lt},popperEffect:{type:ee(String),default:"dark"},popperClass:String,popperStyle:{type:ee([String,Object])},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},persistent:{type:Boolean,default:!0}}),ye=e=>Ue(e)&&e.every(n=>K(n)),Bt={close:(e,n)=>K(e)&&ye(n),open:(e,n)=>K(e)&&ye(n),select:(e,n,l,t)=>K(e)&&ye(n)&&ot(l)&&(We(t)||t instanceof Promise)},Ae=64;var Lt=V({name:"ElMenu",props:Pt,emits:Bt,setup(e,{emit:n,slots:l,expose:t}){const c=xe(),T=c.appContext.config.globalProperties.$router,u=S(),y=S(),i=j("menu"),v=j("sub-menu");let M=Ae;const h=S(-1),p=S(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),m=S(e.defaultActive),s=S({}),k=S({}),N=b(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),P=()=>{const a=m.value&&s.value[m.value];!a||e.mode==="horizontal"||e.collapse||a.indexPath.forEach(r=>{const f=k.value[r];f&&O(r,f.indexPath)})},O=(a,r)=>{p.value.includes(a)||(e.uniqueOpened&&(p.value=p.value.filter(f=>r.includes(f))),p.value.push(a),n("open",a,r))},q=a=>{const r=p.value.indexOf(a);r!==-1&&p.value.splice(r,1)},se=(a,r)=>{q(a),n("close",a,r)},ve=({index:a,indexPath:r})=>{p.value.includes(a)?se(a,r):O(a,r)},R=a=>{(e.mode==="horizontal"||e.collapse)&&(p.value=[]);const{index:r,indexPath:f}=a;if(!(Be(r)||Be(f)))if(e.router&&T){const x=a.route||r,I=T.push(x).then(d=>(d||(m.value=r),d));n("select",r,f,{index:r,indexPath:f,route:x},I)}else m.value=r,n("select",r,f,{index:r,indexPath:f})},G=a=>{var f;const r=s.value;m.value=((f=r[a]||m.value&&r[m.value]||r[e.defaultActive])==null?void 0:f.index)??a},U=a=>{const r=getComputedStyle(a),f=Number.parseInt(r.marginLeft,10),x=Number.parseInt(r.marginRight,10);return a.offsetWidth+f+x||0},ae=()=>{if(!u.value)return-1;const a=Array.from(u.value.childNodes).filter(_=>_.nodeName!=="#comment"&&(_.nodeName!=="#text"||_.nodeValue)),r=getComputedStyle(u.value),f=Number.parseInt(r.paddingLeft,10),x=Number.parseInt(r.paddingRight,10),I=u.value.clientWidth-f-x;let d=0,C=0;return a.forEach((_,A)=>{d+=U(_),d<=I-M&&(C=A+1)}),C===a.length?-1:C},H=a=>k.value[a].indexPath,oe=(a,r=33.34)=>{let f;return()=>{f&&clearTimeout(f),f=setTimeout(()=>{a()},r)}};let le=!0;const Z=()=>{const a=at(y);if(a&&(M=U(a)||Ae),h.value===ae())return;const r=()=>{h.value=-1,Ce(()=>{h.value=ae()})};le?r():oe(r)(),le=!1};X(()=>e.defaultActive,a=>{s.value[a]||(m.value=""),G(a)}),X(()=>e.collapse,a=>{a&&(p.value=[])}),X(s.value,P);let J;st(()=>{e.mode==="horizontal"&&e.ellipsis?J=rt(u,Z).stop:J==null||J()});const ie=S(!1);{const a=I=>{k.value[I.index]=I},r=I=>{delete k.value[I.index]};Ie(Oe,Se({props:e,openedMenus:p,items:s,subMenus:k,activeIndex:m,isMenuPopup:N,addMenuItem:I=>{s.value[I.index]=I},removeMenuItem:I=>{delete s.value[I.index]},addSubMenu:a,removeSubMenu:r,openMenu:O,closeMenu:se,handleMenuItemClick:R,handleSubMenuClick:ve})),Ie(`${me}${c.uid}`,{addSubMenu:a,removeSubMenu:r,mouseInChild:ie,level:0})}te(()=>{e.mode==="horizontal"&&new Nt(c.vnode.el,i.namespace.value)}),t({open:r=>{const{indexPath:f}=k.value[r];f.forEach(x=>O(x,f))},close:q,updateActiveIndex:G,handleResize:Z});const he=Ge(e,0);return()=>{var I;let a=((I=l.default)==null?void 0:I.call(l))??[];const r=[];if(e.mode==="horizontal"&&u.value){const d=It(a).filter(A=>(A==null?void 0:A.shapeFlag)!==8),C=h.value===-1?d:d.slice(0,h.value),_=h.value===-1?[]:d.slice(h.value);_!=null&&_.length&&e.ellipsis&&(a=C,r.push(E($e,{ref:y,index:"sub-menu-more",class:v.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>E(De,{class:v.e("icon-more")},{default:()=>E(e.ellipsisIcon)}),default:()=>_})))}const f=e.closeOnClickOutside?[[kt,()=>{p.value.length&&(ie.value||(p.value.forEach(d=>n("close",d,H(d))),p.value=[]))}]]:[],x=Re(E("ul",{key:String(e.collapse),role:"menubar",ref:u,style:he.value,class:{[i.b()]:!0,[i.m(e.mode)]:!0,[i.m("collapse")]:e.collapse}},[...a,...r]),f);return e.collapseTransition&&e.mode==="vertical"?E($t,()=>x):x}}});const At=Ee({index:{type:String,required:!0},route:{type:ee([String,Object])},disabled:Boolean}),zt={click:e=>K(e.index)&&Ue(e.indexPath)},Dt={title:String},Me="ElMenuItem";var Rt=V({name:Me,__name:"menu-item",props:At,emits:zt,setup(e,{expose:n,emit:l}){const t=e,c=l,T=xe(),u=de(Oe),y=j("menu"),i=j("menu-item");u||pe(Me,"can not inject root menu");const{parentMenu:v,indexPath:M}=qe(T,ut(t,"index")),h=de(`${me}${v.value.uid}`);h||pe(Me,"can not inject sub menu");const p=b(()=>t.index===u.activeIndex),m=Se({index:t.index,indexPath:M,active:p}),s=()=>{t.disabled||(u.handleMenuItemClick({index:t.index,indexPath:M.value,route:t.route}),c("click",m))};return te(()=>{h.addSubMenu(m),u.addMenuItem(m)}),ze(()=>{h.removeSubMenu(m),u.removeMenuItem(m)}),n({parentMenu:v,rootMenu:u,active:p,nsMenu:y,nsMenuItem:i,handleClick:s}),(k,N)=>(w(),L("li",{class:W([g(i).b(),g(i).is("active",p.value),g(i).is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:s},[g(v).type.name==="ElMenu"&&g(u).props.collapse&&k.$slots.title?(w(),ne(g(fe),{key:0,effect:g(u).props.popperEffect,placement:"right","fallback-placements":["left"],"popper-class":g(u).props.popperClass,"popper-style":g(u).props.popperStyle,persistent:g(u).props.persistent,"focus-on-target":""},{content:$(()=>[F(k.$slots,"title")]),default:$(()=>[o("div",{class:W(g(y).be("tooltip","trigger"))},[F(k.$slots,"default")],2)]),_:3},8,["effect","popper-class","popper-style","persistent"])):(w(),L(Y,{key:1},[F(k.$slots,"default"),F(k.$slots,"title")],64))],2))}}),He=Rt,Wt=V({name:"ElMenuItemGroup",__name:"menu-item-group",props:Dt,setup(e){const n=j("menu-item-group");return(l,t)=>(w(),L("li",{class:W(g(n).b())},[o("div",{class:W(g(n).e("title"))},[l.$slots.title?F(l.$slots,"title",{key:1}):(w(),L(Y,{key:0},[ce(z(e.title),1)],64))],2),o("ul",null,[F(l.$slots,"default")])],2))}}),Je=Wt;const jt=ct(Lt,{MenuItem:He,MenuItemGroup:Je,SubMenu:$e}),Ut=we(He);we(Je);we($e);const Vt={class:"app-sidebar"},Ft={key:0,class:"sidebar-section-title"},qt={class:"sidebar-footer"},Gt={key:0,class:"footer-user"},Ht={class:"user-info"},Jt={class:"user-name"},Kt={class:"user-role"},Yt=V({__name:"AppSidebar",setup(e){const n=Te(),l=Ve(),t=dt(),c=b(()=>{const M=n.path.split("/")[1]||"dashboard";return M==="training-log"?"fine-tune":n.path.includes("model-eval/dimension")?"model-eval":n.path.startsWith("/model-compare/chat")?"model-inference":n.path==="/model-manage/merge"||n.path.match(/^\/model-manage\/\d+\/edit/)?"model-manage":n.path.match(/^\/dataset\/(\d+)/)?"dataset":n.path.match(/^\/tools\/[^/]+\/edit/)?"tools":M}),T=[{showTitle:!1,items:[{key:"dashboard",label:"服务看板",icon:"fa-tachometer",to:"/dashboard",permission:"dashboard"}]},{title:"模型服务",items:[{key:"fine-tune",label:"模型训练",icon:"fa-cogs",to:"/fine-tune",permission:"fine-tune"},{key:"model-eval",label:"模型评测",icon:"fa-line-chart",to:"/model-eval",permission:"model-eval"},{key:"model-inference",label:"模型推理",icon:"fa-server",to:"/model-inference",permission:"model-inference"},{key:"model-manage",label:"模型管理",icon:"fa-cube",to:"/model-manage",permission:"model-manage"}]},{title:"数据治理",items:[{key:"dataset",label:"数据集管理",icon:"fa-file-text",to:"/dataset",permission:"dataset"},{key:"data-process",label:"数据处理",icon:"fa-filter",to:"/data-process",permission:"data-process"}]},{title:"其他工具",items:[{key:"data-convert",label:"数据类型转换",icon:"fa-exchange",to:"/data-convert",permission:"data-convert"}]},{title:"算力资源",items:[{key:"compute",label:"算力节点",icon:"fa-microchip",to:"/compute",permission:"compute"}]},{title:"系统设置",items:[{key:"user-settings",label:"用户设置",icon:"fa-users",to:"/user-settings",permission:"user-settings"},{key:"hardware",label:"平台性能",icon:"fa-bar-chart",to:"/hardware",permission:"hardware"},{key:"logs",label:"查看日志",icon:"fa-file-text",to:"/logs",permission:"logs"}]}],u=b(()=>T.map(M=>({...M,items:M.items.filter(h=>t.hasPermission(h.permission))})).filter(M=>M.items.length>0)),y=S(c.value);X(c,M=>{y.value=M});async function i(M){const p=u.value.flatMap(s=>s.items).find(s=>s.key===M);if(!p)return;await l.push(p.to)&&(y.value="",await Ce(),y.value=c.value)}function v(){t.logout(),l.push("/login")}return(M,h)=>{const p=Ut,m=jt,s=bt,k=gt,N=fe;return w(),L("aside",Vt,[h[1]||(h[1]=o("div",{class:"sidebar-logo"},[o("img",{src:St,alt:"Logo",class:"sidebar-logo-img"}),o("span",{class:"logo-text"},"远光软件微调平台")],-1)),D(s,{class:"sidebar-nav","wrap-class":"nav-scrollbar-wrap"},{default:$(()=>[D(m,{"default-active":y.value,class:"sidebar-menu","background-color":"transparent","text-color":"var(--sidebar-text)","active-text-color":"var(--sidebar-active-text)",onSelect:i},{default:$(()=>[(w(!0),L(Y,null,Le(u.value,P=>(w(),L(Y,{key:P.title||P.items[0].key},[P.title?(w(),L("div",Ft,z(P.title),1)):ke("",!0),(w(!0),L(Y,null,Le(P.items,O=>(w(),ne(p,{key:O.key,index:O.key},{default:$(()=>[o("i",{class:W(["fa",O.icon])},null,2),o("span",null,z(O.label),1)]),_:2},1032,["index"]))),128))],64))),128))]),_:1},8,["default-active"])]),_:1}),o("div",qt,[g(t).username?(w(),L("div",Gt,[D(k,{size:36,src:"https://picsum.photos/id/1005/36/36",class:"user-avatar"}),o("div",Ht,[o("span",Jt,z(g(t).displayName),1),o("span",Kt,z(g(t).roleLabel),1)]),D(N,{content:"退出登录",placement:"top"},{default:$(()=>[o("div",{class:"logout-btn",onClick:v},[...h[0]||(h[0]=[o("i",{class:"fa fa-sign-out"},null,-1)])])]),_:1})])):ke("",!0)])])}}}),Zt=Ne(Yt,[["__scopeId","data-v-79462f28"]]),Ke=pt("system",()=>{const e=S({});let n=null,l=!1;async function t(){if(!(l||document.hidden)){l=!0;try{e.value=await mt()}catch{}finally{l=!1}}}function c(){document.hidden||t()}function T(){n||(t(),n=setInterval(t,3e4),document.addEventListener("visibilitychange",c))}function u(){n&&(clearInterval(n),n=null),document.removeEventListener("visibilitychange",c)}return{metrics:e,fetchMetrics:t,start:T,stop:u}}),Qt={class:"app-header"},Xt={class:"header-left"},en={class:"header-right"},tn={class:"metric-badge"},nn={class:"metric-badge"},sn={class:"metric-badge"},an={class:"system-info"},on={class:"info-item"},ln={class:"info-item"},rn={class:"info-item time-item"},un=V({__name:"AppHeader",setup(e){const n=Ke(),{metrics:l}=ft(n),t=Te(),c=Ve(),T=b(()=>t.path.split("/").filter(Boolean).length>1);function u(m){return m!=null&&m>80?"is-danger":""}const y=S(""),i=S("");let v=null;function M(){const m=new Date;y.value=m.toLocaleTimeString("zh-CN",{hour12:!1}),i.value=m.toLocaleDateString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit"}).replace(/\//g,"-")}function h(){const m=c.resolve({name:"guide"}).href;window.open(m,"_blank","noopener,noreferrer")}const p=S(window.location.hostname);return te(()=>{M(),v=setInterval(M,1e3)}),Fe(()=>{v&&clearInterval(v)}),(m,s)=>{const k=Mt,N=fe;return w(),L("header",Qt,[o("div",Xt,[T.value?(w(),ne(k,{key:0,class:"back-btn",link:"",onClick:s[0]||(s[0]=P=>g(c).back())},{default:$(()=>[...s[2]||(s[2]=[o("div",{class:"back-icon-wrap"},[o("i",{class:"fa fa-arrow-left"})],-1),o("span",{class:"back-text"},"返回上一页",-1)])]),_:1})):ke("",!0)]),o("div",en,[o("div",{class:"metrics-dashboard",onClick:s[1]||(s[1]=P=>g(c).push("/hardware"))},[D(N,{content:"CPU 使用率",placement:"bottom"},{default:$(()=>[o("div",tn,[s[4]||(s[4]=o("i",{class:"fa fa-microchip icon cpu"},null,-1)),o("span",{class:W(["value",u(g(l).cpu_percent)])},[ce(z(g(l).cpu_percent??"--"),1),s[3]||(s[3]=o("small",null,"%",-1))],2)])]),_:1}),D(N,{content:"内存 使用率",placement:"bottom"},{default:$(()=>[o("div",nn,[s[6]||(s[6]=o("i",{class:"fa fa-database icon mem"},null,-1)),o("span",{class:W(["value",u(g(l).memory_percent)])},[ce(z(g(l).memory_percent??"--"),1),s[5]||(s[5]=o("small",null,"%",-1))],2)])]),_:1}),D(N,{content:"磁盘 使用率",placement:"bottom"},{default:$(()=>[o("div",sn,[s[8]||(s[8]=o("i",{class:"fa fa-hdd-o icon disk"},null,-1)),o("span",{class:W(["value",u(g(l).disk_percent)])},[ce(z(g(l).disk_percent??"--"),1),s[7]||(s[7]=o("small",null,"%",-1))],2)])]),_:1})]),s[13]||(s[13]=o("div",{class:"divider"},null,-1)),o("div",an,[o("div",on,[s[9]||(s[9]=o("i",{class:"fa fa-server"},null,-1)),o("span",null,z(p.value),1)]),o("div",ln,[s[10]||(s[10]=o("i",{class:"fa fa-calendar"},null,-1)),o("span",null,z(i.value),1)]),o("div",rn,[s[11]||(s[11]=o("i",{class:"fa fa-clock-o"},null,-1)),o("span",null,z(y.value),1)])]),s[14]||(s[14]=o("div",{class:"divider document-divider"},null,-1)),D(N,{content:"使用文档",placement:"bottom"},{default:$(()=>[o("button",{type:"button",class:"documentation-btn","aria-label":"打开使用文档",onClick:h},[...s[12]||(s[12]=[o("i",{class:"fa fa-book","aria-hidden":"true"},null,-1)])])]),_:1})])])}}}),cn=Ne(un,[["__scopeId","data-v-f7c0063e"]]),dn={class:"main-layout"},pn={class:"layout-main"},mn={class:"layout-content"},fn=V({__name:"MainLayout",setup(e){const n=Ke(),l=xt(),t=Te();return te(()=>{n.start(),l.load()}),Fe(()=>{n.stop()}),(c,T)=>{const u=vt("router-view");return w(),L("div",dn,[D(Zt),o("div",pn,[D(cn),o("main",mn,[o("div",{class:W(["page-canvas",{"is-self-surface":g(t).meta.pageSurface==="self"}])},[D(u,null,{default:$(({Component:y})=>[(w(),ne(ht(y)))]),_:1})],2)])])])}}}),Nn=Ne(fn,[["__scopeId","data-v-250aaaa6"]]);export{Nn as default}; +======== +import{j as b,a as j,d as V,B as de,C as pe,z as Se,D as X,F as Ie,G as te,H as ze,I as E,J as K,E as De,K as Re,L as Ye,M as Y,N as xe,y as S,O as Pe,P as Ce,Q as Ze,b as Ee,i as Q,R as ee,S as Qe,T as Xe,U as We,V as je,W as B,X as ue,o as w,e as ne,w as $,h as F,Y as et,Z as tt,_ as re,$ as nt,a0 as ge,a1 as st,a2 as at,a3 as ot,a4 as lt,a5 as it,a6 as Ue,a7 as rt,a8 as Be,c as L,f as g,q as o,n as W,a9 as ut,x as ce,aa as z,l as ct,ab as we,ac as Te,v as Ve,m as dt,s as D,ad as Le,g as ke,ae as pt,af as mt,ag as ft,ah as Fe,ai as vt,r as ht}from"./index-CxbBjZKo.js";import{E as fe}from"./el-popper-OAwpEmER.js";import{E as bt}from"./el-scrollbar-B0E7ZTt3.js";import{E as gt}from"./el-avatar-C4z1rEZv.js";import{E as _t}from"./index-Bp52mKPt.js";import{T as yt,E as Mt}from"./index-D23K2h6y.js";import{f as It}from"./vnode-DIVHEdsp.js";import{C as kt}from"./index-Bzaib5AU.js";import"./el-tooltip-l0sNRNKZ.js";import{_ as St}from"./logo-CxXS7KxG.js";import{_ as Ne}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{u as xt}from"./models-WwcwjK0u.js";import"./index-DxP0p4ch.js";import"./index-DHcidAHK.js";import"./model-B9dq9fy6.js";const Oe="rootMenu",me="subMenu:";function qe(e,n){const l=b(()=>{let t=e.parent;const c=[n.value];for(;t.type.name!=="ElMenu";)t.props.index&&c.unshift(t.props.index),t=t.parent;return c});return{parentMenu:b(()=>{let t=e.parent;for(;t&&!["ElMenu","ElSubMenu"].includes(t.type.name);)t=t.parent;return t}),indexPath:l}}function Ct(e){return b(()=>{const n=e.backgroundColor;return n?new yt(n).shade(20).toString():""})}const Ge=(e,n)=>{const l=j("menu");return b(()=>l.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":Ct(e).value||"","active-color":e.activeTextColor||"",level:`${n}`}))},Et=Ee({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,popperStyle:{type:ee([String,Object])},disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:Q},expandOpenIcon:{type:Q},collapseCloseIcon:{type:Q},collapseOpenIcon:{type:Q}}),_e="ElSubMenu";var $e=V({name:_e,props:Et,setup(e,{slots:n,expose:l}){const t=xe(),{indexPath:c,parentMenu:T}=qe(t,b(()=>e.index)),u=j("menu"),y=j("sub-menu"),i=de(Oe);i||pe(_e,"can not inject root menu");const v=de(`${me}${T.value.uid}`);v||pe(_e,"can not inject sub menu");const M=S({}),h=S({});let p;const m=S(!1),s=S(),k=S(),N=b(()=>v.level===0),P=b(()=>U.value==="horizontal"&&N.value?"bottom-start":"right-start"),O=b(()=>U.value==="horizontal"&&N.value||U.value==="vertical"&&!i.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?R.value?e.expandOpenIcon:e.expandCloseIcon:Qe:e.collapseCloseIcon&&e.collapseOpenIcon?R.value?e.collapseOpenIcon:e.collapseCloseIcon:Xe),q=b(()=>{const d=e.teleported;return We(d)?N.value:d}),se=b(()=>i.props.collapse?`${u.namespace.value}-zoom-in-left`:`${u.namespace.value}-zoom-in-top`),ve=b(()=>U.value==="horizontal"&&N.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),R=b(()=>i.openedMenus.includes(e.index)),G=b(()=>[...Object.values(M.value),...Object.values(h.value)].some(({active:d})=>d)),U=b(()=>i.props.mode),ae=b(()=>i.props.persistent),H=Se({index:e.index,indexPath:c,active:G}),oe=Ge(i.props,v.level+1),le=b(()=>e.popperOffset??i.props.popperOffset),Z=b(()=>e.popperClass??i.props.popperClass),J=b(()=>e.popperStyle??i.props.popperStyle),ie=b(()=>e.showTimeout??i.props.showTimeout),he=b(()=>e.hideTimeout??i.props.hideTimeout),a=()=>{var d,C,_;return(_=(C=(d=k.value)==null?void 0:d.popperRef)==null?void 0:C.popperInstanceRef)==null?void 0:_.destroy()},r=d=>{d||a()},f=()=>{i.props.menuTrigger==="hover"&&i.props.mode==="horizontal"||i.props.collapse&&i.props.mode==="vertical"||e.disabled||i.handleSubMenuClick({index:e.index,indexPath:c.value,active:G.value})},x=(d,C=ie.value)=>{var _;if(d.type!=="focus"){if(i.props.menuTrigger==="click"&&i.props.mode==="horizontal"||!i.props.collapse&&i.props.mode==="vertical"||e.disabled){v.mouseInChild.value=!0;return}v.mouseInChild.value=!0,p==null||p(),{stop:p}=Pe(()=>{i.openMenu(e.index,c.value)},C),q.value&&((_=T.value.vnode.el)==null||_.dispatchEvent(new MouseEvent("mouseenter"))),d.type==="mouseenter"&&d.target&&Ce(()=>{Ze(d.target,{preventScroll:!0})})}},I=(d=!1)=>{var C;if(i.props.menuTrigger==="click"&&i.props.mode==="horizontal"||!i.props.collapse&&i.props.mode==="vertical"){v.mouseInChild.value=!1;return}p==null||p(),v.mouseInChild.value=!1,{stop:p}=Pe(()=>!m.value&&i.closeMenu(e.index,c.value),he.value),q.value&&d&&((C=v.handleMouseleave)==null||C.call(v,!0))};X(()=>i.props.collapse,d=>r(!!d));{const d=_=>{h.value[_.index]=_},C=_=>{delete h.value[_.index]};Ie(`${me}${t.uid}`,{addSubMenu:d,removeSubMenu:C,handleMouseleave:I,mouseInChild:m,level:v.level+1})}return l({opened:R}),te(()=>{i.addSubMenu(H),v.addSubMenu(H)}),ze(()=>{v.removeSubMenu(H),i.removeSubMenu(H)}),()=>{var _;const d=[(_=n.title)==null?void 0:_.call(n),E(De,{class:y.e("icon-arrow"),style:{transform:R.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&i.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>K(O.value)?E(t.appContext.components[O.value]):E(O.value)})],C=i.isMenuPopup?E(fe,{ref:k,visible:R.value,effect:"light",pure:!0,offset:le.value,showArrow:!1,persistent:ae.value,popperClass:Z.value,popperStyle:J.value,placement:P.value,teleported:q.value,fallbackPlacements:ve.value,transition:se.value,gpuAcceleration:!1},{content:()=>{var A;return E("div",{class:[u.m(U.value),u.m("popup-container"),Z.value],onMouseenter:be=>x(be,100),onMouseleave:()=>I(!0),onFocus:be=>x(be,100)},[E("ul",{class:[u.b(),u.m("popup"),u.m(`popup-${P.value}`)],style:oe.value},[(A=n.default)==null?void 0:A.call(n)])])},default:()=>E("div",{class:y.e("title"),onClick:f},d)}):E(Y,{},[E("div",{class:y.e("title"),ref:s,onClick:f},d),E(_t,{},{default:()=>{var A;return Re(E("ul",{role:"menu",class:[u.b(),u.m("inline")],style:oe.value},[(A=n.default)==null?void 0:A.call(n)]),[[Ye,R.value]])}})]);return E("li",{class:[y.b(),y.is("active",G.value),y.is("opened",R.value),y.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:R.value,onMouseenter:x,onMouseleave:()=>I(),onFocus:x},[C])}}}),wt=class{constructor(e,n){this.parent=e,this.domNode=n,this.subIndex=0,this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(e){e===this.subMenuItems.length?e=0:e<0&&(e=this.subMenuItems.length-1),this.subMenuItems[e].focus(),this.subIndex=e}addListeners(){const e=this.parent.domNode;this.subMenuItems.forEach(n=>{n.addEventListener("keydown",l=>{const t=je(l);let c=!1;switch(t){case B.down:this.gotoSubIndex(this.subIndex+1),c=!0;break;case B.up:this.gotoSubIndex(this.subIndex-1),c=!0;break;case B.tab:ue(e,"mouseleave");break;case B.enter:case B.numpadEnter:case B.space:c=!0,l.currentTarget.click();break}return c&&(l.preventDefault(),l.stopPropagation()),!1})})}},Tt=class{constructor(e,n){this.domNode=e,this.submenu=null,this.init(n)}init(e){this.domNode.setAttribute("tabindex","0");const n=this.domNode.querySelector(`.${e}-menu`);n&&(this.submenu=new wt(this,n)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",e=>{var t,c;const n=je(e);let l=!1;switch(n){case B.down:ue(e.currentTarget,"mouseenter"),(t=this.submenu)==null||t.gotoSubIndex(0),l=!0;break;case B.up:ue(e.currentTarget,"mouseenter"),(c=this.submenu)==null||c.gotoSubIndex(this.submenu.subMenuItems.length-1),l=!0;break;case B.tab:ue(e.currentTarget,"mouseleave");break;case B.enter:case B.numpadEnter:case B.space:l=!0,e.currentTarget.click();break}l&&e.preventDefault()})}},Nt=class{constructor(e,n){this.domNode=e,this.init(n)}init(e){const n=this.domNode.childNodes;Array.from(n).forEach(l=>{l.nodeType===1&&new Tt(l,e)})}},Ot=V({name:"ElMenuCollapseTransition",__name:"menu-collapse-transition",setup(e){const n=j("menu"),l={onBeforeEnter:t=>t.style.opacity="0.2",onEnter(t,c){re(t,`${n.namespace.value}-opacity-transition`),t.style.opacity="1",c()},onAfterEnter(t){ge(t,`${n.namespace.value}-opacity-transition`),t.style.opacity=""},onBeforeLeave(t){t.dataset||(t.dataset={}),nt(t,n.m("collapse"))?(ge(t,n.m("collapse")),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth.toString(),re(t,n.m("collapse"))):(re(t,n.m("collapse")),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth.toString(),ge(t,n.m("collapse"))),t.style.width=`${t.scrollWidth}px`,t.style.overflow="hidden"},onLeave(t){re(t,"horizontal-collapse-transition"),t.style.width=`${t.dataset.scrollWidth}px`}};return(t,c)=>(w(),ne(tt,et({mode:"out-in"},l),{default:$(()=>[F(t.$slots,"default")]),_:3},16))}}),$t=Ot;const Pt=Ee({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:ee(Array),default:()=>it([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:Q,default:()=>lt},popperEffect:{type:ee(String),default:"dark"},popperClass:String,popperStyle:{type:ee([String,Object])},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},persistent:{type:Boolean,default:!0}}),ye=e=>Ue(e)&&e.every(n=>K(n)),Bt={close:(e,n)=>K(e)&&ye(n),open:(e,n)=>K(e)&&ye(n),select:(e,n,l,t)=>K(e)&&ye(n)&&ot(l)&&(We(t)||t instanceof Promise)},Ae=64;var Lt=V({name:"ElMenu",props:Pt,emits:Bt,setup(e,{emit:n,slots:l,expose:t}){const c=xe(),T=c.appContext.config.globalProperties.$router,u=S(),y=S(),i=j("menu"),v=j("sub-menu");let M=Ae;const h=S(-1),p=S(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),m=S(e.defaultActive),s=S({}),k=S({}),N=b(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),P=()=>{const a=m.value&&s.value[m.value];!a||e.mode==="horizontal"||e.collapse||a.indexPath.forEach(r=>{const f=k.value[r];f&&O(r,f.indexPath)})},O=(a,r)=>{p.value.includes(a)||(e.uniqueOpened&&(p.value=p.value.filter(f=>r.includes(f))),p.value.push(a),n("open",a,r))},q=a=>{const r=p.value.indexOf(a);r!==-1&&p.value.splice(r,1)},se=(a,r)=>{q(a),n("close",a,r)},ve=({index:a,indexPath:r})=>{p.value.includes(a)?se(a,r):O(a,r)},R=a=>{(e.mode==="horizontal"||e.collapse)&&(p.value=[]);const{index:r,indexPath:f}=a;if(!(Be(r)||Be(f)))if(e.router&&T){const x=a.route||r,I=T.push(x).then(d=>(d||(m.value=r),d));n("select",r,f,{index:r,indexPath:f,route:x},I)}else m.value=r,n("select",r,f,{index:r,indexPath:f})},G=a=>{var f;const r=s.value;m.value=((f=r[a]||m.value&&r[m.value]||r[e.defaultActive])==null?void 0:f.index)??a},U=a=>{const r=getComputedStyle(a),f=Number.parseInt(r.marginLeft,10),x=Number.parseInt(r.marginRight,10);return a.offsetWidth+f+x||0},ae=()=>{if(!u.value)return-1;const a=Array.from(u.value.childNodes).filter(_=>_.nodeName!=="#comment"&&(_.nodeName!=="#text"||_.nodeValue)),r=getComputedStyle(u.value),f=Number.parseInt(r.paddingLeft,10),x=Number.parseInt(r.paddingRight,10),I=u.value.clientWidth-f-x;let d=0,C=0;return a.forEach((_,A)=>{d+=U(_),d<=I-M&&(C=A+1)}),C===a.length?-1:C},H=a=>k.value[a].indexPath,oe=(a,r=33.34)=>{let f;return()=>{f&&clearTimeout(f),f=setTimeout(()=>{a()},r)}};let le=!0;const Z=()=>{const a=at(y);if(a&&(M=U(a)||Ae),h.value===ae())return;const r=()=>{h.value=-1,Ce(()=>{h.value=ae()})};le?r():oe(r)(),le=!1};X(()=>e.defaultActive,a=>{s.value[a]||(m.value=""),G(a)}),X(()=>e.collapse,a=>{a&&(p.value=[])}),X(s.value,P);let J;st(()=>{e.mode==="horizontal"&&e.ellipsis?J=rt(u,Z).stop:J==null||J()});const ie=S(!1);{const a=I=>{k.value[I.index]=I},r=I=>{delete k.value[I.index]};Ie(Oe,Se({props:e,openedMenus:p,items:s,subMenus:k,activeIndex:m,isMenuPopup:N,addMenuItem:I=>{s.value[I.index]=I},removeMenuItem:I=>{delete s.value[I.index]},addSubMenu:a,removeSubMenu:r,openMenu:O,closeMenu:se,handleMenuItemClick:R,handleSubMenuClick:ve})),Ie(`${me}${c.uid}`,{addSubMenu:a,removeSubMenu:r,mouseInChild:ie,level:0})}te(()=>{e.mode==="horizontal"&&new Nt(c.vnode.el,i.namespace.value)}),t({open:r=>{const{indexPath:f}=k.value[r];f.forEach(x=>O(x,f))},close:q,updateActiveIndex:G,handleResize:Z});const he=Ge(e,0);return()=>{var I;let a=((I=l.default)==null?void 0:I.call(l))??[];const r=[];if(e.mode==="horizontal"&&u.value){const d=It(a).filter(A=>(A==null?void 0:A.shapeFlag)!==8),C=h.value===-1?d:d.slice(0,h.value),_=h.value===-1?[]:d.slice(h.value);_!=null&&_.length&&e.ellipsis&&(a=C,r.push(E($e,{ref:y,index:"sub-menu-more",class:v.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>E(De,{class:v.e("icon-more")},{default:()=>E(e.ellipsisIcon)}),default:()=>_})))}const f=e.closeOnClickOutside?[[kt,()=>{p.value.length&&(ie.value||(p.value.forEach(d=>n("close",d,H(d))),p.value=[]))}]]:[],x=Re(E("ul",{key:String(e.collapse),role:"menubar",ref:u,style:he.value,class:{[i.b()]:!0,[i.m(e.mode)]:!0,[i.m("collapse")]:e.collapse}},[...a,...r]),f);return e.collapseTransition&&e.mode==="vertical"?E($t,()=>x):x}}});const At=Ee({index:{type:String,required:!0},route:{type:ee([String,Object])},disabled:Boolean}),zt={click:e=>K(e.index)&&Ue(e.indexPath)},Dt={title:String},Me="ElMenuItem";var Rt=V({name:Me,__name:"menu-item",props:At,emits:zt,setup(e,{expose:n,emit:l}){const t=e,c=l,T=xe(),u=de(Oe),y=j("menu"),i=j("menu-item");u||pe(Me,"can not inject root menu");const{parentMenu:v,indexPath:M}=qe(T,ut(t,"index")),h=de(`${me}${v.value.uid}`);h||pe(Me,"can not inject sub menu");const p=b(()=>t.index===u.activeIndex),m=Se({index:t.index,indexPath:M,active:p}),s=()=>{t.disabled||(u.handleMenuItemClick({index:t.index,indexPath:M.value,route:t.route}),c("click",m))};return te(()=>{h.addSubMenu(m),u.addMenuItem(m)}),ze(()=>{h.removeSubMenu(m),u.removeMenuItem(m)}),n({parentMenu:v,rootMenu:u,active:p,nsMenu:y,nsMenuItem:i,handleClick:s}),(k,N)=>(w(),L("li",{class:W([g(i).b(),g(i).is("active",p.value),g(i).is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:s},[g(v).type.name==="ElMenu"&&g(u).props.collapse&&k.$slots.title?(w(),ne(g(fe),{key:0,effect:g(u).props.popperEffect,placement:"right","fallback-placements":["left"],"popper-class":g(u).props.popperClass,"popper-style":g(u).props.popperStyle,persistent:g(u).props.persistent,"focus-on-target":""},{content:$(()=>[F(k.$slots,"title")]),default:$(()=>[o("div",{class:W(g(y).be("tooltip","trigger"))},[F(k.$slots,"default")],2)]),_:3},8,["effect","popper-class","popper-style","persistent"])):(w(),L(Y,{key:1},[F(k.$slots,"default"),F(k.$slots,"title")],64))],2))}}),He=Rt,Wt=V({name:"ElMenuItemGroup",__name:"menu-item-group",props:Dt,setup(e){const n=j("menu-item-group");return(l,t)=>(w(),L("li",{class:W(g(n).b())},[o("div",{class:W(g(n).e("title"))},[l.$slots.title?F(l.$slots,"title",{key:1}):(w(),L(Y,{key:0},[ce(z(e.title),1)],64))],2),o("ul",null,[F(l.$slots,"default")])],2))}}),Je=Wt;const jt=ct(Lt,{MenuItem:He,MenuItemGroup:Je,SubMenu:$e}),Ut=we(He);we(Je);we($e);const Vt={class:"app-sidebar"},Ft={key:0,class:"sidebar-section-title"},qt={class:"sidebar-footer"},Gt={key:0,class:"footer-user"},Ht={class:"user-info"},Jt={class:"user-name"},Kt={class:"user-role"},Yt=V({__name:"AppSidebar",setup(e){const n=Te(),l=Ve(),t=dt(),c=b(()=>{const M=n.path.split("/")[1]||"dashboard";return M==="training-log"?"fine-tune":n.path.includes("model-eval/dimension")?"model-eval":n.path.startsWith("/model-compare/chat")?"model-inference":n.path==="/model-manage/merge"||n.path.match(/^\/model-manage\/\d+\/edit/)?"model-manage":n.path.match(/^\/dataset\/(\d+)/)?"dataset":n.path.match(/^\/tools\/[^/]+\/edit/)?"tools":M}),T=[{showTitle:!1,items:[{key:"dashboard",label:"服务看板",icon:"fa-tachometer",to:"/dashboard",permission:"dashboard"}]},{title:"模型服务",items:[{key:"fine-tune",label:"模型训练",icon:"fa-cogs",to:"/fine-tune",permission:"fine-tune"},{key:"model-eval",label:"模型评测",icon:"fa-line-chart",to:"/model-eval",permission:"model-eval"},{key:"model-inference",label:"模型推理",icon:"fa-server",to:"/model-inference",permission:"model-inference"},{key:"model-manage",label:"模型管理",icon:"fa-cube",to:"/model-manage",permission:"model-manage"}]},{title:"数据治理",items:[{key:"dataset",label:"数据集管理",icon:"fa-file-text",to:"/dataset",permission:"dataset"},{key:"data-process",label:"数据处理",icon:"fa-filter",to:"/data-process",permission:"data-process"}]},{title:"其他工具",items:[{key:"data-convert",label:"数据类型转换",icon:"fa-exchange",to:"/data-convert",permission:"data-convert"}]},{title:"算力资源",items:[{key:"compute",label:"算力节点",icon:"fa-microchip",to:"/compute",permission:"compute"}]},{title:"系统设置",items:[{key:"user-settings",label:"用户设置",icon:"fa-users",to:"/user-settings",permission:"user-settings"},{key:"hardware",label:"平台性能",icon:"fa-bar-chart",to:"/hardware",permission:"hardware"},{key:"logs",label:"查看日志",icon:"fa-file-text",to:"/logs",permission:"logs"}]}],u=b(()=>T.map(M=>({...M,items:M.items.filter(h=>t.hasPermission(h.permission))})).filter(M=>M.items.length>0)),y=S(c.value);X(c,M=>{y.value=M});async function i(M){const p=u.value.flatMap(s=>s.items).find(s=>s.key===M);if(!p)return;await l.push(p.to)&&(y.value="",await Ce(),y.value=c.value)}function v(){t.logout(),l.push("/login")}return(M,h)=>{const p=Ut,m=jt,s=bt,k=gt,N=fe;return w(),L("aside",Vt,[h[1]||(h[1]=o("div",{class:"sidebar-logo"},[o("img",{src:St,alt:"Logo",class:"sidebar-logo-img"}),o("span",{class:"logo-text"},"远光软件微调平台")],-1)),D(s,{class:"sidebar-nav","wrap-class":"nav-scrollbar-wrap"},{default:$(()=>[D(m,{"default-active":y.value,class:"sidebar-menu","background-color":"transparent","text-color":"var(--sidebar-text)","active-text-color":"var(--sidebar-active-text)",onSelect:i},{default:$(()=>[(w(!0),L(Y,null,Le(u.value,P=>(w(),L(Y,{key:P.title||P.items[0].key},[P.title?(w(),L("div",Ft,z(P.title),1)):ke("",!0),(w(!0),L(Y,null,Le(P.items,O=>(w(),ne(p,{key:O.key,index:O.key},{default:$(()=>[o("i",{class:W(["fa",O.icon])},null,2),o("span",null,z(O.label),1)]),_:2},1032,["index"]))),128))],64))),128))]),_:1},8,["default-active"])]),_:1}),o("div",qt,[g(t).username?(w(),L("div",Gt,[D(k,{size:36,src:"https://picsum.photos/id/1005/36/36",class:"user-avatar"}),o("div",Ht,[o("span",Jt,z(g(t).displayName),1),o("span",Kt,z(g(t).roleLabel),1)]),D(N,{content:"退出登录",placement:"top"},{default:$(()=>[o("div",{class:"logout-btn",onClick:v},[...h[0]||(h[0]=[o("i",{class:"fa fa-sign-out"},null,-1)])])]),_:1})])):ke("",!0)])])}}}),Zt=Ne(Yt,[["__scopeId","data-v-cc00d83d"]]),Ke=pt("system",()=>{const e=S({});let n=null,l=!1;async function t(){if(!(l||document.hidden)){l=!0;try{e.value=await mt()}catch{}finally{l=!1}}}function c(){document.hidden||t()}function T(){n||(t(),n=setInterval(t,3e4),document.addEventListener("visibilitychange",c))}function u(){n&&(clearInterval(n),n=null),document.removeEventListener("visibilitychange",c)}return{metrics:e,fetchMetrics:t,start:T,stop:u}}),Qt={class:"app-header"},Xt={class:"header-left"},en={class:"header-right"},tn={class:"metric-badge"},nn={class:"metric-badge"},sn={class:"metric-badge"},an={class:"system-info"},on={class:"info-item"},ln={class:"info-item"},rn={class:"info-item time-item"},un=V({__name:"AppHeader",setup(e){const n=Ke(),{metrics:l}=ft(n),t=Te(),c=Ve(),T=b(()=>t.path.split("/").filter(Boolean).length>1);function u(m){return m!=null&&m>80?"is-danger":""}const y=S(""),i=S("");let v=null;function M(){const m=new Date;y.value=m.toLocaleTimeString("zh-CN",{hour12:!1}),i.value=m.toLocaleDateString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit"}).replace(/\//g,"-")}function h(){const m=c.resolve({name:"guide"}).href;window.open(m,"_blank","noopener,noreferrer")}const p=S(window.location.hostname);return te(()=>{M(),v=setInterval(M,1e3)}),Fe(()=>{v&&clearInterval(v)}),(m,s)=>{const k=Mt,N=fe;return w(),L("header",Qt,[o("div",Xt,[T.value?(w(),ne(k,{key:0,class:"back-btn",link:"",onClick:s[0]||(s[0]=P=>g(c).back())},{default:$(()=>[...s[2]||(s[2]=[o("div",{class:"back-icon-wrap"},[o("i",{class:"fa fa-arrow-left"})],-1),o("span",{class:"back-text"},"返回上一页",-1)])]),_:1})):ke("",!0)]),o("div",en,[o("div",{class:"metrics-dashboard",onClick:s[1]||(s[1]=P=>g(c).push("/hardware"))},[D(N,{content:"CPU 使用率",placement:"bottom"},{default:$(()=>[o("div",tn,[s[4]||(s[4]=o("i",{class:"fa fa-microchip icon cpu"},null,-1)),o("span",{class:W(["value",u(g(l).cpu_percent)])},[ce(z(g(l).cpu_percent??"--"),1),s[3]||(s[3]=o("small",null,"%",-1))],2)])]),_:1}),D(N,{content:"内存 使用率",placement:"bottom"},{default:$(()=>[o("div",nn,[s[6]||(s[6]=o("i",{class:"fa fa-database icon mem"},null,-1)),o("span",{class:W(["value",u(g(l).memory_percent)])},[ce(z(g(l).memory_percent??"--"),1),s[5]||(s[5]=o("small",null,"%",-1))],2)])]),_:1}),D(N,{content:"磁盘 使用率",placement:"bottom"},{default:$(()=>[o("div",sn,[s[8]||(s[8]=o("i",{class:"fa fa-hdd-o icon disk"},null,-1)),o("span",{class:W(["value",u(g(l).disk_percent)])},[ce(z(g(l).disk_percent??"--"),1),s[7]||(s[7]=o("small",null,"%",-1))],2)])]),_:1})]),s[13]||(s[13]=o("div",{class:"divider"},null,-1)),o("div",an,[o("div",on,[s[9]||(s[9]=o("i",{class:"fa fa-server"},null,-1)),o("span",null,z(p.value),1)]),o("div",ln,[s[10]||(s[10]=o("i",{class:"fa fa-calendar"},null,-1)),o("span",null,z(i.value),1)]),o("div",rn,[s[11]||(s[11]=o("i",{class:"fa fa-clock-o"},null,-1)),o("span",null,z(y.value),1)])]),s[14]||(s[14]=o("div",{class:"divider document-divider"},null,-1)),D(N,{content:"使用文档",placement:"bottom"},{default:$(()=>[o("button",{type:"button",class:"documentation-btn","aria-label":"打开使用文档",onClick:h},[...s[12]||(s[12]=[o("i",{class:"fa fa-book","aria-hidden":"true"},null,-1)])])]),_:1})])])}}}),cn=Ne(un,[["__scopeId","data-v-004b11b7"]]),dn={class:"main-layout"},pn={class:"layout-main"},mn={class:"layout-content"},fn=V({__name:"MainLayout",setup(e){const n=Ke(),l=xt(),t=Te();return te(()=>{n.start(),l.load()}),Fe(()=>{n.stop()}),(c,T)=>{const u=vt("router-view");return w(),L("div",dn,[D(Zt),o("div",pn,[D(cn),o("main",mn,[o("div",{class:W(["page-canvas",{"is-self-surface":g(t).meta.pageSurface==="self"}])},[D(u,null,{default:$(({Component:y})=>[(w(),ne(ht(y)))]),_:1})],2)])])])}}}),Nn=Ne(fn,[["__scopeId","data-v-59b6052e"]]);export{Nn as default}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/MainLayout-DxO92V1w.js diff --git a/frontend/dist/assets/MainLayout-DxO92V1w.js b/frontend/dist/assets/MainLayout-DxO92V1w.js new file mode 100644 index 0000000..520d87d --- /dev/null +++ b/frontend/dist/assets/MainLayout-DxO92V1w.js @@ -0,0 +1 @@ +import{j as b,a as j,d as V,B as de,C as pe,z as Se,D as X,F as Ie,G as te,H as ze,I as E,J as K,E as De,K as Re,L as Ye,M as Y,N as xe,y as S,O as Pe,P as Ce,Q as Ze,b as Ee,i as Q,R as ee,S as Qe,T as Xe,U as We,V as je,W as B,X as ue,o as w,e as ne,w as $,h as F,Y as et,Z as tt,_ as re,$ as nt,a0 as ge,a1 as st,a2 as at,a3 as ot,a4 as lt,a5 as it,a6 as Ue,a7 as rt,a8 as Be,c as L,f as g,q as o,n as W,a9 as ut,x as ce,aa as z,l as ct,ab as we,ac as Te,v as Ve,m as dt,s as D,ad as Le,g as ke,ae as pt,af as mt,ag as ft,ah as Fe,ai as vt,r as ht}from"./index-CxbBjZKo.js";import{E as fe}from"./el-popper-OAwpEmER.js";import{E as bt}from"./el-scrollbar-B0E7ZTt3.js";import{E as gt}from"./el-avatar-C4z1rEZv.js";import{E as _t}from"./index-Bp52mKPt.js";import{T as yt,E as Mt}from"./index-D23K2h6y.js";import{f as It}from"./vnode-DIVHEdsp.js";import{C as kt}from"./index-Bzaib5AU.js";import"./el-tooltip-l0sNRNKZ.js";import{_ as St}from"./logo-CxXS7KxG.js";import{_ as Ne}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{u as xt}from"./models-WwcwjK0u.js";import"./index-DxP0p4ch.js";import"./index-DHcidAHK.js";import"./model-B9dq9fy6.js";const Oe="rootMenu",me="subMenu:";function qe(e,n){const l=b(()=>{let t=e.parent;const c=[n.value];for(;t.type.name!=="ElMenu";)t.props.index&&c.unshift(t.props.index),t=t.parent;return c});return{parentMenu:b(()=>{let t=e.parent;for(;t&&!["ElMenu","ElSubMenu"].includes(t.type.name);)t=t.parent;return t}),indexPath:l}}function Ct(e){return b(()=>{const n=e.backgroundColor;return n?new yt(n).shade(20).toString():""})}const Ge=(e,n)=>{const l=j("menu");return b(()=>l.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":Ct(e).value||"","active-color":e.activeTextColor||"",level:`${n}`}))},Et=Ee({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,popperStyle:{type:ee([String,Object])},disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:Q},expandOpenIcon:{type:Q},collapseCloseIcon:{type:Q},collapseOpenIcon:{type:Q}}),_e="ElSubMenu";var $e=V({name:_e,props:Et,setup(e,{slots:n,expose:l}){const t=xe(),{indexPath:c,parentMenu:T}=qe(t,b(()=>e.index)),u=j("menu"),y=j("sub-menu"),i=de(Oe);i||pe(_e,"can not inject root menu");const v=de(`${me}${T.value.uid}`);v||pe(_e,"can not inject sub menu");const M=S({}),h=S({});let p;const m=S(!1),s=S(),k=S(),N=b(()=>v.level===0),P=b(()=>U.value==="horizontal"&&N.value?"bottom-start":"right-start"),O=b(()=>U.value==="horizontal"&&N.value||U.value==="vertical"&&!i.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?R.value?e.expandOpenIcon:e.expandCloseIcon:Qe:e.collapseCloseIcon&&e.collapseOpenIcon?R.value?e.collapseOpenIcon:e.collapseCloseIcon:Xe),q=b(()=>{const d=e.teleported;return We(d)?N.value:d}),se=b(()=>i.props.collapse?`${u.namespace.value}-zoom-in-left`:`${u.namespace.value}-zoom-in-top`),ve=b(()=>U.value==="horizontal"&&N.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),R=b(()=>i.openedMenus.includes(e.index)),G=b(()=>[...Object.values(M.value),...Object.values(h.value)].some(({active:d})=>d)),U=b(()=>i.props.mode),ae=b(()=>i.props.persistent),H=Se({index:e.index,indexPath:c,active:G}),oe=Ge(i.props,v.level+1),le=b(()=>e.popperOffset??i.props.popperOffset),Z=b(()=>e.popperClass??i.props.popperClass),J=b(()=>e.popperStyle??i.props.popperStyle),ie=b(()=>e.showTimeout??i.props.showTimeout),he=b(()=>e.hideTimeout??i.props.hideTimeout),a=()=>{var d,C,_;return(_=(C=(d=k.value)==null?void 0:d.popperRef)==null?void 0:C.popperInstanceRef)==null?void 0:_.destroy()},r=d=>{d||a()},f=()=>{i.props.menuTrigger==="hover"&&i.props.mode==="horizontal"||i.props.collapse&&i.props.mode==="vertical"||e.disabled||i.handleSubMenuClick({index:e.index,indexPath:c.value,active:G.value})},x=(d,C=ie.value)=>{var _;if(d.type!=="focus"){if(i.props.menuTrigger==="click"&&i.props.mode==="horizontal"||!i.props.collapse&&i.props.mode==="vertical"||e.disabled){v.mouseInChild.value=!0;return}v.mouseInChild.value=!0,p==null||p(),{stop:p}=Pe(()=>{i.openMenu(e.index,c.value)},C),q.value&&((_=T.value.vnode.el)==null||_.dispatchEvent(new MouseEvent("mouseenter"))),d.type==="mouseenter"&&d.target&&Ce(()=>{Ze(d.target,{preventScroll:!0})})}},I=(d=!1)=>{var C;if(i.props.menuTrigger==="click"&&i.props.mode==="horizontal"||!i.props.collapse&&i.props.mode==="vertical"){v.mouseInChild.value=!1;return}p==null||p(),v.mouseInChild.value=!1,{stop:p}=Pe(()=>!m.value&&i.closeMenu(e.index,c.value),he.value),q.value&&d&&((C=v.handleMouseleave)==null||C.call(v,!0))};X(()=>i.props.collapse,d=>r(!!d));{const d=_=>{h.value[_.index]=_},C=_=>{delete h.value[_.index]};Ie(`${me}${t.uid}`,{addSubMenu:d,removeSubMenu:C,handleMouseleave:I,mouseInChild:m,level:v.level+1})}return l({opened:R}),te(()=>{i.addSubMenu(H),v.addSubMenu(H)}),ze(()=>{v.removeSubMenu(H),i.removeSubMenu(H)}),()=>{var _;const d=[(_=n.title)==null?void 0:_.call(n),E(De,{class:y.e("icon-arrow"),style:{transform:R.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&i.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>K(O.value)?E(t.appContext.components[O.value]):E(O.value)})],C=i.isMenuPopup?E(fe,{ref:k,visible:R.value,effect:"light",pure:!0,offset:le.value,showArrow:!1,persistent:ae.value,popperClass:Z.value,popperStyle:J.value,placement:P.value,teleported:q.value,fallbackPlacements:ve.value,transition:se.value,gpuAcceleration:!1},{content:()=>{var A;return E("div",{class:[u.m(U.value),u.m("popup-container"),Z.value],onMouseenter:be=>x(be,100),onMouseleave:()=>I(!0),onFocus:be=>x(be,100)},[E("ul",{class:[u.b(),u.m("popup"),u.m(`popup-${P.value}`)],style:oe.value},[(A=n.default)==null?void 0:A.call(n)])])},default:()=>E("div",{class:y.e("title"),onClick:f},d)}):E(Y,{},[E("div",{class:y.e("title"),ref:s,onClick:f},d),E(_t,{},{default:()=>{var A;return Re(E("ul",{role:"menu",class:[u.b(),u.m("inline")],style:oe.value},[(A=n.default)==null?void 0:A.call(n)]),[[Ye,R.value]])}})]);return E("li",{class:[y.b(),y.is("active",G.value),y.is("opened",R.value),y.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:R.value,onMouseenter:x,onMouseleave:()=>I(),onFocus:x},[C])}}}),wt=class{constructor(e,n){this.parent=e,this.domNode=n,this.subIndex=0,this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(e){e===this.subMenuItems.length?e=0:e<0&&(e=this.subMenuItems.length-1),this.subMenuItems[e].focus(),this.subIndex=e}addListeners(){const e=this.parent.domNode;this.subMenuItems.forEach(n=>{n.addEventListener("keydown",l=>{const t=je(l);let c=!1;switch(t){case B.down:this.gotoSubIndex(this.subIndex+1),c=!0;break;case B.up:this.gotoSubIndex(this.subIndex-1),c=!0;break;case B.tab:ue(e,"mouseleave");break;case B.enter:case B.numpadEnter:case B.space:c=!0,l.currentTarget.click();break}return c&&(l.preventDefault(),l.stopPropagation()),!1})})}},Tt=class{constructor(e,n){this.domNode=e,this.submenu=null,this.init(n)}init(e){this.domNode.setAttribute("tabindex","0");const n=this.domNode.querySelector(`.${e}-menu`);n&&(this.submenu=new wt(this,n)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",e=>{var t,c;const n=je(e);let l=!1;switch(n){case B.down:ue(e.currentTarget,"mouseenter"),(t=this.submenu)==null||t.gotoSubIndex(0),l=!0;break;case B.up:ue(e.currentTarget,"mouseenter"),(c=this.submenu)==null||c.gotoSubIndex(this.submenu.subMenuItems.length-1),l=!0;break;case B.tab:ue(e.currentTarget,"mouseleave");break;case B.enter:case B.numpadEnter:case B.space:l=!0,e.currentTarget.click();break}l&&e.preventDefault()})}},Nt=class{constructor(e,n){this.domNode=e,this.init(n)}init(e){const n=this.domNode.childNodes;Array.from(n).forEach(l=>{l.nodeType===1&&new Tt(l,e)})}},Ot=V({name:"ElMenuCollapseTransition",__name:"menu-collapse-transition",setup(e){const n=j("menu"),l={onBeforeEnter:t=>t.style.opacity="0.2",onEnter(t,c){re(t,`${n.namespace.value}-opacity-transition`),t.style.opacity="1",c()},onAfterEnter(t){ge(t,`${n.namespace.value}-opacity-transition`),t.style.opacity=""},onBeforeLeave(t){t.dataset||(t.dataset={}),nt(t,n.m("collapse"))?(ge(t,n.m("collapse")),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth.toString(),re(t,n.m("collapse"))):(re(t,n.m("collapse")),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth.toString(),ge(t,n.m("collapse"))),t.style.width=`${t.scrollWidth}px`,t.style.overflow="hidden"},onLeave(t){re(t,"horizontal-collapse-transition"),t.style.width=`${t.dataset.scrollWidth}px`}};return(t,c)=>(w(),ne(tt,et({mode:"out-in"},l),{default:$(()=>[F(t.$slots,"default")]),_:3},16))}}),$t=Ot;const Pt=Ee({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:ee(Array),default:()=>it([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:Q,default:()=>lt},popperEffect:{type:ee(String),default:"dark"},popperClass:String,popperStyle:{type:ee([String,Object])},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},persistent:{type:Boolean,default:!0}}),ye=e=>Ue(e)&&e.every(n=>K(n)),Bt={close:(e,n)=>K(e)&&ye(n),open:(e,n)=>K(e)&&ye(n),select:(e,n,l,t)=>K(e)&&ye(n)&&ot(l)&&(We(t)||t instanceof Promise)},Ae=64;var Lt=V({name:"ElMenu",props:Pt,emits:Bt,setup(e,{emit:n,slots:l,expose:t}){const c=xe(),T=c.appContext.config.globalProperties.$router,u=S(),y=S(),i=j("menu"),v=j("sub-menu");let M=Ae;const h=S(-1),p=S(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),m=S(e.defaultActive),s=S({}),k=S({}),N=b(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),P=()=>{const a=m.value&&s.value[m.value];!a||e.mode==="horizontal"||e.collapse||a.indexPath.forEach(r=>{const f=k.value[r];f&&O(r,f.indexPath)})},O=(a,r)=>{p.value.includes(a)||(e.uniqueOpened&&(p.value=p.value.filter(f=>r.includes(f))),p.value.push(a),n("open",a,r))},q=a=>{const r=p.value.indexOf(a);r!==-1&&p.value.splice(r,1)},se=(a,r)=>{q(a),n("close",a,r)},ve=({index:a,indexPath:r})=>{p.value.includes(a)?se(a,r):O(a,r)},R=a=>{(e.mode==="horizontal"||e.collapse)&&(p.value=[]);const{index:r,indexPath:f}=a;if(!(Be(r)||Be(f)))if(e.router&&T){const x=a.route||r,I=T.push(x).then(d=>(d||(m.value=r),d));n("select",r,f,{index:r,indexPath:f,route:x},I)}else m.value=r,n("select",r,f,{index:r,indexPath:f})},G=a=>{var f;const r=s.value;m.value=((f=r[a]||m.value&&r[m.value]||r[e.defaultActive])==null?void 0:f.index)??a},U=a=>{const r=getComputedStyle(a),f=Number.parseInt(r.marginLeft,10),x=Number.parseInt(r.marginRight,10);return a.offsetWidth+f+x||0},ae=()=>{if(!u.value)return-1;const a=Array.from(u.value.childNodes).filter(_=>_.nodeName!=="#comment"&&(_.nodeName!=="#text"||_.nodeValue)),r=getComputedStyle(u.value),f=Number.parseInt(r.paddingLeft,10),x=Number.parseInt(r.paddingRight,10),I=u.value.clientWidth-f-x;let d=0,C=0;return a.forEach((_,A)=>{d+=U(_),d<=I-M&&(C=A+1)}),C===a.length?-1:C},H=a=>k.value[a].indexPath,oe=(a,r=33.34)=>{let f;return()=>{f&&clearTimeout(f),f=setTimeout(()=>{a()},r)}};let le=!0;const Z=()=>{const a=at(y);if(a&&(M=U(a)||Ae),h.value===ae())return;const r=()=>{h.value=-1,Ce(()=>{h.value=ae()})};le?r():oe(r)(),le=!1};X(()=>e.defaultActive,a=>{s.value[a]||(m.value=""),G(a)}),X(()=>e.collapse,a=>{a&&(p.value=[])}),X(s.value,P);let J;st(()=>{e.mode==="horizontal"&&e.ellipsis?J=rt(u,Z).stop:J==null||J()});const ie=S(!1);{const a=I=>{k.value[I.index]=I},r=I=>{delete k.value[I.index]};Ie(Oe,Se({props:e,openedMenus:p,items:s,subMenus:k,activeIndex:m,isMenuPopup:N,addMenuItem:I=>{s.value[I.index]=I},removeMenuItem:I=>{delete s.value[I.index]},addSubMenu:a,removeSubMenu:r,openMenu:O,closeMenu:se,handleMenuItemClick:R,handleSubMenuClick:ve})),Ie(`${me}${c.uid}`,{addSubMenu:a,removeSubMenu:r,mouseInChild:ie,level:0})}te(()=>{e.mode==="horizontal"&&new Nt(c.vnode.el,i.namespace.value)}),t({open:r=>{const{indexPath:f}=k.value[r];f.forEach(x=>O(x,f))},close:q,updateActiveIndex:G,handleResize:Z});const he=Ge(e,0);return()=>{var I;let a=((I=l.default)==null?void 0:I.call(l))??[];const r=[];if(e.mode==="horizontal"&&u.value){const d=It(a).filter(A=>(A==null?void 0:A.shapeFlag)!==8),C=h.value===-1?d:d.slice(0,h.value),_=h.value===-1?[]:d.slice(h.value);_!=null&&_.length&&e.ellipsis&&(a=C,r.push(E($e,{ref:y,index:"sub-menu-more",class:v.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>E(De,{class:v.e("icon-more")},{default:()=>E(e.ellipsisIcon)}),default:()=>_})))}const f=e.closeOnClickOutside?[[kt,()=>{p.value.length&&(ie.value||(p.value.forEach(d=>n("close",d,H(d))),p.value=[]))}]]:[],x=Re(E("ul",{key:String(e.collapse),role:"menubar",ref:u,style:he.value,class:{[i.b()]:!0,[i.m(e.mode)]:!0,[i.m("collapse")]:e.collapse}},[...a,...r]),f);return e.collapseTransition&&e.mode==="vertical"?E($t,()=>x):x}}});const At=Ee({index:{type:String,required:!0},route:{type:ee([String,Object])},disabled:Boolean}),zt={click:e=>K(e.index)&&Ue(e.indexPath)},Dt={title:String},Me="ElMenuItem";var Rt=V({name:Me,__name:"menu-item",props:At,emits:zt,setup(e,{expose:n,emit:l}){const t=e,c=l,T=xe(),u=de(Oe),y=j("menu"),i=j("menu-item");u||pe(Me,"can not inject root menu");const{parentMenu:v,indexPath:M}=qe(T,ut(t,"index")),h=de(`${me}${v.value.uid}`);h||pe(Me,"can not inject sub menu");const p=b(()=>t.index===u.activeIndex),m=Se({index:t.index,indexPath:M,active:p}),s=()=>{t.disabled||(u.handleMenuItemClick({index:t.index,indexPath:M.value,route:t.route}),c("click",m))};return te(()=>{h.addSubMenu(m),u.addMenuItem(m)}),ze(()=>{h.removeSubMenu(m),u.removeMenuItem(m)}),n({parentMenu:v,rootMenu:u,active:p,nsMenu:y,nsMenuItem:i,handleClick:s}),(k,N)=>(w(),L("li",{class:W([g(i).b(),g(i).is("active",p.value),g(i).is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:s},[g(v).type.name==="ElMenu"&&g(u).props.collapse&&k.$slots.title?(w(),ne(g(fe),{key:0,effect:g(u).props.popperEffect,placement:"right","fallback-placements":["left"],"popper-class":g(u).props.popperClass,"popper-style":g(u).props.popperStyle,persistent:g(u).props.persistent,"focus-on-target":""},{content:$(()=>[F(k.$slots,"title")]),default:$(()=>[o("div",{class:W(g(y).be("tooltip","trigger"))},[F(k.$slots,"default")],2)]),_:3},8,["effect","popper-class","popper-style","persistent"])):(w(),L(Y,{key:1},[F(k.$slots,"default"),F(k.$slots,"title")],64))],2))}}),He=Rt,Wt=V({name:"ElMenuItemGroup",__name:"menu-item-group",props:Dt,setup(e){const n=j("menu-item-group");return(l,t)=>(w(),L("li",{class:W(g(n).b())},[o("div",{class:W(g(n).e("title"))},[l.$slots.title?F(l.$slots,"title",{key:1}):(w(),L(Y,{key:0},[ce(z(e.title),1)],64))],2),o("ul",null,[F(l.$slots,"default")])],2))}}),Je=Wt;const jt=ct(Lt,{MenuItem:He,MenuItemGroup:Je,SubMenu:$e}),Ut=we(He);we(Je);we($e);const Vt={class:"app-sidebar"},Ft={key:0,class:"sidebar-section-title"},qt={class:"sidebar-footer"},Gt={key:0,class:"footer-user"},Ht={class:"user-info"},Jt={class:"user-name"},Kt={class:"user-role"},Yt=V({__name:"AppSidebar",setup(e){const n=Te(),l=Ve(),t=dt(),c=b(()=>{const M=n.path.split("/")[1]||"dashboard";return M==="training-log"?"fine-tune":n.path.includes("model-eval/dimension")?"model-eval":n.path.startsWith("/model-compare/chat")?"model-inference":n.path==="/model-manage/merge"||n.path.match(/^\/model-manage\/\d+\/edit/)?"model-manage":n.path.match(/^\/dataset\/(\d+)/)?"dataset":n.path.match(/^\/tools\/[^/]+\/edit/)?"tools":M}),T=[{showTitle:!1,items:[{key:"dashboard",label:"服务看板",icon:"fa-tachometer",to:"/dashboard",permission:"dashboard"}]},{title:"模型服务",items:[{key:"fine-tune",label:"模型训练",icon:"fa-cogs",to:"/fine-tune",permission:"fine-tune"},{key:"model-eval",label:"模型评测",icon:"fa-line-chart",to:"/model-eval",permission:"model-eval"},{key:"model-inference",label:"模型推理",icon:"fa-server",to:"/model-inference",permission:"model-inference"},{key:"model-manage",label:"模型管理",icon:"fa-cube",to:"/model-manage",permission:"model-manage"}]},{title:"数据治理",items:[{key:"dataset",label:"数据集管理",icon:"fa-file-text",to:"/dataset",permission:"dataset"},{key:"data-process",label:"数据处理",icon:"fa-filter",to:"/data-process",permission:"data-process"}]},{title:"其他工具",items:[{key:"data-convert",label:"数据类型转换",icon:"fa-exchange",to:"/data-convert",permission:"data-convert"}]},{title:"算力资源",items:[{key:"compute",label:"算力节点",icon:"fa-microchip",to:"/compute",permission:"compute"}]},{title:"系统设置",items:[{key:"user-settings",label:"用户设置",icon:"fa-users",to:"/user-settings",permission:"user-settings"},{key:"hardware",label:"平台性能",icon:"fa-bar-chart",to:"/hardware",permission:"hardware"},{key:"logs",label:"查看日志",icon:"fa-file-text",to:"/logs",permission:"logs"}]}],u=b(()=>T.map(M=>({...M,items:M.items.filter(h=>t.hasPermission(h.permission))})).filter(M=>M.items.length>0)),y=S(c.value);X(c,M=>{y.value=M});async function i(M){const p=u.value.flatMap(s=>s.items).find(s=>s.key===M);if(!p)return;await l.push(p.to)&&(y.value="",await Ce(),y.value=c.value)}function v(){t.logout(),l.push("/login")}return(M,h)=>{const p=Ut,m=jt,s=bt,k=gt,N=fe;return w(),L("aside",Vt,[h[1]||(h[1]=o("div",{class:"sidebar-logo"},[o("img",{src:St,alt:"Logo",class:"sidebar-logo-img"}),o("span",{class:"logo-text"},"远光软件微调平台")],-1)),D(s,{class:"sidebar-nav","wrap-class":"nav-scrollbar-wrap"},{default:$(()=>[D(m,{"default-active":y.value,class:"sidebar-menu","background-color":"transparent","text-color":"var(--sidebar-text)","active-text-color":"var(--sidebar-active-text)",onSelect:i},{default:$(()=>[(w(!0),L(Y,null,Le(u.value,P=>(w(),L(Y,{key:P.title||P.items[0].key},[P.title?(w(),L("div",Ft,z(P.title),1)):ke("",!0),(w(!0),L(Y,null,Le(P.items,O=>(w(),ne(p,{key:O.key,index:O.key},{default:$(()=>[o("i",{class:W(["fa",O.icon])},null,2),o("span",null,z(O.label),1)]),_:2},1032,["index"]))),128))],64))),128))]),_:1},8,["default-active"])]),_:1}),o("div",qt,[g(t).username?(w(),L("div",Gt,[D(k,{size:36,src:"https://picsum.photos/id/1005/36/36",class:"user-avatar"}),o("div",Ht,[o("span",Jt,z(g(t).displayName),1),o("span",Kt,z(g(t).roleLabel),1)]),D(N,{content:"退出登录",placement:"top"},{default:$(()=>[o("div",{class:"logout-btn",onClick:v},[...h[0]||(h[0]=[o("i",{class:"fa fa-sign-out"},null,-1)])])]),_:1})])):ke("",!0)])])}}}),Zt=Ne(Yt,[["__scopeId","data-v-cc00d83d"]]),Ke=pt("system",()=>{const e=S({});let n=null,l=!1;async function t(){if(!(l||document.hidden)){l=!0;try{e.value=await mt()}catch{}finally{l=!1}}}function c(){document.hidden||t()}function T(){n||(t(),n=setInterval(t,3e4),document.addEventListener("visibilitychange",c))}function u(){n&&(clearInterval(n),n=null),document.removeEventListener("visibilitychange",c)}return{metrics:e,fetchMetrics:t,start:T,stop:u}}),Qt={class:"app-header"},Xt={class:"header-left"},en={class:"header-right"},tn={class:"metric-badge"},nn={class:"metric-badge"},sn={class:"metric-badge"},an={class:"system-info"},on={class:"info-item"},ln={class:"info-item"},rn={class:"info-item time-item"},un=V({__name:"AppHeader",setup(e){const n=Ke(),{metrics:l}=ft(n),t=Te(),c=Ve(),T=b(()=>t.path.split("/").filter(Boolean).length>1);function u(m){return m!=null&&m>80?"is-danger":""}const y=S(""),i=S("");let v=null;function M(){const m=new Date;y.value=m.toLocaleTimeString("zh-CN",{hour12:!1}),i.value=m.toLocaleDateString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit"}).replace(/\//g,"-")}function h(){const m=c.resolve({name:"guide"}).href;window.open(m,"_blank","noopener,noreferrer")}const p=S(window.location.hostname);return te(()=>{M(),v=setInterval(M,1e3)}),Fe(()=>{v&&clearInterval(v)}),(m,s)=>{const k=Mt,N=fe;return w(),L("header",Qt,[o("div",Xt,[T.value?(w(),ne(k,{key:0,class:"back-btn",link:"",onClick:s[0]||(s[0]=P=>g(c).back())},{default:$(()=>[...s[2]||(s[2]=[o("div",{class:"back-icon-wrap"},[o("i",{class:"fa fa-arrow-left"})],-1),o("span",{class:"back-text"},"返回上一页",-1)])]),_:1})):ke("",!0)]),o("div",en,[o("div",{class:"metrics-dashboard",onClick:s[1]||(s[1]=P=>g(c).push("/hardware"))},[D(N,{content:"CPU 使用率",placement:"bottom"},{default:$(()=>[o("div",tn,[s[4]||(s[4]=o("i",{class:"fa fa-microchip icon cpu"},null,-1)),o("span",{class:W(["value",u(g(l).cpu_percent)])},[ce(z(g(l).cpu_percent??"--"),1),s[3]||(s[3]=o("small",null,"%",-1))],2)])]),_:1}),D(N,{content:"内存 使用率",placement:"bottom"},{default:$(()=>[o("div",nn,[s[6]||(s[6]=o("i",{class:"fa fa-database icon mem"},null,-1)),o("span",{class:W(["value",u(g(l).memory_percent)])},[ce(z(g(l).memory_percent??"--"),1),s[5]||(s[5]=o("small",null,"%",-1))],2)])]),_:1}),D(N,{content:"磁盘 使用率",placement:"bottom"},{default:$(()=>[o("div",sn,[s[8]||(s[8]=o("i",{class:"fa fa-hdd-o icon disk"},null,-1)),o("span",{class:W(["value",u(g(l).disk_percent)])},[ce(z(g(l).disk_percent??"--"),1),s[7]||(s[7]=o("small",null,"%",-1))],2)])]),_:1})]),s[13]||(s[13]=o("div",{class:"divider"},null,-1)),o("div",an,[o("div",on,[s[9]||(s[9]=o("i",{class:"fa fa-server"},null,-1)),o("span",null,z(p.value),1)]),o("div",ln,[s[10]||(s[10]=o("i",{class:"fa fa-calendar"},null,-1)),o("span",null,z(i.value),1)]),o("div",rn,[s[11]||(s[11]=o("i",{class:"fa fa-clock-o"},null,-1)),o("span",null,z(y.value),1)])]),s[14]||(s[14]=o("div",{class:"divider document-divider"},null,-1)),D(N,{content:"使用文档",placement:"bottom"},{default:$(()=>[o("button",{type:"button",class:"documentation-btn","aria-label":"打开使用文档",onClick:h},[...s[12]||(s[12]=[o("i",{class:"fa fa-book","aria-hidden":"true"},null,-1)])])]),_:1})])])}}}),cn=Ne(un,[["__scopeId","data-v-004b11b7"]]),dn={class:"main-layout"},pn={class:"layout-main"},mn={class:"layout-content"},fn=V({__name:"MainLayout",setup(e){const n=Ke(),l=xt(),t=Te();return te(()=>{n.start(),l.load()}),Fe(()=>{n.stop()}),(c,T)=>{const u=vt("router-view");return w(),L("div",dn,[D(Zt),o("div",pn,[D(cn),o("main",mn,[o("div",{class:W(["page-canvas",{"is-self-surface":g(t).meta.pageSurface==="self"}])},[D(u,null,{default:$(({Component:y})=>[(w(),ne(ht(y)))]),_:1})],2)])])])}}}),Nn=Ne(fn,[["__scopeId","data-v-59b6052e"]]);export{Nn as default}; diff --git a/frontend/dist/assets/MarkdownView.vue_vue_type_style_index_0_lang-BKsnCmpO.js b/frontend/dist/assets/MarkdownView.vue_vue_type_style_index_0_lang-BKsnCmpO.js new file mode 100644 index 0000000..2eaa0ef --- /dev/null +++ b/frontend/dist/assets/MarkdownView.vue_vue_type_style_index_0_lang-BKsnCmpO.js @@ -0,0 +1,58 @@ +var xr=Object.defineProperty;var wr=(t,e,n)=>e in t?xr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var S=(t,e,n)=>wr(t,typeof e!="symbol"?e+"":e,n);import{d as yr,o as Sr,c as Ar,j as Er}from"./index-CxbBjZKo.js";function Lt(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var fe=Lt();function Dn(t){fe=t}var Pe={exec:()=>null};function w(t,e=""){let n=typeof t=="string"?t:t.source;const i={replace:(s,o)=>{let u=typeof o=="string"?o:o.source;return u=u.replace(G.caret,"$1"),n=n.replace(s,u),i},getRegex:()=>new RegExp(n,e)};return i}var G={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},Rr=/^(?:[ \t]*(?:\n|$))+/,Ir=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Lr=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Me=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Or=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Ot=/(?:[*+-]|\d{1,9}[.)])/,vn=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Pn=w(vn).replace(/bull/g,Ot).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Nr=w(vn).replace(/bull/g,Ot).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Nt=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Cr=/^[^\n]+/,Ct=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Dr=w(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Ct).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),vr=w(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Ot).getRegex(),Qe="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Dt=/|$))/,Pr=w("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Dt).replace("tag",Qe).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Mn=w(Nt).replace("hr",Me).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Qe).getRegex(),Mr=w(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Mn).getRegex(),vt={blockquote:Mr,code:Ir,def:Dr,fences:Lr,heading:Or,hr:Me,html:Pr,lheading:Pn,list:vr,newline:Rr,paragraph:Mn,table:Pe,text:Cr},dn=w("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Me).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Qe).getRegex(),zr={...vt,lheading:Nr,table:dn,paragraph:w(Nt).replace("hr",Me).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",dn).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Qe).getRegex()},$r={...vt,html:w(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Dt).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Pe,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:w(Nt).replace("hr",Me).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",Pn).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Ur=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Fr=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,zn=/^( {2,}|\\)\n(?!\s*$)/,Br=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,Fn=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,qr=w(Fn,"u").replace(/punct/g,Ke).getRegex(),Yr=w(Fn,"u").replace(/punct/g,Un).getRegex(),Bn="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Zr=w(Bn,"gu").replace(/notPunctSpace/g,$n).replace(/punctSpace/g,Pt).replace(/punct/g,Ke).getRegex(),Xr=w(Bn,"gu").replace(/notPunctSpace/g,Wr).replace(/punctSpace/g,Gr).replace(/punct/g,Un).getRegex(),Vr=w("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,$n).replace(/punctSpace/g,Pt).replace(/punct/g,Ke).getRegex(),Qr=w(/\\(punct)/,"gu").replace(/punct/g,Ke).getRegex(),Kr=w(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Jr=w(Dt).replace("(?:-->|$)","-->").getRegex(),ei=w("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",Jr).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ze=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,ti=w(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Ze).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Hn=w(/^!?\[(label)\]\[(ref)\]/).replace("label",Ze).replace("ref",Ct).getRegex(),Gn=w(/^!?\[(ref)\](?:\[\])?/).replace("ref",Ct).getRegex(),ni=w("reflink|nolink(?!\\()","g").replace("reflink",Hn).replace("nolink",Gn).getRegex(),Mt={_backpedal:Pe,anyPunctuation:Qr,autolink:Kr,blockSkip:jr,br:zn,code:Fr,del:Pe,emStrongLDelim:qr,emStrongRDelimAst:Zr,emStrongRDelimUnd:Vr,escape:Ur,link:ti,nolink:Gn,punctuation:Hr,reflink:Hn,reflinkSearch:ni,tag:ei,text:Br,url:Pe},ri={...Mt,link:w(/^!?\[(label)\]\((.*?)\)/).replace("label",Ze).getRegex(),reflink:w(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ze).getRegex()},St={...Mt,emStrongRDelimAst:Xr,emStrongLDelim:Yr,url:w(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},gn=t=>si[t];function Q(t,e){if(e){if(G.escapeTest.test(t))return t.replace(G.escapeReplace,gn)}else if(G.escapeTestNoEncode.test(t))return t.replace(G.escapeReplaceNoEncode,gn);return t}function mn(t){try{t=encodeURI(t).replace(G.percentDecode,"%")}catch{return null}return t}function bn(t,e){var o;const n=t.replace(G.findPipe,(u,l,h)=>{let c=!1,p=l;for(;--p>=0&&h[p]==="\\";)c=!c;return c?"|":" |"}),i=n.split(G.splitPipe);let s=0;if(i[0].trim()||i.shift(),i.length>0&&!((o=i.at(-1))!=null&&o.trim())&&i.pop(),e)if(i.length>e)i.splice(e);else for(;i.length0?-2:-1}function Tn(t,e,n,i,s){const o=e.href,u=e.title||null,l=t[1].replace(s.other.outputLinkReplace,"$1");i.state.inLink=!0;const h={type:t[0].charAt(0)==="!"?"image":"link",raw:n,href:o,title:u,text:l,tokens:i.inlineTokens(l)};return i.state.inLink=!1,h}function ai(t,e,n){const i=t.match(n.other.indentCodeCompensation);if(i===null)return e;const s=i[1];return e.split(` +`).map(o=>{const u=o.match(n.other.beginningSpace);if(u===null)return o;const[l]=u;return l.length>=s.length?o.slice(s.length):o}).join(` +`)}var Xe=class{constructor(t){S(this,"options");S(this,"rules");S(this,"lexer");this.options=t||fe}space(t){const e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){const e=this.rules.block.code.exec(t);if(e){const n=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Oe(n,` +`)}}}fences(t){const e=this.rules.block.fences.exec(t);if(e){const n=e[0],i=ai(n,e[3]||"",this.rules);return{type:"code",raw:n,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:i}}}heading(t){const e=this.rules.block.heading.exec(t);if(e){let n=e[2].trim();if(this.rules.other.endingHash.test(n)){const i=Oe(n,"#");(this.options.pedantic||!i||this.rules.other.endingSpaceChar.test(i))&&(n=i.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(t){const e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:Oe(e[0],` +`)}}blockquote(t){const e=this.rules.block.blockquote.exec(t);if(e){let n=Oe(e[0],` +`).split(` +`),i="",s="";const o=[];for(;n.length>0;){let u=!1;const l=[];let h;for(h=0;h1,s={type:"list",raw:"",ordered:i,start:i?+n.slice(0,-1):"",loose:!1,items:[]};n=i?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=i?n:"[*+-]");const o=this.rules.other.listItemRegex(n);let u=!1;for(;t;){let h=!1,c="",p="";if(!(e=o.exec(t))||this.rules.block.hr.test(t))break;c=e[0],t=t.substring(c.length);let x=e[2].split(` +`,1)[0].replace(this.rules.other.listReplaceTabs,J=>" ".repeat(3*J.length)),g=t.split(` +`,1)[0],C=!x.trim(),_=0;if(this.options.pedantic?(_=2,p=x.trimStart()):C?_=e[1].length+1:(_=e[2].search(this.rules.other.nonSpaceChar),_=_>4?1:_,p=x.slice(_),_+=e[1].length),C&&this.rules.other.blankLine.test(g)&&(c+=g+` +`,t=t.substring(g.length+1),h=!0),!h){const J=this.rules.other.nextBulletRegex(_),ye=this.rules.other.hrRegex(_),de=this.rules.other.fencesBeginRegex(_),F=this.rules.other.headingBeginRegex(_),Y=this.rules.other.htmlBeginRegex(_);for(;t;){const D=t.split(` +`,1)[0];let W;if(g=D,this.options.pedantic?(g=g.replace(this.rules.other.listReplaceNesting," "),W=g):W=g.replace(this.rules.other.tabCharGlobal," "),de.test(g)||F.test(g)||Y.test(g)||J.test(g)||ye.test(g))break;if(W.search(this.rules.other.nonSpaceChar)>=_||!g.trim())p+=` +`+W.slice(_);else{if(C||x.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||de.test(x)||F.test(x)||ye.test(x))break;p+=` +`+g}!C&&!g.trim()&&(C=!0),c+=D+` +`,t=t.substring(D.length+1),x=W.slice(_)}}s.loose||(u?s.loose=!0:this.rules.other.doubleBlankLine.test(c)&&(u=!0));let U=null,re;this.options.gfm&&(U=this.rules.other.listIsTask.exec(p),U&&(re=U[0]!=="[ ] ",p=p.replace(this.rules.other.listReplaceTask,""))),s.items.push({type:"list_item",raw:c,task:!!U,checked:re,loose:!1,text:p,tokens:[]}),s.raw+=c}const l=s.items.at(-1);if(l)l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd();else return;s.raw=s.raw.trimEnd();for(let h=0;hx.type==="space"),p=c.length>0&&c.some(x=>this.rules.other.anyLine.test(x.raw));s.loose=p}if(s.loose)for(let h=0;h({text:h,tokens:this.lexer.inline(h),header:!1,align:o.align[c]})));return o}}lheading(t){const e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){const e=this.rules.block.paragraph.exec(t);if(e){const n=e[1].charAt(e[1].length-1)===` +`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:n,tokens:this.lexer.inline(n)}}}text(t){const e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){const e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(t){const e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){const e=this.rules.inline.link.exec(t);if(e){const n=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;const o=Oe(n.slice(0,-1),"\\");if((n.length-o.length)%2===0)return}else{const o=oi(e[2],"()");if(o===-2)return;if(o>-1){const l=(e[0].indexOf("!")===0?5:4)+e[1].length+o;e[2]=e[2].substring(0,o),e[0]=e[0].substring(0,l).trim(),e[3]=""}}let i=e[2],s="";if(this.options.pedantic){const o=this.rules.other.pedanticHrefTitle.exec(i);o&&(i=o[1],s=o[3])}else s=e[3]?e[3].slice(1,-1):"";return i=i.trim(),this.rules.other.startAngleBracket.test(i)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?i=i.slice(1):i=i.slice(1,-1)),Tn(e,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:s&&s.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(t,e){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){const i=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),s=e[i.toLowerCase()];if(!s){const o=n[0].charAt(0);return{type:"text",raw:o,text:o}}return Tn(n,s,n[0],this.lexer,this.rules)}}emStrong(t,e,n=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(!i||i[3]&&n.match(this.rules.other.unicodeAlphaNumeric))return;if(!(i[1]||i[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const o=[...i[0]].length-1;let u,l,h=o,c=0;const p=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(p.lastIndex=0,e=e.slice(-1*t.length+o);(i=p.exec(e))!=null;){if(u=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!u)continue;if(l=[...u].length,i[3]||i[4]){h+=l;continue}else if((i[5]||i[6])&&o%3&&!((o+l)%3)){c+=l;continue}if(h-=l,h>0)continue;l=Math.min(l,l+h+c);const x=[...i[0]][0].length,g=t.slice(0,o+i.index+x+l);if(Math.min(o,l)%2){const _=g.slice(1,-1);return{type:"em",raw:g,text:_,tokens:this.lexer.inlineTokens(_)}}const C=g.slice(2,-2);return{type:"strong",raw:g,text:C,tokens:this.lexer.inlineTokens(C)}}}}codespan(t){const e=this.rules.inline.code.exec(t);if(e){let n=e[2].replace(this.rules.other.newLineCharGlobal," ");const i=this.rules.other.nonSpaceChar.test(n),s=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return i&&s&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:e[0],text:n}}}br(t){const e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){const e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t){const e=this.rules.inline.autolink.exec(t);if(e){let n,i;return e[2]==="@"?(n=e[1],i="mailto:"+n):(n=e[1],i=n),{type:"link",raw:e[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}}}url(t){var n;let e;if(e=this.rules.inline.url.exec(t)){let i,s;if(e[2]==="@")i=e[0],s="mailto:"+i;else{let o;do o=e[0],e[0]=((n=this.rules.inline._backpedal.exec(e[0]))==null?void 0:n[0])??"";while(o!==e[0]);i=e[0],e[1]==="www."?s="http://"+e[0]:s=e[0]}return{type:"link",raw:e[0],text:i,href:s,tokens:[{type:"text",raw:i,text:i}]}}}inlineText(t){const e=this.rules.inline.text.exec(t);if(e){const n=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:n}}}},te=class At{constructor(e){S(this,"tokens");S(this,"options");S(this,"state");S(this,"tokenizer");S(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=e||fe,this.options.tokenizer=this.options.tokenizer||new Xe,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={other:G,block:je.normal,inline:Le.normal};this.options.pedantic?(n.block=je.pedantic,n.inline=Le.pedantic):this.options.gfm&&(n.block=je.gfm,this.options.breaks?n.inline=Le.breaks:n.inline=Le.gfm),this.tokenizer.rules=n}static get rules(){return{block:je,inline:Le}}static lex(e,n){return new At(n).lex(e)}static lexInline(e,n){return new At(n).inlineTokens(e)}lex(e){e=e.replace(G.carriageReturn,` +`),this.blockTokens(e,this.tokens);for(let n=0;n(l=c.call({lexer:this},e,n))?(e=e.substring(l.raw.length),n.push(l),!0):!1))continue;if(l=this.tokenizer.space(e)){e=e.substring(l.raw.length);const c=n.at(-1);l.raw.length===1&&c!==void 0?c.raw+=` +`:n.push(l);continue}if(l=this.tokenizer.code(e)){e=e.substring(l.raw.length);const c=n.at(-1);(c==null?void 0:c.type)==="paragraph"||(c==null?void 0:c.type)==="text"?(c.raw+=` +`+l.raw,c.text+=` +`+l.text,this.inlineQueue.at(-1).src=c.text):n.push(l);continue}if(l=this.tokenizer.fences(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.heading(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.hr(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.blockquote(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.list(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.html(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.def(e)){e=e.substring(l.raw.length);const c=n.at(-1);(c==null?void 0:c.type)==="paragraph"||(c==null?void 0:c.type)==="text"?(c.raw+=` +`+l.raw,c.text+=` +`+l.raw,this.inlineQueue.at(-1).src=c.text):this.tokens.links[l.tag]||(this.tokens.links[l.tag]={href:l.href,title:l.title});continue}if(l=this.tokenizer.table(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.lheading(e)){e=e.substring(l.raw.length),n.push(l);continue}let h=e;if((u=this.options.extensions)!=null&&u.startBlock){let c=1/0;const p=e.slice(1);let x;this.options.extensions.startBlock.forEach(g=>{x=g.call({lexer:this},p),typeof x=="number"&&x>=0&&(c=Math.min(c,x))}),c<1/0&&c>=0&&(h=e.substring(0,c+1))}if(this.state.top&&(l=this.tokenizer.paragraph(h))){const c=n.at(-1);i&&(c==null?void 0:c.type)==="paragraph"?(c.raw+=` +`+l.raw,c.text+=` +`+l.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=c.text):n.push(l),i=h.length!==e.length,e=e.substring(l.raw.length);continue}if(l=this.tokenizer.text(e)){e=e.substring(l.raw.length);const c=n.at(-1);(c==null?void 0:c.type)==="text"?(c.raw+=` +`+l.raw,c.text+=` +`+l.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=c.text):n.push(l);continue}if(e){const c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return this.state.top=!0,n}inline(e,n=[]){return this.inlineQueue.push({src:e,tokens:n}),n}inlineTokens(e,n=[]){var l,h,c;let i=e,s=null;if(this.tokens.links){const p=Object.keys(this.tokens.links);if(p.length>0)for(;(s=this.tokenizer.rules.inline.reflinkSearch.exec(i))!=null;)p.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(i=i.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(s=this.tokenizer.rules.inline.anyPunctuation.exec(i))!=null;)i=i.slice(0,s.index)+"++"+i.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(s=this.tokenizer.rules.inline.blockSkip.exec(i))!=null;)i=i.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);let o=!1,u="";for(;e;){o||(u=""),o=!1;let p;if((h=(l=this.options.extensions)==null?void 0:l.inline)!=null&&h.some(g=>(p=g.call({lexer:this},e,n))?(e=e.substring(p.raw.length),n.push(p),!0):!1))continue;if(p=this.tokenizer.escape(e)){e=e.substring(p.raw.length),n.push(p);continue}if(p=this.tokenizer.tag(e)){e=e.substring(p.raw.length),n.push(p);continue}if(p=this.tokenizer.link(e)){e=e.substring(p.raw.length),n.push(p);continue}if(p=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(p.raw.length);const g=n.at(-1);p.type==="text"&&(g==null?void 0:g.type)==="text"?(g.raw+=p.raw,g.text+=p.text):n.push(p);continue}if(p=this.tokenizer.emStrong(e,i,u)){e=e.substring(p.raw.length),n.push(p);continue}if(p=this.tokenizer.codespan(e)){e=e.substring(p.raw.length),n.push(p);continue}if(p=this.tokenizer.br(e)){e=e.substring(p.raw.length),n.push(p);continue}if(p=this.tokenizer.del(e)){e=e.substring(p.raw.length),n.push(p);continue}if(p=this.tokenizer.autolink(e)){e=e.substring(p.raw.length),n.push(p);continue}if(!this.state.inLink&&(p=this.tokenizer.url(e))){e=e.substring(p.raw.length),n.push(p);continue}let x=e;if((c=this.options.extensions)!=null&&c.startInline){let g=1/0;const C=e.slice(1);let _;this.options.extensions.startInline.forEach(U=>{_=U.call({lexer:this},C),typeof _=="number"&&_>=0&&(g=Math.min(g,_))}),g<1/0&&g>=0&&(x=e.substring(0,g+1))}if(p=this.tokenizer.inlineText(x)){e=e.substring(p.raw.length),p.raw.slice(-1)!=="_"&&(u=p.raw.slice(-1)),o=!0;const g=n.at(-1);(g==null?void 0:g.type)==="text"?(g.raw+=p.raw,g.text+=p.text):n.push(p);continue}if(e){const g="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(g);break}else throw new Error(g)}}return n}},Ve=class{constructor(t){S(this,"options");S(this,"parser");this.options=t||fe}space(t){return""}code({text:t,lang:e,escaped:n}){var o;const i=(o=(e||"").match(G.notSpaceStart))==null?void 0:o[0],s=t.replace(G.endingNewline,"")+` +`;return i?'
'+(n?s:Q(s,!0))+`
+`:"
"+(n?s:Q(s,!0))+`
+`}blockquote({tokens:t}){return`
+${this.parser.parse(t)}
+`}html({text:t}){return t}heading({tokens:t,depth:e}){return`${this.parser.parseInline(t)} +`}hr(t){return`
+`}list(t){const e=t.ordered,n=t.start;let i="";for(let u=0;u +`+i+" +`}listitem(t){var n;let e="";if(t.task){const i=this.checkbox({checked:!!t.checked});t.loose?((n=t.tokens[0])==null?void 0:n.type)==="paragraph"?(t.tokens[0].text=i+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=i+" "+Q(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:i+" ",text:i+" ",escaped:!0}):e+=i+" "}return e+=this.parser.parse(t.tokens,!!t.loose),`
  • ${e}
  • +`}checkbox({checked:t}){return"'}paragraph({tokens:t}){return`

    ${this.parser.parseInline(t)}

    +`}table(t){let e="",n="";for(let s=0;s${i}`),` + +`+e+` +`+i+`
    +`}tablerow({text:t}){return` +${t} +`}tablecell(t){const e=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+` +`}strong({tokens:t}){return`${this.parser.parseInline(t)}`}em({tokens:t}){return`${this.parser.parseInline(t)}`}codespan({text:t}){return`${Q(t,!0)}`}br(t){return"
    "}del({tokens:t}){return`${this.parser.parseInline(t)}`}link({href:t,title:e,tokens:n}){const i=this.parser.parseInline(n),s=mn(t);if(s===null)return i;t=s;let o='
    ",o}image({href:t,title:e,text:n,tokens:i}){i&&(n=this.parser.parseInline(i,this.parser.textRenderer));const s=mn(t);if(s===null)return Q(n);t=s;let o=`${n}{const h=u[l].flat(1/0);n=n.concat(this.walkTokens(h,e))}):u.tokens&&(n=n.concat(this.walkTokens(u.tokens,e)))}}return n}use(...t){const e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(n=>{const i={...n};if(i.async=this.defaults.async||i.async||!1,n.extensions&&(n.extensions.forEach(s=>{if(!s.name)throw new Error("extension name required");if("renderer"in s){const o=e.renderers[s.name];o?e.renderers[s.name]=function(...u){let l=s.renderer.apply(this,u);return l===!1&&(l=o.apply(this,u)),l}:e.renderers[s.name]=s.renderer}if("tokenizer"in s){if(!s.level||s.level!=="block"&&s.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const o=e[s.level];o?o.unshift(s.tokenizer):e[s.level]=[s.tokenizer],s.start&&(s.level==="block"?e.startBlock?e.startBlock.push(s.start):e.startBlock=[s.start]:s.level==="inline"&&(e.startInline?e.startInline.push(s.start):e.startInline=[s.start]))}"childTokens"in s&&s.childTokens&&(e.childTokens[s.name]=s.childTokens)}),i.extensions=e),n.renderer){const s=this.defaults.renderer||new Ve(this.defaults);for(const o in n.renderer){if(!(o in s))throw new Error(`renderer '${o}' does not exist`);if(["options","parser"].includes(o))continue;const u=o,l=n.renderer[u],h=s[u];s[u]=(...c)=>{let p=l.apply(s,c);return p===!1&&(p=h.apply(s,c)),p||""}}i.renderer=s}if(n.tokenizer){const s=this.defaults.tokenizer||new Xe(this.defaults);for(const o in n.tokenizer){if(!(o in s))throw new Error(`tokenizer '${o}' does not exist`);if(["options","rules","lexer"].includes(o))continue;const u=o,l=n.tokenizer[u],h=s[u];s[u]=(...c)=>{let p=l.apply(s,c);return p===!1&&(p=h.apply(s,c)),p}}i.tokenizer=s}if(n.hooks){const s=this.defaults.hooks||new Ye;for(const o in n.hooks){if(!(o in s))throw new Error(`hook '${o}' does not exist`);if(["options","block"].includes(o))continue;const u=o,l=n.hooks[u],h=s[u];Ye.passThroughHooks.has(o)?s[u]=c=>{if(this.defaults.async)return Promise.resolve(l.call(s,c)).then(x=>h.call(s,x));const p=l.call(s,c);return h.call(s,p)}:s[u]=(...c)=>{let p=l.apply(s,c);return p===!1&&(p=h.apply(s,c)),p}}i.hooks=s}if(n.walkTokens){const s=this.defaults.walkTokens,o=n.walkTokens;i.walkTokens=function(u){let l=[];return l.push(o.call(this,u)),s&&(l=l.concat(s.call(this,u))),l}}this.defaults={...this.defaults,...i}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return te.lex(t,e??this.defaults)}parser(t,e){return ne.parse(t,e??this.defaults)}parseMarkdown(t){return(n,i)=>{const s={...i},o={...this.defaults,...s},u=this.onError(!!o.silent,!!o.async);if(this.defaults.async===!0&&s.async===!1)return u(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof n>"u"||n===null)return u(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return u(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));o.hooks&&(o.hooks.options=o,o.hooks.block=t);const l=o.hooks?o.hooks.provideLexer():t?te.lex:te.lexInline,h=o.hooks?o.hooks.provideParser():t?ne.parse:ne.parseInline;if(o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(n):n).then(c=>l(c,o)).then(c=>o.hooks?o.hooks.processAllTokens(c):c).then(c=>o.walkTokens?Promise.all(this.walkTokens(c,o.walkTokens)).then(()=>c):c).then(c=>h(c,o)).then(c=>o.hooks?o.hooks.postprocess(c):c).catch(u);try{o.hooks&&(n=o.hooks.preprocess(n));let c=l(n,o);o.hooks&&(c=o.hooks.processAllTokens(c)),o.walkTokens&&this.walkTokens(c,o.walkTokens);let p=h(c,o);return o.hooks&&(p=o.hooks.postprocess(p)),p}catch(c){return u(c)}}}onError(t,e){return n=>{if(n.message+=` +Please report this to https://github.com/markedjs/marked.`,t){const i="

    An error occurred:

    "+Q(n.message+"",!0)+"
    ";return e?Promise.resolve(i):i}if(e)return Promise.reject(n);throw n}}},he=new li;function y(t,e){return he.parse(t,e)}y.options=y.setOptions=function(t){return he.setOptions(t),y.defaults=he.defaults,Dn(y.defaults),y};y.getDefaults=Lt;y.defaults=fe;y.use=function(...t){return he.use(...t),y.defaults=he.defaults,Dn(y.defaults),y};y.walkTokens=function(t,e){return he.walkTokens(t,e)};y.parseInline=he.parseInline;y.Parser=ne;y.parser=ne.parse;y.Renderer=Ve;y.TextRenderer=zt;y.Lexer=te;y.lexer=te.lex;y.Tokenizer=Xe;y.Hooks=Ye;y.parse=y;y.options;y.setOptions;y.use;y.walkTokens;y.parseInline;ne.parse;te.lex;/*! @license DOMPurify 3.4.11 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.11/LICENSE */function kn(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n2?i-2:0),o=2;o1?n-1:0),s=1;s"u"?null:N(BigInt.prototype.toString),An=typeof Symbol>"u"?null:N(Symbol.prototype.toString),P=N(Object.prototype.hasOwnProperty),De=N(Object.prototype.toString),M=N(RegExp.prototype.test),pe=wi(TypeError);function N(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s2&&arguments[2]!==void 0?arguments[2]:ve;if(_n&&_n(t,null),!le(e))return t;let i=e.length;for(;i--;){let s=e[i];if(typeof s=="string"){const o=n(s);o!==s&&(di(e)||(e[i]=o),s=o)}t[s]=!0}return t}function yi(t){for(let e=0;e/g),Oi=$(/\${[\w\W]*/g),Ni=$(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ci=$(/^aria-[\-\w]+$/),On=$(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Di=$(/^(?:\w+script|data):/i),vi=$(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Pi=$(/^html$/i),Mi=$(/^[a-z][.\w]*(-[.\w]+)+$/i),Nn=$(/<[/\w!]/g),zi=$(/<[/\w]/g),$i=$(/<\/no(script|embed|frames)/i),Ui=$(/\/>/i),V={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Fi=function(){return typeof window>"u"?null:window},Bi=function(e,n){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let i=null;const s="data-tt-policy-suffix";n&&n.hasAttribute(s)&&(i=n.getAttribute(s));const o="dompurify"+(i?"#"+i:"");try{return e.createPolicy(o,{createHTML(u){return u},createScriptURL(u){return u}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}},Cn=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},ae=function(e,n,i,s){return P(e,n)&&le(e[n])?T(s.base?H(s.base):{},e[n],s.transform):i};function qn(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Fi();const e=d=>qn(d);if(e.version="3.4.11",e.removed=[],!t||!t.document||t.document.nodeType!==V.document||!t.Element)return e.isSupported=!1,e;let n=t.document;const i=n,s=i.currentScript;t.DocumentFragment;const o=t.HTMLTemplateElement,u=t.Node,l=t.Element,h=t.NodeFilter,c=t.NamedNodeMap;c===void 0&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const p=t.DOMParser,x=t.trustedTypes,g=l.prototype,C=K(g,"cloneNode"),_=K(g,"remove"),U=K(g,"nextSibling"),re=K(g,"childNodes"),J=K(g,"parentNode"),ye=K(g,"shadowRoot"),de=K(g,"attributes"),F=u&&u.prototype?K(u.prototype,"nodeType"):null,Y=u&&u.prototype?K(u.prototype,"nodeName"):null;if(typeof o=="function"){const d=n.createElement("template");d.content&&d.content.ownerDocument&&(n=d.content.ownerDocument)}let D,W="",Je,$t=!1,Se=0;const Ut=function(){if(Se>0)throw pe('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},ge=function(r){Ut(),Se++;try{return D.createHTML(r)}finally{Se--}},Yn=function(r){Ut(),Se++;try{return D.createScriptURL(r)}finally{Se--}},Zn=function(){return $t||(Je=Bi(x,s),$t=!0),Je},ze=n,et=ze.implementation,Ft=ze.createNodeIterator,Xn=ze.createDocumentFragment,Vn=ze.getElementsByTagName,Qn=i.importNode;let L=Cn();e.isSupported=typeof Wn=="function"&&typeof J=="function"&&et&&et.createHTMLDocument!==void 0;const Kn=Ii,Jn=Li,er=Oi,tr=Ni,nr=Ci,rr=Di,Bt=vi,ir=Mi;let Ht=On,A=null;const Gt=T({},[...En,...kt,..._t,...xt,...Rn]);let E=null;const Wt=T({},[...In,...wt,...Ln,...qe]);let R=Object.seal(we(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ae=null,jt=null;const ie=Object.seal(we(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let qt=!0,tt=!0,Yt=!1,Zt=!0,se=!1,Ee=!0,ce=!1,nt=!1,rt=null,it=null,st=!1,me=!1,$e=!1,Ue=!1,Xt=!0,Vt=!1;const Qt="user-content-";let ot=!0,at=!1,be={},Z=null;const lt=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Kt=null;const Jt=T({},["audio","video","img","source","image","track"]);let ct=null;const en=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Fe="http://www.w3.org/1998/Math/MathML",Be="http://www.w3.org/2000/svg",X="http://www.w3.org/1999/xhtml";let Te=X,ut=!1,pt=null;const sr=T({},[Fe,Be,X],Tt),tn=z(["mi","mo","mn","ms","mtext"]);let ht=T({},tn);const nn=z(["annotation-xml"]);let ft=T({},nn);const or=T({},["title","style","font","a","script"]);let Re=null;const ar=["application/xhtml+xml","text/html"],lr="text/html";let I=null,ke=null;const cr=n.createElement("form"),rn=function(r){return r instanceof RegExp||r instanceof Function},dt=function(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ke&&ke===r)return;(!r||typeof r!="object")&&(r={}),r=H(r),Re=ar.indexOf(r.PARSER_MEDIA_TYPE)===-1?lr:r.PARSER_MEDIA_TYPE,I=Re==="application/xhtml+xml"?Tt:ve,A=ae(r,"ALLOWED_TAGS",Gt,{transform:I}),E=ae(r,"ALLOWED_ATTR",Wt,{transform:I}),pt=ae(r,"ALLOWED_NAMESPACES",sr,{transform:Tt}),ct=ae(r,"ADD_URI_SAFE_ATTR",en,{transform:I,base:en}),Kt=ae(r,"ADD_DATA_URI_TAGS",Jt,{transform:I,base:Jt}),Z=ae(r,"FORBID_CONTENTS",lt,{transform:I}),Ae=ae(r,"FORBID_TAGS",H({}),{transform:I}),jt=ae(r,"FORBID_ATTR",H({}),{transform:I}),be=P(r,"USE_PROFILES")?r.USE_PROFILES&&typeof r.USE_PROFILES=="object"?H(r.USE_PROFILES):r.USE_PROFILES:!1,qt=r.ALLOW_ARIA_ATTR!==!1,tt=r.ALLOW_DATA_ATTR!==!1,Yt=r.ALLOW_UNKNOWN_PROTOCOLS||!1,Zt=r.ALLOW_SELF_CLOSE_IN_ATTR!==!1,se=r.SAFE_FOR_TEMPLATES||!1,Ee=r.SAFE_FOR_XML!==!1,ce=r.WHOLE_DOCUMENT||!1,me=r.RETURN_DOM||!1,$e=r.RETURN_DOM_FRAGMENT||!1,Ue=r.RETURN_TRUSTED_TYPE||!1,st=r.FORCE_BODY||!1,Xt=r.SANITIZE_DOM!==!1,Vt=r.SANITIZE_NAMED_PROPS||!1,ot=r.KEEP_CONTENT!==!1,at=r.IN_PLACE||!1,Ht=Ai(r.ALLOWED_URI_REGEXP)?r.ALLOWED_URI_REGEXP:On,Te=typeof r.NAMESPACE=="string"?r.NAMESPACE:X,ht=P(r,"MATHML_TEXT_INTEGRATION_POINTS")&&r.MATHML_TEXT_INTEGRATION_POINTS&&typeof r.MATHML_TEXT_INTEGRATION_POINTS=="object"?H(r.MATHML_TEXT_INTEGRATION_POINTS):T({},tn),ft=P(r,"HTML_INTEGRATION_POINTS")&&r.HTML_INTEGRATION_POINTS&&typeof r.HTML_INTEGRATION_POINTS=="object"?H(r.HTML_INTEGRATION_POINTS):T({},nn);const a=P(r,"CUSTOM_ELEMENT_HANDLING")&&r.CUSTOM_ELEMENT_HANDLING&&typeof r.CUSTOM_ELEMENT_HANDLING=="object"?H(r.CUSTOM_ELEMENT_HANDLING):we(null);if(R=we(null),P(a,"tagNameCheck")&&rn(a.tagNameCheck)&&(R.tagNameCheck=a.tagNameCheck),P(a,"attributeNameCheck")&&rn(a.attributeNameCheck)&&(R.attributeNameCheck=a.attributeNameCheck),P(a,"allowCustomizedBuiltInElements")&&typeof a.allowCustomizedBuiltInElements=="boolean"&&(R.allowCustomizedBuiltInElements=a.allowCustomizedBuiltInElements),$(R),se&&(tt=!1),$e&&(me=!0),be&&(A=T({},Rn),E=we(null),be.html===!0&&(T(A,En),T(E,In)),be.svg===!0&&(T(A,kt),T(E,wt),T(E,qe)),be.svgFilters===!0&&(T(A,_t),T(E,wt),T(E,qe)),be.mathMl===!0&&(T(A,xt),T(E,Ln),T(E,qe))),ie.tagCheck=null,ie.attributeCheck=null,P(r,"ADD_TAGS")&&(typeof r.ADD_TAGS=="function"?ie.tagCheck=r.ADD_TAGS:le(r.ADD_TAGS)&&(A===Gt&&(A=H(A)),T(A,r.ADD_TAGS,I))),P(r,"ADD_ATTR")&&(typeof r.ADD_ATTR=="function"?ie.attributeCheck=r.ADD_ATTR:le(r.ADD_ATTR)&&(E===Wt&&(E=H(E)),T(E,r.ADD_ATTR,I))),P(r,"ADD_URI_SAFE_ATTR")&&le(r.ADD_URI_SAFE_ATTR)&&T(ct,r.ADD_URI_SAFE_ATTR,I),P(r,"FORBID_CONTENTS")&&le(r.FORBID_CONTENTS)&&(Z===lt&&(Z=H(Z)),T(Z,r.FORBID_CONTENTS,I)),P(r,"ADD_FORBID_CONTENTS")&&le(r.ADD_FORBID_CONTENTS)&&(Z===lt&&(Z=H(Z)),T(Z,r.ADD_FORBID_CONTENTS,I)),ot&&(A["#text"]=!0),ce&&T(A,["html","head","body"]),A.table&&(T(A,["tbody"]),delete Ae.tbody),r.TRUSTED_TYPES_POLICY){if(typeof r.TRUSTED_TYPES_POLICY.createHTML!="function")throw pe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof r.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw pe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const f=D;D=r.TRUSTED_TYPES_POLICY;try{W=ge("")}catch(m){throw D=f,m}}else r.TRUSTED_TYPES_POLICY===null?(D=void 0,W=""):(D===void 0&&(D=Zn()),D&&typeof W=="string"&&(W=ge("")));z&&z(r),ke=r},sn=T({},[...kt,..._t,...Ei]),on=T({},[...xt,...Ri]),ur=function(r,a,f){return a.namespaceURI===X?r==="svg":a.namespaceURI===Fe?r==="svg"&&(f==="annotation-xml"||ht[f]):!!sn[r]},pr=function(r,a,f){return a.namespaceURI===X?r==="math":a.namespaceURI===Be?r==="math"&&ft[f]:!!on[r]},hr=function(r,a,f){return a.namespaceURI===Be&&!ft[f]||a.namespaceURI===Fe&&!ht[f]?!1:!on[r]&&(or[r]||!sn[r])},fr=function(r){let a=J(r);(!a||!a.tagName)&&(a={namespaceURI:Te,tagName:"template"});const f=ve(r.tagName),m=ve(a.tagName);return pt[r.namespaceURI]?r.namespaceURI===Be?ur(f,a,m):r.namespaceURI===Fe?pr(f,a,m):r.namespaceURI===X?hr(f,a,m):!!(Re==="application/xhtml+xml"&&pt[r.namespaceURI]):!1},oe=function(r){xe(e.removed,{element:r});try{J(r).removeChild(r)}catch{if(_(r),!J(r))throw pe("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},an=function(r){const a=re(r);if(a){const m=[];Ne(a,b=>{xe(m,b)}),Ne(m,b=>{try{_(b)}catch{}})}const f=de(r);if(f)for(let m=f.length-1;m>=0;--m){const b=f[m],k=b&&b.name;if(typeof k=="string")try{r.removeAttribute(k)}catch{}}},ue=function(r,a){try{xe(e.removed,{attribute:a.getAttributeNode(r),from:a})}catch{xe(e.removed,{attribute:null,from:a})}if(a.removeAttribute(r),r==="is")if(me||$e)try{oe(a)}catch{}else try{a.setAttribute(r,"")}catch{}},dr=function(r){const a=de(r);if(a)for(let f=a.length-1;f>=0;--f){const m=a[f],b=m&&m.name;if(!(typeof b!="string"||E[I(b)]))try{r.removeAttribute(b)}catch{}}},gr=function(r){const a=[r];for(;a.length>0;){const f=a.pop();(F?F(f):f.nodeType)===V.element&&dr(f);const b=re(f);if(b)for(let k=b.length-1;k>=0;--k)a.push(b[k])}},ln=function(r){let a=null,f=null;if(st)r=""+r;else{const k=wn(r,/^[\r\n\t ]+/);f=k&&k[0]}Re==="application/xhtml+xml"&&Te===X&&(r=''+r+"");const m=D?ge(r):r;if(Te===X)try{a=new p().parseFromString(m,Re)}catch{}if(!a||!a.documentElement){a=et.createDocument(Te,"template",null);try{a.documentElement.innerHTML=ut?W:m}catch{}}const b=a.body||a.documentElement;return r&&f&&b.insertBefore(n.createTextNode(f),b.childNodes[0]||null),Te===X?Vn.call(a,ce?"html":"body")[0]:ce?a.documentElement:b},cn=function(r){return Ft.call(r.ownerDocument||r,r,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT|h.SHOW_PROCESSING_INSTRUCTION|h.SHOW_CDATA_SECTION,null)},He=function(r){return r=Ce(r,Kn," "),r=Ce(r,Jn," "),r=Ce(r,er," "),r},gt=function(r){var a;r.normalize();const f=Ft.call(r.ownerDocument||r,r,h.SHOW_TEXT|h.SHOW_COMMENT|h.SHOW_CDATA_SECTION|h.SHOW_PROCESSING_INSTRUCTION,null);let m=f.nextNode();for(;m;)m.data=He(m.data),m=f.nextNode();const b=(a=r.querySelectorAll)===null||a===void 0?void 0:a.call(r,"template");b&&Ne(b,k=>{_e(k.content)&>(k.content)})},Ge=function(r){const a=Y?Y(r):null;return typeof a!="string"||I(a)!=="form"?!1:typeof r.nodeName!="string"||typeof r.textContent!="string"||typeof r.removeChild!="function"||r.attributes!==de(r)||typeof r.removeAttribute!="function"||typeof r.setAttribute!="function"||typeof r.namespaceURI!="string"||typeof r.insertBefore!="function"||typeof r.hasChildNodes!="function"||r.nodeType!==F(r)||r.childNodes!==re(r)},_e=function(r){if(!F||typeof r!="object"||r===null)return!1;try{return F(r)===V.documentFragment}catch{return!1}},Ie=function(r){if(!F||typeof r!="object"||r===null)return!1;try{return typeof F(r)=="number"}catch{return!1}};function ee(d,r,a){d.length!==0&&Ne(d,f=>{f.call(e,r,a,ke)})}const mr=function(r,a){return!!(Ee&&r.hasChildNodes()&&!Ie(r.firstElementChild)&&M(Nn,r.textContent)&&M(Nn,r.innerHTML)||Ee&&r.namespaceURI===X&&a==="style"&&Ie(r.firstElementChild)||r.nodeType===V.processingInstruction||Ee&&r.nodeType===V.comment&&M(zi,r.data))},br=function(r,a){if(!Ae[a]&&hn(a)&&(R.tagNameCheck instanceof RegExp&&M(R.tagNameCheck,a)||R.tagNameCheck instanceof Function&&R.tagNameCheck(a)))return!1;if(ot&&!Z[a]){const f=J(r),m=re(r);if(m&&f){const b=m.length;for(let k=b-1;k>=0;--k){const v=at?m[k]:C(m[k],!0);f.insertBefore(v,U(r))}}}return oe(r),!0},un=function(r){if(ee(L.beforeSanitizeElements,r,null),Ge(r))return oe(r),!0;const a=I(Y?Y(r):r.nodeName);if(ee(L.uponSanitizeElement,r,{tagName:a,allowedTags:A}),mr(r,a))return oe(r),!0;if(Ae[a]||!(ie.tagCheck instanceof Function&&ie.tagCheck(a))&&!A[a])return br(r,a);if((F?F(r):r.nodeType)===V.element&&!fr(r)||(a==="noscript"||a==="noembed"||a==="noframes")&&M($i,r.innerHTML))return oe(r),!0;if(se&&r.nodeType===V.text){const m=He(r.textContent);r.textContent!==m&&(xe(e.removed,{element:r.cloneNode()}),r.textContent=m)}return ee(L.afterSanitizeElements,r,null),!1},pn=function(r,a,f){if(jt[a]||Xt&&(a==="id"||a==="name")&&(f in n||f in cr))return!1;const m=E[a]||ie.attributeCheck instanceof Function&&ie.attributeCheck(a,r);if(!(tt&&M(tr,a))){if(!(qt&&M(nr,a))){if(m){if(!ct[a]){if(!M(Ht,Ce(f,Bt,""))){if(!((a==="src"||a==="xlink:href"||a==="href")&&r!=="script"&&yn(f,"data:")===0&&Kt[r])){if(!(Yt&&!M(rr,Ce(f,Bt,"")))){if(f)return!1}}}}}else if(!(hn(r)&&(R.tagNameCheck instanceof RegExp&&M(R.tagNameCheck,r)||R.tagNameCheck instanceof Function&&R.tagNameCheck(r))&&(R.attributeNameCheck instanceof RegExp&&M(R.attributeNameCheck,a)||R.attributeNameCheck instanceof Function&&R.attributeNameCheck(a,r))||a==="is"&&R.allowCustomizedBuiltInElements&&(R.tagNameCheck instanceof RegExp&&M(R.tagNameCheck,f)||R.tagNameCheck instanceof Function&&R.tagNameCheck(f))))return!1}}return!0},Tr=T({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),hn=function(r){return!Tr[ve(r)]&&M(ir,r)},kr=function(r,a,f,m){if(D&&typeof x=="object"&&typeof x.getAttributeType=="function"&&!f)switch(x.getAttributeType(r,a)){case"TrustedHTML":return ge(m);case"TrustedScriptURL":return Yn(m)}return m},_r=function(r,a,f,m){try{f?r.setAttributeNS(f,a,m):r.setAttribute(a,m),Ge(r)?oe(r):xn(e.removed)}catch{ue(a,r)}},fn=function(r){ee(L.beforeSanitizeAttributes,r,null);const a=r.attributes;if(!a||Ge(r))return;const f={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:E,forceKeepAttr:void 0};let m=a.length;const b=I(r.nodeName);for(;m--;){const k=a[m],v=k.name,O=k.namespaceURI,j=k.value,q=I(v),bt=j;let B=v==="value"?bt:ki(bt);if(f.attrName=q,f.attrValue=B,f.keepAttr=!0,f.forceKeepAttr=void 0,ee(L.uponSanitizeAttribute,r,f),B=f.attrValue,Vt&&(q==="id"||q==="name")&&yn(B,Qt)!==0&&(ue(v,r),B=Qt+B),Ee&&M(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,B)){ue(v,r);continue}if(q==="attributename"&&wn(B,"href")){ue(v,r);continue}if(!f.forceKeepAttr){if(!f.keepAttr){ue(v,r);continue}if(!Zt&&M(Ui,B)){ue(v,r);continue}if(se&&(B=He(B)),!pn(b,q,B)){ue(v,r);continue}B=kr(b,q,O,B),B!==bt&&_r(r,v,O,B)}}ee(L.afterSanitizeAttributes,r,null)},We=function(r){let a=null;const f=cn(r);for(ee(L.beforeSanitizeShadowDOM,r,null);a=f.nextNode();)if(ee(L.uponSanitizeShadowNode,a,null),un(a),fn(a),_e(a.content)&&We(a.content),(F?F(a):a.nodeType)===V.element){const b=ye(a);_e(b)&&(mt(b),We(b))}ee(L.afterSanitizeShadowDOM,r,null)},mt=function(r){const a=[{node:r,shadow:null}];for(;a.length>0;){const f=a.pop();if(f.shadow){We(f.shadow);continue}const m=f.node,k=(F?F(m):m.nodeType)===V.element,v=re(m);if(v)for(let O=v.length-1;O>=0;--O)a.push({node:v[O],shadow:null});if(k){const O=Y?Y(m):null;if(typeof O=="string"&&I(O)==="template"){const j=m.content;_e(j)&&a.push({node:j,shadow:null})}}if(k){const O=ye(m);_e(O)&&a.push({node:null,shadow:O},{node:O,shadow:null})}}};return e.sanitize=function(d){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=null,f=null,m=null,b=null;if(ut=!d,ut&&(d=""),typeof d!="string"&&!Ie(d)&&(d=Si(d),typeof d!="string"))throw pe("dirty is not a string, aborting");if(!e.isSupported)return d;nt?(A=rt,E=it):dt(r),(L.uponSanitizeElement.length>0||L.uponSanitizeAttribute.length>0)&&(A=H(A)),L.uponSanitizeAttribute.length>0&&(E=H(E)),e.removed=[];const k=at&&typeof d!="string"&&Ie(d);if(k){const j=Y?Y(d):d.nodeName;if(typeof j=="string"){const q=I(j);if(!A[q]||Ae[q])throw pe("root node is forbidden and cannot be sanitized in-place")}if(Ge(d))throw pe("root node is clobbered and cannot be sanitized in-place");try{mt(d)}catch(q){throw an(d),q}}else if(Ie(d))a=ln(""),f=a.ownerDocument.importNode(d,!0),f.nodeType===V.element&&f.nodeName==="BODY"||f.nodeName==="HTML"?a=f:a.appendChild(f),mt(f);else{if(!me&&!se&&!ce&&d.indexOf("<")===-1)return D&&Ue?ge(d):d;if(a=ln(d),!a)return me?null:Ue?W:""}a&&st&&oe(a.firstChild);const v=cn(k?d:a);try{for(;m=v.nextNode();)un(m),fn(m),_e(m.content)&&We(m.content)}catch(j){throw k&&an(d),j}if(k)return Ne(e.removed,j=>{j.element&&gr(j.element)}),se&>(d),d;if(me){if(se&>(a),$e)for(b=Xn.call(a.ownerDocument);a.firstChild;)b.appendChild(a.firstChild);else b=a;return(E.shadowroot||E.shadowrootmode)&&(b=Qn.call(i,b,!0)),b}let O=ce?a.outerHTML:a.innerHTML;return ce&&A["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&M(Pi,a.ownerDocument.doctype.name)&&(O=" +`+O),se&&(O=He(O)),D&&Ue?ge(O):O},e.setConfig=function(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};dt(d),nt=!0,rt=A,it=E},e.clearConfig=function(){ke=null,nt=!1,rt=null,it=null,D=Je,W=""},e.isValidAttribute=function(d,r,a){ke||dt({});const f=I(d),m=I(r);return pn(f,m,a)},e.addHook=function(d,r){typeof r=="function"&&P(L,d)&&xe(L[d],r)},e.removeHook=function(d,r){if(P(L,d)){if(r!==void 0){const a=bi(L[d],r);return a===-1?void 0:Ti(L[d],a,1)[0]}return xn(L[d])}},e.removeHooks=function(d){P(L,d)&&(L[d]=[])},e.removeAllHooks=function(){L=Cn()},e}var Hi=qn();const Gi=["innerHTML"],qi=yr({__name:"MarkdownView",props:{content:{}},setup(t){const e=t,n=Er(()=>{if(!e.content)return"";try{const i=y.parse(e.content,{async:!1});return Hi.sanitize(i)}catch{return e.content}});return(i,s)=>(Sr(),Ar("div",{class:"markdown-view",innerHTML:n.value},null,8,Gi))}});export{qi as _}; diff --git a/frontend/dist/assets/MarkdownView.vue_vue_type_style_index_0_lang-Cz6hZilm.js b/frontend/dist/assets/MarkdownView.vue_vue_type_style_index_0_lang-Cz6hZilm.js index fd94e28..70098da 100644 --- a/frontend/dist/assets/MarkdownView.vue_vue_type_style_index_0_lang-Cz6hZilm.js +++ b/frontend/dist/assets/MarkdownView.vue_vue_type_style_index_0_lang-Cz6hZilm.js @@ -1,4 +1,10 @@ +<<<<<<<< HEAD:frontend/dist/assets/MarkdownView.vue_vue_type_style_index_0_lang-Cz6hZilm.js var xr=Object.defineProperty;var wr=(t,e,n)=>e in t?xr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var S=(t,e,n)=>wr(t,typeof e!="symbol"?e+"":e,n);import{d as yr,o as Sr,c as Ar,j as Er}from"./index-CD29OCdJ.js";function Lt(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var fe=Lt();function Dn(t){fe=t}var Pe={exec:()=>null};function w(t,e=""){let n=typeof t=="string"?t:t.source;const i={replace:(s,o)=>{let u=typeof o=="string"?o:o.source;return u=u.replace(G.caret,"$1"),n=n.replace(s,u),i},getRegex:()=>new RegExp(n,e)};return i}var G={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^
    /i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},Rr=/^(?:[ \t]*(?:\n|$))+/,Ir=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Lr=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Me=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Or=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Ot=/(?:[*+-]|\d{1,9}[.)])/,vn=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Pn=w(vn).replace(/bull/g,Ot).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Nr=w(vn).replace(/bull/g,Ot).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Nt=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Cr=/^[^\n]+/,Ct=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Dr=w(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Ct).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),vr=w(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Ot).getRegex(),Qe="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Dt=/|$))/,Pr=w("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Dt).replace("tag",Qe).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Mn=w(Nt).replace("hr",Me).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Qe).getRegex(),Mr=w(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Mn).getRegex(),vt={blockquote:Mr,code:Ir,def:Dr,fences:Lr,heading:Or,hr:Me,html:Pr,lheading:Pn,list:vr,newline:Rr,paragraph:Mn,table:Pe,text:Cr},dn=w("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Me).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Qe).getRegex(),zr={...vt,lheading:Nr,table:dn,paragraph:w(Nt).replace("hr",Me).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",dn).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Qe).getRegex()},$r={...vt,html:w(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Dt).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Pe,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:w(Nt).replace("hr",Me).replace("heading",` *#{1,6} *[^ +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/MarkdownView.vue_vue_type_style_index_0_lang-CNORZ6uG.js +var xr=Object.defineProperty;var wr=(t,e,n)=>e in t?xr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var S=(t,e,n)=>wr(t,typeof e!="symbol"?e+"":e,n);import{d as yr,o as Sr,c as Ar,j as Er}from"./index-Ds9AETjS.js";function Lt(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var fe=Lt();function Dn(t){fe=t}var Pe={exec:()=>null};function w(t,e=""){let n=typeof t=="string"?t:t.source;const i={replace:(s,o)=>{let u=typeof o=="string"?o:o.source;return u=u.replace(G.caret,"$1"),n=n.replace(s,u),i},getRegex:()=>new RegExp(n,e)};return i}var G={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},Rr=/^(?:[ \t]*(?:\n|$))+/,Ir=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Lr=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Me=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Or=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Ot=/(?:[*+-]|\d{1,9}[.)])/,vn=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Pn=w(vn).replace(/bull/g,Ot).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Nr=w(vn).replace(/bull/g,Ot).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Nt=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Cr=/^[^\n]+/,Ct=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Dr=w(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Ct).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),vr=w(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Ot).getRegex(),Qe="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Dt=/|$))/,Pr=w("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Dt).replace("tag",Qe).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Mn=w(Nt).replace("hr",Me).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Qe).getRegex(),Mr=w(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Mn).getRegex(),vt={blockquote:Mr,code:Ir,def:Dr,fences:Lr,heading:Or,hr:Me,html:Pr,lheading:Pn,list:vr,newline:Rr,paragraph:Mn,table:Pe,text:Cr},dn=w("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Me).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Qe).getRegex(),zr={...vt,lheading:Nr,table:dn,paragraph:w(Nt).replace("hr",Me).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",dn).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Qe).getRegex()},$r={...vt,html:w(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Dt).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Pe,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:w(Nt).replace("hr",Me).replace("heading",` *#{1,6} *[^ +======== +var xr=Object.defineProperty;var wr=(t,e,n)=>e in t?xr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var S=(t,e,n)=>wr(t,typeof e!="symbol"?e+"":e,n);import{d as yr,o as Sr,c as Ar,j as Er}from"./index-CxbBjZKo.js";function Lt(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var fe=Lt();function Dn(t){fe=t}var Pe={exec:()=>null};function w(t,e=""){let n=typeof t=="string"?t:t.source;const i={replace:(s,o)=>{let u=typeof o=="string"?o:o.source;return u=u.replace(G.caret,"$1"),n=n.replace(s,u),i},getRegex:()=>new RegExp(n,e)};return i}var G={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},Rr=/^(?:[ \t]*(?:\n|$))+/,Ir=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Lr=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Me=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Or=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Ot=/(?:[*+-]|\d{1,9}[.)])/,vn=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Pn=w(vn).replace(/bull/g,Ot).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Nr=w(vn).replace(/bull/g,Ot).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Nt=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Cr=/^[^\n]+/,Ct=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Dr=w(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Ct).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),vr=w(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Ot).getRegex(),Qe="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Dt=/|$))/,Pr=w("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Dt).replace("tag",Qe).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Mn=w(Nt).replace("hr",Me).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Qe).getRegex(),Mr=w(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Mn).getRegex(),vt={blockquote:Mr,code:Ir,def:Dr,fences:Lr,heading:Or,hr:Me,html:Pr,lheading:Pn,list:vr,newline:Rr,paragraph:Mn,table:Pe,text:Cr},dn=w("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Me).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Qe).getRegex(),zr={...vt,lheading:Nr,table:dn,paragraph:w(Nt).replace("hr",Me).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",dn).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Qe).getRegex()},$r={...vt,html:w(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Dt).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Pe,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:w(Nt).replace("hr",Me).replace("heading",` *#{1,6} *[^ +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/MarkdownView.vue_vue_type_style_index_0_lang-BKsnCmpO.js ]`).replace("lheading",Pn).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Ur=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Fr=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,zn=/^( {2,}|\\)\n(?!\s*$)/,Br=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,Fn=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,qr=w(Fn,"u").replace(/punct/g,Ke).getRegex(),Yr=w(Fn,"u").replace(/punct/g,Un).getRegex(),Bn="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Zr=w(Bn,"gu").replace(/notPunctSpace/g,$n).replace(/punctSpace/g,Pt).replace(/punct/g,Ke).getRegex(),Xr=w(Bn,"gu").replace(/notPunctSpace/g,Wr).replace(/punctSpace/g,Gr).replace(/punct/g,Un).getRegex(),Vr=w("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,$n).replace(/punctSpace/g,Pt).replace(/punct/g,Ke).getRegex(),Qr=w(/\\(punct)/,"gu").replace(/punct/g,Ke).getRegex(),Kr=w(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Jr=w(Dt).replace("(?:-->|$)","-->").getRegex(),ei=w("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",Jr).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ze=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,ti=w(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Ze).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Hn=w(/^!?\[(label)\]\[(ref)\]/).replace("label",Ze).replace("ref",Ct).getRegex(),Gn=w(/^!?\[(ref)\](?:\[\])?/).replace("ref",Ct).getRegex(),ni=w("reflink|nolink(?!\\()","g").replace("reflink",Hn).replace("nolink",Gn).getRegex(),Mt={_backpedal:Pe,anyPunctuation:Qr,autolink:Kr,blockSkip:jr,br:zn,code:Fr,del:Pe,emStrongLDelim:qr,emStrongRDelimAst:Zr,emStrongRDelimUnd:Vr,escape:Ur,link:ti,nolink:Gn,punctuation:Hr,reflink:Hn,reflinkSearch:ni,tag:ei,text:Br,url:Pe},ri={...Mt,link:w(/^!?\[(label)\]\((.*?)\)/).replace("label",Ze).getRegex(),reflink:w(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ze).getRegex()},St={...Mt,emStrongRDelimAst:Xr,emStrongLDelim:Yr,url:w(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},gn=t=>si[t];function Q(t,e){if(e){if(G.escapeTest.test(t))return t.replace(G.escapeReplace,gn)}else if(G.escapeTestNoEncode.test(t))return t.replace(G.escapeReplaceNoEncode,gn);return t}function mn(t){try{t=encodeURI(t).replace(G.percentDecode,"%")}catch{return null}return t}function bn(t,e){var o;const n=t.replace(G.findPipe,(u,l,h)=>{let c=!1,p=l;for(;--p>=0&&h[p]==="\\";)c=!c;return c?"|":" |"}),i=n.split(G.splitPipe);let s=0;if(i[0].trim()||i.shift(),i.length>0&&!((o=i.at(-1))!=null&&o.trim())&&i.pop(),e)if(i.length>e)i.splice(e);else for(;i.length0?-2:-1}function Tn(t,e,n,i,s){const o=e.href,u=e.title||null,l=t[1].replace(s.other.outputLinkReplace,"$1");i.state.inLink=!0;const h={type:t[0].charAt(0)==="!"?"image":"link",raw:n,href:o,title:u,text:l,tokens:i.inlineTokens(l)};return i.state.inLink=!1,h}function ai(t,e,n){const i=t.match(n.other.indentCodeCompensation);if(i===null)return e;const s=i[1];return e.split(` `).map(o=>{const u=o.match(n.other.beginningSpace);if(u===null)return o;const[l]=u;return l.length>=s.length?o.slice(s.length):o}).join(` `)}var Xe=class{constructor(t){S(this,"options");S(this,"rules");S(this,"lexer");this.options=t||fe}space(t){const e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){const e=this.rules.block.code.exec(t);if(e){const n=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Oe(n,` diff --git a/frontend/dist/assets/MergeWeightsView-B8jVfM-U.css b/frontend/dist/assets/MergeWeightsView-B8jVfM-U.css deleted file mode 100644 index 96d1a00..0000000 --- a/frontend/dist/assets/MergeWeightsView-B8jVfM-U.css +++ /dev/null @@ -1 +0,0 @@ -.model-status[data-v-2e30aa99]{margin-top:20px} diff --git a/frontend/dist/assets/MergeWeightsView-CrawQHZC.css b/frontend/dist/assets/MergeWeightsView-CrawQHZC.css new file mode 100644 index 0000000..48708c8 --- /dev/null +++ b/frontend/dist/assets/MergeWeightsView-CrawQHZC.css @@ -0,0 +1 @@ +.model-status[data-v-2d4f1cb8]{margin-top:20px} diff --git a/frontend/dist/assets/MergeWeightsView-DS-5jMr9.js b/frontend/dist/assets/MergeWeightsView-DS-5jMr9.js new file mode 100644 index 0000000..a301c98 --- /dev/null +++ b/frontend/dist/assets/MergeWeightsView-DS-5jMr9.js @@ -0,0 +1 @@ +import{E as A}from"./el-alert-Ty1qfW58.js";import{a as N,E as T}from"./el-form-item-BA3ZlfqF.js";import{E as B}from"./index-zJ9bqPrh.js";import{E as I}from"./index-D23K2h6y.js";import{E as R}from"./index-BjlLyKON.js";import{d as P,z as q,G as D,e as d,w as t,j as y,y as E,o as n,s as a,f as F,ar as U,x as m,aa as W,c as j,g as z,A as M,v as G,ac as H}from"./index-CxbBjZKo.js";/* empty css */import{P as L}from"./PageCard-CC9cofwx.js";import{a as O,m as S}from"./model-B9dq9fy6.js";import{_ as J}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./vnode-DIVHEdsp.js";import"./castArray-CwVgzdTt.js";import"./_baseClone-B6d4qZbo.js";import"./raf-Bjl8yy5U.js";import"./index-C4wGR5UT.js";import"./index-DxP0p4ch.js";import"./el-card-BsCFVTSD.js";const K={key:0,class:"model-status"},Q=P({__name:"MergeWeightsView",setup(X){const v=H(),b=G(),s=E(!1),u=y(()=>v.query.model||""),w=y(()=>v.query.method||"lora"),i=E([]),_=y(()=>i.value.find(l=>l.name===u.value)),o=q({model_name:u.value,train_method:w.value,base_model_path:""});async function V(){try{const l=await O();i.value=(l==null?void 0:l.models)||[];const e=i.value.find(p=>p.name===u.value);o.base_model_path=(e==null?void 0:e.base_model_path)||""}catch{}}async function k(){if(!o.model_name||!o.base_model_path){M.warning("缺少模型信息");return}s.value=!0;try{await S({model_name:o.model_name,train_method:o.train_method,base_model_path:o.base_model_path}),M.success("合并成功"),b.push("/model-manage")}catch{}finally{s.value=!1}}function x(){b.back()}return D(V),(l,e)=>{const p=A,f=B,r=N,h=I,C=T,c=R;return n(),d(L,{title:"合并权重"},{default:t(()=>[a(p,{type:"info",closable:!1,"show-icon":"",title:"将 LoRA 适配器权重合并到基座模型,合并后可直接用于推理部署。",style:{"margin-bottom":"20px"}}),a(C,{"label-width":"120px",style:{"max-width":"600px"}},{default:t(()=>[a(r,{label:"模型名称"},{default:t(()=>[a(f,{modelValue:o.model_name,"onUpdate:modelValue":e[0]||(e[0]=g=>o.model_name=g),disabled:""},null,8,["modelValue"])]),_:1}),a(r,{label:"训练方法"},{default:t(()=>[a(f,{"model-value":F(U)[o.train_method]||o.train_method,disabled:""},null,8,["model-value"])]),_:1}),a(r,{label:"基座模型路径"},{default:t(()=>[a(f,{modelValue:o.base_model_path,"onUpdate:modelValue":e[1]||(e[1]=g=>o.base_model_path=g),placeholder:"基座模型路径"},null,8,["modelValue"])]),_:1}),a(r,null,{default:t(()=>[a(h,{type:"primary",loading:s.value,onClick:k},{default:t(()=>[m(W(s.value?"合并中...":"开始合并"),1)]),_:1},8,["loading"]),a(h,{onClick:x},{default:t(()=>[...e[2]||(e[2]=[m("取消",-1)])]),_:1})]),_:1})]),_:1}),_.value?(n(),j("div",K,[_.value.merging?(n(),d(c,{key:0,type:"warning"},{default:t(()=>[...e[3]||(e[3]=[m("合并中",-1)])]),_:1})):_.value.merged?(n(),d(c,{key:1,type:"success"},{default:t(()=>[...e[4]||(e[4]=[m("已合并",-1)])]),_:1})):(n(),d(c,{key:2,type:"info"},{default:t(()=>[...e[5]||(e[5]=[m("未合并",-1)])]),_:1}))])):z("",!0)]),_:1})}}}),fe=J(Q,[["__scopeId","data-v-2d4f1cb8"]]);export{fe as default}; diff --git a/frontend/dist/assets/ModelCreateView-DTPv4yI8.js b/frontend/dist/assets/ModelCreateView-DTPv4yI8.js new file mode 100644 index 0000000..a9b29f1 --- /dev/null +++ b/frontend/dist/assets/ModelCreateView-DTPv4yI8.js @@ -0,0 +1 @@ +import{a as $,E as j}from"./el-form-item-BA3ZlfqF.js";import{E as F}from"./el-popper-OAwpEmER.js";import{E as T}from"./index-zJ9bqPrh.js";import{E as G}from"./index-D23K2h6y.js";import{E as z,a as Y}from"./el-select-CeiDjMzB.js";import{E as H,b as J}from"./el-radio-group-BJiEgTS_.js";import{v as Q}from"./directive-DCr8Ae3g.js";import{d as W,aN as X,G as Z,K as ee,e as m,w as t,y as _,j as I,z as le,o as s,s as a,c as b,ad as L,f as oe,M as w,x as n,q as P,aa as ae,A as k,v as te,ac as re}from"./index-CxbBjZKo.js";import"./el-tooltip-l0sNRNKZ.js";import"./el-scrollbar-B0E7ZTt3.js";/* empty css */import{P as ue}from"./PageCard-CC9cofwx.js";import{c as ne,f as se,u as ie,h as pe}from"./model-B9dq9fy6.js";import{_ as de}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./castArray-CwVgzdTt.js";import"./_baseClone-B6d4qZbo.js";import"./index-DxP0p4ch.js";import"./index-DHcidAHK.js";import"./raf-Bjl8yy5U.js";import"./index-C4wGR5UT.js";import"./vnode-DIVHEdsp.js";import"./index-Bzaib5AU.js";import"./index-BjlLyKON.js";import"./scroll-Dvb2mTx8.js";import"./clamp-Ow4I6lPc.js";import"./toNumber-Yuob3eJv.js";import"./_baseIteratee-C6JbNheX.js";import"./omit-CbHF-OEy.js";import"./el-card-BsCFVTSD.js";const me={class:"model-path-row"},_e=W({__name:"ModelCreateView",setup(fe){const E=re(),M=te(),f=_(),c=_(!1),g=_(!1),y=I(()=>!!E.params.id),d=I(()=>E.params.id),v=_([]),l=le({name:"",type:"LLM",purpose:"inference",model_source:"local",description:"",path:"",api_url:"",api_key:"",online_model_name:""}),U={name:[{required:!0,message:"请输入模型名称",trigger:"blur"},{max:100,message:"不超过 100 字符",trigger:"blur"}],type:[{required:!0,message:"请选择模型类型",trigger:"change"}],purpose:[{required:!0,message:"请选择模型用途",trigger:"change"}]};function A(){return l.model_source==="local"?{path:[{required:!0,message:"请选择本地模型路径",trigger:"change"}]}:{api_url:[{required:!0,message:"请输入 API 地址",trigger:"blur"}],api_key:[{required:!0,message:"请输入 API Key",trigger:"blur"}],online_model_name:[{required:!0,message:"请输入模型名称",trigger:"blur"}]}}const R=Object.entries(X).map(([r,e])=>({value:r,label:e}));async function B(){if(d.value){c.value=!0;try{const r=await ne(d.value),e=r.model_source==="online"?"api":r.model_source||"local";Object.assign(l,{name:r.name||"",type:r.type||"LLM",purpose:r.purpose||"inference",model_source:e,description:r.description||"",path:r.path||"",api_url:r.api_url||"",api_key:r.api_key||"",online_model_name:r.model_name||""})}catch{}finally{c.value=!1}}}async function h(){try{const r=await se();v.value=(r==null?void 0:r.models)||[]}catch{v.value=[]}}async function O(){f.value&&await f.value.validate(async r=>{if(r){if(l.model_source==="local"&&!l.path){k.warning("请选择本地模型路径");return}g.value=!0;try{const e={name:l.name,type:l.type,purpose:l.purpose,model_source:l.model_source,description:l.description};l.model_source==="local"?e.path=l.path:(e.api_url=l.api_url,e.api_key=l.api_key,e.online_model_name=l.online_model_name),y.value&&d.value?(await ie(d.value,e),k.success("更新成功")):(await pe(e),k.success("创建成功")),M.push("/model-manage")}catch{}finally{g.value=!1}}})}function D(){M.back()}return Z(()=>{h(),B()}),(r,e)=>{const i=T,u=$,x=Y,q=z,p=J,C=H,V=G,K=F,N=j,S=Q;return ee((s(),m(ue,{title:y.value?"编辑模型":"添加模型"},{default:t(()=>[a(N,{ref_key:"formRef",ref:f,model:l,rules:{...U,...A()},"label-width":"120px",style:{"max-width":"640px"}},{default:t(()=>[a(u,{label:"模型名称",prop:"name"},{default:t(()=>[a(i,{modelValue:l.name,"onUpdate:modelValue":e[0]||(e[0]=o=>l.name=o),placeholder:"请输入模型名称",maxlength:"100","show-word-limit":""},null,8,["modelValue"])]),_:1}),a(u,{label:"模型类型",prop:"type"},{default:t(()=>[a(q,{modelValue:l.type,"onUpdate:modelValue":e[1]||(e[1]=o=>l.type=o),placeholder:"请选择模型类型",style:{width:"100%"}},{default:t(()=>[(s(!0),b(w,null,L(oe(R),o=>(s(),m(x,{key:o.value,label:o.label,value:o.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(u,{label:"模型用途",prop:"purpose"},{default:t(()=>[a(C,{modelValue:l.purpose,"onUpdate:modelValue":e[2]||(e[2]=o=>l.purpose=o)},{default:t(()=>[a(p,{value:"training"},{default:t(()=>[...e[9]||(e[9]=[n("训练基座",-1)])]),_:1}),a(p,{value:"inference"},{default:t(()=>[...e[10]||(e[10]=[n("推理对比",-1)])]),_:1}),a(p,{value:"evaluation"},{default:t(()=>[...e[11]||(e[11]=[n("评测",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(u,{label:"模型来源",prop:"model_source"},{default:t(()=>[a(C,{modelValue:l.model_source,"onUpdate:modelValue":e[3]||(e[3]=o=>l.model_source=o)},{default:t(()=>[a(p,{value:"local"},{default:t(()=>[...e[12]||(e[12]=[n("本地模型",-1)])]),_:1}),a(p,{value:"api"},{default:t(()=>[...e[13]||(e[13]=[n("在线模型",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),l.model_source==="local"?(s(),m(u,{key:0,label:"本地模型路径",prop:"path"},{default:t(()=>[P("div",me,[a(q,{modelValue:l.path,"onUpdate:modelValue":e[4]||(e[4]=o=>l.path=o),placeholder:"请选择或输入 /data/yg-ft/models 下的模型路径",filterable:"","allow-create":"","default-first-option":"",clearable:"",style:{width:"100%"}},{default:t(()=>[(s(!0),b(w,null,L(v.value,o=>(s(),m(x,{key:o.path,label:`${o.name} (${o.path})${o.source?` - ${o.source}`:""}`,value:o.path},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),a(V,{onClick:h},{default:t(()=>[...e[14]||(e[14]=[n("刷新",-1)])]),_:1}),a(K,{content:"模型目录需要位于算力容器可访问路径,例如默认挂载目录 docker/compute/data/yg-ft/models 对应容器内 /data/yg-ft/models。浏览器不能把电脑任意本地目录直接作为训练路径。",placement:"top"},{default:t(()=>[...e[15]||(e[15]=[P("i",{class:"fa fa-info-circle model-path-help","aria-hidden":"true"},null,-1)])]),_:1})])]),_:1})):(s(),b(w,{key:1},[a(u,{label:"API 地址",prop:"api_url"},{default:t(()=>[a(i,{modelValue:l.api_url,"onUpdate:modelValue":e[5]||(e[5]=o=>l.api_url=o),placeholder:"如:https://api.openai.com/v1"},null,8,["modelValue"])]),_:1}),a(u,{label:"API Key",prop:"api_key"},{default:t(()=>[a(i,{modelValue:l.api_key,"onUpdate:modelValue":e[6]||(e[6]=o=>l.api_key=o),type:"password","show-password":"",placeholder:"请输入 API Key"},null,8,["modelValue"])]),_:1}),a(u,{label:"模型名称",prop:"online_model_name"},{default:t(()=>[a(i,{modelValue:l.online_model_name,"onUpdate:modelValue":e[7]||(e[7]=o=>l.online_model_name=o),placeholder:"如:gpt-4、qwen-turbo"},null,8,["modelValue"])]),_:1})],64)),a(u,{label:"模型描述"},{default:t(()=>[a(i,{modelValue:l.description,"onUpdate:modelValue":e[8]||(e[8]=o=>l.description=o),type:"textarea",rows:3,maxlength:"500","show-word-limit":"",placeholder:"选填"},null,8,["modelValue"])]),_:1}),a(u,null,{default:t(()=>[a(V,{type:"primary",loading:g.value,onClick:O},{default:t(()=>[n(ae(y.value?"保存":"创建"),1)]),_:1},8,["loading"]),a(V,{onClick:D},{default:t(()=>[...e[16]||(e[16]=[n("取消",-1)])]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["title"])),[[S,c.value]])}}}),Te=de(_e,[["__scopeId","data-v-7878649b"]]);export{Te as default}; diff --git a/frontend/dist/assets/ModelCreateView-cLO_UPLT.css b/frontend/dist/assets/ModelCreateView-cLO_UPLT.css deleted file mode 100644 index e85ad2f..0000000 --- a/frontend/dist/assets/ModelCreateView-cLO_UPLT.css +++ /dev/null @@ -1 +0,0 @@ -.model-path-row[data-v-6de511b8]{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;width:100%}.model-path-help[data-v-6de511b8]{color:#64748b;cursor:help} diff --git a/frontend/dist/assets/ModelCreateView-ioLfAur0.css b/frontend/dist/assets/ModelCreateView-ioLfAur0.css new file mode 100644 index 0000000..bc24ec8 --- /dev/null +++ b/frontend/dist/assets/ModelCreateView-ioLfAur0.css @@ -0,0 +1 @@ +.model-path-row[data-v-7878649b]{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;width:100%}.model-path-help[data-v-7878649b]{color:#64748b;cursor:help} diff --git a/frontend/dist/assets/ModelManageView-Dk83xTM-.css b/frontend/dist/assets/ModelManageView-Dk83xTM-.css new file mode 100644 index 0000000..e9833e8 --- /dev/null +++ b/frontend/dist/assets/ModelManageView-Dk83xTM-.css @@ -0,0 +1 @@ +@charset "UTF-8";.capsule-tabs[data-v-f0c58d46]{display:flex;background:#f1f5f9;padding:3px;border-radius:8px;gap:2px;border:1px solid #e2e8f0}.capsule-tab-item[data-v-f0c58d46]{border:0;background:transparent;padding:6px 20px;font-size:13px;font-weight:500;color:#64748b;cursor:pointer;border-radius:6px;transition:all .2s ease;outline:none}.capsule-tab-item[data-v-f0c58d46]:hover{color:#1e293b}.capsule-tab-item.active[data-v-f0c58d46]{background:#fff;color:#4f46e5;box-shadow:0 1px 3px #0000000f,0 1px 2px #0000000a;font-weight:600}.action-buttons[data-v-f0c58d46]{display:flex;justify-content:center;gap:8px} diff --git a/frontend/dist/assets/ModelManageView-FQBUSn0C.js b/frontend/dist/assets/ModelManageView-FQBUSn0C.js new file mode 100644 index 0000000..0c9463f --- /dev/null +++ b/frontend/dist/assets/ModelManageView-FQBUSn0C.js @@ -0,0 +1 @@ +import{E as V}from"./index-D23K2h6y.js";import{E as O}from"./index-BjlLyKON.js";import{E as R}from"./el-table-b_qkWXYf.js";import{d as S,D as A,G as U,c as q,e as p,w as a,y as k,o as m,s as n,q as s,x as i,aa as u,f as b,aN as G,aO as w,aP as I,g as z,v as W,A as D}from"./index-CxbBjZKo.js";import{E as Y}from"./index-CLZoQJ1o.js";/* empty css */import"./el-checkbox-C_TzqU9u.js";import{D as $}from"./DataTablePage-C1WQGBXF.js";import{g as j,a as F,e as H,d as J,b as K}from"./model-B9dq9fy6.js";import{_ as Q}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./el-scrollbar-B0E7ZTt3.js";import"./index-DxP0p4ch.js";import"./el-popper-OAwpEmER.js";import"./index-DHcidAHK.js";import"./_baseClone-B6d4qZbo.js";import"./_baseIteratee-C6JbNheX.js";import"./castArray-CwVgzdTt.js";import"./debounce-BJxjS5F3.js";import"./toNumber-Yuob3eJv.js";import"./raf-Bjl8yy5U.js";import"./validator-AVoXfk3G.js";import"./index-C3HZL-2Y.js";import"./clamp-Ow4I6lPc.js";import"./index-36LucyXi.js";import"./scroll-Dvb2mTx8.js";import"./index-zJ9bqPrh.js";import"./index-C4wGR5UT.js";import"./omit-CbHF-OEy.js";import"./el-card-BsCFVTSD.js";import"./el-pagination-ByKJEnCx.js";import"./el-select-CeiDjMzB.js";import"./vnode-DIVHEdsp.js";import"./index-Bzaib5AU.js";import"./directive-DCr8Ae3g.js";import"./el-tooltip-l0sNRNKZ.js";const X={class:"model-manage-page",style:{height:"100%"}},Z={class:"capsule-tabs"},ee={class:"capsule-tabs"},te={class:"action-buttons"},ae=S({__name:"ModelManageView",setup(le){const C=W(),d=k("config"),c=k(!1),_=k([]),v=k([]);async function h(){c.value=!0;try{_.value=await j()||[]}catch{}finally{c.value=!1}}async function M(){c.value=!0;try{const l=await F();v.value=(l==null?void 0:l.models)||[]}catch{}finally{c.value=!1}}function x(){d.value==="config"?h():M()}async function E(l){await J(l.id),_.value=_.value.filter(t=>t.id!==l.id),await h(),D.success("删除成功")}async function T(l){await Y.confirm(`确定要删除模型 "${l.name}" 的权重文件吗?合并模型不受影响。`,"确认删除",{type:"warning"}),await K(l.name,"lora"),v.value=v.value.filter(t=>t.name!==l.name&&t.id!==l.id),await M(),D.success("权重已删除")}async function P(l){var t,o;await C.push({path:"/model-manage/merge",query:{model:l.name,method:((o=(t=l.train_methods)==null?void 0:t[0])==null?void 0:o.name)||"lora"}})}function L(l){window.open(H(l.name),"_blank")}function N(l){C.push(`/model-manage/${l.id}/edit`)}function B(){d.value==="config"&&C.push("/model-manage/create")}return A(d,()=>{x()}),U(x),(l,t)=>{const o=R,g=O,f=V;return m(),q("div",X,[d.value==="config"?(m(),p($,{key:0,title:"",data:_.value,loading:c.value,searchable:"","search-fields":["name","description"],"create-text":"添加模型",onCreate:B,"delete-fn":E,"row-key":"id",onRefresh:h},{title:a(()=>[s("div",Z,[s("button",{class:"capsule-tab-item active",onClick:t[0]||(t[0]=e=>d.value="config")},"配置模型"),s("button",{class:"capsule-tab-item",onClick:t[1]||(t[1]=e=>d.value="trained")},"训练模型")])]),columns:a(()=>[n(o,{label:"模型名称",prop:"name",align:"center"}),n(o,{label:"模型类型",align:"center",width:"140"},{default:a(({row:e})=>[n(g,{type:"primary",size:"small"},{default:a(()=>[i(u(b(G)[e.type]||e.type||"-"),1)]),_:2},1024)]),_:1}),n(o,{label:"用途",align:"center",width:"100"},{default:a(({row:e})=>{var r;return[n(g,{type:((r=b(w)[e.purpose])==null?void 0:r.type)||"info",size:"small"},{default:a(()=>{var y;return[i(u(((y=b(w)[e.purpose])==null?void 0:y.text)||e.purpose||"-"),1)]}),_:2},1032,["type"])]}),_:1}),n(o,{label:"模型来源",align:"center",width:"110"},{default:a(({row:e})=>[i(u(b(I)[e.model_source]||e.model_source||"-"),1)]),_:1}),n(o,{label:"描述",align:"center","show-overflow-tooltip":""},{default:a(({row:e})=>[i(u(e.description||"-"),1)]),_:1}),n(o,{label:"创建时间",align:"center",width:"180"},{default:a(({row:e})=>[i(u(e.create_time?new Date(e.create_time).toLocaleString("zh-CN"):"-"),1)]),_:1})]),actions:a(({row:e})=>[n(f,{type:"primary",link:"",size:"small",onClick:r=>N(e)},{default:a(()=>[...t[4]||(t[4]=[s("i",{class:"fa fa-edit",style:{"margin-right":"4px"}},null,-1),i("编辑 ",-1)])]),_:1},8,["onClick"]),n(f,{type:"danger",link:"",size:"small",onClick:r=>E(e)},{default:a(()=>[...t[5]||(t[5]=[s("i",{class:"fa fa-trash-o",style:{"margin-right":"4px"}},null,-1),i("删除 ",-1)])]),_:1},8,["onClick"])]),_:1},8,["data","loading"])):(m(),p($,{key:1,title:"",data:v.value,loading:c.value,searchable:"","search-fields":["name"],"row-key":"name",onRefresh:M},{title:a(()=>[s("div",ee,[s("button",{class:"capsule-tab-item",onClick:t[2]||(t[2]=e=>d.value="config")},"配置模型"),s("button",{class:"capsule-tab-item active",onClick:t[3]||(t[3]=e=>d.value="trained")},"训练模型")])]),columns:a(()=>[n(o,{label:"模型名称",prop:"name",align:"center"}),n(o,{label:"训练方法",align:"center"},{default:a(({row:e})=>{var r,y;return[i(u(((y=(r=e.train_methods)==null?void 0:r[0])==null?void 0:y.name)||"-"),1)]}),_:1}),n(o,{label:"基座模型",align:"center","show-overflow-tooltip":""},{default:a(({row:e})=>[i(u(e.base_model_path||"-"),1)]),_:1}),n(o,{label:"合并状态",align:"center",width:"110"},{default:a(({row:e})=>[e.merging?(m(),p(g,{key:0,type:"warning",size:"small"},{default:a(()=>[...t[6]||(t[6]=[i("合并中",-1)])]),_:1})):e.merged?(m(),p(g,{key:1,type:"success",size:"small"},{default:a(()=>[...t[7]||(t[7]=[i("已合并",-1)])]),_:1})):(m(),p(g,{key:2,type:"info",size:"small"},{default:a(()=>[...t[8]||(t[8]=[i("未合并",-1)])]),_:1}))]),_:1}),n(o,{label:"创建时间",align:"center",width:"180"},{default:a(({row:e})=>[i(u(e.create_time?new Date(e.create_time).toLocaleString("zh-CN"):"-"),1)]),_:1})]),actions:a(({row:e})=>[s("div",te,[!e.merged&&!e.merging?(m(),p(f,{key:0,type:"primary",link:"",size:"small",onClick:r=>P(e)},{default:a(()=>[...t[9]||(t[9]=[s("i",{class:"fa fa-code-fork",style:{"margin-right":"4px"}},null,-1),i("合并权重 ",-1)])]),_:1},8,["onClick"])):e.merging?(m(),p(f,{key:1,type:"info",link:"",size:"small",loading:!0,disabled:""},{default:a(()=>[...t[10]||(t[10]=[i(" 合并中 ",-1)])]),_:1})):z("",!0),n(f,{type:"warning",link:"",size:"small",onClick:r=>T(e)},{default:a(()=>[...t[11]||(t[11]=[s("i",{class:"fa fa-eraser",style:{"margin-right":"4px"}},null,-1),i("删除权重 ",-1)])]),_:1},8,["onClick"]),e.merged?(m(),p(f,{key:2,type:"success",link:"",size:"small",onClick:r=>L(e)},{default:a(()=>[...t[12]||(t[12]=[s("i",{class:"fa fa-download",style:{"margin-right":"4px"}},null,-1),i("导出 ",-1)])]),_:1},8,["onClick"])):z("",!0)])]),_:1},8,["data","loading"]))])}}}),Ae=Q(ae,[["__scopeId","data-v-f0c58d46"]]);export{Ae as default}; diff --git a/frontend/dist/assets/ModelStatusTag.vue_vue_type_script_setup_true_lang-CUZ4SBb2.js b/frontend/dist/assets/ModelStatusTag.vue_vue_type_script_setup_true_lang-CUZ4SBb2.js new file mode 100644 index 0000000..6d6b580 --- /dev/null +++ b/frontend/dist/assets/ModelStatusTag.vue_vue_type_script_setup_true_lang-CUZ4SBb2.js @@ -0,0 +1 @@ +import{E as r}from"./index-BjlLyKON.js";import{d as o,e as c,w as p,j as u,o as i,x as d,aa as l}from"./index-CxbBjZKo.js";/* empty css */const m=o({__name:"ModelStatusTag",props:{status:{}},setup(a){const s=a,t=u(()=>{const e=s.status||"";switch(e){case"running":case"ready":case"loaded":return{text:e==="ready"||e==="loaded"?"已就绪":"运行中",type:"success"};case"pending":return{text:"等待中",type:"info"};case"failed":return{text:"失败",type:"danger"};case"starting":case"loading":return{text:"加载中",type:"warning"};case"completed":return{text:"已完成",type:"success"};case"stopped":return{text:"已停止",type:"info"};default:return{text:e||"未知",type:"info"}}});return(e,f)=>{const n=r;return i(),c(n,{type:t.value.type,size:"small",effect:"light"},{default:p(()=>[d(l(t.value.text),1)]),_:1},8,["type"])}}});export{m as _}; diff --git a/frontend/dist/assets/PageCard-Byh3epid.js b/frontend/dist/assets/PageCard-Byh3epid.js index d59d246..f8c1e04 100644 --- a/frontend/dist/assets/PageCard-Byh3epid.js +++ b/frontend/dist/assets/PageCard-Byh3epid.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/PageCard-Byh3epid.js import{E as i}from"./el-card-BvbOkvag.js";import{d as n,e as u,w as p,o as a,c as s,h as o,g as r,q as d,aa as l}from"./index-CD29OCdJ.js";import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";const h={key:0,class:"page-card-header"},m={class:"page-card-title"},f={key:0,class:"page-card-subtitle"},g={key:0,class:"page-card-extra"},v={class:"page-card-body"},b=n({__name:"PageCard",props:{title:{},subtitle:{},bordered:{type:Boolean,default:!1}},setup(t){return(e,k)=>{const c=i;return a(),u(c,{shadow:"never",class:"page-card"},{default:p(()=>[t.title||e.$slots.header?(a(),s("div",h,[o(e.$slots,"header",{},()=>[d("div",null,[d("h2",m,l(t.title),1),t.subtitle?(a(),s("p",f,l(t.subtitle),1)):r("",!0)])],!0),e.$slots.extra?(a(),s("div",g,[o(e.$slots,"extra",{},void 0,!0)])):r("",!0)])):r("",!0),d("div",v,[o(e.$slots,"default",{},void 0,!0)])]),_:3})}}}),$=_(b,[["__scopeId","data-v-05c37e8a"]]);export{$ as P}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/PageCard-CV3p14-x.js +import{E as i}from"./el-card-D86TXgMv.js";import{d as n,e as u,w as p,o as a,c as s,h as o,g as r,q as d,aa as l}from"./index-Ds9AETjS.js";import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";const h={key:0,class:"page-card-header"},m={class:"page-card-title"},f={key:0,class:"page-card-subtitle"},g={key:0,class:"page-card-extra"},v={class:"page-card-body"},b=n({__name:"PageCard",props:{title:{},subtitle:{},bordered:{type:Boolean,default:!1}},setup(t){return(e,k)=>{const c=i;return a(),u(c,{shadow:"never",class:"page-card"},{default:p(()=>[t.title||e.$slots.header?(a(),s("div",h,[o(e.$slots,"header",{},()=>[d("div",null,[d("h2",m,l(t.title),1),t.subtitle?(a(),s("p",f,l(t.subtitle),1)):r("",!0)])],!0),e.$slots.extra?(a(),s("div",g,[o(e.$slots,"extra",{},void 0,!0)])):r("",!0)])):r("",!0),d("div",v,[o(e.$slots,"default",{},void 0,!0)])]),_:3})}}}),$=_(b,[["__scopeId","data-v-05c37e8a"]]);export{$ as P}; +======== +import{E as i}from"./el-card-BsCFVTSD.js";import{d as n,e as u,w as p,o as a,c as s,h as o,g as r,q as d,aa as l}from"./index-CxbBjZKo.js";import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";const h={key:0,class:"page-card-header"},m={class:"page-card-title"},f={key:0,class:"page-card-subtitle"},g={key:0,class:"page-card-extra"},v={class:"page-card-body"},b=n({__name:"PageCard",props:{title:{},subtitle:{},bordered:{type:Boolean,default:!1}},setup(t){return(e,k)=>{const c=i;return a(),u(c,{shadow:"never",class:"page-card"},{default:p(()=>[t.title||e.$slots.header?(a(),s("div",h,[o(e.$slots,"header",{},()=>[d("div",null,[d("h2",m,l(t.title),1),t.subtitle?(a(),s("p",f,l(t.subtitle),1)):r("",!0)])],!0),e.$slots.extra?(a(),s("div",g,[o(e.$slots,"extra",{},void 0,!0)])):r("",!0)])):r("",!0),d("div",v,[o(e.$slots,"default",{},void 0,!0)])]),_:3})}}}),$=_(b,[["__scopeId","data-v-4478be23"]]);export{$ as P}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/PageCard-CC9cofwx.js diff --git a/frontend/dist/assets/PageCard-CC9cofwx.js b/frontend/dist/assets/PageCard-CC9cofwx.js new file mode 100644 index 0000000..4f6d248 --- /dev/null +++ b/frontend/dist/assets/PageCard-CC9cofwx.js @@ -0,0 +1 @@ +import{E as i}from"./el-card-BsCFVTSD.js";import{d as n,e as u,w as p,o as a,c as s,h as o,g as r,q as d,aa as l}from"./index-CxbBjZKo.js";import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";const h={key:0,class:"page-card-header"},m={class:"page-card-title"},f={key:0,class:"page-card-subtitle"},g={key:0,class:"page-card-extra"},v={class:"page-card-body"},b=n({__name:"PageCard",props:{title:{},subtitle:{},bordered:{type:Boolean,default:!1}},setup(t){return(e,k)=>{const c=i;return a(),u(c,{shadow:"never",class:"page-card"},{default:p(()=>[t.title||e.$slots.header?(a(),s("div",h,[o(e.$slots,"header",{},()=>[d("div",null,[d("h2",m,l(t.title),1),t.subtitle?(a(),s("p",f,l(t.subtitle),1)):r("",!0)])],!0),e.$slots.extra?(a(),s("div",g,[o(e.$slots,"extra",{},void 0,!0)])):r("",!0)])):r("",!0),d("div",v,[o(e.$slots,"default",{},void 0,!0)])]),_:3})}}}),$=_(b,[["__scopeId","data-v-4478be23"]]);export{$ as P}; diff --git a/frontend/dist/assets/PageCard-CagWOgY3.css b/frontend/dist/assets/PageCard-CagWOgY3.css new file mode 100644 index 0000000..1906114 --- /dev/null +++ b/frontend/dist/assets/PageCard-CagWOgY3.css @@ -0,0 +1 @@ +.page-card[data-v-4478be23]{border-radius:8px;margin-bottom:24px}.page-card .page-card-header[data-v-4478be23]{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px}.page-card .page-card-title[data-v-4478be23]{font-size:16px;font-weight:500;color:#303133;margin:0}.page-card .page-card-subtitle[data-v-4478be23]{font-size:13px;color:#909399;margin:4px 0 0}.page-card[data-v-4478be23] .el-card__body{padding:24px} diff --git a/frontend/dist/assets/PageCard-D_q9xBAd.css b/frontend/dist/assets/PageCard-D_q9xBAd.css deleted file mode 100644 index 40e4556..0000000 --- a/frontend/dist/assets/PageCard-D_q9xBAd.css +++ /dev/null @@ -1 +0,0 @@ -.page-card[data-v-05c37e8a]{border-radius:8px;margin-bottom:24px}.page-card .page-card-header[data-v-05c37e8a]{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px}.page-card .page-card-title[data-v-05c37e8a]{font-size:16px;font-weight:500;color:#303133;margin:0}.page-card .page-card-subtitle[data-v-05c37e8a]{font-size:13px;color:#909399;margin:4px 0 0}.page-card[data-v-05c37e8a] .el-card__body{padding:24px} diff --git a/frontend/dist/assets/PermissionDeniedView-Ac-Po9jU.css b/frontend/dist/assets/PermissionDeniedView-Ac-Po9jU.css new file mode 100644 index 0000000..5342a02 --- /dev/null +++ b/frontend/dist/assets/PermissionDeniedView-Ac-Po9jU.css @@ -0,0 +1 @@ +.simple-page[data-v-9fad40f6]{padding:24px} diff --git a/frontend/dist/assets/PermissionDeniedView-DWdcJnMf.css b/frontend/dist/assets/PermissionDeniedView-DWdcJnMf.css deleted file mode 100644 index 6d492bc..0000000 --- a/frontend/dist/assets/PermissionDeniedView-DWdcJnMf.css +++ /dev/null @@ -1 +0,0 @@ -.simple-page[data-v-cc370c43]{padding:24px} diff --git a/frontend/dist/assets/PermissionDeniedView-EZx3s9_N.js b/frontend/dist/assets/PermissionDeniedView-EZx3s9_N.js new file mode 100644 index 0000000..bcc674c --- /dev/null +++ b/frontend/dist/assets/PermissionDeniedView-EZx3s9_N.js @@ -0,0 +1 @@ +import{_ as o}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as n,q as s}from"./index-CxbBjZKo.js";const r={},a={class:"simple-page"};function c(i,e){return t(),n("section",a,[...e[0]||(e[0]=[s("h1",null,"无权访问",-1),s("p",null,"当前账号没有访问该页面的权限,请联系管理员调整角色或页面权限。",-1)])])}const d=o(r,[["render",c],["__scopeId","data-v-9fad40f6"]]);export{d as default}; diff --git a/frontend/dist/assets/ToolCreateView-Bl0pHgUd.css b/frontend/dist/assets/ToolCreateView-Bl0pHgUd.css new file mode 100644 index 0000000..f6539f8 --- /dev/null +++ b/frontend/dist/assets/ToolCreateView-Bl0pHgUd.css @@ -0,0 +1 @@ +.icon-grid[data-v-249def81]{display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:8px;max-width:500px}.icon-option[data-v-249def81]{width:44px;height:44px;border:1px solid #dcdfe6;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;font-size:16px;color:#606266}.icon-option[data-v-249def81]:hover{border-color:#1890ff;color:#1890ff}.icon-option.selected[data-v-249def81]{border-color:#1890ff;background:#1890ff1a;color:#1890ff} diff --git a/frontend/dist/assets/ToolCreateView-ClRXoWew.css b/frontend/dist/assets/ToolCreateView-ClRXoWew.css deleted file mode 100644 index 4e69bf6..0000000 --- a/frontend/dist/assets/ToolCreateView-ClRXoWew.css +++ /dev/null @@ -1 +0,0 @@ -.icon-grid[data-v-9116c5de]{display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:8px;max-width:500px}.icon-option[data-v-9116c5de]{width:44px;height:44px;border:1px solid #dcdfe6;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;font-size:16px;color:#606266}.icon-option[data-v-9116c5de]:hover{border-color:#1890ff;color:#1890ff}.icon-option.selected[data-v-9116c5de]{border-color:#1890ff;background:#1890ff1a;color:#1890ff} diff --git a/frontend/dist/assets/ToolCreateView-CsnoBuBA.js b/frontend/dist/assets/ToolCreateView-CsnoBuBA.js new file mode 100644 index 0000000..5634fd1 --- /dev/null +++ b/frontend/dist/assets/ToolCreateView-CsnoBuBA.js @@ -0,0 +1 @@ +import{a as y,E as h}from"./el-form-item-BA3ZlfqF.js";import{E as B}from"./index-zJ9bqPrh.js";import{E as R}from"./index-D23K2h6y.js";import{d as S,G as I,e as N,w as l,j as g,z as O,o as m,s as o,q as v,c as x,ad as U,n as V,f as q,bx as F,M as L,x as b,aa as M,A as w,y as j,v as z,ac as D}from"./index-CxbBjZKo.js";import{P}from"./PageCard-CC9cofwx.js";import{u as A}from"./tools-DNEgEZeS.js";import{_ as G}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./castArray-CwVgzdTt.js";import"./_baseClone-B6d4qZbo.js";import"./raf-Bjl8yy5U.js";import"./index-C4wGR5UT.js";import"./index-DxP0p4ch.js";import"./el-card-BsCFVTSD.js";const $={class:"icon-grid"},H=["onClick"],J=S({__name:"ToolCreateView",setup(K){const d=D(),p=z(),n=A(),i=j(),s=g(()=>d.params.id!=null),c=g(()=>s.value?n.getTool(d.params.id):void 0),e=O({id:"",name:"",description:"",url:"",icon:"fa-cog"}),C={name:[{required:!0,message:"请输入工具名称",trigger:"blur"},{max:30,message:"不超过 30 字符",trigger:"blur"}],url:[{required:!0,message:"请输入跳转地址",trigger:"blur"}]};function k(){i.value&&i.value.validate(f=>{f&&(s.value?(n.updateTool(e.id,{...e}),w.success("更新成功")):(n.addTool({...e,id:"custom_"+Date.now()}),w.success("添加成功")),p.push("/tools"))})}function E(){p.back()}return I(()=>{c.value&&Object.assign(e,c.value)}),(f,a)=>{const u=B,r=y,_=R,T=h;return m(),N(P,{title:s.value?"编辑自定义工具":"添加自定义工具"},{default:l(()=>[o(T,{ref_key:"formRef",ref:i,model:e,rules:C,"label-width":"100px",style:{"max-width":"600px"}},{default:l(()=>[o(r,{label:"工具名称",prop:"name"},{default:l(()=>[o(u,{modelValue:e.name,"onUpdate:modelValue":a[0]||(a[0]=t=>e.name=t),placeholder:"请输入工具名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),_:1}),o(r,{label:"工具描述"},{default:l(()=>[o(u,{modelValue:e.description,"onUpdate:modelValue":a[1]||(a[1]=t=>e.description=t),type:"textarea",rows:2,maxlength:"100","show-word-limit":""},null,8,["modelValue"])]),_:1}),o(r,{label:"跳转地址",prop:"url"},{default:l(()=>[o(u,{modelValue:e.url,"onUpdate:modelValue":a[2]||(a[2]=t=>e.url=t),placeholder:"相对路径或完整 URL"},null,8,["modelValue"])]),_:1}),o(r,{label:"图标"},{default:l(()=>[v("div",$,[(m(!0),x(L,null,U(q(F),t=>(m(),x("div",{key:t,class:V(["icon-option",{selected:e.icon===t}]),onClick:Q=>e.icon=t},[v("i",{class:V(["fa",t])},null,2)],10,H))),128))])]),_:1}),o(r,null,{default:l(()=>[o(_,{type:"primary",onClick:k},{default:l(()=>[b(M(s.value?"保存":"添加"),1)]),_:1}),o(_,{onClick:E},{default:l(()=>[...a[3]||(a[3]=[b("取消",-1)])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["title"])}}}),ue=G(J,[["__scopeId","data-v-249def81"]]);export{ue as default}; diff --git a/frontend/dist/assets/ToolCreateView-lcYDZ0-7.js b/frontend/dist/assets/ToolCreateView-lcYDZ0-7.js index 67fa53b..7307a36 100644 --- a/frontend/dist/assets/ToolCreateView-lcYDZ0-7.js +++ b/frontend/dist/assets/ToolCreateView-lcYDZ0-7.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/ToolCreateView-lcYDZ0-7.js import{a as y,E as h}from"./el-form-item--AdlsBF7.js";import{E as B}from"./index-D0wqu88j.js";import{E as R}from"./index-6OTFNiIi.js";import{d as S,G as I,e as N,w as l,j as g,z as O,o as m,s as o,q as v,c as x,ad as U,n as V,f as q,bx as F,M as L,x as b,aa as M,A as w,y as j,v as z,ac as D}from"./index-CD29OCdJ.js";import{P}from"./PageCard-Byh3epid.js";import{u as A}from"./tools-BtFo8ZQX.js";import{_ as G}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./castArray-BEiueV6y.js";import"./_baseClone-Blem5BWg.js";import"./raf-DGtHIxe2.js";import"./index-C8FAS7l2.js";import"./index-DpY84JwG.js";import"./el-card-BvbOkvag.js";const $={class:"icon-grid"},H=["onClick"],J=S({__name:"ToolCreateView",setup(K){const d=D(),p=z(),n=A(),i=j(),s=g(()=>d.params.id!=null),c=g(()=>s.value?n.getTool(d.params.id):void 0),e=O({id:"",name:"",description:"",url:"",icon:"fa-cog"}),C={name:[{required:!0,message:"请输入工具名称",trigger:"blur"},{max:30,message:"不超过 30 字符",trigger:"blur"}],url:[{required:!0,message:"请输入跳转地址",trigger:"blur"}]};function k(){i.value&&i.value.validate(f=>{f&&(s.value?(n.updateTool(e.id,{...e}),w.success("更新成功")):(n.addTool({...e,id:"custom_"+Date.now()}),w.success("添加成功")),p.push("/tools"))})}function E(){p.back()}return I(()=>{c.value&&Object.assign(e,c.value)}),(f,a)=>{const u=B,r=y,_=R,T=h;return m(),N(P,{title:s.value?"编辑自定义工具":"添加自定义工具"},{default:l(()=>[o(T,{ref_key:"formRef",ref:i,model:e,rules:C,"label-width":"100px",style:{"max-width":"600px"}},{default:l(()=>[o(r,{label:"工具名称",prop:"name"},{default:l(()=>[o(u,{modelValue:e.name,"onUpdate:modelValue":a[0]||(a[0]=t=>e.name=t),placeholder:"请输入工具名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),_:1}),o(r,{label:"工具描述"},{default:l(()=>[o(u,{modelValue:e.description,"onUpdate:modelValue":a[1]||(a[1]=t=>e.description=t),type:"textarea",rows:2,maxlength:"100","show-word-limit":""},null,8,["modelValue"])]),_:1}),o(r,{label:"跳转地址",prop:"url"},{default:l(()=>[o(u,{modelValue:e.url,"onUpdate:modelValue":a[2]||(a[2]=t=>e.url=t),placeholder:"相对路径或完整 URL"},null,8,["modelValue"])]),_:1}),o(r,{label:"图标"},{default:l(()=>[v("div",$,[(m(!0),x(L,null,U(q(F),t=>(m(),x("div",{key:t,class:V(["icon-option",{selected:e.icon===t}]),onClick:Q=>e.icon=t},[v("i",{class:V(["fa",t])},null,2)],10,H))),128))])]),_:1}),o(r,null,{default:l(()=>[o(_,{type:"primary",onClick:k},{default:l(()=>[b(M(s.value?"保存":"添加"),1)]),_:1}),o(_,{onClick:E},{default:l(()=>[...a[3]||(a[3]=[b("取消",-1)])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["title"])}}}),ue=G(J,[["__scopeId","data-v-9116c5de"]]);export{ue as default}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/ToolCreateView-BGgtRypT.js +import{a as y,E as h}from"./el-form-item-Bq0n_p5a.js";import{E as B}from"./index-h5FkzAP_.js";import{E as R}from"./index-BNsCyG4A.js";import{d as S,G as I,e as N,w as l,j as g,z as O,o as m,s as o,q as v,c as x,ad as U,n as V,f as q,bx as F,M as L,x as b,aa as M,A as w,y as j,v as z,ac as D}from"./index-Ds9AETjS.js";import{P}from"./PageCard-CV3p14-x.js";import{u as A}from"./tools-s3Et6p-2.js";import{_ as G}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./castArray-BWI4UxBy.js";import"./_baseClone-CZxxnGCv.js";import"./raf-zQ00nuMI.js";import"./index-B0if-AHo.js";import"./index-BSbCLbaz.js";import"./el-card-D86TXgMv.js";const $={class:"icon-grid"},H=["onClick"],J=S({__name:"ToolCreateView",setup(K){const d=D(),p=z(),n=A(),i=j(),s=g(()=>d.params.id!=null),c=g(()=>s.value?n.getTool(d.params.id):void 0),e=O({id:"",name:"",description:"",url:"",icon:"fa-cog"}),C={name:[{required:!0,message:"请输入工具名称",trigger:"blur"},{max:30,message:"不超过 30 字符",trigger:"blur"}],url:[{required:!0,message:"请输入跳转地址",trigger:"blur"}]};function k(){i.value&&i.value.validate(f=>{f&&(s.value?(n.updateTool(e.id,{...e}),w.success("更新成功")):(n.addTool({...e,id:"custom_"+Date.now()}),w.success("添加成功")),p.push("/tools"))})}function E(){p.back()}return I(()=>{c.value&&Object.assign(e,c.value)}),(f,a)=>{const u=B,r=y,_=R,T=h;return m(),N(P,{title:s.value?"编辑自定义工具":"添加自定义工具"},{default:l(()=>[o(T,{ref_key:"formRef",ref:i,model:e,rules:C,"label-width":"100px",style:{"max-width":"600px"}},{default:l(()=>[o(r,{label:"工具名称",prop:"name"},{default:l(()=>[o(u,{modelValue:e.name,"onUpdate:modelValue":a[0]||(a[0]=t=>e.name=t),placeholder:"请输入工具名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),_:1}),o(r,{label:"工具描述"},{default:l(()=>[o(u,{modelValue:e.description,"onUpdate:modelValue":a[1]||(a[1]=t=>e.description=t),type:"textarea",rows:2,maxlength:"100","show-word-limit":""},null,8,["modelValue"])]),_:1}),o(r,{label:"跳转地址",prop:"url"},{default:l(()=>[o(u,{modelValue:e.url,"onUpdate:modelValue":a[2]||(a[2]=t=>e.url=t),placeholder:"相对路径或完整 URL"},null,8,["modelValue"])]),_:1}),o(r,{label:"图标"},{default:l(()=>[v("div",$,[(m(!0),x(L,null,U(q(F),t=>(m(),x("div",{key:t,class:V(["icon-option",{selected:e.icon===t}]),onClick:Q=>e.icon=t},[v("i",{class:V(["fa",t])},null,2)],10,H))),128))])]),_:1}),o(r,null,{default:l(()=>[o(_,{type:"primary",onClick:k},{default:l(()=>[b(M(s.value?"保存":"添加"),1)]),_:1}),o(_,{onClick:E},{default:l(()=>[...a[3]||(a[3]=[b("取消",-1)])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["title"])}}}),ue=G(J,[["__scopeId","data-v-9116c5de"]]);export{ue as default}; +======== +import{a as y,E as h}from"./el-form-item-BA3ZlfqF.js";import{E as B}from"./index-zJ9bqPrh.js";import{E as R}from"./index-D23K2h6y.js";import{d as S,G as I,e as N,w as l,j as g,z as O,o as m,s as o,q as v,c as x,ad as U,n as V,f as q,bx as F,M as L,x as b,aa as M,A as w,y as j,v as z,ac as D}from"./index-CxbBjZKo.js";import{P}from"./PageCard-CC9cofwx.js";import{u as A}from"./tools-DNEgEZeS.js";import{_ as G}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./castArray-CwVgzdTt.js";import"./_baseClone-B6d4qZbo.js";import"./raf-Bjl8yy5U.js";import"./index-C4wGR5UT.js";import"./index-DxP0p4ch.js";import"./el-card-BsCFVTSD.js";const $={class:"icon-grid"},H=["onClick"],J=S({__name:"ToolCreateView",setup(K){const d=D(),p=z(),n=A(),i=j(),s=g(()=>d.params.id!=null),c=g(()=>s.value?n.getTool(d.params.id):void 0),e=O({id:"",name:"",description:"",url:"",icon:"fa-cog"}),C={name:[{required:!0,message:"请输入工具名称",trigger:"blur"},{max:30,message:"不超过 30 字符",trigger:"blur"}],url:[{required:!0,message:"请输入跳转地址",trigger:"blur"}]};function k(){i.value&&i.value.validate(f=>{f&&(s.value?(n.updateTool(e.id,{...e}),w.success("更新成功")):(n.addTool({...e,id:"custom_"+Date.now()}),w.success("添加成功")),p.push("/tools"))})}function E(){p.back()}return I(()=>{c.value&&Object.assign(e,c.value)}),(f,a)=>{const u=B,r=y,_=R,T=h;return m(),N(P,{title:s.value?"编辑自定义工具":"添加自定义工具"},{default:l(()=>[o(T,{ref_key:"formRef",ref:i,model:e,rules:C,"label-width":"100px",style:{"max-width":"600px"}},{default:l(()=>[o(r,{label:"工具名称",prop:"name"},{default:l(()=>[o(u,{modelValue:e.name,"onUpdate:modelValue":a[0]||(a[0]=t=>e.name=t),placeholder:"请输入工具名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),_:1}),o(r,{label:"工具描述"},{default:l(()=>[o(u,{modelValue:e.description,"onUpdate:modelValue":a[1]||(a[1]=t=>e.description=t),type:"textarea",rows:2,maxlength:"100","show-word-limit":""},null,8,["modelValue"])]),_:1}),o(r,{label:"跳转地址",prop:"url"},{default:l(()=>[o(u,{modelValue:e.url,"onUpdate:modelValue":a[2]||(a[2]=t=>e.url=t),placeholder:"相对路径或完整 URL"},null,8,["modelValue"])]),_:1}),o(r,{label:"图标"},{default:l(()=>[v("div",$,[(m(!0),x(L,null,U(q(F),t=>(m(),x("div",{key:t,class:V(["icon-option",{selected:e.icon===t}]),onClick:Q=>e.icon=t},[v("i",{class:V(["fa",t])},null,2)],10,H))),128))])]),_:1}),o(r,null,{default:l(()=>[o(_,{type:"primary",onClick:k},{default:l(()=>[b(M(s.value?"保存":"添加"),1)]),_:1}),o(_,{onClick:E},{default:l(()=>[...a[3]||(a[3]=[b("取消",-1)])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["title"])}}}),ue=G(J,[["__scopeId","data-v-249def81"]]);export{ue as default}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/ToolCreateView-CsnoBuBA.js diff --git a/frontend/dist/assets/ToolsView-CbkbUKba.css b/frontend/dist/assets/ToolsView-B-CVG2uO.css similarity index 98% rename from frontend/dist/assets/ToolsView-CbkbUKba.css rename to frontend/dist/assets/ToolsView-B-CVG2uO.css index 62a2650..fa798ae 100644 --- a/frontend/dist/assets/ToolsView-CbkbUKba.css +++ b/frontend/dist/assets/ToolsView-B-CVG2uO.css @@ -1 +1 @@ -.el-row{box-sizing:border-box;flex-wrap:wrap;display:flex;position:relative}.el-row.is-justify-center{justify-content:center}.el-row.is-justify-end{justify-content:flex-end}.el-row.is-justify-space-between{justify-content:space-between}.el-row.is-justify-space-around{justify-content:space-around}.el-row.is-justify-space-evenly{justify-content:space-evenly}.el-row.is-align-top{align-items:flex-start}.el-row.is-align-middle{align-items:center}.el-row.is-align-bottom{align-items:flex-end}[class*=el-col-]{box-sizing:border-box}[class*=el-col-].is-guttered{min-height:1px;display:block}.el-col-0{flex:0 0;max-width:0%;display:none}.el-col-0.is-guttered{display:none}.el-col-offset-0{margin-left:0%}.el-col-pull-0{position:relative;right:0%}.el-col-push-0{position:relative;left:0%}.el-col-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-1.is-guttered{display:block}.el-col-offset-1{margin-left:4.16667%}.el-col-pull-1{position:relative;right:4.16667%}.el-col-push-1{position:relative;left:4.16667%}.el-col-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-2.is-guttered{display:block}.el-col-offset-2{margin-left:8.33333%}.el-col-pull-2{position:relative;right:8.33333%}.el-col-push-2{position:relative;left:8.33333%}.el-col-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-3.is-guttered{display:block}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{position:relative;right:12.5%}.el-col-push-3{position:relative;left:12.5%}.el-col-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-4.is-guttered{display:block}.el-col-offset-4{margin-left:16.6667%}.el-col-pull-4{position:relative;right:16.6667%}.el-col-push-4{position:relative;left:16.6667%}.el-col-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-5.is-guttered{display:block}.el-col-offset-5{margin-left:20.8333%}.el-col-pull-5{position:relative;right:20.8333%}.el-col-push-5{position:relative;left:20.8333%}.el-col-6{flex:0 0 25%;max-width:25%;display:block}.el-col-6.is-guttered{display:block}.el-col-offset-6{margin-left:25%}.el-col-pull-6{position:relative;right:25%}.el-col-push-6{position:relative;left:25%}.el-col-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-7.is-guttered{display:block}.el-col-offset-7{margin-left:29.1667%}.el-col-pull-7{position:relative;right:29.1667%}.el-col-push-7{position:relative;left:29.1667%}.el-col-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-8.is-guttered{display:block}.el-col-offset-8{margin-left:33.3333%}.el-col-pull-8{position:relative;right:33.3333%}.el-col-push-8{position:relative;left:33.3333%}.el-col-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-9.is-guttered{display:block}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{position:relative;right:37.5%}.el-col-push-9{position:relative;left:37.5%}.el-col-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-10.is-guttered{display:block}.el-col-offset-10{margin-left:41.6667%}.el-col-pull-10{position:relative;right:41.6667%}.el-col-push-10{position:relative;left:41.6667%}.el-col-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-11.is-guttered{display:block}.el-col-offset-11{margin-left:45.8333%}.el-col-pull-11{position:relative;right:45.8333%}.el-col-push-11{position:relative;left:45.8333%}.el-col-12{flex:0 0 50%;max-width:50%;display:block}.el-col-12.is-guttered{display:block}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{position:relative;left:50%}.el-col-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-13.is-guttered{display:block}.el-col-offset-13{margin-left:54.1667%}.el-col-pull-13{position:relative;right:54.1667%}.el-col-push-13{position:relative;left:54.1667%}.el-col-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-14.is-guttered{display:block}.el-col-offset-14{margin-left:58.3333%}.el-col-pull-14{position:relative;right:58.3333%}.el-col-push-14{position:relative;left:58.3333%}.el-col-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-15.is-guttered{display:block}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{position:relative;right:62.5%}.el-col-push-15{position:relative;left:62.5%}.el-col-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-16.is-guttered{display:block}.el-col-offset-16{margin-left:66.6667%}.el-col-pull-16{position:relative;right:66.6667%}.el-col-push-16{position:relative;left:66.6667%}.el-col-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-17.is-guttered{display:block}.el-col-offset-17{margin-left:70.8333%}.el-col-pull-17{position:relative;right:70.8333%}.el-col-push-17{position:relative;left:70.8333%}.el-col-18{flex:0 0 75%;max-width:75%;display:block}.el-col-18.is-guttered{display:block}.el-col-offset-18{margin-left:75%}.el-col-pull-18{position:relative;right:75%}.el-col-push-18{position:relative;left:75%}.el-col-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-19.is-guttered{display:block}.el-col-offset-19{margin-left:79.1667%}.el-col-pull-19{position:relative;right:79.1667%}.el-col-push-19{position:relative;left:79.1667%}.el-col-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-20.is-guttered{display:block}.el-col-offset-20{margin-left:83.3333%}.el-col-pull-20{position:relative;right:83.3333%}.el-col-push-20{position:relative;left:83.3333%}.el-col-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-21.is-guttered{display:block}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{position:relative;right:87.5%}.el-col-push-21{position:relative;left:87.5%}.el-col-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-22.is-guttered{display:block}.el-col-offset-22{margin-left:91.6667%}.el-col-pull-22{position:relative;right:91.6667%}.el-col-push-22{position:relative;left:91.6667%}.el-col-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-23.is-guttered{display:block}.el-col-offset-23{margin-left:95.8333%}.el-col-pull-23{position:relative;right:95.8333%}.el-col-push-23{position:relative;left:95.8333%}.el-col-24{flex:0 0 100%;max-width:100%;display:block}.el-col-24.is-guttered{display:block}.el-col-offset-24{margin-left:100%}.el-col-pull-24{position:relative;right:100%}.el-col-push-24{position:relative;left:100%}@media only screen and (max-width:767px){.el-col-xs-0{flex:0 0;max-width:0%;display:none}.el-col-xs-0.is-guttered{display:none}.el-col-xs-offset-0{margin-left:0%}.el-col-xs-pull-0{position:relative;right:0%}.el-col-xs-push-0{position:relative;left:0%}.el-col-xs-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-xs-1.is-guttered{display:block}.el-col-xs-offset-1{margin-left:4.16667%}.el-col-xs-pull-1{position:relative;right:4.16667%}.el-col-xs-push-1{position:relative;left:4.16667%}.el-col-xs-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-xs-2.is-guttered{display:block}.el-col-xs-offset-2{margin-left:8.33333%}.el-col-xs-pull-2{position:relative;right:8.33333%}.el-col-xs-push-2{position:relative;left:8.33333%}.el-col-xs-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-xs-3.is-guttered{display:block}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{position:relative;left:12.5%}.el-col-xs-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-xs-4.is-guttered{display:block}.el-col-xs-offset-4{margin-left:16.6667%}.el-col-xs-pull-4{position:relative;right:16.6667%}.el-col-xs-push-4{position:relative;left:16.6667%}.el-col-xs-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-xs-5.is-guttered{display:block}.el-col-xs-offset-5{margin-left:20.8333%}.el-col-xs-pull-5{position:relative;right:20.8333%}.el-col-xs-push-5{position:relative;left:20.8333%}.el-col-xs-6{flex:0 0 25%;max-width:25%;display:block}.el-col-xs-6.is-guttered{display:block}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{position:relative;left:25%}.el-col-xs-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-xs-7.is-guttered{display:block}.el-col-xs-offset-7{margin-left:29.1667%}.el-col-xs-pull-7{position:relative;right:29.1667%}.el-col-xs-push-7{position:relative;left:29.1667%}.el-col-xs-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-xs-8.is-guttered{display:block}.el-col-xs-offset-8{margin-left:33.3333%}.el-col-xs-pull-8{position:relative;right:33.3333%}.el-col-xs-push-8{position:relative;left:33.3333%}.el-col-xs-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-xs-9.is-guttered{display:block}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{position:relative;left:37.5%}.el-col-xs-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-xs-10.is-guttered{display:block}.el-col-xs-offset-10{margin-left:41.6667%}.el-col-xs-pull-10{position:relative;right:41.6667%}.el-col-xs-push-10{position:relative;left:41.6667%}.el-col-xs-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-xs-11.is-guttered{display:block}.el-col-xs-offset-11{margin-left:45.8333%}.el-col-xs-pull-11{position:relative;right:45.8333%}.el-col-xs-push-11{position:relative;left:45.8333%}.el-col-xs-12{flex:0 0 50%;max-width:50%;display:block}.el-col-xs-12.is-guttered{display:block}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{position:relative;left:50%}.el-col-xs-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-xs-13.is-guttered{display:block}.el-col-xs-offset-13{margin-left:54.1667%}.el-col-xs-pull-13{position:relative;right:54.1667%}.el-col-xs-push-13{position:relative;left:54.1667%}.el-col-xs-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-xs-14.is-guttered{display:block}.el-col-xs-offset-14{margin-left:58.3333%}.el-col-xs-pull-14{position:relative;right:58.3333%}.el-col-xs-push-14{position:relative;left:58.3333%}.el-col-xs-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-xs-15.is-guttered{display:block}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{position:relative;left:62.5%}.el-col-xs-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-xs-16.is-guttered{display:block}.el-col-xs-offset-16{margin-left:66.6667%}.el-col-xs-pull-16{position:relative;right:66.6667%}.el-col-xs-push-16{position:relative;left:66.6667%}.el-col-xs-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-xs-17.is-guttered{display:block}.el-col-xs-offset-17{margin-left:70.8333%}.el-col-xs-pull-17{position:relative;right:70.8333%}.el-col-xs-push-17{position:relative;left:70.8333%}.el-col-xs-18{flex:0 0 75%;max-width:75%;display:block}.el-col-xs-18.is-guttered{display:block}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{position:relative;left:75%}.el-col-xs-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-xs-19.is-guttered{display:block}.el-col-xs-offset-19{margin-left:79.1667%}.el-col-xs-pull-19{position:relative;right:79.1667%}.el-col-xs-push-19{position:relative;left:79.1667%}.el-col-xs-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-xs-20.is-guttered{display:block}.el-col-xs-offset-20{margin-left:83.3333%}.el-col-xs-pull-20{position:relative;right:83.3333%}.el-col-xs-push-20{position:relative;left:83.3333%}.el-col-xs-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-xs-21.is-guttered{display:block}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{position:relative;left:87.5%}.el-col-xs-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-xs-22.is-guttered{display:block}.el-col-xs-offset-22{margin-left:91.6667%}.el-col-xs-pull-22{position:relative;right:91.6667%}.el-col-xs-push-22{position:relative;left:91.6667%}.el-col-xs-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-xs-23.is-guttered{display:block}.el-col-xs-offset-23{margin-left:95.8333%}.el-col-xs-pull-23{position:relative;right:95.8333%}.el-col-xs-push-23{position:relative;left:95.8333%}.el-col-xs-24{flex:0 0 100%;max-width:100%;display:block}.el-col-xs-24.is-guttered{display:block}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{position:relative;left:100%}}@media only screen and (min-width:768px){.el-col-sm-0{flex:0 0;max-width:0%;display:none}.el-col-sm-0.is-guttered{display:none}.el-col-sm-offset-0{margin-left:0%}.el-col-sm-pull-0{position:relative;right:0%}.el-col-sm-push-0{position:relative;left:0%}.el-col-sm-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-sm-1.is-guttered{display:block}.el-col-sm-offset-1{margin-left:4.16667%}.el-col-sm-pull-1{position:relative;right:4.16667%}.el-col-sm-push-1{position:relative;left:4.16667%}.el-col-sm-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-sm-2.is-guttered{display:block}.el-col-sm-offset-2{margin-left:8.33333%}.el-col-sm-pull-2{position:relative;right:8.33333%}.el-col-sm-push-2{position:relative;left:8.33333%}.el-col-sm-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-sm-3.is-guttered{display:block}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{position:relative;left:12.5%}.el-col-sm-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-sm-4.is-guttered{display:block}.el-col-sm-offset-4{margin-left:16.6667%}.el-col-sm-pull-4{position:relative;right:16.6667%}.el-col-sm-push-4{position:relative;left:16.6667%}.el-col-sm-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-sm-5.is-guttered{display:block}.el-col-sm-offset-5{margin-left:20.8333%}.el-col-sm-pull-5{position:relative;right:20.8333%}.el-col-sm-push-5{position:relative;left:20.8333%}.el-col-sm-6{flex:0 0 25%;max-width:25%;display:block}.el-col-sm-6.is-guttered{display:block}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{position:relative;left:25%}.el-col-sm-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-sm-7.is-guttered{display:block}.el-col-sm-offset-7{margin-left:29.1667%}.el-col-sm-pull-7{position:relative;right:29.1667%}.el-col-sm-push-7{position:relative;left:29.1667%}.el-col-sm-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-sm-8.is-guttered{display:block}.el-col-sm-offset-8{margin-left:33.3333%}.el-col-sm-pull-8{position:relative;right:33.3333%}.el-col-sm-push-8{position:relative;left:33.3333%}.el-col-sm-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-sm-9.is-guttered{display:block}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{position:relative;left:37.5%}.el-col-sm-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-sm-10.is-guttered{display:block}.el-col-sm-offset-10{margin-left:41.6667%}.el-col-sm-pull-10{position:relative;right:41.6667%}.el-col-sm-push-10{position:relative;left:41.6667%}.el-col-sm-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-sm-11.is-guttered{display:block}.el-col-sm-offset-11{margin-left:45.8333%}.el-col-sm-pull-11{position:relative;right:45.8333%}.el-col-sm-push-11{position:relative;left:45.8333%}.el-col-sm-12{flex:0 0 50%;max-width:50%;display:block}.el-col-sm-12.is-guttered{display:block}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{position:relative;left:50%}.el-col-sm-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-sm-13.is-guttered{display:block}.el-col-sm-offset-13{margin-left:54.1667%}.el-col-sm-pull-13{position:relative;right:54.1667%}.el-col-sm-push-13{position:relative;left:54.1667%}.el-col-sm-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-sm-14.is-guttered{display:block}.el-col-sm-offset-14{margin-left:58.3333%}.el-col-sm-pull-14{position:relative;right:58.3333%}.el-col-sm-push-14{position:relative;left:58.3333%}.el-col-sm-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-sm-15.is-guttered{display:block}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{position:relative;left:62.5%}.el-col-sm-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-sm-16.is-guttered{display:block}.el-col-sm-offset-16{margin-left:66.6667%}.el-col-sm-pull-16{position:relative;right:66.6667%}.el-col-sm-push-16{position:relative;left:66.6667%}.el-col-sm-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-sm-17.is-guttered{display:block}.el-col-sm-offset-17{margin-left:70.8333%}.el-col-sm-pull-17{position:relative;right:70.8333%}.el-col-sm-push-17{position:relative;left:70.8333%}.el-col-sm-18{flex:0 0 75%;max-width:75%;display:block}.el-col-sm-18.is-guttered{display:block}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{position:relative;left:75%}.el-col-sm-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-sm-19.is-guttered{display:block}.el-col-sm-offset-19{margin-left:79.1667%}.el-col-sm-pull-19{position:relative;right:79.1667%}.el-col-sm-push-19{position:relative;left:79.1667%}.el-col-sm-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-sm-20.is-guttered{display:block}.el-col-sm-offset-20{margin-left:83.3333%}.el-col-sm-pull-20{position:relative;right:83.3333%}.el-col-sm-push-20{position:relative;left:83.3333%}.el-col-sm-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-sm-21.is-guttered{display:block}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{position:relative;left:87.5%}.el-col-sm-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-sm-22.is-guttered{display:block}.el-col-sm-offset-22{margin-left:91.6667%}.el-col-sm-pull-22{position:relative;right:91.6667%}.el-col-sm-push-22{position:relative;left:91.6667%}.el-col-sm-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-sm-23.is-guttered{display:block}.el-col-sm-offset-23{margin-left:95.8333%}.el-col-sm-pull-23{position:relative;right:95.8333%}.el-col-sm-push-23{position:relative;left:95.8333%}.el-col-sm-24{flex:0 0 100%;max-width:100%;display:block}.el-col-sm-24.is-guttered{display:block}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{position:relative;left:100%}}@media only screen and (min-width:992px){.el-col-md-0{flex:0 0;max-width:0%;display:none}.el-col-md-0.is-guttered{display:none}.el-col-md-offset-0{margin-left:0%}.el-col-md-pull-0{position:relative;right:0%}.el-col-md-push-0{position:relative;left:0%}.el-col-md-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-md-1.is-guttered{display:block}.el-col-md-offset-1{margin-left:4.16667%}.el-col-md-pull-1{position:relative;right:4.16667%}.el-col-md-push-1{position:relative;left:4.16667%}.el-col-md-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-md-2.is-guttered{display:block}.el-col-md-offset-2{margin-left:8.33333%}.el-col-md-pull-2{position:relative;right:8.33333%}.el-col-md-push-2{position:relative;left:8.33333%}.el-col-md-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-md-3.is-guttered{display:block}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{position:relative;left:12.5%}.el-col-md-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-md-4.is-guttered{display:block}.el-col-md-offset-4{margin-left:16.6667%}.el-col-md-pull-4{position:relative;right:16.6667%}.el-col-md-push-4{position:relative;left:16.6667%}.el-col-md-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-md-5.is-guttered{display:block}.el-col-md-offset-5{margin-left:20.8333%}.el-col-md-pull-5{position:relative;right:20.8333%}.el-col-md-push-5{position:relative;left:20.8333%}.el-col-md-6{flex:0 0 25%;max-width:25%;display:block}.el-col-md-6.is-guttered{display:block}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{position:relative;left:25%}.el-col-md-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-md-7.is-guttered{display:block}.el-col-md-offset-7{margin-left:29.1667%}.el-col-md-pull-7{position:relative;right:29.1667%}.el-col-md-push-7{position:relative;left:29.1667%}.el-col-md-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-md-8.is-guttered{display:block}.el-col-md-offset-8{margin-left:33.3333%}.el-col-md-pull-8{position:relative;right:33.3333%}.el-col-md-push-8{position:relative;left:33.3333%}.el-col-md-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-md-9.is-guttered{display:block}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{position:relative;left:37.5%}.el-col-md-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-md-10.is-guttered{display:block}.el-col-md-offset-10{margin-left:41.6667%}.el-col-md-pull-10{position:relative;right:41.6667%}.el-col-md-push-10{position:relative;left:41.6667%}.el-col-md-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-md-11.is-guttered{display:block}.el-col-md-offset-11{margin-left:45.8333%}.el-col-md-pull-11{position:relative;right:45.8333%}.el-col-md-push-11{position:relative;left:45.8333%}.el-col-md-12{flex:0 0 50%;max-width:50%;display:block}.el-col-md-12.is-guttered{display:block}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{position:relative;left:50%}.el-col-md-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-md-13.is-guttered{display:block}.el-col-md-offset-13{margin-left:54.1667%}.el-col-md-pull-13{position:relative;right:54.1667%}.el-col-md-push-13{position:relative;left:54.1667%}.el-col-md-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-md-14.is-guttered{display:block}.el-col-md-offset-14{margin-left:58.3333%}.el-col-md-pull-14{position:relative;right:58.3333%}.el-col-md-push-14{position:relative;left:58.3333%}.el-col-md-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-md-15.is-guttered{display:block}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{position:relative;left:62.5%}.el-col-md-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-md-16.is-guttered{display:block}.el-col-md-offset-16{margin-left:66.6667%}.el-col-md-pull-16{position:relative;right:66.6667%}.el-col-md-push-16{position:relative;left:66.6667%}.el-col-md-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-md-17.is-guttered{display:block}.el-col-md-offset-17{margin-left:70.8333%}.el-col-md-pull-17{position:relative;right:70.8333%}.el-col-md-push-17{position:relative;left:70.8333%}.el-col-md-18{flex:0 0 75%;max-width:75%;display:block}.el-col-md-18.is-guttered{display:block}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{position:relative;left:75%}.el-col-md-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-md-19.is-guttered{display:block}.el-col-md-offset-19{margin-left:79.1667%}.el-col-md-pull-19{position:relative;right:79.1667%}.el-col-md-push-19{position:relative;left:79.1667%}.el-col-md-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-md-20.is-guttered{display:block}.el-col-md-offset-20{margin-left:83.3333%}.el-col-md-pull-20{position:relative;right:83.3333%}.el-col-md-push-20{position:relative;left:83.3333%}.el-col-md-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-md-21.is-guttered{display:block}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{position:relative;left:87.5%}.el-col-md-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-md-22.is-guttered{display:block}.el-col-md-offset-22{margin-left:91.6667%}.el-col-md-pull-22{position:relative;right:91.6667%}.el-col-md-push-22{position:relative;left:91.6667%}.el-col-md-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-md-23.is-guttered{display:block}.el-col-md-offset-23{margin-left:95.8333%}.el-col-md-pull-23{position:relative;right:95.8333%}.el-col-md-push-23{position:relative;left:95.8333%}.el-col-md-24{flex:0 0 100%;max-width:100%;display:block}.el-col-md-24.is-guttered{display:block}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{position:relative;left:100%}}@media only screen and (min-width:1200px){.el-col-lg-0{flex:0 0;max-width:0%;display:none}.el-col-lg-0.is-guttered{display:none}.el-col-lg-offset-0{margin-left:0%}.el-col-lg-pull-0{position:relative;right:0%}.el-col-lg-push-0{position:relative;left:0%}.el-col-lg-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-lg-1.is-guttered{display:block}.el-col-lg-offset-1{margin-left:4.16667%}.el-col-lg-pull-1{position:relative;right:4.16667%}.el-col-lg-push-1{position:relative;left:4.16667%}.el-col-lg-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-lg-2.is-guttered{display:block}.el-col-lg-offset-2{margin-left:8.33333%}.el-col-lg-pull-2{position:relative;right:8.33333%}.el-col-lg-push-2{position:relative;left:8.33333%}.el-col-lg-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-lg-3.is-guttered{display:block}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{position:relative;left:12.5%}.el-col-lg-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-lg-4.is-guttered{display:block}.el-col-lg-offset-4{margin-left:16.6667%}.el-col-lg-pull-4{position:relative;right:16.6667%}.el-col-lg-push-4{position:relative;left:16.6667%}.el-col-lg-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-lg-5.is-guttered{display:block}.el-col-lg-offset-5{margin-left:20.8333%}.el-col-lg-pull-5{position:relative;right:20.8333%}.el-col-lg-push-5{position:relative;left:20.8333%}.el-col-lg-6{flex:0 0 25%;max-width:25%;display:block}.el-col-lg-6.is-guttered{display:block}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{position:relative;left:25%}.el-col-lg-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-lg-7.is-guttered{display:block}.el-col-lg-offset-7{margin-left:29.1667%}.el-col-lg-pull-7{position:relative;right:29.1667%}.el-col-lg-push-7{position:relative;left:29.1667%}.el-col-lg-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-lg-8.is-guttered{display:block}.el-col-lg-offset-8{margin-left:33.3333%}.el-col-lg-pull-8{position:relative;right:33.3333%}.el-col-lg-push-8{position:relative;left:33.3333%}.el-col-lg-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-lg-9.is-guttered{display:block}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{position:relative;left:37.5%}.el-col-lg-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-lg-10.is-guttered{display:block}.el-col-lg-offset-10{margin-left:41.6667%}.el-col-lg-pull-10{position:relative;right:41.6667%}.el-col-lg-push-10{position:relative;left:41.6667%}.el-col-lg-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-lg-11.is-guttered{display:block}.el-col-lg-offset-11{margin-left:45.8333%}.el-col-lg-pull-11{position:relative;right:45.8333%}.el-col-lg-push-11{position:relative;left:45.8333%}.el-col-lg-12{flex:0 0 50%;max-width:50%;display:block}.el-col-lg-12.is-guttered{display:block}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{position:relative;left:50%}.el-col-lg-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-lg-13.is-guttered{display:block}.el-col-lg-offset-13{margin-left:54.1667%}.el-col-lg-pull-13{position:relative;right:54.1667%}.el-col-lg-push-13{position:relative;left:54.1667%}.el-col-lg-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-lg-14.is-guttered{display:block}.el-col-lg-offset-14{margin-left:58.3333%}.el-col-lg-pull-14{position:relative;right:58.3333%}.el-col-lg-push-14{position:relative;left:58.3333%}.el-col-lg-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-lg-15.is-guttered{display:block}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{position:relative;left:62.5%}.el-col-lg-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-lg-16.is-guttered{display:block}.el-col-lg-offset-16{margin-left:66.6667%}.el-col-lg-pull-16{position:relative;right:66.6667%}.el-col-lg-push-16{position:relative;left:66.6667%}.el-col-lg-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-lg-17.is-guttered{display:block}.el-col-lg-offset-17{margin-left:70.8333%}.el-col-lg-pull-17{position:relative;right:70.8333%}.el-col-lg-push-17{position:relative;left:70.8333%}.el-col-lg-18{flex:0 0 75%;max-width:75%;display:block}.el-col-lg-18.is-guttered{display:block}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{position:relative;left:75%}.el-col-lg-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-lg-19.is-guttered{display:block}.el-col-lg-offset-19{margin-left:79.1667%}.el-col-lg-pull-19{position:relative;right:79.1667%}.el-col-lg-push-19{position:relative;left:79.1667%}.el-col-lg-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-lg-20.is-guttered{display:block}.el-col-lg-offset-20{margin-left:83.3333%}.el-col-lg-pull-20{position:relative;right:83.3333%}.el-col-lg-push-20{position:relative;left:83.3333%}.el-col-lg-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-lg-21.is-guttered{display:block}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{position:relative;left:87.5%}.el-col-lg-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-lg-22.is-guttered{display:block}.el-col-lg-offset-22{margin-left:91.6667%}.el-col-lg-pull-22{position:relative;right:91.6667%}.el-col-lg-push-22{position:relative;left:91.6667%}.el-col-lg-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-lg-23.is-guttered{display:block}.el-col-lg-offset-23{margin-left:95.8333%}.el-col-lg-pull-23{position:relative;right:95.8333%}.el-col-lg-push-23{position:relative;left:95.8333%}.el-col-lg-24{flex:0 0 100%;max-width:100%;display:block}.el-col-lg-24.is-guttered{display:block}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{position:relative;left:100%}}@media only screen and (min-width:1920px){.el-col-xl-0{flex:0 0;max-width:0%;display:none}.el-col-xl-0.is-guttered{display:none}.el-col-xl-offset-0{margin-left:0%}.el-col-xl-pull-0{position:relative;right:0%}.el-col-xl-push-0{position:relative;left:0%}.el-col-xl-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-xl-1.is-guttered{display:block}.el-col-xl-offset-1{margin-left:4.16667%}.el-col-xl-pull-1{position:relative;right:4.16667%}.el-col-xl-push-1{position:relative;left:4.16667%}.el-col-xl-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-xl-2.is-guttered{display:block}.el-col-xl-offset-2{margin-left:8.33333%}.el-col-xl-pull-2{position:relative;right:8.33333%}.el-col-xl-push-2{position:relative;left:8.33333%}.el-col-xl-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-xl-3.is-guttered{display:block}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{position:relative;left:12.5%}.el-col-xl-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-xl-4.is-guttered{display:block}.el-col-xl-offset-4{margin-left:16.6667%}.el-col-xl-pull-4{position:relative;right:16.6667%}.el-col-xl-push-4{position:relative;left:16.6667%}.el-col-xl-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-xl-5.is-guttered{display:block}.el-col-xl-offset-5{margin-left:20.8333%}.el-col-xl-pull-5{position:relative;right:20.8333%}.el-col-xl-push-5{position:relative;left:20.8333%}.el-col-xl-6{flex:0 0 25%;max-width:25%;display:block}.el-col-xl-6.is-guttered{display:block}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{position:relative;left:25%}.el-col-xl-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-xl-7.is-guttered{display:block}.el-col-xl-offset-7{margin-left:29.1667%}.el-col-xl-pull-7{position:relative;right:29.1667%}.el-col-xl-push-7{position:relative;left:29.1667%}.el-col-xl-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-xl-8.is-guttered{display:block}.el-col-xl-offset-8{margin-left:33.3333%}.el-col-xl-pull-8{position:relative;right:33.3333%}.el-col-xl-push-8{position:relative;left:33.3333%}.el-col-xl-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-xl-9.is-guttered{display:block}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{position:relative;left:37.5%}.el-col-xl-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-xl-10.is-guttered{display:block}.el-col-xl-offset-10{margin-left:41.6667%}.el-col-xl-pull-10{position:relative;right:41.6667%}.el-col-xl-push-10{position:relative;left:41.6667%}.el-col-xl-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-xl-11.is-guttered{display:block}.el-col-xl-offset-11{margin-left:45.8333%}.el-col-xl-pull-11{position:relative;right:45.8333%}.el-col-xl-push-11{position:relative;left:45.8333%}.el-col-xl-12{flex:0 0 50%;max-width:50%;display:block}.el-col-xl-12.is-guttered{display:block}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{position:relative;left:50%}.el-col-xl-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-xl-13.is-guttered{display:block}.el-col-xl-offset-13{margin-left:54.1667%}.el-col-xl-pull-13{position:relative;right:54.1667%}.el-col-xl-push-13{position:relative;left:54.1667%}.el-col-xl-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-xl-14.is-guttered{display:block}.el-col-xl-offset-14{margin-left:58.3333%}.el-col-xl-pull-14{position:relative;right:58.3333%}.el-col-xl-push-14{position:relative;left:58.3333%}.el-col-xl-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-xl-15.is-guttered{display:block}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{position:relative;left:62.5%}.el-col-xl-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-xl-16.is-guttered{display:block}.el-col-xl-offset-16{margin-left:66.6667%}.el-col-xl-pull-16{position:relative;right:66.6667%}.el-col-xl-push-16{position:relative;left:66.6667%}.el-col-xl-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-xl-17.is-guttered{display:block}.el-col-xl-offset-17{margin-left:70.8333%}.el-col-xl-pull-17{position:relative;right:70.8333%}.el-col-xl-push-17{position:relative;left:70.8333%}.el-col-xl-18{flex:0 0 75%;max-width:75%;display:block}.el-col-xl-18.is-guttered{display:block}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{position:relative;left:75%}.el-col-xl-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-xl-19.is-guttered{display:block}.el-col-xl-offset-19{margin-left:79.1667%}.el-col-xl-pull-19{position:relative;right:79.1667%}.el-col-xl-push-19{position:relative;left:79.1667%}.el-col-xl-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-xl-20.is-guttered{display:block}.el-col-xl-offset-20{margin-left:83.3333%}.el-col-xl-pull-20{position:relative;right:83.3333%}.el-col-xl-push-20{position:relative;left:83.3333%}.el-col-xl-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-xl-21.is-guttered{display:block}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{position:relative;left:87.5%}.el-col-xl-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-xl-22.is-guttered{display:block}.el-col-xl-offset-22{margin-left:91.6667%}.el-col-xl-pull-22{position:relative;right:91.6667%}.el-col-xl-push-22{position:relative;left:91.6667%}.el-col-xl-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-xl-23.is-guttered{display:block}.el-col-xl-offset-23{margin-left:95.8333%}.el-col-xl-pull-23{position:relative;right:95.8333%}.el-col-xl-push-23{position:relative;left:95.8333%}.el-col-xl-24{flex:0 0 100%;max-width:100%;display:block}.el-col-xl-24.is-guttered{display:block}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{position:relative;left:100%}}.section-title[data-v-891c28dc]{font-size:14px;font-weight:600;color:#606266;margin:0 0 16px;padding-bottom:8px;border-bottom:1px solid #ebeef5}.tool-card[data-v-891c28dc]{cursor:pointer;transition:all .2s;position:relative}.tool-card[data-v-891c28dc]:hover{border-color:#1890ff}.tool-card .tool-actions[data-v-891c28dc]{position:absolute;top:8px;right:8px;display:flex;gap:4px;opacity:0;transition:opacity .2s}.tool-card:hover .tool-actions[data-v-891c28dc]{opacity:1}.tool-card .tool-icon[data-v-891c28dc]{width:48px;height:48px;border-radius:8px;background:#1890ff1a;display:flex;align-items:center;justify-content:center;margin-bottom:12px}.tool-card .tool-icon i[data-v-891c28dc]{font-size:20px;color:#1890ff}.tool-card .tool-name[data-v-891c28dc]{font-size:15px;font-weight:500;color:#303133;margin:0 0 6px}.tool-card .tool-desc[data-v-891c28dc]{font-size:13px;color:#909399;margin:0} +.el-row{box-sizing:border-box;flex-wrap:wrap;display:flex;position:relative}.el-row.is-justify-center{justify-content:center}.el-row.is-justify-end{justify-content:flex-end}.el-row.is-justify-space-between{justify-content:space-between}.el-row.is-justify-space-around{justify-content:space-around}.el-row.is-justify-space-evenly{justify-content:space-evenly}.el-row.is-align-top{align-items:flex-start}.el-row.is-align-middle{align-items:center}.el-row.is-align-bottom{align-items:flex-end}[class*=el-col-]{box-sizing:border-box}[class*=el-col-].is-guttered{min-height:1px;display:block}.el-col-0{flex:0 0;max-width:0%;display:none}.el-col-0.is-guttered{display:none}.el-col-offset-0{margin-left:0%}.el-col-pull-0{position:relative;right:0%}.el-col-push-0{position:relative;left:0%}.el-col-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-1.is-guttered{display:block}.el-col-offset-1{margin-left:4.16667%}.el-col-pull-1{position:relative;right:4.16667%}.el-col-push-1{position:relative;left:4.16667%}.el-col-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-2.is-guttered{display:block}.el-col-offset-2{margin-left:8.33333%}.el-col-pull-2{position:relative;right:8.33333%}.el-col-push-2{position:relative;left:8.33333%}.el-col-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-3.is-guttered{display:block}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{position:relative;right:12.5%}.el-col-push-3{position:relative;left:12.5%}.el-col-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-4.is-guttered{display:block}.el-col-offset-4{margin-left:16.6667%}.el-col-pull-4{position:relative;right:16.6667%}.el-col-push-4{position:relative;left:16.6667%}.el-col-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-5.is-guttered{display:block}.el-col-offset-5{margin-left:20.8333%}.el-col-pull-5{position:relative;right:20.8333%}.el-col-push-5{position:relative;left:20.8333%}.el-col-6{flex:0 0 25%;max-width:25%;display:block}.el-col-6.is-guttered{display:block}.el-col-offset-6{margin-left:25%}.el-col-pull-6{position:relative;right:25%}.el-col-push-6{position:relative;left:25%}.el-col-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-7.is-guttered{display:block}.el-col-offset-7{margin-left:29.1667%}.el-col-pull-7{position:relative;right:29.1667%}.el-col-push-7{position:relative;left:29.1667%}.el-col-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-8.is-guttered{display:block}.el-col-offset-8{margin-left:33.3333%}.el-col-pull-8{position:relative;right:33.3333%}.el-col-push-8{position:relative;left:33.3333%}.el-col-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-9.is-guttered{display:block}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{position:relative;right:37.5%}.el-col-push-9{position:relative;left:37.5%}.el-col-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-10.is-guttered{display:block}.el-col-offset-10{margin-left:41.6667%}.el-col-pull-10{position:relative;right:41.6667%}.el-col-push-10{position:relative;left:41.6667%}.el-col-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-11.is-guttered{display:block}.el-col-offset-11{margin-left:45.8333%}.el-col-pull-11{position:relative;right:45.8333%}.el-col-push-11{position:relative;left:45.8333%}.el-col-12{flex:0 0 50%;max-width:50%;display:block}.el-col-12.is-guttered{display:block}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{position:relative;left:50%}.el-col-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-13.is-guttered{display:block}.el-col-offset-13{margin-left:54.1667%}.el-col-pull-13{position:relative;right:54.1667%}.el-col-push-13{position:relative;left:54.1667%}.el-col-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-14.is-guttered{display:block}.el-col-offset-14{margin-left:58.3333%}.el-col-pull-14{position:relative;right:58.3333%}.el-col-push-14{position:relative;left:58.3333%}.el-col-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-15.is-guttered{display:block}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{position:relative;right:62.5%}.el-col-push-15{position:relative;left:62.5%}.el-col-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-16.is-guttered{display:block}.el-col-offset-16{margin-left:66.6667%}.el-col-pull-16{position:relative;right:66.6667%}.el-col-push-16{position:relative;left:66.6667%}.el-col-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-17.is-guttered{display:block}.el-col-offset-17{margin-left:70.8333%}.el-col-pull-17{position:relative;right:70.8333%}.el-col-push-17{position:relative;left:70.8333%}.el-col-18{flex:0 0 75%;max-width:75%;display:block}.el-col-18.is-guttered{display:block}.el-col-offset-18{margin-left:75%}.el-col-pull-18{position:relative;right:75%}.el-col-push-18{position:relative;left:75%}.el-col-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-19.is-guttered{display:block}.el-col-offset-19{margin-left:79.1667%}.el-col-pull-19{position:relative;right:79.1667%}.el-col-push-19{position:relative;left:79.1667%}.el-col-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-20.is-guttered{display:block}.el-col-offset-20{margin-left:83.3333%}.el-col-pull-20{position:relative;right:83.3333%}.el-col-push-20{position:relative;left:83.3333%}.el-col-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-21.is-guttered{display:block}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{position:relative;right:87.5%}.el-col-push-21{position:relative;left:87.5%}.el-col-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-22.is-guttered{display:block}.el-col-offset-22{margin-left:91.6667%}.el-col-pull-22{position:relative;right:91.6667%}.el-col-push-22{position:relative;left:91.6667%}.el-col-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-23.is-guttered{display:block}.el-col-offset-23{margin-left:95.8333%}.el-col-pull-23{position:relative;right:95.8333%}.el-col-push-23{position:relative;left:95.8333%}.el-col-24{flex:0 0 100%;max-width:100%;display:block}.el-col-24.is-guttered{display:block}.el-col-offset-24{margin-left:100%}.el-col-pull-24{position:relative;right:100%}.el-col-push-24{position:relative;left:100%}@media only screen and (max-width:767px){.el-col-xs-0{flex:0 0;max-width:0%;display:none}.el-col-xs-0.is-guttered{display:none}.el-col-xs-offset-0{margin-left:0%}.el-col-xs-pull-0{position:relative;right:0%}.el-col-xs-push-0{position:relative;left:0%}.el-col-xs-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-xs-1.is-guttered{display:block}.el-col-xs-offset-1{margin-left:4.16667%}.el-col-xs-pull-1{position:relative;right:4.16667%}.el-col-xs-push-1{position:relative;left:4.16667%}.el-col-xs-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-xs-2.is-guttered{display:block}.el-col-xs-offset-2{margin-left:8.33333%}.el-col-xs-pull-2{position:relative;right:8.33333%}.el-col-xs-push-2{position:relative;left:8.33333%}.el-col-xs-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-xs-3.is-guttered{display:block}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{position:relative;left:12.5%}.el-col-xs-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-xs-4.is-guttered{display:block}.el-col-xs-offset-4{margin-left:16.6667%}.el-col-xs-pull-4{position:relative;right:16.6667%}.el-col-xs-push-4{position:relative;left:16.6667%}.el-col-xs-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-xs-5.is-guttered{display:block}.el-col-xs-offset-5{margin-left:20.8333%}.el-col-xs-pull-5{position:relative;right:20.8333%}.el-col-xs-push-5{position:relative;left:20.8333%}.el-col-xs-6{flex:0 0 25%;max-width:25%;display:block}.el-col-xs-6.is-guttered{display:block}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{position:relative;left:25%}.el-col-xs-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-xs-7.is-guttered{display:block}.el-col-xs-offset-7{margin-left:29.1667%}.el-col-xs-pull-7{position:relative;right:29.1667%}.el-col-xs-push-7{position:relative;left:29.1667%}.el-col-xs-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-xs-8.is-guttered{display:block}.el-col-xs-offset-8{margin-left:33.3333%}.el-col-xs-pull-8{position:relative;right:33.3333%}.el-col-xs-push-8{position:relative;left:33.3333%}.el-col-xs-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-xs-9.is-guttered{display:block}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{position:relative;left:37.5%}.el-col-xs-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-xs-10.is-guttered{display:block}.el-col-xs-offset-10{margin-left:41.6667%}.el-col-xs-pull-10{position:relative;right:41.6667%}.el-col-xs-push-10{position:relative;left:41.6667%}.el-col-xs-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-xs-11.is-guttered{display:block}.el-col-xs-offset-11{margin-left:45.8333%}.el-col-xs-pull-11{position:relative;right:45.8333%}.el-col-xs-push-11{position:relative;left:45.8333%}.el-col-xs-12{flex:0 0 50%;max-width:50%;display:block}.el-col-xs-12.is-guttered{display:block}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{position:relative;left:50%}.el-col-xs-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-xs-13.is-guttered{display:block}.el-col-xs-offset-13{margin-left:54.1667%}.el-col-xs-pull-13{position:relative;right:54.1667%}.el-col-xs-push-13{position:relative;left:54.1667%}.el-col-xs-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-xs-14.is-guttered{display:block}.el-col-xs-offset-14{margin-left:58.3333%}.el-col-xs-pull-14{position:relative;right:58.3333%}.el-col-xs-push-14{position:relative;left:58.3333%}.el-col-xs-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-xs-15.is-guttered{display:block}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{position:relative;left:62.5%}.el-col-xs-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-xs-16.is-guttered{display:block}.el-col-xs-offset-16{margin-left:66.6667%}.el-col-xs-pull-16{position:relative;right:66.6667%}.el-col-xs-push-16{position:relative;left:66.6667%}.el-col-xs-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-xs-17.is-guttered{display:block}.el-col-xs-offset-17{margin-left:70.8333%}.el-col-xs-pull-17{position:relative;right:70.8333%}.el-col-xs-push-17{position:relative;left:70.8333%}.el-col-xs-18{flex:0 0 75%;max-width:75%;display:block}.el-col-xs-18.is-guttered{display:block}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{position:relative;left:75%}.el-col-xs-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-xs-19.is-guttered{display:block}.el-col-xs-offset-19{margin-left:79.1667%}.el-col-xs-pull-19{position:relative;right:79.1667%}.el-col-xs-push-19{position:relative;left:79.1667%}.el-col-xs-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-xs-20.is-guttered{display:block}.el-col-xs-offset-20{margin-left:83.3333%}.el-col-xs-pull-20{position:relative;right:83.3333%}.el-col-xs-push-20{position:relative;left:83.3333%}.el-col-xs-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-xs-21.is-guttered{display:block}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{position:relative;left:87.5%}.el-col-xs-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-xs-22.is-guttered{display:block}.el-col-xs-offset-22{margin-left:91.6667%}.el-col-xs-pull-22{position:relative;right:91.6667%}.el-col-xs-push-22{position:relative;left:91.6667%}.el-col-xs-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-xs-23.is-guttered{display:block}.el-col-xs-offset-23{margin-left:95.8333%}.el-col-xs-pull-23{position:relative;right:95.8333%}.el-col-xs-push-23{position:relative;left:95.8333%}.el-col-xs-24{flex:0 0 100%;max-width:100%;display:block}.el-col-xs-24.is-guttered{display:block}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{position:relative;left:100%}}@media only screen and (min-width:768px){.el-col-sm-0{flex:0 0;max-width:0%;display:none}.el-col-sm-0.is-guttered{display:none}.el-col-sm-offset-0{margin-left:0%}.el-col-sm-pull-0{position:relative;right:0%}.el-col-sm-push-0{position:relative;left:0%}.el-col-sm-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-sm-1.is-guttered{display:block}.el-col-sm-offset-1{margin-left:4.16667%}.el-col-sm-pull-1{position:relative;right:4.16667%}.el-col-sm-push-1{position:relative;left:4.16667%}.el-col-sm-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-sm-2.is-guttered{display:block}.el-col-sm-offset-2{margin-left:8.33333%}.el-col-sm-pull-2{position:relative;right:8.33333%}.el-col-sm-push-2{position:relative;left:8.33333%}.el-col-sm-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-sm-3.is-guttered{display:block}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{position:relative;left:12.5%}.el-col-sm-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-sm-4.is-guttered{display:block}.el-col-sm-offset-4{margin-left:16.6667%}.el-col-sm-pull-4{position:relative;right:16.6667%}.el-col-sm-push-4{position:relative;left:16.6667%}.el-col-sm-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-sm-5.is-guttered{display:block}.el-col-sm-offset-5{margin-left:20.8333%}.el-col-sm-pull-5{position:relative;right:20.8333%}.el-col-sm-push-5{position:relative;left:20.8333%}.el-col-sm-6{flex:0 0 25%;max-width:25%;display:block}.el-col-sm-6.is-guttered{display:block}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{position:relative;left:25%}.el-col-sm-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-sm-7.is-guttered{display:block}.el-col-sm-offset-7{margin-left:29.1667%}.el-col-sm-pull-7{position:relative;right:29.1667%}.el-col-sm-push-7{position:relative;left:29.1667%}.el-col-sm-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-sm-8.is-guttered{display:block}.el-col-sm-offset-8{margin-left:33.3333%}.el-col-sm-pull-8{position:relative;right:33.3333%}.el-col-sm-push-8{position:relative;left:33.3333%}.el-col-sm-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-sm-9.is-guttered{display:block}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{position:relative;left:37.5%}.el-col-sm-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-sm-10.is-guttered{display:block}.el-col-sm-offset-10{margin-left:41.6667%}.el-col-sm-pull-10{position:relative;right:41.6667%}.el-col-sm-push-10{position:relative;left:41.6667%}.el-col-sm-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-sm-11.is-guttered{display:block}.el-col-sm-offset-11{margin-left:45.8333%}.el-col-sm-pull-11{position:relative;right:45.8333%}.el-col-sm-push-11{position:relative;left:45.8333%}.el-col-sm-12{flex:0 0 50%;max-width:50%;display:block}.el-col-sm-12.is-guttered{display:block}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{position:relative;left:50%}.el-col-sm-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-sm-13.is-guttered{display:block}.el-col-sm-offset-13{margin-left:54.1667%}.el-col-sm-pull-13{position:relative;right:54.1667%}.el-col-sm-push-13{position:relative;left:54.1667%}.el-col-sm-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-sm-14.is-guttered{display:block}.el-col-sm-offset-14{margin-left:58.3333%}.el-col-sm-pull-14{position:relative;right:58.3333%}.el-col-sm-push-14{position:relative;left:58.3333%}.el-col-sm-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-sm-15.is-guttered{display:block}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{position:relative;left:62.5%}.el-col-sm-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-sm-16.is-guttered{display:block}.el-col-sm-offset-16{margin-left:66.6667%}.el-col-sm-pull-16{position:relative;right:66.6667%}.el-col-sm-push-16{position:relative;left:66.6667%}.el-col-sm-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-sm-17.is-guttered{display:block}.el-col-sm-offset-17{margin-left:70.8333%}.el-col-sm-pull-17{position:relative;right:70.8333%}.el-col-sm-push-17{position:relative;left:70.8333%}.el-col-sm-18{flex:0 0 75%;max-width:75%;display:block}.el-col-sm-18.is-guttered{display:block}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{position:relative;left:75%}.el-col-sm-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-sm-19.is-guttered{display:block}.el-col-sm-offset-19{margin-left:79.1667%}.el-col-sm-pull-19{position:relative;right:79.1667%}.el-col-sm-push-19{position:relative;left:79.1667%}.el-col-sm-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-sm-20.is-guttered{display:block}.el-col-sm-offset-20{margin-left:83.3333%}.el-col-sm-pull-20{position:relative;right:83.3333%}.el-col-sm-push-20{position:relative;left:83.3333%}.el-col-sm-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-sm-21.is-guttered{display:block}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{position:relative;left:87.5%}.el-col-sm-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-sm-22.is-guttered{display:block}.el-col-sm-offset-22{margin-left:91.6667%}.el-col-sm-pull-22{position:relative;right:91.6667%}.el-col-sm-push-22{position:relative;left:91.6667%}.el-col-sm-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-sm-23.is-guttered{display:block}.el-col-sm-offset-23{margin-left:95.8333%}.el-col-sm-pull-23{position:relative;right:95.8333%}.el-col-sm-push-23{position:relative;left:95.8333%}.el-col-sm-24{flex:0 0 100%;max-width:100%;display:block}.el-col-sm-24.is-guttered{display:block}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{position:relative;left:100%}}@media only screen and (min-width:992px){.el-col-md-0{flex:0 0;max-width:0%;display:none}.el-col-md-0.is-guttered{display:none}.el-col-md-offset-0{margin-left:0%}.el-col-md-pull-0{position:relative;right:0%}.el-col-md-push-0{position:relative;left:0%}.el-col-md-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-md-1.is-guttered{display:block}.el-col-md-offset-1{margin-left:4.16667%}.el-col-md-pull-1{position:relative;right:4.16667%}.el-col-md-push-1{position:relative;left:4.16667%}.el-col-md-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-md-2.is-guttered{display:block}.el-col-md-offset-2{margin-left:8.33333%}.el-col-md-pull-2{position:relative;right:8.33333%}.el-col-md-push-2{position:relative;left:8.33333%}.el-col-md-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-md-3.is-guttered{display:block}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{position:relative;left:12.5%}.el-col-md-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-md-4.is-guttered{display:block}.el-col-md-offset-4{margin-left:16.6667%}.el-col-md-pull-4{position:relative;right:16.6667%}.el-col-md-push-4{position:relative;left:16.6667%}.el-col-md-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-md-5.is-guttered{display:block}.el-col-md-offset-5{margin-left:20.8333%}.el-col-md-pull-5{position:relative;right:20.8333%}.el-col-md-push-5{position:relative;left:20.8333%}.el-col-md-6{flex:0 0 25%;max-width:25%;display:block}.el-col-md-6.is-guttered{display:block}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{position:relative;left:25%}.el-col-md-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-md-7.is-guttered{display:block}.el-col-md-offset-7{margin-left:29.1667%}.el-col-md-pull-7{position:relative;right:29.1667%}.el-col-md-push-7{position:relative;left:29.1667%}.el-col-md-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-md-8.is-guttered{display:block}.el-col-md-offset-8{margin-left:33.3333%}.el-col-md-pull-8{position:relative;right:33.3333%}.el-col-md-push-8{position:relative;left:33.3333%}.el-col-md-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-md-9.is-guttered{display:block}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{position:relative;left:37.5%}.el-col-md-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-md-10.is-guttered{display:block}.el-col-md-offset-10{margin-left:41.6667%}.el-col-md-pull-10{position:relative;right:41.6667%}.el-col-md-push-10{position:relative;left:41.6667%}.el-col-md-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-md-11.is-guttered{display:block}.el-col-md-offset-11{margin-left:45.8333%}.el-col-md-pull-11{position:relative;right:45.8333%}.el-col-md-push-11{position:relative;left:45.8333%}.el-col-md-12{flex:0 0 50%;max-width:50%;display:block}.el-col-md-12.is-guttered{display:block}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{position:relative;left:50%}.el-col-md-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-md-13.is-guttered{display:block}.el-col-md-offset-13{margin-left:54.1667%}.el-col-md-pull-13{position:relative;right:54.1667%}.el-col-md-push-13{position:relative;left:54.1667%}.el-col-md-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-md-14.is-guttered{display:block}.el-col-md-offset-14{margin-left:58.3333%}.el-col-md-pull-14{position:relative;right:58.3333%}.el-col-md-push-14{position:relative;left:58.3333%}.el-col-md-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-md-15.is-guttered{display:block}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{position:relative;left:62.5%}.el-col-md-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-md-16.is-guttered{display:block}.el-col-md-offset-16{margin-left:66.6667%}.el-col-md-pull-16{position:relative;right:66.6667%}.el-col-md-push-16{position:relative;left:66.6667%}.el-col-md-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-md-17.is-guttered{display:block}.el-col-md-offset-17{margin-left:70.8333%}.el-col-md-pull-17{position:relative;right:70.8333%}.el-col-md-push-17{position:relative;left:70.8333%}.el-col-md-18{flex:0 0 75%;max-width:75%;display:block}.el-col-md-18.is-guttered{display:block}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{position:relative;left:75%}.el-col-md-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-md-19.is-guttered{display:block}.el-col-md-offset-19{margin-left:79.1667%}.el-col-md-pull-19{position:relative;right:79.1667%}.el-col-md-push-19{position:relative;left:79.1667%}.el-col-md-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-md-20.is-guttered{display:block}.el-col-md-offset-20{margin-left:83.3333%}.el-col-md-pull-20{position:relative;right:83.3333%}.el-col-md-push-20{position:relative;left:83.3333%}.el-col-md-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-md-21.is-guttered{display:block}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{position:relative;left:87.5%}.el-col-md-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-md-22.is-guttered{display:block}.el-col-md-offset-22{margin-left:91.6667%}.el-col-md-pull-22{position:relative;right:91.6667%}.el-col-md-push-22{position:relative;left:91.6667%}.el-col-md-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-md-23.is-guttered{display:block}.el-col-md-offset-23{margin-left:95.8333%}.el-col-md-pull-23{position:relative;right:95.8333%}.el-col-md-push-23{position:relative;left:95.8333%}.el-col-md-24{flex:0 0 100%;max-width:100%;display:block}.el-col-md-24.is-guttered{display:block}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{position:relative;left:100%}}@media only screen and (min-width:1200px){.el-col-lg-0{flex:0 0;max-width:0%;display:none}.el-col-lg-0.is-guttered{display:none}.el-col-lg-offset-0{margin-left:0%}.el-col-lg-pull-0{position:relative;right:0%}.el-col-lg-push-0{position:relative;left:0%}.el-col-lg-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-lg-1.is-guttered{display:block}.el-col-lg-offset-1{margin-left:4.16667%}.el-col-lg-pull-1{position:relative;right:4.16667%}.el-col-lg-push-1{position:relative;left:4.16667%}.el-col-lg-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-lg-2.is-guttered{display:block}.el-col-lg-offset-2{margin-left:8.33333%}.el-col-lg-pull-2{position:relative;right:8.33333%}.el-col-lg-push-2{position:relative;left:8.33333%}.el-col-lg-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-lg-3.is-guttered{display:block}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{position:relative;left:12.5%}.el-col-lg-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-lg-4.is-guttered{display:block}.el-col-lg-offset-4{margin-left:16.6667%}.el-col-lg-pull-4{position:relative;right:16.6667%}.el-col-lg-push-4{position:relative;left:16.6667%}.el-col-lg-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-lg-5.is-guttered{display:block}.el-col-lg-offset-5{margin-left:20.8333%}.el-col-lg-pull-5{position:relative;right:20.8333%}.el-col-lg-push-5{position:relative;left:20.8333%}.el-col-lg-6{flex:0 0 25%;max-width:25%;display:block}.el-col-lg-6.is-guttered{display:block}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{position:relative;left:25%}.el-col-lg-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-lg-7.is-guttered{display:block}.el-col-lg-offset-7{margin-left:29.1667%}.el-col-lg-pull-7{position:relative;right:29.1667%}.el-col-lg-push-7{position:relative;left:29.1667%}.el-col-lg-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-lg-8.is-guttered{display:block}.el-col-lg-offset-8{margin-left:33.3333%}.el-col-lg-pull-8{position:relative;right:33.3333%}.el-col-lg-push-8{position:relative;left:33.3333%}.el-col-lg-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-lg-9.is-guttered{display:block}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{position:relative;left:37.5%}.el-col-lg-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-lg-10.is-guttered{display:block}.el-col-lg-offset-10{margin-left:41.6667%}.el-col-lg-pull-10{position:relative;right:41.6667%}.el-col-lg-push-10{position:relative;left:41.6667%}.el-col-lg-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-lg-11.is-guttered{display:block}.el-col-lg-offset-11{margin-left:45.8333%}.el-col-lg-pull-11{position:relative;right:45.8333%}.el-col-lg-push-11{position:relative;left:45.8333%}.el-col-lg-12{flex:0 0 50%;max-width:50%;display:block}.el-col-lg-12.is-guttered{display:block}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{position:relative;left:50%}.el-col-lg-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-lg-13.is-guttered{display:block}.el-col-lg-offset-13{margin-left:54.1667%}.el-col-lg-pull-13{position:relative;right:54.1667%}.el-col-lg-push-13{position:relative;left:54.1667%}.el-col-lg-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-lg-14.is-guttered{display:block}.el-col-lg-offset-14{margin-left:58.3333%}.el-col-lg-pull-14{position:relative;right:58.3333%}.el-col-lg-push-14{position:relative;left:58.3333%}.el-col-lg-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-lg-15.is-guttered{display:block}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{position:relative;left:62.5%}.el-col-lg-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-lg-16.is-guttered{display:block}.el-col-lg-offset-16{margin-left:66.6667%}.el-col-lg-pull-16{position:relative;right:66.6667%}.el-col-lg-push-16{position:relative;left:66.6667%}.el-col-lg-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-lg-17.is-guttered{display:block}.el-col-lg-offset-17{margin-left:70.8333%}.el-col-lg-pull-17{position:relative;right:70.8333%}.el-col-lg-push-17{position:relative;left:70.8333%}.el-col-lg-18{flex:0 0 75%;max-width:75%;display:block}.el-col-lg-18.is-guttered{display:block}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{position:relative;left:75%}.el-col-lg-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-lg-19.is-guttered{display:block}.el-col-lg-offset-19{margin-left:79.1667%}.el-col-lg-pull-19{position:relative;right:79.1667%}.el-col-lg-push-19{position:relative;left:79.1667%}.el-col-lg-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-lg-20.is-guttered{display:block}.el-col-lg-offset-20{margin-left:83.3333%}.el-col-lg-pull-20{position:relative;right:83.3333%}.el-col-lg-push-20{position:relative;left:83.3333%}.el-col-lg-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-lg-21.is-guttered{display:block}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{position:relative;left:87.5%}.el-col-lg-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-lg-22.is-guttered{display:block}.el-col-lg-offset-22{margin-left:91.6667%}.el-col-lg-pull-22{position:relative;right:91.6667%}.el-col-lg-push-22{position:relative;left:91.6667%}.el-col-lg-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-lg-23.is-guttered{display:block}.el-col-lg-offset-23{margin-left:95.8333%}.el-col-lg-pull-23{position:relative;right:95.8333%}.el-col-lg-push-23{position:relative;left:95.8333%}.el-col-lg-24{flex:0 0 100%;max-width:100%;display:block}.el-col-lg-24.is-guttered{display:block}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{position:relative;left:100%}}@media only screen and (min-width:1920px){.el-col-xl-0{flex:0 0;max-width:0%;display:none}.el-col-xl-0.is-guttered{display:none}.el-col-xl-offset-0{margin-left:0%}.el-col-xl-pull-0{position:relative;right:0%}.el-col-xl-push-0{position:relative;left:0%}.el-col-xl-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-xl-1.is-guttered{display:block}.el-col-xl-offset-1{margin-left:4.16667%}.el-col-xl-pull-1{position:relative;right:4.16667%}.el-col-xl-push-1{position:relative;left:4.16667%}.el-col-xl-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-xl-2.is-guttered{display:block}.el-col-xl-offset-2{margin-left:8.33333%}.el-col-xl-pull-2{position:relative;right:8.33333%}.el-col-xl-push-2{position:relative;left:8.33333%}.el-col-xl-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-xl-3.is-guttered{display:block}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{position:relative;left:12.5%}.el-col-xl-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-xl-4.is-guttered{display:block}.el-col-xl-offset-4{margin-left:16.6667%}.el-col-xl-pull-4{position:relative;right:16.6667%}.el-col-xl-push-4{position:relative;left:16.6667%}.el-col-xl-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-xl-5.is-guttered{display:block}.el-col-xl-offset-5{margin-left:20.8333%}.el-col-xl-pull-5{position:relative;right:20.8333%}.el-col-xl-push-5{position:relative;left:20.8333%}.el-col-xl-6{flex:0 0 25%;max-width:25%;display:block}.el-col-xl-6.is-guttered{display:block}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{position:relative;left:25%}.el-col-xl-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-xl-7.is-guttered{display:block}.el-col-xl-offset-7{margin-left:29.1667%}.el-col-xl-pull-7{position:relative;right:29.1667%}.el-col-xl-push-7{position:relative;left:29.1667%}.el-col-xl-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-xl-8.is-guttered{display:block}.el-col-xl-offset-8{margin-left:33.3333%}.el-col-xl-pull-8{position:relative;right:33.3333%}.el-col-xl-push-8{position:relative;left:33.3333%}.el-col-xl-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-xl-9.is-guttered{display:block}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{position:relative;left:37.5%}.el-col-xl-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-xl-10.is-guttered{display:block}.el-col-xl-offset-10{margin-left:41.6667%}.el-col-xl-pull-10{position:relative;right:41.6667%}.el-col-xl-push-10{position:relative;left:41.6667%}.el-col-xl-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-xl-11.is-guttered{display:block}.el-col-xl-offset-11{margin-left:45.8333%}.el-col-xl-pull-11{position:relative;right:45.8333%}.el-col-xl-push-11{position:relative;left:45.8333%}.el-col-xl-12{flex:0 0 50%;max-width:50%;display:block}.el-col-xl-12.is-guttered{display:block}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{position:relative;left:50%}.el-col-xl-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-xl-13.is-guttered{display:block}.el-col-xl-offset-13{margin-left:54.1667%}.el-col-xl-pull-13{position:relative;right:54.1667%}.el-col-xl-push-13{position:relative;left:54.1667%}.el-col-xl-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-xl-14.is-guttered{display:block}.el-col-xl-offset-14{margin-left:58.3333%}.el-col-xl-pull-14{position:relative;right:58.3333%}.el-col-xl-push-14{position:relative;left:58.3333%}.el-col-xl-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-xl-15.is-guttered{display:block}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{position:relative;left:62.5%}.el-col-xl-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-xl-16.is-guttered{display:block}.el-col-xl-offset-16{margin-left:66.6667%}.el-col-xl-pull-16{position:relative;right:66.6667%}.el-col-xl-push-16{position:relative;left:66.6667%}.el-col-xl-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-xl-17.is-guttered{display:block}.el-col-xl-offset-17{margin-left:70.8333%}.el-col-xl-pull-17{position:relative;right:70.8333%}.el-col-xl-push-17{position:relative;left:70.8333%}.el-col-xl-18{flex:0 0 75%;max-width:75%;display:block}.el-col-xl-18.is-guttered{display:block}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{position:relative;left:75%}.el-col-xl-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-xl-19.is-guttered{display:block}.el-col-xl-offset-19{margin-left:79.1667%}.el-col-xl-pull-19{position:relative;right:79.1667%}.el-col-xl-push-19{position:relative;left:79.1667%}.el-col-xl-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-xl-20.is-guttered{display:block}.el-col-xl-offset-20{margin-left:83.3333%}.el-col-xl-pull-20{position:relative;right:83.3333%}.el-col-xl-push-20{position:relative;left:83.3333%}.el-col-xl-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-xl-21.is-guttered{display:block}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{position:relative;left:87.5%}.el-col-xl-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-xl-22.is-guttered{display:block}.el-col-xl-offset-22{margin-left:91.6667%}.el-col-xl-pull-22{position:relative;right:91.6667%}.el-col-xl-push-22{position:relative;left:91.6667%}.el-col-xl-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-xl-23.is-guttered{display:block}.el-col-xl-offset-23{margin-left:95.8333%}.el-col-xl-pull-23{position:relative;right:95.8333%}.el-col-xl-push-23{position:relative;left:95.8333%}.el-col-xl-24{flex:0 0 100%;max-width:100%;display:block}.el-col-xl-24.is-guttered{display:block}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{position:relative;left:100%}}.section-title[data-v-abd52f81]{font-size:14px;font-weight:600;color:#606266;margin:0 0 16px;padding-bottom:8px;border-bottom:1px solid #ebeef5}.tool-card[data-v-abd52f81]{cursor:pointer;transition:all .2s;position:relative}.tool-card[data-v-abd52f81]:hover{border-color:#1890ff}.tool-card .tool-actions[data-v-abd52f81]{position:absolute;top:8px;right:8px;display:flex;gap:4px;opacity:0;transition:opacity .2s}.tool-card:hover .tool-actions[data-v-abd52f81]{opacity:1}.tool-card .tool-icon[data-v-abd52f81]{width:48px;height:48px;border-radius:8px;background:#1890ff1a;display:flex;align-items:center;justify-content:center;margin-bottom:12px}.tool-card .tool-icon i[data-v-abd52f81]{font-size:20px;color:#1890ff}.tool-card .tool-name[data-v-abd52f81]{font-size:15px;font-weight:500;color:#303133;margin:0 0 6px}.tool-card .tool-desc[data-v-abd52f81]{font-size:13px;color:#909399;margin:0} diff --git a/frontend/dist/assets/ToolsView-Bcj_uv2O.js b/frontend/dist/assets/ToolsView-Bcj_uv2O.js new file mode 100644 index 0000000..632b2b7 --- /dev/null +++ b/frontend/dist/assets/ToolsView-Bcj_uv2O.js @@ -0,0 +1 @@ +import{E as I}from"./index-D23K2h6y.js";import{E as q}from"./el-card-BsCFVTSD.js";import{b as L,a5 as g,R as v,d as E,a as M,o as p,e as d,w as r,h as P,al as V,n as w,r as D,j as _,F as J,l as K,B as U,ak as T,a3 as W,ag as G,q as n,s as m,c as S,ad as O,aa as b,f as h,bm as H,M as R,aL as B,x as Q,v as X,A as C}from"./index-CxbBjZKo.js";import{E as Y}from"./el-empty-DUcrYyo6.js";import{E as Z}from"./index-CLZoQJ1o.js";import{P as z}from"./PageCard-CC9cofwx.js";import{u as tt}from"./tools-DNEgEZeS.js";import{_ as et}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./index-DHcidAHK.js";import"./validator-AVoXfk3G.js";import"./index-C3HZL-2Y.js";import"./clamp-Ow4I6lPc.js";import"./toNumber-Yuob3eJv.js";import"./index-36LucyXi.js";import"./scroll-Dvb2mTx8.js";import"./raf-Bjl8yy5U.js";import"./index-zJ9bqPrh.js";import"./index-C4wGR5UT.js";import"./index-DxP0p4ch.js";const st=L({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:v([Number,Object]),default:()=>g({})},sm:{type:v([Number,Object]),default:()=>g({})},md:{type:v([Number,Object]),default:()=>g({})},lg:{type:v([Number,Object]),default:()=>g({})},xl:{type:v([Number,Object]),default:()=>g({})}}),ot=["start","center","end","space-around","space-between","space-evenly"],at=["top","middle","bottom"],lt=L({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:ot,default:"start"},align:{type:String,values:at}}),A=Symbol("rowContextKey");var nt=E({name:"ElRow",__name:"row",props:lt,setup(f){const t=f,u=M("row");J(A,{gutter:_(()=>t.gutter)});const i=_(()=>{const c={};return t.gutter&&(c.marginRight=c.marginLeft=`-${t.gutter/2}px`),c}),y=_(()=>[u.b(),u.is(`justify-${t.justify}`,t.justify!=="start"),u.is(`align-${t.align}`,!!t.align)]);return(c,o)=>(p(),d(D(f.tag),{class:w(y.value),style:V(i.value)},{default:r(()=>[P(c.$slots,"default")]),_:3},8,["class","style"]))}}),rt=nt;const it=K(rt);var ut=E({name:"ElCol",__name:"col",props:st,setup(f){const t=f,{gutter:u}=U(A,{gutter:_(()=>0)}),i=M("col"),y=_(()=>{const o={};return u.value&&(o.paddingLeft=o.paddingRight=`${u.value/2}px`),o}),c=_(()=>{const o=[];return["span","offset","pull","push"].forEach(s=>{const e=t[s];T(e)&&(s==="span"?o.push(i.b(`${t[s]}`)):e>0&&o.push(i.b(`${s}-${t[s]}`)))}),["xs","sm","md","lg","xl"].forEach(s=>{T(t[s])?o.push(i.b(`${s}-${t[s]}`)):W(t[s])&&Object.entries(t[s]).forEach(([e,a])=>{o.push(e!=="span"?i.b(`${s}-${e}-${a}`):i.b(`${s}-${a}`))})}),u.value&&o.push(i.is("guttered")),[i.b(),o]});return(o,s)=>(p(),d(D(f.tag),{class:w(c.value),style:V(y.value)},{default:r(()=>[P(o.$slots,"default")]),_:3},8,["class","style"]))}}),ct=ut;const pt=K(ct),dt={class:"tool-icon"},ft={class:"tool-name"},mt={class:"tool-desc"},_t={class:"tool-actions"},yt={class:"tool-icon"},gt={class:"tool-name"},vt={class:"tool-desc"},bt=E({__name:"ToolsView",setup(f){const t=X(),u=tt(),{tools:i}=G(u);function y(e){e==="data-generate"?C.info("数据生成工具开发中..."):e==="json2jsonl"?t.push("/data-convert"):e==="md-convert"&&C.info("转换Markdown 工具开发中...")}function c(e){e.url.startsWith("http")?window.open(e.url,"_blank"):t.push(e.url)}function o(e){t.push(`/tools/${e.id}/edit`)}async function s(e){await Z.confirm("确定要删除这个自定义工具吗?","确认删除",{type:"warning"}),u.removeTool(e.id),C.success("删除成功")}return(e,a)=>{const $=I,x=q,j=pt,N=it,F=Y;return p(),d(z,{title:"其他工具"},{extra:r(()=>[m($,{type:"primary",onClick:a[0]||(a[0]=l=>h(t).push("/tools/create"))},{default:r(()=>[...a[1]||(a[1]=[n("i",{class:"fa fa-plus",style:{"margin-right":"4px"}},null,-1),Q("添加自定义工具 ",-1)])]),_:1})]),default:r(()=>[a[4]||(a[4]=n("h3",{class:"section-title"},"默认工具",-1)),m(N,{gutter:16,style:{"margin-bottom":"24px"}},{default:r(()=>[(p(!0),S(R,null,O(h(H),l=>(p(),d(j,{key:l.id,span:8},{default:r(()=>[m(x,{shadow:"hover",class:"tool-card",onClick:k=>y(l.id)},{default:r(()=>[n("div",dt,[n("i",{class:w(["fa",l.icon])},null,2)]),n("h4",ft,b(l.name),1),n("p",mt,b(l.description),1)]),_:2},1032,["onClick"])]),_:2},1024))),128))]),_:1}),a[5]||(a[5]=n("h3",{class:"section-title"},"自定义工具",-1)),h(i).length?(p(),d(N,{key:0,gutter:16},{default:r(()=>[(p(!0),S(R,null,O(h(i),l=>(p(),d(j,{key:l.id,span:8},{default:r(()=>[m(x,{shadow:"hover",class:"tool-card",onClick:k=>c(l)},{default:r(()=>[n("div",_t,[m($,{link:"",size:"small",onClick:B(k=>o(l),["stop"])},{default:r(()=>[...a[2]||(a[2]=[n("i",{class:"fa fa-pencil"},null,-1)])]),_:1},8,["onClick"]),m($,{link:"",type:"danger",size:"small",onClick:B(k=>s(l),["stop"])},{default:r(()=>[...a[3]||(a[3]=[n("i",{class:"fa fa-times"},null,-1)])]),_:1},8,["onClick"])]),n("div",yt,[n("i",{class:w(["fa",l.icon])},null,2)]),n("h4",gt,b(l.name),1),n("p",vt,b(l.description),1)]),_:2},1032,["onClick"])]),_:2},1024))),128))]),_:1})):(p(),d(F,{key:1,description:"暂无自定义工具,点击右上角添加"}))]),_:1})}}}),Kt=et(bt,[["__scopeId","data-v-abd52f81"]]);export{Kt as default}; diff --git a/frontend/dist/assets/ToolsView-DdacMfUU.js b/frontend/dist/assets/ToolsView-DdacMfUU.js index fe7c022..ef8e7ac 100644 --- a/frontend/dist/assets/ToolsView-DdacMfUU.js +++ b/frontend/dist/assets/ToolsView-DdacMfUU.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/ToolsView-DdacMfUU.js import{E as I}from"./index-6OTFNiIi.js";import{E as q}from"./el-card-BvbOkvag.js";import{b as L,a5 as g,R as v,d as E,a as M,o as p,e as d,w as r,h as P,al as V,n as w,r as D,j as _,F as J,l as K,B as U,ak as T,a3 as W,ag as G,q as n,s as m,c as S,ad as O,aa as b,f as h,bm as H,M as R,aL as B,x as Q,v as X,A as C}from"./index-CD29OCdJ.js";import{E as Y}from"./el-empty-DRpYG49w.js";import{E as Z}from"./index-BpXxrg-6.js";import{P as z}from"./PageCard-Byh3epid.js";import{u as tt}from"./tools-BtFo8ZQX.js";import{_ as et}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./index-BpugJXyE.js";import"./validator-BQ0LVwAS.js";import"./index-D9N-GMuA.js";import"./clamp-BfrLWns4.js";import"./toNumber-B6P5MqPp.js";import"./index-roSlfP_P.js";import"./scroll-D-TPweuo.js";import"./raf-DGtHIxe2.js";import"./index-D0wqu88j.js";import"./index-C8FAS7l2.js";import"./index-DpY84JwG.js";const st=L({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:v([Number,Object]),default:()=>g({})},sm:{type:v([Number,Object]),default:()=>g({})},md:{type:v([Number,Object]),default:()=>g({})},lg:{type:v([Number,Object]),default:()=>g({})},xl:{type:v([Number,Object]),default:()=>g({})}}),ot=["start","center","end","space-around","space-between","space-evenly"],at=["top","middle","bottom"],lt=L({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:ot,default:"start"},align:{type:String,values:at}}),A=Symbol("rowContextKey");var nt=E({name:"ElRow",__name:"row",props:lt,setup(f){const t=f,u=M("row");J(A,{gutter:_(()=>t.gutter)});const i=_(()=>{const c={};return t.gutter&&(c.marginRight=c.marginLeft=`-${t.gutter/2}px`),c}),y=_(()=>[u.b(),u.is(`justify-${t.justify}`,t.justify!=="start"),u.is(`align-${t.align}`,!!t.align)]);return(c,o)=>(p(),d(D(f.tag),{class:w(y.value),style:V(i.value)},{default:r(()=>[P(c.$slots,"default")]),_:3},8,["class","style"]))}}),rt=nt;const it=K(rt);var ut=E({name:"ElCol",__name:"col",props:st,setup(f){const t=f,{gutter:u}=U(A,{gutter:_(()=>0)}),i=M("col"),y=_(()=>{const o={};return u.value&&(o.paddingLeft=o.paddingRight=`${u.value/2}px`),o}),c=_(()=>{const o=[];return["span","offset","pull","push"].forEach(s=>{const e=t[s];T(e)&&(s==="span"?o.push(i.b(`${t[s]}`)):e>0&&o.push(i.b(`${s}-${t[s]}`)))}),["xs","sm","md","lg","xl"].forEach(s=>{T(t[s])?o.push(i.b(`${s}-${t[s]}`)):W(t[s])&&Object.entries(t[s]).forEach(([e,a])=>{o.push(e!=="span"?i.b(`${s}-${e}-${a}`):i.b(`${s}-${a}`))})}),u.value&&o.push(i.is("guttered")),[i.b(),o]});return(o,s)=>(p(),d(D(f.tag),{class:w(c.value),style:V(y.value)},{default:r(()=>[P(o.$slots,"default")]),_:3},8,["class","style"]))}}),ct=ut;const pt=K(ct),dt={class:"tool-icon"},ft={class:"tool-name"},mt={class:"tool-desc"},_t={class:"tool-actions"},yt={class:"tool-icon"},gt={class:"tool-name"},vt={class:"tool-desc"},bt=E({__name:"ToolsView",setup(f){const t=X(),u=tt(),{tools:i}=G(u);function y(e){e==="data-generate"?C.info("数据生成工具开发中..."):e==="json2jsonl"?t.push("/data-convert"):e==="md-convert"&&C.info("转换Markdown 工具开发中...")}function c(e){e.url.startsWith("http")?window.open(e.url,"_blank"):t.push(e.url)}function o(e){t.push(`/tools/${e.id}/edit`)}async function s(e){await Z.confirm("确定要删除这个自定义工具吗?","确认删除",{type:"warning"}),u.removeTool(e.id),C.success("删除成功")}return(e,a)=>{const $=I,x=q,j=pt,N=it,F=Y;return p(),d(z,{title:"其他工具"},{extra:r(()=>[m($,{type:"primary",onClick:a[0]||(a[0]=l=>h(t).push("/tools/create"))},{default:r(()=>[...a[1]||(a[1]=[n("i",{class:"fa fa-plus",style:{"margin-right":"4px"}},null,-1),Q("添加自定义工具 ",-1)])]),_:1})]),default:r(()=>[a[4]||(a[4]=n("h3",{class:"section-title"},"默认工具",-1)),m(N,{gutter:16,style:{"margin-bottom":"24px"}},{default:r(()=>[(p(!0),S(R,null,O(h(H),l=>(p(),d(j,{key:l.id,span:8},{default:r(()=>[m(x,{shadow:"hover",class:"tool-card",onClick:k=>y(l.id)},{default:r(()=>[n("div",dt,[n("i",{class:w(["fa",l.icon])},null,2)]),n("h4",ft,b(l.name),1),n("p",mt,b(l.description),1)]),_:2},1032,["onClick"])]),_:2},1024))),128))]),_:1}),a[5]||(a[5]=n("h3",{class:"section-title"},"自定义工具",-1)),h(i).length?(p(),d(N,{key:0,gutter:16},{default:r(()=>[(p(!0),S(R,null,O(h(i),l=>(p(),d(j,{key:l.id,span:8},{default:r(()=>[m(x,{shadow:"hover",class:"tool-card",onClick:k=>c(l)},{default:r(()=>[n("div",_t,[m($,{link:"",size:"small",onClick:B(k=>o(l),["stop"])},{default:r(()=>[...a[2]||(a[2]=[n("i",{class:"fa fa-pencil"},null,-1)])]),_:1},8,["onClick"]),m($,{link:"",type:"danger",size:"small",onClick:B(k=>s(l),["stop"])},{default:r(()=>[...a[3]||(a[3]=[n("i",{class:"fa fa-times"},null,-1)])]),_:1},8,["onClick"])]),n("div",yt,[n("i",{class:w(["fa",l.icon])},null,2)]),n("h4",gt,b(l.name),1),n("p",vt,b(l.description),1)]),_:2},1032,["onClick"])]),_:2},1024))),128))]),_:1})):(p(),d(F,{key:1,description:"暂无自定义工具,点击右上角添加"}))]),_:1})}}}),Kt=et(bt,[["__scopeId","data-v-891c28dc"]]);export{Kt as default}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/ToolsView-D4cqXALF.js +import{E as I}from"./index-BNsCyG4A.js";import{E as q}from"./el-card-D86TXgMv.js";import{b as L,a5 as g,R as v,d as E,a as M,o as p,e as d,w as r,h as P,al as V,n as w,r as D,j as _,F as J,l as K,B as U,ak as T,a3 as W,ag as G,q as n,s as m,c as S,ad as O,aa as b,f as h,bm as H,M as R,aL as B,x as Q,v as X,A as C}from"./index-Ds9AETjS.js";import{E as Y}from"./el-empty-CIm5osBY.js";import{E as Z}from"./index-DqJTjrY3.js";import{P as z}from"./PageCard-CV3p14-x.js";import{u as tt}from"./tools-s3Et6p-2.js";import{_ as et}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./index-sWKLi7bH.js";import"./validator-D1MwuZXj.js";import"./index-jBnYrPdD.js";import"./clamp-CyhADbdq.js";import"./toNumber-DrayciwT.js";import"./index-RtwaMutE.js";import"./scroll-DVmMv0d9.js";import"./raf-zQ00nuMI.js";import"./index-h5FkzAP_.js";import"./index-B0if-AHo.js";import"./index-BSbCLbaz.js";const st=L({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:v([Number,Object]),default:()=>g({})},sm:{type:v([Number,Object]),default:()=>g({})},md:{type:v([Number,Object]),default:()=>g({})},lg:{type:v([Number,Object]),default:()=>g({})},xl:{type:v([Number,Object]),default:()=>g({})}}),ot=["start","center","end","space-around","space-between","space-evenly"],at=["top","middle","bottom"],lt=L({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:ot,default:"start"},align:{type:String,values:at}}),A=Symbol("rowContextKey");var nt=E({name:"ElRow",__name:"row",props:lt,setup(f){const t=f,u=M("row");J(A,{gutter:_(()=>t.gutter)});const i=_(()=>{const c={};return t.gutter&&(c.marginRight=c.marginLeft=`-${t.gutter/2}px`),c}),y=_(()=>[u.b(),u.is(`justify-${t.justify}`,t.justify!=="start"),u.is(`align-${t.align}`,!!t.align)]);return(c,o)=>(p(),d(D(f.tag),{class:w(y.value),style:V(i.value)},{default:r(()=>[P(c.$slots,"default")]),_:3},8,["class","style"]))}}),rt=nt;const it=K(rt);var ut=E({name:"ElCol",__name:"col",props:st,setup(f){const t=f,{gutter:u}=U(A,{gutter:_(()=>0)}),i=M("col"),y=_(()=>{const o={};return u.value&&(o.paddingLeft=o.paddingRight=`${u.value/2}px`),o}),c=_(()=>{const o=[];return["span","offset","pull","push"].forEach(s=>{const e=t[s];T(e)&&(s==="span"?o.push(i.b(`${t[s]}`)):e>0&&o.push(i.b(`${s}-${t[s]}`)))}),["xs","sm","md","lg","xl"].forEach(s=>{T(t[s])?o.push(i.b(`${s}-${t[s]}`)):W(t[s])&&Object.entries(t[s]).forEach(([e,a])=>{o.push(e!=="span"?i.b(`${s}-${e}-${a}`):i.b(`${s}-${a}`))})}),u.value&&o.push(i.is("guttered")),[i.b(),o]});return(o,s)=>(p(),d(D(f.tag),{class:w(c.value),style:V(y.value)},{default:r(()=>[P(o.$slots,"default")]),_:3},8,["class","style"]))}}),ct=ut;const pt=K(ct),dt={class:"tool-icon"},ft={class:"tool-name"},mt={class:"tool-desc"},_t={class:"tool-actions"},yt={class:"tool-icon"},gt={class:"tool-name"},vt={class:"tool-desc"},bt=E({__name:"ToolsView",setup(f){const t=X(),u=tt(),{tools:i}=G(u);function y(e){e==="data-generate"?C.info("数据生成工具开发中..."):e==="json2jsonl"?t.push("/data-convert"):e==="md-convert"&&C.info("转换Markdown 工具开发中...")}function c(e){e.url.startsWith("http")?window.open(e.url,"_blank"):t.push(e.url)}function o(e){t.push(`/tools/${e.id}/edit`)}async function s(e){await Z.confirm("确定要删除这个自定义工具吗?","确认删除",{type:"warning"}),u.removeTool(e.id),C.success("删除成功")}return(e,a)=>{const $=I,x=q,j=pt,N=it,F=Y;return p(),d(z,{title:"其他工具"},{extra:r(()=>[m($,{type:"primary",onClick:a[0]||(a[0]=l=>h(t).push("/tools/create"))},{default:r(()=>[...a[1]||(a[1]=[n("i",{class:"fa fa-plus",style:{"margin-right":"4px"}},null,-1),Q("添加自定义工具 ",-1)])]),_:1})]),default:r(()=>[a[4]||(a[4]=n("h3",{class:"section-title"},"默认工具",-1)),m(N,{gutter:16,style:{"margin-bottom":"24px"}},{default:r(()=>[(p(!0),S(R,null,O(h(H),l=>(p(),d(j,{key:l.id,span:8},{default:r(()=>[m(x,{shadow:"hover",class:"tool-card",onClick:k=>y(l.id)},{default:r(()=>[n("div",dt,[n("i",{class:w(["fa",l.icon])},null,2)]),n("h4",ft,b(l.name),1),n("p",mt,b(l.description),1)]),_:2},1032,["onClick"])]),_:2},1024))),128))]),_:1}),a[5]||(a[5]=n("h3",{class:"section-title"},"自定义工具",-1)),h(i).length?(p(),d(N,{key:0,gutter:16},{default:r(()=>[(p(!0),S(R,null,O(h(i),l=>(p(),d(j,{key:l.id,span:8},{default:r(()=>[m(x,{shadow:"hover",class:"tool-card",onClick:k=>c(l)},{default:r(()=>[n("div",_t,[m($,{link:"",size:"small",onClick:B(k=>o(l),["stop"])},{default:r(()=>[...a[2]||(a[2]=[n("i",{class:"fa fa-pencil"},null,-1)])]),_:1},8,["onClick"]),m($,{link:"",type:"danger",size:"small",onClick:B(k=>s(l),["stop"])},{default:r(()=>[...a[3]||(a[3]=[n("i",{class:"fa fa-times"},null,-1)])]),_:1},8,["onClick"])]),n("div",yt,[n("i",{class:w(["fa",l.icon])},null,2)]),n("h4",gt,b(l.name),1),n("p",vt,b(l.description),1)]),_:2},1032,["onClick"])]),_:2},1024))),128))]),_:1})):(p(),d(F,{key:1,description:"暂无自定义工具,点击右上角添加"}))]),_:1})}}}),Kt=et(bt,[["__scopeId","data-v-891c28dc"]]);export{Kt as default}; +======== +import{E as I}from"./index-D23K2h6y.js";import{E as q}from"./el-card-BsCFVTSD.js";import{b as L,a5 as g,R as v,d as E,a as M,o as p,e as d,w as r,h as P,al as V,n as w,r as D,j as _,F as J,l as K,B as U,ak as T,a3 as W,ag as G,q as n,s as m,c as S,ad as O,aa as b,f as h,bm as H,M as R,aL as B,x as Q,v as X,A as C}from"./index-CxbBjZKo.js";import{E as Y}from"./el-empty-DUcrYyo6.js";import{E as Z}from"./index-CLZoQJ1o.js";import{P as z}from"./PageCard-CC9cofwx.js";import{u as tt}from"./tools-DNEgEZeS.js";import{_ as et}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./index-DHcidAHK.js";import"./validator-AVoXfk3G.js";import"./index-C3HZL-2Y.js";import"./clamp-Ow4I6lPc.js";import"./toNumber-Yuob3eJv.js";import"./index-36LucyXi.js";import"./scroll-Dvb2mTx8.js";import"./raf-Bjl8yy5U.js";import"./index-zJ9bqPrh.js";import"./index-C4wGR5UT.js";import"./index-DxP0p4ch.js";const st=L({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:v([Number,Object]),default:()=>g({})},sm:{type:v([Number,Object]),default:()=>g({})},md:{type:v([Number,Object]),default:()=>g({})},lg:{type:v([Number,Object]),default:()=>g({})},xl:{type:v([Number,Object]),default:()=>g({})}}),ot=["start","center","end","space-around","space-between","space-evenly"],at=["top","middle","bottom"],lt=L({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:ot,default:"start"},align:{type:String,values:at}}),A=Symbol("rowContextKey");var nt=E({name:"ElRow",__name:"row",props:lt,setup(f){const t=f,u=M("row");J(A,{gutter:_(()=>t.gutter)});const i=_(()=>{const c={};return t.gutter&&(c.marginRight=c.marginLeft=`-${t.gutter/2}px`),c}),y=_(()=>[u.b(),u.is(`justify-${t.justify}`,t.justify!=="start"),u.is(`align-${t.align}`,!!t.align)]);return(c,o)=>(p(),d(D(f.tag),{class:w(y.value),style:V(i.value)},{default:r(()=>[P(c.$slots,"default")]),_:3},8,["class","style"]))}}),rt=nt;const it=K(rt);var ut=E({name:"ElCol",__name:"col",props:st,setup(f){const t=f,{gutter:u}=U(A,{gutter:_(()=>0)}),i=M("col"),y=_(()=>{const o={};return u.value&&(o.paddingLeft=o.paddingRight=`${u.value/2}px`),o}),c=_(()=>{const o=[];return["span","offset","pull","push"].forEach(s=>{const e=t[s];T(e)&&(s==="span"?o.push(i.b(`${t[s]}`)):e>0&&o.push(i.b(`${s}-${t[s]}`)))}),["xs","sm","md","lg","xl"].forEach(s=>{T(t[s])?o.push(i.b(`${s}-${t[s]}`)):W(t[s])&&Object.entries(t[s]).forEach(([e,a])=>{o.push(e!=="span"?i.b(`${s}-${e}-${a}`):i.b(`${s}-${a}`))})}),u.value&&o.push(i.is("guttered")),[i.b(),o]});return(o,s)=>(p(),d(D(f.tag),{class:w(c.value),style:V(y.value)},{default:r(()=>[P(o.$slots,"default")]),_:3},8,["class","style"]))}}),ct=ut;const pt=K(ct),dt={class:"tool-icon"},ft={class:"tool-name"},mt={class:"tool-desc"},_t={class:"tool-actions"},yt={class:"tool-icon"},gt={class:"tool-name"},vt={class:"tool-desc"},bt=E({__name:"ToolsView",setup(f){const t=X(),u=tt(),{tools:i}=G(u);function y(e){e==="data-generate"?C.info("数据生成工具开发中..."):e==="json2jsonl"?t.push("/data-convert"):e==="md-convert"&&C.info("转换Markdown 工具开发中...")}function c(e){e.url.startsWith("http")?window.open(e.url,"_blank"):t.push(e.url)}function o(e){t.push(`/tools/${e.id}/edit`)}async function s(e){await Z.confirm("确定要删除这个自定义工具吗?","确认删除",{type:"warning"}),u.removeTool(e.id),C.success("删除成功")}return(e,a)=>{const $=I,x=q,j=pt,N=it,F=Y;return p(),d(z,{title:"其他工具"},{extra:r(()=>[m($,{type:"primary",onClick:a[0]||(a[0]=l=>h(t).push("/tools/create"))},{default:r(()=>[...a[1]||(a[1]=[n("i",{class:"fa fa-plus",style:{"margin-right":"4px"}},null,-1),Q("添加自定义工具 ",-1)])]),_:1})]),default:r(()=>[a[4]||(a[4]=n("h3",{class:"section-title"},"默认工具",-1)),m(N,{gutter:16,style:{"margin-bottom":"24px"}},{default:r(()=>[(p(!0),S(R,null,O(h(H),l=>(p(),d(j,{key:l.id,span:8},{default:r(()=>[m(x,{shadow:"hover",class:"tool-card",onClick:k=>y(l.id)},{default:r(()=>[n("div",dt,[n("i",{class:w(["fa",l.icon])},null,2)]),n("h4",ft,b(l.name),1),n("p",mt,b(l.description),1)]),_:2},1032,["onClick"])]),_:2},1024))),128))]),_:1}),a[5]||(a[5]=n("h3",{class:"section-title"},"自定义工具",-1)),h(i).length?(p(),d(N,{key:0,gutter:16},{default:r(()=>[(p(!0),S(R,null,O(h(i),l=>(p(),d(j,{key:l.id,span:8},{default:r(()=>[m(x,{shadow:"hover",class:"tool-card",onClick:k=>c(l)},{default:r(()=>[n("div",_t,[m($,{link:"",size:"small",onClick:B(k=>o(l),["stop"])},{default:r(()=>[...a[2]||(a[2]=[n("i",{class:"fa fa-pencil"},null,-1)])]),_:1},8,["onClick"]),m($,{link:"",type:"danger",size:"small",onClick:B(k=>s(l),["stop"])},{default:r(()=>[...a[3]||(a[3]=[n("i",{class:"fa fa-times"},null,-1)])]),_:1},8,["onClick"])]),n("div",yt,[n("i",{class:w(["fa",l.icon])},null,2)]),n("h4",gt,b(l.name),1),n("p",vt,b(l.description),1)]),_:2},1032,["onClick"])]),_:2},1024))),128))]),_:1})):(p(),d(F,{key:1,description:"暂无自定义工具,点击右上角添加"}))]),_:1})}}}),Kt=et(bt,[["__scopeId","data-v-abd52f81"]]);export{Kt as default}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/ToolsView-Bcj_uv2O.js diff --git a/frontend/dist/assets/TrainingLogView-Ds903_wK.js b/frontend/dist/assets/TrainingLogView-Ds903_wK.js new file mode 100644 index 0000000..9079241 --- /dev/null +++ b/frontend/dist/assets/TrainingLogView-Ds903_wK.js @@ -0,0 +1 @@ +import{E as sa}from"./index-D23K2h6y.js";import{E as la}from"./index-BjlLyKON.js";import{E as ua}from"./index-Bp52mKPt.js";import{E as Pt,a as Et}from"./el-descriptions-BNd8WHaD.js";import{E as ca}from"./el-progress-Br676mBH.js";import{v as da}from"./directive-DCr8Ae3g.js";import{d as Ot,e as pa,w as x,o as H,q as c,s as m,x as A,aa as v,f as j,aq as Be,ar as $e,aY as ha,aZ as fa,G as va,c as K,K as dt,M as pt,n as ht,ac as ga,y as q,j as O,at as ma,ad as _a,g as ft,L as ya,z as vt}from"./index-CxbBjZKo.js";/* empty css */import{ap as Te,bd as ba,be as xa,bf as He,_ as ae,ak as C,r as Ue,a7 as gt,d as Zt,bg as mt,bh as we,bi as Ma,aP as zt,bj as ne,e as ee,bk as Sa,bl as Nt,bm as _t,E as T,bn as wa,bo as Fe,bp as Aa,bq as Ra,ay as yt,ax as Z,f as se,br as ke,k as Gt,bs as Vt,z as Ta,bt as Ia,aJ as Bt,H as La,I as Da,bu as Ca,bv as ka,bw as Pa,bx as Ea,U as Oa,w as Za,N as $t,by as Ht,al as bt,O as G,bz as za,a1 as xt,bA as Na,bB as Ga,bC as Va,a6 as Me,bD as Ba,aN as Mt,B as St,bE as $a,az as Ha,aK as Ua,bF as Fa,bG as Wa,bH as wt,P as Ya,bI as Xa,a as Ka,aQ as qa,aC as We,aD as ja,aE as Ja,aF as Qa,aG as er,aH as Pe}from"./install-i_dmuKuk.js";import{P as ge}from"./PageCard-CC9cofwx.js";import{_ as At}from"./ModelStatusTag.vue_vue_type_script_setup_true_lang-CUZ4SBb2.js";import{_ as Ut}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{u as tr}from"./usePolling-D0edaRGY.js";import{i as ar}from"./install-yQKxYHXo.js";import{u as rr}from"./models-WwcwjK0u.js";import{b as or,h as nr}from"./fineTune-C-jGF1Jc.js";import{c as ir,b as sr}from"./log-jDwH_n_V.js";import{b as lr}from"./dataset-BdzlocXa.js";import"./vnode-DIVHEdsp.js";import"./el-card-BsCFVTSD.js";import"./model-B9dq9fy6.js";var ur=Te();function Rt(i,r){return!!ur(i)[r]}ba({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},xa);var cr={axisPointer:1,tooltip:1,brush:1};function dr(i,r,e){var a=r.getComponentByElement(i.topTarget);if(!a||a===e||cr.hasOwnProperty(a.mainType))return!1;var t=a.coordinateSystem;if(!t||t.model===e)return!1;var n=He(a),o=He(e);return!((n.zlevel-o.zlevel||n.z-o.z)<=0)}var pr=(function(i){ae(r,i);function r(e){var a=i.call(this)||this;a._zr=e;var t=C(a._mousedownHandler,a),n=C(a._mousemoveHandler,a),o=C(a._mouseupHandler,a),s=C(a._mousewheelHandler,a),l=C(a._pinchHandler,a);return a.enable=function(u,p){var f=p.zInfo,g=He(f.component),_=g.z,M=g.zlevel,w={component:f.component,z:_,zlevel:M,z2:Ue(f.z2,-1/0)},I=gt({},p.triggerInfo);this._opt=Zt(gt({},p),{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0,zInfoParsed:w,triggerInfo:I,cursorGrab:"grab",cursorGrabbing:"grabbing"}),u==null&&(u=!0),(!this._enabled||this._controlType!==u)&&(this.disable(),this._enabled=!0,(u===!0||u==="move"||u==="pan")&&(pe(e,"mousedown",t,w),pe(e,"mousemove",n,w),pe(e,"mouseup",o,w)),(u===!0||u==="scale"||u==="zoom")&&(pe(e,"mousewheel",s,w),pe(e,"pinch",l,w)))},a.disable=function(){this._enabled&&(this._enabled=!1,he(e,"mousedown",t),he(e,"mousemove",n),he(e,"mouseup",o),he(e,"mousewheel",s),he(e,"pinch",l))},a}return r.prototype.isDragging=function(){return this._dragging},r.prototype.isPinching=function(){return this._pinching},r.prototype._checkPointer=function(e,a,t){var n=this._opt,o=n.zInfoParsed;if(dr(e,n.api,o.component))return!1;var s=n.triggerInfo,l=s.roamTrigger,u=!1;return l==="global"&&(u=!0),u||(u=s.isInSelf(e,a,t)),u&&s.isInClip&&!s.isInClip(e,a,t)&&(u=!1),u},r.prototype._decideCursorStyle=function(e,a,t,n){var o=e.target;if(!o&&this._checkPointer(e,a,t))return this._opt.cursorGrab;if(n)return o&&o.cursor||"default"},r.prototype.dispose=function(){this.disable()},r.prototype._mousedownHandler=function(e){if(!(mt(e)||de(e))){for(var a=e.target;a;){if(a.draggable)return;a=a.__hostTarget||a.parent}var t=e.offsetX,n=e.offsetY;this._checkPointer(e,t,n)&&(this._x=t,this._y=n,this._dragging=!0)}},r.prototype._mousemoveHandler=function(e){var a=this._zr;if(!(e.gestureEvent==="pinch"||Rt(a,"globalPan")||de(e))){var t=e.offsetX,n=e.offsetY;if(!this._dragging||!Se("moveOnMouseMove",e,this._opt)){var o=this._decideCursorStyle(e,t,n,!1);o&&a.setCursorStyle(o);return}a.setCursorStyle(this._opt.cursorGrabbing);var s=this._x,l=this._y,u=t-s,p=n-l;this._x=t,this._y=n,this._opt.preventDefaultMouseMove&&we(e.event),e.__ecRoamConsumed=!0,Tt(this,"pan","moveOnMouseMove",e,{dx:u,dy:p,oldX:s,oldY:l,newX:t,newY:n,isAvailableBehavior:null})}},r.prototype._mouseupHandler=function(e){if(!de(e)){var a=this._zr;if(!mt(e)){this._dragging=!1;var t=this._decideCursorStyle(e,e.offsetX,e.offsetY,!0);t&&a.setCursorStyle(t)}}},r.prototype._mousewheelHandler=function(e){if(!de(e)){var a=Se("zoomOnMouseWheel",e,this._opt),t=Se("moveOnMouseWheel",e,this._opt),n=e.wheelDelta,o=Math.abs(n),s=e.offsetX,l=e.offsetY;if(!(n===0||!a&&!t)){if(a){var u=o>3?1.4:o>1?1.2:1.1,p=n>0?u:1/u;this._checkTriggerMoveZoom(this,"zoom","zoomOnMouseWheel",e,{scale:p,originX:s,originY:l,isAvailableBehavior:null})}if(t){var f=Math.abs(n),g=(n>0?1:-1)*(f>3?.4:f>1?.15:.05);this._checkTriggerMoveZoom(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:g,originX:s,originY:l,isAvailableBehavior:null})}}}},r.prototype._pinchHandler=function(e){if(!(Rt(this._zr,"globalPan")||de(e))){var a=e.pinchScale>1?1.1:1/1.1;this._checkTriggerMoveZoom(this,"zoom",null,e,{scale:a,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})}},r.prototype._checkTriggerMoveZoom=function(e,a,t,n,o){e._checkPointer(n,o.originX,o.originY)&&(we(n.event),n.__ecRoamConsumed=!0,Tt(e,a,t,n,o))},r})(Ma);function de(i){return i.__ecRoamConsumed}var hr=Te();function Ie(i){var r=hr(i);return r.roam=r.roam||{},r.uniform=r.uniform||{},r}function pe(i,r,e,a){for(var t=Ie(i),n=t.roam,o=n[r]=n[r]||[],s=0;sn&&(r[1-a]=ne(r[a],f.sign*n)),r}function Ee(i,r){var e=i[r]-i[1-r];return{span:Math.abs(e),sign:e>0?-1:e<0?1:r?-1:1}}function ie(i,r){return Math.min(r[1]!=null?r[1]:1/0,Math.max(r[0]!=null?r[0]:-1/0,i))}var It=["x","y","radius","angle","single"],gr=Te(),mr=["cartesian2d","polar","singleAxis"];function _r(i){var r=i.get("coordinateSystem");return Nt(mr,r)>=0}function Q(i){return i+"Axis"}function yr(i,r){var e=ee(),a=[],t=ee();i.eachComponent({mainType:"dataZoom",query:r},function(p){t.get(p.uid)||s(p)});var n;do n=!1,i.eachComponent("dataZoom",o);while(n);function o(p){!t.get(p.uid)&&l(p)&&(s(p),n=!0)}function s(p){t.set(p.uid,!0),a.push(p),u(p)}function l(p){var f=!1;return p.eachTargetAxis(function(g,_){var M=e.get(g);M&&M[_]&&(f=!0)}),f}function u(p){p.eachTargetAxis(function(f,g){(e.get(f)||e.set(f,[]))[g]=!0})}return a}function Ft(i){var r=i.ecModel,e={infoList:[],infoMap:ee()};return i.eachTargetAxis(function(a,t){var n=r.getComponent(Q(a),t);if(n){var o=n.getCoordSysModel();if(o){var s=o.uid,l=e.infoMap.get(s);l||(l={model:o,axisModels:[]},e.infoList.push(l),e.infoMap.set(s,l)),l.axisModels.push(n)}}}),e}function Wt(i){var r=gr(Sa(i));return r.axisProxyMap||(r.axisProxyMap=ee())}function Ae(i){if(i)return Wt(i.ecModel).get(i.uid)}function br(i,r){Wt(i.ecModel).set(i.uid,r)}function Yt(i,r){var e=r.getAxisModel().axis.__alignTo;return e&&i.getAxisProxy(e.dim,e.model.componentIndex)?Ae(e.model):null}var Oe=(function(){function i(){this.indexList=[],this.indexMap=[]}return i.prototype.add=function(r){this.indexMap[r]||(this.indexList.push(r),this.indexMap[r]=!0)},i})(),Re=(function(i){ae(r,i);function r(){var e=i!==null&&i.apply(this,arguments)||this;return e.type=r.type,e._autoThrottle=!0,e._noTarget=!0,e._rangePropMode=["percent","percent"],e}return r.prototype.init=function(e,a,t){var n=Lt(e);this.settledOption=n,this.mergeDefaultAndTheme(e,t),this._doInit(n)},r.prototype.mergeOption=function(e){var a=Lt(e);_t(this.option,e,!0),_t(this.settledOption,a,!0),this._doInit(a)},r.prototype._doInit=function(e){var a=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var t=this.settledOption;T([["start","startValue"],["end","endValue"]],function(n,o){this._rangePropMode[o]==="value"&&(a[n[0]]=t[n[0]]=null)},this),this._resetTarget()},r.prototype._resetTarget=function(){var e=this.get("orient",!0),a=this._targetAxisInfoMap=ee(),t=this._fillSpecifiedTargetAxis(a);t?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(a,this._orient)),this._noTarget=!0,a.each(function(n){n.indexList.length&&(this._noTarget=!1)},this)},r.prototype._fillSpecifiedTargetAxis=function(e){var a=!1;return T(It,function(t){var n=this.getReferringComponents(Q(t),wa);if(n.specified){a=!0;var o=new Oe;T(n.models,function(s){o.add(s.componentIndex)}),e.set(t,o)}},this),a},r.prototype._fillAutoTargetAxisByOrient=function(e,a){var t=this.ecModel,n=!0;if(n){var o=a==="vertical"?"y":"x",s=t.findComponents({mainType:o+"Axis"});l(s,o)}if(n){var s=t.findComponents({mainType:"singleAxis",filter:function(p){return p.get("orient",!0)===a}});l(s,"single")}function l(u,p){var f=u[0];if(f){var g=new Oe;if(g.add(f.componentIndex),e.set(p,g),n=!1,p==="x"||p==="y"){var _=f.getReferringComponents("grid",Fe).models[0];_&&T(u,function(M){f.componentIndex!==M.componentIndex&&_===M.getReferringComponents("grid",Fe).models[0]&&g.add(M.componentIndex)})}}}n&&T(It,function(u){if(n){var p=t.findComponents({mainType:Q(u),filter:function(g){return g.get("type",!0)==="category"}});if(p[0]){var f=new Oe;f.add(p[0].componentIndex),e.set(u,f),n=!1}}},this)},r.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis(function(a){!e&&(e=a)},this),e==="y"?"vertical":"horizontal"},r.prototype._setDefaultThrottle=function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var a=this.ecModel.option;this.option.throttle=a.animation&&a.animationDurationUpdate>0?100:20}},r.prototype._updateRangeUse=function(e){var a=this._rangePropMode,t=this.get("rangeMode");T([["start","startValue"],["end","endValue"]],function(n,o){var s=e[n[0]]!=null,l=e[n[1]]!=null;s&&!l?a[o]="percent":!s&&l?a[o]="value":t?a[o]=t[o]:s&&(a[o]="percent")})},r.prototype.noTarget=function(){return this._noTarget},r.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis(function(a,t){e==null&&(e=this.ecModel.getComponent(Q(a),t))},this),e},r.prototype.eachTargetAxis=function(e,a){this._targetAxisInfoMap.each(function(t,n){T(t.indexList,function(o){e.call(a,n,o)})})},r.prototype.getAxisProxy=function(e,a){return Ae(this.getAxisModel(e,a))},r.prototype.getAxisModel=function(e,a){var t=this._targetAxisInfoMap.get(e);if(t&&t.indexMap[a])return this.ecModel.getComponent(Q(e),a)},r.prototype.setRawRange=function(e){var a=this.option,t=this.settledOption;T([["start","startValue"],["end","endValue"]],function(n){(e[n[0]]!=null||e[n[1]]!=null)&&(a[n[0]]=t[n[0]]=e[n[0]],a[n[1]]=t[n[1]]=e[n[1]])},this),this._updateRangeUse(e)},r.prototype.setCalculatedRange=function(e){var a=this.option;T(["start","startValue","end","endValue"],function(t){a[t]=e[t]})},r.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getWindow().percent},r.prototype.getValueRange=function(e,a){if(e==null&&a==null){var t=this.findRepresentativeAxisProxy();if(t)return t.getWindow().value}else return this.getAxisProxy(e,a).getWindow().value},r.prototype.findRepresentativeAxisProxy=function(e){if(e)return Ae(e);for(var a,t=this._targetAxisInfoMap.keys(),n=0;no[1];if(L&&!y&&!S)return!0;L&&(I=!0),y&&(M=!0),S&&(w=!0)}return I&&M&&w})}else T(p,function(_){if(n==="empty")l.setData(u=u.map(_,function(w){return s(w)?w:NaN}));else{var M={};M[_]=o,u.selectRange(M)}});T(p,function(_){u.setApproximateExtent(o,_)})}});function s(l){return l>=o[0]&&l<=o[1]}},i.prototype._updateMinMaxSpan=function(){var r=this._minMaxSpan={},e=this._dataZoomModel,a=this._extent;T(["min","max"],function(t){var n=e.get(t+"Span"),o=e.get(t+"ValueSpan");o!=null&&(o=this.getAxisModel().axis.scale.parse(o)),o!=null?n=Z(a[0]+o,a,[0,100],!0):n!=null&&(o=Z(n,[0,100],a,!0)-a[0]),r[t+"Span"]=n,r[t+"ValueSpan"]=o},this)},i})(),Mr={dirtyOnOverallProgress:!0,getTargetSeries:function(i){function r(t){i.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(o,s){var l=i.getComponent(Q(o),s);t(o,s,l,n)})})}var e=[];r(function(t,n,o,s){if(!Ae(o)){var l=new xr(t,n,s,i);e.push(l),br(o,l)}});var a=ee();return T(e,function(t){T(t.getTargetSeriesModels(),function(n){a.set(n.uid,n)})}),a},overallReset:function(i,r){i.eachComponent("dataZoom",function(e){var a=[];e.eachTargetAxis(function(t,n){var o=e.getAxisProxy(t,n),s=Yt(e,o);s?a.push([o,s]):o.reset(e,null)}),T(a,function(t){t[0].reset(e,t[1].getWindow().percentInverted)}),e.eachTargetAxis(function(t,n){e.getAxisProxy(t,n).filterData(e,r)})}),i.eachComponent("dataZoom",function(e){var a=e.findRepresentativeAxisProxy();if(a){var t=a.getWindow(),n=t.percent,o=t.value;e.setCalculatedRange({start:n[0],end:n[1],startValue:o[0],endValue:o[1]})}})}};function Sr(i){i.registerAction("dataZoom",function(r,e){var a=yr(e,r);T(a,function(t){t.setRawRange({start:r.start,end:r.end,startValue:r.startValue,endValue:r.endValue})})})}var wr=Za();function Kt(i){wr(i,function(){i.registerProcessor(i.PRIORITY.PROCESSOR.FILTER,Mr),Sr(i),i.registerSubTypeDefaulter("dataZoom",function(){return"slider"})})}var Ar=(function(i){ae(r,i);function r(){var e=i!==null&&i.apply(this,arguments)||this;return e.type=r.type,e}return r.type="dataZoom.inside",r.defaultOption=$t(Re.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),r})(Re),Ye=Te();function Rr(i,r,e){Ye(i).coordSysRecordMap.each(function(a){var t=a.dataZoomInfoMap.get(r.uid);t&&(t.getRange=e)})}function Tr(i,r){for(var e=Ye(i).coordSysRecordMap,a=e.keys(),t=0;tn[t+a]&&(a=f),o=o&&p.get("preventDefaultMouseMove",!0),s=Ue(p.get("cursorGrab",!0),s),l=Ue(p.get("cursorGrabbing",!0),l)}),{controlType:a,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o,api:e,zInfo:{component:r.model},triggerInfo:{roamTrigger:null,isInSelf:r.containsPoint},cursorGrab:s,cursorGrabbing:l}}}function kr(i){i.registerUpdateLifecycle("coordsys:aftercreate",function(r,e){var a=Ye(e),t=a.coordSysRecordMap||(a.coordSysRecordMap=ee());t.each(function(n){n.dataZoomInfoMap=null}),r.eachComponent({mainType:"dataZoom",subType:"inside"},function(n){var o=Ft(n);T(o.infoList,function(s){var l=s.model.uid,u=t.get(l)||t.set(l,Ir(e,s.model)),p=u.dataZoomInfoMap||(u.dataZoomInfoMap=ee());p.set(n.uid,{dzReferCoordSysInfo:s,model:n,getRange:null})})}),t.each(function(n){var o=n.controller,s,l=n.dataZoomInfoMap;if(l){var u=l.keys()[0];u!=null&&(s=l.get(u))}if(!s){qt(t,n);return}var p=Cr(l,n,e);o.enable(p.controlType,p.opt),Ht(n,"dispatchAction",s.model.get("throttle",!0),"fixRate")})})}var Pr=(function(i){ae(r,i);function r(){var e=i!==null&&i.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return r.prototype.render=function(e,a,t){if(i.prototype.render.apply(this,arguments),e.noTarget()){this._clear();return}this.range=e.getPercentRange(),Rr(t,e,{pan:C(Ze.pan,this),zoom:C(Ze.zoom,this),scrollMove:C(Ze.scrollMove,this)})},r.prototype.dispose=function(){this._clear(),i.prototype.dispose.apply(this,arguments)},r.prototype._clear=function(){Tr(this.api,this.dataZoomModel),this.range=null},r.type="dataZoom.inside",r})(Xt),Ze={zoom:function(i,r,e,a){var t=this.range,n=t.slice(),o=i.axisModels[0];if(o){var s=ze[r](null,[a.originX,a.originY],o,e,i),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(n[1]-n[0])+n[0],u=Math.max(1/a.scale,0);n[0]=(n[0]-l)*u+l,n[1]=(n[1]-l)*u+l;var p=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(me(0,n,[0,100],0,p.minSpan,p.maxSpan),this.range=n,t[0]!==n[0]||t[1]!==n[1])return n}},pan:Dt(function(i,r,e,a,t,n){var o=ze[a]([n.oldX,n.oldY],[n.newX,n.newY],r,t,e);return o.signal*(i[1]-i[0])*o.pixel/o.pixelLength}),scrollMove:Dt(function(i,r,e,a,t,n){var o=ze[a]([0,0],[n.scrollDelta,n.scrollDelta],r,t,e);return o.signal*(i[1]-i[0])*n.scrollDelta})};function Dt(i){return function(r,e,a,t){var n=this.range,o=n.slice(),s=r.axisModels[0];if(s){var l=i(o,s,r,e,a,t);if(me(l,o,[0,100],"all"),this.range=o,n[0]!==o[0]||n[1]!==o[1])return o}}}var ze={grid:function(i,r,e,a,t){var n=e.axis,o={},s=t.model.coordinateSystem.getRect();return i=i||[0,0],n.dim==="x"?(o.pixel=r[0]-i[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=n.inverse?1:-1):(o.pixel=r[1]-i[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=n.inverse?-1:1),o},polar:function(i,r,e,a,t){var n=e.axis,o={},s=t.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return i=i?s.pointToCoord(i):[0,0],r=s.pointToCoord(r),e.mainType==="radiusAxis"?(o.pixel=r[0]-i[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=n.inverse?1:-1):(o.pixel=r[1]-i[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=n.inverse?-1:1),o},singleAxis:function(i,r,e,a,t){var n=e.axis,o=t.model.coordinateSystem.getRect(),s={};return i=i||[0,0],n.orient==="horizontal"?(s.pixel=r[0]-i[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=n.inverse?1:-1):(s.pixel=r[1]-i[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=n.inverse?-1:1),s}};function Er(i){Kt(i),i.registerComponentModel(Ar),i.registerComponentView(Pr),kr(i)}var Or=(function(i){ae(r,i);function r(){var e=i!==null&&i.apply(this,arguments)||this;return e.type=r.type,e}return r.type="dataZoom.slider",r.layoutMode="box",r.defaultOption=$t(Re.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:G.color.accent10,borderRadius:0,backgroundColor:G.color.transparent,dataBackground:{lineStyle:{color:G.color.accent30,width:.5},areaStyle:{color:G.color.accent20,opacity:.2}},selectedDataBackground:{lineStyle:{color:G.color.accent40,width:.5},areaStyle:{color:G.color.accent20,opacity:.3}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:G.color.neutral00,borderColor:G.color.accent20},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:G.color.accent40,opacity:.5},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:G.color.tertiary},brushSelect:!0,brushStyle:{color:G.color.accent30,opacity:.3},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:G.color.accent40},moveHandleStyle:{opacity:.8}},defaultLocationEdgeGap:15}),r})(Re),fe=Me,Zr=1,Ne=30,zr=7,ve="horizontal",Ct="vertical",Nr=5,Gr=["line","bar","candlestick","scatter"],Vr={easing:"cubicOut",duration:100,delay:0},Br=(function(i){ae(r,i);function r(){var e=i!==null&&i.apply(this,arguments)||this;return e.type=r.type,e._displayables={},e}return r.prototype.init=function(e,a){this.api=a,this._onBrush=C(this._onBrush,this),this._onBrushEnd=C(this._onBrushEnd,this)},r.prototype.render=function(e,a,t,n){if(i.prototype.render.apply(this,arguments),Ht(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),e.get("show")===!1){this.group.removeAll();return}if(e.noTarget()){this._clear(),this.group.removeAll();return}(!n||n.type!=="dataZoom"||n.from!==this.uid)&&this._buildView(),this._updateView()},r.prototype.dispose=function(){this._clear(),i.prototype.dispose.apply(this,arguments)},r.prototype._clear=function(){za(this,"_dispatchZoomAction");var e=this.api.getZr();e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)},r.prototype._buildView=function(){var e=this.group;e.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var a=this._displayables.sliderGroup=new xt;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(a),this._positionGroup()},r.prototype._resetLocation=function(){var e=this.dataZoomModel,a=this.api,t=e.get("brushSelect"),n=t?zr:0,o=Na(e,a).refContainer,s=this._findCoordRect(),l=e.get("defaultLocationEdgeGap",!0)||0,u=this._orient===ve?{right:o.width-s.x-s.width,top:o.height-Ne-l-n,width:s.width,height:Ne}:{right:l,top:s.y,width:Ne,height:s.height},p=Ga(e.option);T(["right","top","width","height"],function(g){p[g]==="ph"&&(p[g]=u[g])});var f=Va(p,o);this._location={x:f.x,y:f.y},this._size=[f.width,f.height],this._orient===Ct&&this._size.reverse()},r.prototype._positionGroup=function(){var e=this.group,a=this._location,t=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),o=n&&n.get("inverse"),s=this._displayables.sliderGroup,l=(this._dataShadowInfo||{}).otherAxisInverse;s.attr(t===ve&&!o?{scaleY:l?1:-1,scaleX:1}:t===ve&&o?{scaleY:l?1:-1,scaleX:-1}:t===Ct&&!o?{scaleY:l?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:l?-1:1,scaleX:-1,rotation:Math.PI/2});var u=e.getBoundingRect([s]),p=isNaN(u.x)?0:u.x,f=isNaN(u.y)?0:u.y;e.x=a.x-p,e.y=a.y-f,e.markRedraw()},r.prototype._getViewExtent=function(){return[0,this._size[0]]},r.prototype._renderBackground=function(){var e=this.dataZoomModel,a=this._size,t=this._displayables.sliderGroup,n=e.get("brushSelect");t.add(new fe({silent:!0,shape:{x:0,y:0,width:a[0],height:a[1]},style:{fill:e.get("backgroundColor")},z2:-40}));var o=new fe({shape:{x:0,y:0,width:a[0],height:a[1]},style:{fill:"transparent"},z2:0,onclick:C(this._onClickPanel,this)}),s=this.api.getZr();n?(o.on("mousedown",this._onBrushStart,this),o.cursor="crosshair",s.on("mousemove",this._onBrush),s.on("mouseup",this._onBrushEnd)):(s.off("mousemove",this._onBrush),s.off("mouseup",this._onBrushEnd)),t.add(o)},r.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!e)return;var a=this._size,t=this._shadowSize||[],n=e.series,o=n.getRawData(),s=n.getShadowDim&&n.getShadowDim(),l=s&&o.getDimensionInfo(s)?n.getShadowDim():e.otherDim;if(l==null)return;var u=this._shadowPolygonPts,p=this._shadowPolylinePts;if(o!==this._shadowData||l!==this._shadowDim||a[0]!==t[0]||a[1]!==t[1]){var f=o.getDataExtent(e.thisDim),g=o.getDataExtent(l),_=(g[1]-g[0])*.3;g=[g[0]-_,g[1]+_];var M=[0,a[1]],w=[0,a[0]],I=[[a[0],0],[0,0]],R=[],P=w[1]/Math.max(1,o.count()-1),L=a[0]/(f[1]-f[0]),y=e.thisAxis.type==="time",S=-P,D=Math.round(o.count()/a[0]),V;o.each([e.thisDim,l],function(B,F,J){if(D>0&&J%D){y||(S+=P);return}S=y?(+B-f[0])*L:S+P;var W=F==null||isNaN(F)||F==="",oe=W?0:Z(F,g,M,!0);W&&!V&&J?(I.push([I[I.length-1][0],0]),R.push([R[R.length-1][0],0])):!W&&V&&(I.push([S,0]),R.push([S,0])),W||(I.push([S,oe]),R.push([S,oe])),V=W}),u=this._shadowPolygonPts=I,p=this._shadowPolylinePts=R}this._shadowData=o,this._shadowDim=l,this._shadowSize=[a[0],a[1]];var U=this.dataZoomModel;function N(B){var F=U.getModel(B?"selectedDataBackground":"dataBackground"),J=new xt,W=new Xa({shape:{points:u},segmentIgnoreThreshold:1,style:F.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),oe=new Ka({shape:{points:p},segmentIgnoreThreshold:1,style:F.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return J.add(W),J.add(oe),J}for(var te=0;te<3;te++){var re=N(te===1);this._displayables.sliderGroup.add(re),this._displayables.dataShadowSegs.push(re)}},r.prototype._prepareDataShadowInfo=function(){var e=this.dataZoomModel,a=e.get("showDataShadow");if(a!==!1){var t,n=this.ecModel;return e.eachTargetAxis(function(o,s){var l=e.getAxisProxy(o,s).getTargetSeriesModels();T(l,function(u){if(!t&&!(a!==!0&&Nt(Gr,u.get("type"))<0)){var p=n.getComponent(Q(o),s).axis,f=$r(o),g,_=u.coordinateSystem;f!=null&&_.getOtherAxis&&(g=_.getOtherAxis(p).inverse),f=u.getData().mapDimension(f);var M=u.getData().mapDimension(o);t={thisAxis:p,series:u,thisDim:M,otherDim:f,otherAxisInverse:g}}},this)},this),t}},r.prototype._renderHandle=function(){var e=this.group,a=this._displayables,t=a.handles=[null,null],n=a.handleLabels=[null,null],o=this._displayables.sliderGroup,s=this._size,l=this.dataZoomModel,u=this.api,p=l.get("borderRadius")||0,f=l.get("brushSelect"),g=a.filler=new fe({silent:f,style:{fill:l.get("fillerColor")},textConfig:{position:"inside"}});o.add(g),o.add(new fe({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:s[0],height:s[1],r:p},style:{stroke:l.get("dataBackgroundColor")||l.get("borderColor"),lineWidth:Zr,fill:G.color.transparent}})),T([0,1],function(L){var y=l.get("handleIcon");!Ba[y]&&y.indexOf("path://")<0&&y.indexOf("image://")<0&&(y="path://"+y);var S=Mt(y,-1,0,2,2,null,!0);S.attr({cursor:Hr(this._orient),draggable:!0,drift:C(this._onDragMove,this,L),ondragend:C(this._onDragEnd,this),onmouseover:C(this._onOverDataInfoTriggerArea,this,!0),onmouseout:C(this._onOverDataInfoTriggerArea,this,!1),z2:5});var D=S.getBoundingRect(),V=l.get("handleSize");this._handleHeight=St(V,this._size[1]),this._handleWidth=D.width/D.height*this._handleHeight,S.setStyle(l.getModel("handleStyle").getItemStyle()),S.style.strokeNoScale=!0,S.rectHover=!0,S.ensureState("emphasis").style=l.getModel(["emphasis","handleStyle"]).getItemStyle(),$a(S);var U=l.get("handleColor");U!=null&&(S.style.fill=U),o.add(t[L]=S);var N=l.getModel("textStyle"),te=l.get("handleLabel")||{},re=te.show||!1;e.add(n[L]=new Ha({silent:!0,invisible:!re,style:Ua(N,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:N.getTextColor(),font:N.getFont()}),z2:10}))},this);var _=g;if(f){var M=St(l.get("moveHandleSize"),s[1]),w=a.moveHandle=new Me({style:l.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:s[1]-.5,height:M}}),I=M*.8,R=a.moveHandleIcon=Mt(l.get("moveHandleIcon"),-I/2,-I/2,I,I,G.color.neutral00,!0);R.silent=!0,R.y=s[1]+M/2-.5,w.ensureState("emphasis").style=l.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var P=Math.min(s[1]/2,Math.max(M,10));_=a.moveZone=new Me({invisible:!0,shape:{y:s[1]-P,height:M+P}}),_.on("mouseover",function(){u.enterEmphasis(w)}).on("mouseout",function(){u.leaveEmphasis(w)}),o.add(w),o.add(R),o.add(_)}_.attr({draggable:!0,cursor:"grab",drift:C(this._onActualMoveZoneDrift,this),ondragstart:C(this._onActualMoveZoneDragStart,this),ondragend:C(this._onActualMoveZoneDragEnd,this),onmouseover:C(this._onOverDataInfoTriggerArea,this,!0),onmouseout:C(this._onOverDataInfoTriggerArea,this,!1)})},r.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),a=this._getViewExtent();this._handleEnds=[Z(e[0],[0,100],a,!0),Z(e[1],[0,100],a,!0)]},r.prototype._updateInterval=function(e,a){var t=this.dataZoomModel,n=this._handleEnds,o=this._getViewExtent(),s=t.findRepresentativeAxisProxy().getMinMaxSpan(),l=[0,100];me(a,n,o,t.get("zoomLock")?"all":e,s.minSpan!=null?Z(s.minSpan,l,o,!0):null,s.maxSpan!=null?Z(s.maxSpan,l,o,!0):null);var u=this._range,p=this._range=se([Z(n[0],o,l,!0),Z(n[1],o,l,!0)]);return!u||u[0]!==p[0]||u[1]!==p[1]},r.prototype._updateView=function(e){var a=this._displayables,t=this._handleEnds,n=se(t.slice()),o=this._size;T([0,1],function(_){var M=a.handles[_],w=this._handleHeight;M.attr({scaleX:w/2,scaleY:w/2,x:t[_]+(_?-1:1),y:o[1]/2-w/2})},this),a.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:o[1]});var s={x:n[0],width:n[1]-n[0]};a.moveHandle&&(a.moveHandle.setShape(s),a.moveZone.setShape(s),a.moveZone.getBoundingRect(),a.moveHandleIcon&&a.moveHandleIcon.attr("x",s.x+s.width/2));for(var l=a.dataShadowSegs,u=[0,n[0],n[1],o[0]],p=0;pa[0]||t[1]<0||t[1]>a[1])){var n=this._handleEnds,o=(n[0]+n[1])/2,s=this._updateInterval("all",t[0]-o);this._updateView(),s&&this._dispatchZoomAction(!1)}},r.prototype._onBrushStart=function(e){var a=e.offsetX,t=e.offsetY;this._brushStart=new Ya(a,t),this._brushing=!0,this._brushStartTime=+new Date},r.prototype._onBrushEnd=function(e){if(this._brushing){var a=this._displayables.brushRect;if(this._brushing=!1,!!a){a.attr("ignore",!0);var t=a.shape,n=+new Date;if(!(n-this._brushStartTime<200&&Math.abs(t.width)<5)){var o=this._getViewExtent(),s=[0,100],l=this._handleEnds=[t.x,t.x+t.width],u=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();me(0,l,o,0,u.minSpan!=null?Z(u.minSpan,s,o,!0):null,u.maxSpan!=null?Z(u.maxSpan,s,o,!0):null),this._range=se([Z(l[0],o,s,!0),Z(l[1],o,s,!0)]),this._updateView(),this._dispatchZoomAction(!1)}}}},r.prototype._onBrush=function(e){this._brushing&&(we(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},r.prototype._updateBrushRect=function(e,a){var t=this._displayables,n=this.dataZoomModel,o=t.brushRect;o||(o=t.brushRect=new fe({silent:!0,style:n.getModel("brushStyle").getItemStyle()}),t.sliderGroup.add(o)),o.attr("ignore",!1);var s=this._brushStart,l=this._displayables.sliderGroup,u=l.transformCoordToLocal(e,a),p=l.transformCoordToLocal(s.x,s.y),f=this._size;u[0]=Math.max(Math.min(f[0],u[0]),0),o.setShape({x:p[0],y:0,width:u[0]-p[0],height:f[1]})},r.prototype._dispatchZoomAction=function(e){var a=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:e?Vr:null,start:a[0],end:a[1]})},r.prototype._findCoordRect=function(){var e,a=Ft(this.dataZoomModel).infoList;if(!e&&a.length){var t=a[0].model.coordinateSystem;e=t.getRect&&t.getRect()}if(!e){var n=this.api.getWidth(),o=this.api.getHeight();e={x:n*.2,y:o*.2,width:n*.6,height:o*.6}}return e},r.type="dataZoom.slider",r})(Xt);function kt(i,r,e,a){var t=i.get("labelFormatter"),n=i.get("labelPrecision");(n==null||n==="auto")&&(n=e.valuePrecision);var o=e.value[r],s=o==null||isNaN(o)?"":Gt(a)||Vt(a)?a.getLabel({value:Math.round(o)}):isFinite(n)?Bt(o,n,!0):o+"";return qa(t)?t(o,s):zt(t)?t.replace("{value}",s):s}function $r(i){var r={x:"y",y:"x",radius:"angle",angle:"radius"};return r[i]}function Hr(i){return i==="vertical"?"ns-resize":"ew-resize"}function Ur(i){i.registerComponentModel(Or),i.registerComponentView(Br),Kt(i)}function Fr(i){We(Er),We(Ur)}const Wr={class:"overview-layout","aria-label":"训练任务信息"},Yr=Ot({__name:"TrainingTaskOverview",props:{task:{},dataset:{},baseModelName:{}},setup(i){function r(e){if(!e)return"-";const a=new Date(e);return Number.isNaN(a.getTime())?e:a.toLocaleString("zh-CN",{hour12:!1})}return(e,a)=>{const t=Pt,n=Et;return H(),pa(ge,{class:"task-overview",title:"任务信息",subtitle:"模型、数据集与运行配置"},{default:x(()=>[c("div",Wr,[m(n,{class:"task-descriptions task-profile",column:2,border:""},{default:x(()=>[m(t,{label:"任务 ID"},{default:x(()=>{var o;return[A(v(((o=i.task)==null?void 0:o.id)??"-"),1)]}),_:1}),m(t,{label:"创建时间"},{default:x(()=>{var o;return[A(v(r((o=i.task)==null?void 0:o.create_time)),1)]}),_:1}),m(t,{label:"基座模型"},{default:x(()=>[A(v(i.baseModelName),1)]),_:1}),m(t,{label:"输出模型"},{default:x(()=>{var o;return[A(v(((o=i.task)==null?void 0:o.output_model_name)||"暂未生成"),1)]}),_:1}),m(t,{label:"训练方式"},{default:x(()=>{var o;return[A(v((o=i.task)!=null&&o.train_type?j(Be)[i.task.train_type]||i.task.train_type:"未配置"),1)]}),_:1}),m(t,{label:"训练方法"},{default:x(()=>{var o;return[A(v((o=i.task)!=null&&o.train_method?j($e)[i.task.train_method]||i.task.train_method:"未配置"),1)]}),_:1}),m(t,{label:"训练数据集","class-name":"dataset-profile"},{default:x(()=>{var o,s;return[A(v(((o=i.dataset)==null?void 0:o.name)||((s=i.task)!=null&&s.train_dataset_id?"正在加载":"未配置")),1)]}),_:1}),m(t,{label:"数据类型"},{default:x(()=>[A(v(i.dataset&&(j(ha)[i.dataset.type]||i.dataset.type)||"未配置"),1)]),_:1}),m(t,{label:"数据条数"},{default:x(()=>{var o,s,l;return[A(v(((s=(o=i.dataset)==null?void 0:o.count)==null?void 0:s.toLocaleString("zh-CN"))??"未配置")+v(((l=i.dataset)==null?void 0:l.count)!=null?" 条":""),1)]}),_:1}),m(t,{label:"数据大小"},{default:x(()=>{var o;return[A(v(((o=i.dataset)==null?void 0:o.size)||"未配置"),1)]}),_:1}),m(t,{label:"训练开始时间","class-name":"runtime-panel"},{default:x(()=>{var o;return[A(v(r((o=i.task)==null?void 0:o.create_time)),1)]}),_:1}),m(t,{label:"训练时长"},{default:x(()=>{var o;return[A(v(((o=i.task)==null?void 0:o.train_duration)||"未配置"),1)]}),_:1}),m(t,{label:"存储位置"},{default:x(()=>{var o,s;return[A(v(j(fa)[((o=i.dataset)==null?void 0:o.storage_type)||""]||((s=i.dataset)==null?void 0:s.storage_type)||"未配置"),1)]}),_:1}),m(t,{label:"使用 GPU"},{default:x(()=>{var o,s;return[A(v((s=(o=i.task)==null?void 0:o.gpus)!=null&&s.length?i.task.gpus.join("、"):"未配置"),1)]}),_:1})]),_:1})])]),_:1})}}}),Xr=Ut(Yr,[["__scopeId","data-v-f3e298f0"]]);We([ja,ar,Ja,Qa,er,Fr]);const jt="[-+]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[eE][-+]?\\d+)?";function Jt(i){return i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function be(i,r){const e=i.match(new RegExp(`['"]?${Jt(r)}['"]?\\s*:\\s*(${jt})`,"i"));return e?Number(e[1]):void 0}function Ge(i,r){const e=i.match(new RegExp(`['"]?${Jt(r)}['"]?\\s*(?:=|:)\\s*(${jt})`,"i"));return(e==null?void 0:e[1])||""}function Kr(i,r){const e=r.process_id;if(e!=null){const t=i.find(s=>s.pid===e);if(t)return t;const n=new RegExp(`(?:^|[^0-9])(?:pid)?${e}(?:[^0-9]|$)`,"i"),o=i.find(s=>n.test(s.file));if(o)return o}const a=r.name.trim();if(a)return i.find(t=>t.name.includes(a)||t.file.includes(a))}function qr(i){const r={loss:[],gradNorm:[],lr:[],epoch:[]},e=i.match(/\{[^{}\r\n]*\}/g)||[];for(const a of e){const t=be(a,"loss"),n=be(a,"grad_norm"),o=be(a,"learning_rate"),s=be(a,"epoch");t==null||n==null||o==null||(r.loss.push(t),r.gradNorm.push(n),r.lr.push(o),s!=null&&r.epoch.push(s))}return r}function jr(i){const r={epoch:"",trainLoss:"",runtime:""},e=/\*{5}\s*train metrics\s*\*{5}/i.exec(i);if(!e)return r;const a=i.slice(e.index+e[0].length),t=/\*{5}\s*train metrics end\s*\*{5}/i.exec(a),n=t?a.slice(0,t.index):a;return{epoch:Ge(n,"epoch"),trainLoss:Ge(n,"train_loss"),runtime:Ge(n,"train_runtime")}}function Jr(i){return{metrics:qr(i),summary:jr(i)}}function Ve(i,r,e,a=!1){return{grid:{top:24,right:20,bottom:56,left:56},tooltip:{trigger:"axis",axisPointer:{type:"cross"},backgroundColor:"rgba(15, 23, 42, 0.9)",borderWidth:0,textStyle:{color:"#fff",fontSize:12}},xAxis:{type:"category",boundaryGap:!1,name:"Step",nameTextStyle:{color:"#94a3b8",fontSize:11},axisLine:{lineStyle:{color:"#e2e8f0"}},axisLabel:{color:"#94a3b8",fontSize:11},splitLine:{show:!1}},yAxis:{type:a?"log":"value",name:i,nameTextStyle:{color:"#94a3b8",fontSize:11},axisLine:{show:!1},axisTick:{show:!1},axisLabel:{color:"#94a3b8",fontSize:11},splitLine:{lineStyle:{color:"#f1f5f9"}}},dataZoom:r.length>30?[{type:"inside",start:0,end:100},{type:"slider",height:16,bottom:8,borderColor:"transparent",fillerColor:"rgba(79,70,229,0.08)",handleStyle:{color:"#4f46e5"}}]:[],series:[{name:i,type:"line",data:r,smooth:!0,symbol:"none",lineStyle:{width:2,color:e},areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:`${e}55`},{offset:1,color:`${e}05`}]}}}]}}const Qr={class:"training-log"},eo={key:0,"element-loading-text":"正在加载训练详情…",class:"loading-wrap"},to={class:"task-page-header","aria-labelledby":"task-page-title"},ao={class:"task-page-title-row"},ro={id:"task-page-title"},oo={class:"task-page-description"},no={class:"task-context-row","aria-label":"训练任务关键上下文"},io={class:"task-context-item"},so={class:"task-context-item"},lo={class:"task-context-item"},uo={class:"task-context-item"},co={class:"overview-card-header"},po={class:"overview-monitor-meta"},ho={class:"overview-refresh-state"},fo={class:"training-progress-panel","aria-labelledby":"training-progress-title"},vo={class:"training-progress-heading"},go={class:"training-metric-grid","aria-label":"训练关键指标"},mo={class:"training-metric-cell"},_o={class:"training-metric-cell"},yo={class:"training-metric-cell"},bo={class:"gpu-monitor","aria-labelledby":"gpu-monitor-title"},xo={class:"gpu-monitor-heading"},Mo={key:0,id:"gpu-device-list",class:"gpu-device-list",role:"table","aria-label":"GPU 设备实时运行状态"},So={class:"gpu-device-identity",role:"cell"},wo=["title"],Ao={class:"gpu-utilization-cell",role:"cell"},Ro={class:"gpu-cell-value"},To={class:"gpu-memory-cell",role:"cell"},Io={class:"gpu-resource-cell gpu-temperature-cell",role:"cell"},Lo={class:"gpu-resource-cell gpu-power-cell",role:"cell"},Do={key:1,class:"gpu-empty-state"},Co={key:2,class:"gpu-list-footer"},ko={class:"gpu-list-note"},Po={id:"training-parameter-content",class:"params-body"},Eo={class:"parameter-groups"},Oo={class:"parameter-group base-parameter-group","aria-label":"基础训练参数"},Zo={key:0,class:"parameter-group lora-parameter-group","aria-labelledby":"lora-params-title"},zo={class:"parameter-section-heading"},No={class:"chart-list","aria-label":"训练指标曲线"},Go={class:"chart-section"},Vo={class:"chart-section-header"},Bo={class:"chart-latest"},$o={class:"chart-section"},Ho={class:"chart-section-header"},Uo={class:"chart-latest"},Fo={class:"chart-section"},Wo={class:"chart-section-header"},Yo={class:"chart-latest"},Xo={class:"log-meta"},Ko={class:"log-pre"},xe=4,qo=Ot({__name:"TrainingLogView",setup(i){const e=ga().params.id,a=rr(),t=q(null),n=q(null),o=q(""),s=q([]),l=q(null),u=q(""),p=q(!0),f=vt({loss:[],gradNorm:[],lr:[],epoch:[]}),g=vt({epoch:"",trainLoss:"",runtime:""}),_=q(!1),M=q(!1);let w=!1;const I=O(()=>Ve("Loss",f.loss,"#4f46e5")),R=O(()=>Ve("Grad Norm",f.gradNorm,"#3b82f6")),P=O(()=>Ve("Learning Rate",f.lr,"#14b8a6",!0)),L=O(()=>{var h;return((h=t.value)==null?void 0:h.base_model)!=null?a.getModelName(t.value.base_model):"未配置"}),y=O(()=>{var h;return(h=t.value)!=null&&h.train_type?Be[t.value.train_type]||t.value.train_type:"未配置"}),S=O(()=>{var h;return(h=t.value)!=null&&h.train_method?$e[t.value.train_method]||t.value.train_method:"未配置"}),D=O(()=>{var h,d;return(d=(h=t.value)==null?void 0:h.gpus)!=null&&d.length?t.value.gpus.map(E=>`GPU ${E}`).join("、"):"未配置"}),V=O(()=>f.loss[f.loss.length-1]),U=O(()=>f.gradNorm[f.gradNorm.length-1]),N=O(()=>f.lr[f.lr.length-1]),te=O(()=>f.epoch[f.epoch.length-1]),re=O(()=>o.value?o.value.split(/\r?\n/).length:0),B=O(()=>{var h;return(((h=t.value)==null?void 0:h.gpus)??[]).map(d=>{const E=Number(d),X=s.value.find(z=>z.id!=null&&Number(z.id)===E)??s.value[E];return{index:E,gpu:X}})}),F=O(()=>{const h=B.value;if(!h.length)return"当前任务未配置 GPU";const d=h.filter($=>$.gpu),E=d.length?Math.round(d.reduce(($,Ce)=>{var ce;return $+Y((ce=Ce.gpu)==null?void 0:ce.gpu_percent)},0)/d.length):0,X=h.map($=>_e($.gpu).className),z=X.filter($=>$==="is-busy").length,ue=X.filter($=>["is-danger","is-warning","is-unavailable"].includes($)).length,De=ue?` · ${ue} 张需关注`:"";return`${h.length} 张 GPU · ${z} 张运行中${De} · 平均利用率 ${E}%`}),J=O(()=>{const h=B.value;return M.value||h.length<=xe?h:[...h].sort((d,E)=>Ke(d.gpu)-Ke(E.gpu)||d.index-E.index).slice(0,xe).sort((d,E)=>d.index-E.index)}),W=O(()=>Math.max(0,B.value.length-xe)),oe=O(()=>{if(!l.value)return u.value||"正在获取 GPU 状态";const h=l.value.toLocaleTimeString("zh-CN",{hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"});return u.value?`更新失败 · 最后更新 ${h}`:`${h} 更新 · 每 5 秒刷新`});function le(h,d=!1){return h==null||!Number.isFinite(h)?"-":d?h.toExponential(2):h.toFixed(4).replace(/0+$/,"").replace(/\.$/,"")}function Y(h){return Math.round(Math.min(100,Math.max(0,Number(h||0))))}function Le(h){return h==null||!Number.isFinite(Number(h))?"-":Number(h).toLocaleString("zh-CN",{maximumFractionDigits:1})}function Xe(h){return h?h.memory_percent!=null?Y(h.memory_percent):h.memory_total_gb?Y(h.memory_used_gb/h.memory_total_gb*100):0:0}function _e(h){return h?h.status==="offline"?{label:"离线",className:"is-danger"}:h.status==="warning"||h.temperature>=80||Xe(h)>=90?{label:"需关注",className:"is-warning"}:h.status==="busy"||h.gpu_percent>=10?{label:"运行中",className:"is-busy"}:{label:"空闲",className:"is-idle"}:{label:"数据不可用",className:"is-unavailable"}}function Ke(h){return{"is-danger":0,"is-warning":1,"is-unavailable":2,"is-busy":3,"is-idle":4}[_e(h).className]??5}function Qt(h){const d=Y(h);return d>=90?"var(--el-color-danger)":d>=75?"var(--el-color-warning)":"var(--el-color-primary)"}async function ea(){try{const h=await or(e);return t.value=h,h}catch{return t.value=null,null}}async function ta(h){try{n.value=await lr(h)||null}catch{n.value=null}}async function aa(){try{const h=await ma();s.value=h.gpu??[],l.value=new Date,u.value=""}catch{u.value="GPU 监控数据暂时不可用",l.value||(s.value=[])}}const ra=O(()=>{var h;return String(((h=t.value)==null?void 0:h.train_method)||"").toLowerCase().includes("lora")});function ye(h){const d=Jr(h);o.value=h,f.loss=d.metrics.loss,f.gradNorm=d.metrics.gradNorm,f.lr=d.metrics.lr,f.epoch=d.metrics.epoch,Object.assign(g,d.summary)}async function oa(h){try{const d=await nr(h.id,{tail_lines:800});if(d!=null&&d.content||h.failure_reason){ye((d==null?void 0:d.content)||h.failure_reason||"");return}}catch{}try{const d=await ir()||[],E=Kr(d,h);if(E){const X=await sr(E.file);ye(X.content||"")}else ye("")}catch{}}async function qe(){if(!w){w=!0;try{const h=await ea();if(!h){n.value=null,ye("");return}h.train_dataset_id||(n.value=null);const d=h.train_dataset_id?ta(h.train_dataset_id):Promise.resolve();await Promise.all([d,oa(h),aa()])}finally{p.value=!1,w=!1}}}const je=()=>{var h;return["completed","failed","stopped","cancelled"].includes(((h=t.value)==null?void 0:h.status)||"")},{start:na,stop:ia}=tr(async()=>{await qe(),je()&&ia()},3e3,{immediate:!1});return va(async()=>{a.load(),await qe(),je()||na()}),(h,d)=>{var ce,Je,Qe,et;const E=ca,X=sa,z=Pt,ue=Et,De=la,$=ua,Ce=da;return H(),K("div",Qr,[p.value?dt((H(),K("div",eo,null,512)),[[Ce,!0]]):(H(),K(pt,{key:1},[c("header",to,[d[9]||(d[9]=c("span",{class:"page-eyebrow"},"模型微调 · 训练任务详情",-1)),c("div",ao,[c("h1",ro,v(((ce=t.value)==null?void 0:ce.name)||"训练任务详情"),1),m(At,{status:(Je=t.value)==null?void 0:Je.status},null,8,["status"])]),c("p",oo,v(((Qe=t.value)==null?void 0:Qe.description)||"查看模型微调任务的运行状态、训练指标与日志"),1),c("div",no,[c("span",io,[d[2]||(d[2]=c("span",null,"任务 ID",-1)),c("strong",null,"#"+v(((et=t.value)==null?void 0:et.id)??"-"),1)]),d[6]||(d[6]=c("i",{class:"task-context-divider","aria-hidden":"true"},null,-1)),c("span",so,[d[3]||(d[3]=c("span",null,"基座模型",-1)),c("strong",null,v(L.value),1)]),d[7]||(d[7]=c("i",{class:"task-context-divider","aria-hidden":"true"},null,-1)),c("span",lo,[d[4]||(d[4]=c("span",null,"训练配置",-1)),c("strong",null,v(y.value)+" · "+v(S.value),1)]),d[8]||(d[8]=c("i",{class:"task-context-divider","aria-hidden":"true"},null,-1)),c("span",uo,[d[5]||(d[5]=c("span",null,"计算资源",-1)),c("strong",null,v(D.value),1)])])]),m(ge,{class:"summary-card"},{header:x(()=>{var b;return[c("div",co,[d[10]||(d[10]=c("div",{class:"overview-card-title"},[c("h2",{id:"training-overview-title"},"训练概览"),c("p",null,"实时监控训练进度、收敛指标与 GPU 资源占用")],-1)),c("div",po,[m(At,{status:(b=t.value)==null?void 0:b.status},null,8,["status"]),c("span",ho,v(oe.value),1)])])]}),default:x(()=>{var b,tt,at;return[c("section",fo,[c("div",vo,[d[12]||(d[12]=c("div",null,[c("span",{id:"training-progress-title"},"整体训练进度"),c("small",null,"根据训练任务当前执行进度实时更新")],-1)),c("strong",null,[A(v(Y((b=t.value)==null?void 0:b.progress)),1),d[11]||(d[11]=c("small",null,"%",-1))])]),m(E,{percentage:Y((tt=t.value)==null?void 0:tt.progress),"show-text":!1,"stroke-width":8,"aria-label":"整体训练进度"},null,8,["percentage"])]),c("section",go,[c("article",mo,[d[13]||(d[13]=c("span",null,"当前 Epoch",-1)),c("strong",null,v(g.epoch||le(te.value)),1),d[14]||(d[14]=c("small",null,"训练轮次",-1))]),c("article",_o,[d[15]||(d[15]=c("span",null,"当前 Loss",-1)),c("strong",null,v(le(V.value)),1),c("small",null,v(f.loss.length)+" 个采样点",1)]),c("article",yo,[d[16]||(d[16]=c("span",null,"运行时长",-1)),c("strong",null,v(g.runtime?`${g.runtime}s`:((at=t.value)==null?void 0:at.train_duration)||"-"),1),d[17]||(d[17]=c("small",null,"任务累计运行时间",-1))])]),c("section",bo,[c("div",xo,[c("div",null,[d[18]||(d[18]=c("h3",{id:"gpu-monitor-title"},"GPU 运行状态",-1)),c("p",null,v(F.value),1)])]),B.value.length?(H(),K("div",Mo,[d[24]||(d[24]=c("div",{class:"gpu-list-header",role:"row"},[c("span",{role:"columnheader"},"设备"),c("span",{role:"columnheader"},"状态"),c("span",{role:"columnheader"},"计算利用率"),c("span",{role:"columnheader"},"显存占用"),c("span",{role:"columnheader"},"温度"),c("span",{role:"columnheader"},"功耗")],-1)),(H(!0),K(pt,null,_a(J.value,k=>{var rt,ot,nt,it,st,lt,ut,ct;return H(),K("article",{key:k.index,class:"gpu-device-row",role:"row"},[c("div",So,[c("strong",null,"GPU "+v(k.index),1),c("span",{title:((rt=k.gpu)==null?void 0:rt.name)||"未检测到设备信息"},v(((ot=k.gpu)==null?void 0:ot.name)||"未检测到设备信息"),9,wo)]),c("span",{class:ht(["gpu-status",_e(k.gpu).className]),role:"cell"},[d[19]||(d[19]=c("i",{"aria-hidden":"true"},null,-1)),A(" "+v(_e(k.gpu).label),1)],2),c("div",Ao,[c("div",Ro,[d[20]||(d[20]=c("span",{class:"gpu-mobile-label"},"计算利用率",-1)),c("strong",null,v(Y((nt=k.gpu)==null?void 0:nt.gpu_percent))+"%",1)]),m(E,{percentage:Y((it=k.gpu)==null?void 0:it.gpu_percent),"show-text":!1,"stroke-width":6,color:Qt((st=k.gpu)==null?void 0:st.gpu_percent),"aria-label":`GPU ${k.index} 计算利用率 ${Y((lt=k.gpu)==null?void 0:lt.gpu_percent)}%`},null,8,["percentage","color","aria-label"])]),c("div",To,[d[21]||(d[21]=c("span",{class:"gpu-mobile-label"},"显存占用",-1)),c("strong",null,v(Xe(k.gpu))+"%",1),c("small",null,v(Le((ut=k.gpu)==null?void 0:ut.memory_used_gb))+" / "+v(Le((ct=k.gpu)==null?void 0:ct.memory_total_gb))+" GB",1)]),c("div",Io,[d[22]||(d[22]=c("span",{class:"gpu-mobile-label"},"温度",-1)),c("strong",null,v(k.gpu?`${k.gpu.temperature}°C`:"-"),1)]),c("div",Lo,[d[23]||(d[23]=c("span",{class:"gpu-mobile-label"},"功耗",-1)),c("strong",null,v(k.gpu?`${Le(k.gpu.power_w)} W`:"-"),1)])])}),128))])):(H(),K("div",Do,"当前训练任务未配置 GPU")),B.value.length>xe?(H(),K("div",Co,[c("span",ko,v(M.value?`已展示全部 ${B.value.length} 张 GPU`:`已展示 4 张,另有 ${W.value} 张;异常和运行中设备优先`),1),m(X,{type:"primary",link:"",class:"gpu-toggle-button","aria-expanded":M.value,"aria-controls":"gpu-device-list",onClick:d[0]||(d[0]=k=>M.value=!M.value)},{default:x(()=>[A(v(M.value?"收起 GPU 列表":`展开全部 ${B.value.length} 张 GPU`),1)]),_:1},8,["aria-expanded"])])):ft("",!0)])]}),_:1}),m(Xr,{task:t.value,dataset:n.value,"base-model-name":L.value},null,8,["task","dataset","base-model-name"]),m(ge,{class:ht(["parameters-card",{"is-collapsed":!_.value}]),title:"训练参数",subtitle:"查看本次模型微调使用的基础参数和 LoRA 配置"},{extra:x(()=>[m(X,{type:"primary",link:"",class:"params-toggle-button","aria-expanded":_.value,"aria-controls":"training-parameter-content",onClick:d[1]||(d[1]=b=>_.value=!_.value)},{default:x(()=>[A(v(_.value?"收起参数":"展开参数"),1)]),_:1},8,["aria-expanded"])]),default:x(()=>[m($,null,{default:x(()=>[dt(c("div",Po,[c("div",Eo,[c("section",Oo,[m(ue,{class:"parameter-descriptions",column:2,border:""},{default:x(()=>[m(z,{label:"训练方式"},{default:x(()=>{var b;return[A(v((b=t.value)!=null&&b.train_type?j(Be)[t.value.train_type]||t.value.train_type:"未配置"),1)]}),_:1}),m(z,{label:"训练方法"},{default:x(()=>{var b;return[A(v((b=t.value)!=null&&b.train_method?j($e)[t.value.train_method]||t.value.train_method:"未配置"),1)]}),_:1}),m(z,{label:"Batch Size"},{default:x(()=>{var b;return[A(v(((b=t.value)==null?void 0:b.batch_size)??"未配置"),1)]}),_:1}),m(z,{label:"Learning Rate"},{default:x(()=>{var b;return[A(v(((b=t.value)==null?void 0:b.learning_rate)??"未配置"),1)]}),_:1}),m(z,{label:"训练轮数"},{default:x(()=>{var b;return[A(v(((b=t.value)==null?void 0:b.n_epochs)??"未配置"),1)]}),_:1}),m(z,{label:"保存间隔"},{default:x(()=>{var b;return[A(v(((b=t.value)==null?void 0:b.save_steps)??"未配置"),1)]}),_:1}),m(z,{label:"学习率调度器"},{default:x(()=>{var b;return[A(v(((b=t.value)==null?void 0:b.lr_scheduler_type)||"未配置"),1)]}),_:1}),m(z,{label:"最大序列长度"},{default:x(()=>{var b;return[A(v(((b=t.value)==null?void 0:b.max_length)??"未配置"),1)]}),_:1}),m(z,{label:"权重衰减"},{default:x(()=>{var b;return[A(v(((b=t.value)==null?void 0:b.weight_decay)??"未配置"),1)]}),_:1})]),_:1})]),ra.value?(H(),K("section",Zo,[c("div",zo,[d[26]||(d[26]=c("h3",{id:"lora-params-title"},"LoRA 参数",-1)),m(De,{size:"small",type:"primary",effect:"plain"},{default:x(()=>[...d[25]||(d[25]=[A("LoRA",-1)])]),_:1})]),m(ue,{class:"parameter-descriptions",column:2,border:""},{default:x(()=>[m(z,{label:"LoRA Rank"},{default:x(()=>{var b;return[A(v(((b=t.value)==null?void 0:b.lora_rank)??"未配置"),1)]}),_:1}),m(z,{label:"LoRA Alpha"},{default:x(()=>{var b;return[A(v(((b=t.value)==null?void 0:b.lora_alpha)??"未配置"),1)]}),_:1}),m(z,{label:"LoRA Dropout"},{default:x(()=>{var b;return[A(v(((b=t.value)==null?void 0:b.lora_dropout)??"未配置"),1)]}),_:1})]),_:1})])):ft("",!0)])],512),[[ya,_.value]])]),_:1})]),_:1},8,["class"]),m(ge,{class:"metrics-panel",title:"训练曲线",subtitle:"持续监控模型收敛情况与学习率变化"},{extra:x(()=>[...d[27]||(d[27]=[c("span",{class:"refresh-state"},"每 5 秒刷新",-1)])]),default:x(()=>[c("div",No,[c("section",Go,[c("div",Vo,[d[28]||(d[28]=c("span",{class:"chart-section-title"},"Loss",-1)),c("span",Bo,"最新 "+v(le(V.value)),1)]),m(j(Pe),{class:"chart-canvas",option:I.value,autoresize:""},null,8,["option"])]),c("section",$o,[c("div",Ho,[d[29]||(d[29]=c("span",{class:"chart-section-title"},"梯度范数",-1)),c("span",Uo,"最新 "+v(le(U.value)),1)]),m(j(Pe),{class:"chart-canvas",option:R.value,autoresize:""},null,8,["option"])]),c("section",Fo,[c("div",Wo,[d[30]||(d[30]=c("span",{class:"chart-section-title"},"学习率",-1)),c("span",Yo,"最新 "+v(le(N.value,!0)),1)]),m(j(Pe),{class:"chart-canvas",option:P.value,autoresize:""},null,8,["option"])])])]),_:1}),m(ge,{class:"log-card",title:"训练日志",subtitle:"查看训练任务的原始运行输出"},{extra:x(()=>[c("span",Xo,v(re.value)+" 行 · 每 5 秒刷新",1)]),default:x(()=>[c("pre",Ko,v(o.value||"暂无日志"),1)]),_:1})],64))])}}}),yn=Ut(qo,[["__scopeId","data-v-9337cca8"]]);export{yn as default}; diff --git a/frontend/dist/assets/TrainingLogView-r7NZOokp.css b/frontend/dist/assets/TrainingLogView-r7NZOokp.css new file mode 100644 index 0000000..6cdef17 --- /dev/null +++ b/frontend/dist/assets/TrainingLogView-r7NZOokp.css @@ -0,0 +1 @@ +.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:top;transform:scaleY(1)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:bottom;transform:scaleY(1)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:0 0;transform:scale(1)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-leave-active,.el-collapse-transition-enter-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.task-overview[data-v-f3e298f0]{margin-bottom:0;border:1px solid #e4e7ed!important;border-radius:8px!important;background:var(--app-surface-bg);box-shadow:none!important}.overview-layout[data-v-f3e298f0]{width:100%}.task-descriptions[data-v-f3e298f0] .el-descriptions__label{width:132px;color:#606266;font-weight:500;background:#f7f8fa!important}.task-descriptions[data-v-f3e298f0] .el-descriptions__content{color:#303133;font-weight:500;font-variant-numeric:tabular-nums}.task-descriptions[data-v-f3e298f0] .el-descriptions__cell{padding:12px 16px!important}@media(max-width:700px){.task-descriptions[data-v-f3e298f0] .el-descriptions__body,.task-descriptions[data-v-f3e298f0] .el-descriptions__table,.task-descriptions[data-v-f3e298f0] .el-descriptions__tbody,.task-descriptions[data-v-f3e298f0] .el-descriptions__row,.task-descriptions[data-v-f3e298f0] .el-descriptions__cell{display:block;width:100%;box-sizing:border-box}.task-descriptions[data-v-f3e298f0] .el-descriptions__label{width:100%;border-bottom:0!important}}.training-log[data-v-9337cca8]{display:grid;gap:16px;min-width:0}.loading-wrap[data-v-9337cca8]{min-height:320px;border:1px solid #e4e7ed;border-radius:8px;background:var(--app-surface-bg)}.task-page-header[data-v-9337cca8]{min-width:0;padding:2px 0 20px;border-bottom:1px solid #e4e7ed}.page-eyebrow[data-v-9337cca8]{display:block;color:var(--el-color-primary);font-size:12px;line-height:1.5;font-weight:600}.task-page-title-row[data-v-9337cca8]{display:flex;align-items:center;gap:12px;margin-top:6px}.task-page-title-row h1[data-v-9337cca8]{min-width:0;margin:0;color:#303133;font-size:24px;line-height:1.35;font-weight:600;overflow-wrap:anywhere}.task-page-description[data-v-9337cca8]{max-width:760px;margin:6px 0 0;color:#606266;font-size:13px;line-height:1.6}.task-context-row[data-v-9337cca8]{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:14px}.task-context-item[data-v-9337cca8]{display:inline-flex;align-items:baseline;min-width:0;gap:6px;color:#909399;font-size:12px;line-height:1.5}.task-context-item strong[data-v-9337cca8]{overflow:hidden;max-width:260px;color:#606266;font-weight:500;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.task-context-divider[data-v-9337cca8]{width:1px;height:12px;background:#dcdfe6}.summary-card[data-v-9337cca8],.parameters-card[data-v-9337cca8],.metrics-panel[data-v-9337cca8],.log-card[data-v-9337cca8]{margin-bottom:0;border:1px solid #e4e7ed!important;border-radius:8px!important;box-shadow:none!important}.overview-card-header[data-v-9337cca8]{display:flex;align-items:flex-start;justify-content:space-between;width:100%;gap:24px}.overview-card-title h2[data-v-9337cca8]{margin:0;color:#303133;font-size:16px;font-weight:600}.overview-card-title p[data-v-9337cca8]{margin:5px 0 0;color:#909399;font-size:13px;line-height:1.5}.overview-monitor-meta[data-v-9337cca8]{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px 14px}.overview-refresh-state[data-v-9337cca8]{color:#909399;font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}.training-progress-panel[data-v-9337cca8]{padding:18px 20px;border:1px solid var(--el-color-primary-light-7);border-radius:6px;background:var(--el-color-primary-light-9)}.training-progress-heading[data-v-9337cca8]{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:14px}.training-progress-heading>div>span[data-v-9337cca8]{display:block;color:#303133;font-size:14px;font-weight:600}.training-progress-heading>div>small[data-v-9337cca8]{display:block;margin-top:4px;color:#909399;font-size:12px}.training-progress-heading>strong[data-v-9337cca8]{flex:0 0 auto;color:var(--el-color-primary);font-size:30px;line-height:1;font-weight:600;font-variant-numeric:tabular-nums}.training-progress-heading>strong small[data-v-9337cca8]{margin-left:2px;font-size:14px;font-weight:500}.training-metric-grid[data-v-9337cca8]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:14px;overflow:hidden;border:1px solid #ebeef5;border-radius:6px;background:#fafafa}.training-metric-cell[data-v-9337cca8]{min-width:0;padding:14px 18px}.training-metric-cell+.training-metric-cell[data-v-9337cca8]{border-left:1px solid #ebeef5}.training-metric-cell>span[data-v-9337cca8]{display:block;color:#606266;font-size:12px}.training-metric-cell>strong[data-v-9337cca8]{display:block;margin-top:6px;color:#303133;font-size:20px;line-height:1.25;font-weight:600;font-variant-numeric:tabular-nums}.training-metric-cell>small[data-v-9337cca8]{display:block;margin-top:4px;color:#909399;font-size:11px}.gpu-monitor[data-v-9337cca8]{margin-top:18px;padding-top:18px;border-top:1px solid #ebeef5}.gpu-monitor-heading[data-v-9337cca8]{display:flex;align-items:center;justify-content:space-between;gap:16px}.gpu-monitor-heading[data-v-9337cca8]{align-items:flex-start;margin-bottom:12px}.gpu-monitor-heading h3[data-v-9337cca8]{margin:0;color:#303133;font-size:14px;font-weight:600}.gpu-monitor-heading p[data-v-9337cca8]{margin:4px 0 0;color:#909399;font-size:12px}.gpu-device-list[data-v-9337cca8]{overflow:hidden;border:1px solid #e4e7ed;border-radius:6px;background:#fff}.gpu-list-header[data-v-9337cca8],.gpu-device-row[data-v-9337cca8]{display:grid;grid-template-columns:minmax(150px,1.25fr) 84px minmax(180px,1.35fr) minmax(140px,1fr) 72px 76px;align-items:center;column-gap:18px}.gpu-list-header[data-v-9337cca8]{min-height:38px;padding:0 16px;color:#909399;font-size:11px;font-weight:500;background:#f7f8fa}.gpu-device-row[data-v-9337cca8]{min-width:0;min-height:70px;padding:10px 16px;box-sizing:border-box}.gpu-device-row+.gpu-device-row[data-v-9337cca8]{border-top:1px solid #ebeef5}.gpu-device-identity[data-v-9337cca8]{display:flex;flex-direction:column;min-width:0;gap:4px}.gpu-device-identity strong[data-v-9337cca8]{color:#303133;font-size:13px;font-weight:600}.gpu-device-identity span[data-v-9337cca8]{overflow:hidden;color:#909399;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.gpu-status[data-v-9337cca8]{display:inline-flex;align-items:center;flex:0 0 auto;gap:6px;color:#606266;font-size:12px;font-weight:500}.gpu-status i[data-v-9337cca8]{width:7px;height:7px;border-radius:50%;background:#909399}.gpu-status.is-busy[data-v-9337cca8]{color:var(--el-color-primary)}.gpu-status.is-busy i[data-v-9337cca8]{background:var(--el-color-primary)}.gpu-status.is-idle[data-v-9337cca8]{color:var(--el-color-success)}.gpu-status.is-idle i[data-v-9337cca8]{background:var(--el-color-success)}.gpu-status.is-warning[data-v-9337cca8]{color:var(--el-color-warning)}.gpu-status.is-warning i[data-v-9337cca8]{background:var(--el-color-warning)}.gpu-status.is-danger[data-v-9337cca8]{color:var(--el-color-danger)}.gpu-status.is-danger i[data-v-9337cca8]{background:var(--el-color-danger)}.gpu-status.is-unavailable[data-v-9337cca8]{color:#909399}.gpu-utilization-cell[data-v-9337cca8]{min-width:0}.gpu-cell-value[data-v-9337cca8]{display:flex;align-items:center;justify-content:flex-end;margin-bottom:7px}.gpu-cell-value strong[data-v-9337cca8],.gpu-memory-cell strong[data-v-9337cca8],.gpu-resource-cell strong[data-v-9337cca8]{color:#303133;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}.gpu-memory-cell[data-v-9337cca8]{min-width:0}.gpu-memory-cell strong[data-v-9337cca8]{display:block}.gpu-memory-cell small[data-v-9337cca8]{display:block;overflow:hidden;margin-top:3px;color:#909399;font-size:10px;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.gpu-resource-cell[data-v-9337cca8]{min-width:0}.gpu-mobile-label[data-v-9337cca8]{display:none;color:#909399;font-size:10px;font-weight:400}.gpu-empty-state[data-v-9337cca8]{padding:20px;border:1px dashed #dcdfe6;border-radius:6px;color:#909399;font-size:13px;text-align:center;background:#fafafa}.gpu-list-footer[data-v-9337cca8]{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding-top:12px;border-top:1px solid #ebeef5}.gpu-list-note[data-v-9337cca8]{color:#909399;font-size:12px;line-height:1.5}.gpu-toggle-button[data-v-9337cca8]{flex:0 0 auto;min-height:40px;padding:0 8px;font-size:13px}.parameters-card.is-collapsed[data-v-9337cca8] .page-card-header{margin-bottom:0}.params-toggle-button[data-v-9337cca8]{min-height:36px;padding:0 8px;font-size:13px}.params-body[data-v-9337cca8]{padding-top:2px}.parameter-groups[data-v-9337cca8]{display:flex;flex-direction:column;gap:20px}.parameter-group+.parameter-group[data-v-9337cca8]{padding-top:20px;border-top:1px solid #e4e7ed}.parameter-section-heading[data-v-9337cca8]{display:flex;align-items:center;gap:10px;margin-bottom:12px}.parameter-section-heading h3[data-v-9337cca8]{margin:0;color:#303133;font-size:14px;font-weight:600}.parameter-descriptions[data-v-9337cca8] .el-descriptions__label{width:150px;color:#606266;font-weight:500;background:#f7f8fa!important}.parameter-descriptions[data-v-9337cca8] .el-descriptions__content{color:#303133;font-weight:500;font-variant-numeric:tabular-nums}.parameter-descriptions[data-v-9337cca8] .el-descriptions__cell{padding:11px 14px!important}.refresh-state[data-v-9337cca8],.log-meta[data-v-9337cca8]{color:#909399;font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}.chart-list[data-v-9337cca8]{border-top:1px solid #ebeef5}.chart-section[data-v-9337cca8]{padding:18px 0 10px}.chart-section+.chart-section[data-v-9337cca8]{border-top:1px solid #ebeef5}.chart-section-header[data-v-9337cca8]{display:flex;align-items:center;justify-content:space-between;gap:16px}.chart-section-title[data-v-9337cca8]{color:#303133;font-size:14px;font-weight:600}.chart-latest[data-v-9337cca8]{color:#909399;font-size:12px;font-variant-numeric:tabular-nums}.chart-canvas[data-v-9337cca8]{width:100%;height:260px}.log-pre[data-v-9337cca8]{margin:0;padding:18px 20px;background:#111827;color:#d1d5db;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.7;max-height:520px;overflow:auto;white-space:pre-wrap;word-wrap:break-word;border-radius:4px;scrollbar-color:#4b5563 #111827}@media(max-width:1100px){.gpu-list-header[data-v-9337cca8]{display:none}.gpu-device-row[data-v-9337cca8]{grid-template-columns:minmax(0,1fr) repeat(3,minmax(88px,.5fr));grid-template-areas:"identity status status status" "utilization memory temperature power";row-gap:14px;min-height:104px;padding-top:14px;padding-bottom:14px}.gpu-device-identity[data-v-9337cca8]{grid-area:identity}.gpu-status[data-v-9337cca8]{grid-area:status;justify-self:end}.gpu-utilization-cell[data-v-9337cca8]{grid-area:utilization}.gpu-memory-cell[data-v-9337cca8]{grid-area:memory}.gpu-temperature-cell[data-v-9337cca8]{grid-area:temperature}.gpu-power-cell[data-v-9337cca8]{grid-area:power}.gpu-cell-value[data-v-9337cca8]{justify-content:space-between}.gpu-mobile-label[data-v-9337cca8]{display:block;margin-bottom:4px}}@media(max-width:600px){.task-page-header[data-v-9337cca8]{padding-bottom:16px}.task-page-title-row[data-v-9337cca8]{align-items:flex-start}.task-page-title-row h1[data-v-9337cca8]{font-size:21px}.task-context-row[data-v-9337cca8]{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}.task-context-divider[data-v-9337cca8]{display:none}.task-context-item[data-v-9337cca8]{justify-content:space-between;gap:12px}.task-context-item strong[data-v-9337cca8]{max-width:65%;text-align:right;white-space:normal}.overview-card-header[data-v-9337cca8]{display:block}.overview-monitor-meta[data-v-9337cca8]{justify-content:flex-start;margin-top:12px}.overview-refresh-state[data-v-9337cca8]{white-space:normal}.training-progress-panel[data-v-9337cca8]{padding:16px}.training-progress-heading[data-v-9337cca8]{align-items:flex-start;gap:16px}.training-progress-heading>div>small[data-v-9337cca8]{max-width:210px;line-height:1.5}.training-progress-heading>strong[data-v-9337cca8]{font-size:26px}.training-metric-grid[data-v-9337cca8]{grid-template-columns:minmax(0,1fr)}.training-metric-cell+.training-metric-cell[data-v-9337cca8]{border-top:1px solid #ebeef5;border-left:0}.gpu-device-row[data-v-9337cca8]{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"identity identity status" "utilization utilization utilization" "memory temperature power";column-gap:12px}.gpu-device-identity span[data-v-9337cca8]{white-space:normal}.gpu-list-footer[data-v-9337cca8]{display:block}.gpu-toggle-button[data-v-9337cca8]{margin-top:6px}.parameter-descriptions[data-v-9337cca8] .el-descriptions__body,.parameter-descriptions[data-v-9337cca8] .el-descriptions__table,.parameter-descriptions[data-v-9337cca8] .el-descriptions__tbody,.parameter-descriptions[data-v-9337cca8] .el-descriptions__row,.parameter-descriptions[data-v-9337cca8] .el-descriptions__cell{display:block;width:100%;box-sizing:border-box}.parameter-descriptions[data-v-9337cca8] .el-descriptions__label{width:100%;border-bottom:0!important}.chart-canvas[data-v-9337cca8]{height:220px}} diff --git a/frontend/dist/assets/UserCreateView-BWW-0yZS.css b/frontend/dist/assets/UserCreateView-BWW-0yZS.css deleted file mode 100644 index 4d67e25..0000000 --- a/frontend/dist/assets/UserCreateView-BWW-0yZS.css +++ /dev/null @@ -1 +0,0 @@ -.user-create[data-v-57777381]{padding:24px}.user-form[data-v-57777381]{max-width:760px} diff --git a/frontend/dist/assets/UserCreateView-CfeJQfhD.css b/frontend/dist/assets/UserCreateView-CfeJQfhD.css new file mode 100644 index 0000000..8a99f73 --- /dev/null +++ b/frontend/dist/assets/UserCreateView-CfeJQfhD.css @@ -0,0 +1 @@ +.user-create[data-v-af832a20]{padding:24px}.user-form[data-v-af832a20]{max-width:760px} diff --git a/frontend/dist/assets/UserCreateView-mg48VYjL.js b/frontend/dist/assets/UserCreateView-mg48VYjL.js new file mode 100644 index 0000000..ca50b34 --- /dev/null +++ b/frontend/dist/assets/UserCreateView-mg48VYjL.js @@ -0,0 +1 @@ +import{E as y,a as x}from"./el-form-item-BA3ZlfqF.js";import{E as k}from"./index-zJ9bqPrh.js";import{E as U}from"./index-D23K2h6y.js";import{E as C,a as B}from"./el-select-CeiDjMzB.js";import{a as F,E as I}from"./el-checkbox-C_TzqU9u.js";import{E as N,b as R}from"./el-radio-group-BJiEgTS_.js";import{d as G,c as f,q as M,s as o,w as l,o as _,x as r,M as O,ad as S,aa as q,f as z,v as A,y as D,z as L,db as T,A as $}from"./index-CxbBjZKo.js";/* empty css */import"./el-scrollbar-B0E7ZTt3.js";import"./el-popper-OAwpEmER.js";/* empty css */import{_ as j}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./castArray-CwVgzdTt.js";import"./_baseClone-B6d4qZbo.js";import"./raf-Bjl8yy5U.js";import"./index-C4wGR5UT.js";import"./index-DxP0p4ch.js";import"./index-DHcidAHK.js";import"./vnode-DIVHEdsp.js";import"./index-Bzaib5AU.js";import"./index-BjlLyKON.js";import"./scroll-Dvb2mTx8.js";import"./clamp-Ow4I6lPc.js";import"./toNumber-Yuob3eJv.js";import"./_baseIteratee-C6JbNheX.js";import"./omit-CbHF-OEy.js";const H={class:"user-create"},J=G({__name:"UserCreateView",setup(K){const d=A(),n=D(!1),a=L({username:"",display_name:"",password:"platform123",role:"viewer",status:"active",permissions:["dashboard"]}),b=["dashboard","fine-tune","model-eval","model-inference","model-manage","dataset","data-process","data-convert","compute","hardware","logs","user-settings"];async function V(){n.value=!0;try{await T(a),$.success("用户已创建"),d.push("/user-settings")}finally{n.value=!1}}return(P,e)=>{const m=k,s=x,u=B,v=C,p=R,c=N,E=I,w=F,i=U,g=y;return _(),f("section",H,[e[11]||(e[11]=M("h1",null,"创建用户",-1)),o(g,{model:a,"label-width":"110px",class:"user-form"},{default:l(()=>[o(s,{label:"账号"},{default:l(()=>[o(m,{modelValue:a.username,"onUpdate:modelValue":e[0]||(e[0]=t=>a.username=t)},null,8,["modelValue"])]),_:1}),o(s,{label:"显示名称"},{default:l(()=>[o(m,{modelValue:a.display_name,"onUpdate:modelValue":e[1]||(e[1]=t=>a.display_name=t)},null,8,["modelValue"])]),_:1}),o(s,{label:"初始密码"},{default:l(()=>[o(m,{modelValue:a.password,"onUpdate:modelValue":e[2]||(e[2]=t=>a.password=t),type:"password","show-password":""},null,8,["modelValue"])]),_:1}),o(s,{label:"角色"},{default:l(()=>[o(v,{modelValue:a.role,"onUpdate:modelValue":e[3]||(e[3]=t=>a.role=t)},{default:l(()=>[o(u,{label:"管理员",value:"admin"}),o(u,{label:"操作员",value:"operator"}),o(u,{label:"观察员",value:"viewer"})]),_:1},8,["modelValue"])]),_:1}),o(s,{label:"状态"},{default:l(()=>[o(c,{modelValue:a.status,"onUpdate:modelValue":e[4]||(e[4]=t=>a.status=t)},{default:l(()=>[o(p,{value:"active"},{default:l(()=>[...e[7]||(e[7]=[r("启用",-1)])]),_:1}),o(p,{value:"disabled"},{default:l(()=>[...e[8]||(e[8]=[r("禁用",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),o(s,{label:"页面权限"},{default:l(()=>[o(w,{modelValue:a.permissions,"onUpdate:modelValue":e[5]||(e[5]=t=>a.permissions=t)},{default:l(()=>[(_(),f(O,null,S(b,t=>o(E,{key:t,value:t},{default:l(()=>[r(q(t),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"])]),_:1}),o(s,null,{default:l(()=>[o(i,{onClick:e[6]||(e[6]=t=>z(d).back())},{default:l(()=>[...e[9]||(e[9]=[r("返回",-1)])]),_:1}),o(i,{type:"primary",loading:n.value,onClick:V},{default:l(()=>[...e[10]||(e[10]=[r("保存",-1)])]),_:1},8,["loading"])]),_:1})]),_:1},8,["model"])])}}}),we=j(J,[["__scopeId","data-v-af832a20"]]);export{we as default}; diff --git a/frontend/dist/assets/UserPermissionView-BOUnt_jj.css b/frontend/dist/assets/UserPermissionView-BOUnt_jj.css new file mode 100644 index 0000000..5346ef3 --- /dev/null +++ b/frontend/dist/assets/UserPermissionView-BOUnt_jj.css @@ -0,0 +1 @@ +.simple-page[data-v-49c3a2ea]{padding:24px} diff --git a/frontend/dist/assets/UserPermissionView-C1th-WtT.js b/frontend/dist/assets/UserPermissionView-C1th-WtT.js index 54f87be..da1998f 100644 --- a/frontend/dist/assets/UserPermissionView-C1th-WtT.js +++ b/frontend/dist/assets/UserPermissionView-C1th-WtT.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/UserPermissionView-C1th-WtT.js import{_ as o}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as r,q as s}from"./index-CD29OCdJ.js";const c={},n={class:"simple-page"};function a(_,e){return t(),r("section",n,[...e[0]||(e[0]=[s("h1",null,"权限设置",-1),s("p",null,"第一版已支持账号页面权限读取与保存,精细化项目/模型/数据集权限将在后续版本补齐。",-1)])])}const p=o(c,[["render",a],["__scopeId","data-v-608c6e7e"]]);export{p as default}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/UserPermissionView-BQ5QgCsL.js +import{_ as o}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as r,q as s}from"./index-Ds9AETjS.js";const c={},n={class:"simple-page"};function a(_,e){return t(),r("section",n,[...e[0]||(e[0]=[s("h1",null,"权限设置",-1),s("p",null,"第一版已支持账号页面权限读取与保存,精细化项目/模型/数据集权限将在后续版本补齐。",-1)])])}const p=o(c,[["render",a],["__scopeId","data-v-608c6e7e"]]);export{p as default}; +======== +import{_ as o}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as r,q as s}from"./index-CxbBjZKo.js";const a={},c={class:"simple-page"};function n(_,e){return t(),r("section",c,[...e[0]||(e[0]=[s("h1",null,"权限设置",-1),s("p",null,"第一版已支持账号页面权限读取与保存,精细化项目/模型/数据集权限将在后续版本补齐。",-1)])])}const p=o(a,[["render",n],["__scopeId","data-v-49c3a2ea"]]);export{p as default}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/UserPermissionView-cVCnBmji.js diff --git a/frontend/dist/assets/UserPermissionView-C2mbs5Zk.css b/frontend/dist/assets/UserPermissionView-C2mbs5Zk.css deleted file mode 100644 index 52879d9..0000000 --- a/frontend/dist/assets/UserPermissionView-C2mbs5Zk.css +++ /dev/null @@ -1 +0,0 @@ -.simple-page[data-v-608c6e7e]{padding:24px} diff --git a/frontend/dist/assets/UserPermissionView-cVCnBmji.js b/frontend/dist/assets/UserPermissionView-cVCnBmji.js new file mode 100644 index 0000000..1f87dc2 --- /dev/null +++ b/frontend/dist/assets/UserPermissionView-cVCnBmji.js @@ -0,0 +1 @@ +import{_ as o}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as r,q as s}from"./index-CxbBjZKo.js";const a={},c={class:"simple-page"};function n(_,e){return t(),r("section",c,[...e[0]||(e[0]=[s("h1",null,"权限设置",-1),s("p",null,"第一版已支持账号页面权限读取与保存,精细化项目/模型/数据集权限将在后续版本补齐。",-1)])])}const p=o(a,[["render",n],["__scopeId","data-v-49c3a2ea"]]);export{p as default}; diff --git a/frontend/dist/assets/UserSettingsView-D6NpqMem.css b/frontend/dist/assets/UserSettingsView-D6NpqMem.css new file mode 100644 index 0000000..9f1f952 --- /dev/null +++ b/frontend/dist/assets/UserSettingsView-D6NpqMem.css @@ -0,0 +1 @@ +.user-settings[data-v-1aa9d1a8]{padding:24px}.page-header[data-v-1aa9d1a8]{display:flex;justify-content:space-between;gap:16px;margin-bottom:18px}.page-header h1[data-v-1aa9d1a8]{margin:0;font-size:24px}.page-header p[data-v-1aa9d1a8]{margin:8px 0 0;color:#64748b} diff --git a/frontend/dist/assets/UserSettingsView-KcaztqRe.js b/frontend/dist/assets/UserSettingsView-KcaztqRe.js new file mode 100644 index 0000000..9f5c8c3 --- /dev/null +++ b/frontend/dist/assets/UserSettingsView-KcaztqRe.js @@ -0,0 +1 @@ +import{E as v}from"./index-D23K2h6y.js";import{a as w,E as b}from"./el-table-b_qkWXYf.js";import{v as g}from"./directive-DCr8Ae3g.js";import{d as h,G as y,K as E,c as x,q as a,s as t,w as r,y as p,da as V,o as B,x as m,aa as C}from"./index-CxbBjZKo.js";import"./el-scrollbar-B0E7ZTt3.js";import"./el-popper-OAwpEmER.js";import"./el-tooltip-l0sNRNKZ.js";import"./el-checkbox-C_TzqU9u.js";/* empty css */import{_ as U}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./_baseClone-B6d4qZbo.js";import"./index-DxP0p4ch.js";import"./_baseIteratee-C6JbNheX.js";import"./castArray-CwVgzdTt.js";import"./debounce-BJxjS5F3.js";import"./toNumber-Yuob3eJv.js";import"./index-DHcidAHK.js";import"./raf-Bjl8yy5U.js";import"./omit-CbHF-OEy.js";const k={class:"user-settings"},N={class:"page-header"},S=h({__name:"UserSettingsView",setup(T){const s=p(!1),i=p([]);async function d(){s.value=!0;try{i.value=await V()}finally{s.value=!1}}return y(d),(u,e)=>{const _=v,o=b,c=w,f=g;return E((B(),x("section",k,[a("header",N,[e[2]||(e[2]=a("div",null,[a("h1",null,"用户设置"),a("p",null,"管理平台账号、角色状态和页面权限。")],-1)),t(_,{type:"primary",onClick:e[0]||(e[0]=l=>u.$router.push("/user-settings/create"))},{default:r(()=>[...e[1]||(e[1]=[m("创建用户",-1)])]),_:1})]),t(c,{data:i.value},{default:r(()=>[t(o,{prop:"username",label:"账号","min-width":"140"}),t(o,{prop:"display_name",label:"显示名称","min-width":"160"}),t(o,{prop:"role",label:"角色",width:"120"}),t(o,{prop:"status",label:"状态",width:"120"}),t(o,{label:"权限数",width:"120"},{default:r(({row:l})=>{var n;return[m(C(((n=l.permissions)==null?void 0:n.length)||0),1)]}),_:1}),t(o,{prop:"create_time",label:"创建时间","min-width":"180"})]),_:1},8,["data"])])),[[f,s.value]])}}}),X=U(S,[["__scopeId","data-v-1aa9d1a8"]]);export{X as default}; diff --git a/frontend/dist/assets/_baseClone-B6d4qZbo.js b/frontend/dist/assets/_baseClone-B6d4qZbo.js new file mode 100644 index 0000000..76daccf --- /dev/null +++ b/frontend/dist/assets/_baseClone-B6d4qZbo.js @@ -0,0 +1 @@ +import{cs as T,ct as Q,cu as U,cv as B,cw as X,cx as Z,cy as M,cz as V,cA as D,cB as z,cj as k,cC as G,cD as ee,cE as m,ch as O,cF as K,cG as d,cH as N,cI as b,cJ as re,cK as te,ce as ne,cL as ae}from"./index-CxbBjZKo.js";var S=Object.create,oe=(function(){function e(){}return function(r){if(!T(r))return{};if(S)return S(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}})();function se(e,r){var t=-1,a=e.length;for(r||(r=Array(a));++t>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/_baseClone-B6d4qZbo.js diff --git a/frontend/dist/assets/_baseIteratee-C6JbNheX.js b/frontend/dist/assets/_baseIteratee-C6JbNheX.js new file mode 100644 index 0000000..2c7bf04 --- /dev/null +++ b/frontend/dist/assets/_baseIteratee-C6JbNheX.js @@ -0,0 +1 @@ +import{cK as O,d2 as a,cs as P,cy as p,d3 as A,cl as l,cU as M,co as _,ce as d}from"./index-CxbBjZKo.js";import{h as g,i as m}from"./index-DxP0p4ch.js";var C=1,I=2;function L(n,r,e,t){var i=e.length,u=i;if(n==null)return!u;for(n=Object(n);i--;){var f=e[i];if(f[2]?f[1]!==n[f[0]]:!(f[0]in n))return!1}for(;++i>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/_baseIteratee-C6JbNheX.js diff --git a/frontend/dist/assets/castArray-BEiueV6y.js b/frontend/dist/assets/castArray-BEiueV6y.js index 4b3ee9a..d26676b 100644 --- a/frontend/dist/assets/castArray-BEiueV6y.js +++ b/frontend/dist/assets/castArray-BEiueV6y.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/castArray-BEiueV6y.js import{ce as a}from"./index-CD29OCdJ.js";function e(){if(!arguments.length)return[];var r=arguments[0];return a(r)?r:[r]}export{e as c}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/castArray-BWI4UxBy.js +import{ce as a}from"./index-Ds9AETjS.js";function e(){if(!arguments.length)return[];var r=arguments[0];return a(r)?r:[r]}export{e as c}; +======== +import{ce as a}from"./index-CxbBjZKo.js";function e(){if(!arguments.length)return[];var r=arguments[0];return a(r)?r:[r]}export{e as c}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/castArray-CwVgzdTt.js diff --git a/frontend/dist/assets/castArray-CwVgzdTt.js b/frontend/dist/assets/castArray-CwVgzdTt.js new file mode 100644 index 0000000..6f95704 --- /dev/null +++ b/frontend/dist/assets/castArray-CwVgzdTt.js @@ -0,0 +1 @@ +import{ce as a}from"./index-CxbBjZKo.js";function e(){if(!arguments.length)return[];var r=arguments[0];return a(r)?r:[r]}export{e as c}; diff --git a/frontend/dist/assets/clamp-BfrLWns4.js b/frontend/dist/assets/clamp-BfrLWns4.js index 7bf99d7..45af827 100644 --- a/frontend/dist/assets/clamp-BfrLWns4.js +++ b/frontend/dist/assets/clamp-BfrLWns4.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/clamp-BfrLWns4.js import{t as n}from"./toNumber-B6P5MqPp.js";function t(d,f,i){return d===d&&(i!==void 0&&(d=d<=i?d:i),f!==void 0&&(d=d>=f?d:f)),d}function c(d,f,i){return i===void 0&&(i=f,f=void 0),i!==void 0&&(i=n(i),i=i===i?i:0),f!==void 0&&(f=n(f),f=f===f?f:0),t(n(d),f,i)}export{c}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/clamp-CyhADbdq.js +import{t as n}from"./toNumber-DrayciwT.js";function t(d,f,i){return d===d&&(i!==void 0&&(d=d<=i?d:i),f!==void 0&&(d=d>=f?d:f)),d}function c(d,f,i){return i===void 0&&(i=f,f=void 0),i!==void 0&&(i=n(i),i=i===i?i:0),f!==void 0&&(f=n(f),f=f===f?f:0),t(n(d),f,i)}export{c}; +======== +import{t as n}from"./toNumber-Yuob3eJv.js";function t(d,f,i){return d===d&&(i!==void 0&&(d=d<=i?d:i),f!==void 0&&(d=d>=f?d:f)),d}function c(d,f,i){return i===void 0&&(i=f,f=void 0),i!==void 0&&(i=n(i),i=i===i?i:0),f!==void 0&&(f=n(f),f=f===f?f:0),t(n(d),f,i)}export{c}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/clamp-Ow4I6lPc.js diff --git a/frontend/dist/assets/clamp-Ow4I6lPc.js b/frontend/dist/assets/clamp-Ow4I6lPc.js new file mode 100644 index 0000000..fb06ed7 --- /dev/null +++ b/frontend/dist/assets/clamp-Ow4I6lPc.js @@ -0,0 +1 @@ +import{t as n}from"./toNumber-Yuob3eJv.js";function t(d,f,i){return d===d&&(i!==void 0&&(d=d<=i?d:i),f!==void 0&&(d=d>=f?d:f)),d}function c(d,f,i){return i===void 0&&(i=f,f=void 0),i!==void 0&&(i=n(i),i=i===i?i:0),f!==void 0&&(f=n(f),f=f===f?f:0),t(n(d),f,i)}export{c}; diff --git a/frontend/dist/assets/compare-BAX_umRe.js b/frontend/dist/assets/compare-BAX_umRe.js index 52f0267..87c4994 100644 --- a/frontend/dist/assets/compare-BAX_umRe.js +++ b/frontend/dist/assets/compare-BAX_umRe.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/compare-BAX_umRe.js import{aF as n,aG as t,aI as l}from"./index-CD29OCdJ.js";const p=()=>n("/model-compare"),i=e=>n(`/model-compare/${e}`),u=e=>l(`/model-compare/${e}`),h=e=>t("/model-compare/stop-by-pid",{pid:e}),g=e=>t(`/model-compare/${e}/load`),C=e=>t(`/model-compare/${e}/unload`),y=async e=>{const a=await t("/model-compare/stream-chat",e);return{ok:!0,body:{getReader:()=>{const o=(a==null?void 0:a.response)||"",r=new TextEncoder,s=[o.slice(0,o.length/3),o.slice(o.length/3,2*o.length/3),o.slice(2*o.length/3)];let c=0;return{read:async()=>c>=s.length?{done:!0,value:void 0}:{done:!1,value:r.encode(s[c++])}}}}}},v=e=>t("/model-compare/chat-with-port",e);export{i as a,y as b,v as c,u as d,p as g,g as l,h as s,C as u}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/compare-fmy9bbtE.js +import{aF as n,aG as t,aI as l}from"./index-Ds9AETjS.js";const p=()=>n("/model-compare"),i=e=>n(`/model-compare/${e}`),u=e=>l(`/model-compare/${e}`),h=e=>t("/model-compare/stop-by-pid",{pid:e}),g=e=>t(`/model-compare/${e}/load`),C=e=>t(`/model-compare/${e}/unload`),y=async e=>{const a=await t("/model-compare/stream-chat",e);return{ok:!0,body:{getReader:()=>{const o=(a==null?void 0:a.response)||"",r=new TextEncoder,s=[o.slice(0,o.length/3),o.slice(o.length/3,2*o.length/3),o.slice(2*o.length/3)];let c=0;return{read:async()=>c>=s.length?{done:!0,value:void 0}:{done:!1,value:r.encode(s[c++])}}}}}},v=e=>t("/model-compare/chat-with-port",e);export{i as a,y as b,v as c,u as d,p as g,g as l,h as s,C as u}; +======== +import{aF as n,aG as t,aI as l}from"./index-CxbBjZKo.js";const p=()=>n("/model-compare"),i=e=>n(`/model-compare/${e}`),u=e=>l(`/model-compare/${e}`),h=e=>t("/model-compare/stop-by-pid",{pid:e}),g=e=>t(`/model-compare/${e}/load`),C=e=>t(`/model-compare/${e}/unload`),y=async e=>{const a=await t("/model-compare/stream-chat",e);return{ok:!0,body:{getReader:()=>{const o=(a==null?void 0:a.response)||"",r=new TextEncoder,s=[o.slice(0,o.length/3),o.slice(o.length/3,2*o.length/3),o.slice(2*o.length/3)];let c=0;return{read:async()=>c>=s.length?{done:!0,value:void 0}:{done:!1,value:r.encode(s[c++])}}}}}},v=e=>t("/model-compare/chat-with-port",e);export{i as a,y as b,v as c,u as d,p as g,g as l,h as s,C as u}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/compare-DtYcNyhY.js diff --git a/frontend/dist/assets/compare-DtYcNyhY.js b/frontend/dist/assets/compare-DtYcNyhY.js new file mode 100644 index 0000000..597dfa3 --- /dev/null +++ b/frontend/dist/assets/compare-DtYcNyhY.js @@ -0,0 +1 @@ +import{aF as n,aG as t,aI as l}from"./index-CxbBjZKo.js";const p=()=>n("/model-compare"),i=e=>n(`/model-compare/${e}`),u=e=>l(`/model-compare/${e}`),h=e=>t("/model-compare/stop-by-pid",{pid:e}),g=e=>t(`/model-compare/${e}/load`),C=e=>t(`/model-compare/${e}/unload`),y=async e=>{const a=await t("/model-compare/stream-chat",e);return{ok:!0,body:{getReader:()=>{const o=(a==null?void 0:a.response)||"",r=new TextEncoder,s=[o.slice(0,o.length/3),o.slice(o.length/3,2*o.length/3),o.slice(2*o.length/3)];let c=0;return{read:async()=>c>=s.length?{done:!0,value:void 0}:{done:!1,value:r.encode(s[c++])}}}}}},v=e=>t("/model-compare/chat-with-port",e);export{i as a,y as b,v as c,u as d,p as g,g as l,h as s,C as u}; diff --git a/frontend/dist/assets/createSeriesDataSimply-DCIhUlI4.js b/frontend/dist/assets/createSeriesDataSimply-DCIhUlI4.js index ae48ff2..ca3202e 100644 --- a/frontend/dist/assets/createSeriesDataSimply-DCIhUlI4.js +++ b/frontend/dist/assets/createSeriesDataSimply-DCIhUlI4.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/createSeriesDataSimply-DCIhUlI4.js import{_ as M,ah as y,T as A,a7 as D,aS as I,aT as w}from"./install-qcIyCJ5C.js";var T=(function(){function s(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return s})(),x=(function(s){M(r,s);function r(t){var a=s.call(this,t)||this;return a.type="sausage",a}return r.prototype.getDefaultShape=function(){return new T},r.prototype.buildPath=function(t,a){var c=a.cx,e=a.cy,o=Math.max(a.r0||0,0),u=Math.max(a.r,0),l=(u-o)*.5,v=o+l,n=a.startAngle,i=a.endAngle,h=a.clockwise,S=Math.PI*2,d=h?i-n>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/createSeriesDataSimply-MGSYAhUE.js diff --git a/frontend/dist/assets/createSeriesDataSimply-MGSYAhUE.js b/frontend/dist/assets/createSeriesDataSimply-MGSYAhUE.js new file mode 100644 index 0000000..a519cdb --- /dev/null +++ b/frontend/dist/assets/createSeriesDataSimply-MGSYAhUE.js @@ -0,0 +1 @@ +import{_ as M,ah as y,T as A,a7 as D,aS as I,aT as w}from"./install-i_dmuKuk.js";var T=(function(){function s(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return s})(),x=(function(s){M(r,s);function r(t){var a=s.call(this,t)||this;return a.type="sausage",a}return r.prototype.getDefaultShape=function(){return new T},r.prototype.buildPath=function(t,a){var c=a.cx,e=a.cy,o=Math.max(a.r0||0,0),u=Math.max(a.r,0),l=(u-o)*.5,v=o+l,n=a.startAngle,i=a.endAngle,h=a.clockwise,S=Math.PI*2,d=h?i-nn(`/data-process/${encodeURIComponent(e)}`),i=e=>t("/data-process",e),R=(e,o)=>p(`/data-process/${encodeURIComponent(e)}`,o),U=e=>r(`/data-process/${encodeURIComponent(e)}`);function C(e,o,s){const c=new FormData;return o.forEach(a=>c.append("files",a)),t(`/data-process/${encodeURIComponent(e)}/source-files`,c,{timeout:300*1e3,onUploadProgress:a=>{if(!a.total)return;const d=Math.round(a.loaded/a.total*100);s==null||s(Math.min(99,Math.max(0,d)))}})}const I=(e,o)=>r(`/data-process/${encodeURIComponent(e)}/source-files/${encodeURIComponent(o)}`),$=(e,o,s={})=>n(`/data-process/${encodeURIComponent(e)}/source-files/${encodeURIComponent(o)}/content`,s),P=(e,o)=>`/modelTF/data-process/${encodeURIComponent(e)}/source-files/${encodeURIComponent(o)}/raw`,D=(e,o)=>n(`/data-process/${encodeURIComponent(e)}/source-files/${encodeURIComponent(o)}/pdf-pages`),f=(e,o)=>{const{query:s,file_name:c,...a}=o;return t(`/data-process/${encodeURIComponent(e)}/external/test`,a)},g=(e,o)=>t(`/data-process/${encodeURIComponent(e)}/external/pull`,o),w=(e,o={})=>t(`/data-process/${encodeURIComponent(e)}/preview/build`,o,{timeout:300*1e3});function v(e,o={}){return n(`/data-process/${encodeURIComponent(e)}/preview`,o)}const h=(e,o,s)=>p(`/data-process/${encodeURIComponent(e)}/preview/${encodeURIComponent(o)}`,s),x=(e,o)=>t(`/data-process/${encodeURIComponent(e)}/preview`,o),k=(e,o)=>r(`/data-process/${encodeURIComponent(e)}/preview/${encodeURIComponent(o)}`),S=e=>t(`/data-process/${encodeURIComponent(e)}/generate`),T=e=>t(`/data-process/${encodeURIComponent(e)}/stop`),b=e=>n(`/data-process/${encodeURIComponent(e)}/progress`);function F(e,o={}){return n(`/data-process/${encodeURIComponent(e)}/results`,o)}const q=(e,o,s)=>p(`/data-process/${encodeURIComponent(e)}/results/${encodeURIComponent(o)}`,s),E=(e,o)=>t(`/data-process/${encodeURIComponent(e)}/results/${encodeURIComponent(o)}/restore`),M=(e,o)=>t(`/data-process/${encodeURIComponent(e)}/publish`,o);export{P as a,D as b,S as c,U as d,b as e,F as f,m as g,w as h,C as i,$ as j,h as k,R as l,i as m,v as n,I as o,g as p,x as q,E as r,T as s,f as t,q as u,k as v,l as w,M as x}; diff --git a/frontend/dist/assets/dataset-BdzlocXa.js b/frontend/dist/assets/dataset-BdzlocXa.js new file mode 100644 index 0000000..04092f8 --- /dev/null +++ b/frontend/dist/assets/dataset-BdzlocXa.js @@ -0,0 +1 @@ +import{aF as n,aH as d,aG as o,aI as r}from"./index-CxbBjZKo.js";const c=()=>n("/dataset-manage"),m=e=>n(`/dataset-manage/${e}`),l=e=>o("/dataset-manage",e),p=(e,a)=>d(`/dataset-manage/${e}`,a),g=e=>r(`/dataset-manage/${e}`),$=(e,a)=>{const t=new FormData;return a.forEach(s=>t.append("files",s)),o(`/dataset-manage/upload/${e}`,t,{headers:{"Content-Type":"multipart/form-data"}})},D=e=>n(`/dataset-manage/versions/${encodeURIComponent(e)}`),_=(e,a)=>n(`/dataset-manage/versions/${encodeURIComponent(e)}/${encodeURIComponent(a)}`),u=(e,a,t)=>o(`/dataset-manage/versions/${encodeURIComponent(e)}`,{content:a,description:t.description||"在线编辑",base_version_id:t.baseVersionId,expected_current_version_id:t.expectedCurrentVersionId}),v=(e,a,t)=>d(`/dataset-manage/versions/${encodeURIComponent(e)}/active`,{version_id:a,expected_current_version_id:t}),C=(e,a,t)=>r(`/dataset-manage/versions/${encodeURIComponent(e)}/${encodeURIComponent(a)}`,{expected_current_version_id:t}),F=(e,a,t)=>{const s=`/modelTF/dataset-manage/download/${e}/${a}`;return t?`${s}?version_id=${encodeURIComponent(t)}`:s},U=e=>`/modelTF/dataset-manage/download/${e}`;export{U as a,m as b,$ as c,g as d,l as e,D as f,c as g,_ as h,u as i,F as j,v as k,C as l,p as u}; diff --git a/frontend/dist/assets/dataset-C17jngxQ.js b/frontend/dist/assets/dataset-C17jngxQ.js index 14e6b13..cbf1313 100644 --- a/frontend/dist/assets/dataset-C17jngxQ.js +++ b/frontend/dist/assets/dataset-C17jngxQ.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/dataset-C17jngxQ.js import{aF as n,aH as d,aG as o,aI as r}from"./index-CD29OCdJ.js";const c=()=>n("/dataset-manage"),m=e=>n(`/dataset-manage/${e}`),l=e=>o("/dataset-manage",e),p=(e,a)=>d(`/dataset-manage/${e}`,a),g=e=>r(`/dataset-manage/${e}`),$=(e,a)=>{const t=new FormData;return a.forEach(s=>t.append("files",s)),o(`/dataset-manage/upload/${e}`,t,{headers:{"Content-Type":"multipart/form-data"}})},D=e=>n(`/dataset-manage/versions/${encodeURIComponent(e)}`),_=(e,a)=>n(`/dataset-manage/versions/${encodeURIComponent(e)}/${encodeURIComponent(a)}`),u=(e,a,t)=>o(`/dataset-manage/versions/${encodeURIComponent(e)}`,{content:a,description:t.description||"在线编辑",base_version_id:t.baseVersionId,expected_current_version_id:t.expectedCurrentVersionId}),v=(e,a,t)=>d(`/dataset-manage/versions/${encodeURIComponent(e)}/active`,{version_id:a,expected_current_version_id:t}),C=(e,a,t)=>r(`/dataset-manage/versions/${encodeURIComponent(e)}/${encodeURIComponent(a)}`,{expected_current_version_id:t}),F=(e,a,t)=>{const s=`/modelTF/dataset-manage/download/${e}/${a}`;return t?`${s}?version_id=${encodeURIComponent(t)}`:s},U=e=>`/modelTF/dataset-manage/download/${e}`;export{U as a,m as b,$ as c,g as d,l as e,D as f,c as g,_ as h,u as i,F as j,v as k,C as l,p as u}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/dataset-BWM6p-mU.js +import{aF as n,aH as d,aG as o,aI as r}from"./index-Ds9AETjS.js";const c=()=>n("/dataset-manage"),m=e=>n(`/dataset-manage/${e}`),l=e=>o("/dataset-manage",e),p=(e,a)=>d(`/dataset-manage/${e}`,a),g=e=>r(`/dataset-manage/${e}`),$=(e,a)=>{const t=new FormData;return a.forEach(s=>t.append("files",s)),o(`/dataset-manage/upload/${e}`,t,{headers:{"Content-Type":"multipart/form-data"}})},D=e=>n(`/dataset-manage/versions/${encodeURIComponent(e)}`),_=(e,a)=>n(`/dataset-manage/versions/${encodeURIComponent(e)}/${encodeURIComponent(a)}`),u=(e,a,t)=>o(`/dataset-manage/versions/${encodeURIComponent(e)}`,{content:a,description:t.description||"在线编辑",base_version_id:t.baseVersionId,expected_current_version_id:t.expectedCurrentVersionId}),v=(e,a,t)=>d(`/dataset-manage/versions/${encodeURIComponent(e)}/active`,{version_id:a,expected_current_version_id:t}),C=(e,a,t)=>r(`/dataset-manage/versions/${encodeURIComponent(e)}/${encodeURIComponent(a)}`,{expected_current_version_id:t}),F=(e,a,t)=>{const s=`/modelTF/dataset-manage/download/${e}/${a}`;return t?`${s}?version_id=${encodeURIComponent(t)}`:s},U=e=>`/modelTF/dataset-manage/download/${e}`;export{U as a,m as b,$ as c,g as d,l as e,D as f,c as g,_ as h,u as i,F as j,v as k,C as l,p as u}; +======== +import{aF as n,aH as d,aG as o,aI as r}from"./index-CxbBjZKo.js";const c=()=>n("/dataset-manage"),m=e=>n(`/dataset-manage/${e}`),l=e=>o("/dataset-manage",e),p=(e,a)=>d(`/dataset-manage/${e}`,a),g=e=>r(`/dataset-manage/${e}`),$=(e,a)=>{const t=new FormData;return a.forEach(s=>t.append("files",s)),o(`/dataset-manage/upload/${e}`,t,{headers:{"Content-Type":"multipart/form-data"}})},D=e=>n(`/dataset-manage/versions/${encodeURIComponent(e)}`),_=(e,a)=>n(`/dataset-manage/versions/${encodeURIComponent(e)}/${encodeURIComponent(a)}`),u=(e,a,t)=>o(`/dataset-manage/versions/${encodeURIComponent(e)}`,{content:a,description:t.description||"在线编辑",base_version_id:t.baseVersionId,expected_current_version_id:t.expectedCurrentVersionId}),v=(e,a,t)=>d(`/dataset-manage/versions/${encodeURIComponent(e)}/active`,{version_id:a,expected_current_version_id:t}),C=(e,a,t)=>r(`/dataset-manage/versions/${encodeURIComponent(e)}/${encodeURIComponent(a)}`,{expected_current_version_id:t}),F=(e,a,t)=>{const s=`/modelTF/dataset-manage/download/${e}/${a}`;return t?`${s}?version_id=${encodeURIComponent(t)}`:s},U=e=>`/modelTF/dataset-manage/download/${e}`;export{U as a,m as b,$ as c,g as d,l as e,D as f,c as g,_ as h,u as i,F as j,v as k,C as l,p as u}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/dataset-BdzlocXa.js diff --git a/frontend/dist/assets/debounce-BCyqG5kC.js b/frontend/dist/assets/debounce-BCyqG5kC.js index c300abf..968b152 100644 --- a/frontend/dist/assets/debounce-BCyqG5kC.js +++ b/frontend/dist/assets/debounce-BCyqG5kC.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/debounce-BCyqG5kC.js import{cz as S,cs as y}from"./index-CD29OCdJ.js";import{t as b}from"./toNumber-B6P5MqPp.js";var h=function(){return S.Date.now()},R="Expected a function",A=Math.max,F=Math.min;function _(x,i,a){var u,d,m,f,n,r,o=0,E=!1,c=!1,g=!0;if(typeof x!="function")throw new TypeError(R);i=b(i)||0,y(a)&&(E=!!a.leading,c="maxWait"in a,m=c?A(b(a.maxWait)||0,i):m,g="trailing"in a?!!a.trailing:g);function v(e){var t=u,l=d;return u=d=void 0,o=e,f=x.apply(l,t),f}function p(e){return o=e,n=setTimeout(s,i),E?v(e):f}function C(e){var t=e-r,l=e-o,W=i-t;return c?F(W,m-l):W}function k(e){var t=e-r,l=e-o;return r===void 0||t>=i||t<0||c&&l>=m}function s(){var e=h();if(k(e))return I(e);n=setTimeout(s,C(e))}function I(e){return n=void 0,g&&u?v(e):(u=d=void 0,f)}function L(){n!==void 0&&clearTimeout(n),o=0,u=r=d=n=void 0}function M(){return n===void 0?f:I(h())}function T(){var e=h(),t=k(e);if(u=arguments,d=this,r=e,t){if(n===void 0)return p(r);if(c)return clearTimeout(n),n=setTimeout(s,i),v(r)}return n===void 0&&(n=setTimeout(s,i)),f}return T.cancel=L,T.flush=M,T}export{_ as d}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/debounce-D6mJVDYC.js +import{cz as S,cs as y}from"./index-Ds9AETjS.js";import{t as b}from"./toNumber-DrayciwT.js";var h=function(){return S.Date.now()},R="Expected a function",A=Math.max,F=Math.min;function _(x,i,a){var u,d,m,f,n,r,o=0,E=!1,c=!1,g=!0;if(typeof x!="function")throw new TypeError(R);i=b(i)||0,y(a)&&(E=!!a.leading,c="maxWait"in a,m=c?A(b(a.maxWait)||0,i):m,g="trailing"in a?!!a.trailing:g);function v(e){var t=u,l=d;return u=d=void 0,o=e,f=x.apply(l,t),f}function p(e){return o=e,n=setTimeout(s,i),E?v(e):f}function C(e){var t=e-r,l=e-o,W=i-t;return c?F(W,m-l):W}function k(e){var t=e-r,l=e-o;return r===void 0||t>=i||t<0||c&&l>=m}function s(){var e=h();if(k(e))return I(e);n=setTimeout(s,C(e))}function I(e){return n=void 0,g&&u?v(e):(u=d=void 0,f)}function L(){n!==void 0&&clearTimeout(n),o=0,u=r=d=n=void 0}function M(){return n===void 0?f:I(h())}function T(){var e=h(),t=k(e);if(u=arguments,d=this,r=e,t){if(n===void 0)return p(r);if(c)return clearTimeout(n),n=setTimeout(s,i),v(r)}return n===void 0&&(n=setTimeout(s,i)),f}return T.cancel=L,T.flush=M,T}export{_ as d}; +======== +import{cz as S,cs as y}from"./index-CxbBjZKo.js";import{t as b}from"./toNumber-Yuob3eJv.js";var h=function(){return S.Date.now()},R="Expected a function",A=Math.max,F=Math.min;function _(x,i,a){var u,d,m,f,n,r,o=0,E=!1,c=!1,g=!0;if(typeof x!="function")throw new TypeError(R);i=b(i)||0,y(a)&&(E=!!a.leading,c="maxWait"in a,m=c?A(b(a.maxWait)||0,i):m,g="trailing"in a?!!a.trailing:g);function v(e){var t=u,l=d;return u=d=void 0,o=e,f=x.apply(l,t),f}function p(e){return o=e,n=setTimeout(s,i),E?v(e):f}function C(e){var t=e-r,l=e-o,W=i-t;return c?F(W,m-l):W}function k(e){var t=e-r,l=e-o;return r===void 0||t>=i||t<0||c&&l>=m}function s(){var e=h();if(k(e))return I(e);n=setTimeout(s,C(e))}function I(e){return n=void 0,g&&u?v(e):(u=d=void 0,f)}function L(){n!==void 0&&clearTimeout(n),o=0,u=r=d=n=void 0}function M(){return n===void 0?f:I(h())}function T(){var e=h(),t=k(e);if(u=arguments,d=this,r=e,t){if(n===void 0)return p(r);if(c)return clearTimeout(n),n=setTimeout(s,i),v(r)}return n===void 0&&(n=setTimeout(s,i)),f}return T.cancel=L,T.flush=M,T}export{_ as d}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/debounce-BJxjS5F3.js diff --git a/frontend/dist/assets/debounce-BJxjS5F3.js b/frontend/dist/assets/debounce-BJxjS5F3.js new file mode 100644 index 0000000..c1ff6b8 --- /dev/null +++ b/frontend/dist/assets/debounce-BJxjS5F3.js @@ -0,0 +1 @@ +import{cz as S,cs as y}from"./index-CxbBjZKo.js";import{t as b}from"./toNumber-Yuob3eJv.js";var h=function(){return S.Date.now()},R="Expected a function",A=Math.max,F=Math.min;function _(x,i,a){var u,d,m,f,n,r,o=0,E=!1,c=!1,g=!0;if(typeof x!="function")throw new TypeError(R);i=b(i)||0,y(a)&&(E=!!a.leading,c="maxWait"in a,m=c?A(b(a.maxWait)||0,i):m,g="trailing"in a?!!a.trailing:g);function v(e){var t=u,l=d;return u=d=void 0,o=e,f=x.apply(l,t),f}function p(e){return o=e,n=setTimeout(s,i),E?v(e):f}function C(e){var t=e-r,l=e-o,W=i-t;return c?F(W,m-l):W}function k(e){var t=e-r,l=e-o;return r===void 0||t>=i||t<0||c&&l>=m}function s(){var e=h();if(k(e))return I(e);n=setTimeout(s,C(e))}function I(e){return n=void 0,g&&u?v(e):(u=d=void 0,f)}function L(){n!==void 0&&clearTimeout(n),o=0,u=r=d=n=void 0}function M(){return n===void 0?f:I(h())}function T(){var e=h(),t=k(e);if(u=arguments,d=this,r=e,t){if(n===void 0)return p(r);if(c)return clearTimeout(n),n=setTimeout(s,i),v(r)}return n===void 0&&(n=setTimeout(s,i)),f}return T.cancel=L,T.flush=M,T}export{_ as d}; diff --git a/frontend/dist/assets/directive-DCr8Ae3g.js b/frontend/dist/assets/directive-DCr8Ae3g.js new file mode 100644 index 0000000..c8dea85 --- /dev/null +++ b/frontend/dist/assets/directive-DCr8Ae3g.js @@ -0,0 +1 @@ +import{z as E,d7 as P,d as O,bp as z,I as g,w as j,K as R,s as K,L as Z,Z as q,aV as D,y as B,a0 as y,bt as F,P as I,J as S,bL as m,_ as k,a3 as _,aB as G,d8 as H}from"./index-CxbBjZKo.js";function J(e,s){let t;const o=B(!1),n=E({...e,originalPosition:"",originalOverflow:"",visible:!1});function r(l){n.text=l}function c(){const l=n.parent,u=f.ns;if(!l.vLoadingAddClassList){let i=l.getAttribute("loading-number");i=Number.parseInt(i)-1,i?l.setAttribute("loading-number",i.toString()):(y(l,u.bm("parent","relative")),l.removeAttribute("loading-number")),y(l,u.bm("parent","hidden"))}v(),C.unmount()}function v(){var l,u;(u=(l=f.$el)==null?void 0:l.parentNode)==null||u.removeChild(f.$el)}function x(){var l;e.beforeClose&&!e.beforeClose()||(o.value=!0,clearTimeout(t),t=setTimeout(a,400),n.visible=!1,(l=e.closed)==null||l.call(e))}function a(){if(!o.value)return;const l=n.parent;o.value=!1,l.vLoadingAddClassList=void 0,c()}const C=P(O({name:"ElLoading",setup(l,{expose:u}){const{ns:i,zIndex:N}=z("loading");return u({ns:i,zIndex:N}),()=>{const A=n.spinner||n.svg,T=g("svg",{class:"circular",viewBox:n.svgViewBox?n.svgViewBox:"0 0 50 50",...A?{innerHTML:A}:{}},[g("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),V=n.text?g("p",{class:i.b("text")},[n.text]):void 0;return g(q,{name:i.b("fade"),onAfterLeave:a},{default:j(()=>[R(K("div",{style:{backgroundColor:n.background||""},class:[i.b("mask"),n.customClass,i.is("fullscreen",n.fullscreen)]},[g("div",{class:i.b("spinner")},[T,V])]),[[Z,n.visible]])])})}}}));Object.assign(C._context,s??{});const f=C.mount(document.createElement("div"));return{...D(n),setText:r,removeElLoadingChild:v,close:x,handleAfterLeave:a,vm:f,get $el(){return f.$el}}}let p;const L=function(e={},s){if(!F)return;const t=M(e);if(t.fullscreen&&p)return p;const o=J({...t,closed:()=>{var r;(r=t.closed)==null||r.call(t),t.fullscreen&&(p=void 0)}},s??L._context);Y(t,t.parent,o),w(t,t.parent,o),t.parent.vLoadingAddClassList=()=>w(t,t.parent,o);let n=t.parent.getAttribute("loading-number");return n?n=`${Number.parseInt(n)+1}`:n="1",t.parent.setAttribute("loading-number",n),t.parent.appendChild(o.$el),I(()=>o.visible.value=t.visible),t.fullscreen&&(p=o),o},M=e=>{let s;return S(e.target)?s=document.querySelector(e.target)??document.body:s=e.target||document.body,{parent:s===document.body||e.body?document.body:s,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:s===document.body&&(e.fullscreen??!0),lock:e.lock??!1,customClass:e.customClass||"",visible:e.visible??!0,beforeClose:e.beforeClose,closed:e.closed,target:s}},Y=async(e,s,t)=>{const{nextZIndex:o}=t.vm.zIndex||t.vm._.exposed.zIndex,n={};if(e.fullscreen)t.originalPosition.value=m(document.body,"position"),t.originalOverflow.value=m(document.body,"overflow"),n.zIndex=o();else if(e.parent===document.body){t.originalPosition.value=m(document.body,"position"),await I();for(const r of["top","left"]){const c=r==="top"?"scrollTop":"scrollLeft";n[r]=`${e.target.getBoundingClientRect()[r]+document.body[c]+document.documentElement[c]-Number.parseInt(m(document.body,`margin-${r}`),10)}px`}for(const r of["height","width"])n[r]=`${e.target.getBoundingClientRect()[r]}px`}else t.originalPosition.value=m(s,"position");for(const[r,c]of Object.entries(n))t.$el.style[r]=c},w=(e,s,t)=>{const o=t.vm.ns||t.vm._.exposed.ns;["absolute","fixed","sticky"].includes(t.originalPosition.value)?y(s,o.bm("parent","relative")):k(s,o.bm("parent","relative")),e.fullscreen&&e.lock?k(s,o.bm("parent","hidden")):y(s,o.bm("parent","hidden"))};L._context=null;const b=Symbol("ElLoading"),d=e=>`element-loading-${H(e)}`,h=(e,s)=>{const t=s.instance,o=a=>_(s.value)?s.value[a]:void 0,n=a=>B(S(a)&&(t==null?void 0:t[a])||a),r=a=>n(o(a)||e.getAttribute(d(a))),c=o("fullscreen")??s.modifiers.fullscreen,v={text:r("text"),svg:r("svg"),svgViewBox:r("svgViewBox"),spinner:r("spinner"),background:r("background"),customClass:r("customClass"),fullscreen:c,target:o("target")??(c?void 0:e),body:o("body")??s.modifiers.body,lock:o("lock")??s.modifiers.lock},x=L(v);x._context=$._context,e[b]={options:v,instance:x}},Q=(e,s)=>{for(const t of Object.keys(e))G(e[t])&&(e[t].value=s[t])},$={mounted(e,s){s.value&&h(e,s)},updated(e,s){const t=e[b];if(!s.value){t==null||t.instance.close(),e[b]=null;return}t?Q(t.options,_(s.value)?s.value:{text:e.getAttribute(d("text")),svg:e.getAttribute(d("svg")),svgViewBox:e.getAttribute(d("svgViewBox")),spinner:e.getAttribute(d("spinner")),background:e.getAttribute(d("background")),customClass:e.getAttribute(d("customClass"))}):h(e,s)},unmounted(e){var s;(s=e[b])==null||s.instance.close(),e[b]=null}};$._context=null;export{$ as v}; diff --git a/frontend/dist/assets/directive-DsbMrhCX.js b/frontend/dist/assets/directive-DsbMrhCX.js index ac786ab..0005fca 100644 --- a/frontend/dist/assets/directive-DsbMrhCX.js +++ b/frontend/dist/assets/directive-DsbMrhCX.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/directive-DsbMrhCX.js import{z as E,d7 as P,d as O,bp as z,I as g,w as j,K as R,s as K,L as Z,Z as q,aV as D,y as B,a0 as y,bt as F,P as I,J as S,bL as m,_ as k,a3 as _,aB as G,d8 as H}from"./index-CD29OCdJ.js";function J(e,s){let t;const o=B(!1),n=E({...e,originalPosition:"",originalOverflow:"",visible:!1});function r(l){n.text=l}function c(){const l=n.parent,u=f.ns;if(!l.vLoadingAddClassList){let i=l.getAttribute("loading-number");i=Number.parseInt(i)-1,i?l.setAttribute("loading-number",i.toString()):(y(l,u.bm("parent","relative")),l.removeAttribute("loading-number")),y(l,u.bm("parent","hidden"))}v(),C.unmount()}function v(){var l,u;(u=(l=f.$el)==null?void 0:l.parentNode)==null||u.removeChild(f.$el)}function x(){var l;e.beforeClose&&!e.beforeClose()||(o.value=!0,clearTimeout(t),t=setTimeout(a,400),n.visible=!1,(l=e.closed)==null||l.call(e))}function a(){if(!o.value)return;const l=n.parent;o.value=!1,l.vLoadingAddClassList=void 0,c()}const C=P(O({name:"ElLoading",setup(l,{expose:u}){const{ns:i,zIndex:N}=z("loading");return u({ns:i,zIndex:N}),()=>{const A=n.spinner||n.svg,T=g("svg",{class:"circular",viewBox:n.svgViewBox?n.svgViewBox:"0 0 50 50",...A?{innerHTML:A}:{}},[g("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),V=n.text?g("p",{class:i.b("text")},[n.text]):void 0;return g(q,{name:i.b("fade"),onAfterLeave:a},{default:j(()=>[R(K("div",{style:{backgroundColor:n.background||""},class:[i.b("mask"),n.customClass,i.is("fullscreen",n.fullscreen)]},[g("div",{class:i.b("spinner")},[T,V])]),[[Z,n.visible]])])})}}}));Object.assign(C._context,s??{});const f=C.mount(document.createElement("div"));return{...D(n),setText:r,removeElLoadingChild:v,close:x,handleAfterLeave:a,vm:f,get $el(){return f.$el}}}let p;const L=function(e={},s){if(!F)return;const t=M(e);if(t.fullscreen&&p)return p;const o=J({...t,closed:()=>{var r;(r=t.closed)==null||r.call(t),t.fullscreen&&(p=void 0)}},s??L._context);Y(t,t.parent,o),w(t,t.parent,o),t.parent.vLoadingAddClassList=()=>w(t,t.parent,o);let n=t.parent.getAttribute("loading-number");return n?n=`${Number.parseInt(n)+1}`:n="1",t.parent.setAttribute("loading-number",n),t.parent.appendChild(o.$el),I(()=>o.visible.value=t.visible),t.fullscreen&&(p=o),o},M=e=>{let s;return S(e.target)?s=document.querySelector(e.target)??document.body:s=e.target||document.body,{parent:s===document.body||e.body?document.body:s,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:s===document.body&&(e.fullscreen??!0),lock:e.lock??!1,customClass:e.customClass||"",visible:e.visible??!0,beforeClose:e.beforeClose,closed:e.closed,target:s}},Y=async(e,s,t)=>{const{nextZIndex:o}=t.vm.zIndex||t.vm._.exposed.zIndex,n={};if(e.fullscreen)t.originalPosition.value=m(document.body,"position"),t.originalOverflow.value=m(document.body,"overflow"),n.zIndex=o();else if(e.parent===document.body){t.originalPosition.value=m(document.body,"position"),await I();for(const r of["top","left"]){const c=r==="top"?"scrollTop":"scrollLeft";n[r]=`${e.target.getBoundingClientRect()[r]+document.body[c]+document.documentElement[c]-Number.parseInt(m(document.body,`margin-${r}`),10)}px`}for(const r of["height","width"])n[r]=`${e.target.getBoundingClientRect()[r]}px`}else t.originalPosition.value=m(s,"position");for(const[r,c]of Object.entries(n))t.$el.style[r]=c},w=(e,s,t)=>{const o=t.vm.ns||t.vm._.exposed.ns;["absolute","fixed","sticky"].includes(t.originalPosition.value)?y(s,o.bm("parent","relative")):k(s,o.bm("parent","relative")),e.fullscreen&&e.lock?k(s,o.bm("parent","hidden")):y(s,o.bm("parent","hidden"))};L._context=null;const b=Symbol("ElLoading"),d=e=>`element-loading-${H(e)}`,h=(e,s)=>{const t=s.instance,o=a=>_(s.value)?s.value[a]:void 0,n=a=>B(S(a)&&(t==null?void 0:t[a])||a),r=a=>n(o(a)||e.getAttribute(d(a))),c=o("fullscreen")??s.modifiers.fullscreen,v={text:r("text"),svg:r("svg"),svgViewBox:r("svgViewBox"),spinner:r("spinner"),background:r("background"),customClass:r("customClass"),fullscreen:c,target:o("target")??(c?void 0:e),body:o("body")??s.modifiers.body,lock:o("lock")??s.modifiers.lock},x=L(v);x._context=$._context,e[b]={options:v,instance:x}},Q=(e,s)=>{for(const t of Object.keys(e))G(e[t])&&(e[t].value=s[t])},$={mounted(e,s){s.value&&h(e,s)},updated(e,s){const t=e[b];if(!s.value){t==null||t.instance.close(),e[b]=null;return}t?Q(t.options,_(s.value)?s.value:{text:e.getAttribute(d("text")),svg:e.getAttribute(d("svg")),svgViewBox:e.getAttribute(d("svgViewBox")),spinner:e.getAttribute(d("spinner")),background:e.getAttribute(d("background")),customClass:e.getAttribute(d("customClass"))}):h(e,s)},unmounted(e){var s;(s=e[b])==null||s.instance.close(),e[b]=null}};$._context=null;export{$ as v}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/directive-B1cwmVOz.js +import{z as E,d7 as P,d as O,bp as z,I as g,w as j,K as R,s as K,L as Z,Z as q,aV as D,y as B,a0 as y,bt as F,P as I,J as S,bL as m,_ as k,a3 as _,aB as G,d8 as H}from"./index-Ds9AETjS.js";function J(e,s){let t;const o=B(!1),n=E({...e,originalPosition:"",originalOverflow:"",visible:!1});function r(l){n.text=l}function c(){const l=n.parent,u=f.ns;if(!l.vLoadingAddClassList){let i=l.getAttribute("loading-number");i=Number.parseInt(i)-1,i?l.setAttribute("loading-number",i.toString()):(y(l,u.bm("parent","relative")),l.removeAttribute("loading-number")),y(l,u.bm("parent","hidden"))}v(),C.unmount()}function v(){var l,u;(u=(l=f.$el)==null?void 0:l.parentNode)==null||u.removeChild(f.$el)}function x(){var l;e.beforeClose&&!e.beforeClose()||(o.value=!0,clearTimeout(t),t=setTimeout(a,400),n.visible=!1,(l=e.closed)==null||l.call(e))}function a(){if(!o.value)return;const l=n.parent;o.value=!1,l.vLoadingAddClassList=void 0,c()}const C=P(O({name:"ElLoading",setup(l,{expose:u}){const{ns:i,zIndex:N}=z("loading");return u({ns:i,zIndex:N}),()=>{const A=n.spinner||n.svg,T=g("svg",{class:"circular",viewBox:n.svgViewBox?n.svgViewBox:"0 0 50 50",...A?{innerHTML:A}:{}},[g("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),V=n.text?g("p",{class:i.b("text")},[n.text]):void 0;return g(q,{name:i.b("fade"),onAfterLeave:a},{default:j(()=>[R(K("div",{style:{backgroundColor:n.background||""},class:[i.b("mask"),n.customClass,i.is("fullscreen",n.fullscreen)]},[g("div",{class:i.b("spinner")},[T,V])]),[[Z,n.visible]])])})}}}));Object.assign(C._context,s??{});const f=C.mount(document.createElement("div"));return{...D(n),setText:r,removeElLoadingChild:v,close:x,handleAfterLeave:a,vm:f,get $el(){return f.$el}}}let p;const L=function(e={},s){if(!F)return;const t=M(e);if(t.fullscreen&&p)return p;const o=J({...t,closed:()=>{var r;(r=t.closed)==null||r.call(t),t.fullscreen&&(p=void 0)}},s??L._context);Y(t,t.parent,o),w(t,t.parent,o),t.parent.vLoadingAddClassList=()=>w(t,t.parent,o);let n=t.parent.getAttribute("loading-number");return n?n=`${Number.parseInt(n)+1}`:n="1",t.parent.setAttribute("loading-number",n),t.parent.appendChild(o.$el),I(()=>o.visible.value=t.visible),t.fullscreen&&(p=o),o},M=e=>{let s;return S(e.target)?s=document.querySelector(e.target)??document.body:s=e.target||document.body,{parent:s===document.body||e.body?document.body:s,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:s===document.body&&(e.fullscreen??!0),lock:e.lock??!1,customClass:e.customClass||"",visible:e.visible??!0,beforeClose:e.beforeClose,closed:e.closed,target:s}},Y=async(e,s,t)=>{const{nextZIndex:o}=t.vm.zIndex||t.vm._.exposed.zIndex,n={};if(e.fullscreen)t.originalPosition.value=m(document.body,"position"),t.originalOverflow.value=m(document.body,"overflow"),n.zIndex=o();else if(e.parent===document.body){t.originalPosition.value=m(document.body,"position"),await I();for(const r of["top","left"]){const c=r==="top"?"scrollTop":"scrollLeft";n[r]=`${e.target.getBoundingClientRect()[r]+document.body[c]+document.documentElement[c]-Number.parseInt(m(document.body,`margin-${r}`),10)}px`}for(const r of["height","width"])n[r]=`${e.target.getBoundingClientRect()[r]}px`}else t.originalPosition.value=m(s,"position");for(const[r,c]of Object.entries(n))t.$el.style[r]=c},w=(e,s,t)=>{const o=t.vm.ns||t.vm._.exposed.ns;["absolute","fixed","sticky"].includes(t.originalPosition.value)?y(s,o.bm("parent","relative")):k(s,o.bm("parent","relative")),e.fullscreen&&e.lock?k(s,o.bm("parent","hidden")):y(s,o.bm("parent","hidden"))};L._context=null;const b=Symbol("ElLoading"),d=e=>`element-loading-${H(e)}`,h=(e,s)=>{const t=s.instance,o=a=>_(s.value)?s.value[a]:void 0,n=a=>B(S(a)&&(t==null?void 0:t[a])||a),r=a=>n(o(a)||e.getAttribute(d(a))),c=o("fullscreen")??s.modifiers.fullscreen,v={text:r("text"),svg:r("svg"),svgViewBox:r("svgViewBox"),spinner:r("spinner"),background:r("background"),customClass:r("customClass"),fullscreen:c,target:o("target")??(c?void 0:e),body:o("body")??s.modifiers.body,lock:o("lock")??s.modifiers.lock},x=L(v);x._context=$._context,e[b]={options:v,instance:x}},Q=(e,s)=>{for(const t of Object.keys(e))G(e[t])&&(e[t].value=s[t])},$={mounted(e,s){s.value&&h(e,s)},updated(e,s){const t=e[b];if(!s.value){t==null||t.instance.close(),e[b]=null;return}t?Q(t.options,_(s.value)?s.value:{text:e.getAttribute(d("text")),svg:e.getAttribute(d("svg")),svgViewBox:e.getAttribute(d("svgViewBox")),spinner:e.getAttribute(d("spinner")),background:e.getAttribute(d("background")),customClass:e.getAttribute(d("customClass"))}):h(e,s)},unmounted(e){var s;(s=e[b])==null||s.instance.close(),e[b]=null}};$._context=null;export{$ as v}; +======== +import{z as E,d7 as P,d as O,bp as z,I as g,w as j,K as R,s as K,L as Z,Z as q,aV as D,y as B,a0 as y,bt as F,P as I,J as S,bL as m,_ as k,a3 as _,aB as G,d8 as H}from"./index-CxbBjZKo.js";function J(e,s){let t;const o=B(!1),n=E({...e,originalPosition:"",originalOverflow:"",visible:!1});function r(l){n.text=l}function c(){const l=n.parent,u=f.ns;if(!l.vLoadingAddClassList){let i=l.getAttribute("loading-number");i=Number.parseInt(i)-1,i?l.setAttribute("loading-number",i.toString()):(y(l,u.bm("parent","relative")),l.removeAttribute("loading-number")),y(l,u.bm("parent","hidden"))}v(),C.unmount()}function v(){var l,u;(u=(l=f.$el)==null?void 0:l.parentNode)==null||u.removeChild(f.$el)}function x(){var l;e.beforeClose&&!e.beforeClose()||(o.value=!0,clearTimeout(t),t=setTimeout(a,400),n.visible=!1,(l=e.closed)==null||l.call(e))}function a(){if(!o.value)return;const l=n.parent;o.value=!1,l.vLoadingAddClassList=void 0,c()}const C=P(O({name:"ElLoading",setup(l,{expose:u}){const{ns:i,zIndex:N}=z("loading");return u({ns:i,zIndex:N}),()=>{const A=n.spinner||n.svg,T=g("svg",{class:"circular",viewBox:n.svgViewBox?n.svgViewBox:"0 0 50 50",...A?{innerHTML:A}:{}},[g("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),V=n.text?g("p",{class:i.b("text")},[n.text]):void 0;return g(q,{name:i.b("fade"),onAfterLeave:a},{default:j(()=>[R(K("div",{style:{backgroundColor:n.background||""},class:[i.b("mask"),n.customClass,i.is("fullscreen",n.fullscreen)]},[g("div",{class:i.b("spinner")},[T,V])]),[[Z,n.visible]])])})}}}));Object.assign(C._context,s??{});const f=C.mount(document.createElement("div"));return{...D(n),setText:r,removeElLoadingChild:v,close:x,handleAfterLeave:a,vm:f,get $el(){return f.$el}}}let p;const L=function(e={},s){if(!F)return;const t=M(e);if(t.fullscreen&&p)return p;const o=J({...t,closed:()=>{var r;(r=t.closed)==null||r.call(t),t.fullscreen&&(p=void 0)}},s??L._context);Y(t,t.parent,o),w(t,t.parent,o),t.parent.vLoadingAddClassList=()=>w(t,t.parent,o);let n=t.parent.getAttribute("loading-number");return n?n=`${Number.parseInt(n)+1}`:n="1",t.parent.setAttribute("loading-number",n),t.parent.appendChild(o.$el),I(()=>o.visible.value=t.visible),t.fullscreen&&(p=o),o},M=e=>{let s;return S(e.target)?s=document.querySelector(e.target)??document.body:s=e.target||document.body,{parent:s===document.body||e.body?document.body:s,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:s===document.body&&(e.fullscreen??!0),lock:e.lock??!1,customClass:e.customClass||"",visible:e.visible??!0,beforeClose:e.beforeClose,closed:e.closed,target:s}},Y=async(e,s,t)=>{const{nextZIndex:o}=t.vm.zIndex||t.vm._.exposed.zIndex,n={};if(e.fullscreen)t.originalPosition.value=m(document.body,"position"),t.originalOverflow.value=m(document.body,"overflow"),n.zIndex=o();else if(e.parent===document.body){t.originalPosition.value=m(document.body,"position"),await I();for(const r of["top","left"]){const c=r==="top"?"scrollTop":"scrollLeft";n[r]=`${e.target.getBoundingClientRect()[r]+document.body[c]+document.documentElement[c]-Number.parseInt(m(document.body,`margin-${r}`),10)}px`}for(const r of["height","width"])n[r]=`${e.target.getBoundingClientRect()[r]}px`}else t.originalPosition.value=m(s,"position");for(const[r,c]of Object.entries(n))t.$el.style[r]=c},w=(e,s,t)=>{const o=t.vm.ns||t.vm._.exposed.ns;["absolute","fixed","sticky"].includes(t.originalPosition.value)?y(s,o.bm("parent","relative")):k(s,o.bm("parent","relative")),e.fullscreen&&e.lock?k(s,o.bm("parent","hidden")):y(s,o.bm("parent","hidden"))};L._context=null;const b=Symbol("ElLoading"),d=e=>`element-loading-${H(e)}`,h=(e,s)=>{const t=s.instance,o=a=>_(s.value)?s.value[a]:void 0,n=a=>B(S(a)&&(t==null?void 0:t[a])||a),r=a=>n(o(a)||e.getAttribute(d(a))),c=o("fullscreen")??s.modifiers.fullscreen,v={text:r("text"),svg:r("svg"),svgViewBox:r("svgViewBox"),spinner:r("spinner"),background:r("background"),customClass:r("customClass"),fullscreen:c,target:o("target")??(c?void 0:e),body:o("body")??s.modifiers.body,lock:o("lock")??s.modifiers.lock},x=L(v);x._context=$._context,e[b]={options:v,instance:x}},Q=(e,s)=>{for(const t of Object.keys(e))G(e[t])&&(e[t].value=s[t])},$={mounted(e,s){s.value&&h(e,s)},updated(e,s){const t=e[b];if(!s.value){t==null||t.instance.close(),e[b]=null;return}t?Q(t.options,_(s.value)?s.value:{text:e.getAttribute(d("text")),svg:e.getAttribute(d("svg")),svgViewBox:e.getAttribute(d("svgViewBox")),spinner:e.getAttribute(d("spinner")),background:e.getAttribute(d("background")),customClass:e.getAttribute(d("customClass"))}):h(e,s)},unmounted(e){var s;(s=e[b])==null||s.instance.close(),e[b]=null}};$._context=null;export{$ as v}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/directive-DCr8Ae3g.js diff --git a/frontend/dist/assets/dropdown-6w4BXBMV.js b/frontend/dist/assets/dropdown-6w4BXBMV.js index e609713..d9ed44c 100644 --- a/frontend/dist/assets/dropdown-6w4BXBMV.js +++ b/frontend/dist/assets/dropdown-6w4BXBMV.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/dropdown-6w4BXBMV.js import{b as p,W as o,R as e,i as a}from"./index-CD29OCdJ.js";import{u as t,r as n,b as r}from"./el-popper-DIiB8Y-M.js";const d=p({trigger:{...r.trigger,type:e([String,Array])},triggerKeys:{type:e(Array),default:()=>[o.enter,o.numpadEnter,o.space,o.down]},virtualTriggering:r.virtualTriggering,virtualRef:r.virtualRef,effect:{...t.effect,default:"light"},type:{type:e(String)},placement:{type:e(String),default:"bottom"},popperOptions:{type:e(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:e([Number,String]),default:0},maxHeight:{type:e([Number,String]),default:""},popperClass:t.popperClass,popperStyle:t.popperStyle,disabled:Boolean,role:{type:String,values:n,default:"menu"},buttonProps:{type:e(Object)},teleported:t.teleported,appendTo:t.appendTo,persistent:{type:Boolean,default:!0}}),u=p({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:a}}),s=p({onKeydown:{type:e(Function)}});export{u as a,s as b,d}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/dropdown-CtOpTBjN.js +import{b as p,W as o,R as e,i as a}from"./index-Ds9AETjS.js";import{u as t,r as n,b as r}from"./el-popper-D1tByNLb.js";const d=p({trigger:{...r.trigger,type:e([String,Array])},triggerKeys:{type:e(Array),default:()=>[o.enter,o.numpadEnter,o.space,o.down]},virtualTriggering:r.virtualTriggering,virtualRef:r.virtualRef,effect:{...t.effect,default:"light"},type:{type:e(String)},placement:{type:e(String),default:"bottom"},popperOptions:{type:e(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:e([Number,String]),default:0},maxHeight:{type:e([Number,String]),default:""},popperClass:t.popperClass,popperStyle:t.popperStyle,disabled:Boolean,role:{type:String,values:n,default:"menu"},buttonProps:{type:e(Object)},teleported:t.teleported,appendTo:t.appendTo,persistent:{type:Boolean,default:!0}}),u=p({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:a}}),s=p({onKeydown:{type:e(Function)}});export{u as a,s as b,d}; +======== +import{b as p,W as o,R as e,i as a}from"./index-CxbBjZKo.js";import{u as t,r as n,b as r}from"./el-popper-OAwpEmER.js";const d=p({trigger:{...r.trigger,type:e([String,Array])},triggerKeys:{type:e(Array),default:()=>[o.enter,o.numpadEnter,o.space,o.down]},virtualTriggering:r.virtualTriggering,virtualRef:r.virtualRef,effect:{...t.effect,default:"light"},type:{type:e(String)},placement:{type:e(String),default:"bottom"},popperOptions:{type:e(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:e([Number,String]),default:0},maxHeight:{type:e([Number,String]),default:""},popperClass:t.popperClass,popperStyle:t.popperStyle,disabled:Boolean,role:{type:String,values:n,default:"menu"},buttonProps:{type:e(Object)},teleported:t.teleported,appendTo:t.appendTo,persistent:{type:Boolean,default:!0}}),u=p({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:a}}),s=p({onKeydown:{type:e(Function)}});export{u as a,s as b,d}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/dropdown-yHGqI4WU.js diff --git a/frontend/dist/assets/dropdown-yHGqI4WU.js b/frontend/dist/assets/dropdown-yHGqI4WU.js new file mode 100644 index 0000000..83a27dc --- /dev/null +++ b/frontend/dist/assets/dropdown-yHGqI4WU.js @@ -0,0 +1 @@ +import{b as p,W as o,R as e,i as a}from"./index-CxbBjZKo.js";import{u as t,r as n,b as r}from"./el-popper-OAwpEmER.js";const d=p({trigger:{...r.trigger,type:e([String,Array])},triggerKeys:{type:e(Array),default:()=>[o.enter,o.numpadEnter,o.space,o.down]},virtualTriggering:r.virtualTriggering,virtualRef:r.virtualRef,effect:{...t.effect,default:"light"},type:{type:e(String)},placement:{type:e(String),default:"bottom"},popperOptions:{type:e(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:e([Number,String]),default:0},maxHeight:{type:e([Number,String]),default:""},popperClass:t.popperClass,popperStyle:t.popperStyle,disabled:Boolean,role:{type:String,values:n,default:"menu"},buttonProps:{type:e(Object)},teleported:t.teleported,appendTo:t.appendTo,persistent:{type:Boolean,default:!0}}),u=p({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:a}}),s=p({onKeydown:{type:e(Function)}});export{u as a,s as b,d}; diff --git a/frontend/dist/assets/el-alert-DiB50G4H.js b/frontend/dist/assets/el-alert-DiB50G4H.js index 180e98a..a716d6b 100644 --- a/frontend/dist/assets/el-alert-DiB50G4H.js +++ b/frontend/dist/assets/el-alert-DiB50G4H.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-alert-DiB50G4H.js import{b as N,bI as $,bs as S,d as D,bF as V,a as x,o as l,e as n,w as d,K as M,q as h,n as o,f as e,E as k,h as m,r as A,g as i,c,x as g,aa as v,M as F,s as P,bo as j,L as q,Z as z,y as K,j as E,l as L}from"./index-CD29OCdJ.js";import{f as O,b as Z}from"./vnode-_QM9LlTR.js";const G=["light","dark"],H=N({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:$(S),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:G,default:"light"}}),J={close:t=>t instanceof MouseEvent};var Q=D({name:"ElAlert",__name:"alert",props:H,emits:J,setup(t,{emit:w}){const{Close:B}=j,p=t,T=w,r=V(),s=x("alert"),y=K(!0),b=E(()=>S[p.type]),u=E(()=>{var f;if(p.description)return!0;const a=(f=r.default)==null?void 0:f.call(r);return a?O(a).some(I=>!Z(I)):!1}),C=a=>{y.value=!1,T("close",a)};return(a,f)=>(l(),n(z,{name:e(s).b("fade"),persisted:""},{default:d(()=>[M(h("div",{class:o([e(s).b(),e(s).m(t.type),e(s).is("center",t.center),e(s).is(t.effect)]),role:"alert"},[t.showIcon&&(a.$slots.icon||b.value)?(l(),n(e(k),{key:0,class:o([e(s).e("icon"),e(s).is("big",u.value)])},{default:d(()=>[m(a.$slots,"icon",{},()=>[(l(),n(A(b.value)))])]),_:3},8,["class"])):i("v-if",!0),h("div",{class:o(e(s).e("content"))},[t.title||a.$slots.title?(l(),c("span",{key:0,class:o([e(s).e("title"),{"with-description":u.value}])},[m(a.$slots,"title",{},()=>[g(v(t.title),1)])],2)):i("v-if",!0),u.value?(l(),c("p",{key:1,class:o(e(s).e("description"))},[m(a.$slots,"default",{},()=>[g(v(t.description),1)])],2)):i("v-if",!0),t.closable?(l(),c(F,{key:2},[t.closeText?(l(),c("div",{key:0,class:o([e(s).e("close-btn"),e(s).is("customed")]),onClick:C},v(t.closeText),3)):(l(),n(e(k),{key:1,class:o(e(s).e("close-btn")),onClick:C},{default:d(()=>[P(e(B))]),_:1},8,["class"]))],64)):i("v-if",!0)],2)],2),[[q,y.value]])]),_:3},8,["name"]))}}),R=Q;const X=L(R);export{X as E}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-alert-CoSdHkeK.js +import{b as N,bI as $,bs as S,d as D,bF as V,a as x,o as l,e as n,w as d,K as M,q as h,n as o,f as e,E as k,h as m,r as A,g as i,c,x as g,aa as v,M as F,s as P,bo as j,L as q,Z as z,y as K,j as E,l as L}from"./index-Ds9AETjS.js";import{f as O,b as Z}from"./vnode-CBiWHFw7.js";const G=["light","dark"],H=N({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:$(S),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:G,default:"light"}}),J={close:t=>t instanceof MouseEvent};var Q=D({name:"ElAlert",__name:"alert",props:H,emits:J,setup(t,{emit:w}){const{Close:B}=j,p=t,T=w,r=V(),s=x("alert"),y=K(!0),b=E(()=>S[p.type]),u=E(()=>{var f;if(p.description)return!0;const a=(f=r.default)==null?void 0:f.call(r);return a?O(a).some(I=>!Z(I)):!1}),C=a=>{y.value=!1,T("close",a)};return(a,f)=>(l(),n(z,{name:e(s).b("fade"),persisted:""},{default:d(()=>[M(h("div",{class:o([e(s).b(),e(s).m(t.type),e(s).is("center",t.center),e(s).is(t.effect)]),role:"alert"},[t.showIcon&&(a.$slots.icon||b.value)?(l(),n(e(k),{key:0,class:o([e(s).e("icon"),e(s).is("big",u.value)])},{default:d(()=>[m(a.$slots,"icon",{},()=>[(l(),n(A(b.value)))])]),_:3},8,["class"])):i("v-if",!0),h("div",{class:o(e(s).e("content"))},[t.title||a.$slots.title?(l(),c("span",{key:0,class:o([e(s).e("title"),{"with-description":u.value}])},[m(a.$slots,"title",{},()=>[g(v(t.title),1)])],2)):i("v-if",!0),u.value?(l(),c("p",{key:1,class:o(e(s).e("description"))},[m(a.$slots,"default",{},()=>[g(v(t.description),1)])],2)):i("v-if",!0),t.closable?(l(),c(F,{key:2},[t.closeText?(l(),c("div",{key:0,class:o([e(s).e("close-btn"),e(s).is("customed")]),onClick:C},v(t.closeText),3)):(l(),n(e(k),{key:1,class:o(e(s).e("close-btn")),onClick:C},{default:d(()=>[P(e(B))]),_:1},8,["class"]))],64)):i("v-if",!0)],2)],2),[[q,y.value]])]),_:3},8,["name"]))}}),R=Q;const X=L(R);export{X as E}; +======== +import{b as N,bI as $,bs as S,d as D,bF as V,a as x,o as l,e as n,w as d,K as M,q as h,n as o,f as e,E as k,h as m,r as A,g as i,c,x as g,aa as v,M as F,s as P,bo as j,L as q,Z as z,y as K,j as E,l as L}from"./index-CxbBjZKo.js";import{f as O,b as Z}from"./vnode-DIVHEdsp.js";const G=["light","dark"],H=N({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:$(S),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:G,default:"light"}}),J={close:t=>t instanceof MouseEvent};var Q=D({name:"ElAlert",__name:"alert",props:H,emits:J,setup(t,{emit:w}){const{Close:B}=j,p=t,T=w,r=V(),s=x("alert"),y=K(!0),b=E(()=>S[p.type]),u=E(()=>{var f;if(p.description)return!0;const a=(f=r.default)==null?void 0:f.call(r);return a?O(a).some(I=>!Z(I)):!1}),C=a=>{y.value=!1,T("close",a)};return(a,f)=>(l(),n(z,{name:e(s).b("fade"),persisted:""},{default:d(()=>[M(h("div",{class:o([e(s).b(),e(s).m(t.type),e(s).is("center",t.center),e(s).is(t.effect)]),role:"alert"},[t.showIcon&&(a.$slots.icon||b.value)?(l(),n(e(k),{key:0,class:o([e(s).e("icon"),e(s).is("big",u.value)])},{default:d(()=>[m(a.$slots,"icon",{},()=>[(l(),n(A(b.value)))])]),_:3},8,["class"])):i("v-if",!0),h("div",{class:o(e(s).e("content"))},[t.title||a.$slots.title?(l(),c("span",{key:0,class:o([e(s).e("title"),{"with-description":u.value}])},[m(a.$slots,"title",{},()=>[g(v(t.title),1)])],2)):i("v-if",!0),u.value?(l(),c("p",{key:1,class:o(e(s).e("description"))},[m(a.$slots,"default",{},()=>[g(v(t.description),1)])],2)):i("v-if",!0),t.closable?(l(),c(F,{key:2},[t.closeText?(l(),c("div",{key:0,class:o([e(s).e("close-btn"),e(s).is("customed")]),onClick:C},v(t.closeText),3)):(l(),n(e(k),{key:1,class:o(e(s).e("close-btn")),onClick:C},{default:d(()=>[P(e(B))]),_:1},8,["class"]))],64)):i("v-if",!0)],2)],2),[[q,y.value]])]),_:3},8,["name"]))}}),R=Q;const X=L(R);export{X as E}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-alert-Ty1qfW58.js diff --git a/frontend/dist/assets/el-alert-Ty1qfW58.js b/frontend/dist/assets/el-alert-Ty1qfW58.js new file mode 100644 index 0000000..8695bce --- /dev/null +++ b/frontend/dist/assets/el-alert-Ty1qfW58.js @@ -0,0 +1 @@ +import{b as N,bI as $,bs as S,d as D,bF as V,a as x,o as l,e as n,w as d,K as M,q as h,n as o,f as e,E as k,h as m,r as A,g as i,c,x as g,aa as v,M as F,s as P,bo as j,L as q,Z as z,y as K,j as E,l as L}from"./index-CxbBjZKo.js";import{f as O,b as Z}from"./vnode-DIVHEdsp.js";const G=["light","dark"],H=N({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:$(S),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:G,default:"light"}}),J={close:t=>t instanceof MouseEvent};var Q=D({name:"ElAlert",__name:"alert",props:H,emits:J,setup(t,{emit:w}){const{Close:B}=j,p=t,T=w,r=V(),s=x("alert"),y=K(!0),b=E(()=>S[p.type]),u=E(()=>{var f;if(p.description)return!0;const a=(f=r.default)==null?void 0:f.call(r);return a?O(a).some(I=>!Z(I)):!1}),C=a=>{y.value=!1,T("close",a)};return(a,f)=>(l(),n(z,{name:e(s).b("fade"),persisted:""},{default:d(()=>[M(h("div",{class:o([e(s).b(),e(s).m(t.type),e(s).is("center",t.center),e(s).is(t.effect)]),role:"alert"},[t.showIcon&&(a.$slots.icon||b.value)?(l(),n(e(k),{key:0,class:o([e(s).e("icon"),e(s).is("big",u.value)])},{default:d(()=>[m(a.$slots,"icon",{},()=>[(l(),n(A(b.value)))])]),_:3},8,["class"])):i("v-if",!0),h("div",{class:o(e(s).e("content"))},[t.title||a.$slots.title?(l(),c("span",{key:0,class:o([e(s).e("title"),{"with-description":u.value}])},[m(a.$slots,"title",{},()=>[g(v(t.title),1)])],2)):i("v-if",!0),u.value?(l(),c("p",{key:1,class:o(e(s).e("description"))},[m(a.$slots,"default",{},()=>[g(v(t.description),1)])],2)):i("v-if",!0),t.closable?(l(),c(F,{key:2},[t.closeText?(l(),c("div",{key:0,class:o([e(s).e("close-btn"),e(s).is("customed")]),onClick:C},v(t.closeText),3)):(l(),n(e(k),{key:1,class:o(e(s).e("close-btn")),onClick:C},{default:d(()=>[P(e(B))]),_:1},8,["class"]))],64)):i("v-if",!0)],2)],2),[[q,y.value]])]),_:3},8,["name"]))}}),R=Q;const X=L(R);export{X as E}; diff --git a/frontend/dist/assets/el-avatar-C4z1rEZv.js b/frontend/dist/assets/el-avatar-C4z1rEZv.js new file mode 100644 index 0000000..511f17d --- /dev/null +++ b/frontend/dist/assets/el-avatar-C4z1rEZv.js @@ -0,0 +1 @@ +import{b as j,i as w,aj as z,R as c,ak as m,d as A,B as V,a as E,D as I,o as f,c as y,al as S,e as h,w as _,r as q,f as D,E as F,h as G,n as K,y as L,j as p,J as R,am as J,s as d,an as O,ao as U,x as $,F as H,z as M,a9 as g,l as Q,ab as W}from"./index-CxbBjZKo.js";import{f as X}from"./vnode-DIVHEdsp.js";import{u as C,a as Y,E as Z}from"./el-popper-OAwpEmER.js";const aa=j({size:{type:[Number,String],values:z,validator:a=>m(a)},shape:{type:String,values:["circle","square"]},icon:{type:w},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:c(String),default:"cover"}}),ea={error:a=>a instanceof Event},b=Symbol("avatarGroupContextKey"),ta={size:{type:c([Number,String]),values:z,validator:a=>m(a)},shape:{type:c(String),values:["circle","square"]},collapseAvatars:Boolean,collapseAvatarsTooltip:Boolean,maxCollapseAvatars:{type:Number,default:1},effect:{type:c(String),default:"light"},placement:{type:c(String),values:Y,default:"top"},popperClass:C.popperClass,popperStyle:C.popperStyle,collapseClass:String,collapseStyle:{type:c([String,Array,Object,Boolean]),default:void 0}},sa=["src","alt","srcset"];var la=A({name:"ElAvatar",__name:"avatar",props:aa,emits:ea,setup(a,{emit:n}){const t=a,r=n,e=V(b,void 0),l=E("avatar"),o=L(!1),s=p(()=>t.size??(e==null?void 0:e.size)),v=p(()=>t.shape??(e==null?void 0:e.shape)??"circle"),B=p(()=>{const{icon:i}=t,u=[l.b()];return R(s.value)&&u.push(l.m(s.value)),i&&u.push(l.m("icon")),v.value&&u.push(l.m(v.value)),u}),x=p(()=>m(s.value)?l.cssVarBlock({size:J(s.value)}):void 0),T=p(()=>({objectFit:t.fit}));I(()=>[t.src,t.srcSet],()=>o.value=!1);function P(i){o.value=!0,r("error",i)}return(i,u)=>(f(),y("span",{class:K(B.value),style:S(x.value)},[(a.src||a.srcSet)&&!o.value?(f(),y("img",{key:0,src:a.src,alt:a.alt,srcset:a.srcSet,style:S(T.value),onError:P},null,44,sa)):a.icon?(f(),h(D(F),{key:1},{default:_(()=>[(f(),h(q(a.icon)))]),_:1})):G(i.$slots,"default",{key:2})],6))}}),k=la,N=A({name:"ElAvatarGroup",props:ta,setup(a,{slots:n}){const t=E("avatar-group");return H(b,M({size:g(a,"size"),shape:g(a,"shape")})),()=>{var l;const r=X(((l=n.default)==null?void 0:l.call(n))??[]);let e=r;if(a.collapseAvatars&&r.length>a.maxCollapseAvatars){e=r.slice(0,a.maxCollapseAvatars);const o=r.slice(a.maxCollapseAvatars);e.push(d(Z,{popperClass:a.popperClass,popperStyle:a.popperStyle,placement:a.placement,effect:a.effect,disabled:!a.collapseAvatarsTooltip},{default:()=>d(k,{size:a.size,shape:a.shape,class:a.collapseClass,style:a.collapseStyle},{default:()=>[$("+ "),o.length]}),content:()=>d("div",{class:t.e("collapse-avatars")},[o.map((s,v)=>O(s)?U(s,{key:s.key??v}):s)])}))}return d("div",{class:t.b()},[e])}}});const na=Q(k,{AvatarGroup:N});W(N);export{na as E}; diff --git a/frontend/dist/assets/el-avatar-LJbp0pVv.js b/frontend/dist/assets/el-avatar-LJbp0pVv.js index ca5d524..6789aeb 100644 --- a/frontend/dist/assets/el-avatar-LJbp0pVv.js +++ b/frontend/dist/assets/el-avatar-LJbp0pVv.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-avatar-LJbp0pVv.js import{b as j,i as w,aj as z,R as c,ak as m,d as A,B as V,a as E,D as I,o as f,c as y,al as S,e as h,w as _,r as q,f as D,E as F,h as G,n as K,y as L,j as p,J as R,am as J,s as d,an as O,ao as U,x as $,F as H,z as M,a9 as g,l as Q,ab as W}from"./index-CD29OCdJ.js";import{f as X}from"./vnode-_QM9LlTR.js";import{u as C,a as Y,E as Z}from"./el-popper-DIiB8Y-M.js";const aa=j({size:{type:[Number,String],values:z,validator:a=>m(a)},shape:{type:String,values:["circle","square"]},icon:{type:w},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:c(String),default:"cover"}}),ea={error:a=>a instanceof Event},b=Symbol("avatarGroupContextKey"),ta={size:{type:c([Number,String]),values:z,validator:a=>m(a)},shape:{type:c(String),values:["circle","square"]},collapseAvatars:Boolean,collapseAvatarsTooltip:Boolean,maxCollapseAvatars:{type:Number,default:1},effect:{type:c(String),default:"light"},placement:{type:c(String),values:Y,default:"top"},popperClass:C.popperClass,popperStyle:C.popperStyle,collapseClass:String,collapseStyle:{type:c([String,Array,Object,Boolean]),default:void 0}},sa=["src","alt","srcset"];var la=A({name:"ElAvatar",__name:"avatar",props:aa,emits:ea,setup(a,{emit:n}){const t=a,r=n,e=V(b,void 0),l=E("avatar"),o=L(!1),s=p(()=>t.size??(e==null?void 0:e.size)),v=p(()=>t.shape??(e==null?void 0:e.shape)??"circle"),B=p(()=>{const{icon:i}=t,u=[l.b()];return R(s.value)&&u.push(l.m(s.value)),i&&u.push(l.m("icon")),v.value&&u.push(l.m(v.value)),u}),x=p(()=>m(s.value)?l.cssVarBlock({size:J(s.value)}):void 0),T=p(()=>({objectFit:t.fit}));I(()=>[t.src,t.srcSet],()=>o.value=!1);function P(i){o.value=!0,r("error",i)}return(i,u)=>(f(),y("span",{class:K(B.value),style:S(x.value)},[(a.src||a.srcSet)&&!o.value?(f(),y("img",{key:0,src:a.src,alt:a.alt,srcset:a.srcSet,style:S(T.value),onError:P},null,44,sa)):a.icon?(f(),h(D(F),{key:1},{default:_(()=>[(f(),h(q(a.icon)))]),_:1})):G(i.$slots,"default",{key:2})],6))}}),k=la,N=A({name:"ElAvatarGroup",props:ta,setup(a,{slots:n}){const t=E("avatar-group");return H(b,M({size:g(a,"size"),shape:g(a,"shape")})),()=>{var l;const r=X(((l=n.default)==null?void 0:l.call(n))??[]);let e=r;if(a.collapseAvatars&&r.length>a.maxCollapseAvatars){e=r.slice(0,a.maxCollapseAvatars);const o=r.slice(a.maxCollapseAvatars);e.push(d(Z,{popperClass:a.popperClass,popperStyle:a.popperStyle,placement:a.placement,effect:a.effect,disabled:!a.collapseAvatarsTooltip},{default:()=>d(k,{size:a.size,shape:a.shape,class:a.collapseClass,style:a.collapseStyle},{default:()=>[$("+ "),o.length]}),content:()=>d("div",{class:t.e("collapse-avatars")},[o.map((s,v)=>O(s)?U(s,{key:s.key??v}):s)])}))}return d("div",{class:t.b()},[e])}}});const na=Q(k,{AvatarGroup:N});W(N);export{na as E}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-avatar-CNBfYcqk.js +import{b as j,i as w,aj as z,R as c,ak as m,d as A,B as V,a as E,D as I,o as f,c as y,al as S,e as h,w as _,r as q,f as D,E as F,h as G,n as K,y as L,j as p,J as R,am as J,s as d,an as O,ao as U,x as $,F as H,z as M,a9 as g,l as Q,ab as W}from"./index-Ds9AETjS.js";import{f as X}from"./vnode-CBiWHFw7.js";import{u as C,a as Y,E as Z}from"./el-popper-D1tByNLb.js";const aa=j({size:{type:[Number,String],values:z,validator:a=>m(a)},shape:{type:String,values:["circle","square"]},icon:{type:w},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:c(String),default:"cover"}}),ea={error:a=>a instanceof Event},b=Symbol("avatarGroupContextKey"),ta={size:{type:c([Number,String]),values:z,validator:a=>m(a)},shape:{type:c(String),values:["circle","square"]},collapseAvatars:Boolean,collapseAvatarsTooltip:Boolean,maxCollapseAvatars:{type:Number,default:1},effect:{type:c(String),default:"light"},placement:{type:c(String),values:Y,default:"top"},popperClass:C.popperClass,popperStyle:C.popperStyle,collapseClass:String,collapseStyle:{type:c([String,Array,Object,Boolean]),default:void 0}},sa=["src","alt","srcset"];var la=A({name:"ElAvatar",__name:"avatar",props:aa,emits:ea,setup(a,{emit:n}){const t=a,r=n,e=V(b,void 0),l=E("avatar"),o=L(!1),s=p(()=>t.size??(e==null?void 0:e.size)),v=p(()=>t.shape??(e==null?void 0:e.shape)??"circle"),B=p(()=>{const{icon:i}=t,u=[l.b()];return R(s.value)&&u.push(l.m(s.value)),i&&u.push(l.m("icon")),v.value&&u.push(l.m(v.value)),u}),x=p(()=>m(s.value)?l.cssVarBlock({size:J(s.value)}):void 0),T=p(()=>({objectFit:t.fit}));I(()=>[t.src,t.srcSet],()=>o.value=!1);function P(i){o.value=!0,r("error",i)}return(i,u)=>(f(),y("span",{class:K(B.value),style:S(x.value)},[(a.src||a.srcSet)&&!o.value?(f(),y("img",{key:0,src:a.src,alt:a.alt,srcset:a.srcSet,style:S(T.value),onError:P},null,44,sa)):a.icon?(f(),h(D(F),{key:1},{default:_(()=>[(f(),h(q(a.icon)))]),_:1})):G(i.$slots,"default",{key:2})],6))}}),k=la,N=A({name:"ElAvatarGroup",props:ta,setup(a,{slots:n}){const t=E("avatar-group");return H(b,M({size:g(a,"size"),shape:g(a,"shape")})),()=>{var l;const r=X(((l=n.default)==null?void 0:l.call(n))??[]);let e=r;if(a.collapseAvatars&&r.length>a.maxCollapseAvatars){e=r.slice(0,a.maxCollapseAvatars);const o=r.slice(a.maxCollapseAvatars);e.push(d(Z,{popperClass:a.popperClass,popperStyle:a.popperStyle,placement:a.placement,effect:a.effect,disabled:!a.collapseAvatarsTooltip},{default:()=>d(k,{size:a.size,shape:a.shape,class:a.collapseClass,style:a.collapseStyle},{default:()=>[$("+ "),o.length]}),content:()=>d("div",{class:t.e("collapse-avatars")},[o.map((s,v)=>O(s)?U(s,{key:s.key??v}):s)])}))}return d("div",{class:t.b()},[e])}}});const na=Q(k,{AvatarGroup:N});W(N);export{na as E}; +======== +import{b as j,i as w,aj as z,R as c,ak as m,d as A,B as V,a as E,D as I,o as f,c as y,al as S,e as h,w as _,r as q,f as D,E as F,h as G,n as K,y as L,j as p,J as R,am as J,s as d,an as O,ao as U,x as $,F as H,z as M,a9 as g,l as Q,ab as W}from"./index-CxbBjZKo.js";import{f as X}from"./vnode-DIVHEdsp.js";import{u as C,a as Y,E as Z}from"./el-popper-OAwpEmER.js";const aa=j({size:{type:[Number,String],values:z,validator:a=>m(a)},shape:{type:String,values:["circle","square"]},icon:{type:w},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:c(String),default:"cover"}}),ea={error:a=>a instanceof Event},b=Symbol("avatarGroupContextKey"),ta={size:{type:c([Number,String]),values:z,validator:a=>m(a)},shape:{type:c(String),values:["circle","square"]},collapseAvatars:Boolean,collapseAvatarsTooltip:Boolean,maxCollapseAvatars:{type:Number,default:1},effect:{type:c(String),default:"light"},placement:{type:c(String),values:Y,default:"top"},popperClass:C.popperClass,popperStyle:C.popperStyle,collapseClass:String,collapseStyle:{type:c([String,Array,Object,Boolean]),default:void 0}},sa=["src","alt","srcset"];var la=A({name:"ElAvatar",__name:"avatar",props:aa,emits:ea,setup(a,{emit:n}){const t=a,r=n,e=V(b,void 0),l=E("avatar"),o=L(!1),s=p(()=>t.size??(e==null?void 0:e.size)),v=p(()=>t.shape??(e==null?void 0:e.shape)??"circle"),B=p(()=>{const{icon:i}=t,u=[l.b()];return R(s.value)&&u.push(l.m(s.value)),i&&u.push(l.m("icon")),v.value&&u.push(l.m(v.value)),u}),x=p(()=>m(s.value)?l.cssVarBlock({size:J(s.value)}):void 0),T=p(()=>({objectFit:t.fit}));I(()=>[t.src,t.srcSet],()=>o.value=!1);function P(i){o.value=!0,r("error",i)}return(i,u)=>(f(),y("span",{class:K(B.value),style:S(x.value)},[(a.src||a.srcSet)&&!o.value?(f(),y("img",{key:0,src:a.src,alt:a.alt,srcset:a.srcSet,style:S(T.value),onError:P},null,44,sa)):a.icon?(f(),h(D(F),{key:1},{default:_(()=>[(f(),h(q(a.icon)))]),_:1})):G(i.$slots,"default",{key:2})],6))}}),k=la,N=A({name:"ElAvatarGroup",props:ta,setup(a,{slots:n}){const t=E("avatar-group");return H(b,M({size:g(a,"size"),shape:g(a,"shape")})),()=>{var l;const r=X(((l=n.default)==null?void 0:l.call(n))??[]);let e=r;if(a.collapseAvatars&&r.length>a.maxCollapseAvatars){e=r.slice(0,a.maxCollapseAvatars);const o=r.slice(a.maxCollapseAvatars);e.push(d(Z,{popperClass:a.popperClass,popperStyle:a.popperStyle,placement:a.placement,effect:a.effect,disabled:!a.collapseAvatarsTooltip},{default:()=>d(k,{size:a.size,shape:a.shape,class:a.collapseClass,style:a.collapseStyle},{default:()=>[$("+ "),o.length]}),content:()=>d("div",{class:t.e("collapse-avatars")},[o.map((s,v)=>O(s)?U(s,{key:s.key??v}):s)])}))}return d("div",{class:t.b()},[e])}}});const na=Q(k,{AvatarGroup:N});W(N);export{na as E}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-avatar-C4z1rEZv.js diff --git a/frontend/dist/assets/el-card-BsCFVTSD.js b/frontend/dist/assets/el-card-BsCFVTSD.js new file mode 100644 index 0000000..a5d6dbd --- /dev/null +++ b/frontend/dist/assets/el-card-BsCFVTSD.js @@ -0,0 +1 @@ +import{b as y,R as h,d as v,u as g,a as C,o as r,c as l,n as o,f as a,h as d,x as i,aa as f,g as c,q as S,al as b,l as m}from"./index-CxbBjZKo.js";const w=y({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:h([String,Object,Array,Boolean]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}});var $=v({name:"ElCard",__name:"card",props:w,setup(e){const u=g("card"),s=C("card");return(t,p)=>{var n;return r(),l("div",{class:o([a(s).b(),a(s).is(`${e.shadow||((n=a(u))==null?void 0:n.shadow)||"always"}-shadow`)])},[t.$slots.header||e.header?(r(),l("div",{key:0,class:o([a(s).e("header"),e.headerClass])},[d(t.$slots,"header",{},()=>[i(f(e.header),1)])],2)):c("v-if",!0),S("div",{class:o([a(s).e("body"),e.bodyClass]),style:b(e.bodyStyle)},[d(t.$slots,"default")],6),t.$slots.footer||e.footer?(r(),l("div",{key:1,class:o([a(s).e("footer"),e.footerClass])},[d(t.$slots,"footer",{},()=>[i(f(e.footer),1)])],2)):c("v-if",!0)],2)}}}),k=$;const E=m(k);export{E}; diff --git a/frontend/dist/assets/el-card-BvbOkvag.js b/frontend/dist/assets/el-card-BvbOkvag.js index 9364688..0f66f22 100644 --- a/frontend/dist/assets/el-card-BvbOkvag.js +++ b/frontend/dist/assets/el-card-BvbOkvag.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-card-BvbOkvag.js import{b as y,R as h,d as v,u as g,a as C,o as r,c as l,n as o,f as a,h as d,x as i,aa as f,g as c,q as S,al as b,l as m}from"./index-CD29OCdJ.js";const w=y({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:h([String,Object,Array,Boolean]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}});var $=v({name:"ElCard",__name:"card",props:w,setup(e){const u=g("card"),s=C("card");return(t,p)=>{var n;return r(),l("div",{class:o([a(s).b(),a(s).is(`${e.shadow||((n=a(u))==null?void 0:n.shadow)||"always"}-shadow`)])},[t.$slots.header||e.header?(r(),l("div",{key:0,class:o([a(s).e("header"),e.headerClass])},[d(t.$slots,"header",{},()=>[i(f(e.header),1)])],2)):c("v-if",!0),S("div",{class:o([a(s).e("body"),e.bodyClass]),style:b(e.bodyStyle)},[d(t.$slots,"default")],6),t.$slots.footer||e.footer?(r(),l("div",{key:1,class:o([a(s).e("footer"),e.footerClass])},[d(t.$slots,"footer",{},()=>[i(f(e.footer),1)])],2)):c("v-if",!0)],2)}}}),k=$;const E=m(k);export{E}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-card-D86TXgMv.js +import{b as y,R as h,d as v,u as g,a as C,o as r,c as l,n as o,f as a,h as d,x as i,aa as f,g as c,q as S,al as b,l as m}from"./index-Ds9AETjS.js";const w=y({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:h([String,Object,Array,Boolean]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}});var $=v({name:"ElCard",__name:"card",props:w,setup(e){const u=g("card"),s=C("card");return(t,p)=>{var n;return r(),l("div",{class:o([a(s).b(),a(s).is(`${e.shadow||((n=a(u))==null?void 0:n.shadow)||"always"}-shadow`)])},[t.$slots.header||e.header?(r(),l("div",{key:0,class:o([a(s).e("header"),e.headerClass])},[d(t.$slots,"header",{},()=>[i(f(e.header),1)])],2)):c("v-if",!0),S("div",{class:o([a(s).e("body"),e.bodyClass]),style:b(e.bodyStyle)},[d(t.$slots,"default")],6),t.$slots.footer||e.footer?(r(),l("div",{key:1,class:o([a(s).e("footer"),e.footerClass])},[d(t.$slots,"footer",{},()=>[i(f(e.footer),1)])],2)):c("v-if",!0)],2)}}}),k=$;const E=m(k);export{E}; +======== +import{b as y,R as h,d as v,u as g,a as C,o as r,c as l,n as o,f as a,h as d,x as i,aa as f,g as c,q as S,al as b,l as m}from"./index-CxbBjZKo.js";const w=y({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:h([String,Object,Array,Boolean]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}});var $=v({name:"ElCard",__name:"card",props:w,setup(e){const u=g("card"),s=C("card");return(t,p)=>{var n;return r(),l("div",{class:o([a(s).b(),a(s).is(`${e.shadow||((n=a(u))==null?void 0:n.shadow)||"always"}-shadow`)])},[t.$slots.header||e.header?(r(),l("div",{key:0,class:o([a(s).e("header"),e.headerClass])},[d(t.$slots,"header",{},()=>[i(f(e.header),1)])],2)):c("v-if",!0),S("div",{class:o([a(s).e("body"),e.bodyClass]),style:b(e.bodyStyle)},[d(t.$slots,"default")],6),t.$slots.footer||e.footer?(r(),l("div",{key:1,class:o([a(s).e("footer"),e.footerClass])},[d(t.$slots,"footer",{},()=>[i(f(e.footer),1)])],2)):c("v-if",!0)],2)}}}),k=$;const E=m(k);export{E}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-card-BsCFVTSD.js diff --git a/frontend/dist/assets/el-checkbox-C_TzqU9u.js b/frontend/dist/assets/el-checkbox-C_TzqU9u.js new file mode 100644 index 0000000..587fd0b --- /dev/null +++ b/frontend/dist/assets/el-checkbox-C_TzqU9u.js @@ -0,0 +1 @@ +import{aS as X,J,ak as Y,k as P,a6 as B,b as ye,R as F,B as V,j as b,U as w,N as Z,D as _,P as G,aU as ee,y as z,cb as O,a3 as pe,cc as Q,b6 as ae,d as M,bF as te,a as R,o as y,e as $,w as le,q as N,n as p,K as ne,Y as T,f as c,aB as se,aL as ue,cd as oe,c as E,h as j,M as ie,x as re,aa as de,g as U,r as A,al as Ve,F as Se,aV as Le,ad as Be,ab as ce,l as Ee}from"./index-CxbBjZKo.js";import{U as I,C as K}from"./raf-Bjl8yy5U.js";import{u as be,p as Ne}from"./index-DxP0p4ch.js";import{g as Ie,c as ve,b as q,e as W,d as me,u as D}from"./index-D23K2h6y.js";import{o as Fe}from"./omit-CbHF-OEy.js";const fe={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:{type:Boolean,default:void 0},checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:X,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},ariaLabel:String,...be(["ariaControls"])},he={[I]:e=>J(e)||Y(e)||P(e),change:e=>J(e)||Y(e)||P(e)},S=Symbol("checkboxGroupContextKey"),De=ye({modelValue:{type:F(Array),default:()=>[]},disabled:{type:Boolean,default:void 0},min:Number,max:Number,size:X,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:F(Array)},props:{type:F(Object),default:()=>ge},type:{type:String,values:["checkbox","button"],default:"checkbox"},...be(["ariaLabel"])}),Pe={[I]:e=>B(e),change:e=>B(e)},ge={label:"label",value:"value",disabled:"disabled"},we=({model:e,isChecked:t})=>{const s=V(S,void 0),u=V(Ie,void 0),l=b(()=>{var n,v;const r=(n=s==null?void 0:s.max)==null?void 0:n.value,i=(v=s==null?void 0:s.min)==null?void 0:v.value;return!w(r)&&e.value.length>=r&&!t.value||!w(i)&&e.value.length<=i&&t.value});return{isDisabled:ve(b(()=>{var r;return s===void 0?(u==null?void 0:u.disabled)??l.value:((r=s.disabled)==null?void 0:r.value)||l.value})),isLimitDisabled:l}},ze=(e,{model:t,isLimitExceeded:s,hasOwnLabel:u,isDisabled:l,isLabeledByFormItem:r})=>{const i=V(S,void 0),{formItem:n}=q(),{emit:v}=Z();function d(a){return[!0,e.trueValue,e.trueLabel].includes(a)?e.trueValue??e.trueLabel??!0:e.falseValue??e.falseLabel??!1}function f(a,o){v(K,d(a),o)}function m(a){if(s.value)return;const o=a.target;v(K,d(o.checked),a)}async function k(a){s.value||!u.value&&!l.value&&r.value&&(a.composedPath().some(o=>o.tagName==="LABEL")||(t.value=d([!1,e.falseValue,e.falseLabel].includes(t.value)),await G(),f(t.value,a)))}const x=b(()=>(i==null?void 0:i.validateEvent)||e.validateEvent);return _(()=>e.modelValue,()=>{x.value&&(n==null||n.validate("change").catch(ee))}),{handleChange:m,onClickRoot:k}},Oe=e=>{const t=z(!1),{emit:s,vnode:u}=Z(),l=V(S,void 0),r=b(()=>w(l)===!1),i=z(!1),n=b(()=>{const d=u.props??{};return"modelValue"in d||"model-value"in d}),v=b({get(){var d;return r.value?(d=l==null?void 0:l.modelValue)==null?void 0:d.value:n.value?e.modelValue:t.value},set(d){var f,m;r.value&&B(d)?(i.value=((f=l==null?void 0:l.max)==null?void 0:f.value)!==void 0&&d.length>(l==null?void 0:l.max.value)&&d.length>v.value.length,i.value===!1&&((m=l==null?void 0:l.changeEvent)==null||m.call(l,d))):(s(I,d),t.value=d)}});return{model:v,isGroup:r,isLimitExceeded:i}},$e=(e,t,{model:s})=>{const u=V(S,void 0),l=z(!1),r=b(()=>O(e.value)?e.label:e.value),i=b(()=>{const n=s.value;return P(n)?n:B(n)?pe(r.value)?n.map(Q).some(v=>ae(v,r.value)):n.map(Q).includes(r.value):n!=null?n===e.trueValue||n===e.trueLabel:!!n});return{checkboxButtonSize:W(b(()=>{var n;return(n=u==null?void 0:u.size)==null?void 0:n.value}),{prop:!0}),isChecked:i,isFocused:l,checkboxSize:W(b(()=>{var n;return(n=u==null?void 0:u.size)==null?void 0:n.value})),hasOwnLabel:b(()=>!!t.default||!O(r.value)),actualValue:r}},ke=(e,t)=>{const{formItem:s}=q(),{model:u,isGroup:l,isLimitExceeded:r}=Oe(e),{isFocused:i,isChecked:n,checkboxButtonSize:v,checkboxSize:d,hasOwnLabel:f,actualValue:m}=$e(e,t,{model:u}),{isDisabled:k}=we({model:u,isChecked:n}),{inputId:x,isLabeledByFormItem:a}=me(e,{formItemContext:s,disableIdGeneration:f,disableIdManagement:l}),{handleChange:o,onClickRoot:h}=ze(e,{model:u,isLimitExceeded:r,hasOwnLabel:f,isDisabled:k,isLabeledByFormItem:a});return(()=>{function g(){B(u.value)&&!u.value.includes(m.value)?u.value.push(m.value):u.value=e.trueValue??e.trueLabel??!0}e.checked&&g()})(),D({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},b(()=>l.value&&O(e.value))),D({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},b(()=>!!e.trueLabel)),D({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},b(()=>!!e.falseLabel)),{inputId:x,isLabeledByFormItem:a,isChecked:n,isDisabled:k,isFocused:i,checkboxButtonSize:v,checkboxSize:d,hasOwnLabel:f,model:u,actualValue:m,handleChange:o,onClickRoot:h}},Ue=["id","indeterminate","name","tabindex","disabled"];var Ae=M({name:"ElCheckbox",__name:"checkbox",props:fe,emits:he,setup(e){const t=e,{inputId:s,isLabeledByFormItem:u,isChecked:l,isDisabled:r,isFocused:i,checkboxSize:n,hasOwnLabel:v,model:d,actualValue:f,handleChange:m,onClickRoot:k}=ke(t,te()),x=b(()=>t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":t.trueValue??t.trueLabel??!0,"false-value":t.falseValue??t.falseLabel??!1}:{value:f.value}),a=R("checkbox"),o=b(()=>[a.b(),a.m(n.value),a.is("disabled",r.value),a.is("bordered",t.border),a.is("checked",l.value)]),h=b(()=>[a.e("input"),a.is("disabled",r.value),a.is("checked",l.value),a.is("indeterminate",t.indeterminate),a.is("focus",i.value)]);return(C,g)=>(y(),$(A(!c(v)&&c(u)?"span":"label"),{for:!c(v)&&c(u)?null:c(s),class:p(o.value),"aria-controls":e.indeterminate?e.ariaControls:null,"aria-checked":e.indeterminate?"mixed":void 0,"aria-label":e.ariaLabel,onClick:c(k)},{default:le(()=>[N("span",{class:p(h.value)},[ne(N("input",T({id:c(s),"onUpdate:modelValue":g[0]||(g[0]=L=>se(d)?d.value=L:null),class:c(a).e("original"),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:c(r)},x.value,{onChange:g[1]||(g[1]=(...L)=>c(m)&&c(m)(...L)),onFocus:g[2]||(g[2]=L=>i.value=!0),onBlur:g[3]||(g[3]=L=>i.value=!1),onClick:g[4]||(g[4]=ue(()=>{},["stop"]))}),null,16,Ue),[[oe,c(d)]]),N("span",{class:p(c(a).e("inner"))},null,2)],2),c(v)?(y(),E("span",{key:0,class:p(c(a).e("label"))},[j(C.$slots,"default"),C.$slots.default?U("v-if",!0):(y(),E(ie,{key:0},[re(de(e.label),1)],64))],2)):U("v-if",!0)]),_:3},8,["for","class","aria-controls","aria-checked","aria-label","onClick"]))}}),xe=Ae;const Ke=["name","tabindex","disabled"];var Me=M({name:"ElCheckboxButton",__name:"checkbox-button",props:fe,emits:he,setup(e){const t=e,{isFocused:s,isChecked:u,isDisabled:l,checkboxButtonSize:r,model:i,actualValue:n,handleChange:v}=ke(t,te()),d=b(()=>t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":t.trueValue??t.trueLabel??!0,"false-value":t.falseValue??t.falseLabel??!1}:{value:n.value}),f=V(S,void 0),m=R("checkbox"),k=b(()=>{var o,h;const a=((o=f==null?void 0:f.fill)==null?void 0:o.value)??"";return{backgroundColor:a,borderColor:a,color:((h=f==null?void 0:f.textColor)==null?void 0:h.value)??"",boxShadow:a?`-1px 0 0 0 ${a}`:void 0}}),x=b(()=>[m.b("button"),m.bm("button",r.value),m.is("disabled",l.value),m.is("checked",u.value),m.is("focus",s.value)]);return(a,o)=>(y(),E("label",{class:p(x.value)},[ne(N("input",T({"onUpdate:modelValue":o[0]||(o[0]=h=>se(i)?i.value=h:null),class:c(m).be("button","original"),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:c(l)},d.value,{onChange:o[1]||(o[1]=(...h)=>c(v)&&c(v)(...h)),onFocus:o[2]||(o[2]=h=>s.value=!0),onBlur:o[3]||(o[3]=h=>s.value=!1),onClick:o[4]||(o[4]=ue(()=>{},["stop"]))}),null,16,Ke),[[oe,c(i)]]),a.$slots.default||e.label?(y(),E("span",{key:0,class:p(c(m).be("button","inner")),style:Ve(c(u)?k.value:void 0)},[j(a.$slots,"default",{},()=>[re(de(e.label),1)])],6)):U("v-if",!0)],2))}}),H=Me,Re=M({name:"ElCheckboxGroup",__name:"checkbox-group",props:De,emits:Pe,setup(e,{emit:t}){const s=e,u=t,l=R("checkbox"),r=ve(),{formItem:i}=q(),{inputId:n,isLabeledByFormItem:v}=me(s,{formItemContext:i}),d=async a=>{u(I,a),await G(),u(K,a)},f=b({get(){return s.modelValue},set(a){d(a)}}),m=b(()=>({...ge,...s.props})),k=a=>{const{label:o,value:h,disabled:C}=m.value,g={label:a[o],value:a[h],disabled:a[C]};return{...Fe(a,[o,h,C]),...g}},x=b(()=>s.type==="button"?H:xe);return Se(S,{...Ne(Le(s),["size","min","max","validateEvent","fill","textColor"]),disabled:r,modelValue:f,changeEvent:d}),_(()=>s.modelValue,(a,o)=>{s.validateEvent&&!ae(a,o)&&(i==null||i.validate("change").catch(ee))}),(a,o)=>{var h;return y(),$(A(e.tag),{id:c(n),class:p(c(l).b("group")),role:"group","aria-label":c(v)?void 0:e.ariaLabel||"checkbox-group","aria-labelledby":c(v)?(h=c(i))==null?void 0:h.labelId:void 0},{default:le(()=>[j(a.$slots,"default",{},()=>[(y(!0),E(ie,null,Be(e.options,(C,g)=>(y(),$(A(x.value),T({key:g},{ref_for:!0},k(C)),null,16))),128))])]),_:3},8,["id","class","aria-label","aria-labelledby"])}}}),Ce=Re;const Ye=Ee(xe,{CheckboxButton:H,CheckboxGroup:Ce});ce(H);const Qe=ce(Ce);export{Ye as E,Qe as a}; diff --git a/frontend/dist/assets/el-checkbox-Pnt9POcY.js b/frontend/dist/assets/el-checkbox-Pnt9POcY.js index 0213c39..5dd70ae 100644 --- a/frontend/dist/assets/el-checkbox-Pnt9POcY.js +++ b/frontend/dist/assets/el-checkbox-Pnt9POcY.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-checkbox-Pnt9POcY.js import{aR as X,J,ak as Y,k as P,a6 as B,b as ye,R as F,B as V,j as b,U as w,N as Z,D as _,P as G,aU as ee,y as z,cb as O,a3 as pe,cc as Q,b6 as ae,d as K,bF as te,a as M,o as y,e as $,w as le,q as N,n as p,K as ne,Y as T,f as c,aB as se,aL as ue,cd as oe,c as E,h as j,M as ie,x as re,aa as de,g as U,r as A,al as Ve,F as Se,aV as Le,ad as Be,ab as ce,l as Ee}from"./index-CD29OCdJ.js";import{U as I,C as R}from"./raf-DGtHIxe2.js";import{u as be,p as Ne}from"./index-DpY84JwG.js";import{g as Ie,c as ve,b as q,e as W,d as me,u as D}from"./index-6OTFNiIi.js";import{o as Fe}from"./omit-9H73Nvwk.js";const fe={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:{type:Boolean,default:void 0},checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:X,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},ariaLabel:String,...be(["ariaControls"])},he={[I]:e=>J(e)||Y(e)||P(e),change:e=>J(e)||Y(e)||P(e)},S=Symbol("checkboxGroupContextKey"),De=ye({modelValue:{type:F(Array),default:()=>[]},disabled:{type:Boolean,default:void 0},min:Number,max:Number,size:X,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:F(Array)},props:{type:F(Object),default:()=>ge},type:{type:String,values:["checkbox","button"],default:"checkbox"},...be(["ariaLabel"])}),Pe={[I]:e=>B(e),change:e=>B(e)},ge={label:"label",value:"value",disabled:"disabled"},we=({model:e,isChecked:t})=>{const s=V(S,void 0),u=V(Ie,void 0),l=b(()=>{var n,v;const r=(n=s==null?void 0:s.max)==null?void 0:n.value,i=(v=s==null?void 0:s.min)==null?void 0:v.value;return!w(r)&&e.value.length>=r&&!t.value||!w(i)&&e.value.length<=i&&t.value});return{isDisabled:ve(b(()=>{var r;return s===void 0?(u==null?void 0:u.disabled)??l.value:((r=s.disabled)==null?void 0:r.value)||l.value})),isLimitDisabled:l}},ze=(e,{model:t,isLimitExceeded:s,hasOwnLabel:u,isDisabled:l,isLabeledByFormItem:r})=>{const i=V(S,void 0),{formItem:n}=q(),{emit:v}=Z();function d(a){return[!0,e.trueValue,e.trueLabel].includes(a)?e.trueValue??e.trueLabel??!0:e.falseValue??e.falseLabel??!1}function f(a,o){v(R,d(a),o)}function m(a){if(s.value)return;const o=a.target;v(R,d(o.checked),a)}async function k(a){s.value||!u.value&&!l.value&&r.value&&(a.composedPath().some(o=>o.tagName==="LABEL")||(t.value=d([!1,e.falseValue,e.falseLabel].includes(t.value)),await G(),f(t.value,a)))}const x=b(()=>(i==null?void 0:i.validateEvent)||e.validateEvent);return _(()=>e.modelValue,()=>{x.value&&(n==null||n.validate("change").catch(ee))}),{handleChange:m,onClickRoot:k}},Oe=e=>{const t=z(!1),{emit:s,vnode:u}=Z(),l=V(S,void 0),r=b(()=>w(l)===!1),i=z(!1),n=b(()=>{const d=u.props??{};return"modelValue"in d||"model-value"in d}),v=b({get(){var d;return r.value?(d=l==null?void 0:l.modelValue)==null?void 0:d.value:n.value?e.modelValue:t.value},set(d){var f,m;r.value&&B(d)?(i.value=((f=l==null?void 0:l.max)==null?void 0:f.value)!==void 0&&d.length>(l==null?void 0:l.max.value)&&d.length>v.value.length,i.value===!1&&((m=l==null?void 0:l.changeEvent)==null||m.call(l,d))):(s(I,d),t.value=d)}});return{model:v,isGroup:r,isLimitExceeded:i}},$e=(e,t,{model:s})=>{const u=V(S,void 0),l=z(!1),r=b(()=>O(e.value)?e.label:e.value),i=b(()=>{const n=s.value;return P(n)?n:B(n)?pe(r.value)?n.map(Q).some(v=>ae(v,r.value)):n.map(Q).includes(r.value):n!=null?n===e.trueValue||n===e.trueLabel:!!n});return{checkboxButtonSize:W(b(()=>{var n;return(n=u==null?void 0:u.size)==null?void 0:n.value}),{prop:!0}),isChecked:i,isFocused:l,checkboxSize:W(b(()=>{var n;return(n=u==null?void 0:u.size)==null?void 0:n.value})),hasOwnLabel:b(()=>!!t.default||!O(r.value)),actualValue:r}},ke=(e,t)=>{const{formItem:s}=q(),{model:u,isGroup:l,isLimitExceeded:r}=Oe(e),{isFocused:i,isChecked:n,checkboxButtonSize:v,checkboxSize:d,hasOwnLabel:f,actualValue:m}=$e(e,t,{model:u}),{isDisabled:k}=we({model:u,isChecked:n}),{inputId:x,isLabeledByFormItem:a}=me(e,{formItemContext:s,disableIdGeneration:f,disableIdManagement:l}),{handleChange:o,onClickRoot:h}=ze(e,{model:u,isLimitExceeded:r,hasOwnLabel:f,isDisabled:k,isLabeledByFormItem:a});return(()=>{function g(){B(u.value)&&!u.value.includes(m.value)?u.value.push(m.value):u.value=e.trueValue??e.trueLabel??!0}e.checked&&g()})(),D({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},b(()=>l.value&&O(e.value))),D({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},b(()=>!!e.trueLabel)),D({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},b(()=>!!e.falseLabel)),{inputId:x,isLabeledByFormItem:a,isChecked:n,isDisabled:k,isFocused:i,checkboxButtonSize:v,checkboxSize:d,hasOwnLabel:f,model:u,actualValue:m,handleChange:o,onClickRoot:h}},Ue=["id","indeterminate","name","tabindex","disabled"];var Ae=K({name:"ElCheckbox",__name:"checkbox",props:fe,emits:he,setup(e){const t=e,{inputId:s,isLabeledByFormItem:u,isChecked:l,isDisabled:r,isFocused:i,checkboxSize:n,hasOwnLabel:v,model:d,actualValue:f,handleChange:m,onClickRoot:k}=ke(t,te()),x=b(()=>t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":t.trueValue??t.trueLabel??!0,"false-value":t.falseValue??t.falseLabel??!1}:{value:f.value}),a=M("checkbox"),o=b(()=>[a.b(),a.m(n.value),a.is("disabled",r.value),a.is("bordered",t.border),a.is("checked",l.value)]),h=b(()=>[a.e("input"),a.is("disabled",r.value),a.is("checked",l.value),a.is("indeterminate",t.indeterminate),a.is("focus",i.value)]);return(C,g)=>(y(),$(A(!c(v)&&c(u)?"span":"label"),{for:!c(v)&&c(u)?null:c(s),class:p(o.value),"aria-controls":e.indeterminate?e.ariaControls:null,"aria-checked":e.indeterminate?"mixed":void 0,"aria-label":e.ariaLabel,onClick:c(k)},{default:le(()=>[N("span",{class:p(h.value)},[ne(N("input",T({id:c(s),"onUpdate:modelValue":g[0]||(g[0]=L=>se(d)?d.value=L:null),class:c(a).e("original"),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:c(r)},x.value,{onChange:g[1]||(g[1]=(...L)=>c(m)&&c(m)(...L)),onFocus:g[2]||(g[2]=L=>i.value=!0),onBlur:g[3]||(g[3]=L=>i.value=!1),onClick:g[4]||(g[4]=ue(()=>{},["stop"]))}),null,16,Ue),[[oe,c(d)]]),N("span",{class:p(c(a).e("inner"))},null,2)],2),c(v)?(y(),E("span",{key:0,class:p(c(a).e("label"))},[j(C.$slots,"default"),C.$slots.default?U("v-if",!0):(y(),E(ie,{key:0},[re(de(e.label),1)],64))],2)):U("v-if",!0)]),_:3},8,["for","class","aria-controls","aria-checked","aria-label","onClick"]))}}),xe=Ae;const Re=["name","tabindex","disabled"];var Ke=K({name:"ElCheckboxButton",__name:"checkbox-button",props:fe,emits:he,setup(e){const t=e,{isFocused:s,isChecked:u,isDisabled:l,checkboxButtonSize:r,model:i,actualValue:n,handleChange:v}=ke(t,te()),d=b(()=>t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":t.trueValue??t.trueLabel??!0,"false-value":t.falseValue??t.falseLabel??!1}:{value:n.value}),f=V(S,void 0),m=M("checkbox"),k=b(()=>{var o,h;const a=((o=f==null?void 0:f.fill)==null?void 0:o.value)??"";return{backgroundColor:a,borderColor:a,color:((h=f==null?void 0:f.textColor)==null?void 0:h.value)??"",boxShadow:a?`-1px 0 0 0 ${a}`:void 0}}),x=b(()=>[m.b("button"),m.bm("button",r.value),m.is("disabled",l.value),m.is("checked",u.value),m.is("focus",s.value)]);return(a,o)=>(y(),E("label",{class:p(x.value)},[ne(N("input",T({"onUpdate:modelValue":o[0]||(o[0]=h=>se(i)?i.value=h:null),class:c(m).be("button","original"),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:c(l)},d.value,{onChange:o[1]||(o[1]=(...h)=>c(v)&&c(v)(...h)),onFocus:o[2]||(o[2]=h=>s.value=!0),onBlur:o[3]||(o[3]=h=>s.value=!1),onClick:o[4]||(o[4]=ue(()=>{},["stop"]))}),null,16,Re),[[oe,c(i)]]),a.$slots.default||e.label?(y(),E("span",{key:0,class:p(c(m).be("button","inner")),style:Ve(c(u)?k.value:void 0)},[j(a.$slots,"default",{},()=>[re(de(e.label),1)])],6)):U("v-if",!0)],2))}}),H=Ke,Me=K({name:"ElCheckboxGroup",__name:"checkbox-group",props:De,emits:Pe,setup(e,{emit:t}){const s=e,u=t,l=M("checkbox"),r=ve(),{formItem:i}=q(),{inputId:n,isLabeledByFormItem:v}=me(s,{formItemContext:i}),d=async a=>{u(I,a),await G(),u(R,a)},f=b({get(){return s.modelValue},set(a){d(a)}}),m=b(()=>({...ge,...s.props})),k=a=>{const{label:o,value:h,disabled:C}=m.value,g={label:a[o],value:a[h],disabled:a[C]};return{...Fe(a,[o,h,C]),...g}},x=b(()=>s.type==="button"?H:xe);return Se(S,{...Ne(Le(s),["size","min","max","validateEvent","fill","textColor"]),disabled:r,modelValue:f,changeEvent:d}),_(()=>s.modelValue,(a,o)=>{s.validateEvent&&!ae(a,o)&&(i==null||i.validate("change").catch(ee))}),(a,o)=>{var h;return y(),$(A(e.tag),{id:c(n),class:p(c(l).b("group")),role:"group","aria-label":c(v)?void 0:e.ariaLabel||"checkbox-group","aria-labelledby":c(v)?(h=c(i))==null?void 0:h.labelId:void 0},{default:le(()=>[j(a.$slots,"default",{},()=>[(y(!0),E(ie,null,Be(e.options,(C,g)=>(y(),$(A(x.value),T({key:g},{ref_for:!0},k(C)),null,16))),128))])]),_:3},8,["id","class","aria-label","aria-labelledby"])}}}),Ce=Me;const Ye=Ee(xe,{CheckboxButton:H,CheckboxGroup:Ce});ce(H);const Qe=ce(Ce);export{Ye as E,Qe as a}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-checkbox-pV3o_8iy.js +import{aR as X,J,ak as Y,k as P,a6 as B,b as ye,R as F,B as V,j as b,U as w,N as Z,D as _,P as G,aU as ee,y as z,cb as O,a3 as pe,cc as Q,b6 as ae,d as K,bF as te,a as M,o as y,e as $,w as le,q as N,n as p,K as ne,Y as T,f as c,aB as se,aL as ue,cd as oe,c as E,h as j,M as ie,x as re,aa as de,g as U,r as A,al as Ve,F as Se,aV as Le,ad as Be,ab as ce,l as Ee}from"./index-Ds9AETjS.js";import{U as I,C as R}from"./raf-zQ00nuMI.js";import{u as be,p as Ne}from"./index-BSbCLbaz.js";import{g as Ie,c as ve,b as q,e as W,d as me,u as D}from"./index-BNsCyG4A.js";import{o as Fe}from"./omit-BzI1MV_K.js";const fe={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:{type:Boolean,default:void 0},checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:X,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},ariaLabel:String,...be(["ariaControls"])},he={[I]:e=>J(e)||Y(e)||P(e),change:e=>J(e)||Y(e)||P(e)},S=Symbol("checkboxGroupContextKey"),De=ye({modelValue:{type:F(Array),default:()=>[]},disabled:{type:Boolean,default:void 0},min:Number,max:Number,size:X,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:F(Array)},props:{type:F(Object),default:()=>ge},type:{type:String,values:["checkbox","button"],default:"checkbox"},...be(["ariaLabel"])}),Pe={[I]:e=>B(e),change:e=>B(e)},ge={label:"label",value:"value",disabled:"disabled"},we=({model:e,isChecked:t})=>{const s=V(S,void 0),u=V(Ie,void 0),l=b(()=>{var n,v;const r=(n=s==null?void 0:s.max)==null?void 0:n.value,i=(v=s==null?void 0:s.min)==null?void 0:v.value;return!w(r)&&e.value.length>=r&&!t.value||!w(i)&&e.value.length<=i&&t.value});return{isDisabled:ve(b(()=>{var r;return s===void 0?(u==null?void 0:u.disabled)??l.value:((r=s.disabled)==null?void 0:r.value)||l.value})),isLimitDisabled:l}},ze=(e,{model:t,isLimitExceeded:s,hasOwnLabel:u,isDisabled:l,isLabeledByFormItem:r})=>{const i=V(S,void 0),{formItem:n}=q(),{emit:v}=Z();function d(a){return[!0,e.trueValue,e.trueLabel].includes(a)?e.trueValue??e.trueLabel??!0:e.falseValue??e.falseLabel??!1}function f(a,o){v(R,d(a),o)}function m(a){if(s.value)return;const o=a.target;v(R,d(o.checked),a)}async function k(a){s.value||!u.value&&!l.value&&r.value&&(a.composedPath().some(o=>o.tagName==="LABEL")||(t.value=d([!1,e.falseValue,e.falseLabel].includes(t.value)),await G(),f(t.value,a)))}const x=b(()=>(i==null?void 0:i.validateEvent)||e.validateEvent);return _(()=>e.modelValue,()=>{x.value&&(n==null||n.validate("change").catch(ee))}),{handleChange:m,onClickRoot:k}},Oe=e=>{const t=z(!1),{emit:s,vnode:u}=Z(),l=V(S,void 0),r=b(()=>w(l)===!1),i=z(!1),n=b(()=>{const d=u.props??{};return"modelValue"in d||"model-value"in d}),v=b({get(){var d;return r.value?(d=l==null?void 0:l.modelValue)==null?void 0:d.value:n.value?e.modelValue:t.value},set(d){var f,m;r.value&&B(d)?(i.value=((f=l==null?void 0:l.max)==null?void 0:f.value)!==void 0&&d.length>(l==null?void 0:l.max.value)&&d.length>v.value.length,i.value===!1&&((m=l==null?void 0:l.changeEvent)==null||m.call(l,d))):(s(I,d),t.value=d)}});return{model:v,isGroup:r,isLimitExceeded:i}},$e=(e,t,{model:s})=>{const u=V(S,void 0),l=z(!1),r=b(()=>O(e.value)?e.label:e.value),i=b(()=>{const n=s.value;return P(n)?n:B(n)?pe(r.value)?n.map(Q).some(v=>ae(v,r.value)):n.map(Q).includes(r.value):n!=null?n===e.trueValue||n===e.trueLabel:!!n});return{checkboxButtonSize:W(b(()=>{var n;return(n=u==null?void 0:u.size)==null?void 0:n.value}),{prop:!0}),isChecked:i,isFocused:l,checkboxSize:W(b(()=>{var n;return(n=u==null?void 0:u.size)==null?void 0:n.value})),hasOwnLabel:b(()=>!!t.default||!O(r.value)),actualValue:r}},ke=(e,t)=>{const{formItem:s}=q(),{model:u,isGroup:l,isLimitExceeded:r}=Oe(e),{isFocused:i,isChecked:n,checkboxButtonSize:v,checkboxSize:d,hasOwnLabel:f,actualValue:m}=$e(e,t,{model:u}),{isDisabled:k}=we({model:u,isChecked:n}),{inputId:x,isLabeledByFormItem:a}=me(e,{formItemContext:s,disableIdGeneration:f,disableIdManagement:l}),{handleChange:o,onClickRoot:h}=ze(e,{model:u,isLimitExceeded:r,hasOwnLabel:f,isDisabled:k,isLabeledByFormItem:a});return(()=>{function g(){B(u.value)&&!u.value.includes(m.value)?u.value.push(m.value):u.value=e.trueValue??e.trueLabel??!0}e.checked&&g()})(),D({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},b(()=>l.value&&O(e.value))),D({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},b(()=>!!e.trueLabel)),D({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},b(()=>!!e.falseLabel)),{inputId:x,isLabeledByFormItem:a,isChecked:n,isDisabled:k,isFocused:i,checkboxButtonSize:v,checkboxSize:d,hasOwnLabel:f,model:u,actualValue:m,handleChange:o,onClickRoot:h}},Ue=["id","indeterminate","name","tabindex","disabled"];var Ae=K({name:"ElCheckbox",__name:"checkbox",props:fe,emits:he,setup(e){const t=e,{inputId:s,isLabeledByFormItem:u,isChecked:l,isDisabled:r,isFocused:i,checkboxSize:n,hasOwnLabel:v,model:d,actualValue:f,handleChange:m,onClickRoot:k}=ke(t,te()),x=b(()=>t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":t.trueValue??t.trueLabel??!0,"false-value":t.falseValue??t.falseLabel??!1}:{value:f.value}),a=M("checkbox"),o=b(()=>[a.b(),a.m(n.value),a.is("disabled",r.value),a.is("bordered",t.border),a.is("checked",l.value)]),h=b(()=>[a.e("input"),a.is("disabled",r.value),a.is("checked",l.value),a.is("indeterminate",t.indeterminate),a.is("focus",i.value)]);return(C,g)=>(y(),$(A(!c(v)&&c(u)?"span":"label"),{for:!c(v)&&c(u)?null:c(s),class:p(o.value),"aria-controls":e.indeterminate?e.ariaControls:null,"aria-checked":e.indeterminate?"mixed":void 0,"aria-label":e.ariaLabel,onClick:c(k)},{default:le(()=>[N("span",{class:p(h.value)},[ne(N("input",T({id:c(s),"onUpdate:modelValue":g[0]||(g[0]=L=>se(d)?d.value=L:null),class:c(a).e("original"),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:c(r)},x.value,{onChange:g[1]||(g[1]=(...L)=>c(m)&&c(m)(...L)),onFocus:g[2]||(g[2]=L=>i.value=!0),onBlur:g[3]||(g[3]=L=>i.value=!1),onClick:g[4]||(g[4]=ue(()=>{},["stop"]))}),null,16,Ue),[[oe,c(d)]]),N("span",{class:p(c(a).e("inner"))},null,2)],2),c(v)?(y(),E("span",{key:0,class:p(c(a).e("label"))},[j(C.$slots,"default"),C.$slots.default?U("v-if",!0):(y(),E(ie,{key:0},[re(de(e.label),1)],64))],2)):U("v-if",!0)]),_:3},8,["for","class","aria-controls","aria-checked","aria-label","onClick"]))}}),xe=Ae;const Re=["name","tabindex","disabled"];var Ke=K({name:"ElCheckboxButton",__name:"checkbox-button",props:fe,emits:he,setup(e){const t=e,{isFocused:s,isChecked:u,isDisabled:l,checkboxButtonSize:r,model:i,actualValue:n,handleChange:v}=ke(t,te()),d=b(()=>t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":t.trueValue??t.trueLabel??!0,"false-value":t.falseValue??t.falseLabel??!1}:{value:n.value}),f=V(S,void 0),m=M("checkbox"),k=b(()=>{var o,h;const a=((o=f==null?void 0:f.fill)==null?void 0:o.value)??"";return{backgroundColor:a,borderColor:a,color:((h=f==null?void 0:f.textColor)==null?void 0:h.value)??"",boxShadow:a?`-1px 0 0 0 ${a}`:void 0}}),x=b(()=>[m.b("button"),m.bm("button",r.value),m.is("disabled",l.value),m.is("checked",u.value),m.is("focus",s.value)]);return(a,o)=>(y(),E("label",{class:p(x.value)},[ne(N("input",T({"onUpdate:modelValue":o[0]||(o[0]=h=>se(i)?i.value=h:null),class:c(m).be("button","original"),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:c(l)},d.value,{onChange:o[1]||(o[1]=(...h)=>c(v)&&c(v)(...h)),onFocus:o[2]||(o[2]=h=>s.value=!0),onBlur:o[3]||(o[3]=h=>s.value=!1),onClick:o[4]||(o[4]=ue(()=>{},["stop"]))}),null,16,Re),[[oe,c(i)]]),a.$slots.default||e.label?(y(),E("span",{key:0,class:p(c(m).be("button","inner")),style:Ve(c(u)?k.value:void 0)},[j(a.$slots,"default",{},()=>[re(de(e.label),1)])],6)):U("v-if",!0)],2))}}),H=Ke,Me=K({name:"ElCheckboxGroup",__name:"checkbox-group",props:De,emits:Pe,setup(e,{emit:t}){const s=e,u=t,l=M("checkbox"),r=ve(),{formItem:i}=q(),{inputId:n,isLabeledByFormItem:v}=me(s,{formItemContext:i}),d=async a=>{u(I,a),await G(),u(R,a)},f=b({get(){return s.modelValue},set(a){d(a)}}),m=b(()=>({...ge,...s.props})),k=a=>{const{label:o,value:h,disabled:C}=m.value,g={label:a[o],value:a[h],disabled:a[C]};return{...Fe(a,[o,h,C]),...g}},x=b(()=>s.type==="button"?H:xe);return Se(S,{...Ne(Le(s),["size","min","max","validateEvent","fill","textColor"]),disabled:r,modelValue:f,changeEvent:d}),_(()=>s.modelValue,(a,o)=>{s.validateEvent&&!ae(a,o)&&(i==null||i.validate("change").catch(ee))}),(a,o)=>{var h;return y(),$(A(e.tag),{id:c(n),class:p(c(l).b("group")),role:"group","aria-label":c(v)?void 0:e.ariaLabel||"checkbox-group","aria-labelledby":c(v)?(h=c(i))==null?void 0:h.labelId:void 0},{default:le(()=>[j(a.$slots,"default",{},()=>[(y(!0),E(ie,null,Be(e.options,(C,g)=>(y(),$(A(x.value),T({key:g},{ref_for:!0},k(C)),null,16))),128))])]),_:3},8,["id","class","aria-label","aria-labelledby"])}}}),Ce=Me;const Ye=Ee(xe,{CheckboxButton:H,CheckboxGroup:Ce});ce(H);const Qe=ce(Ce);export{Ye as E,Qe as a}; +======== +import{aS as X,J,ak as Y,k as P,a6 as B,b as ye,R as F,B as V,j as b,U as w,N as Z,D as _,P as G,aU as ee,y as z,cb as O,a3 as pe,cc as Q,b6 as ae,d as M,bF as te,a as R,o as y,e as $,w as le,q as N,n as p,K as ne,Y as T,f as c,aB as se,aL as ue,cd as oe,c as E,h as j,M as ie,x as re,aa as de,g as U,r as A,al as Ve,F as Se,aV as Le,ad as Be,ab as ce,l as Ee}from"./index-CxbBjZKo.js";import{U as I,C as K}from"./raf-Bjl8yy5U.js";import{u as be,p as Ne}from"./index-DxP0p4ch.js";import{g as Ie,c as ve,b as q,e as W,d as me,u as D}from"./index-D23K2h6y.js";import{o as Fe}from"./omit-CbHF-OEy.js";const fe={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:{type:Boolean,default:void 0},checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:X,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},ariaLabel:String,...be(["ariaControls"])},he={[I]:e=>J(e)||Y(e)||P(e),change:e=>J(e)||Y(e)||P(e)},S=Symbol("checkboxGroupContextKey"),De=ye({modelValue:{type:F(Array),default:()=>[]},disabled:{type:Boolean,default:void 0},min:Number,max:Number,size:X,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:F(Array)},props:{type:F(Object),default:()=>ge},type:{type:String,values:["checkbox","button"],default:"checkbox"},...be(["ariaLabel"])}),Pe={[I]:e=>B(e),change:e=>B(e)},ge={label:"label",value:"value",disabled:"disabled"},we=({model:e,isChecked:t})=>{const s=V(S,void 0),u=V(Ie,void 0),l=b(()=>{var n,v;const r=(n=s==null?void 0:s.max)==null?void 0:n.value,i=(v=s==null?void 0:s.min)==null?void 0:v.value;return!w(r)&&e.value.length>=r&&!t.value||!w(i)&&e.value.length<=i&&t.value});return{isDisabled:ve(b(()=>{var r;return s===void 0?(u==null?void 0:u.disabled)??l.value:((r=s.disabled)==null?void 0:r.value)||l.value})),isLimitDisabled:l}},ze=(e,{model:t,isLimitExceeded:s,hasOwnLabel:u,isDisabled:l,isLabeledByFormItem:r})=>{const i=V(S,void 0),{formItem:n}=q(),{emit:v}=Z();function d(a){return[!0,e.trueValue,e.trueLabel].includes(a)?e.trueValue??e.trueLabel??!0:e.falseValue??e.falseLabel??!1}function f(a,o){v(K,d(a),o)}function m(a){if(s.value)return;const o=a.target;v(K,d(o.checked),a)}async function k(a){s.value||!u.value&&!l.value&&r.value&&(a.composedPath().some(o=>o.tagName==="LABEL")||(t.value=d([!1,e.falseValue,e.falseLabel].includes(t.value)),await G(),f(t.value,a)))}const x=b(()=>(i==null?void 0:i.validateEvent)||e.validateEvent);return _(()=>e.modelValue,()=>{x.value&&(n==null||n.validate("change").catch(ee))}),{handleChange:m,onClickRoot:k}},Oe=e=>{const t=z(!1),{emit:s,vnode:u}=Z(),l=V(S,void 0),r=b(()=>w(l)===!1),i=z(!1),n=b(()=>{const d=u.props??{};return"modelValue"in d||"model-value"in d}),v=b({get(){var d;return r.value?(d=l==null?void 0:l.modelValue)==null?void 0:d.value:n.value?e.modelValue:t.value},set(d){var f,m;r.value&&B(d)?(i.value=((f=l==null?void 0:l.max)==null?void 0:f.value)!==void 0&&d.length>(l==null?void 0:l.max.value)&&d.length>v.value.length,i.value===!1&&((m=l==null?void 0:l.changeEvent)==null||m.call(l,d))):(s(I,d),t.value=d)}});return{model:v,isGroup:r,isLimitExceeded:i}},$e=(e,t,{model:s})=>{const u=V(S,void 0),l=z(!1),r=b(()=>O(e.value)?e.label:e.value),i=b(()=>{const n=s.value;return P(n)?n:B(n)?pe(r.value)?n.map(Q).some(v=>ae(v,r.value)):n.map(Q).includes(r.value):n!=null?n===e.trueValue||n===e.trueLabel:!!n});return{checkboxButtonSize:W(b(()=>{var n;return(n=u==null?void 0:u.size)==null?void 0:n.value}),{prop:!0}),isChecked:i,isFocused:l,checkboxSize:W(b(()=>{var n;return(n=u==null?void 0:u.size)==null?void 0:n.value})),hasOwnLabel:b(()=>!!t.default||!O(r.value)),actualValue:r}},ke=(e,t)=>{const{formItem:s}=q(),{model:u,isGroup:l,isLimitExceeded:r}=Oe(e),{isFocused:i,isChecked:n,checkboxButtonSize:v,checkboxSize:d,hasOwnLabel:f,actualValue:m}=$e(e,t,{model:u}),{isDisabled:k}=we({model:u,isChecked:n}),{inputId:x,isLabeledByFormItem:a}=me(e,{formItemContext:s,disableIdGeneration:f,disableIdManagement:l}),{handleChange:o,onClickRoot:h}=ze(e,{model:u,isLimitExceeded:r,hasOwnLabel:f,isDisabled:k,isLabeledByFormItem:a});return(()=>{function g(){B(u.value)&&!u.value.includes(m.value)?u.value.push(m.value):u.value=e.trueValue??e.trueLabel??!0}e.checked&&g()})(),D({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},b(()=>l.value&&O(e.value))),D({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},b(()=>!!e.trueLabel)),D({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},b(()=>!!e.falseLabel)),{inputId:x,isLabeledByFormItem:a,isChecked:n,isDisabled:k,isFocused:i,checkboxButtonSize:v,checkboxSize:d,hasOwnLabel:f,model:u,actualValue:m,handleChange:o,onClickRoot:h}},Ue=["id","indeterminate","name","tabindex","disabled"];var Ae=M({name:"ElCheckbox",__name:"checkbox",props:fe,emits:he,setup(e){const t=e,{inputId:s,isLabeledByFormItem:u,isChecked:l,isDisabled:r,isFocused:i,checkboxSize:n,hasOwnLabel:v,model:d,actualValue:f,handleChange:m,onClickRoot:k}=ke(t,te()),x=b(()=>t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":t.trueValue??t.trueLabel??!0,"false-value":t.falseValue??t.falseLabel??!1}:{value:f.value}),a=R("checkbox"),o=b(()=>[a.b(),a.m(n.value),a.is("disabled",r.value),a.is("bordered",t.border),a.is("checked",l.value)]),h=b(()=>[a.e("input"),a.is("disabled",r.value),a.is("checked",l.value),a.is("indeterminate",t.indeterminate),a.is("focus",i.value)]);return(C,g)=>(y(),$(A(!c(v)&&c(u)?"span":"label"),{for:!c(v)&&c(u)?null:c(s),class:p(o.value),"aria-controls":e.indeterminate?e.ariaControls:null,"aria-checked":e.indeterminate?"mixed":void 0,"aria-label":e.ariaLabel,onClick:c(k)},{default:le(()=>[N("span",{class:p(h.value)},[ne(N("input",T({id:c(s),"onUpdate:modelValue":g[0]||(g[0]=L=>se(d)?d.value=L:null),class:c(a).e("original"),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:c(r)},x.value,{onChange:g[1]||(g[1]=(...L)=>c(m)&&c(m)(...L)),onFocus:g[2]||(g[2]=L=>i.value=!0),onBlur:g[3]||(g[3]=L=>i.value=!1),onClick:g[4]||(g[4]=ue(()=>{},["stop"]))}),null,16,Ue),[[oe,c(d)]]),N("span",{class:p(c(a).e("inner"))},null,2)],2),c(v)?(y(),E("span",{key:0,class:p(c(a).e("label"))},[j(C.$slots,"default"),C.$slots.default?U("v-if",!0):(y(),E(ie,{key:0},[re(de(e.label),1)],64))],2)):U("v-if",!0)]),_:3},8,["for","class","aria-controls","aria-checked","aria-label","onClick"]))}}),xe=Ae;const Ke=["name","tabindex","disabled"];var Me=M({name:"ElCheckboxButton",__name:"checkbox-button",props:fe,emits:he,setup(e){const t=e,{isFocused:s,isChecked:u,isDisabled:l,checkboxButtonSize:r,model:i,actualValue:n,handleChange:v}=ke(t,te()),d=b(()=>t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":t.trueValue??t.trueLabel??!0,"false-value":t.falseValue??t.falseLabel??!1}:{value:n.value}),f=V(S,void 0),m=R("checkbox"),k=b(()=>{var o,h;const a=((o=f==null?void 0:f.fill)==null?void 0:o.value)??"";return{backgroundColor:a,borderColor:a,color:((h=f==null?void 0:f.textColor)==null?void 0:h.value)??"",boxShadow:a?`-1px 0 0 0 ${a}`:void 0}}),x=b(()=>[m.b("button"),m.bm("button",r.value),m.is("disabled",l.value),m.is("checked",u.value),m.is("focus",s.value)]);return(a,o)=>(y(),E("label",{class:p(x.value)},[ne(N("input",T({"onUpdate:modelValue":o[0]||(o[0]=h=>se(i)?i.value=h:null),class:c(m).be("button","original"),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:c(l)},d.value,{onChange:o[1]||(o[1]=(...h)=>c(v)&&c(v)(...h)),onFocus:o[2]||(o[2]=h=>s.value=!0),onBlur:o[3]||(o[3]=h=>s.value=!1),onClick:o[4]||(o[4]=ue(()=>{},["stop"]))}),null,16,Ke),[[oe,c(i)]]),a.$slots.default||e.label?(y(),E("span",{key:0,class:p(c(m).be("button","inner")),style:Ve(c(u)?k.value:void 0)},[j(a.$slots,"default",{},()=>[re(de(e.label),1)])],6)):U("v-if",!0)],2))}}),H=Me,Re=M({name:"ElCheckboxGroup",__name:"checkbox-group",props:De,emits:Pe,setup(e,{emit:t}){const s=e,u=t,l=R("checkbox"),r=ve(),{formItem:i}=q(),{inputId:n,isLabeledByFormItem:v}=me(s,{formItemContext:i}),d=async a=>{u(I,a),await G(),u(K,a)},f=b({get(){return s.modelValue},set(a){d(a)}}),m=b(()=>({...ge,...s.props})),k=a=>{const{label:o,value:h,disabled:C}=m.value,g={label:a[o],value:a[h],disabled:a[C]};return{...Fe(a,[o,h,C]),...g}},x=b(()=>s.type==="button"?H:xe);return Se(S,{...Ne(Le(s),["size","min","max","validateEvent","fill","textColor"]),disabled:r,modelValue:f,changeEvent:d}),_(()=>s.modelValue,(a,o)=>{s.validateEvent&&!ae(a,o)&&(i==null||i.validate("change").catch(ee))}),(a,o)=>{var h;return y(),$(A(e.tag),{id:c(n),class:p(c(l).b("group")),role:"group","aria-label":c(v)?void 0:e.ariaLabel||"checkbox-group","aria-labelledby":c(v)?(h=c(i))==null?void 0:h.labelId:void 0},{default:le(()=>[j(a.$slots,"default",{},()=>[(y(!0),E(ie,null,Be(e.options,(C,g)=>(y(),$(A(x.value),T({key:g},{ref_for:!0},k(C)),null,16))),128))])]),_:3},8,["id","class","aria-label","aria-labelledby"])}}}),Ce=Re;const Ye=Ee(xe,{CheckboxButton:H,CheckboxGroup:Ce});ce(H);const Qe=ce(Ce);export{Ye as E,Qe as a}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-checkbox-C_TzqU9u.js diff --git a/frontend/dist/assets/el-descriptions-BNd8WHaD.js b/frontend/dist/assets/el-descriptions-BNd8WHaD.js new file mode 100644 index 0000000..4f870cb --- /dev/null +++ b/frontend/dist/assets/el-descriptions-BNd8WHaD.js @@ -0,0 +1 @@ +import{b as B,aS as H,d as P,R as J,am as A,a as L,K as x,I as D,a8 as Q,B as q,f as d,o as c,c as f,q as v,M as g,ad as z,e as I,s as R,bF as T,n as _,h as j,x as K,aa as M,g as X,j as Y,F as Z,ab as ee,l as te}from"./index-CxbBjZKo.js";import{g as se,f as le}from"./vnode-DIVHEdsp.js";import{e as ae}from"./index-D23K2h6y.js";const O=["left","center","right"],re=B({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:H,title:{type:String,default:""},extra:{type:String,default:""},labelWidth:{type:[String,Number]}}),U="ElDescriptionsItem",ne=B({label:{type:String,default:""},span:{type:Number,default:1},rowspan:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},labelWidth:{type:[String,Number]},align:{type:String,values:O,default:"left"},labelAlign:{type:String,values:O},className:{type:String,default:""},labelClassName:{type:String,default:""}}),G=P({name:U,props:ne}),V=Symbol("elDescriptions"),ie=B({row:{type:J(Array),default:()=>[]}});var E=P({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:q(V,{})}},render(){var y;const e=se(this.cell),u=(((y=this.cell)==null?void 0:y.dirs)||[]).map(n=>{const{dir:a,arg:l,modifiers:W,value:$}=n;return[a,$,l,W]}),{border:m,direction:C}=this.descriptions,r=C==="vertical",h=()=>{var n,a,l;return((l=(a=(n=this.cell)==null?void 0:n.children)==null?void 0:a.label)==null?void 0:l.call(a))||e.label},k=()=>{var n,a,l;return(l=(a=(n=this.cell)==null?void 0:n.children)==null?void 0:a.default)==null?void 0:l.call(a)},S=e.span,s=e.rowspan,b=e.align?`is-${e.align}`:"",p=e.labelAlign?`is-${e.labelAlign}`:b,i=e.className,w=e.labelClassName,o={width:A(this.type==="label"?e.labelWidth??this.descriptions.labelWidth??e.width:e.width),minWidth:A(e.minWidth)},t=L("descriptions");switch(this.type){case"label":return x(D(this.tag,{style:o,class:[t.e("cell"),t.e("label"),t.is("bordered-label",m),t.is("vertical-label",r),p,w],colSpan:r?S:1,rowspan:r?1:s},h()),u);case"content":return x(D(this.tag,{style:o,class:[t.e("cell"),t.e("content"),t.is("bordered-content",m),t.is("vertical-content",r),b,i],colSpan:r?S:S*2-1,rowspan:r?s*2-1:s},k()),u);default:{const n=h(),a={},l=A(e.labelWidth??this.descriptions.labelWidth);return l&&(a.width=l,a.display="inline-block"),x(D("td",{style:o,class:[t.e("cell"),b],colSpan:S,rowspan:s},[Q(n)?void 0:D("span",{style:a,class:[t.e("label"),w]},n),D("span",{class:[t.e("content"),i]},k())]),u)}}}});const oe={key:1};var ce=P({name:"ElDescriptionsRow",__name:"descriptions-row",props:ie,setup(e){const u=q(V,{});return(m,C)=>d(u).direction==="vertical"?(c(),f(g,{key:0},[v("tr",null,[(c(!0),f(g,null,z(e.row,(r,h)=>(c(),I(d(E),{key:`tr1-${h}`,cell:r,tag:"th",type:"label"},null,8,["cell"]))),128))]),v("tr",null,[(c(!0),f(g,null,z(e.row,(r,h)=>(c(),I(d(E),{key:`tr2-${h}`,cell:r,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(c(),f("tr",oe,[(c(!0),f(g,null,z(e.row,(r,h)=>(c(),f(g,{key:`tr3-${h}`},[d(u).border?(c(),f(g,{key:0},[R(d(E),{cell:r,tag:"td",type:"label"},null,8,["cell"]),R(d(E),{cell:r,tag:"td",type:"content"},null,8,["cell"])],64)):(c(),I(d(E),{key:1,cell:r,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}}),pe=ce,de=P({name:"ElDescriptions",__name:"description",props:re,setup(e){const u=e,m=L("descriptions"),C=ae(),r=T();Z(V,u);const h=Y(()=>[m.b(),m.m(C.value)]),k=(s,b,p,i=!1)=>(s.props||(s.props={}),b>p&&(s.props.span=p),i&&(s.props.span=b),s),S=()=>{if(!r.default)return[];const s=le(r.default()).filter(t=>{var y;return((y=t==null?void 0:t.type)==null?void 0:y.name)===U}),b=[];let p=[],i=u.column,w=0;const o=[];return s.forEach((t,y)=>{var W,$,F;const n=((W=t.props)==null?void 0:W.span)||1,a=(($=t.props)==null?void 0:$.rowspan)||1,l=b.length;if(o[l]||(o[l]=0),a>1)for(let N=1;N0&&(i-=o[l],o[l]=0),yi?i:n),y===s.length-1){const N=u.column-w%u.column;p.push(k(t,N,i,!0)),b.push(p);return}n(c(),f("div",{class:_(h.value)},[e.title||e.extra||s.$slots.title||s.$slots.extra?(c(),f("div",{key:0,class:_(d(m).e("header"))},[v("div",{class:_(d(m).e("title"))},[j(s.$slots,"title",{},()=>[K(M(e.title),1)])],2),v("div",{class:_(d(m).e("extra"))},[j(s.$slots,"extra",{},()=>[K(M(e.extra),1)])],2)],2)):X("v-if",!0),v("div",{class:_(d(m).e("body"))},[v("table",{class:_([d(m).e("table"),d(m).is("bordered",e.border)])},[v("tbody",null,[(c(!0),f(g,null,z(S(),(p,i)=>(c(),I(pe,{key:i,row:p},null,8,["row"]))),128))])],2)],2)],2))}}),ue=de;const fe=te(ue,{DescriptionsItem:G}),ye=ee(G);export{ye as E,fe as a}; diff --git a/frontend/dist/assets/el-descriptions-DiaKmrx7.js b/frontend/dist/assets/el-descriptions-DiaKmrx7.js index 653d0e8..9420774 100644 --- a/frontend/dist/assets/el-descriptions-DiaKmrx7.js +++ b/frontend/dist/assets/el-descriptions-DiaKmrx7.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-descriptions-DiaKmrx7.js import{b as B,aR as H,d as P,R as J,am as A,a as L,K as x,I as D,a8 as Q,B as q,f as d,o as c,c as f,q as v,M as g,ad as z,e as I,s as F,bF as T,n as _,h as j,x as K,aa as M,g as X,j as Y,F as Z,ab as ee,l as te}from"./index-CD29OCdJ.js";import{g as se,f as le}from"./vnode-_QM9LlTR.js";import{e as ae}from"./index-6OTFNiIi.js";const O=["left","center","right"],re=B({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:H,title:{type:String,default:""},extra:{type:String,default:""},labelWidth:{type:[String,Number]}}),U="ElDescriptionsItem",ne=B({label:{type:String,default:""},span:{type:Number,default:1},rowspan:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},labelWidth:{type:[String,Number]},align:{type:String,values:O,default:"left"},labelAlign:{type:String,values:O},className:{type:String,default:""},labelClassName:{type:String,default:""}}),G=P({name:U,props:ne}),R=Symbol("elDescriptions"),ie=B({row:{type:J(Array),default:()=>[]}});var E=P({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:q(R,{})}},render(){var y;const e=se(this.cell),u=(((y=this.cell)==null?void 0:y.dirs)||[]).map(n=>{const{dir:a,arg:l,modifiers:W,value:$}=n;return[a,$,l,W]}),{border:m,direction:C}=this.descriptions,r=C==="vertical",h=()=>{var n,a,l;return((l=(a=(n=this.cell)==null?void 0:n.children)==null?void 0:a.label)==null?void 0:l.call(a))||e.label},k=()=>{var n,a,l;return(l=(a=(n=this.cell)==null?void 0:n.children)==null?void 0:a.default)==null?void 0:l.call(a)},S=e.span,s=e.rowspan,b=e.align?`is-${e.align}`:"",p=e.labelAlign?`is-${e.labelAlign}`:b,i=e.className,w=e.labelClassName,o={width:A(this.type==="label"?e.labelWidth??this.descriptions.labelWidth??e.width:e.width),minWidth:A(e.minWidth)},t=L("descriptions");switch(this.type){case"label":return x(D(this.tag,{style:o,class:[t.e("cell"),t.e("label"),t.is("bordered-label",m),t.is("vertical-label",r),p,w],colSpan:r?S:1,rowspan:r?1:s},h()),u);case"content":return x(D(this.tag,{style:o,class:[t.e("cell"),t.e("content"),t.is("bordered-content",m),t.is("vertical-content",r),b,i],colSpan:r?S:S*2-1,rowspan:r?s*2-1:s},k()),u);default:{const n=h(),a={},l=A(e.labelWidth??this.descriptions.labelWidth);return l&&(a.width=l,a.display="inline-block"),x(D("td",{style:o,class:[t.e("cell"),b],colSpan:S,rowspan:s},[Q(n)?void 0:D("span",{style:a,class:[t.e("label"),w]},n),D("span",{class:[t.e("content"),i]},k())]),u)}}}});const oe={key:1};var ce=P({name:"ElDescriptionsRow",__name:"descriptions-row",props:ie,setup(e){const u=q(R,{});return(m,C)=>d(u).direction==="vertical"?(c(),f(g,{key:0},[v("tr",null,[(c(!0),f(g,null,z(e.row,(r,h)=>(c(),I(d(E),{key:`tr1-${h}`,cell:r,tag:"th",type:"label"},null,8,["cell"]))),128))]),v("tr",null,[(c(!0),f(g,null,z(e.row,(r,h)=>(c(),I(d(E),{key:`tr2-${h}`,cell:r,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(c(),f("tr",oe,[(c(!0),f(g,null,z(e.row,(r,h)=>(c(),f(g,{key:`tr3-${h}`},[d(u).border?(c(),f(g,{key:0},[F(d(E),{cell:r,tag:"td",type:"label"},null,8,["cell"]),F(d(E),{cell:r,tag:"td",type:"content"},null,8,["cell"])],64)):(c(),I(d(E),{key:1,cell:r,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}}),pe=ce,de=P({name:"ElDescriptions",__name:"description",props:re,setup(e){const u=e,m=L("descriptions"),C=ae(),r=T();Z(R,u);const h=Y(()=>[m.b(),m.m(C.value)]),k=(s,b,p,i=!1)=>(s.props||(s.props={}),b>p&&(s.props.span=p),i&&(s.props.span=b),s),S=()=>{if(!r.default)return[];const s=le(r.default()).filter(t=>{var y;return((y=t==null?void 0:t.type)==null?void 0:y.name)===U}),b=[];let p=[],i=u.column,w=0;const o=[];return s.forEach((t,y)=>{var W,$,V;const n=((W=t.props)==null?void 0:W.span)||1,a=(($=t.props)==null?void 0:$.rowspan)||1,l=b.length;if(o[l]||(o[l]=0),a>1)for(let N=1;N0&&(i-=o[l],o[l]=0),yi?i:n),y===s.length-1){const N=u.column-w%u.column;p.push(k(t,N,i,!0)),b.push(p);return}n(c(),f("div",{class:_(h.value)},[e.title||e.extra||s.$slots.title||s.$slots.extra?(c(),f("div",{key:0,class:_(d(m).e("header"))},[v("div",{class:_(d(m).e("title"))},[j(s.$slots,"title",{},()=>[K(M(e.title),1)])],2),v("div",{class:_(d(m).e("extra"))},[j(s.$slots,"extra",{},()=>[K(M(e.extra),1)])],2)],2)):X("v-if",!0),v("div",{class:_(d(m).e("body"))},[v("table",{class:_([d(m).e("table"),d(m).is("bordered",e.border)])},[v("tbody",null,[(c(!0),f(g,null,z(S(),(p,i)=>(c(),I(pe,{key:i,row:p},null,8,["row"]))),128))])],2)],2)],2))}}),ue=de;const fe=te(ue,{DescriptionsItem:G}),ye=ee(G);export{ye as E,fe as a}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-descriptions-CsapHleL.js +import{b as B,aR as H,d as P,R as J,am as A,a as L,K as x,I as D,a8 as Q,B as q,f as d,o as c,c as f,q as v,M as g,ad as z,e as I,s as F,bF as T,n as _,h as j,x as K,aa as M,g as X,j as Y,F as Z,ab as ee,l as te}from"./index-Ds9AETjS.js";import{g as se,f as le}from"./vnode-CBiWHFw7.js";import{e as ae}from"./index-BNsCyG4A.js";const O=["left","center","right"],re=B({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:H,title:{type:String,default:""},extra:{type:String,default:""},labelWidth:{type:[String,Number]}}),U="ElDescriptionsItem",ne=B({label:{type:String,default:""},span:{type:Number,default:1},rowspan:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},labelWidth:{type:[String,Number]},align:{type:String,values:O,default:"left"},labelAlign:{type:String,values:O},className:{type:String,default:""},labelClassName:{type:String,default:""}}),G=P({name:U,props:ne}),R=Symbol("elDescriptions"),ie=B({row:{type:J(Array),default:()=>[]}});var E=P({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:q(R,{})}},render(){var y;const e=se(this.cell),u=(((y=this.cell)==null?void 0:y.dirs)||[]).map(n=>{const{dir:a,arg:l,modifiers:W,value:$}=n;return[a,$,l,W]}),{border:m,direction:C}=this.descriptions,r=C==="vertical",h=()=>{var n,a,l;return((l=(a=(n=this.cell)==null?void 0:n.children)==null?void 0:a.label)==null?void 0:l.call(a))||e.label},k=()=>{var n,a,l;return(l=(a=(n=this.cell)==null?void 0:n.children)==null?void 0:a.default)==null?void 0:l.call(a)},S=e.span,s=e.rowspan,b=e.align?`is-${e.align}`:"",p=e.labelAlign?`is-${e.labelAlign}`:b,i=e.className,w=e.labelClassName,o={width:A(this.type==="label"?e.labelWidth??this.descriptions.labelWidth??e.width:e.width),minWidth:A(e.minWidth)},t=L("descriptions");switch(this.type){case"label":return x(D(this.tag,{style:o,class:[t.e("cell"),t.e("label"),t.is("bordered-label",m),t.is("vertical-label",r),p,w],colSpan:r?S:1,rowspan:r?1:s},h()),u);case"content":return x(D(this.tag,{style:o,class:[t.e("cell"),t.e("content"),t.is("bordered-content",m),t.is("vertical-content",r),b,i],colSpan:r?S:S*2-1,rowspan:r?s*2-1:s},k()),u);default:{const n=h(),a={},l=A(e.labelWidth??this.descriptions.labelWidth);return l&&(a.width=l,a.display="inline-block"),x(D("td",{style:o,class:[t.e("cell"),b],colSpan:S,rowspan:s},[Q(n)?void 0:D("span",{style:a,class:[t.e("label"),w]},n),D("span",{class:[t.e("content"),i]},k())]),u)}}}});const oe={key:1};var ce=P({name:"ElDescriptionsRow",__name:"descriptions-row",props:ie,setup(e){const u=q(R,{});return(m,C)=>d(u).direction==="vertical"?(c(),f(g,{key:0},[v("tr",null,[(c(!0),f(g,null,z(e.row,(r,h)=>(c(),I(d(E),{key:`tr1-${h}`,cell:r,tag:"th",type:"label"},null,8,["cell"]))),128))]),v("tr",null,[(c(!0),f(g,null,z(e.row,(r,h)=>(c(),I(d(E),{key:`tr2-${h}`,cell:r,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(c(),f("tr",oe,[(c(!0),f(g,null,z(e.row,(r,h)=>(c(),f(g,{key:`tr3-${h}`},[d(u).border?(c(),f(g,{key:0},[F(d(E),{cell:r,tag:"td",type:"label"},null,8,["cell"]),F(d(E),{cell:r,tag:"td",type:"content"},null,8,["cell"])],64)):(c(),I(d(E),{key:1,cell:r,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}}),pe=ce,de=P({name:"ElDescriptions",__name:"description",props:re,setup(e){const u=e,m=L("descriptions"),C=ae(),r=T();Z(R,u);const h=Y(()=>[m.b(),m.m(C.value)]),k=(s,b,p,i=!1)=>(s.props||(s.props={}),b>p&&(s.props.span=p),i&&(s.props.span=b),s),S=()=>{if(!r.default)return[];const s=le(r.default()).filter(t=>{var y;return((y=t==null?void 0:t.type)==null?void 0:y.name)===U}),b=[];let p=[],i=u.column,w=0;const o=[];return s.forEach((t,y)=>{var W,$,V;const n=((W=t.props)==null?void 0:W.span)||1,a=(($=t.props)==null?void 0:$.rowspan)||1,l=b.length;if(o[l]||(o[l]=0),a>1)for(let N=1;N0&&(i-=o[l],o[l]=0),yi?i:n),y===s.length-1){const N=u.column-w%u.column;p.push(k(t,N,i,!0)),b.push(p);return}n(c(),f("div",{class:_(h.value)},[e.title||e.extra||s.$slots.title||s.$slots.extra?(c(),f("div",{key:0,class:_(d(m).e("header"))},[v("div",{class:_(d(m).e("title"))},[j(s.$slots,"title",{},()=>[K(M(e.title),1)])],2),v("div",{class:_(d(m).e("extra"))},[j(s.$slots,"extra",{},()=>[K(M(e.extra),1)])],2)],2)):X("v-if",!0),v("div",{class:_(d(m).e("body"))},[v("table",{class:_([d(m).e("table"),d(m).is("bordered",e.border)])},[v("tbody",null,[(c(!0),f(g,null,z(S(),(p,i)=>(c(),I(pe,{key:i,row:p},null,8,["row"]))),128))])],2)],2)],2))}}),ue=de;const fe=te(ue,{DescriptionsItem:G}),ye=ee(G);export{ye as E,fe as a}; +======== +import{b as B,aS as H,d as P,R as J,am as A,a as L,K as x,I as D,a8 as Q,B as q,f as d,o as c,c as f,q as v,M as g,ad as z,e as I,s as R,bF as T,n as _,h as j,x as K,aa as M,g as X,j as Y,F as Z,ab as ee,l as te}from"./index-CxbBjZKo.js";import{g as se,f as le}from"./vnode-DIVHEdsp.js";import{e as ae}from"./index-D23K2h6y.js";const O=["left","center","right"],re=B({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:H,title:{type:String,default:""},extra:{type:String,default:""},labelWidth:{type:[String,Number]}}),U="ElDescriptionsItem",ne=B({label:{type:String,default:""},span:{type:Number,default:1},rowspan:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},labelWidth:{type:[String,Number]},align:{type:String,values:O,default:"left"},labelAlign:{type:String,values:O},className:{type:String,default:""},labelClassName:{type:String,default:""}}),G=P({name:U,props:ne}),V=Symbol("elDescriptions"),ie=B({row:{type:J(Array),default:()=>[]}});var E=P({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:q(V,{})}},render(){var y;const e=se(this.cell),u=(((y=this.cell)==null?void 0:y.dirs)||[]).map(n=>{const{dir:a,arg:l,modifiers:W,value:$}=n;return[a,$,l,W]}),{border:m,direction:C}=this.descriptions,r=C==="vertical",h=()=>{var n,a,l;return((l=(a=(n=this.cell)==null?void 0:n.children)==null?void 0:a.label)==null?void 0:l.call(a))||e.label},k=()=>{var n,a,l;return(l=(a=(n=this.cell)==null?void 0:n.children)==null?void 0:a.default)==null?void 0:l.call(a)},S=e.span,s=e.rowspan,b=e.align?`is-${e.align}`:"",p=e.labelAlign?`is-${e.labelAlign}`:b,i=e.className,w=e.labelClassName,o={width:A(this.type==="label"?e.labelWidth??this.descriptions.labelWidth??e.width:e.width),minWidth:A(e.minWidth)},t=L("descriptions");switch(this.type){case"label":return x(D(this.tag,{style:o,class:[t.e("cell"),t.e("label"),t.is("bordered-label",m),t.is("vertical-label",r),p,w],colSpan:r?S:1,rowspan:r?1:s},h()),u);case"content":return x(D(this.tag,{style:o,class:[t.e("cell"),t.e("content"),t.is("bordered-content",m),t.is("vertical-content",r),b,i],colSpan:r?S:S*2-1,rowspan:r?s*2-1:s},k()),u);default:{const n=h(),a={},l=A(e.labelWidth??this.descriptions.labelWidth);return l&&(a.width=l,a.display="inline-block"),x(D("td",{style:o,class:[t.e("cell"),b],colSpan:S,rowspan:s},[Q(n)?void 0:D("span",{style:a,class:[t.e("label"),w]},n),D("span",{class:[t.e("content"),i]},k())]),u)}}}});const oe={key:1};var ce=P({name:"ElDescriptionsRow",__name:"descriptions-row",props:ie,setup(e){const u=q(V,{});return(m,C)=>d(u).direction==="vertical"?(c(),f(g,{key:0},[v("tr",null,[(c(!0),f(g,null,z(e.row,(r,h)=>(c(),I(d(E),{key:`tr1-${h}`,cell:r,tag:"th",type:"label"},null,8,["cell"]))),128))]),v("tr",null,[(c(!0),f(g,null,z(e.row,(r,h)=>(c(),I(d(E),{key:`tr2-${h}`,cell:r,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(c(),f("tr",oe,[(c(!0),f(g,null,z(e.row,(r,h)=>(c(),f(g,{key:`tr3-${h}`},[d(u).border?(c(),f(g,{key:0},[R(d(E),{cell:r,tag:"td",type:"label"},null,8,["cell"]),R(d(E),{cell:r,tag:"td",type:"content"},null,8,["cell"])],64)):(c(),I(d(E),{key:1,cell:r,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}}),pe=ce,de=P({name:"ElDescriptions",__name:"description",props:re,setup(e){const u=e,m=L("descriptions"),C=ae(),r=T();Z(V,u);const h=Y(()=>[m.b(),m.m(C.value)]),k=(s,b,p,i=!1)=>(s.props||(s.props={}),b>p&&(s.props.span=p),i&&(s.props.span=b),s),S=()=>{if(!r.default)return[];const s=le(r.default()).filter(t=>{var y;return((y=t==null?void 0:t.type)==null?void 0:y.name)===U}),b=[];let p=[],i=u.column,w=0;const o=[];return s.forEach((t,y)=>{var W,$,F;const n=((W=t.props)==null?void 0:W.span)||1,a=(($=t.props)==null?void 0:$.rowspan)||1,l=b.length;if(o[l]||(o[l]=0),a>1)for(let N=1;N0&&(i-=o[l],o[l]=0),yi?i:n),y===s.length-1){const N=u.column-w%u.column;p.push(k(t,N,i,!0)),b.push(p);return}n(c(),f("div",{class:_(h.value)},[e.title||e.extra||s.$slots.title||s.$slots.extra?(c(),f("div",{key:0,class:_(d(m).e("header"))},[v("div",{class:_(d(m).e("title"))},[j(s.$slots,"title",{},()=>[K(M(e.title),1)])],2),v("div",{class:_(d(m).e("extra"))},[j(s.$slots,"extra",{},()=>[K(M(e.extra),1)])],2)],2)):X("v-if",!0),v("div",{class:_(d(m).e("body"))},[v("table",{class:_([d(m).e("table"),d(m).is("bordered",e.border)])},[v("tbody",null,[(c(!0),f(g,null,z(S(),(p,i)=>(c(),I(pe,{key:i,row:p},null,8,["row"]))),128))])],2)],2)],2))}}),ue=de;const fe=te(ue,{DescriptionsItem:G}),ye=ee(G);export{ye as E,fe as a}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-descriptions-BNd8WHaD.js diff --git a/frontend/dist/assets/el-dialog-Dl0YWHPs.js b/frontend/dist/assets/el-dialog-Dl0YWHPs.js index 020af22..1d944ee 100644 --- a/frontend/dist/assets/el-dialog-Dl0YWHPs.js +++ b/frontend/dist/assets/el-dialog-Dl0YWHPs.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-dialog-Dl0YWHPs.js import{d as L,aW as G,B as q,o as u,c as A,q as R,h as i,n as t,f as e,aa as H,s as $,w as r,e as B,r as Q,bE as x,E as _,g as N,al as O,j as E,bF as ee,a as oe,K as se,Y as K,aX as ae,L as le,Z as te,bg as ne,y as M,F as re,l as ie}from"./index-CD29OCdJ.js";import{u as de}from"./index-6OTFNiIi.js";import{E as ce,a as ue}from"./index-roSlfP_P.js";import{F as fe,f as ge}from"./index-BpugJXyE.js";import{d as me,a as ve,b as j,c as be,e as ye,u as Ce}from"./use-dialog-DvXGfCuS.js";import{u as he}from"./index-D9N-GMuA.js";const pe=(...o)=>f=>{o.forEach(g=>{g.value=f})},we=["aria-level"],ke=["aria-label"],Re=["id"];var $e=L({name:"ElDialogContent",__name:"dialog-content",props:ve,emits:me,setup(o,{expose:f}){const{t:g}=G(),{Close:F}=x,a=o,{dialogRef:m,headerRef:y,bodyId:v,ns:s,style:C}=q(j),{focusTrapRef:h}=q(fe),D=pe(h,m),p=E(()=>!!a.draggable),{resetPosition:w,updatePosition:I,isDragging:P}=he(m,y,p,E(()=>!!a.overflow)),T=E(()=>[s.b(),s.is("fullscreen",a.fullscreen),s.is("draggable",p.value),s.is("dragging",P.value),s.is("align-center",!!a.alignCenter),{[s.m("center")]:a.center}]);return f({resetPosition:w,updatePosition:I}),(n,k)=>(u(),A("div",{ref:e(D),class:t(T.value),style:O(e(C)),tabindex:"-1"},[R("header",{ref_key:"headerRef",ref:y,class:t([e(s).e("header"),o.headerClass,{"show-close":o.showClose}])},[i(n.$slots,"header",{},()=>[R("span",{role:"heading","aria-level":o.ariaLevel,class:t(e(s).e("title"))},H(o.title),11,we)]),o.showClose?(u(),A("button",{key:0,"aria-label":e(g)("el.dialog.close"),class:t(e(s).e("headerbtn")),type:"button",onClick:k[0]||(k[0]=z=>n.$emit("close"))},[$(e(_),{class:t(e(s).e("close"))},{default:r(()=>[(u(),B(Q(o.closeIcon||e(F))))]),_:1},8,["class"])],10,ke)):N("v-if",!0)],2),R("div",{id:e(v),class:t([e(s).e("body"),o.bodyClass])},[i(n.$slots,"default")],10,Re),n.$slots.footer?(u(),A("footer",{key:0,class:t([e(s).e("footer"),o.footerClass])},[i(n.$slots,"footer")],2)):N("v-if",!0)],6))}}),Ee=$e;const Fe=["aria-label","aria-labelledby","aria-describedby"];var De=L({name:"ElDialog",inheritAttrs:!1,__name:"dialog",props:ye,emits:be,setup(o,{expose:f}){const g=o,F=ee();de({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},E(()=>!!F.title));const a=oe("dialog"),m=M(),y=M(),v=M(),{visible:s,titleId:C,bodyId:h,style:D,overlayDialogStyle:p,rendered:w,transitionConfig:I,zIndex:P,_draggable:T,_alignCenter:n,_overflow:k,penetrable:z,handleClose:S,onModalClick:V,onOpenAutoFocus:U,onCloseAutoFocus:Y,onCloseRequested:J,onFocusoutPrevented:W,bringToFront:X,closing:Z}=Ce(g,m);re(j,{dialogRef:m,headerRef:y,bodyId:h,ns:a,rendered:w,style:D});const d=ue(V);return f({visible:s,dialogContentRef:v,resetPosition:()=>{var l;(l=v.value)==null||l.resetPosition()},handleClose:S}),(l,c)=>(u(),B(ne,{to:o.appendTo,disabled:o.appendTo!=="body"?!1:!o.appendToBody},[$(te,K(e(I),{persisted:""}),{default:r(()=>[se($(e(ce),{"custom-mask-event":"",mask:o.modal,"overlay-class":[o.modalClass??"",`${e(a).namespace.value}-modal-dialog`,e(a).is("penetrable",e(z))],"z-index":e(P)},{default:r(()=>[R("div",{role:"dialog","aria-modal":"true","aria-label":o.title||void 0,"aria-labelledby":o.title?void 0:e(C),"aria-describedby":e(h),class:t([`${e(a).namespace.value}-overlay-dialog`,e(a).is("closing",e(Z))]),style:O(e(p)),onClick:c[0]||(c[0]=(...b)=>e(d).onClick&&e(d).onClick(...b)),onMousedown:c[1]||(c[1]=(...b)=>e(d).onMousedown&&e(d).onMousedown(...b)),onMouseup:c[2]||(c[2]=(...b)=>e(d).onMouseup&&e(d).onMouseup(...b))},[$(e(ge),{loop:"",trapped:e(s),"focus-start-el":"container",onFocusAfterTrapped:e(U),onFocusAfterReleased:e(Y),onFocusoutPrevented:e(W),onReleaseRequested:e(J)},{default:r(()=>[e(w)?(u(),B(Ee,K({key:0,ref_key:"dialogContentRef",ref:v},l.$attrs,{center:o.center,"align-center":e(n),"close-icon":o.closeIcon,draggable:e(T),overflow:e(k),fullscreen:o.fullscreen,"header-class":o.headerClass,"body-class":o.bodyClass,"footer-class":o.footerClass,"show-close":o.showClose,title:o.title,"aria-level":o.headerAriaLevel,onClose:e(S),onMousedown:e(X)}),ae({header:r(()=>[l.$slots.title?i(l.$slots,"title",{key:1}):i(l.$slots,"header",{key:0,close:e(S),titleId:e(C),titleClass:e(a).e("title")})]),default:r(()=>[i(l.$slots,"default")]),_:2},[l.$slots.footer?{name:"footer",fn:r(()=>[i(l.$slots,"footer")]),key:"0"}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","header-class","body-class","footer-class","show-close","title","aria-level","onClose","onMousedown"])):N("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,Fe)]),_:3},8,["mask","overlay-class","z-index"]),[[le,e(s)]])]),_:3},16)],8,["to","disabled"]))}}),Ie=De;const ze=ie(Ie);export{ze as E,pe as c}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-dialog-C3T3IeSf.js +import{d as L,aW as G,B as q,o as u,c as A,q as R,h as i,n as t,f as e,aa as H,s as $,w as r,e as B,r as Q,bE as x,E as _,g as N,al as O,j as E,bF as ee,a as oe,K as se,Y as K,aX as ae,L as le,Z as te,bg as ne,y as M,F as re,l as ie}from"./index-Ds9AETjS.js";import{u as de}from"./index-BNsCyG4A.js";import{E as ce,a as ue}from"./index-RtwaMutE.js";import{F as fe,f as ge}from"./index-sWKLi7bH.js";import{d as me,a as ve,b as j,c as be,e as ye,u as Ce}from"./use-dialog-gWD8AZr4.js";import{u as he}from"./index-jBnYrPdD.js";const pe=(...o)=>f=>{o.forEach(g=>{g.value=f})},we=["aria-level"],ke=["aria-label"],Re=["id"];var $e=L({name:"ElDialogContent",__name:"dialog-content",props:ve,emits:me,setup(o,{expose:f}){const{t:g}=G(),{Close:F}=x,a=o,{dialogRef:m,headerRef:y,bodyId:v,ns:s,style:C}=q(j),{focusTrapRef:h}=q(fe),D=pe(h,m),p=E(()=>!!a.draggable),{resetPosition:w,updatePosition:I,isDragging:P}=he(m,y,p,E(()=>!!a.overflow)),T=E(()=>[s.b(),s.is("fullscreen",a.fullscreen),s.is("draggable",p.value),s.is("dragging",P.value),s.is("align-center",!!a.alignCenter),{[s.m("center")]:a.center}]);return f({resetPosition:w,updatePosition:I}),(n,k)=>(u(),A("div",{ref:e(D),class:t(T.value),style:O(e(C)),tabindex:"-1"},[R("header",{ref_key:"headerRef",ref:y,class:t([e(s).e("header"),o.headerClass,{"show-close":o.showClose}])},[i(n.$slots,"header",{},()=>[R("span",{role:"heading","aria-level":o.ariaLevel,class:t(e(s).e("title"))},H(o.title),11,we)]),o.showClose?(u(),A("button",{key:0,"aria-label":e(g)("el.dialog.close"),class:t(e(s).e("headerbtn")),type:"button",onClick:k[0]||(k[0]=z=>n.$emit("close"))},[$(e(_),{class:t(e(s).e("close"))},{default:r(()=>[(u(),B(Q(o.closeIcon||e(F))))]),_:1},8,["class"])],10,ke)):N("v-if",!0)],2),R("div",{id:e(v),class:t([e(s).e("body"),o.bodyClass])},[i(n.$slots,"default")],10,Re),n.$slots.footer?(u(),A("footer",{key:0,class:t([e(s).e("footer"),o.footerClass])},[i(n.$slots,"footer")],2)):N("v-if",!0)],6))}}),Ee=$e;const Fe=["aria-label","aria-labelledby","aria-describedby"];var De=L({name:"ElDialog",inheritAttrs:!1,__name:"dialog",props:ye,emits:be,setup(o,{expose:f}){const g=o,F=ee();de({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},E(()=>!!F.title));const a=oe("dialog"),m=M(),y=M(),v=M(),{visible:s,titleId:C,bodyId:h,style:D,overlayDialogStyle:p,rendered:w,transitionConfig:I,zIndex:P,_draggable:T,_alignCenter:n,_overflow:k,penetrable:z,handleClose:S,onModalClick:V,onOpenAutoFocus:U,onCloseAutoFocus:Y,onCloseRequested:J,onFocusoutPrevented:W,bringToFront:X,closing:Z}=Ce(g,m);re(j,{dialogRef:m,headerRef:y,bodyId:h,ns:a,rendered:w,style:D});const d=ue(V);return f({visible:s,dialogContentRef:v,resetPosition:()=>{var l;(l=v.value)==null||l.resetPosition()},handleClose:S}),(l,c)=>(u(),B(ne,{to:o.appendTo,disabled:o.appendTo!=="body"?!1:!o.appendToBody},[$(te,K(e(I),{persisted:""}),{default:r(()=>[se($(e(ce),{"custom-mask-event":"",mask:o.modal,"overlay-class":[o.modalClass??"",`${e(a).namespace.value}-modal-dialog`,e(a).is("penetrable",e(z))],"z-index":e(P)},{default:r(()=>[R("div",{role:"dialog","aria-modal":"true","aria-label":o.title||void 0,"aria-labelledby":o.title?void 0:e(C),"aria-describedby":e(h),class:t([`${e(a).namespace.value}-overlay-dialog`,e(a).is("closing",e(Z))]),style:O(e(p)),onClick:c[0]||(c[0]=(...b)=>e(d).onClick&&e(d).onClick(...b)),onMousedown:c[1]||(c[1]=(...b)=>e(d).onMousedown&&e(d).onMousedown(...b)),onMouseup:c[2]||(c[2]=(...b)=>e(d).onMouseup&&e(d).onMouseup(...b))},[$(e(ge),{loop:"",trapped:e(s),"focus-start-el":"container",onFocusAfterTrapped:e(U),onFocusAfterReleased:e(Y),onFocusoutPrevented:e(W),onReleaseRequested:e(J)},{default:r(()=>[e(w)?(u(),B(Ee,K({key:0,ref_key:"dialogContentRef",ref:v},l.$attrs,{center:o.center,"align-center":e(n),"close-icon":o.closeIcon,draggable:e(T),overflow:e(k),fullscreen:o.fullscreen,"header-class":o.headerClass,"body-class":o.bodyClass,"footer-class":o.footerClass,"show-close":o.showClose,title:o.title,"aria-level":o.headerAriaLevel,onClose:e(S),onMousedown:e(X)}),ae({header:r(()=>[l.$slots.title?i(l.$slots,"title",{key:1}):i(l.$slots,"header",{key:0,close:e(S),titleId:e(C),titleClass:e(a).e("title")})]),default:r(()=>[i(l.$slots,"default")]),_:2},[l.$slots.footer?{name:"footer",fn:r(()=>[i(l.$slots,"footer")]),key:"0"}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","header-class","body-class","footer-class","show-close","title","aria-level","onClose","onMousedown"])):N("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,Fe)]),_:3},8,["mask","overlay-class","z-index"]),[[le,e(s)]])]),_:3},16)],8,["to","disabled"]))}}),Ie=De;const ze=ie(Ie);export{ze as E,pe as c}; +======== +import{d as L,aW as G,B as q,o as u,c as A,q as R,h as i,n as t,f as e,aa as H,s as $,w as r,e as B,r as Q,bE as x,E as _,g as N,al as O,j as E,bF as ee,a as oe,K as se,Y as K,aX as ae,L as le,Z as te,bg as ne,y as M,F as re,l as ie}from"./index-CxbBjZKo.js";import{u as de}from"./index-D23K2h6y.js";import{E as ce,a as ue}from"./index-36LucyXi.js";import{F as fe,f as ge}from"./index-DHcidAHK.js";import{d as me,a as ve,b as j,c as be,e as ye,u as Ce}from"./use-dialog-DGVjglW6.js";import{u as he}from"./index-C3HZL-2Y.js";const pe=(...o)=>f=>{o.forEach(g=>{g.value=f})},we=["aria-level"],ke=["aria-label"],Re=["id"];var $e=L({name:"ElDialogContent",__name:"dialog-content",props:ve,emits:me,setup(o,{expose:f}){const{t:g}=G(),{Close:F}=x,a=o,{dialogRef:m,headerRef:y,bodyId:v,ns:s,style:C}=q(j),{focusTrapRef:h}=q(fe),D=pe(h,m),p=E(()=>!!a.draggable),{resetPosition:w,updatePosition:I,isDragging:P}=he(m,y,p,E(()=>!!a.overflow)),T=E(()=>[s.b(),s.is("fullscreen",a.fullscreen),s.is("draggable",p.value),s.is("dragging",P.value),s.is("align-center",!!a.alignCenter),{[s.m("center")]:a.center}]);return f({resetPosition:w,updatePosition:I}),(n,k)=>(u(),A("div",{ref:e(D),class:t(T.value),style:O(e(C)),tabindex:"-1"},[R("header",{ref_key:"headerRef",ref:y,class:t([e(s).e("header"),o.headerClass,{"show-close":o.showClose}])},[i(n.$slots,"header",{},()=>[R("span",{role:"heading","aria-level":o.ariaLevel,class:t(e(s).e("title"))},H(o.title),11,we)]),o.showClose?(u(),A("button",{key:0,"aria-label":e(g)("el.dialog.close"),class:t(e(s).e("headerbtn")),type:"button",onClick:k[0]||(k[0]=z=>n.$emit("close"))},[$(e(_),{class:t(e(s).e("close"))},{default:r(()=>[(u(),B(Q(o.closeIcon||e(F))))]),_:1},8,["class"])],10,ke)):N("v-if",!0)],2),R("div",{id:e(v),class:t([e(s).e("body"),o.bodyClass])},[i(n.$slots,"default")],10,Re),n.$slots.footer?(u(),A("footer",{key:0,class:t([e(s).e("footer"),o.footerClass])},[i(n.$slots,"footer")],2)):N("v-if",!0)],6))}}),Ee=$e;const Fe=["aria-label","aria-labelledby","aria-describedby"];var De=L({name:"ElDialog",inheritAttrs:!1,__name:"dialog",props:ye,emits:be,setup(o,{expose:f}){const g=o,F=ee();de({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},E(()=>!!F.title));const a=oe("dialog"),m=M(),y=M(),v=M(),{visible:s,titleId:C,bodyId:h,style:D,overlayDialogStyle:p,rendered:w,transitionConfig:I,zIndex:P,_draggable:T,_alignCenter:n,_overflow:k,penetrable:z,handleClose:S,onModalClick:V,onOpenAutoFocus:U,onCloseAutoFocus:Y,onCloseRequested:J,onFocusoutPrevented:W,bringToFront:X,closing:Z}=Ce(g,m);re(j,{dialogRef:m,headerRef:y,bodyId:h,ns:a,rendered:w,style:D});const d=ue(V);return f({visible:s,dialogContentRef:v,resetPosition:()=>{var l;(l=v.value)==null||l.resetPosition()},handleClose:S}),(l,c)=>(u(),B(ne,{to:o.appendTo,disabled:o.appendTo!=="body"?!1:!o.appendToBody},[$(te,K(e(I),{persisted:""}),{default:r(()=>[se($(e(ce),{"custom-mask-event":"",mask:o.modal,"overlay-class":[o.modalClass??"",`${e(a).namespace.value}-modal-dialog`,e(a).is("penetrable",e(z))],"z-index":e(P)},{default:r(()=>[R("div",{role:"dialog","aria-modal":"true","aria-label":o.title||void 0,"aria-labelledby":o.title?void 0:e(C),"aria-describedby":e(h),class:t([`${e(a).namespace.value}-overlay-dialog`,e(a).is("closing",e(Z))]),style:O(e(p)),onClick:c[0]||(c[0]=(...b)=>e(d).onClick&&e(d).onClick(...b)),onMousedown:c[1]||(c[1]=(...b)=>e(d).onMousedown&&e(d).onMousedown(...b)),onMouseup:c[2]||(c[2]=(...b)=>e(d).onMouseup&&e(d).onMouseup(...b))},[$(e(ge),{loop:"",trapped:e(s),"focus-start-el":"container",onFocusAfterTrapped:e(U),onFocusAfterReleased:e(Y),onFocusoutPrevented:e(W),onReleaseRequested:e(J)},{default:r(()=>[e(w)?(u(),B(Ee,K({key:0,ref_key:"dialogContentRef",ref:v},l.$attrs,{center:o.center,"align-center":e(n),"close-icon":o.closeIcon,draggable:e(T),overflow:e(k),fullscreen:o.fullscreen,"header-class":o.headerClass,"body-class":o.bodyClass,"footer-class":o.footerClass,"show-close":o.showClose,title:o.title,"aria-level":o.headerAriaLevel,onClose:e(S),onMousedown:e(X)}),ae({header:r(()=>[l.$slots.title?i(l.$slots,"title",{key:1}):i(l.$slots,"header",{key:0,close:e(S),titleId:e(C),titleClass:e(a).e("title")})]),default:r(()=>[i(l.$slots,"default")]),_:2},[l.$slots.footer?{name:"footer",fn:r(()=>[i(l.$slots,"footer")]),key:"0"}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","header-class","body-class","footer-class","show-close","title","aria-level","onClose","onMousedown"])):N("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,Fe)]),_:3},8,["mask","overlay-class","z-index"]),[[le,e(s)]])]),_:3},16)],8,["to","disabled"]))}}),Ie=De;const ze=ie(Ie);export{ze as E,pe as c}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-dialog-fpsmuz8Z.js diff --git a/frontend/dist/assets/el-dialog-fpsmuz8Z.js b/frontend/dist/assets/el-dialog-fpsmuz8Z.js new file mode 100644 index 0000000..558875b --- /dev/null +++ b/frontend/dist/assets/el-dialog-fpsmuz8Z.js @@ -0,0 +1 @@ +import{d as L,aW as G,B as q,o as u,c as A,q as R,h as i,n as t,f as e,aa as H,s as $,w as r,e as B,r as Q,bE as x,E as _,g as N,al as O,j as E,bF as ee,a as oe,K as se,Y as K,aX as ae,L as le,Z as te,bg as ne,y as M,F as re,l as ie}from"./index-CxbBjZKo.js";import{u as de}from"./index-D23K2h6y.js";import{E as ce,a as ue}from"./index-36LucyXi.js";import{F as fe,f as ge}from"./index-DHcidAHK.js";import{d as me,a as ve,b as j,c as be,e as ye,u as Ce}from"./use-dialog-DGVjglW6.js";import{u as he}from"./index-C3HZL-2Y.js";const pe=(...o)=>f=>{o.forEach(g=>{g.value=f})},we=["aria-level"],ke=["aria-label"],Re=["id"];var $e=L({name:"ElDialogContent",__name:"dialog-content",props:ve,emits:me,setup(o,{expose:f}){const{t:g}=G(),{Close:F}=x,a=o,{dialogRef:m,headerRef:y,bodyId:v,ns:s,style:C}=q(j),{focusTrapRef:h}=q(fe),D=pe(h,m),p=E(()=>!!a.draggable),{resetPosition:w,updatePosition:I,isDragging:P}=he(m,y,p,E(()=>!!a.overflow)),T=E(()=>[s.b(),s.is("fullscreen",a.fullscreen),s.is("draggable",p.value),s.is("dragging",P.value),s.is("align-center",!!a.alignCenter),{[s.m("center")]:a.center}]);return f({resetPosition:w,updatePosition:I}),(n,k)=>(u(),A("div",{ref:e(D),class:t(T.value),style:O(e(C)),tabindex:"-1"},[R("header",{ref_key:"headerRef",ref:y,class:t([e(s).e("header"),o.headerClass,{"show-close":o.showClose}])},[i(n.$slots,"header",{},()=>[R("span",{role:"heading","aria-level":o.ariaLevel,class:t(e(s).e("title"))},H(o.title),11,we)]),o.showClose?(u(),A("button",{key:0,"aria-label":e(g)("el.dialog.close"),class:t(e(s).e("headerbtn")),type:"button",onClick:k[0]||(k[0]=z=>n.$emit("close"))},[$(e(_),{class:t(e(s).e("close"))},{default:r(()=>[(u(),B(Q(o.closeIcon||e(F))))]),_:1},8,["class"])],10,ke)):N("v-if",!0)],2),R("div",{id:e(v),class:t([e(s).e("body"),o.bodyClass])},[i(n.$slots,"default")],10,Re),n.$slots.footer?(u(),A("footer",{key:0,class:t([e(s).e("footer"),o.footerClass])},[i(n.$slots,"footer")],2)):N("v-if",!0)],6))}}),Ee=$e;const Fe=["aria-label","aria-labelledby","aria-describedby"];var De=L({name:"ElDialog",inheritAttrs:!1,__name:"dialog",props:ye,emits:be,setup(o,{expose:f}){const g=o,F=ee();de({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},E(()=>!!F.title));const a=oe("dialog"),m=M(),y=M(),v=M(),{visible:s,titleId:C,bodyId:h,style:D,overlayDialogStyle:p,rendered:w,transitionConfig:I,zIndex:P,_draggable:T,_alignCenter:n,_overflow:k,penetrable:z,handleClose:S,onModalClick:V,onOpenAutoFocus:U,onCloseAutoFocus:Y,onCloseRequested:J,onFocusoutPrevented:W,bringToFront:X,closing:Z}=Ce(g,m);re(j,{dialogRef:m,headerRef:y,bodyId:h,ns:a,rendered:w,style:D});const d=ue(V);return f({visible:s,dialogContentRef:v,resetPosition:()=>{var l;(l=v.value)==null||l.resetPosition()},handleClose:S}),(l,c)=>(u(),B(ne,{to:o.appendTo,disabled:o.appendTo!=="body"?!1:!o.appendToBody},[$(te,K(e(I),{persisted:""}),{default:r(()=>[se($(e(ce),{"custom-mask-event":"",mask:o.modal,"overlay-class":[o.modalClass??"",`${e(a).namespace.value}-modal-dialog`,e(a).is("penetrable",e(z))],"z-index":e(P)},{default:r(()=>[R("div",{role:"dialog","aria-modal":"true","aria-label":o.title||void 0,"aria-labelledby":o.title?void 0:e(C),"aria-describedby":e(h),class:t([`${e(a).namespace.value}-overlay-dialog`,e(a).is("closing",e(Z))]),style:O(e(p)),onClick:c[0]||(c[0]=(...b)=>e(d).onClick&&e(d).onClick(...b)),onMousedown:c[1]||(c[1]=(...b)=>e(d).onMousedown&&e(d).onMousedown(...b)),onMouseup:c[2]||(c[2]=(...b)=>e(d).onMouseup&&e(d).onMouseup(...b))},[$(e(ge),{loop:"",trapped:e(s),"focus-start-el":"container",onFocusAfterTrapped:e(U),onFocusAfterReleased:e(Y),onFocusoutPrevented:e(W),onReleaseRequested:e(J)},{default:r(()=>[e(w)?(u(),B(Ee,K({key:0,ref_key:"dialogContentRef",ref:v},l.$attrs,{center:o.center,"align-center":e(n),"close-icon":o.closeIcon,draggable:e(T),overflow:e(k),fullscreen:o.fullscreen,"header-class":o.headerClass,"body-class":o.bodyClass,"footer-class":o.footerClass,"show-close":o.showClose,title:o.title,"aria-level":o.headerAriaLevel,onClose:e(S),onMousedown:e(X)}),ae({header:r(()=>[l.$slots.title?i(l.$slots,"title",{key:1}):i(l.$slots,"header",{key:0,close:e(S),titleId:e(C),titleClass:e(a).e("title")})]),default:r(()=>[i(l.$slots,"default")]),_:2},[l.$slots.footer?{name:"footer",fn:r(()=>[i(l.$slots,"footer")]),key:"0"}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","header-class","body-class","footer-class","show-close","title","aria-level","onClose","onMousedown"])):N("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,Fe)]),_:3},8,["mask","overlay-class","z-index"]),[[le,e(s)]])]),_:3},16)],8,["to","disabled"]))}}),Ie=De;const ze=ie(Ie);export{ze as E,pe as c}; diff --git a/frontend/dist/assets/el-divider-B4fvp0nA.js b/frontend/dist/assets/el-divider-B4fvp0nA.js new file mode 100644 index 0000000..24accbe --- /dev/null +++ b/frontend/dist/assets/el-divider-B4fvp0nA.js @@ -0,0 +1 @@ +import{b as d,R as c,d as u,a as v,o as s,c as i,n as o,f as r,h as p,g as f,al as m,j as y,l as S}from"./index-CxbBjZKo.js";const b=d({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:c(String),default:"solid"}});var g=u({name:"ElDivider",__name:"divider",props:b,setup(t){const l=t,e=v("divider"),n=y(()=>e.cssVar({"border-style":l.borderStyle}));return(a,P)=>(s(),i("div",{class:o([r(e).b(),r(e).m(t.direction)]),style:m(n.value),role:"separator"},[a.$slots.default&&t.direction!=="vertical"?(s(),i("div",{key:0,class:o([r(e).e("text"),r(e).is(t.contentPosition)])},[p(a.$slots,"default")],2)):f("v-if",!0)],6))}}),h=g;const z=S(h);export{z as E}; diff --git a/frontend/dist/assets/el-divider-Bk8dYjWT.js b/frontend/dist/assets/el-divider-Bk8dYjWT.js index b96f094..246b0c1 100644 --- a/frontend/dist/assets/el-divider-Bk8dYjWT.js +++ b/frontend/dist/assets/el-divider-Bk8dYjWT.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-divider-Bk8dYjWT.js import{b as d,R as c,d as u,a as v,o as s,c as i,n as o,f as r,h as p,g as f,al as m,j as y,l as S}from"./index-CD29OCdJ.js";const b=d({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:c(String),default:"solid"}});var g=u({name:"ElDivider",__name:"divider",props:b,setup(t){const l=t,e=v("divider"),n=y(()=>e.cssVar({"border-style":l.borderStyle}));return(a,P)=>(s(),i("div",{class:o([r(e).b(),r(e).m(t.direction)]),style:m(n.value),role:"separator"},[a.$slots.default&&t.direction!=="vertical"?(s(),i("div",{key:0,class:o([r(e).e("text"),r(e).is(t.contentPosition)])},[p(a.$slots,"default")],2)):f("v-if",!0)],6))}}),h=g;const z=S(h);export{z as E}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-divider-a924dciw.js +import{b as d,R as c,d as u,a as v,o as s,c as i,n as o,f as r,h as p,g as f,al as m,j as y,l as S}from"./index-Ds9AETjS.js";const b=d({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:c(String),default:"solid"}});var g=u({name:"ElDivider",__name:"divider",props:b,setup(t){const l=t,e=v("divider"),n=y(()=>e.cssVar({"border-style":l.borderStyle}));return(a,P)=>(s(),i("div",{class:o([r(e).b(),r(e).m(t.direction)]),style:m(n.value),role:"separator"},[a.$slots.default&&t.direction!=="vertical"?(s(),i("div",{key:0,class:o([r(e).e("text"),r(e).is(t.contentPosition)])},[p(a.$slots,"default")],2)):f("v-if",!0)],6))}}),h=g;const z=S(h);export{z as E}; +======== +import{b as d,R as c,d as u,a as v,o as s,c as i,n as o,f as r,h as p,g as f,al as m,j as y,l as S}from"./index-CxbBjZKo.js";const b=d({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:c(String),default:"solid"}});var g=u({name:"ElDivider",__name:"divider",props:b,setup(t){const l=t,e=v("divider"),n=y(()=>e.cssVar({"border-style":l.borderStyle}));return(a,P)=>(s(),i("div",{class:o([r(e).b(),r(e).m(t.direction)]),style:m(n.value),role:"separator"},[a.$slots.default&&t.direction!=="vertical"?(s(),i("div",{key:0,class:o([r(e).e("text"),r(e).is(t.contentPosition)])},[p(a.$slots,"default")],2)):f("v-if",!0)],6))}}),h=g;const z=S(h);export{z as E}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-divider-B4fvp0nA.js diff --git a/frontend/dist/assets/el-drawer-CJxSltWc.js b/frontend/dist/assets/el-drawer-CJxSltWc.js index 06064e4..e4e390a 100644 --- a/frontend/dist/assets/el-drawer-CJxSltWc.js +++ b/frontend/dist/assets/el-drawer-CJxSltWc.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-drawer-CJxSltWc.js import{b as V,D as W,aS as I,H as X,j as d,y as u,bG as j,am as G,bH as K,d as Z,bF as J,a as Q,aW as _,o as p,e as ee,s as S,w as F,K as ae,f as e,q as N,Y as te,aL as se,n as r,c as R,h as D,aa as oe,g as z,E as le,b1 as re,al as ne,L as ie,Z as de,bg as ue,l as fe}from"./index-CD29OCdJ.js";import{u as ce}from"./index-6OTFNiIi.js";import{f as ve}from"./index-BpugJXyE.js";import{E as me}from"./index-roSlfP_P.js";import{c as be,e as ge,u as we}from"./use-dialog-DvXGfCuS.js";const ye=V({...ge,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},resizable:Boolean,size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),he={...be,"resize-start":(a,o)=>a instanceof MouseEvent&&typeof o=="number",resize:(a,o)=>a instanceof MouseEvent&&typeof o=="number","resize-end":(a,o)=>a instanceof MouseEvent&&typeof o=="number"};function pe(a,o,E){const{width:f,height:P}=K(),c=d(()=>["ltr","rtl"].includes(a.direction)),k=d(()=>["ltr","ttb"].includes(a.direction)?1:-1),A=d(()=>c.value?f.value:P.value),v=d(()=>j(t.value+k.value*m.value,4,A.value)),t=u(0),m=u(0),b=u(!1),g=u(!1);let w=[],n=[];const $=()=>{var l;const s=(l=o.value)==null?void 0:l.closest('[aria-modal="true"]');return s?c.value?s.offsetWidth:s.offsetHeight:100};W(()=>[a.size,a.resizable],()=>{g.value=!1,t.value=0,m.value=0,y()});const C=s=>{a.resizable&&(g.value||(t.value=$(),g.value=!0),w=[s.pageX,s.pageY],b.value=!0,E("resize-start",s,t.value),n.push(I(window,"mouseup",y),I(window,"mousemove",L)))},L=s=>{const{pageX:l,pageY:T}=s,H=l-w[0],h=T-w[1];m.value=c.value?H:h,E("resize",s,v.value)},y=s=>{b.value&&(w=[],t.value=v.value,m.value=0,b.value=!1,n.forEach(l=>l==null?void 0:l()),n=[],s&&E("resize-end",s,t.value))},M=I(o,"mousedown",C);return X(()=>{M(),y()}),{size:d(()=>g.value?`${v.value}px`:G(a.size)),isResizing:b,isHorizontal:c}}const ze=["aria-label","aria-labelledby","aria-describedby"],Ee=["id","aria-level"],ke=["aria-label"],Ce=["id"];var Se=Z({name:"ElDrawer",inheritAttrs:!1,__name:"drawer",props:ye,emits:he,setup(a,{expose:o,emit:E}){const f=a,P=E,c=J();ce({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},d(()=>!!c.title));const k=u(),A=u(),v=u(),t=Q("drawer"),{t:m}=_(),{afterEnter:b,afterLeave:g,beforeLeave:w,visible:n,rendered:$,titleId:C,bodyId:L,zIndex:y,onModalClick:M,onOpenAutoFocus:s,onCloseAutoFocus:l,onFocusoutPrevented:T,onCloseRequested:H,handleClose:h}=we(f,k),{isHorizontal:q,size:U,isResizing:Y}=pe(f,v,P),x=d(()=>f.modalPenetrable&&!f.modal);return o({handleClose:h}),(i,B)=>(p(),ee(ue,{to:a.appendTo,disabled:a.appendTo!=="body"?!1:!a.appendToBody},[S(de,{name:e(t).b("fade"),onAfterEnter:e(b),onAfterLeave:e(g),onBeforeLeave:e(w),persisted:""},{default:F(()=>[ae(S(e(me),{mask:a.modal,"overlay-class":[e(t).is("drawer"),a.modalClass??"",`${e(t).namespace.value}-modal-drawer`,e(t).is("penetrable",x.value)],"z-index":e(y),onClick:e(M)},{default:F(()=>[S(e(ve),{loop:"",trapped:e(n),"focus-trap-el":k.value,"focus-start-el":A.value,onFocusAfterTrapped:e(s),onFocusAfterReleased:e(l),onFocusoutPrevented:e(T),onReleaseRequested:e(H)},{default:F(()=>[N("div",te({ref_key:"drawerRef",ref:k,"aria-modal":"true","aria-label":a.title||void 0,"aria-labelledby":a.title?void 0:e(C),"aria-describedby":e(L)},i.$attrs,{class:[e(t).b(),a.direction,e(n)&&"open",e(t).is("dragging",e(Y))],style:{[e(q)?"width":"height"]:e(U)},role:"dialog",onClick:B[1]||(B[1]=se(()=>{},["stop"]))}),[N("span",{ref_key:"focusStartRef",ref:A,class:r(e(t).e("sr-focus")),tabindex:"-1"},null,2),a.withHeader?(p(),R("header",{key:0,class:r([e(t).e("header"),a.headerClass])},[i.$slots.title?D(i.$slots,"title",{key:1},()=>[z(" DEPRECATED SLOT ")]):D(i.$slots,"header",{key:0,close:e(h),titleId:e(C),titleClass:e(t).e("title")},()=>[N("span",{id:e(C),role:"heading","aria-level":a.headerAriaLevel,class:r(e(t).e("title"))},oe(a.title),11,Ee)]),a.showClose?(p(),R("button",{key:2,"aria-label":e(m)("el.drawer.close"),class:r(e(t).e("close-btn")),type:"button",onClick:B[0]||(B[0]=(...O)=>e(h)&&e(h)(...O))},[S(e(le),{class:r(e(t).e("close"))},{default:F(()=>[S(e(re))]),_:1},8,["class"])],10,ke)):z("v-if",!0)],2)):z("v-if",!0),e($)?(p(),R("div",{key:1,id:e(L),class:r([e(t).e("body"),a.bodyClass])},[D(i.$slots,"default")],10,Ce)):z("v-if",!0),i.$slots.footer?(p(),R("div",{key:2,class:r([e(t).e("footer"),a.footerClass])},[D(i.$slots,"footer")],2)):z("v-if",!0),a.resizable?(p(),R("div",{key:3,ref_key:"draggerRef",ref:v,style:ne({zIndex:e(y)}),class:r(e(t).e("dragger"))},null,6)):z("v-if",!0)],16,ze)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[ie,e(n)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["to","disabled"]))}}),Re=Se;const Pe=fe(Re);export{Pe as E}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-drawer-BDGl0H79.js +import{b as V,D as W,aS as I,H as X,j as d,y as u,bG as j,am as G,bH as K,d as Z,bF as J,a as Q,aW as _,o as p,e as ee,s as S,w as F,K as ae,f as e,q as N,Y as te,aL as se,n as r,c as R,h as D,aa as oe,g as z,E as le,b1 as re,al as ne,L as ie,Z as de,bg as ue,l as fe}from"./index-Ds9AETjS.js";import{u as ce}from"./index-BNsCyG4A.js";import{f as ve}from"./index-sWKLi7bH.js";import{E as me}from"./index-RtwaMutE.js";import{c as be,e as ge,u as we}from"./use-dialog-gWD8AZr4.js";const ye=V({...ge,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},resizable:Boolean,size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),he={...be,"resize-start":(a,o)=>a instanceof MouseEvent&&typeof o=="number",resize:(a,o)=>a instanceof MouseEvent&&typeof o=="number","resize-end":(a,o)=>a instanceof MouseEvent&&typeof o=="number"};function pe(a,o,E){const{width:f,height:P}=K(),c=d(()=>["ltr","rtl"].includes(a.direction)),k=d(()=>["ltr","ttb"].includes(a.direction)?1:-1),A=d(()=>c.value?f.value:P.value),v=d(()=>j(t.value+k.value*m.value,4,A.value)),t=u(0),m=u(0),b=u(!1),g=u(!1);let w=[],n=[];const $=()=>{var l;const s=(l=o.value)==null?void 0:l.closest('[aria-modal="true"]');return s?c.value?s.offsetWidth:s.offsetHeight:100};W(()=>[a.size,a.resizable],()=>{g.value=!1,t.value=0,m.value=0,y()});const C=s=>{a.resizable&&(g.value||(t.value=$(),g.value=!0),w=[s.pageX,s.pageY],b.value=!0,E("resize-start",s,t.value),n.push(I(window,"mouseup",y),I(window,"mousemove",L)))},L=s=>{const{pageX:l,pageY:T}=s,H=l-w[0],h=T-w[1];m.value=c.value?H:h,E("resize",s,v.value)},y=s=>{b.value&&(w=[],t.value=v.value,m.value=0,b.value=!1,n.forEach(l=>l==null?void 0:l()),n=[],s&&E("resize-end",s,t.value))},M=I(o,"mousedown",C);return X(()=>{M(),y()}),{size:d(()=>g.value?`${v.value}px`:G(a.size)),isResizing:b,isHorizontal:c}}const ze=["aria-label","aria-labelledby","aria-describedby"],Ee=["id","aria-level"],ke=["aria-label"],Ce=["id"];var Se=Z({name:"ElDrawer",inheritAttrs:!1,__name:"drawer",props:ye,emits:he,setup(a,{expose:o,emit:E}){const f=a,P=E,c=J();ce({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},d(()=>!!c.title));const k=u(),A=u(),v=u(),t=Q("drawer"),{t:m}=_(),{afterEnter:b,afterLeave:g,beforeLeave:w,visible:n,rendered:$,titleId:C,bodyId:L,zIndex:y,onModalClick:M,onOpenAutoFocus:s,onCloseAutoFocus:l,onFocusoutPrevented:T,onCloseRequested:H,handleClose:h}=we(f,k),{isHorizontal:q,size:U,isResizing:Y}=pe(f,v,P),x=d(()=>f.modalPenetrable&&!f.modal);return o({handleClose:h}),(i,B)=>(p(),ee(ue,{to:a.appendTo,disabled:a.appendTo!=="body"?!1:!a.appendToBody},[S(de,{name:e(t).b("fade"),onAfterEnter:e(b),onAfterLeave:e(g),onBeforeLeave:e(w),persisted:""},{default:F(()=>[ae(S(e(me),{mask:a.modal,"overlay-class":[e(t).is("drawer"),a.modalClass??"",`${e(t).namespace.value}-modal-drawer`,e(t).is("penetrable",x.value)],"z-index":e(y),onClick:e(M)},{default:F(()=>[S(e(ve),{loop:"",trapped:e(n),"focus-trap-el":k.value,"focus-start-el":A.value,onFocusAfterTrapped:e(s),onFocusAfterReleased:e(l),onFocusoutPrevented:e(T),onReleaseRequested:e(H)},{default:F(()=>[N("div",te({ref_key:"drawerRef",ref:k,"aria-modal":"true","aria-label":a.title||void 0,"aria-labelledby":a.title?void 0:e(C),"aria-describedby":e(L)},i.$attrs,{class:[e(t).b(),a.direction,e(n)&&"open",e(t).is("dragging",e(Y))],style:{[e(q)?"width":"height"]:e(U)},role:"dialog",onClick:B[1]||(B[1]=se(()=>{},["stop"]))}),[N("span",{ref_key:"focusStartRef",ref:A,class:r(e(t).e("sr-focus")),tabindex:"-1"},null,2),a.withHeader?(p(),R("header",{key:0,class:r([e(t).e("header"),a.headerClass])},[i.$slots.title?D(i.$slots,"title",{key:1},()=>[z(" DEPRECATED SLOT ")]):D(i.$slots,"header",{key:0,close:e(h),titleId:e(C),titleClass:e(t).e("title")},()=>[N("span",{id:e(C),role:"heading","aria-level":a.headerAriaLevel,class:r(e(t).e("title"))},oe(a.title),11,Ee)]),a.showClose?(p(),R("button",{key:2,"aria-label":e(m)("el.drawer.close"),class:r(e(t).e("close-btn")),type:"button",onClick:B[0]||(B[0]=(...O)=>e(h)&&e(h)(...O))},[S(e(le),{class:r(e(t).e("close"))},{default:F(()=>[S(e(re))]),_:1},8,["class"])],10,ke)):z("v-if",!0)],2)):z("v-if",!0),e($)?(p(),R("div",{key:1,id:e(L),class:r([e(t).e("body"),a.bodyClass])},[D(i.$slots,"default")],10,Ce)):z("v-if",!0),i.$slots.footer?(p(),R("div",{key:2,class:r([e(t).e("footer"),a.footerClass])},[D(i.$slots,"footer")],2)):z("v-if",!0),a.resizable?(p(),R("div",{key:3,ref_key:"draggerRef",ref:v,style:ne({zIndex:e(y)}),class:r(e(t).e("dragger"))},null,6)):z("v-if",!0)],16,ze)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[ie,e(n)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["to","disabled"]))}}),Re=Se;const Pe=fe(Re);export{Pe as E}; +======== +import{b as V,D as W,aT as I,H as X,j as d,y as u,bG as j,am as G,bH as K,d as Z,bF as J,a as Q,aW as _,o as p,e as ee,s as S,w as F,K as ae,f as e,q as N,Y as te,aL as se,n as r,c as R,h as D,aa as oe,g as z,E as le,b1 as re,al as ne,L as ie,Z as de,bg as ue,l as fe}from"./index-CxbBjZKo.js";import{u as ce}from"./index-D23K2h6y.js";import{f as ve}from"./index-DHcidAHK.js";import{E as me}from"./index-36LucyXi.js";import{c as be,e as ge,u as we}from"./use-dialog-DGVjglW6.js";const ye=V({...ge,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},resizable:Boolean,size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),he={...be,"resize-start":(a,o)=>a instanceof MouseEvent&&typeof o=="number",resize:(a,o)=>a instanceof MouseEvent&&typeof o=="number","resize-end":(a,o)=>a instanceof MouseEvent&&typeof o=="number"};function pe(a,o,E){const{width:f,height:P}=K(),c=d(()=>["ltr","rtl"].includes(a.direction)),k=d(()=>["ltr","ttb"].includes(a.direction)?1:-1),A=d(()=>c.value?f.value:P.value),v=d(()=>j(t.value+k.value*m.value,4,A.value)),t=u(0),m=u(0),b=u(!1),g=u(!1);let w=[],n=[];const T=()=>{var l;const s=(l=o.value)==null?void 0:l.closest('[aria-modal="true"]');return s?c.value?s.offsetWidth:s.offsetHeight:100};W(()=>[a.size,a.resizable],()=>{g.value=!1,t.value=0,m.value=0,y()});const C=s=>{a.resizable&&(g.value||(t.value=T(),g.value=!0),w=[s.pageX,s.pageY],b.value=!0,E("resize-start",s,t.value),n.push(I(window,"mouseup",y),I(window,"mousemove",L)))},L=s=>{const{pageX:l,pageY:M}=s,H=l-w[0],h=M-w[1];m.value=c.value?H:h,E("resize",s,v.value)},y=s=>{b.value&&(w=[],t.value=v.value,m.value=0,b.value=!1,n.forEach(l=>l==null?void 0:l()),n=[],s&&E("resize-end",s,t.value))},$=I(o,"mousedown",C);return X(()=>{$(),y()}),{size:d(()=>g.value?`${v.value}px`:G(a.size)),isResizing:b,isHorizontal:c}}const ze=["aria-label","aria-labelledby","aria-describedby"],Ee=["id","aria-level"],ke=["aria-label"],Ce=["id"];var Se=Z({name:"ElDrawer",inheritAttrs:!1,__name:"drawer",props:ye,emits:he,setup(a,{expose:o,emit:E}){const f=a,P=E,c=J();ce({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},d(()=>!!c.title));const k=u(),A=u(),v=u(),t=Q("drawer"),{t:m}=_(),{afterEnter:b,afterLeave:g,beforeLeave:w,visible:n,rendered:T,titleId:C,bodyId:L,zIndex:y,onModalClick:$,onOpenAutoFocus:s,onCloseAutoFocus:l,onFocusoutPrevented:M,onCloseRequested:H,handleClose:h}=we(f,k),{isHorizontal:q,size:U,isResizing:Y}=pe(f,v,P),x=d(()=>f.modalPenetrable&&!f.modal);return o({handleClose:h}),(i,B)=>(p(),ee(ue,{to:a.appendTo,disabled:a.appendTo!=="body"?!1:!a.appendToBody},[S(de,{name:e(t).b("fade"),onAfterEnter:e(b),onAfterLeave:e(g),onBeforeLeave:e(w),persisted:""},{default:F(()=>[ae(S(e(me),{mask:a.modal,"overlay-class":[e(t).is("drawer"),a.modalClass??"",`${e(t).namespace.value}-modal-drawer`,e(t).is("penetrable",x.value)],"z-index":e(y),onClick:e($)},{default:F(()=>[S(e(ve),{loop:"",trapped:e(n),"focus-trap-el":k.value,"focus-start-el":A.value,onFocusAfterTrapped:e(s),onFocusAfterReleased:e(l),onFocusoutPrevented:e(M),onReleaseRequested:e(H)},{default:F(()=>[N("div",te({ref_key:"drawerRef",ref:k,"aria-modal":"true","aria-label":a.title||void 0,"aria-labelledby":a.title?void 0:e(C),"aria-describedby":e(L)},i.$attrs,{class:[e(t).b(),a.direction,e(n)&&"open",e(t).is("dragging",e(Y))],style:{[e(q)?"width":"height"]:e(U)},role:"dialog",onClick:B[1]||(B[1]=se(()=>{},["stop"]))}),[N("span",{ref_key:"focusStartRef",ref:A,class:r(e(t).e("sr-focus")),tabindex:"-1"},null,2),a.withHeader?(p(),R("header",{key:0,class:r([e(t).e("header"),a.headerClass])},[i.$slots.title?D(i.$slots,"title",{key:1},()=>[z(" DEPRECATED SLOT ")]):D(i.$slots,"header",{key:0,close:e(h),titleId:e(C),titleClass:e(t).e("title")},()=>[N("span",{id:e(C),role:"heading","aria-level":a.headerAriaLevel,class:r(e(t).e("title"))},oe(a.title),11,Ee)]),a.showClose?(p(),R("button",{key:2,"aria-label":e(m)("el.drawer.close"),class:r(e(t).e("close-btn")),type:"button",onClick:B[0]||(B[0]=(...O)=>e(h)&&e(h)(...O))},[S(e(le),{class:r(e(t).e("close"))},{default:F(()=>[S(e(re))]),_:1},8,["class"])],10,ke)):z("v-if",!0)],2)):z("v-if",!0),e(T)?(p(),R("div",{key:1,id:e(L),class:r([e(t).e("body"),a.bodyClass])},[D(i.$slots,"default")],10,Ce)):z("v-if",!0),i.$slots.footer?(p(),R("div",{key:2,class:r([e(t).e("footer"),a.footerClass])},[D(i.$slots,"footer")],2)):z("v-if",!0),a.resizable?(p(),R("div",{key:3,ref_key:"draggerRef",ref:v,style:ne({zIndex:e(y)}),class:r(e(t).e("dragger"))},null,6)):z("v-if",!0)],16,ze)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[ie,e(n)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["to","disabled"]))}}),Re=Se;const Pe=fe(Re);export{Pe as E}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-drawer-DaAwE3bJ.js diff --git a/frontend/dist/assets/el-drawer-DaAwE3bJ.js b/frontend/dist/assets/el-drawer-DaAwE3bJ.js new file mode 100644 index 0000000..13c0cea --- /dev/null +++ b/frontend/dist/assets/el-drawer-DaAwE3bJ.js @@ -0,0 +1 @@ +import{b as V,D as W,aT as I,H as X,j as d,y as u,bG as j,am as G,bH as K,d as Z,bF as J,a as Q,aW as _,o as p,e as ee,s as S,w as F,K as ae,f as e,q as N,Y as te,aL as se,n as r,c as R,h as D,aa as oe,g as z,E as le,b1 as re,al as ne,L as ie,Z as de,bg as ue,l as fe}from"./index-CxbBjZKo.js";import{u as ce}from"./index-D23K2h6y.js";import{f as ve}from"./index-DHcidAHK.js";import{E as me}from"./index-36LucyXi.js";import{c as be,e as ge,u as we}from"./use-dialog-DGVjglW6.js";const ye=V({...ge,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},resizable:Boolean,size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),he={...be,"resize-start":(a,o)=>a instanceof MouseEvent&&typeof o=="number",resize:(a,o)=>a instanceof MouseEvent&&typeof o=="number","resize-end":(a,o)=>a instanceof MouseEvent&&typeof o=="number"};function pe(a,o,E){const{width:f,height:P}=K(),c=d(()=>["ltr","rtl"].includes(a.direction)),k=d(()=>["ltr","ttb"].includes(a.direction)?1:-1),A=d(()=>c.value?f.value:P.value),v=d(()=>j(t.value+k.value*m.value,4,A.value)),t=u(0),m=u(0),b=u(!1),g=u(!1);let w=[],n=[];const T=()=>{var l;const s=(l=o.value)==null?void 0:l.closest('[aria-modal="true"]');return s?c.value?s.offsetWidth:s.offsetHeight:100};W(()=>[a.size,a.resizable],()=>{g.value=!1,t.value=0,m.value=0,y()});const C=s=>{a.resizable&&(g.value||(t.value=T(),g.value=!0),w=[s.pageX,s.pageY],b.value=!0,E("resize-start",s,t.value),n.push(I(window,"mouseup",y),I(window,"mousemove",L)))},L=s=>{const{pageX:l,pageY:M}=s,H=l-w[0],h=M-w[1];m.value=c.value?H:h,E("resize",s,v.value)},y=s=>{b.value&&(w=[],t.value=v.value,m.value=0,b.value=!1,n.forEach(l=>l==null?void 0:l()),n=[],s&&E("resize-end",s,t.value))},$=I(o,"mousedown",C);return X(()=>{$(),y()}),{size:d(()=>g.value?`${v.value}px`:G(a.size)),isResizing:b,isHorizontal:c}}const ze=["aria-label","aria-labelledby","aria-describedby"],Ee=["id","aria-level"],ke=["aria-label"],Ce=["id"];var Se=Z({name:"ElDrawer",inheritAttrs:!1,__name:"drawer",props:ye,emits:he,setup(a,{expose:o,emit:E}){const f=a,P=E,c=J();ce({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},d(()=>!!c.title));const k=u(),A=u(),v=u(),t=Q("drawer"),{t:m}=_(),{afterEnter:b,afterLeave:g,beforeLeave:w,visible:n,rendered:T,titleId:C,bodyId:L,zIndex:y,onModalClick:$,onOpenAutoFocus:s,onCloseAutoFocus:l,onFocusoutPrevented:M,onCloseRequested:H,handleClose:h}=we(f,k),{isHorizontal:q,size:U,isResizing:Y}=pe(f,v,P),x=d(()=>f.modalPenetrable&&!f.modal);return o({handleClose:h}),(i,B)=>(p(),ee(ue,{to:a.appendTo,disabled:a.appendTo!=="body"?!1:!a.appendToBody},[S(de,{name:e(t).b("fade"),onAfterEnter:e(b),onAfterLeave:e(g),onBeforeLeave:e(w),persisted:""},{default:F(()=>[ae(S(e(me),{mask:a.modal,"overlay-class":[e(t).is("drawer"),a.modalClass??"",`${e(t).namespace.value}-modal-drawer`,e(t).is("penetrable",x.value)],"z-index":e(y),onClick:e($)},{default:F(()=>[S(e(ve),{loop:"",trapped:e(n),"focus-trap-el":k.value,"focus-start-el":A.value,onFocusAfterTrapped:e(s),onFocusAfterReleased:e(l),onFocusoutPrevented:e(M),onReleaseRequested:e(H)},{default:F(()=>[N("div",te({ref_key:"drawerRef",ref:k,"aria-modal":"true","aria-label":a.title||void 0,"aria-labelledby":a.title?void 0:e(C),"aria-describedby":e(L)},i.$attrs,{class:[e(t).b(),a.direction,e(n)&&"open",e(t).is("dragging",e(Y))],style:{[e(q)?"width":"height"]:e(U)},role:"dialog",onClick:B[1]||(B[1]=se(()=>{},["stop"]))}),[N("span",{ref_key:"focusStartRef",ref:A,class:r(e(t).e("sr-focus")),tabindex:"-1"},null,2),a.withHeader?(p(),R("header",{key:0,class:r([e(t).e("header"),a.headerClass])},[i.$slots.title?D(i.$slots,"title",{key:1},()=>[z(" DEPRECATED SLOT ")]):D(i.$slots,"header",{key:0,close:e(h),titleId:e(C),titleClass:e(t).e("title")},()=>[N("span",{id:e(C),role:"heading","aria-level":a.headerAriaLevel,class:r(e(t).e("title"))},oe(a.title),11,Ee)]),a.showClose?(p(),R("button",{key:2,"aria-label":e(m)("el.drawer.close"),class:r(e(t).e("close-btn")),type:"button",onClick:B[0]||(B[0]=(...O)=>e(h)&&e(h)(...O))},[S(e(le),{class:r(e(t).e("close"))},{default:F(()=>[S(e(re))]),_:1},8,["class"])],10,ke)):z("v-if",!0)],2)):z("v-if",!0),e(T)?(p(),R("div",{key:1,id:e(L),class:r([e(t).e("body"),a.bodyClass])},[D(i.$slots,"default")],10,Ce)):z("v-if",!0),i.$slots.footer?(p(),R("div",{key:2,class:r([e(t).e("footer"),a.footerClass])},[D(i.$slots,"footer")],2)):z("v-if",!0),a.resizable?(p(),R("div",{key:3,ref_key:"draggerRef",ref:v,style:ne({zIndex:e(y)}),class:r(e(t).e("dragger"))},null,6)):z("v-if",!0)],16,ze)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[ie,e(n)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["to","disabled"]))}}),Re=Se;const Pe=fe(Re);export{Pe as E}; diff --git a/frontend/dist/assets/el-empty-DRpYG49w.js b/frontend/dist/assets/el-empty-DRpYG49w.js index fbce360..f876c50 100644 --- a/frontend/dist/assets/el-empty-DRpYG49w.js +++ b/frontend/dist/assets/el-empty-DRpYG49w.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-empty-DRpYG49w.js import{b as h,d as p,a as _,o as r,c as n,q as t,f as l,aW as y,h as d,s as g,al as v,n as c,aa as k,g as $,j as f,am as N,l as B}from"./index-CD29OCdJ.js";import{f as w}from"./index-6OTFNiIi.js";const V=h({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),x={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},S=["id"],C=["stop-color"],E=["stop-color"],b=["id"],G=["stop-color"],z=["stop-color"],I=["id"],D={stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},P={transform:"translate(-1268.000000, -535.000000)"},j={transform:"translate(1268.000000, 535.000000)"},q=["fill"],L=["fill"],M={transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},T=["fill"],U=["fill"],W=["fill"],Z=["fill"],A=["fill"],F={transform:"translate(53.000000, 45.000000)"},H=["fill","xlink:href"],J=["fill","mask"],K=["fill"];var O=p({name:"ImgEmpty",__name:"img-empty",setup(i){const s=_("empty"),e=w();return(o,m)=>(r(),n("svg",x,[t("defs",null,[t("linearGradient",{id:`linearGradient-1-${l(e)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[t("stop",{"stop-color":`var(${l(s).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,C),t("stop",{"stop-color":`var(${l(s).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,E)],8,S),t("linearGradient",{id:`linearGradient-2-${l(e)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[t("stop",{"stop-color":`var(${l(s).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,G),t("stop",{"stop-color":`var(${l(s).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,z)],8,b),t("rect",{id:`path-3-${l(e)}`,x:"0",y:"0",width:"17",height:"36"},null,8,I)]),t("g",D,[t("g",P,[t("g",j,[t("path",{d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${l(s).cssVarBlockName("fill-color-3")})`},null,8,q),t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,L),t("g",M,[t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,T),t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,U),t("rect",{fill:`url(#linearGradient-1-${l(e)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,W),t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,Z)]),t("rect",{fill:`url(#linearGradient-2-${l(e)})`,x:"13",y:"45",width:"40",height:"36"},null,8,A),t("g",F,[t("use",{fill:`var(${l(s).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${l(e)}`},null,8,H),t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${l(e)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,J)]),t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,K)])])])]))}}),Q=O;const R=["src"],X={key:1};var Y=p({name:"ElEmpty",__name:"empty",props:V,setup(i){const s=i,{t:e}=y(),o=_("empty"),m=f(()=>s.description||e("el.table.emptyText")),u=f(()=>({width:N(s.imageSize)}));return(a,l0)=>(r(),n("div",{class:c(l(o).b())},[t("div",{class:c(l(o).e("image")),style:v(u.value)},[i.image?(r(),n("img",{key:0,src:i.image,ondragstart:"return false"},null,8,R)):d(a.$slots,"image",{key:1},()=>[g(Q)])],6),t("div",{class:c(l(o).e("description"))},[a.$slots.description?d(a.$slots,"description",{key:0}):(r(),n("p",X,k(m.value),1))],2),a.$slots.default?(r(),n("div",{key:0,class:c(l(o).e("bottom"))},[d(a.$slots,"default")],2)):$("v-if",!0)],2))}}),t0=Y;const o0=B(t0);export{o0 as E}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-empty-CIm5osBY.js +import{b as h,d as p,a as _,o as r,c as n,q as t,f as l,aW as y,h as d,s as g,al as v,n as c,aa as k,g as $,j as f,am as N,l as B}from"./index-Ds9AETjS.js";import{f as w}from"./index-BNsCyG4A.js";const V=h({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),x={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},S=["id"],C=["stop-color"],E=["stop-color"],b=["id"],G=["stop-color"],z=["stop-color"],I=["id"],D={stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},P={transform:"translate(-1268.000000, -535.000000)"},j={transform:"translate(1268.000000, 535.000000)"},q=["fill"],L=["fill"],M={transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},T=["fill"],U=["fill"],W=["fill"],Z=["fill"],A=["fill"],F={transform:"translate(53.000000, 45.000000)"},H=["fill","xlink:href"],J=["fill","mask"],K=["fill"];var O=p({name:"ImgEmpty",__name:"img-empty",setup(i){const s=_("empty"),e=w();return(o,m)=>(r(),n("svg",x,[t("defs",null,[t("linearGradient",{id:`linearGradient-1-${l(e)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[t("stop",{"stop-color":`var(${l(s).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,C),t("stop",{"stop-color":`var(${l(s).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,E)],8,S),t("linearGradient",{id:`linearGradient-2-${l(e)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[t("stop",{"stop-color":`var(${l(s).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,G),t("stop",{"stop-color":`var(${l(s).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,z)],8,b),t("rect",{id:`path-3-${l(e)}`,x:"0",y:"0",width:"17",height:"36"},null,8,I)]),t("g",D,[t("g",P,[t("g",j,[t("path",{d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${l(s).cssVarBlockName("fill-color-3")})`},null,8,q),t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,L),t("g",M,[t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,T),t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,U),t("rect",{fill:`url(#linearGradient-1-${l(e)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,W),t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,Z)]),t("rect",{fill:`url(#linearGradient-2-${l(e)})`,x:"13",y:"45",width:"40",height:"36"},null,8,A),t("g",F,[t("use",{fill:`var(${l(s).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${l(e)}`},null,8,H),t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${l(e)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,J)]),t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,K)])])])]))}}),Q=O;const R=["src"],X={key:1};var Y=p({name:"ElEmpty",__name:"empty",props:V,setup(i){const s=i,{t:e}=y(),o=_("empty"),m=f(()=>s.description||e("el.table.emptyText")),u=f(()=>({width:N(s.imageSize)}));return(a,l0)=>(r(),n("div",{class:c(l(o).b())},[t("div",{class:c(l(o).e("image")),style:v(u.value)},[i.image?(r(),n("img",{key:0,src:i.image,ondragstart:"return false"},null,8,R)):d(a.$slots,"image",{key:1},()=>[g(Q)])],6),t("div",{class:c(l(o).e("description"))},[a.$slots.description?d(a.$slots,"description",{key:0}):(r(),n("p",X,k(m.value),1))],2),a.$slots.default?(r(),n("div",{key:0,class:c(l(o).e("bottom"))},[d(a.$slots,"default")],2)):$("v-if",!0)],2))}}),t0=Y;const o0=B(t0);export{o0 as E}; +======== +import{b as h,d as p,a as _,o as r,c as n,q as t,f as l,aW as y,h as d,s as g,al as v,n as c,aa as k,g as $,j as f,am as N,l as B}from"./index-CxbBjZKo.js";import{f as w}from"./index-D23K2h6y.js";const V=h({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),x={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},S=["id"],C=["stop-color"],E=["stop-color"],b=["id"],G=["stop-color"],z=["stop-color"],I=["id"],D={stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},P={transform:"translate(-1268.000000, -535.000000)"},j={transform:"translate(1268.000000, 535.000000)"},q=["fill"],L=["fill"],M={transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},T=["fill"],U=["fill"],W=["fill"],Z=["fill"],A=["fill"],F={transform:"translate(53.000000, 45.000000)"},H=["fill","xlink:href"],J=["fill","mask"],K=["fill"];var O=p({name:"ImgEmpty",__name:"img-empty",setup(i){const s=_("empty"),e=w();return(o,m)=>(r(),n("svg",x,[t("defs",null,[t("linearGradient",{id:`linearGradient-1-${l(e)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[t("stop",{"stop-color":`var(${l(s).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,C),t("stop",{"stop-color":`var(${l(s).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,E)],8,S),t("linearGradient",{id:`linearGradient-2-${l(e)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[t("stop",{"stop-color":`var(${l(s).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,G),t("stop",{"stop-color":`var(${l(s).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,z)],8,b),t("rect",{id:`path-3-${l(e)}`,x:"0",y:"0",width:"17",height:"36"},null,8,I)]),t("g",D,[t("g",P,[t("g",j,[t("path",{d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${l(s).cssVarBlockName("fill-color-3")})`},null,8,q),t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,L),t("g",M,[t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,T),t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,U),t("rect",{fill:`url(#linearGradient-1-${l(e)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,W),t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,Z)]),t("rect",{fill:`url(#linearGradient-2-${l(e)})`,x:"13",y:"45",width:"40",height:"36"},null,8,A),t("g",F,[t("use",{fill:`var(${l(s).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${l(e)}`},null,8,H),t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${l(e)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,J)]),t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,K)])])])]))}}),Q=O;const R=["src"],X={key:1};var Y=p({name:"ElEmpty",__name:"empty",props:V,setup(i){const s=i,{t:e}=y(),o=_("empty"),m=f(()=>s.description||e("el.table.emptyText")),u=f(()=>({width:N(s.imageSize)}));return(a,l0)=>(r(),n("div",{class:c(l(o).b())},[t("div",{class:c(l(o).e("image")),style:v(u.value)},[i.image?(r(),n("img",{key:0,src:i.image,ondragstart:"return false"},null,8,R)):d(a.$slots,"image",{key:1},()=>[g(Q)])],6),t("div",{class:c(l(o).e("description"))},[a.$slots.description?d(a.$slots,"description",{key:0}):(r(),n("p",X,k(m.value),1))],2),a.$slots.default?(r(),n("div",{key:0,class:c(l(o).e("bottom"))},[d(a.$slots,"default")],2)):$("v-if",!0)],2))}}),t0=Y;const o0=B(t0);export{o0 as E}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-empty-DUcrYyo6.js diff --git a/frontend/dist/assets/el-empty-DUcrYyo6.js b/frontend/dist/assets/el-empty-DUcrYyo6.js new file mode 100644 index 0000000..0d14e7b --- /dev/null +++ b/frontend/dist/assets/el-empty-DUcrYyo6.js @@ -0,0 +1 @@ +import{b as h,d as p,a as _,o as r,c as n,q as t,f as l,aW as y,h as d,s as g,al as v,n as c,aa as k,g as $,j as f,am as N,l as B}from"./index-CxbBjZKo.js";import{f as w}from"./index-D23K2h6y.js";const V=h({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),x={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},S=["id"],C=["stop-color"],E=["stop-color"],b=["id"],G=["stop-color"],z=["stop-color"],I=["id"],D={stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},P={transform:"translate(-1268.000000, -535.000000)"},j={transform:"translate(1268.000000, 535.000000)"},q=["fill"],L=["fill"],M={transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},T=["fill"],U=["fill"],W=["fill"],Z=["fill"],A=["fill"],F={transform:"translate(53.000000, 45.000000)"},H=["fill","xlink:href"],J=["fill","mask"],K=["fill"];var O=p({name:"ImgEmpty",__name:"img-empty",setup(i){const s=_("empty"),e=w();return(o,m)=>(r(),n("svg",x,[t("defs",null,[t("linearGradient",{id:`linearGradient-1-${l(e)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[t("stop",{"stop-color":`var(${l(s).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,C),t("stop",{"stop-color":`var(${l(s).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,E)],8,S),t("linearGradient",{id:`linearGradient-2-${l(e)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[t("stop",{"stop-color":`var(${l(s).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,G),t("stop",{"stop-color":`var(${l(s).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,z)],8,b),t("rect",{id:`path-3-${l(e)}`,x:"0",y:"0",width:"17",height:"36"},null,8,I)]),t("g",D,[t("g",P,[t("g",j,[t("path",{d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${l(s).cssVarBlockName("fill-color-3")})`},null,8,q),t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,L),t("g",M,[t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,T),t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,U),t("rect",{fill:`url(#linearGradient-1-${l(e)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,W),t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,Z)]),t("rect",{fill:`url(#linearGradient-2-${l(e)})`,x:"13",y:"45",width:"40",height:"36"},null,8,A),t("g",F,[t("use",{fill:`var(${l(s).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${l(e)}`},null,8,H),t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${l(e)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,J)]),t("polygon",{fill:`var(${l(s).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,K)])])])]))}}),Q=O;const R=["src"],X={key:1};var Y=p({name:"ElEmpty",__name:"empty",props:V,setup(i){const s=i,{t:e}=y(),o=_("empty"),m=f(()=>s.description||e("el.table.emptyText")),u=f(()=>({width:N(s.imageSize)}));return(a,l0)=>(r(),n("div",{class:c(l(o).b())},[t("div",{class:c(l(o).e("image")),style:v(u.value)},[i.image?(r(),n("img",{key:0,src:i.image,ondragstart:"return false"},null,8,R)):d(a.$slots,"image",{key:1},()=>[g(Q)])],6),t("div",{class:c(l(o).e("description"))},[a.$slots.description?d(a.$slots,"description",{key:0}):(r(),n("p",X,k(m.value),1))],2),a.$slots.default?(r(),n("div",{key:0,class:c(l(o).e("bottom"))},[d(a.$slots,"default")],2)):$("v-if",!0)],2))}}),t0=Y;const o0=B(t0);export{o0 as E}; diff --git a/frontend/dist/assets/el-form-item--AdlsBF7.js b/frontend/dist/assets/el-form-item--AdlsBF7.js index e0bc51e..f2ea62f 100644 --- a/frontend/dist/assets/el-form-item--AdlsBF7.js +++ b/frontend/dist/assets/el-form-item--AdlsBF7.js @@ -1,4 +1,10 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-form-item--AdlsBF7.js import{a6 as ee,J as xe,k as Ue,b as Ee,aj as Ge,R as fe,j as A,aK as K,y as B,d as _e,a as Se,D as k,F as Je,z as he,aV as Ke,o as me,c as Ze,h as se,n as Q,c2 as Y,b8 as Ye,aU as ut,B as ue,C as lt,G as He,H as Qe,bz as dt,a7 as ct,s as le,M as pt,P as Xe,bF as vt,c3 as gt,w as ve,e as ht,r as mt,al as Re,f as T,x as yt,aa as Ie,g as Ne,q as Me,b4 as bt,am as Le,l as wt,ab as Ft}from"./index-CD29OCdJ.js";import{e as ke,g as Pe,h as ye,f as qt}from"./index-6OTFNiIi.js";import{c as de}from"./castArray-BEiueV6y.js";import{b as Ot}from"./_baseClone-Blem5BWg.js";var Et=1,_t=4;function Z(i){return Ot(i,Et|_t)}const St=Ee({size:{type:String,values:Ge},disabled:Boolean}),Pt=Ee({...St,model:Object,rules:{type:fe(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:fe([Object,Boolean]),default:!0}}),At={validate:(i,e,t)=>(ee(i)||xe(i))&&Ue(e)&&xe(t)},jt=["","error","validating","success"],Vt=Ee({label:String,labelWidth:{type:[String,Number]},labelPosition:{type:String,values:["left","right","top",""],default:""},prop:{type:fe([String,Array])},required:{type:Boolean,default:void 0},rules:{type:fe([Object,Array])},error:String,validateStatus:{type:String,values:jt},for:String,inlineMessage:{type:Boolean,default:void 0},showMessage:{type:Boolean,default:!0},size:{type:String,values:Ge}}),xt="ElForm";function Rt(){const i=B([]),e=A(()=>{if(!i.value.length)return"0";const s=Math.max(...i.value);return s?`${s}px`:""});function t(s){const a=i.value.indexOf(s);return a===-1&&e.value==="0"&&K(xt,`unexpected width ${s}`),a}function n(s,a){if(s&&a){const o=t(a);i.value.splice(o,1,s)}else s&&i.value.push(s)}function r(s){const a=t(s);a>-1&&i.value.splice(a,1)}return{autoLabelWidth:e,registerLabelWidth:n,deregisterLabelWidth:r}}const ie=(i,e)=>{const t=de(e).map(n=>ee(n)?n.join("."):n);return t.length>0?i.filter(n=>n.propString&&t.includes(n.propString)):i},G="ElForm";var It=_e({name:G,__name:"form",props:Pt,emits:At,setup(i,{expose:e,emit:t}){const n=i,r=t,s=B(),a=he([]),o=new Map,l=ke(),y=Se("form"),g=A(()=>{const{labelPosition:u,inline:c}=n;return[y.b(),y.m(l.value||"default"),{[y.m(`label-${u}`)]:u,[y.m("inline")]:c}]}),w=u=>ie(a,[u])[0],F=u=>{a.includes(u)||a.push(u),u.propString&&(o.has(u.propString)?u.setInitialValue(o.get(u.propString)):o.set(u.propString,Z(u.fieldValue)))},j=(u,c)=>{if(c){o.delete(c);return}const q=a.indexOf(u);q>-1&&(a.splice(q,1),u.propString&&o.set(u.propString,Z(u.getInitialValue())))},S=u=>{if(!n.model){K(G,"model is required for setInitialValues to work.");return}if(!u){K(G,"initModel is required for setInitialValues to work.");return}for(const c of o.keys())o.set(c,Z(Y(u,c).value));a.forEach(c=>{c.prop&&c.setInitialValue(Y(u,c.prop).value)})},d=(u=[])=>{if(!n.model){K(G,"model is required for resetFields to work.");return}ie(a,u).forEach(E=>E.resetField());const c=new Set(a.map(E=>E.propString).filter(Boolean)),q=u.length>0?de(u).map(E=>ee(E)?E.join("."):E):[...o.keys()];for(const E of q)!c.has(E)&&o.has(E)&&(Y(n.model,E).value=Z(o.get(E)))},b=(u=[])=>{ie(a,u).forEach(c=>c.clearValidate())},f=A(()=>{const u=!!n.model;return u||K(G,"model is required for validate to work."),u}),N=u=>{if(a.length===0)return[];const c=ie(a,u);return c.length?c:(K(G,"please pass correct props!"),[])},h=async u=>P(void 0,u),O=async(u=[])=>{if(!f.value)return!1;const c=N(u);if(c.length===0)return!0;let q={};for(const E of c)try{await E.validate(""),E.validateState==="error"&&!E.error&&E.resetField()}catch(L){q={...q,...L}}return Object.keys(q).length===0?!0:Promise.reject(q)},P=async(u=[],c)=>{var L;let q=!1;const E=!Ye(c);try{return q=await O(u),q===!0&&await(c==null?void 0:c(q)),q}catch(x){if(x instanceof Error)throw x;const R=x;return n.scrollToError&&s.value&&((L=s.value.querySelector(`.${y.b()}-item.is-error`))==null||L.scrollIntoView(n.scrollIntoViewOptions)),!q&&await(c==null?void 0:c(!1,R)),E&&Promise.reject(R)}},_=u=>{var q;const c=w(u);c&&((q=c.$el)==null||q.scrollIntoView(n.scrollIntoViewOptions))};return k(()=>n.rules,()=>{n.validateOnRuleChange&&h().catch(ut)},{deep:!0,flush:"post"}),Je(Pe,he({...Ke(n),emit:r,resetFields:d,clearValidate:b,validateField:P,getField:w,addField:F,removeField:j,setInitialValues:S,...Rt()})),e({validate:h,validateField:P,resetFields:d,clearValidate:b,scrollToField:_,getField:w,fields:a,setInitialValues:S}),(u,c)=>(me(),Ze("form",{ref_key:"formRef",ref:s,class:Q(g.value)},[se(u.$slots,"default")],2))}}),Nt=It;const We="ElLabelWrap";var Mt=_e({name:We,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(i,{slots:e}){const t=ue(Pe,void 0),n=ue(ye);n||lt(We,"usage: ");const r=Se("form"),s=B(),a=B(0),o=()=>{var g;if((g=s.value)!=null&&g.firstElementChild){const w=window.getComputedStyle(s.value.firstElementChild).width;return Math.ceil(Number.parseFloat(w))}else return 0},l=(g="update")=>{Xe(()=>{e.default&&i.isAutoWidth&&(g==="update"?a.value=o():g==="remove"&&(t==null||t.deregisterLabelWidth(a.value)))})},y=()=>l("update");return He(()=>{y()}),Qe(()=>{l("remove")}),dt(()=>y()),k(a,(g,w)=>{i.updateAll&&(t==null||t.registerLabelWidth(g,w))}),ct(A(()=>{var g;return((g=s.value)==null?void 0:g.firstElementChild)??null}),y),()=>{var w,F;if(!e)return null;const{isAutoWidth:g}=i;if(g){const j=t==null?void 0:t.autoLabelWidth,S=n==null?void 0:n.hasLabel,d={};if(S&&j&&j!=="auto"){const b=Math.max(0,Number.parseInt(j,10)-a.value),f=(n.labelPosition||t.labelPosition)==="left"?"marginRight":"marginLeft";b&&(d[f]=`${b}px`)}return le("div",{ref:s,class:[r.be("item","label-wrap")],style:d},[(w=e.default)==null?void 0:w.call(e)])}else return le(pt,{ref:s},[(F=e.default)==null?void 0:F.call(e)])}}});function D(){return D=Object.assign?Object.assign.bind():function(i){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function oe(i,e,t){return Wt()?oe=Reflect.construct.bind():oe=function(r,s,a){var o=[null];o.push.apply(o,s);var l=Function.bind.apply(r,o),y=new l;return a&&te(y,a.prototype),y},oe.apply(null,arguments)}function $t(i){return Function.toString.call(i).indexOf("[native code]")!==-1}function we(i){var e=typeof Map=="function"?new Map:void 0;return we=function(n){if(n===null||!$t(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(n))return e.get(n);e.set(n,r)}function r(){return oe(n,arguments,be(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),te(r,n)},we(i)}var Bt=/%[sdj%]/g,Tt=function(){};function Fe(i){if(!i||!i.length)return null;var e={};return i.forEach(function(t){var n=t.field;e[n]=e[n]||[],e[n].push(t)}),e}function M(i){for(var e=arguments.length,t=new Array(e>1?e-1:0),n=1;n=s)return o;switch(o){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch{return"[Circular]"}break;default:return o}});return a}return i}function Dt(i){return i==="string"||i==="url"||i==="hex"||i==="email"||i==="date"||i==="pattern"}function V(i,e){return!!(i==null||e==="array"&&Array.isArray(i)&&!i.length||Dt(e)&&typeof i=="string"&&!i)}function zt(i,e,t){var n=[],r=0,s=i.length;function a(o){n.push.apply(n,o||[]),r++,r===s&&t(n)}i.forEach(function(o){e(o,a)})}function $e(i,e,t){var n=0,r=i.length;function s(a){if(a&&a.length){t(a);return}var o=n;n=n+1,o(ee(i)||xe(i))&&Ue(e)&&xe(t)},jt=["","error","validating","success"],Vt=Ee({label:String,labelWidth:{type:[String,Number]},labelPosition:{type:String,values:["left","right","top",""],default:""},prop:{type:fe([String,Array])},required:{type:Boolean,default:void 0},rules:{type:fe([Object,Array])},error:String,validateStatus:{type:String,values:jt},for:String,inlineMessage:{type:Boolean,default:void 0},showMessage:{type:Boolean,default:!0},size:{type:String,values:Ge}}),xt="ElForm";function Rt(){const i=B([]),e=A(()=>{if(!i.value.length)return"0";const s=Math.max(...i.value);return s?`${s}px`:""});function t(s){const a=i.value.indexOf(s);return a===-1&&e.value==="0"&&K(xt,`unexpected width ${s}`),a}function n(s,a){if(s&&a){const o=t(a);i.value.splice(o,1,s)}else s&&i.value.push(s)}function r(s){const a=t(s);a>-1&&i.value.splice(a,1)}return{autoLabelWidth:e,registerLabelWidth:n,deregisterLabelWidth:r}}const ie=(i,e)=>{const t=de(e).map(n=>ee(n)?n.join("."):n);return t.length>0?i.filter(n=>n.propString&&t.includes(n.propString)):i},G="ElForm";var It=_e({name:G,__name:"form",props:Pt,emits:At,setup(i,{expose:e,emit:t}){const n=i,r=t,s=B(),a=he([]),o=new Map,l=ke(),y=Se("form"),g=A(()=>{const{labelPosition:u,inline:c}=n;return[y.b(),y.m(l.value||"default"),{[y.m(`label-${u}`)]:u,[y.m("inline")]:c}]}),w=u=>ie(a,[u])[0],F=u=>{a.includes(u)||a.push(u),u.propString&&(o.has(u.propString)?u.setInitialValue(o.get(u.propString)):o.set(u.propString,Z(u.fieldValue)))},j=(u,c)=>{if(c){o.delete(c);return}const q=a.indexOf(u);q>-1&&(a.splice(q,1),u.propString&&o.set(u.propString,Z(u.getInitialValue())))},S=u=>{if(!n.model){K(G,"model is required for setInitialValues to work.");return}if(!u){K(G,"initModel is required for setInitialValues to work.");return}for(const c of o.keys())o.set(c,Z(Y(u,c).value));a.forEach(c=>{c.prop&&c.setInitialValue(Y(u,c.prop).value)})},d=(u=[])=>{if(!n.model){K(G,"model is required for resetFields to work.");return}ie(a,u).forEach(E=>E.resetField());const c=new Set(a.map(E=>E.propString).filter(Boolean)),q=u.length>0?de(u).map(E=>ee(E)?E.join("."):E):[...o.keys()];for(const E of q)!c.has(E)&&o.has(E)&&(Y(n.model,E).value=Z(o.get(E)))},b=(u=[])=>{ie(a,u).forEach(c=>c.clearValidate())},f=A(()=>{const u=!!n.model;return u||K(G,"model is required for validate to work."),u}),N=u=>{if(a.length===0)return[];const c=ie(a,u);return c.length?c:(K(G,"please pass correct props!"),[])},h=async u=>P(void 0,u),O=async(u=[])=>{if(!f.value)return!1;const c=N(u);if(c.length===0)return!0;let q={};for(const E of c)try{await E.validate(""),E.validateState==="error"&&!E.error&&E.resetField()}catch(L){q={...q,...L}}return Object.keys(q).length===0?!0:Promise.reject(q)},P=async(u=[],c)=>{var L;let q=!1;const E=!Ye(c);try{return q=await O(u),q===!0&&await(c==null?void 0:c(q)),q}catch(x){if(x instanceof Error)throw x;const R=x;return n.scrollToError&&s.value&&((L=s.value.querySelector(`.${y.b()}-item.is-error`))==null||L.scrollIntoView(n.scrollIntoViewOptions)),!q&&await(c==null?void 0:c(!1,R)),E&&Promise.reject(R)}},_=u=>{var q;const c=w(u);c&&((q=c.$el)==null||q.scrollIntoView(n.scrollIntoViewOptions))};return k(()=>n.rules,()=>{n.validateOnRuleChange&&h().catch(ut)},{deep:!0,flush:"post"}),Je(Pe,he({...Ke(n),emit:r,resetFields:d,clearValidate:b,validateField:P,getField:w,addField:F,removeField:j,setInitialValues:S,...Rt()})),e({validate:h,validateField:P,resetFields:d,clearValidate:b,scrollToField:_,getField:w,fields:a,setInitialValues:S}),(u,c)=>(me(),Ze("form",{ref_key:"formRef",ref:s,class:Q(g.value)},[se(u.$slots,"default")],2))}}),Nt=It;const We="ElLabelWrap";var Mt=_e({name:We,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(i,{slots:e}){const t=ue(Pe,void 0),n=ue(ye);n||lt(We,"usage: ");const r=Se("form"),s=B(),a=B(0),o=()=>{var g;if((g=s.value)!=null&&g.firstElementChild){const w=window.getComputedStyle(s.value.firstElementChild).width;return Math.ceil(Number.parseFloat(w))}else return 0},l=(g="update")=>{Xe(()=>{e.default&&i.isAutoWidth&&(g==="update"?a.value=o():g==="remove"&&(t==null||t.deregisterLabelWidth(a.value)))})},y=()=>l("update");return He(()=>{y()}),Qe(()=>{l("remove")}),dt(()=>y()),k(a,(g,w)=>{i.updateAll&&(t==null||t.registerLabelWidth(g,w))}),ct(A(()=>{var g;return((g=s.value)==null?void 0:g.firstElementChild)??null}),y),()=>{var w,F;if(!e)return null;const{isAutoWidth:g}=i;if(g){const j=t==null?void 0:t.autoLabelWidth,S=n==null?void 0:n.hasLabel,d={};if(S&&j&&j!=="auto"){const b=Math.max(0,Number.parseInt(j,10)-a.value),f=(n.labelPosition||t.labelPosition)==="left"?"marginRight":"marginLeft";b&&(d[f]=`${b}px`)}return le("div",{ref:s,class:[r.be("item","label-wrap")],style:d},[(w=e.default)==null?void 0:w.call(e)])}else return le(pt,{ref:s},[(F=e.default)==null?void 0:F.call(e)])}}});function D(){return D=Object.assign?Object.assign.bind():function(i){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function oe(i,e,t){return Wt()?oe=Reflect.construct.bind():oe=function(r,s,a){var o=[null];o.push.apply(o,s);var l=Function.bind.apply(r,o),y=new l;return a&&te(y,a.prototype),y},oe.apply(null,arguments)}function $t(i){return Function.toString.call(i).indexOf("[native code]")!==-1}function we(i){var e=typeof Map=="function"?new Map:void 0;return we=function(n){if(n===null||!$t(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(n))return e.get(n);e.set(n,r)}function r(){return oe(n,arguments,be(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),te(r,n)},we(i)}var Bt=/%[sdj%]/g,Tt=function(){};function Fe(i){if(!i||!i.length)return null;var e={};return i.forEach(function(t){var n=t.field;e[n]=e[n]||[],e[n].push(t)}),e}function M(i){for(var e=arguments.length,t=new Array(e>1?e-1:0),n=1;n=s)return o;switch(o){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch{return"[Circular]"}break;default:return o}});return a}return i}function Dt(i){return i==="string"||i==="url"||i==="hex"||i==="email"||i==="date"||i==="pattern"}function V(i,e){return!!(i==null||e==="array"&&Array.isArray(i)&&!i.length||Dt(e)&&typeof i=="string"&&!i)}function zt(i,e,t){var n=[],r=0,s=i.length;function a(o){n.push.apply(n,o||[]),r++,r===s&&t(n)}i.forEach(function(o){e(o,a)})}function $e(i,e,t){var n=0,r=i.length;function s(a){if(a&&a.length){t(a);return}var o=n;n=n+1,o(ee(i)||xe(i))&&Ue(e)&&xe(t)},jt=["","error","validating","success"],Vt=Ee({label:String,labelWidth:{type:[String,Number]},labelPosition:{type:String,values:["left","right","top",""],default:""},prop:{type:fe([String,Array])},required:{type:Boolean,default:void 0},rules:{type:fe([Object,Array])},error:String,validateStatus:{type:String,values:jt},for:String,inlineMessage:{type:Boolean,default:void 0},showMessage:{type:Boolean,default:!0},size:{type:String,values:Ge}}),xt="ElForm";function Rt(){const i=B([]),e=A(()=>{if(!i.value.length)return"0";const s=Math.max(...i.value);return s?`${s}px`:""});function t(s){const a=i.value.indexOf(s);return a===-1&&e.value==="0"&&K(xt,`unexpected width ${s}`),a}function n(s,a){if(s&&a){const o=t(a);i.value.splice(o,1,s)}else s&&i.value.push(s)}function r(s){const a=t(s);a>-1&&i.value.splice(a,1)}return{autoLabelWidth:e,registerLabelWidth:n,deregisterLabelWidth:r}}const ie=(i,e)=>{const t=de(e).map(n=>ee(n)?n.join("."):n);return t.length>0?i.filter(n=>n.propString&&t.includes(n.propString)):i},G="ElForm";var It=_e({name:G,__name:"form",props:Pt,emits:At,setup(i,{expose:e,emit:t}){const n=i,r=t,s=B(),a=he([]),o=new Map,l=ke(),y=Se("form"),g=A(()=>{const{labelPosition:u,inline:c}=n;return[y.b(),y.m(l.value||"default"),{[y.m(`label-${u}`)]:u,[y.m("inline")]:c}]}),w=u=>ie(a,[u])[0],F=u=>{a.includes(u)||a.push(u),u.propString&&(o.has(u.propString)?u.setInitialValue(o.get(u.propString)):o.set(u.propString,Z(u.fieldValue)))},j=(u,c)=>{if(c){o.delete(c);return}const q=a.indexOf(u);q>-1&&(a.splice(q,1),u.propString&&o.set(u.propString,Z(u.getInitialValue())))},S=u=>{if(!n.model){K(G,"model is required for setInitialValues to work.");return}if(!u){K(G,"initModel is required for setInitialValues to work.");return}for(const c of o.keys())o.set(c,Z(Y(u,c).value));a.forEach(c=>{c.prop&&c.setInitialValue(Y(u,c.prop).value)})},d=(u=[])=>{if(!n.model){K(G,"model is required for resetFields to work.");return}ie(a,u).forEach(E=>E.resetField());const c=new Set(a.map(E=>E.propString).filter(Boolean)),q=u.length>0?de(u).map(E=>ee(E)?E.join("."):E):[...o.keys()];for(const E of q)!c.has(E)&&o.has(E)&&(Y(n.model,E).value=Z(o.get(E)))},b=(u=[])=>{ie(a,u).forEach(c=>c.clearValidate())},f=A(()=>{const u=!!n.model;return u||K(G,"model is required for validate to work."),u}),N=u=>{if(a.length===0)return[];const c=ie(a,u);return c.length?c:(K(G,"please pass correct props!"),[])},h=async u=>P(void 0,u),O=async(u=[])=>{if(!f.value)return!1;const c=N(u);if(c.length===0)return!0;let q={};for(const E of c)try{await E.validate(""),E.validateState==="error"&&!E.error&&E.resetField()}catch(L){q={...q,...L}}return Object.keys(q).length===0?!0:Promise.reject(q)},P=async(u=[],c)=>{var L;let q=!1;const E=!Ye(c);try{return q=await O(u),q===!0&&await(c==null?void 0:c(q)),q}catch(x){if(x instanceof Error)throw x;const R=x;return n.scrollToError&&s.value&&((L=s.value.querySelector(`.${y.b()}-item.is-error`))==null||L.scrollIntoView(n.scrollIntoViewOptions)),!q&&await(c==null?void 0:c(!1,R)),E&&Promise.reject(R)}},_=u=>{var q;const c=w(u);c&&((q=c.$el)==null||q.scrollIntoView(n.scrollIntoViewOptions))};return k(()=>n.rules,()=>{n.validateOnRuleChange&&h().catch(ut)},{deep:!0,flush:"post"}),Je(Pe,he({...Ke(n),emit:r,resetFields:d,clearValidate:b,validateField:P,getField:w,addField:F,removeField:j,setInitialValues:S,...Rt()})),e({validate:h,validateField:P,resetFields:d,clearValidate:b,scrollToField:_,getField:w,fields:a,setInitialValues:S}),(u,c)=>(me(),Ze("form",{ref_key:"formRef",ref:s,class:Q(g.value)},[se(u.$slots,"default")],2))}}),Nt=It;const We="ElLabelWrap";var Mt=_e({name:We,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(i,{slots:e}){const t=ue(Pe,void 0),n=ue(ye);n||lt(We,"usage: ");const r=Se("form"),s=B(),a=B(0),o=()=>{var g;if((g=s.value)!=null&&g.firstElementChild){const w=window.getComputedStyle(s.value.firstElementChild).width;return Math.ceil(Number.parseFloat(w))}else return 0},l=(g="update")=>{Xe(()=>{e.default&&i.isAutoWidth&&(g==="update"?a.value=o():g==="remove"&&(t==null||t.deregisterLabelWidth(a.value)))})},y=()=>l("update");return He(()=>{y()}),Qe(()=>{l("remove")}),dt(()=>y()),k(a,(g,w)=>{i.updateAll&&(t==null||t.registerLabelWidth(g,w))}),ct(A(()=>{var g;return((g=s.value)==null?void 0:g.firstElementChild)??null}),y),()=>{var w,F;if(!e)return null;const{isAutoWidth:g}=i;if(g){const j=t==null?void 0:t.autoLabelWidth,S=n==null?void 0:n.hasLabel,d={};if(S&&j&&j!=="auto"){const b=Math.max(0,Number.parseInt(j,10)-a.value),f=(n.labelPosition||t.labelPosition)==="left"?"marginRight":"marginLeft";b&&(d[f]=`${b}px`)}return le("div",{ref:s,class:[r.be("item","label-wrap")],style:d},[(w=e.default)==null?void 0:w.call(e)])}else return le(pt,{ref:s},[(F=e.default)==null?void 0:F.call(e)])}}});function D(){return D=Object.assign?Object.assign.bind():function(i){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function oe(i,e,t){return Wt()?oe=Reflect.construct.bind():oe=function(r,s,a){var o=[null];o.push.apply(o,s);var l=Function.bind.apply(r,o),y=new l;return a&&te(y,a.prototype),y},oe.apply(null,arguments)}function $t(i){return Function.toString.call(i).indexOf("[native code]")!==-1}function we(i){var e=typeof Map=="function"?new Map:void 0;return we=function(n){if(n===null||!$t(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(n))return e.get(n);e.set(n,r)}function r(){return oe(n,arguments,be(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),te(r,n)},we(i)}var Bt=/%[sdj%]/g,Tt=function(){};function Fe(i){if(!i||!i.length)return null;var e={};return i.forEach(function(t){var n=t.field;e[n]=e[n]||[],e[n].push(t)}),e}function M(i){for(var e=arguments.length,t=new Array(e>1?e-1:0),n=1;n=s)return o;switch(o){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch{return"[Circular]"}break;default:return o}});return a}return i}function Dt(i){return i==="string"||i==="url"||i==="hex"||i==="email"||i==="date"||i==="pattern"}function V(i,e){return!!(i==null||e==="array"&&Array.isArray(i)&&!i.length||Dt(e)&&typeof i=="string"&&!i)}function zt(i,e,t){var n=[],r=0,s=i.length;function a(o){n.push.apply(n,o||[]),r++,r===s&&t(n)}i.forEach(function(o){e(o,a)})}function $e(i,e,t){var n=0,r=i.length;function s(a){if(a&&a.length){t(a);return}var o=n;n=n+1,o>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-form-item-BA3ZlfqF.js (?: (?:`+n+":){7}(?:"+n+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8 (?:`+n+":){6}(?:"+t+"|:"+n+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4 diff --git a/frontend/dist/assets/el-form-item-BA3ZlfqF.js b/frontend/dist/assets/el-form-item-BA3ZlfqF.js new file mode 100644 index 0000000..619efcc --- /dev/null +++ b/frontend/dist/assets/el-form-item-BA3ZlfqF.js @@ -0,0 +1,12 @@ +import{a6 as ee,J as xe,k as Ue,b as Ee,aj as Ge,R as fe,j as A,aK as K,y as B,d as _e,a as Se,D as k,F as Je,z as he,aV as Ke,o as me,c as Ze,h as se,n as Q,c2 as Y,b8 as Ye,aU as ut,B as ue,C as lt,G as He,H as Qe,bz as dt,a7 as ct,s as le,M as pt,P as Xe,bF as vt,c3 as gt,w as ve,e as ht,r as mt,al as Re,f as T,x as yt,aa as Ie,g as Ne,q as Me,b4 as bt,am as Le,l as wt,ab as Ft}from"./index-CxbBjZKo.js";import{e as ke,g as Pe,h as ye,f as qt}from"./index-D23K2h6y.js";import{c as de}from"./castArray-CwVgzdTt.js";import{b as Ot}from"./_baseClone-B6d4qZbo.js";var Et=1,_t=4;function Z(i){return Ot(i,Et|_t)}const St=Ee({size:{type:String,values:Ge},disabled:Boolean}),Pt=Ee({...St,model:Object,rules:{type:fe(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:fe([Object,Boolean]),default:!0}}),At={validate:(i,e,t)=>(ee(i)||xe(i))&&Ue(e)&&xe(t)},jt=["","error","validating","success"],Vt=Ee({label:String,labelWidth:{type:[String,Number]},labelPosition:{type:String,values:["left","right","top",""],default:""},prop:{type:fe([String,Array])},required:{type:Boolean,default:void 0},rules:{type:fe([Object,Array])},error:String,validateStatus:{type:String,values:jt},for:String,inlineMessage:{type:Boolean,default:void 0},showMessage:{type:Boolean,default:!0},size:{type:String,values:Ge}}),xt="ElForm";function Rt(){const i=B([]),e=A(()=>{if(!i.value.length)return"0";const s=Math.max(...i.value);return s?`${s}px`:""});function t(s){const a=i.value.indexOf(s);return a===-1&&e.value==="0"&&K(xt,`unexpected width ${s}`),a}function n(s,a){if(s&&a){const o=t(a);i.value.splice(o,1,s)}else s&&i.value.push(s)}function r(s){const a=t(s);a>-1&&i.value.splice(a,1)}return{autoLabelWidth:e,registerLabelWidth:n,deregisterLabelWidth:r}}const ie=(i,e)=>{const t=de(e).map(n=>ee(n)?n.join("."):n);return t.length>0?i.filter(n=>n.propString&&t.includes(n.propString)):i},G="ElForm";var It=_e({name:G,__name:"form",props:Pt,emits:At,setup(i,{expose:e,emit:t}){const n=i,r=t,s=B(),a=he([]),o=new Map,l=ke(),y=Se("form"),g=A(()=>{const{labelPosition:u,inline:c}=n;return[y.b(),y.m(l.value||"default"),{[y.m(`label-${u}`)]:u,[y.m("inline")]:c}]}),w=u=>ie(a,[u])[0],F=u=>{a.includes(u)||a.push(u),u.propString&&(o.has(u.propString)?u.setInitialValue(o.get(u.propString)):o.set(u.propString,Z(u.fieldValue)))},j=(u,c)=>{if(c){o.delete(c);return}const q=a.indexOf(u);q>-1&&(a.splice(q,1),u.propString&&o.set(u.propString,Z(u.getInitialValue())))},S=u=>{if(!n.model){K(G,"model is required for setInitialValues to work.");return}if(!u){K(G,"initModel is required for setInitialValues to work.");return}for(const c of o.keys())o.set(c,Z(Y(u,c).value));a.forEach(c=>{c.prop&&c.setInitialValue(Y(u,c.prop).value)})},d=(u=[])=>{if(!n.model){K(G,"model is required for resetFields to work.");return}ie(a,u).forEach(E=>E.resetField());const c=new Set(a.map(E=>E.propString).filter(Boolean)),q=u.length>0?de(u).map(E=>ee(E)?E.join("."):E):[...o.keys()];for(const E of q)!c.has(E)&&o.has(E)&&(Y(n.model,E).value=Z(o.get(E)))},b=(u=[])=>{ie(a,u).forEach(c=>c.clearValidate())},f=A(()=>{const u=!!n.model;return u||K(G,"model is required for validate to work."),u}),N=u=>{if(a.length===0)return[];const c=ie(a,u);return c.length?c:(K(G,"please pass correct props!"),[])},h=async u=>P(void 0,u),O=async(u=[])=>{if(!f.value)return!1;const c=N(u);if(c.length===0)return!0;let q={};for(const E of c)try{await E.validate(""),E.validateState==="error"&&!E.error&&E.resetField()}catch(L){q={...q,...L}}return Object.keys(q).length===0?!0:Promise.reject(q)},P=async(u=[],c)=>{var L;let q=!1;const E=!Ye(c);try{return q=await O(u),q===!0&&await(c==null?void 0:c(q)),q}catch(x){if(x instanceof Error)throw x;const R=x;return n.scrollToError&&s.value&&((L=s.value.querySelector(`.${y.b()}-item.is-error`))==null||L.scrollIntoView(n.scrollIntoViewOptions)),!q&&await(c==null?void 0:c(!1,R)),E&&Promise.reject(R)}},_=u=>{var q;const c=w(u);c&&((q=c.$el)==null||q.scrollIntoView(n.scrollIntoViewOptions))};return k(()=>n.rules,()=>{n.validateOnRuleChange&&h().catch(ut)},{deep:!0,flush:"post"}),Je(Pe,he({...Ke(n),emit:r,resetFields:d,clearValidate:b,validateField:P,getField:w,addField:F,removeField:j,setInitialValues:S,...Rt()})),e({validate:h,validateField:P,resetFields:d,clearValidate:b,scrollToField:_,getField:w,fields:a,setInitialValues:S}),(u,c)=>(me(),Ze("form",{ref_key:"formRef",ref:s,class:Q(g.value)},[se(u.$slots,"default")],2))}}),Nt=It;const We="ElLabelWrap";var Mt=_e({name:We,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(i,{slots:e}){const t=ue(Pe,void 0),n=ue(ye);n||lt(We,"usage: ");const r=Se("form"),s=B(),a=B(0),o=()=>{var g;if((g=s.value)!=null&&g.firstElementChild){const w=window.getComputedStyle(s.value.firstElementChild).width;return Math.ceil(Number.parseFloat(w))}else return 0},l=(g="update")=>{Xe(()=>{e.default&&i.isAutoWidth&&(g==="update"?a.value=o():g==="remove"&&(t==null||t.deregisterLabelWidth(a.value)))})},y=()=>l("update");return He(()=>{y()}),Qe(()=>{l("remove")}),dt(()=>y()),k(a,(g,w)=>{i.updateAll&&(t==null||t.registerLabelWidth(g,w))}),ct(A(()=>{var g;return((g=s.value)==null?void 0:g.firstElementChild)??null}),y),()=>{var w,F;if(!e)return null;const{isAutoWidth:g}=i;if(g){const j=t==null?void 0:t.autoLabelWidth,S=n==null?void 0:n.hasLabel,d={};if(S&&j&&j!=="auto"){const b=Math.max(0,Number.parseInt(j,10)-a.value),f=(n.labelPosition||t.labelPosition)==="left"?"marginRight":"marginLeft";b&&(d[f]=`${b}px`)}return le("div",{ref:s,class:[r.be("item","label-wrap")],style:d},[(w=e.default)==null?void 0:w.call(e)])}else return le(pt,{ref:s},[(F=e.default)==null?void 0:F.call(e)])}}});function D(){return D=Object.assign?Object.assign.bind():function(i){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function oe(i,e,t){return Wt()?oe=Reflect.construct.bind():oe=function(r,s,a){var o=[null];o.push.apply(o,s);var l=Function.bind.apply(r,o),y=new l;return a&&te(y,a.prototype),y},oe.apply(null,arguments)}function $t(i){return Function.toString.call(i).indexOf("[native code]")!==-1}function we(i){var e=typeof Map=="function"?new Map:void 0;return we=function(n){if(n===null||!$t(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(n))return e.get(n);e.set(n,r)}function r(){return oe(n,arguments,be(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),te(r,n)},we(i)}var Bt=/%[sdj%]/g,Tt=function(){};function Fe(i){if(!i||!i.length)return null;var e={};return i.forEach(function(t){var n=t.field;e[n]=e[n]||[],e[n].push(t)}),e}function M(i){for(var e=arguments.length,t=new Array(e>1?e-1:0),n=1;n=s)return o;switch(o){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch{return"[Circular]"}break;default:return o}});return a}return i}function Dt(i){return i==="string"||i==="url"||i==="hex"||i==="email"||i==="date"||i==="pattern"}function V(i,e){return!!(i==null||e==="array"&&Array.isArray(i)&&!i.length||Dt(e)&&typeof i=="string"&&!i)}function zt(i,e,t){var n=[],r=0,s=i.length;function a(o){n.push.apply(n,o||[]),r++,r===s&&t(n)}i.forEach(function(o){e(o,a)})}function $e(i,e,t){var n=0,r=i.length;function s(a){if(a&&a.length){t(a);return}var o=n;n=n+1,o()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},X={integer:function(e){return X.number(e)&&parseInt(e,10)===e},float:function(e){return X.number(e)&&!X.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch{return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!X.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&e.length<=320&&!!e.match(ze.email)},url:function(e){return typeof e=="string"&&e.length<=2048&&!!e.match(Yt())},hex:function(e){return typeof e=="string"&&!!e.match(ze.hex)}},Ht=function(e,t,n,r,s){if(e.required&&t===void 0){Ce(e,t,n,r,s);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],o=e.type;a.indexOf(o)>-1?X[o](t)||r.push(M(s.messages.types[o],e.fullField,e.type)):o&&typeof t!==e.type&&r.push(M(s.messages.types[o],e.fullField,e.type))},Qt=function(e,t,n,r,s){var a=typeof e.len=="number",o=typeof e.min=="number",l=typeof e.max=="number",y=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,g=t,w=null,F=typeof t=="number",j=typeof t=="string",S=Array.isArray(t);if(F?w="number":j?w="string":S&&(w="array"),!w)return!1;S&&(g=t.length),j&&(g=t.replace(y,"_").length),a?g!==e.len&&r.push(M(s.messages[w].len,e.fullField,e.len)):o&&!l&&ge.max?r.push(M(s.messages[w].max,e.fullField,e.max)):o&&l&&(ge.max)&&r.push(M(s.messages[w].range,e.fullField,e.min,e.max))},J="enum",Xt=function(e,t,n,r,s){e[J]=Array.isArray(e[J])?e[J]:[],e[J].indexOf(t)===-1&&r.push(M(s.messages[J],e.fullField,e[J].join(", ")))},kt=function(e,t,n,r,s){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(M(s.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var a=new RegExp(e.pattern);a.test(t)||r.push(M(s.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},m={required:Ce,whitespace:Zt,type:Ht,range:Qt,enum:Xt,pattern:kt},Ct=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(V(t,"string")&&!e.required)return n();m.required(e,t,r,a,s,"string"),V(t,"string")||(m.type(e,t,r,a,s),m.range(e,t,r,a,s),m.pattern(e,t,r,a,s),e.whitespace===!0&&m.whitespace(e,t,r,a,s))}n(a)},er=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(V(t)&&!e.required)return n();m.required(e,t,r,a,s),t!==void 0&&m.type(e,t,r,a,s)}n(a)},tr=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(t===""&&(t=void 0),V(t)&&!e.required)return n();m.required(e,t,r,a,s),t!==void 0&&(m.type(e,t,r,a,s),m.range(e,t,r,a,s))}n(a)},rr=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(V(t)&&!e.required)return n();m.required(e,t,r,a,s),t!==void 0&&m.type(e,t,r,a,s)}n(a)},nr=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(V(t)&&!e.required)return n();m.required(e,t,r,a,s),V(t)||m.type(e,t,r,a,s)}n(a)},ir=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(V(t)&&!e.required)return n();m.required(e,t,r,a,s),t!==void 0&&(m.type(e,t,r,a,s),m.range(e,t,r,a,s))}n(a)},ar=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(V(t)&&!e.required)return n();m.required(e,t,r,a,s),t!==void 0&&(m.type(e,t,r,a,s),m.range(e,t,r,a,s))}n(a)},sr=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(t==null&&!e.required)return n();m.required(e,t,r,a,s,"array"),t!=null&&(m.type(e,t,r,a,s),m.range(e,t,r,a,s))}n(a)},or=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(V(t)&&!e.required)return n();m.required(e,t,r,a,s),t!==void 0&&m.type(e,t,r,a,s)}n(a)},fr="enum",ur=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(V(t)&&!e.required)return n();m.required(e,t,r,a,s),t!==void 0&&m[fr](e,t,r,a,s)}n(a)},lr=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(V(t,"string")&&!e.required)return n();m.required(e,t,r,a,s),V(t,"string")||m.pattern(e,t,r,a,s)}n(a)},dr=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(V(t,"date")&&!e.required)return n();if(m.required(e,t,r,a,s),!V(t,"date")){var l;t instanceof Date?l=t:l=new Date(t),m.type(e,l,r,a,s),l&&m.range(e,l.getTime(),r,a,s)}}n(a)},cr=function(e,t,n,r,s){var a=[],o=Array.isArray(t)?"array":typeof t;m.required(e,t,r,a,s,o),n(a)},ge=function(e,t,n,r,s){var a=e.type,o=[],l=e.required||!e.required&&r.hasOwnProperty(e.field);if(l){if(V(t,a)&&!e.required)return n();m.required(e,t,r,o,s,a),V(t,a)||m.type(e,t,r,o,s)}n(o)},pr=function(e,t,n,r,s){var a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(V(t)&&!e.required)return n();m.required(e,t,r,a,s)}n(a)},C={string:Ct,method:er,number:tr,boolean:rr,regexp:nr,integer:ir,float:ar,array:sr,object:or,enum:ur,pattern:lr,date:dr,url:ge,hex:ge,email:ge,required:cr,any:pr};function qe(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Oe=qe(),re=(function(){function i(t){this.rules=null,this._messages=Oe,this.define(t)}var e=i.prototype;return e.define=function(n){var r=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(typeof n!="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(s){var a=n[s];r.rules[s]=Array.isArray(a)?a:[a]})},e.messages=function(n){return n&&(this._messages=De(qe(),n)),this._messages},e.validate=function(n,r,s){var a=this;r===void 0&&(r={}),s===void 0&&(s=function(){});var o=n,l=r,y=s;if(typeof l=="function"&&(y=l,l={}),!this.rules||Object.keys(this.rules).length===0)return y&&y(null,o),Promise.resolve(o);function g(d){var b=[],f={};function N(O){if(Array.isArray(O)){var P;b=(P=b).concat.apply(P,O)}else b.push(O)}for(var h=0;ht.labelPosition||(r==null?void 0:r.labelPosition)),f=A(()=>b.value==="top"?{}:{width:Le(t.labelWidth??(r==null?void 0:r.labelWidth))}),N=A(()=>{if(b.value==="top"||r!=null&&r.inline)return{};if(!t.label&&!t.labelWidth&&E)return{};const p=Le(t.labelWidth??(r==null?void 0:r.labelWidth));return!t.label&&!n.label?{marginLeft:p}:{}}),h=A(()=>[o.b(),o.m(a.value),o.is("error",g.value==="error"),o.is("validating",g.value==="validating"),o.is("success",g.value==="success"),o.is("required",tt.value||t.required),o.is("no-asterisk",r==null?void 0:r.hideRequiredAsterisk),(r==null?void 0:r.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[o.m("feedback")]:r==null?void 0:r.statusIcon,[o.m(`label-${b.value}`)]:b.value}]),O=A(()=>Ue(t.inlineMessage)?t.inlineMessage:(r==null?void 0:r.inlineMessage)||!1),P=A(()=>[o.e("error"),{[o.em("error","inline")]:O.value}]),_=A(()=>t.prop?ee(t.prop)?t.prop.join("."):t.prop:""),u=A(()=>!!(t.label||n.label)),c=A(()=>t.for??(y.value.length===1?y.value[0]:void 0)),q=A(()=>!c.value&&u.value),E=!!s,L=A(()=>{const p=r==null?void 0:r.model;if(!(!p||!t.prop))return Y(p,t.prop).value}),x=A(()=>{const{required:p}=t,v=[];t.rules&&v.push(...de(t.rules));const I=r==null?void 0:r.rules;if(I&&t.prop){const W=Y(I,t.prop).value;W&&v.push(...de(W))}if(p!==void 0){const W=v.map(($,U)=>[$,U]).filter(([$])=>"required"in $);if(W.length>0)for(const[$,U]of W)$.required!==p&&(v[U]={...$,required:p});else v.push({required:p})}return v}),R=A(()=>x.value.length>0),ce=p=>x.value.filter(v=>!v.trigger||!p?!0:ee(v.trigger)?v.trigger.includes(p):v.trigger===p).map(({trigger:v,...I})=>I),tt=A(()=>x.value.some(p=>p.required)),rt=A(()=>w.value==="error"&&t.showMessage&&((r==null?void 0:r.showMessage)??!0)),Ae=A(()=>`${t.label||""}${(r==null?void 0:r.labelSuffix)||""}`),z=p=>{g.value=p},nt=p=>{var W;const{errors:v,fields:I}=p;(!v||!I)&&console.error(p),z("error"),F.value=v?((W=v==null?void 0:v[0])==null?void 0:W.message)??`${t.prop} is required`:"",r==null||r.emit("validate",t.prop,!1,F.value)},it=()=>{z("success"),r==null||r.emit("validate",t.prop,!0,"")},at=async p=>{const v=_.value;return new re({[v]:p}).validate({[v]:L.value},{firstFields:!0}).then(()=>(it(),!0)).catch(I=>(nt(I),Promise.reject(I)))},je=async(p,v)=>{if(d||!t.prop)return!1;const I=Ye(v);if(!R.value)return v==null||v(!1),!1;const W=ce(p);return W.length===0?(v==null||v(!0),!0):(z("validating"),at(W).then(()=>(v==null||v(!0),!0)).catch($=>{const{fields:U}=$;return v==null||v(!1,U),I?!1:Promise.reject(U)}))},pe=()=>{z(""),F.value="",d=!1},Ve=async()=>{const p=r==null?void 0:r.model;if(!p||!t.prop)return;const v=Y(p,t.prop);d=!0,v.value=Z(S),await Xe(),pe(),d=!1},st=p=>{y.value.includes(p)||y.value.push(p)},ot=p=>{y.value=y.value.filter(v=>v!==p)},ne=p=>{S=Z(p)},ft=()=>S;k(()=>t.error,p=>{F.value=p||"",z(p?"error":"")},{immediate:!0}),k(()=>t.validateStatus,p=>z(p||""));const H=he({...Ke(t),$el:j,size:a,validateMessage:F,validateState:g,labelId:l,inputIds:y,isGroup:q,hasLabel:u,fieldValue:L,addInputId:st,removeInputId:ot,resetField:Ve,clearValidate:pe,validate:je,propString:_,setInitialValue:ne,getInitialValue:ft});return Je(ye,H),k(_,(p,v)=>{!r||!v||(r.removeField(H,v),p&&(ne(L.value),r.addField(H)))}),He(()=>{t.prop&&(ne(L.value),r==null||r.addField(H))}),Qe(()=>{r==null||r.removeField(H)}),e({size:a,validateMessage:F,validateState:g,validate:je,clearValidate:pe,resetField:Ve,setInitialValue:ne}),(p,v)=>{var I;return me(),Ze("div",{ref_key:"formItemRef",ref:j,class:Q(h.value),role:q.value?"group":void 0,"aria-labelledby":q.value?T(l):void 0},[le(T(Mt),{"is-auto-width":f.value.width==="auto","update-all":((I=T(r))==null?void 0:I.labelWidth)==="auto"},{default:ve(()=>[i.label||p.$slots.label?(me(),ht(mt(c.value?"label":"div"),{key:0,id:T(l),for:c.value,class:Q(T(o).e("label")),style:Re(f.value)},{default:ve(()=>[se(p.$slots,"label",{label:Ae.value},()=>[yt(Ie(Ae.value),1)])]),_:3},8,["id","for","class","style"])):Ne("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),Me("div",{class:Q(T(o).e("content")),style:Re(N.value)},[se(p.$slots,"default"),le(bt,{name:`${T(o).namespace.value}-zoom-in-top`},{default:ve(()=>[rt.value?se(p.$slots,"error",{key:0,error:F.value},()=>[Me("div",{class:Q(P.value)},Ie(F.value),3)]):Ne("v-if",!0)]),_:3},8,["name"])],6)],10,vr)}}}),et=gr;const wr=wt(Nt,{FormItem:et}),Fr=Ft(et);export{wr as E,Fr as a,Z as c}; diff --git a/frontend/dist/assets/el-input-number-Ba6IqA7Z.js b/frontend/dist/assets/el-input-number-Ba6IqA7Z.js new file mode 100644 index 0000000..4e1b24e --- /dev/null +++ b/frontend/dist/assets/el-input-number-Ba6IqA7Z.js @@ -0,0 +1 @@ +import{ak as f,a8 as V,b as fe,aS as be,R as z,d as pe,aW as Ne,a as ve,z as he,D as H,G as Ve,bz as ye,o as N,c as $,K as J,f as i,t as q,n as K,h as S,s as O,w as x,e as w,S as Ee,bA as ge,E as Q,g as Y,bB as Se,bC as xe,aX as we,aL as Ie,y as Fe,j as h,V as Ae,bD as ke,W as Z,aU as _,aK as R,C as Ce,J as Pe,U as I,l as De}from"./index-CxbBjZKo.js";import{U as F,I as A,C as te}from"./raf-Bjl8yy5U.js";import{b as Te,e as Be,c as Me}from"./index-D23K2h6y.js";import{E as ze}from"./index-zJ9bqPrh.js";import{v as ee}from"./index-ZKnv_mga.js";import{u as $e}from"./index-DxP0p4ch.js";const Ke=fe({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.MAX_SAFE_INTEGER},min:{type:Number,default:Number.MIN_SAFE_INTEGER},modelValue:{type:[Number,null]},readonly:Boolean,disabled:{type:Boolean,default:void 0},size:be,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:z([String,Number,null]),validator:a=>a===null||f(a)||["min","max"].includes(a),default:null},name:String,placeholder:String,precision:{type:Number,validator:a=>a>=0&&a===Number.parseInt(`${a}`,10)},validateEvent:{type:Boolean,default:!0},...$e(["ariaLabel"]),inputmode:{type:z(String),default:void 0},align:{type:z(String),default:"center"},disabledScientific:Boolean,formatter:{type:Function},parser:{type:Function},tabindex:{type:[String,Number],default:0}}),Oe={[te]:(a,k)=>k!==a,blur:a=>a instanceof FocusEvent,focus:a=>a instanceof FocusEvent,[A]:a=>f(a)||V(a),[F]:a=>f(a)||V(a)},Re=["aria-label"],Ue=["aria-label"];var Ge=pe({name:"ElInputNumber",__name:"input-number",props:Ke,emits:Oe,setup(a,{expose:k,emit:ae}){const n=a,o=ae,{t:U}=Ne(),d=ve("input-number"),b=Fe(),l=he({currentValue:n.modelValue,userInput:null}),{formItem:m}=Te(),G=h(()=>f(n.modelValue)&&n.modelValue<=n.min),L=h(()=>f(n.modelValue)&&n.modelValue>=n.max),ne=h(()=>{const e=X(n.step);return I(n.precision)?Math.max(X(n.modelValue),e):(e>n.precision&&R("InputNumber","precision should not be less than the decimal places of step"),n.precision)}),C=h(()=>n.controls&&n.controlsPosition==="right"),W=Be(),v=Me(),P=h(()=>{if(l.userInput!==null)return l.userInput;let e=l.currentValue;if(V(e))return"";if(f(e)){if(Number.isNaN(e))return"";I(n.precision)||(e=e.toFixed(n.precision))}return e}),y=(e,t)=>{if(I(t)&&(t=ne.value),t===0)return Math.round(e);let r=String(e);const u=r.indexOf(".");if(u===-1||!r.replace(".","").split("")[u+t])return e;const c=r.length;return r.charAt(c-1)==="5"&&(r=`${r.slice(0,Math.max(0,c-1))}6`),Number.parseFloat(Number(r).toFixed(t))},X=e=>{if(V(e))return 0;const t=e.toString(),r=t.indexOf(".");let u=0;return r!==-1&&(u=t.length-r-1),u},j=(e,t=1)=>f(e)?e>=Number.MAX_SAFE_INTEGER&&t===1?(R("InputNumber","The value has reached the maximum safe integer limit."),e):e<=Number.MIN_SAFE_INTEGER&&t===-1?(R("InputNumber","The value has reached the minimum safe integer limit."),e):y(e+n.step*t):l.currentValue,re=e=>{const t=Ae(e),r=ke(e);if(n.disabledScientific&&["e","E"].includes(r)){e.preventDefault();return}switch(t){case Z.up:e.preventDefault(),D();break;case Z.down:e.preventDefault(),T();break}},D=()=>{n.readonly||v.value||L.value||(E(j(Number(P.value)||0)),o(A,l.currentValue),M())},T=()=>{n.readonly||v.value||G.value||(E(j(Number(P.value)||0,-1)),o(A,l.currentValue),M())},B=(e,t)=>{const{max:r,min:u,step:c,precision:p,stepStrictly:me,valueOnClear:g}=n;rr||sr?r:u,t&&o("update:modelValue",s)),s},E=(e,t=!0)=>{var c;const r=l.currentValue,u=B(e);if(!t){o(F,u);return}l.userInput=null,!(r===u&&e)&&(o(F,u),r!==u&&o(te,u,r),n.validateEvent&&((c=m==null?void 0:m.validate)==null||c.call(m,"change").catch(_)),l.currentValue=u)},ue=e=>{l.userInput=e;let t=e===""?null:Number.parseFloat(e);Number.isNaN(t)&&(t=null),o(A,t),E(t,!1)},ie=e=>{const t=e!==""?Number.parseFloat(e):"";(f(t)&&!Number.isNaN(t)||n.formatter&&Number.isNaN(t)||t==="")&&E(t),M(),l.userInput=null},le=()=>{var e,t;(t=(e=b.value)==null?void 0:e.focus)==null||t.call(e)},se=()=>{var e,t;(t=(e=b.value)==null?void 0:e.blur)==null||t.call(e)},oe=e=>{o("focus",e)},ce=e=>{var t,r,u;l.userInput=null,l.currentValue===null&&((t=b.value)!=null&&t.input)&&(b.value.input.value=((r=n.formatter)==null?void 0:r.call(n,""))??""),o("blur",e),n.validateEvent&&((u=m==null?void 0:m.validate)==null||u.call(m,"blur").catch(_))},M=()=>{l.currentValue!==n.modelValue&&(l.currentValue=n.modelValue)},de=e=>{document.activeElement===e.target&&e.preventDefault()};return H(()=>n.modelValue,(e,t)=>{const r=B(e,!0);l.userInput===null&&r!==t&&(l.currentValue=r)},{immediate:!0}),H(()=>n.precision,()=>{l.currentValue=B(n.modelValue)}),Ve(()=>{var c;const{min:e,max:t,modelValue:r}=n,u=(c=b.value)==null?void 0:c.input;if(u.setAttribute("role","spinbutton"),Number.isFinite(t)?u.setAttribute("aria-valuemax",String(t)):u.removeAttribute("aria-valuemax"),Number.isFinite(e)?u.setAttribute("aria-valuemin",String(e)):u.removeAttribute("aria-valuemin"),u.setAttribute("aria-valuenow",l.currentValue||l.currentValue===0?String(l.currentValue):""),u.setAttribute("aria-disabled",String(v.value)),!f(r)&&r!=null){let p=Number(r);Number.isNaN(p)&&(p=null),o(F,p)}u.addEventListener("wheel",de,{passive:!1})}),ye(()=>{var e,t;(t=(e=b.value)==null?void 0:e.input)==null||t.setAttribute("aria-valuenow",`${l.currentValue??""}`)}),k({focus:le,blur:se}),(e,t)=>(N(),$("div",{class:K([i(d).b(),i(d).m(i(W)),i(d).is("disabled",i(v)),i(d).is("without-controls",!a.controls),i(d).is("controls-right",C.value),i(d).is(a.align,!!a.align)]),onDragstart:t[0]||(t[0]=Ie(()=>{},["prevent"]))},[a.controls?J((N(),$("span",{key:0,role:"button","aria-label":i(U)("el.inputNumber.decrease"),class:K([i(d).e("decrease"),i(d).is("disabled",G.value)]),onKeydown:q(T,["enter"])},[S(e.$slots,"decrease-icon",{},()=>[O(i(Q),null,{default:x(()=>[C.value?(N(),w(i(Ee),{key:0})):(N(),w(i(ge),{key:1}))]),_:1})])],42,Re)),[[i(ee),T]]):Y("v-if",!0),a.controls?J((N(),$("span",{key:1,role:"button","aria-label":i(U)("el.inputNumber.increase"),class:K([i(d).e("increase"),i(d).is("disabled",L.value)]),onKeydown:q(D,["enter"])},[S(e.$slots,"increase-icon",{},()=>[O(i(Q),null,{default:x(()=>[C.value?(N(),w(i(Se),{key:0})):(N(),w(i(xe),{key:1}))]),_:1})])],42,Ue)),[[i(ee),D]]):Y("v-if",!0),O(i(ze),{id:a.id,ref_key:"input",ref:b,type:a.formatter?"text":"number",step:a.step,"model-value":P.value,placeholder:a.placeholder,readonly:a.readonly,disabled:i(v),size:i(W),max:a.max,min:a.min,name:a.name,"aria-label":a.ariaLabel,"validate-event":!1,inputmode:a.inputmode,formatter:a.formatter,parser:a.parser,tabindex:a.tabindex,onKeydown:re,onBlur:ce,onFocus:oe,onInput:ue,onChange:ie},we({_:2},[e.$slots.prefix?{name:"prefix",fn:x(()=>[S(e.$slots,"prefix")]),key:"0"}:void 0,e.$slots.suffix?{name:"suffix",fn:x(()=>[S(e.$slots,"suffix")]),key:"1"}:void 0]),1032,["id","type","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","inputmode","formatter","parser","tabindex"])],34))}}),Le=Ge;const Qe=De(Le);export{Qe as E}; diff --git a/frontend/dist/assets/el-input-number-CUR6qfYr.js b/frontend/dist/assets/el-input-number-CUR6qfYr.js index 1f7fb37..1c0e75a 100644 --- a/frontend/dist/assets/el-input-number-CUR6qfYr.js +++ b/frontend/dist/assets/el-input-number-CUR6qfYr.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-input-number-CUR6qfYr.js import{ak as f,a8 as V,b as fe,aR as be,R as z,d as pe,aW as Ne,a as ve,z as he,D as H,G as Ve,bz as ye,o as N,c as $,K as J,f as i,t as q,n as K,h as S,s as O,w as x,e as w,S as Ee,bA as ge,E as Q,g as Y,bB as Se,bC as xe,aX as we,aL as Ie,y as Fe,j as h,V as Ae,bD as ke,W as Z,aU as _,aK as R,C as Ce,J as Pe,U as I,l as De}from"./index-CD29OCdJ.js";import{U as F,I as A,C as te}from"./raf-DGtHIxe2.js";import{b as Te,e as Be,c as Me}from"./index-6OTFNiIi.js";import{E as ze}from"./index-D0wqu88j.js";import{v as ee}from"./index-sBiRi5wE.js";import{u as $e}from"./index-DpY84JwG.js";const Ke=fe({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.MAX_SAFE_INTEGER},min:{type:Number,default:Number.MIN_SAFE_INTEGER},modelValue:{type:[Number,null]},readonly:Boolean,disabled:{type:Boolean,default:void 0},size:be,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:z([String,Number,null]),validator:a=>a===null||f(a)||["min","max"].includes(a),default:null},name:String,placeholder:String,precision:{type:Number,validator:a=>a>=0&&a===Number.parseInt(`${a}`,10)},validateEvent:{type:Boolean,default:!0},...$e(["ariaLabel"]),inputmode:{type:z(String),default:void 0},align:{type:z(String),default:"center"},disabledScientific:Boolean,formatter:{type:Function},parser:{type:Function},tabindex:{type:[String,Number],default:0}}),Oe={[te]:(a,k)=>k!==a,blur:a=>a instanceof FocusEvent,focus:a=>a instanceof FocusEvent,[A]:a=>f(a)||V(a),[F]:a=>f(a)||V(a)},Re=["aria-label"],Ue=["aria-label"];var Ge=pe({name:"ElInputNumber",__name:"input-number",props:Ke,emits:Oe,setup(a,{expose:k,emit:ae}){const n=a,o=ae,{t:U}=Ne(),d=ve("input-number"),b=Fe(),l=he({currentValue:n.modelValue,userInput:null}),{formItem:m}=Te(),G=h(()=>f(n.modelValue)&&n.modelValue<=n.min),L=h(()=>f(n.modelValue)&&n.modelValue>=n.max),ne=h(()=>{const e=X(n.step);return I(n.precision)?Math.max(X(n.modelValue),e):(e>n.precision&&R("InputNumber","precision should not be less than the decimal places of step"),n.precision)}),C=h(()=>n.controls&&n.controlsPosition==="right"),W=Be(),v=Me(),P=h(()=>{if(l.userInput!==null)return l.userInput;let e=l.currentValue;if(V(e))return"";if(f(e)){if(Number.isNaN(e))return"";I(n.precision)||(e=e.toFixed(n.precision))}return e}),y=(e,t)=>{if(I(t)&&(t=ne.value),t===0)return Math.round(e);let r=String(e);const u=r.indexOf(".");if(u===-1||!r.replace(".","").split("")[u+t])return e;const c=r.length;return r.charAt(c-1)==="5"&&(r=`${r.slice(0,Math.max(0,c-1))}6`),Number.parseFloat(Number(r).toFixed(t))},X=e=>{if(V(e))return 0;const t=e.toString(),r=t.indexOf(".");let u=0;return r!==-1&&(u=t.length-r-1),u},j=(e,t=1)=>f(e)?e>=Number.MAX_SAFE_INTEGER&&t===1?(R("InputNumber","The value has reached the maximum safe integer limit."),e):e<=Number.MIN_SAFE_INTEGER&&t===-1?(R("InputNumber","The value has reached the minimum safe integer limit."),e):y(e+n.step*t):l.currentValue,re=e=>{const t=Ae(e),r=ke(e);if(n.disabledScientific&&["e","E"].includes(r)){e.preventDefault();return}switch(t){case Z.up:e.preventDefault(),D();break;case Z.down:e.preventDefault(),T();break}},D=()=>{n.readonly||v.value||L.value||(E(j(Number(P.value)||0)),o(A,l.currentValue),M())},T=()=>{n.readonly||v.value||G.value||(E(j(Number(P.value)||0,-1)),o(A,l.currentValue),M())},B=(e,t)=>{const{max:r,min:u,step:c,precision:p,stepStrictly:me,valueOnClear:g}=n;rr||sr?r:u,t&&o("update:modelValue",s)),s},E=(e,t=!0)=>{var c;const r=l.currentValue,u=B(e);if(!t){o(F,u);return}l.userInput=null,!(r===u&&e)&&(o(F,u),r!==u&&o(te,u,r),n.validateEvent&&((c=m==null?void 0:m.validate)==null||c.call(m,"change").catch(_)),l.currentValue=u)},ue=e=>{l.userInput=e;let t=e===""?null:Number.parseFloat(e);Number.isNaN(t)&&(t=null),o(A,t),E(t,!1)},ie=e=>{const t=e!==""?Number.parseFloat(e):"";(f(t)&&!Number.isNaN(t)||n.formatter&&Number.isNaN(t)||t==="")&&E(t),M(),l.userInput=null},le=()=>{var e,t;(t=(e=b.value)==null?void 0:e.focus)==null||t.call(e)},se=()=>{var e,t;(t=(e=b.value)==null?void 0:e.blur)==null||t.call(e)},oe=e=>{o("focus",e)},ce=e=>{var t,r,u;l.userInput=null,l.currentValue===null&&((t=b.value)!=null&&t.input)&&(b.value.input.value=((r=n.formatter)==null?void 0:r.call(n,""))??""),o("blur",e),n.validateEvent&&((u=m==null?void 0:m.validate)==null||u.call(m,"blur").catch(_))},M=()=>{l.currentValue!==n.modelValue&&(l.currentValue=n.modelValue)},de=e=>{document.activeElement===e.target&&e.preventDefault()};return H(()=>n.modelValue,(e,t)=>{const r=B(e,!0);l.userInput===null&&r!==t&&(l.currentValue=r)},{immediate:!0}),H(()=>n.precision,()=>{l.currentValue=B(n.modelValue)}),Ve(()=>{var c;const{min:e,max:t,modelValue:r}=n,u=(c=b.value)==null?void 0:c.input;if(u.setAttribute("role","spinbutton"),Number.isFinite(t)?u.setAttribute("aria-valuemax",String(t)):u.removeAttribute("aria-valuemax"),Number.isFinite(e)?u.setAttribute("aria-valuemin",String(e)):u.removeAttribute("aria-valuemin"),u.setAttribute("aria-valuenow",l.currentValue||l.currentValue===0?String(l.currentValue):""),u.setAttribute("aria-disabled",String(v.value)),!f(r)&&r!=null){let p=Number(r);Number.isNaN(p)&&(p=null),o(F,p)}u.addEventListener("wheel",de,{passive:!1})}),ye(()=>{var e,t;(t=(e=b.value)==null?void 0:e.input)==null||t.setAttribute("aria-valuenow",`${l.currentValue??""}`)}),k({focus:le,blur:se}),(e,t)=>(N(),$("div",{class:K([i(d).b(),i(d).m(i(W)),i(d).is("disabled",i(v)),i(d).is("without-controls",!a.controls),i(d).is("controls-right",C.value),i(d).is(a.align,!!a.align)]),onDragstart:t[0]||(t[0]=Ie(()=>{},["prevent"]))},[a.controls?J((N(),$("span",{key:0,role:"button","aria-label":i(U)("el.inputNumber.decrease"),class:K([i(d).e("decrease"),i(d).is("disabled",G.value)]),onKeydown:q(T,["enter"])},[S(e.$slots,"decrease-icon",{},()=>[O(i(Q),null,{default:x(()=>[C.value?(N(),w(i(Ee),{key:0})):(N(),w(i(ge),{key:1}))]),_:1})])],42,Re)),[[i(ee),T]]):Y("v-if",!0),a.controls?J((N(),$("span",{key:1,role:"button","aria-label":i(U)("el.inputNumber.increase"),class:K([i(d).e("increase"),i(d).is("disabled",L.value)]),onKeydown:q(D,["enter"])},[S(e.$slots,"increase-icon",{},()=>[O(i(Q),null,{default:x(()=>[C.value?(N(),w(i(Se),{key:0})):(N(),w(i(xe),{key:1}))]),_:1})])],42,Ue)),[[i(ee),D]]):Y("v-if",!0),O(i(ze),{id:a.id,ref_key:"input",ref:b,type:a.formatter?"text":"number",step:a.step,"model-value":P.value,placeholder:a.placeholder,readonly:a.readonly,disabled:i(v),size:i(W),max:a.max,min:a.min,name:a.name,"aria-label":a.ariaLabel,"validate-event":!1,inputmode:a.inputmode,formatter:a.formatter,parser:a.parser,tabindex:a.tabindex,onKeydown:re,onBlur:ce,onFocus:oe,onInput:ue,onChange:ie},we({_:2},[e.$slots.prefix?{name:"prefix",fn:x(()=>[S(e.$slots,"prefix")]),key:"0"}:void 0,e.$slots.suffix?{name:"suffix",fn:x(()=>[S(e.$slots,"suffix")]),key:"1"}:void 0]),1032,["id","type","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","inputmode","formatter","parser","tabindex"])],34))}}),Le=Ge;const Qe=De(Le);export{Qe as E}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-input-number-Bg2C0S8w.js +import{ak as f,a8 as V,b as fe,aR as be,R as z,d as pe,aW as Ne,a as ve,z as he,D as H,G as Ve,bz as ye,o as N,c as $,K as J,f as i,t as q,n as K,h as S,s as O,w as x,e as w,S as Ee,bA as ge,E as Q,g as Y,bB as Se,bC as xe,aX as we,aL as Ie,y as Fe,j as h,V as Ae,bD as ke,W as Z,aU as _,aK as R,C as Ce,J as Pe,U as I,l as De}from"./index-Ds9AETjS.js";import{U as F,I as A,C as te}from"./raf-zQ00nuMI.js";import{b as Te,e as Be,c as Me}from"./index-BNsCyG4A.js";import{E as ze}from"./index-h5FkzAP_.js";import{v as ee}from"./index-2LOSO4Pw.js";import{u as $e}from"./index-BSbCLbaz.js";const Ke=fe({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.MAX_SAFE_INTEGER},min:{type:Number,default:Number.MIN_SAFE_INTEGER},modelValue:{type:[Number,null]},readonly:Boolean,disabled:{type:Boolean,default:void 0},size:be,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:z([String,Number,null]),validator:a=>a===null||f(a)||["min","max"].includes(a),default:null},name:String,placeholder:String,precision:{type:Number,validator:a=>a>=0&&a===Number.parseInt(`${a}`,10)},validateEvent:{type:Boolean,default:!0},...$e(["ariaLabel"]),inputmode:{type:z(String),default:void 0},align:{type:z(String),default:"center"},disabledScientific:Boolean,formatter:{type:Function},parser:{type:Function},tabindex:{type:[String,Number],default:0}}),Oe={[te]:(a,k)=>k!==a,blur:a=>a instanceof FocusEvent,focus:a=>a instanceof FocusEvent,[A]:a=>f(a)||V(a),[F]:a=>f(a)||V(a)},Re=["aria-label"],Ue=["aria-label"];var Ge=pe({name:"ElInputNumber",__name:"input-number",props:Ke,emits:Oe,setup(a,{expose:k,emit:ae}){const n=a,o=ae,{t:U}=Ne(),d=ve("input-number"),b=Fe(),l=he({currentValue:n.modelValue,userInput:null}),{formItem:m}=Te(),G=h(()=>f(n.modelValue)&&n.modelValue<=n.min),L=h(()=>f(n.modelValue)&&n.modelValue>=n.max),ne=h(()=>{const e=X(n.step);return I(n.precision)?Math.max(X(n.modelValue),e):(e>n.precision&&R("InputNumber","precision should not be less than the decimal places of step"),n.precision)}),C=h(()=>n.controls&&n.controlsPosition==="right"),W=Be(),v=Me(),P=h(()=>{if(l.userInput!==null)return l.userInput;let e=l.currentValue;if(V(e))return"";if(f(e)){if(Number.isNaN(e))return"";I(n.precision)||(e=e.toFixed(n.precision))}return e}),y=(e,t)=>{if(I(t)&&(t=ne.value),t===0)return Math.round(e);let r=String(e);const u=r.indexOf(".");if(u===-1||!r.replace(".","").split("")[u+t])return e;const c=r.length;return r.charAt(c-1)==="5"&&(r=`${r.slice(0,Math.max(0,c-1))}6`),Number.parseFloat(Number(r).toFixed(t))},X=e=>{if(V(e))return 0;const t=e.toString(),r=t.indexOf(".");let u=0;return r!==-1&&(u=t.length-r-1),u},j=(e,t=1)=>f(e)?e>=Number.MAX_SAFE_INTEGER&&t===1?(R("InputNumber","The value has reached the maximum safe integer limit."),e):e<=Number.MIN_SAFE_INTEGER&&t===-1?(R("InputNumber","The value has reached the minimum safe integer limit."),e):y(e+n.step*t):l.currentValue,re=e=>{const t=Ae(e),r=ke(e);if(n.disabledScientific&&["e","E"].includes(r)){e.preventDefault();return}switch(t){case Z.up:e.preventDefault(),D();break;case Z.down:e.preventDefault(),T();break}},D=()=>{n.readonly||v.value||L.value||(E(j(Number(P.value)||0)),o(A,l.currentValue),M())},T=()=>{n.readonly||v.value||G.value||(E(j(Number(P.value)||0,-1)),o(A,l.currentValue),M())},B=(e,t)=>{const{max:r,min:u,step:c,precision:p,stepStrictly:me,valueOnClear:g}=n;rr||sr?r:u,t&&o("update:modelValue",s)),s},E=(e,t=!0)=>{var c;const r=l.currentValue,u=B(e);if(!t){o(F,u);return}l.userInput=null,!(r===u&&e)&&(o(F,u),r!==u&&o(te,u,r),n.validateEvent&&((c=m==null?void 0:m.validate)==null||c.call(m,"change").catch(_)),l.currentValue=u)},ue=e=>{l.userInput=e;let t=e===""?null:Number.parseFloat(e);Number.isNaN(t)&&(t=null),o(A,t),E(t,!1)},ie=e=>{const t=e!==""?Number.parseFloat(e):"";(f(t)&&!Number.isNaN(t)||n.formatter&&Number.isNaN(t)||t==="")&&E(t),M(),l.userInput=null},le=()=>{var e,t;(t=(e=b.value)==null?void 0:e.focus)==null||t.call(e)},se=()=>{var e,t;(t=(e=b.value)==null?void 0:e.blur)==null||t.call(e)},oe=e=>{o("focus",e)},ce=e=>{var t,r,u;l.userInput=null,l.currentValue===null&&((t=b.value)!=null&&t.input)&&(b.value.input.value=((r=n.formatter)==null?void 0:r.call(n,""))??""),o("blur",e),n.validateEvent&&((u=m==null?void 0:m.validate)==null||u.call(m,"blur").catch(_))},M=()=>{l.currentValue!==n.modelValue&&(l.currentValue=n.modelValue)},de=e=>{document.activeElement===e.target&&e.preventDefault()};return H(()=>n.modelValue,(e,t)=>{const r=B(e,!0);l.userInput===null&&r!==t&&(l.currentValue=r)},{immediate:!0}),H(()=>n.precision,()=>{l.currentValue=B(n.modelValue)}),Ve(()=>{var c;const{min:e,max:t,modelValue:r}=n,u=(c=b.value)==null?void 0:c.input;if(u.setAttribute("role","spinbutton"),Number.isFinite(t)?u.setAttribute("aria-valuemax",String(t)):u.removeAttribute("aria-valuemax"),Number.isFinite(e)?u.setAttribute("aria-valuemin",String(e)):u.removeAttribute("aria-valuemin"),u.setAttribute("aria-valuenow",l.currentValue||l.currentValue===0?String(l.currentValue):""),u.setAttribute("aria-disabled",String(v.value)),!f(r)&&r!=null){let p=Number(r);Number.isNaN(p)&&(p=null),o(F,p)}u.addEventListener("wheel",de,{passive:!1})}),ye(()=>{var e,t;(t=(e=b.value)==null?void 0:e.input)==null||t.setAttribute("aria-valuenow",`${l.currentValue??""}`)}),k({focus:le,blur:se}),(e,t)=>(N(),$("div",{class:K([i(d).b(),i(d).m(i(W)),i(d).is("disabled",i(v)),i(d).is("without-controls",!a.controls),i(d).is("controls-right",C.value),i(d).is(a.align,!!a.align)]),onDragstart:t[0]||(t[0]=Ie(()=>{},["prevent"]))},[a.controls?J((N(),$("span",{key:0,role:"button","aria-label":i(U)("el.inputNumber.decrease"),class:K([i(d).e("decrease"),i(d).is("disabled",G.value)]),onKeydown:q(T,["enter"])},[S(e.$slots,"decrease-icon",{},()=>[O(i(Q),null,{default:x(()=>[C.value?(N(),w(i(Ee),{key:0})):(N(),w(i(ge),{key:1}))]),_:1})])],42,Re)),[[i(ee),T]]):Y("v-if",!0),a.controls?J((N(),$("span",{key:1,role:"button","aria-label":i(U)("el.inputNumber.increase"),class:K([i(d).e("increase"),i(d).is("disabled",L.value)]),onKeydown:q(D,["enter"])},[S(e.$slots,"increase-icon",{},()=>[O(i(Q),null,{default:x(()=>[C.value?(N(),w(i(Se),{key:0})):(N(),w(i(xe),{key:1}))]),_:1})])],42,Ue)),[[i(ee),D]]):Y("v-if",!0),O(i(ze),{id:a.id,ref_key:"input",ref:b,type:a.formatter?"text":"number",step:a.step,"model-value":P.value,placeholder:a.placeholder,readonly:a.readonly,disabled:i(v),size:i(W),max:a.max,min:a.min,name:a.name,"aria-label":a.ariaLabel,"validate-event":!1,inputmode:a.inputmode,formatter:a.formatter,parser:a.parser,tabindex:a.tabindex,onKeydown:re,onBlur:ce,onFocus:oe,onInput:ue,onChange:ie},we({_:2},[e.$slots.prefix?{name:"prefix",fn:x(()=>[S(e.$slots,"prefix")]),key:"0"}:void 0,e.$slots.suffix?{name:"suffix",fn:x(()=>[S(e.$slots,"suffix")]),key:"1"}:void 0]),1032,["id","type","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","inputmode","formatter","parser","tabindex"])],34))}}),Le=Ge;const Qe=De(Le);export{Qe as E}; +======== +import{ak as f,a8 as V,b as fe,aS as be,R as z,d as pe,aW as Ne,a as ve,z as he,D as H,G as Ve,bz as ye,o as N,c as $,K as J,f as i,t as q,n as K,h as S,s as O,w as x,e as w,S as Ee,bA as ge,E as Q,g as Y,bB as Se,bC as xe,aX as we,aL as Ie,y as Fe,j as h,V as Ae,bD as ke,W as Z,aU as _,aK as R,C as Ce,J as Pe,U as I,l as De}from"./index-CxbBjZKo.js";import{U as F,I as A,C as te}from"./raf-Bjl8yy5U.js";import{b as Te,e as Be,c as Me}from"./index-D23K2h6y.js";import{E as ze}from"./index-zJ9bqPrh.js";import{v as ee}from"./index-ZKnv_mga.js";import{u as $e}from"./index-DxP0p4ch.js";const Ke=fe({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.MAX_SAFE_INTEGER},min:{type:Number,default:Number.MIN_SAFE_INTEGER},modelValue:{type:[Number,null]},readonly:Boolean,disabled:{type:Boolean,default:void 0},size:be,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:z([String,Number,null]),validator:a=>a===null||f(a)||["min","max"].includes(a),default:null},name:String,placeholder:String,precision:{type:Number,validator:a=>a>=0&&a===Number.parseInt(`${a}`,10)},validateEvent:{type:Boolean,default:!0},...$e(["ariaLabel"]),inputmode:{type:z(String),default:void 0},align:{type:z(String),default:"center"},disabledScientific:Boolean,formatter:{type:Function},parser:{type:Function},tabindex:{type:[String,Number],default:0}}),Oe={[te]:(a,k)=>k!==a,blur:a=>a instanceof FocusEvent,focus:a=>a instanceof FocusEvent,[A]:a=>f(a)||V(a),[F]:a=>f(a)||V(a)},Re=["aria-label"],Ue=["aria-label"];var Ge=pe({name:"ElInputNumber",__name:"input-number",props:Ke,emits:Oe,setup(a,{expose:k,emit:ae}){const n=a,o=ae,{t:U}=Ne(),d=ve("input-number"),b=Fe(),l=he({currentValue:n.modelValue,userInput:null}),{formItem:m}=Te(),G=h(()=>f(n.modelValue)&&n.modelValue<=n.min),L=h(()=>f(n.modelValue)&&n.modelValue>=n.max),ne=h(()=>{const e=X(n.step);return I(n.precision)?Math.max(X(n.modelValue),e):(e>n.precision&&R("InputNumber","precision should not be less than the decimal places of step"),n.precision)}),C=h(()=>n.controls&&n.controlsPosition==="right"),W=Be(),v=Me(),P=h(()=>{if(l.userInput!==null)return l.userInput;let e=l.currentValue;if(V(e))return"";if(f(e)){if(Number.isNaN(e))return"";I(n.precision)||(e=e.toFixed(n.precision))}return e}),y=(e,t)=>{if(I(t)&&(t=ne.value),t===0)return Math.round(e);let r=String(e);const u=r.indexOf(".");if(u===-1||!r.replace(".","").split("")[u+t])return e;const c=r.length;return r.charAt(c-1)==="5"&&(r=`${r.slice(0,Math.max(0,c-1))}6`),Number.parseFloat(Number(r).toFixed(t))},X=e=>{if(V(e))return 0;const t=e.toString(),r=t.indexOf(".");let u=0;return r!==-1&&(u=t.length-r-1),u},j=(e,t=1)=>f(e)?e>=Number.MAX_SAFE_INTEGER&&t===1?(R("InputNumber","The value has reached the maximum safe integer limit."),e):e<=Number.MIN_SAFE_INTEGER&&t===-1?(R("InputNumber","The value has reached the minimum safe integer limit."),e):y(e+n.step*t):l.currentValue,re=e=>{const t=Ae(e),r=ke(e);if(n.disabledScientific&&["e","E"].includes(r)){e.preventDefault();return}switch(t){case Z.up:e.preventDefault(),D();break;case Z.down:e.preventDefault(),T();break}},D=()=>{n.readonly||v.value||L.value||(E(j(Number(P.value)||0)),o(A,l.currentValue),M())},T=()=>{n.readonly||v.value||G.value||(E(j(Number(P.value)||0,-1)),o(A,l.currentValue),M())},B=(e,t)=>{const{max:r,min:u,step:c,precision:p,stepStrictly:me,valueOnClear:g}=n;rr||sr?r:u,t&&o("update:modelValue",s)),s},E=(e,t=!0)=>{var c;const r=l.currentValue,u=B(e);if(!t){o(F,u);return}l.userInput=null,!(r===u&&e)&&(o(F,u),r!==u&&o(te,u,r),n.validateEvent&&((c=m==null?void 0:m.validate)==null||c.call(m,"change").catch(_)),l.currentValue=u)},ue=e=>{l.userInput=e;let t=e===""?null:Number.parseFloat(e);Number.isNaN(t)&&(t=null),o(A,t),E(t,!1)},ie=e=>{const t=e!==""?Number.parseFloat(e):"";(f(t)&&!Number.isNaN(t)||n.formatter&&Number.isNaN(t)||t==="")&&E(t),M(),l.userInput=null},le=()=>{var e,t;(t=(e=b.value)==null?void 0:e.focus)==null||t.call(e)},se=()=>{var e,t;(t=(e=b.value)==null?void 0:e.blur)==null||t.call(e)},oe=e=>{o("focus",e)},ce=e=>{var t,r,u;l.userInput=null,l.currentValue===null&&((t=b.value)!=null&&t.input)&&(b.value.input.value=((r=n.formatter)==null?void 0:r.call(n,""))??""),o("blur",e),n.validateEvent&&((u=m==null?void 0:m.validate)==null||u.call(m,"blur").catch(_))},M=()=>{l.currentValue!==n.modelValue&&(l.currentValue=n.modelValue)},de=e=>{document.activeElement===e.target&&e.preventDefault()};return H(()=>n.modelValue,(e,t)=>{const r=B(e,!0);l.userInput===null&&r!==t&&(l.currentValue=r)},{immediate:!0}),H(()=>n.precision,()=>{l.currentValue=B(n.modelValue)}),Ve(()=>{var c;const{min:e,max:t,modelValue:r}=n,u=(c=b.value)==null?void 0:c.input;if(u.setAttribute("role","spinbutton"),Number.isFinite(t)?u.setAttribute("aria-valuemax",String(t)):u.removeAttribute("aria-valuemax"),Number.isFinite(e)?u.setAttribute("aria-valuemin",String(e)):u.removeAttribute("aria-valuemin"),u.setAttribute("aria-valuenow",l.currentValue||l.currentValue===0?String(l.currentValue):""),u.setAttribute("aria-disabled",String(v.value)),!f(r)&&r!=null){let p=Number(r);Number.isNaN(p)&&(p=null),o(F,p)}u.addEventListener("wheel",de,{passive:!1})}),ye(()=>{var e,t;(t=(e=b.value)==null?void 0:e.input)==null||t.setAttribute("aria-valuenow",`${l.currentValue??""}`)}),k({focus:le,blur:se}),(e,t)=>(N(),$("div",{class:K([i(d).b(),i(d).m(i(W)),i(d).is("disabled",i(v)),i(d).is("without-controls",!a.controls),i(d).is("controls-right",C.value),i(d).is(a.align,!!a.align)]),onDragstart:t[0]||(t[0]=Ie(()=>{},["prevent"]))},[a.controls?J((N(),$("span",{key:0,role:"button","aria-label":i(U)("el.inputNumber.decrease"),class:K([i(d).e("decrease"),i(d).is("disabled",G.value)]),onKeydown:q(T,["enter"])},[S(e.$slots,"decrease-icon",{},()=>[O(i(Q),null,{default:x(()=>[C.value?(N(),w(i(Ee),{key:0})):(N(),w(i(ge),{key:1}))]),_:1})])],42,Re)),[[i(ee),T]]):Y("v-if",!0),a.controls?J((N(),$("span",{key:1,role:"button","aria-label":i(U)("el.inputNumber.increase"),class:K([i(d).e("increase"),i(d).is("disabled",L.value)]),onKeydown:q(D,["enter"])},[S(e.$slots,"increase-icon",{},()=>[O(i(Q),null,{default:x(()=>[C.value?(N(),w(i(Se),{key:0})):(N(),w(i(xe),{key:1}))]),_:1})])],42,Ue)),[[i(ee),D]]):Y("v-if",!0),O(i(ze),{id:a.id,ref_key:"input",ref:b,type:a.formatter?"text":"number",step:a.step,"model-value":P.value,placeholder:a.placeholder,readonly:a.readonly,disabled:i(v),size:i(W),max:a.max,min:a.min,name:a.name,"aria-label":a.ariaLabel,"validate-event":!1,inputmode:a.inputmode,formatter:a.formatter,parser:a.parser,tabindex:a.tabindex,onKeydown:re,onBlur:ce,onFocus:oe,onInput:ue,onChange:ie},we({_:2},[e.$slots.prefix?{name:"prefix",fn:x(()=>[S(e.$slots,"prefix")]),key:"0"}:void 0,e.$slots.suffix?{name:"suffix",fn:x(()=>[S(e.$slots,"suffix")]),key:"1"}:void 0]),1032,["id","type","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","inputmode","formatter","parser","tabindex"])],34))}}),Le=Ge;const Qe=De(Le);export{Qe as E}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-input-number-Ba6IqA7Z.js diff --git a/frontend/dist/assets/el-pagination-B1UdckVp.js b/frontend/dist/assets/el-pagination-B1UdckVp.js index b2cbf9e..d33b3a5 100644 --- a/frontend/dist/assets/el-pagination-B1UdckVp.js +++ b/frontend/dist/assets/el-pagination-B1UdckVp.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-pagination-B1UdckVp.js import{b as A,i as G,d as q,aW as F,o,c as C,aa as L,e as w,w as X,r as ae,f as i,E as te,j as y,B as oe,aj as ne,R as J,a5 as ie,a as D,y as x,D as O,s as re,M as le,ad as se,n as S,b6 as pe,a6 as de,q as Z,g as V,bh as ge,bi as H,bj as ce,t as fe,N as ve,bk as be,aK as me,I,ak as T,aR as Pe,T as Ce,bl as ye,F as ze,l as he}from"./index-CD29OCdJ.js";import{C as R}from"./raf-DGtHIxe2.js";import{u as _e}from"./index-6OTFNiIi.js";import{a as Se,E as Ne}from"./el-select-dn4MhMwo.js";import{E as ke}from"./index-D0wqu88j.js";const ue=Symbol("elPaginationKey"),xe=A({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:G}}),Ee={click:e=>e instanceof MouseEvent},Te=["disabled","aria-label","aria-disabled"],we={key:0};var Be=q({name:"ElPaginationPrev",__name:"prev",props:xe,emits:Ee,setup(e){const s=e,{t:n}=F(),f=y(()=>s.disabled||s.currentPage<=1);return(r,p)=>(o(),C("button",{type:"button",class:"btn-prev",disabled:f.value,"aria-label":r.prevText||i(n)("el.pagination.prev"),"aria-disabled":f.value,onClick:p[0]||(p[0]=g=>r.$emit("click",g))},[r.prevText?(o(),C("span",we,L(r.prevText),1)):(o(),w(i(te),{key:1},{default:X(()=>[(o(),w(ae(r.prevIcon)))]),_:1}))],8,Te))}}),Me=Be;const Ie=A({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:G}}),$e=["disabled","aria-label","aria-disabled"],je={key:0};var Le=q({name:"ElPaginationNext",__name:"next",props:Ie,emits:["click"],setup(e){const s=e,{t:n}=F(),f=y(()=>s.disabled||s.currentPage===s.pageCount||s.pageCount===0);return(r,p)=>(o(),C("button",{type:"button",class:"btn-next",disabled:f.value,"aria-label":r.nextText||i(n)("el.pagination.next"),"aria-disabled":f.value,onClick:p[0]||(p[0]=g=>r.$emit("click",g))},[r.nextText?(o(),C("span",je,L(r.nextText),1)):(o(),w(i(te),{key:1},{default:X(()=>[(o(),w(ae(r.nextIcon)))]),_:1}))],8,$e))}}),Ae=Le;const Y=()=>oe(ue,{}),qe=A({pageSize:{type:Number,required:!0},pageSizes:{type:J(Array),default:()=>ie([10,20,30,40,50,100])},popperClass:{type:String},popperStyle:{type:J([String,Object])},disabled:Boolean,teleported:Boolean,size:{type:String,values:ne},appendSizeTo:String});var Fe=q({name:"ElPaginationSizes",__name:"sizes",props:qe,emits:["page-size-change"],setup(e,{emit:s}){const n=e,f=s,{t:r}=F(),p=D("pagination"),g=Y(),b=x(n.pageSize);O(()=>n.pageSizes,(u,d)=>{pe(u,d)||de(u)&&f("page-size-change",u.includes(n.pageSize)?n.pageSize:n.pageSizes[0])}),O(()=>n.pageSize,u=>{b.value=u});const E=y(()=>n.pageSizes);function z(u){var d;u!==b.value&&(b.value=u,(d=g.handleSizeChange)==null||d.call(g,Number(u)))}return(u,d)=>(o(),C("span",{class:S(i(p).e("sizes"))},[re(i(Ne),{"model-value":b.value,disabled:u.disabled,"popper-class":u.popperClass,"popper-style":u.popperStyle,size:u.size,teleported:u.teleported,"validate-event":!1,"append-to":u.appendSizeTo,onChange:z},{default:X(()=>[(o(!0),C(le,null,se(E.value,N=>(o(),w(i(Se),{key:N,value:N,label:N+i(r)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","popper-style","size","teleported","append-to"])],2))}}),Ke=Fe;const De=A({size:{type:String,values:ne}}),Oe=["disabled"];var Ue=q({name:"ElPaginationJumper",__name:"jumper",props:De,setup(e){const{t:s}=F(),n=D("pagination"),{pageCount:f,disabled:r,currentPage:p,changeEvent:g}=Y(),b=x(),E=y(()=>b.value??(p==null?void 0:p.value));function z(d){b.value=d?+d:""}function u(d){d=Math.trunc(+d),g==null||g(d),b.value=void 0}return(d,N)=>(o(),C("span",{class:S(i(n).e("jump")),disabled:i(r)},[Z("span",{class:S([i(n).e("goto")])},L(i(s)("el.pagination.goto")),3),re(i(ke),{size:d.size,class:S([i(n).e("editor"),i(n).is("in-pagination")]),min:1,max:i(f),disabled:i(r),"model-value":E.value,"validate-event":!1,"aria-label":i(s)("el.pagination.page"),type:"number","onUpdate:modelValue":z,onChange:u},null,8,["size","class","max","disabled","model-value","aria-label"]),Z("span",{class:S([i(n).e("classifier")])},L(i(s)("el.pagination.pageClassifier")),3)],10,Oe))}}),We=Ue;const Ve=A({total:{type:Number,default:1e3}}),Re=["disabled"];var Ge=q({name:"ElPaginationTotal",__name:"total",props:Ve,setup(e){const{t:s}=F(),n=D("pagination"),{disabled:f}=Y();return(r,p)=>(o(),C("span",{class:S(i(n).e("total")),disabled:i(f)},L(i(s)("el.pagination.total",{total:r.total})),11,Re))}}),Je=Ge;const Qe=A({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),Xe=["aria-current","aria-label","tabindex"],Ye=["tabindex","aria-label"],Ze=["aria-current","aria-label","tabindex"],He=["tabindex","aria-label"],ea=["aria-current","aria-label","tabindex"];var aa=q({name:"ElPaginationPager",__name:"pager",props:Qe,emits:[R],setup(e,{emit:s}){const n=e,f=s,r=D("pager"),p=D("icon"),{t:g}=F(),b=x(!1),E=x(!1),z=x(!1),u=x(!1),d=x(!1),N=x(!1),K=y(()=>{const a=n.pagerCount,t=(a-1)/2,l=Number(n.currentPage),h=Number(n.pageCount);let _=!1,m=!1;h>a&&(l>a-t&&(_=!0),l["more","btn-quickprev",p.b(),r.is("disabled",n.disabled)]),v=y(()=>["more","btn-quicknext",p.b(),r.is("disabled",n.disabled)]),B=y(()=>n.disabled?-1:0);O(()=>[n.pageCount,n.pagerCount,n.currentPage],([a,t,l])=>{const h=(t-1)/2;let _=!1,m=!1;a>t&&(_=l>t-h,m=lh&&(l=h)),l!==_&&f(R,l)}return(a,t)=>(o(),C("ul",{class:S(i(r).b()),onClick:$,onKeyup:fe(Q,["enter"])},[a.pageCount>0?(o(),C("li",{key:0,class:S([[i(r).is("active",a.currentPage===1),i(r).is("disabled",a.disabled)],"number"]),"aria-current":a.currentPage===1,"aria-label":i(g)("el.pagination.currentPage",{pager:1}),tabindex:B.value}," 1 ",10,Xe)):V("v-if",!0),b.value?(o(),C("li",{key:1,class:S(k.value),tabindex:B.value,"aria-label":i(g)("el.pagination.prevPages",{pager:a.pagerCount-2}),onMouseenter:t[0]||(t[0]=l=>U(!0)),onMouseleave:t[1]||(t[1]=l=>z.value=!1),onFocus:t[2]||(t[2]=l=>W(!0)),onBlur:t[3]||(t[3]=l=>d.value=!1)},[(z.value||d.value)&&!a.disabled?(o(),w(i(ge),{key:0})):(o(),w(i(H),{key:1}))],42,Ye)):V("v-if",!0),(o(!0),C(le,null,se(K.value,l=>(o(),C("li",{key:l,class:S([[i(r).is("active",a.currentPage===l),i(r).is("disabled",a.disabled)],"number"]),"aria-current":a.currentPage===l,"aria-label":i(g)("el.pagination.currentPage",{pager:l}),tabindex:B.value},L(l),11,Ze))),128)),E.value?(o(),C("li",{key:2,class:S(v.value),tabindex:B.value,"aria-label":i(g)("el.pagination.nextPages",{pager:a.pagerCount-2}),onMouseenter:t[4]||(t[4]=l=>U()),onMouseleave:t[5]||(t[5]=l=>u.value=!1),onFocus:t[6]||(t[6]=l=>W()),onBlur:t[7]||(t[7]=l=>N.value=!1)},[(u.value||N.value)&&!a.disabled?(o(),w(i(ce),{key:0})):(o(),w(i(H),{key:1}))],42,He)):V("v-if",!0),a.pageCount>1?(o(),C("li",{key:3,class:S([[i(r).is("active",a.currentPage===a.pageCount),i(r).is("disabled",a.disabled)],"number"]),"aria-current":a.currentPage===a.pageCount,"aria-label":i(g)("el.pagination.currentPage",{pager:a.pageCount}),tabindex:B.value},L(a.pageCount),11,ea)):V("v-if",!0)],34))}}),ta=aa;const P=e=>typeof e!="number",na=A({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>T(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:J(Array),default:()=>ie([10,20,30,40,50,100])},popperClass:{type:String,default:""},popperStyle:{type:J([String,Object])},prevText:{type:String,default:""},prevIcon:{type:G,default:()=>ye},nextText:{type:String,default:""},nextIcon:{type:G,default:()=>Ce},teleported:{type:Boolean,default:!0},small:Boolean,size:Pe,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),ia={"update:current-page":e=>T(e),"update:page-size":e=>T(e),"size-change":e=>T(e),change:(e,s)=>T(e)&&T(s),"current-change":e=>T(e),"prev-click":e=>T(e),"next-click":e=>T(e)},ee="ElPagination";var ra=q({name:ee,props:na,emits:ia,setup(e,{emit:s,slots:n}){const{t:f}=F(),r=D("pagination"),p=ve().vnode.props||{},g=be(),b=y(()=>e.small?"small":e.size??g.value);_e({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},y(()=>!!e.small));const E="onUpdate:currentPage"in p||"onUpdate:current-page"in p||"onCurrentChange"in p,z="onUpdate:pageSize"in p||"onUpdate:page-size"in p||"onSizeChange"in p,u=y(()=>{if(P(e.total)&&P(e.pageCount)||!P(e.currentPage)&&!E)return!1;if(e.layout.includes("sizes")){if(P(e.pageCount)){if(!P(e.total)&&!P(e.pageSize)&&!z)return!1}else if(!z)return!1}return!0}),d=x(P(e.defaultPageSize)?10:e.defaultPageSize),N=x(P(e.defaultCurrentPage)?1:e.defaultCurrentPage),K=y({get(){return P(e.pageSize)?d.value:e.pageSize},set(a){P(e.pageSize)&&(d.value=a),z&&(s("update:page-size",a),s("size-change",a))}}),k=y(()=>{let a=0;return P(e.pageCount)?P(e.total)||(a=Math.max(1,Math.ceil(e.total/K.value))):a=e.pageCount,a}),v=y({get(){return P(e.currentPage)?N.value:e.currentPage},set(a){let t=a;a<1?t=1:a>k.value&&(t=k.value),P(e.currentPage)&&(N.value=t),E&&(s("update:current-page",t),s("current-change",t))}});O(k,a=>{v.value>a&&(v.value=a)}),O([v,K],a=>{s(R,...a)},{flush:"post"});function B(a){v.value=a}function U(a){K.value=a;const t=k.value;v.value>t&&(v.value=t)}function W(){e.disabled||(v.value-=1,s("prev-click",v.value))}function Q(){e.disabled||(v.value+=1,s("next-click",v.value))}function $(a,t){a&&(a.props||(a.props={}),a.props.class=[a.props.class,t].join(" "))}return ze(ue,{pageCount:k,disabled:y(()=>e.disabled),currentPage:v,changeEvent:B,handleSizeChange:U}),()=>{var M;if(!u.value)return me(ee,f("el.pagination.deprecationWarning")),null;if(!e.layout||e.hideOnSinglePage&&k.value<=1)return null;const a=[],t=[],l=I("div",{class:r.e("rightwrapper")},t),h={prev:I(Me,{disabled:e.disabled,currentPage:v.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:W}),jumper:I(We,{size:b.value}),pager:I(ta,{currentPage:v.value,pageCount:k.value,pagerCount:e.pagerCount,onChange:B,disabled:e.disabled}),next:I(Ae,{disabled:e.disabled,currentPage:v.value,pageCount:k.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:Q}),sizes:I(Ke,{pageSize:K.value,pageSizes:e.pageSizes,popperClass:e.popperClass,popperStyle:e.popperStyle,disabled:e.disabled,teleported:e.teleported,size:b.value,appendSizeTo:e.appendSizeTo}),slot:((M=n==null?void 0:n.default)==null?void 0:M.call(n))??null,total:I(Je,{total:P(e.total)?0:e.total})},_=e.layout.split(",").map(c=>c.trim());let m=!1;return _.forEach(c=>{if(c==="->"){m=!0;return}m?t.push(h[c]):a.push(h[c])}),$(a[0],r.is("first")),$(a[a.length-1],r.is("last")),m&&t.length>0&&($(t[0],r.is("first")),$(t[t.length-1],r.is("last")),a.push(l)),I("div",{class:[r.b(),r.is("background",e.background),r.m(b.value)]},a)}}});const da=he(ra);export{da as E}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-pagination-C9R_oTJ1.js +import{b as A,i as G,d as q,aW as F,o,c as C,aa as L,e as w,w as X,r as ae,f as i,E as te,j as y,B as oe,aj as ne,R as J,a5 as ie,a as D,y as x,D as O,s as re,M as le,ad as se,n as S,b6 as pe,a6 as de,q as Z,g as V,bh as ge,bi as H,bj as ce,t as fe,N as ve,bk as be,aK as me,I,ak as T,aR as Pe,T as Ce,bl as ye,F as ze,l as he}from"./index-Ds9AETjS.js";import{C as R}from"./raf-zQ00nuMI.js";import{u as _e}from"./index-BNsCyG4A.js";import{a as Se,E as Ne}from"./el-select-BD70by95.js";import{E as ke}from"./index-h5FkzAP_.js";const ue=Symbol("elPaginationKey"),xe=A({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:G}}),Ee={click:e=>e instanceof MouseEvent},Te=["disabled","aria-label","aria-disabled"],we={key:0};var Be=q({name:"ElPaginationPrev",__name:"prev",props:xe,emits:Ee,setup(e){const s=e,{t:n}=F(),f=y(()=>s.disabled||s.currentPage<=1);return(r,p)=>(o(),C("button",{type:"button",class:"btn-prev",disabled:f.value,"aria-label":r.prevText||i(n)("el.pagination.prev"),"aria-disabled":f.value,onClick:p[0]||(p[0]=g=>r.$emit("click",g))},[r.prevText?(o(),C("span",we,L(r.prevText),1)):(o(),w(i(te),{key:1},{default:X(()=>[(o(),w(ae(r.prevIcon)))]),_:1}))],8,Te))}}),Me=Be;const Ie=A({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:G}}),$e=["disabled","aria-label","aria-disabled"],je={key:0};var Le=q({name:"ElPaginationNext",__name:"next",props:Ie,emits:["click"],setup(e){const s=e,{t:n}=F(),f=y(()=>s.disabled||s.currentPage===s.pageCount||s.pageCount===0);return(r,p)=>(o(),C("button",{type:"button",class:"btn-next",disabled:f.value,"aria-label":r.nextText||i(n)("el.pagination.next"),"aria-disabled":f.value,onClick:p[0]||(p[0]=g=>r.$emit("click",g))},[r.nextText?(o(),C("span",je,L(r.nextText),1)):(o(),w(i(te),{key:1},{default:X(()=>[(o(),w(ae(r.nextIcon)))]),_:1}))],8,$e))}}),Ae=Le;const Y=()=>oe(ue,{}),qe=A({pageSize:{type:Number,required:!0},pageSizes:{type:J(Array),default:()=>ie([10,20,30,40,50,100])},popperClass:{type:String},popperStyle:{type:J([String,Object])},disabled:Boolean,teleported:Boolean,size:{type:String,values:ne},appendSizeTo:String});var Fe=q({name:"ElPaginationSizes",__name:"sizes",props:qe,emits:["page-size-change"],setup(e,{emit:s}){const n=e,f=s,{t:r}=F(),p=D("pagination"),g=Y(),b=x(n.pageSize);O(()=>n.pageSizes,(u,d)=>{pe(u,d)||de(u)&&f("page-size-change",u.includes(n.pageSize)?n.pageSize:n.pageSizes[0])}),O(()=>n.pageSize,u=>{b.value=u});const E=y(()=>n.pageSizes);function z(u){var d;u!==b.value&&(b.value=u,(d=g.handleSizeChange)==null||d.call(g,Number(u)))}return(u,d)=>(o(),C("span",{class:S(i(p).e("sizes"))},[re(i(Ne),{"model-value":b.value,disabled:u.disabled,"popper-class":u.popperClass,"popper-style":u.popperStyle,size:u.size,teleported:u.teleported,"validate-event":!1,"append-to":u.appendSizeTo,onChange:z},{default:X(()=>[(o(!0),C(le,null,se(E.value,N=>(o(),w(i(Se),{key:N,value:N,label:N+i(r)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","popper-style","size","teleported","append-to"])],2))}}),Ke=Fe;const De=A({size:{type:String,values:ne}}),Oe=["disabled"];var Ue=q({name:"ElPaginationJumper",__name:"jumper",props:De,setup(e){const{t:s}=F(),n=D("pagination"),{pageCount:f,disabled:r,currentPage:p,changeEvent:g}=Y(),b=x(),E=y(()=>b.value??(p==null?void 0:p.value));function z(d){b.value=d?+d:""}function u(d){d=Math.trunc(+d),g==null||g(d),b.value=void 0}return(d,N)=>(o(),C("span",{class:S(i(n).e("jump")),disabled:i(r)},[Z("span",{class:S([i(n).e("goto")])},L(i(s)("el.pagination.goto")),3),re(i(ke),{size:d.size,class:S([i(n).e("editor"),i(n).is("in-pagination")]),min:1,max:i(f),disabled:i(r),"model-value":E.value,"validate-event":!1,"aria-label":i(s)("el.pagination.page"),type:"number","onUpdate:modelValue":z,onChange:u},null,8,["size","class","max","disabled","model-value","aria-label"]),Z("span",{class:S([i(n).e("classifier")])},L(i(s)("el.pagination.pageClassifier")),3)],10,Oe))}}),We=Ue;const Ve=A({total:{type:Number,default:1e3}}),Re=["disabled"];var Ge=q({name:"ElPaginationTotal",__name:"total",props:Ve,setup(e){const{t:s}=F(),n=D("pagination"),{disabled:f}=Y();return(r,p)=>(o(),C("span",{class:S(i(n).e("total")),disabled:i(f)},L(i(s)("el.pagination.total",{total:r.total})),11,Re))}}),Je=Ge;const Qe=A({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),Xe=["aria-current","aria-label","tabindex"],Ye=["tabindex","aria-label"],Ze=["aria-current","aria-label","tabindex"],He=["tabindex","aria-label"],ea=["aria-current","aria-label","tabindex"];var aa=q({name:"ElPaginationPager",__name:"pager",props:Qe,emits:[R],setup(e,{emit:s}){const n=e,f=s,r=D("pager"),p=D("icon"),{t:g}=F(),b=x(!1),E=x(!1),z=x(!1),u=x(!1),d=x(!1),N=x(!1),K=y(()=>{const a=n.pagerCount,t=(a-1)/2,l=Number(n.currentPage),h=Number(n.pageCount);let _=!1,m=!1;h>a&&(l>a-t&&(_=!0),l["more","btn-quickprev",p.b(),r.is("disabled",n.disabled)]),v=y(()=>["more","btn-quicknext",p.b(),r.is("disabled",n.disabled)]),B=y(()=>n.disabled?-1:0);O(()=>[n.pageCount,n.pagerCount,n.currentPage],([a,t,l])=>{const h=(t-1)/2;let _=!1,m=!1;a>t&&(_=l>t-h,m=lh&&(l=h)),l!==_&&f(R,l)}return(a,t)=>(o(),C("ul",{class:S(i(r).b()),onClick:$,onKeyup:fe(Q,["enter"])},[a.pageCount>0?(o(),C("li",{key:0,class:S([[i(r).is("active",a.currentPage===1),i(r).is("disabled",a.disabled)],"number"]),"aria-current":a.currentPage===1,"aria-label":i(g)("el.pagination.currentPage",{pager:1}),tabindex:B.value}," 1 ",10,Xe)):V("v-if",!0),b.value?(o(),C("li",{key:1,class:S(k.value),tabindex:B.value,"aria-label":i(g)("el.pagination.prevPages",{pager:a.pagerCount-2}),onMouseenter:t[0]||(t[0]=l=>U(!0)),onMouseleave:t[1]||(t[1]=l=>z.value=!1),onFocus:t[2]||(t[2]=l=>W(!0)),onBlur:t[3]||(t[3]=l=>d.value=!1)},[(z.value||d.value)&&!a.disabled?(o(),w(i(ge),{key:0})):(o(),w(i(H),{key:1}))],42,Ye)):V("v-if",!0),(o(!0),C(le,null,se(K.value,l=>(o(),C("li",{key:l,class:S([[i(r).is("active",a.currentPage===l),i(r).is("disabled",a.disabled)],"number"]),"aria-current":a.currentPage===l,"aria-label":i(g)("el.pagination.currentPage",{pager:l}),tabindex:B.value},L(l),11,Ze))),128)),E.value?(o(),C("li",{key:2,class:S(v.value),tabindex:B.value,"aria-label":i(g)("el.pagination.nextPages",{pager:a.pagerCount-2}),onMouseenter:t[4]||(t[4]=l=>U()),onMouseleave:t[5]||(t[5]=l=>u.value=!1),onFocus:t[6]||(t[6]=l=>W()),onBlur:t[7]||(t[7]=l=>N.value=!1)},[(u.value||N.value)&&!a.disabled?(o(),w(i(ce),{key:0})):(o(),w(i(H),{key:1}))],42,He)):V("v-if",!0),a.pageCount>1?(o(),C("li",{key:3,class:S([[i(r).is("active",a.currentPage===a.pageCount),i(r).is("disabled",a.disabled)],"number"]),"aria-current":a.currentPage===a.pageCount,"aria-label":i(g)("el.pagination.currentPage",{pager:a.pageCount}),tabindex:B.value},L(a.pageCount),11,ea)):V("v-if",!0)],34))}}),ta=aa;const P=e=>typeof e!="number",na=A({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>T(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:J(Array),default:()=>ie([10,20,30,40,50,100])},popperClass:{type:String,default:""},popperStyle:{type:J([String,Object])},prevText:{type:String,default:""},prevIcon:{type:G,default:()=>ye},nextText:{type:String,default:""},nextIcon:{type:G,default:()=>Ce},teleported:{type:Boolean,default:!0},small:Boolean,size:Pe,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),ia={"update:current-page":e=>T(e),"update:page-size":e=>T(e),"size-change":e=>T(e),change:(e,s)=>T(e)&&T(s),"current-change":e=>T(e),"prev-click":e=>T(e),"next-click":e=>T(e)},ee="ElPagination";var ra=q({name:ee,props:na,emits:ia,setup(e,{emit:s,slots:n}){const{t:f}=F(),r=D("pagination"),p=ve().vnode.props||{},g=be(),b=y(()=>e.small?"small":e.size??g.value);_e({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},y(()=>!!e.small));const E="onUpdate:currentPage"in p||"onUpdate:current-page"in p||"onCurrentChange"in p,z="onUpdate:pageSize"in p||"onUpdate:page-size"in p||"onSizeChange"in p,u=y(()=>{if(P(e.total)&&P(e.pageCount)||!P(e.currentPage)&&!E)return!1;if(e.layout.includes("sizes")){if(P(e.pageCount)){if(!P(e.total)&&!P(e.pageSize)&&!z)return!1}else if(!z)return!1}return!0}),d=x(P(e.defaultPageSize)?10:e.defaultPageSize),N=x(P(e.defaultCurrentPage)?1:e.defaultCurrentPage),K=y({get(){return P(e.pageSize)?d.value:e.pageSize},set(a){P(e.pageSize)&&(d.value=a),z&&(s("update:page-size",a),s("size-change",a))}}),k=y(()=>{let a=0;return P(e.pageCount)?P(e.total)||(a=Math.max(1,Math.ceil(e.total/K.value))):a=e.pageCount,a}),v=y({get(){return P(e.currentPage)?N.value:e.currentPage},set(a){let t=a;a<1?t=1:a>k.value&&(t=k.value),P(e.currentPage)&&(N.value=t),E&&(s("update:current-page",t),s("current-change",t))}});O(k,a=>{v.value>a&&(v.value=a)}),O([v,K],a=>{s(R,...a)},{flush:"post"});function B(a){v.value=a}function U(a){K.value=a;const t=k.value;v.value>t&&(v.value=t)}function W(){e.disabled||(v.value-=1,s("prev-click",v.value))}function Q(){e.disabled||(v.value+=1,s("next-click",v.value))}function $(a,t){a&&(a.props||(a.props={}),a.props.class=[a.props.class,t].join(" "))}return ze(ue,{pageCount:k,disabled:y(()=>e.disabled),currentPage:v,changeEvent:B,handleSizeChange:U}),()=>{var M;if(!u.value)return me(ee,f("el.pagination.deprecationWarning")),null;if(!e.layout||e.hideOnSinglePage&&k.value<=1)return null;const a=[],t=[],l=I("div",{class:r.e("rightwrapper")},t),h={prev:I(Me,{disabled:e.disabled,currentPage:v.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:W}),jumper:I(We,{size:b.value}),pager:I(ta,{currentPage:v.value,pageCount:k.value,pagerCount:e.pagerCount,onChange:B,disabled:e.disabled}),next:I(Ae,{disabled:e.disabled,currentPage:v.value,pageCount:k.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:Q}),sizes:I(Ke,{pageSize:K.value,pageSizes:e.pageSizes,popperClass:e.popperClass,popperStyle:e.popperStyle,disabled:e.disabled,teleported:e.teleported,size:b.value,appendSizeTo:e.appendSizeTo}),slot:((M=n==null?void 0:n.default)==null?void 0:M.call(n))??null,total:I(Je,{total:P(e.total)?0:e.total})},_=e.layout.split(",").map(c=>c.trim());let m=!1;return _.forEach(c=>{if(c==="->"){m=!0;return}m?t.push(h[c]):a.push(h[c])}),$(a[0],r.is("first")),$(a[a.length-1],r.is("last")),m&&t.length>0&&($(t[0],r.is("first")),$(t[t.length-1],r.is("last")),a.push(l)),I("div",{class:[r.b(),r.is("background",e.background),r.m(b.value)]},a)}}});const da=he(ra);export{da as E}; +======== +import{b as A,i as G,d as q,aW as F,o,c as C,aa as L,e as w,w as X,r as ae,f as i,E as te,j as y,B as oe,aj as ne,R as J,a5 as ie,a as D,y as x,D as O,s as re,M as le,ad as se,n as S,b6 as pe,a6 as de,q as Z,g as V,bh as ge,bi as H,bj as ce,t as fe,N as ve,bk as be,aK as me,I,ak as T,aS as Pe,T as Ce,bl as ye,F as ze,l as he}from"./index-CxbBjZKo.js";import{C as R}from"./raf-Bjl8yy5U.js";import{u as _e}from"./index-D23K2h6y.js";import{a as Se,E as Ne}from"./el-select-CeiDjMzB.js";import{E as ke}from"./index-zJ9bqPrh.js";const ue=Symbol("elPaginationKey"),xe=A({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:G}}),Ee={click:e=>e instanceof MouseEvent},Te=["disabled","aria-label","aria-disabled"],we={key:0};var Be=q({name:"ElPaginationPrev",__name:"prev",props:xe,emits:Ee,setup(e){const s=e,{t:n}=F(),f=y(()=>s.disabled||s.currentPage<=1);return(r,p)=>(o(),C("button",{type:"button",class:"btn-prev",disabled:f.value,"aria-label":r.prevText||i(n)("el.pagination.prev"),"aria-disabled":f.value,onClick:p[0]||(p[0]=g=>r.$emit("click",g))},[r.prevText?(o(),C("span",we,L(r.prevText),1)):(o(),w(i(te),{key:1},{default:X(()=>[(o(),w(ae(r.prevIcon)))]),_:1}))],8,Te))}}),Me=Be;const Ie=A({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:G}}),$e=["disabled","aria-label","aria-disabled"],je={key:0};var Le=q({name:"ElPaginationNext",__name:"next",props:Ie,emits:["click"],setup(e){const s=e,{t:n}=F(),f=y(()=>s.disabled||s.currentPage===s.pageCount||s.pageCount===0);return(r,p)=>(o(),C("button",{type:"button",class:"btn-next",disabled:f.value,"aria-label":r.nextText||i(n)("el.pagination.next"),"aria-disabled":f.value,onClick:p[0]||(p[0]=g=>r.$emit("click",g))},[r.nextText?(o(),C("span",je,L(r.nextText),1)):(o(),w(i(te),{key:1},{default:X(()=>[(o(),w(ae(r.nextIcon)))]),_:1}))],8,$e))}}),Ae=Le;const Y=()=>oe(ue,{}),qe=A({pageSize:{type:Number,required:!0},pageSizes:{type:J(Array),default:()=>ie([10,20,30,40,50,100])},popperClass:{type:String},popperStyle:{type:J([String,Object])},disabled:Boolean,teleported:Boolean,size:{type:String,values:ne},appendSizeTo:String});var Fe=q({name:"ElPaginationSizes",__name:"sizes",props:qe,emits:["page-size-change"],setup(e,{emit:s}){const n=e,f=s,{t:r}=F(),p=D("pagination"),g=Y(),b=x(n.pageSize);O(()=>n.pageSizes,(u,d)=>{pe(u,d)||de(u)&&f("page-size-change",u.includes(n.pageSize)?n.pageSize:n.pageSizes[0])}),O(()=>n.pageSize,u=>{b.value=u});const E=y(()=>n.pageSizes);function z(u){var d;u!==b.value&&(b.value=u,(d=g.handleSizeChange)==null||d.call(g,Number(u)))}return(u,d)=>(o(),C("span",{class:S(i(p).e("sizes"))},[re(i(Ne),{"model-value":b.value,disabled:u.disabled,"popper-class":u.popperClass,"popper-style":u.popperStyle,size:u.size,teleported:u.teleported,"validate-event":!1,"append-to":u.appendSizeTo,onChange:z},{default:X(()=>[(o(!0),C(le,null,se(E.value,N=>(o(),w(i(Se),{key:N,value:N,label:N+i(r)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","popper-style","size","teleported","append-to"])],2))}}),Ke=Fe;const De=A({size:{type:String,values:ne}}),Oe=["disabled"];var Ue=q({name:"ElPaginationJumper",__name:"jumper",props:De,setup(e){const{t:s}=F(),n=D("pagination"),{pageCount:f,disabled:r,currentPage:p,changeEvent:g}=Y(),b=x(),E=y(()=>b.value??(p==null?void 0:p.value));function z(d){b.value=d?+d:""}function u(d){d=Math.trunc(+d),g==null||g(d),b.value=void 0}return(d,N)=>(o(),C("span",{class:S(i(n).e("jump")),disabled:i(r)},[Z("span",{class:S([i(n).e("goto")])},L(i(s)("el.pagination.goto")),3),re(i(ke),{size:d.size,class:S([i(n).e("editor"),i(n).is("in-pagination")]),min:1,max:i(f),disabled:i(r),"model-value":E.value,"validate-event":!1,"aria-label":i(s)("el.pagination.page"),type:"number","onUpdate:modelValue":z,onChange:u},null,8,["size","class","max","disabled","model-value","aria-label"]),Z("span",{class:S([i(n).e("classifier")])},L(i(s)("el.pagination.pageClassifier")),3)],10,Oe))}}),We=Ue;const Ve=A({total:{type:Number,default:1e3}}),Re=["disabled"];var Ge=q({name:"ElPaginationTotal",__name:"total",props:Ve,setup(e){const{t:s}=F(),n=D("pagination"),{disabled:f}=Y();return(r,p)=>(o(),C("span",{class:S(i(n).e("total")),disabled:i(f)},L(i(s)("el.pagination.total",{total:r.total})),11,Re))}}),Je=Ge;const Qe=A({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),Xe=["aria-current","aria-label","tabindex"],Ye=["tabindex","aria-label"],Ze=["aria-current","aria-label","tabindex"],He=["tabindex","aria-label"],ea=["aria-current","aria-label","tabindex"];var aa=q({name:"ElPaginationPager",__name:"pager",props:Qe,emits:[R],setup(e,{emit:s}){const n=e,f=s,r=D("pager"),p=D("icon"),{t:g}=F(),b=x(!1),E=x(!1),z=x(!1),u=x(!1),d=x(!1),N=x(!1),K=y(()=>{const a=n.pagerCount,t=(a-1)/2,l=Number(n.currentPage),h=Number(n.pageCount);let _=!1,m=!1;h>a&&(l>a-t&&(_=!0),l["more","btn-quickprev",p.b(),r.is("disabled",n.disabled)]),v=y(()=>["more","btn-quicknext",p.b(),r.is("disabled",n.disabled)]),B=y(()=>n.disabled?-1:0);O(()=>[n.pageCount,n.pagerCount,n.currentPage],([a,t,l])=>{const h=(t-1)/2;let _=!1,m=!1;a>t&&(_=l>t-h,m=lh&&(l=h)),l!==_&&f(R,l)}return(a,t)=>(o(),C("ul",{class:S(i(r).b()),onClick:$,onKeyup:fe(Q,["enter"])},[a.pageCount>0?(o(),C("li",{key:0,class:S([[i(r).is("active",a.currentPage===1),i(r).is("disabled",a.disabled)],"number"]),"aria-current":a.currentPage===1,"aria-label":i(g)("el.pagination.currentPage",{pager:1}),tabindex:B.value}," 1 ",10,Xe)):V("v-if",!0),b.value?(o(),C("li",{key:1,class:S(k.value),tabindex:B.value,"aria-label":i(g)("el.pagination.prevPages",{pager:a.pagerCount-2}),onMouseenter:t[0]||(t[0]=l=>U(!0)),onMouseleave:t[1]||(t[1]=l=>z.value=!1),onFocus:t[2]||(t[2]=l=>W(!0)),onBlur:t[3]||(t[3]=l=>d.value=!1)},[(z.value||d.value)&&!a.disabled?(o(),w(i(ge),{key:0})):(o(),w(i(H),{key:1}))],42,Ye)):V("v-if",!0),(o(!0),C(le,null,se(K.value,l=>(o(),C("li",{key:l,class:S([[i(r).is("active",a.currentPage===l),i(r).is("disabled",a.disabled)],"number"]),"aria-current":a.currentPage===l,"aria-label":i(g)("el.pagination.currentPage",{pager:l}),tabindex:B.value},L(l),11,Ze))),128)),E.value?(o(),C("li",{key:2,class:S(v.value),tabindex:B.value,"aria-label":i(g)("el.pagination.nextPages",{pager:a.pagerCount-2}),onMouseenter:t[4]||(t[4]=l=>U()),onMouseleave:t[5]||(t[5]=l=>u.value=!1),onFocus:t[6]||(t[6]=l=>W()),onBlur:t[7]||(t[7]=l=>N.value=!1)},[(u.value||N.value)&&!a.disabled?(o(),w(i(ce),{key:0})):(o(),w(i(H),{key:1}))],42,He)):V("v-if",!0),a.pageCount>1?(o(),C("li",{key:3,class:S([[i(r).is("active",a.currentPage===a.pageCount),i(r).is("disabled",a.disabled)],"number"]),"aria-current":a.currentPage===a.pageCount,"aria-label":i(g)("el.pagination.currentPage",{pager:a.pageCount}),tabindex:B.value},L(a.pageCount),11,ea)):V("v-if",!0)],34))}}),ta=aa;const P=e=>typeof e!="number",na=A({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>T(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:J(Array),default:()=>ie([10,20,30,40,50,100])},popperClass:{type:String,default:""},popperStyle:{type:J([String,Object])},prevText:{type:String,default:""},prevIcon:{type:G,default:()=>ye},nextText:{type:String,default:""},nextIcon:{type:G,default:()=>Ce},teleported:{type:Boolean,default:!0},small:Boolean,size:Pe,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),ia={"update:current-page":e=>T(e),"update:page-size":e=>T(e),"size-change":e=>T(e),change:(e,s)=>T(e)&&T(s),"current-change":e=>T(e),"prev-click":e=>T(e),"next-click":e=>T(e)},ee="ElPagination";var ra=q({name:ee,props:na,emits:ia,setup(e,{emit:s,slots:n}){const{t:f}=F(),r=D("pagination"),p=ve().vnode.props||{},g=be(),b=y(()=>e.small?"small":e.size??g.value);_e({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},y(()=>!!e.small));const E="onUpdate:currentPage"in p||"onUpdate:current-page"in p||"onCurrentChange"in p,z="onUpdate:pageSize"in p||"onUpdate:page-size"in p||"onSizeChange"in p,u=y(()=>{if(P(e.total)&&P(e.pageCount)||!P(e.currentPage)&&!E)return!1;if(e.layout.includes("sizes")){if(P(e.pageCount)){if(!P(e.total)&&!P(e.pageSize)&&!z)return!1}else if(!z)return!1}return!0}),d=x(P(e.defaultPageSize)?10:e.defaultPageSize),N=x(P(e.defaultCurrentPage)?1:e.defaultCurrentPage),K=y({get(){return P(e.pageSize)?d.value:e.pageSize},set(a){P(e.pageSize)&&(d.value=a),z&&(s("update:page-size",a),s("size-change",a))}}),k=y(()=>{let a=0;return P(e.pageCount)?P(e.total)||(a=Math.max(1,Math.ceil(e.total/K.value))):a=e.pageCount,a}),v=y({get(){return P(e.currentPage)?N.value:e.currentPage},set(a){let t=a;a<1?t=1:a>k.value&&(t=k.value),P(e.currentPage)&&(N.value=t),E&&(s("update:current-page",t),s("current-change",t))}});O(k,a=>{v.value>a&&(v.value=a)}),O([v,K],a=>{s(R,...a)},{flush:"post"});function B(a){v.value=a}function U(a){K.value=a;const t=k.value;v.value>t&&(v.value=t)}function W(){e.disabled||(v.value-=1,s("prev-click",v.value))}function Q(){e.disabled||(v.value+=1,s("next-click",v.value))}function $(a,t){a&&(a.props||(a.props={}),a.props.class=[a.props.class,t].join(" "))}return ze(ue,{pageCount:k,disabled:y(()=>e.disabled),currentPage:v,changeEvent:B,handleSizeChange:U}),()=>{var M;if(!u.value)return me(ee,f("el.pagination.deprecationWarning")),null;if(!e.layout||e.hideOnSinglePage&&k.value<=1)return null;const a=[],t=[],l=I("div",{class:r.e("rightwrapper")},t),h={prev:I(Me,{disabled:e.disabled,currentPage:v.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:W}),jumper:I(We,{size:b.value}),pager:I(ta,{currentPage:v.value,pageCount:k.value,pagerCount:e.pagerCount,onChange:B,disabled:e.disabled}),next:I(Ae,{disabled:e.disabled,currentPage:v.value,pageCount:k.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:Q}),sizes:I(Ke,{pageSize:K.value,pageSizes:e.pageSizes,popperClass:e.popperClass,popperStyle:e.popperStyle,disabled:e.disabled,teleported:e.teleported,size:b.value,appendSizeTo:e.appendSizeTo}),slot:((M=n==null?void 0:n.default)==null?void 0:M.call(n))??null,total:I(Je,{total:P(e.total)?0:e.total})},_=e.layout.split(",").map(c=>c.trim());let m=!1;return _.forEach(c=>{if(c==="->"){m=!0;return}m?t.push(h[c]):a.push(h[c])}),$(a[0],r.is("first")),$(a[a.length-1],r.is("last")),m&&t.length>0&&($(t[0],r.is("first")),$(t[t.length-1],r.is("last")),a.push(l)),I("div",{class:[r.b(),r.is("background",e.background),r.m(b.value)]},a)}}});const da=he(ra);export{da as E}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-pagination-ByKJEnCx.js diff --git a/frontend/dist/assets/el-pagination-ByKJEnCx.js b/frontend/dist/assets/el-pagination-ByKJEnCx.js new file mode 100644 index 0000000..eaa1e47 --- /dev/null +++ b/frontend/dist/assets/el-pagination-ByKJEnCx.js @@ -0,0 +1 @@ +import{b as A,i as G,d as q,aW as F,o,c as C,aa as L,e as w,w as X,r as ae,f as i,E as te,j as y,B as oe,aj as ne,R as J,a5 as ie,a as D,y as x,D as O,s as re,M as le,ad as se,n as S,b6 as pe,a6 as de,q as Z,g as V,bh as ge,bi as H,bj as ce,t as fe,N as ve,bk as be,aK as me,I,ak as T,aS as Pe,T as Ce,bl as ye,F as ze,l as he}from"./index-CxbBjZKo.js";import{C as R}from"./raf-Bjl8yy5U.js";import{u as _e}from"./index-D23K2h6y.js";import{a as Se,E as Ne}from"./el-select-CeiDjMzB.js";import{E as ke}from"./index-zJ9bqPrh.js";const ue=Symbol("elPaginationKey"),xe=A({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:G}}),Ee={click:e=>e instanceof MouseEvent},Te=["disabled","aria-label","aria-disabled"],we={key:0};var Be=q({name:"ElPaginationPrev",__name:"prev",props:xe,emits:Ee,setup(e){const s=e,{t:n}=F(),f=y(()=>s.disabled||s.currentPage<=1);return(r,p)=>(o(),C("button",{type:"button",class:"btn-prev",disabled:f.value,"aria-label":r.prevText||i(n)("el.pagination.prev"),"aria-disabled":f.value,onClick:p[0]||(p[0]=g=>r.$emit("click",g))},[r.prevText?(o(),C("span",we,L(r.prevText),1)):(o(),w(i(te),{key:1},{default:X(()=>[(o(),w(ae(r.prevIcon)))]),_:1}))],8,Te))}}),Me=Be;const Ie=A({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:G}}),$e=["disabled","aria-label","aria-disabled"],je={key:0};var Le=q({name:"ElPaginationNext",__name:"next",props:Ie,emits:["click"],setup(e){const s=e,{t:n}=F(),f=y(()=>s.disabled||s.currentPage===s.pageCount||s.pageCount===0);return(r,p)=>(o(),C("button",{type:"button",class:"btn-next",disabled:f.value,"aria-label":r.nextText||i(n)("el.pagination.next"),"aria-disabled":f.value,onClick:p[0]||(p[0]=g=>r.$emit("click",g))},[r.nextText?(o(),C("span",je,L(r.nextText),1)):(o(),w(i(te),{key:1},{default:X(()=>[(o(),w(ae(r.nextIcon)))]),_:1}))],8,$e))}}),Ae=Le;const Y=()=>oe(ue,{}),qe=A({pageSize:{type:Number,required:!0},pageSizes:{type:J(Array),default:()=>ie([10,20,30,40,50,100])},popperClass:{type:String},popperStyle:{type:J([String,Object])},disabled:Boolean,teleported:Boolean,size:{type:String,values:ne},appendSizeTo:String});var Fe=q({name:"ElPaginationSizes",__name:"sizes",props:qe,emits:["page-size-change"],setup(e,{emit:s}){const n=e,f=s,{t:r}=F(),p=D("pagination"),g=Y(),b=x(n.pageSize);O(()=>n.pageSizes,(u,d)=>{pe(u,d)||de(u)&&f("page-size-change",u.includes(n.pageSize)?n.pageSize:n.pageSizes[0])}),O(()=>n.pageSize,u=>{b.value=u});const E=y(()=>n.pageSizes);function z(u){var d;u!==b.value&&(b.value=u,(d=g.handleSizeChange)==null||d.call(g,Number(u)))}return(u,d)=>(o(),C("span",{class:S(i(p).e("sizes"))},[re(i(Ne),{"model-value":b.value,disabled:u.disabled,"popper-class":u.popperClass,"popper-style":u.popperStyle,size:u.size,teleported:u.teleported,"validate-event":!1,"append-to":u.appendSizeTo,onChange:z},{default:X(()=>[(o(!0),C(le,null,se(E.value,N=>(o(),w(i(Se),{key:N,value:N,label:N+i(r)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","popper-style","size","teleported","append-to"])],2))}}),Ke=Fe;const De=A({size:{type:String,values:ne}}),Oe=["disabled"];var Ue=q({name:"ElPaginationJumper",__name:"jumper",props:De,setup(e){const{t:s}=F(),n=D("pagination"),{pageCount:f,disabled:r,currentPage:p,changeEvent:g}=Y(),b=x(),E=y(()=>b.value??(p==null?void 0:p.value));function z(d){b.value=d?+d:""}function u(d){d=Math.trunc(+d),g==null||g(d),b.value=void 0}return(d,N)=>(o(),C("span",{class:S(i(n).e("jump")),disabled:i(r)},[Z("span",{class:S([i(n).e("goto")])},L(i(s)("el.pagination.goto")),3),re(i(ke),{size:d.size,class:S([i(n).e("editor"),i(n).is("in-pagination")]),min:1,max:i(f),disabled:i(r),"model-value":E.value,"validate-event":!1,"aria-label":i(s)("el.pagination.page"),type:"number","onUpdate:modelValue":z,onChange:u},null,8,["size","class","max","disabled","model-value","aria-label"]),Z("span",{class:S([i(n).e("classifier")])},L(i(s)("el.pagination.pageClassifier")),3)],10,Oe))}}),We=Ue;const Ve=A({total:{type:Number,default:1e3}}),Re=["disabled"];var Ge=q({name:"ElPaginationTotal",__name:"total",props:Ve,setup(e){const{t:s}=F(),n=D("pagination"),{disabled:f}=Y();return(r,p)=>(o(),C("span",{class:S(i(n).e("total")),disabled:i(f)},L(i(s)("el.pagination.total",{total:r.total})),11,Re))}}),Je=Ge;const Qe=A({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),Xe=["aria-current","aria-label","tabindex"],Ye=["tabindex","aria-label"],Ze=["aria-current","aria-label","tabindex"],He=["tabindex","aria-label"],ea=["aria-current","aria-label","tabindex"];var aa=q({name:"ElPaginationPager",__name:"pager",props:Qe,emits:[R],setup(e,{emit:s}){const n=e,f=s,r=D("pager"),p=D("icon"),{t:g}=F(),b=x(!1),E=x(!1),z=x(!1),u=x(!1),d=x(!1),N=x(!1),K=y(()=>{const a=n.pagerCount,t=(a-1)/2,l=Number(n.currentPage),h=Number(n.pageCount);let _=!1,m=!1;h>a&&(l>a-t&&(_=!0),l["more","btn-quickprev",p.b(),r.is("disabled",n.disabled)]),v=y(()=>["more","btn-quicknext",p.b(),r.is("disabled",n.disabled)]),B=y(()=>n.disabled?-1:0);O(()=>[n.pageCount,n.pagerCount,n.currentPage],([a,t,l])=>{const h=(t-1)/2;let _=!1,m=!1;a>t&&(_=l>t-h,m=lh&&(l=h)),l!==_&&f(R,l)}return(a,t)=>(o(),C("ul",{class:S(i(r).b()),onClick:$,onKeyup:fe(Q,["enter"])},[a.pageCount>0?(o(),C("li",{key:0,class:S([[i(r).is("active",a.currentPage===1),i(r).is("disabled",a.disabled)],"number"]),"aria-current":a.currentPage===1,"aria-label":i(g)("el.pagination.currentPage",{pager:1}),tabindex:B.value}," 1 ",10,Xe)):V("v-if",!0),b.value?(o(),C("li",{key:1,class:S(k.value),tabindex:B.value,"aria-label":i(g)("el.pagination.prevPages",{pager:a.pagerCount-2}),onMouseenter:t[0]||(t[0]=l=>U(!0)),onMouseleave:t[1]||(t[1]=l=>z.value=!1),onFocus:t[2]||(t[2]=l=>W(!0)),onBlur:t[3]||(t[3]=l=>d.value=!1)},[(z.value||d.value)&&!a.disabled?(o(),w(i(ge),{key:0})):(o(),w(i(H),{key:1}))],42,Ye)):V("v-if",!0),(o(!0),C(le,null,se(K.value,l=>(o(),C("li",{key:l,class:S([[i(r).is("active",a.currentPage===l),i(r).is("disabled",a.disabled)],"number"]),"aria-current":a.currentPage===l,"aria-label":i(g)("el.pagination.currentPage",{pager:l}),tabindex:B.value},L(l),11,Ze))),128)),E.value?(o(),C("li",{key:2,class:S(v.value),tabindex:B.value,"aria-label":i(g)("el.pagination.nextPages",{pager:a.pagerCount-2}),onMouseenter:t[4]||(t[4]=l=>U()),onMouseleave:t[5]||(t[5]=l=>u.value=!1),onFocus:t[6]||(t[6]=l=>W()),onBlur:t[7]||(t[7]=l=>N.value=!1)},[(u.value||N.value)&&!a.disabled?(o(),w(i(ce),{key:0})):(o(),w(i(H),{key:1}))],42,He)):V("v-if",!0),a.pageCount>1?(o(),C("li",{key:3,class:S([[i(r).is("active",a.currentPage===a.pageCount),i(r).is("disabled",a.disabled)],"number"]),"aria-current":a.currentPage===a.pageCount,"aria-label":i(g)("el.pagination.currentPage",{pager:a.pageCount}),tabindex:B.value},L(a.pageCount),11,ea)):V("v-if",!0)],34))}}),ta=aa;const P=e=>typeof e!="number",na=A({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>T(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:J(Array),default:()=>ie([10,20,30,40,50,100])},popperClass:{type:String,default:""},popperStyle:{type:J([String,Object])},prevText:{type:String,default:""},prevIcon:{type:G,default:()=>ye},nextText:{type:String,default:""},nextIcon:{type:G,default:()=>Ce},teleported:{type:Boolean,default:!0},small:Boolean,size:Pe,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),ia={"update:current-page":e=>T(e),"update:page-size":e=>T(e),"size-change":e=>T(e),change:(e,s)=>T(e)&&T(s),"current-change":e=>T(e),"prev-click":e=>T(e),"next-click":e=>T(e)},ee="ElPagination";var ra=q({name:ee,props:na,emits:ia,setup(e,{emit:s,slots:n}){const{t:f}=F(),r=D("pagination"),p=ve().vnode.props||{},g=be(),b=y(()=>e.small?"small":e.size??g.value);_e({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},y(()=>!!e.small));const E="onUpdate:currentPage"in p||"onUpdate:current-page"in p||"onCurrentChange"in p,z="onUpdate:pageSize"in p||"onUpdate:page-size"in p||"onSizeChange"in p,u=y(()=>{if(P(e.total)&&P(e.pageCount)||!P(e.currentPage)&&!E)return!1;if(e.layout.includes("sizes")){if(P(e.pageCount)){if(!P(e.total)&&!P(e.pageSize)&&!z)return!1}else if(!z)return!1}return!0}),d=x(P(e.defaultPageSize)?10:e.defaultPageSize),N=x(P(e.defaultCurrentPage)?1:e.defaultCurrentPage),K=y({get(){return P(e.pageSize)?d.value:e.pageSize},set(a){P(e.pageSize)&&(d.value=a),z&&(s("update:page-size",a),s("size-change",a))}}),k=y(()=>{let a=0;return P(e.pageCount)?P(e.total)||(a=Math.max(1,Math.ceil(e.total/K.value))):a=e.pageCount,a}),v=y({get(){return P(e.currentPage)?N.value:e.currentPage},set(a){let t=a;a<1?t=1:a>k.value&&(t=k.value),P(e.currentPage)&&(N.value=t),E&&(s("update:current-page",t),s("current-change",t))}});O(k,a=>{v.value>a&&(v.value=a)}),O([v,K],a=>{s(R,...a)},{flush:"post"});function B(a){v.value=a}function U(a){K.value=a;const t=k.value;v.value>t&&(v.value=t)}function W(){e.disabled||(v.value-=1,s("prev-click",v.value))}function Q(){e.disabled||(v.value+=1,s("next-click",v.value))}function $(a,t){a&&(a.props||(a.props={}),a.props.class=[a.props.class,t].join(" "))}return ze(ue,{pageCount:k,disabled:y(()=>e.disabled),currentPage:v,changeEvent:B,handleSizeChange:U}),()=>{var M;if(!u.value)return me(ee,f("el.pagination.deprecationWarning")),null;if(!e.layout||e.hideOnSinglePage&&k.value<=1)return null;const a=[],t=[],l=I("div",{class:r.e("rightwrapper")},t),h={prev:I(Me,{disabled:e.disabled,currentPage:v.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:W}),jumper:I(We,{size:b.value}),pager:I(ta,{currentPage:v.value,pageCount:k.value,pagerCount:e.pagerCount,onChange:B,disabled:e.disabled}),next:I(Ae,{disabled:e.disabled,currentPage:v.value,pageCount:k.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:Q}),sizes:I(Ke,{pageSize:K.value,pageSizes:e.pageSizes,popperClass:e.popperClass,popperStyle:e.popperStyle,disabled:e.disabled,teleported:e.teleported,size:b.value,appendSizeTo:e.appendSizeTo}),slot:((M=n==null?void 0:n.default)==null?void 0:M.call(n))??null,total:I(Je,{total:P(e.total)?0:e.total})},_=e.layout.split(",").map(c=>c.trim());let m=!1;return _.forEach(c=>{if(c==="->"){m=!0;return}m?t.push(h[c]):a.push(h[c])}),$(a[0],r.is("first")),$(a[a.length-1],r.is("last")),m&&t.length>0&&($(t[0],r.is("first")),$(t[t.length-1],r.is("last")),a.push(l)),I("div",{class:[r.b(),r.is("background",e.background),r.m(b.value)]},a)}}});const da=he(ra);export{da as E}; diff --git a/frontend/dist/assets/el-popper-DIiB8Y-M.js b/frontend/dist/assets/el-popper-DIiB8Y-M.js index 129117e..f193ef6 100644 --- a/frontend/dist/assets/el-popper-DIiB8Y-M.js +++ b/frontend/dist/assets/el-popper-DIiB8Y-M.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-popper-DIiB8Y-M.js import{cM as Ht,R as F,D as $,G as qe,N as En,k as Je,j as T,b8 as Le,bt as Ce,y as N,f as p,H as te,aT as Tn,c4 as Et,cN as Cn,cO as Rn,c8 as An,ak as Ge,b as _,F as Pe,d as ne,a as we,B as ue,o as Y,c as $e,al as Pn,n as $t,aU as Qe,aK as Tt,K as Wt,ao as Bn,by as Ct,a3 as Fn,M as Mn,ca as Sn,s as Be,bw as ve,e as ge,w as ee,h as se,Y as tt,g as We,a2 as Vt,cf as Rt,a8 as qt,a6 as nt,a7 as jn,bJ as In,l as Kt,W as Ye,ba as Q,V as kn,P as Dn,Q as Ut,a9 as Te,c9 as Ln,Z as Nn,L as Hn,bg as $n,bT as Wn,cP as Vn,aa as qn,bb as Kn}from"./index-CD29OCdJ.js";import{a as Un,h as At,f as zn}from"./index-6OTFNiIi.js";import{u as zt}from"./index-DpY84JwG.js";import{f as Yn}from"./index-BpugJXyE.js";function Zn(e){return e===void 0}const Jn=Ht({type:F(Boolean),default:null}),Gn=Ht({type:F(Function)}),Qn=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,o=[t],r={[e]:Jn,[n]:Gn};return{useModelToggle:({indicator:u,toggleReason:s,shouldHideWhenRouteChanges:a,shouldProceed:l,onShow:c,onHide:f})=>{const v=En(),{emit:g}=v,h=v.props,m=T(()=>Le(h[n])),x=T(()=>h[e]===null),y=O=>{u.value!==!0&&(u.value=!0,s&&(s.value=O),Le(c)&&c(O))},b=O=>{u.value!==!1&&(u.value=!1,s&&(s.value=O),Le(f)&&f(O))},E=O=>{if(h.disabled===!0||Le(l)&&!l())return;const R=m.value&&Ce;R&&g(t,!0),(x.value||!R)&&y(O)},d=O=>{if(h.disabled===!0||!Ce)return;const R=m.value&&Ce;R&&g(t,!1),(x.value||!R)&&b(O)},w=O=>{Je(O)&&(h.disabled&&O?m.value&&g(t,!1):u.value!==O&&(O?y():b()))},C=()=>{u.value?d():E()};return $(()=>h[e],w),a&&v.appContext.config.globalProperties.$route!==void 0&&$(()=>({...v.proxy.$route}),()=>{a.value&&u.value&&d()}),qe(()=>{w(h[e])}),{hide:d,show:E,toggle:C,hasUpdateHandler:m}},useModelToggleProps:r,useModelToggleEmits:o}};var W="top",U="bottom",z="right",V="left",ot="auto",Se=[W,U,z,V],me="start",Fe="end",Xn="clippingParents",Yt="viewport",Ee="popper",_n="reference",Pt=Se.reduce(function(e,t){return e.concat([t+"-"+me,t+"-"+Fe])},[]),rt=[].concat(Se,[ot]).reduce(function(e,t){return e.concat([t,t+"-"+me,t+"-"+Fe])},[]),eo="beforeRead",to="read",no="afterRead",oo="beforeMain",ro="main",ao="afterMain",io="beforeWrite",so="write",lo="afterWrite",uo=[eo,to,no,oo,ro,ao,io,so,lo];function J(e){return e?(e.nodeName||"").toLowerCase():null}function q(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function le(e){var t=q(e).Element;return e instanceof t||e instanceof Element}function K(e){var t=q(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function at(e){if(typeof ShadowRoot>"u")return!1;var t=q(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function co(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var o=t.styles[n]||{},r=t.attributes[n]||{},i=t.elements[n];!K(i)||!J(i)||(Object.assign(i.style,o),Object.keys(r).forEach(function(u){var s=r[u];s===!1?i.removeAttribute(u):i.setAttribute(u,s===!0?"":s)}))})}function fo(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(o){var r=t.elements[o],i=t.attributes[o]||{},u=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:n[o]),s=u.reduce(function(a,l){return a[l]="",a},{});!K(r)||!J(r)||(Object.assign(r.style,s),Object.keys(i).forEach(function(a){r.removeAttribute(a)}))})}}var Zt={name:"applyStyles",enabled:!0,phase:"write",fn:co,effect:fo,requires:["computeStyles"]};function Z(e){return e.split("-")[0]}var ie=Math.max,Ve=Math.min,he=Math.round;function Xe(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Jt(){return!/^((?!chrome|android).)*safari/i.test(Xe())}function ye(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var o=e.getBoundingClientRect(),r=1,i=1;t&&K(e)&&(r=e.offsetWidth>0&&he(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&he(o.height)/e.offsetHeight||1);var u=le(e)?q(e):window,s=u.visualViewport,a=!Jt()&&n,l=(o.left+(a&&s?s.offsetLeft:0))/r,c=(o.top+(a&&s?s.offsetTop:0))/i,f=o.width/r,v=o.height/i;return{width:f,height:v,top:c,right:l+f,bottom:c+v,left:l,x:l,y:c}}function it(e){var t=ye(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function Gt(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&at(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function X(e){return q(e).getComputedStyle(e)}function po(e){return["table","td","th"].indexOf(J(e))>=0}function oe(e){return((le(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ke(e){return J(e)==="html"?e:e.assignedSlot||e.parentNode||(at(e)?e.host:null)||oe(e)}function Bt(e){return!K(e)||X(e).position==="fixed"?null:e.offsetParent}function vo(e){var t=/firefox/i.test(Xe()),n=/Trident/i.test(Xe());if(n&&K(e)){var o=X(e);if(o.position==="fixed")return null}var r=Ke(e);for(at(r)&&(r=r.host);K(r)&&["html","body"].indexOf(J(r))<0;){var i=X(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function je(e){for(var t=q(e),n=Bt(e);n&&po(n)&&X(n).position==="static";)n=Bt(n);return n&&(J(n)==="html"||J(n)==="body"&&X(n).position==="static")?t:n||vo(e)||t}function st(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Re(e,t,n){return ie(e,Ve(t,n))}function go(e,t,n){var o=Re(e,t,n);return o>n?n:o}function Qt(){return{top:0,right:0,bottom:0,left:0}}function Xt(e){return Object.assign({},Qt(),e)}function _t(e,t){return t.reduce(function(n,o){return n[o]=e,n},{})}var mo=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Xt(typeof e!="number"?e:_t(e,Se))};function ho(e){var t,n=e.state,o=e.name,r=e.options,i=n.elements.arrow,u=n.modifiersData.popperOffsets,s=Z(n.placement),a=st(s),l=[V,z].indexOf(s)>=0,c=l?"height":"width";if(!(!i||!u)){var f=mo(r.padding,n),v=it(i),g=a==="y"?W:V,h=a==="y"?U:z,m=n.rects.reference[c]+n.rects.reference[a]-u[a]-n.rects.popper[c],x=u[a]-n.rects.reference[a],y=je(i),b=y?a==="y"?y.clientHeight||0:y.clientWidth||0:0,E=m/2-x/2,d=f[g],w=b-v[c]-f[h],C=b/2-v[c]/2+E,O=Re(d,C,w),R=a;n.modifiersData[o]=(t={},t[R]=O,t.centerOffset=O-C,t)}}function yo(e){var t=e.state,n=e.options,o=n.element,r=o===void 0?"[data-popper-arrow]":o;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||Gt(t.elements.popper,r)&&(t.elements.arrow=r))}var bo={name:"arrow",enabled:!0,phase:"main",fn:ho,effect:yo,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function be(e){return e.split("-")[1]}var wo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function xo(e,t){var n=e.x,o=e.y,r=t.devicePixelRatio||1;return{x:he(n*r)/r||0,y:he(o*r)/r||0}}function Ft(e){var t,n=e.popper,o=e.popperRect,r=e.placement,i=e.variation,u=e.offsets,s=e.position,a=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,f=e.isFixed,v=u.x,g=v===void 0?0:v,h=u.y,m=h===void 0?0:h,x=typeof c=="function"?c({x:g,y:m}):{x:g,y:m};g=x.x,m=x.y;var y=u.hasOwnProperty("x"),b=u.hasOwnProperty("y"),E=V,d=W,w=window;if(l){var C=je(n),O="clientHeight",R="clientWidth";if(C===q(n)&&(C=oe(n),X(C).position!=="static"&&s==="absolute"&&(O="scrollHeight",R="scrollWidth")),C=C,r===W||(r===V||r===z)&&i===Fe){d=U;var M=f&&C===w&&w.visualViewport?w.visualViewport.height:C[O];m-=M-o.height,m*=a?1:-1}if(r===V||(r===W||r===U)&&i===Fe){E=z;var A=f&&C===w&&w.visualViewport?w.visualViewport.width:C[R];g-=A-o.width,g*=a?1:-1}}var S=Object.assign({position:s},l&&wo),H=c===!0?xo({x:g,y:m},q(n)):{x:g,y:m};if(g=H.x,m=H.y,a){var P;return Object.assign({},S,(P={},P[d]=b?"0":"",P[E]=y?"0":"",P.transform=(w.devicePixelRatio||1)<=1?"translate("+g+"px, "+m+"px)":"translate3d("+g+"px, "+m+"px, 0)",P))}return Object.assign({},S,(t={},t[d]=b?m+"px":"",t[E]=y?g+"px":"",t.transform="",t))}function Oo(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=o===void 0?!0:o,i=n.adaptive,u=i===void 0?!0:i,s=n.roundOffsets,a=s===void 0?!0:s,l={placement:Z(t.placement),variation:be(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ft(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:u,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ft(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var en={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Oo,data:{}},Ne={passive:!0};function Eo(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=r===void 0?!0:r,u=o.resize,s=u===void 0?!0:u,a=q(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach(function(c){c.addEventListener("scroll",n.update,Ne)}),s&&a.addEventListener("resize",n.update,Ne),function(){i&&l.forEach(function(c){c.removeEventListener("scroll",n.update,Ne)}),s&&a.removeEventListener("resize",n.update,Ne)}}var tn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Eo,data:{}},To={left:"right",right:"left",bottom:"top",top:"bottom"};function He(e){return e.replace(/left|right|bottom|top/g,function(t){return To[t]})}var Co={start:"end",end:"start"};function Mt(e){return e.replace(/start|end/g,function(t){return Co[t]})}function lt(e){var t=q(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function ut(e){return ye(oe(e)).left+lt(e).scrollLeft}function Ro(e,t){var n=q(e),o=oe(e),r=n.visualViewport,i=o.clientWidth,u=o.clientHeight,s=0,a=0;if(r){i=r.width,u=r.height;var l=Jt();(l||!l&&t==="fixed")&&(s=r.offsetLeft,a=r.offsetTop)}return{width:i,height:u,x:s+ut(e),y:a}}function Ao(e){var t,n=oe(e),o=lt(e),r=(t=e.ownerDocument)==null?void 0:t.body,i=ie(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),u=ie(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+ut(e),a=-o.scrollTop;return X(r||n).direction==="rtl"&&(s+=ie(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:u,x:s,y:a}}function ct(e){var t=X(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function nn(e){return["html","body","#document"].indexOf(J(e))>=0?e.ownerDocument.body:K(e)&&ct(e)?e:nn(Ke(e))}function Ae(e,t){var n;t===void 0&&(t=[]);var o=nn(e),r=o===((n=e.ownerDocument)==null?void 0:n.body),i=q(o),u=r?[i].concat(i.visualViewport||[],ct(o)?o:[]):o,s=t.concat(u);return r?s:s.concat(Ae(Ke(u)))}function _e(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Po(e,t){var n=ye(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function St(e,t,n){return t===Yt?_e(Ro(e,n)):le(t)?Po(t,n):_e(Ao(oe(e)))}function Bo(e){var t=Ae(Ke(e)),n=["absolute","fixed"].indexOf(X(e).position)>=0,o=n&&K(e)?je(e):e;return le(o)?t.filter(function(r){return le(r)&&Gt(r,o)&&J(r)!=="body"}):[]}function Fo(e,t,n,o){var r=t==="clippingParents"?Bo(e):[].concat(t),i=[].concat(r,[n]),u=i[0],s=i.reduce(function(a,l){var c=St(e,l,o);return a.top=ie(c.top,a.top),a.right=Ve(c.right,a.right),a.bottom=Ve(c.bottom,a.bottom),a.left=ie(c.left,a.left),a},St(e,u,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function on(e){var t=e.reference,n=e.element,o=e.placement,r=o?Z(o):null,i=o?be(o):null,u=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,a;switch(r){case W:a={x:u,y:t.y-n.height};break;case U:a={x:u,y:t.y+t.height};break;case z:a={x:t.x+t.width,y:s};break;case V:a={x:t.x-n.width,y:s};break;default:a={x:t.x,y:t.y}}var l=r?st(r):null;if(l!=null){var c=l==="y"?"height":"width";switch(i){case me:a[l]=a[l]-(t[c]/2-n[c]/2);break;case Fe:a[l]=a[l]+(t[c]/2-n[c]/2);break}}return a}function Me(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=o===void 0?e.placement:o,i=n.strategy,u=i===void 0?e.strategy:i,s=n.boundary,a=s===void 0?Xn:s,l=n.rootBoundary,c=l===void 0?Yt:l,f=n.elementContext,v=f===void 0?Ee:f,g=n.altBoundary,h=g===void 0?!1:g,m=n.padding,x=m===void 0?0:m,y=Xt(typeof x!="number"?x:_t(x,Se)),b=v===Ee?_n:Ee,E=e.rects.popper,d=e.elements[h?b:v],w=Fo(le(d)?d:d.contextElement||oe(e.elements.popper),a,c,u),C=ye(e.elements.reference),O=on({reference:C,element:E,placement:r}),R=_e(Object.assign({},E,O)),M=v===Ee?R:C,A={top:w.top-M.top+y.top,bottom:M.bottom-w.bottom+y.bottom,left:w.left-M.left+y.left,right:M.right-w.right+y.right},S=e.modifiersData.offset;if(v===Ee&&S){var H=S[r];Object.keys(A).forEach(function(P){var L=[z,U].indexOf(P)>=0?1:-1,D=[W,U].indexOf(P)>=0?"y":"x";A[P]+=H[D]*L})}return A}function Mo(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,u=n.padding,s=n.flipVariations,a=n.allowedAutoPlacements,l=a===void 0?rt:a,c=be(o),f=c?s?Pt:Pt.filter(function(h){return be(h)===c}):Se,v=f.filter(function(h){return l.indexOf(h)>=0});v.length===0&&(v=f);var g=v.reduce(function(h,m){return h[m]=Me(e,{placement:m,boundary:r,rootBoundary:i,padding:u})[Z(m)],h},{});return Object.keys(g).sort(function(h,m){return g[h]-g[m]})}function So(e){if(Z(e)===ot)return[];var t=He(e);return[Mt(e),t,Mt(t)]}function jo(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,i=r===void 0?!0:r,u=n.altAxis,s=u===void 0?!0:u,a=n.fallbackPlacements,l=n.padding,c=n.boundary,f=n.rootBoundary,v=n.altBoundary,g=n.flipVariations,h=g===void 0?!0:g,m=n.allowedAutoPlacements,x=t.options.placement,y=Z(x),b=y===x,E=a||(b||!h?[He(x)]:So(x)),d=[x].concat(E).reduce(function(re,G){return re.concat(Z(G)===ot?Mo(t,{placement:G,boundary:c,rootBoundary:f,padding:l,flipVariations:h,allowedAutoPlacements:m}):G)},[]),w=t.rects.reference,C=t.rects.popper,O=new Map,R=!0,M=d[0],A=0;A=0,D=L?"width":"height",I=Me(t,{placement:S,boundary:c,rootBoundary:f,altBoundary:v,padding:l}),k=L?P?z:V:P?U:W;w[D]>C[D]&&(k=He(k));var B=He(k),j=[];if(i&&j.push(I[H]<=0),s&&j.push(I[k]<=0,I[B]<=0),j.every(function(re){return re})){M=S,R=!1;break}O.set(S,j)}if(R)for(var ce=h?3:1,fe=function(re){var G=d.find(function(ke){var Oe=O.get(ke);if(Oe)return Oe.slice(0,re).every(function(pe){return pe})});if(G)return M=G,"break"},xe=ce;xe>0;xe--){var Ie=fe(xe);if(Ie==="break")break}t.placement!==M&&(t.modifiersData[o]._skip=!0,t.placement=M,t.reset=!0)}}var Io={name:"flip",enabled:!0,phase:"main",fn:jo,requiresIfExists:["offset"],data:{_skip:!1}};function jt(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function It(e){return[W,z,U,V].some(function(t){return e[t]>=0})}function ko(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,u=Me(t,{elementContext:"reference"}),s=Me(t,{altBoundary:!0}),a=jt(u,o),l=jt(s,r,i),c=It(a),f=It(l);t.modifiersData[n]={referenceClippingOffsets:a,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}var Do={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ko};function Lo(e,t,n){var o=Z(e),r=[V,W].indexOf(o)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,u=i[0],s=i[1];return u=u||0,s=(s||0)*r,[V,z].indexOf(o)>=0?{x:s,y:u}:{x:u,y:s}}function No(e){var t=e.state,n=e.options,o=e.name,r=n.offset,i=r===void 0?[0,0]:r,u=rt.reduce(function(c,f){return c[f]=Lo(f,t.rects,i),c},{}),s=u[t.placement],a=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=a,t.modifiersData.popperOffsets.y+=l),t.modifiersData[o]=u}var Ho={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:No};function $o(e){var t=e.state,n=e.name;t.modifiersData[n]=on({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var rn={name:"popperOffsets",enabled:!0,phase:"read",fn:$o,data:{}};function Wo(e){return e==="x"?"y":"x"}function Vo(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,i=r===void 0?!0:r,u=n.altAxis,s=u===void 0?!1:u,a=n.boundary,l=n.rootBoundary,c=n.altBoundary,f=n.padding,v=n.tether,g=v===void 0?!0:v,h=n.tetherOffset,m=h===void 0?0:h,x=Me(t,{boundary:a,rootBoundary:l,padding:f,altBoundary:c}),y=Z(t.placement),b=be(t.placement),E=!b,d=st(y),w=Wo(d),C=t.modifiersData.popperOffsets,O=t.rects.reference,R=t.rects.popper,M=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,A=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(C){if(i){var P,L=d==="y"?W:V,D=d==="y"?U:z,I=d==="y"?"height":"width",k=C[d],B=k+x[L],j=k-x[D],ce=g?-R[I]/2:0,fe=b===me?O[I]:R[I],xe=b===me?-R[I]:-O[I],Ie=t.elements.arrow,re=g&&Ie?it(Ie):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Qt(),ke=G[L],Oe=G[D],pe=Re(0,O[I],re[I]),mn=E?O[I]/2-ce-pe-ke-A.mainAxis:fe-pe-ke-A.mainAxis,hn=E?-O[I]/2+ce+pe+Oe+A.mainAxis:xe+pe+Oe+A.mainAxis,Ue=t.elements.arrow&&je(t.elements.arrow),yn=Ue?d==="y"?Ue.clientTop||0:Ue.clientLeft||0:0,vt=(P=S==null?void 0:S[d])!=null?P:0,bn=k+mn-vt-yn,wn=k+hn-vt,gt=Re(g?Ve(B,bn):B,k,g?ie(j,wn):j);C[d]=gt,H[d]=gt-k}if(s){var mt,xn=d==="x"?W:V,On=d==="x"?U:z,ae=C[w],De=w==="y"?"height":"width",ht=ae+x[xn],yt=ae-x[On],ze=[W,V].indexOf(y)!==-1,bt=(mt=S==null?void 0:S[w])!=null?mt:0,wt=ze?ht:ae-O[De]-R[De]-bt+A.altAxis,xt=ze?ae+O[De]+R[De]-bt-A.altAxis:yt,Ot=g&&ze?go(wt,ae,xt):Re(g?wt:ht,ae,g?xt:yt);C[w]=Ot,H[w]=Ot-ae}t.modifiersData[o]=H}}var qo={name:"preventOverflow",enabled:!0,phase:"main",fn:Vo,requiresIfExists:["offset"]};function Ko(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Uo(e){return e===q(e)||!K(e)?lt(e):Ko(e)}function zo(e){var t=e.getBoundingClientRect(),n=he(t.width)/e.offsetWidth||1,o=he(t.height)/e.offsetHeight||1;return n!==1||o!==1}function Yo(e,t,n){n===void 0&&(n=!1);var o=K(t),r=K(t)&&zo(t),i=oe(t),u=ye(e,r,n),s={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(o||!o&&!n)&&((J(t)!=="body"||ct(i))&&(s=Uo(t)),K(t)?(a=ye(t,!0),a.x+=t.clientLeft,a.y+=t.clientTop):i&&(a.x=ut(i))),{x:u.left+s.scrollLeft-a.x,y:u.top+s.scrollTop-a.y,width:u.width,height:u.height}}function Zo(e){var t=new Map,n=new Set,o=[];e.forEach(function(i){t.set(i.name,i)});function r(i){n.add(i.name);var u=[].concat(i.requires||[],i.requiresIfExists||[]);u.forEach(function(s){if(!n.has(s)){var a=t.get(s);a&&r(a)}}),o.push(i)}return e.forEach(function(i){n.has(i.name)||r(i)}),o}function Jo(e){var t=Zo(e);return uo.reduce(function(n,o){return n.concat(t.filter(function(r){return r.phase===o}))},[])}function Go(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Qo(e){var t=e.reduce(function(n,o){var r=n[o.name];return n[o.name]=r?Object.assign({},r,o,{options:Object.assign({},r.options,o.options),data:Object.assign({},r.data,o.data)}):o,n},{});return Object.keys(t).map(function(n){return t[n]})}var kt={placement:"bottom",modifiers:[],strategy:"absolute"};function Dt(){for(var e=arguments.length,t=new Array(e),n=0;n{const o={name:"updateState",enabled:!0,phase:"write",fn:({state:a})=>{const l=nr(a);Object.assign(u.value,l)},requires:["computeStyles"]},r=T(()=>{const{onFirstUpdate:a,placement:l,strategy:c,modifiers:f}=p(n);return{onFirstUpdate:a,placement:l||"bottom",strategy:c||"absolute",modifiers:[...f||[],o,{name:"applyStyles",enabled:!1}]}}),i=Tn(),u=N({styles:{popper:{position:p(r).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=()=>{i.value&&(i.value.destroy(),i.value=void 0)};return $(r,a=>{const l=p(i);l&&l.setOptions(a)},{deep:!0}),$([e,t],([a,l])=>{s(),!(!a||!l)&&(i.value=er(a,l,p(r)))}),te(()=>{s()}),{state:T(()=>{var a;return{...((a=p(i))==null?void 0:a.state)||{}}}),styles:T(()=>p(u).styles),attributes:T(()=>p(u).attributes),update:()=>{var a;return(a=p(i))==null?void 0:a.update()},forceUpdate:()=>{var a;return(a=p(i))==null?void 0:a.forceUpdate()},instanceRef:T(()=>p(i))}};function nr(e){const t=Object.keys(e.elements);return{styles:Et(t.map(n=>[n,e.styles[n]||{}])),attributes:Et(t.map(n=>[n,e.attributes[n]]))}}function Lt(){let e;const t=(o,r)=>{n(),e=globalThis.setTimeout(o,r)},n=()=>{e!==void 0&&(globalThis.clearTimeout(e),e=void 0)};return Cn(()=>n()),{registerTimeout:t,cancelTimeout:n}}const an=()=>{const e=An(),t=Un(),n=T(()=>`${e.value}-popper-container-${t.prefix}`);return{id:n,selector:T(()=>`#${n.value}`)}},or=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},rr=()=>{const{id:e,selector:t}=an();return Rn(()=>{Ce&&(document.body.querySelector(t.value)||or(e.value))}),{id:e,selector:t}},ar=_({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),ir=({showAfter:e,hideAfter:t,autoClose:n,open:o,close:r})=>{const{registerTimeout:i}=Lt(),{registerTimeout:u,cancelTimeout:s}=Lt();return{onOpen:(c,f=p(e))=>{i(()=>{o(c);const v=p(n);Ge(v)&&v>0&&u(()=>{r(c)},v)},f)},onClose:(c,f=p(t))=>{s(),i(()=>{r(c)},f)}}},sn=Symbol("elForwardRef"),sr=e=>{Pe(sn,{setForwardRef:(n=>{e.value=n})})},lr=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),ur=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],ln=_({role:{type:String,values:ur,default:"tooltip"}}),pt=Symbol("popper"),un=Symbol("popperContent");var cr=ne({name:"ElPopperArrow",inheritAttrs:!1,__name:"arrow",setup(e,{expose:t}){const n=we("popper"),{arrowRef:o,arrowStyle:r}=ue(un,void 0);return te(()=>{o.value=void 0}),t({arrowRef:o}),(i,u)=>(Y(),$e("span",{ref_key:"arrowRef",ref:o,class:$t(p(n).e("arrow")),style:Pn(p(r)),"data-popper-arrow":""},null,6))}}),fr=cr;const cn=_({virtualRef:{type:F(Object)},virtualTriggering:Boolean,onMouseenter:{type:F(Function)},onMouseleave:{type:F(Function)},onClick:{type:F(Function)},onKeydown:{type:F(Function)},onFocus:{type:F(Function)},onBlur:{type:F(Function)},onContextmenu:{type:F(Function)},id:String,open:Boolean}),Ze="ElOnlyChild",pr=ne({name:Ze,setup(e,{slots:t,attrs:n}){var r;const o=lr(((r=ue(sn))==null?void 0:r.setForwardRef)??Qe);return()=>{var a;const i=(a=t.default)==null?void 0:a.call(t,n);if(!i)return null;const[u,s]=fn(i);return u?(s>1&&Tt(Ze,"requires exact only one valid child."),Wt(Bn(u,n),[[o]])):(Tt(Ze,"no valid child node found"),null)}}});function fn(e){if(!e)return[null,0];const t=e,n=t.filter(o=>o.type!==Ct).length;for(const o of t){if(Fn(o))switch(o.type){case Ct:continue;case Sn:case"svg":return[Nt(o),n];case Mn:return fn(o.children);default:return[o,n]}return[Nt(o),n]}return[null,0]}function Nt(e){return Be("span",{class:we("only-child").e("content")},[e])}var dr=ne({name:"ElPopperTrigger",inheritAttrs:!1,__name:"trigger",props:cn,setup(e,{expose:t}){const n=e,{role:o,triggerRef:r}=ue(pt,void 0);sr(r);const i=T(()=>s.value?n.id:void 0),u=T(()=>{if(o&&o.value==="tooltip")return n.open&&n.id?n.id:void 0}),s=T(()=>{if(o&&o.value!=="tooltip")return o.value}),a=T(()=>s.value?`${n.open}`:void 0);let l;const c=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return qe(()=>{$(()=>n.virtualRef,f=>{f&&(r.value=Vt(f))},{immediate:!0}),$(r,(f,v)=>{l==null||l(),l=void 0,ve(v)&&c.forEach(g=>{const h=n[g];h&&v.removeEventListener(g.slice(2).toLowerCase(),h,["onFocus","onBlur"].includes(g))}),ve(f)&&(c.forEach(g=>{const h=n[g];h&&f.addEventListener(g.slice(2).toLowerCase(),h,["onFocus","onBlur"].includes(g))}),Rt(f)&&(l=$([i,u,s,a],g=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((h,m)=>{qt(g[m])?f.removeAttribute(h):f.setAttribute(h,g[m])})},{immediate:!0}))),ve(v)&&Rt(v)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(g=>v.removeAttribute(g))},{immediate:!0})}),te(()=>{if(l==null||l(),l=void 0,r.value&&ve(r.value)){const f=r.value;c.forEach(v=>{const g=n[v];g&&f.removeEventListener(v.slice(2).toLowerCase(),g,["onFocus","onBlur"].includes(v))}),r.value=void 0}}),t({triggerRef:r}),(f,v)=>e.virtualTriggering?We("v-if",!0):(Y(),ge(p(pr),tt({key:0},f.$attrs,{"aria-controls":i.value,"aria-describedby":u.value,"aria-expanded":a.value,"aria-haspopup":s.value}),{default:ee(()=>[se(f.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}}),vr=dr;const pn=_({arrowOffset:{type:Number,default:5}}),gr=_({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:F(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:rt,default:"bottom"},popperOptions:{type:F(Object),default:()=>({})},strategy:{type:String,values:["fixed","absolute"],default:"absolute"}}),dn=_({...gr,...pn,id:String,style:{type:F([String,Array,Object,Boolean]),default:void 0},className:{type:F([String,Array,Object])},effect:{type:F(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:F([String,Array,Object])},popperStyle:{type:F([String,Array,Object,Boolean]),default:void 0},referenceEl:{type:F(Object)},triggerTargetEl:{type:F(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...zt(["ariaLabel"]),loop:Boolean}),mr={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0};const Zr=e=>nt(e)?e[0]:e,hr=e=>!e&&e!==0?[]:nt(e)?e:[e],yr=(e,t=[])=>{const{placement:n,strategy:o,popperOptions:r}=e,i={placement:n,strategy:o,...r,modifiers:[...wr(e),...t]};return xr(i,r==null?void 0:r.modifiers),i},br=e=>{if(Ce)return Vt(e)};function wr(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:o}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:0,bottom:0,left:0,right:0}}},{name:"flip",options:{padding:5,fallbackPlacements:o}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function xr(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const Or=0,Er=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:o,role:r}=ue(pt,void 0),i=N(),u=T(()=>e.arrowOffset),s=T(()=>({name:"eventListeners",enabled:!!e.visible})),a=T(()=>{const b=p(i),E=p(u)??Or;return{name:"arrow",enabled:!Zn(b),options:{element:b,padding:E}}}),l=T(()=>({onFirstUpdate:()=>{h()},...yr(e,[p(a),p(s)])})),c=T(()=>br(e.referenceEl)||p(o)),{attributes:f,state:v,styles:g,update:h,forceUpdate:m,instanceRef:x}=tr(c,n,l);$(x,b=>t.value=b,{flush:"sync"}),qe(()=>{$(()=>{var b,E;return(E=(b=p(c))==null?void 0:b.getBoundingClientRect)==null?void 0:E.call(b)},()=>{h()})});let y;return $(()=>e.visible,b=>{y==null||y(),y=void 0,b&&(y=jn(n,h).stop)}),te(()=>{t.value=void 0,y==null||y(),y=void 0}),{attributes:f,arrowRef:i,contentRef:n,instanceRef:x,state:v,styles:g,role:r,forceUpdate:m,update:h}},Tr=(e,{attributes:t,styles:n,role:o})=>{const{nextZIndex:r}=In(),i=we("popper"),u=T(()=>p(t).popper),s=N(Ge(e.zIndex)?e.zIndex:r()),a=T(()=>[i.b(),i.is("pure",e.pure),i.is(e.effect),e.popperClass]),l=T(()=>[{zIndex:p(s)},p(n).popper,e.popperStyle||{}]),c=T(()=>o.value==="dialog"?"false":void 0),f=T(()=>p(n).arrow||{});return{ariaModal:c,arrowStyle:f,contentAttrs:u,contentClass:a,contentStyle:l,contentZIndex:s,updateZIndex:()=>{s.value=Ge(e.zIndex)?e.zIndex:r()}}},Cr=(e,t)=>{const n=N(!1),o=N(),r=()=>{t("focus")},i=l=>{var c;((c=l.detail)==null?void 0:c.focusReason)!=="pointer"&&(o.value="first",t("blur"))},u=l=>{e.visible&&!n.value&&(l.target&&(o.value=l.target),n.value=!0)},s=l=>{e.trapping||(l.detail.focusReason==="pointer"&&l.preventDefault(),n.value=!1)},a=()=>{n.value=!1,t("close")};return te(()=>{o.value=void 0}),{focusStartRef:o,trapped:n,onFocusAfterReleased:i,onFocusAfterTrapped:r,onFocusInTrap:u,onFocusoutPrevented:s,onReleaseRequested:a}};var Rr=ne({name:"ElPopperContent",__name:"content",props:dn,emits:mr,setup(e,{expose:t,emit:n}){const o=n,r=e,{focusStartRef:i,trapped:u,onFocusAfterReleased:s,onFocusAfterTrapped:a,onFocusInTrap:l,onFocusoutPrevented:c,onReleaseRequested:f}=Cr(r,o),{attributes:v,arrowRef:g,contentRef:h,styles:m,instanceRef:x,role:y,update:b}=Er(r),{ariaModal:E,arrowStyle:d,contentAttrs:w,contentClass:C,contentStyle:O,updateZIndex:R}=Tr(r,{styles:m,attributes:v,role:y}),M=ue(At,void 0);Pe(un,{arrowStyle:d,arrowRef:g}),M&&Pe(At,{...M,addInputId:Qe,removeInputId:Qe});let A;const S=(P=!0)=>{b(),P&&R()},H=()=>{S(!1),r.visible&&r.focusOnShow?u.value=!0:r.visible===!1&&(u.value=!1)};return qe(()=>{$(()=>r.triggerTargetEl,(P,L)=>{A==null||A(),A=void 0;const D=p(P||h.value),I=p(L||h.value);ve(D)&&(A=$([y,()=>r.ariaLabel,E,()=>r.id],k=>{["role","aria-label","aria-modal","id"].forEach((B,j)=>{qt(k[j])?D.removeAttribute(B):D.setAttribute(B,k[j])})},{immediate:!0})),I!==D&&ve(I)&&["role","aria-label","aria-modal","id"].forEach(k=>{I.removeAttribute(k)})},{immediate:!0}),$(()=>r.visible,H,{immediate:!0})}),te(()=>{A==null||A(),A=void 0,h.value=void 0}),t({popperContentRef:h,popperInstanceRef:x,updatePopper:S,contentStyle:O}),(P,L)=>(Y(),$e("div",tt({ref_key:"contentRef",ref:h},p(w),{style:p(O),class:p(C),tabindex:"-1",onMouseenter:L[0]||(L[0]=D=>P.$emit("mouseenter",D)),onMouseleave:L[1]||(L[1]=D=>P.$emit("mouseleave",D))}),[Be(p(Yn),{loop:e.loop,trapped:p(u),"trap-on-focus-in":!0,"focus-trap-el":p(h),"focus-start-el":p(i),onFocusAfterTrapped:p(a),onFocusAfterReleased:p(s),onFocusin:p(l),onFocusoutPrevented:p(c),onReleaseRequested:p(f)},{default:ee(()=>[se(P.$slots,"default")]),_:3},8,["loop","trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}}),Ar=Rr,Pr=ne({name:"ElPopper",inheritAttrs:!1,__name:"popper",props:ln,setup(e,{expose:t}){const n=e,o={triggerRef:N(),popperInstanceRef:N(),contentRef:N(),referenceRef:N(),role:T(()=>n.role)};return t(o),Pe(pt,o),(r,i)=>se(r.$slots,"default")}}),Br=Pr;const Fr=Kt(Br),vn=_({...ar,...dn,appendTo:{type:F([String,Object])},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:F(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...zt(["ariaLabel"])}),gn=_({...cn,disabled:Boolean,trigger:{type:F([String,Array]),default:"hover"},triggerKeys:{type:F(Array),default:()=>[Ye.enter,Ye.numpadEnter,Ye.space]},focusOnTarget:Boolean}),{useModelToggleProps:Mr,useModelToggleEmits:Sr,useModelToggle:jr}=Qn("visible"),Ir=_({...ln,...Mr,...vn,...gn,...pn,showArrow:{type:Boolean,default:!0}}),kr=[...Sr,"before-show","before-hide","show","hide","open","close"],dt=Symbol("elTooltip"),et=(e,t)=>nt(e)?e.includes(t):e===t,de=(e,t,n)=>o=>{et(p(e),t)&&n(o)};var Dr=ne({name:"ElTooltipTrigger",__name:"trigger",props:gn,setup(e,{expose:t}){const n=e,o=we("tooltip"),{controlled:r,id:i,open:u,onOpen:s,onClose:a,onToggle:l}=ue(dt,void 0),c=N(null),f=()=>{if(p(r)||n.disabled)return!0},v=Te(n,"trigger"),g=Q(f,de(v,"hover",d=>{s(d),n.focusOnTarget&&d.target&&Dn(()=>{Ut(d.target,{preventScroll:!0})})})),h=Q(f,de(v,"hover",a)),m=Q(f,de(v,"click",d=>{d.button===0&&l(d)})),x=Q(f,de(v,"focus",s)),y=Q(f,de(v,"focus",a)),b=Q(f,de(v,"contextmenu",d=>{d.preventDefault(),l(d)})),E=Q(f,d=>{const w=kn(d);n.triggerKeys.includes(w)&&(d.preventDefault(),l(d))});return t({triggerRef:c}),(d,w)=>(Y(),ge(p(vr),{id:p(i),"virtual-ref":e.virtualRef,open:p(u),"virtual-triggering":e.virtualTriggering,class:$t(p(o).e("trigger")),onBlur:p(y),onClick:p(m),onContextmenu:p(b),onFocus:p(x),onMouseenter:p(g),onMouseleave:p(h),onKeydown:p(E)},{default:ee(()=>[se(d.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}}),Lr=Dr,Nr=ne({name:"ElTooltipContent",inheritAttrs:!1,__name:"content",props:vn,setup(e,{expose:t}){const n=e,{selector:o}=an(),r=we("tooltip"),i=N(),u=Ln(()=>{var B;return(B=i.value)==null?void 0:B.popperContentRef});let s;const{controlled:a,id:l,open:c,trigger:f,onClose:v,onOpen:g,onShow:h,onHide:m,onBeforeShow:x,onBeforeHide:y}=ue(dt,void 0),b=T(()=>n.transition||`${r.namespace.value}-fade-in-linear`),E=T(()=>n.persistent);te(()=>{s==null||s()});const d=T(()=>p(E)?!0:p(c)),w=T(()=>n.disabled?!1:p(c)),C=T(()=>n.appendTo||o.value),O=T(()=>n.style??{}),R=N(!0),M=()=>{m(),k()&&Ut(document.body,{preventScroll:!0}),R.value=!0},A=()=>{if(p(a))return!0},S=Q(A,()=>{n.enterable&&et(p(f),"hover")&&g()}),H=Q(A,()=>{et(p(f),"hover")&&v()}),P=()=>{var B,j;(j=(B=i.value)==null?void 0:B.updatePopper)==null||j.call(B),x==null||x()},L=()=>{y==null||y()},D=()=>{h()},I=()=>{n.virtualTriggering||v()},k=B=>{var fe;const j=(fe=i.value)==null?void 0:fe.popperContentRef,ce=(B==null?void 0:B.relatedTarget)||document.activeElement;return j==null?void 0:j.contains(ce)};return $(()=>p(c),B=>{B?(R.value=!1,s=Wn(u,()=>{p(a)||hr(p(f)).every(j=>j!=="hover"&&j!=="focus")&&v()},{detectIframe:!0})):s==null||s()},{flush:"post"}),t({contentRef:i,isFocusInsideContent:k}),(B,j)=>(Y(),ge($n,{disabled:!e.teleported,to:C.value},[d.value||!R.value?(Y(),ge(Nn,{key:0,name:b.value,appear:!E.value,onAfterLeave:M,onBeforeEnter:P,onAfterEnter:D,onBeforeLeave:L,persisted:""},{default:ee(()=>[Wt(Be(p(Ar),tt({id:p(l),ref_key:"contentRef",ref:i},B.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":R.value,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,O.value],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:w.value,"z-index":e.zIndex,loop:e.loop,onMouseenter:p(S),onMouseleave:p(H),onBlur:I,onClose:p(v)}),{default:ee(()=>[se(B.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","arrow-offset","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","loop","onMouseenter","onMouseleave","onClose"]),[[Hn,w.value]])]),_:3},8,["name","appear"])):We("v-if",!0)],8,["disabled","to"]))}}),Hr=Nr;const $r=["innerHTML"],Wr={key:1};var Vr=ne({name:"ElTooltip",__name:"tooltip",props:Ir,emits:kr,setup(e,{expose:t,emit:n}){const o=e,r=n;rr();const i=we("tooltip"),u=zn(),s=N(),a=N(),l=()=>{var w;const d=p(s);d&&((w=d.popperInstanceRef)==null||w.update())},c=N(!1),f=N(),{show:v,hide:g,hasUpdateHandler:h}=jr({indicator:c,toggleReason:f}),{onOpen:m,onClose:x}=ir({showAfter:Te(o,"showAfter"),hideAfter:Te(o,"hideAfter"),autoClose:Te(o,"autoClose"),open:v,close:g}),y=T(()=>Je(o.visible)&&!h.value),b=T(()=>[i.b(),o.popperClass]);Pe(dt,{controlled:y,id:u,open:Kn(c),trigger:Te(o,"trigger"),onOpen:m,onClose:x,onToggle:d=>{p(c)?x(d):m(d)},onShow:()=>{r("show",f.value)},onHide:()=>{r("hide",f.value)},onBeforeShow:()=>{r("before-show",f.value)},onBeforeHide:()=>{r("before-hide",f.value)},updatePopper:l}),$(()=>o.disabled,d=>{d&&c.value&&(c.value=!1),!d&&Je(o.visible)&&(c.value=o.visible)});const E=d=>{var w;return(w=a.value)==null?void 0:w.isFocusInsideContent(d)};return Vn(()=>c.value&&g()),te(()=>{f.value=void 0}),t({popperRef:s,contentRef:a,isFocusInsideContent:E,updatePopper:l,onOpen:m,onClose:x,hide:g}),(d,w)=>(Y(),ge(p(Fr),{ref_key:"popperRef",ref:s,role:e.role},{default:ee(()=>[Be(Lr,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering,"focus-on-target":e.focusOnTarget},{default:ee(()=>[d.$slots.default?se(d.$slots,"default",{key:0}):We("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering","focus-on-target"]),Be(Hr,{ref_key:"contentRef",ref:a,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":b.value,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo,loop:e.loop},{default:ee(()=>[se(d.$slots,"content",{},()=>[e.rawContent?(Y(),$e("span",{key:0,innerHTML:e.content},null,8,$r)):(Y(),$e("span",Wr,qn(e.content),1))]),e.showArrow?(Y(),ge(p(fr),{key:0})):We("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","arrow-offset","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to","loop"])]),_:3},8,["role"]))}}),qr=Vr;const Jr=Kt(qr);export{Jr as E,pr as O,rt as a,gn as b,hr as c,Zr as e,Zn as i,ur as r,vn as u}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-popper-D1tByNLb.js +import{cM as Ht,R as F,D as $,G as qe,N as En,k as Je,j as T,b8 as Le,bt as Ce,y as N,f as p,H as te,aT as Tn,c4 as Et,cN as Cn,cO as Rn,c8 as An,ak as Ge,b as _,F as Pe,d as ne,a as we,B as ue,o as Y,c as $e,al as Pn,n as $t,aU as Qe,aK as Tt,K as Wt,ao as Bn,by as Ct,a3 as Fn,M as Mn,ca as Sn,s as Be,bw as ve,e as ge,w as ee,h as se,Y as tt,g as We,a2 as Vt,cf as Rt,a8 as qt,a6 as nt,a7 as jn,bJ as In,l as Kt,W as Ye,ba as Q,V as kn,P as Dn,Q as Ut,a9 as Te,c9 as Ln,Z as Nn,L as Hn,bg as $n,bT as Wn,cP as Vn,aa as qn,bb as Kn}from"./index-Ds9AETjS.js";import{a as Un,h as At,f as zn}from"./index-BNsCyG4A.js";import{u as zt}from"./index-BSbCLbaz.js";import{f as Yn}from"./index-sWKLi7bH.js";function Zn(e){return e===void 0}const Jn=Ht({type:F(Boolean),default:null}),Gn=Ht({type:F(Function)}),Qn=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,o=[t],r={[e]:Jn,[n]:Gn};return{useModelToggle:({indicator:u,toggleReason:s,shouldHideWhenRouteChanges:a,shouldProceed:l,onShow:c,onHide:f})=>{const v=En(),{emit:g}=v,h=v.props,m=T(()=>Le(h[n])),x=T(()=>h[e]===null),y=O=>{u.value!==!0&&(u.value=!0,s&&(s.value=O),Le(c)&&c(O))},b=O=>{u.value!==!1&&(u.value=!1,s&&(s.value=O),Le(f)&&f(O))},E=O=>{if(h.disabled===!0||Le(l)&&!l())return;const R=m.value&&Ce;R&&g(t,!0),(x.value||!R)&&y(O)},d=O=>{if(h.disabled===!0||!Ce)return;const R=m.value&&Ce;R&&g(t,!1),(x.value||!R)&&b(O)},w=O=>{Je(O)&&(h.disabled&&O?m.value&&g(t,!1):u.value!==O&&(O?y():b()))},C=()=>{u.value?d():E()};return $(()=>h[e],w),a&&v.appContext.config.globalProperties.$route!==void 0&&$(()=>({...v.proxy.$route}),()=>{a.value&&u.value&&d()}),qe(()=>{w(h[e])}),{hide:d,show:E,toggle:C,hasUpdateHandler:m}},useModelToggleProps:r,useModelToggleEmits:o}};var W="top",U="bottom",z="right",V="left",ot="auto",Se=[W,U,z,V],me="start",Fe="end",Xn="clippingParents",Yt="viewport",Ee="popper",_n="reference",Pt=Se.reduce(function(e,t){return e.concat([t+"-"+me,t+"-"+Fe])},[]),rt=[].concat(Se,[ot]).reduce(function(e,t){return e.concat([t,t+"-"+me,t+"-"+Fe])},[]),eo="beforeRead",to="read",no="afterRead",oo="beforeMain",ro="main",ao="afterMain",io="beforeWrite",so="write",lo="afterWrite",uo=[eo,to,no,oo,ro,ao,io,so,lo];function J(e){return e?(e.nodeName||"").toLowerCase():null}function q(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function le(e){var t=q(e).Element;return e instanceof t||e instanceof Element}function K(e){var t=q(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function at(e){if(typeof ShadowRoot>"u")return!1;var t=q(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function co(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var o=t.styles[n]||{},r=t.attributes[n]||{},i=t.elements[n];!K(i)||!J(i)||(Object.assign(i.style,o),Object.keys(r).forEach(function(u){var s=r[u];s===!1?i.removeAttribute(u):i.setAttribute(u,s===!0?"":s)}))})}function fo(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(o){var r=t.elements[o],i=t.attributes[o]||{},u=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:n[o]),s=u.reduce(function(a,l){return a[l]="",a},{});!K(r)||!J(r)||(Object.assign(r.style,s),Object.keys(i).forEach(function(a){r.removeAttribute(a)}))})}}var Zt={name:"applyStyles",enabled:!0,phase:"write",fn:co,effect:fo,requires:["computeStyles"]};function Z(e){return e.split("-")[0]}var ie=Math.max,Ve=Math.min,he=Math.round;function Xe(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Jt(){return!/^((?!chrome|android).)*safari/i.test(Xe())}function ye(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var o=e.getBoundingClientRect(),r=1,i=1;t&&K(e)&&(r=e.offsetWidth>0&&he(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&he(o.height)/e.offsetHeight||1);var u=le(e)?q(e):window,s=u.visualViewport,a=!Jt()&&n,l=(o.left+(a&&s?s.offsetLeft:0))/r,c=(o.top+(a&&s?s.offsetTop:0))/i,f=o.width/r,v=o.height/i;return{width:f,height:v,top:c,right:l+f,bottom:c+v,left:l,x:l,y:c}}function it(e){var t=ye(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function Gt(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&at(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function X(e){return q(e).getComputedStyle(e)}function po(e){return["table","td","th"].indexOf(J(e))>=0}function oe(e){return((le(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ke(e){return J(e)==="html"?e:e.assignedSlot||e.parentNode||(at(e)?e.host:null)||oe(e)}function Bt(e){return!K(e)||X(e).position==="fixed"?null:e.offsetParent}function vo(e){var t=/firefox/i.test(Xe()),n=/Trident/i.test(Xe());if(n&&K(e)){var o=X(e);if(o.position==="fixed")return null}var r=Ke(e);for(at(r)&&(r=r.host);K(r)&&["html","body"].indexOf(J(r))<0;){var i=X(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function je(e){for(var t=q(e),n=Bt(e);n&&po(n)&&X(n).position==="static";)n=Bt(n);return n&&(J(n)==="html"||J(n)==="body"&&X(n).position==="static")?t:n||vo(e)||t}function st(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Re(e,t,n){return ie(e,Ve(t,n))}function go(e,t,n){var o=Re(e,t,n);return o>n?n:o}function Qt(){return{top:0,right:0,bottom:0,left:0}}function Xt(e){return Object.assign({},Qt(),e)}function _t(e,t){return t.reduce(function(n,o){return n[o]=e,n},{})}var mo=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Xt(typeof e!="number"?e:_t(e,Se))};function ho(e){var t,n=e.state,o=e.name,r=e.options,i=n.elements.arrow,u=n.modifiersData.popperOffsets,s=Z(n.placement),a=st(s),l=[V,z].indexOf(s)>=0,c=l?"height":"width";if(!(!i||!u)){var f=mo(r.padding,n),v=it(i),g=a==="y"?W:V,h=a==="y"?U:z,m=n.rects.reference[c]+n.rects.reference[a]-u[a]-n.rects.popper[c],x=u[a]-n.rects.reference[a],y=je(i),b=y?a==="y"?y.clientHeight||0:y.clientWidth||0:0,E=m/2-x/2,d=f[g],w=b-v[c]-f[h],C=b/2-v[c]/2+E,O=Re(d,C,w),R=a;n.modifiersData[o]=(t={},t[R]=O,t.centerOffset=O-C,t)}}function yo(e){var t=e.state,n=e.options,o=n.element,r=o===void 0?"[data-popper-arrow]":o;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||Gt(t.elements.popper,r)&&(t.elements.arrow=r))}var bo={name:"arrow",enabled:!0,phase:"main",fn:ho,effect:yo,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function be(e){return e.split("-")[1]}var wo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function xo(e,t){var n=e.x,o=e.y,r=t.devicePixelRatio||1;return{x:he(n*r)/r||0,y:he(o*r)/r||0}}function Ft(e){var t,n=e.popper,o=e.popperRect,r=e.placement,i=e.variation,u=e.offsets,s=e.position,a=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,f=e.isFixed,v=u.x,g=v===void 0?0:v,h=u.y,m=h===void 0?0:h,x=typeof c=="function"?c({x:g,y:m}):{x:g,y:m};g=x.x,m=x.y;var y=u.hasOwnProperty("x"),b=u.hasOwnProperty("y"),E=V,d=W,w=window;if(l){var C=je(n),O="clientHeight",R="clientWidth";if(C===q(n)&&(C=oe(n),X(C).position!=="static"&&s==="absolute"&&(O="scrollHeight",R="scrollWidth")),C=C,r===W||(r===V||r===z)&&i===Fe){d=U;var M=f&&C===w&&w.visualViewport?w.visualViewport.height:C[O];m-=M-o.height,m*=a?1:-1}if(r===V||(r===W||r===U)&&i===Fe){E=z;var A=f&&C===w&&w.visualViewport?w.visualViewport.width:C[R];g-=A-o.width,g*=a?1:-1}}var S=Object.assign({position:s},l&&wo),H=c===!0?xo({x:g,y:m},q(n)):{x:g,y:m};if(g=H.x,m=H.y,a){var P;return Object.assign({},S,(P={},P[d]=b?"0":"",P[E]=y?"0":"",P.transform=(w.devicePixelRatio||1)<=1?"translate("+g+"px, "+m+"px)":"translate3d("+g+"px, "+m+"px, 0)",P))}return Object.assign({},S,(t={},t[d]=b?m+"px":"",t[E]=y?g+"px":"",t.transform="",t))}function Oo(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=o===void 0?!0:o,i=n.adaptive,u=i===void 0?!0:i,s=n.roundOffsets,a=s===void 0?!0:s,l={placement:Z(t.placement),variation:be(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ft(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:u,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ft(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var en={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Oo,data:{}},Ne={passive:!0};function Eo(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=r===void 0?!0:r,u=o.resize,s=u===void 0?!0:u,a=q(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach(function(c){c.addEventListener("scroll",n.update,Ne)}),s&&a.addEventListener("resize",n.update,Ne),function(){i&&l.forEach(function(c){c.removeEventListener("scroll",n.update,Ne)}),s&&a.removeEventListener("resize",n.update,Ne)}}var tn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Eo,data:{}},To={left:"right",right:"left",bottom:"top",top:"bottom"};function He(e){return e.replace(/left|right|bottom|top/g,function(t){return To[t]})}var Co={start:"end",end:"start"};function Mt(e){return e.replace(/start|end/g,function(t){return Co[t]})}function lt(e){var t=q(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function ut(e){return ye(oe(e)).left+lt(e).scrollLeft}function Ro(e,t){var n=q(e),o=oe(e),r=n.visualViewport,i=o.clientWidth,u=o.clientHeight,s=0,a=0;if(r){i=r.width,u=r.height;var l=Jt();(l||!l&&t==="fixed")&&(s=r.offsetLeft,a=r.offsetTop)}return{width:i,height:u,x:s+ut(e),y:a}}function Ao(e){var t,n=oe(e),o=lt(e),r=(t=e.ownerDocument)==null?void 0:t.body,i=ie(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),u=ie(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+ut(e),a=-o.scrollTop;return X(r||n).direction==="rtl"&&(s+=ie(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:u,x:s,y:a}}function ct(e){var t=X(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function nn(e){return["html","body","#document"].indexOf(J(e))>=0?e.ownerDocument.body:K(e)&&ct(e)?e:nn(Ke(e))}function Ae(e,t){var n;t===void 0&&(t=[]);var o=nn(e),r=o===((n=e.ownerDocument)==null?void 0:n.body),i=q(o),u=r?[i].concat(i.visualViewport||[],ct(o)?o:[]):o,s=t.concat(u);return r?s:s.concat(Ae(Ke(u)))}function _e(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Po(e,t){var n=ye(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function St(e,t,n){return t===Yt?_e(Ro(e,n)):le(t)?Po(t,n):_e(Ao(oe(e)))}function Bo(e){var t=Ae(Ke(e)),n=["absolute","fixed"].indexOf(X(e).position)>=0,o=n&&K(e)?je(e):e;return le(o)?t.filter(function(r){return le(r)&&Gt(r,o)&&J(r)!=="body"}):[]}function Fo(e,t,n,o){var r=t==="clippingParents"?Bo(e):[].concat(t),i=[].concat(r,[n]),u=i[0],s=i.reduce(function(a,l){var c=St(e,l,o);return a.top=ie(c.top,a.top),a.right=Ve(c.right,a.right),a.bottom=Ve(c.bottom,a.bottom),a.left=ie(c.left,a.left),a},St(e,u,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function on(e){var t=e.reference,n=e.element,o=e.placement,r=o?Z(o):null,i=o?be(o):null,u=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,a;switch(r){case W:a={x:u,y:t.y-n.height};break;case U:a={x:u,y:t.y+t.height};break;case z:a={x:t.x+t.width,y:s};break;case V:a={x:t.x-n.width,y:s};break;default:a={x:t.x,y:t.y}}var l=r?st(r):null;if(l!=null){var c=l==="y"?"height":"width";switch(i){case me:a[l]=a[l]-(t[c]/2-n[c]/2);break;case Fe:a[l]=a[l]+(t[c]/2-n[c]/2);break}}return a}function Me(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=o===void 0?e.placement:o,i=n.strategy,u=i===void 0?e.strategy:i,s=n.boundary,a=s===void 0?Xn:s,l=n.rootBoundary,c=l===void 0?Yt:l,f=n.elementContext,v=f===void 0?Ee:f,g=n.altBoundary,h=g===void 0?!1:g,m=n.padding,x=m===void 0?0:m,y=Xt(typeof x!="number"?x:_t(x,Se)),b=v===Ee?_n:Ee,E=e.rects.popper,d=e.elements[h?b:v],w=Fo(le(d)?d:d.contextElement||oe(e.elements.popper),a,c,u),C=ye(e.elements.reference),O=on({reference:C,element:E,placement:r}),R=_e(Object.assign({},E,O)),M=v===Ee?R:C,A={top:w.top-M.top+y.top,bottom:M.bottom-w.bottom+y.bottom,left:w.left-M.left+y.left,right:M.right-w.right+y.right},S=e.modifiersData.offset;if(v===Ee&&S){var H=S[r];Object.keys(A).forEach(function(P){var L=[z,U].indexOf(P)>=0?1:-1,D=[W,U].indexOf(P)>=0?"y":"x";A[P]+=H[D]*L})}return A}function Mo(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,u=n.padding,s=n.flipVariations,a=n.allowedAutoPlacements,l=a===void 0?rt:a,c=be(o),f=c?s?Pt:Pt.filter(function(h){return be(h)===c}):Se,v=f.filter(function(h){return l.indexOf(h)>=0});v.length===0&&(v=f);var g=v.reduce(function(h,m){return h[m]=Me(e,{placement:m,boundary:r,rootBoundary:i,padding:u})[Z(m)],h},{});return Object.keys(g).sort(function(h,m){return g[h]-g[m]})}function So(e){if(Z(e)===ot)return[];var t=He(e);return[Mt(e),t,Mt(t)]}function jo(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,i=r===void 0?!0:r,u=n.altAxis,s=u===void 0?!0:u,a=n.fallbackPlacements,l=n.padding,c=n.boundary,f=n.rootBoundary,v=n.altBoundary,g=n.flipVariations,h=g===void 0?!0:g,m=n.allowedAutoPlacements,x=t.options.placement,y=Z(x),b=y===x,E=a||(b||!h?[He(x)]:So(x)),d=[x].concat(E).reduce(function(re,G){return re.concat(Z(G)===ot?Mo(t,{placement:G,boundary:c,rootBoundary:f,padding:l,flipVariations:h,allowedAutoPlacements:m}):G)},[]),w=t.rects.reference,C=t.rects.popper,O=new Map,R=!0,M=d[0],A=0;A=0,D=L?"width":"height",I=Me(t,{placement:S,boundary:c,rootBoundary:f,altBoundary:v,padding:l}),k=L?P?z:V:P?U:W;w[D]>C[D]&&(k=He(k));var B=He(k),j=[];if(i&&j.push(I[H]<=0),s&&j.push(I[k]<=0,I[B]<=0),j.every(function(re){return re})){M=S,R=!1;break}O.set(S,j)}if(R)for(var ce=h?3:1,fe=function(re){var G=d.find(function(ke){var Oe=O.get(ke);if(Oe)return Oe.slice(0,re).every(function(pe){return pe})});if(G)return M=G,"break"},xe=ce;xe>0;xe--){var Ie=fe(xe);if(Ie==="break")break}t.placement!==M&&(t.modifiersData[o]._skip=!0,t.placement=M,t.reset=!0)}}var Io={name:"flip",enabled:!0,phase:"main",fn:jo,requiresIfExists:["offset"],data:{_skip:!1}};function jt(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function It(e){return[W,z,U,V].some(function(t){return e[t]>=0})}function ko(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,u=Me(t,{elementContext:"reference"}),s=Me(t,{altBoundary:!0}),a=jt(u,o),l=jt(s,r,i),c=It(a),f=It(l);t.modifiersData[n]={referenceClippingOffsets:a,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}var Do={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ko};function Lo(e,t,n){var o=Z(e),r=[V,W].indexOf(o)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,u=i[0],s=i[1];return u=u||0,s=(s||0)*r,[V,z].indexOf(o)>=0?{x:s,y:u}:{x:u,y:s}}function No(e){var t=e.state,n=e.options,o=e.name,r=n.offset,i=r===void 0?[0,0]:r,u=rt.reduce(function(c,f){return c[f]=Lo(f,t.rects,i),c},{}),s=u[t.placement],a=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=a,t.modifiersData.popperOffsets.y+=l),t.modifiersData[o]=u}var Ho={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:No};function $o(e){var t=e.state,n=e.name;t.modifiersData[n]=on({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var rn={name:"popperOffsets",enabled:!0,phase:"read",fn:$o,data:{}};function Wo(e){return e==="x"?"y":"x"}function Vo(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,i=r===void 0?!0:r,u=n.altAxis,s=u===void 0?!1:u,a=n.boundary,l=n.rootBoundary,c=n.altBoundary,f=n.padding,v=n.tether,g=v===void 0?!0:v,h=n.tetherOffset,m=h===void 0?0:h,x=Me(t,{boundary:a,rootBoundary:l,padding:f,altBoundary:c}),y=Z(t.placement),b=be(t.placement),E=!b,d=st(y),w=Wo(d),C=t.modifiersData.popperOffsets,O=t.rects.reference,R=t.rects.popper,M=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,A=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(C){if(i){var P,L=d==="y"?W:V,D=d==="y"?U:z,I=d==="y"?"height":"width",k=C[d],B=k+x[L],j=k-x[D],ce=g?-R[I]/2:0,fe=b===me?O[I]:R[I],xe=b===me?-R[I]:-O[I],Ie=t.elements.arrow,re=g&&Ie?it(Ie):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Qt(),ke=G[L],Oe=G[D],pe=Re(0,O[I],re[I]),mn=E?O[I]/2-ce-pe-ke-A.mainAxis:fe-pe-ke-A.mainAxis,hn=E?-O[I]/2+ce+pe+Oe+A.mainAxis:xe+pe+Oe+A.mainAxis,Ue=t.elements.arrow&&je(t.elements.arrow),yn=Ue?d==="y"?Ue.clientTop||0:Ue.clientLeft||0:0,vt=(P=S==null?void 0:S[d])!=null?P:0,bn=k+mn-vt-yn,wn=k+hn-vt,gt=Re(g?Ve(B,bn):B,k,g?ie(j,wn):j);C[d]=gt,H[d]=gt-k}if(s){var mt,xn=d==="x"?W:V,On=d==="x"?U:z,ae=C[w],De=w==="y"?"height":"width",ht=ae+x[xn],yt=ae-x[On],ze=[W,V].indexOf(y)!==-1,bt=(mt=S==null?void 0:S[w])!=null?mt:0,wt=ze?ht:ae-O[De]-R[De]-bt+A.altAxis,xt=ze?ae+O[De]+R[De]-bt-A.altAxis:yt,Ot=g&&ze?go(wt,ae,xt):Re(g?wt:ht,ae,g?xt:yt);C[w]=Ot,H[w]=Ot-ae}t.modifiersData[o]=H}}var qo={name:"preventOverflow",enabled:!0,phase:"main",fn:Vo,requiresIfExists:["offset"]};function Ko(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Uo(e){return e===q(e)||!K(e)?lt(e):Ko(e)}function zo(e){var t=e.getBoundingClientRect(),n=he(t.width)/e.offsetWidth||1,o=he(t.height)/e.offsetHeight||1;return n!==1||o!==1}function Yo(e,t,n){n===void 0&&(n=!1);var o=K(t),r=K(t)&&zo(t),i=oe(t),u=ye(e,r,n),s={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(o||!o&&!n)&&((J(t)!=="body"||ct(i))&&(s=Uo(t)),K(t)?(a=ye(t,!0),a.x+=t.clientLeft,a.y+=t.clientTop):i&&(a.x=ut(i))),{x:u.left+s.scrollLeft-a.x,y:u.top+s.scrollTop-a.y,width:u.width,height:u.height}}function Zo(e){var t=new Map,n=new Set,o=[];e.forEach(function(i){t.set(i.name,i)});function r(i){n.add(i.name);var u=[].concat(i.requires||[],i.requiresIfExists||[]);u.forEach(function(s){if(!n.has(s)){var a=t.get(s);a&&r(a)}}),o.push(i)}return e.forEach(function(i){n.has(i.name)||r(i)}),o}function Jo(e){var t=Zo(e);return uo.reduce(function(n,o){return n.concat(t.filter(function(r){return r.phase===o}))},[])}function Go(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Qo(e){var t=e.reduce(function(n,o){var r=n[o.name];return n[o.name]=r?Object.assign({},r,o,{options:Object.assign({},r.options,o.options),data:Object.assign({},r.data,o.data)}):o,n},{});return Object.keys(t).map(function(n){return t[n]})}var kt={placement:"bottom",modifiers:[],strategy:"absolute"};function Dt(){for(var e=arguments.length,t=new Array(e),n=0;n{const o={name:"updateState",enabled:!0,phase:"write",fn:({state:a})=>{const l=nr(a);Object.assign(u.value,l)},requires:["computeStyles"]},r=T(()=>{const{onFirstUpdate:a,placement:l,strategy:c,modifiers:f}=p(n);return{onFirstUpdate:a,placement:l||"bottom",strategy:c||"absolute",modifiers:[...f||[],o,{name:"applyStyles",enabled:!1}]}}),i=Tn(),u=N({styles:{popper:{position:p(r).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=()=>{i.value&&(i.value.destroy(),i.value=void 0)};return $(r,a=>{const l=p(i);l&&l.setOptions(a)},{deep:!0}),$([e,t],([a,l])=>{s(),!(!a||!l)&&(i.value=er(a,l,p(r)))}),te(()=>{s()}),{state:T(()=>{var a;return{...((a=p(i))==null?void 0:a.state)||{}}}),styles:T(()=>p(u).styles),attributes:T(()=>p(u).attributes),update:()=>{var a;return(a=p(i))==null?void 0:a.update()},forceUpdate:()=>{var a;return(a=p(i))==null?void 0:a.forceUpdate()},instanceRef:T(()=>p(i))}};function nr(e){const t=Object.keys(e.elements);return{styles:Et(t.map(n=>[n,e.styles[n]||{}])),attributes:Et(t.map(n=>[n,e.attributes[n]]))}}function Lt(){let e;const t=(o,r)=>{n(),e=globalThis.setTimeout(o,r)},n=()=>{e!==void 0&&(globalThis.clearTimeout(e),e=void 0)};return Cn(()=>n()),{registerTimeout:t,cancelTimeout:n}}const an=()=>{const e=An(),t=Un(),n=T(()=>`${e.value}-popper-container-${t.prefix}`);return{id:n,selector:T(()=>`#${n.value}`)}},or=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},rr=()=>{const{id:e,selector:t}=an();return Rn(()=>{Ce&&(document.body.querySelector(t.value)||or(e.value))}),{id:e,selector:t}},ar=_({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),ir=({showAfter:e,hideAfter:t,autoClose:n,open:o,close:r})=>{const{registerTimeout:i}=Lt(),{registerTimeout:u,cancelTimeout:s}=Lt();return{onOpen:(c,f=p(e))=>{i(()=>{o(c);const v=p(n);Ge(v)&&v>0&&u(()=>{r(c)},v)},f)},onClose:(c,f=p(t))=>{s(),i(()=>{r(c)},f)}}},sn=Symbol("elForwardRef"),sr=e=>{Pe(sn,{setForwardRef:(n=>{e.value=n})})},lr=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),ur=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],ln=_({role:{type:String,values:ur,default:"tooltip"}}),pt=Symbol("popper"),un=Symbol("popperContent");var cr=ne({name:"ElPopperArrow",inheritAttrs:!1,__name:"arrow",setup(e,{expose:t}){const n=we("popper"),{arrowRef:o,arrowStyle:r}=ue(un,void 0);return te(()=>{o.value=void 0}),t({arrowRef:o}),(i,u)=>(Y(),$e("span",{ref_key:"arrowRef",ref:o,class:$t(p(n).e("arrow")),style:Pn(p(r)),"data-popper-arrow":""},null,6))}}),fr=cr;const cn=_({virtualRef:{type:F(Object)},virtualTriggering:Boolean,onMouseenter:{type:F(Function)},onMouseleave:{type:F(Function)},onClick:{type:F(Function)},onKeydown:{type:F(Function)},onFocus:{type:F(Function)},onBlur:{type:F(Function)},onContextmenu:{type:F(Function)},id:String,open:Boolean}),Ze="ElOnlyChild",pr=ne({name:Ze,setup(e,{slots:t,attrs:n}){var r;const o=lr(((r=ue(sn))==null?void 0:r.setForwardRef)??Qe);return()=>{var a;const i=(a=t.default)==null?void 0:a.call(t,n);if(!i)return null;const[u,s]=fn(i);return u?(s>1&&Tt(Ze,"requires exact only one valid child."),Wt(Bn(u,n),[[o]])):(Tt(Ze,"no valid child node found"),null)}}});function fn(e){if(!e)return[null,0];const t=e,n=t.filter(o=>o.type!==Ct).length;for(const o of t){if(Fn(o))switch(o.type){case Ct:continue;case Sn:case"svg":return[Nt(o),n];case Mn:return fn(o.children);default:return[o,n]}return[Nt(o),n]}return[null,0]}function Nt(e){return Be("span",{class:we("only-child").e("content")},[e])}var dr=ne({name:"ElPopperTrigger",inheritAttrs:!1,__name:"trigger",props:cn,setup(e,{expose:t}){const n=e,{role:o,triggerRef:r}=ue(pt,void 0);sr(r);const i=T(()=>s.value?n.id:void 0),u=T(()=>{if(o&&o.value==="tooltip")return n.open&&n.id?n.id:void 0}),s=T(()=>{if(o&&o.value!=="tooltip")return o.value}),a=T(()=>s.value?`${n.open}`:void 0);let l;const c=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return qe(()=>{$(()=>n.virtualRef,f=>{f&&(r.value=Vt(f))},{immediate:!0}),$(r,(f,v)=>{l==null||l(),l=void 0,ve(v)&&c.forEach(g=>{const h=n[g];h&&v.removeEventListener(g.slice(2).toLowerCase(),h,["onFocus","onBlur"].includes(g))}),ve(f)&&(c.forEach(g=>{const h=n[g];h&&f.addEventListener(g.slice(2).toLowerCase(),h,["onFocus","onBlur"].includes(g))}),Rt(f)&&(l=$([i,u,s,a],g=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((h,m)=>{qt(g[m])?f.removeAttribute(h):f.setAttribute(h,g[m])})},{immediate:!0}))),ve(v)&&Rt(v)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(g=>v.removeAttribute(g))},{immediate:!0})}),te(()=>{if(l==null||l(),l=void 0,r.value&&ve(r.value)){const f=r.value;c.forEach(v=>{const g=n[v];g&&f.removeEventListener(v.slice(2).toLowerCase(),g,["onFocus","onBlur"].includes(v))}),r.value=void 0}}),t({triggerRef:r}),(f,v)=>e.virtualTriggering?We("v-if",!0):(Y(),ge(p(pr),tt({key:0},f.$attrs,{"aria-controls":i.value,"aria-describedby":u.value,"aria-expanded":a.value,"aria-haspopup":s.value}),{default:ee(()=>[se(f.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}}),vr=dr;const pn=_({arrowOffset:{type:Number,default:5}}),gr=_({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:F(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:rt,default:"bottom"},popperOptions:{type:F(Object),default:()=>({})},strategy:{type:String,values:["fixed","absolute"],default:"absolute"}}),dn=_({...gr,...pn,id:String,style:{type:F([String,Array,Object,Boolean]),default:void 0},className:{type:F([String,Array,Object])},effect:{type:F(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:F([String,Array,Object])},popperStyle:{type:F([String,Array,Object,Boolean]),default:void 0},referenceEl:{type:F(Object)},triggerTargetEl:{type:F(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...zt(["ariaLabel"]),loop:Boolean}),mr={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0};const Zr=e=>nt(e)?e[0]:e,hr=e=>!e&&e!==0?[]:nt(e)?e:[e],yr=(e,t=[])=>{const{placement:n,strategy:o,popperOptions:r}=e,i={placement:n,strategy:o,...r,modifiers:[...wr(e),...t]};return xr(i,r==null?void 0:r.modifiers),i},br=e=>{if(Ce)return Vt(e)};function wr(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:o}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:0,bottom:0,left:0,right:0}}},{name:"flip",options:{padding:5,fallbackPlacements:o}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function xr(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const Or=0,Er=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:o,role:r}=ue(pt,void 0),i=N(),u=T(()=>e.arrowOffset),s=T(()=>({name:"eventListeners",enabled:!!e.visible})),a=T(()=>{const b=p(i),E=p(u)??Or;return{name:"arrow",enabled:!Zn(b),options:{element:b,padding:E}}}),l=T(()=>({onFirstUpdate:()=>{h()},...yr(e,[p(a),p(s)])})),c=T(()=>br(e.referenceEl)||p(o)),{attributes:f,state:v,styles:g,update:h,forceUpdate:m,instanceRef:x}=tr(c,n,l);$(x,b=>t.value=b,{flush:"sync"}),qe(()=>{$(()=>{var b,E;return(E=(b=p(c))==null?void 0:b.getBoundingClientRect)==null?void 0:E.call(b)},()=>{h()})});let y;return $(()=>e.visible,b=>{y==null||y(),y=void 0,b&&(y=jn(n,h).stop)}),te(()=>{t.value=void 0,y==null||y(),y=void 0}),{attributes:f,arrowRef:i,contentRef:n,instanceRef:x,state:v,styles:g,role:r,forceUpdate:m,update:h}},Tr=(e,{attributes:t,styles:n,role:o})=>{const{nextZIndex:r}=In(),i=we("popper"),u=T(()=>p(t).popper),s=N(Ge(e.zIndex)?e.zIndex:r()),a=T(()=>[i.b(),i.is("pure",e.pure),i.is(e.effect),e.popperClass]),l=T(()=>[{zIndex:p(s)},p(n).popper,e.popperStyle||{}]),c=T(()=>o.value==="dialog"?"false":void 0),f=T(()=>p(n).arrow||{});return{ariaModal:c,arrowStyle:f,contentAttrs:u,contentClass:a,contentStyle:l,contentZIndex:s,updateZIndex:()=>{s.value=Ge(e.zIndex)?e.zIndex:r()}}},Cr=(e,t)=>{const n=N(!1),o=N(),r=()=>{t("focus")},i=l=>{var c;((c=l.detail)==null?void 0:c.focusReason)!=="pointer"&&(o.value="first",t("blur"))},u=l=>{e.visible&&!n.value&&(l.target&&(o.value=l.target),n.value=!0)},s=l=>{e.trapping||(l.detail.focusReason==="pointer"&&l.preventDefault(),n.value=!1)},a=()=>{n.value=!1,t("close")};return te(()=>{o.value=void 0}),{focusStartRef:o,trapped:n,onFocusAfterReleased:i,onFocusAfterTrapped:r,onFocusInTrap:u,onFocusoutPrevented:s,onReleaseRequested:a}};var Rr=ne({name:"ElPopperContent",__name:"content",props:dn,emits:mr,setup(e,{expose:t,emit:n}){const o=n,r=e,{focusStartRef:i,trapped:u,onFocusAfterReleased:s,onFocusAfterTrapped:a,onFocusInTrap:l,onFocusoutPrevented:c,onReleaseRequested:f}=Cr(r,o),{attributes:v,arrowRef:g,contentRef:h,styles:m,instanceRef:x,role:y,update:b}=Er(r),{ariaModal:E,arrowStyle:d,contentAttrs:w,contentClass:C,contentStyle:O,updateZIndex:R}=Tr(r,{styles:m,attributes:v,role:y}),M=ue(At,void 0);Pe(un,{arrowStyle:d,arrowRef:g}),M&&Pe(At,{...M,addInputId:Qe,removeInputId:Qe});let A;const S=(P=!0)=>{b(),P&&R()},H=()=>{S(!1),r.visible&&r.focusOnShow?u.value=!0:r.visible===!1&&(u.value=!1)};return qe(()=>{$(()=>r.triggerTargetEl,(P,L)=>{A==null||A(),A=void 0;const D=p(P||h.value),I=p(L||h.value);ve(D)&&(A=$([y,()=>r.ariaLabel,E,()=>r.id],k=>{["role","aria-label","aria-modal","id"].forEach((B,j)=>{qt(k[j])?D.removeAttribute(B):D.setAttribute(B,k[j])})},{immediate:!0})),I!==D&&ve(I)&&["role","aria-label","aria-modal","id"].forEach(k=>{I.removeAttribute(k)})},{immediate:!0}),$(()=>r.visible,H,{immediate:!0})}),te(()=>{A==null||A(),A=void 0,h.value=void 0}),t({popperContentRef:h,popperInstanceRef:x,updatePopper:S,contentStyle:O}),(P,L)=>(Y(),$e("div",tt({ref_key:"contentRef",ref:h},p(w),{style:p(O),class:p(C),tabindex:"-1",onMouseenter:L[0]||(L[0]=D=>P.$emit("mouseenter",D)),onMouseleave:L[1]||(L[1]=D=>P.$emit("mouseleave",D))}),[Be(p(Yn),{loop:e.loop,trapped:p(u),"trap-on-focus-in":!0,"focus-trap-el":p(h),"focus-start-el":p(i),onFocusAfterTrapped:p(a),onFocusAfterReleased:p(s),onFocusin:p(l),onFocusoutPrevented:p(c),onReleaseRequested:p(f)},{default:ee(()=>[se(P.$slots,"default")]),_:3},8,["loop","trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}}),Ar=Rr,Pr=ne({name:"ElPopper",inheritAttrs:!1,__name:"popper",props:ln,setup(e,{expose:t}){const n=e,o={triggerRef:N(),popperInstanceRef:N(),contentRef:N(),referenceRef:N(),role:T(()=>n.role)};return t(o),Pe(pt,o),(r,i)=>se(r.$slots,"default")}}),Br=Pr;const Fr=Kt(Br),vn=_({...ar,...dn,appendTo:{type:F([String,Object])},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:F(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...zt(["ariaLabel"])}),gn=_({...cn,disabled:Boolean,trigger:{type:F([String,Array]),default:"hover"},triggerKeys:{type:F(Array),default:()=>[Ye.enter,Ye.numpadEnter,Ye.space]},focusOnTarget:Boolean}),{useModelToggleProps:Mr,useModelToggleEmits:Sr,useModelToggle:jr}=Qn("visible"),Ir=_({...ln,...Mr,...vn,...gn,...pn,showArrow:{type:Boolean,default:!0}}),kr=[...Sr,"before-show","before-hide","show","hide","open","close"],dt=Symbol("elTooltip"),et=(e,t)=>nt(e)?e.includes(t):e===t,de=(e,t,n)=>o=>{et(p(e),t)&&n(o)};var Dr=ne({name:"ElTooltipTrigger",__name:"trigger",props:gn,setup(e,{expose:t}){const n=e,o=we("tooltip"),{controlled:r,id:i,open:u,onOpen:s,onClose:a,onToggle:l}=ue(dt,void 0),c=N(null),f=()=>{if(p(r)||n.disabled)return!0},v=Te(n,"trigger"),g=Q(f,de(v,"hover",d=>{s(d),n.focusOnTarget&&d.target&&Dn(()=>{Ut(d.target,{preventScroll:!0})})})),h=Q(f,de(v,"hover",a)),m=Q(f,de(v,"click",d=>{d.button===0&&l(d)})),x=Q(f,de(v,"focus",s)),y=Q(f,de(v,"focus",a)),b=Q(f,de(v,"contextmenu",d=>{d.preventDefault(),l(d)})),E=Q(f,d=>{const w=kn(d);n.triggerKeys.includes(w)&&(d.preventDefault(),l(d))});return t({triggerRef:c}),(d,w)=>(Y(),ge(p(vr),{id:p(i),"virtual-ref":e.virtualRef,open:p(u),"virtual-triggering":e.virtualTriggering,class:$t(p(o).e("trigger")),onBlur:p(y),onClick:p(m),onContextmenu:p(b),onFocus:p(x),onMouseenter:p(g),onMouseleave:p(h),onKeydown:p(E)},{default:ee(()=>[se(d.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}}),Lr=Dr,Nr=ne({name:"ElTooltipContent",inheritAttrs:!1,__name:"content",props:vn,setup(e,{expose:t}){const n=e,{selector:o}=an(),r=we("tooltip"),i=N(),u=Ln(()=>{var B;return(B=i.value)==null?void 0:B.popperContentRef});let s;const{controlled:a,id:l,open:c,trigger:f,onClose:v,onOpen:g,onShow:h,onHide:m,onBeforeShow:x,onBeforeHide:y}=ue(dt,void 0),b=T(()=>n.transition||`${r.namespace.value}-fade-in-linear`),E=T(()=>n.persistent);te(()=>{s==null||s()});const d=T(()=>p(E)?!0:p(c)),w=T(()=>n.disabled?!1:p(c)),C=T(()=>n.appendTo||o.value),O=T(()=>n.style??{}),R=N(!0),M=()=>{m(),k()&&Ut(document.body,{preventScroll:!0}),R.value=!0},A=()=>{if(p(a))return!0},S=Q(A,()=>{n.enterable&&et(p(f),"hover")&&g()}),H=Q(A,()=>{et(p(f),"hover")&&v()}),P=()=>{var B,j;(j=(B=i.value)==null?void 0:B.updatePopper)==null||j.call(B),x==null||x()},L=()=>{y==null||y()},D=()=>{h()},I=()=>{n.virtualTriggering||v()},k=B=>{var fe;const j=(fe=i.value)==null?void 0:fe.popperContentRef,ce=(B==null?void 0:B.relatedTarget)||document.activeElement;return j==null?void 0:j.contains(ce)};return $(()=>p(c),B=>{B?(R.value=!1,s=Wn(u,()=>{p(a)||hr(p(f)).every(j=>j!=="hover"&&j!=="focus")&&v()},{detectIframe:!0})):s==null||s()},{flush:"post"}),t({contentRef:i,isFocusInsideContent:k}),(B,j)=>(Y(),ge($n,{disabled:!e.teleported,to:C.value},[d.value||!R.value?(Y(),ge(Nn,{key:0,name:b.value,appear:!E.value,onAfterLeave:M,onBeforeEnter:P,onAfterEnter:D,onBeforeLeave:L,persisted:""},{default:ee(()=>[Wt(Be(p(Ar),tt({id:p(l),ref_key:"contentRef",ref:i},B.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":R.value,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,O.value],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:w.value,"z-index":e.zIndex,loop:e.loop,onMouseenter:p(S),onMouseleave:p(H),onBlur:I,onClose:p(v)}),{default:ee(()=>[se(B.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","arrow-offset","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","loop","onMouseenter","onMouseleave","onClose"]),[[Hn,w.value]])]),_:3},8,["name","appear"])):We("v-if",!0)],8,["disabled","to"]))}}),Hr=Nr;const $r=["innerHTML"],Wr={key:1};var Vr=ne({name:"ElTooltip",__name:"tooltip",props:Ir,emits:kr,setup(e,{expose:t,emit:n}){const o=e,r=n;rr();const i=we("tooltip"),u=zn(),s=N(),a=N(),l=()=>{var w;const d=p(s);d&&((w=d.popperInstanceRef)==null||w.update())},c=N(!1),f=N(),{show:v,hide:g,hasUpdateHandler:h}=jr({indicator:c,toggleReason:f}),{onOpen:m,onClose:x}=ir({showAfter:Te(o,"showAfter"),hideAfter:Te(o,"hideAfter"),autoClose:Te(o,"autoClose"),open:v,close:g}),y=T(()=>Je(o.visible)&&!h.value),b=T(()=>[i.b(),o.popperClass]);Pe(dt,{controlled:y,id:u,open:Kn(c),trigger:Te(o,"trigger"),onOpen:m,onClose:x,onToggle:d=>{p(c)?x(d):m(d)},onShow:()=>{r("show",f.value)},onHide:()=>{r("hide",f.value)},onBeforeShow:()=>{r("before-show",f.value)},onBeforeHide:()=>{r("before-hide",f.value)},updatePopper:l}),$(()=>o.disabled,d=>{d&&c.value&&(c.value=!1),!d&&Je(o.visible)&&(c.value=o.visible)});const E=d=>{var w;return(w=a.value)==null?void 0:w.isFocusInsideContent(d)};return Vn(()=>c.value&&g()),te(()=>{f.value=void 0}),t({popperRef:s,contentRef:a,isFocusInsideContent:E,updatePopper:l,onOpen:m,onClose:x,hide:g}),(d,w)=>(Y(),ge(p(Fr),{ref_key:"popperRef",ref:s,role:e.role},{default:ee(()=>[Be(Lr,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering,"focus-on-target":e.focusOnTarget},{default:ee(()=>[d.$slots.default?se(d.$slots,"default",{key:0}):We("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering","focus-on-target"]),Be(Hr,{ref_key:"contentRef",ref:a,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":b.value,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo,loop:e.loop},{default:ee(()=>[se(d.$slots,"content",{},()=>[e.rawContent?(Y(),$e("span",{key:0,innerHTML:e.content},null,8,$r)):(Y(),$e("span",Wr,qn(e.content),1))]),e.showArrow?(Y(),ge(p(fr),{key:0})):We("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","arrow-offset","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to","loop"])]),_:3},8,["role"]))}}),qr=Vr;const Jr=Kt(qr);export{Jr as E,pr as O,rt as a,gn as b,hr as c,Zr as e,Zn as i,ur as r,vn as u}; +======== +import{cM as Ht,R as F,D as $,G as qe,N as En,k as Je,j as T,b8 as Le,bt as Ce,y as N,f as p,H as te,aQ as Tn,c4 as Et,cN as Cn,cO as Rn,c8 as An,ak as Ge,b as _,F as Pe,d as ne,a as we,B as ue,o as Y,c as $e,al as Pn,n as $t,aU as Qe,aK as Tt,K as Wt,ao as Bn,by as Ct,a3 as Fn,M as Mn,ca as Sn,s as Be,bw as ve,e as ge,w as ee,h as se,Y as tt,g as We,a2 as Vt,cf as Rt,a8 as qt,a6 as nt,a7 as jn,bJ as In,l as Kt,W as Ye,ba as Q,V as kn,P as Dn,Q as Ut,a9 as Te,c9 as Ln,Z as Nn,L as Hn,bg as $n,bT as Wn,cP as Vn,aa as qn,bb as Kn}from"./index-CxbBjZKo.js";import{a as Un,h as At,f as zn}from"./index-D23K2h6y.js";import{u as zt}from"./index-DxP0p4ch.js";import{f as Yn}from"./index-DHcidAHK.js";function Zn(e){return e===void 0}const Jn=Ht({type:F(Boolean),default:null}),Gn=Ht({type:F(Function)}),Qn=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,o=[t],r={[e]:Jn,[n]:Gn};return{useModelToggle:({indicator:u,toggleReason:s,shouldHideWhenRouteChanges:a,shouldProceed:l,onShow:c,onHide:f})=>{const v=En(),{emit:g}=v,h=v.props,m=T(()=>Le(h[n])),x=T(()=>h[e]===null),y=O=>{u.value!==!0&&(u.value=!0,s&&(s.value=O),Le(c)&&c(O))},b=O=>{u.value!==!1&&(u.value=!1,s&&(s.value=O),Le(f)&&f(O))},E=O=>{if(h.disabled===!0||Le(l)&&!l())return;const R=m.value&&Ce;R&&g(t,!0),(x.value||!R)&&y(O)},d=O=>{if(h.disabled===!0||!Ce)return;const R=m.value&&Ce;R&&g(t,!1),(x.value||!R)&&b(O)},w=O=>{Je(O)&&(h.disabled&&O?m.value&&g(t,!1):u.value!==O&&(O?y():b()))},C=()=>{u.value?d():E()};return $(()=>h[e],w),a&&v.appContext.config.globalProperties.$route!==void 0&&$(()=>({...v.proxy.$route}),()=>{a.value&&u.value&&d()}),qe(()=>{w(h[e])}),{hide:d,show:E,toggle:C,hasUpdateHandler:m}},useModelToggleProps:r,useModelToggleEmits:o}};var W="top",U="bottom",z="right",V="left",ot="auto",Se=[W,U,z,V],me="start",Fe="end",Xn="clippingParents",Yt="viewport",Ee="popper",_n="reference",Pt=Se.reduce(function(e,t){return e.concat([t+"-"+me,t+"-"+Fe])},[]),rt=[].concat(Se,[ot]).reduce(function(e,t){return e.concat([t,t+"-"+me,t+"-"+Fe])},[]),eo="beforeRead",to="read",no="afterRead",oo="beforeMain",ro="main",ao="afterMain",io="beforeWrite",so="write",lo="afterWrite",uo=[eo,to,no,oo,ro,ao,io,so,lo];function J(e){return e?(e.nodeName||"").toLowerCase():null}function q(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function le(e){var t=q(e).Element;return e instanceof t||e instanceof Element}function K(e){var t=q(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function at(e){if(typeof ShadowRoot>"u")return!1;var t=q(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function co(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var o=t.styles[n]||{},r=t.attributes[n]||{},i=t.elements[n];!K(i)||!J(i)||(Object.assign(i.style,o),Object.keys(r).forEach(function(u){var s=r[u];s===!1?i.removeAttribute(u):i.setAttribute(u,s===!0?"":s)}))})}function fo(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(o){var r=t.elements[o],i=t.attributes[o]||{},u=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:n[o]),s=u.reduce(function(a,l){return a[l]="",a},{});!K(r)||!J(r)||(Object.assign(r.style,s),Object.keys(i).forEach(function(a){r.removeAttribute(a)}))})}}var Zt={name:"applyStyles",enabled:!0,phase:"write",fn:co,effect:fo,requires:["computeStyles"]};function Z(e){return e.split("-")[0]}var ie=Math.max,Ve=Math.min,he=Math.round;function Xe(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Jt(){return!/^((?!chrome|android).)*safari/i.test(Xe())}function ye(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var o=e.getBoundingClientRect(),r=1,i=1;t&&K(e)&&(r=e.offsetWidth>0&&he(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&he(o.height)/e.offsetHeight||1);var u=le(e)?q(e):window,s=u.visualViewport,a=!Jt()&&n,l=(o.left+(a&&s?s.offsetLeft:0))/r,c=(o.top+(a&&s?s.offsetTop:0))/i,f=o.width/r,v=o.height/i;return{width:f,height:v,top:c,right:l+f,bottom:c+v,left:l,x:l,y:c}}function it(e){var t=ye(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function Gt(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&at(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function X(e){return q(e).getComputedStyle(e)}function po(e){return["table","td","th"].indexOf(J(e))>=0}function oe(e){return((le(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ke(e){return J(e)==="html"?e:e.assignedSlot||e.parentNode||(at(e)?e.host:null)||oe(e)}function Bt(e){return!K(e)||X(e).position==="fixed"?null:e.offsetParent}function vo(e){var t=/firefox/i.test(Xe()),n=/Trident/i.test(Xe());if(n&&K(e)){var o=X(e);if(o.position==="fixed")return null}var r=Ke(e);for(at(r)&&(r=r.host);K(r)&&["html","body"].indexOf(J(r))<0;){var i=X(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function je(e){for(var t=q(e),n=Bt(e);n&&po(n)&&X(n).position==="static";)n=Bt(n);return n&&(J(n)==="html"||J(n)==="body"&&X(n).position==="static")?t:n||vo(e)||t}function st(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Re(e,t,n){return ie(e,Ve(t,n))}function go(e,t,n){var o=Re(e,t,n);return o>n?n:o}function Qt(){return{top:0,right:0,bottom:0,left:0}}function Xt(e){return Object.assign({},Qt(),e)}function _t(e,t){return t.reduce(function(n,o){return n[o]=e,n},{})}var mo=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Xt(typeof e!="number"?e:_t(e,Se))};function ho(e){var t,n=e.state,o=e.name,r=e.options,i=n.elements.arrow,u=n.modifiersData.popperOffsets,s=Z(n.placement),a=st(s),l=[V,z].indexOf(s)>=0,c=l?"height":"width";if(!(!i||!u)){var f=mo(r.padding,n),v=it(i),g=a==="y"?W:V,h=a==="y"?U:z,m=n.rects.reference[c]+n.rects.reference[a]-u[a]-n.rects.popper[c],x=u[a]-n.rects.reference[a],y=je(i),b=y?a==="y"?y.clientHeight||0:y.clientWidth||0:0,E=m/2-x/2,d=f[g],w=b-v[c]-f[h],C=b/2-v[c]/2+E,O=Re(d,C,w),R=a;n.modifiersData[o]=(t={},t[R]=O,t.centerOffset=O-C,t)}}function yo(e){var t=e.state,n=e.options,o=n.element,r=o===void 0?"[data-popper-arrow]":o;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||Gt(t.elements.popper,r)&&(t.elements.arrow=r))}var bo={name:"arrow",enabled:!0,phase:"main",fn:ho,effect:yo,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function be(e){return e.split("-")[1]}var wo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function xo(e,t){var n=e.x,o=e.y,r=t.devicePixelRatio||1;return{x:he(n*r)/r||0,y:he(o*r)/r||0}}function Ft(e){var t,n=e.popper,o=e.popperRect,r=e.placement,i=e.variation,u=e.offsets,s=e.position,a=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,f=e.isFixed,v=u.x,g=v===void 0?0:v,h=u.y,m=h===void 0?0:h,x=typeof c=="function"?c({x:g,y:m}):{x:g,y:m};g=x.x,m=x.y;var y=u.hasOwnProperty("x"),b=u.hasOwnProperty("y"),E=V,d=W,w=window;if(l){var C=je(n),O="clientHeight",R="clientWidth";if(C===q(n)&&(C=oe(n),X(C).position!=="static"&&s==="absolute"&&(O="scrollHeight",R="scrollWidth")),C=C,r===W||(r===V||r===z)&&i===Fe){d=U;var M=f&&C===w&&w.visualViewport?w.visualViewport.height:C[O];m-=M-o.height,m*=a?1:-1}if(r===V||(r===W||r===U)&&i===Fe){E=z;var A=f&&C===w&&w.visualViewport?w.visualViewport.width:C[R];g-=A-o.width,g*=a?1:-1}}var S=Object.assign({position:s},l&&wo),H=c===!0?xo({x:g,y:m},q(n)):{x:g,y:m};if(g=H.x,m=H.y,a){var P;return Object.assign({},S,(P={},P[d]=b?"0":"",P[E]=y?"0":"",P.transform=(w.devicePixelRatio||1)<=1?"translate("+g+"px, "+m+"px)":"translate3d("+g+"px, "+m+"px, 0)",P))}return Object.assign({},S,(t={},t[d]=b?m+"px":"",t[E]=y?g+"px":"",t.transform="",t))}function Oo(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=o===void 0?!0:o,i=n.adaptive,u=i===void 0?!0:i,s=n.roundOffsets,a=s===void 0?!0:s,l={placement:Z(t.placement),variation:be(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ft(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:u,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ft(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var en={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Oo,data:{}},Ne={passive:!0};function Eo(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=r===void 0?!0:r,u=o.resize,s=u===void 0?!0:u,a=q(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach(function(c){c.addEventListener("scroll",n.update,Ne)}),s&&a.addEventListener("resize",n.update,Ne),function(){i&&l.forEach(function(c){c.removeEventListener("scroll",n.update,Ne)}),s&&a.removeEventListener("resize",n.update,Ne)}}var tn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Eo,data:{}},To={left:"right",right:"left",bottom:"top",top:"bottom"};function He(e){return e.replace(/left|right|bottom|top/g,function(t){return To[t]})}var Co={start:"end",end:"start"};function Mt(e){return e.replace(/start|end/g,function(t){return Co[t]})}function lt(e){var t=q(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function ut(e){return ye(oe(e)).left+lt(e).scrollLeft}function Ro(e,t){var n=q(e),o=oe(e),r=n.visualViewport,i=o.clientWidth,u=o.clientHeight,s=0,a=0;if(r){i=r.width,u=r.height;var l=Jt();(l||!l&&t==="fixed")&&(s=r.offsetLeft,a=r.offsetTop)}return{width:i,height:u,x:s+ut(e),y:a}}function Ao(e){var t,n=oe(e),o=lt(e),r=(t=e.ownerDocument)==null?void 0:t.body,i=ie(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),u=ie(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+ut(e),a=-o.scrollTop;return X(r||n).direction==="rtl"&&(s+=ie(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:u,x:s,y:a}}function ct(e){var t=X(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function nn(e){return["html","body","#document"].indexOf(J(e))>=0?e.ownerDocument.body:K(e)&&ct(e)?e:nn(Ke(e))}function Ae(e,t){var n;t===void 0&&(t=[]);var o=nn(e),r=o===((n=e.ownerDocument)==null?void 0:n.body),i=q(o),u=r?[i].concat(i.visualViewport||[],ct(o)?o:[]):o,s=t.concat(u);return r?s:s.concat(Ae(Ke(u)))}function _e(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Po(e,t){var n=ye(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function St(e,t,n){return t===Yt?_e(Ro(e,n)):le(t)?Po(t,n):_e(Ao(oe(e)))}function Bo(e){var t=Ae(Ke(e)),n=["absolute","fixed"].indexOf(X(e).position)>=0,o=n&&K(e)?je(e):e;return le(o)?t.filter(function(r){return le(r)&&Gt(r,o)&&J(r)!=="body"}):[]}function Fo(e,t,n,o){var r=t==="clippingParents"?Bo(e):[].concat(t),i=[].concat(r,[n]),u=i[0],s=i.reduce(function(a,l){var c=St(e,l,o);return a.top=ie(c.top,a.top),a.right=Ve(c.right,a.right),a.bottom=Ve(c.bottom,a.bottom),a.left=ie(c.left,a.left),a},St(e,u,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function on(e){var t=e.reference,n=e.element,o=e.placement,r=o?Z(o):null,i=o?be(o):null,u=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,a;switch(r){case W:a={x:u,y:t.y-n.height};break;case U:a={x:u,y:t.y+t.height};break;case z:a={x:t.x+t.width,y:s};break;case V:a={x:t.x-n.width,y:s};break;default:a={x:t.x,y:t.y}}var l=r?st(r):null;if(l!=null){var c=l==="y"?"height":"width";switch(i){case me:a[l]=a[l]-(t[c]/2-n[c]/2);break;case Fe:a[l]=a[l]+(t[c]/2-n[c]/2);break}}return a}function Me(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=o===void 0?e.placement:o,i=n.strategy,u=i===void 0?e.strategy:i,s=n.boundary,a=s===void 0?Xn:s,l=n.rootBoundary,c=l===void 0?Yt:l,f=n.elementContext,v=f===void 0?Ee:f,g=n.altBoundary,h=g===void 0?!1:g,m=n.padding,x=m===void 0?0:m,y=Xt(typeof x!="number"?x:_t(x,Se)),b=v===Ee?_n:Ee,E=e.rects.popper,d=e.elements[h?b:v],w=Fo(le(d)?d:d.contextElement||oe(e.elements.popper),a,c,u),C=ye(e.elements.reference),O=on({reference:C,element:E,placement:r}),R=_e(Object.assign({},E,O)),M=v===Ee?R:C,A={top:w.top-M.top+y.top,bottom:M.bottom-w.bottom+y.bottom,left:w.left-M.left+y.left,right:M.right-w.right+y.right},S=e.modifiersData.offset;if(v===Ee&&S){var H=S[r];Object.keys(A).forEach(function(P){var L=[z,U].indexOf(P)>=0?1:-1,D=[W,U].indexOf(P)>=0?"y":"x";A[P]+=H[D]*L})}return A}function Mo(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,u=n.padding,s=n.flipVariations,a=n.allowedAutoPlacements,l=a===void 0?rt:a,c=be(o),f=c?s?Pt:Pt.filter(function(h){return be(h)===c}):Se,v=f.filter(function(h){return l.indexOf(h)>=0});v.length===0&&(v=f);var g=v.reduce(function(h,m){return h[m]=Me(e,{placement:m,boundary:r,rootBoundary:i,padding:u})[Z(m)],h},{});return Object.keys(g).sort(function(h,m){return g[h]-g[m]})}function So(e){if(Z(e)===ot)return[];var t=He(e);return[Mt(e),t,Mt(t)]}function jo(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,i=r===void 0?!0:r,u=n.altAxis,s=u===void 0?!0:u,a=n.fallbackPlacements,l=n.padding,c=n.boundary,f=n.rootBoundary,v=n.altBoundary,g=n.flipVariations,h=g===void 0?!0:g,m=n.allowedAutoPlacements,x=t.options.placement,y=Z(x),b=y===x,E=a||(b||!h?[He(x)]:So(x)),d=[x].concat(E).reduce(function(re,G){return re.concat(Z(G)===ot?Mo(t,{placement:G,boundary:c,rootBoundary:f,padding:l,flipVariations:h,allowedAutoPlacements:m}):G)},[]),w=t.rects.reference,C=t.rects.popper,O=new Map,R=!0,M=d[0],A=0;A=0,D=L?"width":"height",I=Me(t,{placement:S,boundary:c,rootBoundary:f,altBoundary:v,padding:l}),k=L?P?z:V:P?U:W;w[D]>C[D]&&(k=He(k));var B=He(k),j=[];if(i&&j.push(I[H]<=0),s&&j.push(I[k]<=0,I[B]<=0),j.every(function(re){return re})){M=S,R=!1;break}O.set(S,j)}if(R)for(var ce=h?3:1,fe=function(re){var G=d.find(function(ke){var Oe=O.get(ke);if(Oe)return Oe.slice(0,re).every(function(pe){return pe})});if(G)return M=G,"break"},xe=ce;xe>0;xe--){var Ie=fe(xe);if(Ie==="break")break}t.placement!==M&&(t.modifiersData[o]._skip=!0,t.placement=M,t.reset=!0)}}var Io={name:"flip",enabled:!0,phase:"main",fn:jo,requiresIfExists:["offset"],data:{_skip:!1}};function jt(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function It(e){return[W,z,U,V].some(function(t){return e[t]>=0})}function ko(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,u=Me(t,{elementContext:"reference"}),s=Me(t,{altBoundary:!0}),a=jt(u,o),l=jt(s,r,i),c=It(a),f=It(l);t.modifiersData[n]={referenceClippingOffsets:a,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}var Do={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ko};function Lo(e,t,n){var o=Z(e),r=[V,W].indexOf(o)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,u=i[0],s=i[1];return u=u||0,s=(s||0)*r,[V,z].indexOf(o)>=0?{x:s,y:u}:{x:u,y:s}}function No(e){var t=e.state,n=e.options,o=e.name,r=n.offset,i=r===void 0?[0,0]:r,u=rt.reduce(function(c,f){return c[f]=Lo(f,t.rects,i),c},{}),s=u[t.placement],a=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=a,t.modifiersData.popperOffsets.y+=l),t.modifiersData[o]=u}var Ho={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:No};function $o(e){var t=e.state,n=e.name;t.modifiersData[n]=on({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var rn={name:"popperOffsets",enabled:!0,phase:"read",fn:$o,data:{}};function Wo(e){return e==="x"?"y":"x"}function Vo(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,i=r===void 0?!0:r,u=n.altAxis,s=u===void 0?!1:u,a=n.boundary,l=n.rootBoundary,c=n.altBoundary,f=n.padding,v=n.tether,g=v===void 0?!0:v,h=n.tetherOffset,m=h===void 0?0:h,x=Me(t,{boundary:a,rootBoundary:l,padding:f,altBoundary:c}),y=Z(t.placement),b=be(t.placement),E=!b,d=st(y),w=Wo(d),C=t.modifiersData.popperOffsets,O=t.rects.reference,R=t.rects.popper,M=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,A=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(C){if(i){var P,L=d==="y"?W:V,D=d==="y"?U:z,I=d==="y"?"height":"width",k=C[d],B=k+x[L],j=k-x[D],ce=g?-R[I]/2:0,fe=b===me?O[I]:R[I],xe=b===me?-R[I]:-O[I],Ie=t.elements.arrow,re=g&&Ie?it(Ie):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Qt(),ke=G[L],Oe=G[D],pe=Re(0,O[I],re[I]),mn=E?O[I]/2-ce-pe-ke-A.mainAxis:fe-pe-ke-A.mainAxis,hn=E?-O[I]/2+ce+pe+Oe+A.mainAxis:xe+pe+Oe+A.mainAxis,Ue=t.elements.arrow&&je(t.elements.arrow),yn=Ue?d==="y"?Ue.clientTop||0:Ue.clientLeft||0:0,vt=(P=S==null?void 0:S[d])!=null?P:0,bn=k+mn-vt-yn,wn=k+hn-vt,gt=Re(g?Ve(B,bn):B,k,g?ie(j,wn):j);C[d]=gt,H[d]=gt-k}if(s){var mt,xn=d==="x"?W:V,On=d==="x"?U:z,ae=C[w],De=w==="y"?"height":"width",ht=ae+x[xn],yt=ae-x[On],ze=[W,V].indexOf(y)!==-1,bt=(mt=S==null?void 0:S[w])!=null?mt:0,wt=ze?ht:ae-O[De]-R[De]-bt+A.altAxis,xt=ze?ae+O[De]+R[De]-bt-A.altAxis:yt,Ot=g&&ze?go(wt,ae,xt):Re(g?wt:ht,ae,g?xt:yt);C[w]=Ot,H[w]=Ot-ae}t.modifiersData[o]=H}}var qo={name:"preventOverflow",enabled:!0,phase:"main",fn:Vo,requiresIfExists:["offset"]};function Ko(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Uo(e){return e===q(e)||!K(e)?lt(e):Ko(e)}function zo(e){var t=e.getBoundingClientRect(),n=he(t.width)/e.offsetWidth||1,o=he(t.height)/e.offsetHeight||1;return n!==1||o!==1}function Yo(e,t,n){n===void 0&&(n=!1);var o=K(t),r=K(t)&&zo(t),i=oe(t),u=ye(e,r,n),s={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(o||!o&&!n)&&((J(t)!=="body"||ct(i))&&(s=Uo(t)),K(t)?(a=ye(t,!0),a.x+=t.clientLeft,a.y+=t.clientTop):i&&(a.x=ut(i))),{x:u.left+s.scrollLeft-a.x,y:u.top+s.scrollTop-a.y,width:u.width,height:u.height}}function Zo(e){var t=new Map,n=new Set,o=[];e.forEach(function(i){t.set(i.name,i)});function r(i){n.add(i.name);var u=[].concat(i.requires||[],i.requiresIfExists||[]);u.forEach(function(s){if(!n.has(s)){var a=t.get(s);a&&r(a)}}),o.push(i)}return e.forEach(function(i){n.has(i.name)||r(i)}),o}function Jo(e){var t=Zo(e);return uo.reduce(function(n,o){return n.concat(t.filter(function(r){return r.phase===o}))},[])}function Go(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Qo(e){var t=e.reduce(function(n,o){var r=n[o.name];return n[o.name]=r?Object.assign({},r,o,{options:Object.assign({},r.options,o.options),data:Object.assign({},r.data,o.data)}):o,n},{});return Object.keys(t).map(function(n){return t[n]})}var kt={placement:"bottom",modifiers:[],strategy:"absolute"};function Dt(){for(var e=arguments.length,t=new Array(e),n=0;n{const o={name:"updateState",enabled:!0,phase:"write",fn:({state:a})=>{const l=nr(a);Object.assign(u.value,l)},requires:["computeStyles"]},r=T(()=>{const{onFirstUpdate:a,placement:l,strategy:c,modifiers:f}=p(n);return{onFirstUpdate:a,placement:l||"bottom",strategy:c||"absolute",modifiers:[...f||[],o,{name:"applyStyles",enabled:!1}]}}),i=Tn(),u=N({styles:{popper:{position:p(r).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=()=>{i.value&&(i.value.destroy(),i.value=void 0)};return $(r,a=>{const l=p(i);l&&l.setOptions(a)},{deep:!0}),$([e,t],([a,l])=>{s(),!(!a||!l)&&(i.value=er(a,l,p(r)))}),te(()=>{s()}),{state:T(()=>{var a;return{...((a=p(i))==null?void 0:a.state)||{}}}),styles:T(()=>p(u).styles),attributes:T(()=>p(u).attributes),update:()=>{var a;return(a=p(i))==null?void 0:a.update()},forceUpdate:()=>{var a;return(a=p(i))==null?void 0:a.forceUpdate()},instanceRef:T(()=>p(i))}};function nr(e){const t=Object.keys(e.elements);return{styles:Et(t.map(n=>[n,e.styles[n]||{}])),attributes:Et(t.map(n=>[n,e.attributes[n]]))}}function Lt(){let e;const t=(o,r)=>{n(),e=globalThis.setTimeout(o,r)},n=()=>{e!==void 0&&(globalThis.clearTimeout(e),e=void 0)};return Cn(()=>n()),{registerTimeout:t,cancelTimeout:n}}const an=()=>{const e=An(),t=Un(),n=T(()=>`${e.value}-popper-container-${t.prefix}`);return{id:n,selector:T(()=>`#${n.value}`)}},or=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},rr=()=>{const{id:e,selector:t}=an();return Rn(()=>{Ce&&(document.body.querySelector(t.value)||or(e.value))}),{id:e,selector:t}},ar=_({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),ir=({showAfter:e,hideAfter:t,autoClose:n,open:o,close:r})=>{const{registerTimeout:i}=Lt(),{registerTimeout:u,cancelTimeout:s}=Lt();return{onOpen:(c,f=p(e))=>{i(()=>{o(c);const v=p(n);Ge(v)&&v>0&&u(()=>{r(c)},v)},f)},onClose:(c,f=p(t))=>{s(),i(()=>{r(c)},f)}}},sn=Symbol("elForwardRef"),sr=e=>{Pe(sn,{setForwardRef:(n=>{e.value=n})})},lr=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),ur=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],ln=_({role:{type:String,values:ur,default:"tooltip"}}),pt=Symbol("popper"),un=Symbol("popperContent");var cr=ne({name:"ElPopperArrow",inheritAttrs:!1,__name:"arrow",setup(e,{expose:t}){const n=we("popper"),{arrowRef:o,arrowStyle:r}=ue(un,void 0);return te(()=>{o.value=void 0}),t({arrowRef:o}),(i,u)=>(Y(),$e("span",{ref_key:"arrowRef",ref:o,class:$t(p(n).e("arrow")),style:Pn(p(r)),"data-popper-arrow":""},null,6))}}),fr=cr;const cn=_({virtualRef:{type:F(Object)},virtualTriggering:Boolean,onMouseenter:{type:F(Function)},onMouseleave:{type:F(Function)},onClick:{type:F(Function)},onKeydown:{type:F(Function)},onFocus:{type:F(Function)},onBlur:{type:F(Function)},onContextmenu:{type:F(Function)},id:String,open:Boolean}),Ze="ElOnlyChild",pr=ne({name:Ze,setup(e,{slots:t,attrs:n}){var r;const o=lr(((r=ue(sn))==null?void 0:r.setForwardRef)??Qe);return()=>{var a;const i=(a=t.default)==null?void 0:a.call(t,n);if(!i)return null;const[u,s]=fn(i);return u?(s>1&&Tt(Ze,"requires exact only one valid child."),Wt(Bn(u,n),[[o]])):(Tt(Ze,"no valid child node found"),null)}}});function fn(e){if(!e)return[null,0];const t=e,n=t.filter(o=>o.type!==Ct).length;for(const o of t){if(Fn(o))switch(o.type){case Ct:continue;case Sn:case"svg":return[Nt(o),n];case Mn:return fn(o.children);default:return[o,n]}return[Nt(o),n]}return[null,0]}function Nt(e){return Be("span",{class:we("only-child").e("content")},[e])}var dr=ne({name:"ElPopperTrigger",inheritAttrs:!1,__name:"trigger",props:cn,setup(e,{expose:t}){const n=e,{role:o,triggerRef:r}=ue(pt,void 0);sr(r);const i=T(()=>s.value?n.id:void 0),u=T(()=>{if(o&&o.value==="tooltip")return n.open&&n.id?n.id:void 0}),s=T(()=>{if(o&&o.value!=="tooltip")return o.value}),a=T(()=>s.value?`${n.open}`:void 0);let l;const c=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return qe(()=>{$(()=>n.virtualRef,f=>{f&&(r.value=Vt(f))},{immediate:!0}),$(r,(f,v)=>{l==null||l(),l=void 0,ve(v)&&c.forEach(g=>{const h=n[g];h&&v.removeEventListener(g.slice(2).toLowerCase(),h,["onFocus","onBlur"].includes(g))}),ve(f)&&(c.forEach(g=>{const h=n[g];h&&f.addEventListener(g.slice(2).toLowerCase(),h,["onFocus","onBlur"].includes(g))}),Rt(f)&&(l=$([i,u,s,a],g=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((h,m)=>{qt(g[m])?f.removeAttribute(h):f.setAttribute(h,g[m])})},{immediate:!0}))),ve(v)&&Rt(v)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(g=>v.removeAttribute(g))},{immediate:!0})}),te(()=>{if(l==null||l(),l=void 0,r.value&&ve(r.value)){const f=r.value;c.forEach(v=>{const g=n[v];g&&f.removeEventListener(v.slice(2).toLowerCase(),g,["onFocus","onBlur"].includes(v))}),r.value=void 0}}),t({triggerRef:r}),(f,v)=>e.virtualTriggering?We("v-if",!0):(Y(),ge(p(pr),tt({key:0},f.$attrs,{"aria-controls":i.value,"aria-describedby":u.value,"aria-expanded":a.value,"aria-haspopup":s.value}),{default:ee(()=>[se(f.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}}),vr=dr;const pn=_({arrowOffset:{type:Number,default:5}}),gr=_({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:F(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:rt,default:"bottom"},popperOptions:{type:F(Object),default:()=>({})},strategy:{type:String,values:["fixed","absolute"],default:"absolute"}}),dn=_({...gr,...pn,id:String,style:{type:F([String,Array,Object,Boolean]),default:void 0},className:{type:F([String,Array,Object])},effect:{type:F(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:F([String,Array,Object])},popperStyle:{type:F([String,Array,Object,Boolean]),default:void 0},referenceEl:{type:F(Object)},triggerTargetEl:{type:F(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...zt(["ariaLabel"]),loop:Boolean}),mr={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0};const Zr=e=>nt(e)?e[0]:e,hr=e=>!e&&e!==0?[]:nt(e)?e:[e],yr=(e,t=[])=>{const{placement:n,strategy:o,popperOptions:r}=e,i={placement:n,strategy:o,...r,modifiers:[...wr(e),...t]};return xr(i,r==null?void 0:r.modifiers),i},br=e=>{if(Ce)return Vt(e)};function wr(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:o}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:0,bottom:0,left:0,right:0}}},{name:"flip",options:{padding:5,fallbackPlacements:o}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function xr(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const Or=0,Er=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:o,role:r}=ue(pt,void 0),i=N(),u=T(()=>e.arrowOffset),s=T(()=>({name:"eventListeners",enabled:!!e.visible})),a=T(()=>{const b=p(i),E=p(u)??Or;return{name:"arrow",enabled:!Zn(b),options:{element:b,padding:E}}}),l=T(()=>({onFirstUpdate:()=>{h()},...yr(e,[p(a),p(s)])})),c=T(()=>br(e.referenceEl)||p(o)),{attributes:f,state:v,styles:g,update:h,forceUpdate:m,instanceRef:x}=tr(c,n,l);$(x,b=>t.value=b,{flush:"sync"}),qe(()=>{$(()=>{var b,E;return(E=(b=p(c))==null?void 0:b.getBoundingClientRect)==null?void 0:E.call(b)},()=>{h()})});let y;return $(()=>e.visible,b=>{y==null||y(),y=void 0,b&&(y=jn(n,h).stop)}),te(()=>{t.value=void 0,y==null||y(),y=void 0}),{attributes:f,arrowRef:i,contentRef:n,instanceRef:x,state:v,styles:g,role:r,forceUpdate:m,update:h}},Tr=(e,{attributes:t,styles:n,role:o})=>{const{nextZIndex:r}=In(),i=we("popper"),u=T(()=>p(t).popper),s=N(Ge(e.zIndex)?e.zIndex:r()),a=T(()=>[i.b(),i.is("pure",e.pure),i.is(e.effect),e.popperClass]),l=T(()=>[{zIndex:p(s)},p(n).popper,e.popperStyle||{}]),c=T(()=>o.value==="dialog"?"false":void 0),f=T(()=>p(n).arrow||{});return{ariaModal:c,arrowStyle:f,contentAttrs:u,contentClass:a,contentStyle:l,contentZIndex:s,updateZIndex:()=>{s.value=Ge(e.zIndex)?e.zIndex:r()}}},Cr=(e,t)=>{const n=N(!1),o=N(),r=()=>{t("focus")},i=l=>{var c;((c=l.detail)==null?void 0:c.focusReason)!=="pointer"&&(o.value="first",t("blur"))},u=l=>{e.visible&&!n.value&&(l.target&&(o.value=l.target),n.value=!0)},s=l=>{e.trapping||(l.detail.focusReason==="pointer"&&l.preventDefault(),n.value=!1)},a=()=>{n.value=!1,t("close")};return te(()=>{o.value=void 0}),{focusStartRef:o,trapped:n,onFocusAfterReleased:i,onFocusAfterTrapped:r,onFocusInTrap:u,onFocusoutPrevented:s,onReleaseRequested:a}};var Rr=ne({name:"ElPopperContent",__name:"content",props:dn,emits:mr,setup(e,{expose:t,emit:n}){const o=n,r=e,{focusStartRef:i,trapped:u,onFocusAfterReleased:s,onFocusAfterTrapped:a,onFocusInTrap:l,onFocusoutPrevented:c,onReleaseRequested:f}=Cr(r,o),{attributes:v,arrowRef:g,contentRef:h,styles:m,instanceRef:x,role:y,update:b}=Er(r),{ariaModal:E,arrowStyle:d,contentAttrs:w,contentClass:C,contentStyle:O,updateZIndex:R}=Tr(r,{styles:m,attributes:v,role:y}),M=ue(At,void 0);Pe(un,{arrowStyle:d,arrowRef:g}),M&&Pe(At,{...M,addInputId:Qe,removeInputId:Qe});let A;const S=(P=!0)=>{b(),P&&R()},H=()=>{S(!1),r.visible&&r.focusOnShow?u.value=!0:r.visible===!1&&(u.value=!1)};return qe(()=>{$(()=>r.triggerTargetEl,(P,L)=>{A==null||A(),A=void 0;const D=p(P||h.value),I=p(L||h.value);ve(D)&&(A=$([y,()=>r.ariaLabel,E,()=>r.id],k=>{["role","aria-label","aria-modal","id"].forEach((B,j)=>{qt(k[j])?D.removeAttribute(B):D.setAttribute(B,k[j])})},{immediate:!0})),I!==D&&ve(I)&&["role","aria-label","aria-modal","id"].forEach(k=>{I.removeAttribute(k)})},{immediate:!0}),$(()=>r.visible,H,{immediate:!0})}),te(()=>{A==null||A(),A=void 0,h.value=void 0}),t({popperContentRef:h,popperInstanceRef:x,updatePopper:S,contentStyle:O}),(P,L)=>(Y(),$e("div",tt({ref_key:"contentRef",ref:h},p(w),{style:p(O),class:p(C),tabindex:"-1",onMouseenter:L[0]||(L[0]=D=>P.$emit("mouseenter",D)),onMouseleave:L[1]||(L[1]=D=>P.$emit("mouseleave",D))}),[Be(p(Yn),{loop:e.loop,trapped:p(u),"trap-on-focus-in":!0,"focus-trap-el":p(h),"focus-start-el":p(i),onFocusAfterTrapped:p(a),onFocusAfterReleased:p(s),onFocusin:p(l),onFocusoutPrevented:p(c),onReleaseRequested:p(f)},{default:ee(()=>[se(P.$slots,"default")]),_:3},8,["loop","trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}}),Ar=Rr,Pr=ne({name:"ElPopper",inheritAttrs:!1,__name:"popper",props:ln,setup(e,{expose:t}){const n=e,o={triggerRef:N(),popperInstanceRef:N(),contentRef:N(),referenceRef:N(),role:T(()=>n.role)};return t(o),Pe(pt,o),(r,i)=>se(r.$slots,"default")}}),Br=Pr;const Fr=Kt(Br),vn=_({...ar,...dn,appendTo:{type:F([String,Object])},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:F(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...zt(["ariaLabel"])}),gn=_({...cn,disabled:Boolean,trigger:{type:F([String,Array]),default:"hover"},triggerKeys:{type:F(Array),default:()=>[Ye.enter,Ye.numpadEnter,Ye.space]},focusOnTarget:Boolean}),{useModelToggleProps:Mr,useModelToggleEmits:Sr,useModelToggle:jr}=Qn("visible"),Ir=_({...ln,...Mr,...vn,...gn,...pn,showArrow:{type:Boolean,default:!0}}),kr=[...Sr,"before-show","before-hide","show","hide","open","close"],dt=Symbol("elTooltip"),et=(e,t)=>nt(e)?e.includes(t):e===t,de=(e,t,n)=>o=>{et(p(e),t)&&n(o)};var Dr=ne({name:"ElTooltipTrigger",__name:"trigger",props:gn,setup(e,{expose:t}){const n=e,o=we("tooltip"),{controlled:r,id:i,open:u,onOpen:s,onClose:a,onToggle:l}=ue(dt,void 0),c=N(null),f=()=>{if(p(r)||n.disabled)return!0},v=Te(n,"trigger"),g=Q(f,de(v,"hover",d=>{s(d),n.focusOnTarget&&d.target&&Dn(()=>{Ut(d.target,{preventScroll:!0})})})),h=Q(f,de(v,"hover",a)),m=Q(f,de(v,"click",d=>{d.button===0&&l(d)})),x=Q(f,de(v,"focus",s)),y=Q(f,de(v,"focus",a)),b=Q(f,de(v,"contextmenu",d=>{d.preventDefault(),l(d)})),E=Q(f,d=>{const w=kn(d);n.triggerKeys.includes(w)&&(d.preventDefault(),l(d))});return t({triggerRef:c}),(d,w)=>(Y(),ge(p(vr),{id:p(i),"virtual-ref":e.virtualRef,open:p(u),"virtual-triggering":e.virtualTriggering,class:$t(p(o).e("trigger")),onBlur:p(y),onClick:p(m),onContextmenu:p(b),onFocus:p(x),onMouseenter:p(g),onMouseleave:p(h),onKeydown:p(E)},{default:ee(()=>[se(d.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}}),Lr=Dr,Nr=ne({name:"ElTooltipContent",inheritAttrs:!1,__name:"content",props:vn,setup(e,{expose:t}){const n=e,{selector:o}=an(),r=we("tooltip"),i=N(),u=Ln(()=>{var B;return(B=i.value)==null?void 0:B.popperContentRef});let s;const{controlled:a,id:l,open:c,trigger:f,onClose:v,onOpen:g,onShow:h,onHide:m,onBeforeShow:x,onBeforeHide:y}=ue(dt,void 0),b=T(()=>n.transition||`${r.namespace.value}-fade-in-linear`),E=T(()=>n.persistent);te(()=>{s==null||s()});const d=T(()=>p(E)?!0:p(c)),w=T(()=>n.disabled?!1:p(c)),C=T(()=>n.appendTo||o.value),O=T(()=>n.style??{}),R=N(!0),M=()=>{m(),k()&&Ut(document.body,{preventScroll:!0}),R.value=!0},A=()=>{if(p(a))return!0},S=Q(A,()=>{n.enterable&&et(p(f),"hover")&&g()}),H=Q(A,()=>{et(p(f),"hover")&&v()}),P=()=>{var B,j;(j=(B=i.value)==null?void 0:B.updatePopper)==null||j.call(B),x==null||x()},L=()=>{y==null||y()},D=()=>{h()},I=()=>{n.virtualTriggering||v()},k=B=>{var fe;const j=(fe=i.value)==null?void 0:fe.popperContentRef,ce=(B==null?void 0:B.relatedTarget)||document.activeElement;return j==null?void 0:j.contains(ce)};return $(()=>p(c),B=>{B?(R.value=!1,s=Wn(u,()=>{p(a)||hr(p(f)).every(j=>j!=="hover"&&j!=="focus")&&v()},{detectIframe:!0})):s==null||s()},{flush:"post"}),t({contentRef:i,isFocusInsideContent:k}),(B,j)=>(Y(),ge($n,{disabled:!e.teleported,to:C.value},[d.value||!R.value?(Y(),ge(Nn,{key:0,name:b.value,appear:!E.value,onAfterLeave:M,onBeforeEnter:P,onAfterEnter:D,onBeforeLeave:L,persisted:""},{default:ee(()=>[Wt(Be(p(Ar),tt({id:p(l),ref_key:"contentRef",ref:i},B.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":R.value,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,O.value],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:w.value,"z-index":e.zIndex,loop:e.loop,onMouseenter:p(S),onMouseleave:p(H),onBlur:I,onClose:p(v)}),{default:ee(()=>[se(B.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","arrow-offset","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","loop","onMouseenter","onMouseleave","onClose"]),[[Hn,w.value]])]),_:3},8,["name","appear"])):We("v-if",!0)],8,["disabled","to"]))}}),Hr=Nr;const $r=["innerHTML"],Wr={key:1};var Vr=ne({name:"ElTooltip",__name:"tooltip",props:Ir,emits:kr,setup(e,{expose:t,emit:n}){const o=e,r=n;rr();const i=we("tooltip"),u=zn(),s=N(),a=N(),l=()=>{var w;const d=p(s);d&&((w=d.popperInstanceRef)==null||w.update())},c=N(!1),f=N(),{show:v,hide:g,hasUpdateHandler:h}=jr({indicator:c,toggleReason:f}),{onOpen:m,onClose:x}=ir({showAfter:Te(o,"showAfter"),hideAfter:Te(o,"hideAfter"),autoClose:Te(o,"autoClose"),open:v,close:g}),y=T(()=>Je(o.visible)&&!h.value),b=T(()=>[i.b(),o.popperClass]);Pe(dt,{controlled:y,id:u,open:Kn(c),trigger:Te(o,"trigger"),onOpen:m,onClose:x,onToggle:d=>{p(c)?x(d):m(d)},onShow:()=>{r("show",f.value)},onHide:()=>{r("hide",f.value)},onBeforeShow:()=>{r("before-show",f.value)},onBeforeHide:()=>{r("before-hide",f.value)},updatePopper:l}),$(()=>o.disabled,d=>{d&&c.value&&(c.value=!1),!d&&Je(o.visible)&&(c.value=o.visible)});const E=d=>{var w;return(w=a.value)==null?void 0:w.isFocusInsideContent(d)};return Vn(()=>c.value&&g()),te(()=>{f.value=void 0}),t({popperRef:s,contentRef:a,isFocusInsideContent:E,updatePopper:l,onOpen:m,onClose:x,hide:g}),(d,w)=>(Y(),ge(p(Fr),{ref_key:"popperRef",ref:s,role:e.role},{default:ee(()=>[Be(Lr,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering,"focus-on-target":e.focusOnTarget},{default:ee(()=>[d.$slots.default?se(d.$slots,"default",{key:0}):We("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering","focus-on-target"]),Be(Hr,{ref_key:"contentRef",ref:a,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":b.value,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo,loop:e.loop},{default:ee(()=>[se(d.$slots,"content",{},()=>[e.rawContent?(Y(),$e("span",{key:0,innerHTML:e.content},null,8,$r)):(Y(),$e("span",Wr,qn(e.content),1))]),e.showArrow?(Y(),ge(p(fr),{key:0})):We("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","arrow-offset","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to","loop"])]),_:3},8,["role"]))}}),qr=Vr;const Jr=Kt(qr);export{Jr as E,pr as O,rt as a,gn as b,hr as c,Zr as e,Zn as i,ur as r,vn as u}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-popper-OAwpEmER.js diff --git a/frontend/dist/assets/el-popper-OAwpEmER.js b/frontend/dist/assets/el-popper-OAwpEmER.js new file mode 100644 index 0000000..1ef946b --- /dev/null +++ b/frontend/dist/assets/el-popper-OAwpEmER.js @@ -0,0 +1 @@ +import{cM as Ht,R as F,D as $,G as qe,N as En,k as Je,j as T,b8 as Le,bt as Ce,y as N,f as p,H as te,aQ as Tn,c4 as Et,cN as Cn,cO as Rn,c8 as An,ak as Ge,b as _,F as Pe,d as ne,a as we,B as ue,o as Y,c as $e,al as Pn,n as $t,aU as Qe,aK as Tt,K as Wt,ao as Bn,by as Ct,a3 as Fn,M as Mn,ca as Sn,s as Be,bw as ve,e as ge,w as ee,h as se,Y as tt,g as We,a2 as Vt,cf as Rt,a8 as qt,a6 as nt,a7 as jn,bJ as In,l as Kt,W as Ye,ba as Q,V as kn,P as Dn,Q as Ut,a9 as Te,c9 as Ln,Z as Nn,L as Hn,bg as $n,bT as Wn,cP as Vn,aa as qn,bb as Kn}from"./index-CxbBjZKo.js";import{a as Un,h as At,f as zn}from"./index-D23K2h6y.js";import{u as zt}from"./index-DxP0p4ch.js";import{f as Yn}from"./index-DHcidAHK.js";function Zn(e){return e===void 0}const Jn=Ht({type:F(Boolean),default:null}),Gn=Ht({type:F(Function)}),Qn=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,o=[t],r={[e]:Jn,[n]:Gn};return{useModelToggle:({indicator:u,toggleReason:s,shouldHideWhenRouteChanges:a,shouldProceed:l,onShow:c,onHide:f})=>{const v=En(),{emit:g}=v,h=v.props,m=T(()=>Le(h[n])),x=T(()=>h[e]===null),y=O=>{u.value!==!0&&(u.value=!0,s&&(s.value=O),Le(c)&&c(O))},b=O=>{u.value!==!1&&(u.value=!1,s&&(s.value=O),Le(f)&&f(O))},E=O=>{if(h.disabled===!0||Le(l)&&!l())return;const R=m.value&&Ce;R&&g(t,!0),(x.value||!R)&&y(O)},d=O=>{if(h.disabled===!0||!Ce)return;const R=m.value&&Ce;R&&g(t,!1),(x.value||!R)&&b(O)},w=O=>{Je(O)&&(h.disabled&&O?m.value&&g(t,!1):u.value!==O&&(O?y():b()))},C=()=>{u.value?d():E()};return $(()=>h[e],w),a&&v.appContext.config.globalProperties.$route!==void 0&&$(()=>({...v.proxy.$route}),()=>{a.value&&u.value&&d()}),qe(()=>{w(h[e])}),{hide:d,show:E,toggle:C,hasUpdateHandler:m}},useModelToggleProps:r,useModelToggleEmits:o}};var W="top",U="bottom",z="right",V="left",ot="auto",Se=[W,U,z,V],me="start",Fe="end",Xn="clippingParents",Yt="viewport",Ee="popper",_n="reference",Pt=Se.reduce(function(e,t){return e.concat([t+"-"+me,t+"-"+Fe])},[]),rt=[].concat(Se,[ot]).reduce(function(e,t){return e.concat([t,t+"-"+me,t+"-"+Fe])},[]),eo="beforeRead",to="read",no="afterRead",oo="beforeMain",ro="main",ao="afterMain",io="beforeWrite",so="write",lo="afterWrite",uo=[eo,to,no,oo,ro,ao,io,so,lo];function J(e){return e?(e.nodeName||"").toLowerCase():null}function q(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function le(e){var t=q(e).Element;return e instanceof t||e instanceof Element}function K(e){var t=q(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function at(e){if(typeof ShadowRoot>"u")return!1;var t=q(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function co(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var o=t.styles[n]||{},r=t.attributes[n]||{},i=t.elements[n];!K(i)||!J(i)||(Object.assign(i.style,o),Object.keys(r).forEach(function(u){var s=r[u];s===!1?i.removeAttribute(u):i.setAttribute(u,s===!0?"":s)}))})}function fo(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(o){var r=t.elements[o],i=t.attributes[o]||{},u=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:n[o]),s=u.reduce(function(a,l){return a[l]="",a},{});!K(r)||!J(r)||(Object.assign(r.style,s),Object.keys(i).forEach(function(a){r.removeAttribute(a)}))})}}var Zt={name:"applyStyles",enabled:!0,phase:"write",fn:co,effect:fo,requires:["computeStyles"]};function Z(e){return e.split("-")[0]}var ie=Math.max,Ve=Math.min,he=Math.round;function Xe(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Jt(){return!/^((?!chrome|android).)*safari/i.test(Xe())}function ye(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var o=e.getBoundingClientRect(),r=1,i=1;t&&K(e)&&(r=e.offsetWidth>0&&he(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&he(o.height)/e.offsetHeight||1);var u=le(e)?q(e):window,s=u.visualViewport,a=!Jt()&&n,l=(o.left+(a&&s?s.offsetLeft:0))/r,c=(o.top+(a&&s?s.offsetTop:0))/i,f=o.width/r,v=o.height/i;return{width:f,height:v,top:c,right:l+f,bottom:c+v,left:l,x:l,y:c}}function it(e){var t=ye(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function Gt(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&at(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function X(e){return q(e).getComputedStyle(e)}function po(e){return["table","td","th"].indexOf(J(e))>=0}function oe(e){return((le(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ke(e){return J(e)==="html"?e:e.assignedSlot||e.parentNode||(at(e)?e.host:null)||oe(e)}function Bt(e){return!K(e)||X(e).position==="fixed"?null:e.offsetParent}function vo(e){var t=/firefox/i.test(Xe()),n=/Trident/i.test(Xe());if(n&&K(e)){var o=X(e);if(o.position==="fixed")return null}var r=Ke(e);for(at(r)&&(r=r.host);K(r)&&["html","body"].indexOf(J(r))<0;){var i=X(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function je(e){for(var t=q(e),n=Bt(e);n&&po(n)&&X(n).position==="static";)n=Bt(n);return n&&(J(n)==="html"||J(n)==="body"&&X(n).position==="static")?t:n||vo(e)||t}function st(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Re(e,t,n){return ie(e,Ve(t,n))}function go(e,t,n){var o=Re(e,t,n);return o>n?n:o}function Qt(){return{top:0,right:0,bottom:0,left:0}}function Xt(e){return Object.assign({},Qt(),e)}function _t(e,t){return t.reduce(function(n,o){return n[o]=e,n},{})}var mo=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Xt(typeof e!="number"?e:_t(e,Se))};function ho(e){var t,n=e.state,o=e.name,r=e.options,i=n.elements.arrow,u=n.modifiersData.popperOffsets,s=Z(n.placement),a=st(s),l=[V,z].indexOf(s)>=0,c=l?"height":"width";if(!(!i||!u)){var f=mo(r.padding,n),v=it(i),g=a==="y"?W:V,h=a==="y"?U:z,m=n.rects.reference[c]+n.rects.reference[a]-u[a]-n.rects.popper[c],x=u[a]-n.rects.reference[a],y=je(i),b=y?a==="y"?y.clientHeight||0:y.clientWidth||0:0,E=m/2-x/2,d=f[g],w=b-v[c]-f[h],C=b/2-v[c]/2+E,O=Re(d,C,w),R=a;n.modifiersData[o]=(t={},t[R]=O,t.centerOffset=O-C,t)}}function yo(e){var t=e.state,n=e.options,o=n.element,r=o===void 0?"[data-popper-arrow]":o;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||Gt(t.elements.popper,r)&&(t.elements.arrow=r))}var bo={name:"arrow",enabled:!0,phase:"main",fn:ho,effect:yo,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function be(e){return e.split("-")[1]}var wo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function xo(e,t){var n=e.x,o=e.y,r=t.devicePixelRatio||1;return{x:he(n*r)/r||0,y:he(o*r)/r||0}}function Ft(e){var t,n=e.popper,o=e.popperRect,r=e.placement,i=e.variation,u=e.offsets,s=e.position,a=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,f=e.isFixed,v=u.x,g=v===void 0?0:v,h=u.y,m=h===void 0?0:h,x=typeof c=="function"?c({x:g,y:m}):{x:g,y:m};g=x.x,m=x.y;var y=u.hasOwnProperty("x"),b=u.hasOwnProperty("y"),E=V,d=W,w=window;if(l){var C=je(n),O="clientHeight",R="clientWidth";if(C===q(n)&&(C=oe(n),X(C).position!=="static"&&s==="absolute"&&(O="scrollHeight",R="scrollWidth")),C=C,r===W||(r===V||r===z)&&i===Fe){d=U;var M=f&&C===w&&w.visualViewport?w.visualViewport.height:C[O];m-=M-o.height,m*=a?1:-1}if(r===V||(r===W||r===U)&&i===Fe){E=z;var A=f&&C===w&&w.visualViewport?w.visualViewport.width:C[R];g-=A-o.width,g*=a?1:-1}}var S=Object.assign({position:s},l&&wo),H=c===!0?xo({x:g,y:m},q(n)):{x:g,y:m};if(g=H.x,m=H.y,a){var P;return Object.assign({},S,(P={},P[d]=b?"0":"",P[E]=y?"0":"",P.transform=(w.devicePixelRatio||1)<=1?"translate("+g+"px, "+m+"px)":"translate3d("+g+"px, "+m+"px, 0)",P))}return Object.assign({},S,(t={},t[d]=b?m+"px":"",t[E]=y?g+"px":"",t.transform="",t))}function Oo(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=o===void 0?!0:o,i=n.adaptive,u=i===void 0?!0:i,s=n.roundOffsets,a=s===void 0?!0:s,l={placement:Z(t.placement),variation:be(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ft(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:u,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ft(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var en={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Oo,data:{}},Ne={passive:!0};function Eo(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=r===void 0?!0:r,u=o.resize,s=u===void 0?!0:u,a=q(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach(function(c){c.addEventListener("scroll",n.update,Ne)}),s&&a.addEventListener("resize",n.update,Ne),function(){i&&l.forEach(function(c){c.removeEventListener("scroll",n.update,Ne)}),s&&a.removeEventListener("resize",n.update,Ne)}}var tn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Eo,data:{}},To={left:"right",right:"left",bottom:"top",top:"bottom"};function He(e){return e.replace(/left|right|bottom|top/g,function(t){return To[t]})}var Co={start:"end",end:"start"};function Mt(e){return e.replace(/start|end/g,function(t){return Co[t]})}function lt(e){var t=q(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function ut(e){return ye(oe(e)).left+lt(e).scrollLeft}function Ro(e,t){var n=q(e),o=oe(e),r=n.visualViewport,i=o.clientWidth,u=o.clientHeight,s=0,a=0;if(r){i=r.width,u=r.height;var l=Jt();(l||!l&&t==="fixed")&&(s=r.offsetLeft,a=r.offsetTop)}return{width:i,height:u,x:s+ut(e),y:a}}function Ao(e){var t,n=oe(e),o=lt(e),r=(t=e.ownerDocument)==null?void 0:t.body,i=ie(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),u=ie(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+ut(e),a=-o.scrollTop;return X(r||n).direction==="rtl"&&(s+=ie(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:u,x:s,y:a}}function ct(e){var t=X(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function nn(e){return["html","body","#document"].indexOf(J(e))>=0?e.ownerDocument.body:K(e)&&ct(e)?e:nn(Ke(e))}function Ae(e,t){var n;t===void 0&&(t=[]);var o=nn(e),r=o===((n=e.ownerDocument)==null?void 0:n.body),i=q(o),u=r?[i].concat(i.visualViewport||[],ct(o)?o:[]):o,s=t.concat(u);return r?s:s.concat(Ae(Ke(u)))}function _e(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Po(e,t){var n=ye(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function St(e,t,n){return t===Yt?_e(Ro(e,n)):le(t)?Po(t,n):_e(Ao(oe(e)))}function Bo(e){var t=Ae(Ke(e)),n=["absolute","fixed"].indexOf(X(e).position)>=0,o=n&&K(e)?je(e):e;return le(o)?t.filter(function(r){return le(r)&&Gt(r,o)&&J(r)!=="body"}):[]}function Fo(e,t,n,o){var r=t==="clippingParents"?Bo(e):[].concat(t),i=[].concat(r,[n]),u=i[0],s=i.reduce(function(a,l){var c=St(e,l,o);return a.top=ie(c.top,a.top),a.right=Ve(c.right,a.right),a.bottom=Ve(c.bottom,a.bottom),a.left=ie(c.left,a.left),a},St(e,u,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function on(e){var t=e.reference,n=e.element,o=e.placement,r=o?Z(o):null,i=o?be(o):null,u=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,a;switch(r){case W:a={x:u,y:t.y-n.height};break;case U:a={x:u,y:t.y+t.height};break;case z:a={x:t.x+t.width,y:s};break;case V:a={x:t.x-n.width,y:s};break;default:a={x:t.x,y:t.y}}var l=r?st(r):null;if(l!=null){var c=l==="y"?"height":"width";switch(i){case me:a[l]=a[l]-(t[c]/2-n[c]/2);break;case Fe:a[l]=a[l]+(t[c]/2-n[c]/2);break}}return a}function Me(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=o===void 0?e.placement:o,i=n.strategy,u=i===void 0?e.strategy:i,s=n.boundary,a=s===void 0?Xn:s,l=n.rootBoundary,c=l===void 0?Yt:l,f=n.elementContext,v=f===void 0?Ee:f,g=n.altBoundary,h=g===void 0?!1:g,m=n.padding,x=m===void 0?0:m,y=Xt(typeof x!="number"?x:_t(x,Se)),b=v===Ee?_n:Ee,E=e.rects.popper,d=e.elements[h?b:v],w=Fo(le(d)?d:d.contextElement||oe(e.elements.popper),a,c,u),C=ye(e.elements.reference),O=on({reference:C,element:E,placement:r}),R=_e(Object.assign({},E,O)),M=v===Ee?R:C,A={top:w.top-M.top+y.top,bottom:M.bottom-w.bottom+y.bottom,left:w.left-M.left+y.left,right:M.right-w.right+y.right},S=e.modifiersData.offset;if(v===Ee&&S){var H=S[r];Object.keys(A).forEach(function(P){var L=[z,U].indexOf(P)>=0?1:-1,D=[W,U].indexOf(P)>=0?"y":"x";A[P]+=H[D]*L})}return A}function Mo(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,u=n.padding,s=n.flipVariations,a=n.allowedAutoPlacements,l=a===void 0?rt:a,c=be(o),f=c?s?Pt:Pt.filter(function(h){return be(h)===c}):Se,v=f.filter(function(h){return l.indexOf(h)>=0});v.length===0&&(v=f);var g=v.reduce(function(h,m){return h[m]=Me(e,{placement:m,boundary:r,rootBoundary:i,padding:u})[Z(m)],h},{});return Object.keys(g).sort(function(h,m){return g[h]-g[m]})}function So(e){if(Z(e)===ot)return[];var t=He(e);return[Mt(e),t,Mt(t)]}function jo(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,i=r===void 0?!0:r,u=n.altAxis,s=u===void 0?!0:u,a=n.fallbackPlacements,l=n.padding,c=n.boundary,f=n.rootBoundary,v=n.altBoundary,g=n.flipVariations,h=g===void 0?!0:g,m=n.allowedAutoPlacements,x=t.options.placement,y=Z(x),b=y===x,E=a||(b||!h?[He(x)]:So(x)),d=[x].concat(E).reduce(function(re,G){return re.concat(Z(G)===ot?Mo(t,{placement:G,boundary:c,rootBoundary:f,padding:l,flipVariations:h,allowedAutoPlacements:m}):G)},[]),w=t.rects.reference,C=t.rects.popper,O=new Map,R=!0,M=d[0],A=0;A=0,D=L?"width":"height",I=Me(t,{placement:S,boundary:c,rootBoundary:f,altBoundary:v,padding:l}),k=L?P?z:V:P?U:W;w[D]>C[D]&&(k=He(k));var B=He(k),j=[];if(i&&j.push(I[H]<=0),s&&j.push(I[k]<=0,I[B]<=0),j.every(function(re){return re})){M=S,R=!1;break}O.set(S,j)}if(R)for(var ce=h?3:1,fe=function(re){var G=d.find(function(ke){var Oe=O.get(ke);if(Oe)return Oe.slice(0,re).every(function(pe){return pe})});if(G)return M=G,"break"},xe=ce;xe>0;xe--){var Ie=fe(xe);if(Ie==="break")break}t.placement!==M&&(t.modifiersData[o]._skip=!0,t.placement=M,t.reset=!0)}}var Io={name:"flip",enabled:!0,phase:"main",fn:jo,requiresIfExists:["offset"],data:{_skip:!1}};function jt(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function It(e){return[W,z,U,V].some(function(t){return e[t]>=0})}function ko(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,u=Me(t,{elementContext:"reference"}),s=Me(t,{altBoundary:!0}),a=jt(u,o),l=jt(s,r,i),c=It(a),f=It(l);t.modifiersData[n]={referenceClippingOffsets:a,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}var Do={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ko};function Lo(e,t,n){var o=Z(e),r=[V,W].indexOf(o)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,u=i[0],s=i[1];return u=u||0,s=(s||0)*r,[V,z].indexOf(o)>=0?{x:s,y:u}:{x:u,y:s}}function No(e){var t=e.state,n=e.options,o=e.name,r=n.offset,i=r===void 0?[0,0]:r,u=rt.reduce(function(c,f){return c[f]=Lo(f,t.rects,i),c},{}),s=u[t.placement],a=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=a,t.modifiersData.popperOffsets.y+=l),t.modifiersData[o]=u}var Ho={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:No};function $o(e){var t=e.state,n=e.name;t.modifiersData[n]=on({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var rn={name:"popperOffsets",enabled:!0,phase:"read",fn:$o,data:{}};function Wo(e){return e==="x"?"y":"x"}function Vo(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,i=r===void 0?!0:r,u=n.altAxis,s=u===void 0?!1:u,a=n.boundary,l=n.rootBoundary,c=n.altBoundary,f=n.padding,v=n.tether,g=v===void 0?!0:v,h=n.tetherOffset,m=h===void 0?0:h,x=Me(t,{boundary:a,rootBoundary:l,padding:f,altBoundary:c}),y=Z(t.placement),b=be(t.placement),E=!b,d=st(y),w=Wo(d),C=t.modifiersData.popperOffsets,O=t.rects.reference,R=t.rects.popper,M=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,A=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(C){if(i){var P,L=d==="y"?W:V,D=d==="y"?U:z,I=d==="y"?"height":"width",k=C[d],B=k+x[L],j=k-x[D],ce=g?-R[I]/2:0,fe=b===me?O[I]:R[I],xe=b===me?-R[I]:-O[I],Ie=t.elements.arrow,re=g&&Ie?it(Ie):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Qt(),ke=G[L],Oe=G[D],pe=Re(0,O[I],re[I]),mn=E?O[I]/2-ce-pe-ke-A.mainAxis:fe-pe-ke-A.mainAxis,hn=E?-O[I]/2+ce+pe+Oe+A.mainAxis:xe+pe+Oe+A.mainAxis,Ue=t.elements.arrow&&je(t.elements.arrow),yn=Ue?d==="y"?Ue.clientTop||0:Ue.clientLeft||0:0,vt=(P=S==null?void 0:S[d])!=null?P:0,bn=k+mn-vt-yn,wn=k+hn-vt,gt=Re(g?Ve(B,bn):B,k,g?ie(j,wn):j);C[d]=gt,H[d]=gt-k}if(s){var mt,xn=d==="x"?W:V,On=d==="x"?U:z,ae=C[w],De=w==="y"?"height":"width",ht=ae+x[xn],yt=ae-x[On],ze=[W,V].indexOf(y)!==-1,bt=(mt=S==null?void 0:S[w])!=null?mt:0,wt=ze?ht:ae-O[De]-R[De]-bt+A.altAxis,xt=ze?ae+O[De]+R[De]-bt-A.altAxis:yt,Ot=g&&ze?go(wt,ae,xt):Re(g?wt:ht,ae,g?xt:yt);C[w]=Ot,H[w]=Ot-ae}t.modifiersData[o]=H}}var qo={name:"preventOverflow",enabled:!0,phase:"main",fn:Vo,requiresIfExists:["offset"]};function Ko(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Uo(e){return e===q(e)||!K(e)?lt(e):Ko(e)}function zo(e){var t=e.getBoundingClientRect(),n=he(t.width)/e.offsetWidth||1,o=he(t.height)/e.offsetHeight||1;return n!==1||o!==1}function Yo(e,t,n){n===void 0&&(n=!1);var o=K(t),r=K(t)&&zo(t),i=oe(t),u=ye(e,r,n),s={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(o||!o&&!n)&&((J(t)!=="body"||ct(i))&&(s=Uo(t)),K(t)?(a=ye(t,!0),a.x+=t.clientLeft,a.y+=t.clientTop):i&&(a.x=ut(i))),{x:u.left+s.scrollLeft-a.x,y:u.top+s.scrollTop-a.y,width:u.width,height:u.height}}function Zo(e){var t=new Map,n=new Set,o=[];e.forEach(function(i){t.set(i.name,i)});function r(i){n.add(i.name);var u=[].concat(i.requires||[],i.requiresIfExists||[]);u.forEach(function(s){if(!n.has(s)){var a=t.get(s);a&&r(a)}}),o.push(i)}return e.forEach(function(i){n.has(i.name)||r(i)}),o}function Jo(e){var t=Zo(e);return uo.reduce(function(n,o){return n.concat(t.filter(function(r){return r.phase===o}))},[])}function Go(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Qo(e){var t=e.reduce(function(n,o){var r=n[o.name];return n[o.name]=r?Object.assign({},r,o,{options:Object.assign({},r.options,o.options),data:Object.assign({},r.data,o.data)}):o,n},{});return Object.keys(t).map(function(n){return t[n]})}var kt={placement:"bottom",modifiers:[],strategy:"absolute"};function Dt(){for(var e=arguments.length,t=new Array(e),n=0;n{const o={name:"updateState",enabled:!0,phase:"write",fn:({state:a})=>{const l=nr(a);Object.assign(u.value,l)},requires:["computeStyles"]},r=T(()=>{const{onFirstUpdate:a,placement:l,strategy:c,modifiers:f}=p(n);return{onFirstUpdate:a,placement:l||"bottom",strategy:c||"absolute",modifiers:[...f||[],o,{name:"applyStyles",enabled:!1}]}}),i=Tn(),u=N({styles:{popper:{position:p(r).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=()=>{i.value&&(i.value.destroy(),i.value=void 0)};return $(r,a=>{const l=p(i);l&&l.setOptions(a)},{deep:!0}),$([e,t],([a,l])=>{s(),!(!a||!l)&&(i.value=er(a,l,p(r)))}),te(()=>{s()}),{state:T(()=>{var a;return{...((a=p(i))==null?void 0:a.state)||{}}}),styles:T(()=>p(u).styles),attributes:T(()=>p(u).attributes),update:()=>{var a;return(a=p(i))==null?void 0:a.update()},forceUpdate:()=>{var a;return(a=p(i))==null?void 0:a.forceUpdate()},instanceRef:T(()=>p(i))}};function nr(e){const t=Object.keys(e.elements);return{styles:Et(t.map(n=>[n,e.styles[n]||{}])),attributes:Et(t.map(n=>[n,e.attributes[n]]))}}function Lt(){let e;const t=(o,r)=>{n(),e=globalThis.setTimeout(o,r)},n=()=>{e!==void 0&&(globalThis.clearTimeout(e),e=void 0)};return Cn(()=>n()),{registerTimeout:t,cancelTimeout:n}}const an=()=>{const e=An(),t=Un(),n=T(()=>`${e.value}-popper-container-${t.prefix}`);return{id:n,selector:T(()=>`#${n.value}`)}},or=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},rr=()=>{const{id:e,selector:t}=an();return Rn(()=>{Ce&&(document.body.querySelector(t.value)||or(e.value))}),{id:e,selector:t}},ar=_({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),ir=({showAfter:e,hideAfter:t,autoClose:n,open:o,close:r})=>{const{registerTimeout:i}=Lt(),{registerTimeout:u,cancelTimeout:s}=Lt();return{onOpen:(c,f=p(e))=>{i(()=>{o(c);const v=p(n);Ge(v)&&v>0&&u(()=>{r(c)},v)},f)},onClose:(c,f=p(t))=>{s(),i(()=>{r(c)},f)}}},sn=Symbol("elForwardRef"),sr=e=>{Pe(sn,{setForwardRef:(n=>{e.value=n})})},lr=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),ur=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],ln=_({role:{type:String,values:ur,default:"tooltip"}}),pt=Symbol("popper"),un=Symbol("popperContent");var cr=ne({name:"ElPopperArrow",inheritAttrs:!1,__name:"arrow",setup(e,{expose:t}){const n=we("popper"),{arrowRef:o,arrowStyle:r}=ue(un,void 0);return te(()=>{o.value=void 0}),t({arrowRef:o}),(i,u)=>(Y(),$e("span",{ref_key:"arrowRef",ref:o,class:$t(p(n).e("arrow")),style:Pn(p(r)),"data-popper-arrow":""},null,6))}}),fr=cr;const cn=_({virtualRef:{type:F(Object)},virtualTriggering:Boolean,onMouseenter:{type:F(Function)},onMouseleave:{type:F(Function)},onClick:{type:F(Function)},onKeydown:{type:F(Function)},onFocus:{type:F(Function)},onBlur:{type:F(Function)},onContextmenu:{type:F(Function)},id:String,open:Boolean}),Ze="ElOnlyChild",pr=ne({name:Ze,setup(e,{slots:t,attrs:n}){var r;const o=lr(((r=ue(sn))==null?void 0:r.setForwardRef)??Qe);return()=>{var a;const i=(a=t.default)==null?void 0:a.call(t,n);if(!i)return null;const[u,s]=fn(i);return u?(s>1&&Tt(Ze,"requires exact only one valid child."),Wt(Bn(u,n),[[o]])):(Tt(Ze,"no valid child node found"),null)}}});function fn(e){if(!e)return[null,0];const t=e,n=t.filter(o=>o.type!==Ct).length;for(const o of t){if(Fn(o))switch(o.type){case Ct:continue;case Sn:case"svg":return[Nt(o),n];case Mn:return fn(o.children);default:return[o,n]}return[Nt(o),n]}return[null,0]}function Nt(e){return Be("span",{class:we("only-child").e("content")},[e])}var dr=ne({name:"ElPopperTrigger",inheritAttrs:!1,__name:"trigger",props:cn,setup(e,{expose:t}){const n=e,{role:o,triggerRef:r}=ue(pt,void 0);sr(r);const i=T(()=>s.value?n.id:void 0),u=T(()=>{if(o&&o.value==="tooltip")return n.open&&n.id?n.id:void 0}),s=T(()=>{if(o&&o.value!=="tooltip")return o.value}),a=T(()=>s.value?`${n.open}`:void 0);let l;const c=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return qe(()=>{$(()=>n.virtualRef,f=>{f&&(r.value=Vt(f))},{immediate:!0}),$(r,(f,v)=>{l==null||l(),l=void 0,ve(v)&&c.forEach(g=>{const h=n[g];h&&v.removeEventListener(g.slice(2).toLowerCase(),h,["onFocus","onBlur"].includes(g))}),ve(f)&&(c.forEach(g=>{const h=n[g];h&&f.addEventListener(g.slice(2).toLowerCase(),h,["onFocus","onBlur"].includes(g))}),Rt(f)&&(l=$([i,u,s,a],g=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((h,m)=>{qt(g[m])?f.removeAttribute(h):f.setAttribute(h,g[m])})},{immediate:!0}))),ve(v)&&Rt(v)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(g=>v.removeAttribute(g))},{immediate:!0})}),te(()=>{if(l==null||l(),l=void 0,r.value&&ve(r.value)){const f=r.value;c.forEach(v=>{const g=n[v];g&&f.removeEventListener(v.slice(2).toLowerCase(),g,["onFocus","onBlur"].includes(v))}),r.value=void 0}}),t({triggerRef:r}),(f,v)=>e.virtualTriggering?We("v-if",!0):(Y(),ge(p(pr),tt({key:0},f.$attrs,{"aria-controls":i.value,"aria-describedby":u.value,"aria-expanded":a.value,"aria-haspopup":s.value}),{default:ee(()=>[se(f.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}}),vr=dr;const pn=_({arrowOffset:{type:Number,default:5}}),gr=_({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:F(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:rt,default:"bottom"},popperOptions:{type:F(Object),default:()=>({})},strategy:{type:String,values:["fixed","absolute"],default:"absolute"}}),dn=_({...gr,...pn,id:String,style:{type:F([String,Array,Object,Boolean]),default:void 0},className:{type:F([String,Array,Object])},effect:{type:F(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:F([String,Array,Object])},popperStyle:{type:F([String,Array,Object,Boolean]),default:void 0},referenceEl:{type:F(Object)},triggerTargetEl:{type:F(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...zt(["ariaLabel"]),loop:Boolean}),mr={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0};const Zr=e=>nt(e)?e[0]:e,hr=e=>!e&&e!==0?[]:nt(e)?e:[e],yr=(e,t=[])=>{const{placement:n,strategy:o,popperOptions:r}=e,i={placement:n,strategy:o,...r,modifiers:[...wr(e),...t]};return xr(i,r==null?void 0:r.modifiers),i},br=e=>{if(Ce)return Vt(e)};function wr(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:o}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:0,bottom:0,left:0,right:0}}},{name:"flip",options:{padding:5,fallbackPlacements:o}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function xr(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const Or=0,Er=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:o,role:r}=ue(pt,void 0),i=N(),u=T(()=>e.arrowOffset),s=T(()=>({name:"eventListeners",enabled:!!e.visible})),a=T(()=>{const b=p(i),E=p(u)??Or;return{name:"arrow",enabled:!Zn(b),options:{element:b,padding:E}}}),l=T(()=>({onFirstUpdate:()=>{h()},...yr(e,[p(a),p(s)])})),c=T(()=>br(e.referenceEl)||p(o)),{attributes:f,state:v,styles:g,update:h,forceUpdate:m,instanceRef:x}=tr(c,n,l);$(x,b=>t.value=b,{flush:"sync"}),qe(()=>{$(()=>{var b,E;return(E=(b=p(c))==null?void 0:b.getBoundingClientRect)==null?void 0:E.call(b)},()=>{h()})});let y;return $(()=>e.visible,b=>{y==null||y(),y=void 0,b&&(y=jn(n,h).stop)}),te(()=>{t.value=void 0,y==null||y(),y=void 0}),{attributes:f,arrowRef:i,contentRef:n,instanceRef:x,state:v,styles:g,role:r,forceUpdate:m,update:h}},Tr=(e,{attributes:t,styles:n,role:o})=>{const{nextZIndex:r}=In(),i=we("popper"),u=T(()=>p(t).popper),s=N(Ge(e.zIndex)?e.zIndex:r()),a=T(()=>[i.b(),i.is("pure",e.pure),i.is(e.effect),e.popperClass]),l=T(()=>[{zIndex:p(s)},p(n).popper,e.popperStyle||{}]),c=T(()=>o.value==="dialog"?"false":void 0),f=T(()=>p(n).arrow||{});return{ariaModal:c,arrowStyle:f,contentAttrs:u,contentClass:a,contentStyle:l,contentZIndex:s,updateZIndex:()=>{s.value=Ge(e.zIndex)?e.zIndex:r()}}},Cr=(e,t)=>{const n=N(!1),o=N(),r=()=>{t("focus")},i=l=>{var c;((c=l.detail)==null?void 0:c.focusReason)!=="pointer"&&(o.value="first",t("blur"))},u=l=>{e.visible&&!n.value&&(l.target&&(o.value=l.target),n.value=!0)},s=l=>{e.trapping||(l.detail.focusReason==="pointer"&&l.preventDefault(),n.value=!1)},a=()=>{n.value=!1,t("close")};return te(()=>{o.value=void 0}),{focusStartRef:o,trapped:n,onFocusAfterReleased:i,onFocusAfterTrapped:r,onFocusInTrap:u,onFocusoutPrevented:s,onReleaseRequested:a}};var Rr=ne({name:"ElPopperContent",__name:"content",props:dn,emits:mr,setup(e,{expose:t,emit:n}){const o=n,r=e,{focusStartRef:i,trapped:u,onFocusAfterReleased:s,onFocusAfterTrapped:a,onFocusInTrap:l,onFocusoutPrevented:c,onReleaseRequested:f}=Cr(r,o),{attributes:v,arrowRef:g,contentRef:h,styles:m,instanceRef:x,role:y,update:b}=Er(r),{ariaModal:E,arrowStyle:d,contentAttrs:w,contentClass:C,contentStyle:O,updateZIndex:R}=Tr(r,{styles:m,attributes:v,role:y}),M=ue(At,void 0);Pe(un,{arrowStyle:d,arrowRef:g}),M&&Pe(At,{...M,addInputId:Qe,removeInputId:Qe});let A;const S=(P=!0)=>{b(),P&&R()},H=()=>{S(!1),r.visible&&r.focusOnShow?u.value=!0:r.visible===!1&&(u.value=!1)};return qe(()=>{$(()=>r.triggerTargetEl,(P,L)=>{A==null||A(),A=void 0;const D=p(P||h.value),I=p(L||h.value);ve(D)&&(A=$([y,()=>r.ariaLabel,E,()=>r.id],k=>{["role","aria-label","aria-modal","id"].forEach((B,j)=>{qt(k[j])?D.removeAttribute(B):D.setAttribute(B,k[j])})},{immediate:!0})),I!==D&&ve(I)&&["role","aria-label","aria-modal","id"].forEach(k=>{I.removeAttribute(k)})},{immediate:!0}),$(()=>r.visible,H,{immediate:!0})}),te(()=>{A==null||A(),A=void 0,h.value=void 0}),t({popperContentRef:h,popperInstanceRef:x,updatePopper:S,contentStyle:O}),(P,L)=>(Y(),$e("div",tt({ref_key:"contentRef",ref:h},p(w),{style:p(O),class:p(C),tabindex:"-1",onMouseenter:L[0]||(L[0]=D=>P.$emit("mouseenter",D)),onMouseleave:L[1]||(L[1]=D=>P.$emit("mouseleave",D))}),[Be(p(Yn),{loop:e.loop,trapped:p(u),"trap-on-focus-in":!0,"focus-trap-el":p(h),"focus-start-el":p(i),onFocusAfterTrapped:p(a),onFocusAfterReleased:p(s),onFocusin:p(l),onFocusoutPrevented:p(c),onReleaseRequested:p(f)},{default:ee(()=>[se(P.$slots,"default")]),_:3},8,["loop","trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}}),Ar=Rr,Pr=ne({name:"ElPopper",inheritAttrs:!1,__name:"popper",props:ln,setup(e,{expose:t}){const n=e,o={triggerRef:N(),popperInstanceRef:N(),contentRef:N(),referenceRef:N(),role:T(()=>n.role)};return t(o),Pe(pt,o),(r,i)=>se(r.$slots,"default")}}),Br=Pr;const Fr=Kt(Br),vn=_({...ar,...dn,appendTo:{type:F([String,Object])},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:F(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...zt(["ariaLabel"])}),gn=_({...cn,disabled:Boolean,trigger:{type:F([String,Array]),default:"hover"},triggerKeys:{type:F(Array),default:()=>[Ye.enter,Ye.numpadEnter,Ye.space]},focusOnTarget:Boolean}),{useModelToggleProps:Mr,useModelToggleEmits:Sr,useModelToggle:jr}=Qn("visible"),Ir=_({...ln,...Mr,...vn,...gn,...pn,showArrow:{type:Boolean,default:!0}}),kr=[...Sr,"before-show","before-hide","show","hide","open","close"],dt=Symbol("elTooltip"),et=(e,t)=>nt(e)?e.includes(t):e===t,de=(e,t,n)=>o=>{et(p(e),t)&&n(o)};var Dr=ne({name:"ElTooltipTrigger",__name:"trigger",props:gn,setup(e,{expose:t}){const n=e,o=we("tooltip"),{controlled:r,id:i,open:u,onOpen:s,onClose:a,onToggle:l}=ue(dt,void 0),c=N(null),f=()=>{if(p(r)||n.disabled)return!0},v=Te(n,"trigger"),g=Q(f,de(v,"hover",d=>{s(d),n.focusOnTarget&&d.target&&Dn(()=>{Ut(d.target,{preventScroll:!0})})})),h=Q(f,de(v,"hover",a)),m=Q(f,de(v,"click",d=>{d.button===0&&l(d)})),x=Q(f,de(v,"focus",s)),y=Q(f,de(v,"focus",a)),b=Q(f,de(v,"contextmenu",d=>{d.preventDefault(),l(d)})),E=Q(f,d=>{const w=kn(d);n.triggerKeys.includes(w)&&(d.preventDefault(),l(d))});return t({triggerRef:c}),(d,w)=>(Y(),ge(p(vr),{id:p(i),"virtual-ref":e.virtualRef,open:p(u),"virtual-triggering":e.virtualTriggering,class:$t(p(o).e("trigger")),onBlur:p(y),onClick:p(m),onContextmenu:p(b),onFocus:p(x),onMouseenter:p(g),onMouseleave:p(h),onKeydown:p(E)},{default:ee(()=>[se(d.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}}),Lr=Dr,Nr=ne({name:"ElTooltipContent",inheritAttrs:!1,__name:"content",props:vn,setup(e,{expose:t}){const n=e,{selector:o}=an(),r=we("tooltip"),i=N(),u=Ln(()=>{var B;return(B=i.value)==null?void 0:B.popperContentRef});let s;const{controlled:a,id:l,open:c,trigger:f,onClose:v,onOpen:g,onShow:h,onHide:m,onBeforeShow:x,onBeforeHide:y}=ue(dt,void 0),b=T(()=>n.transition||`${r.namespace.value}-fade-in-linear`),E=T(()=>n.persistent);te(()=>{s==null||s()});const d=T(()=>p(E)?!0:p(c)),w=T(()=>n.disabled?!1:p(c)),C=T(()=>n.appendTo||o.value),O=T(()=>n.style??{}),R=N(!0),M=()=>{m(),k()&&Ut(document.body,{preventScroll:!0}),R.value=!0},A=()=>{if(p(a))return!0},S=Q(A,()=>{n.enterable&&et(p(f),"hover")&&g()}),H=Q(A,()=>{et(p(f),"hover")&&v()}),P=()=>{var B,j;(j=(B=i.value)==null?void 0:B.updatePopper)==null||j.call(B),x==null||x()},L=()=>{y==null||y()},D=()=>{h()},I=()=>{n.virtualTriggering||v()},k=B=>{var fe;const j=(fe=i.value)==null?void 0:fe.popperContentRef,ce=(B==null?void 0:B.relatedTarget)||document.activeElement;return j==null?void 0:j.contains(ce)};return $(()=>p(c),B=>{B?(R.value=!1,s=Wn(u,()=>{p(a)||hr(p(f)).every(j=>j!=="hover"&&j!=="focus")&&v()},{detectIframe:!0})):s==null||s()},{flush:"post"}),t({contentRef:i,isFocusInsideContent:k}),(B,j)=>(Y(),ge($n,{disabled:!e.teleported,to:C.value},[d.value||!R.value?(Y(),ge(Nn,{key:0,name:b.value,appear:!E.value,onAfterLeave:M,onBeforeEnter:P,onAfterEnter:D,onBeforeLeave:L,persisted:""},{default:ee(()=>[Wt(Be(p(Ar),tt({id:p(l),ref_key:"contentRef",ref:i},B.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":R.value,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,O.value],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:w.value,"z-index":e.zIndex,loop:e.loop,onMouseenter:p(S),onMouseleave:p(H),onBlur:I,onClose:p(v)}),{default:ee(()=>[se(B.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","arrow-offset","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","loop","onMouseenter","onMouseleave","onClose"]),[[Hn,w.value]])]),_:3},8,["name","appear"])):We("v-if",!0)],8,["disabled","to"]))}}),Hr=Nr;const $r=["innerHTML"],Wr={key:1};var Vr=ne({name:"ElTooltip",__name:"tooltip",props:Ir,emits:kr,setup(e,{expose:t,emit:n}){const o=e,r=n;rr();const i=we("tooltip"),u=zn(),s=N(),a=N(),l=()=>{var w;const d=p(s);d&&((w=d.popperInstanceRef)==null||w.update())},c=N(!1),f=N(),{show:v,hide:g,hasUpdateHandler:h}=jr({indicator:c,toggleReason:f}),{onOpen:m,onClose:x}=ir({showAfter:Te(o,"showAfter"),hideAfter:Te(o,"hideAfter"),autoClose:Te(o,"autoClose"),open:v,close:g}),y=T(()=>Je(o.visible)&&!h.value),b=T(()=>[i.b(),o.popperClass]);Pe(dt,{controlled:y,id:u,open:Kn(c),trigger:Te(o,"trigger"),onOpen:m,onClose:x,onToggle:d=>{p(c)?x(d):m(d)},onShow:()=>{r("show",f.value)},onHide:()=>{r("hide",f.value)},onBeforeShow:()=>{r("before-show",f.value)},onBeforeHide:()=>{r("before-hide",f.value)},updatePopper:l}),$(()=>o.disabled,d=>{d&&c.value&&(c.value=!1),!d&&Je(o.visible)&&(c.value=o.visible)});const E=d=>{var w;return(w=a.value)==null?void 0:w.isFocusInsideContent(d)};return Vn(()=>c.value&&g()),te(()=>{f.value=void 0}),t({popperRef:s,contentRef:a,isFocusInsideContent:E,updatePopper:l,onOpen:m,onClose:x,hide:g}),(d,w)=>(Y(),ge(p(Fr),{ref_key:"popperRef",ref:s,role:e.role},{default:ee(()=>[Be(Lr,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering,"focus-on-target":e.focusOnTarget},{default:ee(()=>[d.$slots.default?se(d.$slots,"default",{key:0}):We("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering","focus-on-target"]),Be(Hr,{ref_key:"contentRef",ref:a,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":b.value,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo,loop:e.loop},{default:ee(()=>[se(d.$slots,"content",{},()=>[e.rawContent?(Y(),$e("span",{key:0,innerHTML:e.content},null,8,$r)):(Y(),$e("span",Wr,qn(e.content),1))]),e.showArrow?(Y(),ge(p(fr),{key:0})):We("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","arrow-offset","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to","loop"])]),_:3},8,["role"]))}}),qr=Vr;const Jr=Kt(qr);export{Jr as E,pr as O,rt as a,gn as b,hr as c,Zr as e,Zn as i,ur as r,vn as u}; diff --git a/frontend/dist/assets/el-progress-B102G_mC.js b/frontend/dist/assets/el-progress-B102G_mC.js index 6282650..135c411 100644 --- a/frontend/dist/assets/el-progress-B102G_mC.js +++ b/frontend/dist/assets/el-progress-B102G_mC.js @@ -1,4 +1,10 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-progress-B102G_mC.js import{b as A,R as y,d as M,a as V,o as l,c as d,n as i,f as s,q as p,al as f,h as B,aa as N,g as P,e as D,w as O,r as R,E as j,j as o,cZ as q,a$ as J,bQ as Q,b0 as U,b1 as Z,b8 as G,J as I,l as H}from"./index-CD29OCdJ.js";const K=A({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:y(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:y([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:y(Function),default:e=>`${e}%`}}),X=["aria-valuenow"],Y={viewBox:"0 0 100 100"},_=["d","stroke","stroke-linecap","stroke-width"],ee=["d","stroke","opacity","stroke-linecap","stroke-width"],te={key:0};var ae=M({name:"ElProgress",__name:"progress",props:K,setup(e){const k={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},a=e,r=V("progress"),T=o(()=>{const t={width:`${a.percentage}%`,animationDuration:`${a.duration}s`},n=x(a.percentage);return n.includes("gradient")?t.background=n:t.backgroundColor=n,t}),v=o(()=>(a.strokeWidth/a.width*100).toFixed(1)),b=o(()=>["circle","dashboard"].includes(a.type)?Number.parseInt(`${50-Number.parseFloat(v.value)/2}`,10):0),m=o(()=>{const t=b.value,n=a.type==="dashboard";return` +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-progress-Dz5Z3t_E.js +import{b as A,R as y,d as M,a as V,o as l,c as d,n as i,f as s,q as p,al as f,h as B,aa as N,g as P,e as D,w as O,r as R,E as j,j as o,cZ as q,a$ as J,bQ as Q,b0 as U,b1 as Z,b8 as G,J as I,l as H}from"./index-Ds9AETjS.js";const K=A({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:y(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:y([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:y(Function),default:e=>`${e}%`}}),X=["aria-valuenow"],Y={viewBox:"0 0 100 100"},_=["d","stroke","stroke-linecap","stroke-width"],ee=["d","stroke","opacity","stroke-linecap","stroke-width"],te={key:0};var ae=M({name:"ElProgress",__name:"progress",props:K,setup(e){const k={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},a=e,r=V("progress"),T=o(()=>{const t={width:`${a.percentage}%`,animationDuration:`${a.duration}s`},n=x(a.percentage);return n.includes("gradient")?t.background=n:t.backgroundColor=n,t}),v=o(()=>(a.strokeWidth/a.width*100).toFixed(1)),b=o(()=>["circle","dashboard"].includes(a.type)?Number.parseInt(`${50-Number.parseFloat(v.value)/2}`,10):0),m=o(()=>{const t=b.value,n=a.type==="dashboard";return` +======== +import{b as A,R as y,d as M,a as V,o as l,c as d,n as i,f as s,q as p,al as f,h as B,aa as N,g as P,e as D,w as O,r as R,E as j,j as o,cZ as q,a$ as J,bQ as Q,b0 as U,b1 as Z,b8 as G,J as I,l as H}from"./index-CxbBjZKo.js";const K=A({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:y(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:y([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:y(Function),default:e=>`${e}%`}}),X=["aria-valuenow"],Y={viewBox:"0 0 100 100"},_=["d","stroke","stroke-linecap","stroke-width"],ee=["d","stroke","opacity","stroke-linecap","stroke-width"],te={key:0};var ae=M({name:"ElProgress",__name:"progress",props:K,setup(e){const k={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},a=e,r=V("progress"),T=o(()=>{const t={width:`${a.percentage}%`,animationDuration:`${a.duration}s`},n=x(a.percentage);return n.includes("gradient")?t.background=n:t.backgroundColor=n,t}),v=o(()=>(a.strokeWidth/a.width*100).toFixed(1)),b=o(()=>["circle","dashboard"].includes(a.type)?Number.parseInt(`${50-Number.parseFloat(v.value)/2}`,10):0),m=o(()=>{const t=b.value,n=a.type==="dashboard";return` +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-progress-Br676mBH.js M 50 50 m 0 ${n?"":"-"}${t} a ${t} ${t} 0 1 1 0 ${n?"-":""}${t*2} diff --git a/frontend/dist/assets/el-progress-Br676mBH.js b/frontend/dist/assets/el-progress-Br676mBH.js new file mode 100644 index 0000000..68e4648 --- /dev/null +++ b/frontend/dist/assets/el-progress-Br676mBH.js @@ -0,0 +1,6 @@ +import{b as A,R as y,d as M,a as V,o as l,c as d,n as i,f as s,q as p,al as f,h as B,aa as N,g as P,e as D,w as O,r as R,E as j,j as o,cZ as q,a$ as J,bQ as Q,b0 as U,b1 as Z,b8 as G,J as I,l as H}from"./index-CxbBjZKo.js";const K=A({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:y(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:y([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:y(Function),default:e=>`${e}%`}}),X=["aria-valuenow"],Y={viewBox:"0 0 100 100"},_=["d","stroke","stroke-linecap","stroke-width"],ee=["d","stroke","opacity","stroke-linecap","stroke-width"],te={key:0};var ae=M({name:"ElProgress",__name:"progress",props:K,setup(e){const k={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},a=e,r=V("progress"),T=o(()=>{const t={width:`${a.percentage}%`,animationDuration:`${a.duration}s`},n=x(a.percentage);return n.includes("gradient")?t.background=n:t.backgroundColor=n,t}),v=o(()=>(a.strokeWidth/a.width*100).toFixed(1)),b=o(()=>["circle","dashboard"].includes(a.type)?Number.parseInt(`${50-Number.parseFloat(v.value)/2}`,10):0),m=o(()=>{const t=b.value,n=a.type==="dashboard";return` + M 50 50 + m 0 ${n?"":"-"}${t} + a ${t} ${t} 0 1 1 0 ${n?"-":""}${t*2} + a ${t} ${t} 0 1 1 0 ${n?"":"-"}${t*2} + `}),h=o(()=>2*Math.PI*b.value),g=o(()=>a.type==="dashboard"?.75:1),w=o(()=>`${-1*h.value*(1-g.value)/2}px`),C=o(()=>({strokeDasharray:`${h.value*g.value}px, ${h.value}px`,strokeDashoffset:w.value})),F=o(()=>({strokeDasharray:`${h.value*g.value*(a.percentage/100)}px, ${h.value}px`,strokeDashoffset:w.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),E=o(()=>{let t;return a.color?t=x(a.percentage):t=k[a.status]||k.default,t}),W=o(()=>a.status==="warning"?q:a.type==="line"?a.status==="success"?J:Q:a.status==="success"?U:Z),z=o(()=>a.type==="line"?12+a.strokeWidth*.4:a.width*.111111+2),$=o(()=>a.format(a.percentage));function L(t){const n=100/t.length;return t.map((c,u)=>I(c)?{color:c,percentage:(u+1)*n}:c).sort((c,u)=>c.percentage-u.percentage)}const x=t=>{var c;const{color:n}=a;if(G(n))return n(t);if(I(n))return n;{const u=L(n);for(const S of u)if(S.percentage>t)return S.color;return(c=u[u.length-1])==null?void 0:c.color}};return(t,n)=>(l(),d("div",{class:i([s(r).b(),s(r).m(e.type),s(r).is(e.status),{[s(r).m("without-text")]:!e.showText,[s(r).m("text-inside")]:e.textInside}]),role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[e.type==="line"?(l(),d("div",{key:0,class:i(s(r).b("bar"))},[p("div",{class:i(s(r).be("bar","outer")),style:f({height:`${e.strokeWidth}px`})},[p("div",{class:i([s(r).be("bar","inner"),{[s(r).bem("bar","inner","indeterminate")]:e.indeterminate},{[s(r).bem("bar","inner","striped")]:e.striped},{[s(r).bem("bar","inner","striped-flow")]:e.stripedFlow}]),style:f(T.value)},[(e.showText||t.$slots.default)&&e.textInside?(l(),d("div",{key:0,class:i(s(r).be("bar","innerText"))},[B(t.$slots,"default",{percentage:e.percentage},()=>[p("span",null,N($.value),1)])],2)):P("v-if",!0)],6)],6)],2)):(l(),d("div",{key:1,class:i(s(r).b("circle")),style:f({height:`${e.width}px`,width:`${e.width}px`})},[(l(),d("svg",Y,[p("path",{class:i(s(r).be("circle","track")),d:m.value,stroke:`var(${s(r).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":e.strokeLinecap,"stroke-width":v.value,fill:"none",style:f(C.value)},null,14,_),p("path",{class:i(s(r).be("circle","path")),d:m.value,stroke:E.value,fill:"none",opacity:e.percentage?1:0,"stroke-linecap":e.strokeLinecap,"stroke-width":v.value,style:f(F.value)},null,14,ee)]))],6)),(e.showText||t.$slots.default)&&!e.textInside?(l(),d("div",{key:2,class:i(s(r).e("text")),style:f({fontSize:`${z.value}px`})},[B(t.$slots,"default",{percentage:e.percentage},()=>[e.status?(l(),D(s(j),{key:1},{default:O(()=>[(l(),D(R(W.value)))]),_:1})):(l(),d("span",te,N($.value),1))])],6)):P("v-if",!0)],10,X))}}),se=ae;const ne=H(se);export{ne as E}; diff --git a/frontend/dist/assets/el-radio-group-11DJtD5j.js b/frontend/dist/assets/el-radio-group-11DJtD5j.js index 0c7f315..385a5ed 100644 --- a/frontend/dist/assets/el-radio-group-11DJtD5j.js +++ b/frontend/dist/assets/el-radio-group-11DJtD5j.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-radio-group-11DJtD5j.js import{J as D,ak as F,k as h,b as P,aR as L,R as w,B as ae,j as b,y as C,cb as A,d as I,a as N,o as S,c as k,q as R,K as T,d9 as U,f as e,aL as _,n as y,aB as K,h as x,x as M,aa as O,P as j,al as te,G as oe,F as se,z as le,aV as ne,D as re,M as ie,ad as ue,e as de,Y as ce,r as pe,b6 as me,aU as be,ab as q,l as fe}from"./index-CD29OCdJ.js";import{C as z,U as G}from"./raf-DGtHIxe2.js";import{e as ve,c as ye,u as ge,f as Be,b as Ee,d as Re}from"./index-6OTFNiIi.js";import{u as Se}from"./index-DpY84JwG.js";import{o as Ve}from"./omit-9H73Nvwk.js";const H=P({modelValue:{type:[String,Number,Boolean],default:void 0},size:L,disabled:{type:Boolean,default:void 0},label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),ke=P({...H,border:Boolean}),J={[G]:a=>D(a)||F(a)||h(a),[z]:a=>D(a)||F(a)||h(a)},Y=Symbol("radioGroupKey"),_e=P({...H}),Q={label:"label",value:"value",disabled:"disabled"},Pe=P({id:{type:String,default:void 0},size:L,disabled:{type:Boolean,default:void 0},modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},options:{type:w(Array)},props:{type:w(Object),default:()=>Q},type:{type:String,values:["radio","button"],default:"radio"},...Se(["ariaLabel"])}),Ce=J,W=(a,g)=>{const s=C(),l=ae(Y,void 0),t=b(()=>!!l),v=b(()=>A(a.value)?a.label:a.value),f=b({get(){return t.value?l.modelValue:a.modelValue},set(m){t.value?l.changeEvent(m):g&&g("update:modelValue",m),s.value.checked=a.modelValue===v.value}}),n=ve(b(()=>l==null?void 0:l.size)),o=ye(b(()=>l==null?void 0:l.disabled)),c=C(!1),d=b(()=>o.value||t.value&&f.value!==v.value?-1:0);return ge({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},b(()=>t.value&&A(a.value))),{radioRef:s,isGroup:t,radioGroup:l,focus:c,size:n,disabled:o,tabIndex:d,modelValue:f,actualValue:v}},Ie=["value","name","disabled","checked"];var Ne=I({name:"ElRadio",__name:"radio",props:ke,emits:J,setup(a,{emit:g}){const s=a,l=g,t=N("radio"),{radioRef:v,radioGroup:f,focus:n,size:o,disabled:c,modelValue:d,actualValue:m}=W(s,l);function u(){j(()=>l(z,d.value))}return(B,i)=>{var r;return S(),k("label",{class:y([e(t).b(),e(t).is("disabled",e(c)),e(t).is("focus",e(n)),e(t).is("bordered",a.border),e(t).is("checked",e(d)===e(m)),e(t).m(e(o))])},[R("span",{class:y([e(t).e("input"),e(t).is("disabled",e(c)),e(t).is("checked",e(d)===e(m))])},[T(R("input",{ref_key:"radioRef",ref:v,"onUpdate:modelValue":i[0]||(i[0]=p=>K(d)?d.value=p:null),class:y(e(t).e("original")),value:e(m),name:a.name||((r=e(f))==null?void 0:r.name),disabled:e(c),checked:e(d)===e(m),type:"radio",onFocus:i[1]||(i[1]=p=>n.value=!0),onBlur:i[2]||(i[2]=p=>n.value=!1),onChange:u,onClick:i[3]||(i[3]=_(()=>{},["stop"]))},null,42,Ie),[[U,e(d)]]),R("span",{class:y(e(t).e("inner"))},null,2)],2),R("span",{class:y(e(t).e("label")),onKeydown:i[4]||(i[4]=_(()=>{},["stop"]))},[x(B.$slots,"default",{},()=>[M(O(a.label),1)])],34)],2)}}}),X=Ne;const xe=["value","name","disabled"];var ze=I({name:"ElRadioButton",__name:"radio-button",props:_e,setup(a){const g=a,s=N("radio"),{radioRef:l,focus:t,size:v,disabled:f,modelValue:n,radioGroup:o,actualValue:c}=W(g),d=b(()=>({backgroundColor:(o==null?void 0:o.fill)||"",borderColor:(o==null?void 0:o.fill)||"",boxShadow:o!=null&&o.fill?`-1px 0 0 0 ${o.fill}`:"",color:(o==null?void 0:o.textColor)||""}));return(m,u)=>{var B;return S(),k("label",{class:y([e(s).b("button"),e(s).is("active",e(n)===e(c)),e(s).is("disabled",e(f)),e(s).is("focus",e(t)),e(s).bm("button",e(v))])},[T(R("input",{ref_key:"radioRef",ref:l,"onUpdate:modelValue":u[0]||(u[0]=i=>K(n)?n.value=i:null),class:y(e(s).be("button","original-radio")),value:e(c),type:"radio",name:a.name||((B=e(o))==null?void 0:B.name),disabled:e(f),onFocus:u[1]||(u[1]=i=>t.value=!0),onBlur:u[2]||(u[2]=i=>t.value=!1),onClick:u[3]||(u[3]=_(()=>{},["stop"]))},null,42,xe),[[U,e(n)]]),R("span",{class:y(e(s).be("button","inner")),style:te(e(n)===e(c)?d.value:{}),onKeydown:u[4]||(u[4]=_(()=>{},["stop"]))},[x(m.$slots,"default",{},()=>[M(O(a.label),1)])],38)],2)}}}),$=ze;const $e=["id","aria-label","aria-labelledby"];var De=I({name:"ElRadioGroup",__name:"radio-group",props:Pe,emits:Ce,setup(a,{emit:g}){const s=a,l=g,t=N("radio"),v=Be(),f=C(),{formItem:n}=Ee(),{inputId:o,isLabeledByFormItem:c}=Re(s,{formItemContext:n}),d=r=>{l(G,r),j(()=>l(z,r))};oe(()=>{const r=f.value.querySelectorAll("[type=radio]"),p=r[0];!Array.from(r).some(E=>E.checked)&&p&&(p.tabIndex=0)});const m=b(()=>s.name||v.value),u=b(()=>({...Q,...s.props})),B=r=>{const{label:p,value:E,disabled:V}=u.value,ee={label:r[p],value:r[E],disabled:r[V]};return{...Ve(r,[p,E,V]),...ee}},i=b(()=>s.type==="button"?$:X);return se(Y,le({...ne(s),changeEvent:d,name:m})),re(()=>s.modelValue,(r,p)=>{s.validateEvent&&!me(r,p)&&(n==null||n.validate("change").catch(be))}),(r,p)=>(S(),k("div",{id:e(o),ref_key:"radioGroupRef",ref:f,class:y(e(t).b("group")),role:"radiogroup","aria-label":e(c)?void 0:a.ariaLabel||"radio-group","aria-labelledby":e(c)?e(n).labelId:void 0},[x(r.$slots,"default",{},()=>[(S(!0),k(ie,null,ue(a.options,(E,V)=>(S(),de(pe(i.value),ce({key:V},{ref_for:!0},B(E)),null,16))),128))])],10,$e))}}),Z=De;const Te=fe(X,{RadioButton:$,RadioGroup:Z}),Ue=q(Z),Ke=q($);export{Ue as E,Ke as a,Te as b}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-radio-group-DxV9SE4w.js +import{J as D,ak as F,k as h,b as P,aR as L,R as w,B as ae,j as b,y as C,cb as A,d as I,a as N,o as S,c as k,q as R,K as T,d9 as U,f as e,aL as _,n as y,aB as K,h as x,x as M,aa as O,P as j,al as te,G as oe,F as se,z as le,aV as ne,D as re,M as ie,ad as ue,e as de,Y as ce,r as pe,b6 as me,aU as be,ab as q,l as fe}from"./index-Ds9AETjS.js";import{C as z,U as G}from"./raf-zQ00nuMI.js";import{e as ve,c as ye,u as ge,f as Be,b as Ee,d as Re}from"./index-BNsCyG4A.js";import{u as Se}from"./index-BSbCLbaz.js";import{o as Ve}from"./omit-BzI1MV_K.js";const H=P({modelValue:{type:[String,Number,Boolean],default:void 0},size:L,disabled:{type:Boolean,default:void 0},label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),ke=P({...H,border:Boolean}),J={[G]:a=>D(a)||F(a)||h(a),[z]:a=>D(a)||F(a)||h(a)},Y=Symbol("radioGroupKey"),_e=P({...H}),Q={label:"label",value:"value",disabled:"disabled"},Pe=P({id:{type:String,default:void 0},size:L,disabled:{type:Boolean,default:void 0},modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},options:{type:w(Array)},props:{type:w(Object),default:()=>Q},type:{type:String,values:["radio","button"],default:"radio"},...Se(["ariaLabel"])}),Ce=J,W=(a,g)=>{const s=C(),l=ae(Y,void 0),t=b(()=>!!l),v=b(()=>A(a.value)?a.label:a.value),f=b({get(){return t.value?l.modelValue:a.modelValue},set(m){t.value?l.changeEvent(m):g&&g("update:modelValue",m),s.value.checked=a.modelValue===v.value}}),n=ve(b(()=>l==null?void 0:l.size)),o=ye(b(()=>l==null?void 0:l.disabled)),c=C(!1),d=b(()=>o.value||t.value&&f.value!==v.value?-1:0);return ge({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},b(()=>t.value&&A(a.value))),{radioRef:s,isGroup:t,radioGroup:l,focus:c,size:n,disabled:o,tabIndex:d,modelValue:f,actualValue:v}},Ie=["value","name","disabled","checked"];var Ne=I({name:"ElRadio",__name:"radio",props:ke,emits:J,setup(a,{emit:g}){const s=a,l=g,t=N("radio"),{radioRef:v,radioGroup:f,focus:n,size:o,disabled:c,modelValue:d,actualValue:m}=W(s,l);function u(){j(()=>l(z,d.value))}return(B,i)=>{var r;return S(),k("label",{class:y([e(t).b(),e(t).is("disabled",e(c)),e(t).is("focus",e(n)),e(t).is("bordered",a.border),e(t).is("checked",e(d)===e(m)),e(t).m(e(o))])},[R("span",{class:y([e(t).e("input"),e(t).is("disabled",e(c)),e(t).is("checked",e(d)===e(m))])},[T(R("input",{ref_key:"radioRef",ref:v,"onUpdate:modelValue":i[0]||(i[0]=p=>K(d)?d.value=p:null),class:y(e(t).e("original")),value:e(m),name:a.name||((r=e(f))==null?void 0:r.name),disabled:e(c),checked:e(d)===e(m),type:"radio",onFocus:i[1]||(i[1]=p=>n.value=!0),onBlur:i[2]||(i[2]=p=>n.value=!1),onChange:u,onClick:i[3]||(i[3]=_(()=>{},["stop"]))},null,42,Ie),[[U,e(d)]]),R("span",{class:y(e(t).e("inner"))},null,2)],2),R("span",{class:y(e(t).e("label")),onKeydown:i[4]||(i[4]=_(()=>{},["stop"]))},[x(B.$slots,"default",{},()=>[M(O(a.label),1)])],34)],2)}}}),X=Ne;const xe=["value","name","disabled"];var ze=I({name:"ElRadioButton",__name:"radio-button",props:_e,setup(a){const g=a,s=N("radio"),{radioRef:l,focus:t,size:v,disabled:f,modelValue:n,radioGroup:o,actualValue:c}=W(g),d=b(()=>({backgroundColor:(o==null?void 0:o.fill)||"",borderColor:(o==null?void 0:o.fill)||"",boxShadow:o!=null&&o.fill?`-1px 0 0 0 ${o.fill}`:"",color:(o==null?void 0:o.textColor)||""}));return(m,u)=>{var B;return S(),k("label",{class:y([e(s).b("button"),e(s).is("active",e(n)===e(c)),e(s).is("disabled",e(f)),e(s).is("focus",e(t)),e(s).bm("button",e(v))])},[T(R("input",{ref_key:"radioRef",ref:l,"onUpdate:modelValue":u[0]||(u[0]=i=>K(n)?n.value=i:null),class:y(e(s).be("button","original-radio")),value:e(c),type:"radio",name:a.name||((B=e(o))==null?void 0:B.name),disabled:e(f),onFocus:u[1]||(u[1]=i=>t.value=!0),onBlur:u[2]||(u[2]=i=>t.value=!1),onClick:u[3]||(u[3]=_(()=>{},["stop"]))},null,42,xe),[[U,e(n)]]),R("span",{class:y(e(s).be("button","inner")),style:te(e(n)===e(c)?d.value:{}),onKeydown:u[4]||(u[4]=_(()=>{},["stop"]))},[x(m.$slots,"default",{},()=>[M(O(a.label),1)])],38)],2)}}}),$=ze;const $e=["id","aria-label","aria-labelledby"];var De=I({name:"ElRadioGroup",__name:"radio-group",props:Pe,emits:Ce,setup(a,{emit:g}){const s=a,l=g,t=N("radio"),v=Be(),f=C(),{formItem:n}=Ee(),{inputId:o,isLabeledByFormItem:c}=Re(s,{formItemContext:n}),d=r=>{l(G,r),j(()=>l(z,r))};oe(()=>{const r=f.value.querySelectorAll("[type=radio]"),p=r[0];!Array.from(r).some(E=>E.checked)&&p&&(p.tabIndex=0)});const m=b(()=>s.name||v.value),u=b(()=>({...Q,...s.props})),B=r=>{const{label:p,value:E,disabled:V}=u.value,ee={label:r[p],value:r[E],disabled:r[V]};return{...Ve(r,[p,E,V]),...ee}},i=b(()=>s.type==="button"?$:X);return se(Y,le({...ne(s),changeEvent:d,name:m})),re(()=>s.modelValue,(r,p)=>{s.validateEvent&&!me(r,p)&&(n==null||n.validate("change").catch(be))}),(r,p)=>(S(),k("div",{id:e(o),ref_key:"radioGroupRef",ref:f,class:y(e(t).b("group")),role:"radiogroup","aria-label":e(c)?void 0:a.ariaLabel||"radio-group","aria-labelledby":e(c)?e(n).labelId:void 0},[x(r.$slots,"default",{},()=>[(S(!0),k(ie,null,ue(a.options,(E,V)=>(S(),de(pe(i.value),ce({key:V},{ref_for:!0},B(E)),null,16))),128))])],10,$e))}}),Z=De;const Te=fe(X,{RadioButton:$,RadioGroup:Z}),Ue=q(Z),Ke=q($);export{Ue as E,Ke as a,Te as b}; +======== +import{J as D,ak as F,k as h,b as P,aS as L,R as w,B as ae,j as b,y as C,cb as A,d as I,a as N,o as R,c as k,q as S,K as T,d9 as U,f as e,aL as _,n as y,aB as K,h as x,x as M,aa as O,P as j,al as te,G as oe,F as se,z as le,aV as ne,D as re,M as ie,ad as ue,e as de,Y as ce,r as pe,b6 as me,aU as be,ab as q,l as fe}from"./index-CxbBjZKo.js";import{C as z,U as G}from"./raf-Bjl8yy5U.js";import{e as ve,c as ye,u as ge,f as Be,b as Ee,d as Se}from"./index-D23K2h6y.js";import{u as Re}from"./index-DxP0p4ch.js";import{o as Ve}from"./omit-CbHF-OEy.js";const H=P({modelValue:{type:[String,Number,Boolean],default:void 0},size:L,disabled:{type:Boolean,default:void 0},label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),ke=P({...H,border:Boolean}),J={[G]:a=>D(a)||F(a)||h(a),[z]:a=>D(a)||F(a)||h(a)},Y=Symbol("radioGroupKey"),_e=P({...H}),Q={label:"label",value:"value",disabled:"disabled"},Pe=P({id:{type:String,default:void 0},size:L,disabled:{type:Boolean,default:void 0},modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},options:{type:w(Array)},props:{type:w(Object),default:()=>Q},type:{type:String,values:["radio","button"],default:"radio"},...Re(["ariaLabel"])}),Ce=J,W=(a,g)=>{const s=C(),l=ae(Y,void 0),t=b(()=>!!l),v=b(()=>A(a.value)?a.label:a.value),f=b({get(){return t.value?l.modelValue:a.modelValue},set(m){t.value?l.changeEvent(m):g&&g("update:modelValue",m),s.value.checked=a.modelValue===v.value}}),n=ve(b(()=>l==null?void 0:l.size)),o=ye(b(()=>l==null?void 0:l.disabled)),c=C(!1),d=b(()=>o.value||t.value&&f.value!==v.value?-1:0);return ge({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},b(()=>t.value&&A(a.value))),{radioRef:s,isGroup:t,radioGroup:l,focus:c,size:n,disabled:o,tabIndex:d,modelValue:f,actualValue:v}},Ie=["value","name","disabled","checked"];var Ne=I({name:"ElRadio",__name:"radio",props:ke,emits:J,setup(a,{emit:g}){const s=a,l=g,t=N("radio"),{radioRef:v,radioGroup:f,focus:n,size:o,disabled:c,modelValue:d,actualValue:m}=W(s,l);function u(){j(()=>l(z,d.value))}return(B,i)=>{var r;return R(),k("label",{class:y([e(t).b(),e(t).is("disabled",e(c)),e(t).is("focus",e(n)),e(t).is("bordered",a.border),e(t).is("checked",e(d)===e(m)),e(t).m(e(o))])},[S("span",{class:y([e(t).e("input"),e(t).is("disabled",e(c)),e(t).is("checked",e(d)===e(m))])},[T(S("input",{ref_key:"radioRef",ref:v,"onUpdate:modelValue":i[0]||(i[0]=p=>K(d)?d.value=p:null),class:y(e(t).e("original")),value:e(m),name:a.name||((r=e(f))==null?void 0:r.name),disabled:e(c),checked:e(d)===e(m),type:"radio",onFocus:i[1]||(i[1]=p=>n.value=!0),onBlur:i[2]||(i[2]=p=>n.value=!1),onChange:u,onClick:i[3]||(i[3]=_(()=>{},["stop"]))},null,42,Ie),[[U,e(d)]]),S("span",{class:y(e(t).e("inner"))},null,2)],2),S("span",{class:y(e(t).e("label")),onKeydown:i[4]||(i[4]=_(()=>{},["stop"]))},[x(B.$slots,"default",{},()=>[M(O(a.label),1)])],34)],2)}}}),X=Ne;const xe=["value","name","disabled"];var ze=I({name:"ElRadioButton",__name:"radio-button",props:_e,setup(a){const g=a,s=N("radio"),{radioRef:l,focus:t,size:v,disabled:f,modelValue:n,radioGroup:o,actualValue:c}=W(g),d=b(()=>({backgroundColor:(o==null?void 0:o.fill)||"",borderColor:(o==null?void 0:o.fill)||"",boxShadow:o!=null&&o.fill?`-1px 0 0 0 ${o.fill}`:"",color:(o==null?void 0:o.textColor)||""}));return(m,u)=>{var B;return R(),k("label",{class:y([e(s).b("button"),e(s).is("active",e(n)===e(c)),e(s).is("disabled",e(f)),e(s).is("focus",e(t)),e(s).bm("button",e(v))])},[T(S("input",{ref_key:"radioRef",ref:l,"onUpdate:modelValue":u[0]||(u[0]=i=>K(n)?n.value=i:null),class:y(e(s).be("button","original-radio")),value:e(c),type:"radio",name:a.name||((B=e(o))==null?void 0:B.name),disabled:e(f),onFocus:u[1]||(u[1]=i=>t.value=!0),onBlur:u[2]||(u[2]=i=>t.value=!1),onClick:u[3]||(u[3]=_(()=>{},["stop"]))},null,42,xe),[[U,e(n)]]),S("span",{class:y(e(s).be("button","inner")),style:te(e(n)===e(c)?d.value:{}),onKeydown:u[4]||(u[4]=_(()=>{},["stop"]))},[x(m.$slots,"default",{},()=>[M(O(a.label),1)])],38)],2)}}}),$=ze;const $e=["id","aria-label","aria-labelledby"];var De=I({name:"ElRadioGroup",__name:"radio-group",props:Pe,emits:Ce,setup(a,{emit:g}){const s=a,l=g,t=N("radio"),v=Be(),f=C(),{formItem:n}=Ee(),{inputId:o,isLabeledByFormItem:c}=Se(s,{formItemContext:n}),d=r=>{l(G,r),j(()=>l(z,r))};oe(()=>{const r=f.value.querySelectorAll("[type=radio]"),p=r[0];!Array.from(r).some(E=>E.checked)&&p&&(p.tabIndex=0)});const m=b(()=>s.name||v.value),u=b(()=>({...Q,...s.props})),B=r=>{const{label:p,value:E,disabled:V}=u.value,ee={label:r[p],value:r[E],disabled:r[V]};return{...Ve(r,[p,E,V]),...ee}},i=b(()=>s.type==="button"?$:X);return se(Y,le({...ne(s),changeEvent:d,name:m})),re(()=>s.modelValue,(r,p)=>{s.validateEvent&&!me(r,p)&&(n==null||n.validate("change").catch(be))}),(r,p)=>(R(),k("div",{id:e(o),ref_key:"radioGroupRef",ref:f,class:y(e(t).b("group")),role:"radiogroup","aria-label":e(c)?void 0:a.ariaLabel||"radio-group","aria-labelledby":e(c)?e(n).labelId:void 0},[x(r.$slots,"default",{},()=>[(R(!0),k(ie,null,ue(a.options,(E,V)=>(R(),de(pe(i.value),ce({key:V},{ref_for:!0},B(E)),null,16))),128))])],10,$e))}}),Z=De;const Te=fe(X,{RadioButton:$,RadioGroup:Z}),Ue=q(Z),Ke=q($);export{Ue as E,Ke as a,Te as b}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-radio-group-BJiEgTS_.js diff --git a/frontend/dist/assets/el-radio-group-BJiEgTS_.js b/frontend/dist/assets/el-radio-group-BJiEgTS_.js new file mode 100644 index 0000000..9e95140 --- /dev/null +++ b/frontend/dist/assets/el-radio-group-BJiEgTS_.js @@ -0,0 +1 @@ +import{J as D,ak as F,k as h,b as P,aS as L,R as w,B as ae,j as b,y as C,cb as A,d as I,a as N,o as R,c as k,q as S,K as T,d9 as U,f as e,aL as _,n as y,aB as K,h as x,x as M,aa as O,P as j,al as te,G as oe,F as se,z as le,aV as ne,D as re,M as ie,ad as ue,e as de,Y as ce,r as pe,b6 as me,aU as be,ab as q,l as fe}from"./index-CxbBjZKo.js";import{C as z,U as G}from"./raf-Bjl8yy5U.js";import{e as ve,c as ye,u as ge,f as Be,b as Ee,d as Se}from"./index-D23K2h6y.js";import{u as Re}from"./index-DxP0p4ch.js";import{o as Ve}from"./omit-CbHF-OEy.js";const H=P({modelValue:{type:[String,Number,Boolean],default:void 0},size:L,disabled:{type:Boolean,default:void 0},label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),ke=P({...H,border:Boolean}),J={[G]:a=>D(a)||F(a)||h(a),[z]:a=>D(a)||F(a)||h(a)},Y=Symbol("radioGroupKey"),_e=P({...H}),Q={label:"label",value:"value",disabled:"disabled"},Pe=P({id:{type:String,default:void 0},size:L,disabled:{type:Boolean,default:void 0},modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},options:{type:w(Array)},props:{type:w(Object),default:()=>Q},type:{type:String,values:["radio","button"],default:"radio"},...Re(["ariaLabel"])}),Ce=J,W=(a,g)=>{const s=C(),l=ae(Y,void 0),t=b(()=>!!l),v=b(()=>A(a.value)?a.label:a.value),f=b({get(){return t.value?l.modelValue:a.modelValue},set(m){t.value?l.changeEvent(m):g&&g("update:modelValue",m),s.value.checked=a.modelValue===v.value}}),n=ve(b(()=>l==null?void 0:l.size)),o=ye(b(()=>l==null?void 0:l.disabled)),c=C(!1),d=b(()=>o.value||t.value&&f.value!==v.value?-1:0);return ge({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},b(()=>t.value&&A(a.value))),{radioRef:s,isGroup:t,radioGroup:l,focus:c,size:n,disabled:o,tabIndex:d,modelValue:f,actualValue:v}},Ie=["value","name","disabled","checked"];var Ne=I({name:"ElRadio",__name:"radio",props:ke,emits:J,setup(a,{emit:g}){const s=a,l=g,t=N("radio"),{radioRef:v,radioGroup:f,focus:n,size:o,disabled:c,modelValue:d,actualValue:m}=W(s,l);function u(){j(()=>l(z,d.value))}return(B,i)=>{var r;return R(),k("label",{class:y([e(t).b(),e(t).is("disabled",e(c)),e(t).is("focus",e(n)),e(t).is("bordered",a.border),e(t).is("checked",e(d)===e(m)),e(t).m(e(o))])},[S("span",{class:y([e(t).e("input"),e(t).is("disabled",e(c)),e(t).is("checked",e(d)===e(m))])},[T(S("input",{ref_key:"radioRef",ref:v,"onUpdate:modelValue":i[0]||(i[0]=p=>K(d)?d.value=p:null),class:y(e(t).e("original")),value:e(m),name:a.name||((r=e(f))==null?void 0:r.name),disabled:e(c),checked:e(d)===e(m),type:"radio",onFocus:i[1]||(i[1]=p=>n.value=!0),onBlur:i[2]||(i[2]=p=>n.value=!1),onChange:u,onClick:i[3]||(i[3]=_(()=>{},["stop"]))},null,42,Ie),[[U,e(d)]]),S("span",{class:y(e(t).e("inner"))},null,2)],2),S("span",{class:y(e(t).e("label")),onKeydown:i[4]||(i[4]=_(()=>{},["stop"]))},[x(B.$slots,"default",{},()=>[M(O(a.label),1)])],34)],2)}}}),X=Ne;const xe=["value","name","disabled"];var ze=I({name:"ElRadioButton",__name:"radio-button",props:_e,setup(a){const g=a,s=N("radio"),{radioRef:l,focus:t,size:v,disabled:f,modelValue:n,radioGroup:o,actualValue:c}=W(g),d=b(()=>({backgroundColor:(o==null?void 0:o.fill)||"",borderColor:(o==null?void 0:o.fill)||"",boxShadow:o!=null&&o.fill?`-1px 0 0 0 ${o.fill}`:"",color:(o==null?void 0:o.textColor)||""}));return(m,u)=>{var B;return R(),k("label",{class:y([e(s).b("button"),e(s).is("active",e(n)===e(c)),e(s).is("disabled",e(f)),e(s).is("focus",e(t)),e(s).bm("button",e(v))])},[T(S("input",{ref_key:"radioRef",ref:l,"onUpdate:modelValue":u[0]||(u[0]=i=>K(n)?n.value=i:null),class:y(e(s).be("button","original-radio")),value:e(c),type:"radio",name:a.name||((B=e(o))==null?void 0:B.name),disabled:e(f),onFocus:u[1]||(u[1]=i=>t.value=!0),onBlur:u[2]||(u[2]=i=>t.value=!1),onClick:u[3]||(u[3]=_(()=>{},["stop"]))},null,42,xe),[[U,e(n)]]),S("span",{class:y(e(s).be("button","inner")),style:te(e(n)===e(c)?d.value:{}),onKeydown:u[4]||(u[4]=_(()=>{},["stop"]))},[x(m.$slots,"default",{},()=>[M(O(a.label),1)])],38)],2)}}}),$=ze;const $e=["id","aria-label","aria-labelledby"];var De=I({name:"ElRadioGroup",__name:"radio-group",props:Pe,emits:Ce,setup(a,{emit:g}){const s=a,l=g,t=N("radio"),v=Be(),f=C(),{formItem:n}=Ee(),{inputId:o,isLabeledByFormItem:c}=Se(s,{formItemContext:n}),d=r=>{l(G,r),j(()=>l(z,r))};oe(()=>{const r=f.value.querySelectorAll("[type=radio]"),p=r[0];!Array.from(r).some(E=>E.checked)&&p&&(p.tabIndex=0)});const m=b(()=>s.name||v.value),u=b(()=>({...Q,...s.props})),B=r=>{const{label:p,value:E,disabled:V}=u.value,ee={label:r[p],value:r[E],disabled:r[V]};return{...Ve(r,[p,E,V]),...ee}},i=b(()=>s.type==="button"?$:X);return se(Y,le({...ne(s),changeEvent:d,name:m})),re(()=>s.modelValue,(r,p)=>{s.validateEvent&&!me(r,p)&&(n==null||n.validate("change").catch(be))}),(r,p)=>(R(),k("div",{id:e(o),ref_key:"radioGroupRef",ref:f,class:y(e(t).b("group")),role:"radiogroup","aria-label":e(c)?void 0:a.ariaLabel||"radio-group","aria-labelledby":e(c)?e(n).labelId:void 0},[x(r.$slots,"default",{},()=>[(R(!0),k(ie,null,ue(a.options,(E,V)=>(R(),de(pe(i.value),ce({key:V},{ref_for:!0},B(E)),null,16))),128))])],10,$e))}}),Z=De;const Te=fe(X,{RadioButton:$,RadioGroup:Z}),Ue=q(Z),Ke=q($);export{Ue as E,Ke as a,Te as b}; diff --git a/frontend/dist/assets/el-scrollbar-B0E7ZTt3.js b/frontend/dist/assets/el-scrollbar-B0E7ZTt3.js new file mode 100644 index 0000000..d20c435 --- /dev/null +++ b/frontend/dist/assets/el-scrollbar-B0E7ZTt3.js @@ -0,0 +1 @@ +import{ak as C,b as I,R as Y,d as U,B as ae,a as le,C as re,H as ne,aT as D,a9 as q,o as B,e as K,w as oe,K as ie,q as j,aL as ce,n as P,f as N,al as $,L as ue,Z as fe,y as d,bt as ve,j as _,c as se,s as V,M as de,D as F,cQ as me,G as he,P as G,bz as pe,h as be,r as ge,g as ye,a3 as Se,aK as Q,am as Z,a7 as J,F as we,z as ze,l as Ee}from"./index-CxbBjZKo.js";import{u as xe}from"./index-DxP0p4ch.js";const Te=I({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:Y([String,Object,Array,Boolean]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:Y([String,Object,Array,Boolean]),default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...xe(["ariaLabel","ariaOrientation"])}),He={"end-reached":l=>["left","right","top","bottom"].includes(l),scroll:({scrollTop:l,scrollLeft:u})=>[l,u].every(C)},_e={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},Le=({move:l,size:u,bar:r})=>({[r.size]:u,transform:`translate${r.axis}(${l}%)`}),ke=I({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),X=Symbol("scrollbarContextKey");function ee(l,u,r=.03){return l-u>r}const Ce=I({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),Ne="Thumb";var Be=U({__name:"thumb",props:ke,setup(l){const u=l,r=ae(X),o=le("scrollbar");r||re(Ne,"can not inject scrollbar context");const m=d(),f=d(),y=d({}),g=d(!1);let h=!1,i=!1,p=0,v=0,s=ve?document.onselectstart:null;const e=_(()=>_e[u.vertical?"vertical":"horizontal"]),t=_(()=>Le({size:u.size,move:u.move,bar:e.value})),w=_(()=>m.value[e.value.offset]**2/r.wrapElement[e.value.scrollSize]/u.ratio/f.value[e.value.offset]),S=c=>{var T;if(c.stopPropagation(),c.ctrlKey||[1,2].includes(c.button))return;(T=window.getSelection())==null||T.removeAllRanges(),x(c);const b=c.currentTarget;b&&(y.value[e.value.axis]=b[e.value.offset]-(c[e.value.client]-b.getBoundingClientRect()[e.value.direction]))},E=c=>{if(!f.value||!m.value||!r.wrapElement)return;const b=(Math.abs(c.target.getBoundingClientRect()[e.value.direction]-c[e.value.client])-f.value[e.value.offset]/2)*100*w.value/m.value[e.value.offset];r.wrapElement[e.value.scroll]=b*r.wrapElement[e.value.scrollSize]/100},x=c=>{c.stopImmediatePropagation(),h=!0,p=r.wrapElement.scrollHeight,v=r.wrapElement.scrollWidth,document.addEventListener("mousemove",R),document.addEventListener("mouseup",L),s=document.onselectstart,document.onselectstart=()=>!1},R=c=>{if(!m.value||!f.value||h===!1)return;const b=y.value[e.value.axis];if(!b)return;const T=((m.value.getBoundingClientRect()[e.value.direction]-c[e.value.client])*-1-(f.value[e.value.offset]-b))*100*w.value/m.value[e.value.offset];e.value.scroll==="scrollLeft"?r.wrapElement[e.value.scroll]=T*v/100:r.wrapElement[e.value.scroll]=T*p/100},L=()=>{h=!1,y.value[e.value.axis]=0,document.removeEventListener("mousemove",R),document.removeEventListener("mouseup",L),k(),i&&(g.value=!1)},A=()=>{i=!1,g.value=!!u.size},W=()=>{i=!0,g.value=h};ne(()=>{k(),document.removeEventListener("mouseup",L)});const k=()=>{document.onselectstart!==s&&(document.onselectstart=s)};return D(q(r,"scrollbarElement"),"mousemove",A),D(q(r,"scrollbarElement"),"mouseleave",W),(c,b)=>(B(),K(fe,{name:N(o).b("fade"),persisted:""},{default:oe(()=>[ie(j("div",{ref_key:"instance",ref:m,class:P([N(o).e("bar"),N(o).is(e.value.key)]),onMousedown:E,onClick:b[0]||(b[0]=ce(()=>{},["stop"]))},[j("div",{ref_key:"thumb",ref:f,class:P(N(o).e("thumb")),style:$(t.value),onMousedown:S},null,38)],34),[[ue,l.always||g.value]])]),_:1},8,["name"]))}}),te=Be,Pe=U({__name:"bar",props:Ce,setup(l,{expose:u}){const r=l,o=ae(X),m=d(0),f=d(0),y=d(""),g=d(""),h=d(1),i=d(1);return u({handleScroll:s=>{if(s){const e=s.offsetHeight-4,t=s.offsetWidth-4;f.value=s.scrollTop*100/e*h.value,m.value=s.scrollLeft*100/t*i.value}},update:()=>{const s=o==null?void 0:o.wrapElement;if(!s)return;const e=s.offsetHeight-4,t=s.offsetWidth-4,w=e**2/s.scrollHeight,S=t**2/s.scrollWidth,E=Math.max(w,r.minSize),x=Math.max(S,r.minSize);h.value=w/(e-w)/(E/(e-E)),i.value=S/(t-S)/(x/(t-x)),g.value=E+4(B(),se(de,null,[V(te,{move:m.value,ratio:i.value,size:y.value,always:l.always},null,8,["move","ratio","size","always"]),V(te,{move:f.value,ratio:h.value,size:g.value,vertical:"",always:l.always},null,8,["move","ratio","size","always"])],64))}}),Re=Pe;const Me=["tabindex"],O="ElScrollbar";var Ae=U({name:O,__name:"scrollbar",props:Te,emits:He,setup(l,{expose:u,emit:r}){const o=l,m=r,f=le("scrollbar");let y,g,h,i=0,p=0,v="";const s={bottom:!1,top:!1,right:!1,left:!1},e=d(),t=d(),w=d(),S=d(),E=_(()=>{const a={},n=Z(o.height),z=Z(o.maxHeight);return n&&(a.height=n),z&&(a.maxHeight=z),[o.wrapStyle,a]}),x=_(()=>[o.wrapClass,f.e("wrap"),{[f.em("wrap","hidden-default")]:!o.native}]),R=_(()=>[f.e("view"),o.viewClass]),L=a=>s[a]??!1,A={top:"bottom",bottom:"top",left:"right",right:"left"},W=a=>{const n=A[v];if(!n)return;const z=a[v],M=a[n];z&&!s[v]&&(s[v]=!0),!M&&s[n]&&(s[n]=!1)},k=()=>{var a;if(t.value){(a=S.value)==null||a.handleScroll(t.value);const n=i,z=p;i=t.value.scrollTop,p=t.value.scrollLeft;const M={bottom:!ee(t.value.scrollHeight-o.distance,t.value.clientHeight+i),top:i<=o.distance&&n!==0,right:!ee(t.value.scrollWidth-o.distance,t.value.clientWidth+p)&&z!==p,left:p<=o.distance&&z!==0};if(m("scroll",{scrollTop:i,scrollLeft:p}),n!==i&&(v=i>n?"bottom":"top"),z!==p&&(v=p>z?"right":"left"),o.distance>0){if(L(v))return;W(M)}M[v]&&m("end-reached",v)}};function c(a,n){Se(a)?t.value.scrollTo(a):C(a)&&C(n)&&t.value.scrollTo(a,n)}const b=a=>{if(!C(a)){Q(O,"value must be a number");return}t.value.scrollTop=a},T=a=>{if(!C(a)){Q(O,"value must be a number");return}t.value.scrollLeft=a},H=()=>{var a,n;(a=S.value)==null||a.update(),s[v]=!1,t.value&&((n=S.value)==null||n.handleScroll(t.value))};return F(()=>o.noresize,a=>{a?(y==null||y(),g==null||g(),h==null||h()):({stop:y}=J(w,H),{stop:g}=J(t,H),h=D("resize",H))},{immediate:!0}),F(()=>[o.maxHeight,o.height],()=>{o.native||G(()=>{H()})}),we(X,ze({scrollbarElement:e,wrapElement:t})),me(()=>{t.value&&(t.value.scrollTop=i,t.value.scrollLeft=p)}),he(()=>{o.native||G(()=>{H()})}),pe(()=>H()),u({wrapRef:t,update:H,scrollTo:c,setScrollTop:b,setScrollLeft:T,handleScroll:k}),(a,n)=>(B(),se("div",{ref_key:"scrollbarRef",ref:e,class:P(N(f).b())},[j("div",{ref_key:"wrapRef",ref:t,class:P(x.value),style:$(E.value),tabindex:l.tabindex,onScroll:k},[(B(),K(ge(l.tag),{id:l.id,ref_key:"resizeRef",ref:w,class:P(R.value),style:$(l.viewStyle),role:l.role,"aria-label":l.ariaLabel,"aria-orientation":l.ariaOrientation},{default:oe(()=>[be(a.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,Me),l.native?ye("v-if",!0):(B(),K(Re,{key:0,ref_key:"barRef",ref:S,always:l.always,"min-size":l.minSize},null,8,["always","min-size"]))],2))}}),We=Ae;const Ke=Ee(We);export{Ke as E,ee as i,He as s}; diff --git a/frontend/dist/assets/el-scrollbar-YCRG1835.js b/frontend/dist/assets/el-scrollbar-YCRG1835.js index fd22417..5674661 100644 --- a/frontend/dist/assets/el-scrollbar-YCRG1835.js +++ b/frontend/dist/assets/el-scrollbar-YCRG1835.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-scrollbar-YCRG1835.js import{ak as C,b as I,R as Y,d as U,B as ae,a as le,C as re,H as ne,aS as D,a9 as q,o as B,e as K,w as oe,K as ie,q as j,aL as ce,n as P,f as N,al as $,L as ue,Z as fe,y as d,bt as ve,j as _,c as se,s as V,M as de,D as F,cQ as me,G as he,P as G,bz as pe,h as be,r as ge,g as ye,a3 as Se,aK as Q,am as Z,a7 as J,F as we,z as ze,l as Ee}from"./index-CD29OCdJ.js";import{u as xe}from"./index-DpY84JwG.js";const He=I({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:Y([String,Object,Array,Boolean]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:Y([String,Object,Array,Boolean]),default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...xe(["ariaLabel","ariaOrientation"])}),Te={"end-reached":l=>["left","right","top","bottom"].includes(l),scroll:({scrollTop:l,scrollLeft:u})=>[l,u].every(C)},_e={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},Le=({move:l,size:u,bar:r})=>({[r.size]:u,transform:`translate${r.axis}(${l}%)`}),ke=I({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),X=Symbol("scrollbarContextKey");function ee(l,u,r=.03){return l-u>r}const Ce=I({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),Ne="Thumb";var Be=U({__name:"thumb",props:ke,setup(l){const u=l,r=ae(X),o=le("scrollbar");r||re(Ne,"can not inject scrollbar context");const m=d(),f=d(),y=d({}),g=d(!1);let h=!1,i=!1,p=0,v=0,s=ve?document.onselectstart:null;const e=_(()=>_e[u.vertical?"vertical":"horizontal"]),t=_(()=>Le({size:u.size,move:u.move,bar:e.value})),w=_(()=>m.value[e.value.offset]**2/r.wrapElement[e.value.scrollSize]/u.ratio/f.value[e.value.offset]),S=c=>{var H;if(c.stopPropagation(),c.ctrlKey||[1,2].includes(c.button))return;(H=window.getSelection())==null||H.removeAllRanges(),x(c);const b=c.currentTarget;b&&(y.value[e.value.axis]=b[e.value.offset]-(c[e.value.client]-b.getBoundingClientRect()[e.value.direction]))},E=c=>{if(!f.value||!m.value||!r.wrapElement)return;const b=(Math.abs(c.target.getBoundingClientRect()[e.value.direction]-c[e.value.client])-f.value[e.value.offset]/2)*100*w.value/m.value[e.value.offset];r.wrapElement[e.value.scroll]=b*r.wrapElement[e.value.scrollSize]/100},x=c=>{c.stopImmediatePropagation(),h=!0,p=r.wrapElement.scrollHeight,v=r.wrapElement.scrollWidth,document.addEventListener("mousemove",R),document.addEventListener("mouseup",L),s=document.onselectstart,document.onselectstart=()=>!1},R=c=>{if(!m.value||!f.value||h===!1)return;const b=y.value[e.value.axis];if(!b)return;const H=((m.value.getBoundingClientRect()[e.value.direction]-c[e.value.client])*-1-(f.value[e.value.offset]-b))*100*w.value/m.value[e.value.offset];e.value.scroll==="scrollLeft"?r.wrapElement[e.value.scroll]=H*v/100:r.wrapElement[e.value.scroll]=H*p/100},L=()=>{h=!1,y.value[e.value.axis]=0,document.removeEventListener("mousemove",R),document.removeEventListener("mouseup",L),k(),i&&(g.value=!1)},A=()=>{i=!1,g.value=!!u.size},W=()=>{i=!0,g.value=h};ne(()=>{k(),document.removeEventListener("mouseup",L)});const k=()=>{document.onselectstart!==s&&(document.onselectstart=s)};return D(q(r,"scrollbarElement"),"mousemove",A),D(q(r,"scrollbarElement"),"mouseleave",W),(c,b)=>(B(),K(fe,{name:N(o).b("fade"),persisted:""},{default:oe(()=>[ie(j("div",{ref_key:"instance",ref:m,class:P([N(o).e("bar"),N(o).is(e.value.key)]),onMousedown:E,onClick:b[0]||(b[0]=ce(()=>{},["stop"]))},[j("div",{ref_key:"thumb",ref:f,class:P(N(o).e("thumb")),style:$(t.value),onMousedown:S},null,38)],34),[[ue,l.always||g.value]])]),_:1},8,["name"]))}}),te=Be,Pe=U({__name:"bar",props:Ce,setup(l,{expose:u}){const r=l,o=ae(X),m=d(0),f=d(0),y=d(""),g=d(""),h=d(1),i=d(1);return u({handleScroll:s=>{if(s){const e=s.offsetHeight-4,t=s.offsetWidth-4;f.value=s.scrollTop*100/e*h.value,m.value=s.scrollLeft*100/t*i.value}},update:()=>{const s=o==null?void 0:o.wrapElement;if(!s)return;const e=s.offsetHeight-4,t=s.offsetWidth-4,w=e**2/s.scrollHeight,S=t**2/s.scrollWidth,E=Math.max(w,r.minSize),x=Math.max(S,r.minSize);h.value=w/(e-w)/(E/(e-E)),i.value=S/(t-S)/(x/(t-x)),g.value=E+4(B(),se(de,null,[V(te,{move:m.value,ratio:i.value,size:y.value,always:l.always},null,8,["move","ratio","size","always"]),V(te,{move:f.value,ratio:h.value,size:g.value,vertical:"",always:l.always},null,8,["move","ratio","size","always"])],64))}}),Re=Pe;const Me=["tabindex"],O="ElScrollbar";var Ae=U({name:O,__name:"scrollbar",props:He,emits:Te,setup(l,{expose:u,emit:r}){const o=l,m=r,f=le("scrollbar");let y,g,h,i=0,p=0,v="";const s={bottom:!1,top:!1,right:!1,left:!1},e=d(),t=d(),w=d(),S=d(),E=_(()=>{const a={},n=Z(o.height),z=Z(o.maxHeight);return n&&(a.height=n),z&&(a.maxHeight=z),[o.wrapStyle,a]}),x=_(()=>[o.wrapClass,f.e("wrap"),{[f.em("wrap","hidden-default")]:!o.native}]),R=_(()=>[f.e("view"),o.viewClass]),L=a=>s[a]??!1,A={top:"bottom",bottom:"top",left:"right",right:"left"},W=a=>{const n=A[v];if(!n)return;const z=a[v],M=a[n];z&&!s[v]&&(s[v]=!0),!M&&s[n]&&(s[n]=!1)},k=()=>{var a;if(t.value){(a=S.value)==null||a.handleScroll(t.value);const n=i,z=p;i=t.value.scrollTop,p=t.value.scrollLeft;const M={bottom:!ee(t.value.scrollHeight-o.distance,t.value.clientHeight+i),top:i<=o.distance&&n!==0,right:!ee(t.value.scrollWidth-o.distance,t.value.clientWidth+p)&&z!==p,left:p<=o.distance&&z!==0};if(m("scroll",{scrollTop:i,scrollLeft:p}),n!==i&&(v=i>n?"bottom":"top"),z!==p&&(v=p>z?"right":"left"),o.distance>0){if(L(v))return;W(M)}M[v]&&m("end-reached",v)}};function c(a,n){Se(a)?t.value.scrollTo(a):C(a)&&C(n)&&t.value.scrollTo(a,n)}const b=a=>{if(!C(a)){Q(O,"value must be a number");return}t.value.scrollTop=a},H=a=>{if(!C(a)){Q(O,"value must be a number");return}t.value.scrollLeft=a},T=()=>{var a,n;(a=S.value)==null||a.update(),s[v]=!1,t.value&&((n=S.value)==null||n.handleScroll(t.value))};return F(()=>o.noresize,a=>{a?(y==null||y(),g==null||g(),h==null||h()):({stop:y}=J(w,T),{stop:g}=J(t,T),h=D("resize",T))},{immediate:!0}),F(()=>[o.maxHeight,o.height],()=>{o.native||G(()=>{T()})}),we(X,ze({scrollbarElement:e,wrapElement:t})),me(()=>{t.value&&(t.value.scrollTop=i,t.value.scrollLeft=p)}),he(()=>{o.native||G(()=>{T()})}),pe(()=>T()),u({wrapRef:t,update:T,scrollTo:c,setScrollTop:b,setScrollLeft:H,handleScroll:k}),(a,n)=>(B(),se("div",{ref_key:"scrollbarRef",ref:e,class:P(N(f).b())},[j("div",{ref_key:"wrapRef",ref:t,class:P(x.value),style:$(E.value),tabindex:l.tabindex,onScroll:k},[(B(),K(ge(l.tag),{id:l.id,ref_key:"resizeRef",ref:w,class:P(R.value),style:$(l.viewStyle),role:l.role,"aria-label":l.ariaLabel,"aria-orientation":l.ariaOrientation},{default:oe(()=>[be(a.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,Me),l.native?ye("v-if",!0):(B(),K(Re,{key:0,ref_key:"barRef",ref:S,always:l.always,"min-size":l.minSize},null,8,["always","min-size"]))],2))}}),We=Ae;const Ke=Ee(We);export{Ke as E,ee as i,Te as s}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-scrollbar-CF42LNzg.js +import{ak as C,b as I,R as Y,d as U,B as ae,a as le,C as re,H as ne,aS as D,a9 as q,o as B,e as K,w as oe,K as ie,q as j,aL as ce,n as P,f as N,al as $,L as ue,Z as fe,y as d,bt as ve,j as _,c as se,s as V,M as de,D as F,cQ as me,G as he,P as G,bz as pe,h as be,r as ge,g as ye,a3 as Se,aK as Q,am as Z,a7 as J,F as we,z as ze,l as Ee}from"./index-Ds9AETjS.js";import{u as xe}from"./index-BSbCLbaz.js";const He=I({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:Y([String,Object,Array,Boolean]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:Y([String,Object,Array,Boolean]),default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...xe(["ariaLabel","ariaOrientation"])}),Te={"end-reached":l=>["left","right","top","bottom"].includes(l),scroll:({scrollTop:l,scrollLeft:u})=>[l,u].every(C)},_e={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},Le=({move:l,size:u,bar:r})=>({[r.size]:u,transform:`translate${r.axis}(${l}%)`}),ke=I({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),X=Symbol("scrollbarContextKey");function ee(l,u,r=.03){return l-u>r}const Ce=I({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),Ne="Thumb";var Be=U({__name:"thumb",props:ke,setup(l){const u=l,r=ae(X),o=le("scrollbar");r||re(Ne,"can not inject scrollbar context");const m=d(),f=d(),y=d({}),g=d(!1);let h=!1,i=!1,p=0,v=0,s=ve?document.onselectstart:null;const e=_(()=>_e[u.vertical?"vertical":"horizontal"]),t=_(()=>Le({size:u.size,move:u.move,bar:e.value})),w=_(()=>m.value[e.value.offset]**2/r.wrapElement[e.value.scrollSize]/u.ratio/f.value[e.value.offset]),S=c=>{var H;if(c.stopPropagation(),c.ctrlKey||[1,2].includes(c.button))return;(H=window.getSelection())==null||H.removeAllRanges(),x(c);const b=c.currentTarget;b&&(y.value[e.value.axis]=b[e.value.offset]-(c[e.value.client]-b.getBoundingClientRect()[e.value.direction]))},E=c=>{if(!f.value||!m.value||!r.wrapElement)return;const b=(Math.abs(c.target.getBoundingClientRect()[e.value.direction]-c[e.value.client])-f.value[e.value.offset]/2)*100*w.value/m.value[e.value.offset];r.wrapElement[e.value.scroll]=b*r.wrapElement[e.value.scrollSize]/100},x=c=>{c.stopImmediatePropagation(),h=!0,p=r.wrapElement.scrollHeight,v=r.wrapElement.scrollWidth,document.addEventListener("mousemove",R),document.addEventListener("mouseup",L),s=document.onselectstart,document.onselectstart=()=>!1},R=c=>{if(!m.value||!f.value||h===!1)return;const b=y.value[e.value.axis];if(!b)return;const H=((m.value.getBoundingClientRect()[e.value.direction]-c[e.value.client])*-1-(f.value[e.value.offset]-b))*100*w.value/m.value[e.value.offset];e.value.scroll==="scrollLeft"?r.wrapElement[e.value.scroll]=H*v/100:r.wrapElement[e.value.scroll]=H*p/100},L=()=>{h=!1,y.value[e.value.axis]=0,document.removeEventListener("mousemove",R),document.removeEventListener("mouseup",L),k(),i&&(g.value=!1)},A=()=>{i=!1,g.value=!!u.size},W=()=>{i=!0,g.value=h};ne(()=>{k(),document.removeEventListener("mouseup",L)});const k=()=>{document.onselectstart!==s&&(document.onselectstart=s)};return D(q(r,"scrollbarElement"),"mousemove",A),D(q(r,"scrollbarElement"),"mouseleave",W),(c,b)=>(B(),K(fe,{name:N(o).b("fade"),persisted:""},{default:oe(()=>[ie(j("div",{ref_key:"instance",ref:m,class:P([N(o).e("bar"),N(o).is(e.value.key)]),onMousedown:E,onClick:b[0]||(b[0]=ce(()=>{},["stop"]))},[j("div",{ref_key:"thumb",ref:f,class:P(N(o).e("thumb")),style:$(t.value),onMousedown:S},null,38)],34),[[ue,l.always||g.value]])]),_:1},8,["name"]))}}),te=Be,Pe=U({__name:"bar",props:Ce,setup(l,{expose:u}){const r=l,o=ae(X),m=d(0),f=d(0),y=d(""),g=d(""),h=d(1),i=d(1);return u({handleScroll:s=>{if(s){const e=s.offsetHeight-4,t=s.offsetWidth-4;f.value=s.scrollTop*100/e*h.value,m.value=s.scrollLeft*100/t*i.value}},update:()=>{const s=o==null?void 0:o.wrapElement;if(!s)return;const e=s.offsetHeight-4,t=s.offsetWidth-4,w=e**2/s.scrollHeight,S=t**2/s.scrollWidth,E=Math.max(w,r.minSize),x=Math.max(S,r.minSize);h.value=w/(e-w)/(E/(e-E)),i.value=S/(t-S)/(x/(t-x)),g.value=E+4(B(),se(de,null,[V(te,{move:m.value,ratio:i.value,size:y.value,always:l.always},null,8,["move","ratio","size","always"]),V(te,{move:f.value,ratio:h.value,size:g.value,vertical:"",always:l.always},null,8,["move","ratio","size","always"])],64))}}),Re=Pe;const Me=["tabindex"],O="ElScrollbar";var Ae=U({name:O,__name:"scrollbar",props:He,emits:Te,setup(l,{expose:u,emit:r}){const o=l,m=r,f=le("scrollbar");let y,g,h,i=0,p=0,v="";const s={bottom:!1,top:!1,right:!1,left:!1},e=d(),t=d(),w=d(),S=d(),E=_(()=>{const a={},n=Z(o.height),z=Z(o.maxHeight);return n&&(a.height=n),z&&(a.maxHeight=z),[o.wrapStyle,a]}),x=_(()=>[o.wrapClass,f.e("wrap"),{[f.em("wrap","hidden-default")]:!o.native}]),R=_(()=>[f.e("view"),o.viewClass]),L=a=>s[a]??!1,A={top:"bottom",bottom:"top",left:"right",right:"left"},W=a=>{const n=A[v];if(!n)return;const z=a[v],M=a[n];z&&!s[v]&&(s[v]=!0),!M&&s[n]&&(s[n]=!1)},k=()=>{var a;if(t.value){(a=S.value)==null||a.handleScroll(t.value);const n=i,z=p;i=t.value.scrollTop,p=t.value.scrollLeft;const M={bottom:!ee(t.value.scrollHeight-o.distance,t.value.clientHeight+i),top:i<=o.distance&&n!==0,right:!ee(t.value.scrollWidth-o.distance,t.value.clientWidth+p)&&z!==p,left:p<=o.distance&&z!==0};if(m("scroll",{scrollTop:i,scrollLeft:p}),n!==i&&(v=i>n?"bottom":"top"),z!==p&&(v=p>z?"right":"left"),o.distance>0){if(L(v))return;W(M)}M[v]&&m("end-reached",v)}};function c(a,n){Se(a)?t.value.scrollTo(a):C(a)&&C(n)&&t.value.scrollTo(a,n)}const b=a=>{if(!C(a)){Q(O,"value must be a number");return}t.value.scrollTop=a},H=a=>{if(!C(a)){Q(O,"value must be a number");return}t.value.scrollLeft=a},T=()=>{var a,n;(a=S.value)==null||a.update(),s[v]=!1,t.value&&((n=S.value)==null||n.handleScroll(t.value))};return F(()=>o.noresize,a=>{a?(y==null||y(),g==null||g(),h==null||h()):({stop:y}=J(w,T),{stop:g}=J(t,T),h=D("resize",T))},{immediate:!0}),F(()=>[o.maxHeight,o.height],()=>{o.native||G(()=>{T()})}),we(X,ze({scrollbarElement:e,wrapElement:t})),me(()=>{t.value&&(t.value.scrollTop=i,t.value.scrollLeft=p)}),he(()=>{o.native||G(()=>{T()})}),pe(()=>T()),u({wrapRef:t,update:T,scrollTo:c,setScrollTop:b,setScrollLeft:H,handleScroll:k}),(a,n)=>(B(),se("div",{ref_key:"scrollbarRef",ref:e,class:P(N(f).b())},[j("div",{ref_key:"wrapRef",ref:t,class:P(x.value),style:$(E.value),tabindex:l.tabindex,onScroll:k},[(B(),K(ge(l.tag),{id:l.id,ref_key:"resizeRef",ref:w,class:P(R.value),style:$(l.viewStyle),role:l.role,"aria-label":l.ariaLabel,"aria-orientation":l.ariaOrientation},{default:oe(()=>[be(a.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,Me),l.native?ye("v-if",!0):(B(),K(Re,{key:0,ref_key:"barRef",ref:S,always:l.always,"min-size":l.minSize},null,8,["always","min-size"]))],2))}}),We=Ae;const Ke=Ee(We);export{Ke as E,ee as i,Te as s}; +======== +import{ak as C,b as I,R as Y,d as U,B as ae,a as le,C as re,H as ne,aT as D,a9 as q,o as B,e as K,w as oe,K as ie,q as j,aL as ce,n as P,f as N,al as $,L as ue,Z as fe,y as d,bt as ve,j as _,c as se,s as V,M as de,D as F,cQ as me,G as he,P as G,bz as pe,h as be,r as ge,g as ye,a3 as Se,aK as Q,am as Z,a7 as J,F as we,z as ze,l as Ee}from"./index-CxbBjZKo.js";import{u as xe}from"./index-DxP0p4ch.js";const Te=I({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:Y([String,Object,Array,Boolean]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:Y([String,Object,Array,Boolean]),default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...xe(["ariaLabel","ariaOrientation"])}),He={"end-reached":l=>["left","right","top","bottom"].includes(l),scroll:({scrollTop:l,scrollLeft:u})=>[l,u].every(C)},_e={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},Le=({move:l,size:u,bar:r})=>({[r.size]:u,transform:`translate${r.axis}(${l}%)`}),ke=I({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),X=Symbol("scrollbarContextKey");function ee(l,u,r=.03){return l-u>r}const Ce=I({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),Ne="Thumb";var Be=U({__name:"thumb",props:ke,setup(l){const u=l,r=ae(X),o=le("scrollbar");r||re(Ne,"can not inject scrollbar context");const m=d(),f=d(),y=d({}),g=d(!1);let h=!1,i=!1,p=0,v=0,s=ve?document.onselectstart:null;const e=_(()=>_e[u.vertical?"vertical":"horizontal"]),t=_(()=>Le({size:u.size,move:u.move,bar:e.value})),w=_(()=>m.value[e.value.offset]**2/r.wrapElement[e.value.scrollSize]/u.ratio/f.value[e.value.offset]),S=c=>{var T;if(c.stopPropagation(),c.ctrlKey||[1,2].includes(c.button))return;(T=window.getSelection())==null||T.removeAllRanges(),x(c);const b=c.currentTarget;b&&(y.value[e.value.axis]=b[e.value.offset]-(c[e.value.client]-b.getBoundingClientRect()[e.value.direction]))},E=c=>{if(!f.value||!m.value||!r.wrapElement)return;const b=(Math.abs(c.target.getBoundingClientRect()[e.value.direction]-c[e.value.client])-f.value[e.value.offset]/2)*100*w.value/m.value[e.value.offset];r.wrapElement[e.value.scroll]=b*r.wrapElement[e.value.scrollSize]/100},x=c=>{c.stopImmediatePropagation(),h=!0,p=r.wrapElement.scrollHeight,v=r.wrapElement.scrollWidth,document.addEventListener("mousemove",R),document.addEventListener("mouseup",L),s=document.onselectstart,document.onselectstart=()=>!1},R=c=>{if(!m.value||!f.value||h===!1)return;const b=y.value[e.value.axis];if(!b)return;const T=((m.value.getBoundingClientRect()[e.value.direction]-c[e.value.client])*-1-(f.value[e.value.offset]-b))*100*w.value/m.value[e.value.offset];e.value.scroll==="scrollLeft"?r.wrapElement[e.value.scroll]=T*v/100:r.wrapElement[e.value.scroll]=T*p/100},L=()=>{h=!1,y.value[e.value.axis]=0,document.removeEventListener("mousemove",R),document.removeEventListener("mouseup",L),k(),i&&(g.value=!1)},A=()=>{i=!1,g.value=!!u.size},W=()=>{i=!0,g.value=h};ne(()=>{k(),document.removeEventListener("mouseup",L)});const k=()=>{document.onselectstart!==s&&(document.onselectstart=s)};return D(q(r,"scrollbarElement"),"mousemove",A),D(q(r,"scrollbarElement"),"mouseleave",W),(c,b)=>(B(),K(fe,{name:N(o).b("fade"),persisted:""},{default:oe(()=>[ie(j("div",{ref_key:"instance",ref:m,class:P([N(o).e("bar"),N(o).is(e.value.key)]),onMousedown:E,onClick:b[0]||(b[0]=ce(()=>{},["stop"]))},[j("div",{ref_key:"thumb",ref:f,class:P(N(o).e("thumb")),style:$(t.value),onMousedown:S},null,38)],34),[[ue,l.always||g.value]])]),_:1},8,["name"]))}}),te=Be,Pe=U({__name:"bar",props:Ce,setup(l,{expose:u}){const r=l,o=ae(X),m=d(0),f=d(0),y=d(""),g=d(""),h=d(1),i=d(1);return u({handleScroll:s=>{if(s){const e=s.offsetHeight-4,t=s.offsetWidth-4;f.value=s.scrollTop*100/e*h.value,m.value=s.scrollLeft*100/t*i.value}},update:()=>{const s=o==null?void 0:o.wrapElement;if(!s)return;const e=s.offsetHeight-4,t=s.offsetWidth-4,w=e**2/s.scrollHeight,S=t**2/s.scrollWidth,E=Math.max(w,r.minSize),x=Math.max(S,r.minSize);h.value=w/(e-w)/(E/(e-E)),i.value=S/(t-S)/(x/(t-x)),g.value=E+4(B(),se(de,null,[V(te,{move:m.value,ratio:i.value,size:y.value,always:l.always},null,8,["move","ratio","size","always"]),V(te,{move:f.value,ratio:h.value,size:g.value,vertical:"",always:l.always},null,8,["move","ratio","size","always"])],64))}}),Re=Pe;const Me=["tabindex"],O="ElScrollbar";var Ae=U({name:O,__name:"scrollbar",props:Te,emits:He,setup(l,{expose:u,emit:r}){const o=l,m=r,f=le("scrollbar");let y,g,h,i=0,p=0,v="";const s={bottom:!1,top:!1,right:!1,left:!1},e=d(),t=d(),w=d(),S=d(),E=_(()=>{const a={},n=Z(o.height),z=Z(o.maxHeight);return n&&(a.height=n),z&&(a.maxHeight=z),[o.wrapStyle,a]}),x=_(()=>[o.wrapClass,f.e("wrap"),{[f.em("wrap","hidden-default")]:!o.native}]),R=_(()=>[f.e("view"),o.viewClass]),L=a=>s[a]??!1,A={top:"bottom",bottom:"top",left:"right",right:"left"},W=a=>{const n=A[v];if(!n)return;const z=a[v],M=a[n];z&&!s[v]&&(s[v]=!0),!M&&s[n]&&(s[n]=!1)},k=()=>{var a;if(t.value){(a=S.value)==null||a.handleScroll(t.value);const n=i,z=p;i=t.value.scrollTop,p=t.value.scrollLeft;const M={bottom:!ee(t.value.scrollHeight-o.distance,t.value.clientHeight+i),top:i<=o.distance&&n!==0,right:!ee(t.value.scrollWidth-o.distance,t.value.clientWidth+p)&&z!==p,left:p<=o.distance&&z!==0};if(m("scroll",{scrollTop:i,scrollLeft:p}),n!==i&&(v=i>n?"bottom":"top"),z!==p&&(v=p>z?"right":"left"),o.distance>0){if(L(v))return;W(M)}M[v]&&m("end-reached",v)}};function c(a,n){Se(a)?t.value.scrollTo(a):C(a)&&C(n)&&t.value.scrollTo(a,n)}const b=a=>{if(!C(a)){Q(O,"value must be a number");return}t.value.scrollTop=a},T=a=>{if(!C(a)){Q(O,"value must be a number");return}t.value.scrollLeft=a},H=()=>{var a,n;(a=S.value)==null||a.update(),s[v]=!1,t.value&&((n=S.value)==null||n.handleScroll(t.value))};return F(()=>o.noresize,a=>{a?(y==null||y(),g==null||g(),h==null||h()):({stop:y}=J(w,H),{stop:g}=J(t,H),h=D("resize",H))},{immediate:!0}),F(()=>[o.maxHeight,o.height],()=>{o.native||G(()=>{H()})}),we(X,ze({scrollbarElement:e,wrapElement:t})),me(()=>{t.value&&(t.value.scrollTop=i,t.value.scrollLeft=p)}),he(()=>{o.native||G(()=>{H()})}),pe(()=>H()),u({wrapRef:t,update:H,scrollTo:c,setScrollTop:b,setScrollLeft:T,handleScroll:k}),(a,n)=>(B(),se("div",{ref_key:"scrollbarRef",ref:e,class:P(N(f).b())},[j("div",{ref_key:"wrapRef",ref:t,class:P(x.value),style:$(E.value),tabindex:l.tabindex,onScroll:k},[(B(),K(ge(l.tag),{id:l.id,ref_key:"resizeRef",ref:w,class:P(R.value),style:$(l.viewStyle),role:l.role,"aria-label":l.ariaLabel,"aria-orientation":l.ariaOrientation},{default:oe(()=>[be(a.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,Me),l.native?ye("v-if",!0):(B(),K(Re,{key:0,ref_key:"barRef",ref:S,always:l.always,"min-size":l.minSize},null,8,["always","min-size"]))],2))}}),We=Ae;const Ke=Ee(We);export{Ke as E,ee as i,He as s}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-scrollbar-B0E7ZTt3.js diff --git a/frontend/dist/assets/el-select-CeiDjMzB.js b/frontend/dist/assets/el-select-CeiDjMzB.js new file mode 100644 index 0000000..57b9b7e --- /dev/null +++ b/frontend/dist/assets/el-select-CeiDjMzB.js @@ -0,0 +1 @@ +import{a7 as ee,aQ as vl,j as u,y as M,cT as bl,D as U,b6 as te,cU as K,b as Et,bP as gl,S as ml,i as gt,bQ as hl,aS as yl,R as H,B as $e,C as Sl,a3 as Y,N as Be,cc as Ol,d as me,a as ve,aV as Qe,H as Tt,P as Q,f as Ae,z as be,cf as wl,K as Le,L as qe,o as b,c as k,h as W,q as N,aa as q,Y as Re,aL as ne,cV as Vt,F as It,G as Ye,cW as Cl,an as El,a6 as J,n as S,g as z,al as Me,aW as Tl,bF as Vl,bS as Il,aU as mt,bt as kl,ak as Dl,a1 as Rl,b8 as ce,U as ke,b5 as Ml,bM as $l,V as ht,W as A,c5 as Ll,a8 as Bl,cX as Nl,J as Pl,E as Wl,ai as X,cY as Fl,s as _,w as F,e as G,M as pe,ad as De,x as yt,r as Ge,l as zl,ab as kt}from"./index-CxbBjZKo.js";import{_ as Ne}from"./index-DHcidAHK.js";import{f as Dt,b as Kl,d as Hl,c as Al,e as Gl}from"./index-D23K2h6y.js";import{c as Z}from"./castArray-CwVgzdTt.js";import{f as Ul}from"./vnode-DIVHEdsp.js";import{u as St,a as jl,E as Ql}from"./el-popper-OAwpEmER.js";import{s as Ot,E as ql}from"./el-scrollbar-B0E7ZTt3.js";import{C as Yl}from"./index-Bzaib5AU.js";import{t as wt,E as Jl}from"./index-BjlLyKON.js";import{C as Rt,U as fe}from"./raf-Bjl8yy5U.js";import{s as Xl}from"./scroll-Dvb2mTx8.js";import{u as Zl,a as xl}from"./index-C4wGR5UT.js";import{c as _l}from"./clamp-Ow4I6lPc.js";import{b as en}from"./_baseIteratee-C6JbNheX.js";import{u as tn}from"./index-DxP0p4ch.js";function ln(e,n,s,c){for(var p=e.length,d=s+(c?1:-1);c?d--:++d({minWidth:`${Math.max(n.value,11)}px`}));return ee(e,()=>{var p;n.value=((p=e.value)==null?void 0:p.getBoundingClientRect().width)??0}),{calculatorRef:e,calculatorWidth:n,inputStyle:s}}const sn=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),jn=e=>bl(e),Mt=Symbol("ElSelectGroup"),Pe=Symbol("ElSelect"),Ue={label:"label",value:"value",disabled:"disabled",options:"options"};function on(e){const n=M({...Ue,...e.props});let s={...e.props};return U(()=>e.props,l=>{te(l,s)||(n.value={...Ue,...l},s={...l})},{deep:!0}),{aliasProps:n,getLabel:l=>K(l,n.value.label),getValue:l=>K(l,n.value.value),getDisabled:l=>K(l,n.value.disabled),getOptions:l=>K(l,n.value.options)}}const rn=Et({name:String,id:String,modelValue:{type:H([Array,String,Number,Boolean,Object]),default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:yl,effect:{type:H(String),default:"light"},disabled:{type:Boolean,default:void 0},clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperStyle:{type:H([String,Object])},popperOptions:{type:H(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},loadingText:String,noMatchText:String,noDataText:String,remoteMethod:{type:H(Function)},filterMethod:{type:H(Function)},multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,tagTooltip:{type:H(Object),default:()=>({})},maxCollapseTags:{type:Number,default:1},teleported:St.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:gt,default:hl},fitInputWidth:Boolean,suffixIcon:{type:gt,default:ml},tagType:{...wt.type,default:"info"},tagEffect:{...wt.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:H(String),values:jl,default:"bottom-start"},fallbackPlacements:{type:H(Array),default:["bottom-start","top-start","right","left"]},tabindex:{type:[String,Number],default:0},appendTo:St.appendTo,options:{type:H(Array)},props:{type:H(Object),default:()=>Ue},...gl,...tn(["ariaLabel"])}),un={[fe]:e=>!0,[Rt]:e=>!0,"popup-scroll":Ot.scroll,"end-reached":Ot["end-reached"],"remove-tag":e=>!0,"visible-change":e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},je="ElOption",dn=Et({value:{type:[String,Number,Boolean,Object],required:!0},label:{type:[String,Number]},created:Boolean,disabled:Boolean});function pn(e,n){const s=$e(Pe);s||Sl(je,"usage: ");const c=$e(Mt,{disabled:!1}),p=u(()=>v(Z(s.props.modelValue),e.value)),d=u(()=>{if(s.props.multiple){const h=Z(s.props.modelValue??[]);return!p.value&&h.length>=s.props.multipleLimit&&s.props.multipleLimit>0}else return!1}),g=u(()=>e.label??(Y(e.value)?"":e.value)),l=u(()=>e.value||e.label||""),E=u(()=>e.disabled||n.groupDisabled||d.value),f=Be(),v=(h=[],C)=>{if(Y(e.value)){const O=s.props.valueKey;return h&&h.some(m=>Ol(K(m,O))===K(C,O))}else return h&&h.includes(C)},D=()=>{E.value||(s.states.hoveringIndex=s.optionsArray.indexOf(f.proxy))},w=h=>{n.visible=new RegExp(sn(h),"i").test(String(g.value))||e.created};return U(()=>g.value,()=>{!e.created&&!s.props.remote&&s.setSelected()}),U(()=>e.value,(h,C)=>{const{remote:O,valueKey:m}=s.props;if((O?h!==C:!te(h,C))&&(s.onOptionDestroy(C,f.proxy),s.onOptionCreate(f.proxy)),!e.created&&!O){if(m&&Y(h)&&Y(C)&&h[m]===C[m])return;s.setSelected()}}),U(()=>c.disabled,()=>{n.groupDisabled=c.disabled},{immediate:!0}),{select:s,currentLabel:g,currentValue:l,itemSelected:p,isDisabled:E,hoverItem:D,updateOption:w}}var cn=me({name:je,componentName:je,props:dn,setup(e){const n=ve("select"),s=Dt(),c=u(()=>[n.be("dropdown","item"),n.is("disabled",Ae(E)),n.is("selected",Ae(l)),n.is("hovering",Ae(h))]),p=be({index:-1,groupDisabled:!1,visible:!0,hover:!1}),d="mousemove",{currentLabel:g,itemSelected:l,isDisabled:E,select:f,hoverItem:v,updateOption:D}=pn(e,p),{visible:w,hover:h}=Qe(p),C=Be().proxy;f.onOptionCreate(C),Tt(()=>{const R=C.value;Q(()=>{const{selected:r}=f.states,i=r.some(T=>T.value===C.value);f.states.cachedOptions.get(R)===C&&!i&&f.states.cachedOptions.delete(R)}),f.onOptionDestroy(R,C)});function O(){E.value||f.handleOptionSelect(C)}return{ns:n,id:s,containerKls:c,currentLabel:g,itemSelected:l,isDisabled:E,select:f,visible:w,hover:h,states:p,mouseMoveEventName:d,hoverItem:v,handleMousedown:R=>{let r=R.target;const i=R.currentTarget;for(;r&&r!==i;){if(wl(r))return;r=r.parentElement}R.preventDefault()},updateOption:D,selectOptionClick:O}}});const fn=["id","aria-disabled","aria-selected"];function vn(e,n,s,c,p,d){return Le((b(),k("li",Re({id:e.id,class:e.containerKls,role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected},{[Vt(e.mouseMoveEventName)]:n[0]||(n[0]=(...g)=>e.hoverItem&&e.hoverItem(...g))},{onMousedown:n[1]||(n[1]=(...g)=>e.handleMousedown&&e.handleMousedown(...g)),onClick:n[2]||(n[2]=ne((...g)=>e.selectOptionClick&&e.selectOptionClick(...g),["stop"]))}),[W(e.$slots,"default",{},()=>[N("span",null,q(e.currentLabel),1)])],16,fn)),[[qe,e.visible]])}var Je=Ne(cn,[["render",vn]]),bn=me({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const n=ve("select"),s=M(),c=Be(),p=M([]);It(Mt,be({...Qe(e)}));const d=u(()=>p.value.some(f=>f.visible===!0)),g=f=>{var v;return f.type.name==="ElOption"&&!!((v=f.component)!=null&&v.proxy)},l=f=>{const v=Z(f),D=[];return v.forEach(w=>{var h;El(w)&&(g(w)?D.push(w.component.proxy):J(w.children)&&w.children.length?D.push(...l(w.children)):(h=w.component)!=null&&h.subTree&&D.push(...l(w.component.subTree)))}),D},E=()=>{p.value=l(c.subTree)};return Ye(()=>{E()}),Cl(s,E,{attributes:!0,subtree:!0,childList:!0}),{groupRef:s,visible:d,ns:n}}});function gn(e,n,s,c,p,d){return Le((b(),k("ul",{ref:"groupRef",class:S(e.ns.be("group","wrap"))},[N("li",{class:S(e.ns.be("group","title"))},q(e.label),3),N("li",null,[N("ul",{class:S(e.ns.b("group"))},[W(e.$slots,"default")],2)])],2)),[[qe,e.visible]])}var Xe=Ne(bn,[["render",gn]]),mn=me({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=$e(Pe),n=ve("select"),s=u(()=>e.props.popperClass),c=u(()=>e.props.multiple),p=u(()=>e.props.fitInputWidth),d=M("");function g(){var E;const l=(E=e.selectRef)==null?void 0:E.offsetWidth;l?d.value=`${l-2}px`:d.value=""}return Ye(()=>{g(),ee(e.selectRef,g)}),{ns:n,minWidth:d,popperClass:s,isMultiple:c,isFitInputWidth:p}}});function hn(e,n,s,c,p,d){return b(),k("div",{class:S([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:Me({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(b(),k("div",{key:0,class:S(e.ns.be("dropdown","header"))},[W(e.$slots,"header")],2)):z("v-if",!0),W(e.$slots,"default"),e.$slots.footer?(b(),k("div",{key:1,class:S(e.ns.be("dropdown","footer"))},[W(e.$slots,"footer")],2)):z("v-if",!0)],6)}var yn=Ne(mn,[["render",hn]]);const Sn=(e,n)=>{const{t:s}=Tl(),c=Vl(),p=Dt(),d=ve("select"),g=ve("input"),l=be({inputValue:"",options:new Map,cachedOptions:new Map,optionValues:[],selected:[],selectionWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),E=M(),f=M(),v=M(),D=M(),w=M(),h=M(),C=M(),O=M(),m=M(),R=M(),r=M(),i=M(!1),T=M(),j=M(!1),{form:$,formItem:P}=Kl(),{inputId:he}=Hl(e,{formItemContext:P}),{valueOnClear:ye,isEmptyValue:Se}=Il(e),{isComposing:le,handleCompositionStart:Oe,handleCompositionUpdate:L,handleCompositionEnd:ae}=xl({afterComposition:t=>st(t)}),se=Al(),{wrapperRef:Ze,isFocused:We,handleBlur:$t}=Zl(w,{disabled:se,afterFocus(){e.automaticDropdown&&!i.value&&(i.value=!0,l.menuVisibleOnFocus=!0)},beforeBlur(t){var a,o;return((a=v.value)==null?void 0:a.isFocusInsideContent(t))||((o=D.value)==null?void 0:o.isFocusInsideContent(t))},afterBlur(){var t;i.value=!1,l.menuVisibleOnFocus=!1,e.validateEvent&&((t=P==null?void 0:P.validate)==null||t.call(P,"blur").catch(mt))}}),Fe=u(()=>J(e.modelValue)?e.modelValue.length>0:!Se(e.modelValue)),Lt=u(()=>($==null?void 0:$.statusIcon)??!1),Bt=u(()=>e.clearable&&!se.value&&Fe.value&&(We.value||l.inputHovering)),xe=u(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),Nt=u(()=>d.is("reverse",!!(xe.value&&i.value))),ze=u(()=>(P==null?void 0:P.validateState)||""),Pt=u(()=>ze.value&&Ll[ze.value]),Wt=u(()=>e.remote?e.debounce:0),Ft=u(()=>e.remote&&!l.inputValue&&l.options.size===0),zt=u(()=>e.loading?e.loadingText||s("el.select.loading"):e.filterable&&l.inputValue&&l.options.size>0&&oe.value===0?e.noMatchText||s("el.select.noMatch"):l.options.size===0?e.noDataText||s("el.select.noData"):null),oe=u(()=>B.value.filter(t=>t.visible).length),B=u(()=>{const t=Array.from(l.options.values()),a=[];return l.optionValues.forEach(o=>{const y=t.findIndex(V=>V.value===o);y>-1&&a.push(t[y])}),a.length>=t.length?a:t}),Kt=u(()=>Array.from(l.cachedOptions.values())),Ht=u(()=>{const t=B.value.filter(a=>!a.created).some(a=>a.currentLabel===l.inputValue);return e.filterable&&e.allowCreate&&l.inputValue!==""&&!t}),_e=()=>{e.filterable&&ce(e.filterMethod)||e.filterable&&e.remote&&ce(e.remoteMethod)||B.value.forEach(t=>{var a;(a=t.updateOption)==null||a.call(t,l.inputValue)})},et=Gl(),At=u(()=>["small"].includes(et.value)?"small":"default"),tt=u({get(){return i.value&&(e.loading||!Ft.value||e.remote&&!!c.empty)&&(!j.value||!$l(l.previousQuery)||l.options.size>0)},set(t){i.value=t}}),Gt=u(()=>{if(e.multiple&&!ke(e.modelValue))return Z(e.modelValue).length===0&&!l.inputValue;const t=J(e.modelValue)?e.modelValue[0]:e.modelValue;return e.filterable||ke(t)?!l.inputValue:!0}),Ut=u(()=>{const t=e.placeholder??s("el.select.placeholder");return e.multiple||!Fe.value?t:l.selectedLabel}),jt="mouseenter";U(()=>e.modelValue,(t,a)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(l.inputValue="",we("")),Ce(),!te(t,a)&&e.validateEvent&&(P==null||P.validate("change").catch(mt))},{flush:"post",deep:!0}),U(()=>i.value,t=>{t?we(l.inputValue):(l.inputValue="",l.previousQuery=null,l.isBeforeHide=!0,l.menuVisibleOnFocus=!1)}),U(()=>l.options.entries(),()=>{kl&&(Ce(),e.defaultFirstOption&&(e.filterable||e.remote)&&oe.value&<())},{flush:"post"}),U([()=>l.hoveringIndex,B],([t])=>{Dl(t)&&t>-1?T.value=B.value[t]||{}:T.value={},B.value.forEach(a=>{a.hover=T.value===a})}),Rl(()=>{l.isBeforeHide||_e()});const we=t=>{l.previousQuery===t||le.value||(l.previousQuery=t,e.filterable&&ce(e.filterMethod)?e.filterMethod(t):e.filterable&&e.remote&&ce(e.remoteMethod)&&e.remoteMethod(t),e.defaultFirstOption&&(e.filterable||e.remote)&&oe.value?Q(lt):Q(Qt))},lt=()=>{const t=B.value.filter(y=>y.visible&&!y.disabled&&!y.states.groupDisabled),a=t.find(y=>y.created),o=t[0];l.hoveringIndex=dt(B.value.map(y=>y.value),a||o)},Ce=()=>{if(e.multiple)l.selectedLabel="";else{const a=Ke(J(e.modelValue)?e.modelValue[0]:e.modelValue);l.selectedLabel=a.currentLabel,l.selected=[a];return}const t=[];ke(e.modelValue)||Z(e.modelValue).forEach(a=>{t.push(Ke(a))}),l.selected=t},Ke=t=>{let a;const o=Ml(t);for(let V=l.cachedOptions.size-1;V>=0;V--){const I=Kt.value[V];if(o?K(I.value,e.valueKey)===K(t,e.valueKey):I.value===t){a={index:B.value.filter(x=>!x.created).indexOf(I),value:t,currentLabel:I.currentLabel,get isDisabled(){return I.isDisabled}};break}}if(a)return a;const y=l.selected.find(V=>o?K(V.value,e.valueKey)===K(t,e.valueKey):V.value===t);return{index:-1,value:t,currentLabel:o?t.label:y?y.currentLabel:t??""}},Qt=()=>{const t=l.selected.length;if(t>0){const a=l.selected[t-1];l.hoveringIndex=B.value.findIndex(o=>Te(a)===Te(o))}else l.hoveringIndex=-1},qt=()=>{l.selectionWidth=Number.parseFloat(window.getComputedStyle(f.value).width)},Yt=()=>{l.collapseItemWidth=R.value.getBoundingClientRect().width},He=()=>{var t,a;(a=(t=v.value)==null?void 0:t.updatePopper)==null||a.call(t)},nt=()=>{var t,a;(a=(t=D.value)==null?void 0:t.updatePopper)==null||a.call(t)},at=()=>{l.inputValue.length>0&&!i.value&&(i.value=!0),we(l.inputValue)},st=t=>{if(l.inputValue=t.target.value,e.remote)j.value=!0,ot();else return at()},ot=Nl(()=>{at(),j.value=!1},Wt),ie=t=>{te(e.modelValue,t)||n(Rt,t)},Jt=t=>nn(t,a=>{const o=l.cachedOptions.get(a);return!(o!=null&&o.disabled)&&!(o!=null&&o.states.groupDisabled)}),it=t=>{const a=ht(t);if(e.multiple&&a!==A.delete&&t.target.value.length<=0){const o=Z(e.modelValue).slice(),y=Jt(o);if(y<0)return;const V=o[y];o.splice(y,1),n(fe,o),ie(o),n("remove-tag",V)}},Xt=(t,a)=>{const o=l.selected.indexOf(a);if(o>-1&&!se.value){const y=Z(e.modelValue).slice();y.splice(o,1),n(fe,y),ie(y),n("remove-tag",a.value)}t.stopPropagation(),Ee()},rt=t=>{t.stopPropagation();const a=e.multiple?[]:ye.value;if(e.multiple)for(const o of l.selected)o.isDisabled&&a.push(o.value);n(fe,a),ie(a),l.hoveringIndex=-1,i.value=!1,n("clear"),Ee()},ut=t=>{if(e.multiple){const a=Z(e.modelValue??[]).slice(),o=dt(a,t);o>-1?a.splice(o,1):(e.multipleLimit<=0||a.length{re(t)})},dt=(t,a)=>ke(a)?-1:Y(a.value)?t.findIndex(o=>te(K(o,e.valueKey),Te(a))):t.indexOf(a.value),re=t=>{var y,V,I,x,bt;const a=J(t)?t[t.length-1]:t;let o=null;if(!Bl(a==null?void 0:a.value)){const de=B.value.filter(fl=>fl.value===a.value);de.length>0&&(o=de[0].$el)}if(v.value&&o){const de=(x=(I=(V=(y=v.value)==null?void 0:y.popperRef)==null?void 0:V.contentRef)==null?void 0:I.querySelector)==null?void 0:x.call(I,`.${d.be("dropdown","wrap")}`);de&&Xl(de,o)}(bt=r.value)==null||bt.handleScroll()},Zt=t=>{l.options.set(t.value,t),l.cachedOptions.set(t.value,t)},xt=(t,a)=>{l.options.get(t)===a&&l.options.delete(t)},_t=u(()=>{var t,a;return(a=(t=v.value)==null?void 0:t.popperRef)==null?void 0:a.contentRef}),el=()=>{l.isBeforeHide=!1,Q(()=>{var t;(t=r.value)==null||t.update(),re(l.selected)})},Ee=()=>{var t;(t=w.value)==null||t.focus()},tl=()=>{var t;if(i.value){i.value=!1,Q(()=>{var a;return(a=w.value)==null?void 0:a.blur()});return}(t=w.value)==null||t.blur()},ll=t=>{rt(t)},nl=t=>{if(i.value=!1,We.value){const a=new FocusEvent("blur",t);Q(()=>$t(a))}},pt=()=>{l.inputValue.length>0?l.inputValue="":i.value=!1},ct=t=>{var a;se.value||e.filterable&&i.value&&t&&!((a=C.value)!=null&&a.contains(t.target))||(l.menuVisibleOnFocus?l.menuVisibleOnFocus=!1:i.value=!i.value)},ft=()=>{if(!i.value)ct();else{const t=B.value[l.hoveringIndex];t&&!t.isDisabled&&ut(t)}},Te=t=>Y(t.value)?K(t.value,e.valueKey):t.value,al=u(()=>B.value.filter(t=>t.visible).every(t=>t.isDisabled)),sl=u(()=>e.multiple?e.collapseTags?l.selected.slice(0,e.maxCollapseTags):l.selected:[]),ol=u(()=>e.multiple?e.collapseTags?l.selected.slice(e.maxCollapseTags):[]:[]),Ve=t=>{if(!i.value){i.value=!0;return}if(!(l.options.size===0||oe.value===0||le.value)&&!al.value){t==="next"?(l.hoveringIndex++,l.hoveringIndex===l.options.size&&(l.hoveringIndex=0)):t==="prev"&&(l.hoveringIndex--,l.hoveringIndex<0&&(l.hoveringIndex=l.options.size-1));const a=B.value[l.hoveringIndex];(a.isDisabled||!a.visible)&&Ve(t),Q(()=>re(T.value))}},vt=(t,a,o,y)=>{for(let V=a;V>=0&&V{const o=l.options.size;if(o===0)return;const y=_l(t,0,o-1),V=B.value,I=a==="up"?-1:1,x=vt(V,y,I,o)??vt(V,y-I,-I,o);x!=null&&(l.hoveringIndex=x,Q(()=>re(T.value)))},il=t=>{const a=ht(t);let o=!0;switch(a){case A.up:Ve("prev");break;case A.down:Ve("next");break;case A.enter:case A.numpadEnter:le.value||ft();break;case A.esc:pt();break;case A.backspace:o=!1,it(t);return;case A.home:if(!i.value)return;Ie(0,"down");break;case A.end:if(!i.value)return;Ie(l.options.size-1,"up");break;case A.pageUp:if(!i.value)return;Ie(l.hoveringIndex-10,"up");break;case A.pageDown:if(!i.value)return;Ie(l.hoveringIndex+10,"down");break;default:o=!1;break}o&&(t.preventDefault(),t.stopPropagation())},rl=()=>{if(!f.value)return 0;const t=window.getComputedStyle(f.value);return Number.parseFloat(t.gap||"6px")},ul=u(()=>{const t=rl(),a=e.filterable?t+11:0;return{maxWidth:`${R.value&&e.maxCollapseTags===1?l.selectionWidth-l.collapseItemWidth-t-a:l.selectionWidth-a}px`}}),dl=u(()=>({maxWidth:`${l.selectionWidth}px`})),pl=t=>{n("popup-scroll",t)},cl=t=>{n("end-reached",t)};ee(f,qt),ee(Ze,He),ee(m,nt),ee(R,Yt);let ue;return U(()=>tt.value,t=>{t?ue=ee(O,He).stop:(ue==null||ue(),ue=void 0),n("visible-change",t)}),Ye(()=>{Ce()}),{inputId:he,contentId:p,nsSelect:d,nsInput:g,states:l,isFocused:We,expanded:i,optionsArray:B,hoverOption:T,selectSize:et,filteredOptionsCount:oe,updateTooltip:He,updateTagTooltip:nt,debouncedOnInputChange:ot,onInput:st,deletePrevTag:it,deleteTag:Xt,deleteSelected:rt,handleOptionSelect:ut,scrollToOption:re,hasModelValue:Fe,shouldShowPlaceholder:Gt,currentPlaceholder:Ut,mouseEnterEventName:jt,needStatusIcon:Lt,showClearBtn:Bt,iconComponent:xe,iconReverse:Nt,validateState:ze,validateIcon:Pt,showNewOption:Ht,updateOptions:_e,collapseTagSize:At,setSelected:Ce,selectDisabled:se,emptyText:zt,handleCompositionStart:Oe,handleCompositionUpdate:L,handleCompositionEnd:ae,handleKeydown:il,onOptionCreate:Zt,onOptionDestroy:xt,handleMenuEnter:el,focus:Ee,blur:tl,handleClearClick:ll,handleClickOutside:nl,handleEsc:pt,toggleMenu:ct,selectOption:ft,getValueKey:Te,navigateOptions:Ve,dropdownMenuVisible:tt,showTagList:sl,collapseTagList:ol,popupScroll:pl,getOption:Ke,endReached:cl,tagStyle:ul,collapseTagStyle:dl,popperRef:_t,inputRef:w,tooltipRef:v,tagTooltipRef:D,prefixRef:h,suffixRef:C,selectRef:E,wrapperRef:Ze,selectionRef:f,scrollbarRef:r,menuRef:O,tagMenuRef:m,collapseItemRef:R}};var On=me({name:"ElOptions",setup(e,{slots:n}){const s=$e(Pe);let c=[];return()=>{var l,E;const p=(l=n.default)==null?void 0:l.call(n),d=[];function g(f){J(f)&&f.forEach(v=>{var w,h,C,O;const D=(w=(v==null?void 0:v.type)||{})==null?void 0:w.name;D==="ElOptionGroup"?g(!Pl(v.children)&&!J(v.children)&&ce((h=v.children)==null?void 0:h.default)?(C=v.children)==null?void 0:C.default():v.children):D==="ElOption"?d.push((O=v.props)==null?void 0:O.value):J(v.children)&&g(v.children)})}return p.length&&g((E=p[0])==null?void 0:E.children),te(d,c)||(c=d,s&&(s.states.optionValues=d)),p}}});const Ct="ElSelect",ge=new WeakMap,wn=e=>(...n)=>{var p,d;const s=n[0];if(!s||s.includes('Slot "default" invoked outside of the render function')&&((p=n[2])!=null&&p.includes("ElTreeSelect")))return;const c=(d=ge.get(e))==null?void 0:d.originalWarnHandler;if(c){c(...n);return}console.warn(...n)},Cn=e=>{let n=ge.get(e);return n||(n={originalWarnHandler:e.config.warnHandler,handler:wn(e),count:0},ge.set(e,n)),n};var En=me({name:Ct,componentName:Ct,components:{ElSelectMenu:yn,ElOption:Je,ElOptions:On,ElOptionGroup:Xe,ElTag:Jl,ElScrollbar:ql,ElTooltip:Ql,ElIcon:Wl},directives:{ClickOutside:Yl},props:rn,emits:un,setup(e,{emit:n,slots:s}){const c=Be(),p=Cn(c.appContext);p.count+=1,c.appContext.config.warnHandler=p.handler;const d=u(()=>{const{modelValue:r,multiple:i}=e,T=i?[]:void 0;return J(r)?i?r:T:i?T:r}),g=be({...Qe(e),modelValue:d}),l=Sn(g,n),{calculatorRef:E,inputStyle:f}=an(),{getLabel:v,getValue:D,getOptions:w,getDisabled:h}=on(e),C=r=>({label:v(r),value:D(r),disabled:h(r)}),O=r=>r.reduce((i,T)=>(i.push(T),T.children&&T.children.length>0&&i.push(...O(T.children)),i),[]),m=r=>{Ul(r||[]).forEach(i=>{var T;if(Y(i)&&(i.type.name==="ElOption"||i.type.name==="ElTree")){const j=i.type.name;if(j==="ElTree")O(((T=i.props)==null?void 0:T.data)||[]).forEach($=>{$.currentLabel=$.label??(Y($.value)?"":$.value),l.onOptionCreate($)});else if(j==="ElOption"){const $={...i.props};$.currentLabel=$.label??(Y($.value)?"":$.value),l.onOptionCreate($)}}})};U(()=>{var r;return[e.persistent||l.expanded.value||!s.default||(r=s.default)==null?void 0:r.call(s),d.value]},()=>{var r;e.persistent||l.expanded.value||s.default&&(l.states.options.clear(),m((r=s.default)==null?void 0:r.call(s)))},{immediate:!0}),It(Pe,be({props:g,states:l.states,selectRef:l.selectRef,optionsArray:l.optionsArray,setSelected:l.setSelected,handleOptionSelect:l.handleOptionSelect,onOptionCreate:l.onOptionCreate,onOptionDestroy:l.onOptionDestroy}));const R=u(()=>e.multiple?l.states.selected.map(r=>r.currentLabel):l.states.selectedLabel);return Tt(()=>{const r=ge.get(c.appContext);r&&(r.count-=1,r.count<=0&&(c.appContext.config.warnHandler=r.originalWarnHandler,ge.delete(c.appContext)))}),{...l,modelValue:d,selectedLabel:R,calculatorRef:E,inputStyle:f,getLabel:v,getValue:D,getOptions:w,getDisabled:h,getOptionProps:C}}});const Tn=["id","value","name","disabled","autocomplete","tabindex","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label"],Vn=["textContent"],In={key:1};function kn(e,n,s,c,p,d){const g=X("el-tag"),l=X("el-tooltip"),E=X("el-icon"),f=X("el-option"),v=X("el-option-group"),D=X("el-options"),w=X("el-scrollbar"),h=X("el-select-menu"),C=Fl("click-outside");return Le((b(),k("div",Re({ref:"selectRef",class:[e.nsSelect.b(),e.nsSelect.m(e.selectSize)]},{[Vt(e.mouseEnterEventName)]:n[11]||(n[11]=O=>e.states.inputHovering=!0)},{onMouseleave:n[12]||(n[12]=O=>e.states.inputHovering=!1)}),[_(l,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-style":e.popperStyle,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:n[10]||(n[10]=O=>e.states.isBeforeHide=!1)},{default:F(()=>{var O;return[N("div",{ref:"wrapperRef",class:S([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:n[7]||(n[7]=ne((...m)=>e.toggleMenu&&e.toggleMenu(...m),["prevent"]))},[e.$slots.prefix?(b(),k("div",{key:0,ref:"prefixRef",class:S(e.nsSelect.e("prefix"))},[W(e.$slots,"prefix")],2)):z("v-if",!0),N("div",{ref:"selectionRef",class:S([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?W(e.$slots,"tag",{key:0,data:e.states.selected,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>{var m,R,r,i,T,j,$,P,he,ye,Se,le,Oe;return[(b(!0),k(pe,null,De(e.showTagList,L=>(b(),k("div",{key:e.getValueKey(L),class:S(e.nsSelect.e("selected-item"))},[_(g,{closable:!e.selectDisabled&&!L.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:Me(e.tagStyle),onClose:ae=>e.deleteTag(ae,L)},{default:F(()=>[N("span",{class:S(e.nsSelect.e("tags-text"))},[W(e.$slots,"label",{index:L.index,label:L.currentLabel,value:L.value},()=>[yt(q(L.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(b(),G(l,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":((m=e.tagTooltip)==null?void 0:m.fallbackPlacements)??["bottom","top","right","left"],effect:((R=e.tagTooltip)==null?void 0:R.effect)??e.effect,placement:((r=e.tagTooltip)==null?void 0:r.placement)??"bottom","popper-class":((i=e.tagTooltip)==null?void 0:i.popperClass)??e.popperClass,"popper-style":((T=e.tagTooltip)==null?void 0:T.popperStyle)??e.popperStyle,teleported:((j=e.tagTooltip)==null?void 0:j.teleported)??e.teleported,"append-to":(($=e.tagTooltip)==null?void 0:$.appendTo)??e.appendTo,"popper-options":((P=e.tagTooltip)==null?void 0:P.popperOptions)??e.popperOptions,transition:(he=e.tagTooltip)==null?void 0:he.transition,"show-after":(ye=e.tagTooltip)==null?void 0:ye.showAfter,"hide-after":(Se=e.tagTooltip)==null?void 0:Se.hideAfter,"auto-close":(le=e.tagTooltip)==null?void 0:le.autoClose,offset:(Oe=e.tagTooltip)==null?void 0:Oe.offset},{default:F(()=>[N("div",{ref:"collapseItemRef",class:S(e.nsSelect.e("selected-item"))},[_(g,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:Me(e.collapseTagStyle)},{default:F(()=>[N("span",{class:S(e.nsSelect.e("tags-text"))}," + "+q(e.states.selected.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:F(()=>[N("div",{ref:"tagMenuRef",class:S(e.nsSelect.e("selection"))},[(b(!0),k(pe,null,De(e.collapseTagList,L=>(b(),k("div",{key:e.getValueKey(L),class:S(e.nsSelect.e("selected-item"))},[_(g,{class:"in-tooltip",closable:!e.selectDisabled&&!L.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:ae=>e.deleteTag(ae,L)},{default:F(()=>[N("span",{class:S(e.nsSelect.e("tags-text"))},[W(e.$slots,"label",{index:L.index,label:L.currentLabel,value:L.value},()=>[yt(q(L.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","fallback-placements","effect","placement","popper-class","popper-style","teleported","append-to","popper-options","transition","show-after","hide-after","auto-close","offset"])):z("v-if",!0)]}):z("v-if",!0),N("div",{class:S([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable||e.selectDisabled||e.multiple&&!e.states.inputValue&&!e.isFocused)])},[N("input",{id:e.inputId,ref:"inputRef",value:e.states.inputValue,type:"text",name:e.name,class:S([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:Me(e.inputStyle),tabindex:e.tabindex,role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":((O=e.hoverOption)==null?void 0:O.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:n[0]||(n[0]=(...m)=>e.handleKeydown&&e.handleKeydown(...m)),onCompositionstart:n[1]||(n[1]=(...m)=>e.handleCompositionStart&&e.handleCompositionStart(...m)),onCompositionupdate:n[2]||(n[2]=(...m)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...m)),onCompositionend:n[3]||(n[3]=(...m)=>e.handleCompositionEnd&&e.handleCompositionEnd(...m)),onInput:n[4]||(n[4]=(...m)=>e.onInput&&e.onInput(...m)),onChange:n[5]||(n[5]=ne(()=>{},["stop"])),onClick:n[6]||(n[6]=ne((...m)=>e.toggleMenu&&e.toggleMenu(...m),["stop"]))},null,46,Tn),e.filterable?(b(),k("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:S(e.nsSelect.e("input-calculator")),textContent:q(e.states.inputValue)},null,10,Vn)):z("v-if",!0)],2),e.shouldShowPlaceholder?(b(),k("div",{key:1,class:S([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?W(e.$slots,"label",{key:0,index:e.getOption(e.modelValue).index,label:e.currentPlaceholder,value:e.modelValue},()=>[N("span",null,q(e.currentPlaceholder),1)]):(b(),k("span",In,q(e.currentPlaceholder),1))],2)):z("v-if",!0)],2),N("div",{ref:"suffixRef",class:S(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClearBtn?(b(),G(E,{key:0,class:S([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:F(()=>[(b(),G(Ge(e.iconComponent)))]),_:1},8,["class"])):z("v-if",!0),e.showClearBtn&&e.clearIcon?(b(),G(E,{key:1,class:S([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:F(()=>[(b(),G(Ge(e.clearIcon)))]),_:1},8,["class","onClick"])):z("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(b(),G(E,{key:2,class:S([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:F(()=>[(b(),G(Ge(e.validateIcon)))]),_:1},8,["class"])):z("v-if",!0)],2)],2)]}),content:F(()=>[_(h,{ref:"menuRef"},{default:F(()=>[e.$slots.header?(b(),k("div",{key:0,class:S(e.nsSelect.be("dropdown","header")),onClick:n[8]||(n[8]=ne(()=>{},["stop"]))},[W(e.$slots,"header")],2)):z("v-if",!0),Le(_(w,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:S([e.nsSelect.is("empty",e.filteredOptionsCount===0)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical",onScroll:e.popupScroll,onEndReached:e.endReached},{default:F(()=>[e.showNewOption?(b(),G(f,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):z("v-if",!0),_(D,null,{default:F(()=>[W(e.$slots,"default",{},()=>[(b(!0),k(pe,null,De(e.options,(O,m)=>{var R;return b(),k(pe,{key:m},[(R=e.getOptions(O))!=null&&R.length?(b(),G(v,{key:0,label:e.getLabel(O),disabled:e.getDisabled(O)},{default:F(()=>[(b(!0),k(pe,null,De(e.getOptions(O),r=>(b(),G(f,Re({key:e.getValue(r)},{ref_for:!0},e.getOptionProps(r)),null,16))),128))]),_:2},1032,["label","disabled"])):(b(),G(f,Re({key:1,ref_for:!0},e.getOptionProps(O)),null,16))],64)}),128))])]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label","onScroll","onEndReached"]),[[qe,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(b(),k("div",{key:1,class:S(e.nsSelect.be("dropdown","loading"))},[W(e.$slots,"loading")],2)):e.loading||e.filteredOptionsCount===0?(b(),k("div",{key:2,class:S(e.nsSelect.be("dropdown","empty"))},[W(e.$slots,"empty",{},()=>[N("span",null,q(e.emptyText),1)])],2)):z("v-if",!0),e.$slots.footer?(b(),k("div",{key:3,class:S(e.nsSelect.be("dropdown","footer")),onClick:n[9]||(n[9]=ne(()=>{},["stop"]))},[W(e.$slots,"footer")],2)):z("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","transition","persistent","append-to","show-arrow","offset","onBeforeShow"])],16)),[[C,e.handleClickOutside,e.popperRef]])}var Dn=Ne(En,[["render",kn]]);const Qn=zl(Dn,{Option:Je,OptionGroup:Xe}),qn=kt(Je),Yn=kt(Xe);export{Qn as E,qn as a,Yn as b,jn as c}; diff --git a/frontend/dist/assets/el-slider-CPsf2yeE.js b/frontend/dist/assets/el-slider-CPsf2yeE.js new file mode 100644 index 0000000..f07aef9 --- /dev/null +++ b/frontend/dist/assets/el-slider-CPsf2yeE.js @@ -0,0 +1 @@ +import{ak as K,a6 as se,b as Se,aS as Be,R as Z,G as Ke,aT as ce,P as me,y as te,a1 as Xe,j as f,aK as ye,aQ as Ie,D as de,C as We,aU as Me,B as $e,V as Ue,W as F,d as ke,a as Ee,z as Pe,aV as we,o as T,c as $,s as Te,w as pe,q as ee,n as U,f as a,aa as Oe,al as D,I as je,J as Ne,aW as Ae,F as _e,e as be,g as ie,M as ue,ad as he,aL as Fe,l as Ge}from"./index-CxbBjZKo.js";import{b as He,c as qe,d as Je,e as Qe}from"./index-D23K2h6y.js";import{E as Ze}from"./el-input-number-Ba6IqA7Z.js";import{C as ze,I as xe,U as re}from"./raf-Bjl8yy5U.js";import{u as De}from"./index-DxP0p4ch.js";import{a as Re,E as et}from"./el-popper-OAwpEmER.js";import{d as Ce}from"./debounce-BJxjS5F3.js";import{c as tt}from"./clamp-Ow4I6lPc.js";const Ye=Symbol("sliderContextKey"),at=Se({modelValue:{type:Z([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Z([Number,String]),default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:Be,inputSize:Be,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:Z(Function),default:void 0},disabled:{type:Boolean,default:void 0},range:Boolean,vertical:Boolean,height:String,rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:Z(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Re,default:"top"},marks:{type:Z(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...De(["ariaLabel"])}),Ve=e=>K(e)||se(e)&&e.every(K),lt={[re]:Ve,[xe]:Ve,[ze]:Ve},nt=(e,t,u)=>{const l=te();return Ke(async()=>{e.range?(se(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):(!K(e.modelValue)||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),ce(window,"resize",u),await me(),u()}),{sliderWrapper:l}},st=e=>{const t=f(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((u,l)=>u-l).filter(u=>u<=e.max&&u>=e.min).map(u=>({point:u,position:(u-e.min)*100/(e.max-e.min),mark:e.marks[u]})):[]);return Xe(()=>{if(e.step==="mark"&&!e.marks&&ye("ElSlider","marks prop must be provided when step is mark"),e.marks){const u=Object.keys(e.marks),l=t.value.map(s=>s.point),d=u.filter(s=>{const o=Number.parseFloat(s);return Number.isNaN(o)||!l.includes(o)});d.length>0&&ye("ElSlider",`Some marks keys are invalid (not a number or out of [min, max]): [${d.map(s=>`'${s}'`).join(", ")}] and will be ignored.`)}}),t},rt=(e,t,u)=>{const{formItem:l}=He(),d=Ie(),s=te(),o=te(),h={firstButton:s,secondButton:o},V=qe(),n=f(()=>Math.min(t.firstValue,t.secondValue)),g=f(()=>Math.max(t.firstValue,t.secondValue)),p=f(()=>e.range?`${100*(g.value-n.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),w=f(()=>e.range?`${100*(n.value-e.min)/(e.max-e.min)}%`:"0%"),O=f(()=>e.vertical?{height:e.height}:{}),j=f(()=>e.vertical?{height:p.value,bottom:w.value}:{width:p.value,left:w.value}),S=()=>{d.value&&(t.sliderSize=d.value.getBoundingClientRect()[e.vertical?"height":"width"])},z=c=>{const v=e.min+c*(e.max-e.min)/100;if(!e.range)return s;let k;return Math.abs(n.value-v)t.secondValue?"firstButton":"secondButton",h[k]},C=c=>{const v=z(c);return v.value.setPosition(c),v},X=c=>{t.firstValue=c??e.min,I(e.range?[n.value,g.value]:c??e.min)},P=c=>{t.secondValue=c,e.range&&I([n.value,g.value])},I=c=>{u(re,c),u(xe,c)},x=async()=>{await me(),u(ze,e.range?[n.value,g.value]:e.modelValue)},L=c=>{var k,q,_,G;if(V.value||t.dragging)return;S();let v=0;if(e.vertical){const ae=((q=(k=c.touches)==null?void 0:k.item(0))==null?void 0:q.clientY)??c.clientY;v=(d.value.getBoundingClientRect().bottom-ae)/t.sliderSize*100}else v=((((G=(_=c.touches)==null?void 0:_.item(0))==null?void 0:G.clientX)??c.clientX)-d.value.getBoundingClientRect().left)/t.sliderSize*100;if(!(v<0||v>100))return C(v)};return{elFormItem:l,slider:d,firstButton:s,secondButton:o,sliderDisabled:V,minValue:n,maxValue:g,runwayStyle:O,barStyle:j,resetSize:S,setPosition:C,emitChange:x,onSliderWrapperPrevent:c=>{var v,k;((v=h.firstButton.value)!=null&&v.dragging||(k=h.secondButton.value)!=null&&k.dragging)&&c.preventDefault()},onSliderClick:c=>{L(c)&&x()},onSliderDown:async c=>{const v=L(c);v&&(await me(),v.value.onButtonDown(c))},onSliderMarkerDown:c=>{V.value||t.dragging||C(c)&&x()},setFirstValue:X,setSecondValue:P}},ot=(e,t,u,l)=>({stops:f(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step==="mark"||e.step===0)return e.step===0&&ye("ElSlider","step should not be 0."),[];const o=Math.ceil((e.max-e.min)/e.step),h=100*e.step/(e.max-e.min),V=Array.from({length:o-1}).map((n,g)=>(g+1)*h);return e.range?V.filter(n=>n<100*(u.value-e.min)/(e.max-e.min)||n>100*(l.value-e.min)/(e.max-e.min)):V.filter(n=>n>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:o=>e.vertical?{bottom:`${o}%`}:{left:`${o}%`}}),it=(e,t,u,l,d,s)=>{const o=n=>{d(re,n),d(xe,n)},h=()=>e.range?![u.value,l.value].every((n,g)=>n===t.oldValue[g]):e.modelValue!==t.oldValue,V=()=>{var g,p;e.min>e.max&&We("Slider","min should not be greater than max.");const n=e.modelValue;e.range&&se(n)?n[1]e.max?o([e.max,e.max]):n[0]e.max?o([n[0],e.max]):(t.firstValue=n[0],t.secondValue=n[1],h()&&(e.validateEvent&&((g=s==null?void 0:s.validate)==null||g.call(s,"change").catch(Me)),t.oldValue=n.slice())):!e.range&&K(n)&&!Number.isNaN(n)&&(ne.max?o(e.max):(t.firstValue=n,h()&&(e.validateEvent&&((p=s==null?void 0:s.validate)==null||p.call(s,"change").catch(Me)),t.oldValue=n)))};V(),de(()=>t.dragging,n=>{n||V()}),de(()=>e.modelValue,(n,g)=>{t.dragging||se(n)&&se(g)&&n.every((p,w)=>p===g[w])&&t.firstValue===n[0]&&t.secondValue===n[1]||V()},{deep:!0}),de(()=>[e.min,e.max],()=>{V()})},ut=(e,t,u)=>{const l=te(),d=te(!1),s=f(()=>t.value instanceof Function);return{tooltip:l,tooltipVisible:d,formatValue:f(()=>s.value&&t.value(e.modelValue)||e.modelValue),displayTooltip:Ce(()=>{u.value&&(d.value=!0)},50),hideTooltip:Ce(()=>{u.value&&(d.value=!1)},50)}},dt=(e,t,u)=>{const{disabled:l,min:d,max:s,step:o,showTooltip:h,persistent:V,precision:n,sliderSize:g,formatTooltip:p,emitChange:w,resetSize:O,updateDragging:j,markList:S}=$e(Ye),{tooltip:z,tooltipVisible:C,formatValue:X,displayTooltip:P,hideTooltip:I}=ut(e,p,h),x=te(),L=f(()=>`${(e.modelValue-d.value)/(s.value-d.value)*100}%`),A=f(()=>e.vertical?{bottom:L.value}:{left:L.value}),y=f(()=>o.value==="mark"&&S.value.length>0),B=()=>{t.hovering=!0,P()},H=()=>{t.hovering=!1,t.dragging||I()},c=r=>{l.value||(r.preventDefault(),J(r),window.addEventListener("mousemove",Q),window.addEventListener("touchmove",Q),window.addEventListener("mouseup",W),window.addEventListener("touchend",W),window.addEventListener("contextmenu",W),x.value.focus())},v=r=>{l.value||(t.newPosition=Number.parseFloat(L.value)+r/(s.value-d.value)*100,R(t.newPosition),w())},k=r=>{if(l.value||!S.value.length)return;const m=e.modelValue,b=Number.EPSILON,N=Math.abs(r);let i;if(r>0){const M=S.value.findIndex(E=>E.point>m+b);if(M!==-1){const E=Math.min(M+N-1,S.value.length-1);i=S.value[E].point}}else{let M=-1;for(let E=S.value.length-1;E>=0;E--)if(S.value[E].point{y.value?k(-1):K(o.value)&&v(-o.value)},_=()=>{y.value?k(1):K(o.value)&&v(o.value)},G=()=>{y.value?k(-4):K(o.value)&&v(-o.value*4)},ae=()=>{y.value?k(4):K(o.value)&&v(o.value*4)},ve=()=>{l.value||(R(0),w())},fe=()=>{l.value||(R(100),w())},ge=r=>{const m=Ue(r);let b=!0;switch(m){case F.left:case F.down:q();break;case F.right:case F.up:_();break;case F.home:ve();break;case F.end:fe();break;case F.pageDown:G();break;case F.pageUp:ae();break;default:b=!1;break}b&&r.preventDefault()},oe=r=>{let m,b;return r.type.startsWith("touch")?(b=r.touches[0].clientY,m=r.touches[0].clientX):(b=r.clientY,m=r.clientX),{clientX:m,clientY:b}},J=r=>{t.dragging=!0,t.isClick=!0;const{clientX:m,clientY:b}=oe(r);e.vertical?t.startY=b:t.startX=m,t.startPosition=Number.parseFloat(L.value),t.newPosition=t.startPosition},Q=r=>{if(t.dragging){t.isClick=!1,P(),O();let m;const{clientX:b,clientY:N}=oe(r);e.vertical?(t.currentY=N,m=(t.startY-t.currentY)/g.value*100):(t.currentX=b,m=(t.currentX-t.startX)/g.value*100),t.newPosition=t.startPosition+m,R(t.newPosition)}},W=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||I(),t.isClick||R(t.newPosition),w()},0),window.removeEventListener("mousemove",Q),window.removeEventListener("touchmove",Q),window.removeEventListener("mouseup",W),window.removeEventListener("touchend",W),window.removeEventListener("contextmenu",W))},R=async r=>{if(r===null||Number.isNaN(+r))return;r=tt(r,0,100);let m;if(o.value==="mark")S.value.length===0?m=r<=50?d.value:s.value:m=S.value.reduce((b,N)=>Math.abs(N.position-r)t.dragging,r=>{j(r)}),ce(x,"touchstart",c,{passive:!1}),{disabled:l,button:x,tooltip:z,tooltipVisible:C,showTooltip:h,persistent:V,wrapperStyle:A,formatValue:X,handleMouseEnter:B,handleMouseLeave:H,onButtonDown:c,onKeyDown:ge,setPosition:R}},ct=Se({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Re,default:"top"}}),mt={[re]:e=>K(e)},vt=["tabindex"];var ft=ke({name:"ElSliderButton",__name:"button",props:ct,emits:mt,setup(e,{expose:t,emit:u}){const l=e,d=u,s=Ee("slider"),o=Pe({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:l.modelValue}),h=f(()=>p.value?w.value:!1),{disabled:V,button:n,tooltip:g,showTooltip:p,persistent:w,tooltipVisible:O,wrapperStyle:j,formatValue:S,handleMouseEnter:z,handleMouseLeave:C,onButtonDown:X,onKeyDown:P,setPosition:I}=dt(l,o,d),{hovering:x,dragging:L}=we(o);return t({onButtonDown:X,onKeyDown:P,setPosition:I,hovering:x,dragging:L}),(A,y)=>(T(),$("div",{ref_key:"button",ref:n,class:U([a(s).e("button-wrapper"),{hover:a(x),dragging:a(L)}]),style:D(a(j)),tabindex:a(V)?void 0:0,onMouseenter:y[0]||(y[0]=(...B)=>a(z)&&a(z)(...B)),onMouseleave:y[1]||(y[1]=(...B)=>a(C)&&a(C)(...B)),onMousedown:y[2]||(y[2]=(...B)=>a(X)&&a(X)(...B)),onFocus:y[3]||(y[3]=(...B)=>a(z)&&a(z)(...B)),onBlur:y[4]||(y[4]=(...B)=>a(C)&&a(C)(...B)),onKeydown:y[5]||(y[5]=(...B)=>a(P)&&a(P)(...B))},[Te(a(et),{ref_key:"tooltip",ref:g,visible:a(O),placement:A.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":A.tooltipClass,disabled:!a(p),persistent:h.value},{content:pe(()=>[ee("span",null,Oe(a(S)),1)]),default:pe(()=>[ee("div",{class:U([a(s).e("button"),{hover:a(x),dragging:a(L)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,vt))}}),Le=ft;const gt=Se({mark:{type:Z([String,Object]),default:void 0}});var bt=ke({name:"ElSliderMarker",props:gt,setup(e){const t=Ee("slider"),u=f(()=>Ne(e.mark)?e.mark:e.mark.label),l=f(()=>Ne(e.mark)?void 0:e.mark.style);return()=>je("div",{class:t.e("marks-text"),style:l.value},u.value)}});const ht=["id","role","aria-label","aria-labelledby"],Vt={key:1};var yt=ke({name:"ElSlider",__name:"slider",props:at,emits:lt,setup(e,{expose:t,emit:u}){const l=e,d=u,s=Ee("slider"),{t:o}=Ae(),h=Pe({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:V,slider:n,firstButton:g,secondButton:p,sliderDisabled:w,minValue:O,maxValue:j,runwayStyle:S,barStyle:z,resetSize:C,emitChange:X,onSliderWrapperPrevent:P,onSliderClick:I,onSliderDown:x,onSliderMarkerDown:L,setFirstValue:A,setSecondValue:y}=rt(l,h,d),{stops:B,getStopStyle:H}=ot(l,h,O,j),{inputId:c,isLabeledByFormItem:v}=Je(l,{formItemContext:V}),k=Qe(),q=f(()=>l.inputSize||k.value),_=f(()=>l.showInput&&!l.range&&l.step!=="mark"),G=f(()=>l.ariaLabel||o("el.slider.defaultLabel",{min:l.min,max:l.max})),ae=f(()=>l.range?l.rangeStartLabel||o("el.slider.defaultRangeStartLabel"):G.value),ve=f(()=>l.formatValueText?l.formatValueText(r.value):`${r.value}`),fe=f(()=>l.rangeEndLabel||o("el.slider.defaultRangeEndLabel")),ge=f(()=>l.formatValueText?l.formatValueText(m.value):`${m.value}`),oe=f(()=>[s.b(),s.m(k.value),s.is("vertical",l.vertical),{[s.m("with-input")]:_.value}]),J=st(l);it(l,h,O,j,d,V);const Q=f(()=>K(l.step)?l.step:1),W=f(()=>{const i=K(l.step)?l.step:1,M=[l.min,l.max,i].map(E=>{const le=`${E}`.split(".")[1];return le?le.length:0});return Math.max.apply(null,M)}),{sliderWrapper:R}=nt(l,h,C),{firstValue:r,secondValue:m,sliderSize:b}=we(h),N=i=>{h.dragging=i};return ce(R,"touchstart",P,{passive:!1}),ce(R,"touchmove",P,{passive:!1}),_e(Ye,{...we(l),sliderSize:b,disabled:w,precision:W,markList:J,emitChange:X,resetSize:C,updateDragging:N}),t({onSliderClick:I}),(i,M)=>{var E,le;return T(),$("div",{id:i.range?a(c):void 0,ref_key:"sliderWrapper",ref:R,class:U(oe.value),role:i.range?"group":void 0,"aria-label":i.range&&!a(v)?G.value:void 0,"aria-labelledby":i.range&&a(v)?(E=a(V))==null?void 0:E.labelId:void 0},[ee("div",{ref_key:"slider",ref:n,class:U([a(s).e("runway"),{"show-input":_.value},a(s).is("disabled",a(w))]),style:D(a(S)),onMousedown:M[0]||(M[0]=(...Y)=>a(x)&&a(x)(...Y)),onTouchstartPassive:M[1]||(M[1]=(...Y)=>a(x)&&a(x)(...Y))},[ee("div",{class:U(a(s).e("bar")),style:D(a(z))},null,6),Te(Le,{id:i.range?void 0:a(c),ref_key:"firstButton",ref:g,"model-value":a(r),vertical:i.vertical,"tooltip-class":i.tooltipClass,placement:i.placement,role:"slider","aria-label":i.range||!a(v)?ae.value:void 0,"aria-labelledby":!i.range&&a(v)?(le=a(V))==null?void 0:le.labelId:void 0,"aria-valuemin":i.min,"aria-valuemax":i.range?a(m):i.max,"aria-valuenow":a(r),"aria-valuetext":ve.value,"aria-orientation":i.vertical?"vertical":"horizontal","aria-disabled":a(w),"onUpdate:modelValue":a(A)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),i.range?(T(),be(Le,{key:0,ref_key:"secondButton",ref:p,"model-value":a(m),vertical:i.vertical,"tooltip-class":i.tooltipClass,placement:i.placement,role:"slider","aria-label":fe.value,"aria-valuemin":a(r),"aria-valuemax":i.max,"aria-valuenow":a(m),"aria-valuetext":ge.value,"aria-orientation":i.vertical?"vertical":"horizontal","aria-disabled":a(w),"onUpdate:modelValue":a(y)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):ie("v-if",!0),i.showStops?(T(),$("div",Vt,[(T(!0),$(ue,null,he(a(B),(Y,ne)=>(T(),$("div",{key:ne,class:U(a(s).e("stop")),style:D(a(H)(Y))},null,6))),128))])):ie("v-if",!0),a(J).length>0?(T(),$(ue,{key:2},[ee("div",null,[(T(!0),$(ue,null,he(a(J),(Y,ne)=>(T(),$("div",{key:ne,style:D(a(H)(Y.position)),class:U([a(s).e("stop"),a(s).e("marks-stop")])},null,6))),128))]),ee("div",{class:U(a(s).e("marks"))},[(T(!0),$(ue,null,he(a(J),(Y,ne)=>(T(),be(a(bt),{key:ne,mark:Y.mark,style:D(a(H)(Y.position)),onMousedown:Fe(St=>a(L)(Y.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):ie("v-if",!0)],38),_.value?(T(),be(a(Ze),{key:0,ref:"input","model-value":a(r),class:U(a(s).e("input")),step:Q.value,disabled:a(w),controls:i.showInputControls,min:i.min,max:i.max,precision:W.value,size:q.value,"onUpdate:modelValue":a(A),onChange:a(X)},null,8,["model-value","class","step","disabled","controls","min","max","precision","size","onUpdate:modelValue","onChange"])):ie("v-if",!0)],10,ht)}}}),wt=yt;const Lt=Ge(wt);export{Lt as E}; diff --git a/frontend/dist/assets/el-slider-D0ESR8FK.js b/frontend/dist/assets/el-slider-D0ESR8FK.js index 823035f..300b09b 100644 --- a/frontend/dist/assets/el-slider-D0ESR8FK.js +++ b/frontend/dist/assets/el-slider-D0ESR8FK.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-slider-D0ESR8FK.js import{ak as K,a6 as se,b as Se,aR as Be,R as Z,G as Ke,aS as ce,P as me,y as te,a1 as Xe,j as f,aK as ye,aT as Ie,D as de,C as We,aU as Me,B as $e,V as Ue,W as F,d as ke,a as Ee,z as Pe,aV as we,o as T,c as $,s as Te,w as pe,q as ee,n as U,f as a,aa as Oe,al as D,I as je,J as Ne,aW as Ae,F as _e,e as be,g as ie,M as ue,ad as he,aL as Fe,l as Ge}from"./index-CD29OCdJ.js";import{b as He,c as qe,d as Je,e as Qe}from"./index-6OTFNiIi.js";import{E as Ze}from"./el-input-number-CUR6qfYr.js";import{C as ze,I as xe,U as re}from"./raf-DGtHIxe2.js";import{u as De}from"./index-DpY84JwG.js";import{a as Re,E as et}from"./el-popper-DIiB8Y-M.js";import{d as Ce}from"./debounce-BCyqG5kC.js";import{c as tt}from"./clamp-BfrLWns4.js";const Ye=Symbol("sliderContextKey"),at=Se({modelValue:{type:Z([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Z([Number,String]),default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:Be,inputSize:Be,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:Z(Function),default:void 0},disabled:{type:Boolean,default:void 0},range:Boolean,vertical:Boolean,height:String,rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:Z(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Re,default:"top"},marks:{type:Z(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...De(["ariaLabel"])}),Ve=e=>K(e)||se(e)&&e.every(K),lt={[re]:Ve,[xe]:Ve,[ze]:Ve},nt=(e,t,u)=>{const l=te();return Ke(async()=>{e.range?(se(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):(!K(e.modelValue)||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),ce(window,"resize",u),await me(),u()}),{sliderWrapper:l}},st=e=>{const t=f(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((u,l)=>u-l).filter(u=>u<=e.max&&u>=e.min).map(u=>({point:u,position:(u-e.min)*100/(e.max-e.min),mark:e.marks[u]})):[]);return Xe(()=>{if(e.step==="mark"&&!e.marks&&ye("ElSlider","marks prop must be provided when step is mark"),e.marks){const u=Object.keys(e.marks),l=t.value.map(s=>s.point),d=u.filter(s=>{const o=Number.parseFloat(s);return Number.isNaN(o)||!l.includes(o)});d.length>0&&ye("ElSlider",`Some marks keys are invalid (not a number or out of [min, max]): [${d.map(s=>`'${s}'`).join(", ")}] and will be ignored.`)}}),t},rt=(e,t,u)=>{const{formItem:l}=He(),d=Ie(),s=te(),o=te(),h={firstButton:s,secondButton:o},V=qe(),n=f(()=>Math.min(t.firstValue,t.secondValue)),g=f(()=>Math.max(t.firstValue,t.secondValue)),p=f(()=>e.range?`${100*(g.value-n.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),w=f(()=>e.range?`${100*(n.value-e.min)/(e.max-e.min)}%`:"0%"),O=f(()=>e.vertical?{height:e.height}:{}),j=f(()=>e.vertical?{height:p.value,bottom:w.value}:{width:p.value,left:w.value}),S=()=>{d.value&&(t.sliderSize=d.value.getBoundingClientRect()[e.vertical?"height":"width"])},z=c=>{const v=e.min+c*(e.max-e.min)/100;if(!e.range)return s;let k;return Math.abs(n.value-v)t.secondValue?"firstButton":"secondButton",h[k]},C=c=>{const v=z(c);return v.value.setPosition(c),v},X=c=>{t.firstValue=c??e.min,I(e.range?[n.value,g.value]:c??e.min)},P=c=>{t.secondValue=c,e.range&&I([n.value,g.value])},I=c=>{u(re,c),u(xe,c)},x=async()=>{await me(),u(ze,e.range?[n.value,g.value]:e.modelValue)},L=c=>{var k,q,_,G;if(V.value||t.dragging)return;S();let v=0;if(e.vertical){const ae=((q=(k=c.touches)==null?void 0:k.item(0))==null?void 0:q.clientY)??c.clientY;v=(d.value.getBoundingClientRect().bottom-ae)/t.sliderSize*100}else v=((((G=(_=c.touches)==null?void 0:_.item(0))==null?void 0:G.clientX)??c.clientX)-d.value.getBoundingClientRect().left)/t.sliderSize*100;if(!(v<0||v>100))return C(v)};return{elFormItem:l,slider:d,firstButton:s,secondButton:o,sliderDisabled:V,minValue:n,maxValue:g,runwayStyle:O,barStyle:j,resetSize:S,setPosition:C,emitChange:x,onSliderWrapperPrevent:c=>{var v,k;((v=h.firstButton.value)!=null&&v.dragging||(k=h.secondButton.value)!=null&&k.dragging)&&c.preventDefault()},onSliderClick:c=>{L(c)&&x()},onSliderDown:async c=>{const v=L(c);v&&(await me(),v.value.onButtonDown(c))},onSliderMarkerDown:c=>{V.value||t.dragging||C(c)&&x()},setFirstValue:X,setSecondValue:P}},ot=(e,t,u,l)=>({stops:f(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step==="mark"||e.step===0)return e.step===0&&ye("ElSlider","step should not be 0."),[];const o=Math.ceil((e.max-e.min)/e.step),h=100*e.step/(e.max-e.min),V=Array.from({length:o-1}).map((n,g)=>(g+1)*h);return e.range?V.filter(n=>n<100*(u.value-e.min)/(e.max-e.min)||n>100*(l.value-e.min)/(e.max-e.min)):V.filter(n=>n>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:o=>e.vertical?{bottom:`${o}%`}:{left:`${o}%`}}),it=(e,t,u,l,d,s)=>{const o=n=>{d(re,n),d(xe,n)},h=()=>e.range?![u.value,l.value].every((n,g)=>n===t.oldValue[g]):e.modelValue!==t.oldValue,V=()=>{var g,p;e.min>e.max&&We("Slider","min should not be greater than max.");const n=e.modelValue;e.range&&se(n)?n[1]e.max?o([e.max,e.max]):n[0]e.max?o([n[0],e.max]):(t.firstValue=n[0],t.secondValue=n[1],h()&&(e.validateEvent&&((g=s==null?void 0:s.validate)==null||g.call(s,"change").catch(Me)),t.oldValue=n.slice())):!e.range&&K(n)&&!Number.isNaN(n)&&(ne.max?o(e.max):(t.firstValue=n,h()&&(e.validateEvent&&((p=s==null?void 0:s.validate)==null||p.call(s,"change").catch(Me)),t.oldValue=n)))};V(),de(()=>t.dragging,n=>{n||V()}),de(()=>e.modelValue,(n,g)=>{t.dragging||se(n)&&se(g)&&n.every((p,w)=>p===g[w])&&t.firstValue===n[0]&&t.secondValue===n[1]||V()},{deep:!0}),de(()=>[e.min,e.max],()=>{V()})},ut=(e,t,u)=>{const l=te(),d=te(!1),s=f(()=>t.value instanceof Function);return{tooltip:l,tooltipVisible:d,formatValue:f(()=>s.value&&t.value(e.modelValue)||e.modelValue),displayTooltip:Ce(()=>{u.value&&(d.value=!0)},50),hideTooltip:Ce(()=>{u.value&&(d.value=!1)},50)}},dt=(e,t,u)=>{const{disabled:l,min:d,max:s,step:o,showTooltip:h,persistent:V,precision:n,sliderSize:g,formatTooltip:p,emitChange:w,resetSize:O,updateDragging:j,markList:S}=$e(Ye),{tooltip:z,tooltipVisible:C,formatValue:X,displayTooltip:P,hideTooltip:I}=ut(e,p,h),x=te(),L=f(()=>`${(e.modelValue-d.value)/(s.value-d.value)*100}%`),A=f(()=>e.vertical?{bottom:L.value}:{left:L.value}),y=f(()=>o.value==="mark"&&S.value.length>0),B=()=>{t.hovering=!0,P()},H=()=>{t.hovering=!1,t.dragging||I()},c=r=>{l.value||(r.preventDefault(),J(r),window.addEventListener("mousemove",Q),window.addEventListener("touchmove",Q),window.addEventListener("mouseup",W),window.addEventListener("touchend",W),window.addEventListener("contextmenu",W),x.value.focus())},v=r=>{l.value||(t.newPosition=Number.parseFloat(L.value)+r/(s.value-d.value)*100,R(t.newPosition),w())},k=r=>{if(l.value||!S.value.length)return;const m=e.modelValue,b=Number.EPSILON,N=Math.abs(r);let i;if(r>0){const M=S.value.findIndex(E=>E.point>m+b);if(M!==-1){const E=Math.min(M+N-1,S.value.length-1);i=S.value[E].point}}else{let M=-1;for(let E=S.value.length-1;E>=0;E--)if(S.value[E].point{y.value?k(-1):K(o.value)&&v(-o.value)},_=()=>{y.value?k(1):K(o.value)&&v(o.value)},G=()=>{y.value?k(-4):K(o.value)&&v(-o.value*4)},ae=()=>{y.value?k(4):K(o.value)&&v(o.value*4)},ve=()=>{l.value||(R(0),w())},fe=()=>{l.value||(R(100),w())},ge=r=>{const m=Ue(r);let b=!0;switch(m){case F.left:case F.down:q();break;case F.right:case F.up:_();break;case F.home:ve();break;case F.end:fe();break;case F.pageDown:G();break;case F.pageUp:ae();break;default:b=!1;break}b&&r.preventDefault()},oe=r=>{let m,b;return r.type.startsWith("touch")?(b=r.touches[0].clientY,m=r.touches[0].clientX):(b=r.clientY,m=r.clientX),{clientX:m,clientY:b}},J=r=>{t.dragging=!0,t.isClick=!0;const{clientX:m,clientY:b}=oe(r);e.vertical?t.startY=b:t.startX=m,t.startPosition=Number.parseFloat(L.value),t.newPosition=t.startPosition},Q=r=>{if(t.dragging){t.isClick=!1,P(),O();let m;const{clientX:b,clientY:N}=oe(r);e.vertical?(t.currentY=N,m=(t.startY-t.currentY)/g.value*100):(t.currentX=b,m=(t.currentX-t.startX)/g.value*100),t.newPosition=t.startPosition+m,R(t.newPosition)}},W=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||I(),t.isClick||R(t.newPosition),w()},0),window.removeEventListener("mousemove",Q),window.removeEventListener("touchmove",Q),window.removeEventListener("mouseup",W),window.removeEventListener("touchend",W),window.removeEventListener("contextmenu",W))},R=async r=>{if(r===null||Number.isNaN(+r))return;r=tt(r,0,100);let m;if(o.value==="mark")S.value.length===0?m=r<=50?d.value:s.value:m=S.value.reduce((b,N)=>Math.abs(N.position-r)t.dragging,r=>{j(r)}),ce(x,"touchstart",c,{passive:!1}),{disabled:l,button:x,tooltip:z,tooltipVisible:C,showTooltip:h,persistent:V,wrapperStyle:A,formatValue:X,handleMouseEnter:B,handleMouseLeave:H,onButtonDown:c,onKeyDown:ge,setPosition:R}},ct=Se({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Re,default:"top"}}),mt={[re]:e=>K(e)},vt=["tabindex"];var ft=ke({name:"ElSliderButton",__name:"button",props:ct,emits:mt,setup(e,{expose:t,emit:u}){const l=e,d=u,s=Ee("slider"),o=Pe({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:l.modelValue}),h=f(()=>p.value?w.value:!1),{disabled:V,button:n,tooltip:g,showTooltip:p,persistent:w,tooltipVisible:O,wrapperStyle:j,formatValue:S,handleMouseEnter:z,handleMouseLeave:C,onButtonDown:X,onKeyDown:P,setPosition:I}=dt(l,o,d),{hovering:x,dragging:L}=we(o);return t({onButtonDown:X,onKeyDown:P,setPosition:I,hovering:x,dragging:L}),(A,y)=>(T(),$("div",{ref_key:"button",ref:n,class:U([a(s).e("button-wrapper"),{hover:a(x),dragging:a(L)}]),style:D(a(j)),tabindex:a(V)?void 0:0,onMouseenter:y[0]||(y[0]=(...B)=>a(z)&&a(z)(...B)),onMouseleave:y[1]||(y[1]=(...B)=>a(C)&&a(C)(...B)),onMousedown:y[2]||(y[2]=(...B)=>a(X)&&a(X)(...B)),onFocus:y[3]||(y[3]=(...B)=>a(z)&&a(z)(...B)),onBlur:y[4]||(y[4]=(...B)=>a(C)&&a(C)(...B)),onKeydown:y[5]||(y[5]=(...B)=>a(P)&&a(P)(...B))},[Te(a(et),{ref_key:"tooltip",ref:g,visible:a(O),placement:A.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":A.tooltipClass,disabled:!a(p),persistent:h.value},{content:pe(()=>[ee("span",null,Oe(a(S)),1)]),default:pe(()=>[ee("div",{class:U([a(s).e("button"),{hover:a(x),dragging:a(L)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,vt))}}),Le=ft;const gt=Se({mark:{type:Z([String,Object]),default:void 0}});var bt=ke({name:"ElSliderMarker",props:gt,setup(e){const t=Ee("slider"),u=f(()=>Ne(e.mark)?e.mark:e.mark.label),l=f(()=>Ne(e.mark)?void 0:e.mark.style);return()=>je("div",{class:t.e("marks-text"),style:l.value},u.value)}});const ht=["id","role","aria-label","aria-labelledby"],Vt={key:1};var yt=ke({name:"ElSlider",__name:"slider",props:at,emits:lt,setup(e,{expose:t,emit:u}){const l=e,d=u,s=Ee("slider"),{t:o}=Ae(),h=Pe({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:V,slider:n,firstButton:g,secondButton:p,sliderDisabled:w,minValue:O,maxValue:j,runwayStyle:S,barStyle:z,resetSize:C,emitChange:X,onSliderWrapperPrevent:P,onSliderClick:I,onSliderDown:x,onSliderMarkerDown:L,setFirstValue:A,setSecondValue:y}=rt(l,h,d),{stops:B,getStopStyle:H}=ot(l,h,O,j),{inputId:c,isLabeledByFormItem:v}=Je(l,{formItemContext:V}),k=Qe(),q=f(()=>l.inputSize||k.value),_=f(()=>l.showInput&&!l.range&&l.step!=="mark"),G=f(()=>l.ariaLabel||o("el.slider.defaultLabel",{min:l.min,max:l.max})),ae=f(()=>l.range?l.rangeStartLabel||o("el.slider.defaultRangeStartLabel"):G.value),ve=f(()=>l.formatValueText?l.formatValueText(r.value):`${r.value}`),fe=f(()=>l.rangeEndLabel||o("el.slider.defaultRangeEndLabel")),ge=f(()=>l.formatValueText?l.formatValueText(m.value):`${m.value}`),oe=f(()=>[s.b(),s.m(k.value),s.is("vertical",l.vertical),{[s.m("with-input")]:_.value}]),J=st(l);it(l,h,O,j,d,V);const Q=f(()=>K(l.step)?l.step:1),W=f(()=>{const i=K(l.step)?l.step:1,M=[l.min,l.max,i].map(E=>{const le=`${E}`.split(".")[1];return le?le.length:0});return Math.max.apply(null,M)}),{sliderWrapper:R}=nt(l,h,C),{firstValue:r,secondValue:m,sliderSize:b}=we(h),N=i=>{h.dragging=i};return ce(R,"touchstart",P,{passive:!1}),ce(R,"touchmove",P,{passive:!1}),_e(Ye,{...we(l),sliderSize:b,disabled:w,precision:W,markList:J,emitChange:X,resetSize:C,updateDragging:N}),t({onSliderClick:I}),(i,M)=>{var E,le;return T(),$("div",{id:i.range?a(c):void 0,ref_key:"sliderWrapper",ref:R,class:U(oe.value),role:i.range?"group":void 0,"aria-label":i.range&&!a(v)?G.value:void 0,"aria-labelledby":i.range&&a(v)?(E=a(V))==null?void 0:E.labelId:void 0},[ee("div",{ref_key:"slider",ref:n,class:U([a(s).e("runway"),{"show-input":_.value},a(s).is("disabled",a(w))]),style:D(a(S)),onMousedown:M[0]||(M[0]=(...Y)=>a(x)&&a(x)(...Y)),onTouchstartPassive:M[1]||(M[1]=(...Y)=>a(x)&&a(x)(...Y))},[ee("div",{class:U(a(s).e("bar")),style:D(a(z))},null,6),Te(Le,{id:i.range?void 0:a(c),ref_key:"firstButton",ref:g,"model-value":a(r),vertical:i.vertical,"tooltip-class":i.tooltipClass,placement:i.placement,role:"slider","aria-label":i.range||!a(v)?ae.value:void 0,"aria-labelledby":!i.range&&a(v)?(le=a(V))==null?void 0:le.labelId:void 0,"aria-valuemin":i.min,"aria-valuemax":i.range?a(m):i.max,"aria-valuenow":a(r),"aria-valuetext":ve.value,"aria-orientation":i.vertical?"vertical":"horizontal","aria-disabled":a(w),"onUpdate:modelValue":a(A)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),i.range?(T(),be(Le,{key:0,ref_key:"secondButton",ref:p,"model-value":a(m),vertical:i.vertical,"tooltip-class":i.tooltipClass,placement:i.placement,role:"slider","aria-label":fe.value,"aria-valuemin":a(r),"aria-valuemax":i.max,"aria-valuenow":a(m),"aria-valuetext":ge.value,"aria-orientation":i.vertical?"vertical":"horizontal","aria-disabled":a(w),"onUpdate:modelValue":a(y)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):ie("v-if",!0),i.showStops?(T(),$("div",Vt,[(T(!0),$(ue,null,he(a(B),(Y,ne)=>(T(),$("div",{key:ne,class:U(a(s).e("stop")),style:D(a(H)(Y))},null,6))),128))])):ie("v-if",!0),a(J).length>0?(T(),$(ue,{key:2},[ee("div",null,[(T(!0),$(ue,null,he(a(J),(Y,ne)=>(T(),$("div",{key:ne,style:D(a(H)(Y.position)),class:U([a(s).e("stop"),a(s).e("marks-stop")])},null,6))),128))]),ee("div",{class:U(a(s).e("marks"))},[(T(!0),$(ue,null,he(a(J),(Y,ne)=>(T(),be(a(bt),{key:ne,mark:Y.mark,style:D(a(H)(Y.position)),onMousedown:Fe(St=>a(L)(Y.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):ie("v-if",!0)],38),_.value?(T(),be(a(Ze),{key:0,ref:"input","model-value":a(r),class:U(a(s).e("input")),step:Q.value,disabled:a(w),controls:i.showInputControls,min:i.min,max:i.max,precision:W.value,size:q.value,"onUpdate:modelValue":a(A),onChange:a(X)},null,8,["model-value","class","step","disabled","controls","min","max","precision","size","onUpdate:modelValue","onChange"])):ie("v-if",!0)],10,ht)}}}),wt=yt;const Lt=Ge(wt);export{Lt as E}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-slider-mZJHOhL2.js +import{ak as K,a6 as se,b as Se,aR as Be,R as Z,G as Ke,aS as ce,P as me,y as te,a1 as Xe,j as f,aK as ye,aT as Ie,D as de,C as We,aU as Me,B as $e,V as Ue,W as F,d as ke,a as Ee,z as Pe,aV as we,o as T,c as $,s as Te,w as pe,q as ee,n as U,f as a,aa as Oe,al as D,I as je,J as Ne,aW as Ae,F as _e,e as be,g as ie,M as ue,ad as he,aL as Fe,l as Ge}from"./index-Ds9AETjS.js";import{b as He,c as qe,d as Je,e as Qe}from"./index-BNsCyG4A.js";import{E as Ze}from"./el-input-number-Bg2C0S8w.js";import{C as ze,I as xe,U as re}from"./raf-zQ00nuMI.js";import{u as De}from"./index-BSbCLbaz.js";import{a as Re,E as et}from"./el-popper-D1tByNLb.js";import{d as Ce}from"./debounce-D6mJVDYC.js";import{c as tt}from"./clamp-CyhADbdq.js";const Ye=Symbol("sliderContextKey"),at=Se({modelValue:{type:Z([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Z([Number,String]),default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:Be,inputSize:Be,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:Z(Function),default:void 0},disabled:{type:Boolean,default:void 0},range:Boolean,vertical:Boolean,height:String,rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:Z(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Re,default:"top"},marks:{type:Z(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...De(["ariaLabel"])}),Ve=e=>K(e)||se(e)&&e.every(K),lt={[re]:Ve,[xe]:Ve,[ze]:Ve},nt=(e,t,u)=>{const l=te();return Ke(async()=>{e.range?(se(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):(!K(e.modelValue)||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),ce(window,"resize",u),await me(),u()}),{sliderWrapper:l}},st=e=>{const t=f(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((u,l)=>u-l).filter(u=>u<=e.max&&u>=e.min).map(u=>({point:u,position:(u-e.min)*100/(e.max-e.min),mark:e.marks[u]})):[]);return Xe(()=>{if(e.step==="mark"&&!e.marks&&ye("ElSlider","marks prop must be provided when step is mark"),e.marks){const u=Object.keys(e.marks),l=t.value.map(s=>s.point),d=u.filter(s=>{const o=Number.parseFloat(s);return Number.isNaN(o)||!l.includes(o)});d.length>0&&ye("ElSlider",`Some marks keys are invalid (not a number or out of [min, max]): [${d.map(s=>`'${s}'`).join(", ")}] and will be ignored.`)}}),t},rt=(e,t,u)=>{const{formItem:l}=He(),d=Ie(),s=te(),o=te(),h={firstButton:s,secondButton:o},V=qe(),n=f(()=>Math.min(t.firstValue,t.secondValue)),g=f(()=>Math.max(t.firstValue,t.secondValue)),p=f(()=>e.range?`${100*(g.value-n.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),w=f(()=>e.range?`${100*(n.value-e.min)/(e.max-e.min)}%`:"0%"),O=f(()=>e.vertical?{height:e.height}:{}),j=f(()=>e.vertical?{height:p.value,bottom:w.value}:{width:p.value,left:w.value}),S=()=>{d.value&&(t.sliderSize=d.value.getBoundingClientRect()[e.vertical?"height":"width"])},z=c=>{const v=e.min+c*(e.max-e.min)/100;if(!e.range)return s;let k;return Math.abs(n.value-v)t.secondValue?"firstButton":"secondButton",h[k]},C=c=>{const v=z(c);return v.value.setPosition(c),v},X=c=>{t.firstValue=c??e.min,I(e.range?[n.value,g.value]:c??e.min)},P=c=>{t.secondValue=c,e.range&&I([n.value,g.value])},I=c=>{u(re,c),u(xe,c)},x=async()=>{await me(),u(ze,e.range?[n.value,g.value]:e.modelValue)},L=c=>{var k,q,_,G;if(V.value||t.dragging)return;S();let v=0;if(e.vertical){const ae=((q=(k=c.touches)==null?void 0:k.item(0))==null?void 0:q.clientY)??c.clientY;v=(d.value.getBoundingClientRect().bottom-ae)/t.sliderSize*100}else v=((((G=(_=c.touches)==null?void 0:_.item(0))==null?void 0:G.clientX)??c.clientX)-d.value.getBoundingClientRect().left)/t.sliderSize*100;if(!(v<0||v>100))return C(v)};return{elFormItem:l,slider:d,firstButton:s,secondButton:o,sliderDisabled:V,minValue:n,maxValue:g,runwayStyle:O,barStyle:j,resetSize:S,setPosition:C,emitChange:x,onSliderWrapperPrevent:c=>{var v,k;((v=h.firstButton.value)!=null&&v.dragging||(k=h.secondButton.value)!=null&&k.dragging)&&c.preventDefault()},onSliderClick:c=>{L(c)&&x()},onSliderDown:async c=>{const v=L(c);v&&(await me(),v.value.onButtonDown(c))},onSliderMarkerDown:c=>{V.value||t.dragging||C(c)&&x()},setFirstValue:X,setSecondValue:P}},ot=(e,t,u,l)=>({stops:f(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step==="mark"||e.step===0)return e.step===0&&ye("ElSlider","step should not be 0."),[];const o=Math.ceil((e.max-e.min)/e.step),h=100*e.step/(e.max-e.min),V=Array.from({length:o-1}).map((n,g)=>(g+1)*h);return e.range?V.filter(n=>n<100*(u.value-e.min)/(e.max-e.min)||n>100*(l.value-e.min)/(e.max-e.min)):V.filter(n=>n>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:o=>e.vertical?{bottom:`${o}%`}:{left:`${o}%`}}),it=(e,t,u,l,d,s)=>{const o=n=>{d(re,n),d(xe,n)},h=()=>e.range?![u.value,l.value].every((n,g)=>n===t.oldValue[g]):e.modelValue!==t.oldValue,V=()=>{var g,p;e.min>e.max&&We("Slider","min should not be greater than max.");const n=e.modelValue;e.range&&se(n)?n[1]e.max?o([e.max,e.max]):n[0]e.max?o([n[0],e.max]):(t.firstValue=n[0],t.secondValue=n[1],h()&&(e.validateEvent&&((g=s==null?void 0:s.validate)==null||g.call(s,"change").catch(Me)),t.oldValue=n.slice())):!e.range&&K(n)&&!Number.isNaN(n)&&(ne.max?o(e.max):(t.firstValue=n,h()&&(e.validateEvent&&((p=s==null?void 0:s.validate)==null||p.call(s,"change").catch(Me)),t.oldValue=n)))};V(),de(()=>t.dragging,n=>{n||V()}),de(()=>e.modelValue,(n,g)=>{t.dragging||se(n)&&se(g)&&n.every((p,w)=>p===g[w])&&t.firstValue===n[0]&&t.secondValue===n[1]||V()},{deep:!0}),de(()=>[e.min,e.max],()=>{V()})},ut=(e,t,u)=>{const l=te(),d=te(!1),s=f(()=>t.value instanceof Function);return{tooltip:l,tooltipVisible:d,formatValue:f(()=>s.value&&t.value(e.modelValue)||e.modelValue),displayTooltip:Ce(()=>{u.value&&(d.value=!0)},50),hideTooltip:Ce(()=>{u.value&&(d.value=!1)},50)}},dt=(e,t,u)=>{const{disabled:l,min:d,max:s,step:o,showTooltip:h,persistent:V,precision:n,sliderSize:g,formatTooltip:p,emitChange:w,resetSize:O,updateDragging:j,markList:S}=$e(Ye),{tooltip:z,tooltipVisible:C,formatValue:X,displayTooltip:P,hideTooltip:I}=ut(e,p,h),x=te(),L=f(()=>`${(e.modelValue-d.value)/(s.value-d.value)*100}%`),A=f(()=>e.vertical?{bottom:L.value}:{left:L.value}),y=f(()=>o.value==="mark"&&S.value.length>0),B=()=>{t.hovering=!0,P()},H=()=>{t.hovering=!1,t.dragging||I()},c=r=>{l.value||(r.preventDefault(),J(r),window.addEventListener("mousemove",Q),window.addEventListener("touchmove",Q),window.addEventListener("mouseup",W),window.addEventListener("touchend",W),window.addEventListener("contextmenu",W),x.value.focus())},v=r=>{l.value||(t.newPosition=Number.parseFloat(L.value)+r/(s.value-d.value)*100,R(t.newPosition),w())},k=r=>{if(l.value||!S.value.length)return;const m=e.modelValue,b=Number.EPSILON,N=Math.abs(r);let i;if(r>0){const M=S.value.findIndex(E=>E.point>m+b);if(M!==-1){const E=Math.min(M+N-1,S.value.length-1);i=S.value[E].point}}else{let M=-1;for(let E=S.value.length-1;E>=0;E--)if(S.value[E].point{y.value?k(-1):K(o.value)&&v(-o.value)},_=()=>{y.value?k(1):K(o.value)&&v(o.value)},G=()=>{y.value?k(-4):K(o.value)&&v(-o.value*4)},ae=()=>{y.value?k(4):K(o.value)&&v(o.value*4)},ve=()=>{l.value||(R(0),w())},fe=()=>{l.value||(R(100),w())},ge=r=>{const m=Ue(r);let b=!0;switch(m){case F.left:case F.down:q();break;case F.right:case F.up:_();break;case F.home:ve();break;case F.end:fe();break;case F.pageDown:G();break;case F.pageUp:ae();break;default:b=!1;break}b&&r.preventDefault()},oe=r=>{let m,b;return r.type.startsWith("touch")?(b=r.touches[0].clientY,m=r.touches[0].clientX):(b=r.clientY,m=r.clientX),{clientX:m,clientY:b}},J=r=>{t.dragging=!0,t.isClick=!0;const{clientX:m,clientY:b}=oe(r);e.vertical?t.startY=b:t.startX=m,t.startPosition=Number.parseFloat(L.value),t.newPosition=t.startPosition},Q=r=>{if(t.dragging){t.isClick=!1,P(),O();let m;const{clientX:b,clientY:N}=oe(r);e.vertical?(t.currentY=N,m=(t.startY-t.currentY)/g.value*100):(t.currentX=b,m=(t.currentX-t.startX)/g.value*100),t.newPosition=t.startPosition+m,R(t.newPosition)}},W=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||I(),t.isClick||R(t.newPosition),w()},0),window.removeEventListener("mousemove",Q),window.removeEventListener("touchmove",Q),window.removeEventListener("mouseup",W),window.removeEventListener("touchend",W),window.removeEventListener("contextmenu",W))},R=async r=>{if(r===null||Number.isNaN(+r))return;r=tt(r,0,100);let m;if(o.value==="mark")S.value.length===0?m=r<=50?d.value:s.value:m=S.value.reduce((b,N)=>Math.abs(N.position-r)t.dragging,r=>{j(r)}),ce(x,"touchstart",c,{passive:!1}),{disabled:l,button:x,tooltip:z,tooltipVisible:C,showTooltip:h,persistent:V,wrapperStyle:A,formatValue:X,handleMouseEnter:B,handleMouseLeave:H,onButtonDown:c,onKeyDown:ge,setPosition:R}},ct=Se({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Re,default:"top"}}),mt={[re]:e=>K(e)},vt=["tabindex"];var ft=ke({name:"ElSliderButton",__name:"button",props:ct,emits:mt,setup(e,{expose:t,emit:u}){const l=e,d=u,s=Ee("slider"),o=Pe({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:l.modelValue}),h=f(()=>p.value?w.value:!1),{disabled:V,button:n,tooltip:g,showTooltip:p,persistent:w,tooltipVisible:O,wrapperStyle:j,formatValue:S,handleMouseEnter:z,handleMouseLeave:C,onButtonDown:X,onKeyDown:P,setPosition:I}=dt(l,o,d),{hovering:x,dragging:L}=we(o);return t({onButtonDown:X,onKeyDown:P,setPosition:I,hovering:x,dragging:L}),(A,y)=>(T(),$("div",{ref_key:"button",ref:n,class:U([a(s).e("button-wrapper"),{hover:a(x),dragging:a(L)}]),style:D(a(j)),tabindex:a(V)?void 0:0,onMouseenter:y[0]||(y[0]=(...B)=>a(z)&&a(z)(...B)),onMouseleave:y[1]||(y[1]=(...B)=>a(C)&&a(C)(...B)),onMousedown:y[2]||(y[2]=(...B)=>a(X)&&a(X)(...B)),onFocus:y[3]||(y[3]=(...B)=>a(z)&&a(z)(...B)),onBlur:y[4]||(y[4]=(...B)=>a(C)&&a(C)(...B)),onKeydown:y[5]||(y[5]=(...B)=>a(P)&&a(P)(...B))},[Te(a(et),{ref_key:"tooltip",ref:g,visible:a(O),placement:A.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":A.tooltipClass,disabled:!a(p),persistent:h.value},{content:pe(()=>[ee("span",null,Oe(a(S)),1)]),default:pe(()=>[ee("div",{class:U([a(s).e("button"),{hover:a(x),dragging:a(L)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,vt))}}),Le=ft;const gt=Se({mark:{type:Z([String,Object]),default:void 0}});var bt=ke({name:"ElSliderMarker",props:gt,setup(e){const t=Ee("slider"),u=f(()=>Ne(e.mark)?e.mark:e.mark.label),l=f(()=>Ne(e.mark)?void 0:e.mark.style);return()=>je("div",{class:t.e("marks-text"),style:l.value},u.value)}});const ht=["id","role","aria-label","aria-labelledby"],Vt={key:1};var yt=ke({name:"ElSlider",__name:"slider",props:at,emits:lt,setup(e,{expose:t,emit:u}){const l=e,d=u,s=Ee("slider"),{t:o}=Ae(),h=Pe({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:V,slider:n,firstButton:g,secondButton:p,sliderDisabled:w,minValue:O,maxValue:j,runwayStyle:S,barStyle:z,resetSize:C,emitChange:X,onSliderWrapperPrevent:P,onSliderClick:I,onSliderDown:x,onSliderMarkerDown:L,setFirstValue:A,setSecondValue:y}=rt(l,h,d),{stops:B,getStopStyle:H}=ot(l,h,O,j),{inputId:c,isLabeledByFormItem:v}=Je(l,{formItemContext:V}),k=Qe(),q=f(()=>l.inputSize||k.value),_=f(()=>l.showInput&&!l.range&&l.step!=="mark"),G=f(()=>l.ariaLabel||o("el.slider.defaultLabel",{min:l.min,max:l.max})),ae=f(()=>l.range?l.rangeStartLabel||o("el.slider.defaultRangeStartLabel"):G.value),ve=f(()=>l.formatValueText?l.formatValueText(r.value):`${r.value}`),fe=f(()=>l.rangeEndLabel||o("el.slider.defaultRangeEndLabel")),ge=f(()=>l.formatValueText?l.formatValueText(m.value):`${m.value}`),oe=f(()=>[s.b(),s.m(k.value),s.is("vertical",l.vertical),{[s.m("with-input")]:_.value}]),J=st(l);it(l,h,O,j,d,V);const Q=f(()=>K(l.step)?l.step:1),W=f(()=>{const i=K(l.step)?l.step:1,M=[l.min,l.max,i].map(E=>{const le=`${E}`.split(".")[1];return le?le.length:0});return Math.max.apply(null,M)}),{sliderWrapper:R}=nt(l,h,C),{firstValue:r,secondValue:m,sliderSize:b}=we(h),N=i=>{h.dragging=i};return ce(R,"touchstart",P,{passive:!1}),ce(R,"touchmove",P,{passive:!1}),_e(Ye,{...we(l),sliderSize:b,disabled:w,precision:W,markList:J,emitChange:X,resetSize:C,updateDragging:N}),t({onSliderClick:I}),(i,M)=>{var E,le;return T(),$("div",{id:i.range?a(c):void 0,ref_key:"sliderWrapper",ref:R,class:U(oe.value),role:i.range?"group":void 0,"aria-label":i.range&&!a(v)?G.value:void 0,"aria-labelledby":i.range&&a(v)?(E=a(V))==null?void 0:E.labelId:void 0},[ee("div",{ref_key:"slider",ref:n,class:U([a(s).e("runway"),{"show-input":_.value},a(s).is("disabled",a(w))]),style:D(a(S)),onMousedown:M[0]||(M[0]=(...Y)=>a(x)&&a(x)(...Y)),onTouchstartPassive:M[1]||(M[1]=(...Y)=>a(x)&&a(x)(...Y))},[ee("div",{class:U(a(s).e("bar")),style:D(a(z))},null,6),Te(Le,{id:i.range?void 0:a(c),ref_key:"firstButton",ref:g,"model-value":a(r),vertical:i.vertical,"tooltip-class":i.tooltipClass,placement:i.placement,role:"slider","aria-label":i.range||!a(v)?ae.value:void 0,"aria-labelledby":!i.range&&a(v)?(le=a(V))==null?void 0:le.labelId:void 0,"aria-valuemin":i.min,"aria-valuemax":i.range?a(m):i.max,"aria-valuenow":a(r),"aria-valuetext":ve.value,"aria-orientation":i.vertical?"vertical":"horizontal","aria-disabled":a(w),"onUpdate:modelValue":a(A)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),i.range?(T(),be(Le,{key:0,ref_key:"secondButton",ref:p,"model-value":a(m),vertical:i.vertical,"tooltip-class":i.tooltipClass,placement:i.placement,role:"slider","aria-label":fe.value,"aria-valuemin":a(r),"aria-valuemax":i.max,"aria-valuenow":a(m),"aria-valuetext":ge.value,"aria-orientation":i.vertical?"vertical":"horizontal","aria-disabled":a(w),"onUpdate:modelValue":a(y)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):ie("v-if",!0),i.showStops?(T(),$("div",Vt,[(T(!0),$(ue,null,he(a(B),(Y,ne)=>(T(),$("div",{key:ne,class:U(a(s).e("stop")),style:D(a(H)(Y))},null,6))),128))])):ie("v-if",!0),a(J).length>0?(T(),$(ue,{key:2},[ee("div",null,[(T(!0),$(ue,null,he(a(J),(Y,ne)=>(T(),$("div",{key:ne,style:D(a(H)(Y.position)),class:U([a(s).e("stop"),a(s).e("marks-stop")])},null,6))),128))]),ee("div",{class:U(a(s).e("marks"))},[(T(!0),$(ue,null,he(a(J),(Y,ne)=>(T(),be(a(bt),{key:ne,mark:Y.mark,style:D(a(H)(Y.position)),onMousedown:Fe(St=>a(L)(Y.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):ie("v-if",!0)],38),_.value?(T(),be(a(Ze),{key:0,ref:"input","model-value":a(r),class:U(a(s).e("input")),step:Q.value,disabled:a(w),controls:i.showInputControls,min:i.min,max:i.max,precision:W.value,size:q.value,"onUpdate:modelValue":a(A),onChange:a(X)},null,8,["model-value","class","step","disabled","controls","min","max","precision","size","onUpdate:modelValue","onChange"])):ie("v-if",!0)],10,ht)}}}),wt=yt;const Lt=Ge(wt);export{Lt as E}; +======== +import{ak as K,a6 as se,b as Se,aS as Be,R as Z,G as Ke,aT as ce,P as me,y as te,a1 as Xe,j as f,aK as ye,aQ as Ie,D as de,C as We,aU as Me,B as $e,V as Ue,W as F,d as ke,a as Ee,z as Pe,aV as we,o as T,c as $,s as Te,w as pe,q as ee,n as U,f as a,aa as Oe,al as D,I as je,J as Ne,aW as Ae,F as _e,e as be,g as ie,M as ue,ad as he,aL as Fe,l as Ge}from"./index-CxbBjZKo.js";import{b as He,c as qe,d as Je,e as Qe}from"./index-D23K2h6y.js";import{E as Ze}from"./el-input-number-Ba6IqA7Z.js";import{C as ze,I as xe,U as re}from"./raf-Bjl8yy5U.js";import{u as De}from"./index-DxP0p4ch.js";import{a as Re,E as et}from"./el-popper-OAwpEmER.js";import{d as Ce}from"./debounce-BJxjS5F3.js";import{c as tt}from"./clamp-Ow4I6lPc.js";const Ye=Symbol("sliderContextKey"),at=Se({modelValue:{type:Z([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Z([Number,String]),default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:Be,inputSize:Be,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:Z(Function),default:void 0},disabled:{type:Boolean,default:void 0},range:Boolean,vertical:Boolean,height:String,rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:Z(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Re,default:"top"},marks:{type:Z(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...De(["ariaLabel"])}),Ve=e=>K(e)||se(e)&&e.every(K),lt={[re]:Ve,[xe]:Ve,[ze]:Ve},nt=(e,t,u)=>{const l=te();return Ke(async()=>{e.range?(se(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):(!K(e.modelValue)||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),ce(window,"resize",u),await me(),u()}),{sliderWrapper:l}},st=e=>{const t=f(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((u,l)=>u-l).filter(u=>u<=e.max&&u>=e.min).map(u=>({point:u,position:(u-e.min)*100/(e.max-e.min),mark:e.marks[u]})):[]);return Xe(()=>{if(e.step==="mark"&&!e.marks&&ye("ElSlider","marks prop must be provided when step is mark"),e.marks){const u=Object.keys(e.marks),l=t.value.map(s=>s.point),d=u.filter(s=>{const o=Number.parseFloat(s);return Number.isNaN(o)||!l.includes(o)});d.length>0&&ye("ElSlider",`Some marks keys are invalid (not a number or out of [min, max]): [${d.map(s=>`'${s}'`).join(", ")}] and will be ignored.`)}}),t},rt=(e,t,u)=>{const{formItem:l}=He(),d=Ie(),s=te(),o=te(),h={firstButton:s,secondButton:o},V=qe(),n=f(()=>Math.min(t.firstValue,t.secondValue)),g=f(()=>Math.max(t.firstValue,t.secondValue)),p=f(()=>e.range?`${100*(g.value-n.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),w=f(()=>e.range?`${100*(n.value-e.min)/(e.max-e.min)}%`:"0%"),O=f(()=>e.vertical?{height:e.height}:{}),j=f(()=>e.vertical?{height:p.value,bottom:w.value}:{width:p.value,left:w.value}),S=()=>{d.value&&(t.sliderSize=d.value.getBoundingClientRect()[e.vertical?"height":"width"])},z=c=>{const v=e.min+c*(e.max-e.min)/100;if(!e.range)return s;let k;return Math.abs(n.value-v)t.secondValue?"firstButton":"secondButton",h[k]},C=c=>{const v=z(c);return v.value.setPosition(c),v},X=c=>{t.firstValue=c??e.min,I(e.range?[n.value,g.value]:c??e.min)},P=c=>{t.secondValue=c,e.range&&I([n.value,g.value])},I=c=>{u(re,c),u(xe,c)},x=async()=>{await me(),u(ze,e.range?[n.value,g.value]:e.modelValue)},L=c=>{var k,q,_,G;if(V.value||t.dragging)return;S();let v=0;if(e.vertical){const ae=((q=(k=c.touches)==null?void 0:k.item(0))==null?void 0:q.clientY)??c.clientY;v=(d.value.getBoundingClientRect().bottom-ae)/t.sliderSize*100}else v=((((G=(_=c.touches)==null?void 0:_.item(0))==null?void 0:G.clientX)??c.clientX)-d.value.getBoundingClientRect().left)/t.sliderSize*100;if(!(v<0||v>100))return C(v)};return{elFormItem:l,slider:d,firstButton:s,secondButton:o,sliderDisabled:V,minValue:n,maxValue:g,runwayStyle:O,barStyle:j,resetSize:S,setPosition:C,emitChange:x,onSliderWrapperPrevent:c=>{var v,k;((v=h.firstButton.value)!=null&&v.dragging||(k=h.secondButton.value)!=null&&k.dragging)&&c.preventDefault()},onSliderClick:c=>{L(c)&&x()},onSliderDown:async c=>{const v=L(c);v&&(await me(),v.value.onButtonDown(c))},onSliderMarkerDown:c=>{V.value||t.dragging||C(c)&&x()},setFirstValue:X,setSecondValue:P}},ot=(e,t,u,l)=>({stops:f(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step==="mark"||e.step===0)return e.step===0&&ye("ElSlider","step should not be 0."),[];const o=Math.ceil((e.max-e.min)/e.step),h=100*e.step/(e.max-e.min),V=Array.from({length:o-1}).map((n,g)=>(g+1)*h);return e.range?V.filter(n=>n<100*(u.value-e.min)/(e.max-e.min)||n>100*(l.value-e.min)/(e.max-e.min)):V.filter(n=>n>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:o=>e.vertical?{bottom:`${o}%`}:{left:`${o}%`}}),it=(e,t,u,l,d,s)=>{const o=n=>{d(re,n),d(xe,n)},h=()=>e.range?![u.value,l.value].every((n,g)=>n===t.oldValue[g]):e.modelValue!==t.oldValue,V=()=>{var g,p;e.min>e.max&&We("Slider","min should not be greater than max.");const n=e.modelValue;e.range&&se(n)?n[1]e.max?o([e.max,e.max]):n[0]e.max?o([n[0],e.max]):(t.firstValue=n[0],t.secondValue=n[1],h()&&(e.validateEvent&&((g=s==null?void 0:s.validate)==null||g.call(s,"change").catch(Me)),t.oldValue=n.slice())):!e.range&&K(n)&&!Number.isNaN(n)&&(ne.max?o(e.max):(t.firstValue=n,h()&&(e.validateEvent&&((p=s==null?void 0:s.validate)==null||p.call(s,"change").catch(Me)),t.oldValue=n)))};V(),de(()=>t.dragging,n=>{n||V()}),de(()=>e.modelValue,(n,g)=>{t.dragging||se(n)&&se(g)&&n.every((p,w)=>p===g[w])&&t.firstValue===n[0]&&t.secondValue===n[1]||V()},{deep:!0}),de(()=>[e.min,e.max],()=>{V()})},ut=(e,t,u)=>{const l=te(),d=te(!1),s=f(()=>t.value instanceof Function);return{tooltip:l,tooltipVisible:d,formatValue:f(()=>s.value&&t.value(e.modelValue)||e.modelValue),displayTooltip:Ce(()=>{u.value&&(d.value=!0)},50),hideTooltip:Ce(()=>{u.value&&(d.value=!1)},50)}},dt=(e,t,u)=>{const{disabled:l,min:d,max:s,step:o,showTooltip:h,persistent:V,precision:n,sliderSize:g,formatTooltip:p,emitChange:w,resetSize:O,updateDragging:j,markList:S}=$e(Ye),{tooltip:z,tooltipVisible:C,formatValue:X,displayTooltip:P,hideTooltip:I}=ut(e,p,h),x=te(),L=f(()=>`${(e.modelValue-d.value)/(s.value-d.value)*100}%`),A=f(()=>e.vertical?{bottom:L.value}:{left:L.value}),y=f(()=>o.value==="mark"&&S.value.length>0),B=()=>{t.hovering=!0,P()},H=()=>{t.hovering=!1,t.dragging||I()},c=r=>{l.value||(r.preventDefault(),J(r),window.addEventListener("mousemove",Q),window.addEventListener("touchmove",Q),window.addEventListener("mouseup",W),window.addEventListener("touchend",W),window.addEventListener("contextmenu",W),x.value.focus())},v=r=>{l.value||(t.newPosition=Number.parseFloat(L.value)+r/(s.value-d.value)*100,R(t.newPosition),w())},k=r=>{if(l.value||!S.value.length)return;const m=e.modelValue,b=Number.EPSILON,N=Math.abs(r);let i;if(r>0){const M=S.value.findIndex(E=>E.point>m+b);if(M!==-1){const E=Math.min(M+N-1,S.value.length-1);i=S.value[E].point}}else{let M=-1;for(let E=S.value.length-1;E>=0;E--)if(S.value[E].point{y.value?k(-1):K(o.value)&&v(-o.value)},_=()=>{y.value?k(1):K(o.value)&&v(o.value)},G=()=>{y.value?k(-4):K(o.value)&&v(-o.value*4)},ae=()=>{y.value?k(4):K(o.value)&&v(o.value*4)},ve=()=>{l.value||(R(0),w())},fe=()=>{l.value||(R(100),w())},ge=r=>{const m=Ue(r);let b=!0;switch(m){case F.left:case F.down:q();break;case F.right:case F.up:_();break;case F.home:ve();break;case F.end:fe();break;case F.pageDown:G();break;case F.pageUp:ae();break;default:b=!1;break}b&&r.preventDefault()},oe=r=>{let m,b;return r.type.startsWith("touch")?(b=r.touches[0].clientY,m=r.touches[0].clientX):(b=r.clientY,m=r.clientX),{clientX:m,clientY:b}},J=r=>{t.dragging=!0,t.isClick=!0;const{clientX:m,clientY:b}=oe(r);e.vertical?t.startY=b:t.startX=m,t.startPosition=Number.parseFloat(L.value),t.newPosition=t.startPosition},Q=r=>{if(t.dragging){t.isClick=!1,P(),O();let m;const{clientX:b,clientY:N}=oe(r);e.vertical?(t.currentY=N,m=(t.startY-t.currentY)/g.value*100):(t.currentX=b,m=(t.currentX-t.startX)/g.value*100),t.newPosition=t.startPosition+m,R(t.newPosition)}},W=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||I(),t.isClick||R(t.newPosition),w()},0),window.removeEventListener("mousemove",Q),window.removeEventListener("touchmove",Q),window.removeEventListener("mouseup",W),window.removeEventListener("touchend",W),window.removeEventListener("contextmenu",W))},R=async r=>{if(r===null||Number.isNaN(+r))return;r=tt(r,0,100);let m;if(o.value==="mark")S.value.length===0?m=r<=50?d.value:s.value:m=S.value.reduce((b,N)=>Math.abs(N.position-r)t.dragging,r=>{j(r)}),ce(x,"touchstart",c,{passive:!1}),{disabled:l,button:x,tooltip:z,tooltipVisible:C,showTooltip:h,persistent:V,wrapperStyle:A,formatValue:X,handleMouseEnter:B,handleMouseLeave:H,onButtonDown:c,onKeyDown:ge,setPosition:R}},ct=Se({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Re,default:"top"}}),mt={[re]:e=>K(e)},vt=["tabindex"];var ft=ke({name:"ElSliderButton",__name:"button",props:ct,emits:mt,setup(e,{expose:t,emit:u}){const l=e,d=u,s=Ee("slider"),o=Pe({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:l.modelValue}),h=f(()=>p.value?w.value:!1),{disabled:V,button:n,tooltip:g,showTooltip:p,persistent:w,tooltipVisible:O,wrapperStyle:j,formatValue:S,handleMouseEnter:z,handleMouseLeave:C,onButtonDown:X,onKeyDown:P,setPosition:I}=dt(l,o,d),{hovering:x,dragging:L}=we(o);return t({onButtonDown:X,onKeyDown:P,setPosition:I,hovering:x,dragging:L}),(A,y)=>(T(),$("div",{ref_key:"button",ref:n,class:U([a(s).e("button-wrapper"),{hover:a(x),dragging:a(L)}]),style:D(a(j)),tabindex:a(V)?void 0:0,onMouseenter:y[0]||(y[0]=(...B)=>a(z)&&a(z)(...B)),onMouseleave:y[1]||(y[1]=(...B)=>a(C)&&a(C)(...B)),onMousedown:y[2]||(y[2]=(...B)=>a(X)&&a(X)(...B)),onFocus:y[3]||(y[3]=(...B)=>a(z)&&a(z)(...B)),onBlur:y[4]||(y[4]=(...B)=>a(C)&&a(C)(...B)),onKeydown:y[5]||(y[5]=(...B)=>a(P)&&a(P)(...B))},[Te(a(et),{ref_key:"tooltip",ref:g,visible:a(O),placement:A.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":A.tooltipClass,disabled:!a(p),persistent:h.value},{content:pe(()=>[ee("span",null,Oe(a(S)),1)]),default:pe(()=>[ee("div",{class:U([a(s).e("button"),{hover:a(x),dragging:a(L)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,vt))}}),Le=ft;const gt=Se({mark:{type:Z([String,Object]),default:void 0}});var bt=ke({name:"ElSliderMarker",props:gt,setup(e){const t=Ee("slider"),u=f(()=>Ne(e.mark)?e.mark:e.mark.label),l=f(()=>Ne(e.mark)?void 0:e.mark.style);return()=>je("div",{class:t.e("marks-text"),style:l.value},u.value)}});const ht=["id","role","aria-label","aria-labelledby"],Vt={key:1};var yt=ke({name:"ElSlider",__name:"slider",props:at,emits:lt,setup(e,{expose:t,emit:u}){const l=e,d=u,s=Ee("slider"),{t:o}=Ae(),h=Pe({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:V,slider:n,firstButton:g,secondButton:p,sliderDisabled:w,minValue:O,maxValue:j,runwayStyle:S,barStyle:z,resetSize:C,emitChange:X,onSliderWrapperPrevent:P,onSliderClick:I,onSliderDown:x,onSliderMarkerDown:L,setFirstValue:A,setSecondValue:y}=rt(l,h,d),{stops:B,getStopStyle:H}=ot(l,h,O,j),{inputId:c,isLabeledByFormItem:v}=Je(l,{formItemContext:V}),k=Qe(),q=f(()=>l.inputSize||k.value),_=f(()=>l.showInput&&!l.range&&l.step!=="mark"),G=f(()=>l.ariaLabel||o("el.slider.defaultLabel",{min:l.min,max:l.max})),ae=f(()=>l.range?l.rangeStartLabel||o("el.slider.defaultRangeStartLabel"):G.value),ve=f(()=>l.formatValueText?l.formatValueText(r.value):`${r.value}`),fe=f(()=>l.rangeEndLabel||o("el.slider.defaultRangeEndLabel")),ge=f(()=>l.formatValueText?l.formatValueText(m.value):`${m.value}`),oe=f(()=>[s.b(),s.m(k.value),s.is("vertical",l.vertical),{[s.m("with-input")]:_.value}]),J=st(l);it(l,h,O,j,d,V);const Q=f(()=>K(l.step)?l.step:1),W=f(()=>{const i=K(l.step)?l.step:1,M=[l.min,l.max,i].map(E=>{const le=`${E}`.split(".")[1];return le?le.length:0});return Math.max.apply(null,M)}),{sliderWrapper:R}=nt(l,h,C),{firstValue:r,secondValue:m,sliderSize:b}=we(h),N=i=>{h.dragging=i};return ce(R,"touchstart",P,{passive:!1}),ce(R,"touchmove",P,{passive:!1}),_e(Ye,{...we(l),sliderSize:b,disabled:w,precision:W,markList:J,emitChange:X,resetSize:C,updateDragging:N}),t({onSliderClick:I}),(i,M)=>{var E,le;return T(),$("div",{id:i.range?a(c):void 0,ref_key:"sliderWrapper",ref:R,class:U(oe.value),role:i.range?"group":void 0,"aria-label":i.range&&!a(v)?G.value:void 0,"aria-labelledby":i.range&&a(v)?(E=a(V))==null?void 0:E.labelId:void 0},[ee("div",{ref_key:"slider",ref:n,class:U([a(s).e("runway"),{"show-input":_.value},a(s).is("disabled",a(w))]),style:D(a(S)),onMousedown:M[0]||(M[0]=(...Y)=>a(x)&&a(x)(...Y)),onTouchstartPassive:M[1]||(M[1]=(...Y)=>a(x)&&a(x)(...Y))},[ee("div",{class:U(a(s).e("bar")),style:D(a(z))},null,6),Te(Le,{id:i.range?void 0:a(c),ref_key:"firstButton",ref:g,"model-value":a(r),vertical:i.vertical,"tooltip-class":i.tooltipClass,placement:i.placement,role:"slider","aria-label":i.range||!a(v)?ae.value:void 0,"aria-labelledby":!i.range&&a(v)?(le=a(V))==null?void 0:le.labelId:void 0,"aria-valuemin":i.min,"aria-valuemax":i.range?a(m):i.max,"aria-valuenow":a(r),"aria-valuetext":ve.value,"aria-orientation":i.vertical?"vertical":"horizontal","aria-disabled":a(w),"onUpdate:modelValue":a(A)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),i.range?(T(),be(Le,{key:0,ref_key:"secondButton",ref:p,"model-value":a(m),vertical:i.vertical,"tooltip-class":i.tooltipClass,placement:i.placement,role:"slider","aria-label":fe.value,"aria-valuemin":a(r),"aria-valuemax":i.max,"aria-valuenow":a(m),"aria-valuetext":ge.value,"aria-orientation":i.vertical?"vertical":"horizontal","aria-disabled":a(w),"onUpdate:modelValue":a(y)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):ie("v-if",!0),i.showStops?(T(),$("div",Vt,[(T(!0),$(ue,null,he(a(B),(Y,ne)=>(T(),$("div",{key:ne,class:U(a(s).e("stop")),style:D(a(H)(Y))},null,6))),128))])):ie("v-if",!0),a(J).length>0?(T(),$(ue,{key:2},[ee("div",null,[(T(!0),$(ue,null,he(a(J),(Y,ne)=>(T(),$("div",{key:ne,style:D(a(H)(Y.position)),class:U([a(s).e("stop"),a(s).e("marks-stop")])},null,6))),128))]),ee("div",{class:U(a(s).e("marks"))},[(T(!0),$(ue,null,he(a(J),(Y,ne)=>(T(),be(a(bt),{key:ne,mark:Y.mark,style:D(a(H)(Y.position)),onMousedown:Fe(St=>a(L)(Y.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):ie("v-if",!0)],38),_.value?(T(),be(a(Ze),{key:0,ref:"input","model-value":a(r),class:U(a(s).e("input")),step:Q.value,disabled:a(w),controls:i.showInputControls,min:i.min,max:i.max,precision:W.value,size:q.value,"onUpdate:modelValue":a(A),onChange:a(X)},null,8,["model-value","class","step","disabled","controls","min","max","precision","size","onUpdate:modelValue","onChange"])):ie("v-if",!0)],10,ht)}}}),wt=yt;const Lt=Ge(wt);export{Lt as E}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-slider-CPsf2yeE.js diff --git a/frontend/dist/assets/el-space-9hUfFaMV.js b/frontend/dist/assets/el-space-9hUfFaMV.js new file mode 100644 index 0000000..5eba373 --- /dev/null +++ b/frontend/dist/assets/el-space-9hUfFaMV.js @@ -0,0 +1 @@ +import{d as N,a as I,I as C,h as $,j as S,b as A,a1 as j,a6 as m,ak as v,y as x,s as d,an as g,x as P,by as k,aj as V,J as B,R as h,l as G}from"./index-CxbBjZKo.js";import{i as z,a as O}from"./vnode-DIVHEdsp.js";const R=A({prefixCls:{type:String}}),w=N({name:"ElSpaceItem",props:R,setup(e,{slots:u}){const f=I("space"),i=S(()=>`${e.prefixCls||f.b()}__item`);return()=>C("div",{class:i.value},$(u,"default"))}}),E={small:8,default:12,large:16};function _(e){const u=I("space"),f=S(()=>[u.b(),u.m(e.direction),e.class]),i=x(0),n=x(0),y=S(()=>[e.wrap||e.fill?{flexWrap:"wrap"}:{},{alignItems:e.alignment},{rowGap:`${n.value}px`,columnGap:`${i.value}px`},e.style]),o=S(()=>e.fill?{flexGrow:1,minWidth:`${e.fillRatio}%`}:{});return j(()=>{const{size:t="small",wrap:a,direction:r,fill:c}=e;if(m(t)){const[s=0,l=0]=t;i.value=s,n.value=l}else{let s;v(t)?s=t:s=E[t||"small"]||E.small,(a||c)&&r==="horizontal"?i.value=n.value=s:r==="horizontal"?(i.value=s,n.value=0):(n.value=s,i.value=0)}}),{classes:f,containerStyle:y,itemStyle:o}}const T=A({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:h([String,Object,Array]),default:""},style:{type:h([String,Array,Object,Boolean]),default:""},alignment:{type:h(String),default:"center"},prefixCls:{type:String},spacer:{type:h([Object,String,Number,Array]),default:null,validator:e=>g(e)||v(e)||B(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:V,validator:e=>v(e)||m(e)&&e.length===2&&e.every(v)}}),W=N({name:"ElSpace",props:T,setup(e,{slots:u}){const{classes:f,containerStyle:i,itemStyle:n}=_(e);function y(o,t="",a=[]){const{prefixCls:r}=e;return o.forEach((c,s)=>{z(c)?m(c.children)&&c.children.forEach((l,p)=>{z(l)&&m(l.children)?y(l.children,`${t+p}-`,a):g(l)&&(l==null?void 0:l.type)===k?a.push(l):a.push(d(w,{style:n.value,prefixCls:r,key:`nested-${t+p}`},{default:()=>[l]},12,["style","prefixCls"]))}):O(c)&&a.push(d(w,{style:n.value,prefixCls:r,key:`LoopKey${t+s}`},{default:()=>[c]},12,["style","prefixCls"]))}),a}return()=>{const{spacer:o,direction:t}=e,a=$(u,"default",{key:0},()=>[]);if((a.children??[]).length===0)return null;if(m(a.children)){let r=y(a.children);if(o){const c=r.length-1;r=r.reduce((s,l,p)=>{const b=[...s,l];return p!==c&&b.push(d("span",{style:[n.value,t==="vertical"?"width: 100%":null],key:p},[g(o)?o:P(o,1)],4)),b},[])}return d("div",{class:f.value,style:i.value},r,6)}return a.children}}}),L=G(W);export{L as E}; diff --git a/frontend/dist/assets/el-space-D9rRhpBy.js b/frontend/dist/assets/el-space-D9rRhpBy.js index 60a65a9..1e87bc1 100644 --- a/frontend/dist/assets/el-space-D9rRhpBy.js +++ b/frontend/dist/assets/el-space-D9rRhpBy.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-space-D9rRhpBy.js import{d as N,a as I,I as C,h as $,j as S,b as A,a1 as j,a6 as m,ak as v,y as x,s as d,an as g,x as P,by as k,aj as V,J as B,R as h,l as G}from"./index-CD29OCdJ.js";import{i as z,a as O}from"./vnode-_QM9LlTR.js";const R=A({prefixCls:{type:String}}),w=N({name:"ElSpaceItem",props:R,setup(e,{slots:u}){const f=I("space"),i=S(()=>`${e.prefixCls||f.b()}__item`);return()=>C("div",{class:i.value},$(u,"default"))}}),E={small:8,default:12,large:16};function _(e){const u=I("space"),f=S(()=>[u.b(),u.m(e.direction),e.class]),i=x(0),n=x(0),y=S(()=>[e.wrap||e.fill?{flexWrap:"wrap"}:{},{alignItems:e.alignment},{rowGap:`${n.value}px`,columnGap:`${i.value}px`},e.style]),o=S(()=>e.fill?{flexGrow:1,minWidth:`${e.fillRatio}%`}:{});return j(()=>{const{size:t="small",wrap:a,direction:r,fill:c}=e;if(m(t)){const[s=0,l=0]=t;i.value=s,n.value=l}else{let s;v(t)?s=t:s=E[t||"small"]||E.small,(a||c)&&r==="horizontal"?i.value=n.value=s:r==="horizontal"?(i.value=s,n.value=0):(n.value=s,i.value=0)}}),{classes:f,containerStyle:y,itemStyle:o}}const T=A({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:h([String,Object,Array]),default:""},style:{type:h([String,Array,Object,Boolean]),default:""},alignment:{type:h(String),default:"center"},prefixCls:{type:String},spacer:{type:h([Object,String,Number,Array]),default:null,validator:e=>g(e)||v(e)||B(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:V,validator:e=>v(e)||m(e)&&e.length===2&&e.every(v)}}),W=N({name:"ElSpace",props:T,setup(e,{slots:u}){const{classes:f,containerStyle:i,itemStyle:n}=_(e);function y(o,t="",a=[]){const{prefixCls:r}=e;return o.forEach((c,s)=>{z(c)?m(c.children)&&c.children.forEach((l,p)=>{z(l)&&m(l.children)?y(l.children,`${t+p}-`,a):g(l)&&(l==null?void 0:l.type)===k?a.push(l):a.push(d(w,{style:n.value,prefixCls:r,key:`nested-${t+p}`},{default:()=>[l]},12,["style","prefixCls"]))}):O(c)&&a.push(d(w,{style:n.value,prefixCls:r,key:`LoopKey${t+s}`},{default:()=>[c]},12,["style","prefixCls"]))}),a}return()=>{const{spacer:o,direction:t}=e,a=$(u,"default",{key:0},()=>[]);if((a.children??[]).length===0)return null;if(m(a.children)){let r=y(a.children);if(o){const c=r.length-1;r=r.reduce((s,l,p)=>{const b=[...s,l];return p!==c&&b.push(d("span",{style:[n.value,t==="vertical"?"width: 100%":null],key:p},[g(o)?o:P(o,1)],4)),b},[])}return d("div",{class:f.value,style:i.value},r,6)}return a.children}}}),L=G(W);export{L as E}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-space-Dgiuu1ME.js +import{d as N,a as I,I as C,h as $,j as S,b as A,a1 as j,a6 as m,ak as v,y as x,s as d,an as g,x as P,by as k,aj as V,J as B,R as h,l as G}from"./index-Ds9AETjS.js";import{i as z,a as O}from"./vnode-CBiWHFw7.js";const R=A({prefixCls:{type:String}}),w=N({name:"ElSpaceItem",props:R,setup(e,{slots:u}){const f=I("space"),i=S(()=>`${e.prefixCls||f.b()}__item`);return()=>C("div",{class:i.value},$(u,"default"))}}),E={small:8,default:12,large:16};function _(e){const u=I("space"),f=S(()=>[u.b(),u.m(e.direction),e.class]),i=x(0),n=x(0),y=S(()=>[e.wrap||e.fill?{flexWrap:"wrap"}:{},{alignItems:e.alignment},{rowGap:`${n.value}px`,columnGap:`${i.value}px`},e.style]),o=S(()=>e.fill?{flexGrow:1,minWidth:`${e.fillRatio}%`}:{});return j(()=>{const{size:t="small",wrap:a,direction:r,fill:c}=e;if(m(t)){const[s=0,l=0]=t;i.value=s,n.value=l}else{let s;v(t)?s=t:s=E[t||"small"]||E.small,(a||c)&&r==="horizontal"?i.value=n.value=s:r==="horizontal"?(i.value=s,n.value=0):(n.value=s,i.value=0)}}),{classes:f,containerStyle:y,itemStyle:o}}const T=A({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:h([String,Object,Array]),default:""},style:{type:h([String,Array,Object,Boolean]),default:""},alignment:{type:h(String),default:"center"},prefixCls:{type:String},spacer:{type:h([Object,String,Number,Array]),default:null,validator:e=>g(e)||v(e)||B(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:V,validator:e=>v(e)||m(e)&&e.length===2&&e.every(v)}}),W=N({name:"ElSpace",props:T,setup(e,{slots:u}){const{classes:f,containerStyle:i,itemStyle:n}=_(e);function y(o,t="",a=[]){const{prefixCls:r}=e;return o.forEach((c,s)=>{z(c)?m(c.children)&&c.children.forEach((l,p)=>{z(l)&&m(l.children)?y(l.children,`${t+p}-`,a):g(l)&&(l==null?void 0:l.type)===k?a.push(l):a.push(d(w,{style:n.value,prefixCls:r,key:`nested-${t+p}`},{default:()=>[l]},12,["style","prefixCls"]))}):O(c)&&a.push(d(w,{style:n.value,prefixCls:r,key:`LoopKey${t+s}`},{default:()=>[c]},12,["style","prefixCls"]))}),a}return()=>{const{spacer:o,direction:t}=e,a=$(u,"default",{key:0},()=>[]);if((a.children??[]).length===0)return null;if(m(a.children)){let r=y(a.children);if(o){const c=r.length-1;r=r.reduce((s,l,p)=>{const b=[...s,l];return p!==c&&b.push(d("span",{style:[n.value,t==="vertical"?"width: 100%":null],key:p},[g(o)?o:P(o,1)],4)),b},[])}return d("div",{class:f.value,style:i.value},r,6)}return a.children}}}),L=G(W);export{L as E}; +======== +import{d as N,a as I,I as C,h as $,j as S,b as A,a1 as j,a6 as m,ak as v,y as x,s as d,an as g,x as P,by as k,aj as V,J as B,R as h,l as G}from"./index-CxbBjZKo.js";import{i as z,a as O}from"./vnode-DIVHEdsp.js";const R=A({prefixCls:{type:String}}),w=N({name:"ElSpaceItem",props:R,setup(e,{slots:u}){const f=I("space"),i=S(()=>`${e.prefixCls||f.b()}__item`);return()=>C("div",{class:i.value},$(u,"default"))}}),E={small:8,default:12,large:16};function _(e){const u=I("space"),f=S(()=>[u.b(),u.m(e.direction),e.class]),i=x(0),n=x(0),y=S(()=>[e.wrap||e.fill?{flexWrap:"wrap"}:{},{alignItems:e.alignment},{rowGap:`${n.value}px`,columnGap:`${i.value}px`},e.style]),o=S(()=>e.fill?{flexGrow:1,minWidth:`${e.fillRatio}%`}:{});return j(()=>{const{size:t="small",wrap:a,direction:r,fill:c}=e;if(m(t)){const[s=0,l=0]=t;i.value=s,n.value=l}else{let s;v(t)?s=t:s=E[t||"small"]||E.small,(a||c)&&r==="horizontal"?i.value=n.value=s:r==="horizontal"?(i.value=s,n.value=0):(n.value=s,i.value=0)}}),{classes:f,containerStyle:y,itemStyle:o}}const T=A({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:h([String,Object,Array]),default:""},style:{type:h([String,Array,Object,Boolean]),default:""},alignment:{type:h(String),default:"center"},prefixCls:{type:String},spacer:{type:h([Object,String,Number,Array]),default:null,validator:e=>g(e)||v(e)||B(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:V,validator:e=>v(e)||m(e)&&e.length===2&&e.every(v)}}),W=N({name:"ElSpace",props:T,setup(e,{slots:u}){const{classes:f,containerStyle:i,itemStyle:n}=_(e);function y(o,t="",a=[]){const{prefixCls:r}=e;return o.forEach((c,s)=>{z(c)?m(c.children)&&c.children.forEach((l,p)=>{z(l)&&m(l.children)?y(l.children,`${t+p}-`,a):g(l)&&(l==null?void 0:l.type)===k?a.push(l):a.push(d(w,{style:n.value,prefixCls:r,key:`nested-${t+p}`},{default:()=>[l]},12,["style","prefixCls"]))}):O(c)&&a.push(d(w,{style:n.value,prefixCls:r,key:`LoopKey${t+s}`},{default:()=>[c]},12,["style","prefixCls"]))}),a}return()=>{const{spacer:o,direction:t}=e,a=$(u,"default",{key:0},()=>[]);if((a.children??[]).length===0)return null;if(m(a.children)){let r=y(a.children);if(o){const c=r.length-1;r=r.reduce((s,l,p)=>{const b=[...s,l];return p!==c&&b.push(d("span",{style:[n.value,t==="vertical"?"width: 100%":null],key:p},[g(o)?o:P(o,1)],4)),b},[])}return d("div",{class:f.value,style:i.value},r,6)}return a.children}}}),L=G(W);export{L as E}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-space-9hUfFaMV.js diff --git a/frontend/dist/assets/el-switch-4ONH-tca.js b/frontend/dist/assets/el-switch-4ONH-tca.js index 367adf7..f7325a5 100644 --- a/frontend/dist/assets/el-switch-4ONH-tca.js +++ b/frontend/dist/assets/el-switch-4ONH-tca.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-switch-4ONH-tca.js import{k as S,J as N,ak as P,b as Q,i as V,R as X,d as Y,a as Z,y as p,D as F,aK as L,G as _,o as a,c as v,q as x,t as ee,f as i,n as d,h as b,e as o,w as r,r as k,E as f,g as s,aa as T,s as ae,br as te,al as ie,aL as ne,aT as ce,j as m,P as le,aJ as M,C as se,am as oe,aU as ue,l as ve}from"./index-CD29OCdJ.js";import{I as B,C as A,U as $}from"./raf-DGtHIxe2.js";import{b as de,e as re,d as fe,c as me}from"./index-6OTFNiIi.js";import{i as he}from"./validator-BQ0LVwAS.js";import{u as ye}from"./index-DpY84JwG.js";const be=Q({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:void 0},loading:Boolean,size:{type:String,validator:he},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:V},activeActionIcon:{type:V},activeIcon:{type:V},inactiveIcon:{type:V},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:X(Function)},id:String,tabindex:{type:[String,Number]},...ye(["ariaLabel"])}),ke={[$]:e=>S(e)||N(e)||P(e),[A]:e=>S(e)||N(e)||P(e),[B]:e=>S(e)||N(e)||P(e)},ge=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex"],Ie=["aria-hidden"],we={key:1},Ve={key:1},Te=["aria-hidden"],E="ElSwitch";var Ee=Y({name:E,__name:"switch",props:be,emits:ke,setup(e,{expose:O,emit:U}){const c=e,h=U,{formItem:y}=de(),R=re(),n=Z("switch"),{inputId:G}=fe(c,{formItemContext:y}),I=me(m(()=>{if(c.loading)return!0})),D=p(c.modelValue!==!1),g=ce(),J=m(()=>[n.b(),n.m(R.value),n.is("disabled",I.value),n.is("checked",l.value)]),j=m(()=>[n.e("label"),n.em("label","left"),n.is("active",!l.value)]),q=m(()=>[n.e("label"),n.em("label","right"),n.is("active",l.value)]),H=m(()=>({width:oe(c.width)}));F(()=>c.modelValue,()=>{D.value=!0});const z=m(()=>D.value?c.modelValue:!1),l=m(()=>z.value===c.activeValue);[c.activeValue,c.inactiveValue].includes(z.value)||(L(E,"model-value must be active-value or inactive-value"),h($,c.inactiveValue),h(A,c.inactiveValue),h(B,c.inactiveValue)),F(l,t=>{var u;g.value.checked=t,c.validateEvent&&((u=y==null?void 0:y.validate)==null||u.call(y,"change").catch(ue))});const w=()=>{const t=l.value?c.inactiveValue:c.activeValue;h($,t),h(A,t),h(B,t),le(()=>{g.value.checked=l.value})},K=()=>{if(I.value)return;const{beforeChange:t}=c;if(!t){w();return}const u=t();[M(u),S(u)].includes(!0)||se(E,"beforeChange must return type `Promise` or `boolean`"),M(u)?u.then(C=>{C&&w()}).catch(C=>{L(E,`some error occurred: ${C}`)}):u&&w()},W=()=>{var t,u;(u=(t=g.value)==null?void 0:t.focus)==null||u.call(t)};return _(()=>{g.value.checked=l.value}),O({focus:W,checked:l}),(t,u)=>(a(),v("div",{class:d(J.value),onClick:ne(K,["prevent"])},[x("input",{id:i(G),ref_key:"input",ref:g,class:d(i(n).e("input")),type:"checkbox",role:"switch","aria-checked":l.value,"aria-disabled":i(I),"aria-label":e.ariaLabel,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:i(I),tabindex:e.tabindex,onChange:w,onKeydown:ee(K,["enter"])},null,42,ge),!e.inlinePrompt&&(e.inactiveIcon||e.inactiveText||t.$slots.inactive)?(a(),v("span",{key:0,class:d(j.value)},[b(t.$slots,"inactive",{},()=>[e.inactiveIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.inactiveIcon)))]),_:1})):s("v-if",!0),!e.inactiveIcon&&e.inactiveText?(a(),v("span",{key:1,"aria-hidden":l.value},T(e.inactiveText),9,Ie)):s("v-if",!0)])],2)):s("v-if",!0),x("span",{class:d(i(n).e("core")),style:ie(H.value)},[e.inlinePrompt?(a(),v("div",{key:0,class:d(i(n).e("inner"))},[l.value?(a(),v("div",{key:1,class:d(i(n).e("inner-wrapper"))},[b(t.$slots,"active",{},()=>[e.activeIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.activeIcon)))]),_:1})):s("v-if",!0),!e.activeIcon&&e.activeText?(a(),v("span",Ve,T(e.activeText),1)):s("v-if",!0)])],2)):(a(),v("div",{key:0,class:d(i(n).e("inner-wrapper"))},[b(t.$slots,"inactive",{},()=>[e.inactiveIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.inactiveIcon)))]),_:1})):s("v-if",!0),!e.inactiveIcon&&e.inactiveText?(a(),v("span",we,T(e.inactiveText),1)):s("v-if",!0)])],2))],2)):s("v-if",!0),x("div",{class:d(i(n).e("action"))},[e.loading?(a(),o(i(f),{key:0,class:d(i(n).is("loading"))},{default:r(()=>[ae(i(te))]),_:1},8,["class"])):l.value?b(t.$slots,"active-action",{key:1},()=>[e.activeActionIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.activeActionIcon)))]),_:1})):s("v-if",!0)]):l.value?s("v-if",!0):b(t.$slots,"inactive-action",{key:2},()=>[e.inactiveActionIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.inactiveActionIcon)))]),_:1})):s("v-if",!0)])],2)],6),!e.inlinePrompt&&(e.activeIcon||e.activeText||t.$slots.active)?(a(),v("span",{key:1,class:d(q.value)},[b(t.$slots,"active",{},()=>[e.activeIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.activeIcon)))]),_:1})):s("v-if",!0),!e.activeIcon&&e.activeText?(a(),v("span",{key:1,"aria-hidden":!l.value},T(e.activeText),9,Te)):s("v-if",!0)])],2)):s("v-if",!0)],2))}}),Se=Ee;const Ae=ve(Se);export{Ae as E}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-switch-DflKYtBf.js +import{k as S,J as N,ak as P,b as Q,i as V,R as X,d as Y,a as Z,y as p,D as F,aK as L,G as _,o as a,c as v,q as x,t as ee,f as i,n as d,h as b,e as o,w as r,r as k,E as f,g as s,aa as T,s as ae,br as te,al as ie,aL as ne,aT as ce,j as m,P as le,aJ as M,C as se,am as oe,aU as ue,l as ve}from"./index-Ds9AETjS.js";import{I as B,C as A,U as $}from"./raf-zQ00nuMI.js";import{b as de,e as re,d as fe,c as me}from"./index-BNsCyG4A.js";import{i as he}from"./validator-D1MwuZXj.js";import{u as ye}from"./index-BSbCLbaz.js";const be=Q({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:void 0},loading:Boolean,size:{type:String,validator:he},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:V},activeActionIcon:{type:V},activeIcon:{type:V},inactiveIcon:{type:V},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:X(Function)},id:String,tabindex:{type:[String,Number]},...ye(["ariaLabel"])}),ke={[$]:e=>S(e)||N(e)||P(e),[A]:e=>S(e)||N(e)||P(e),[B]:e=>S(e)||N(e)||P(e)},ge=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex"],Ie=["aria-hidden"],we={key:1},Ve={key:1},Te=["aria-hidden"],E="ElSwitch";var Ee=Y({name:E,__name:"switch",props:be,emits:ke,setup(e,{expose:O,emit:U}){const c=e,h=U,{formItem:y}=de(),R=re(),n=Z("switch"),{inputId:G}=fe(c,{formItemContext:y}),I=me(m(()=>{if(c.loading)return!0})),D=p(c.modelValue!==!1),g=ce(),J=m(()=>[n.b(),n.m(R.value),n.is("disabled",I.value),n.is("checked",l.value)]),j=m(()=>[n.e("label"),n.em("label","left"),n.is("active",!l.value)]),q=m(()=>[n.e("label"),n.em("label","right"),n.is("active",l.value)]),H=m(()=>({width:oe(c.width)}));F(()=>c.modelValue,()=>{D.value=!0});const z=m(()=>D.value?c.modelValue:!1),l=m(()=>z.value===c.activeValue);[c.activeValue,c.inactiveValue].includes(z.value)||(L(E,"model-value must be active-value or inactive-value"),h($,c.inactiveValue),h(A,c.inactiveValue),h(B,c.inactiveValue)),F(l,t=>{var u;g.value.checked=t,c.validateEvent&&((u=y==null?void 0:y.validate)==null||u.call(y,"change").catch(ue))});const w=()=>{const t=l.value?c.inactiveValue:c.activeValue;h($,t),h(A,t),h(B,t),le(()=>{g.value.checked=l.value})},K=()=>{if(I.value)return;const{beforeChange:t}=c;if(!t){w();return}const u=t();[M(u),S(u)].includes(!0)||se(E,"beforeChange must return type `Promise` or `boolean`"),M(u)?u.then(C=>{C&&w()}).catch(C=>{L(E,`some error occurred: ${C}`)}):u&&w()},W=()=>{var t,u;(u=(t=g.value)==null?void 0:t.focus)==null||u.call(t)};return _(()=>{g.value.checked=l.value}),O({focus:W,checked:l}),(t,u)=>(a(),v("div",{class:d(J.value),onClick:ne(K,["prevent"])},[x("input",{id:i(G),ref_key:"input",ref:g,class:d(i(n).e("input")),type:"checkbox",role:"switch","aria-checked":l.value,"aria-disabled":i(I),"aria-label":e.ariaLabel,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:i(I),tabindex:e.tabindex,onChange:w,onKeydown:ee(K,["enter"])},null,42,ge),!e.inlinePrompt&&(e.inactiveIcon||e.inactiveText||t.$slots.inactive)?(a(),v("span",{key:0,class:d(j.value)},[b(t.$slots,"inactive",{},()=>[e.inactiveIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.inactiveIcon)))]),_:1})):s("v-if",!0),!e.inactiveIcon&&e.inactiveText?(a(),v("span",{key:1,"aria-hidden":l.value},T(e.inactiveText),9,Ie)):s("v-if",!0)])],2)):s("v-if",!0),x("span",{class:d(i(n).e("core")),style:ie(H.value)},[e.inlinePrompt?(a(),v("div",{key:0,class:d(i(n).e("inner"))},[l.value?(a(),v("div",{key:1,class:d(i(n).e("inner-wrapper"))},[b(t.$slots,"active",{},()=>[e.activeIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.activeIcon)))]),_:1})):s("v-if",!0),!e.activeIcon&&e.activeText?(a(),v("span",Ve,T(e.activeText),1)):s("v-if",!0)])],2)):(a(),v("div",{key:0,class:d(i(n).e("inner-wrapper"))},[b(t.$slots,"inactive",{},()=>[e.inactiveIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.inactiveIcon)))]),_:1})):s("v-if",!0),!e.inactiveIcon&&e.inactiveText?(a(),v("span",we,T(e.inactiveText),1)):s("v-if",!0)])],2))],2)):s("v-if",!0),x("div",{class:d(i(n).e("action"))},[e.loading?(a(),o(i(f),{key:0,class:d(i(n).is("loading"))},{default:r(()=>[ae(i(te))]),_:1},8,["class"])):l.value?b(t.$slots,"active-action",{key:1},()=>[e.activeActionIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.activeActionIcon)))]),_:1})):s("v-if",!0)]):l.value?s("v-if",!0):b(t.$slots,"inactive-action",{key:2},()=>[e.inactiveActionIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.inactiveActionIcon)))]),_:1})):s("v-if",!0)])],2)],6),!e.inlinePrompt&&(e.activeIcon||e.activeText||t.$slots.active)?(a(),v("span",{key:1,class:d(q.value)},[b(t.$slots,"active",{},()=>[e.activeIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.activeIcon)))]),_:1})):s("v-if",!0),!e.activeIcon&&e.activeText?(a(),v("span",{key:1,"aria-hidden":!l.value},T(e.activeText),9,Te)):s("v-if",!0)])],2)):s("v-if",!0)],2))}}),Se=Ee;const Ae=ve(Se);export{Ae as E}; +======== +import{k as S,J as N,ak as P,b as W,i as V,R as X,d as Y,a as Z,y as p,D as F,aK as L,G as _,o as a,c as v,q as x,t as ee,f as i,n as d,h as b,e as o,w as r,r as k,E as f,g as s,aa as E,s as ae,br as te,al as ie,aL as ne,aQ as ce,j as m,P as le,aJ as M,C as se,am as oe,aU as ue,l as ve}from"./index-CxbBjZKo.js";import{I as B,C as A,U as $}from"./raf-Bjl8yy5U.js";import{b as de,e as re,d as fe,c as me}from"./index-D23K2h6y.js";import{i as he}from"./validator-AVoXfk3G.js";import{u as ye}from"./index-DxP0p4ch.js";const be=W({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:void 0},loading:Boolean,size:{type:String,validator:he},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:V},activeActionIcon:{type:V},activeIcon:{type:V},inactiveIcon:{type:V},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:X(Function)},id:String,tabindex:{type:[String,Number]},...ye(["ariaLabel"])}),ke={[$]:e=>S(e)||N(e)||P(e),[A]:e=>S(e)||N(e)||P(e),[B]:e=>S(e)||N(e)||P(e)},ge=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex"],Ie=["aria-hidden"],we={key:1},Ve={key:1},Ee=["aria-hidden"],T="ElSwitch";var Te=Y({name:T,__name:"switch",props:be,emits:ke,setup(e,{expose:O,emit:U}){const c=e,h=U,{formItem:y}=de(),R=re(),n=Z("switch"),{inputId:G}=fe(c,{formItemContext:y}),I=me(m(()=>{if(c.loading)return!0})),D=p(c.modelValue!==!1),g=ce(),J=m(()=>[n.b(),n.m(R.value),n.is("disabled",I.value),n.is("checked",l.value)]),j=m(()=>[n.e("label"),n.em("label","left"),n.is("active",!l.value)]),q=m(()=>[n.e("label"),n.em("label","right"),n.is("active",l.value)]),H=m(()=>({width:oe(c.width)}));F(()=>c.modelValue,()=>{D.value=!0});const z=m(()=>D.value?c.modelValue:!1),l=m(()=>z.value===c.activeValue);[c.activeValue,c.inactiveValue].includes(z.value)||(L(T,"model-value must be active-value or inactive-value"),h($,c.inactiveValue),h(A,c.inactiveValue),h(B,c.inactiveValue)),F(l,t=>{var u;g.value.checked=t,c.validateEvent&&((u=y==null?void 0:y.validate)==null||u.call(y,"change").catch(ue))});const w=()=>{const t=l.value?c.inactiveValue:c.activeValue;h($,t),h(A,t),h(B,t),le(()=>{g.value.checked=l.value})},K=()=>{if(I.value)return;const{beforeChange:t}=c;if(!t){w();return}const u=t();[M(u),S(u)].includes(!0)||se(T,"beforeChange must return type `Promise` or `boolean`"),M(u)?u.then(C=>{C&&w()}).catch(C=>{L(T,`some error occurred: ${C}`)}):u&&w()},Q=()=>{var t,u;(u=(t=g.value)==null?void 0:t.focus)==null||u.call(t)};return _(()=>{g.value.checked=l.value}),O({focus:Q,checked:l}),(t,u)=>(a(),v("div",{class:d(J.value),onClick:ne(K,["prevent"])},[x("input",{id:i(G),ref_key:"input",ref:g,class:d(i(n).e("input")),type:"checkbox",role:"switch","aria-checked":l.value,"aria-disabled":i(I),"aria-label":e.ariaLabel,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:i(I),tabindex:e.tabindex,onChange:w,onKeydown:ee(K,["enter"])},null,42,ge),!e.inlinePrompt&&(e.inactiveIcon||e.inactiveText||t.$slots.inactive)?(a(),v("span",{key:0,class:d(j.value)},[b(t.$slots,"inactive",{},()=>[e.inactiveIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.inactiveIcon)))]),_:1})):s("v-if",!0),!e.inactiveIcon&&e.inactiveText?(a(),v("span",{key:1,"aria-hidden":l.value},E(e.inactiveText),9,Ie)):s("v-if",!0)])],2)):s("v-if",!0),x("span",{class:d(i(n).e("core")),style:ie(H.value)},[e.inlinePrompt?(a(),v("div",{key:0,class:d(i(n).e("inner"))},[l.value?(a(),v("div",{key:1,class:d(i(n).e("inner-wrapper"))},[b(t.$slots,"active",{},()=>[e.activeIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.activeIcon)))]),_:1})):s("v-if",!0),!e.activeIcon&&e.activeText?(a(),v("span",Ve,E(e.activeText),1)):s("v-if",!0)])],2)):(a(),v("div",{key:0,class:d(i(n).e("inner-wrapper"))},[b(t.$slots,"inactive",{},()=>[e.inactiveIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.inactiveIcon)))]),_:1})):s("v-if",!0),!e.inactiveIcon&&e.inactiveText?(a(),v("span",we,E(e.inactiveText),1)):s("v-if",!0)])],2))],2)):s("v-if",!0),x("div",{class:d(i(n).e("action"))},[e.loading?(a(),o(i(f),{key:0,class:d(i(n).is("loading"))},{default:r(()=>[ae(i(te))]),_:1},8,["class"])):l.value?b(t.$slots,"active-action",{key:1},()=>[e.activeActionIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.activeActionIcon)))]),_:1})):s("v-if",!0)]):l.value?s("v-if",!0):b(t.$slots,"inactive-action",{key:2},()=>[e.inactiveActionIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.inactiveActionIcon)))]),_:1})):s("v-if",!0)])],2)],6),!e.inlinePrompt&&(e.activeIcon||e.activeText||t.$slots.active)?(a(),v("span",{key:1,class:d(q.value)},[b(t.$slots,"active",{},()=>[e.activeIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.activeIcon)))]),_:1})):s("v-if",!0),!e.activeIcon&&e.activeText?(a(),v("span",{key:1,"aria-hidden":!l.value},E(e.activeText),9,Ee)):s("v-if",!0)])],2)):s("v-if",!0)],2))}}),Se=Te;const Ae=ve(Se);export{Ae as E}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-switch-EBBsaB1p.js diff --git a/frontend/dist/assets/el-switch-EBBsaB1p.js b/frontend/dist/assets/el-switch-EBBsaB1p.js new file mode 100644 index 0000000..f4455d7 --- /dev/null +++ b/frontend/dist/assets/el-switch-EBBsaB1p.js @@ -0,0 +1 @@ +import{k as S,J as N,ak as P,b as W,i as V,R as X,d as Y,a as Z,y as p,D as F,aK as L,G as _,o as a,c as v,q as x,t as ee,f as i,n as d,h as b,e as o,w as r,r as k,E as f,g as s,aa as E,s as ae,br as te,al as ie,aL as ne,aQ as ce,j as m,P as le,aJ as M,C as se,am as oe,aU as ue,l as ve}from"./index-CxbBjZKo.js";import{I as B,C as A,U as $}from"./raf-Bjl8yy5U.js";import{b as de,e as re,d as fe,c as me}from"./index-D23K2h6y.js";import{i as he}from"./validator-AVoXfk3G.js";import{u as ye}from"./index-DxP0p4ch.js";const be=W({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:void 0},loading:Boolean,size:{type:String,validator:he},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:V},activeActionIcon:{type:V},activeIcon:{type:V},inactiveIcon:{type:V},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:X(Function)},id:String,tabindex:{type:[String,Number]},...ye(["ariaLabel"])}),ke={[$]:e=>S(e)||N(e)||P(e),[A]:e=>S(e)||N(e)||P(e),[B]:e=>S(e)||N(e)||P(e)},ge=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex"],Ie=["aria-hidden"],we={key:1},Ve={key:1},Ee=["aria-hidden"],T="ElSwitch";var Te=Y({name:T,__name:"switch",props:be,emits:ke,setup(e,{expose:O,emit:U}){const c=e,h=U,{formItem:y}=de(),R=re(),n=Z("switch"),{inputId:G}=fe(c,{formItemContext:y}),I=me(m(()=>{if(c.loading)return!0})),D=p(c.modelValue!==!1),g=ce(),J=m(()=>[n.b(),n.m(R.value),n.is("disabled",I.value),n.is("checked",l.value)]),j=m(()=>[n.e("label"),n.em("label","left"),n.is("active",!l.value)]),q=m(()=>[n.e("label"),n.em("label","right"),n.is("active",l.value)]),H=m(()=>({width:oe(c.width)}));F(()=>c.modelValue,()=>{D.value=!0});const z=m(()=>D.value?c.modelValue:!1),l=m(()=>z.value===c.activeValue);[c.activeValue,c.inactiveValue].includes(z.value)||(L(T,"model-value must be active-value or inactive-value"),h($,c.inactiveValue),h(A,c.inactiveValue),h(B,c.inactiveValue)),F(l,t=>{var u;g.value.checked=t,c.validateEvent&&((u=y==null?void 0:y.validate)==null||u.call(y,"change").catch(ue))});const w=()=>{const t=l.value?c.inactiveValue:c.activeValue;h($,t),h(A,t),h(B,t),le(()=>{g.value.checked=l.value})},K=()=>{if(I.value)return;const{beforeChange:t}=c;if(!t){w();return}const u=t();[M(u),S(u)].includes(!0)||se(T,"beforeChange must return type `Promise` or `boolean`"),M(u)?u.then(C=>{C&&w()}).catch(C=>{L(T,`some error occurred: ${C}`)}):u&&w()},Q=()=>{var t,u;(u=(t=g.value)==null?void 0:t.focus)==null||u.call(t)};return _(()=>{g.value.checked=l.value}),O({focus:Q,checked:l}),(t,u)=>(a(),v("div",{class:d(J.value),onClick:ne(K,["prevent"])},[x("input",{id:i(G),ref_key:"input",ref:g,class:d(i(n).e("input")),type:"checkbox",role:"switch","aria-checked":l.value,"aria-disabled":i(I),"aria-label":e.ariaLabel,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:i(I),tabindex:e.tabindex,onChange:w,onKeydown:ee(K,["enter"])},null,42,ge),!e.inlinePrompt&&(e.inactiveIcon||e.inactiveText||t.$slots.inactive)?(a(),v("span",{key:0,class:d(j.value)},[b(t.$slots,"inactive",{},()=>[e.inactiveIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.inactiveIcon)))]),_:1})):s("v-if",!0),!e.inactiveIcon&&e.inactiveText?(a(),v("span",{key:1,"aria-hidden":l.value},E(e.inactiveText),9,Ie)):s("v-if",!0)])],2)):s("v-if",!0),x("span",{class:d(i(n).e("core")),style:ie(H.value)},[e.inlinePrompt?(a(),v("div",{key:0,class:d(i(n).e("inner"))},[l.value?(a(),v("div",{key:1,class:d(i(n).e("inner-wrapper"))},[b(t.$slots,"active",{},()=>[e.activeIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.activeIcon)))]),_:1})):s("v-if",!0),!e.activeIcon&&e.activeText?(a(),v("span",Ve,E(e.activeText),1)):s("v-if",!0)])],2)):(a(),v("div",{key:0,class:d(i(n).e("inner-wrapper"))},[b(t.$slots,"inactive",{},()=>[e.inactiveIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.inactiveIcon)))]),_:1})):s("v-if",!0),!e.inactiveIcon&&e.inactiveText?(a(),v("span",we,E(e.inactiveText),1)):s("v-if",!0)])],2))],2)):s("v-if",!0),x("div",{class:d(i(n).e("action"))},[e.loading?(a(),o(i(f),{key:0,class:d(i(n).is("loading"))},{default:r(()=>[ae(i(te))]),_:1},8,["class"])):l.value?b(t.$slots,"active-action",{key:1},()=>[e.activeActionIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.activeActionIcon)))]),_:1})):s("v-if",!0)]):l.value?s("v-if",!0):b(t.$slots,"inactive-action",{key:2},()=>[e.inactiveActionIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.inactiveActionIcon)))]),_:1})):s("v-if",!0)])],2)],6),!e.inlinePrompt&&(e.activeIcon||e.activeText||t.$slots.active)?(a(),v("span",{key:1,class:d(q.value)},[b(t.$slots,"active",{},()=>[e.activeIcon?(a(),o(i(f),{key:0},{default:r(()=>[(a(),o(k(e.activeIcon)))]),_:1})):s("v-if",!0),!e.activeIcon&&e.activeText?(a(),v("span",{key:1,"aria-hidden":!l.value},E(e.activeText),9,Ee)):s("v-if",!0)])],2)):s("v-if",!0)],2))}}),Se=Te;const Ae=ve(Se);export{Ae as E}; diff --git a/frontend/dist/assets/el-tab-pane-B-_eO3QM.js b/frontend/dist/assets/el-tab-pane-B-_eO3QM.js index 0015b98..979cd43 100644 --- a/frontend/dist/assets/el-tab-pane-B-_eO3QM.js +++ b/frontend/dist/assets/el-tab-pane-B-_eO3QM.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-tab-pane-B-_eO3QM.js import{d as X,I as Ie,bY as U,G as _e,aT as se,an as Ue,bZ as Ke,b as q,a5 as le,R as j,B as ue,C as de,a as J,D,a7 as oe,H as Re,o as xe,c as Ee,al as He,n as we,f as K,g as Pe,y as _,j as x,U as Y,P as G,b_ as ye,bz as je,s as g,E as H,bl as Ge,T as qe,b1 as Je,V as re,W as $,b$ as Ze,c0 as Qe,h as ie,bC as et,J as tt,ak as at,N as Be,F as nt,bF as st,z as lt,c1 as ot,K as rt,L as it,l as ct,ab as ut}from"./index-CD29OCdJ.js";import{c as dt,r as ce,U as Oe}from"./raf-DGtHIxe2.js";import{f as ft}from"./vnode-_QM9LlTR.js";import{i as te}from"./el-scrollbar-YCRG1835.js";import{c as ae}from"./el-select-dn4MhMwo.js";import{i as vt}from"./el-popper-DIiB8Y-M.js";import{c as ke}from"./clamp-BfrLWns4.js";import{o as bt}from"./omit-9H73Nvwk.js";const ht=(e,s,r)=>ft(e.subTree).filter(c=>{var t;return Ue(c)&&((t=c.type)==null?void 0:t.name)===s&&!!c.component}).map(c=>c.component.uid).map(c=>r[c]).filter(c=>!!c),pt=(e,s)=>{const r=se({}),c=se([]),t=new WeakMap,y=u=>{r.value[u.uid]=u,U(r),_e(()=>{const l=u.getVnode().el,i=l.parentNode;if(!t.has(i)){t.set(i,[]);const d=i.insertBefore.bind(i);i.insertBefore=(a,T)=>(t.get(i).some(b=>a===b||T===b)&&U(r),d(a,T))}t.get(i).push(l)})},N=u=>{delete r.value[u.uid],U(r);const l=u.getVnode().el,i=l.parentNode,d=t.get(i),a=d.indexOf(l);d.splice(a,1)},h=()=>{c.value=ht(e,s,r.value)},v=u=>u.render();return{children:c,addChild:y,removeChild:N,ChildrenSorter:X({setup(u,{slots:l}){return()=>(h(),l.default?Ie(v,{render:l.default}):null)}})}},mt=({atEndEdge:e,atStartEdge:s,layout:r},c)=>{let t,y=0;const N=v=>v<0&&s.value||v>0&&e.value;return{hasReachedEdge:N,onWheel:v=>{dt(t);let{deltaX:u,deltaY:l}=v;v.shiftKey&&l!==0&&(u=l,l=0);const i=r.value==="horizontal"?u:l;N(i)||(y+=i,!Ke()&&i!==0&&v.preventDefault(),t=ce(()=>{c(y),y=0}))}}};const Te=e=>{let s,r;return e.type==="touchend"?(r=e.changedTouches[0].clientY,s=e.changedTouches[0].clientX):e.type.startsWith("touch")?(r=e.touches[0].clientY,s=e.touches[0].clientX):(r=e.clientY,s=e.clientX),{clientX:s,clientY:r}},Z=Symbol("tabsRootContextKey"),gt=q({tabs:{type:j(Array),default:()=>le([])},tabRefs:{type:j(Object),default:()=>le({})}}),Ce="ElTabBar";var yt=X({name:Ce,__name:"tab-bar",props:gt,setup(e,{expose:s}){const r=e,c=ue(Z);c||de(Ce,"");const t=J("tabs"),y=_(),N=_(),h=x(()=>{var a;return Y(c.props.defaultValue)||!!((a=N.value)!=null&&a.transform)}),v=()=>{let a=0,T=0;const b=["top","bottom"].includes(c.props.tabPosition)?"width":"height",E=b==="width"?"x":"y",P=E==="x"?"left":"top";return r.tabs.every(n=>{if(Y(n.paneName))return!1;const p=r.tabRefs[n.paneName];if(!p)return!1;if(!n.active)return!0;a=p[`offset${ae(P)}`],T=p[`client${ae(b)}`];const S=window.getComputedStyle(p);return b==="width"&&(T-=Number.parseFloat(S.paddingLeft)+Number.parseFloat(S.paddingRight),a+=Number.parseFloat(S.paddingLeft)),!1}),{[b]:`${T}px`,transform:`translate${ae(E)}(${a}px)`}},u=()=>N.value=v(),l=[],i=()=>{l.forEach(a=>a.stop()),l.length=0,Object.values(r.tabRefs).forEach(a=>{l.push(oe(a,u))})};D(()=>r.tabs,async()=>{await G(),u(),i()},{immediate:!0});const d=oe(y,()=>u());return Re(()=>{l.forEach(a=>a.stop()),l.length=0,d.stop()}),s({ref:y,update:u}),(a,T)=>h.value?(xe(),Ee("div",{key:0,ref_key:"barRef",ref:y,class:we([K(t).e("active-bar"),K(t).is(K(c).props.tabPosition)]),style:He(N.value)},null,6)):Pe("v-if",!0)}}),Tt=yt;const Ct=5,Nt=({scrollable:e,navOffset:s,navSize:r,navContainerSize:c,isHorizontal:t})=>{const y=_(!1),N=x(()=>Math.max(r.value-c.value,0));let h,v;const u=d=>{if(!e.value||d.touches.length!==1)return;const{clientX:a,clientY:T}=Te(d);h={startX:a,startY:T,startOffset:s.value},v=void 0},l=d=>{if(!h||!e.value)return;if(d.touches.length!==1){i();return}const{clientX:a,clientY:T}=Te(d),b=h.startX-a,E=h.startY-T,P=t.value?b:E,n=t.value?E:b,p=Math.abs(P),S=Math.abs(n);if(vt(v)){if(Math.max(p,S)<=Ct)return;v=p>S}if(!v)return;const w=ke(h.startOffset+P,0,N.value);N.value<=0||w===s.value||!d.cancelable||(d.preventDefault(),y.value=!0,s.value=w)},i=()=>{h=void 0,v=void 0,y.value=!1};return{isTouchScrolling:y,handleTouchStart:u,handleTouchMove:l,handleTouchEnd:i}},St=q({panes:{type:j(Array),default:()=>le([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean,tabindex:{type:[String,Number],default:void 0}}),_t={tabClick:(e,s,r)=>r instanceof Event,tabRemove:(e,s)=>s instanceof Event},Ne="ElTabNav",Rt=X({name:Ne,props:St,emits:_t,setup(e,{expose:s,emit:r}){const c=ue(Z);c||de(Ne,"");const t=J("tabs"),y=Ze(),N=Qe(),h=_(),v=_(),u=_(),l=_({}),i=_(),d=_(!1),a=_(0),T=_(!1),b=_(!0),E=_(!1),P=se(),n=x(()=>["top","bottom"].includes(c.props.tabPosition)),p=x(()=>n.value?"width":"height"),S=x(()=>{const o=p.value==="width"?"X":"Y";return{transition:E.value||Me.value?"none":void 0,transform:`translate${o}(-${a.value}px)`}}),{width:w,height:M}=ye(h),{width:I,height:L}=ye(v,{width:0,height:0},{box:"border-box"}),B=x(()=>n.value?w.value:M.value),W=x(()=>n.value?I.value:L.value),{onWheel:Ae}=mt({atStartEdge:x(()=>a.value<=0),atEndEdge:x(()=>W.value-a.value<=B.value),layout:x(()=>n.value?"horizontal":"vertical")},o=>{a.value=ke(a.value+o,0,W.value-B.value)}),ze=o=>{E.value=!0,Ae(o),ce(()=>{E.value=!1})},{isTouchScrolling:Me,handleTouchStart:Fe,handleTouchMove:Ve,handleTouchEnd:fe}=Nt({scrollable:d,navOffset:a,navSize:W,navContainerSize:B,isHorizontal:n}),De=()=>{if(!h.value)return;const o=h.value.getBoundingClientRect()[p.value],m=a.value;m&&(a.value=m>o?m-o:0)},Le=()=>{if(!h.value||!v.value)return;const o=v.value.getBoundingClientRect()[p.value],m=h.value.getBoundingClientRect()[p.value],f=a.value;te(o-f,m)&&(a.value=o-f>m*2?f+m:o-m)},ve=async()=>{const o=v.value;if(!d.value||!u.value||!h.value||!o)return;await G();const m=l.value[e.currentName];if(!m)return;const f=h.value,C=m.getBoundingClientRect(),R=f.getBoundingClientRect(),F=R.left+1,A=R.right-1,V=o.getBoundingClientRect(),ee=n.value?V.width-R.width:V.height-R.height,z=a.value;let O=z;n.value?(C.leftA&&(O=z+C.right-A)):(C.topR.bottom&&(O=z+(C.bottom-R.bottom))),O=Math.max(O,0),a.value=Math.min(O,ee)},be=()=>{var C;if(!v.value||!h.value)return;e.stretch&&((C=i.value)==null||C.update());const o=v.value.getBoundingClientRect()[p.value],m=h.value.getBoundingClientRect()[p.value],f=a.value;m0&&(a.value=0))},We=o=>{const m=re(o);let f=0;switch(m){case $.left:case $.up:f=-1;break;case $.right:case $.down:f=1;break;default:return}const C=Array.from(o.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));let R=C.indexOf(o.target)+f;R<0?R=C.length-1:R>=C.length&&(R=0),C[R].focus({preventScroll:!0}),C[R].click(),he()},he=()=>{b.value&&(T.value=!0)},Q=()=>T.value=!1,Ye=(o,m)=>{l.value[m]=o},Xe=async()=>{var o;await G(),(o=l.value[e.currentName])==null||o.focus({preventScroll:!0})};return D(y,o=>{o==="hidden"?b.value=!1:o==="visible"&&setTimeout(()=>b.value=!0,50)}),D(N,o=>{o?setTimeout(()=>b.value=!0,50):b.value=!1}),oe(u,()=>{ce(be)}),_e(()=>setTimeout(()=>ve(),0)),je(()=>be()),s({scrollToActiveTab:ve,removeFocus:Q,focusActiveTab:Xe,tabListRef:v,tabBarRef:i,scheduleRender:()=>U(P)}),()=>{const o=d.value?[g("span",{class:[t.e("nav-prev"),t.is("disabled",!d.value.prev)],onClick:De},[g(H,null,{default:()=>[g(Ge,null,null)]})]),g("span",{class:[t.e("nav-next"),t.is("disabled",!d.value.next)],onClick:Le},[g(H,null,{default:()=>[g(qe,null,null)]})])]:null,m=e.panes.map((f,C)=>{var pe,me;const R=f.uid,F=f.props.disabled,A=f.props.name??f.index??`${C}`,V=!F&&(f.isClosable||f.props.closable!==!1&&e.editable);f.index=`${C}`;const ee=V?g(H,{class:"is-icon-close",onClick:k=>r("tabRemove",f,k)},{default:()=>[g(Je,null,null)]}):null,z=((me=(pe=f.slots).label)==null?void 0:me.call(pe))||f.props.label,O=!F&&f.active?e.tabindex??c.props.tabindex:-1;return g("div",{ref:k=>Ye(k,A),class:[t.e("item"),t.is(c.props.tabPosition),t.is("active",f.active),t.is("disabled",F),t.is("closable",V),t.is("focus",T.value)],id:`tab-${A}`,key:`tab-${R}`,"aria-controls":`pane-${A}`,role:"tab","aria-selected":f.active,tabindex:O,onFocus:()=>he(),onBlur:()=>Q(),onClick:k=>{Q(),r("tabClick",f,A,k)},onKeydown:k=>{const ge=re(k);V&&(ge===$.delete||ge===$.backspace)&&r("tabRemove",f,k)}},[z,ee])});return P.value,g("div",{ref:u,class:[t.e("nav-wrap"),t.is("scrollable",!!d.value),t.is(c.props.tabPosition)]},[o,g("div",{class:t.e("nav-scroll"),ref:h},[e.panes.length>0?g("div",{class:[t.e("nav"),t.is(c.props.tabPosition),t.is("stretch",e.stretch&&["top","bottom"].includes(c.props.tabPosition))],ref:v,style:S.value,role:"tablist",onKeydown:We,onWheel:ze,onTouchstart:Fe,onTouchmove:Ve,onTouchend:fe,onTouchcancel:fe},[e.type?null:g(Tt,{ref:i,tabs:[...e.panes],tabRefs:l.value},null),m]):null])])}}}),xt=q({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},defaultValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:j(Function),default:()=>!0},stretch:Boolean,tabindex:{type:[String,Number],default:0}}),ne=e=>tt(e)||at(e),Et={[Oe]:e=>ne(e),tabClick:(e,s)=>s instanceof Event,tabChange:e=>ne(e),edit:(e,s)=>["remove","add"].includes(s),tabRemove:e=>ne(e),tabAdd:()=>!0},wt=X({name:"ElTabs",props:xt,emits:Et,setup(e,{emit:s,slots:r,expose:c}){const t=J("tabs"),y=x(()=>["left","right"].includes(e.tabPosition)),{children:N,addChild:h,removeChild:v,ChildrenSorter:u}=pt(Be(),"ElTabPane"),l=_(),i=_((Y(e.modelValue)?e.defaultValue:e.modelValue)??"0"),d=async(n,p=!1)=>{var S,w,M,I;if(!(i.value===n||Y(n)))try{let L;if(e.beforeLeave){const B=e.beforeLeave(n,i.value);L=B instanceof Promise?await B:B}else L=!0;if(L!==!1){const B=(S=N.value.find(W=>W.paneName===i.value))==null?void 0:S.isFocusInsidePane();i.value=n,p&&(s(Oe,n),s("tabChange",n)),(M=(w=l.value)==null?void 0:w.removeFocus)==null||M.call(w),B&&((I=l.value)==null||I.focusActiveTab())}}catch{}},a=(n,p,S)=>{n.props.disabled||(s("tabClick",n,S),d(p,!0))},T=(n,p)=>{n.props.disabled||Y(n.props.name)||(p.stopPropagation(),s("edit",n.props.name,"remove"),s("tabRemove",n.props.name))},b=()=>{s("edit",void 0,"add"),s("tabAdd")},E=n=>{const p=re(n);[$.enter,$.numpadEnter].includes(p)&&b()},P=n=>{const p=n.el.firstChild,S=["bottom","right"].includes(e.tabPosition)?n.children[0].el:n.children[1].el;p!==S&&p.before(S)};return D(()=>e.modelValue,n=>d(n)),D(i,async()=>{var n;await G(),(n=l.value)==null||n.scrollToActiveTab()}),nt(Z,{props:e,currentName:i,registerPane:h,unregisterPane:v,nav$:l}),c({currentName:i,get tabNavRef(){return bt(l.value,["scheduleRender"])}}),()=>{const n=r["add-icon"],p=e.editable||e.addable?g("div",{class:[t.e("new-tab"),y.value&&t.e("new-tab-vertical")],tabindex:e.tabindex,onClick:b,onKeydown:E},[n?ie(r,"add-icon"):g(H,{class:t.is("icon-plus")},{default:()=>[g(et,null,null)]})]):null,S=()=>g(Rt,{ref:l,currentName:i.value,editable:e.editable,type:e.type,panes:N.value,stretch:e.stretch,onTabClick:a,onTabRemove:T},null),w=g("div",{class:[t.e("header"),y.value&&t.e("header-vertical"),t.is(e.tabPosition)]},[g(u,null,{default:S,$stable:!0}),p]),M=g("div",{class:t.e("content")},[ie(r,"default")]);return g("div",{class:[t.b(),t.m(e.tabPosition),{[t.m("card")]:e.type==="card",[t.m("border-card")]:e.type==="border-card"}],onVnodeMounted:P,onVnodeUpdated:P},[M,w])}}}),Pt=q({label:{type:String,default:""},name:{type:[String,Number]},closable:{type:Boolean,default:void 0},disabled:Boolean,lazy:Boolean}),Bt=["id","aria-hidden","aria-labelledby"],Se="ElTabPane";var Ot=X({name:Se,__name:"tab-pane",props:Pt,setup(e){const s=e,r=Be(),c=st(),t=ue(Z);t||de(Se,"usage: ");const y=J("tab-pane"),N=_(),h=_(),v=x(()=>s.closable??t.props.closable),u=x(()=>t.currentName.value===(s.name??h.value)),l=_(u.value),i=x(()=>s.name??h.value),d=x(()=>!s.lazy||l.value||u.value),a=()=>{var b;return(b=N.value)==null?void 0:b.contains(document.activeElement)};D(u,b=>{b&&(l.value=!0)});const T=lt({uid:r.uid,getVnode:()=>r.vnode,slots:c,props:s,paneName:i,active:u,index:h,isClosable:v,isFocusInsidePane:a});return t.registerPane(T),Re(()=>{t.unregisterPane(T)}),ot(()=>{var b;c.label&&((b=t.nav$.value)==null||b.scheduleRender())}),(b,E)=>d.value?rt((xe(),Ee("div",{key:0,id:`pane-${i.value}`,ref_key:"paneRef",ref:N,class:we(K(y).b()),role:"tabpanel","aria-hidden":!u.value,"aria-labelledby":`tab-${i.value}`},[ie(b.$slots,"default")],10,Bt)),[[it,u.value]]):Pe("v-if",!0)}}),$e=Ot;const Lt=ct(wt,{TabPane:$e}),Wt=ut($e);export{Wt as E,Lt as a}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-tab-pane-BPBw4wQ7.js +import{d as X,I as Ie,bY as U,G as _e,aT as se,an as Ue,bZ as Ke,b as q,a5 as le,R as j,B as ue,C as de,a as J,D,a7 as oe,H as Re,o as xe,c as Ee,al as He,n as we,f as K,g as Pe,y as _,j as x,U as Y,P as G,b_ as ye,bz as je,s as g,E as H,bl as Ge,T as qe,b1 as Je,V as re,W as $,b$ as Ze,c0 as Qe,h as ie,bC as et,J as tt,ak as at,N as Be,F as nt,bF as st,z as lt,c1 as ot,K as rt,L as it,l as ct,ab as ut}from"./index-Ds9AETjS.js";import{c as dt,r as ce,U as Oe}from"./raf-zQ00nuMI.js";import{f as ft}from"./vnode-CBiWHFw7.js";import{i as te}from"./el-scrollbar-CF42LNzg.js";import{c as ae}from"./el-select-BD70by95.js";import{i as vt}from"./el-popper-D1tByNLb.js";import{c as ke}from"./clamp-CyhADbdq.js";import{o as bt}from"./omit-BzI1MV_K.js";const ht=(e,s,r)=>ft(e.subTree).filter(c=>{var t;return Ue(c)&&((t=c.type)==null?void 0:t.name)===s&&!!c.component}).map(c=>c.component.uid).map(c=>r[c]).filter(c=>!!c),pt=(e,s)=>{const r=se({}),c=se([]),t=new WeakMap,y=u=>{r.value[u.uid]=u,U(r),_e(()=>{const l=u.getVnode().el,i=l.parentNode;if(!t.has(i)){t.set(i,[]);const d=i.insertBefore.bind(i);i.insertBefore=(a,T)=>(t.get(i).some(b=>a===b||T===b)&&U(r),d(a,T))}t.get(i).push(l)})},N=u=>{delete r.value[u.uid],U(r);const l=u.getVnode().el,i=l.parentNode,d=t.get(i),a=d.indexOf(l);d.splice(a,1)},h=()=>{c.value=ht(e,s,r.value)},v=u=>u.render();return{children:c,addChild:y,removeChild:N,ChildrenSorter:X({setup(u,{slots:l}){return()=>(h(),l.default?Ie(v,{render:l.default}):null)}})}},mt=({atEndEdge:e,atStartEdge:s,layout:r},c)=>{let t,y=0;const N=v=>v<0&&s.value||v>0&&e.value;return{hasReachedEdge:N,onWheel:v=>{dt(t);let{deltaX:u,deltaY:l}=v;v.shiftKey&&l!==0&&(u=l,l=0);const i=r.value==="horizontal"?u:l;N(i)||(y+=i,!Ke()&&i!==0&&v.preventDefault(),t=ce(()=>{c(y),y=0}))}}};const Te=e=>{let s,r;return e.type==="touchend"?(r=e.changedTouches[0].clientY,s=e.changedTouches[0].clientX):e.type.startsWith("touch")?(r=e.touches[0].clientY,s=e.touches[0].clientX):(r=e.clientY,s=e.clientX),{clientX:s,clientY:r}},Z=Symbol("tabsRootContextKey"),gt=q({tabs:{type:j(Array),default:()=>le([])},tabRefs:{type:j(Object),default:()=>le({})}}),Ce="ElTabBar";var yt=X({name:Ce,__name:"tab-bar",props:gt,setup(e,{expose:s}){const r=e,c=ue(Z);c||de(Ce,"");const t=J("tabs"),y=_(),N=_(),h=x(()=>{var a;return Y(c.props.defaultValue)||!!((a=N.value)!=null&&a.transform)}),v=()=>{let a=0,T=0;const b=["top","bottom"].includes(c.props.tabPosition)?"width":"height",E=b==="width"?"x":"y",P=E==="x"?"left":"top";return r.tabs.every(n=>{if(Y(n.paneName))return!1;const p=r.tabRefs[n.paneName];if(!p)return!1;if(!n.active)return!0;a=p[`offset${ae(P)}`],T=p[`client${ae(b)}`];const S=window.getComputedStyle(p);return b==="width"&&(T-=Number.parseFloat(S.paddingLeft)+Number.parseFloat(S.paddingRight),a+=Number.parseFloat(S.paddingLeft)),!1}),{[b]:`${T}px`,transform:`translate${ae(E)}(${a}px)`}},u=()=>N.value=v(),l=[],i=()=>{l.forEach(a=>a.stop()),l.length=0,Object.values(r.tabRefs).forEach(a=>{l.push(oe(a,u))})};D(()=>r.tabs,async()=>{await G(),u(),i()},{immediate:!0});const d=oe(y,()=>u());return Re(()=>{l.forEach(a=>a.stop()),l.length=0,d.stop()}),s({ref:y,update:u}),(a,T)=>h.value?(xe(),Ee("div",{key:0,ref_key:"barRef",ref:y,class:we([K(t).e("active-bar"),K(t).is(K(c).props.tabPosition)]),style:He(N.value)},null,6)):Pe("v-if",!0)}}),Tt=yt;const Ct=5,Nt=({scrollable:e,navOffset:s,navSize:r,navContainerSize:c,isHorizontal:t})=>{const y=_(!1),N=x(()=>Math.max(r.value-c.value,0));let h,v;const u=d=>{if(!e.value||d.touches.length!==1)return;const{clientX:a,clientY:T}=Te(d);h={startX:a,startY:T,startOffset:s.value},v=void 0},l=d=>{if(!h||!e.value)return;if(d.touches.length!==1){i();return}const{clientX:a,clientY:T}=Te(d),b=h.startX-a,E=h.startY-T,P=t.value?b:E,n=t.value?E:b,p=Math.abs(P),S=Math.abs(n);if(vt(v)){if(Math.max(p,S)<=Ct)return;v=p>S}if(!v)return;const w=ke(h.startOffset+P,0,N.value);N.value<=0||w===s.value||!d.cancelable||(d.preventDefault(),y.value=!0,s.value=w)},i=()=>{h=void 0,v=void 0,y.value=!1};return{isTouchScrolling:y,handleTouchStart:u,handleTouchMove:l,handleTouchEnd:i}},St=q({panes:{type:j(Array),default:()=>le([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean,tabindex:{type:[String,Number],default:void 0}}),_t={tabClick:(e,s,r)=>r instanceof Event,tabRemove:(e,s)=>s instanceof Event},Ne="ElTabNav",Rt=X({name:Ne,props:St,emits:_t,setup(e,{expose:s,emit:r}){const c=ue(Z);c||de(Ne,"");const t=J("tabs"),y=Ze(),N=Qe(),h=_(),v=_(),u=_(),l=_({}),i=_(),d=_(!1),a=_(0),T=_(!1),b=_(!0),E=_(!1),P=se(),n=x(()=>["top","bottom"].includes(c.props.tabPosition)),p=x(()=>n.value?"width":"height"),S=x(()=>{const o=p.value==="width"?"X":"Y";return{transition:E.value||Me.value?"none":void 0,transform:`translate${o}(-${a.value}px)`}}),{width:w,height:M}=ye(h),{width:I,height:L}=ye(v,{width:0,height:0},{box:"border-box"}),B=x(()=>n.value?w.value:M.value),W=x(()=>n.value?I.value:L.value),{onWheel:Ae}=mt({atStartEdge:x(()=>a.value<=0),atEndEdge:x(()=>W.value-a.value<=B.value),layout:x(()=>n.value?"horizontal":"vertical")},o=>{a.value=ke(a.value+o,0,W.value-B.value)}),ze=o=>{E.value=!0,Ae(o),ce(()=>{E.value=!1})},{isTouchScrolling:Me,handleTouchStart:Fe,handleTouchMove:Ve,handleTouchEnd:fe}=Nt({scrollable:d,navOffset:a,navSize:W,navContainerSize:B,isHorizontal:n}),De=()=>{if(!h.value)return;const o=h.value.getBoundingClientRect()[p.value],m=a.value;m&&(a.value=m>o?m-o:0)},Le=()=>{if(!h.value||!v.value)return;const o=v.value.getBoundingClientRect()[p.value],m=h.value.getBoundingClientRect()[p.value],f=a.value;te(o-f,m)&&(a.value=o-f>m*2?f+m:o-m)},ve=async()=>{const o=v.value;if(!d.value||!u.value||!h.value||!o)return;await G();const m=l.value[e.currentName];if(!m)return;const f=h.value,C=m.getBoundingClientRect(),R=f.getBoundingClientRect(),F=R.left+1,A=R.right-1,V=o.getBoundingClientRect(),ee=n.value?V.width-R.width:V.height-R.height,z=a.value;let O=z;n.value?(C.leftA&&(O=z+C.right-A)):(C.topR.bottom&&(O=z+(C.bottom-R.bottom))),O=Math.max(O,0),a.value=Math.min(O,ee)},be=()=>{var C;if(!v.value||!h.value)return;e.stretch&&((C=i.value)==null||C.update());const o=v.value.getBoundingClientRect()[p.value],m=h.value.getBoundingClientRect()[p.value],f=a.value;m0&&(a.value=0))},We=o=>{const m=re(o);let f=0;switch(m){case $.left:case $.up:f=-1;break;case $.right:case $.down:f=1;break;default:return}const C=Array.from(o.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));let R=C.indexOf(o.target)+f;R<0?R=C.length-1:R>=C.length&&(R=0),C[R].focus({preventScroll:!0}),C[R].click(),he()},he=()=>{b.value&&(T.value=!0)},Q=()=>T.value=!1,Ye=(o,m)=>{l.value[m]=o},Xe=async()=>{var o;await G(),(o=l.value[e.currentName])==null||o.focus({preventScroll:!0})};return D(y,o=>{o==="hidden"?b.value=!1:o==="visible"&&setTimeout(()=>b.value=!0,50)}),D(N,o=>{o?setTimeout(()=>b.value=!0,50):b.value=!1}),oe(u,()=>{ce(be)}),_e(()=>setTimeout(()=>ve(),0)),je(()=>be()),s({scrollToActiveTab:ve,removeFocus:Q,focusActiveTab:Xe,tabListRef:v,tabBarRef:i,scheduleRender:()=>U(P)}),()=>{const o=d.value?[g("span",{class:[t.e("nav-prev"),t.is("disabled",!d.value.prev)],onClick:De},[g(H,null,{default:()=>[g(Ge,null,null)]})]),g("span",{class:[t.e("nav-next"),t.is("disabled",!d.value.next)],onClick:Le},[g(H,null,{default:()=>[g(qe,null,null)]})])]:null,m=e.panes.map((f,C)=>{var pe,me;const R=f.uid,F=f.props.disabled,A=f.props.name??f.index??`${C}`,V=!F&&(f.isClosable||f.props.closable!==!1&&e.editable);f.index=`${C}`;const ee=V?g(H,{class:"is-icon-close",onClick:k=>r("tabRemove",f,k)},{default:()=>[g(Je,null,null)]}):null,z=((me=(pe=f.slots).label)==null?void 0:me.call(pe))||f.props.label,O=!F&&f.active?e.tabindex??c.props.tabindex:-1;return g("div",{ref:k=>Ye(k,A),class:[t.e("item"),t.is(c.props.tabPosition),t.is("active",f.active),t.is("disabled",F),t.is("closable",V),t.is("focus",T.value)],id:`tab-${A}`,key:`tab-${R}`,"aria-controls":`pane-${A}`,role:"tab","aria-selected":f.active,tabindex:O,onFocus:()=>he(),onBlur:()=>Q(),onClick:k=>{Q(),r("tabClick",f,A,k)},onKeydown:k=>{const ge=re(k);V&&(ge===$.delete||ge===$.backspace)&&r("tabRemove",f,k)}},[z,ee])});return P.value,g("div",{ref:u,class:[t.e("nav-wrap"),t.is("scrollable",!!d.value),t.is(c.props.tabPosition)]},[o,g("div",{class:t.e("nav-scroll"),ref:h},[e.panes.length>0?g("div",{class:[t.e("nav"),t.is(c.props.tabPosition),t.is("stretch",e.stretch&&["top","bottom"].includes(c.props.tabPosition))],ref:v,style:S.value,role:"tablist",onKeydown:We,onWheel:ze,onTouchstart:Fe,onTouchmove:Ve,onTouchend:fe,onTouchcancel:fe},[e.type?null:g(Tt,{ref:i,tabs:[...e.panes],tabRefs:l.value},null),m]):null])])}}}),xt=q({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},defaultValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:j(Function),default:()=>!0},stretch:Boolean,tabindex:{type:[String,Number],default:0}}),ne=e=>tt(e)||at(e),Et={[Oe]:e=>ne(e),tabClick:(e,s)=>s instanceof Event,tabChange:e=>ne(e),edit:(e,s)=>["remove","add"].includes(s),tabRemove:e=>ne(e),tabAdd:()=>!0},wt=X({name:"ElTabs",props:xt,emits:Et,setup(e,{emit:s,slots:r,expose:c}){const t=J("tabs"),y=x(()=>["left","right"].includes(e.tabPosition)),{children:N,addChild:h,removeChild:v,ChildrenSorter:u}=pt(Be(),"ElTabPane"),l=_(),i=_((Y(e.modelValue)?e.defaultValue:e.modelValue)??"0"),d=async(n,p=!1)=>{var S,w,M,I;if(!(i.value===n||Y(n)))try{let L;if(e.beforeLeave){const B=e.beforeLeave(n,i.value);L=B instanceof Promise?await B:B}else L=!0;if(L!==!1){const B=(S=N.value.find(W=>W.paneName===i.value))==null?void 0:S.isFocusInsidePane();i.value=n,p&&(s(Oe,n),s("tabChange",n)),(M=(w=l.value)==null?void 0:w.removeFocus)==null||M.call(w),B&&((I=l.value)==null||I.focusActiveTab())}}catch{}},a=(n,p,S)=>{n.props.disabled||(s("tabClick",n,S),d(p,!0))},T=(n,p)=>{n.props.disabled||Y(n.props.name)||(p.stopPropagation(),s("edit",n.props.name,"remove"),s("tabRemove",n.props.name))},b=()=>{s("edit",void 0,"add"),s("tabAdd")},E=n=>{const p=re(n);[$.enter,$.numpadEnter].includes(p)&&b()},P=n=>{const p=n.el.firstChild,S=["bottom","right"].includes(e.tabPosition)?n.children[0].el:n.children[1].el;p!==S&&p.before(S)};return D(()=>e.modelValue,n=>d(n)),D(i,async()=>{var n;await G(),(n=l.value)==null||n.scrollToActiveTab()}),nt(Z,{props:e,currentName:i,registerPane:h,unregisterPane:v,nav$:l}),c({currentName:i,get tabNavRef(){return bt(l.value,["scheduleRender"])}}),()=>{const n=r["add-icon"],p=e.editable||e.addable?g("div",{class:[t.e("new-tab"),y.value&&t.e("new-tab-vertical")],tabindex:e.tabindex,onClick:b,onKeydown:E},[n?ie(r,"add-icon"):g(H,{class:t.is("icon-plus")},{default:()=>[g(et,null,null)]})]):null,S=()=>g(Rt,{ref:l,currentName:i.value,editable:e.editable,type:e.type,panes:N.value,stretch:e.stretch,onTabClick:a,onTabRemove:T},null),w=g("div",{class:[t.e("header"),y.value&&t.e("header-vertical"),t.is(e.tabPosition)]},[g(u,null,{default:S,$stable:!0}),p]),M=g("div",{class:t.e("content")},[ie(r,"default")]);return g("div",{class:[t.b(),t.m(e.tabPosition),{[t.m("card")]:e.type==="card",[t.m("border-card")]:e.type==="border-card"}],onVnodeMounted:P,onVnodeUpdated:P},[M,w])}}}),Pt=q({label:{type:String,default:""},name:{type:[String,Number]},closable:{type:Boolean,default:void 0},disabled:Boolean,lazy:Boolean}),Bt=["id","aria-hidden","aria-labelledby"],Se="ElTabPane";var Ot=X({name:Se,__name:"tab-pane",props:Pt,setup(e){const s=e,r=Be(),c=st(),t=ue(Z);t||de(Se,"usage: ");const y=J("tab-pane"),N=_(),h=_(),v=x(()=>s.closable??t.props.closable),u=x(()=>t.currentName.value===(s.name??h.value)),l=_(u.value),i=x(()=>s.name??h.value),d=x(()=>!s.lazy||l.value||u.value),a=()=>{var b;return(b=N.value)==null?void 0:b.contains(document.activeElement)};D(u,b=>{b&&(l.value=!0)});const T=lt({uid:r.uid,getVnode:()=>r.vnode,slots:c,props:s,paneName:i,active:u,index:h,isClosable:v,isFocusInsidePane:a});return t.registerPane(T),Re(()=>{t.unregisterPane(T)}),ot(()=>{var b;c.label&&((b=t.nav$.value)==null||b.scheduleRender())}),(b,E)=>d.value?rt((xe(),Ee("div",{key:0,id:`pane-${i.value}`,ref_key:"paneRef",ref:N,class:we(K(y).b()),role:"tabpanel","aria-hidden":!u.value,"aria-labelledby":`tab-${i.value}`},[ie(b.$slots,"default")],10,Bt)),[[it,u.value]]):Pe("v-if",!0)}}),$e=Ot;const Lt=ct(wt,{TabPane:$e}),Wt=ut($e);export{Wt as E,Lt as a}; +======== +import{d as X,I as Ie,bY as U,G as _e,aQ as se,an as Ue,bZ as Ke,b as q,a5 as le,R as j,B as ue,C as de,a as J,D,a7 as oe,H as Re,o as xe,c as Ee,al as He,n as we,f as K,g as Pe,y as _,j as x,U as Y,P as G,b_ as ye,bz as je,s as g,E as H,bl as Ge,T as qe,b1 as Je,V as re,W as $,b$ as Qe,c0 as Ze,h as ie,bC as et,J as tt,ak as at,N as Be,F as nt,bF as st,z as lt,c1 as ot,K as rt,L as it,l as ct,ab as ut}from"./index-CxbBjZKo.js";import{c as dt,r as ce,U as Oe}from"./raf-Bjl8yy5U.js";import{f as ft}from"./vnode-DIVHEdsp.js";import{i as te}from"./el-scrollbar-B0E7ZTt3.js";import{c as ae}from"./el-select-CeiDjMzB.js";import{i as vt}from"./el-popper-OAwpEmER.js";import{c as ke}from"./clamp-Ow4I6lPc.js";import{o as bt}from"./omit-CbHF-OEy.js";const ht=(e,s,r)=>ft(e.subTree).filter(c=>{var t;return Ue(c)&&((t=c.type)==null?void 0:t.name)===s&&!!c.component}).map(c=>c.component.uid).map(c=>r[c]).filter(c=>!!c),pt=(e,s)=>{const r=se({}),c=se([]),t=new WeakMap,y=u=>{r.value[u.uid]=u,U(r),_e(()=>{const l=u.getVnode().el,i=l.parentNode;if(!t.has(i)){t.set(i,[]);const d=i.insertBefore.bind(i);i.insertBefore=(a,T)=>(t.get(i).some(b=>a===b||T===b)&&U(r),d(a,T))}t.get(i).push(l)})},N=u=>{delete r.value[u.uid],U(r);const l=u.getVnode().el,i=l.parentNode,d=t.get(i),a=d.indexOf(l);d.splice(a,1)},h=()=>{c.value=ht(e,s,r.value)},v=u=>u.render();return{children:c,addChild:y,removeChild:N,ChildrenSorter:X({setup(u,{slots:l}){return()=>(h(),l.default?Ie(v,{render:l.default}):null)}})}},mt=({atEndEdge:e,atStartEdge:s,layout:r},c)=>{let t,y=0;const N=v=>v<0&&s.value||v>0&&e.value;return{hasReachedEdge:N,onWheel:v=>{dt(t);let{deltaX:u,deltaY:l}=v;v.shiftKey&&l!==0&&(u=l,l=0);const i=r.value==="horizontal"?u:l;N(i)||(y+=i,!Ke()&&i!==0&&v.preventDefault(),t=ce(()=>{c(y),y=0}))}}};const Te=e=>{let s,r;return e.type==="touchend"?(r=e.changedTouches[0].clientY,s=e.changedTouches[0].clientX):e.type.startsWith("touch")?(r=e.touches[0].clientY,s=e.touches[0].clientX):(r=e.clientY,s=e.clientX),{clientX:s,clientY:r}},Q=Symbol("tabsRootContextKey"),gt=q({tabs:{type:j(Array),default:()=>le([])},tabRefs:{type:j(Object),default:()=>le({})}}),Ce="ElTabBar";var yt=X({name:Ce,__name:"tab-bar",props:gt,setup(e,{expose:s}){const r=e,c=ue(Q);c||de(Ce,"");const t=J("tabs"),y=_(),N=_(),h=x(()=>{var a;return Y(c.props.defaultValue)||!!((a=N.value)!=null&&a.transform)}),v=()=>{let a=0,T=0;const b=["top","bottom"].includes(c.props.tabPosition)?"width":"height",E=b==="width"?"x":"y",P=E==="x"?"left":"top";return r.tabs.every(n=>{if(Y(n.paneName))return!1;const p=r.tabRefs[n.paneName];if(!p)return!1;if(!n.active)return!0;a=p[`offset${ae(P)}`],T=p[`client${ae(b)}`];const S=window.getComputedStyle(p);return b==="width"&&(T-=Number.parseFloat(S.paddingLeft)+Number.parseFloat(S.paddingRight),a+=Number.parseFloat(S.paddingLeft)),!1}),{[b]:`${T}px`,transform:`translate${ae(E)}(${a}px)`}},u=()=>N.value=v(),l=[],i=()=>{l.forEach(a=>a.stop()),l.length=0,Object.values(r.tabRefs).forEach(a=>{l.push(oe(a,u))})};D(()=>r.tabs,async()=>{await G(),u(),i()},{immediate:!0});const d=oe(y,()=>u());return Re(()=>{l.forEach(a=>a.stop()),l.length=0,d.stop()}),s({ref:y,update:u}),(a,T)=>h.value?(xe(),Ee("div",{key:0,ref_key:"barRef",ref:y,class:we([K(t).e("active-bar"),K(t).is(K(c).props.tabPosition)]),style:He(N.value)},null,6)):Pe("v-if",!0)}}),Tt=yt;const Ct=5,Nt=({scrollable:e,navOffset:s,navSize:r,navContainerSize:c,isHorizontal:t})=>{const y=_(!1),N=x(()=>Math.max(r.value-c.value,0));let h,v;const u=d=>{if(!e.value||d.touches.length!==1)return;const{clientX:a,clientY:T}=Te(d);h={startX:a,startY:T,startOffset:s.value},v=void 0},l=d=>{if(!h||!e.value)return;if(d.touches.length!==1){i();return}const{clientX:a,clientY:T}=Te(d),b=h.startX-a,E=h.startY-T,P=t.value?b:E,n=t.value?E:b,p=Math.abs(P),S=Math.abs(n);if(vt(v)){if(Math.max(p,S)<=Ct)return;v=p>S}if(!v)return;const w=ke(h.startOffset+P,0,N.value);N.value<=0||w===s.value||!d.cancelable||(d.preventDefault(),y.value=!0,s.value=w)},i=()=>{h=void 0,v=void 0,y.value=!1};return{isTouchScrolling:y,handleTouchStart:u,handleTouchMove:l,handleTouchEnd:i}},St=q({panes:{type:j(Array),default:()=>le([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean,tabindex:{type:[String,Number],default:void 0}}),_t={tabClick:(e,s,r)=>r instanceof Event,tabRemove:(e,s)=>s instanceof Event},Ne="ElTabNav",Rt=X({name:Ne,props:St,emits:_t,setup(e,{expose:s,emit:r}){const c=ue(Q);c||de(Ne,"");const t=J("tabs"),y=Qe(),N=Ze(),h=_(),v=_(),u=_(),l=_({}),i=_(),d=_(!1),a=_(0),T=_(!1),b=_(!0),E=_(!1),P=se(),n=x(()=>["top","bottom"].includes(c.props.tabPosition)),p=x(()=>n.value?"width":"height"),S=x(()=>{const o=p.value==="width"?"X":"Y";return{transition:E.value||Me.value?"none":void 0,transform:`translate${o}(-${a.value}px)`}}),{width:w,height:M}=ye(h),{width:I,height:L}=ye(v,{width:0,height:0},{box:"border-box"}),B=x(()=>n.value?w.value:M.value),W=x(()=>n.value?I.value:L.value),{onWheel:Ae}=mt({atStartEdge:x(()=>a.value<=0),atEndEdge:x(()=>W.value-a.value<=B.value),layout:x(()=>n.value?"horizontal":"vertical")},o=>{a.value=ke(a.value+o,0,W.value-B.value)}),ze=o=>{E.value=!0,Ae(o),ce(()=>{E.value=!1})},{isTouchScrolling:Me,handleTouchStart:Fe,handleTouchMove:Ve,handleTouchEnd:fe}=Nt({scrollable:d,navOffset:a,navSize:W,navContainerSize:B,isHorizontal:n}),De=()=>{if(!h.value)return;const o=h.value.getBoundingClientRect()[p.value],m=a.value;m&&(a.value=m>o?m-o:0)},Le=()=>{if(!h.value||!v.value)return;const o=v.value.getBoundingClientRect()[p.value],m=h.value.getBoundingClientRect()[p.value],f=a.value;te(o-f,m)&&(a.value=o-f>m*2?f+m:o-m)},ve=async()=>{const o=v.value;if(!d.value||!u.value||!h.value||!o)return;await G();const m=l.value[e.currentName];if(!m)return;const f=h.value,C=m.getBoundingClientRect(),R=f.getBoundingClientRect(),F=R.left+1,A=R.right-1,V=o.getBoundingClientRect(),ee=n.value?V.width-R.width:V.height-R.height,z=a.value;let O=z;n.value?(C.leftA&&(O=z+C.right-A)):(C.topR.bottom&&(O=z+(C.bottom-R.bottom))),O=Math.max(O,0),a.value=Math.min(O,ee)},be=()=>{var C;if(!v.value||!h.value)return;e.stretch&&((C=i.value)==null||C.update());const o=v.value.getBoundingClientRect()[p.value],m=h.value.getBoundingClientRect()[p.value],f=a.value;m0&&(a.value=0))},We=o=>{const m=re(o);let f=0;switch(m){case $.left:case $.up:f=-1;break;case $.right:case $.down:f=1;break;default:return}const C=Array.from(o.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));let R=C.indexOf(o.target)+f;R<0?R=C.length-1:R>=C.length&&(R=0),C[R].focus({preventScroll:!0}),C[R].click(),he()},he=()=>{b.value&&(T.value=!0)},Z=()=>T.value=!1,Ye=(o,m)=>{l.value[m]=o},Xe=async()=>{var o;await G(),(o=l.value[e.currentName])==null||o.focus({preventScroll:!0})};return D(y,o=>{o==="hidden"?b.value=!1:o==="visible"&&setTimeout(()=>b.value=!0,50)}),D(N,o=>{o?setTimeout(()=>b.value=!0,50):b.value=!1}),oe(u,()=>{ce(be)}),_e(()=>setTimeout(()=>ve(),0)),je(()=>be()),s({scrollToActiveTab:ve,removeFocus:Z,focusActiveTab:Xe,tabListRef:v,tabBarRef:i,scheduleRender:()=>U(P)}),()=>{const o=d.value?[g("span",{class:[t.e("nav-prev"),t.is("disabled",!d.value.prev)],onClick:De},[g(H,null,{default:()=>[g(Ge,null,null)]})]),g("span",{class:[t.e("nav-next"),t.is("disabled",!d.value.next)],onClick:Le},[g(H,null,{default:()=>[g(qe,null,null)]})])]:null,m=e.panes.map((f,C)=>{var pe,me;const R=f.uid,F=f.props.disabled,A=f.props.name??f.index??`${C}`,V=!F&&(f.isClosable||f.props.closable!==!1&&e.editable);f.index=`${C}`;const ee=V?g(H,{class:"is-icon-close",onClick:k=>r("tabRemove",f,k)},{default:()=>[g(Je,null,null)]}):null,z=((me=(pe=f.slots).label)==null?void 0:me.call(pe))||f.props.label,O=!F&&f.active?e.tabindex??c.props.tabindex:-1;return g("div",{ref:k=>Ye(k,A),class:[t.e("item"),t.is(c.props.tabPosition),t.is("active",f.active),t.is("disabled",F),t.is("closable",V),t.is("focus",T.value)],id:`tab-${A}`,key:`tab-${R}`,"aria-controls":`pane-${A}`,role:"tab","aria-selected":f.active,tabindex:O,onFocus:()=>he(),onBlur:()=>Z(),onClick:k=>{Z(),r("tabClick",f,A,k)},onKeydown:k=>{const ge=re(k);V&&(ge===$.delete||ge===$.backspace)&&r("tabRemove",f,k)}},[z,ee])});return P.value,g("div",{ref:u,class:[t.e("nav-wrap"),t.is("scrollable",!!d.value),t.is(c.props.tabPosition)]},[o,g("div",{class:t.e("nav-scroll"),ref:h},[e.panes.length>0?g("div",{class:[t.e("nav"),t.is(c.props.tabPosition),t.is("stretch",e.stretch&&["top","bottom"].includes(c.props.tabPosition))],ref:v,style:S.value,role:"tablist",onKeydown:We,onWheel:ze,onTouchstart:Fe,onTouchmove:Ve,onTouchend:fe,onTouchcancel:fe},[e.type?null:g(Tt,{ref:i,tabs:[...e.panes],tabRefs:l.value},null),m]):null])])}}}),xt=q({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},defaultValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:j(Function),default:()=>!0},stretch:Boolean,tabindex:{type:[String,Number],default:0}}),ne=e=>tt(e)||at(e),Et={[Oe]:e=>ne(e),tabClick:(e,s)=>s instanceof Event,tabChange:e=>ne(e),edit:(e,s)=>["remove","add"].includes(s),tabRemove:e=>ne(e),tabAdd:()=>!0},wt=X({name:"ElTabs",props:xt,emits:Et,setup(e,{emit:s,slots:r,expose:c}){const t=J("tabs"),y=x(()=>["left","right"].includes(e.tabPosition)),{children:N,addChild:h,removeChild:v,ChildrenSorter:u}=pt(Be(),"ElTabPane"),l=_(),i=_((Y(e.modelValue)?e.defaultValue:e.modelValue)??"0"),d=async(n,p=!1)=>{var S,w,M,I;if(!(i.value===n||Y(n)))try{let L;if(e.beforeLeave){const B=e.beforeLeave(n,i.value);L=B instanceof Promise?await B:B}else L=!0;if(L!==!1){const B=(S=N.value.find(W=>W.paneName===i.value))==null?void 0:S.isFocusInsidePane();i.value=n,p&&(s(Oe,n),s("tabChange",n)),(M=(w=l.value)==null?void 0:w.removeFocus)==null||M.call(w),B&&((I=l.value)==null||I.focusActiveTab())}}catch{}},a=(n,p,S)=>{n.props.disabled||(s("tabClick",n,S),d(p,!0))},T=(n,p)=>{n.props.disabled||Y(n.props.name)||(p.stopPropagation(),s("edit",n.props.name,"remove"),s("tabRemove",n.props.name))},b=()=>{s("edit",void 0,"add"),s("tabAdd")},E=n=>{const p=re(n);[$.enter,$.numpadEnter].includes(p)&&b()},P=n=>{const p=n.el.firstChild,S=["bottom","right"].includes(e.tabPosition)?n.children[0].el:n.children[1].el;p!==S&&p.before(S)};return D(()=>e.modelValue,n=>d(n)),D(i,async()=>{var n;await G(),(n=l.value)==null||n.scrollToActiveTab()}),nt(Q,{props:e,currentName:i,registerPane:h,unregisterPane:v,nav$:l}),c({currentName:i,get tabNavRef(){return bt(l.value,["scheduleRender"])}}),()=>{const n=r["add-icon"],p=e.editable||e.addable?g("div",{class:[t.e("new-tab"),y.value&&t.e("new-tab-vertical")],tabindex:e.tabindex,onClick:b,onKeydown:E},[n?ie(r,"add-icon"):g(H,{class:t.is("icon-plus")},{default:()=>[g(et,null,null)]})]):null,S=()=>g(Rt,{ref:l,currentName:i.value,editable:e.editable,type:e.type,panes:N.value,stretch:e.stretch,onTabClick:a,onTabRemove:T},null),w=g("div",{class:[t.e("header"),y.value&&t.e("header-vertical"),t.is(e.tabPosition)]},[g(u,null,{default:S,$stable:!0}),p]),M=g("div",{class:t.e("content")},[ie(r,"default")]);return g("div",{class:[t.b(),t.m(e.tabPosition),{[t.m("card")]:e.type==="card",[t.m("border-card")]:e.type==="border-card"}],onVnodeMounted:P,onVnodeUpdated:P},[M,w])}}}),Pt=q({label:{type:String,default:""},name:{type:[String,Number]},closable:{type:Boolean,default:void 0},disabled:Boolean,lazy:Boolean}),Bt=["id","aria-hidden","aria-labelledby"],Se="ElTabPane";var Ot=X({name:Se,__name:"tab-pane",props:Pt,setup(e){const s=e,r=Be(),c=st(),t=ue(Q);t||de(Se,"usage: ");const y=J("tab-pane"),N=_(),h=_(),v=x(()=>s.closable??t.props.closable),u=x(()=>t.currentName.value===(s.name??h.value)),l=_(u.value),i=x(()=>s.name??h.value),d=x(()=>!s.lazy||l.value||u.value),a=()=>{var b;return(b=N.value)==null?void 0:b.contains(document.activeElement)};D(u,b=>{b&&(l.value=!0)});const T=lt({uid:r.uid,getVnode:()=>r.vnode,slots:c,props:s,paneName:i,active:u,index:h,isClosable:v,isFocusInsidePane:a});return t.registerPane(T),Re(()=>{t.unregisterPane(T)}),ot(()=>{var b;c.label&&((b=t.nav$.value)==null||b.scheduleRender())}),(b,E)=>d.value?rt((xe(),Ee("div",{key:0,id:`pane-${i.value}`,ref_key:"paneRef",ref:N,class:we(K(y).b()),role:"tabpanel","aria-hidden":!u.value,"aria-labelledby":`tab-${i.value}`},[ie(b.$slots,"default")],10,Bt)),[[it,u.value]]):Pe("v-if",!0)}}),$e=Ot;const Lt=ct(wt,{TabPane:$e}),Wt=ut($e);export{Wt as E,Lt as a}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-tab-pane-DQY-HDUC.js diff --git a/frontend/dist/assets/el-tab-pane-DQY-HDUC.js b/frontend/dist/assets/el-tab-pane-DQY-HDUC.js new file mode 100644 index 0000000..92971de --- /dev/null +++ b/frontend/dist/assets/el-tab-pane-DQY-HDUC.js @@ -0,0 +1 @@ +import{d as X,I as Ie,bY as U,G as _e,aQ as se,an as Ue,bZ as Ke,b as q,a5 as le,R as j,B as ue,C as de,a as J,D,a7 as oe,H as Re,o as xe,c as Ee,al as He,n as we,f as K,g as Pe,y as _,j as x,U as Y,P as G,b_ as ye,bz as je,s as g,E as H,bl as Ge,T as qe,b1 as Je,V as re,W as $,b$ as Qe,c0 as Ze,h as ie,bC as et,J as tt,ak as at,N as Be,F as nt,bF as st,z as lt,c1 as ot,K as rt,L as it,l as ct,ab as ut}from"./index-CxbBjZKo.js";import{c as dt,r as ce,U as Oe}from"./raf-Bjl8yy5U.js";import{f as ft}from"./vnode-DIVHEdsp.js";import{i as te}from"./el-scrollbar-B0E7ZTt3.js";import{c as ae}from"./el-select-CeiDjMzB.js";import{i as vt}from"./el-popper-OAwpEmER.js";import{c as ke}from"./clamp-Ow4I6lPc.js";import{o as bt}from"./omit-CbHF-OEy.js";const ht=(e,s,r)=>ft(e.subTree).filter(c=>{var t;return Ue(c)&&((t=c.type)==null?void 0:t.name)===s&&!!c.component}).map(c=>c.component.uid).map(c=>r[c]).filter(c=>!!c),pt=(e,s)=>{const r=se({}),c=se([]),t=new WeakMap,y=u=>{r.value[u.uid]=u,U(r),_e(()=>{const l=u.getVnode().el,i=l.parentNode;if(!t.has(i)){t.set(i,[]);const d=i.insertBefore.bind(i);i.insertBefore=(a,T)=>(t.get(i).some(b=>a===b||T===b)&&U(r),d(a,T))}t.get(i).push(l)})},N=u=>{delete r.value[u.uid],U(r);const l=u.getVnode().el,i=l.parentNode,d=t.get(i),a=d.indexOf(l);d.splice(a,1)},h=()=>{c.value=ht(e,s,r.value)},v=u=>u.render();return{children:c,addChild:y,removeChild:N,ChildrenSorter:X({setup(u,{slots:l}){return()=>(h(),l.default?Ie(v,{render:l.default}):null)}})}},mt=({atEndEdge:e,atStartEdge:s,layout:r},c)=>{let t,y=0;const N=v=>v<0&&s.value||v>0&&e.value;return{hasReachedEdge:N,onWheel:v=>{dt(t);let{deltaX:u,deltaY:l}=v;v.shiftKey&&l!==0&&(u=l,l=0);const i=r.value==="horizontal"?u:l;N(i)||(y+=i,!Ke()&&i!==0&&v.preventDefault(),t=ce(()=>{c(y),y=0}))}}};const Te=e=>{let s,r;return e.type==="touchend"?(r=e.changedTouches[0].clientY,s=e.changedTouches[0].clientX):e.type.startsWith("touch")?(r=e.touches[0].clientY,s=e.touches[0].clientX):(r=e.clientY,s=e.clientX),{clientX:s,clientY:r}},Q=Symbol("tabsRootContextKey"),gt=q({tabs:{type:j(Array),default:()=>le([])},tabRefs:{type:j(Object),default:()=>le({})}}),Ce="ElTabBar";var yt=X({name:Ce,__name:"tab-bar",props:gt,setup(e,{expose:s}){const r=e,c=ue(Q);c||de(Ce,"");const t=J("tabs"),y=_(),N=_(),h=x(()=>{var a;return Y(c.props.defaultValue)||!!((a=N.value)!=null&&a.transform)}),v=()=>{let a=0,T=0;const b=["top","bottom"].includes(c.props.tabPosition)?"width":"height",E=b==="width"?"x":"y",P=E==="x"?"left":"top";return r.tabs.every(n=>{if(Y(n.paneName))return!1;const p=r.tabRefs[n.paneName];if(!p)return!1;if(!n.active)return!0;a=p[`offset${ae(P)}`],T=p[`client${ae(b)}`];const S=window.getComputedStyle(p);return b==="width"&&(T-=Number.parseFloat(S.paddingLeft)+Number.parseFloat(S.paddingRight),a+=Number.parseFloat(S.paddingLeft)),!1}),{[b]:`${T}px`,transform:`translate${ae(E)}(${a}px)`}},u=()=>N.value=v(),l=[],i=()=>{l.forEach(a=>a.stop()),l.length=0,Object.values(r.tabRefs).forEach(a=>{l.push(oe(a,u))})};D(()=>r.tabs,async()=>{await G(),u(),i()},{immediate:!0});const d=oe(y,()=>u());return Re(()=>{l.forEach(a=>a.stop()),l.length=0,d.stop()}),s({ref:y,update:u}),(a,T)=>h.value?(xe(),Ee("div",{key:0,ref_key:"barRef",ref:y,class:we([K(t).e("active-bar"),K(t).is(K(c).props.tabPosition)]),style:He(N.value)},null,6)):Pe("v-if",!0)}}),Tt=yt;const Ct=5,Nt=({scrollable:e,navOffset:s,navSize:r,navContainerSize:c,isHorizontal:t})=>{const y=_(!1),N=x(()=>Math.max(r.value-c.value,0));let h,v;const u=d=>{if(!e.value||d.touches.length!==1)return;const{clientX:a,clientY:T}=Te(d);h={startX:a,startY:T,startOffset:s.value},v=void 0},l=d=>{if(!h||!e.value)return;if(d.touches.length!==1){i();return}const{clientX:a,clientY:T}=Te(d),b=h.startX-a,E=h.startY-T,P=t.value?b:E,n=t.value?E:b,p=Math.abs(P),S=Math.abs(n);if(vt(v)){if(Math.max(p,S)<=Ct)return;v=p>S}if(!v)return;const w=ke(h.startOffset+P,0,N.value);N.value<=0||w===s.value||!d.cancelable||(d.preventDefault(),y.value=!0,s.value=w)},i=()=>{h=void 0,v=void 0,y.value=!1};return{isTouchScrolling:y,handleTouchStart:u,handleTouchMove:l,handleTouchEnd:i}},St=q({panes:{type:j(Array),default:()=>le([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean,tabindex:{type:[String,Number],default:void 0}}),_t={tabClick:(e,s,r)=>r instanceof Event,tabRemove:(e,s)=>s instanceof Event},Ne="ElTabNav",Rt=X({name:Ne,props:St,emits:_t,setup(e,{expose:s,emit:r}){const c=ue(Q);c||de(Ne,"");const t=J("tabs"),y=Qe(),N=Ze(),h=_(),v=_(),u=_(),l=_({}),i=_(),d=_(!1),a=_(0),T=_(!1),b=_(!0),E=_(!1),P=se(),n=x(()=>["top","bottom"].includes(c.props.tabPosition)),p=x(()=>n.value?"width":"height"),S=x(()=>{const o=p.value==="width"?"X":"Y";return{transition:E.value||Me.value?"none":void 0,transform:`translate${o}(-${a.value}px)`}}),{width:w,height:M}=ye(h),{width:I,height:L}=ye(v,{width:0,height:0},{box:"border-box"}),B=x(()=>n.value?w.value:M.value),W=x(()=>n.value?I.value:L.value),{onWheel:Ae}=mt({atStartEdge:x(()=>a.value<=0),atEndEdge:x(()=>W.value-a.value<=B.value),layout:x(()=>n.value?"horizontal":"vertical")},o=>{a.value=ke(a.value+o,0,W.value-B.value)}),ze=o=>{E.value=!0,Ae(o),ce(()=>{E.value=!1})},{isTouchScrolling:Me,handleTouchStart:Fe,handleTouchMove:Ve,handleTouchEnd:fe}=Nt({scrollable:d,navOffset:a,navSize:W,navContainerSize:B,isHorizontal:n}),De=()=>{if(!h.value)return;const o=h.value.getBoundingClientRect()[p.value],m=a.value;m&&(a.value=m>o?m-o:0)},Le=()=>{if(!h.value||!v.value)return;const o=v.value.getBoundingClientRect()[p.value],m=h.value.getBoundingClientRect()[p.value],f=a.value;te(o-f,m)&&(a.value=o-f>m*2?f+m:o-m)},ve=async()=>{const o=v.value;if(!d.value||!u.value||!h.value||!o)return;await G();const m=l.value[e.currentName];if(!m)return;const f=h.value,C=m.getBoundingClientRect(),R=f.getBoundingClientRect(),F=R.left+1,A=R.right-1,V=o.getBoundingClientRect(),ee=n.value?V.width-R.width:V.height-R.height,z=a.value;let O=z;n.value?(C.leftA&&(O=z+C.right-A)):(C.topR.bottom&&(O=z+(C.bottom-R.bottom))),O=Math.max(O,0),a.value=Math.min(O,ee)},be=()=>{var C;if(!v.value||!h.value)return;e.stretch&&((C=i.value)==null||C.update());const o=v.value.getBoundingClientRect()[p.value],m=h.value.getBoundingClientRect()[p.value],f=a.value;m0&&(a.value=0))},We=o=>{const m=re(o);let f=0;switch(m){case $.left:case $.up:f=-1;break;case $.right:case $.down:f=1;break;default:return}const C=Array.from(o.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));let R=C.indexOf(o.target)+f;R<0?R=C.length-1:R>=C.length&&(R=0),C[R].focus({preventScroll:!0}),C[R].click(),he()},he=()=>{b.value&&(T.value=!0)},Z=()=>T.value=!1,Ye=(o,m)=>{l.value[m]=o},Xe=async()=>{var o;await G(),(o=l.value[e.currentName])==null||o.focus({preventScroll:!0})};return D(y,o=>{o==="hidden"?b.value=!1:o==="visible"&&setTimeout(()=>b.value=!0,50)}),D(N,o=>{o?setTimeout(()=>b.value=!0,50):b.value=!1}),oe(u,()=>{ce(be)}),_e(()=>setTimeout(()=>ve(),0)),je(()=>be()),s({scrollToActiveTab:ve,removeFocus:Z,focusActiveTab:Xe,tabListRef:v,tabBarRef:i,scheduleRender:()=>U(P)}),()=>{const o=d.value?[g("span",{class:[t.e("nav-prev"),t.is("disabled",!d.value.prev)],onClick:De},[g(H,null,{default:()=>[g(Ge,null,null)]})]),g("span",{class:[t.e("nav-next"),t.is("disabled",!d.value.next)],onClick:Le},[g(H,null,{default:()=>[g(qe,null,null)]})])]:null,m=e.panes.map((f,C)=>{var pe,me;const R=f.uid,F=f.props.disabled,A=f.props.name??f.index??`${C}`,V=!F&&(f.isClosable||f.props.closable!==!1&&e.editable);f.index=`${C}`;const ee=V?g(H,{class:"is-icon-close",onClick:k=>r("tabRemove",f,k)},{default:()=>[g(Je,null,null)]}):null,z=((me=(pe=f.slots).label)==null?void 0:me.call(pe))||f.props.label,O=!F&&f.active?e.tabindex??c.props.tabindex:-1;return g("div",{ref:k=>Ye(k,A),class:[t.e("item"),t.is(c.props.tabPosition),t.is("active",f.active),t.is("disabled",F),t.is("closable",V),t.is("focus",T.value)],id:`tab-${A}`,key:`tab-${R}`,"aria-controls":`pane-${A}`,role:"tab","aria-selected":f.active,tabindex:O,onFocus:()=>he(),onBlur:()=>Z(),onClick:k=>{Z(),r("tabClick",f,A,k)},onKeydown:k=>{const ge=re(k);V&&(ge===$.delete||ge===$.backspace)&&r("tabRemove",f,k)}},[z,ee])});return P.value,g("div",{ref:u,class:[t.e("nav-wrap"),t.is("scrollable",!!d.value),t.is(c.props.tabPosition)]},[o,g("div",{class:t.e("nav-scroll"),ref:h},[e.panes.length>0?g("div",{class:[t.e("nav"),t.is(c.props.tabPosition),t.is("stretch",e.stretch&&["top","bottom"].includes(c.props.tabPosition))],ref:v,style:S.value,role:"tablist",onKeydown:We,onWheel:ze,onTouchstart:Fe,onTouchmove:Ve,onTouchend:fe,onTouchcancel:fe},[e.type?null:g(Tt,{ref:i,tabs:[...e.panes],tabRefs:l.value},null),m]):null])])}}}),xt=q({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},defaultValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:j(Function),default:()=>!0},stretch:Boolean,tabindex:{type:[String,Number],default:0}}),ne=e=>tt(e)||at(e),Et={[Oe]:e=>ne(e),tabClick:(e,s)=>s instanceof Event,tabChange:e=>ne(e),edit:(e,s)=>["remove","add"].includes(s),tabRemove:e=>ne(e),tabAdd:()=>!0},wt=X({name:"ElTabs",props:xt,emits:Et,setup(e,{emit:s,slots:r,expose:c}){const t=J("tabs"),y=x(()=>["left","right"].includes(e.tabPosition)),{children:N,addChild:h,removeChild:v,ChildrenSorter:u}=pt(Be(),"ElTabPane"),l=_(),i=_((Y(e.modelValue)?e.defaultValue:e.modelValue)??"0"),d=async(n,p=!1)=>{var S,w,M,I;if(!(i.value===n||Y(n)))try{let L;if(e.beforeLeave){const B=e.beforeLeave(n,i.value);L=B instanceof Promise?await B:B}else L=!0;if(L!==!1){const B=(S=N.value.find(W=>W.paneName===i.value))==null?void 0:S.isFocusInsidePane();i.value=n,p&&(s(Oe,n),s("tabChange",n)),(M=(w=l.value)==null?void 0:w.removeFocus)==null||M.call(w),B&&((I=l.value)==null||I.focusActiveTab())}}catch{}},a=(n,p,S)=>{n.props.disabled||(s("tabClick",n,S),d(p,!0))},T=(n,p)=>{n.props.disabled||Y(n.props.name)||(p.stopPropagation(),s("edit",n.props.name,"remove"),s("tabRemove",n.props.name))},b=()=>{s("edit",void 0,"add"),s("tabAdd")},E=n=>{const p=re(n);[$.enter,$.numpadEnter].includes(p)&&b()},P=n=>{const p=n.el.firstChild,S=["bottom","right"].includes(e.tabPosition)?n.children[0].el:n.children[1].el;p!==S&&p.before(S)};return D(()=>e.modelValue,n=>d(n)),D(i,async()=>{var n;await G(),(n=l.value)==null||n.scrollToActiveTab()}),nt(Q,{props:e,currentName:i,registerPane:h,unregisterPane:v,nav$:l}),c({currentName:i,get tabNavRef(){return bt(l.value,["scheduleRender"])}}),()=>{const n=r["add-icon"],p=e.editable||e.addable?g("div",{class:[t.e("new-tab"),y.value&&t.e("new-tab-vertical")],tabindex:e.tabindex,onClick:b,onKeydown:E},[n?ie(r,"add-icon"):g(H,{class:t.is("icon-plus")},{default:()=>[g(et,null,null)]})]):null,S=()=>g(Rt,{ref:l,currentName:i.value,editable:e.editable,type:e.type,panes:N.value,stretch:e.stretch,onTabClick:a,onTabRemove:T},null),w=g("div",{class:[t.e("header"),y.value&&t.e("header-vertical"),t.is(e.tabPosition)]},[g(u,null,{default:S,$stable:!0}),p]),M=g("div",{class:t.e("content")},[ie(r,"default")]);return g("div",{class:[t.b(),t.m(e.tabPosition),{[t.m("card")]:e.type==="card",[t.m("border-card")]:e.type==="border-card"}],onVnodeMounted:P,onVnodeUpdated:P},[M,w])}}}),Pt=q({label:{type:String,default:""},name:{type:[String,Number]},closable:{type:Boolean,default:void 0},disabled:Boolean,lazy:Boolean}),Bt=["id","aria-hidden","aria-labelledby"],Se="ElTabPane";var Ot=X({name:Se,__name:"tab-pane",props:Pt,setup(e){const s=e,r=Be(),c=st(),t=ue(Q);t||de(Se,"usage: ");const y=J("tab-pane"),N=_(),h=_(),v=x(()=>s.closable??t.props.closable),u=x(()=>t.currentName.value===(s.name??h.value)),l=_(u.value),i=x(()=>s.name??h.value),d=x(()=>!s.lazy||l.value||u.value),a=()=>{var b;return(b=N.value)==null?void 0:b.contains(document.activeElement)};D(u,b=>{b&&(l.value=!0)});const T=lt({uid:r.uid,getVnode:()=>r.vnode,slots:c,props:s,paneName:i,active:u,index:h,isClosable:v,isFocusInsidePane:a});return t.registerPane(T),Re(()=>{t.unregisterPane(T)}),ot(()=>{var b;c.label&&((b=t.nav$.value)==null||b.scheduleRender())}),(b,E)=>d.value?rt((xe(),Ee("div",{key:0,id:`pane-${i.value}`,ref_key:"paneRef",ref:N,class:we(K(y).b()),role:"tabpanel","aria-hidden":!u.value,"aria-labelledby":`tab-${i.value}`},[ie(b.$slots,"default")],10,Bt)),[[it,u.value]]):Pe("v-if",!0)}}),$e=Ot;const Lt=ct(wt,{TabPane:$e}),Wt=ut($e);export{Wt as E,Lt as a}; diff --git a/frontend/dist/assets/el-table-CzpPw-qp.js b/frontend/dist/assets/el-table-CzpPw-qp.js index 2533364..8a2a449 100644 --- a/frontend/dist/assets/el-table-CzpPw-qp.js +++ b/frontend/dist/assets/el-table-CzpPw-qp.js @@ -1,4 +1,10 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-table-CzpPw-qp.js import{cs as Kt,cw as yt,cn as wn,d4 as xl,cy as Sn,ct as xn,cF as En,cJ as Rn,d5 as Nn,ce as Et,cq as On,ci as al,d6 as Ln,cK as Fn,cr as Tn,aR as Mn,bv as Ie,U as be,an as El,by as Rl,M as Ze,ak as je,J as we,b8 as Ce,C as Wn,k as $e,a6 as ie,s as xe,bu as sl,c2 as Nl,a3 as gt,cU as ol,y as O,N as he,f as S,D as ne,j as Y,aV as kn,a as Ee,aW as Ct,P as Ye,aB as Hn,bt as et,B as Le,d as De,bB as An,S as $n,E as Bt,cb as Je,V as zn,W as We,ai as ke,o as te,e as Ke,w as Ae,q as fe,n as G,h as Be,c as ye,ad as rl,x as Dt,aa as Pe,cO as Ol,G as lt,bz as In,ah as Pt,$ as it,a0 as tt,bw as Kn,_ as vt,I as P,H as Vt,z as Bn,a1 as Rt,aS as il,a7 as ul,u as jt,K as wt,al as Qe,g as He,L as cl,F as Dn,T as Ll,br as Pn,aK as Vn,bF as jn,l as _n,ab as Yn}from"./index-CD29OCdJ.js";import{E as Fl,i as St}from"./el-scrollbar-YCRG1835.js";import{E as Tl,u as qn}from"./el-popper-DIiB8Y-M.js";import{c as Un,k as Ml,a as Xn,d as Gn,e as Qn,i as Jn}from"./_baseClone-Blem5BWg.js";import{s as Zn,o as ea,i as ta,b as la}from"./index-DpY84JwG.js";import{b as na}from"./_baseIteratee-CuPmYyG4.js";import{c as Wl}from"./castArray-BEiueV6y.js";import{d as pt}from"./debounce-BCyqG5kC.js";import{a as aa,E as mt}from"./el-checkbox-Pnt9POcY.js";import{_ as sa}from"./index-BpugJXyE.js";import{r as oa}from"./raf-DGtHIxe2.js";import{e as ra}from"./index-6OTFNiIi.js";function ia(e,t){return Zn(ea(e,t,ta),e+"")}function ua(e,t,l){if(!Kt(l))return!1;var n=typeof t;return(n=="number"?yt(l)&&wn(t,l.length):n=="string"&&t in l)?xl(l[t],e):!1}function ca(e){return ia(function(t,l){var n=-1,a=l.length,u=a>1?l[a-1]:void 0,c=a>2?l[2]:void 0;for(u=e.length>3&&typeof u=="function"?(a--,u):void 0,c&&ua(l[0],l[1],c)&&(u=a<3?void 0:u,a=1),t=Object(t);++nze},ie64:function(){return At.ie()&&Il},firefox:function(){return de()||Lt},opera:function(){return de()||Ft},webkit:function(){return de()||ut},safari:function(){return At.webkit()},chrome:function(){return de()||ct},windows:function(){return de()||Tt},osx:function(){return de()||dt},linux:function(){return de()||Mt},iphone:function(){return de()||kt},mobile:function(){return de()||kt||Ht||Wt||Bl},nativeApp:function(){return de()||Kl},android:function(){return de()||Wt},ipad:function(){return de()||Ht}},ba=At,wa=!!(typeof window<"u"&&window.document&&window.document.createElement),Sa={canUseDOM:wa},Dl=Sa,Pl;Dl.canUseDOM&&(Pl=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function xa(e,t){if(!Dl.canUseDOM||t&&!("addEventListener"in document))return!1;var l="on"+e,n=l in document;if(!n){var a=document.createElement("div");a.setAttribute(l,"return;"),n=typeof a[l]=="function"}return!n&&Pl&&e==="wheel"&&(n=document.implementation.hasFeature("Events.wheel","3.0")),n}var Ea=xa,fl=10,hl=40,gl=800;function Vl(e){var t=0,l=0,n=0,a=0;return"detail"in e&&(l=e.detail),"wheelDelta"in e&&(l=-e.wheelDelta/120),"wheelDeltaY"in e&&(l=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=l,l=0),n=t*fl,a=l*fl,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||a)&&e.deltaMode&&(e.deltaMode==1?(n*=hl,a*=hl):(n*=gl,a*=gl)),n&&!t&&(t=n<1?-1:1),a&&!l&&(l=a<1?-1:1),{spinX:t,spinY:l,pixelX:n,pixelY:a}}Vl.getEventType=function(){return ba.firefox()?"DOMMouseScroll":Ea("wheel")?"wheel":"mousewheel"};var Ra=Vl;/** +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-table-C7Zx0Bmo.js +import{cs as Kt,cw as yt,cn as wn,d4 as xl,cy as Sn,ct as xn,cF as En,cJ as Rn,d5 as Nn,ce as Et,cq as On,ci as al,d6 as Ln,cK as Fn,cr as Tn,aR as Mn,bv as Ie,U as be,an as El,by as Rl,M as Ze,ak as je,J as we,b8 as Ce,C as Wn,k as $e,a6 as ie,s as xe,bu as sl,c2 as Nl,a3 as gt,cU as ol,y as O,N as he,f as S,D as ne,j as Y,aV as kn,a as Ee,aW as Ct,P as Ye,aB as Hn,bt as et,B as Le,d as De,bB as An,S as $n,E as Bt,cb as Je,V as zn,W as We,ai as ke,o as te,e as Ke,w as Ae,q as fe,n as G,h as Be,c as ye,ad as rl,x as Dt,aa as Pe,cO as Ol,G as lt,bz as In,ah as Pt,$ as it,a0 as tt,bw as Kn,_ as vt,I as P,H as Vt,z as Bn,a1 as Rt,aS as il,a7 as ul,u as jt,K as wt,al as Qe,g as He,L as cl,F as Dn,T as Ll,br as Pn,aK as Vn,bF as jn,l as _n,ab as Yn}from"./index-Ds9AETjS.js";import{E as Fl,i as St}from"./el-scrollbar-CF42LNzg.js";import{E as Tl,u as qn}from"./el-popper-D1tByNLb.js";import{c as Un,k as Ml,a as Xn,d as Gn,e as Qn,i as Jn}from"./_baseClone-CZxxnGCv.js";import{s as Zn,o as ea,i as ta,b as la}from"./index-BSbCLbaz.js";import{b as na}from"./_baseIteratee-82gB5Yov.js";import{c as Wl}from"./castArray-BWI4UxBy.js";import{d as pt}from"./debounce-D6mJVDYC.js";import{a as aa,E as mt}from"./el-checkbox-pV3o_8iy.js";import{_ as sa}from"./index-sWKLi7bH.js";import{r as oa}from"./raf-zQ00nuMI.js";import{e as ra}from"./index-BNsCyG4A.js";function ia(e,t){return Zn(ea(e,t,ta),e+"")}function ua(e,t,l){if(!Kt(l))return!1;var n=typeof t;return(n=="number"?yt(l)&&wn(t,l.length):n=="string"&&t in l)?xl(l[t],e):!1}function ca(e){return ia(function(t,l){var n=-1,a=l.length,u=a>1?l[a-1]:void 0,c=a>2?l[2]:void 0;for(u=e.length>3&&typeof u=="function"?(a--,u):void 0,c&&ua(l[0],l[1],c)&&(u=a<3?void 0:u,a=1),t=Object(t);++nze},ie64:function(){return At.ie()&&Il},firefox:function(){return de()||Lt},opera:function(){return de()||Ft},webkit:function(){return de()||ut},safari:function(){return At.webkit()},chrome:function(){return de()||ct},windows:function(){return de()||Tt},osx:function(){return de()||dt},linux:function(){return de()||Mt},iphone:function(){return de()||kt},mobile:function(){return de()||kt||Ht||Wt||Bl},nativeApp:function(){return de()||Kl},android:function(){return de()||Wt},ipad:function(){return de()||Ht}},ba=At,wa=!!(typeof window<"u"&&window.document&&window.document.createElement),Sa={canUseDOM:wa},Dl=Sa,Pl;Dl.canUseDOM&&(Pl=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function xa(e,t){if(!Dl.canUseDOM||t&&!("addEventListener"in document))return!1;var l="on"+e,n=l in document;if(!n){var a=document.createElement("div");a.setAttribute(l,"return;"),n=typeof a[l]=="function"}return!n&&Pl&&e==="wheel"&&(n=document.implementation.hasFeature("Events.wheel","3.0")),n}var Ea=xa,fl=10,hl=40,gl=800;function Vl(e){var t=0,l=0,n=0,a=0;return"detail"in e&&(l=e.detail),"wheelDelta"in e&&(l=-e.wheelDelta/120),"wheelDeltaY"in e&&(l=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=l,l=0),n=t*fl,a=l*fl,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||a)&&e.deltaMode&&(e.deltaMode==1?(n*=hl,a*=hl):(n*=gl,a*=gl)),n&&!t&&(t=n<1?-1:1),a&&!l&&(l=a<1?-1:1),{spinX:t,spinY:l,pixelX:n,pixelY:a}}Vl.getEventType=function(){return ba.firefox()?"DOMMouseScroll":Ea("wheel")?"wheel":"mousewheel"};var Ra=Vl;/** +======== +import{cs as Kt,cw as yt,cn as wn,d4 as xl,cy as Sn,ct as xn,cF as En,cJ as Rn,d5 as Nn,ce as Et,cq as On,ci as al,d6 as Ln,cK as Fn,cr as Tn,aS as Mn,bv as Ie,U as be,an as El,by as Rl,M as Ze,ak as je,J as we,b8 as Ce,C as Wn,k as $e,a6 as ie,s as xe,bu as sl,c2 as Nl,a3 as gt,cU as ol,y as O,N as he,f as S,D as ne,j as Y,aV as kn,a as Ee,aW as Ct,P as Ye,aB as Hn,bt as et,B as Le,d as De,bB as An,S as $n,E as Bt,cb as Je,V as zn,W as We,ai as ke,o as te,e as Ke,w as Ae,q as fe,n as G,h as Be,c as ye,ad as rl,x as Dt,aa as Pe,cO as Ol,G as lt,bz as In,ah as Pt,$ as it,a0 as tt,bw as Kn,_ as vt,I as P,H as Vt,z as Bn,a1 as Rt,aT as il,a7 as ul,u as jt,K as wt,al as Qe,g as He,L as cl,F as Dn,T as Ll,br as Pn,aK as Vn,bF as jn,l as _n,ab as Yn}from"./index-CxbBjZKo.js";import{E as Fl,i as St}from"./el-scrollbar-B0E7ZTt3.js";import{E as Tl,u as qn}from"./el-popper-OAwpEmER.js";import{c as Un,k as Ml,a as Xn,d as Gn,e as Qn,i as Jn}from"./_baseClone-B6d4qZbo.js";import{s as Zn,o as ea,i as ta,b as la}from"./index-DxP0p4ch.js";import{b as na}from"./_baseIteratee-C6JbNheX.js";import{c as Wl}from"./castArray-CwVgzdTt.js";import{d as pt}from"./debounce-BJxjS5F3.js";import{a as aa,E as mt}from"./el-checkbox-C_TzqU9u.js";import{_ as sa}from"./index-DHcidAHK.js";import{r as oa}from"./raf-Bjl8yy5U.js";import{e as ra}from"./index-D23K2h6y.js";function ia(e,t){return Zn(ea(e,t,ta),e+"")}function ua(e,t,l){if(!Kt(l))return!1;var n=typeof t;return(n=="number"?yt(l)&&wn(t,l.length):n=="string"&&t in l)?xl(l[t],e):!1}function ca(e){return ia(function(t,l){var n=-1,a=l.length,u=a>1?l[a-1]:void 0,c=a>2?l[2]:void 0;for(u=e.length>3&&typeof u=="function"?(a--,u):void 0,c&&ua(l[0],l[1],c)&&(u=a<3?void 0:u,a=1),t=Object(t);++nze},ie64:function(){return At.ie()&&Il},firefox:function(){return de()||Lt},opera:function(){return de()||Ft},webkit:function(){return de()||ut},safari:function(){return At.webkit()},chrome:function(){return de()||ct},windows:function(){return de()||Tt},osx:function(){return de()||dt},linux:function(){return de()||Mt},iphone:function(){return de()||kt},mobile:function(){return de()||kt||Ht||Wt||Bl},nativeApp:function(){return de()||Kl},android:function(){return de()||Wt},ipad:function(){return de()||Ht}},ba=At,wa=!!(typeof window<"u"&&window.document&&window.document.createElement),Sa={canUseDOM:wa},Dl=Sa,Pl;Dl.canUseDOM&&(Pl=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function xa(e,t){if(!Dl.canUseDOM||t&&!("addEventListener"in document))return!1;var l="on"+e,n=l in document;if(!n){var a=document.createElement("div");a.setAttribute(l,"return;"),n=typeof a[l]=="function"}return!n&&Pl&&e==="wheel"&&(n=document.implementation.hasFeature("Events.wheel","3.0")),n}var Ea=xa,fl=10,hl=40,gl=800;function Vl(e){var t=0,l=0,n=0,a=0;return"detail"in e&&(l=e.detail),"wheelDelta"in e&&(l=-e.wheelDelta/120),"wheelDeltaY"in e&&(l=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=l,l=0),n=t*fl,a=l*fl,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||a)&&e.deltaMode&&(e.deltaMode==1?(n*=hl,a*=hl):(n*=gl,a*=gl)),n&&!t&&(t=n<1?-1:1),a&&!l&&(l=a<1?-1:1),{spinX:t,spinY:l,pixelX:n,pixelY:a}}Vl.getEventType=function(){return ba.firefox()?"DOMMouseScroll":Ea("wheel")?"wheel":"mousewheel"};var Ra=Vl;/** +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-table-b_qkWXYf.js * Checks if an event is supported in the current execution environment. * * NOTE: This will not work correctly for non-generic events such as `change`, diff --git a/frontend/dist/assets/el-table-b_qkWXYf.js b/frontend/dist/assets/el-table-b_qkWXYf.js new file mode 100644 index 0000000..0b0fde9 --- /dev/null +++ b/frontend/dist/assets/el-table-b_qkWXYf.js @@ -0,0 +1,14 @@ +import{cs as Kt,cw as yt,cn as wn,d4 as xl,cy as Sn,ct as xn,cF as En,cJ as Rn,d5 as Nn,ce as Et,cq as On,ci as al,d6 as Ln,cK as Fn,cr as Tn,aS as Mn,bv as Ie,U as be,an as El,by as Rl,M as Ze,ak as je,J as we,b8 as Ce,C as Wn,k as $e,a6 as ie,s as xe,bu as sl,c2 as Nl,a3 as gt,cU as ol,y as O,N as he,f as S,D as ne,j as Y,aV as kn,a as Ee,aW as Ct,P as Ye,aB as Hn,bt as et,B as Le,d as De,bB as An,S as $n,E as Bt,cb as Je,V as zn,W as We,ai as ke,o as te,e as Ke,w as Ae,q as fe,n as G,h as Be,c as ye,ad as rl,x as Dt,aa as Pe,cO as Ol,G as lt,bz as In,ah as Pt,$ as it,a0 as tt,bw as Kn,_ as vt,I as P,H as Vt,z as Bn,a1 as Rt,aT as il,a7 as ul,u as jt,K as wt,al as Qe,g as He,L as cl,F as Dn,T as Ll,br as Pn,aK as Vn,bF as jn,l as _n,ab as Yn}from"./index-CxbBjZKo.js";import{E as Fl,i as St}from"./el-scrollbar-B0E7ZTt3.js";import{E as Tl,u as qn}from"./el-popper-OAwpEmER.js";import{c as Un,k as Ml,a as Xn,d as Gn,e as Qn,i as Jn}from"./_baseClone-B6d4qZbo.js";import{s as Zn,o as ea,i as ta,b as la}from"./index-DxP0p4ch.js";import{b as na}from"./_baseIteratee-C6JbNheX.js";import{c as Wl}from"./castArray-CwVgzdTt.js";import{d as pt}from"./debounce-BJxjS5F3.js";import{a as aa,E as mt}from"./el-checkbox-C_TzqU9u.js";import{_ as sa}from"./index-DHcidAHK.js";import{r as oa}from"./raf-Bjl8yy5U.js";import{e as ra}from"./index-D23K2h6y.js";function ia(e,t){return Zn(ea(e,t,ta),e+"")}function ua(e,t,l){if(!Kt(l))return!1;var n=typeof t;return(n=="number"?yt(l)&&wn(t,l.length):n=="string"&&t in l)?xl(l[t],e):!1}function ca(e){return ia(function(t,l){var n=-1,a=l.length,u=a>1?l[a-1]:void 0,c=a>2?l[2]:void 0;for(u=e.length>3&&typeof u=="function"?(a--,u):void 0,c&&ua(l[0],l[1],c)&&(u=a<3?void 0:u,a=1),t=Object(t);++nze},ie64:function(){return At.ie()&&Il},firefox:function(){return de()||Lt},opera:function(){return de()||Ft},webkit:function(){return de()||ut},safari:function(){return At.webkit()},chrome:function(){return de()||ct},windows:function(){return de()||Tt},osx:function(){return de()||dt},linux:function(){return de()||Mt},iphone:function(){return de()||kt},mobile:function(){return de()||kt||Ht||Wt||Bl},nativeApp:function(){return de()||Kl},android:function(){return de()||Wt},ipad:function(){return de()||Ht}},ba=At,wa=!!(typeof window<"u"&&window.document&&window.document.createElement),Sa={canUseDOM:wa},Dl=Sa,Pl;Dl.canUseDOM&&(Pl=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function xa(e,t){if(!Dl.canUseDOM||t&&!("addEventListener"in document))return!1;var l="on"+e,n=l in document;if(!n){var a=document.createElement("div");a.setAttribute(l,"return;"),n=typeof a[l]=="function"}return!n&&Pl&&e==="wheel"&&(n=document.implementation.hasFeature("Events.wheel","3.0")),n}var Ea=xa,fl=10,hl=40,gl=800;function Vl(e){var t=0,l=0,n=0,a=0;return"detail"in e&&(l=e.detail),"wheelDelta"in e&&(l=-e.wheelDelta/120),"wheelDeltaY"in e&&(l=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=l,l=0),n=t*fl,a=l*fl,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||a)&&e.deltaMode&&(e.deltaMode==1?(n*=hl,a*=hl):(n*=gl,a*=gl)),n&&!t&&(t=n<1?-1:1),a&&!l&&(l=a<1?-1:1),{spinX:t,spinY:l,pixelX:n,pixelY:a}}Vl.getEventType=function(){return ba.firefox()?"DOMMouseScroll":Ea("wheel")?"wheel":"mousewheel"};var Ra=Vl;/** +* Checks if an event is supported in the current execution environment. +* +* NOTE: This will not work correctly for non-generic events such as `change`, +* `reset`, `load`, `error`, and `select`. +* +* Borrows from Modernizr. +* +* @param {string} eventNameSuffix Event name, e.g. "click". +* @param {?boolean} capture Check if the capture phase is supported. +* @return {boolean} True if the event is supported. +* @internal +* @license Modernizr 3.0.0pre (Custom Build) | MIT +*/const $t="_Mousewheel",vl=function(e,t){if(e&&e.addEventListener){jl(e);const l=function(n){const a=Ra(n);t&&Reflect.apply(t,this,[n,a])};e[$t]={wheelHandler:l},e.addEventListener("wheel",l,{passive:!0})}},jl=e=>{var t;(t=e._Mousewheel)!=null&&t.wheelHandler&&(e.removeEventListener("wheel",e[$t].wheelHandler),e[$t]=null)},pl={beforeMount(e,t){vl(e,t.value)},unmounted(e){jl(e)},updated(e,t){t.value!==t.oldValue&&vl(e,t.value)}},Na={data:{type:Array,default:()=>[]},size:Mn,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,rowExpandable:{type:Function},defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children",checkStrictly:!1})},lazy:Boolean,load:Function,style:{type:[String,Object,Array,Boolean],default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:{type:[Boolean,Object],default:void 0},tooltipFormatter:Function,appendFilterPanelTo:String,scrollbarTabindex:{type:[Number,String],default:void 0},allowDragLastColumn:{type:Boolean,default:!0},preserveExpandedContent:Boolean,nativeScrollbar:Boolean};let Oa=1,La=1;const Fa=e=>`${e}-table_${Oa++}`,Ta=e=>`${e}_column_${La++}`,xt=function(e){var t;return(t=e.target)==null?void 0:t.closest("td")},Ma=function(e,t,l,n,a){if(!t&&!n&&(!a||ie(a)&&!a.length))return e;we(l)?l=l==="descending"?-1:1:l=l&&l<0?-1:1;const u=n?null:function(s,o){return a?Al(Wl(a),r=>we(r)?ol(s,r):r(s,o,e)):(t!=="$key"&>(s)&&"$value"in s&&(s=s.$value),[gt(s)?t?ol(s,t):null:s])},c=function(s,o){var r,i,d,p,h;if(n)return n(s.value,o.value);for(let v=0,b=((r=s.key)==null?void 0:r.length)??0;v((h=o.key)==null?void 0:h[v]))return 1}return 0};return e.map((s,o)=>({value:s,index:o,key:u?u(s,o):null})).sort((s,o)=>{let r=c(s,o);return r||(r=s.index-o.index),r*+l}).map(s=>s.value)},_l=function(e,t){let l=null;return e.columns.forEach(n=>{n.id===t&&(l=n)}),l},Wa=function(e,t){let l=null;for(let n=0;n{if(!e)throw new Error("Row is required when get row identity");if(we(t)){if(!t.includes("."))return`${e[t]}`;const l=t.split(".");let n=e;for(const a of l)n=n[a];return`${n}`}else if(Ce(t))return t.call(null,e);return""},_e=function(e,t,l=!1,n="children"){const a=e||[],u={};return a.forEach((c,s)=>{if(u[X(c,t)]={row:c,index:s},l){const o=c[n];ie(o)&&Object.assign(u,_e(o,t,!0,n))}}),u};function ka(e,t){const l={};let n;for(n in e)l[n]=e[n];for(n in t)if(Ie(t,n)){const a=t[n];be(a)||(l[n]=a)}return l}function _t(e){return e===""||be(e)||(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function Yl(e){return e===""||be(e)||(e=_t(e),Number.isNaN(e)&&(e=80)),e}function Ha(e){return je(e)?e:we(e)?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function Aa(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,l)=>(...n)=>t(l(...n)))}function Ve(e,t,l,n,a,u,c){let s=u??0,o=!1;const i=(()=>{if(!c)return e.indexOf(t);const b=X(t,c);return e.findIndex(w=>X(w,c)===b)})(),d=i!==-1,p=a==null?void 0:a.call(null,t,s),h=b=>{b==="add"?e.push(t):e.splice(i,1),o=!0},v=b=>{let w=0;const T=(n==null?void 0:n.children)&&b[n.children];return T&&ie(T)&&(w+=T.length,T.forEach(L=>{w+=v(L)})),w};return(!a||p)&&($e(l)?l&&!d?h("add"):!l&&d&&h("remove"):h(d?"remove":"add")),!(n!=null&&n.checkStrictly)&&(n!=null&&n.children)&&ie(t[n.children])&&t[n.children].forEach(b=>{const w=Ve(e,b,l??!d,n,a,s+1,c);s+=v(b)+1,w&&(o=w)}),o}function $a(e,t,l="children",n="hasChildren",a=!1){const u=s=>!(ie(s)&&s.length);function c(s,o,r){t(s,o,r),o.forEach(i=>{if(i[n]&&a){t(i,null,r+1);return}const d=i[l];u(d)||c(i,d,r+1)})}e.forEach(s=>{if(s[n]&&a){t(s,null,0);return}const o=s[l];u(o)||c(s,o,0)})}const za=(e,t,l,n)=>{const a=Ce(n==null?void 0:n.tooltipFormatter)?n.tooltipFormatter({row:l,column:n,cellValue:Nl(l,n.property).value}):void 0;return El(a)?{slotContent:a,content:null,strategy:"fixed",...e}:{slotContent:null,content:a??t,strategy:"fixed",...e}};let q=null;function Ia(e,t,l,n,a,u){var h;const c=za(e,t,l,n),s={...c,slotContent:void 0};if((q==null?void 0:q.trigger)===a){const v=(h=q.vm)==null?void 0:h.component;$l(v==null?void 0:v.props,s),v&&c.slotContent&&(v.slots.content=()=>[c.slotContent]);return}q==null||q();const o=u==null?void 0:u.refs.tableWrapper,r=o==null?void 0:o.dataset.prefix,i=xe(Tl,{virtualTriggering:!0,virtualRef:a,appendTo:o,placement:"top",transition:"none",offset:0,hideAfter:0,...s},c.slotContent?{content:()=>c.slotContent}:void 0);i.appContext={...u.appContext,...u};const d=document.createElement("div");sl(i,d),i.component.exposed.onOpen();const p=o==null?void 0:o.querySelector(`.${r}-scrollbar__wrap`);q=()=>{var b,w;(w=(b=i.component)==null?void 0:b.exposed)!=null&&w.onClose&&i.component.exposed.onClose(),sl(null,d);const v=q;p==null||p.removeEventListener("scroll",v),v.trigger=void 0,v.vm=void 0,q=null},q.trigger=a??void 0,q.vm=i,p==null||p.addEventListener("scroll",q)}function ql(e){return e.children?Al(e.children,ql):[e]}function yl(e,t){return e+t.colSpan}const Ul=(e,t,l,n)=>{let a=0,u=e;const c=l.states.columns.value;if(n){const o=ql(n[e]);a=c.slice(0,c.indexOf(o[0])).reduce(yl,0),u=a+o.reduce(yl,0)-1}else a=e;let s;switch(t){case"left":u=c.length-l.states.rightFixedLeafColumnsLength.value&&(s="right");break;default:u=c.length-l.states.rightFixedLeafColumnsLength.value&&(s="right")}return s?{direction:s,start:a,after:u}:{}},Yt=(e,t,l,n,a,u=0)=>{const c=[],{direction:s,start:o,after:r}=Ul(t,l,n,a);if(s){const i=s==="left";c.push(`${e}-fixed-column--${s}`),i&&r+u===n.states.fixedLeafColumnsLength.value-1?c.push("is-last-column"):!i&&o-u===n.states.columns.value.length-n.states.rightFixedLeafColumnsLength.value&&c.push("is-first-column")}return c};function Cl(e,t){return e+(bt(t.realWidth)||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const qt=(e,t,l,n)=>{const{direction:a,start:u=0,after:c=0}=Ul(e,t,l,n);if(!a)return;const s={},o=a==="left",r=l.states.columns.value;return o?s.left=r.slice(0,u).reduce(Cl,0):s.right=r.slice(c+1).reverse().reduce(Cl,0),s},qe=(e,t)=>{e&&(Number.isNaN(e[t])||(e[t]=`${e[t]}px`))};function Xl(e){return e.some(t=>El(t)?!(t.type===Rl||t.type===Ze&&!Xl(t.children)):!0)?e:null}function Ka(e){const t=he(),l=O(!1),n=O([]),a=(r,i)=>{const d=t.store.states.rowExpandable.value;return(d==null?void 0:d(r,i))??!0};return{updateExpandRows:()=>{const r=e.data.value||[],i=e.rowKey.value;if(l.value)n.value=t.store.states.rowExpandable.value?r.filter(a):r.slice();else if(i){const d=_e(n.value,i);n.value=r.filter((p,h)=>!!d[X(p,i)]&&a(p,h))}else n.value=[]},toggleRowExpansion:(r,i)=>{const d=(e.data.value||[]).indexOf(r);d>-1&&!a(r,d)||Ve(n.value,r,i,void 0,void 0,void 0,e.rowKey.value)&&t.emit("expand-change",r,n.value.slice())},setExpandRowKeys:r=>{t.store.assertRowKey();const i=e.data.value||[],d=e.rowKey.value,p=_e(i,d);n.value=r.reduce((h,v)=>{const b=p[v];return b&&a(b.row,b.index)&&h.push(b.row),h},[])},isRowExpanded:r=>{const i=e.rowKey.value;return i?!!_e(n.value,i)[X(r,i)]:n.value.includes(r)},states:{expandRows:n,defaultExpandAll:l}}}function Ba(e){const t=he(),l=O(null),n=O(null),a=r=>{t.store.assertRowKey(),l.value=r,c(r)},u=()=>{l.value=null},c=r=>{const{data:i,rowKey:d}=e,p=n.value;let h=null;d.value&&(h=(S(i)||[]).find(v=>X(v,d.value)===r)??null),n.value=h??null,t.emit("current-change",n.value,p)};return{setCurrentRowKey:a,restoreCurrentRowKey:u,setCurrentRowByKey:c,updateCurrentRow:r=>{const i=n.value;if(r&&r!==i){n.value=r,t.emit("current-change",n.value,i);return}!r&&i&&(n.value=null,t.emit("current-change",null,i))},updateCurrentRowData:()=>{const r=e.rowKey.value,i=e.data.value||[],d=n.value;d&&!i.includes(d)?r?c(X(d,r)):(n.value=null,t.emit("current-change",null,d)):l.value&&(c(l.value),u())},states:{_currentRowKey:l,currentRow:n}}}function Da(e){const t=O([]),l=O({}),n=O(16),a=O(!1),u=O({}),c=O("hasChildren"),s=O("children"),o=O(!1),r=he(),i=Y(()=>e.rowKey.value?p(e.data.value||[]):{}),d=Y(()=>{const f=e.rowKey.value,g=Object.keys(u.value),y={};return g.length&&g.forEach(C=>{if(u.value[C].length){const m={children:[]};u.value[C].forEach(x=>{const R=X(x,f);m.children.push(R),x[c.value]&&!y[R]&&(y[R]={children:[]})}),y[C]=m}}),y}),p=f=>{const g=e.rowKey.value,y={};return $a(f,(C,m,x)=>{const R=X(C,g);ie(m)?y[R]={children:m.map(k=>X(k,g)),level:x}:a.value&&(y[R]={children:[],lazy:!0,level:x})},s.value,c.value,a.value),y},h=(f=!1,g)=>{var R,k;g||(g=(R=r.store)==null?void 0:R.states.defaultExpandAll.value);const y=i.value,C=d.value,m=Object.keys(y),x={};if(m.length){const D=S(l),j=[],U=(F,I)=>{if(f)return t.value?g||t.value.includes(I):!!(g||F!=null&&F.expanded);{const $=g||t.value&&t.value.includes(I);return!!(F!=null&&F.expanded||$)}};m.forEach(F=>{const I=D[F],$={...y[F]};if($.expanded=U(I,F),$.lazy){const{loaded:M=!1,loading:V=!1}=I||{};$.loaded=!!M,$.loading=!!V,j.push(F)}x[F]=$});const W=Object.keys(C);a.value&&W.length&&j.length&&W.forEach(F=>{var M;const I=D[F],$=C[F].children;if(j.includes(F)){if(((M=x[F].children)==null?void 0:M.length)!==0)throw new Error("[ElTable]children must be an empty array.");x[F].children=$}else{const{loaded:V=!1,loading:J=!1}=I||{};x[F]={lazy:!0,loaded:!!V,loading:!!J,expanded:U(I,F),children:$,level:void 0}}})}l.value=x,(k=r.store)==null||k.updateTableScrollY()};ne(()=>t.value,()=>{h(!0)},{deep:!0}),ne(()=>i.value,()=>{h()}),ne(()=>d.value,()=>{h()});const v=f=>{t.value=f,h()},b=f=>a.value&&f&&"loaded"in f&&!f.loaded,w=(f,g)=>{r.store.assertRowKey();const y=e.rowKey.value,C=X(f,y),m=C&&l.value[C];if(C&&m&&"expanded"in m){const x=m.expanded;g=be(g)?!m.expanded:g,l.value[C].expanded=g,x!==g&&r.emit("expand-change",f,g),g&&b(m)&&L(f,C,m),r.store.updateTableScrollY()}},T=f=>{r.store.assertRowKey();const g=e.rowKey.value,y=X(f,g),C=l.value[y];b(C)?L(f,y,C):w(f,void 0)},L=(f,g,y)=>{const{load:C}=r.props;C&&!l.value[g].loaded&&(l.value[g].loading=!0,C(f,y,m=>{if(!ie(m))throw new TypeError("[ElTable] data must be an array");l.value[g].loading=!1,l.value[g].loaded=!0,l.value[g].expanded=!0,m.length&&(u.value={...u.value,[g]:m}),r.emit("expand-change",f,!0)}))};return{loadData:L,loadOrToggle:T,toggleTreeExpansion:w,updateTreeExpandKeys:v,updateTreeData:h,updateKeyChildren:(f,g)=>{const{lazy:y,rowKey:C}=r.props;if(y){if(!C)throw new Error("[Table] rowKey is required in updateKeyChild");u.value[f]&&(u.value={...u.value,[f]:g})}},normalize:p,states:{expandRowKeys:t,treeData:l,indent:n,lazy:a,lazyTreeNodeMap:u,lazyColumnIdentifier:c,childrenColumnName:s,checkStrictly:o}}}const Pa=(e,t)=>{const l=t.sortingColumn;return!l||we(l.sortable)?e:Ma(e,t.sortProp,t.sortOrder,l.sortMethod,l.sortBy)},ft=e=>{const t=[];return e.forEach(l=>{l.children&&l.children.length>0?t.push.apply(t,ft(l.children)):t.push(l)}),t};function Va(){var el;const e=he(),{size:t}=kn((el=e.proxy)==null?void 0:el.$props),l=O(null),n=O([]),a=O([]),u=O(!1),c=O([]),s=O([]),o=O([]),r=O([]),i=O([]),d=O([]),p=O([]),h=O([]),v=[],b=O(0),w=O(0),T=O(0),L=O(!1),N=O([]),f=O({}),g=O(!1),y=O(!1),C=O(null),m=O(null),x=O({}),R=O(null),k=O(null),D=O(null),j=O(null),U=O(null);let W=[];const F=Y(()=>l.value?_e(N.value,l.value):void 0),I=E=>{var _;const{childrenColumnName:H,lazyTreeNodeMap:z}=e.store.states,A=E[H.value]??[];if(!l.value)return A;const B=X(E,l.value);return[...((_=z.value)==null?void 0:_[B])??[],...A]};ne(n,()=>{var E;e.state&&(J(!1),e.props.tableLayout==="auto"&&((E=e.refs.tableHeaderRef)==null||E.updateFixedColumnStyle()))},{deep:!0});const $=()=>{if(!l.value)throw new Error("[ElTable] prop row-key is required")},M=E=>{var H;(H=E.children)==null||H.forEach(z=>{z.fixed=E.fixed,M(z)})},V=()=>{c.value.forEach(K=>{M(K)}),r.value=c.value.filter(K=>[!0,"left"].includes(K.fixed));const E=c.value.find(K=>K.type==="selection");let H;E&&E.fixed!=="right"&&!r.value.includes(E)&&c.value.indexOf(E)===0&&r.value.length&&(r.value.unshift(E),H=!0),i.value=c.value.filter(K=>K.fixed==="right");const z=c.value.filter(K=>(H?K.type!=="selection":!0)&&!K.fixed);s.value=Array.from(r.value).concat(z).concat(i.value);const A=ft(z),B=ft(r.value),_=ft(i.value);b.value=A.length,w.value=B.length,T.value=_.length,o.value=Array.from(B).concat(A).concat(_),u.value=r.value.length>0||i.value.length>0},J=(E,H=!1)=>{E&&V(),H?e.state.doLayout():e.state.debouncedUpdateLayout()},Q=E=>F.value?!!F.value[X(E,l.value)]:N.value.includes(E),le=Y(()=>{const E=new Map;if(!l.value||!C.value)return E;let H=0;const z=A=>{ie(A)&&A.forEach(B=>{const _=X(B,l.value);E.set(_,H),H+=1;const K=I(B);K.length&&z(K)})};return z(n.value||[]),E}),Z=(E={})=>{const{emitChange:H=!0}=E;if(ue.checkStrictly.value||!l.value){f.value={},W=[];return}const z=l.value,A=E.rowIndexMap??le.value,B=C.value,_=new WeakMap,K=me=>{const oe=_.get(me);if(oe)return oe;const Oe=X(me,z);return _.set(me,Oe),Oe},ae={},se=[],ee=new Set(N.value.map(me=>K(me))),ce=[];let Ne=!1;const bn=(me,oe,Oe)=>{const Te=ee.has(oe);Oe&&!Te?(ce.push(me),ee.add(oe),Ne=!0):!Oe&&Te&&(ee.delete(oe),Ne=!0)},tl=me=>{let oe=0,Oe=0;return ie(me)?(me.forEach(Te=>{const st=K(Te),ll=I(Te);let ot=0,rt=0;if(ll.length){const Ge=tl(ll);ot=Ge.selectedCount,rt=Ge.selectableCount}const nl=B?B.call(null,Te,A.get(st)??0):!0;if(nl&&rt>0){const Ge=ot===rt;!Ge&&ot!==0&&(ae[st]=!0,se.push(Te)),bn(Te,st,Ge)}nl&&(Oe+=1,ee.has(st)&&(oe+=1)),oe+=ot,Oe+=rt}),{selectedCount:oe,selectableCount:Oe}):{selectedCount:oe,selectableCount:Oe}};if(tl(n.value||[]),Ne){const me=N.value.filter(oe=>ee.has(K(oe)));ce.forEach(oe=>{ee.has(K(oe))&&me.push(oe)}),N.value=me}f.value=ae,W=se,Ne&&H&&e.emit("selection-change",N.value?N.value.slice():[])},re=()=>{L.value=!1;const E=N.value;N.value=[],f.value={},W=[],E.length&&e.emit("selection-change",[])},ge=()=>{var H,z;let E;if(l.value){E=[];const A=(z=(H=e==null?void 0:e.store)==null?void 0:H.states)==null?void 0:z.childrenColumnName.value,B=_e(n.value,l.value,!0,A),{lazyTreeNodeMap:_}=e.store.states;_.value&&Object.entries(_.value).forEach(([K,ae])=>{B[K]&&ae.forEach(se=>{const ee=X(se,l.value);B[ee]||(B[ee]={row:se,index:-1})})});for(const K in F.value)Ie(F.value,K)&&!B[K]&&E.push(F.value[K].row)}else E=N.value.filter(A=>!n.value.includes(A));if(E.length){const A=N.value.filter(B=>!E.includes(B));N.value=A,Z({emitChange:!1}),e.emit("selection-change",[...A])}},ve=()=>(N.value||[]).slice(),Se=()=>W.slice(),Fe=(E,H,z)=>{var ee;if(!l.value||ue.checkStrictly.value||!ue.lazy.value)return;const{lazyTreeNodeMap:A,childrenColumnName:B}=e.store.states,_=X(E,l.value),K=((ee=A.value)==null?void 0:ee[_])??[],ae=E[B.value]??[],se={children:B.value,checkStrictly:!1};for(const ce of K){const Ne=z.get(X(ce,l.value))??0;Ve(N.value,ce,H,se,C.value,Ne,l.value),Fe(ce,H,z)}for(const ce of ae)Fe(ce,H,z)},nt=(E,H,z=!0,A=!1)=>{var _,K,ae,se;const B={children:(K=(_=e==null?void 0:e.store)==null?void 0:_.states)==null?void 0:K.childrenColumnName.value,checkStrictly:(se=(ae=e==null?void 0:e.store)==null?void 0:ae.states)==null?void 0:se.checkStrictly.value};if(Ve(N.value,E,H,B,A?void 0:C.value,n.value.indexOf(E),l.value)){ue.lazy.value&&!ue.checkStrictly.value?(Fe(E,H??Q(E),le.value),Z({emitChange:!1,rowIndexMap:le.value})):Z({emitChange:!1});const ee=(N.value||[]).slice();z&&e.emit("select",ee,E),e.emit("selection-change",ee)}},at=()=>{var ae,se;const E=y.value?!L.value:!(L.value||N.value.length);L.value=E;let H=!1,z=0;const A=(se=(ae=e==null?void 0:e.store)==null?void 0:ae.states)==null?void 0:se.rowKey.value,{childrenColumnName:B}=e.store.states,_={children:B.value,checkStrictly:!1};n.value.forEach((ee,ce)=>{const Ne=ce+z;Ve(N.value,ee,E,_,C.value,Ne,A)&&(H=!0),z+=Me(X(ee,A))});const K=le.value;if(ue.lazy.value&&!ue.checkStrictly.value&&A)for(const ee of Object.values(ue.lazyTreeNodeMap.value))for(const ce of ee){const Ne=K.get(X(ce,A))??0;Ve(N.value,ce,E,_,C.value,Ne,A)&&(H=!0),Fe(ce,E,K)}Z({emitChange:!1,rowIndexMap:K}),H&&e.emit("selection-change",N.value?[...N.value]:[]),e.emit("select-all",(N.value||[]).slice())},Ue=()=>{var B;if(((B=n.value)==null?void 0:B.length)===0){L.value=!1;return}let E=0,H=0;const z=_=>{for(const K of _){const ae=C.value&&C.value.call(null,K,E);if(Q(K))H++;else if(!C.value||ae)return!1;E++;const se=I(K);if(se.length&&!z(se))return!1}return!0},A=z(n.value||[]);L.value=H===0?!1:A},pe=E=>{if(!l.value)return!1;const H=X(E,l.value);return!!f.value[H]},Me=E=>{var B;if(!e||!e.store)return 0;const{treeData:H}=e.store.states;let z=0;const A=(B=H.value[E])==null?void 0:B.children;return A&&(z+=A.length,A.forEach(_=>{z+=Me(_)})),z},Xe=(E,H)=>{const z={};return Wl(E).forEach(A=>{x.value[A.id]=H,z[A.columnKey||A.id]=H}),z},Gt=(E,H,z)=>{k.value&&k.value!==E&&(k.value.order=null),k.value=E,D.value=H,j.value=z},Qt=()=>{let E=S(a);Object.keys(x.value).forEach(H=>{const z=x.value[H];if(!z||z.length===0)return;const A=_l({columns:o.value},H);A&&A.filterMethod&&(E=E.filter(B=>z.some(_=>A.filterMethod.call(null,_,B,A))))}),R.value=E},Jt=()=>{n.value=Pa(R.value??[],{sortingColumn:k.value,sortProp:D.value,sortOrder:j.value})},tn=(E=void 0)=>{E!=null&&E.filter||Qt(),Jt()},ln=E=>{const{tableHeaderRef:H}=e.refs;if(!H)return;const z=Object.assign({},H.filterPanels),A=Object.keys(z);if(A.length)if(we(E)&&(E=[E]),ie(E)){const B=E.map(_=>Wa({columns:o.value},_));A.forEach(_=>{const K=B.find(ae=>ae.id===_);K&&(K.filteredValue=[])}),e.store.commit("filterChange",{column:B,values:[],silent:!0,multi:!0})}else A.forEach(B=>{const _=o.value.find(K=>K.id===B);_&&(_.filteredValue=[])}),x.value={},e.store.commit("filterChange",{column:{},values:[],silent:!0})},nn=()=>{k.value&&(Gt(null,null,null),e.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:an,toggleRowExpansion:Zt,updateExpandRows:sn,states:on,isRowExpanded:rn}=Ka({data:n,rowKey:l}),{updateTreeExpandKeys:un,toggleTreeExpansion:cn,updateTreeData:dn,updateKeyChildren:fn,loadOrToggle:hn,states:ue}=Da({data:n,rowKey:l}),{updateCurrentRowData:gn,updateCurrentRow:vn,setCurrentRowKey:pn,states:mn}=Ba({data:n,rowKey:l}),yn=E=>{an(E),un(E)},Cn=(E,H)=>{o.value.some(({type:z})=>z==="expand")?Zt(E,H):cn(E,H)};return ne(()=>ue.checkStrictly.value,E=>{E?(f.value={},W=[]):Z({emitChange:!1}),Ue()}),ne(()=>ue.lazyTreeNodeMap.value,()=>{var A;if(!ue.lazy.value||ue.checkStrictly.value||!l.value)return;const E=le.value,H=N.value.length;for(const B of Object.keys(ue.lazyTreeNodeMap.value))(A=F.value)!=null&&A[B]&&Fe(F.value[B].row,!0,E);const z=N.value.length!==H;Z({emitChange:!z,rowIndexMap:E}),Ue(),z&&e.emit("selection-change",[...N.value])}),{assertRowKey:$,updateColumns:V,scheduleLayout:J,isSelected:Q,clearSelection:re,cleanSelection:ge,getSelectionRows:ve,getHalfSelectionRows:Se,toggleRowSelection:nt,_toggleAllSelection:at,toggleAllSelection:null,updateAllSelected:Ue,updateSelectionByChildren:Z,getRowIndeterminate:pe,updateFilters:Xe,updateCurrentRow:vn,updateSort:Gt,execFilter:Qt,execSort:Jt,execQuery:tn,clearFilter:ln,clearSort:nn,toggleRowExpansion:Zt,setExpandRowKeysAdapter:yn,setCurrentRowKey:pn,toggleRowExpansionAdapter:Cn,isRowExpanded:rn,updateExpandRows:sn,updateCurrentRowData:gn,loadOrToggle:hn,updateTreeData:dn,updateKeyChildren:fn,states:{tableSize:t,rowKey:l,data:n,_data:a,isComplex:u,_columns:c,originColumns:s,columns:o,fixedColumns:r,rightFixedColumns:i,leafColumns:d,fixedLeafColumns:p,rightFixedLeafColumns:h,updateOrderFns:v,leafColumnsLength:b,fixedLeafColumnsLength:w,rightFixedLeafColumnsLength:T,isAllSelected:L,selection:N,selectionIndeterminate:f,reserveSelection:g,selectOnIndeterminate:y,selectable:C,rowExpandable:m,filters:x,filteredData:R,sortingColumn:k,sortProp:D,sortOrder:j,hoverRow:U,...on,...ue,...mn}}}function zt(e,t){return e.map(l=>{var n;return l.id===t.id?t:((n=l.children)!=null&&n.length&&(l.children=zt(l.children,t)),l)})}function It(e){e.forEach(t=>{var l,n;t.no=(l=t.getColumnIndex)==null?void 0:l.call(t),(n=t.children)!=null&&n.length&&It(t.children)}),e.sort((t,l)=>t.no-l.no)}function ja(){const e=he(),t=Va(),l=Ee("table"),{t:n}=Ct();return{ns:l,t:n,...t,mutations:{setData(s,o){const r=S(s._data)!==o;s.data.value=o,s._data.value=o,e.store.execQuery(),e.store.updateCurrentRowData(),e.store.updateExpandRows(),e.store.updateTreeData(e.store.states.defaultExpandAll.value),S(s.reserveSelection)?e.store.assertRowKey():r?e.store.clearSelection():e.store.cleanSelection(),e.store.updateSelectionByChildren({emitChange:!1}),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(s,o,r,i){var h;const d=S(s._columns);let p=[];r?(r&&!r.children&&(r.children=[]),(h=r.children)==null||h.push(o),p=zt(d,r)):(d.push(o),p=d),It(p),s._columns.value=p,s.updateOrderFns.push(i),o.type==="selection"&&(s.selectable.value=o.selectable,s.reserveSelection.value=o.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},updateColumnOrder(s,o){var r;((r=o.getColumnIndex)==null?void 0:r.call(o))!==o.no&&(It(s._columns.value),e.$ready&&e.store.updateColumns())},removeColumn(s,o,r,i){var h;const d=S(s._columns)||[];if(r)(h=r.children)==null||h.splice(r.children.findIndex(v=>v.id===o.id),1),Ye(()=>{var v;((v=r.children)==null?void 0:v.length)===0&&delete r.children}),s._columns.value=zt(d,r);else{const v=d.indexOf(o);v>-1&&(d.splice(v,1),s._columns.value=d)}const p=s.updateOrderFns.indexOf(i);p>-1&&s.updateOrderFns.splice(p,1),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(s,o){const{prop:r,order:i,init:d}=o;if(r){const p=S(s.columns).find(h=>h.property===r);p&&(p.order=i,e.store.updateSort(p,r,i),e.store.commit("changeSortCondition",{init:d}))}},changeSortCondition(s,o){const{sortingColumn:r,sortProp:i,sortOrder:d}=s,p=S(r),h=S(i),v=S(d);bt(v)&&(s.sortingColumn.value=null,s.sortProp.value=null),e.store.execQuery({filter:!0}),(!o||!(o.silent||o.init))&&e.emit("sort-change",{column:p,prop:h,order:v}),e.store.updateTableScrollY()},filterChange(s,o){const{column:r,values:i,silent:d}=o,p=e.store.updateFilters(r,i);e.store.execQuery(),d||e.emit("filter-change",p),e.store.updateTableScrollY()},toggleAllSelection(){var s,o;(o=(s=e.store).toggleAllSelection)==null||o.call(s)},rowSelectedChanged(s,o){e.store.toggleRowSelection(o),e.store.updateAllSelected()},setHoverRow(s,o){s.hoverRow.value=o},setCurrentRow(s,o){e.store.updateCurrentRow(o)}},commit:function(s,...o){const r=e.store.mutations;if(r[s])r[s].apply(e,[e.store.states,...o]);else throw new Error(`Action not found: ${s}`)},updateTableScrollY:function(){Ye(()=>e.layout.updateScrollY.apply(e.layout))}}}const Ut={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",rowExpandable:"rowExpandable",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"},"treeProps.checkStrictly":{key:"checkStrictly",default:!1}};function _a(e,t){if(!e)throw new Error("Table is required.");const l=ja();return l.toggleAllSelection=pt(l._toggleAllSelection,10),Object.keys(Ut).forEach(n=>{Gl(Ql(t,n),n,l)}),Ya(l,t),l}function Ya(e,t){Object.keys(Ut).forEach(l=>{ne(()=>Ql(t,l),n=>{Gl(n,l,e)})})}function Gl(e,t,l){let n=e,a=Ut[t];gt(a)&&(n=n||a.default,a=a.key),l.states[a].value=n}function Ql(e,t){if(t.includes(".")){const l=t.split(".");let n=e;return l.forEach(a=>{n=n[a]}),n}else return e[t]}var qa=class{constructor(e){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.heightMap={},this.height=O(null),this.scrollX=O(!1),this.scrollY=O(!1),this.bodyWidth=O(null),this.fixedWidth=O(null),this.rightFixedWidth=O(null),this.gutterWidth=0;for(const t in e)Ie(e,t)&&(Hn(this[t])?this[t].value=e[t]:this[t]=e[t]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){const e=this.height.value;if(bt(e))return!1;const t=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(t!=null&&t.wrapRef)){let l=!0;const n=this.scrollY.value;return l=t.wrapRef.scrollHeight>t.wrapRef.clientHeight,this.scrollY.value=l,n!==l}return!1}setHeight(e,t="height"){if(!et)return;const l=this.table.vnode.el;if(e=Ha(e),this.height.value=Number(e),this.heightMap[t]=e,!l&&(e||e===0)){Ye(()=>{this.heightMap[t]===e&&this.setHeight(e,t)});return}l&&je(e)?(l.style[t]=`${e}px`,this.updateElsHeight()):l&&we(e)&&(l.style[t]=e,this.updateElsHeight())}setMaxHeight(e){this.setHeight(e,"max-height")}getFlattenColumns(){const e=[];return this.table.store.states.columns.value.forEach(t=>{t.isColumnGroup?e.push.apply(e,t.columns):e.push(t)}),e}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(e){if(!e)return!0;let t=e;for(;t.tagName!=="DIV";){if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}updateColumnsWidth(){var s;if(!et)return;const e=this.fit,t=(s=this.table.vnode.el)==null?void 0:s.clientWidth;let l=0;const n=this.getFlattenColumns(),a=n.filter(o=>!je(o.width));if(n.forEach(o=>{je(o.width)&&o.realWidth&&(o.realWidth=null)}),a.length>0&&e){if(n.forEach(o=>{l+=Number(o.width||o.minWidth||80)}),l<=t){this.scrollX.value=!1;const o=t-l;if(a.length===1)a[0].realWidth=Number(a[0].minWidth||80)+o;else{const r=o/a.reduce((d,p)=>d+Number(p.minWidth||80),0);let i=0;a.forEach((d,p)=>{if(p===0)return;const h=Math.floor(Number(d.minWidth||80)*r);i+=h,d.realWidth=Number(d.minWidth||80)+h}),a[0].realWidth=Number(a[0].minWidth||80)+o-i}}else this.scrollX.value=!0,a.forEach(o=>{o.realWidth=Number(o.minWidth)});this.bodyWidth.value=Math.max(l,t),this.table.state.resizeState.value.width=this.bodyWidth.value}else n.forEach(o=>{!o.width&&!o.minWidth?o.realWidth=80:o.realWidth=Number(o.width||o.minWidth),l+=o.realWidth}),this.scrollX.value=l>t,this.bodyWidth.value=l;const u=this.store.states.fixedColumns.value;if(u.length>0){let o=0;u.forEach(r=>{o+=Number(r.realWidth||r.width)}),this.fixedWidth.value=o}const c=this.store.states.rightFixedColumns.value;if(c.length>0){let o=0;c.forEach(r=>{o+=Number(r.realWidth||r.width)}),this.rightFixedWidth.value=o}this.notifyObservers("columns")}addObserver(e){this.observers.push(e)}removeObserver(e){const t=this.observers.indexOf(e);t!==-1&&this.observers.splice(t,1)}notifyObservers(e){this.observers.forEach(t=>{var l,n;switch(e){case"columns":(l=t.state)==null||l.onColumnsChange(this);break;case"scrollable":(n=t.state)==null||n.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${e}.`)}})}};const Re=Symbol("ElTable"),Jl=e=>{const t=[];return e.forEach(l=>{l.children?(t.push(l),t.push.apply(t,Jl(l.children))):t.push(l)}),t},Zl=e=>{let t=1;const l=(a,u)=>{if(u&&(a.level=u.level+1,t{l(s,a),c+=s.colSpan}),a.colSpan=c}else a.colSpan=1};e.forEach(a=>{a.level=1,l(a,void 0)});const n=[];for(let a=0;a{a.children?(a.rowSpan=1,a.children.forEach(u=>u.isSubColumn=!0)):a.rowSpan=t-a.level+1,n[a.level-1].push(a)}),n};function Ua(e){const t=Le(Re),l=Y(()=>Zl(e.store.states.originColumns.value));return{isGroup:Y(()=>{const u=l.value.length>1;return u&&t&&(t.state.isGroup.value=!0),u}),toggleAllSelection:u=>{u.stopPropagation(),t==null||t.store.commit("toggleAllSelection")},columnRows:l}}var Xa=De({name:"ElTableFilterPanel",components:{ElCheckbox:mt,ElCheckboxGroup:aa,ElScrollbar:Fl,ElTooltip:Tl,ElIcon:Bt,ArrowDown:$n,ArrowUp:An},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function},appendTo:qn.appendTo},setup(e){const t=he(),{t:l}=Ct(),n=Ee("table-filter"),a=t==null?void 0:t.parent;e.column&&!a.filterPanels.value[e.column.id]&&(a.filterPanels.value[e.column.id]=t);const u=O(null),c=O(null),s=O(0),o=Y(()=>e.column&&e.column.filters),r=Y(()=>e.column&&e.column.filterClassName?`${n.b()} ${e.column.filterClassName}`:n.b()),i=Y({get:()=>{var C;return(((C=e.column)==null?void 0:C.filteredValue)||[])[0]},set:C=>{d.value&&(Je(C)?d.value.splice(0,1):d.value.splice(0,1,C))}}),d=Y({get(){return e.column?e.column.filteredValue||[]:[]},set(C){var m;e.column&&((m=e.upDataColumn)==null||m.call(e,"filteredValue",C))}}),p=Y(()=>e.column?e.column.filterMultiple:!0),h=C=>C.value===i.value,v=()=>{var C;(C=u.value)==null||C.onClose()},b=()=>{L(d.value),v()},w=()=>{d.value=[],L(d.value),v()},T=(C,m)=>{i.value=C,s.value=m,Je(C)?L([]):L(d.value),v()},L=C=>{var m,x;(m=e.store)==null||m.commit("filterChange",{column:e.column,values:C}),(x=e.store)==null||x.updateAllSelected()},N=()=>{var C,m;(C=c.value)==null||C.focus(),!p.value&&g(),e.column&&((m=e.upDataColumn)==null||m.call(e,"filterOpened",!0))},f=()=>{var C;e.column&&((C=e.upDataColumn)==null||C.call(e,"filterOpened",!1))},g=()=>{if(Je(i)){s.value=0;return}const C=(o.value||[]).findIndex(m=>m.value===i.value);s.value=C>=0?C+1:0};return{multiple:p,filterClassName:r,filteredValue:d,filterValue:i,filters:o,handleConfirm:b,handleReset:w,handleSelect:T,isPropAbsent:Je,isActive:h,t:l,ns:n,tooltipRef:u,rootRef:c,checkedIndex:s,handleShowTooltip:N,handleHideTooltip:f,handleKeydown:C=>{var D,j;const m=zn(C),x=(o.value?o.value.length:0)+1;let R=s.value,k=!0;switch(m){case We.down:case We.right:R=(R+1)%x;break;case We.up:case We.left:R=(R-1+x)%x;break;case We.tab:v(),k=!1;break;case We.enter:case We.space:if(R===0)T(null,0);else{const U=(o.value||[])[R-1];U.value&&T(U.value,R)}break;default:k=!1;break}k&&C.preventDefault(),s.value=R,(j=(D=c.value)==null?void 0:D.querySelector(`.${n.e("list-item")}:nth-child(${R+1})`))==null||j.focus()}}}});const Ga=["disabled"],Qa=["tabindex","aria-checked"],Ja=["tabindex","aria-checked","onClick"],Za=["aria-label"];function es(e,t,l,n,a,u){const c=ke("el-checkbox"),s=ke("el-checkbox-group"),o=ke("el-scrollbar"),r=ke("arrow-up"),i=ke("arrow-down"),d=ke("el-icon"),p=ke("el-tooltip");return te(),Ke(p,{ref:"tooltipRef",offset:0,placement:e.placement,"show-arrow":!1,trigger:"click",role:"dialog",teleported:"",effect:"light",pure:"",loop:"","popper-class":e.filterClassName,persistent:"","append-to":e.appendTo,onShow:e.handleShowTooltip,onHide:e.handleHideTooltip},{content:Ae(()=>[e.multiple?(te(),ye("div",{key:0,ref:"rootRef",tabindex:"-1",class:G(e.ns.e("multiple"))},[fe("div",{class:G(e.ns.e("content"))},[xe(o,{"wrap-class":e.ns.e("wrap")},{default:Ae(()=>[xe(s,{modelValue:e.filteredValue,"onUpdate:modelValue":t[0]||(t[0]=h=>e.filteredValue=h),class:G(e.ns.e("checkbox-group"))},{default:Ae(()=>[(te(!0),ye(Ze,null,rl(e.filters,h=>(te(),Ke(c,{key:h.value,value:h.value},{default:Ae(()=>[Dt(Pe(h.text),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),fe("div",{class:G(e.ns.e("bottom"))},[fe("button",{class:G(e.ns.is("disabled",e.filteredValue.length===0)),disabled:e.filteredValue.length===0,type:"button",onClick:t[1]||(t[1]=(...h)=>e.handleConfirm&&e.handleConfirm(...h))},Pe(e.t("el.table.confirmFilter")),11,Ga),fe("button",{type:"button",onClick:t[2]||(t[2]=(...h)=>e.handleReset&&e.handleReset(...h))},Pe(e.t("el.table.resetFilter")),1)],2)],2)):(te(),ye("ul",{key:1,ref:"rootRef",tabindex:"-1",role:"radiogroup",class:G(e.ns.e("list")),onKeydown:t[4]||(t[4]=(...h)=>e.handleKeydown&&e.handleKeydown(...h))},[fe("li",{role:"radio",class:G([e.ns.e("list-item"),e.ns.is("active",e.isPropAbsent(e.filterValue))]),tabindex:e.checkedIndex===0?0:-1,"aria-checked":e.isPropAbsent(e.filterValue),onClick:t[3]||(t[3]=h=>e.handleSelect(null,0))},Pe(e.t("el.table.clearFilter")),11,Qa),(te(!0),ye(Ze,null,rl(e.filters,(h,v)=>(te(),ye("li",{key:h.value,role:"radio",class:G([e.ns.e("list-item"),e.ns.is("active",e.isActive(h))]),tabindex:e.checkedIndex===v+1?0:-1,"aria-checked":e.isActive(h),onClick:b=>e.handleSelect(h.value,v+1)},Pe(h.text),11,Ja))),128))],34))]),default:Ae(()=>{var h;return[fe("button",{type:"button",class:G(`${e.ns.namespace.value}-table__column-filter-trigger`),"aria-label":e.t("el.table.filterLabel",{column:((h=e.column)==null?void 0:h.label)||""})},[xe(d,null,{default:Ae(()=>[Be(e.$slots,"filter-icon",{},()=>{var v;return[(v=e.column)!=null&&v.filterOpened?(te(),Ke(r,{key:0})):(te(),Ke(i,{key:1}))]})]),_:3})],10,Za)]}),_:3},8,["placement","popper-class","append-to","onShow","onHide"])}var ts=sa(Xa,[["render",es]]);function Xt(e){const t=he();Ol(()=>{l.value.addObserver(t)}),lt(()=>{n(l.value),a(l.value)}),In(()=>{n(l.value),a(l.value)}),Pt(()=>{l.value.removeObserver(t)});const l=Y(()=>{const u=e.layout;if(!u)throw new Error("Can not find table layout.");return u}),n=u=>{var r;const c=((r=e.vnode.el)==null?void 0:r.querySelectorAll("colgroup > col"))||[];if(!c.length)return;const s=u.getFlattenColumns(),o={};s.forEach(i=>{o[i.id]=i});for(let i=0,d=c.length;i{var o,r;const c=((o=e.vnode.el)==null?void 0:o.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let i=0,d=c.length;i{b.stopPropagation()},u=(b,w)=>{!w.filters&&w.sortable?v(b,w,!1):w.filterable&&!w.sortable&&a(b),n==null||n.emit("header-click",w,b)},c=(b,w)=>{n==null||n.emit("header-contextmenu",w,b)},s=O(null),o=O(!1),r=O(),i=(b,w)=>{var T,L,N;if(et&&!(w.children&&w.children.length>0)&&s.value&&e.border&&s.value.id===w.id){o.value=!0;const f=n;t("set-drag-visible",!0);const g=(T=f==null?void 0:f.vnode.el)==null?void 0:T.getBoundingClientRect().left,y=(N=(L=l==null?void 0:l.vnode)==null?void 0:L.el)==null?void 0:N.querySelector(`th.${w.id}`),C=y.getBoundingClientRect(),m=C.left-g+30;vt(y,"noclick"),r.value={startMouseLeft:b.clientX,startLeft:C.right-g,startColumnLeft:C.left-g,tableLeft:g};const x=f==null?void 0:f.refs.resizeProxy;x.style.left=`${r.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const R=D=>{const j=D.clientX-r.value.startMouseLeft,U=r.value.startLeft+j;x.style.left=`${Math.max(m,U)}px`},k=()=>{if(o.value){const{startColumnLeft:D,startLeft:j}=r.value;w.width=w.realWidth=Number.parseInt(x.style.left,10)-D,f==null||f.emit("header-dragend",w.width,j-D,w,b),requestAnimationFrame(()=>{e.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",o.value=!1,s.value=null,r.value=void 0,t("set-drag-visible",!1)}document.removeEventListener("mousemove",R),document.removeEventListener("mouseup",k),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{tt(y,"noclick")},0)};document.addEventListener("mousemove",R),document.addEventListener("mouseup",k)}},d=(b,w)=>{var x;if(!e.border||w.children&&w.children.length>0)return;const T=b.target,L=Kn(T)?T.closest("th"):null;if(!L)return;const N=it(L,"is-sortable");if(N){const R=o.value?"col-resize":"";L.style.cursor=R;const k=L.querySelector(".caret-wrapper");k&&(k.style.cursor=R)}if(!w.resizable||o.value){s.value=null;return}const f=L.getBoundingClientRect(),g=((x=L.parentNode)==null?void 0:x.lastElementChild)===L,y=e.allowDragLastColumn||!g,C=f.width>12&&f.right-b.clientX<8&&y,m=C?"col-resize":"";document.body.style.cursor=m,s.value=C?w:null,N&&(L.style.cursor=m)},p=()=>{!et||o.value||(document.body.style.cursor="")},h=({order:b,sortOrders:w})=>{if(b==="")return w[0];const T=w.indexOf(b||null);return w[T>w.length-2?0:T+1]},v=(b,w,T)=>{var x;b.stopPropagation();const L=w.order===T?null:T||h(w),N=(x=b.target)==null?void 0:x.closest("th");if(N&&it(N,"noclick")){tt(N,"noclick");return}if(!w.sortable)return;const f=b.currentTarget;if(["ascending","descending"].some(R=>it(f,R)&&!w.sortOrders.includes(R)))return;const g=e.store.states;let y=g.sortProp.value,C;const m=g.sortingColumn.value;(m!==w||m===w&&bt(m.order))&&(m&&(m.order=null),g.sortingColumn.value=w,y=w.property??null),L?C=w.order=L:C=w.order=null,g.sortProp.value=y,g.sortOrder.value=C,n==null||n.store.commit("changeSortCondition")};return{handleHeaderClick:u,handleHeaderContextMenu:c,handleMouseDown:i,handleMouseMove:d,handleMouseOut:p,handleSortClick:v,handleFilterClick:a}}function ns(e){const t=Le(Re),l=Ee("table");return{getHeaderRowStyle:s=>{const o=t==null?void 0:t.props.headerRowStyle;return Ce(o)?o.call(null,{rowIndex:s}):o},getHeaderRowClass:s=>{const o=[],r=t==null?void 0:t.props.headerRowClassName;return we(r)?o.push(r):Ce(r)&&o.push(r.call(null,{rowIndex:s})),o.join(" ")},getHeaderCellStyle:(s,o,r,i)=>{let d=(t==null?void 0:t.props.headerCellStyle)??{};Ce(d)&&(d=d.call(null,{rowIndex:s,columnIndex:o,row:r,column:i}));const p=qt(o,i.fixed,e.store,r);return qe(p,"left"),qe(p,"right"),Object.assign({},d,p)},getHeaderCellClass:(s,o,r,i)=>{const d=Yt(l.b(),o,i.fixed,e.store,r),p=[i.id,i.order,i.headerAlign,i.className,i.labelClassName,...d];i.children||p.push("is-leaf"),i.sortable&&p.push("is-sortable");const h=t==null?void 0:t.props.headerCellClassName;return we(h)?p.push(h):Ce(h)&&p.push(h.call(null,{rowIndex:s,columnIndex:o,row:r,column:i})),p.push(l.e("cell")),p.filter(v=>!!v).join(" ")}}}var bl=De({name:"ElTableHeader",components:{ElCheckbox:mt},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})},appendFilterPanelTo:{type:String},allowDragLastColumn:{type:Boolean}},setup(e,{emit:t}){const l=he(),n=Le(Re),a=Ee("table"),u=O({}),{onColumnsChange:c,onScrollableChange:s}=Xt(n),o=(n==null?void 0:n.props.tableLayout)==="auto",r=Bn(new Map),i=O();let d;const p=()=>{d=setTimeout(()=>{r.size>0&&(r.forEach((D,j)=>{const U=i.value.querySelector(`.${j.replace(/\s/g,".")}`);U&&(D.width=U.getBoundingClientRect().width||D.width)}),r.clear())})};ne(r,p),Vt(()=>{d&&(clearTimeout(d),d=void 0)}),lt(async()=>{await Ye(),await Ye();const{prop:D,order:j}=e.defaultSort;n==null||n.store.commit("sort",{prop:D,order:j,init:!0}),p()});const{handleHeaderClick:h,handleHeaderContextMenu:v,handleMouseDown:b,handleMouseMove:w,handleMouseOut:T,handleSortClick:L,handleFilterClick:N}=ls(e,t),{getHeaderRowStyle:f,getHeaderRowClass:g,getHeaderCellStyle:y,getHeaderCellClass:C}=ns(e),{isGroup:m,toggleAllSelection:x,columnRows:R}=Ua(e),{t:k}=Ct();return l.state={onColumnsChange:c,onScrollableChange:s},l.filterPanels=u,{ns:a,t:k,filterPanels:u,onColumnsChange:c,onScrollableChange:s,columnRows:R,getHeaderRowClass:g,getHeaderRowStyle:f,getHeaderCellClass:C,getHeaderCellStyle:y,handleHeaderClick:h,handleHeaderContextMenu:v,handleMouseDown:b,handleMouseMove:w,handleMouseOut:T,handleSortClick:L,handleFilterClick:N,isGroup:m,toggleAllSelection:x,saveIndexSelection:r,isTableLayoutAuto:o,theadRef:i,updateFixedColumnStyle:p}},render(){const{ns:e,t,isGroup:l,columnRows:n,getHeaderCellStyle:a,getHeaderCellClass:u,getHeaderRowClass:c,getHeaderRowStyle:s,handleHeaderClick:o,handleHeaderContextMenu:r,handleMouseDown:i,handleMouseMove:d,handleSortClick:p,handleMouseOut:h,store:v,$parent:b,saveIndexSelection:w,isTableLayoutAuto:T}=this;let L=1;return P("thead",{ref:"theadRef",class:e.is("group",l)},n.map((N,f)=>P("tr",{class:c(f),key:f,style:s(f)},N.map((g,y)=>{g.rowSpan>L&&(L=g.rowSpan);const C=u(f,y,N,g);return T&&g.fixed&&w.set(C,g),P("th",{class:C,colspan:g.colSpan,key:`${g.id}-thead`,rowspan:g.rowSpan,scope:g.colSpan>1?"colgroup":"col",ariaSort:g.sortable?g.order:void 0,style:a(f,y,N,g),onClick:m=>{var x;(x=m.currentTarget)!=null&&x.classList.contains("noclick")||o(m,g)},onContextmenu:m=>r(m,g),onMousedown:m=>i(m,g),onMousemove:m=>d(m,g),onMouseout:h},[P("div",{class:["cell",g.filteredValue&&g.filteredValue.length>0?"highlight":""]},[g.renderHeader?g.renderHeader({column:g,$index:y,store:v,_self:b}):g.label,g.sortable&&P("button",{type:"button",class:"caret-wrapper","aria-label":t("el.table.sortLabel",{column:g.label||""}),onClick:m=>p(m,g)},[P("i",{onClick:m=>p(m,g,"ascending"),class:"sort-caret ascending"}),P("i",{onClick:m=>p(m,g,"descending"),class:"sort-caret descending"})]),g.filterable&&P(ts,{store:v,placement:g.filterPlacement||"bottom-start",appendTo:b==null?void 0:b.appendFilterPanelTo,column:g,upDataColumn:(m,x)=>{g[m]=x}},{"filter-icon":()=>g.renderFilterIcon?g.renderFilterIcon({filterOpened:g.filterOpened}):null})])])}))))}});function as(e){const t=Le(Re),l=O(""),n=O(P("div")),a=(v,b,w)=>{var g,y;const T=t,L=xt(v);let N=null;const f=(g=T==null?void 0:T.vnode.el)==null?void 0:g.dataset.prefix;L&&(N=ml({columns:((y=e.store)==null?void 0:y.states.columns.value)??[]},L,f),N&&(T==null||T.emit(`cell-${w}`,b,N,L,v))),T==null||T.emit(`row-${w}`,b,N,v)},u=(v,b)=>{a(v,b,"dblclick")},c=(v,b)=>{var w;(w=e.store)==null||w.commit("setCurrentRow",b),a(v,b,"click")},s=(v,b)=>{a(v,b,"contextmenu")},o=pt(v=>{var b;(b=e.store)==null||b.commit("setHoverRow",v)},30),r=pt(()=>{var v;(v=e.store)==null||v.commit("setHoverRow",null)},30),i=v=>{const b=window.getComputedStyle(v,null);return{left:Number.parseInt(b.paddingLeft,10)||0,right:Number.parseInt(b.paddingRight,10)||0,top:Number.parseInt(b.paddingTop,10)||0,bottom:Number.parseInt(b.paddingBottom,10)||0}},d=(v,b,w)=>{var L;let T=(L=b==null?void 0:b.target)==null?void 0:L.parentNode;for(;v>1&&(T=T==null?void 0:T.nextSibling,!(!T||T.nodeName!=="TR"));)w(T,"hover-row hover-fixed-row"),v--};return{handleDoubleClick:u,handleClick:c,handleContextMenu:s,handleMouseEnter:o,handleMouseLeave:r,handleCellMouseEnter:(v,b,w)=>{var I,$,M;if(!t)return;const T=t,L=xt(v),N=(I=T==null?void 0:T.vnode.el)==null?void 0:I.dataset.prefix;let f=null;if(L){if(f=ml({columns:(($=e.store)==null?void 0:$.states.columns.value)??[]},L,N),!f)return;L.rowSpan>1&&d(L.rowSpan,v,vt);const V=T.hoverState={cell:L,column:f,row:b};T==null||T.emit("cell-mouse-enter",V.row,V.column,V.cell,v)}if(!w){(q==null?void 0:q.trigger)===L&&(q==null||q());return}const g=v.target.querySelector(".cell");if(!(it(g,`${N}-tooltip`)&&g.childNodes.length&&((M=g.textContent)!=null&&M.trim())))return;const y=document.createRange();y.setStart(g,0),y.setEnd(g,g.childNodes.length);const{width:C,height:m}=y.getBoundingClientRect(),{width:x,height:R}=g.getBoundingClientRect(),{top:k,left:D,right:j,bottom:U}=i(g),W=D+j,F=k+U;St(C+W,x)||St(m+F,R)||St(g.scrollWidth,x)?Ia(w,((L==null?void 0:L.innerText)||(L==null?void 0:L.textContent))??"",b,f,L,T):(q==null?void 0:q.trigger)===L&&(q==null||q())},handleCellMouseLeave:v=>{const b=xt(v);if(!b)return;b.rowSpan>1&&d(b.rowSpan,v,tt);const w=t==null?void 0:t.hoverState;t==null||t.emit("cell-mouse-leave",w==null?void 0:w.row,w==null?void 0:w.column,w==null?void 0:w.cell,v)},tooltipContent:l,tooltipTrigger:n}}function ss(e){const t=Le(Re),l=Ee("table");return{getRowStyle:(r,i)=>{const d=t==null?void 0:t.props.rowStyle;return Ce(d)?d.call(null,{row:r,rowIndex:i}):d||null},getRowClass:(r,i,d)=>{var v;const p=[l.e("row")];t!=null&&t.props.highlightCurrentRow&&r===((v=e.store)==null?void 0:v.states.currentRow.value)&&p.push("current-row"),e.stripe&&d%2===1&&p.push(l.em("row","striped"));const h=t==null?void 0:t.props.rowClassName;return we(h)?p.push(h):Ce(h)&&p.push(h.call(null,{row:r,rowIndex:i})),p},getCellStyle:(r,i,d,p)=>{const h=t==null?void 0:t.props.cellStyle;let v=h??{};Ce(h)&&(v=h.call(null,{rowIndex:r,columnIndex:i,row:d,column:p}));const b=qt(i,e==null?void 0:e.fixed,e.store);return qe(b,"left"),qe(b,"right"),Object.assign({},v,b)},getCellClass:(r,i,d,p,h)=>{const v=Yt(l.b(),i,e==null?void 0:e.fixed,e.store,void 0,h),b=[p.id,p.align,p.className,...v],w=t==null?void 0:t.props.cellClassName;return we(w)?b.push(w):Ce(w)&&b.push(w.call(null,{rowIndex:r,columnIndex:i,row:d,column:p})),b.push(l.e("cell")),b.filter(T=>!!T).join(" ")},getSpan:(r,i,d,p)=>{let h=1,v=1;const b=t==null?void 0:t.props.spanMethod;if(Ce(b)){const w=b({row:r,column:i,rowIndex:d,columnIndex:p});ie(w)?(h=w[0],v=w[1]):gt(w)&&(h=w.rowspan,v=w.colspan)}return{rowspan:h,colspan:v}},getColspanRealWidth:(r,i,d)=>{if(i<1)return r[d].realWidth;const p=r.map(({realWidth:h,width:v})=>h||v).slice(d,d+i);return Number(p.reduce((h,v)=>Number(h)+Number(v),-1))}}}const os=["colspan","rowspan"];var rs=De({name:"TableTdWrapper",__name:"td-wrapper",props:{colspan:{type:Number,default:1},rowspan:{type:Number,default:1}},setup(e){return(t,l)=>(te(),ye("td",{colspan:e.colspan,rowspan:e.rowspan},[Be(t.$slots,"default")],8,os))}}),is=rs;function us(e){const t=Le(Re),l=Ee("table"),{handleDoubleClick:n,handleClick:a,handleContextMenu:u,handleMouseEnter:c,handleMouseLeave:s,handleCellMouseEnter:o,handleCellMouseLeave:r,tooltipContent:i,tooltipTrigger:d}=as(e),{getRowStyle:p,getRowClass:h,getCellStyle:v,getCellClass:b,getSpan:w,getColspanRealWidth:T}=ss(e);let L=-1;const N=Y(()=>{var m;return(m=e.store)==null?void 0:m.states.columns.value.findIndex(({type:x})=>x==="default")}),f=(m,x)=>{var k;const R=(k=t==null?void 0:t.props)==null?void 0:k.rowKey;return R?X(m,R):x},g=(m,x,R,k=!1)=>{const{tooltipEffect:D,tooltipOptions:j,store:U}=e,{indent:W,columns:F}=U.states,I=[];let $=!0;return R&&(I.push(l.em("row",`level-${R.level}`)),$=!!R.display),x===0&&(L=-1),e.stripe&&$&&L++,I.push(...h(m,x,L)),P("tr",{style:[$?null:{display:"none"},p(m,x)],class:I,key:f(m,x),onDblclick:M=>n(M,m),onClick:M=>a(M,m),onContextmenu:M=>u(M,m),onMouseenter:()=>c(x),onMouseleave:s},F.value.map((M,V)=>{const{rowspan:J,colspan:Q}=w(m,M,x,V);if(!J||!Q)return null;const le=Object.assign({},M);le.realWidth=T(F.value,Q,V);const Z={store:U,_self:e.context||t,column:le,row:m,$index:x,cellIndex:V,expanded:k};V===N.value&&R&&(Z.treeNode={indent:R.level&&R.level*W.value,level:R.level},$e(R.expanded)&&(Z.treeNode.expanded=R.expanded,"loading"in R&&(Z.treeNode.loading=R.loading),"noLazyChildren"in R&&(Z.treeNode.noLazyChildren=R.noLazyChildren)));const re=`${f(m,x)},${V}`,ge=le.columnKey||le.rawColumnKey||"",ve=M.showOverflowTooltip&&$l({effect:D},j,M.showOverflowTooltip);return P(is,{style:v(x,V,m,M),class:b(x,V,m,M,Q-1),key:`${ge}${re}`,rowspan:J,colspan:Q,onMouseenter:Se=>o(Se,m,ve),onMouseleave:r},{default:()=>y(V,M,Z)})}))},y=(m,x,R)=>x.renderCell(R);return{wrappedRowRender:(m,x)=>{const R=e.store,{isRowExpanded:k,assertRowKey:D}=R,{treeData:j,lazyTreeNodeMap:U,childrenColumnName:W,rowKey:F}=R.states,I=R.states.columns.value;if(I.some(({type:$})=>$==="expand")){const $=k(m),M=g(m,x,void 0,$),V=t==null?void 0:t.renderExpanded;if(!V)return console.error("[Element Error]renderExpanded is required."),M;const J=[[M]];return(t.props.preserveExpandedContent||$)&&J[0].push(P("tr",{key:`expanded-row__${M.key}`,style:{display:$?"":"none"}},[P("td",{colspan:I.length,class:`${l.e("cell")} ${l.e("expanded-cell")}`},[V({row:m,$index:x,store:R,expanded:$})])])),J}else if(Object.keys(j.value).length){D();const $=X(m,F.value);let M=j.value[$],V=null;M&&(V={expanded:M.expanded,level:M.level,display:!0,noLazyChildren:void 0,loading:void 0},$e(M.lazy)&&(V&&$e(M.loaded)&&M.loaded&&(V.noLazyChildren=!(M.children&&M.children.length)),V.loading=M.loading));const J=[g(m,x,V??void 0)];if(M){let Q=0;const le=(Z,re)=>{Z&&Z.length&&re&&Z.forEach(ge=>{const ve={display:re.display&&re.expanded,level:re.level+1,expanded:!1,noLazyChildren:!1,loading:!1},Se=X(ge,F.value);if(Je(Se))throw new Error("For nested data item, row-key is required.");M={...j.value[Se]},M&&(ve.expanded=M.expanded,M.level=M.level||ve.level,M.display=!!(M.expanded&&ve.display),$e(M.lazy)&&($e(M.loaded)&&M.loaded&&(ve.noLazyChildren=!(M.children&&M.children.length)),ve.loading=M.loading)),Q++,J.push(g(ge,x+Q,ve)),M&&le(U.value[Se]||ge[W.value],M)})};M.display=!0,le(U.value[$]||m[W.value],M)}return J}else return g(m,x,void 0)},tooltipContent:i,tooltipTrigger:d}}const cs={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var ds=De({name:"ElTableBody",props:cs,setup(e){var i;const t=he(),l=Le(Re),n=Ee("table"),{wrappedRowRender:a,tooltipContent:u,tooltipTrigger:c}=us(e),{onColumnsChange:s,onScrollableChange:o}=Xt(l),r=[];return ne((i=e.store)==null?void 0:i.states.hoverRow,(d,p)=>{var T,L;const h=t==null?void 0:t.vnode.el,v=Array.from((h==null?void 0:h.children)||[]).filter(N=>N==null?void 0:N.classList.contains(`${n.e("row")}`));let b=d;const w=(T=v[b])==null?void 0:T.childNodes;if(w!=null&&w.length){let N=0;Array.from(w).reduce((f,g,y)=>{var C,m;return((C=w[y])==null?void 0:C.colSpan)>1&&(N=(m=w[y])==null?void 0:m.colSpan),g.nodeName!=="TD"&&N===0&&f.push(y),N>0&&N--,f},[]).forEach(f=>{var g;for(b=d;b>0;){const y=(g=v[b-1])==null?void 0:g.childNodes;if(y[f]&&y[f].nodeName==="TD"&&y[f].rowSpan>1){vt(y[f],"hover-cell"),r.push(y[f]);break}b--}})}else r.forEach(N=>tt(N,"hover-cell")),r.length=0;!((L=e.store)!=null&&L.states.isComplex.value)||!et||oa(()=>{const N=v[p],f=v[d];N&&!N.classList.contains("hover-fixed-row")&&tt(N,"hover-row"),f&&vt(f,"hover-row")})}),Pt(()=>{q==null||q()}),{ns:n,onColumnsChange:s,onScrollableChange:o,wrappedRowRender:a,tooltipContent:u,tooltipTrigger:c}},render(){const{wrappedRowRender:e,store:t}=this;return P("tbody",{tabIndex:-1},[((t==null?void 0:t.states.data.value)||[]).reduce((l,n)=>l.concat(e(n,l.length)),[])])}});function fs(){var t;const e=(t=Le(Re))==null?void 0:t.store;return{leftFixedLeafCount:Y(()=>(e==null?void 0:e.states.fixedLeafColumnsLength.value)??0),rightFixedLeafCount:Y(()=>(e==null?void 0:e.states.rightFixedColumns.value.length)??0),columnsCount:Y(()=>(e==null?void 0:e.states.columns.value.length)??0),leftFixedCount:Y(()=>(e==null?void 0:e.states.fixedColumns.value.length)??0),rightFixedCount:Y(()=>(e==null?void 0:e.states.rightFixedColumns.value.length)??0),columns:Y(()=>(e==null?void 0:e.states.columns.value)??[])}}function hs(e){const{columns:t}=fs(),l=Ee("table");return{getCellClasses:(u,c)=>{const s=u[c],o=[l.e("cell"),s.id,s.align,s.labelClassName,...Yt(l.b(),c,s.fixed,e.store)];return s.className&&o.push(s.className),s.children||o.push(l.is("leaf")),o},getCellStyles:(u,c)=>{const s=qt(c,u.fixed,e.store);return qe(s,"left"),qe(s,"right"),s},columns:t}}var wl=De({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e){const t=Le(Re),l=Ee("table"),{getCellClasses:n,getCellStyles:a,columns:u}=hs(e),{onScrollableChange:c,onColumnsChange:s}=Xt(t);return{ns:l,onScrollableChange:c,onColumnsChange:s,getCellClasses:n,getCellStyles:a,columns:u}},render(){const{columns:e,getCellStyles:t,getCellClasses:l,summaryMethod:n,sumText:a}=this,u=this.store.states.data.value;let c=[];return n?c=n({columns:e,data:u}):e.forEach((s,o)=>{if(o===0){c[o]=a;return}const r=u.map(h=>Number(h[s.property])),i=[];let d=!0;r.forEach(h=>{if(!Number.isNaN(+h)){d=!1;const v=`${h}`.split(".")[1];i.push(v?v.length:0)}});const p=Math.max.apply(null,i);d?c[o]="":c[o]=r.reduce((h,v)=>{const b=Number(v);return Number.isNaN(+b)?h:Number.parseFloat((h+v).toFixed(Math.min(p,20)))},0)}),P(P("tfoot",[P("tr",{},[...e.map((s,o)=>P("td",{key:o,colspan:s.colSpan,rowspan:s.rowSpan,class:l(e,o),style:t(s,o)},[P("div",{class:["cell",s.labelClassName]},[c[o]])]))])]))}});function gs(e){return{setCurrentRow:p=>{e.commit("setCurrentRow",p)},getSelectionRows:()=>e.getSelectionRows(),getHalfSelectionRows:()=>e.getHalfSelectionRows(),toggleRowSelection:(p,h,v=!0)=>{e.toggleRowSelection(p,h,!1,v),e.updateAllSelected()},clearSelection:()=>{e.clearSelection()},clearFilter:p=>{e.clearFilter(p)},toggleAllSelection:()=>{e.commit("toggleAllSelection")},toggleRowExpansion:(p,h)=>{e.toggleRowExpansionAdapter(p,h)},clearSort:()=>{e.clearSort()},sort:(p,h)=>{e.commit("sort",{prop:p,order:h})},updateKeyChildren:(p,h)=>{e.updateKeyChildren(p,h)}}}function vs(e,t,l,n){const a=O(!1),u=O(null),c=O(!1),s=W=>{c.value=W},o=O({width:null,height:null,headerHeight:null}),r=O(!1),i={display:"inline-block",verticalAlign:"middle"},d=O(),p=O(0),h=O(0),v=O(0),b=O(0),w=O(0);ne(()=>e.height,W=>{t.setHeight(W??null)},{immediate:!0}),ne(()=>e.maxHeight,W=>{t.setMaxHeight(W??null)},{immediate:!0}),ne(()=>[e.currentRowKey,l.states.rowKey],([W,F])=>{!S(F)||!S(W)||l.setCurrentRowKey(`${W}`)},{immediate:!0}),ne(()=>e.data,W=>{n.store.commit("setData",W)},{immediate:!0,deep:!0}),Rt(()=>{e.expandRowKeys&&l.setExpandRowKeysAdapter(e.expandRowKeys)});const T=()=>{n.store.commit("setHoverRow",null),n.hoverState&&(n.hoverState=null)},L=(W,F)=>{const{pixelX:I,pixelY:$}=F;Math.abs(I)>=Math.abs($)&&(n.refs.bodyWrapper.scrollLeft+=F.pixelX/5)},N=Y(()=>e.height||e.maxHeight||l.states.fixedColumns.value.length>0||l.states.rightFixedColumns.value.length>0),f=Y(()=>({width:t.bodyWidth.value?`${t.bodyWidth.value}px`:""})),g=()=>{N.value&&t.updateElsHeight(),t.updateColumnsWidth(),!(typeof window>"u")&&requestAnimationFrame(x)};lt(async()=>{await Ye(),l.updateColumns(),R(),requestAnimationFrame(g);const W=n.vnode.el,F=n.refs.headerWrapper;e.flexible&&W&&W.parentElement&&(W.parentElement.style.minWidth="0"),o.value={width:d.value=W.offsetWidth,height:W.offsetHeight,headerHeight:e.showHeader&&F?F.offsetHeight:null},l.states.columns.value.forEach(I=>{I.filteredValue&&I.filteredValue.length&&n.store.commit("filterChange",{column:I,values:I.filteredValue,silent:!0})}),n.$ready=!0});const y=(W,F)=>{if(!W)return;const I=Array.from(W.classList).filter($=>!$.startsWith("is-scrolling-"));I.push(t.scrollX.value?F:"is-scrolling-none"),W.className=I.join(" ")},C=W=>{const{tableWrapper:F}=n.refs;y(F,W)},m=W=>{const{tableWrapper:F}=n.refs;return!!(F&&F.classList.contains(W))},x=function(){if(!n.refs.scrollBarRef)return;if(!t.scrollX.value){const J="is-scrolling-none";m(J)||C(J);return}const W=n.refs.scrollBarRef.wrapRef;if(!W)return;const{scrollLeft:F,offsetWidth:I,scrollWidth:$}=W,{headerWrapper:M,footerWrapper:V}=n.refs;M&&(M.scrollLeft=F),V&&(V.scrollLeft=F),F>=$-I-1?C("is-scrolling-right"):C(F===0?"is-scrolling-left":"is-scrolling-middle")},R=()=>{n.refs.scrollBarRef&&(n.refs.scrollBarRef.wrapRef&&il(n.refs.scrollBarRef.wrapRef,"scroll",x,{passive:!0}),e.fit?ul(n.vnode.el,k):il(window,"resize",k),ul(n.refs.tableInnerWrapper,()=>{var W,F;k(),(F=(W=n.refs)==null?void 0:W.scrollBarRef)==null||F.update()}))},k=()=>{var le,Z,re,ge;const W=n.vnode.el;if(!n.$ready||!W)return;let F=!1;const{width:I,height:$,headerHeight:M}=o.value,V=d.value=W.offsetWidth;I!==V&&(F=!0);const J=W.offsetHeight;(e.height||N.value)&&$!==J&&(F=!0);const Q=e.tableLayout==="fixed"?n.refs.headerWrapper:(le=n.refs.tableHeaderRef)==null?void 0:le.$el;e.showHeader&&(Q==null?void 0:Q.offsetHeight)!==M&&(F=!0),p.value=((Z=n.refs.tableWrapper)==null?void 0:Z.scrollHeight)||0,v.value=(Q==null?void 0:Q.scrollHeight)||0,b.value=((re=n.refs.footerWrapper)==null?void 0:re.offsetHeight)||0,w.value=((ge=n.refs.appendWrapper)==null?void 0:ge.offsetHeight)||0,h.value=p.value-v.value-b.value-w.value,F&&(o.value={width:V,height:J,headerHeight:e.showHeader&&(Q==null?void 0:Q.offsetHeight)||0},g())},D=ra(),j=Y(()=>{const{bodyWidth:W,scrollY:F,gutterWidth:I}=t;return W.value?`${W.value-(F.value?I:0)}px`:""}),U=Y(()=>e.maxHeight?"fixed":e.tableLayout);return{isHidden:a,renderExpanded:u,setDragVisible:s,isGroup:r,handleMouseLeave:T,handleHeaderFooterMousewheel:L,tableSize:D,emptyBlockStyle:Y(()=>{if(e.data&&e.data.length)return;let W="100%";e.height&&h.value&&(W=`${h.value}px`);const F=d.value;return{width:F?`${F}px`:"",height:W}}),resizeProxyVisible:c,bodyWidth:j,resizeState:o,doLayout:g,tableBodyStyles:f,tableLayout:U,scrollbarViewStyle:i,scrollbarStyle:Y(()=>e.height?{height:"100%"}:e.maxHeight?Number.isNaN(Number(e.maxHeight))?{maxHeight:`calc(${e.maxHeight} - ${v.value+b.value}px)`}:{maxHeight:`${+e.maxHeight-v.value-b.value}px`}:{})}}function ps(e){let t;const l=()=>{const n=e.vnode.el.querySelector(".hidden-columns"),a={childList:!0,subtree:!0},u=e.store.states.updateOrderFns;t=new MutationObserver(()=>{u.forEach(c=>c())}),t.observe(n,a)};lt(()=>{l()}),Pt(()=>{t==null||t.disconnect()})}function ht(e){const t=e.tableLayout==="auto";let l=e.columns||[];t&&l.every(({width:a})=>be(a))&&(l=[]);const n=a=>{const u={key:`${e.tableLayout}_${a.id}`,style:{},name:void 0};return t?u.style={width:`${a.width}px`}:u.name=a.id,u};return P("colgroup",{},l.map(a=>P("col",n(a))))}ht.props=["columns","tableLayout"];const ms=()=>{const e=O(),t=(u,c)=>{const s=e.value;s&&s.scrollTo(u,c)},l=(u,c)=>{const s=e.value;s&&je(c)&&["Top","Left"].includes(u)&&s[`setScroll${u}`](c)};return{scrollBarRef:e,scrollTo:t,setScrollTop:u=>l("Top",u),setScrollLeft:u=>l("Left",u)}},ys=["data-prefix"],Cs={ref:"hiddenColumns",class:"hidden-columns"};var bs=De({name:"ElTable",__name:"table",props:Na,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-dblclick","cell-contextmenu","cell-click","row-dblclick","row-click","row-contextmenu","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change","scroll"],setup(e,{expose:t}){const l=e,{t:n}=Ct(),a=Ee("table"),u=jt("table"),c=he();Dn(Re,c);const s=_a(c,l);c.store=s;const o=new qa({store:c.store,table:c,fit:l.fit,showHeader:l.showHeader});c.layout=o;const r=Y(()=>(s.states.data.value||[]).length===0),{setCurrentRow:i,getSelectionRows:d,getHalfSelectionRows:p,toggleRowSelection:h,clearSelection:v,clearFilter:b,toggleAllSelection:w,toggleRowExpansion:T,clearSort:L,sort:N,updateKeyChildren:f}=gs(s),{isHidden:g,renderExpanded:y,setDragVisible:C,isGroup:m,handleMouseLeave:x,handleHeaderFooterMousewheel:R,tableSize:k,emptyBlockStyle:D,resizeProxyVisible:j,bodyWidth:U,resizeState:W,doLayout:F,tableBodyStyles:I,tableLayout:$,scrollbarViewStyle:M,scrollbarStyle:V}=vs(l,o,s,c),{scrollBarRef:J,scrollTo:Q,setScrollLeft:le,setScrollTop:Z}=ms(),re=pt(F,50),ge=Fa(a.namespace.value),ve=c;c.tableId=ge,c.state={isGroup:m,resizeState:W,doLayout:F,debouncedUpdateLayout:re};const Se=Y(()=>l.sumText??n("el.table.sumText")),Fe=Y(()=>l.emptyText??n("el.table.emptyText")),nt=Y(()=>{var pe;return l.tooltipEffect??((pe=u.value)==null?void 0:pe.tooltipEffect)}),at=Y(()=>{var pe;return l.tooltipOptions??((pe=u.value)==null?void 0:pe.tooltipOptions)}),Ue=Y(()=>Zl(s.states.originColumns.value)[0]);return ps(c),Vt(()=>{re.cancel()}),t({ns:a,layout:o,store:s,columns:Ue,handleHeaderFooterMousewheel:R,handleMouseLeave:x,tableId:ge,tableSize:k,isHidden:g,isEmpty:r,renderExpanded:y,resizeProxyVisible:j,resizeState:W,isGroup:m,bodyWidth:U,tableBodyStyles:I,emptyBlockStyle:D,debouncedUpdateLayout:re,setCurrentRow:i,getSelectionRows:d,getHalfSelectionRows:p,toggleRowSelection:h,clearSelection:v,clearFilter:b,toggleAllSelection:w,toggleRowExpansion:T,clearSort:L,doLayout:F,sort:N,updateKeyChildren:f,t:n,setDragVisible:C,context:ve,computedSumText:Se,computedEmptyText:Fe,computedTooltipEffect:nt,computedTooltipOptions:at,tableLayout:$,scrollbarViewStyle:M,scrollbarStyle:V,scrollBarRef:J,scrollTo:Q,setScrollLeft:le,setScrollTop:Z,allowDragLastColumn:l.allowDragLastColumn}),(pe,Me)=>(te(),ye("div",{ref:"tableWrapper",class:G([{[S(a).m("fit")]:e.fit,[S(a).m("striped")]:e.stripe,[S(a).m("border")]:e.border||S(m),[S(a).m("hidden")]:S(g),[S(a).m("group")]:S(m),[S(a).m("fluid-height")]:e.maxHeight,[S(a).m("scrollable-x")]:S(o).scrollX.value,[S(a).m("scrollable-y")]:S(o).scrollY.value,[S(a).m("enable-row-hover")]:!S(s).states.isComplex.value,[S(a).m("enable-row-transition")]:(S(s).states.data.value||[]).length!==0&&(S(s).states.data.value||[]).length<100,"has-footer":e.showSummary},S(a).m(S(k)),e.className,S(a).b(),S(a).m(`layout-${S($)}`)]),style:Qe(e.style),"data-prefix":S(a).namespace.value,onMouseleave:Me[1]||(Me[1]=(...Xe)=>S(x)&&S(x)(...Xe))},[fe("div",{ref:"tableInnerWrapper",class:G(S(a).e("inner-wrapper"))},[fe("div",Cs,[Be(pe.$slots,"default")],512),e.showHeader&&S($)==="fixed"?wt((te(),ye("div",{key:0,ref:"headerWrapper",class:G(S(a).e("header-wrapper"))},[fe("table",{ref:"tableHeader",class:G(S(a).e("header")),style:Qe(S(I)),border:"0",cellpadding:"0",cellspacing:"0"},[xe(S(ht),{columns:S(s).states.columns.value,"table-layout":S($)},null,8,["columns","table-layout"]),xe(S(bl),{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:S(s),"append-filter-panel-to":e.appendFilterPanelTo,"allow-drag-last-column":e.allowDragLastColumn,onSetDragVisible:S(C)},null,8,["border","default-sort","store","append-filter-panel-to","allow-drag-last-column","onSetDragVisible"])],6)],2)),[[S(pl),S(R)]]):He("v-if",!0),fe("div",{ref:"bodyWrapper",class:G(S(a).e("body-wrapper"))},[xe(S(Fl),{ref_key:"scrollBarRef",ref:J,"view-style":S(M),"wrap-style":S(V),always:e.scrollbarAlwaysOn,tabindex:e.scrollbarTabindex,native:e.nativeScrollbar,onScroll:Me[0]||(Me[0]=Xe=>pe.$emit("scroll",Xe))},{default:Ae(()=>[fe("table",{ref:"tableBody",class:G(S(a).e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:Qe({width:S(U),tableLayout:S($)})},[xe(S(ht),{columns:S(s).states.columns.value,"table-layout":S($)},null,8,["columns","table-layout"]),e.showHeader&&S($)==="auto"?(te(),Ke(S(bl),{key:0,ref:"tableHeaderRef",class:G(S(a).e("body-header")),border:e.border,"default-sort":e.defaultSort,store:S(s),"append-filter-panel-to":e.appendFilterPanelTo,onSetDragVisible:S(C)},null,8,["class","border","default-sort","store","append-filter-panel-to","onSetDragVisible"])):He("v-if",!0),xe(S(ds),{context:S(ve),highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":nt.value,"tooltip-options":at.value,"row-style":e.rowStyle,store:S(s),stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),e.showSummary&&S($)==="auto"?(te(),Ke(S(wl),{key:1,class:G(S(a).e("body-footer")),border:e.border,"default-sort":e.defaultSort,store:S(s),"sum-text":Se.value,"summary-method":e.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):He("v-if",!0)],6),r.value?(te(),ye("div",{key:0,ref:"emptyBlock",style:Qe(S(D)),class:G(S(a).e("empty-block"))},[fe("span",{class:G(S(a).e("empty-text"))},[Be(pe.$slots,"empty",{},()=>[Dt(Pe(Fe.value),1)])],2)],6)):He("v-if",!0),pe.$slots.append?(te(),ye("div",{key:1,ref:"appendWrapper",class:G(S(a).e("append-wrapper"))},[Be(pe.$slots,"append")],2)):He("v-if",!0)]),_:3},8,["view-style","wrap-style","always","tabindex","native"])],2),e.showSummary&&S($)==="fixed"?wt((te(),ye("div",{key:1,ref:"footerWrapper",class:G(S(a).e("footer-wrapper"))},[fe("table",{class:G(S(a).e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:Qe(S(I))},[xe(S(ht),{columns:S(s).states.columns.value,"table-layout":S($)},null,8,["columns","table-layout"]),xe(S(wl),{border:e.border,"default-sort":e.defaultSort,store:S(s),"sum-text":Se.value,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[cl,!r.value],[S(pl),S(R)]]):He("v-if",!0),e.border||S(m)?(te(),ye("div",{key:2,class:G(S(a).e("border-left-patch"))},null,2)):He("v-if",!0)],2),wt(fe("div",{ref:"resizeProxy",class:G(S(a).e("column-resize-proxy"))},null,2),[[cl,S(j)]])],46,ys))}}),ws=bs;const Ss={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showOverflowTooltip:{type:[Boolean,Object],default:void 0},tooltipFormatter:Function,fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},filterClassName:String,index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:e=>e.every(t=>["ascending","descending",null].includes(t))}},xs={selection:"table-column--selection",expand:"table__expand-column"},Es={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},Rs=e=>xs[e]||"",Ns={selection:{renderHeader({store:e}){function t(){return e.states.data.value&&e.states.data.value.length===0}return P(mt,{disabled:t(),size:e.states.tableSize.value,indeterminate:e.states.selection.value.length>0&&!e.states.isAllSelected.value,"onUpdate:modelValue":e.toggleAllSelection??void 0,modelValue:e.states.isAllSelected.value,ariaLabel:e.t("el.table.selectAllLabel")})},renderCell({row:e,column:t,store:l,$index:n}){return P(mt,{disabled:t.selectable?!t.selectable.call(null,e,n):!1,size:l.states.tableSize.value,onChange:()=>{l.commit("rowSelectedChanged",e)},onClick:a=>a.stopPropagation(),modelValue:l.isSelected(e),indeterminate:l.getRowIndeterminate(e),ariaLabel:l.t("el.table.selectRowLabel")})},sortable:!1,resizable:!1},index:{renderHeader({column:e}){return e.label||"#"},renderCell({column:e,$index:t}){let l=t+1;const n=e.index;return je(n)?l=t+n:Ce(n)&&(l=n(t)),P("div",{},[l])},sortable:!1},expand:{renderHeader({column:e}){return e.label||""},renderCell({column:e,row:t,store:l,expanded:n,$index:a}){var r,i;const{ns:u}=l,c=[u.e("expand-icon")];!e.renderExpand&&n&&c.push(u.em("expand-icon","expanded"));const s=function(d){d.stopPropagation(),l.toggleRowExpansion(t)},o=((i=(r=l.states.rowExpandable).value)==null?void 0:i.call(r,t,a))??!0;return o||c.push(u.is("disabled")),P("button",{type:"button",disabled:!o,"aria-label":l.t(n?"el.table.collapseRowLabel":"el.table.expandRowLabel"),"aria-expanded":n,class:c,onClick:s},{default:()=>e.renderExpand?[e.renderExpand({expanded:n,expandable:o})]:[P(Bt,null,{default:()=>[P(Ll)]})]})},sortable:!1,resizable:!1}};function Os({row:e,column:t,$index:l}){var u;const n=t.property,a=n&&Nl(e,n).value;return t&&t.formatter?t.formatter(e,t,a,l):((u=a==null?void 0:a.toString)==null?void 0:u.call(a))||""}function Ls({row:e,treeNode:t,store:l},n=!1){const{ns:a}=l;if(!t)return n?[P("span",{class:a.e("placeholder")})]:null;const u=[],c=function(s){s.stopPropagation(),!t.loading&&l.loadOrToggle(e)};if(t.indent&&u.push(P("span",{class:a.e("indent"),style:{"padding-left":`${t.indent}px`}})),$e(t.expanded)&&!t.noLazyChildren){const s=[a.e("expand-icon"),t.expanded?a.em("expand-icon","expanded"):""];let o=Ll;t.loading&&(o=Pn),u.push(P("button",{type:"button","aria-label":l.t(t.expanded?"el.table.collapseRowLabel":"el.table.expandRowLabel"),"aria-expanded":t.expanded,class:s,onClick:c},{default:()=>[P(Bt,{class:a.is("loading",t.loading)},{default:()=>[P(o)]})]}))}else u.push(P("span",{class:a.e("placeholder")}));return u}function Sl(e,t){return e.reduce((l,n)=>(l[n]=n,l),t)}function Fs(e,t){const l=he();return{registerComplexWatchers:()=>{const u=["fixed"],c={realWidth:"width",realMinWidth:"minWidth"},s=Sl(u,c);Object.keys(s).forEach(o=>{const r=c[o];Ie(t,r)&&ne(()=>t[r],i=>{let d=i;r==="width"&&o==="realWidth"&&(d=_t(i)),r==="minWidth"&&o==="realMinWidth"&&(d=Yl(i)),l.columnConfig.value[r]=d,l.columnConfig.value[o]=d;const p=r==="fixed";e.value.store.scheduleLayout(p)})})},registerNormalWatchers:()=>{const u=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip","tooltipFormatter","resizable"],c=["showOverflowTooltip"],s={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},o=Sl(u,s);Object.keys(o).forEach(i=>{const d=s[i];Ie(t,d)&&ne(()=>t[d],p=>{l.columnConfig.value[i]=p,(i==="filters"||i==="filterMethod")&&(l.columnConfig.value.filterable=!!(l.columnConfig.value.filters||l.columnConfig.value.filterMethod))})}),c.forEach(i=>{Ie(e.value.props,i)&&ne(()=>e.value.props[i],d=>{l.columnConfig.value.type!=="selection"&&be(t[i])&&(l.columnConfig.value[i]=d)})});const r=jt("table");r.value&&Ie(r.value,"showOverflowTooltip")&&ne(()=>{var i;return(i=r.value)==null?void 0:i.showOverflowTooltip},i=>{l.columnConfig.value.type!=="selection"&&(!be(t.showOverflowTooltip)||!be(e.value.props.showOverflowTooltip)||(l.columnConfig.value.showOverflowTooltip=i))})}}}function Ts(e,t,l){const n=he(),a=O(""),u=O(!1),c=O(),s=O(),o=Ee("table");Rt(()=>{c.value=e.align?`is-${e.align}`:null,c.value}),Rt(()=>{s.value=e.headerAlign?`is-${e.headerAlign}`:c.value,s.value});const r=Y(()=>{let f=n.vnode.vParent||n.parent;for(;f&&!f.tableId&&!f.columnId;)f=f.vnode.vParent||f.parent;return f}),i=Y(()=>{const{store:f}=n.parent;if(!f)return!1;const{treeData:g}=f.states,y=g.value;return y&&Object.keys(y).length>0}),d=O(_t(e.width)),p=O(Yl(e.minWidth)),h=f=>(d.value&&(f.width=d.value),p.value&&(f.minWidth=p.value),!d.value&&p.value&&(f.width=void 0),f.minWidth||(f.minWidth=80),f.realWidth=Number(be(f.width)?f.minWidth:f.width),f),v=f=>{const g=f.type,y=Ns[g]||{};Object.keys(y).forEach(m=>{const x=y[m];m!=="className"&&!be(x)&&(f[m]=x)});const C=Rs(g);if(C){const m=`${S(o.namespace)}-${C}`;f.className=f.className?`${f.className} ${m}`:m}return f},b=f=>{ie(f)?f.forEach(y=>g(y)):g(f);function g(y){var C;((C=y==null?void 0:y.type)==null?void 0:C.name)==="ElTableColumn"&&(y.vParent=n)}};return{columnId:a,realAlign:c,isSubColumn:u,realHeaderAlign:s,columnOrTableParent:r,setColumnWidth:h,setColumnForcedProps:v,setColumnRenders:f=>{e.renderHeader?Vn("TableColumn","Comparing to render-header, scoped-slot header is easier to use. We recommend users to use scoped-slot header."):f.type!=="selection"&&(f.renderHeader=y=>{if(n.columnConfig.value.label,t.header){const C=t.header(y);if(Xl(C))return P(Ze,C)}return Dt(f.label)}),t["filter-icon"]&&(f.renderFilterIcon=y=>Be(t,"filter-icon",y)),t.expand&&(f.renderExpand=y=>Be(t,"expand",y));let g=f.renderCell;return f.type==="expand"?(f.renderCell=y=>P("div",{class:"cell"},[g(y)]),l.value.renderExpanded=y=>t.default?t.default(y):t.default):(g=g||Os,f.renderCell=y=>{let C=null;if(t.default){const D=t.default(y);C=D.some(j=>j.type!==Rl)?D:g(y)}else C=g(y);const{columns:m}=l.value.store.states,x=m.value.findIndex(D=>D.type==="default"),R=Ls(y,i.value&&y.cellIndex===x),k={class:"cell",style:{}};return f.showOverflowTooltip&&(k.class=`${k.class} ${S(o.namespace)}-tooltip`,k.style={width:`${(y.column.realWidth||Number(y.column.width))-1}px`}),b(C),P("div",k,[R,C])}),f},getPropsData:(...f)=>f.reduce((g,y)=>(ie(y)&&y.forEach(C=>{g[C]=e[C]}),g),{}),getColumnElIndex:(f,g)=>Array.prototype.indexOf.call(f,g),updateColumnOrder:()=>{l.value.store.commit("updateColumnOrder",n.columnConfig.value)}}}var Ms=De({name:"ElTableColumn",__name:"index",props:Ss,setup(e){const t=e,l=jn(),n=he(),a=jt("table"),u=O({}),c=Y(()=>{let y=n.parent;for(;y&&!y.tableId;)y=y.parent;return y}),{registerNormalWatchers:s,registerComplexWatchers:o}=Fs(c,t),{columnId:r,isSubColumn:i,realHeaderAlign:d,columnOrTableParent:p,setColumnWidth:h,setColumnForcedProps:v,setColumnRenders:b,getPropsData:w,getColumnElIndex:T,realAlign:L,updateColumnOrder:N}=Ts(t,l,c),f=p.value;r.value=Ta("tableId"in f?f.tableId:f.columnId),Ol(()=>{var D,j;i.value=c.value!==f;const y=t.type||"default",C=t.sortable===""?!0:t.sortable,m=y==="selection"?!1:be(t.showOverflowTooltip)?f.props.showOverflowTooltip??((D=a.value)==null?void 0:D.showOverflowTooltip):t.showOverflowTooltip,x=be(t.tooltipFormatter)?f.props.tooltipFormatter??((j=a.value)==null?void 0:j.tooltipFormatter):t.tooltipFormatter,R={...Es[y],id:r.value,type:y,property:t.prop||t.property,align:L,headerAlign:d,showOverflowTooltip:m,tooltipFormatter:x,filterable:t.filters||t.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:C,index:t.index,rawColumnKey:n.vnode.key};let k=w(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);k=ka(R,k),k=Aa(b,h,v)(k),u.value=k,s(),o()}),lt(()=>{var x,R;const y=p.value,C=i.value?(x=y.vnode.el)==null?void 0:x.children:(R=y.refs.hiddenColumns)==null?void 0:R.children,m=()=>T(C||[],n.vnode.el);u.value.getColumnIndex=m,m()>-1&&c.value.store.commit("insertColumn",u.value,i.value?"columnConfig"in y&&y.columnConfig.value:null,N)}),Vt(()=>{const y=u.value.getColumnIndex;(y?y():-1)>-1&&c.value.store.commit("removeColumn",u.value,i.value?"columnConfig"in f&&f.columnConfig.value:null,N)}),n.columnId=r.value,n.columnConfig=u;const g=()=>{var y,C;try{const m=(y=l.default)==null?void 0:y.call(l,{row:{},column:{},$index:-1}),x=[];if(ie(m))for(const R of m)((C=R.type)==null?void 0:C.name)==="ElTableColumn"||R.shapeFlag&2?x.push(R):R.type===Ze&&ie(R.children)&&R.children.forEach(k=>{(k==null?void 0:k.patchFlag)!==1024&&!we(k==null?void 0:k.children)&&x.push(k)});return P("div",x)}catch{return P("div",[])}};return(y,C)=>(te(),Ke(g))}}),Ws=Ms,ks=Ws,en=ks;const Ys=_n(ws,{TableColumn:en}),qs=Yn(en);export{qs as E,Ys as a}; diff --git a/frontend/dist/assets/el-tag-C4SnL2z_.js b/frontend/dist/assets/el-tag-C4SnL2z_.js index 014f50e..6a455c0 100644 --- a/frontend/dist/assets/el-tag-C4SnL2z_.js +++ b/frontend/dist/assets/el-tag-C4SnL2z_.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-tag-C4SnL2z_.js import{b as M,aj as N,d as V,aW as $,a as j,o as i,c as u,q as m,h as k,n as o,f as t,aL as h,s as r,w as d,b1 as C,E as v,g as E,al as S,e as I,Z as L,j as P,l as q}from"./index-CD29OCdJ.js";import{e as x}from"./index-6OTFNiIi.js";const F=M({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:N},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),K={close:s=>s instanceof MouseEvent,click:s=>s instanceof MouseEvent},W=["aria-label"],Z=["aria-label"];var A=V({name:"ElTag",__name:"tag",props:F,emits:K,setup(s,{emit:_}){const B=s,p=_,z=x(),{t:f}=$(),a=j("tag"),b=P(()=>{const{type:e,hit:l,effect:n,closable:c,round:w}=B;return[a.b(),a.is("closable",c),a.m(e||"primary"),a.m(z.value),a.m(n),a.is("hit",l),a.is("round",w)]}),g=e=>{p("close",e)},y=e=>{p("click",e)},T=e=>{var l,n,c;(c=(n=(l=e==null?void 0:e.component)==null?void 0:l.subTree)==null?void 0:n.component)!=null&&c.bum&&(e.component.subTree.component.bum=null)};return(e,l)=>s.disableTransitions?(i(),u("span",{key:0,class:o(b.value),style:S({backgroundColor:s.color}),onClick:y},[m("span",{class:o(t(a).e("content"))},[k(e.$slots,"default")],2),s.closable?(i(),u("button",{key:0,"aria-label":t(f)("el.tag.close"),class:o(t(a).e("close")),type:"button",onClick:h(g,["stop"])},[r(t(v),null,{default:d(()=>[r(t(C))]),_:1})],10,W)):E("v-if",!0)],6)):(i(),I(L,{key:1,name:`${t(a).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:T},{default:d(()=>[m("span",{class:o(b.value),style:S({backgroundColor:s.color}),onClick:y},[m("span",{class:o(t(a).e("content"))},[k(e.$slots,"default")],2),s.closable?(i(),u("button",{key:0,"aria-label":t(f)("el.tag.close"),class:o(t(a).e("close")),type:"button",onClick:h(g,["stop"])},[r(t(v),null,{default:d(()=>[r(t(C))]),_:1})],10,Z)):E("v-if",!0)],6)]),_:3},8,["name"]))}}),D=A;const J=q(D);export{J as E,F as t}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-ByhS8A1d.js +import{b as M,aj as N,d as V,aW as $,a as j,o as i,c as u,q as m,h as k,n as o,f as t,aL as h,s as r,w as d,b1 as C,E as v,g as E,al as S,e as I,Z as L,j as P,l as q}from"./index-Ds9AETjS.js";import{e as x}from"./index-BNsCyG4A.js";const F=M({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:N},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),K={close:s=>s instanceof MouseEvent,click:s=>s instanceof MouseEvent},W=["aria-label"],Z=["aria-label"];var A=V({name:"ElTag",__name:"tag",props:F,emits:K,setup(s,{emit:_}){const B=s,p=_,z=x(),{t:f}=$(),a=j("tag"),b=P(()=>{const{type:e,hit:l,effect:n,closable:c,round:w}=B;return[a.b(),a.is("closable",c),a.m(e||"primary"),a.m(z.value),a.m(n),a.is("hit",l),a.is("round",w)]}),g=e=>{p("close",e)},y=e=>{p("click",e)},T=e=>{var l,n,c;(c=(n=(l=e==null?void 0:e.component)==null?void 0:l.subTree)==null?void 0:n.component)!=null&&c.bum&&(e.component.subTree.component.bum=null)};return(e,l)=>s.disableTransitions?(i(),u("span",{key:0,class:o(b.value),style:S({backgroundColor:s.color}),onClick:y},[m("span",{class:o(t(a).e("content"))},[k(e.$slots,"default")],2),s.closable?(i(),u("button",{key:0,"aria-label":t(f)("el.tag.close"),class:o(t(a).e("close")),type:"button",onClick:h(g,["stop"])},[r(t(v),null,{default:d(()=>[r(t(C))]),_:1})],10,W)):E("v-if",!0)],6)):(i(),I(L,{key:1,name:`${t(a).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:T},{default:d(()=>[m("span",{class:o(b.value),style:S({backgroundColor:s.color}),onClick:y},[m("span",{class:o(t(a).e("content"))},[k(e.$slots,"default")],2),s.closable?(i(),u("button",{key:0,"aria-label":t(f)("el.tag.close"),class:o(t(a).e("close")),type:"button",onClick:h(g,["stop"])},[r(t(v),null,{default:d(()=>[r(t(C))]),_:1})],10,Z)):E("v-if",!0)],6)]),_:3},8,["name"]))}}),D=A;const J=q(D);export{J as E,F as t}; +======== +import{b as M,aj as N,d as V,aW as $,a as j,o as i,c as u,q as m,h as k,n as o,f as t,aL as h,s as r,w as d,b1 as C,E as v,g as E,al as S,e as I,Z as L,j as P,l as q}from"./index-CxbBjZKo.js";import{e as x}from"./index-D23K2h6y.js";const F=M({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:N},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),K={close:s=>s instanceof MouseEvent,click:s=>s instanceof MouseEvent},W=["aria-label"],Z=["aria-label"];var A=V({name:"ElTag",__name:"tag",props:F,emits:K,setup(s,{emit:_}){const B=s,p=_,z=x(),{t:f}=$(),a=j("tag"),b=P(()=>{const{type:e,hit:l,effect:n,closable:c,round:w}=B;return[a.b(),a.is("closable",c),a.m(e||"primary"),a.m(z.value),a.m(n),a.is("hit",l),a.is("round",w)]}),g=e=>{p("close",e)},y=e=>{p("click",e)},T=e=>{var l,n,c;(c=(n=(l=e==null?void 0:e.component)==null?void 0:l.subTree)==null?void 0:n.component)!=null&&c.bum&&(e.component.subTree.component.bum=null)};return(e,l)=>s.disableTransitions?(i(),u("span",{key:0,class:o(b.value),style:S({backgroundColor:s.color}),onClick:y},[m("span",{class:o(t(a).e("content"))},[k(e.$slots,"default")],2),s.closable?(i(),u("button",{key:0,"aria-label":t(f)("el.tag.close"),class:o(t(a).e("close")),type:"button",onClick:h(g,["stop"])},[r(t(v),null,{default:d(()=>[r(t(C))]),_:1})],10,W)):E("v-if",!0)],6)):(i(),I(L,{key:1,name:`${t(a).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:T},{default:d(()=>[m("span",{class:o(b.value),style:S({backgroundColor:s.color}),onClick:y},[m("span",{class:o(t(a).e("content"))},[k(e.$slots,"default")],2),s.closable?(i(),u("button",{key:0,"aria-label":t(f)("el.tag.close"),class:o(t(a).e("close")),type:"button",onClick:h(g,["stop"])},[r(t(v),null,{default:d(()=>[r(t(C))]),_:1})],10,Z)):E("v-if",!0)],6)]),_:3},8,["name"]))}}),D=A;const J=q(D);export{J as E,F as t}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-BjlLyKON.js diff --git a/frontend/dist/assets/el-upload-CLbTdSbQ.js b/frontend/dist/assets/el-upload-CLbTdSbQ.js new file mode 100644 index 0000000..1313b03 --- /dev/null +++ b/frontend/dist/assets/el-upload-CLbTdSbQ.js @@ -0,0 +1 @@ +import{C as Q,a6 as ce,J as ke,a8 as fe,b as N,R as f,a5 as V,aU as h,d as q,aW as Ee,a as K,o as b,e as U,w as F,c as T,M as we,ad as Re,t as x,f as o,n as g,h as $,g as k,q as A,aL as B,s as S,E as D,a_ as Pe,aa as Y,al as $e,a$ as Fe,b0 as Ce,b1 as Se,b2 as Te,b3 as Le,b4 as Ue,y as pe,j as G,B as Be,aQ as W,b5 as Z,b6 as De,b7 as Oe,b8 as je,D as ee,aK as Ae,b9 as Ke,P as Ne,H as qe,aX as te,Y as ae,F as Me,a9 as He,l as _e}from"./index-CxbBjZKo.js";import{c as M}from"./index-D23K2h6y.js";import{E as ze}from"./el-progress-Br676mBH.js";import{f as se}from"./index-DxP0p4ch.js";import{c as oe}from"./el-form-item-BA3ZlfqF.js";const Ie="ElUpload";var Xe=class extends Error{constructor(t,i,n,d){super(t),this.name="UploadAjaxError",this.status=i,this.method=n,this.url=d}};function ne(t,i,n){let d;return n.response?d=`${n.response.error||n.response}`:n.responseText?d=`${n.responseText}`:d=`fail to ${i.method} ${t} ${n.status}`,new Xe(d,n.status,i.method,t)}function Ve(t){const i=t.responseText||t.response;if(!i)return i;try{return JSON.parse(i)}catch{return i}}const xe=t=>{typeof XMLHttpRequest>"u"&&Q(Ie,"XMLHttpRequest is undefined");const i=new XMLHttpRequest,n=t.action;i.upload&&i.upload.addEventListener("progress",r=>{const u=r;u.percent=r.total>0?r.loaded/r.total*100:0,t.onProgress(u)});const d=new FormData;if(t.data)for(const[r,u]of Object.entries(t.data))ce(u)?u.length===2&&u[0]instanceof Blob&&ke(u[1])?d.append(r,u[0],u[1]):u.forEach(w=>{d.append(r,w)}):d.append(r,u);d.append(t.filename,t.file,t.file.name),i.addEventListener("error",()=>{t.onError(ne(n,t,i))}),i.addEventListener("load",()=>{if(i.status<200||i.status>=300)return t.onError(ne(n,t,i));t.onSuccess(Ve(i))}),i.open(t.method,n,!0),t.withCredentials&&"withCredentials"in i&&(i.withCredentials=!0);const p=t.headers||{};if(p instanceof Headers)p.forEach((r,u)=>i.setRequestHeader(u,r));else for(const[r,u]of Object.entries(p))fe(u)||i.setRequestHeader(r,String(u));return i.send(d),i},ve=["text","picture","picture-card"];let Ge=1;const J=()=>Date.now()+Ge++,ye=N({action:{type:String,default:"#"},headers:{type:f(Object)},method:{type:String,default:"post"},data:{type:f([Object,Function,Promise]),default:()=>V({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:f(Array),default:()=>V([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:ve,default:"text"},httpRequest:{type:f(Function),default:xe},disabled:{type:Boolean,default:void 0},limit:Number,directory:Boolean}),We=N({...ye,beforeUpload:{type:f(Function),default:h},beforeRemove:{type:f(Function)},onRemove:{type:f(Function),default:h},onChange:{type:f(Function),default:h},onPreview:{type:f(Function),default:h},onSuccess:{type:f(Function),default:h},onProgress:{type:f(Function),default:h},onError:{type:f(Function),default:h},onExceed:{type:f(Function),default:h},crossorigin:{type:f(String)}}),me=Symbol("uploadContextKey"),Je=N({files:{type:f(Array),default:()=>V([])},disabled:{type:Boolean,default:void 0},handlePreview:{type:f(Function),default:h},listType:{type:String,values:ve,default:"text"},crossorigin:{type:f(String)}}),Qe={remove:t=>!!t},Ye=N({...ye,beforeUpload:{type:f(Function),default:h},onRemove:{type:f(Function),default:h},onStart:{type:f(Function),default:h},onSuccess:{type:f(Function),default:h},onProgress:{type:f(Function),default:h},onError:{type:f(Function),default:h},onExceed:{type:f(Function),default:h}}),Ze=N({disabled:{type:Boolean,default:void 0},directory:Boolean}),et={file:t=>ce(t)},tt=["tabindex","aria-disabled","onKeydown"],at=["src","crossorigin"],st=["onClick"],ot=["title"],nt=["onClick"],lt=["onClick"];var rt=q({name:"ElUploadList",__name:"upload-list",props:Je,emits:Qe,setup(t,{emit:i}){const n=t,d=i,{t:p}=Ee(),r=K("upload"),u=K("icon"),w=K("list"),y=M(),P=pe(!1),C=G(()=>[r.b("list"),r.bm("list",n.listType),r.is("disabled",y.value)]),E=c=>{d("remove",c)};return(c,v)=>(b(),U(Ue,{tag:"ul",class:g(C.value),name:o(w).b()},{default:F(()=>[(b(!0),T(we,null,Re(t.files,(s,e)=>(b(),T("li",{key:s.uid||s.name,class:g([o(r).be("list","item"),o(r).is(s.status),{focusing:P.value}]),tabindex:o(y)?void 0:0,"aria-disabled":o(y),role:"button",onKeydown:x(a=>!o(y)&&E(s),["delete"]),onFocus:v[0]||(v[0]=a=>P.value=!0),onBlur:v[1]||(v[1]=a=>P.value=!1),onClick:v[2]||(v[2]=a=>P.value=!1)},[$(c.$slots,"default",{file:s,index:e},()=>[t.listType==="picture"||s.status!=="uploading"&&t.listType==="picture-card"?(b(),T("img",{key:0,class:g(o(r).be("list","item-thumbnail")),src:s.url,crossorigin:t.crossorigin,alt:""},null,10,at)):k("v-if",!0),s.status==="uploading"||t.listType!=="picture-card"?(b(),T("div",{key:1,class:g(o(r).be("list","item-info"))},[A("a",{class:g(o(r).be("list","item-name")),onClick:B(a=>t.handlePreview(s),["prevent"])},[S(o(D),{class:g(o(u).m("document"))},{default:F(()=>[S(o(Pe))]),_:1},8,["class"]),A("span",{class:g(o(r).be("list","item-file-name")),title:s.name},Y(s.name),11,ot)],10,st),s.status==="uploading"?(b(),U(o(ze),{key:0,type:t.listType==="picture-card"?"circle":"line","stroke-width":t.listType==="picture-card"?6:2,percentage:Number(s.percentage),style:$e(t.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):k("v-if",!0)],2)):k("v-if",!0),A("label",{class:g(o(r).be("list","item-status-label"))},[t.listType==="text"?(b(),U(o(D),{key:0,class:g([o(u).m("upload-success"),o(u).m("circle-check")])},{default:F(()=>[S(o(Fe))]),_:1},8,["class"])):["picture-card","picture"].includes(t.listType)?(b(),U(o(D),{key:1,class:g([o(u).m("upload-success"),o(u).m("check")])},{default:F(()=>[S(o(Ce))]),_:1},8,["class"])):k("v-if",!0)],2),o(y)?k("v-if",!0):(b(),U(o(D),{key:2,class:g(o(u).m("close")),"aria-label":o(p)("el.upload.delete"),role:"button",tabindex:"0",onClick:a=>E(s),onKeydown:x(B(a=>E(s),["prevent"]),["enter","space"])},{default:F(()=>[S(o(Se))]),_:1},8,["class","aria-label","onClick","onKeydown"])),o(y)?k("v-if",!0):(b(),T("i",{key:3,class:g(o(u).m("close-tip"))},Y(o(p)("el.upload.deleteTip")),3)),t.listType==="picture-card"?(b(),T("span",{key:4,class:g(o(r).be("list","item-actions"))},[A("span",{class:g(o(r).be("list","item-preview")),onClick:a=>t.handlePreview(s)},[S(o(D),{class:g(o(u).m("zoom-in"))},{default:F(()=>[S(o(Te))]),_:1},8,["class"])],10,nt),o(y)?k("v-if",!0):(b(),T("span",{key:0,class:g(o(r).be("list","item-delete")),onClick:a=>E(s)},[S(o(D),{class:g(o(u).m("delete"))},{default:F(()=>[S(o(Le))]),_:1},8,["class"])],10,lt))],2)):k("v-if",!0)])],42,tt))),128)),$(c.$slots,"append")]),_:3},8,["class","name"]))}}),le=rt;const re="ElUploadDrag";var it=q({name:re,__name:"upload-dragger",props:Ze,emits:et,setup(t,{emit:i}){const n=t,d=i;Be(me)||Q(re,"usage: ");const p=K("upload"),r=pe(!1),u=M(),w=c=>new Promise((v,s)=>c.file(v,s)),y=async c=>{try{if(c.isFile){const v=await w(c);return v.isDirectory=!1,[v]}if(c.isDirectory){const v=c.createReader(),s=()=>new Promise((m,R)=>v.readEntries(m,R)),e=[];let a=await s();for(;a.length>0;)e.push(...a),a=await s();const l=e.map(m=>y(m).catch(()=>[]));return se(await Promise.all(l))}}catch{return[]}return[]},P=async c=>{if(u.value)return;r.value=!1,c.stopPropagation();const v=Array.from(c.dataTransfer.files),s=c.dataTransfer.items||[];if(n.directory){const e=Array.from(s).map(a=>{var l;return(l=a==null?void 0:a.webkitGetAsEntry)==null?void 0:l.call(a)}).filter(a=>a);d("file",se(await Promise.all(e.map(y))));return}v.forEach((e,a)=>{var m,R;const l=(R=(m=s[a])==null?void 0:m.webkitGetAsEntry)==null?void 0:R.call(m);l&&(e.isDirectory=l.isDirectory)}),d("file",v)},C=()=>{u.value||(r.value=!0)},E=c=>{c.currentTarget.contains(c.relatedTarget)||(r.value=!1)};return(c,v)=>(b(),T("div",{class:g([o(p).b("dragger"),o(p).is("dragover",r.value)]),onDrop:B(P,["prevent"]),onDragover:B(C,["prevent"]),onDragleave:B(E,["prevent"])},[$(c.$slots,"default")],34))}}),ut=it;const dt=["tabindex","aria-disabled","onKeydown"],ct=["name","disabled","multiple","accept","webkitdirectory"];var ft=q({name:"ElUploadContent",inheritAttrs:!1,__name:"upload-content",props:Ye,setup(t,{expose:i}){const n=t,d=K("upload"),p=M(),r=W({}),u=W(),w=e=>{if(e.length===0)return;const{autoUpload:a,limit:l,fileList:m,multiple:R,onStart:L,onExceed:H}=n;if(l&&m.length+e.length>l){H(e,m);return}R||(e=e.slice(0,1));for(const _ of e){const O=_;O.uid=J(),L(O),a&&y(O)}},y=async e=>{if(u.value.value="",!n.beforeUpload)return C(e);let a,l={};try{const R=n.data,L=n.beforeUpload(e);l=Z(n.data)?oe(n.data):n.data,a=await L,Z(n.data)&&De(R,l)&&(l=oe(n.data))}catch{a=!1}if(a===!1){n.onRemove(e);return}let m=e;a instanceof Blob&&(a instanceof File?m=a:m=new File([a],e.name,{type:e.type})),C(Object.assign(m,{uid:e.uid}),l)},P=async(e,a)=>je(e)?e(a):e,C=async(e,a)=>{const{headers:l,data:m,method:R,withCredentials:L,name:H,action:_,onProgress:O,onSuccess:ge,onError:be,httpRequest:he}=n;try{a=await P(a??m,e)}catch{n.onRemove(e);return}const{uid:z}=e,I={headers:l||{},withCredentials:L,file:e,data:a,method:R,filename:H,action:_,onProgress:j=>{O(j,e)},onSuccess:j=>{ge(j,e),delete r.value[z]},onError:j=>{be(j,e),delete r.value[z]}},X=he(I);r.value[z]=X,X instanceof Promise&&X.then(I.onSuccess,I.onError)},E=e=>{const a=e.target.files;a&&w(Array.from(a))},c=()=>{p.value||(u.value.value="",u.value.click())},v=()=>{c()};return i({abort:e=>{Oe(r.value).filter(e?([a])=>String(e.uid)===a:()=>!0).forEach(([a,l])=>{l instanceof XMLHttpRequest&&l.abort(),delete r.value[a]})},upload:y}),(e,a)=>(b(),T("div",{class:g([o(d).b(),o(d).m(t.listType),o(d).is("drag",t.drag),o(d).is("disabled",o(p))]),tabindex:o(p)?void 0:0,"aria-disabled":o(p),role:"button",onClick:c,onKeydown:x(B(v,["self"]),["enter","space"])},[t.drag?(b(),U(ut,{key:0,disabled:o(p),directory:t.directory,onFile:w},{default:F(()=>[$(e.$slots,"default")]),_:3},8,["disabled","directory"])):$(e.$slots,"default",{key:1}),A("input",{ref_key:"inputRef",ref:u,class:g(o(d).e("input")),name:t.name,disabled:o(p),multiple:t.multiple,accept:t.accept,webkitdirectory:t.directory||void 0,type:"file",onChange:E,onClick:a[0]||(a[0]=B(()=>{},["stop"]))},null,42,ct)],42,dt))}}),ie=ft;const ue="ElUpload",de=t=>{var i;(i=t.url)!=null&&i.startsWith("blob:")&&URL.revokeObjectURL(t.url)},pt=(t,i)=>{const n=Ke(t,"fileList",void 0,{passive:!0}),d=s=>n.value.find(e=>e.uid===s.uid);function p(s){var e;(e=i.value)==null||e.abort(s)}function r(s=["ready","uploading","success","fail"]){n.value=n.value.filter(e=>!s.includes(e.status))}function u(s){n.value=n.value.filter(e=>e.uid!==s.uid)}const w=s=>{Ne(()=>t.onChange(s,n.value))},y=(s,e)=>{const a=d(e);a&&(console.error(s),a.status="fail",u(a),t.onError(s,a,n.value),w(a))},P=(s,e)=>{const a=d(e);a&&(t.onProgress(s,a,n.value),a.status="uploading",a.percentage=Math.round(s.percent))},C=(s,e)=>{const a=d(e);a&&(a.status="success",a.response=s,t.onSuccess(s,a,n.value),w(a))},E=s=>{fe(s.uid)&&(s.uid=J());const e={name:s.name,percentage:0,status:"ready",size:s.size,raw:s,uid:s.uid};if(t.listType==="picture-card"||t.listType==="picture")try{e.url=URL.createObjectURL(s)}catch(a){Ae(ue,a.message),t.onError(a,e,n.value)}n.value=[...n.value,e],w(e)},c=async s=>{const e=s instanceof File?d(s):s;e||Q(ue,"file to be removed not found");const a=l=>{p(l),u(l),t.onRemove(l,n.value),de(l)};t.beforeRemove?await t.beforeRemove(e,n.value)!==!1&&a(e):a(e)};function v(){n.value.filter(({status:s})=>s==="ready").forEach(({raw:s})=>{var e;return s&&((e=i.value)==null?void 0:e.upload(s))})}return ee(()=>t.listType,s=>{s!=="picture-card"&&s!=="picture"||(n.value=n.value.map(e=>{const{raw:a,url:l}=e;if(!l&&a)try{e.url=URL.createObjectURL(a)}catch(m){t.onError(m,e,n.value)}return e}))}),ee(n,s=>{for(const e of s)e.uid||(e.uid=J()),e.status||(e.status="success")},{immediate:!0,deep:!0}),{uploadFiles:n,abort:p,clearFiles:r,handleError:y,handleProgress:P,handleStart:E,handleSuccess:C,handleRemove:c,submit:v,revokeFileObjectURL:de}};var vt=q({name:"ElUpload",__name:"upload",props:We,setup(t,{expose:i}){const n=t,d=M(),p=W(),{abort:r,submit:u,clearFiles:w,uploadFiles:y,handleStart:P,handleError:C,handleRemove:E,handleSuccess:c,handleProgress:v,revokeFileObjectURL:s}=pt(n,p),e=G(()=>n.listType==="picture-card"),a=G(()=>({...n,fileList:y.value,onStart:P,onProgress:v,onSuccess:c,onError:C,onRemove:E}));return qe(()=>{y.value.forEach(s)}),Me(me,{accept:He(n,"accept")}),i({abort:r,submit:u,clearFiles:w,handleStart:P,handleRemove:E}),(l,m)=>(b(),T("div",null,[e.value&&t.showFileList?(b(),U(le,{key:0,disabled:o(d),"list-type":t.listType,files:o(y),crossorigin:t.crossorigin,"handle-preview":t.onPreview,onRemove:o(E)},te({append:F(()=>[S(ie,ae({ref_key:"uploadRef",ref:p},a.value),{default:F(()=>[l.$slots.trigger?$(l.$slots,"trigger",{key:0}):k("v-if",!0),!l.$slots.trigger&&l.$slots.default?$(l.$slots,"default",{key:1}):k("v-if",!0)]),_:3},16)]),_:2},[l.$slots.file?{name:"default",fn:F(({file:R,index:L})=>[$(l.$slots,"file",{file:R,index:L})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):k("v-if",!0),!e.value||e.value&&!t.showFileList?(b(),U(ie,ae({key:1,ref_key:"uploadRef",ref:p},a.value),{default:F(()=>[l.$slots.trigger?$(l.$slots,"trigger",{key:0}):k("v-if",!0),!l.$slots.trigger&&l.$slots.default?$(l.$slots,"default",{key:1}):k("v-if",!0)]),_:3},16)):k("v-if",!0),l.$slots.trigger?$(l.$slots,"default",{key:2}):k("v-if",!0),$(l.$slots,"tip"),!e.value&&t.showFileList?(b(),U(le,{key:3,disabled:o(d),"list-type":t.listType,files:o(y),crossorigin:t.crossorigin,"handle-preview":t.onPreview,onRemove:o(E)},te({_:2},[l.$slots.file?{name:"default",fn:F(({file:R,index:L})=>[$(l.$slots,"file",{file:R,index:L})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):k("v-if",!0)]))}}),yt=vt;const Et=_e(yt);export{Et as E}; diff --git a/frontend/dist/assets/el-upload-swsSyuSG.js b/frontend/dist/assets/el-upload-swsSyuSG.js index 1999073..e92fcd5 100644 --- a/frontend/dist/assets/el-upload-swsSyuSG.js +++ b/frontend/dist/assets/el-upload-swsSyuSG.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/el-upload-swsSyuSG.js import{C as Y,a6 as ce,J as ke,a8 as fe,b as N,R as f,a5 as V,aU as h,d as q,aW as Ee,a as K,o as b,e as U,w as F,c as T,M as we,ad as Re,t as x,f as o,n as g,h as $,g as k,q as A,aL as B,s as S,E as D,a_ as Pe,aa as Q,al as $e,a$ as Fe,b0 as Ce,b1 as Se,b2 as Te,b3 as Le,b4 as Ue,y as pe,j as G,B as Be,aT as W,b5 as Z,b6 as De,b7 as Oe,b8 as je,D as ee,aK as Ae,b9 as Ke,P as Ne,H as qe,aX as te,Y as ae,F as Me,a9 as He,l as _e}from"./index-CD29OCdJ.js";import{c as M}from"./index-6OTFNiIi.js";import{E as ze}from"./el-progress-B102G_mC.js";import{f as se}from"./index-DpY84JwG.js";import{c as oe}from"./el-form-item--AdlsBF7.js";const Ie="ElUpload";var Xe=class extends Error{constructor(t,i,n,d){super(t),this.name="UploadAjaxError",this.status=i,this.method=n,this.url=d}};function ne(t,i,n){let d;return n.response?d=`${n.response.error||n.response}`:n.responseText?d=`${n.responseText}`:d=`fail to ${i.method} ${t} ${n.status}`,new Xe(d,n.status,i.method,t)}function Ve(t){const i=t.responseText||t.response;if(!i)return i;try{return JSON.parse(i)}catch{return i}}const xe=t=>{typeof XMLHttpRequest>"u"&&Y(Ie,"XMLHttpRequest is undefined");const i=new XMLHttpRequest,n=t.action;i.upload&&i.upload.addEventListener("progress",r=>{const u=r;u.percent=r.total>0?r.loaded/r.total*100:0,t.onProgress(u)});const d=new FormData;if(t.data)for(const[r,u]of Object.entries(t.data))ce(u)?u.length===2&&u[0]instanceof Blob&&ke(u[1])?d.append(r,u[0],u[1]):u.forEach(w=>{d.append(r,w)}):d.append(r,u);d.append(t.filename,t.file,t.file.name),i.addEventListener("error",()=>{t.onError(ne(n,t,i))}),i.addEventListener("load",()=>{if(i.status<200||i.status>=300)return t.onError(ne(n,t,i));t.onSuccess(Ve(i))}),i.open(t.method,n,!0),t.withCredentials&&"withCredentials"in i&&(i.withCredentials=!0);const p=t.headers||{};if(p instanceof Headers)p.forEach((r,u)=>i.setRequestHeader(u,r));else for(const[r,u]of Object.entries(p))fe(u)||i.setRequestHeader(r,String(u));return i.send(d),i},ve=["text","picture","picture-card"];let Ge=1;const J=()=>Date.now()+Ge++,ye=N({action:{type:String,default:"#"},headers:{type:f(Object)},method:{type:String,default:"post"},data:{type:f([Object,Function,Promise]),default:()=>V({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:f(Array),default:()=>V([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:ve,default:"text"},httpRequest:{type:f(Function),default:xe},disabled:{type:Boolean,default:void 0},limit:Number,directory:Boolean}),We=N({...ye,beforeUpload:{type:f(Function),default:h},beforeRemove:{type:f(Function)},onRemove:{type:f(Function),default:h},onChange:{type:f(Function),default:h},onPreview:{type:f(Function),default:h},onSuccess:{type:f(Function),default:h},onProgress:{type:f(Function),default:h},onError:{type:f(Function),default:h},onExceed:{type:f(Function),default:h},crossorigin:{type:f(String)}}),me=Symbol("uploadContextKey"),Je=N({files:{type:f(Array),default:()=>V([])},disabled:{type:Boolean,default:void 0},handlePreview:{type:f(Function),default:h},listType:{type:String,values:ve,default:"text"},crossorigin:{type:f(String)}}),Ye={remove:t=>!!t},Qe=N({...ye,beforeUpload:{type:f(Function),default:h},onRemove:{type:f(Function),default:h},onStart:{type:f(Function),default:h},onSuccess:{type:f(Function),default:h},onProgress:{type:f(Function),default:h},onError:{type:f(Function),default:h},onExceed:{type:f(Function),default:h}}),Ze=N({disabled:{type:Boolean,default:void 0},directory:Boolean}),et={file:t=>ce(t)},tt=["tabindex","aria-disabled","onKeydown"],at=["src","crossorigin"],st=["onClick"],ot=["title"],nt=["onClick"],lt=["onClick"];var rt=q({name:"ElUploadList",__name:"upload-list",props:Je,emits:Ye,setup(t,{emit:i}){const n=t,d=i,{t:p}=Ee(),r=K("upload"),u=K("icon"),w=K("list"),y=M(),P=pe(!1),C=G(()=>[r.b("list"),r.bm("list",n.listType),r.is("disabled",y.value)]),E=c=>{d("remove",c)};return(c,v)=>(b(),U(Ue,{tag:"ul",class:g(C.value),name:o(w).b()},{default:F(()=>[(b(!0),T(we,null,Re(t.files,(s,e)=>(b(),T("li",{key:s.uid||s.name,class:g([o(r).be("list","item"),o(r).is(s.status),{focusing:P.value}]),tabindex:o(y)?void 0:0,"aria-disabled":o(y),role:"button",onKeydown:x(a=>!o(y)&&E(s),["delete"]),onFocus:v[0]||(v[0]=a=>P.value=!0),onBlur:v[1]||(v[1]=a=>P.value=!1),onClick:v[2]||(v[2]=a=>P.value=!1)},[$(c.$slots,"default",{file:s,index:e},()=>[t.listType==="picture"||s.status!=="uploading"&&t.listType==="picture-card"?(b(),T("img",{key:0,class:g(o(r).be("list","item-thumbnail")),src:s.url,crossorigin:t.crossorigin,alt:""},null,10,at)):k("v-if",!0),s.status==="uploading"||t.listType!=="picture-card"?(b(),T("div",{key:1,class:g(o(r).be("list","item-info"))},[A("a",{class:g(o(r).be("list","item-name")),onClick:B(a=>t.handlePreview(s),["prevent"])},[S(o(D),{class:g(o(u).m("document"))},{default:F(()=>[S(o(Pe))]),_:1},8,["class"]),A("span",{class:g(o(r).be("list","item-file-name")),title:s.name},Q(s.name),11,ot)],10,st),s.status==="uploading"?(b(),U(o(ze),{key:0,type:t.listType==="picture-card"?"circle":"line","stroke-width":t.listType==="picture-card"?6:2,percentage:Number(s.percentage),style:$e(t.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):k("v-if",!0)],2)):k("v-if",!0),A("label",{class:g(o(r).be("list","item-status-label"))},[t.listType==="text"?(b(),U(o(D),{key:0,class:g([o(u).m("upload-success"),o(u).m("circle-check")])},{default:F(()=>[S(o(Fe))]),_:1},8,["class"])):["picture-card","picture"].includes(t.listType)?(b(),U(o(D),{key:1,class:g([o(u).m("upload-success"),o(u).m("check")])},{default:F(()=>[S(o(Ce))]),_:1},8,["class"])):k("v-if",!0)],2),o(y)?k("v-if",!0):(b(),U(o(D),{key:2,class:g(o(u).m("close")),"aria-label":o(p)("el.upload.delete"),role:"button",tabindex:"0",onClick:a=>E(s),onKeydown:x(B(a=>E(s),["prevent"]),["enter","space"])},{default:F(()=>[S(o(Se))]),_:1},8,["class","aria-label","onClick","onKeydown"])),o(y)?k("v-if",!0):(b(),T("i",{key:3,class:g(o(u).m("close-tip"))},Q(o(p)("el.upload.deleteTip")),3)),t.listType==="picture-card"?(b(),T("span",{key:4,class:g(o(r).be("list","item-actions"))},[A("span",{class:g(o(r).be("list","item-preview")),onClick:a=>t.handlePreview(s)},[S(o(D),{class:g(o(u).m("zoom-in"))},{default:F(()=>[S(o(Te))]),_:1},8,["class"])],10,nt),o(y)?k("v-if",!0):(b(),T("span",{key:0,class:g(o(r).be("list","item-delete")),onClick:a=>E(s)},[S(o(D),{class:g(o(u).m("delete"))},{default:F(()=>[S(o(Le))]),_:1},8,["class"])],10,lt))],2)):k("v-if",!0)])],42,tt))),128)),$(c.$slots,"append")]),_:3},8,["class","name"]))}}),le=rt;const re="ElUploadDrag";var it=q({name:re,__name:"upload-dragger",props:Ze,emits:et,setup(t,{emit:i}){const n=t,d=i;Be(me)||Y(re,"usage: ");const p=K("upload"),r=pe(!1),u=M(),w=c=>new Promise((v,s)=>c.file(v,s)),y=async c=>{try{if(c.isFile){const v=await w(c);return v.isDirectory=!1,[v]}if(c.isDirectory){const v=c.createReader(),s=()=>new Promise((m,R)=>v.readEntries(m,R)),e=[];let a=await s();for(;a.length>0;)e.push(...a),a=await s();const l=e.map(m=>y(m).catch(()=>[]));return se(await Promise.all(l))}}catch{return[]}return[]},P=async c=>{if(u.value)return;r.value=!1,c.stopPropagation();const v=Array.from(c.dataTransfer.files),s=c.dataTransfer.items||[];if(n.directory){const e=Array.from(s).map(a=>{var l;return(l=a==null?void 0:a.webkitGetAsEntry)==null?void 0:l.call(a)}).filter(a=>a);d("file",se(await Promise.all(e.map(y))));return}v.forEach((e,a)=>{var m,R;const l=(R=(m=s[a])==null?void 0:m.webkitGetAsEntry)==null?void 0:R.call(m);l&&(e.isDirectory=l.isDirectory)}),d("file",v)},C=()=>{u.value||(r.value=!0)},E=c=>{c.currentTarget.contains(c.relatedTarget)||(r.value=!1)};return(c,v)=>(b(),T("div",{class:g([o(p).b("dragger"),o(p).is("dragover",r.value)]),onDrop:B(P,["prevent"]),onDragover:B(C,["prevent"]),onDragleave:B(E,["prevent"])},[$(c.$slots,"default")],34))}}),ut=it;const dt=["tabindex","aria-disabled","onKeydown"],ct=["name","disabled","multiple","accept","webkitdirectory"];var ft=q({name:"ElUploadContent",inheritAttrs:!1,__name:"upload-content",props:Qe,setup(t,{expose:i}){const n=t,d=K("upload"),p=M(),r=W({}),u=W(),w=e=>{if(e.length===0)return;const{autoUpload:a,limit:l,fileList:m,multiple:R,onStart:L,onExceed:H}=n;if(l&&m.length+e.length>l){H(e,m);return}R||(e=e.slice(0,1));for(const _ of e){const O=_;O.uid=J(),L(O),a&&y(O)}},y=async e=>{if(u.value.value="",!n.beforeUpload)return C(e);let a,l={};try{const R=n.data,L=n.beforeUpload(e);l=Z(n.data)?oe(n.data):n.data,a=await L,Z(n.data)&&De(R,l)&&(l=oe(n.data))}catch{a=!1}if(a===!1){n.onRemove(e);return}let m=e;a instanceof Blob&&(a instanceof File?m=a:m=new File([a],e.name,{type:e.type})),C(Object.assign(m,{uid:e.uid}),l)},P=async(e,a)=>je(e)?e(a):e,C=async(e,a)=>{const{headers:l,data:m,method:R,withCredentials:L,name:H,action:_,onProgress:O,onSuccess:ge,onError:be,httpRequest:he}=n;try{a=await P(a??m,e)}catch{n.onRemove(e);return}const{uid:z}=e,I={headers:l||{},withCredentials:L,file:e,data:a,method:R,filename:H,action:_,onProgress:j=>{O(j,e)},onSuccess:j=>{ge(j,e),delete r.value[z]},onError:j=>{be(j,e),delete r.value[z]}},X=he(I);r.value[z]=X,X instanceof Promise&&X.then(I.onSuccess,I.onError)},E=e=>{const a=e.target.files;a&&w(Array.from(a))},c=()=>{p.value||(u.value.value="",u.value.click())},v=()=>{c()};return i({abort:e=>{Oe(r.value).filter(e?([a])=>String(e.uid)===a:()=>!0).forEach(([a,l])=>{l instanceof XMLHttpRequest&&l.abort(),delete r.value[a]})},upload:y}),(e,a)=>(b(),T("div",{class:g([o(d).b(),o(d).m(t.listType),o(d).is("drag",t.drag),o(d).is("disabled",o(p))]),tabindex:o(p)?void 0:0,"aria-disabled":o(p),role:"button",onClick:c,onKeydown:x(B(v,["self"]),["enter","space"])},[t.drag?(b(),U(ut,{key:0,disabled:o(p),directory:t.directory,onFile:w},{default:F(()=>[$(e.$slots,"default")]),_:3},8,["disabled","directory"])):$(e.$slots,"default",{key:1}),A("input",{ref_key:"inputRef",ref:u,class:g(o(d).e("input")),name:t.name,disabled:o(p),multiple:t.multiple,accept:t.accept,webkitdirectory:t.directory||void 0,type:"file",onChange:E,onClick:a[0]||(a[0]=B(()=>{},["stop"]))},null,42,ct)],42,dt))}}),ie=ft;const ue="ElUpload",de=t=>{var i;(i=t.url)!=null&&i.startsWith("blob:")&&URL.revokeObjectURL(t.url)},pt=(t,i)=>{const n=Ke(t,"fileList",void 0,{passive:!0}),d=s=>n.value.find(e=>e.uid===s.uid);function p(s){var e;(e=i.value)==null||e.abort(s)}function r(s=["ready","uploading","success","fail"]){n.value=n.value.filter(e=>!s.includes(e.status))}function u(s){n.value=n.value.filter(e=>e.uid!==s.uid)}const w=s=>{Ne(()=>t.onChange(s,n.value))},y=(s,e)=>{const a=d(e);a&&(console.error(s),a.status="fail",u(a),t.onError(s,a,n.value),w(a))},P=(s,e)=>{const a=d(e);a&&(t.onProgress(s,a,n.value),a.status="uploading",a.percentage=Math.round(s.percent))},C=(s,e)=>{const a=d(e);a&&(a.status="success",a.response=s,t.onSuccess(s,a,n.value),w(a))},E=s=>{fe(s.uid)&&(s.uid=J());const e={name:s.name,percentage:0,status:"ready",size:s.size,raw:s,uid:s.uid};if(t.listType==="picture-card"||t.listType==="picture")try{e.url=URL.createObjectURL(s)}catch(a){Ae(ue,a.message),t.onError(a,e,n.value)}n.value=[...n.value,e],w(e)},c=async s=>{const e=s instanceof File?d(s):s;e||Y(ue,"file to be removed not found");const a=l=>{p(l),u(l),t.onRemove(l,n.value),de(l)};t.beforeRemove?await t.beforeRemove(e,n.value)!==!1&&a(e):a(e)};function v(){n.value.filter(({status:s})=>s==="ready").forEach(({raw:s})=>{var e;return s&&((e=i.value)==null?void 0:e.upload(s))})}return ee(()=>t.listType,s=>{s!=="picture-card"&&s!=="picture"||(n.value=n.value.map(e=>{const{raw:a,url:l}=e;if(!l&&a)try{e.url=URL.createObjectURL(a)}catch(m){t.onError(m,e,n.value)}return e}))}),ee(n,s=>{for(const e of s)e.uid||(e.uid=J()),e.status||(e.status="success")},{immediate:!0,deep:!0}),{uploadFiles:n,abort:p,clearFiles:r,handleError:y,handleProgress:P,handleStart:E,handleSuccess:C,handleRemove:c,submit:v,revokeFileObjectURL:de}};var vt=q({name:"ElUpload",__name:"upload",props:We,setup(t,{expose:i}){const n=t,d=M(),p=W(),{abort:r,submit:u,clearFiles:w,uploadFiles:y,handleStart:P,handleError:C,handleRemove:E,handleSuccess:c,handleProgress:v,revokeFileObjectURL:s}=pt(n,p),e=G(()=>n.listType==="picture-card"),a=G(()=>({...n,fileList:y.value,onStart:P,onProgress:v,onSuccess:c,onError:C,onRemove:E}));return qe(()=>{y.value.forEach(s)}),Me(me,{accept:He(n,"accept")}),i({abort:r,submit:u,clearFiles:w,handleStart:P,handleRemove:E}),(l,m)=>(b(),T("div",null,[e.value&&t.showFileList?(b(),U(le,{key:0,disabled:o(d),"list-type":t.listType,files:o(y),crossorigin:t.crossorigin,"handle-preview":t.onPreview,onRemove:o(E)},te({append:F(()=>[S(ie,ae({ref_key:"uploadRef",ref:p},a.value),{default:F(()=>[l.$slots.trigger?$(l.$slots,"trigger",{key:0}):k("v-if",!0),!l.$slots.trigger&&l.$slots.default?$(l.$slots,"default",{key:1}):k("v-if",!0)]),_:3},16)]),_:2},[l.$slots.file?{name:"default",fn:F(({file:R,index:L})=>[$(l.$slots,"file",{file:R,index:L})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):k("v-if",!0),!e.value||e.value&&!t.showFileList?(b(),U(ie,ae({key:1,ref_key:"uploadRef",ref:p},a.value),{default:F(()=>[l.$slots.trigger?$(l.$slots,"trigger",{key:0}):k("v-if",!0),!l.$slots.trigger&&l.$slots.default?$(l.$slots,"default",{key:1}):k("v-if",!0)]),_:3},16)):k("v-if",!0),l.$slots.trigger?$(l.$slots,"default",{key:2}):k("v-if",!0),$(l.$slots,"tip"),!e.value&&t.showFileList?(b(),U(le,{key:3,disabled:o(d),"list-type":t.listType,files:o(y),crossorigin:t.crossorigin,"handle-preview":t.onPreview,onRemove:o(E)},te({_:2},[l.$slots.file?{name:"default",fn:F(({file:R,index:L})=>[$(l.$slots,"file",{file:R,index:L})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):k("v-if",!0)]))}}),yt=vt;const Et=_e(yt);export{Et as E}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-upload-9Z6SSyNu.js +import{C as Y,a6 as ce,J as ke,a8 as fe,b as N,R as f,a5 as V,aU as h,d as q,aW as Ee,a as K,o as b,e as U,w as F,c as T,M as we,ad as Re,t as x,f as o,n as g,h as $,g as k,q as A,aL as B,s as S,E as D,a_ as Pe,aa as Q,al as $e,a$ as Fe,b0 as Ce,b1 as Se,b2 as Te,b3 as Le,b4 as Ue,y as pe,j as G,B as Be,aT as W,b5 as Z,b6 as De,b7 as Oe,b8 as je,D as ee,aK as Ae,b9 as Ke,P as Ne,H as qe,aX as te,Y as ae,F as Me,a9 as He,l as _e}from"./index-Ds9AETjS.js";import{c as M}from"./index-BNsCyG4A.js";import{E as ze}from"./el-progress-Dz5Z3t_E.js";import{f as se}from"./index-BSbCLbaz.js";import{c as oe}from"./el-form-item-Bq0n_p5a.js";const Ie="ElUpload";var Xe=class extends Error{constructor(t,i,n,d){super(t),this.name="UploadAjaxError",this.status=i,this.method=n,this.url=d}};function ne(t,i,n){let d;return n.response?d=`${n.response.error||n.response}`:n.responseText?d=`${n.responseText}`:d=`fail to ${i.method} ${t} ${n.status}`,new Xe(d,n.status,i.method,t)}function Ve(t){const i=t.responseText||t.response;if(!i)return i;try{return JSON.parse(i)}catch{return i}}const xe=t=>{typeof XMLHttpRequest>"u"&&Y(Ie,"XMLHttpRequest is undefined");const i=new XMLHttpRequest,n=t.action;i.upload&&i.upload.addEventListener("progress",r=>{const u=r;u.percent=r.total>0?r.loaded/r.total*100:0,t.onProgress(u)});const d=new FormData;if(t.data)for(const[r,u]of Object.entries(t.data))ce(u)?u.length===2&&u[0]instanceof Blob&&ke(u[1])?d.append(r,u[0],u[1]):u.forEach(w=>{d.append(r,w)}):d.append(r,u);d.append(t.filename,t.file,t.file.name),i.addEventListener("error",()=>{t.onError(ne(n,t,i))}),i.addEventListener("load",()=>{if(i.status<200||i.status>=300)return t.onError(ne(n,t,i));t.onSuccess(Ve(i))}),i.open(t.method,n,!0),t.withCredentials&&"withCredentials"in i&&(i.withCredentials=!0);const p=t.headers||{};if(p instanceof Headers)p.forEach((r,u)=>i.setRequestHeader(u,r));else for(const[r,u]of Object.entries(p))fe(u)||i.setRequestHeader(r,String(u));return i.send(d),i},ve=["text","picture","picture-card"];let Ge=1;const J=()=>Date.now()+Ge++,ye=N({action:{type:String,default:"#"},headers:{type:f(Object)},method:{type:String,default:"post"},data:{type:f([Object,Function,Promise]),default:()=>V({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:f(Array),default:()=>V([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:ve,default:"text"},httpRequest:{type:f(Function),default:xe},disabled:{type:Boolean,default:void 0},limit:Number,directory:Boolean}),We=N({...ye,beforeUpload:{type:f(Function),default:h},beforeRemove:{type:f(Function)},onRemove:{type:f(Function),default:h},onChange:{type:f(Function),default:h},onPreview:{type:f(Function),default:h},onSuccess:{type:f(Function),default:h},onProgress:{type:f(Function),default:h},onError:{type:f(Function),default:h},onExceed:{type:f(Function),default:h},crossorigin:{type:f(String)}}),me=Symbol("uploadContextKey"),Je=N({files:{type:f(Array),default:()=>V([])},disabled:{type:Boolean,default:void 0},handlePreview:{type:f(Function),default:h},listType:{type:String,values:ve,default:"text"},crossorigin:{type:f(String)}}),Ye={remove:t=>!!t},Qe=N({...ye,beforeUpload:{type:f(Function),default:h},onRemove:{type:f(Function),default:h},onStart:{type:f(Function),default:h},onSuccess:{type:f(Function),default:h},onProgress:{type:f(Function),default:h},onError:{type:f(Function),default:h},onExceed:{type:f(Function),default:h}}),Ze=N({disabled:{type:Boolean,default:void 0},directory:Boolean}),et={file:t=>ce(t)},tt=["tabindex","aria-disabled","onKeydown"],at=["src","crossorigin"],st=["onClick"],ot=["title"],nt=["onClick"],lt=["onClick"];var rt=q({name:"ElUploadList",__name:"upload-list",props:Je,emits:Ye,setup(t,{emit:i}){const n=t,d=i,{t:p}=Ee(),r=K("upload"),u=K("icon"),w=K("list"),y=M(),P=pe(!1),C=G(()=>[r.b("list"),r.bm("list",n.listType),r.is("disabled",y.value)]),E=c=>{d("remove",c)};return(c,v)=>(b(),U(Ue,{tag:"ul",class:g(C.value),name:o(w).b()},{default:F(()=>[(b(!0),T(we,null,Re(t.files,(s,e)=>(b(),T("li",{key:s.uid||s.name,class:g([o(r).be("list","item"),o(r).is(s.status),{focusing:P.value}]),tabindex:o(y)?void 0:0,"aria-disabled":o(y),role:"button",onKeydown:x(a=>!o(y)&&E(s),["delete"]),onFocus:v[0]||(v[0]=a=>P.value=!0),onBlur:v[1]||(v[1]=a=>P.value=!1),onClick:v[2]||(v[2]=a=>P.value=!1)},[$(c.$slots,"default",{file:s,index:e},()=>[t.listType==="picture"||s.status!=="uploading"&&t.listType==="picture-card"?(b(),T("img",{key:0,class:g(o(r).be("list","item-thumbnail")),src:s.url,crossorigin:t.crossorigin,alt:""},null,10,at)):k("v-if",!0),s.status==="uploading"||t.listType!=="picture-card"?(b(),T("div",{key:1,class:g(o(r).be("list","item-info"))},[A("a",{class:g(o(r).be("list","item-name")),onClick:B(a=>t.handlePreview(s),["prevent"])},[S(o(D),{class:g(o(u).m("document"))},{default:F(()=>[S(o(Pe))]),_:1},8,["class"]),A("span",{class:g(o(r).be("list","item-file-name")),title:s.name},Q(s.name),11,ot)],10,st),s.status==="uploading"?(b(),U(o(ze),{key:0,type:t.listType==="picture-card"?"circle":"line","stroke-width":t.listType==="picture-card"?6:2,percentage:Number(s.percentage),style:$e(t.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):k("v-if",!0)],2)):k("v-if",!0),A("label",{class:g(o(r).be("list","item-status-label"))},[t.listType==="text"?(b(),U(o(D),{key:0,class:g([o(u).m("upload-success"),o(u).m("circle-check")])},{default:F(()=>[S(o(Fe))]),_:1},8,["class"])):["picture-card","picture"].includes(t.listType)?(b(),U(o(D),{key:1,class:g([o(u).m("upload-success"),o(u).m("check")])},{default:F(()=>[S(o(Ce))]),_:1},8,["class"])):k("v-if",!0)],2),o(y)?k("v-if",!0):(b(),U(o(D),{key:2,class:g(o(u).m("close")),"aria-label":o(p)("el.upload.delete"),role:"button",tabindex:"0",onClick:a=>E(s),onKeydown:x(B(a=>E(s),["prevent"]),["enter","space"])},{default:F(()=>[S(o(Se))]),_:1},8,["class","aria-label","onClick","onKeydown"])),o(y)?k("v-if",!0):(b(),T("i",{key:3,class:g(o(u).m("close-tip"))},Q(o(p)("el.upload.deleteTip")),3)),t.listType==="picture-card"?(b(),T("span",{key:4,class:g(o(r).be("list","item-actions"))},[A("span",{class:g(o(r).be("list","item-preview")),onClick:a=>t.handlePreview(s)},[S(o(D),{class:g(o(u).m("zoom-in"))},{default:F(()=>[S(o(Te))]),_:1},8,["class"])],10,nt),o(y)?k("v-if",!0):(b(),T("span",{key:0,class:g(o(r).be("list","item-delete")),onClick:a=>E(s)},[S(o(D),{class:g(o(u).m("delete"))},{default:F(()=>[S(o(Le))]),_:1},8,["class"])],10,lt))],2)):k("v-if",!0)])],42,tt))),128)),$(c.$slots,"append")]),_:3},8,["class","name"]))}}),le=rt;const re="ElUploadDrag";var it=q({name:re,__name:"upload-dragger",props:Ze,emits:et,setup(t,{emit:i}){const n=t,d=i;Be(me)||Y(re,"usage: ");const p=K("upload"),r=pe(!1),u=M(),w=c=>new Promise((v,s)=>c.file(v,s)),y=async c=>{try{if(c.isFile){const v=await w(c);return v.isDirectory=!1,[v]}if(c.isDirectory){const v=c.createReader(),s=()=>new Promise((m,R)=>v.readEntries(m,R)),e=[];let a=await s();for(;a.length>0;)e.push(...a),a=await s();const l=e.map(m=>y(m).catch(()=>[]));return se(await Promise.all(l))}}catch{return[]}return[]},P=async c=>{if(u.value)return;r.value=!1,c.stopPropagation();const v=Array.from(c.dataTransfer.files),s=c.dataTransfer.items||[];if(n.directory){const e=Array.from(s).map(a=>{var l;return(l=a==null?void 0:a.webkitGetAsEntry)==null?void 0:l.call(a)}).filter(a=>a);d("file",se(await Promise.all(e.map(y))));return}v.forEach((e,a)=>{var m,R;const l=(R=(m=s[a])==null?void 0:m.webkitGetAsEntry)==null?void 0:R.call(m);l&&(e.isDirectory=l.isDirectory)}),d("file",v)},C=()=>{u.value||(r.value=!0)},E=c=>{c.currentTarget.contains(c.relatedTarget)||(r.value=!1)};return(c,v)=>(b(),T("div",{class:g([o(p).b("dragger"),o(p).is("dragover",r.value)]),onDrop:B(P,["prevent"]),onDragover:B(C,["prevent"]),onDragleave:B(E,["prevent"])},[$(c.$slots,"default")],34))}}),ut=it;const dt=["tabindex","aria-disabled","onKeydown"],ct=["name","disabled","multiple","accept","webkitdirectory"];var ft=q({name:"ElUploadContent",inheritAttrs:!1,__name:"upload-content",props:Qe,setup(t,{expose:i}){const n=t,d=K("upload"),p=M(),r=W({}),u=W(),w=e=>{if(e.length===0)return;const{autoUpload:a,limit:l,fileList:m,multiple:R,onStart:L,onExceed:H}=n;if(l&&m.length+e.length>l){H(e,m);return}R||(e=e.slice(0,1));for(const _ of e){const O=_;O.uid=J(),L(O),a&&y(O)}},y=async e=>{if(u.value.value="",!n.beforeUpload)return C(e);let a,l={};try{const R=n.data,L=n.beforeUpload(e);l=Z(n.data)?oe(n.data):n.data,a=await L,Z(n.data)&&De(R,l)&&(l=oe(n.data))}catch{a=!1}if(a===!1){n.onRemove(e);return}let m=e;a instanceof Blob&&(a instanceof File?m=a:m=new File([a],e.name,{type:e.type})),C(Object.assign(m,{uid:e.uid}),l)},P=async(e,a)=>je(e)?e(a):e,C=async(e,a)=>{const{headers:l,data:m,method:R,withCredentials:L,name:H,action:_,onProgress:O,onSuccess:ge,onError:be,httpRequest:he}=n;try{a=await P(a??m,e)}catch{n.onRemove(e);return}const{uid:z}=e,I={headers:l||{},withCredentials:L,file:e,data:a,method:R,filename:H,action:_,onProgress:j=>{O(j,e)},onSuccess:j=>{ge(j,e),delete r.value[z]},onError:j=>{be(j,e),delete r.value[z]}},X=he(I);r.value[z]=X,X instanceof Promise&&X.then(I.onSuccess,I.onError)},E=e=>{const a=e.target.files;a&&w(Array.from(a))},c=()=>{p.value||(u.value.value="",u.value.click())},v=()=>{c()};return i({abort:e=>{Oe(r.value).filter(e?([a])=>String(e.uid)===a:()=>!0).forEach(([a,l])=>{l instanceof XMLHttpRequest&&l.abort(),delete r.value[a]})},upload:y}),(e,a)=>(b(),T("div",{class:g([o(d).b(),o(d).m(t.listType),o(d).is("drag",t.drag),o(d).is("disabled",o(p))]),tabindex:o(p)?void 0:0,"aria-disabled":o(p),role:"button",onClick:c,onKeydown:x(B(v,["self"]),["enter","space"])},[t.drag?(b(),U(ut,{key:0,disabled:o(p),directory:t.directory,onFile:w},{default:F(()=>[$(e.$slots,"default")]),_:3},8,["disabled","directory"])):$(e.$slots,"default",{key:1}),A("input",{ref_key:"inputRef",ref:u,class:g(o(d).e("input")),name:t.name,disabled:o(p),multiple:t.multiple,accept:t.accept,webkitdirectory:t.directory||void 0,type:"file",onChange:E,onClick:a[0]||(a[0]=B(()=>{},["stop"]))},null,42,ct)],42,dt))}}),ie=ft;const ue="ElUpload",de=t=>{var i;(i=t.url)!=null&&i.startsWith("blob:")&&URL.revokeObjectURL(t.url)},pt=(t,i)=>{const n=Ke(t,"fileList",void 0,{passive:!0}),d=s=>n.value.find(e=>e.uid===s.uid);function p(s){var e;(e=i.value)==null||e.abort(s)}function r(s=["ready","uploading","success","fail"]){n.value=n.value.filter(e=>!s.includes(e.status))}function u(s){n.value=n.value.filter(e=>e.uid!==s.uid)}const w=s=>{Ne(()=>t.onChange(s,n.value))},y=(s,e)=>{const a=d(e);a&&(console.error(s),a.status="fail",u(a),t.onError(s,a,n.value),w(a))},P=(s,e)=>{const a=d(e);a&&(t.onProgress(s,a,n.value),a.status="uploading",a.percentage=Math.round(s.percent))},C=(s,e)=>{const a=d(e);a&&(a.status="success",a.response=s,t.onSuccess(s,a,n.value),w(a))},E=s=>{fe(s.uid)&&(s.uid=J());const e={name:s.name,percentage:0,status:"ready",size:s.size,raw:s,uid:s.uid};if(t.listType==="picture-card"||t.listType==="picture")try{e.url=URL.createObjectURL(s)}catch(a){Ae(ue,a.message),t.onError(a,e,n.value)}n.value=[...n.value,e],w(e)},c=async s=>{const e=s instanceof File?d(s):s;e||Y(ue,"file to be removed not found");const a=l=>{p(l),u(l),t.onRemove(l,n.value),de(l)};t.beforeRemove?await t.beforeRemove(e,n.value)!==!1&&a(e):a(e)};function v(){n.value.filter(({status:s})=>s==="ready").forEach(({raw:s})=>{var e;return s&&((e=i.value)==null?void 0:e.upload(s))})}return ee(()=>t.listType,s=>{s!=="picture-card"&&s!=="picture"||(n.value=n.value.map(e=>{const{raw:a,url:l}=e;if(!l&&a)try{e.url=URL.createObjectURL(a)}catch(m){t.onError(m,e,n.value)}return e}))}),ee(n,s=>{for(const e of s)e.uid||(e.uid=J()),e.status||(e.status="success")},{immediate:!0,deep:!0}),{uploadFiles:n,abort:p,clearFiles:r,handleError:y,handleProgress:P,handleStart:E,handleSuccess:C,handleRemove:c,submit:v,revokeFileObjectURL:de}};var vt=q({name:"ElUpload",__name:"upload",props:We,setup(t,{expose:i}){const n=t,d=M(),p=W(),{abort:r,submit:u,clearFiles:w,uploadFiles:y,handleStart:P,handleError:C,handleRemove:E,handleSuccess:c,handleProgress:v,revokeFileObjectURL:s}=pt(n,p),e=G(()=>n.listType==="picture-card"),a=G(()=>({...n,fileList:y.value,onStart:P,onProgress:v,onSuccess:c,onError:C,onRemove:E}));return qe(()=>{y.value.forEach(s)}),Me(me,{accept:He(n,"accept")}),i({abort:r,submit:u,clearFiles:w,handleStart:P,handleRemove:E}),(l,m)=>(b(),T("div",null,[e.value&&t.showFileList?(b(),U(le,{key:0,disabled:o(d),"list-type":t.listType,files:o(y),crossorigin:t.crossorigin,"handle-preview":t.onPreview,onRemove:o(E)},te({append:F(()=>[S(ie,ae({ref_key:"uploadRef",ref:p},a.value),{default:F(()=>[l.$slots.trigger?$(l.$slots,"trigger",{key:0}):k("v-if",!0),!l.$slots.trigger&&l.$slots.default?$(l.$slots,"default",{key:1}):k("v-if",!0)]),_:3},16)]),_:2},[l.$slots.file?{name:"default",fn:F(({file:R,index:L})=>[$(l.$slots,"file",{file:R,index:L})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):k("v-if",!0),!e.value||e.value&&!t.showFileList?(b(),U(ie,ae({key:1,ref_key:"uploadRef",ref:p},a.value),{default:F(()=>[l.$slots.trigger?$(l.$slots,"trigger",{key:0}):k("v-if",!0),!l.$slots.trigger&&l.$slots.default?$(l.$slots,"default",{key:1}):k("v-if",!0)]),_:3},16)):k("v-if",!0),l.$slots.trigger?$(l.$slots,"default",{key:2}):k("v-if",!0),$(l.$slots,"tip"),!e.value&&t.showFileList?(b(),U(le,{key:3,disabled:o(d),"list-type":t.listType,files:o(y),crossorigin:t.crossorigin,"handle-preview":t.onPreview,onRemove:o(E)},te({_:2},[l.$slots.file?{name:"default",fn:F(({file:R,index:L})=>[$(l.$slots,"file",{file:R,index:L})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):k("v-if",!0)]))}}),yt=vt;const Et=_e(yt);export{Et as E}; +======== +import{C as Q,a6 as ce,J as ke,a8 as fe,b as N,R as f,a5 as V,aU as h,d as q,aW as Ee,a as K,o as b,e as U,w as F,c as T,M as we,ad as Re,t as x,f as o,n as g,h as $,g as k,q as A,aL as B,s as S,E as D,a_ as Pe,aa as Y,al as $e,a$ as Fe,b0 as Ce,b1 as Se,b2 as Te,b3 as Le,b4 as Ue,y as pe,j as G,B as Be,aQ as W,b5 as Z,b6 as De,b7 as Oe,b8 as je,D as ee,aK as Ae,b9 as Ke,P as Ne,H as qe,aX as te,Y as ae,F as Me,a9 as He,l as _e}from"./index-CxbBjZKo.js";import{c as M}from"./index-D23K2h6y.js";import{E as ze}from"./el-progress-Br676mBH.js";import{f as se}from"./index-DxP0p4ch.js";import{c as oe}from"./el-form-item-BA3ZlfqF.js";const Ie="ElUpload";var Xe=class extends Error{constructor(t,i,n,d){super(t),this.name="UploadAjaxError",this.status=i,this.method=n,this.url=d}};function ne(t,i,n){let d;return n.response?d=`${n.response.error||n.response}`:n.responseText?d=`${n.responseText}`:d=`fail to ${i.method} ${t} ${n.status}`,new Xe(d,n.status,i.method,t)}function Ve(t){const i=t.responseText||t.response;if(!i)return i;try{return JSON.parse(i)}catch{return i}}const xe=t=>{typeof XMLHttpRequest>"u"&&Q(Ie,"XMLHttpRequest is undefined");const i=new XMLHttpRequest,n=t.action;i.upload&&i.upload.addEventListener("progress",r=>{const u=r;u.percent=r.total>0?r.loaded/r.total*100:0,t.onProgress(u)});const d=new FormData;if(t.data)for(const[r,u]of Object.entries(t.data))ce(u)?u.length===2&&u[0]instanceof Blob&&ke(u[1])?d.append(r,u[0],u[1]):u.forEach(w=>{d.append(r,w)}):d.append(r,u);d.append(t.filename,t.file,t.file.name),i.addEventListener("error",()=>{t.onError(ne(n,t,i))}),i.addEventListener("load",()=>{if(i.status<200||i.status>=300)return t.onError(ne(n,t,i));t.onSuccess(Ve(i))}),i.open(t.method,n,!0),t.withCredentials&&"withCredentials"in i&&(i.withCredentials=!0);const p=t.headers||{};if(p instanceof Headers)p.forEach((r,u)=>i.setRequestHeader(u,r));else for(const[r,u]of Object.entries(p))fe(u)||i.setRequestHeader(r,String(u));return i.send(d),i},ve=["text","picture","picture-card"];let Ge=1;const J=()=>Date.now()+Ge++,ye=N({action:{type:String,default:"#"},headers:{type:f(Object)},method:{type:String,default:"post"},data:{type:f([Object,Function,Promise]),default:()=>V({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:f(Array),default:()=>V([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:ve,default:"text"},httpRequest:{type:f(Function),default:xe},disabled:{type:Boolean,default:void 0},limit:Number,directory:Boolean}),We=N({...ye,beforeUpload:{type:f(Function),default:h},beforeRemove:{type:f(Function)},onRemove:{type:f(Function),default:h},onChange:{type:f(Function),default:h},onPreview:{type:f(Function),default:h},onSuccess:{type:f(Function),default:h},onProgress:{type:f(Function),default:h},onError:{type:f(Function),default:h},onExceed:{type:f(Function),default:h},crossorigin:{type:f(String)}}),me=Symbol("uploadContextKey"),Je=N({files:{type:f(Array),default:()=>V([])},disabled:{type:Boolean,default:void 0},handlePreview:{type:f(Function),default:h},listType:{type:String,values:ve,default:"text"},crossorigin:{type:f(String)}}),Qe={remove:t=>!!t},Ye=N({...ye,beforeUpload:{type:f(Function),default:h},onRemove:{type:f(Function),default:h},onStart:{type:f(Function),default:h},onSuccess:{type:f(Function),default:h},onProgress:{type:f(Function),default:h},onError:{type:f(Function),default:h},onExceed:{type:f(Function),default:h}}),Ze=N({disabled:{type:Boolean,default:void 0},directory:Boolean}),et={file:t=>ce(t)},tt=["tabindex","aria-disabled","onKeydown"],at=["src","crossorigin"],st=["onClick"],ot=["title"],nt=["onClick"],lt=["onClick"];var rt=q({name:"ElUploadList",__name:"upload-list",props:Je,emits:Qe,setup(t,{emit:i}){const n=t,d=i,{t:p}=Ee(),r=K("upload"),u=K("icon"),w=K("list"),y=M(),P=pe(!1),C=G(()=>[r.b("list"),r.bm("list",n.listType),r.is("disabled",y.value)]),E=c=>{d("remove",c)};return(c,v)=>(b(),U(Ue,{tag:"ul",class:g(C.value),name:o(w).b()},{default:F(()=>[(b(!0),T(we,null,Re(t.files,(s,e)=>(b(),T("li",{key:s.uid||s.name,class:g([o(r).be("list","item"),o(r).is(s.status),{focusing:P.value}]),tabindex:o(y)?void 0:0,"aria-disabled":o(y),role:"button",onKeydown:x(a=>!o(y)&&E(s),["delete"]),onFocus:v[0]||(v[0]=a=>P.value=!0),onBlur:v[1]||(v[1]=a=>P.value=!1),onClick:v[2]||(v[2]=a=>P.value=!1)},[$(c.$slots,"default",{file:s,index:e},()=>[t.listType==="picture"||s.status!=="uploading"&&t.listType==="picture-card"?(b(),T("img",{key:0,class:g(o(r).be("list","item-thumbnail")),src:s.url,crossorigin:t.crossorigin,alt:""},null,10,at)):k("v-if",!0),s.status==="uploading"||t.listType!=="picture-card"?(b(),T("div",{key:1,class:g(o(r).be("list","item-info"))},[A("a",{class:g(o(r).be("list","item-name")),onClick:B(a=>t.handlePreview(s),["prevent"])},[S(o(D),{class:g(o(u).m("document"))},{default:F(()=>[S(o(Pe))]),_:1},8,["class"]),A("span",{class:g(o(r).be("list","item-file-name")),title:s.name},Y(s.name),11,ot)],10,st),s.status==="uploading"?(b(),U(o(ze),{key:0,type:t.listType==="picture-card"?"circle":"line","stroke-width":t.listType==="picture-card"?6:2,percentage:Number(s.percentage),style:$e(t.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):k("v-if",!0)],2)):k("v-if",!0),A("label",{class:g(o(r).be("list","item-status-label"))},[t.listType==="text"?(b(),U(o(D),{key:0,class:g([o(u).m("upload-success"),o(u).m("circle-check")])},{default:F(()=>[S(o(Fe))]),_:1},8,["class"])):["picture-card","picture"].includes(t.listType)?(b(),U(o(D),{key:1,class:g([o(u).m("upload-success"),o(u).m("check")])},{default:F(()=>[S(o(Ce))]),_:1},8,["class"])):k("v-if",!0)],2),o(y)?k("v-if",!0):(b(),U(o(D),{key:2,class:g(o(u).m("close")),"aria-label":o(p)("el.upload.delete"),role:"button",tabindex:"0",onClick:a=>E(s),onKeydown:x(B(a=>E(s),["prevent"]),["enter","space"])},{default:F(()=>[S(o(Se))]),_:1},8,["class","aria-label","onClick","onKeydown"])),o(y)?k("v-if",!0):(b(),T("i",{key:3,class:g(o(u).m("close-tip"))},Y(o(p)("el.upload.deleteTip")),3)),t.listType==="picture-card"?(b(),T("span",{key:4,class:g(o(r).be("list","item-actions"))},[A("span",{class:g(o(r).be("list","item-preview")),onClick:a=>t.handlePreview(s)},[S(o(D),{class:g(o(u).m("zoom-in"))},{default:F(()=>[S(o(Te))]),_:1},8,["class"])],10,nt),o(y)?k("v-if",!0):(b(),T("span",{key:0,class:g(o(r).be("list","item-delete")),onClick:a=>E(s)},[S(o(D),{class:g(o(u).m("delete"))},{default:F(()=>[S(o(Le))]),_:1},8,["class"])],10,lt))],2)):k("v-if",!0)])],42,tt))),128)),$(c.$slots,"append")]),_:3},8,["class","name"]))}}),le=rt;const re="ElUploadDrag";var it=q({name:re,__name:"upload-dragger",props:Ze,emits:et,setup(t,{emit:i}){const n=t,d=i;Be(me)||Q(re,"usage: ");const p=K("upload"),r=pe(!1),u=M(),w=c=>new Promise((v,s)=>c.file(v,s)),y=async c=>{try{if(c.isFile){const v=await w(c);return v.isDirectory=!1,[v]}if(c.isDirectory){const v=c.createReader(),s=()=>new Promise((m,R)=>v.readEntries(m,R)),e=[];let a=await s();for(;a.length>0;)e.push(...a),a=await s();const l=e.map(m=>y(m).catch(()=>[]));return se(await Promise.all(l))}}catch{return[]}return[]},P=async c=>{if(u.value)return;r.value=!1,c.stopPropagation();const v=Array.from(c.dataTransfer.files),s=c.dataTransfer.items||[];if(n.directory){const e=Array.from(s).map(a=>{var l;return(l=a==null?void 0:a.webkitGetAsEntry)==null?void 0:l.call(a)}).filter(a=>a);d("file",se(await Promise.all(e.map(y))));return}v.forEach((e,a)=>{var m,R;const l=(R=(m=s[a])==null?void 0:m.webkitGetAsEntry)==null?void 0:R.call(m);l&&(e.isDirectory=l.isDirectory)}),d("file",v)},C=()=>{u.value||(r.value=!0)},E=c=>{c.currentTarget.contains(c.relatedTarget)||(r.value=!1)};return(c,v)=>(b(),T("div",{class:g([o(p).b("dragger"),o(p).is("dragover",r.value)]),onDrop:B(P,["prevent"]),onDragover:B(C,["prevent"]),onDragleave:B(E,["prevent"])},[$(c.$slots,"default")],34))}}),ut=it;const dt=["tabindex","aria-disabled","onKeydown"],ct=["name","disabled","multiple","accept","webkitdirectory"];var ft=q({name:"ElUploadContent",inheritAttrs:!1,__name:"upload-content",props:Ye,setup(t,{expose:i}){const n=t,d=K("upload"),p=M(),r=W({}),u=W(),w=e=>{if(e.length===0)return;const{autoUpload:a,limit:l,fileList:m,multiple:R,onStart:L,onExceed:H}=n;if(l&&m.length+e.length>l){H(e,m);return}R||(e=e.slice(0,1));for(const _ of e){const O=_;O.uid=J(),L(O),a&&y(O)}},y=async e=>{if(u.value.value="",!n.beforeUpload)return C(e);let a,l={};try{const R=n.data,L=n.beforeUpload(e);l=Z(n.data)?oe(n.data):n.data,a=await L,Z(n.data)&&De(R,l)&&(l=oe(n.data))}catch{a=!1}if(a===!1){n.onRemove(e);return}let m=e;a instanceof Blob&&(a instanceof File?m=a:m=new File([a],e.name,{type:e.type})),C(Object.assign(m,{uid:e.uid}),l)},P=async(e,a)=>je(e)?e(a):e,C=async(e,a)=>{const{headers:l,data:m,method:R,withCredentials:L,name:H,action:_,onProgress:O,onSuccess:ge,onError:be,httpRequest:he}=n;try{a=await P(a??m,e)}catch{n.onRemove(e);return}const{uid:z}=e,I={headers:l||{},withCredentials:L,file:e,data:a,method:R,filename:H,action:_,onProgress:j=>{O(j,e)},onSuccess:j=>{ge(j,e),delete r.value[z]},onError:j=>{be(j,e),delete r.value[z]}},X=he(I);r.value[z]=X,X instanceof Promise&&X.then(I.onSuccess,I.onError)},E=e=>{const a=e.target.files;a&&w(Array.from(a))},c=()=>{p.value||(u.value.value="",u.value.click())},v=()=>{c()};return i({abort:e=>{Oe(r.value).filter(e?([a])=>String(e.uid)===a:()=>!0).forEach(([a,l])=>{l instanceof XMLHttpRequest&&l.abort(),delete r.value[a]})},upload:y}),(e,a)=>(b(),T("div",{class:g([o(d).b(),o(d).m(t.listType),o(d).is("drag",t.drag),o(d).is("disabled",o(p))]),tabindex:o(p)?void 0:0,"aria-disabled":o(p),role:"button",onClick:c,onKeydown:x(B(v,["self"]),["enter","space"])},[t.drag?(b(),U(ut,{key:0,disabled:o(p),directory:t.directory,onFile:w},{default:F(()=>[$(e.$slots,"default")]),_:3},8,["disabled","directory"])):$(e.$slots,"default",{key:1}),A("input",{ref_key:"inputRef",ref:u,class:g(o(d).e("input")),name:t.name,disabled:o(p),multiple:t.multiple,accept:t.accept,webkitdirectory:t.directory||void 0,type:"file",onChange:E,onClick:a[0]||(a[0]=B(()=>{},["stop"]))},null,42,ct)],42,dt))}}),ie=ft;const ue="ElUpload",de=t=>{var i;(i=t.url)!=null&&i.startsWith("blob:")&&URL.revokeObjectURL(t.url)},pt=(t,i)=>{const n=Ke(t,"fileList",void 0,{passive:!0}),d=s=>n.value.find(e=>e.uid===s.uid);function p(s){var e;(e=i.value)==null||e.abort(s)}function r(s=["ready","uploading","success","fail"]){n.value=n.value.filter(e=>!s.includes(e.status))}function u(s){n.value=n.value.filter(e=>e.uid!==s.uid)}const w=s=>{Ne(()=>t.onChange(s,n.value))},y=(s,e)=>{const a=d(e);a&&(console.error(s),a.status="fail",u(a),t.onError(s,a,n.value),w(a))},P=(s,e)=>{const a=d(e);a&&(t.onProgress(s,a,n.value),a.status="uploading",a.percentage=Math.round(s.percent))},C=(s,e)=>{const a=d(e);a&&(a.status="success",a.response=s,t.onSuccess(s,a,n.value),w(a))},E=s=>{fe(s.uid)&&(s.uid=J());const e={name:s.name,percentage:0,status:"ready",size:s.size,raw:s,uid:s.uid};if(t.listType==="picture-card"||t.listType==="picture")try{e.url=URL.createObjectURL(s)}catch(a){Ae(ue,a.message),t.onError(a,e,n.value)}n.value=[...n.value,e],w(e)},c=async s=>{const e=s instanceof File?d(s):s;e||Q(ue,"file to be removed not found");const a=l=>{p(l),u(l),t.onRemove(l,n.value),de(l)};t.beforeRemove?await t.beforeRemove(e,n.value)!==!1&&a(e):a(e)};function v(){n.value.filter(({status:s})=>s==="ready").forEach(({raw:s})=>{var e;return s&&((e=i.value)==null?void 0:e.upload(s))})}return ee(()=>t.listType,s=>{s!=="picture-card"&&s!=="picture"||(n.value=n.value.map(e=>{const{raw:a,url:l}=e;if(!l&&a)try{e.url=URL.createObjectURL(a)}catch(m){t.onError(m,e,n.value)}return e}))}),ee(n,s=>{for(const e of s)e.uid||(e.uid=J()),e.status||(e.status="success")},{immediate:!0,deep:!0}),{uploadFiles:n,abort:p,clearFiles:r,handleError:y,handleProgress:P,handleStart:E,handleSuccess:C,handleRemove:c,submit:v,revokeFileObjectURL:de}};var vt=q({name:"ElUpload",__name:"upload",props:We,setup(t,{expose:i}){const n=t,d=M(),p=W(),{abort:r,submit:u,clearFiles:w,uploadFiles:y,handleStart:P,handleError:C,handleRemove:E,handleSuccess:c,handleProgress:v,revokeFileObjectURL:s}=pt(n,p),e=G(()=>n.listType==="picture-card"),a=G(()=>({...n,fileList:y.value,onStart:P,onProgress:v,onSuccess:c,onError:C,onRemove:E}));return qe(()=>{y.value.forEach(s)}),Me(me,{accept:He(n,"accept")}),i({abort:r,submit:u,clearFiles:w,handleStart:P,handleRemove:E}),(l,m)=>(b(),T("div",null,[e.value&&t.showFileList?(b(),U(le,{key:0,disabled:o(d),"list-type":t.listType,files:o(y),crossorigin:t.crossorigin,"handle-preview":t.onPreview,onRemove:o(E)},te({append:F(()=>[S(ie,ae({ref_key:"uploadRef",ref:p},a.value),{default:F(()=>[l.$slots.trigger?$(l.$slots,"trigger",{key:0}):k("v-if",!0),!l.$slots.trigger&&l.$slots.default?$(l.$slots,"default",{key:1}):k("v-if",!0)]),_:3},16)]),_:2},[l.$slots.file?{name:"default",fn:F(({file:R,index:L})=>[$(l.$slots,"file",{file:R,index:L})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):k("v-if",!0),!e.value||e.value&&!t.showFileList?(b(),U(ie,ae({key:1,ref_key:"uploadRef",ref:p},a.value),{default:F(()=>[l.$slots.trigger?$(l.$slots,"trigger",{key:0}):k("v-if",!0),!l.$slots.trigger&&l.$slots.default?$(l.$slots,"default",{key:1}):k("v-if",!0)]),_:3},16)):k("v-if",!0),l.$slots.trigger?$(l.$slots,"default",{key:2}):k("v-if",!0),$(l.$slots,"tip"),!e.value&&t.showFileList?(b(),U(le,{key:3,disabled:o(d),"list-type":t.listType,files:o(y),crossorigin:t.crossorigin,"handle-preview":t.onPreview,onRemove:o(E)},te({_:2},[l.$slots.file?{name:"default",fn:F(({file:R,index:L})=>[$(l.$slots,"file",{file:R,index:L})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):k("v-if",!0)]))}}),yt=vt;const Et=_e(yt);export{Et as E}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/el-upload-CLbTdSbQ.js diff --git a/frontend/dist/assets/eval-BLcZ-A_I.js b/frontend/dist/assets/eval-BLcZ-A_I.js new file mode 100644 index 0000000..1d5bf8e --- /dev/null +++ b/frontend/dist/assets/eval-BLcZ-A_I.js @@ -0,0 +1 @@ +import{aF as s,aG as e,aH as o,aI as n}from"./index-CxbBjZKo.js";const l=()=>s("/model-eval"),m=a=>s(`/model-eval/${a}`),d=a=>n(`/model-eval/${a}`),c=a=>e("/model-eval/start",a),v=a=>s(`/dimension/${a}`),r=a=>e("/dimension",a),g=(a,t)=>o(`/dimension/${a}`,t);export{m as a,v as b,r as c,d,l as g,c as s,g as u}; diff --git a/frontend/dist/assets/eval-DOgh3EN6.js b/frontend/dist/assets/eval-DOgh3EN6.js index 61b4714..ee2c8b9 100644 --- a/frontend/dist/assets/eval-DOgh3EN6.js +++ b/frontend/dist/assets/eval-DOgh3EN6.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/eval-DOgh3EN6.js import{aF as s,aG as e,aH as o,aI as n}from"./index-CD29OCdJ.js";const l=()=>s("/model-eval"),m=a=>s(`/model-eval/${a}`),d=a=>n(`/model-eval/${a}`),c=a=>e("/model-eval/start",a),v=a=>s(`/dimension/${a}`),r=a=>e("/dimension",a),g=(a,t)=>o(`/dimension/${a}`,t);export{m as a,v as b,r as c,d,l as g,c as s,g as u}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/eval-RqHG_SzR.js +import{aF as s,aG as e,aH as o,aI as n}from"./index-Ds9AETjS.js";const l=()=>s("/model-eval"),m=a=>s(`/model-eval/${a}`),d=a=>n(`/model-eval/${a}`),c=a=>e("/model-eval/start",a),v=a=>s(`/dimension/${a}`),r=a=>e("/dimension",a),g=(a,t)=>o(`/dimension/${a}`,t);export{m as a,v as b,r as c,d,l as g,c as s,g as u}; +======== +import{aF as s,aG as e,aH as o,aI as n}from"./index-CxbBjZKo.js";const l=()=>s("/model-eval"),m=a=>s(`/model-eval/${a}`),d=a=>n(`/model-eval/${a}`),c=a=>e("/model-eval/start",a),v=a=>s(`/dimension/${a}`),r=a=>e("/dimension",a),g=(a,t)=>o(`/dimension/${a}`,t);export{m as a,v as b,r as c,d,l as g,c as s,g as u}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/eval-BLcZ-A_I.js diff --git a/frontend/dist/assets/fineTune-C-jGF1Jc.js b/frontend/dist/assets/fineTune-C-jGF1Jc.js new file mode 100644 index 0000000..3a235f9 --- /dev/null +++ b/frontend/dist/assets/fineTune-C-jGF1Jc.js @@ -0,0 +1 @@ +import{aF as n,aG as s,aH as a,aI as u}from"./index-CxbBjZKo.js";const o=()=>n("/fine-tune"),c=e=>n(`/fine-tune/${e}`),f=e=>n("/fine-tune/check-name",{name:e}),F=e=>s("/fine-tune",e),g=e=>s("/fine-tune/start",e),r=(e,t)=>a(`/fine-tune/${e}`,t),T=e=>s(`/fine-tune/stop/${e}`),p=e=>u(`/fine-tune/${e}`),$=e=>n(`/fine-tune/progress/${e}`),d=(e,t={})=>n(`/fine-tune/${e}/logs`,t);export{$ as a,c as b,f as c,p as d,F as e,g as f,o as g,d as h,T as s,r as u}; diff --git a/frontend/dist/assets/index-36LucyXi.js b/frontend/dist/assets/index-36LucyXi.js new file mode 100644 index 0000000..06acfad --- /dev/null +++ b/frontend/dist/assets/index-36LucyXi.js @@ -0,0 +1 @@ +import{aB as v,C as b,a as m,D as h,bK as C,$ as w,_ as k,bL as M,a0 as g,j as x,aU as c,d as E,s as O,h as d,I as S,b as T,R as i}from"./index-CxbBjZKo.js";import{g as B}from"./scroll-Dvb2mTx8.js";const Y=(e,t={})=>{v(e)||b("[useLockscreen]","You need to pass a ref param to this function");const s=t.ns||m("popup"),a=x(()=>s.bm("parent","hidden"));let l=0,n=!1,o="0",u=!1;const r=()=>{u||(u=!0,setTimeout(()=>{typeof document>"u"||n&&document&&(document.body.style.width=o,g(document.body,a.value))},200))};h(e,f=>{if(!f){r();return}u=!1,n=!w(document.body,a.value),n&&(o=document.body.style.width,k(document.body,a.value)),l=B(s.namespace.value);const y=document.documentElement.clientHeight0&&(y||p==="scroll")&&n&&(document.body.style.width=`calc(100% - ${l}px)`)}),C(()=>r())},I=e=>{if(!e)return{onClick:c,onMousedown:c,onMouseup:c};let t=!1,s=!1;return{onClick:o=>{t&&s&&e(o),t=s=!1},onMousedown:o=>{t=o.target===o.currentTarget},onMouseup:o=>{s=o.target===o.currentTarget}}},z=T({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:i([String,Array,Object])},zIndex:{type:i([String,Number])}}),H={click:e=>e instanceof MouseEvent},L="overlay";var N=E({name:"ElOverlay",props:z,emits:H,setup(e,{slots:t,emit:s}){const a=m(L),l=r=>{s("click",r)},{onClick:n,onMousedown:o,onMouseup:u}=I(e.customMaskEvent?void 0:l);return()=>e.mask?O("div",{class:[a.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:n,onMousedown:o,onMouseup:u},[d(t,"default")],14,["onClick","onMouseup","onMousedown"]):S("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[d(t,"default")])}});const j=N;export{j as E,I as a,Y as u}; diff --git a/frontend/dist/assets/index-6OTFNiIi.js b/frontend/dist/assets/index-6OTFNiIi.js index 92d20e4..8ee71d8 100644 --- a/frontend/dist/assets/index-6OTFNiIi.js +++ b/frontend/dist/assets/index-6OTFNiIi.js @@ -1,4 +1,10 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-6OTFNiIi.js import{D as it,aK as ot,f as b,j as d,N as L,bt as pt,c8 as vt,c9 as kt,B as $,bk as yt,y as I,G as St,ah as xt,a9 as G,b as wt,br as Mt,i as Q,aR as $t,R as ut,u as Bt,bF as At,ca as It,a as Y,d as lt,o as x,e as A,w as j,c as O,M as Nt,h as E,E as X,n as q,r as T,g as tt,Y as Rt,F as Ht,z as Ft,l as Et,ab as _t}from"./index-CD29OCdJ.js";const Vt=({from:s,replacement:e,scope:t,version:n,ref:r,type:i="API"},a)=>{it(()=>b(a),o=>{o&&ot(t,`[${i}] ${s} is about to be deprecated in version ${n}, please use ${e} instead. +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-BNsCyG4A.js +import{D as it,aK as ot,f as b,j as d,N as L,bt as pt,c8 as vt,c9 as kt,B as $,bk as yt,y as I,G as St,ah as xt,a9 as G,b as wt,br as Mt,i as Q,aR as $t,R as ut,u as Bt,bF as At,ca as It,a as Y,d as lt,o as x,e as A,w as j,c as O,M as Nt,h as E,E as X,n as q,r as T,g as tt,Y as Rt,F as Ht,z as Ft,l as Et,ab as _t}from"./index-Ds9AETjS.js";const Vt=({from:s,replacement:e,scope:t,version:n,ref:r,type:i="API"},a)=>{it(()=>b(a),o=>{o&&ot(t,`[${i}] ${s} is about to be deprecated in version ${n}, please use ${e} instead. +======== +import{D as it,aK as ot,f as b,j as d,N as L,bt as pt,c8 as vt,c9 as kt,B as $,bk as yt,y as I,G as St,ah as xt,a9 as G,b as wt,br as Mt,i as Q,aS as $t,R as ut,u as Bt,bF as At,ca as It,a as Y,d as lt,o as x,e as A,w as j,c as O,M as Nt,h as E,E as X,n as q,r as T,g as tt,Y as Rt,F as Ht,z as Ft,l as Et,ab as _t}from"./index-CxbBjZKo.js";const Vt=({from:s,replacement:e,scope:t,version:n,ref:r,type:i="API"},a)=>{it(()=>b(a),o=>{o&&ot(t,`[${i}] ${s} is about to be deprecated in version ${n}, please use ${e} instead. +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-D23K2h6y.js For more detail, please visit: ${r} `)},{immediate:!0})},ct=s=>{const e=L();return d(()=>{var t,n;return(n=(t=e==null?void 0:e.proxy)==null?void 0:t.$props)==null?void 0:n[s]})},K={prefix:Math.floor(Math.random()*1e4),current:0},zt=Symbol("elIdInjection"),Pt=()=>L()?$(zt,K):K,jt=s=>{const e=Pt();!pt&&e===K&&ot("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed usage: app.provide(ID_INJECTION_KEY, { diff --git a/frontend/dist/assets/index-B0_vNb2o.js b/frontend/dist/assets/index-B0_vNb2o.js index fb4dde1..c71f718 100644 --- a/frontend/dist/assets/index-B0_vNb2o.js +++ b/frontend/dist/assets/index-B0_vNb2o.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-B0_vNb2o.js import{e as o,E as a,s as Z,t as Q,a as _,L as q,i as l,c as r,f as w,l as V}from"./index-DFkjzvE0.js";import"./index-CD29OCdJ.js";const R=1,g=2,b=3,y=4,T=5,s=98,c=101,v=102,t=114,p=69,X=48,W=46,d=43,f=45,Y=35,z=34,x=124,U=60,h=62;function n(O){return O>=48&&O<=57}function e(O){return n(O)||O==95}const G=new a((O,i)=>{if(n(O.next)){let P=!1;do O.advance();while(e(O.next));if(O.next==W){if(P=!0,O.advance(),n(O.next))do O.advance();while(e(O.next));else if(O.next==W||O.next>127||/\w/.test(String.fromCharCode(O.next)))return}if(O.next==c||O.next==p){if(P=!0,O.advance(),(O.next==d||O.next==f)&&O.advance(),!e(O.next))return;do O.advance();while(e(O.next))}if(O.next==v){let $=O.peek(1);if($==X+3&&O.peek(2)==X+2||$==X+6&&O.peek(2)==X+4)O.advance(3),P=!0;else return}P&&O.acceptToken(T)}else if(O.next==s||O.next==t){if(O.next==s&&O.advance(),O.next!=t)return;O.advance();let P=0;for(;O.next==Y;)P++,O.advance();if(O.next!=z)return;O.advance();O:for(;;){if(O.next<0)return;let $=O.next==z;if(O.advance(),$){for(let S=0;S{O.next==x&&O.acceptToken(R,1)}),u=new a(O=>{O.next==U?O.acceptToken(g,1):O.next==h&&O.acceptToken(b,1)}),k=Z({"const macro_rules struct union enum type fn impl trait let static":Q.definitionKeyword,"mod use crate":Q.moduleKeyword,"pub unsafe async mut extern default move":Q.modifier,"for if else loop while match continue break return await":Q.controlKeyword,"as in ref":Q.operatorKeyword,"where _ crate super dyn":Q.keyword,self:Q.self,String:Q.string,Char:Q.character,RawString:Q.special(Q.string),Boolean:Q.bool,Identifier:Q.variableName,"CallExpression/Identifier":Q.function(Q.variableName),BoundIdentifier:Q.definition(Q.variableName),"FunctionItem/BoundIdentifier":Q.function(Q.definition(Q.variableName)),LoopLabel:Q.labelName,FieldIdentifier:Q.propertyName,"CallExpression/FieldExpression/FieldIdentifier":Q.function(Q.propertyName),Lifetime:Q.special(Q.variableName),ScopeIdentifier:Q.namespace,TypeIdentifier:Q.typeName,"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier":Q.macroName,"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier":Q.macroName,'"!"':Q.macroName,UpdateOp:Q.updateOperator,LineComment:Q.lineComment,BlockComment:Q.blockComment,Integer:Q.integer,Float:Q.float,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,"=":Q.definitionOperator,".. ... => ->":Q.punctuation,"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,". DerefOp":Q.derefOperator,"&":Q.operator,", ; ::":Q.separator,"Attribute/...":Q.meta}),j={__proto__:null,self:28,super:32,crate:34,impl:46,true:72,false:72,pub:88,in:92,const:96,unsafe:104,async:108,move:110,if:114,let:118,ref:142,mut:144,_:198,else:200,match:204,as:248,return:252,await:262,break:270,continue:276,while:312,loop:316,for:320,macro_rules:327,mod:334,extern:342,struct:346,where:364,union:379,enum:382,type:390,default:395,fn:396,trait:412,use:420,static:438,dyn:476},E=o.deserialize({version:14,states:"$2xQ]Q_OOP$wOWOOO&sQWO'#CnO)WQWO'#I`OOQP'#I`'#I`OOQQ'#Ie'#IeO)hO`O'#C}OOQR'#Ih'#IhO)sQWO'#IuOOQO'#Hk'#HkO)xQWO'#DpOOQR'#Iw'#IwO)xQWO'#DpO*ZQWO'#DpOOQO'#Iv'#IvO,SQWO'#J`O,ZQWO'#EiOOQV'#Hp'#HpO,cQYO'#F{OOQV'#El'#ElOOQV'#Em'#EmOOQV'#En'#EnO.YQ_O'#EkO0_Q_O'#EoO2gQWOOO4QQ_O'#FPO7hQWO'#J`OOQV'#FY'#FYO7{Q_O'#F^O:WQ_O'#FaOOQO'#F`'#F`O=sQ_O'#FcO=}Q_O'#FbO@VQWO'#FgOOQO'#J`'#J`O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identifier ScopedIdentifier :: QualifiedScope AbstractType impl SelfType MetaType TypeIdentifier ScopedTypeIdentifier ScopeIdentifier TypeArgList TypeBinding = Lifetime String Escape Char Boolean Integer } { Block ; ConstItem Vis pub ( in ) const BoundIdentifier : UnsafeBlock unsafe AsyncBlock async move IfExpression if LetDeclaration let LiteralPattern ArithOp MetaPattern SelfPattern ScopedIdentifier TuplePattern ScopedTypeIdentifier , StructPattern FieldPatternList FieldPattern ref mut FieldIdentifier .. RefPattern SlicePattern CapturedPattern ReferencePattern & MutPattern RangePattern ... OrPattern MacroPattern ParenthesizedTokens TokenBinding Identifier TokenRepetition ArithOp BitOp LogicOp UpdateOp CompareOp -> => ArithOp BracketedTokens BracedTokens _ else MatchExpression match MatchBlock MatchArm Attribute Guard UnaryExpression ArithOp DerefOp LogicOp ReferenceExpression TryExpression BinaryExpression ArithOp ArithOp BitOp BitOp BitOp BitOp LogicOp LogicOp AssignmentExpression TypeCastExpression as ReturnExpression return RangeExpression CallExpression ArgList AwaitExpression await FieldExpression GenericFunction BreakExpression break LoopLabel ContinueExpression continue IndexExpression ArrayExpression TupleExpression MacroInvocation UnitExpression ClosureExpression ParamList Parameter Parameter ParenthesizedExpression StructExpression FieldInitializerList ShorthandFieldInitializer FieldInitializer BaseFieldInitializer MatchArm WhileExpression while LoopExpression loop ForExpression for MacroInvocation MacroDefinition macro_rules MacroRule EmptyStatement ModItem mod DeclarationList AttributeItem ForeignModItem extern StructItem struct TypeParamList ConstrainedTypeParameter TraitBounds HigherRankedTraitBound RemovedTraitBound OptionalTypeParameter ConstParameter WhereClause where LifetimeClause TypeBoundClause FieldDeclarationList FieldDeclaration OrderedFieldDeclarationList UnionItem union EnumItem enum EnumVariantList EnumVariant TypeItem type FunctionItem default fn ParamList Parameter SelfParameter VariadicParameter VariadicParameter ImplItem TraitItem trait AssociatedType LetDeclaration UseDeclaration use ScopedIdentifier UseAsClause ScopedIdentifier UseList ScopedUseList UseWildcard ExternCrateDeclaration StaticItem static ExpressionStatement ExpressionStatement GenericType FunctionType ForLifetimes ParamList VariadicParameter Parameter VariadicParameter Parameter ReferenceType PointerType TupleType UnitType ArrayType MacroInvocation EmptyType DynamicType dyn BoundedType",maxTerm:359,nodeProps:[["isolate",-4,4,6,7,33,""],["group",-42,4,5,14,15,16,17,18,19,33,35,36,37,40,51,53,56,101,107,111,112,113,122,123,125,127,128,130,132,133,134,137,139,140,141,142,143,144,148,149,155,157,159,"Expression",-16,22,24,25,26,27,222,223,230,231,232,233,234,235,236,237,239,"Type",-20,42,161,162,165,166,169,170,172,188,190,194,196,204,205,207,208,209,217,218,220,"Statement",-17,49,60,62,63,64,65,68,74,75,76,77,78,80,81,83,84,99,"Pattern"],["openedBy",9,"[",38,"{",47,"("],["closedBy",12,"]",39,"}",45,")"]],propSources:[k],skippedNodes:[0,6,7,240],repeatNodeCount:32,tokenData:"$%h_R!XOX$nXY5gYZ6iZ]$n]^5g^p$npq5gqr7Xrs9cst:Rtu;Tuv>vvwAQwxCbxy!+Tyz!,Vz{!-X{|!/_|}!0g}!O!1i!O!P!3v!P!Q!8[!Q!R!Bw!R![!Dr![!]#+q!]!^#-{!^!_#.}!_!`#1b!`!a#3o!a!b#6S!b!c#7U!c!}#8W!}#O#:T#O#P#;V#P#Q#Cb#Q#R#Dd#R#S#8W#S#T$n#T#U#8W#U#V#El#V#f#8W#f#g#Ic#g#o#8W#o#p$ S#p#q$!U#q#r$$f#r${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nU$u]'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU%uV'_Q'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S&aV'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S&yVOz'`z{&v{!P'`!P!Q*y!Q;'S'`;'S;=`*m<%lO'`S'cVOz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P#R$n#R#S#8W#S#T$n#T#o#8W#o${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nV#Kji'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$nV#Mbj'_Q'OS'TPOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![#MX![!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$n_$ ]]wX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$!_a'rX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P#p$n#p#q$#d#q;'S$n;'S;=`4s<%lO$n_$#m]'|X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$$o]vX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n",tokenizers:[m,u,G,0,1,2,3],topRules:{SourceFile:[0,8]},specialized:[{term:281,get:O=>j[O]||-1}],tokenPrec:15596}),I=q.define({name:"rust",parser:E.configure({props:[l.add({IfExpression:r({except:/^\s*({|else\b)/}),"String BlockComment":()=>null,AttributeItem:O=>O.continue(),"Statement MatchArm":r()}),w.add(O=>{if(/(Block|edTokens|List)$/.test(O.name))return V;if(O.name=="BlockComment")return i=>({from:i.from+2,to:i.to-2})})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:\{|\})$/,closeBrackets:{stringPrefixes:["b","r","br"]}}});function D(){return new _(I)}export{D as rust,I as rustLanguage}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-CGSAEdtK.js +import{e as o,E as a,s as Z,t as Q,a as _,L as q,i as l,c as r,f as w,l as V}from"./index-Szd58FrA.js";import"./index-Ds9AETjS.js";const R=1,g=2,b=3,y=4,T=5,s=98,c=101,v=102,t=114,p=69,X=48,W=46,d=43,f=45,Y=35,z=34,x=124,U=60,h=62;function n(O){return O>=48&&O<=57}function e(O){return n(O)||O==95}const G=new a((O,i)=>{if(n(O.next)){let P=!1;do O.advance();while(e(O.next));if(O.next==W){if(P=!0,O.advance(),n(O.next))do O.advance();while(e(O.next));else if(O.next==W||O.next>127||/\w/.test(String.fromCharCode(O.next)))return}if(O.next==c||O.next==p){if(P=!0,O.advance(),(O.next==d||O.next==f)&&O.advance(),!e(O.next))return;do O.advance();while(e(O.next))}if(O.next==v){let $=O.peek(1);if($==X+3&&O.peek(2)==X+2||$==X+6&&O.peek(2)==X+4)O.advance(3),P=!0;else return}P&&O.acceptToken(T)}else if(O.next==s||O.next==t){if(O.next==s&&O.advance(),O.next!=t)return;O.advance();let P=0;for(;O.next==Y;)P++,O.advance();if(O.next!=z)return;O.advance();O:for(;;){if(O.next<0)return;let $=O.next==z;if(O.advance(),$){for(let S=0;S{O.next==x&&O.acceptToken(R,1)}),u=new a(O=>{O.next==U?O.acceptToken(g,1):O.next==h&&O.acceptToken(b,1)}),k=Z({"const macro_rules struct union enum type fn impl trait let static":Q.definitionKeyword,"mod use crate":Q.moduleKeyword,"pub unsafe async mut extern default move":Q.modifier,"for if else loop while match continue break return await":Q.controlKeyword,"as in ref":Q.operatorKeyword,"where _ crate super dyn":Q.keyword,self:Q.self,String:Q.string,Char:Q.character,RawString:Q.special(Q.string),Boolean:Q.bool,Identifier:Q.variableName,"CallExpression/Identifier":Q.function(Q.variableName),BoundIdentifier:Q.definition(Q.variableName),"FunctionItem/BoundIdentifier":Q.function(Q.definition(Q.variableName)),LoopLabel:Q.labelName,FieldIdentifier:Q.propertyName,"CallExpression/FieldExpression/FieldIdentifier":Q.function(Q.propertyName),Lifetime:Q.special(Q.variableName),ScopeIdentifier:Q.namespace,TypeIdentifier:Q.typeName,"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier":Q.macroName,"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier":Q.macroName,'"!"':Q.macroName,UpdateOp:Q.updateOperator,LineComment:Q.lineComment,BlockComment:Q.blockComment,Integer:Q.integer,Float:Q.float,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,"=":Q.definitionOperator,".. ... => ->":Q.punctuation,"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,". DerefOp":Q.derefOperator,"&":Q.operator,", ; ::":Q.separator,"Attribute/...":Q.meta}),j={__proto__:null,self:28,super:32,crate:34,impl:46,true:72,false:72,pub:88,in:92,const:96,unsafe:104,async:108,move:110,if:114,let:118,ref:142,mut:144,_:198,else:200,match:204,as:248,return:252,await:262,break:270,continue:276,while:312,loop:316,for:320,macro_rules:327,mod:334,extern:342,struct:346,where:364,union:379,enum:382,type:390,default:395,fn:396,trait:412,use:420,static:438,dyn:476},E=o.deserialize({version:14,states:"$2xQ]Q_OOP$wOWOOO&sQWO'#CnO)WQWO'#I`OOQP'#I`'#I`OOQQ'#Ie'#IeO)hO`O'#C}OOQR'#Ih'#IhO)sQWO'#IuOOQO'#Hk'#HkO)xQWO'#DpOOQR'#Iw'#IwO)xQWO'#DpO*ZQWO'#DpOOQO'#Iv'#IvO,SQWO'#J`O,ZQWO'#EiOOQV'#Hp'#HpO,cQYO'#F{OOQV'#El'#ElOOQV'#Em'#EmOOQV'#En'#EnO.YQ_O'#EkO0_Q_O'#Eo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&|R4y1PX'Q!q%X&|1PR+y&|R+x&|T/S*S4TT/R*S4TR.o)sR.n)sR){%p",nodeNames:"⚠ | < > RawString Float LineComment BlockComment SourceFile ] InnerAttribute ! [ MetaItem self Metavariable super crate Identifier ScopedIdentifier :: QualifiedScope AbstractType impl SelfType MetaType TypeIdentifier ScopedTypeIdentifier ScopeIdentifier TypeArgList TypeBinding = Lifetime String Escape Char Boolean Integer } { Block ; ConstItem Vis pub ( in ) const BoundIdentifier : UnsafeBlock unsafe AsyncBlock async move IfExpression if LetDeclaration let LiteralPattern ArithOp MetaPattern SelfPattern ScopedIdentifier TuplePattern ScopedTypeIdentifier , StructPattern FieldPatternList FieldPattern ref mut FieldIdentifier .. RefPattern SlicePattern CapturedPattern ReferencePattern & MutPattern RangePattern ... OrPattern MacroPattern ParenthesizedTokens TokenBinding Identifier TokenRepetition ArithOp BitOp LogicOp UpdateOp CompareOp -> => ArithOp BracketedTokens BracedTokens _ else MatchExpression match MatchBlock MatchArm Attribute Guard UnaryExpression ArithOp DerefOp LogicOp ReferenceExpression TryExpression BinaryExpression ArithOp ArithOp BitOp BitOp BitOp BitOp LogicOp LogicOp AssignmentExpression TypeCastExpression as ReturnExpression return RangeExpression CallExpression ArgList AwaitExpression await FieldExpression GenericFunction BreakExpression break LoopLabel ContinueExpression continue IndexExpression ArrayExpression TupleExpression MacroInvocation UnitExpression ClosureExpression ParamList Parameter Parameter ParenthesizedExpression StructExpression FieldInitializerList ShorthandFieldInitializer FieldInitializer BaseFieldInitializer MatchArm WhileExpression while LoopExpression loop ForExpression for MacroInvocation MacroDefinition macro_rules MacroRule EmptyStatement ModItem mod DeclarationList AttributeItem ForeignModItem extern StructItem struct TypeParamList ConstrainedTypeParameter TraitBounds HigherRankedTraitBound RemovedTraitBound OptionalTypeParameter ConstParameter WhereClause where LifetimeClause TypeBoundClause FieldDeclarationList FieldDeclaration OrderedFieldDeclarationList UnionItem union EnumItem enum EnumVariantList EnumVariant TypeItem type FunctionItem default fn ParamList Parameter SelfParameter VariadicParameter VariadicParameter ImplItem TraitItem trait AssociatedType LetDeclaration UseDeclaration use ScopedIdentifier UseAsClause ScopedIdentifier UseList ScopedUseList UseWildcard ExternCrateDeclaration StaticItem static ExpressionStatement ExpressionStatement GenericType FunctionType ForLifetimes ParamList VariadicParameter Parameter VariadicParameter Parameter ReferenceType PointerType TupleType UnitType ArrayType MacroInvocation EmptyType DynamicType dyn BoundedType",maxTerm:359,nodeProps:[["isolate",-4,4,6,7,33,""],["group",-42,4,5,14,15,16,17,18,19,33,35,36,37,40,51,53,56,101,107,111,112,113,122,123,125,127,128,130,132,133,134,137,139,140,141,142,143,144,148,149,155,157,159,"Expression",-16,22,24,25,26,27,222,223,230,231,232,233,234,235,236,237,239,"Type",-20,42,161,162,165,166,169,170,172,188,190,194,196,204,205,207,208,209,217,218,220,"Statement",-17,49,60,62,63,64,65,68,74,75,76,77,78,80,81,83,84,99,"Pattern"],["openedBy",9,"[",38,"{",47,"("],["closedBy",12,"]",39,"}",45,")"]],propSources:[k],skippedNodes:[0,6,7,240],repeatNodeCount:32,tokenData:"$%h_R!XOX$nXY5gYZ6iZ]$n]^5g^p$npq5gqr7Xrs9cst:Rtu;Tuv>vvwAQwxCbxy!+Tyz!,Vz{!-X{|!/_|}!0g}!O!1i!O!P!3v!P!Q!8[!Q!R!Bw!R![!Dr![!]#+q!]!^#-{!^!_#.}!_!`#1b!`!a#3o!a!b#6S!b!c#7U!c!}#8W!}#O#:T#O#P#;V#P#Q#Cb#Q#R#Dd#R#S#8W#S#T$n#T#U#8W#U#V#El#V#f#8W#f#g#Ic#g#o#8W#o#p$ S#p#q$!U#q#r$$f#r${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nU$u]'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU%uV'_Q'OSOz&[z{&v{!P&[!P!Q'x!Q;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BlockComment":()=>null,AttributeItem:O=>O.continue(),"Statement MatchArm":r()}),w.add(O=>{if(/(Block|edTokens|List)$/.test(O.name))return V;if(O.name=="BlockComment")return i=>({from:i.from+2,to:i.to-2})})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:\{|\})$/,closeBrackets:{stringPrefixes:["b","r","br"]}}});function D(){return new _(I)}export{D as rust,I as rustLanguage}; +======== +import{e as o,E as a,s as Z,t as Q,a as _,L as q,i as l,c as r,f as w,l as V}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const R=1,g=2,b=3,y=4,T=5,s=98,c=101,v=102,t=114,p=69,X=48,W=46,d=43,f=45,Y=35,z=34,x=124,U=60,h=62;function n(O){return O>=48&&O<=57}function e(O){return n(O)||O==95}const G=new a((O,i)=>{if(n(O.next)){let P=!1;do O.advance();while(e(O.next));if(O.next==W){if(P=!0,O.advance(),n(O.next))do O.advance();while(e(O.next));else if(O.next==W||O.next>127||/\w/.test(String.fromCharCode(O.next)))return}if(O.next==c||O.next==p){if(P=!0,O.advance(),(O.next==d||O.next==f)&&O.advance(),!e(O.next))return;do O.advance();while(e(O.next))}if(O.next==v){let $=O.peek(1);if($==X+3&&O.peek(2)==X+2||$==X+6&&O.peek(2)==X+4)O.advance(3),P=!0;else return}P&&O.acceptToken(T)}else if(O.next==s||O.next==t){if(O.next==s&&O.advance(),O.next!=t)return;O.advance();let P=0;for(;O.next==Y;)P++,O.advance();if(O.next!=z)return;O.advance();O:for(;;){if(O.next<0)return;let $=O.next==z;if(O.advance(),$){for(let S=0;S{O.next==x&&O.acceptToken(R,1)}),u=new a(O=>{O.next==U?O.acceptToken(g,1):O.next==h&&O.acceptToken(b,1)}),k=Z({"const macro_rules struct union enum type fn impl trait let static":Q.definitionKeyword,"mod use crate":Q.moduleKeyword,"pub unsafe async mut extern default move":Q.modifier,"for if else loop while match continue break return await":Q.controlKeyword,"as in ref":Q.operatorKeyword,"where _ crate super dyn":Q.keyword,self:Q.self,String:Q.string,Char:Q.character,RawString:Q.special(Q.string),Boolean:Q.bool,Identifier:Q.variableName,"CallExpression/Identifier":Q.function(Q.variableName),BoundIdentifier:Q.definition(Q.variableName),"FunctionItem/BoundIdentifier":Q.function(Q.definition(Q.variableName)),LoopLabel:Q.labelName,FieldIdentifier:Q.propertyName,"CallExpression/FieldExpression/FieldIdentifier":Q.function(Q.propertyName),Lifetime:Q.special(Q.variableName),ScopeIdentifier:Q.namespace,TypeIdentifier:Q.typeName,"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier":Q.macroName,"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier":Q.macroName,'"!"':Q.macroName,UpdateOp:Q.updateOperator,LineComment:Q.lineComment,BlockComment:Q.blockComment,Integer:Q.integer,Float:Q.float,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,"=":Q.definitionOperator,".. ... => ->":Q.punctuation,"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,". DerefOp":Q.derefOperator,"&":Q.operator,", ; ::":Q.separator,"Attribute/...":Q.meta}),j={__proto__:null,self:28,super:32,crate:34,impl:46,true:72,false:72,pub:88,in:92,const:96,unsafe:104,async:108,move:110,if:114,let:118,ref:142,mut:144,_:198,else:200,match:204,as:248,return:252,await:262,break:270,continue:276,while:312,loop:316,for:320,macro_rules:327,mod:334,extern:342,struct:346,where:364,union:379,enum:382,type:390,default:395,fn:396,trait:412,use:420,static:438,dyn:476},E=o.deserialize({version:14,states:"$2xQ]Q_OOP$wOWOOO&sQWO'#CnO)WQWO'#I`OOQP'#I`'#I`OOQQ'#Ie'#IeO)hO`O'#C}OOQR'#Ih'#IhO)sQWO'#IuOOQO'#Hk'#HkO)xQWO'#DpOOQR'#Iw'#IwO)xQWO'#DpO*ZQWO'#DpOOQO'#Iv'#IvO,SQWO'#J`O,ZQWO'#EiOOQV'#Hp'#H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3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR0k+ZR0j+ZQ'R!qQ)c%XQ+w&|R4y1PX'Q!q%X&|1PR+y&|R+x&|T/S*S4TT/R*S4TR.o)sR.n)sR){%p",nodeNames:"⚠ | < > RawString Float LineComment BlockComment SourceFile ] InnerAttribute ! [ MetaItem self Metavariable super crate Identifier ScopedIdentifier :: QualifiedScope AbstractType impl SelfType MetaType TypeIdentifier ScopedTypeIdentifier ScopeIdentifier TypeArgList TypeBinding = Lifetime String Escape Char Boolean Integer } { Block ; ConstItem Vis pub ( in ) const BoundIdentifier : UnsafeBlock unsafe AsyncBlock async move IfExpression if LetDeclaration let LiteralPattern ArithOp MetaPattern SelfPattern ScopedIdentifier TuplePattern ScopedTypeIdentifier , StructPattern FieldPatternList FieldPattern ref mut FieldIdentifier .. RefPattern SlicePattern CapturedPattern ReferencePattern & MutPattern RangePattern ... OrPattern MacroPattern ParenthesizedTokens TokenBinding Identifier TokenRepetition ArithOp BitOp LogicOp UpdateOp CompareOp -> => ArithOp BracketedTokens BracedTokens _ else MatchExpression match MatchBlock MatchArm Attribute Guard UnaryExpression ArithOp DerefOp LogicOp ReferenceExpression TryExpression BinaryExpression ArithOp ArithOp BitOp BitOp BitOp BitOp LogicOp LogicOp AssignmentExpression TypeCastExpression as ReturnExpression return RangeExpression CallExpression ArgList AwaitExpression await FieldExpression GenericFunction BreakExpression break LoopLabel ContinueExpression continue IndexExpression ArrayExpression TupleExpression MacroInvocation UnitExpression ClosureExpression ParamList Parameter Parameter ParenthesizedExpression StructExpression FieldInitializerList ShorthandFieldInitializer FieldInitializer BaseFieldInitializer MatchArm WhileExpression while LoopExpression loop ForExpression for MacroInvocation MacroDefinition macro_rules MacroRule EmptyStatement ModItem mod DeclarationList AttributeItem ForeignModItem extern StructItem struct TypeParamList ConstrainedTypeParameter TraitBounds HigherRankedTraitBound RemovedTraitBound OptionalTypeParameter ConstParameter WhereClause where LifetimeClause TypeBoundClause FieldDeclarationList FieldDeclaration OrderedFieldDeclarationList UnionItem union EnumItem enum EnumVariantList EnumVariant TypeItem type FunctionItem default fn ParamList Parameter SelfParameter VariadicParameter VariadicParameter ImplItem TraitItem trait AssociatedType LetDeclaration UseDeclaration use ScopedIdentifier UseAsClause ScopedIdentifier UseList ScopedUseList UseWildcard ExternCrateDeclaration StaticItem static ExpressionStatement ExpressionStatement GenericType FunctionType ForLifetimes ParamList VariadicParameter Parameter VariadicParameter Parameter ReferenceType PointerType TupleType UnitType ArrayType MacroInvocation EmptyType DynamicType dyn BoundedType",maxTerm:359,nodeProps:[["isolate",-4,4,6,7,33,""],["group",-42,4,5,14,15,16,17,18,19,33,35,36,37,40,51,53,56,101,107,111,112,113,122,123,125,127,128,130,132,133,134,137,139,140,141,142,143,144,148,149,155,157,159,"Expression",-16,22,24,25,26,27,222,223,230,231,232,233,234,235,236,237,239,"Type",-20,42,161,162,165,166,169,170,172,188,190,194,196,204,205,207,208,209,217,218,220,"Statement",-17,49,60,62,63,64,65,68,74,75,76,77,78,80,81,83,84,99,"Pattern"],["openedBy",9,"[",38,"{",47,"("],["closedBy",12,"]",39,"}",45,")"]],propSources:[k],skippedNodes:[0,6,7,240],repeatNodeCount:32,tokenData:"$%h_R!XOX$nXY5gYZ6iZ]$n]^5g^p$npq5gqr7Xrs9cst:Rtu;Tuv>vvwAQwxCbxy!+Tyz!,Vz{!-X{|!/_|}!0g}!O!1i!O!P!3v!P!Q!8[!Q!R!Bw!R![!Dr![!]#+q!]!^#-{!^!_#.}!_!`#1b!`!a#3o!a!b#6S!b!c#7U!c!}#8W!}#O#:T#O#P#;V#P#Q#Cb#Q#R#Dd#R#S#8W#S#T$n#T#U#8W#U#V#El#V#f#8W#f#g#Ic#g#o#8W#o#p$ S#p#q$!U#q#r$$f#r${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nU$u]'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!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1}],tokenPrec:15596}),I=q.define({name:"rust",parser:E.configure({props:[l.add({IfExpression:r({except:/^\s*({|else\b)/}),"String BlockComment":()=>null,AttributeItem:O=>O.continue(),"Statement MatchArm":r()}),w.add(O=>{if(/(Block|edTokens|List)$/.test(O.name))return V;if(O.name=="BlockComment")return i=>({from:i.from+2,to:i.to-2})})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:\{|\})$/,closeBrackets:{stringPrefixes:["b","r","br"]}}});function D(){return new _(I)}export{D as rust,I as rustLanguage}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-C6EHVQAI.js diff --git a/frontend/dist/assets/index-BFioY_nn.js b/frontend/dist/assets/index-BFioY_nn.js new file mode 100644 index 0000000..7639d04 --- /dev/null +++ b/frontend/dist/assets/index-BFioY_nn.js @@ -0,0 +1 @@ +import{a as O,L as r,i as b,k as s,f as a,l as t,s as P,t as e,e as n}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const S={__proto__:null,anyref:34,dataref:34,eqref:34,externref:34,i31ref:34,funcref:34,i8:34,i16:34,i32:34,i64:34,f32:34,f64:34},i=n.deserialize({version:14,states:"!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",stateData:"!P~O_OSPOSQOS~OTPOVROXROYROZROaQO~OSUO~P]OSXO~P]O",goto:"xaPPPPPPbPbPPPhPPPrXROPTVQTOQVPTWTVXSOPTV",nodeNames:"⚠ LineComment BlockComment Module ) ( App Identifier Type Keyword Number String",maxTerm:17,nodeProps:[["isolate",-3,1,2,11,""],["openedBy",4,"("],["closedBy",5,")"],["group",-6,6,7,8,9,10,11,"Expression"]],skippedNodes:[0,1,2],repeatNodeCount:1,tokenData:"0o~R^XY}YZ}]^}pq}rs!Stu#pxy'Uyz(e{|(j}!O(j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#T#Z,h~.aP!]!^.d~.iSP~OY.dZ;'S.d;'S;=`.u<%lO.d~.xP;=`<%l.d~/QiX~qr.{st.{tu.{uv.{vw.{wx.{z{.{{|.{}!O.{!O!P.{!P!Q.{!Q![.{![!].{!^!_.{!_!`.{!`!a.{!a!b.{!b!c.{!c!}.{#Q#R.{#R#S.{#S#T.{#T#o.{#p#q.{#r#s.{",tokenizers:[0],topRules:{Module:[0,3]},specialized:[{term:9,get:o=>S[o]||-1}],tokenPrec:0}),Q=r.define({name:"wast",parser:i.configure({props:[b.add({App:s({closing:")",align:!1})}),a.add({App:t,BlockComment(o){return{from:o.from+2,to:o.to-2}}}),P({Keyword:e.keyword,Type:e.typeName,Number:e.number,String:e.string,Identifier:e.variableName,LineComment:e.lineComment,BlockComment:e.blockComment,"( )":e.paren})]}),languageData:{commentTokens:{line:";;",block:{open:"(;",close:";)"}},closeBrackets:{brackets:["(",'"']}}});function l(){return new O(Q)}export{l as wast,Q as wastLanguage}; diff --git a/frontend/dist/assets/index-BJHfxRz7.js b/frontend/dist/assets/index-BJHfxRz7.js new file mode 100644 index 0000000..dbfebba --- /dev/null +++ b/frontend/dist/assets/index-BJHfxRz7.js @@ -0,0 +1 @@ +import{n as f,o as p,a as x,p as X,q as y,g as h,L as G,s as Z,t as Q,i as S,k as b,f as j,e as V,E as c}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const W=1,k=2,w=3,v=180,R=4,_=181,z=5,E=182,U=6;function D(O){return O>=65&&O<=90||O>=97&&O<=122}const F=new c(O=>{let a=O.pos;for(;;){let{next:r}=O;if(r<0)break;if(r==123){let n=O.peek(1);if(n==123){if(O.pos>a)break;O.acceptToken(W,2);return}else if(n==37){if(O.pos>a)break;let $=2,i=2;for(;;){let e=O.peek($);if(e==32||e==10)++$;else if(e==35)for(++$;;){let t=O.peek($);if(t<0||t==10)break;$++}else if(e==45&&i==2)i=++$;else{let t=e==101&&O.peek($+1)==110&&O.peek($+2)==100;O.acceptToken(t?w:k,i);return}}}}if(O.advance(),r==10)break}O.pos>a&&O.acceptToken(v)});function u(O,a,r){return new c(n=>{let $=n.pos;for(;;){let{next:i}=n;if(i==123&&n.peek(1)==37){let e=2;for(;;e++){let o=n.peek(e);if(o!=32&&o!=10)break}let t="";for(;;e++){let o=n.peek(e);if(!D(o))break;t+=String.fromCharCode(o)}if(t==O){if(n.pos>$)break;n.acceptToken(r,2);break}}else if(i<0)break;if(n.advance(),i==10)break}n.pos>$&&n.acceptToken(a)})}const C=u("endcomment",E,z),Y=u("endraw",_,R),N=new c(O=>{if(O.next==35){for(O.advance();!(O.next==10||O.next<0||(O.next==37||O.next==125)&&O.peek(1)==125);)O.advance();O.acceptToken(U)}}),I={__proto__:null,contains:34,or:38,and:38,true:52,false:52,empty:54,forloop:57,tablerowloop:59,continue:61,in:131,with:197,for:199,as:201,if:237,endif:241,unless:247,endunless:251,elsif:255,else:259,case:265,endcase:269,when:273,endfor:281,tablerow:287,endtablerow:291,break:295,cycle:301,echo:305,render:309,include:313,assign:317,capture:323,endcapture:327,increment:331,decrement:335},L={__proto__:null,if:86,endif:90,elsif:94,else:98,unless:104,endunless:108,case:114,endcase:118,when:122,for:128,endfor:138,tablerow:144,endtablerow:148,break:152,continue:156,cycle:160,comment:166,endcomment:172,raw:178,endraw:184,echo:188,render:192,include:204,assign:208,capture:214,endcapture:218,increment:222,decrement:226,liquid:230},H=V.deserialize({version:14,states:"KtQYOPOOOOOP'#F{'#F{OeOaO'#CdOsQhO'#CfO!bQxO'#DSO#{OPO'#DVO$ZOPO'#D`O$iOPO'#DeO$wOPO'#DlO%VOPO'#DtO%eOSO'#EPO%jOQO'#EVO%oOPO'#EiOOOP'#Ge'#GeOOOP'#G]'#G]OOOP'#Fz'#FzQYOPOOOOOP-E9y-E9yOOQW'#Cg'#CgO&cQ!jO,59QO&jQ!jO'#G^OsQhO'#CtOOQW'#Gb'#GbOOQW'#Gc'#GcOOQW'#Gd'#GdOOQW'#G^'#G^OOOP,59n,59nO)YQh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#r#u$V$^%q%v%|&S&X&cm#|!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$O!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$Q!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$S!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$U!Q#d#g#n#r#u$V$^%q%v%|&S&X&cT&a$V&cm$X!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$Z!Q#d#g#n#r#u$V$^%q%v%|&S&X&c",nodeNames:"⚠ {{ {% {% {% {% InlineComment Template Text }} Interpolation VariableName MemberExpression . PropertyName SubscriptExpression BinaryExpression contains CompareOp LogicOp AssignmentExpression AssignOp ) ( RangeExpression .. BooleanLiteral empty forloop tablerowloop continue StringLiteral NumberLiteral Filter | FilterName : , Tag TagName %} IfDirective Tag if EndTag endif Tag elsif Tag else UnlessDirective Tag unless EndTag endunless CaseDirective Tag case EndTag endcase Tag when ForDirective Tag for in Parameter ParameterName EndTag endfor TableDirective Tag tablerow EndTag endtablerow Tag break Tag continue Tag cycle Comment Tag comment CommentText EndTag endcomment RawDirective Tag raw RawText EndTag endraw Tag echo Tag render RenderParameter with for as Tag include Tag assign CaptureDirective Tag capture EndTag endcapture Tag increment Tag decrement Tag liquid IfDirective Tag if EndTag endif UnlessDirective Tag unless EndTag endunless Tag elsif Tag else CaseDirective Tag case EndTag endcase Tag when ForDirective Tag EndTag endfor TableDirective Tag tablerow EndTag endtablerow Tag break Tag Tag cycle Tag echo Tag render Tag include Tag assign CaptureDirective Tag capture EndTag endcapture Tag increment Tag decrement",maxTerm:220,nodeProps:[["closedBy",1,"}}",-4,2,3,4,5,"%}",23,")"],["openedBy",9,"{{",22,"(",40,"{%"],["group",-13,11,12,15,16,20,24,26,27,28,29,30,31,32,"Expression"]],skippedNodes:[0,6],repeatNodeCount:11,tokenData:")e~RmXY!|YZ!|]^!|pq!|qr#_rs#juv$[wx$gxy%Syz%X{|%^|}&x}!O&}!O!P'Z!Q![&g![!]'k!^!_'p!_!`'x!`!a'p!c!}(Q!}#O(y#P#Q)O#R#S(Q#T#o(Q#p#q)T#q#r)Y%W;'S(Q;'S;:j(s<%lO(Q~#RS%O~XY!|YZ!|]^!|pq!|~#bP!_!`#e~#jOb~~#mUOY#jZr#jrs$Ps;'S#j;'S;=`$U<%lO#j~$UOo~~$XP;=`<%l#j~$_P#q#r$b~$gOx~~$jUOY$gZw$gwx$Px;'S$g;'S;=`$|<%lO$g~%PP;=`<%l$g~%XOg~~%^Of~P%aQ!O!P%g!Q![&gP%jP!Q![%mP%rRpP!Q![%m!g!h%{#X#Y%{P&OR{|&X}!O&X!Q![&_P&[P!Q![&_P&dPpP!Q![&_P&lSpP!O!P%g!Q![&g!g!h%{#X#Y%{~&}Ou~~'QRuv$[!O!P%g!Q![&g~'`Q]S!O!P'f!Q![%m~'kOi~~'pOt~~'uPb~!_!`#e~'}Pe~!_!`#e_(ZW^WwQ%RT}!O(Q!Q![(Q!c!}(Q#R#S(Q#T#o(Q%W;'S(Q;'S;:j(s<%lO(Q_(vP;=`<%l(Q~)OO%T~~)TO%S~~)YOr~~)]P#q#r)`~)eOX~",tokenizers:[F,Y,C,N,0,1,2,3],topRules:{Template:[0,7]},dynamicPrecedences:{190:1,191:1,192:1,194:1,195:1,196:1,197:1,199:1,200:1,201:1,202:1,203:1,204:1,205:1,206:1,207:1,208:1,209:1,210:1,211:1,212:1,213:1,214:1,215:1,216:1,217:1,218:1,219:1,220:1},specialized:[{term:187,get:O=>I[O]||-1},{term:39,get:O=>L[O]||-1}],tokenPrec:0});function l(O,a){return O.split(" ").map(r=>({label:r,type:a}))}const P=l("abs append at_least at_most capitalize ceil compact concat date default divided_by downcase escape escape_once first floor join last lstrip map minus modulo newline_to_br plus prepend remove remove_first replace replace_first reverse round rstrip size slice sort sort_natural split strip strip_html strip_newlines sum times truncate truncatewords uniq upcase url_decode url_encode where","function"),m=l("cycle comment endcomment raw endraw echo increment decrement liquid if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue assign capture endcapture render include","keyword"),T=l("empty forloop tablerowloop in with as","keyword"),A=l("first index index0 last length rindex","property"),B=l("col col0 col_first col_last first index index0 last length rindex rindex0 row","property");function M(O){var a;let{state:r,pos:n}=O,$=h(r).resolveInner(n,-1).enterUnfinishedNodesBefore(n),i=((a=$.childBefore(n))===null||a===void 0?void 0:a.name)||$.name;if($.name=="FilterName")return{type:"filter",node:$};if(O.explicit&&i=="|")return{type:"filter"};if($.name=="TagName")return{type:"tag",node:$};if(O.explicit&&i=="{%")return{type:"tag"};if($.name=="PropertyName"&&$.parent.name=="MemberExpression")return{type:"property",node:$,target:$.parent};if($.name=="."&&$.parent.name=="MemberExpression")return{type:"property",target:$.parent};if($.name=="MemberExpression"&&i==".")return{type:"property",target:$};if($.name=="VariableName")return{type:"expression",from:$.from};let e=O.matchBefore(/[\w\u00c0-\uffff]+$/);return e?{type:"expression",from:e.from}:O.explicit&&$.name!="CommentText"&&$.name!="StringLiteral"&&$.name!="NumberLiteral"&&$.name!="InlineComment"?{type:"expression"}:null}function K(O,a,r,n){let $=[];for(;;){let i=a.getChild("Expression");if(!i)return[];if(i.name=="VariableName"||i.name=="forloop"||i.name=="tablerowloop"){let e=O.sliceDoc(i.from,i.to);if(e=="forloop")return $.length?[]:A;if(e=="tablerowloop")return $.length?[]:B;$.unshift(e);break}else if(i.name=="MemberExpression"){let e=i.getChild("PropertyName");e&&$.unshift(O.sliceDoc(e.from,e.to)),a=i}else if(i.name=="SubscriptExpression"){let e=i.getChildren("Expression")[1];$.unshift((e==null?void 0:e.name)=="StringLiteral"?O.sliceDoc(e.from+1,e.to-1):"[]"),a=i}else return[]}return n?n($,O,r):[]}function J(O={}){let a=O.filters?O.filters.concat(P):P,r=O.tags?O.tags.concat(m):m,n=O.variables?O.variables.concat(T):T,{properties:$}=O;return i=>{var e;let t=M(i);if(!t)return null;let o=(e=t.from)!==null&&e!==void 0?e:t.node?t.node.from:i.pos,s;return t.type=="filter"?s=a:t.type=="tag"?s=r:t.type=="expression"?s=n:s=K(i.state,t.target,i,$),s.length?{options:s,from:o,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const OO=f.inputHandler.of((O,a,r,n)=>n!="%"||a!=r||O.state.doc.sliceString(a-1,r+1)!="{}"?!1:(O.dispatch(O.state.changeByRange($=>({changes:{from:$.from,to:$.to,insert:"%%"},range:p.cursor($.from+1)})),{scrollIntoView:!0,userEvent:"input.type"}),!0));function d(O){return a=>{let r=O.test(a.textAfter);return a.lineIndent(a.node.from)+(r?0:a.unit)}}const $O=G.define({name:"liquid",parser:H.configure({props:[Z({"cycle comment endcomment raw endraw echo increment decrement liquid in with as":Q.keyword,"empty forloop tablerowloop":Q.atom,"if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue":Q.controlKeyword,"assign capture endcapture":Q.definitionKeyword,contains:Q.operatorKeyword,"render include":Q.moduleKeyword,VariableName:Q.variableName,TagName:Q.tagName,FilterName:Q.function(Q.variableName),PropertyName:Q.propertyName,CompareOp:Q.compareOperator,AssignOp:Q.definitionOperator,LogicOp:Q.logicOperator,NumberLiteral:Q.number,StringLiteral:Q.string,BooleanLiteral:Q.bool,InlineComment:Q.lineComment,CommentText:Q.blockComment,"{% %} {{ }}":Q.brace,"[ ]":Q.bracket,"( )":Q.paren,".":Q.derefOperator,", .. : |":Q.punctuation}),S.add({Tag:b({closing:"%}"}),"UnlessDirective ForDirective TablerowDirective CaptureDirective":d(/^\s*(\{%-?\s*)?end\w/),IfDirective:d(/^\s*(\{%-?\s*)?(endif|else|elsif)\b/),CaseDirective:d(/^\s*(\{%-?\s*)?(endcase|when)\b/)}),j.add({"UnlessDirective ForDirective TablerowDirective CaptureDirective IfDirective CaseDirective RawDirective Comment"(O){let a=O.firstChild,r=O.lastChild;return!a||a.name!="Tag"?null:{from:a.to,to:r.name=="EndTag"?r.from:O.to}}})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*{%-?\s*(?:end|elsif|else|when|)$/}}),q=X();function g(O){return $O.configure({wrap:y(a=>a.type.isTop?{parser:O.parser,overlay:r=>r.name=="Text"||r.name=="RawText"}:null)},"liquid")}const aO=g(q.language);function rO(O={}){let a=O.base||q,r=a.language==q.language?aO:g(a.language);return new x(r,[a.support,r.data.of({autocomplete:J(O)}),a.language.data.of({closeBrackets:{brackets:["{"]}}),OO])}export{OO as closePercentBrace,rO as liquid,J as liquidCompletionSource,aO as liquidLanguage}; diff --git a/frontend/dist/assets/index-BKvAMB2l.js b/frontend/dist/assets/index-BKvAMB2l.js index 50b285c..bcb3c46 100644 --- a/frontend/dist/assets/index-BKvAMB2l.js +++ b/frontend/dist/assets/index-BKvAMB2l.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-BKvAMB2l.js import{e as s,s as n,t as r,a as o,L as P,i as Q,c as a,f as i,l as c}from"./index-DFkjzvE0.js";import"./index-CD29OCdJ.js";const g=n({String:r.string,Number:r.number,"True False":r.bool,PropertyName:r.propertyName,Null:r.null,", :":r.separator,"[ ]":r.squareBracket,"{ }":r.brace}),p=s.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",stateData:"#O~OeOS~OQSORSOSSOTSOWQO_ROgPO~OVXOgUO~O^[O~PVO[^O~O]_OVhX~OVaO~O]bO^iX~O^dO~O]_OVha~O]bO^ia~O",goto:"!kjPPPPPPkPPkqwPPPPk{!RPPP!XP!e!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName : , ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",14,"["],["closedBy",8,"}",15,"]"]],propSources:[g],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oe~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Og~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zO]~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yO[~~'OO_~~'TO^~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),d=()=>t=>{try{JSON.parse(t.state.doc.toString())}catch(O){if(!(O instanceof SyntaxError))throw O;const e=l(O,t.state.doc);return[{from:e,message:O.message,severity:"error",to:e}]}return[]};function l(t,O){let e;return(e=t.message.match(/at position (\d+)/))?Math.min(+e[1],O.length):(e=t.message.match(/at line (\d+) column (\d+)/))?Math.min(O.line(+e[1]).from+ +e[2]-1,O.length):0}const u=P.define({name:"json",parser:p.configure({props:[Q.add({Object:a({except:/^\s*\}/}),Array:a({except:/^\s*\]/})}),i.add({"Object Array":c})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function T(){return new o(u)}export{T as json,u as jsonLanguage,d as jsonParseLinter}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-DSFYfQ3s.js +import{e as s,s as n,t as r,a as o,L as P,i as Q,c as a,f as i,l as c}from"./index-Szd58FrA.js";import"./index-Ds9AETjS.js";const g=n({String:r.string,Number:r.number,"True False":r.bool,PropertyName:r.propertyName,Null:r.null,", :":r.separator,"[ ]":r.squareBracket,"{ }":r.brace}),p=s.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",stateData:"#O~OeOS~OQSORSOSSOTSOWQO_ROgPO~OVXOgUO~O^[O~PVO[^O~O]_OVhX~OVaO~O]bO^iX~O^dO~O]_OVha~O]bO^ia~O",goto:"!kjPPPPPPkPPkqwPPPPk{!RPPP!XP!e!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName : , ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",14,"["],["closedBy",8,"}",15,"]"]],propSources:[g],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oe~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Og~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zO]~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yO[~~'OO_~~'TO^~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),d=()=>t=>{try{JSON.parse(t.state.doc.toString())}catch(O){if(!(O instanceof SyntaxError))throw O;const e=l(O,t.state.doc);return[{from:e,message:O.message,severity:"error",to:e}]}return[]};function l(t,O){let e;return(e=t.message.match(/at position (\d+)/))?Math.min(+e[1],O.length):(e=t.message.match(/at line (\d+) column (\d+)/))?Math.min(O.line(+e[1]).from+ +e[2]-1,O.length):0}const u=P.define({name:"json",parser:p.configure({props:[Q.add({Object:a({except:/^\s*\}/}),Array:a({except:/^\s*\]/})}),i.add({"Object Array":c})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function T(){return new o(u)}export{T as json,u as jsonLanguage,d as jsonParseLinter}; +======== +import{e as s,s as n,t as r,a as o,L as P,i as Q,c as a,f as i,l as c}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const g=n({String:r.string,Number:r.number,"True False":r.bool,PropertyName:r.propertyName,Null:r.null,", :":r.separator,"[ ]":r.squareBracket,"{ }":r.brace}),p=s.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",stateData:"#O~OeOS~OQSORSOSSOTSOWQO_ROgPO~OVXOgUO~O^[O~PVO[^O~O]_OVhX~OVaO~O]bO^iX~O^dO~O]_OVha~O]bO^ia~O",goto:"!kjPPPPPPkPPkqwPPPPk{!RPPP!XP!e!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName : , ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",14,"["],["closedBy",8,"}",15,"]"]],propSources:[g],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oe~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Og~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zO]~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yO[~~'OO_~~'TO^~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),d=()=>t=>{try{JSON.parse(t.state.doc.toString())}catch(O){if(!(O instanceof SyntaxError))throw O;const e=l(O,t.state.doc);return[{from:e,message:O.message,severity:"error",to:e}]}return[]};function l(t,O){let e;return(e=t.message.match(/at position (\d+)/))?Math.min(+e[1],O.length):(e=t.message.match(/at line (\d+) column (\d+)/))?Math.min(O.line(+e[1]).from+ +e[2]-1,O.length):0}const u=P.define({name:"json",parser:p.configure({props:[Q.add({Object:a({except:/^\s*\}/}),Array:a({except:/^\s*\]/})}),i.add({"Object Array":c})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function T(){return new o(u)}export{T as json,u as jsonLanguage,d as jsonParseLinter}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-CGoqJ_Uf.js diff --git a/frontend/dist/assets/index-BZkqnoBm.js b/frontend/dist/assets/index-BZkqnoBm.js index 4e83c4d..b774242 100644 --- a/frontend/dist/assets/index-BZkqnoBm.js +++ b/frontend/dist/assets/index-BZkqnoBm.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-BZkqnoBm.js import{e as v,E as i,C as _,s as W,t as e,a as g,r as x,L as V,f as p,l as E,i as U,c as N}from"./index-DFkjzvE0.js";import"./index-CD29OCdJ.js";const j=168,X=169,C=170,I=1,D=2,w=3,L=171,F=172,Y=4,z=173,K=5,A=174,T=175,Z=176,s=177,G=6,q=7,B=8,H=9,c=0,R=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],M=58,J=40,m=95,OO=91,l=45,$O=46,f=35,eO=37,u=123,QO=125,d=47,S=42,r=10,k=61,tO=43,aO=38;function o(O){return O>=65&&O<=90||O>=97&&O<=122||O>=161}function y(O){return O>=48&&O<=57}function h(O){let $;return O.next==d&&(($=O.peek(1))==d||$==S)}const nO=new i((O,$)=>{if($.dialectEnabled(c)){let Q;if(O.next<0&&$.canShift(Z))O.acceptToken(Z);else if(((Q=O.peek(-1))==r||Q<0)&&$.canShift(T)){let t=0;for(;O.next!=r&&R.includes(O.next);)O.advance(),t++;O.next==r||h(O)?O.acceptToken(T,-t):t&&O.acceptToken(s)}else if(O.next==r)O.acceptToken(A,1);else if(R.includes(O.next)){for(O.advance();O.next!=r&&R.includes(O.next);)O.advance();O.acceptToken(s)}}else{let Q=0;for(;R.includes(O.next);)O.advance(),Q++;Q&&O.acceptToken(s)}},{contextual:!0}),rO=new i((O,$)=>{if(h(O)){if(O.advance(),$.dialectEnabled(c)){let Q=-1;for(let t=1;;t++){let a=O.peek(-t-1);if(a==r||a<0){Q=t+1;break}else if(!R.includes(a))break}if(Q>-1){let t=O.next==S,a=0;for(O.advance();O.next>=0;)if(O.next==r){O.advance();let n=0;for(;O.next!=r&&R.includes(O.next);)n++,O.advance();if(n=0;)O.advance();O.acceptToken(G)}else{for(O.advance();O.next>=0;){let{next:Q}=O;if(O.advance(),Q==S&&O.next==d){O.advance();break}}O.acceptToken(q)}}}),RO=new i((O,$)=>{(O.next==tO||O.next==k)&&$.dialectEnabled(c)&&O.acceptToken(O.next==k?B:H,1)}),iO=new i((O,$)=>{if(!$.dialectEnabled(c))return;let Q=$.context.depth;if(O.next<0&&Q){O.acceptToken(X);return}if(O.peek(-1)==r){let a=0;for(;O.next!=r&&R.includes(O.next);)O.advance(),a++;a!=Q&&O.next!=r&&!h(O)&&(a{for(let Q=!1,t=0,a=0;;a++){let{next:n}=O;if(o(n)||n==l||n==m||Q&&y(n))!Q&&(n!=l||a>0)&&(Q=!0),t===a&&n==l&&t++,O.advance();else if(n==f&&O.peek(1)==u){O.acceptToken(K,2);break}else{Q&&O.acceptToken(t==2&&$.canShift(Y)?Y:$.canShift(z)?z:n==J?L:F);break}}}),lO=new i(O=>{if(O.next==QO){for(O.advance();o(O.next)||O.next==l||O.next==m||y(O.next);)O.advance();O.next==f&&O.peek(1)==u?O.acceptToken(D,2):O.acceptToken(I)}}),dO=new i(O=>{if(R.includes(O.peek(-1))){let{next:$}=O;(o($)||$==m||$==f||$==$O||$==OO||$==M&&o(O.peek(1))||$==l||$==aO||$==S)&&O.acceptToken(C)}}),SO=new i(O=>{if(!R.includes(O.peek(-1))){let{next:$}=O;if($==eO&&(O.advance(),O.acceptToken(w)),o($)){do O.advance();while(o(O.next)||y(O.next));O.acceptToken(w)}}});function b(O,$){this.parent=O,this.depth=$,this.hash=(O?O.hash+O.hash<<8:0)+$+($<<4)}const cO=new b(null,0),sO=new _({start:cO,shift(O,$,Q,t){return $==j?new b(O,Q.pos-t.pos):$==X?O.parent:O},hash(O){return O.hash}}),XO=W({"AtKeyword import charset namespace keyframes media supports include mixin use forward extend at-root":e.definitionKeyword,"Keyword selector":e.keyword,ControlKeyword:e.controlKeyword,NamespaceName:e.namespace,KeyframeName:e.labelName,KeyframeRangeName:e.operatorKeyword,TagName:e.tagName,"ClassName Suffix":e.className,PseudoClassName:e.constant(e.className),IdName:e.labelName,"FeatureName PropertyName":e.propertyName,AttributeName:e.attributeName,NumberLiteral:e.number,KeywordQuery:e.keyword,UnaryQueryOp:e.operatorKeyword,"CallTag ValueName":e.atom,VariableName:e.variableName,SassVariableName:e.special(e.variableName),Callee:e.operatorKeyword,Unit:e.unit,"UniversalSelector NestingSelector IndentedMixin IndentedInclude":e.definitionOperator,MatchOp:e.compareOperator,"ChildOp SiblingOp, LogicOp":e.logicOperator,BinOp:e.arithmeticOperator,"Important Global Default":e.modifier,Comment:e.blockComment,LineComment:e.lineComment,ColorLiteral:e.color,"ParenthesizedContent StringLiteral":e.string,"InterpolationStart InterpolationContinue InterpolationEnd":e.meta,': "..."':e.punctuation,"PseudoOp #":e.derefOperator,"; ,":e.separator,"( )":e.paren,"[ ]":e.squareBracket,"{ }":e.brace}),PO={__proto__:null,not:62,using:197,as:207,with:211,without:211,hide:225,show:225,if:263,from:269,to:271,through:273,in:279},mO={__proto__:null,url:82,"url-prefix":82,domain:82,regexp:82,lang:104,"nth-child":104,"nth-last-child":104,"nth-of-type":104,"nth-last-of-type":104,dir:104,"host-context":104},fO={__proto__:null,"@import":162,"@include":194,"@mixin":200,"@function":200,"@use":204,"@extend":214,"@at-root":218,"@forward":222,"@media":228,"@charset":232,"@namespace":236,"@keyframes":242,"@supports":254,"@if":258,"@else":260,"@for":266,"@each":276,"@while":282,"@debug":286,"@warn":286,"@error":286,"@return":286},yO={__proto__:null,layer:166,not:184,only:184,selector:190},hO=v.deserialize({version:14,states:"!$WQ`Q+tOOO#fQ+tOOP#mOpOOOOQ#U'#Ch'#ChO#rQ(pO'#CjOOQ#U'#Ci'#CiO%_Q)QO'#GXO%rQ.jO'#CnO&mQ#dO'#D]O'dQ(pO'#CgO'kQ)OO'#D_O'vQ#dO'#DfO'{Q#dO'#DiO(QQ#dO'#DqOOQ#U'#GX'#GXO(VQ(pO'#GXO(^Q(nO'#DuO%rQ.jO'#D}O%rQ.jO'#E`O%rQ.jO'#EcO%rQ.jO'#EeO(cQ)OO'#EjO)TQ)OO'#ElO%rQ.jO'#EnO)bQ)OO'#EqO%rQ.jO'#EsO)|Q)OO'#EuO*XQ)OO'#ExO*aQ)OO'#FOO*uQ)OO'#FbOOQ&Z'#GW'#GWOOQ&Y'#Fe'#FeO+PQ(nO'#FeQ`Q+tOOO%rQ.jO'#FQO+[Q(nO'#FUO+aQ)OO'#FZO%rQ.j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&t%Y&w'yQ#o{R%i#oQqOR#bqQ%v$OQ&Q$a^'R%v&Q't(U(Y(^)UQ't&jQ(U'SQ(Y'VQ(^'^R)U(wQ'T%vU(W'T(X(xQ(X'UR(x(YQ#|!WR%s#|Q#v!SR%o#vQ'_&QR(_'_Q'[&OR(]'[Q!eXR$[!eUxP!f$_S#ix%fR%f#lQ&U$dR'd&UQ&Y$eR'g&YQ#myQ%e#jT%h#m%eQ(c'jR({(cQ%R#RR&o%RQ$u#OS&e$u(jR(j'sQ'r&gR(i'rQ&w%YR'|&wQ'z&vR(p'zQ&y%^R(O&yQ%a#eR&}%aR|QSoOq]wPx!f#l$_%f`XOPqx!f#l$_%fQ!zeQ!{fQ$W!aQ$X!bQ$Y!cQ$Z!dQ&O$`Q&p%TR(['ZQ!SVQ!uaQ!vbQ!wcQ!xdQ#OgQ#WiQ#crQ#guQ#hvS#q!Q$dQ#x!TQ$e!tQ%l#sQ%m#tQ%n#ul%u$O$a%v&Q&j'S'V'^'t(U(Y(^(w)UQ&S$cS&W$e&YQ&g$wQ&{%_Q'O%bQ'X%{Q'f&XQ(`'bQ(h'qQ(t(QR(u(SR%x$OR&R$aR&P$`QzPQ$^!fR%}$_X#ly#j#m%eQ#VhQ#_mQ$h!uR&^$iW#Rhm!u$iQ#^lQ$|#QQ%S#SQ&m%PQ&n%QQ'p&dR(f'oQ%O#QQ'v&kR)R(nQ#apQ$k!vQ$n!xQ$q!zQ$v#OQ%V#WQ%W#YQ%]#_Q%d#hQ&]$hQ&f$uQ&q%XQ'k&^Q'l&_S'm&`&bQ(k'sQ(}(eR)Q(jR&h$wR#ft",nodeNames:"⚠ InterpolationEnd InterpolationContinue Unit VariableName InterpolationStart LineComment Comment IndentedMixin IndentedInclude StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector SuffixedSelector Suffix Interpolation SassVariableName ValueName ) ( ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp LogicOp UnaryExpression LogicOp NamespacedValue . CallExpression Callee ArgList : ... , CallLiteral CallTag ParenthesizedContent ] [ LineNames LineName ClassSelector ClassName PseudoClassSelector :: PseudoClassName PseudoClassName ArgList PseudoClassName ArgList IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp PlaceholderSelector ClassName Block { Declaration PropertyName Map Important Global Default ; } ImportStatement AtKeyword import Layer layer LayerName KeywordQuery FeatureQuery FeatureName BinaryQuery ComparisonQuery CompareOp UnaryQuery LogicOp ParenthesizedQuery SelectorQuery selector IncludeStatement include Keyword MixinStatement mixin UseStatement use Keyword Star Keyword ExtendStatement extend RootStatement at-root ForwardStatement forward Keyword MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports IfStatement ControlKeyword ControlKeyword Keyword ForStatement ControlKeyword Keyword Keyword Keyword EachStatement ControlKeyword Keyword WhileStatement ControlKeyword OutputStatement ControlKeyword AtRule Styles",maxTerm:196,context:sO,nodeProps:[["openedBy",1,"InterpolationStart",5,"InterpolationEnd",21,"(",43,"[",78,"{"],["isolate",-3,6,7,26,""],["closedBy",22,")",44,"]",70,"}"]],propSources:[XO],skippedNodes:[0,6,7,146],repeatNodeCount:21,tokenData:"!$Q~RyOq#rqr$jrs0jst2^tu8{uv;hvw;{wx<^xy={yz>^z{>c{|>||}Co}!ODQ!O!PDo!P!QFY!Q![Fk![!]Gf!]!^Hb!^!_Hs!_!`Is!`!aJ^!a!b#r!b!cKa!c!}#r!}#OMn#O#P#r#P#QNP#Q#RNb#R#T#r#T#UNw#U#c#r#c#d!!Y#d#o#r#o#p!!o#p#qNb#q#r!#Q#r#s!#c#s;'S#r;'S;=`!#z<%lO#rW#uSOy$Rz;'S$R;'S;=`$d<%lO$RW$WSzWOy$Rz;'S$R;'S;=`$d<%lO$RW$gP;=`<%l$RY$m[Oy$Rz!_$R!_!`%c!`#W$R#W#X%v#X#Z$R#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lQOy$Rz!_$R!_!`I^!`!aJ|!a;'S$R;'S;=`$d<%lO$RXKTS!aPzWOy$Rz;'S$R;'S;=`$d<%lO$RXKdYOy$Rz}$R}!OLS!O!c$R!c!}Lq!}#T$R#T#oLq#o;'S$R;'S;=`$d<%lO$RXLXWzWOy$Rz!c$R!c!}Lq!}#T$R#T#oLq#o;'S$R;'S;=`$d<%lO$RXLx[!rPzWOy$Rz}$R}!OLq!O!Q$R!Q![Lq![!c$R!c!}Lq!}#T$R#T#oLq#o;'S$R;'S;=`$d<%lO$RZMsS|ROy$Rz;'S$R;'S;=`$d<%lO$R_NUS{VOy$Rz;'S$R;'S;=`$d<%lO$R[NeUOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RkNzUOy$Rz#b$R#b#c! ^#c;'S$R;'S;=`$d<%lO$Rk! cUzWOy$Rz#W$R#W#X! u#X;'S$R;'S;=`$d<%lO$Rk! |SmczWOy$Rz;'S$R;'S;=`$d<%lO$Rk!!]UOy$Rz#f$R#f#g! u#g;'S$R;'S;=`$d<%lO$RZ!!tS!hROy$Rz;'S$R;'S;=`$d<%lO$RZ!#VS!pROy$Rz;'S$R;'S;=`$d<%lO$R]!#hU!dPOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RW!#}P;=`<%l#r",tokenizers:[iO,dO,lO,SO,oO,nO,rO,RO,0,1,2,3,4],topRules:{StyleSheet:[0,10],Styles:[1,145]},dialects:{indented:0},specialized:[{term:172,get:O=>PO[O]||-1},{term:171,get:O=>mO[O]||-1},{term:80,get:O=>fO[O]||-1},{term:173,get:O=>yO[O]||-1}],tokenPrec:3217}),P=V.define({name:"sass",parser:hO.configure({props:[p.add({Block:E,Comment(O,$){return{from:O.from+2,to:$.sliceDoc(O.to-2,O.to)=="*/"?O.to-2:O.to}}}),U.add({Declaration:N()})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"$-"}}),wO=P.configure({dialect:"indented",props:[U.add({"Block RuleSet":O=>O.baseIndent+O.unit}),p.add({Block:O=>({from:O.from,to:O.to})})]}),YO=x(O=>O.name=="VariableName"||O.name=="SassVariableName");function ZO(O){return new g(O!=null&&O.indented?wO:P,P.data.of({autocomplete:YO}))}export{ZO as sass,YO as sassCompletionSource,P as sassLanguage}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-CJwZRzD3.js +import{e as v,E as i,C as _,s as W,t as e,a as g,r as x,L as V,f as p,l as E,i as U,c as N}from"./index-Szd58FrA.js";import"./index-Ds9AETjS.js";const j=168,X=169,C=170,I=1,D=2,w=3,L=171,F=172,Y=4,z=173,K=5,A=174,T=175,Z=176,s=177,G=6,q=7,B=8,H=9,c=0,R=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],M=58,J=40,m=95,OO=91,l=45,$O=46,f=35,eO=37,u=123,QO=125,d=47,S=42,r=10,k=61,tO=43,aO=38;function o(O){return O>=65&&O<=90||O>=97&&O<=122||O>=161}function y(O){return O>=48&&O<=57}function h(O){let $;return O.next==d&&(($=O.peek(1))==d||$==S)}const nO=new i((O,$)=>{if($.dialectEnabled(c)){let Q;if(O.next<0&&$.canShift(Z))O.acceptToken(Z);else if(((Q=O.peek(-1))==r||Q<0)&&$.canShift(T)){let t=0;for(;O.next!=r&&R.includes(O.next);)O.advance(),t++;O.next==r||h(O)?O.acceptToken(T,-t):t&&O.acceptToken(s)}else if(O.next==r)O.acceptToken(A,1);else if(R.includes(O.next)){for(O.advance();O.next!=r&&R.includes(O.next);)O.advance();O.acceptToken(s)}}else{let Q=0;for(;R.includes(O.next);)O.advance(),Q++;Q&&O.acceptToken(s)}},{contextual:!0}),rO=new i((O,$)=>{if(h(O)){if(O.advance(),$.dialectEnabled(c)){let Q=-1;for(let t=1;;t++){let a=O.peek(-t-1);if(a==r||a<0){Q=t+1;break}else if(!R.includes(a))break}if(Q>-1){let t=O.next==S,a=0;for(O.advance();O.next>=0;)if(O.next==r){O.advance();let n=0;for(;O.next!=r&&R.includes(O.next);)n++,O.advance();if(n=0;)O.advance();O.acceptToken(G)}else{for(O.advance();O.next>=0;){let{next:Q}=O;if(O.advance(),Q==S&&O.next==d){O.advance();break}}O.acceptToken(q)}}}),RO=new i((O,$)=>{(O.next==tO||O.next==k)&&$.dialectEnabled(c)&&O.acceptToken(O.next==k?B:H,1)}),iO=new i((O,$)=>{if(!$.dialectEnabled(c))return;let Q=$.context.depth;if(O.next<0&&Q){O.acceptToken(X);return}if(O.peek(-1)==r){let a=0;for(;O.next!=r&&R.includes(O.next);)O.advance(),a++;a!=Q&&O.next!=r&&!h(O)&&(a{for(let Q=!1,t=0,a=0;;a++){let{next:n}=O;if(o(n)||n==l||n==m||Q&&y(n))!Q&&(n!=l||a>0)&&(Q=!0),t===a&&n==l&&t++,O.advance();else if(n==f&&O.peek(1)==u){O.acceptToken(K,2);break}else{Q&&O.acceptToken(t==2&&$.canShift(Y)?Y:$.canShift(z)?z:n==J?L:F);break}}}),lO=new i(O=>{if(O.next==QO){for(O.advance();o(O.next)||O.next==l||O.next==m||y(O.next);)O.advance();O.next==f&&O.peek(1)==u?O.acceptToken(D,2):O.acceptToken(I)}}),dO=new i(O=>{if(R.includes(O.peek(-1))){let{next:$}=O;(o($)||$==m||$==f||$==$O||$==OO||$==M&&o(O.peek(1))||$==l||$==aO||$==S)&&O.acceptToken(C)}}),SO=new i(O=>{if(!R.includes(O.peek(-1))){let{next:$}=O;if($==eO&&(O.advance(),O.acceptToken(w)),o($)){do O.advance();while(o(O.next)||y(O.next));O.acceptToken(w)}}});function b(O,$){this.parent=O,this.depth=$,this.hash=(O?O.hash+O.hash<<8:0)+$+($<<4)}const cO=new b(null,0),sO=new _({start:cO,shift(O,$,Q,t){return $==j?new b(O,Q.pos-t.pos):$==X?O.parent:O},hash(O){return O.hash}}),XO=W({"AtKeyword import charset namespace keyframes media supports include mixin use forward extend at-root":e.definitionKeyword,"Keyword selector":e.keyword,ControlKeyword:e.controlKeyword,NamespaceName:e.namespace,KeyframeName:e.labelName,KeyframeRangeName:e.operatorKeyword,TagName:e.tagName,"ClassName Suffix":e.className,PseudoClassName:e.constant(e.className),IdName:e.labelName,"FeatureName PropertyName":e.propertyName,AttributeName:e.attributeName,NumberLiteral:e.number,KeywordQuery:e.keyword,UnaryQueryOp:e.operatorKeyword,"CallTag ValueName":e.atom,VariableName:e.variableName,SassVariableName:e.special(e.variableName),Callee:e.operatorKeyword,Unit:e.unit,"UniversalSelector NestingSelector IndentedMixin IndentedInclude":e.definitionOperator,MatchOp:e.compareOperator,"ChildOp SiblingOp, LogicOp":e.logicOperator,BinOp:e.arithmeticOperator,"Important Global Default":e.modifier,Comment:e.blockComment,LineComment:e.lineComment,ColorLiteral:e.color,"ParenthesizedContent StringLiteral":e.string,"InterpolationStart InterpolationContinue InterpolationEnd":e.meta,': "..."':e.punctuation,"PseudoOp #":e.derefOperator,"; ,":e.separator,"( )":e.paren,"[ ]":e.squareBracket,"{ }":e.brace}),PO={__proto__:null,not:62,using:197,as:207,with:211,without:211,hide:225,show:225,if:263,from:269,to:271,through:273,in:279},mO={__proto__:null,url:82,"url-prefix":82,domain:82,regexp:82,lang:104,"nth-child":104,"nth-last-child":104,"nth-of-type":104,"nth-last-of-type":104,dir:104,"host-context":104},fO={__proto__:null,"@import":162,"@include":194,"@mixin":200,"@function":200,"@use":204,"@extend":214,"@at-root":218,"@forward":222,"@media":228,"@charset":232,"@namespace":236,"@keyframes":242,"@supports":254,"@if":258,"@else":260,"@for":266,"@each":276,"@while":282,"@debug":286,"@warn":286,"@error":286,"@return":286},yO={__proto__:null,layer:166,not:184,only:184,selector:190},hO=v.deserialize({version:14,states:"!$WQ`Q+tOOO#fQ+tOOP#mOpOOOOQ#U'#Ch'#ChO#rQ(pO'#CjOOQ#U'#Ci'#CiO%_Q)QO'#GXO%rQ.jO'#CnO&mQ#dO'#D]O'dQ(pO'#CgO'k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'p&dR(f'oQ%O#QQ'v&kR)R(nQ#apQ$k!vQ$n!xQ$q!zQ$v#OQ%V#WQ%W#YQ%]#_Q%d#hQ&]$hQ&f$uQ&q%XQ'k&^Q'l&_S'm&`&bQ(k'sQ(}(eR)Q(jR&h$wR#ft",nodeNames:"⚠ InterpolationEnd InterpolationContinue Unit VariableName InterpolationStart LineComment Comment IndentedMixin IndentedInclude StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector SuffixedSelector Suffix Interpolation SassVariableName ValueName ) ( ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp LogicOp UnaryExpression LogicOp NamespacedValue . CallExpression Callee ArgList : ... , CallLiteral CallTag ParenthesizedContent ] [ LineNames LineName ClassSelector ClassName PseudoClassSelector :: PseudoClassName PseudoClassName ArgList PseudoClassName ArgList IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp PlaceholderSelector ClassName Block { Declaration PropertyName Map Important Global Default ; } ImportStatement AtKeyword import Layer layer LayerName KeywordQuery FeatureQuery FeatureName BinaryQuery ComparisonQuery CompareOp UnaryQuery LogicOp ParenthesizedQuery SelectorQuery selector IncludeStatement include Keyword MixinStatement mixin UseStatement use Keyword Star Keyword ExtendStatement extend RootStatement at-root ForwardStatement forward Keyword MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports IfStatement ControlKeyword ControlKeyword Keyword ForStatement ControlKeyword Keyword Keyword Keyword EachStatement ControlKeyword Keyword WhileStatement ControlKeyword OutputStatement ControlKeyword AtRule Styles",maxTerm:196,context:sO,nodeProps:[["openedBy",1,"InterpolationStart",5,"InterpolationEnd",21,"(",43,"[",78,"{"],["isolate",-3,6,7,26,""],["closedBy",22,")",44,"]",70,"}"]],propSources:[XO],skippedNodes:[0,6,7,146],repeatNodeCount:21,tokenData:"!$Q~RyOq#rqr$jrs0j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,oO,nO,rO,RO,0,1,2,3,4],topRules:{StyleSheet:[0,10],Styles:[1,145]},dialects:{indented:0},specialized:[{term:172,get:O=>PO[O]||-1},{term:171,get:O=>mO[O]||-1},{term:80,get:O=>fO[O]||-1},{term:173,get:O=>yO[O]||-1}],tokenPrec:3217}),P=V.define({name:"sass",parser:hO.configure({props:[p.add({Block:E,Comment(O,$){return{from:O.from+2,to:$.sliceDoc(O.to-2,O.to)=="*/"?O.to-2:O.to}}}),U.add({Declaration:N()})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"$-"}}),wO=P.configure({dialect:"indented",props:[U.add({"Block RuleSet":O=>O.baseIndent+O.unit}),p.add({Block:O=>({from:O.from,to:O.to})})]}),YO=x(O=>O.name=="VariableName"||O.name=="SassVariableName");function ZO(O){return new g(O!=null&&O.indented?wO:P,P.data.of({autocomplete:YO}))}export{ZO as sass,YO as sassCompletionSource,P as sassLanguage}; +======== +import{e as v,E as i,C as _,s as W,t as e,a as g,r as x,L as V,f as p,l as E,i as U,c as N}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const j=168,X=169,C=170,I=1,D=2,w=3,L=171,F=172,Y=4,z=173,K=5,A=174,T=175,Z=176,s=177,G=6,q=7,B=8,H=9,c=0,R=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],M=58,J=40,m=95,OO=91,l=45,$O=46,f=35,eO=37,u=123,QO=125,d=47,S=42,r=10,k=61,tO=43,aO=38;function o(O){return O>=65&&O<=90||O>=97&&O<=122||O>=161}function y(O){return O>=48&&O<=57}function h(O){let $;return O.next==d&&(($=O.peek(1))==d||$==S)}const nO=new i((O,$)=>{if($.dialectEnabled(c)){let Q;if(O.next<0&&$.canShift(Z))O.acceptToken(Z);else if(((Q=O.peek(-1))==r||Q<0)&&$.canShift(T)){let t=0;for(;O.next!=r&&R.includes(O.next);)O.advance(),t++;O.next==r||h(O)?O.acceptToken(T,-t):t&&O.acceptToken(s)}else if(O.next==r)O.acceptToken(A,1);else if(R.includes(O.next)){for(O.advance();O.next!=r&&R.includes(O.next);)O.advance();O.acceptToken(s)}}else{let Q=0;for(;R.includes(O.next);)O.advance(),Q++;Q&&O.acceptToken(s)}},{contextual:!0}),rO=new i((O,$)=>{if(h(O)){if(O.advance(),$.dialectEnabled(c)){let Q=-1;for(let t=1;;t++){let a=O.peek(-t-1);if(a==r||a<0){Q=t+1;break}else if(!R.includes(a))break}if(Q>-1){let t=O.next==S,a=0;for(O.advance();O.next>=0;)if(O.next==r){O.advance();let n=0;for(;O.next!=r&&R.includes(O.next);)n++,O.advance();if(n=0;)O.advance();O.acceptToken(G)}else{for(O.advance();O.next>=0;){let{next:Q}=O;if(O.advance(),Q==S&&O.next==d){O.advance();break}}O.acceptToken(q)}}}),RO=new i((O,$)=>{(O.next==tO||O.next==k)&&$.dialectEnabled(c)&&O.acceptToken(O.next==k?B:H,1)}),iO=new i((O,$)=>{if(!$.dialectEnabled(c))return;let Q=$.context.depth;if(O.next<0&&Q){O.acceptToken(X);return}if(O.peek(-1)==r){let a=0;for(;O.next!=r&&R.includes(O.next);)O.advance(),a++;a!=Q&&O.next!=r&&!h(O)&&(a{for(let Q=!1,t=0,a=0;;a++){let{next:n}=O;if(o(n)||n==l||n==m||Q&&y(n))!Q&&(n!=l||a>0)&&(Q=!0),t===a&&n==l&&t++,O.advance();else if(n==f&&O.peek(1)==u){O.acceptToken(K,2);break}else{Q&&O.acceptToken(t==2&&$.canShift(Y)?Y:$.canShift(z)?z:n==J?L:F);break}}}),lO=new i(O=>{if(O.next==QO){for(O.advance();o(O.next)||O.next==l||O.next==m||y(O.next);)O.advance();O.next==f&&O.peek(1)==u?O.acceptToken(D,2):O.acceptToken(I)}}),dO=new i(O=>{if(R.includes(O.peek(-1))){let{next:$}=O;(o($)||$==m||$==f||$==$O||$==OO||$==M&&o(O.peek(1))||$==l||$==aO||$==S)&&O.acceptToken(C)}}),SO=new i(O=>{if(!R.includes(O.peek(-1))){let{next:$}=O;if($==eO&&(O.advance(),O.acceptToken(w)),o($)){do O.advance();while(o(O.next)||y(O.next));O.acceptToken(w)}}});function b(O,$){this.parent=O,this.depth=$,this.hash=(O?O.hash+O.hash<<8:0)+$+($<<4)}const cO=new b(null,0),sO=new _({start:cO,shift(O,$,Q,t){return $==j?new b(O,Q.pos-t.pos):$==X?O.parent:O},hash(O){return O.hash}}),XO=W({"AtKeyword import charset namespace keyframes media supports include mixin use forward extend at-root":e.definitionKeyword,"Keyword selector":e.keyword,ControlKeyword:e.controlKeyword,NamespaceName:e.namespace,KeyframeName:e.labelName,KeyframeRangeName:e.operatorKeyword,TagName:e.tagName,"ClassName Suffix":e.className,PseudoClassName:e.constant(e.className),IdName:e.labelName,"FeatureName PropertyName":e.propertyName,AttributeName:e.attributeName,NumberLiteral:e.number,KeywordQuery:e.keyword,UnaryQueryOp:e.operatorKeyword,"CallTag ValueName":e.atom,VariableName:e.variableName,SassVariableName:e.special(e.variableName),Callee:e.operatorKeyword,Unit:e.unit,"UniversalSelector NestingSelector IndentedMixin IndentedInclude":e.definitionOperator,MatchOp:e.compareOperator,"ChildOp SiblingOp, LogicOp":e.logicOperator,BinOp:e.arithmeticOperator,"Important Global Default":e.modifier,Comment:e.blockComment,LineComment:e.lineComment,ColorLiteral:e.color,"ParenthesizedContent StringLiteral":e.string,"InterpolationStart InterpolationContinue InterpolationEnd":e.meta,': "..."':e.punctuation,"PseudoOp #":e.derefOperator,"; ,":e.separator,"( )":e.paren,"[ ]":e.squareBracket,"{ }":e.brace}),PO={__proto__:null,not:62,using:197,as:207,with:211,without:211,hide:225,show:225,if:263,from:269,to:271,through:273,in:279},mO={__proto__:null,url:82,"url-prefix":82,domain:82,regexp:82,lang:104,"nth-child":104,"nth-last-child":104,"nth-of-type":104,"nth-last-of-type":104,dir:104,"host-context":104},fO={__proto__:null,"@import":162,"@include":194,"@mixin":200,"@function":200,"@use":204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VQ!uaQ!vbQ!wcQ!xdQ#OgQ#WiQ#crQ#guQ#hvS#q!Q$dQ#x!TQ$e!tQ%l#sQ%m#tQ%n#ul%u$O$a%v&Q&j'S'V'^'t(U(Y(^(w)UQ&S$cS&W$e&YQ&g$wQ&{%_Q'O%bQ'X%{Q'f&XQ(`'bQ(h'qQ(t(QR(u(SR%x$OR&R$aR&P$`QzPQ$^!fR%}$_X#ly#j#m%eQ#VhQ#_mQ$h!uR&^$iW#Rhm!u$iQ#^lQ$|#QQ%S#SQ&m%PQ&n%QQ'p&dR(f'oQ%O#QQ'v&kR)R(nQ#apQ$k!vQ$n!xQ$q!zQ$v#OQ%V#WQ%W#YQ%]#_Q%d#hQ&]$hQ&f$uQ&q%XQ'k&^Q'l&_S'm&`&bQ(k'sQ(}(eR)Q(jR&h$wR#ft",nodeNames:"⚠ InterpolationEnd InterpolationContinue Unit VariableName InterpolationStart LineComment Comment IndentedMixin IndentedInclude StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector SuffixedSelector Suffix Interpolation SassVariableName ValueName ) ( ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp LogicOp UnaryExpression LogicOp NamespacedValue . CallExpression Callee ArgList : ... , CallLiteral CallTag ParenthesizedContent ] [ LineNames LineName ClassSelector ClassName PseudoClassSelector :: PseudoClassName PseudoClassName ArgList PseudoClassName ArgList IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp PlaceholderSelector ClassName Block { Declaration PropertyName Map Important Global Default ; } ImportStatement AtKeyword import Layer layer LayerName KeywordQuery FeatureQuery FeatureName BinaryQuery ComparisonQuery CompareOp UnaryQuery LogicOp ParenthesizedQuery SelectorQuery selector IncludeStatement include Keyword MixinStatement mixin UseStatement use Keyword Star Keyword ExtendStatement extend RootStatement at-root ForwardStatement forward Keyword MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports IfStatement ControlKeyword ControlKeyword Keyword ForStatement ControlKeyword Keyword Keyword Keyword EachStatement ControlKeyword Keyword WhileStatement ControlKeyword OutputStatement ControlKeyword AtRule Styles",maxTerm:196,context:sO,nodeProps:[["openedBy",1,"InterpolationStart",5,"InterpolationEnd",21,"(",43,"[",78,"{"],["isolate",-3,6,7,26,""],["closedBy",22,")",44,"]",70,"}"]],propSources:[XO],skippedNodes:[0,6,7,146],repeatNodeCount:21,tokenData:"!$Q~RyOq#rqr$jrs0jst2^tu8{uv;hvw;{wx<^xy={yz>^z{>c{|>||}Co}!ODQ!O!PDo!P!QFY!Q![Fk![!]Gf!]!^Hb!^!_Hs!_!`Is!`!aJ^!a!b#r!b!cKa!c!}#r!}#OMn#O#P#r#P#QNP#Q#RNb#R#T#r#T#UNw#U#c#r#c#d!!Y#d#o#r#o#p!!o#p#qNb#q#r!#Q#r#s!#c#s;'S#r;'S;=`!#z<%lO#rW#uSOy$Rz;'S$R;'S;=`$d<%lO$RW$WSzWOy$Rz;'S$R;'S;=`$d<%lO$RW$gP;=`<%l$RY$m[Oy$Rz!_$R!_!`%c!`#W$R#W#X%v#X#Z$R#Z#[)Z#[#]$R#]#^,V#^;'S$R;'S;=`$d<%lO$RY%jSzWlQOy$Rz;'S$R;'S;=`$d<%lO$RY%{UzWOy$Rz#X$R#X#Y&_#Y;'S$R;'S;=`$d<%lO$RY&dUzWOy$Rz#Y$R#Y#Z&v#Z;'S$R;'S;=`$d<%lO$RY&{UzWOy$Rz#T$R#T#U'_#U;'S$R;'S;=`$d<%lO$RY'dUzWOy$Rz#i$R#i#j'v#j;'S$R;'S;=`$d<%lO$RY'{UzWOy$Rz#`$R#`#a(_#a;'S$R;'S;=`$d<%lO$RY(dUzWOy$Rz#h$R#h#i(v#i;'S$R;'S;=`$d<%lO$RY(}S!nQzWOy$Rz;'S$R;'S;=`$d<%lO$RY)`UzWOy$Rz#`$R#`#a)r#a;'S$R;'S;=`$d<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;'S$R;'S;=`$d<%lO$Rk! cUzWOy$Rz#W$R#W#X! u#X;'S$R;'S;=`$d<%lO$Rk! |SmczWOy$Rz;'S$R;'S;=`$d<%lO$Rk!!]UOy$Rz#f$R#f#g! u#g;'S$R;'S;=`$d<%lO$RZ!!tS!hROy$Rz;'S$R;'S;=`$d<%lO$RZ!#VS!pROy$Rz;'S$R;'S;=`$d<%lO$R]!#hU!dPOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RW!#}P;=`<%l#r",tokenizers:[iO,dO,lO,SO,oO,nO,rO,RO,0,1,2,3,4],topRules:{StyleSheet:[0,10],Styles:[1,145]},dialects:{indented:0},specialized:[{term:172,get:O=>PO[O]||-1},{term:171,get:O=>mO[O]||-1},{term:80,get:O=>fO[O]||-1},{term:173,get:O=>yO[O]||-1}],tokenPrec:3217}),P=V.define({name:"sass",parser:hO.configure({props:[p.add({Block:E,Comment(O,$){return{from:O.from+2,to:$.sliceDoc(O.to-2,O.to)=="*/"?O.to-2:O.to}}}),U.add({Declaration:N()})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"$-"}}),wO=P.configure({dialect:"indented",props:[U.add({"Block RuleSet":O=>O.baseIndent+O.unit}),p.add({Block:O=>({from:O.from,to:O.to})})]}),YO=x(O=>O.name=="VariableName"||O.name=="SassVariableName");function ZO(O){return new g(O!=null&&O.indented?wO:P,P.data.of({autocomplete:YO}))}export{ZO as sass,YO as sassCompletionSource,P as sassLanguage}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-DWBG_Y-d.js diff --git a/frontend/dist/assets/index-BgBN-PsO.js b/frontend/dist/assets/index-BgBN-PsO.js new file mode 100644 index 0000000..e66e5f7 --- /dev/null +++ b/frontend/dist/assets/index-BgBN-PsO.js @@ -0,0 +1 @@ +import{L as p,a as u,p as l,q as n,s as m,t,v as b,e as S,h as r}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const c=S.deserialize({version:14,states:"%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",stateData:"$g~OjOS~OQROUROkQO~OWTOXUOZUO`VO~OSXOTWO~OXUO[]OlZO~OY^O~O[_O~OT`O~OYaO~OmcOodO~OmfOogO~O^iOnhO~O_jOphO~ObkOqkOrmO~OcnOsnOtmO~OnpO~OppO~ObkOqkOrrO~OcnOsnOtrO~OWX`~",goto:"!^hPPPiPPPPPPPPPmPPPpPPsy!Q!WTROSRe]Re_QSORYSS[T^Rb[QlfRqlQogRso",nodeNames:"⚠ Content Text Interpolation InterpolationContent }} Entity Attribute VueAttributeName : Identifier @ Is ScriptAttributeValue AttributeScript AttributeScript AttributeName AttributeValue Entity Entity",maxTerm:36,nodeProps:[["isolate",-3,3,13,17,""]],skippedNodes:[0],repeatNodeCount:4,tokenData:"'y~RdXY!aYZ!a]^!apq!ars!rwx!w}!O!|!O!P#t!Q![#y![!]$s!_!`%g!b!c%l!c!}#y#R#S#y#T#j#y#j#k%q#k#o#y%W;'S#y;'S;:j$m<%lO#y~!fSj~XY!aYZ!a]^!apq!a~!wOm~~!|Oo~!b#RX`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|!b#qP;=`<%l!|~#yOl~%W$QXY#t`!b}!O!|!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y%W$pP;=`<%l#y~$zXX~`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|~%lO[~~%qOZ~%W%xXY#t`!b}!O&e!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y!b&jX`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|!b'^XW!b`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|",tokenizers:[6,7,new r("b~RP#q#rU~XP#q#r[~aOT~~",17,4),new r("!k~RQvwX#o#p!_~^TU~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOU~~![P;=`<%lm~!bP#o#p!e~!jOk~~",72,2),new r("[~RPwxU~ZOp~~",11,15),new r("[~RPrsU~ZOn~~",11,14),new r("!e~RQvwXwx!_~^Tc~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOc~~![P;=`<%lm~!dOt~~",66,35),new r("!e~RQrsXvw^~^Or~~cTb~Oprq!]r!^;'Sr;'S;=`!^<%lOr~uUOprq!]r!]!^!X!^;'Sr;'S;=`!^<%lOr~!^Ob~~!aP;=`<%lr~",66,33)],topRules:{Content:[0,1],Attribute:[1,7]},tokenPrec:157}),P=b.parser.configure({top:"SingleExpression"}),s=c.configure({props:[m({Text:t.content,Is:t.definitionOperator,AttributeName:t.attributeName,VueAttributeName:t.keyword,Identifier:t.variableName,"AttributeValue ScriptAttributeValue":t.attributeValue,Entity:t.character,"{{ }}":t.brace,"@ :":t.punctuation})]}),o={parser:P},Q=s.configure({wrap:n((O,e)=>O.name=="InterpolationContent"?o:null)}),g=s.configure({wrap:n((O,e)=>O.name=="AttributeScript"?o:null),top:"Attribute"}),y={parser:Q},R={parser:g},a=l();function i(O){return O.configure({dialect:"selfClosing",wrap:n(X)},"vue")}const T=i(a.language);function X(O,e){switch(O.name){case"Attribute":return/^(@|:|v-)/.test(e.read(O.from,O.from+2))?R:null;case"Text":return y}return null}function f(O={}){let e=a;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof p))throw new RangeError("The base option must be the result of calling html(...)");e=O.base}return new u(e.language==a.language?T:i(e.language),[e.support,e.language.data.of({closeBrackets:{brackets:["{",'"']}})])}export{f as vue,T as vueLanguage}; diff --git a/frontend/dist/assets/index-BgISfzyU.js b/frontend/dist/assets/index-BgISfzyU.js index d0985e8..4e130e4 100644 --- a/frontend/dist/assets/index-BgISfzyU.js +++ b/frontend/dist/assets/index-BgISfzyU.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-BgISfzyU.js import{n as f,o as p,a as x,p as X,q as y,g as h,L as G,s as Z,t as Q,i as S,k as b,f as j,e as V,E as c}from"./index-DFkjzvE0.js";import"./index-CD29OCdJ.js";const W=1,k=2,w=3,v=180,R=4,_=181,z=5,E=182,U=6;function D(O){return O>=65&&O<=90||O>=97&&O<=122}const F=new c(O=>{let a=O.pos;for(;;){let{next:r}=O;if(r<0)break;if(r==123){let n=O.peek(1);if(n==123){if(O.pos>a)break;O.acceptToken(W,2);return}else if(n==37){if(O.pos>a)break;let $=2,i=2;for(;;){let e=O.peek($);if(e==32||e==10)++$;else if(e==35)for(++$;;){let t=O.peek($);if(t<0||t==10)break;$++}else if(e==45&&i==2)i=++$;else{let t=e==101&&O.peek($+1)==110&&O.peek($+2)==100;O.acceptToken(t?w:k,i);return}}}}if(O.advance(),r==10)break}O.pos>a&&O.acceptToken(v)});function u(O,a,r){return new c(n=>{let $=n.pos;for(;;){let{next:i}=n;if(i==123&&n.peek(1)==37){let e=2;for(;;e++){let o=n.peek(e);if(o!=32&&o!=10)break}let t="";for(;;e++){let o=n.peek(e);if(!D(o))break;t+=String.fromCharCode(o)}if(t==O){if(n.pos>$)break;n.acceptToken(r,2);break}}else if(i<0)break;if(n.advance(),i==10)break}n.pos>$&&n.acceptToken(a)})}const C=u("endcomment",E,z),Y=u("endraw",_,R),N=new c(O=>{if(O.next==35){for(O.advance();!(O.next==10||O.next<0||(O.next==37||O.next==125)&&O.peek(1)==125);)O.advance();O.acceptToken(U)}}),I={__proto__:null,contains:34,or:38,and:38,true:52,false:52,empty:54,forloop:57,tablerowloop:59,continue:61,in:131,with:197,for:199,as:201,if:237,endif:241,unless:247,endunless:251,elsif:255,else:259,case:265,endcase:269,when:273,endfor:281,tablerow:287,endtablerow:291,break:295,cycle:301,echo:305,render:309,include:313,assign:317,capture:323,endcapture:327,increment:331,decrement:335},L={__proto__:null,if:86,endif:90,elsif:94,else:98,unless:104,endunless:108,case:114,endcase:118,when:122,for:128,endfor:138,tablerow:144,endtablerow:148,break:152,continue:156,cycle:160,comment:166,endcomment:172,raw:178,endraw:184,echo:188,render:192,include:204,assign:208,capture:214,endcapture:218,increment:222,decrement:226,liquid:230},H=V.deserialize({version:14,states:"KtQYOPOOOOOP'#F{'#F{OeOaO'#CdOsQhO'#CfO!bQxO'#DSO#{OPO'#DVO$ZOPO'#D`O$iOPO'#DeO$wOPO'#DlO%VOPO'#DtO%eOSO'#EPO%jOQO'#EVO%oOPO'#EiOOOP'#Ge'#GeOOOP'#G]'#G]OOOP'#Fz'#FzQYOPOOOOOP-E9y-E9yOOQW'#Cg'#CgO&cQ!jO,59QO&jQ!jO'#G^OsQhO'#CtOOQW'#Gb'#GbOOQW'#Gc'#GcOOQW'#Gd'#GdOOQW'#G^'#G^OOOP,59n,59nO)YQhO,59nOsQhO,59rOsQhO,59vO)dQhO,59xOsQhO,59{OsQhO,5:QOsQhO,5:UO!]QhO,5:XO!]QhO,5:aO)iQhO,5:eO)nQhO,5:gO)sQhO,5:iO)xQhO,5:lO)}QhO,5:rOsQhO,5:wOsQhO,5:yOsQhO,5;POsQhO,5;ROsQhO,5;UOsQhO,5;YOsQhO,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$V&cm$X!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$Z!Q#d#g#n#r#u$V$^%q%v%|&S&X&c",nodeNames:"⚠ {{ {% {% {% {% InlineComment Template Text }} Interpolation VariableName MemberExpression . PropertyName SubscriptExpression BinaryExpression contains CompareOp LogicOp AssignmentExpression AssignOp ) ( RangeExpression .. BooleanLiteral empty forloop tablerowloop continue StringLiteral NumberLiteral Filter | FilterName : , Tag TagName %} IfDirective Tag if EndTag endif Tag elsif Tag else UnlessDirective Tag unless EndTag endunless CaseDirective Tag case EndTag endcase Tag when ForDirective Tag for in Parameter ParameterName EndTag endfor TableDirective Tag tablerow EndTag endtablerow Tag break Tag continue Tag cycle Comment Tag comment CommentText EndTag endcomment RawDirective Tag raw RawText EndTag endraw Tag echo Tag render RenderParameter with for as Tag include Tag assign CaptureDirective Tag capture EndTag endcapture Tag increment Tag decrement Tag liquid IfDirective Tag if EndTag endif UnlessDirective Tag unless EndTag endunless Tag elsif Tag else CaseDirective Tag case EndTag endcase Tag when ForDirective Tag EndTag endfor TableDirective Tag tablerow EndTag endtablerow Tag break Tag Tag cycle Tag echo Tag render Tag include Tag assign CaptureDirective Tag capture EndTag endcapture Tag increment Tag decrement",maxTerm:220,nodeProps:[["closedBy",1,"}}",-4,2,3,4,5,"%}",23,")"],["openedBy",9,"{{",22,"(",40,"{%"],["group",-13,11,12,15,16,20,24,26,27,28,29,30,31,32,"Expression"]],skippedNodes:[0,6],repeatNodeCount:11,tokenData:")e~RmXY!|YZ!|]^!|pq!|qr#_rs#juv$[wx$gxy%Syz%X{|%^|}&x}!O&}!O!P'Z!Q![&g![!]'k!^!_'p!_!`'x!`!a'p!c!}(Q!}#O(y#P#Q)O#R#S(Q#T#o(Q#p#q)T#q#r)Y%W;'S(Q;'S;:j(s<%lO(Q~#RS%O~XY!|YZ!|]^!|pq!|~#bP!_!`#e~#jOb~~#mUOY#jZr#jrs$Ps;'S#j;'S;=`$U<%lO#j~$UOo~~$XP;=`<%l#j~$_P#q#r$b~$gOx~~$jUOY$gZw$gwx$Px;'S$g;'S;=`$|<%lO$g~%PP;=`<%l$g~%XOg~~%^Of~P%aQ!O!P%g!Q![&gP%jP!Q![%mP%rRpP!Q![%m!g!h%{#X#Y%{P&OR{|&X}!O&X!Q![&_P&[P!Q![&_P&dPpP!Q![&_P&lSpP!O!P%g!Q![&g!g!h%{#X#Y%{~&}Ou~~'QRuv$[!O!P%g!Q![&g~'`Q]S!O!P'f!Q![%m~'kOi~~'pOt~~'uPb~!_!`#e~'}Pe~!_!`#e_(ZW^WwQ%RT}!O(Q!Q![(Q!c!}(Q#R#S(Q#T#o(Q%W;'S(Q;'S;:j(s<%lO(Q_(vP;=`<%l(Q~)OO%T~~)TO%S~~)YOr~~)]P#q#r)`~)eOX~",tokenizers:[F,Y,C,N,0,1,2,3],topRules:{Template:[0,7]},dynamicPrecedences:{190:1,191:1,192:1,194:1,195:1,196:1,197:1,199:1,200:1,201:1,202:1,203:1,204:1,205:1,206:1,207:1,208:1,209:1,210:1,211:1,212:1,213:1,214:1,215:1,216:1,217:1,218:1,219:1,220:1},specialized:[{term:187,get:O=>I[O]||-1},{term:39,get:O=>L[O]||-1}],tokenPrec:0});function l(O,a){return O.split(" ").map(r=>({label:r,type:a}))}const P=l("abs append at_least at_most capitalize ceil compact concat date default divided_by downcase escape escape_once first floor join last lstrip map minus modulo newline_to_br plus prepend remove remove_first replace replace_first reverse round rstrip size slice sort sort_natural split strip strip_html strip_newlines sum times truncate truncatewords uniq upcase url_decode url_encode where","function"),m=l("cycle comment endcomment raw endraw echo increment decrement liquid if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue assign capture endcapture render include","keyword"),T=l("empty forloop tablerowloop in with as","keyword"),A=l("first index index0 last length rindex","property"),B=l("col col0 col_first col_last first index index0 last length rindex rindex0 row","property");function M(O){var a;let{state:r,pos:n}=O,$=h(r).resolveInner(n,-1).enterUnfinishedNodesBefore(n),i=((a=$.childBefore(n))===null||a===void 0?void 0:a.name)||$.name;if($.name=="FilterName")return{type:"filter",node:$};if(O.explicit&&i=="|")return{type:"filter"};if($.name=="TagName")return{type:"tag",node:$};if(O.explicit&&i=="{%")return{type:"tag"};if($.name=="PropertyName"&&$.parent.name=="MemberExpression")return{type:"property",node:$,target:$.parent};if($.name=="."&&$.parent.name=="MemberExpression")return{type:"property",target:$.parent};if($.name=="MemberExpression"&&i==".")return{type:"property",target:$};if($.name=="VariableName")return{type:"expression",from:$.from};let e=O.matchBefore(/[\w\u00c0-\uffff]+$/);return e?{type:"expression",from:e.from}:O.explicit&&$.name!="CommentText"&&$.name!="StringLiteral"&&$.name!="NumberLiteral"&&$.name!="InlineComment"?{type:"expression"}:null}function K(O,a,r,n){let $=[];for(;;){let i=a.getChild("Expression");if(!i)return[];if(i.name=="VariableName"||i.name=="forloop"||i.name=="tablerowloop"){let e=O.sliceDoc(i.from,i.to);if(e=="forloop")return $.length?[]:A;if(e=="tablerowloop")return $.length?[]:B;$.unshift(e);break}else if(i.name=="MemberExpression"){let e=i.getChild("PropertyName");e&&$.unshift(O.sliceDoc(e.from,e.to)),a=i}else if(i.name=="SubscriptExpression"){let e=i.getChildren("Expression")[1];$.unshift((e==null?void 0:e.name)=="StringLiteral"?O.sliceDoc(e.from+1,e.to-1):"[]"),a=i}else return[]}return n?n($,O,r):[]}function J(O={}){let a=O.filters?O.filters.concat(P):P,r=O.tags?O.tags.concat(m):m,n=O.variables?O.variables.concat(T):T,{properties:$}=O;return i=>{var e;let t=M(i);if(!t)return null;let o=(e=t.from)!==null&&e!==void 0?e:t.node?t.node.from:i.pos,s;return t.type=="filter"?s=a:t.type=="tag"?s=r:t.type=="expression"?s=n:s=K(i.state,t.target,i,$),s.length?{options:s,from:o,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const OO=f.inputHandler.of((O,a,r,n)=>n!="%"||a!=r||O.state.doc.sliceString(a-1,r+1)!="{}"?!1:(O.dispatch(O.state.changeByRange($=>({changes:{from:$.from,to:$.to,insert:"%%"},range:p.cursor($.from+1)})),{scrollIntoView:!0,userEvent:"input.type"}),!0));function d(O){return a=>{let r=O.test(a.textAfter);return a.lineIndent(a.node.from)+(r?0:a.unit)}}const $O=G.define({name:"liquid",parser:H.configure({props:[Z({"cycle comment endcomment raw endraw echo increment decrement liquid in with as":Q.keyword,"empty forloop tablerowloop":Q.atom,"if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue":Q.controlKeyword,"assign capture endcapture":Q.definitionKeyword,contains:Q.operatorKeyword,"render include":Q.moduleKeyword,VariableName:Q.variableName,TagName:Q.tagName,FilterName:Q.function(Q.variableName),PropertyName:Q.propertyName,CompareOp:Q.compareOperator,AssignOp:Q.definitionOperator,LogicOp:Q.logicOperator,NumberLiteral:Q.number,StringLiteral:Q.string,BooleanLiteral:Q.bool,InlineComment:Q.lineComment,CommentText:Q.blockComment,"{% %} {{ }}":Q.brace,"[ ]":Q.bracket,"( )":Q.paren,".":Q.derefOperator,", .. : |":Q.punctuation}),S.add({Tag:b({closing:"%}"}),"UnlessDirective ForDirective TablerowDirective CaptureDirective":d(/^\s*(\{%-?\s*)?end\w/),IfDirective:d(/^\s*(\{%-?\s*)?(endif|else|elsif)\b/),CaseDirective:d(/^\s*(\{%-?\s*)?(endcase|when)\b/)}),j.add({"UnlessDirective ForDirective TablerowDirective CaptureDirective IfDirective CaseDirective RawDirective Comment"(O){let a=O.firstChild,r=O.lastChild;return!a||a.name!="Tag"?null:{from:a.to,to:r.name=="EndTag"?r.from:O.to}}})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*{%-?\s*(?:end|elsif|else|when|)$/}}),q=X();function g(O){return $O.configure({wrap:y(a=>a.type.isTop?{parser:O.parser,overlay:r=>r.name=="Text"||r.name=="RawText"}:null)},"liquid")}const aO=g(q.language);function rO(O={}){let a=O.base||q,r=a.language==q.language?aO:g(a.language);return new x(r,[a.support,r.data.of({autocomplete:J(O)}),a.language.data.of({closeBrackets:{brackets:["{"]}}),OO])}export{OO as closePercentBrace,rO as liquid,J as liquidCompletionSource,aO as liquidLanguage}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-6zJ7yIaW.js +import{n as f,o as p,a as x,p as X,q as y,g as h,L as G,s as Z,t as Q,i as S,k as b,f as j,e as V,E as c}from"./index-Szd58FrA.js";import"./index-Ds9AETjS.js";const W=1,k=2,w=3,v=180,R=4,_=181,z=5,E=182,U=6;function D(O){return O>=65&&O<=90||O>=97&&O<=122}const F=new c(O=>{let a=O.pos;for(;;){let{next:r}=O;if(r<0)break;if(r==123){let n=O.peek(1);if(n==123){if(O.pos>a)break;O.acceptToken(W,2);return}else if(n==37){if(O.pos>a)break;let $=2,i=2;for(;;){let e=O.peek($);if(e==32||e==10)++$;else if(e==35)for(++$;;){let t=O.peek($);if(t<0||t==10)break;$++}else if(e==45&&i==2)i=++$;else{let t=e==101&&O.peek($+1)==110&&O.peek($+2)==100;O.acceptToken(t?w:k,i);return}}}}if(O.advance(),r==10)break}O.pos>a&&O.acceptToken(v)});function u(O,a,r){return new c(n=>{let $=n.pos;for(;;){let{next:i}=n;if(i==123&&n.peek(1)==37){let e=2;for(;;e++){let o=n.peek(e);if(o!=32&&o!=10)break}let t="";for(;;e++){let o=n.peek(e);if(!D(o))break;t+=String.fromCharCode(o)}if(t==O){if(n.pos>$)break;n.acceptToken(r,2);break}}else if(i<0)break;if(n.advance(),i==10)break}n.pos>$&&n.acceptToken(a)})}const C=u("endcomment",E,z),Y=u("endraw",_,R),N=new c(O=>{if(O.next==35){for(O.advance();!(O.next==10||O.next<0||(O.next==37||O.next==125)&&O.peek(1)==125);)O.advance();O.acceptToken(U)}}),I={__proto__:null,contains:34,or:38,and:38,true:52,false:52,empty:54,forloop:57,tablerowloop:59,continue:61,in:131,with:197,for:199,as:201,if:237,endif:241,unless:247,endunless:251,elsif:255,else:259,case:265,endcase:269,when:273,endfor:281,tablerow:287,endtablerow:291,break:295,cycle:301,echo:305,render:309,include:313,assign:317,capture:323,endcapture:327,increment:331,decrement:335},L={__proto__:null,if:86,endif:90,elsif:94,else:98,unless:104,endunless:108,case:114,endcase:118,when:122,for:128,endfor:138,tablerow:144,endtablerow:148,break:152,continue:156,cycle:160,comment:166,endcomment:172,raw:178,endraw:184,echo:188,render:192,include:204,assign:208,capture:214,endcapture:218,increment:222,decrement:226,liquid:230},H=V.deserialize({version:14,states:"KtQYOPOOOOOP'#F{'#F{OeOaO'#CdOsQhO'#CfO!bQxO'#DSO#{OPO'#DVO$ZOPO'#D`O$iOPO'#DeO$wOPO'#DlO%VOPO'#DtO%eOSO'#EPO%jOQO'#EVO%oOPO'#EiOOOP'#Ge'#GeOOOP'#G]'#G]OOOP'#Fz'#FzQYOPOOOOOP-E9y-E9yOOQW'#Cg'#CgO&cQ!jO,59QO&jQ!jO'#G^OsQhO'#CtOOQW'#Gb'#GbOOQW'#Gc'#GcOOQW'#Gd'#GdOOQW'#G^'#G^OOOP,59n,59nO)YQhO,59nOsQhO,59rOsQhO,59vO)dQhO,59xOsQhO,59{OsQhO,5:QOsQhO,5:UO!]QhO,5:XO!]QhO,5:aO)iQhO,5:eO)nQhO,5:gO)sQhO,5:iO)xQhO,5:lO)}QhO,5:rOsQhO,5:wOsQhO,5:yOsQhO,5;POsQhO,5;ROsQhO,5;UOsQhO,5;YOsQhO,5;[O+^QhO,5;^O+eOPO'#CdOOOP,59q,59qO#{OPO,59qO+sQxO'#DYOOOP,59z,59zO$ZOPO,59zO+xQxO'#DcOOOP,5:P,5:PO$iOPO,5:PO+}QxO'#DhOOOP,5:W,5:WO$wOPO,5:WO,SQxO'#DrOOOP,5:`,5:`O%VOPO,5:`O,XQxO'#DwOOOS'#GQ'#GQO,^OSO'#ESO,fOSO,5:kOOOQ'#GR'#GRO,kOQO'#EYO,sOQO,5:qOOOP,5;T,5;TO%oOPO,5;TO,xQxO'#ElOOOP-E9x-E9xO,}Q#|O,59SOsQhO,59VOsQhO,59WOsQhO,59WO-SQhO'#C}OOQW'#F|'#F|O-XQhO1G.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Q$S$U$X$Z$|%T%X%Y%c&q'X'Z'q'ym#x!Q#d#g#n#r#u$V$^%q%v%|&S&X&cQ%X#RQ%Y#SQ'X&OR'Z&TX%c#Z%e&['al#q!Q#d#g#n#r#u$V$^%q%v%|&S&X&cX%c#Z%e&['aR's'Pm$]!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm#c!Q#d#g#n#r#u$V$^%q%v%|&S&X&cT%o#d%qm#f!Q#d#g#n#r#u$V$^%q%v%|&S&X&cT%t#g%vm#i!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm#k!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm#m!Q#d#g#n#r#u$V$^%q%v%|&S&X&cT%z#n%|m#p!Q#d#g#n#r#u$V$^%q%v%|&S&X&cT&Q#r&Sm#t!Q#d#g#n#r#u$V$^%q%v%|&S&X&cT&V#u&Xm#w!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm#z!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm#|!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$O!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$Q!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$S!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$U!Q#d#g#n#r#u$V$^%q%v%|&S&X&cT&a$V&cm$X!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$Z!Q#d#g#n#r#u$V$^%q%v%|&S&X&c",nodeNames:"⚠ {{ {% {% {% {% InlineComment Template Text }} Interpolation VariableName MemberExpression . PropertyName SubscriptExpression BinaryExpression contains CompareOp LogicOp AssignmentExpression AssignOp ) ( RangeExpression .. BooleanLiteral empty forloop tablerowloop continue StringLiteral NumberLiteral Filter | FilterName : , Tag TagName %} IfDirective Tag if EndTag endif Tag elsif Tag else UnlessDirective Tag unless EndTag endunless CaseDirective Tag case EndTag endcase Tag when ForDirective Tag for in Parameter ParameterName EndTag endfor TableDirective Tag tablerow EndTag endtablerow Tag break Tag continue Tag cycle Comment Tag comment CommentText EndTag endcomment RawDirective Tag raw RawText EndTag endraw Tag echo Tag render RenderParameter with for as Tag include Tag assign CaptureDirective Tag capture EndTag endcapture Tag increment Tag decrement Tag liquid IfDirective Tag if EndTag endif UnlessDirective Tag unless EndTag endunless Tag elsif Tag else CaseDirective Tag case EndTag endcase Tag when ForDirective Tag EndTag endfor TableDirective Tag tablerow EndTag endtablerow Tag break Tag Tag cycle Tag echo Tag render Tag include Tag assign CaptureDirective Tag capture EndTag endcapture Tag increment Tag decrement",maxTerm:220,nodeProps:[["closedBy",1,"}}",-4,2,3,4,5,"%}",23,")"],["openedBy",9,"{{",22,"(",40,"{%"],["group",-13,11,12,15,16,20,24,26,27,28,29,30,31,32,"Expression"]],skippedNodes:[0,6],repeatNodeCount:11,tokenData:")e~RmXY!|YZ!|]^!|pq!|qr#_rs#juv$[wx$gxy%Syz%X{|%^|}&x}!O&}!O!P'Z!Q![&g![!]'k!^!_'p!_!`'x!`!a'p!c!}(Q!}#O(y#P#Q)O#R#S(Q#T#o(Q#p#q)T#q#r)Y%W;'S(Q;'S;:j(s<%lO(Q~#RS%O~XY!|YZ!|]^!|pq!|~#bP!_!`#e~#jOb~~#mUOY#jZr#jrs$Ps;'S#j;'S;=`$U<%lO#j~$UOo~~$XP;=`<%l#j~$_P#q#r$b~$gOx~~$jUOY$gZw$gwx$Px;'S$g;'S;=`$|<%lO$g~%PP;=`<%l$g~%XOg~~%^Of~P%aQ!O!P%g!Q![&gP%jP!Q![%mP%rRpP!Q![%m!g!h%{#X#Y%{P&OR{|&X}!O&X!Q![&_P&[P!Q![&_P&dPpP!Q![&_P&lSpP!O!P%g!Q![&g!g!h%{#X#Y%{~&}Ou~~'QRuv$[!O!P%g!Q![&g~'`Q]S!O!P'f!Q![%m~'kOi~~'pOt~~'uPb~!_!`#e~'}Pe~!_!`#e_(ZW^WwQ%RT}!O(Q!Q![(Q!c!}(Q#R#S(Q#T#o(Q%W;'S(Q;'S;:j(s<%lO(Q_(vP;=`<%l(Q~)OO%T~~)TO%S~~)YOr~~)]P#q#r)`~)eOX~",tokenizers:[F,Y,C,N,0,1,2,3],topRules:{Template:[0,7]},dynamicPrecedences:{190:1,191:1,192:1,194:1,195:1,196:1,197:1,199:1,200:1,201:1,202:1,203:1,204:1,205:1,206:1,207:1,208:1,209:1,210:1,211:1,212:1,213:1,214:1,215:1,216:1,217:1,218:1,219:1,220:1},specialized:[{term:187,get:O=>I[O]||-1},{term:39,get:O=>L[O]||-1}],tokenPrec:0});function l(O,a){return O.split(" ").map(r=>({label:r,type:a}))}const P=l("abs append at_least at_most capitalize ceil compact concat date default divided_by downcase escape escape_once first floor join last lstrip map minus modulo newline_to_br plus prepend remove remove_first replace replace_first reverse round rstrip size slice sort sort_natural split strip strip_html strip_newlines sum times truncate truncatewords uniq upcase url_decode url_encode where","function"),m=l("cycle comment endcomment raw endraw echo increment decrement liquid if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue assign capture endcapture render include","keyword"),T=l("empty forloop tablerowloop in with as","keyword"),A=l("first index index0 last length rindex","property"),B=l("col col0 col_first col_last first index index0 last length rindex rindex0 row","property");function M(O){var a;let{state:r,pos:n}=O,$=h(r).resolveInner(n,-1).enterUnfinishedNodesBefore(n),i=((a=$.childBefore(n))===null||a===void 0?void 0:a.name)||$.name;if($.name=="FilterName")return{type:"filter",node:$};if(O.explicit&&i=="|")return{type:"filter"};if($.name=="TagName")return{type:"tag",node:$};if(O.explicit&&i=="{%")return{type:"tag"};if($.name=="PropertyName"&&$.parent.name=="MemberExpression")return{type:"property",node:$,target:$.parent};if($.name=="."&&$.parent.name=="MemberExpression")return{type:"property",target:$.parent};if($.name=="MemberExpression"&&i==".")return{type:"property",target:$};if($.name=="VariableName")return{type:"expression",from:$.from};let e=O.matchBefore(/[\w\u00c0-\uffff]+$/);return e?{type:"expression",from:e.from}:O.explicit&&$.name!="CommentText"&&$.name!="StringLiteral"&&$.name!="NumberLiteral"&&$.name!="InlineComment"?{type:"expression"}:null}function K(O,a,r,n){let $=[];for(;;){let i=a.getChild("Expression");if(!i)return[];if(i.name=="VariableName"||i.name=="forloop"||i.name=="tablerowloop"){let e=O.sliceDoc(i.from,i.to);if(e=="forloop")return $.length?[]:A;if(e=="tablerowloop")return $.length?[]:B;$.unshift(e);break}else if(i.name=="MemberExpression"){let e=i.getChild("PropertyName");e&&$.unshift(O.sliceDoc(e.from,e.to)),a=i}else if(i.name=="SubscriptExpression"){let e=i.getChildren("Expression")[1];$.unshift((e==null?void 0:e.name)=="StringLiteral"?O.sliceDoc(e.from+1,e.to-1):"[]"),a=i}else return[]}return n?n($,O,r):[]}function J(O={}){let a=O.filters?O.filters.concat(P):P,r=O.tags?O.tags.concat(m):m,n=O.variables?O.variables.concat(T):T,{properties:$}=O;return i=>{var e;let t=M(i);if(!t)return null;let o=(e=t.from)!==null&&e!==void 0?e:t.node?t.node.from:i.pos,s;return t.type=="filter"?s=a:t.type=="tag"?s=r:t.type=="expression"?s=n:s=K(i.state,t.target,i,$),s.length?{options:s,from:o,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const OO=f.inputHandler.of((O,a,r,n)=>n!="%"||a!=r||O.state.doc.sliceString(a-1,r+1)!="{}"?!1:(O.dispatch(O.state.changeByRange($=>({changes:{from:$.from,to:$.to,insert:"%%"},range:p.cursor($.from+1)})),{scrollIntoView:!0,userEvent:"input.type"}),!0));function d(O){return a=>{let r=O.test(a.textAfter);return a.lineIndent(a.node.from)+(r?0:a.unit)}}const $O=G.define({name:"liquid",parser:H.configure({props:[Z({"cycle comment endcomment raw endraw echo increment decrement liquid in with as":Q.keyword,"empty forloop tablerowloop":Q.atom,"if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue":Q.controlKeyword,"assign capture endcapture":Q.definitionKeyword,contains:Q.operatorKeyword,"render include":Q.moduleKeyword,VariableName:Q.variableName,TagName:Q.tagName,FilterName:Q.function(Q.variableName),PropertyName:Q.propertyName,CompareOp:Q.compareOperator,AssignOp:Q.definitionOperator,LogicOp:Q.logicOperator,NumberLiteral:Q.number,StringLiteral:Q.string,BooleanLiteral:Q.bool,InlineComment:Q.lineComment,CommentText:Q.blockComment,"{% %} {{ }}":Q.brace,"[ ]":Q.bracket,"( )":Q.paren,".":Q.derefOperator,", .. : |":Q.punctuation}),S.add({Tag:b({closing:"%}"}),"UnlessDirective ForDirective TablerowDirective CaptureDirective":d(/^\s*(\{%-?\s*)?end\w/),IfDirective:d(/^\s*(\{%-?\s*)?(endif|else|elsif)\b/),CaseDirective:d(/^\s*(\{%-?\s*)?(endcase|when)\b/)}),j.add({"UnlessDirective ForDirective TablerowDirective CaptureDirective IfDirective CaseDirective RawDirective Comment"(O){let a=O.firstChild,r=O.lastChild;return!a||a.name!="Tag"?null:{from:a.to,to:r.name=="EndTag"?r.from:O.to}}})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*{%-?\s*(?:end|elsif|else|when|)$/}}),q=X();function g(O){return $O.configure({wrap:y(a=>a.type.isTop?{parser:O.parser,overlay:r=>r.name=="Text"||r.name=="RawText"}:null)},"liquid")}const aO=g(q.language);function rO(O={}){let a=O.base||q,r=a.language==q.language?aO:g(a.language);return new x(r,[a.support,r.data.of({autocomplete:J(O)}),a.language.data.of({closeBrackets:{brackets:["{"]}}),OO])}export{OO as closePercentBrace,rO as liquid,J as liquidCompletionSource,aO as liquidLanguage}; +======== +import{n as f,o as p,a as x,p as X,q as y,g as h,L as G,s as Z,t as Q,i as S,k as b,f as j,e as V,E as c}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const W=1,k=2,w=3,v=180,R=4,_=181,z=5,E=182,U=6;function D(O){return O>=65&&O<=90||O>=97&&O<=122}const F=new c(O=>{let a=O.pos;for(;;){let{next:r}=O;if(r<0)break;if(r==123){let n=O.peek(1);if(n==123){if(O.pos>a)break;O.acceptToken(W,2);return}else if(n==37){if(O.pos>a)break;let $=2,i=2;for(;;){let e=O.peek($);if(e==32||e==10)++$;else if(e==35)for(++$;;){let t=O.peek($);if(t<0||t==10)break;$++}else if(e==45&&i==2)i=++$;else{let t=e==101&&O.peek($+1)==110&&O.peek($+2)==100;O.acceptToken(t?w:k,i);return}}}}if(O.advance(),r==10)break}O.pos>a&&O.acceptToken(v)});function u(O,a,r){return new c(n=>{let $=n.pos;for(;;){let{next:i}=n;if(i==123&&n.peek(1)==37){let e=2;for(;;e++){let o=n.peek(e);if(o!=32&&o!=10)break}let t="";for(;;e++){let o=n.peek(e);if(!D(o))break;t+=String.fromCharCode(o)}if(t==O){if(n.pos>$)break;n.acceptToken(r,2);break}}else if(i<0)break;if(n.advance(),i==10)break}n.pos>$&&n.acceptToken(a)})}const C=u("endcomment",E,z),Y=u("endraw",_,R),N=new c(O=>{if(O.next==35){for(O.advance();!(O.next==10||O.next<0||(O.next==37||O.next==125)&&O.peek(1)==125);)O.advance();O.acceptToken(U)}}),I={__proto__:null,contains:34,or:38,and:38,true:52,false:52,empty:54,forloop:57,tablerowloop:59,continue:61,in:131,with:197,for:199,as:201,if:237,endif:241,unless:247,endunless:251,elsif:255,else:259,case:265,endcase:269,when:273,endfor:281,tablerow:287,endtablerow:291,break:295,cycle:301,echo:305,render:309,include:313,assign:317,capture:323,endcapture:327,increment:331,decrement:335},L={__proto__:null,if:86,endif:90,elsif:94,else:98,unless:104,endunless:108,case:114,endcase:118,when:122,for:128,endfor:138,tablerow:144,endtablerow:148,break:152,continue:156,cycle:160,comment:166,endcomment:172,raw:178,endraw:184,echo:188,render:192,include:204,assign:208,capture:214,endcapture:218,increment:222,decrement:226,liquid:230},H=V.deserialize({version:14,states:"KtQYOPOOOOOP'#F{'#F{OeOaO'#CdOsQhO'#CfO!bQxO'#DSO#{OPO'#DVO$ZOPO'#D`O$iOPO'#DeO$wOPO'#DlO%VOPO'#DtO%eOSO'#EPO%jOQO'#EVO%oOPO'#EiOOOP'#Ge'#GeOOOP'#G]'#G]OOOP'#Fz'#FzQYOPOOOOOP-E9y-E9yOOQW'#Cg'#CgO&cQ!jO,59QO&jQ!jO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q#d#g#n#r#u$V$^%q%v%|&S&X&cT&V#u&Xm#w!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm#z!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm#|!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$O!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$Q!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$S!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$U!Q#d#g#n#r#u$V$^%q%v%|&S&X&cT&a$V&cm$X!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$Z!Q#d#g#n#r#u$V$^%q%v%|&S&X&c",nodeNames:"⚠ {{ {% {% {% {% InlineComment Template Text }} Interpolation VariableName MemberExpression . PropertyName SubscriptExpression BinaryExpression contains CompareOp LogicOp AssignmentExpression AssignOp ) ( RangeExpression .. BooleanLiteral empty forloop tablerowloop continue StringLiteral NumberLiteral Filter | FilterName : , Tag TagName %} IfDirective Tag if EndTag endif Tag elsif Tag else UnlessDirective Tag unless EndTag endunless CaseDirective Tag case EndTag endcase Tag when ForDirective Tag for in Parameter ParameterName EndTag endfor TableDirective Tag tablerow EndTag endtablerow Tag break Tag continue Tag cycle Comment Tag comment CommentText EndTag endcomment RawDirective Tag raw RawText EndTag endraw Tag echo Tag render RenderParameter with for as Tag include Tag assign CaptureDirective Tag capture EndTag endcapture Tag increment Tag decrement Tag liquid IfDirective Tag if EndTag endif UnlessDirective Tag unless EndTag endunless Tag elsif Tag else CaseDirective Tag case EndTag endcase Tag when ForDirective Tag EndTag endfor TableDirective Tag tablerow EndTag endtablerow Tag break Tag Tag cycle Tag echo Tag render Tag include Tag assign CaptureDirective Tag capture EndTag endcapture Tag increment Tag decrement",maxTerm:220,nodeProps:[["closedBy",1,"}}",-4,2,3,4,5,"%}",23,")"],["openedBy",9,"{{",22,"(",40,"{%"],["group",-13,11,12,15,16,20,24,26,27,28,29,30,31,32,"Expression"]],skippedNodes:[0,6],repeatNodeCount:11,tokenData:")e~RmXY!|YZ!|]^!|pq!|qr#_rs#juv$[wx$gxy%Syz%X{|%^|}&x}!O&}!O!P'Z!Q![&g![!]'k!^!_'p!_!`'x!`!a'p!c!}(Q!}#O(y#P#Q)O#R#S(Q#T#o(Q#p#q)T#q#r)Y%W;'S(Q;'S;:j(s<%lO(Q~#RS%O~XY!|YZ!|]^!|pq!|~#bP!_!`#e~#jOb~~#mUOY#jZr#jrs$Ps;'S#j;'S;=`$U<%lO#j~$UOo~~$XP;=`<%l#j~$_P#q#r$b~$gOx~~$jUOY$gZw$gwx$Px;'S$g;'S;=`$|<%lO$g~%PP;=`<%l$g~%XOg~~%^Of~P%aQ!O!P%g!Q![&gP%jP!Q![%mP%rRpP!Q![%m!g!h%{#X#Y%{P&OR{|&X}!O&X!Q![&_P&[P!Q![&_P&dPpP!Q![&_P&lSpP!O!P%g!Q![&g!g!h%{#X#Y%{~&}Ou~~'QRuv$[!O!P%g!Q![&g~'`Q]S!O!P'f!Q![%m~'kOi~~'pOt~~'uPb~!_!`#e~'}Pe~!_!`#e_(ZW^WwQ%RT}!O(Q!Q![(Q!c!}(Q#R#S(Q#T#o(Q%W;'S(Q;'S;:j(s<%lO(Q_(vP;=`<%l(Q~)OO%T~~)TO%S~~)YOr~~)]P#q#r)`~)eOX~",tokenizers:[F,Y,C,N,0,1,2,3],topRules:{Template:[0,7]},dynamicPrecedences:{190:1,191:1,192:1,194:1,195:1,196:1,197:1,199:1,200:1,201:1,202:1,203:1,204:1,205:1,206:1,207:1,208:1,209:1,210:1,211:1,212:1,213:1,214:1,215:1,216:1,217:1,218:1,219:1,220:1},specialized:[{term:187,get:O=>I[O]||-1},{term:39,get:O=>L[O]||-1}],tokenPrec:0});function l(O,a){return O.split(" ").map(r=>({label:r,type:a}))}const P=l("abs append at_least at_most capitalize ceil compact concat date default divided_by downcase escape escape_once first floor join last lstrip map minus modulo newline_to_br plus prepend remove remove_first replace replace_first reverse round rstrip size slice sort sort_natural split strip strip_html strip_newlines sum times truncate truncatewords uniq upcase url_decode url_encode where","function"),m=l("cycle comment endcomment raw endraw echo increment decrement liquid if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue assign capture endcapture render include","keyword"),T=l("empty forloop tablerowloop in with as","keyword"),A=l("first index index0 last length rindex","property"),B=l("col col0 col_first col_last first index index0 last length rindex rindex0 row","property");function M(O){var a;let{state:r,pos:n}=O,$=h(r).resolveInner(n,-1).enterUnfinishedNodesBefore(n),i=((a=$.childBefore(n))===null||a===void 0?void 0:a.name)||$.name;if($.name=="FilterName")return{type:"filter",node:$};if(O.explicit&&i=="|")return{type:"filter"};if($.name=="TagName")return{type:"tag",node:$};if(O.explicit&&i=="{%")return{type:"tag"};if($.name=="PropertyName"&&$.parent.name=="MemberExpression")return{type:"property",node:$,target:$.parent};if($.name=="."&&$.parent.name=="MemberExpression")return{type:"property",target:$.parent};if($.name=="MemberExpression"&&i==".")return{type:"property",target:$};if($.name=="VariableName")return{type:"expression",from:$.from};let e=O.matchBefore(/[\w\u00c0-\uffff]+$/);return e?{type:"expression",from:e.from}:O.explicit&&$.name!="CommentText"&&$.name!="StringLiteral"&&$.name!="NumberLiteral"&&$.name!="InlineComment"?{type:"expression"}:null}function K(O,a,r,n){let $=[];for(;;){let i=a.getChild("Expression");if(!i)return[];if(i.name=="VariableName"||i.name=="forloop"||i.name=="tablerowloop"){let e=O.sliceDoc(i.from,i.to);if(e=="forloop")return $.length?[]:A;if(e=="tablerowloop")return $.length?[]:B;$.unshift(e);break}else if(i.name=="MemberExpression"){let e=i.getChild("PropertyName");e&&$.unshift(O.sliceDoc(e.from,e.to)),a=i}else if(i.name=="SubscriptExpression"){let e=i.getChildren("Expression")[1];$.unshift((e==null?void 0:e.name)=="StringLiteral"?O.sliceDoc(e.from+1,e.to-1):"[]"),a=i}else return[]}return n?n($,O,r):[]}function J(O={}){let a=O.filters?O.filters.concat(P):P,r=O.tags?O.tags.concat(m):m,n=O.variables?O.variables.concat(T):T,{properties:$}=O;return i=>{var e;let t=M(i);if(!t)return null;let o=(e=t.from)!==null&&e!==void 0?e:t.node?t.node.from:i.pos,s;return t.type=="filter"?s=a:t.type=="tag"?s=r:t.type=="expression"?s=n:s=K(i.state,t.target,i,$),s.length?{options:s,from:o,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const OO=f.inputHandler.of((O,a,r,n)=>n!="%"||a!=r||O.state.doc.sliceString(a-1,r+1)!="{}"?!1:(O.dispatch(O.state.changeByRange($=>({changes:{from:$.from,to:$.to,insert:"%%"},range:p.cursor($.from+1)})),{scrollIntoView:!0,userEvent:"input.type"}),!0));function d(O){return a=>{let r=O.test(a.textAfter);return a.lineIndent(a.node.from)+(r?0:a.unit)}}const $O=G.define({name:"liquid",parser:H.configure({props:[Z({"cycle comment endcomment raw endraw echo increment decrement liquid in with as":Q.keyword,"empty forloop tablerowloop":Q.atom,"if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue":Q.controlKeyword,"assign capture endcapture":Q.definitionKeyword,contains:Q.operatorKeyword,"render include":Q.moduleKeyword,VariableName:Q.variableName,TagName:Q.tagName,FilterName:Q.function(Q.variableName),PropertyName:Q.propertyName,CompareOp:Q.compareOperator,AssignOp:Q.definitionOperator,LogicOp:Q.logicOperator,NumberLiteral:Q.number,StringLiteral:Q.string,BooleanLiteral:Q.bool,InlineComment:Q.lineComment,CommentText:Q.blockComment,"{% %} {{ }}":Q.brace,"[ ]":Q.bracket,"( )":Q.paren,".":Q.derefOperator,", .. : |":Q.punctuation}),S.add({Tag:b({closing:"%}"}),"UnlessDirective ForDirective TablerowDirective CaptureDirective":d(/^\s*(\{%-?\s*)?end\w/),IfDirective:d(/^\s*(\{%-?\s*)?(endif|else|elsif)\b/),CaseDirective:d(/^\s*(\{%-?\s*)?(endcase|when)\b/)}),j.add({"UnlessDirective ForDirective TablerowDirective CaptureDirective IfDirective CaseDirective RawDirective Comment"(O){let a=O.firstChild,r=O.lastChild;return!a||a.name!="Tag"?null:{from:a.to,to:r.name=="EndTag"?r.from:O.to}}})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*{%-?\s*(?:end|elsif|else|when|)$/}}),q=X();function g(O){return $O.configure({wrap:y(a=>a.type.isTop?{parser:O.parser,overlay:r=>r.name=="Text"||r.name=="RawText"}:null)},"liquid")}const aO=g(q.language);function rO(O={}){let a=O.base||q,r=a.language==q.language?aO:g(a.language);return new x(r,[a.support,r.data.of({autocomplete:J(O)}),a.language.data.of({closeBrackets:{brackets:["{"]}}),OO])}export{OO as closePercentBrace,rO as liquid,J as liquidCompletionSource,aO as liquidLanguage}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-BJHfxRz7.js diff --git a/frontend/dist/assets/index-BjlLyKON.js b/frontend/dist/assets/index-BjlLyKON.js new file mode 100644 index 0000000..7236eb2 --- /dev/null +++ b/frontend/dist/assets/index-BjlLyKON.js @@ -0,0 +1 @@ +import{b as M,aj as N,d as V,aW as $,a as j,o as i,c as u,q as m,h as k,n as o,f as t,aL as h,s as r,w as d,b1 as C,E as v,g as E,al as S,e as I,Z as L,j as P,l as q}from"./index-CxbBjZKo.js";import{e as x}from"./index-D23K2h6y.js";const F=M({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:N},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),K={close:s=>s instanceof MouseEvent,click:s=>s instanceof MouseEvent},W=["aria-label"],Z=["aria-label"];var A=V({name:"ElTag",__name:"tag",props:F,emits:K,setup(s,{emit:_}){const B=s,p=_,z=x(),{t:f}=$(),a=j("tag"),b=P(()=>{const{type:e,hit:l,effect:n,closable:c,round:w}=B;return[a.b(),a.is("closable",c),a.m(e||"primary"),a.m(z.value),a.m(n),a.is("hit",l),a.is("round",w)]}),g=e=>{p("close",e)},y=e=>{p("click",e)},T=e=>{var l,n,c;(c=(n=(l=e==null?void 0:e.component)==null?void 0:l.subTree)==null?void 0:n.component)!=null&&c.bum&&(e.component.subTree.component.bum=null)};return(e,l)=>s.disableTransitions?(i(),u("span",{key:0,class:o(b.value),style:S({backgroundColor:s.color}),onClick:y},[m("span",{class:o(t(a).e("content"))},[k(e.$slots,"default")],2),s.closable?(i(),u("button",{key:0,"aria-label":t(f)("el.tag.close"),class:o(t(a).e("close")),type:"button",onClick:h(g,["stop"])},[r(t(v),null,{default:d(()=>[r(t(C))]),_:1})],10,W)):E("v-if",!0)],6)):(i(),I(L,{key:1,name:`${t(a).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:T},{default:d(()=>[m("span",{class:o(b.value),style:S({backgroundColor:s.color}),onClick:y},[m("span",{class:o(t(a).e("content"))},[k(e.$slots,"default")],2),s.closable?(i(),u("button",{key:0,"aria-label":t(f)("el.tag.close"),class:o(t(a).e("close")),type:"button",onClick:h(g,["stop"])},[r(t(v),null,{default:d(()=>[r(t(C))]),_:1})],10,Z)):E("v-if",!0)],6)]),_:3},8,["name"]))}}),D=A;const J=q(D);export{J as E,F as t}; diff --git a/frontend/dist/assets/index-BkjIwgLN.js b/frontend/dist/assets/index-BkjIwgLN.js new file mode 100644 index 0000000..d592e0e --- /dev/null +++ b/frontend/dist/assets/index-BkjIwgLN.js @@ -0,0 +1 @@ +import{e as V,E as X,s as d,t as $,p as Z,a as R,q as s,L as t,i as y,c,k as U,f as l,l as w}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const W=1,p=2,q=275,u=3,b=276,_=277,f=278,m=4,k=5,G=6,x=7,n=8,h=9,v=10,g=11,j=12,E=13,I=14,N=15,L=16,F=17,C=18,H=19,A=20,K=21,D=22,B=23,M=24,J=25,OO=26,$O=27,QO=28,iO=29,aO=30,TO=31,PO=32,XO=33,SO=34,cO=35,eO=36,oO=37,_O=38,nO=39,zO=40,rO=41,YO=42,VO=43,dO=44,ZO=45,RO=46,sO=47,tO=48,yO=49,UO=50,lO=51,wO=52,WO=53,pO=54,qO=55,uO=56,bO=57,fO=58,mO=59,kO=60,GO=61,xO=62,e=63,hO=64,vO=65,gO=66,jO={abstract:m,and:k,array:G,as:x,true:n,false:n,break:h,case:v,catch:g,clone:j,const:E,continue:I,declare:L,default:N,do:F,echo:C,else:H,elseif:A,enddeclare:K,endfor:D,endforeach:B,endif:M,endswitch:J,endwhile:OO,enum:$O,extends:QO,final:iO,finally:aO,fn:TO,for:PO,foreach:XO,from:SO,function:cO,global:eO,goto:oO,if:_O,implements:nO,include:zO,include_once:rO,instanceof:YO,insteadof:VO,interface:dO,list:ZO,match:RO,namespace:sO,new:tO,null:yO,or:UO,print:lO,readonly:wO,require:WO,require_once:pO,return:qO,switch:uO,throw:bO,trait:fO,try:mO,unset:kO,use:GO,var:xO,public:e,private:e,protected:e,while:hO,xor:vO,yield:gO,__proto__:null};function z(O){let Q=jO[O.toLowerCase()];return Q??-1}function r(O){return O==9||O==10||O==13||O==32}function Y(O){return O>=97&&O<=122||O>=65&&O<=90}function T(O){return O==95||O>=128||Y(O)}function o(O){return O>=48&&O<=55||O>=97&&O<=102||O>=65&&O<=70}const EO={int:!0,integer:!0,bool:!0,boolean:!0,float:!0,double:!0,real:!0,string:!0,array:!0,object:!0,unset:!0,__proto__:null},IO=new X(O=>{if(O.next==40){O.advance();let Q=0;for(;r(O.peek(Q));)Q++;let i="",a;for(;Y(a=O.peek(Q));)i+=String.fromCharCode(a),Q++;for(;r(O.peek(Q));)Q++;O.peek(Q)==41&&EO[i.toLowerCase()]&&O.acceptToken(W)}else if(O.next==60&&O.peek(1)==60&&O.peek(2)==60){for(let a=0;a<3;a++)O.advance();for(;O.next==32||O.next==9;)O.advance();let Q=O.next==39;if(Q&&O.advance(),!T(O.next))return;let i=String.fromCharCode(O.next);for(;O.advance(),!(!T(O.next)&&!(O.next>=48&&O.next<=55));)i+=String.fromCharCode(O.next);if(Q){if(O.next!=39)return;O.advance()}if(O.next!=10&&O.next!=13)return;for(;;){let a=O.next==10||O.next==13;if(O.advance(),O.next<0)return;if(a){for(;O.next==32||O.next==9;)O.advance();let P=!0;for(let S=0;S{O.next<0&&O.acceptToken(f)}),LO=new X((O,Q)=>{O.next==63&&Q.canShift(_)&&O.peek(1)==62&&O.acceptToken(_)});function FO(O){let Q=O.peek(1);if(Q==110||Q==114||Q==116||Q==118||Q==101||Q==102||Q==92||Q==36||Q==34||Q==123)return 2;if(Q>=48&&Q<=55){let i=2,a;for(;i<5&&(a=O.peek(i))>=48&&a<=55;)i++;return i}if(Q==120&&o(O.peek(2)))return o(O.peek(3))?4:3;if(Q==117&&O.peek(2)==123)for(let i=3;;i++){let a=O.peek(i);if(a==125)return i==2?0:i+1;if(!o(a))break}return 0}const CO=new X((O,Q)=>{let i=!1;for(;!(O.next==34||O.next<0||O.next==36&&(T(O.peek(1))||O.peek(1)==123)||O.next==123&&O.peek(1)==36);i=!0){if(O.next==92){let a=FO(O);if(a){if(i)break;return O.acceptToken(u,a)}}else if(!i&&(O.next==91||O.next==45&&O.peek(1)==62&&T(O.peek(2))||O.next==63&&O.peek(1)==45&&O.peek(2)==62&&T(O.peek(3)))&&Q.canShift(b))break;O.advance()}i&&O.acceptToken(q)}),HO=d({"Visibility abstract final static":$.modifier,"for foreach while do if else elseif switch try catch finally return throw break continue default case":$.controlKeyword,"endif endfor endforeach endswitch endwhile declare enddeclare goto match":$.controlKeyword,"and or xor yield unset clone instanceof insteadof":$.operatorKeyword,"function fn class trait implements extends const enum global interface use var":$.definitionKeyword,"include include_once require require_once namespace":$.moduleKeyword,"new from echo print array list as":$.keyword,null:$.null,Boolean:$.bool,VariableName:$.variableName,"NamespaceName/...":$.namespace,"NamedType/...":$.typeName,Name:$.name,"CallExpression/Name":$.function($.variableName),"LabelStatement/Name":$.labelName,"MemberExpression/Name":$.propertyName,"MemberExpression/VariableName":$.special($.propertyName),"ScopedExpression/ClassMemberName/Name":$.propertyName,"ScopedExpression/ClassMemberName/VariableName":$.special($.propertyName),"CallExpression/MemberExpression/Name":$.function($.propertyName),"CallExpression/ScopedExpression/ClassMemberName/Name":$.function($.propertyName),"MethodDeclaration/Name":$.function($.definition($.variableName)),"FunctionDefinition/Name":$.function($.definition($.variableName)),"ClassDeclaration/Name":$.definition($.className),UpdateOp:$.updateOperator,ArithOp:$.arithmeticOperator,"LogicOp IntersectionType/&":$.logicOperator,BitOp:$.bitwiseOperator,CompareOp:$.compareOperator,ControlOp:$.controlOperator,AssignOp:$.definitionOperator,"$ ConcatOp":$.operator,LineComment:$.lineComment,BlockComment:$.blockComment,Integer:$.integer,Float:$.float,String:$.string,ShellExpression:$.special($.string),"=> ->":$.punctuation,"( )":$.paren,"#[ [ ]":$.squareBracket,"${ { }":$.brace,"-> ?->":$.derefOperator,", ; :: : \\":$.separator,"PhpOpen PhpClose":$.processingInstruction}),AO={__proto__:null,static:325,STATIC:325,class:351,CLASS:351},KO=V.deserialize({version:14,states:"%#[Q`OWOOQhQaOOP%oO`OOOOO#t'#Hh'#HhO%tO#|O'#DuOOO#u'#Dx'#DxQ&SOWO'#DxO&XO$VOOOOQ#u'#Dy'#DyO&lQaO'#D}O'[QdO'#EQO+QQdO'#IqO+_QdO'#ERO-RQaO'#EXO/bQ`O'#EUO/gQ`O'#E_O2UQaO'#E_O2]Q`O'#EgO2bQ`O'#EqO-RQaO'#EqO2mQpO'#FOO2rQ`O'#FOOOQS'#Iq'#IqO2wQ`O'#ExOOQS'#Ih'#IhO5SQdO'#IeO9UQeO'#F]O-RQaO'#FlO-RQaO'#FmO-RQaO'#FnO-RQaO'#FoO-RQaO'#FoO-RQaO'#FrOOQO'#Ir'#IrO9cQ`O'#FxOOQO'#Ht'#HtO9kQ`O'#HXO:VQ`O'#FsO:bQ`O'#HfO:mQ`O'#GPO:uQaO'#GQO-RQaO'#G`O-RQaO'#GcO;bOrO'#GfOOQS'#JP'#JPOOQS'#JO'#JOOOQS'#Ie'#IeO/bQ`O'#GmO/bQ`O'#GoO/bQ`O'#GtOhQaO'#GvO;iQ`O'#GwO;nQ`O'#GzO:]Q`O'#G}O;sQeO'#HOO;sQeO'#HPO;sQ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Q,T,Y,c,e,g,m-`-a-t-z.[.u.w/P/X/y0O0T0e0s0}1O1R1S1W1k1o1{2W2]2r3p3u3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4X4Y4Z4[4_4`4a4b4c4k5O5R5S5V5Z5[5_5a5b5d5e5f5g5h5i5j5k5l5m5n5o5p5q5r5u5{5|5}6O6P6Q6R6S6T6U6V6W6X6Y6Z6[6]6^6_6`6a6b6c6d6l7P7S7T7W7[7]7`7b7c7o7x7y7z7{7|7}8O8P8Q8R8S8T8U8V8W8X8Y8Z8[8]8^8_8`8a8b8d8e8f8g8h8s9T9W9Z9^9_9a9c9f9h9o9p9s9u9v:Q:R:S:T:U:V:W:X:Y:Z:[:]:^:_:`:a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:q:r:s:u:v:w;S;e;i;j;k;n;u;v;z;|;}V>W>[>]>^>c>h>i>l>n>o>p>q>v?^?_T$x{$|Q(q%QQ(v%TQ(y%VR2b1WQ%c!]Q(u%SQ,d(tQ/W,cQ/Y,eQ1Q/XR2_1RQ%q!fR)m%rR/p-O",nodeNames:"⚠ ( HeredocString EscapeSequence abstract LogicOp array as Boolean break case catch clone const continue default declare do echo else elseif enddeclare endfor endforeach endif endswitch endwhile enum extends final finally fn for foreach from function global goto if implements include include_once LogicOp insteadof interface list match namespace new null LogicOp print readonly require require_once return switch throw trait try unset use var Visibility while LogicOp yield LineComment BlockComment TextInterpolation PhpClose Text PhpOpen Template TextInterpolation EmptyStatement ; } { Block : LabelStatement Name ExpressionStatement ConditionalExpression LogicOp MatchExpression ) ( ParenthesizedExpression MatchBlock MatchArm , => AssignmentExpression ArrayExpression ValueList & VariadicUnpacking ... Pair [ ] ListExpression ValueList Pair Pair SubscriptExpression MemberExpression -> ?-> Name VariableName DynamicVariable $ ${ CallExpression ArgList NamedArgument SpreadArgument CastExpression UnionType LogicOp IntersectionType OptionalType NamedType QualifiedName \\ NamespaceName Name NamespaceName Name ScopedExpression :: ClassMemberName DynamicMemberName AssignOp UpdateExpression UpdateOp YieldExpression BinaryExpression LogicOp LogicOp LogicOp BitOp BitOp BitOp CompareOp CompareOp BitOp ArithOp ConcatOp ArithOp ArithOp IncludeExpression RequireExpression CloneExpression UnaryExpression ControlOp LogicOp PrintIntrinsic FunctionExpression static ParamList Parameter #[ Attributes Attribute VariadicParameter PropertyParameter PropertyHooks PropertyHook UseList ArrowFunction NewExpression class BaseClause ClassInterfaceClause DeclarationList ConstDeclaration VariableDeclarator PropertyDeclaration VariableDeclarator MethodDeclaration UseDeclaration UseList UseInsteadOfClause UseAsClause UpdateExpression ArithOp ShellExpression ThrowExpression Integer Float String MemberExpression SubscriptExpression UnaryExpression ArithOp Interpolation String IfStatement ColonBlock SwitchStatement Block CaseStatement DefaultStatement ColonBlock WhileStatement EmptyStatement DoStatement ForStatement ForSpec SequenceExpression ForeachStatement ForSpec Pair GotoStatement ContinueStatement BreakStatement ReturnStatement TryStatement CatchDeclarator DeclareStatement EchoStatement UnsetStatement ConstDeclaration FunctionDefinition ClassDeclaration InterfaceDeclaration TraitDeclaration EnumDeclaration EnumBody EnumCase NamespaceDefinition NamespaceUseDeclaration UseGroup UseClause UseClause GlobalDeclaration FunctionStaticDeclaration Program",maxTerm:318,nodeProps:[["group",-36,2,8,49,82,84,86,89,94,95,103,107,108,112,113,116,120,126,132,137,139,140,154,155,156,157,160,161,173,174,188,190,191,192,193,194,200,"Expression",-28,75,79,81,83,201,203,208,210,211,214,217,218,219,220,221,223,224,225,226,227,228,229,230,231,234,235,239,240,"Statement",-4,121,123,124,125,"Type"],["isolate",-4,67,68,71,200,""],["openedBy",70,"phpOpen",77,"{",87,"(",102,"#["],["closedBy",72,"phpClose",78,"}",88,")",165,"]"]],propSources:[HO],skippedNodes:[0],repeatNodeCount:32,tokenData:"!GQ_R!]OX$zXY&^YZ'sZ]$z]^&^^p$zpq&^qr)Rrs+Pst+otu2buv5evw6rwx8Vxy>]yz>yz{?g{|@}|}Bb}!OCO!O!PDh!P!QKT!Q!R!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q;'S$z;'S;=`&W<%lO$zR!EaV$SQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!E}V!oQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!FkV$eQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z",tokenizers:[IO,CO,LO,0,1,2,3,NO],topRules:{Template:[0,73],Program:[1,241]},dynamicPrecedences:{298:1},specialized:[{term:284,get:(O,Q)=>z(O)<<1,external:z},{term:284,get:O=>AO[O]||-1}],tokenPrec:29889}),DO=t.define({name:"php",parser:KO.configure({props:[y.add({IfStatement:c({except:/^\s*({|else\b|elseif\b|endif\b)/}),TryStatement:c({except:/^\s*({|catch\b|finally\b)/}),SwitchBody:O=>{let Q=O.textAfter,i=/^\s*\}/.test(Q),a=/^\s*(case|default)\b/.test(Q);return O.baseIndent+(i?0:a?1:2)*O.unit},ColonBlock:O=>O.baseIndent+O.unit,"Block EnumBody DeclarationList":U({closing:"}"}),ArrowFunction:O=>O.baseIndent+O.unit,"String BlockComment":()=>null,Statement:c({except:/^({|end(for|foreach|switch|while)\b)/})}),l.add({"Block EnumBody DeclarationList SwitchBody ArrayExpression ValueList":w,ColonBlock(O){return{from:O.from+1,to:O.to}},BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*(?:case |default:|end(?:if|for(?:each)?|switch|while)|else(?:if)?|\{|\})$/,wordChars:"$",closeBrackets:{stringPrefixes:["b","B"]}}});function JO(O={}){let Q=[],i;if(O.baseLanguage!==null)if(O.baseLanguage)i=O.baseLanguage;else{let a=Z({matchClosingTags:!1});Q.push(a.support),i=a.language}return new R(DO.configure({wrap:i&&s(a=>a.type.isTop?{parser:i.parser,overlay:P=>P.name=="Text"}:null),top:O.plain?"Program":"Template"}),Q)}export{JO as php,DO as phpLanguage}; diff --git a/frontend/dist/assets/index-Bmffie3p.js b/frontend/dist/assets/index-Bmffie3p.js index 881a776..d284b13 100644 --- a/frontend/dist/assets/index-Bmffie3p.js +++ b/frontend/dist/assets/index-Bmffie3p.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-Bmffie3p.js import{n as d,o as g,a as v,p as m,q as u,g as x,L as G,s as b,t as a,i as Z,k as R,f as h,e as k,E as f,h as w}from"./index-DFkjzvE0.js";import"./index-CD29OCdJ.js";const X=1,T=2,y=3,U=155,z=4,j=156;function Y(O){return O>=65&&O<=90||O>=97&&O<=122}const E=new f(O=>{let i=O.pos;for(;;){let{next:t}=O;if(t<0)break;if(t==123){let r=O.peek(1);if(r==123){if(O.pos>i)break;O.acceptToken(X,2);return}else if(r==35){if(O.pos>i)break;O.acceptToken(T,2);return}else if(r==37){if(O.pos>i)break;let e=2,P=2;for(;;){let Q=O.peek(e);if(Q==32||Q==10)++e;else if(Q==35)for(++e;;){let o=O.peek(e);if(o<0||o==10)break;e++}else if(Q==45&&P==2)P=++e;else{O.acceptToken(y,P);return}}}}if(O.advance(),t==10)break}O.pos>i&&O.acceptToken(U)});function _(O,i,t){return new f(r=>{let e=r.pos;for(;;){let{next:P}=r;if(P==123&&r.peek(1)==37){let Q=2;for(;;Q++){let n=r.peek(Q);if(n!=32&&n!=10)break}let o="";for(;;Q++){let n=r.peek(Q);if(!Y(n))break;o+=String.fromCharCode(n)}if(o==O){if(r.pos>e)break;r.acceptToken(t,2);break}}else if(P<0)break;if(r.advance(),P==10)break}r.pos>e&&r.acceptToken(i)})}const W=_("endraw",j,z),V={__proto__:null,in:38,is:40,and:46,or:48,not:52,if:78,else:80,true:98,false:98,self:100,super:102,loop:104,recursive:136,scoped:160,required:162,as:256,import:260,ignore:268,missing:270,with:272,without:274,context:276},q={__proto__:null,if:112,elif:118,else:122,endif:126,for:132,endfor:140,raw:146,endraw:152,block:158,endblock:166,macro:172,endmacro:182,call:188,endcall:192,filter:198,endfilter:202,set:208,endset:212,trans:218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RQ(Z)SQ([)TQ(]'hQ(m(QQ(o(`Q(t)WQ(u(pQ(w(rQ(x(vQ)U)ZQ)V)[Q)X)bQ)Y)cQ)])fQ)^)lQ)_)mQ)`)nQ)a)sQ)d*TQ)e*UQ)o)hQ)p)iQ)q)jQ)r)kQ)t)yQ)u*PQ)v*QQ)w*RQ)x*SQ*V){Q*W)|Q*X)}R*Y*OQ$c!lT$y#O)OR$x!}R#XhR#^jR%|$^R$h!o",nodeNames:"⚠ {{ {# {% {% Template Text }} Interpolation VariableName MemberExpression . PropertyName SubscriptExpression BinaryExpression ConcatOp ArithOp ArithOp CompareOp in is StringLiteral NumberLiteral and or NotExpression not FilterExpression FilterOp FilterName FilterCall ) ( ArgumentList NamedArgument AssignOp , NamedArgument ConditionalExpression if else CallExpression ArrayExpression TupleExpression ParenthesizedExpression DictExpression Entry : Entry BooleanLiteral self super loop IfStatement Tag TagName if %} Tag elif Tag else EndTag endif ForStatement Tag for Definition recursive EndTag endfor RawStatement Tag raw RawText EndTag endraw BlockStatement Tag block scoped required EndTag endblock MacroStatement Tag macro ParamList OptionalParameter OptionalParameter EndTag endmacro CallStatement Tag call EndTag endcall FilterStatement Tag filter EndTag endfilter SetStatement Tag set EndTag endset TransStatement Tag trans Tag pluralize EndTag endtrans WithStatement Tag with EndTag endwith AutoescapeStatement Tag autoescape EndTag endautoescape Tag Tag Tag import as from import ImportItem Tag include ignore missing with without context Comment #}",maxTerm:173,nodeProps:[["closedBy",1,"}}",2,"#}",-2,3,4,"%}",32,")"],["openedBy",7,"{{",31,"(",57,"{%",140,"{#"],["group",-18,9,10,13,14,21,22,25,27,38,41,42,43,44,45,49,50,51,52,"Expression",-11,53,64,71,77,84,92,97,102,107,114,119,"Statement"]],skippedNodes:[0],repeatNodeCount:13,tokenData:".|~RqXY#YYZ#Y]^#Ypq#Yqr#krs#vuv&nwx&{xy)nyz)sz{)x{|*V|}+|}!O,R!O!P,g!P!Q,o!Q![+h![!],w!^!_,|!_!`-U!`!a,|!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("b~RPstU~XP#q#r[~aO$Q~~",17,173)],topRules:{Template:[0,5]},specialized:[{term:161,get:O=>V[O]||-1},{term:55,get:O=>q[O]||-1}],tokenPrec:3602});function S(O,i){return O.split(" ").map(t=>({label:t,type:i}))}const N=S("abs attr batch capitalize center default dictsort escape filesizeformat first float forceescape format groupby indent int items join last length list lower map max min pprint random reject rejectattr replace reverse round safe select selectattr slice sort string striptags sum title tojson trim truncate unique upper urlencode urlize wordcount wordwrap xmlattr","function"),C=S("boolean callable defined divisibleby eq escaped even filter float ge gt in integer iterable le lower lt mapping ne none number odd sameas sequence string test undefined upper range lipsum dict joiner namespace","function"),D=S("loop super self true false varargs kwargs caller name arguments catch_kwargs catch_varargs caller","keyword"),l=C.concat(D),$=S("raw endraw filter endfilter trans pluralize endtrans with endwith autoescape endautoescape if elif else endif for endfor call endcall block endblock set endset macro endmacro import include break continue debug do extends","keyword");function A(O){var i;let{state:t,pos:r}=O,e=x(t).resolveInner(r,-1).enterUnfinishedNodesBefore(r),P=((i=e.childBefore(r))===null||i===void 0?void 0:i.name)||e.name;if(e.name=="FilterName")return{type:"filter",node:e};if(O.explicit&&(P=="FilterOp"||P=="filter"))return{type:"filter"};if(e.name=="TagName")return{type:"tag",node:e};if(O.explicit&&P=="{%")return{type:"tag"};if(e.name=="PropertyName"&&e.parent.name=="MemberExpression")return{type:"prop",node:e,target:e.parent};if(e.name=="."&&e.parent.name=="MemberExpression")return{type:"prop",target:e.parent};if(e.name=="MemberExpression"&&P==".")return{type:"prop",target:e};if(e.name=="VariableName")return{type:"expr",from:e.from};if(e.name=="Comment"||e.name=="StringLiteral"||e.name=="NumberLiteral")return null;let Q=O.matchBefore(/[\w\u00c0-\uffff]+$/);return Q?{type:"expr",from:Q.from}:O.explicit?{type:"expr"}:null}function L(O,i,t,r){let e=[];for(;;){let P=i.getChild("Expression");if(!P)return[];if(P.name=="VariableName"){e.unshift(O.sliceDoc(P.from,P.to));break}else if(P.name=="MemberExpression"){let Q=P.getChild("PropertyName");Q&&e.unshift(O.sliceDoc(Q.from,Q.to)),i=P}else return[]}return r(e,O,t)}function I(O={}){let i=O.tags?O.tags.concat($):$,t=O.variables?O.variables.concat(l):l,{properties:r}=O;return e=>{var P;let Q=A(e);if(!Q)return null;let o=(P=Q.from)!==null&&P!==void 0?P:Q.node?Q.node.from:e.pos,n;return Q.type=="filter"?n=N:Q.type=="tag"?n=i:Q.type=="expr"?n=t:n=r?L(e.state,Q.target,e,r):[],n.length?{options:n,from:o,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const H=d.inputHandler.of((O,i,t,r)=>r!="%"||i!=t||O.state.doc.sliceString(i-1,t+1)!="{}"?!1:(O.dispatch(O.state.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:"%%"},range:g.cursor(e.from+1)})),{scrollIntoView:!0,userEvent:"input.type"}),!0));function p(O){return i=>{let t=O.test(i.textAfter);return i.lineIndent(i.node.from)+(t?0:i.unit)}}const B=G.define({name:"jinja",parser:F.configure({props:[b({"TagName raw endraw filter endfilter as trans pluralize endtrans with endwith autoescape endautoescape":a.keyword,"required scoped recursive with without context ignore missing":a.modifier,self:a.self,"loop super":a.standard(a.variableName),"if elif else endif for endfor call endcall":a.controlKeyword,"block endblock set endset macro endmacro import from include":a.definitionKeyword,"Comment/...":a.blockComment,VariableName:a.variableName,Definition:a.definition(a.variableName),PropertyName:a.propertyName,FilterName:a.special(a.variableName),ArithOp:a.arithmeticOperator,AssignOp:a.definitionOperator,"not and or":a.logicOperator,CompareOp:a.compareOperator,"in is":a.operatorKeyword,"FilterOp ConcatOp":a.operator,StringLiteral:a.string,NumberLiteral:a.number,BooleanLiteral:a.bool,"{% %} {# #} {{ }} { }":a.brace,"( )":a.paren,".":a.derefOperator,": , .":a.punctuation}),Z.add({Tag:R({closing:"%}"}),"IfStatement ForStatement":p(/^\s*(\{%-?\s*)?(endif|endfor|else|elif)\b/),Statement:p(/^\s*(\{%-?\s*)?end\w/)}),h.add({"Statement Comment"(O){let i=O.firstChild,t=O.lastChild;return!i||i.name!="Tag"&&i.name!="{#"?null:{from:i.to,to:t.name=="EndTag"||t.name=="#}"?t.from:O.to}}})]}),languageData:{indentOnInput:/^\s*{%-?\s*(?:end|elif|else)$/}}),s=m();function c(O){return B.configure({wrap:u(i=>i.type.isTop?{parser:O.parser,overlay:t=>t.name=="Text"||t.name=="RawText"}:null)},"jinja")}const J=c(s.language);function OO(O={}){let i=O.base||s,t=i.language==s.language?J:c(i.language);return new v(t,[i.support,t.data.of({autocomplete:I(O)}),i.language.data.of({closeBrackets:{brackets:["{"]}}),H])}export{H as closePercentBrace,OO as jinja,I as jinjaCompletionSource,J as jinjaLanguage}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-DyLHtHFM.js +import{n as d,o as g,a as v,p as m,q as u,g as x,L as G,s as b,t as a,i as Z,k as R,f as h,e as k,E as f,h as w}from"./index-Szd58FrA.js";import"./index-Ds9AETjS.js";const X=1,T=2,y=3,U=155,z=4,j=156;function Y(O){return O>=65&&O<=90||O>=97&&O<=122}const E=new f(O=>{let i=O.pos;for(;;){let{next:t}=O;if(t<0)break;if(t==123){let r=O.peek(1);if(r==123){if(O.pos>i)break;O.acceptToken(X,2);return}else if(r==35){if(O.pos>i)break;O.acceptToken(T,2);return}else if(r==37){if(O.pos>i)break;let e=2,P=2;for(;;){let Q=O.peek(e);if(Q==32||Q==10)++e;else if(Q==35)for(++e;;){let o=O.peek(e);if(o<0||o==10)break;e++}else if(Q==45&&P==2)P=++e;else{O.acceptToken(y,P);return}}}}if(O.advance(),t==10)break}O.pos>i&&O.acceptToken(U)});function _(O,i,t){return new f(r=>{let e=r.pos;for(;;){let{next:P}=r;if(P==123&&r.peek(1)==37){let Q=2;for(;;Q++){let n=r.peek(Q);if(n!=32&&n!=10)break}let o="";for(;;Q++){let n=r.peek(Q);if(!Y(n))break;o+=String.fromCharCode(n)}if(o==O){if(r.pos>e)break;r.acceptToken(t,2);break}}else if(P<0)break;if(r.advance(),P==10)break}r.pos>e&&r.acceptToken(i)})}const W=_("endraw",j,z),V={__proto__:null,in:38,is:40,and:46,or:48,not:52,if:78,else:80,true:98,false:98,self:100,super:102,loop:104,recursive:136,scoped:160,required:162,as:256,import:260,ignore:268,missing:270,with:272,without:274,context:276},q={__proto__:null,if:112,elif:118,else:122,endif:126,for:132,endfor:140,raw:146,endraw:152,block:158,endblock:166,macro:172,endmacro:182,call:188,endcall:192,filter:198,endfilter:202,set:208,endset:212,trans:218,pluralize:222,endtrans:226,with:232,endwith:236,autoescape:242,endautoescape:246,import:254,from:258,include:266},F=k.deserialize({version:14,states:"!*dQVOPOOOOOP'#F`'#F`OeOTO'#CbOvQSO'#CdO!kOPO'#DcO!yOPO'#DnO#XOQO'#DuO#^OPO'#D{O#lOPO'#ESO#zOPO'#E[O$YOPO'#EaO$hOPO'#EfO$vOPO'#EkO%UOPO'#ErO%dOPO'#EwOOOP'#F|'#F|O%rQWO'#E|O&sO#tO'#F]OOOP'#Fq'#FqOOOP'#F_'#F_QVOPOOOOOP-E9^-E9^OOQO'#Ce'#CeO'sQSO,59OO'zQSO'#DWO(RQSO'#DXO(YQ`O'#DZOOQO'#Fr'#FrOvQSO'#CuO(aOPO'#CbOOOP'#Fd'#FdO!kOPO,59}OOOP,59},59}O(oOPO,59}O(}QWO'#E|OOOP,5:Y,5:YO)[OPO,5:YO!yOPO,5:YO)jQWO'#E|OOOQ'#Ff'#FfO)tOQO'#DxO)|OQO,5:aOOOP,5:g,5:gO#^OPO,5:gO*RQWO'#E|OOOP,5:n,5:nO#lOPO,5:nO*YQWO'#E|OOOP,5:v,5:vO#zOPO,5:vO*aQWO'#E|OOOP,5:{,5:{O$YOPO,5:{O*hQWO'#E|OOOP,5;Q,5;QO$hOPO,5;QO*oQWO'#E|OOOP,5;V,5;VO*vOPO,5;VO$vOPO,5;VO+UQWO'#E|OOOP,5;^,5;^O%UOPO,5;^O+`QWO'#E|OOOP,5;c,5;cO%dOPO,5;cO+gQWO'#E|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jQ#_lQ$U!eQ$W!fQ$i!pQ$j!qQ$k!rQ$l!sQ$p!xS$q!y)gQ$r!zQ$s!{Q$t!|Q$u!}Q$z#RQ${#SQ$|#TQ$}#UQ%O#VQ%]#eQ%l$OQ&h%PQ&k%UQ&l%VQ&y%tQ'U&UQ'V&VQ'X&XQ'a&bQ'e&dQ'f&gQ'g(yQ'i&xQ'm&}Q'r'TQ'w'WS(R(z)zQ(S({Q(T(|Q(U(}Q(W)PQ(X)QQ(Y)RQ(Z)SQ([)TQ(]'hQ(m(QQ(o(`Q(t)WQ(u(pQ(w(rQ(x(vQ)U)ZQ)V)[Q)X)bQ)Y)cQ)])fQ)^)lQ)_)mQ)`)nQ)a)sQ)d*TQ)e*UQ)o)hQ)p)iQ)q)jQ)r)kQ)t)yQ)u*PQ)v*QQ)w*RQ)x*SQ*V){Q*W)|Q*X)}R*Y*OQ$c!lT$y#O)OR$x!}R#XhR#^jR%|$^R$h!o",nodeNames:"⚠ {{ {# {% {% Template Text }} Interpolation VariableName MemberExpression . PropertyName SubscriptExpression BinaryExpression ConcatOp ArithOp ArithOp CompareOp in is StringLiteral NumberLiteral and or NotExpression not FilterExpression FilterOp FilterName FilterCall ) ( ArgumentList NamedArgument AssignOp , NamedArgument ConditionalExpression if else CallExpression ArrayExpression TupleExpression ParenthesizedExpression DictExpression Entry : Entry BooleanLiteral self super loop IfStatement Tag TagName if %} Tag elif Tag else EndTag endif ForStatement Tag for Definition recursive EndTag endfor RawStatement Tag raw RawText EndTag endraw BlockStatement Tag block scoped required EndTag endblock MacroStatement Tag macro ParamList OptionalParameter OptionalParameter EndTag endmacro CallStatement Tag call EndTag endcall FilterStatement Tag filter EndTag endfilter SetStatement Tag set EndTag endset TransStatement Tag trans Tag pluralize EndTag endtrans WithStatement Tag with EndTag endwith AutoescapeStatement Tag autoescape EndTag endautoescape Tag Tag Tag import as from import ImportItem Tag include ignore missing with without context Comment #}",maxTerm:173,nodeProps:[["closedBy",1,"}}",2,"#}",-2,3,4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y*y~,ROt~~,WRa~uv,a!O!P*b!Q![+h~,dP#q#r&v~,lPZ~!Q![*h~,tP`~!P!Q*Q~,|O!P~~-RPb~!_!`#q~-ZPs~!_!`#q!`-iVm`[p!XS$gY!Q![-^!c!}-^#R#S-^#T#o-^%W;'S-^;'S;:j.O<%lO-^!`.RP;=`<%l-^~.ZO$i~~.`O$h~~.eO$n~~.jOl~^.oP$m[#q#r.rQ.wOVQ~.|O_~",tokenizers:[E,W,1,2,3,4,5,new w("b~RPstU~XP#q#r[~aO$Q~~",17,173)],topRules:{Template:[0,5]},specialized:[{term:161,get:O=>V[O]||-1},{term:55,get:O=>q[O]||-1}],tokenPrec:3602});function S(O,i){return O.split(" ").map(t=>({label:t,type:i}))}const N=S("abs attr batch capitalize center default dictsort escape filesizeformat first float forceescape format groupby indent int items join last length list lower map max min pprint random reject rejectattr replace reverse round safe select selectattr slice sort string striptags sum title tojson trim truncate unique upper urlencode urlize wordcount wordwrap xmlattr","function"),C=S("boolean callable defined divisibleby eq escaped even filter float ge gt in integer iterable le lower lt mapping ne none number odd sameas sequence string test undefined upper range lipsum dict joiner namespace","function"),D=S("loop super self true false varargs kwargs caller name arguments catch_kwargs catch_varargs caller","keyword"),l=C.concat(D),$=S("raw endraw filter endfilter trans pluralize endtrans with endwith autoescape endautoescape if elif else endif for endfor call endcall block endblock set endset macro endmacro import include break continue debug do extends","keyword");function A(O){var i;let{state:t,pos:r}=O,e=x(t).resolveInner(r,-1).enterUnfinishedNodesBefore(r),P=((i=e.childBefore(r))===null||i===void 0?void 0:i.name)||e.name;if(e.name=="FilterName")return{type:"filter",node:e};if(O.explicit&&(P=="FilterOp"||P=="filter"))return{type:"filter"};if(e.name=="TagName")return{type:"tag",node:e};if(O.explicit&&P=="{%")return{type:"tag"};if(e.name=="PropertyName"&&e.parent.name=="MemberExpression")return{type:"prop",node:e,target:e.parent};if(e.name=="."&&e.parent.name=="MemberExpression")return{type:"prop",target:e.parent};if(e.name=="MemberExpression"&&P==".")return{type:"prop",target:e};if(e.name=="VariableName")return{type:"expr",from:e.from};if(e.name=="Comment"||e.name=="StringLiteral"||e.name=="NumberLiteral")return null;let Q=O.matchBefore(/[\w\u00c0-\uffff]+$/);return Q?{type:"expr",from:Q.from}:O.explicit?{type:"expr"}:null}function L(O,i,t,r){let e=[];for(;;){let P=i.getChild("Expression");if(!P)return[];if(P.name=="VariableName"){e.unshift(O.sliceDoc(P.from,P.to));break}else if(P.name=="MemberExpression"){let Q=P.getChild("PropertyName");Q&&e.unshift(O.sliceDoc(Q.from,Q.to)),i=P}else return[]}return r(e,O,t)}function I(O={}){let i=O.tags?O.tags.concat($):$,t=O.variables?O.variables.concat(l):l,{properties:r}=O;return e=>{var P;let Q=A(e);if(!Q)return null;let o=(P=Q.from)!==null&&P!==void 0?P:Q.node?Q.node.from:e.pos,n;return Q.type=="filter"?n=N:Q.type=="tag"?n=i:Q.type=="expr"?n=t:n=r?L(e.state,Q.target,e,r):[],n.length?{options:n,from:o,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const H=d.inputHandler.of((O,i,t,r)=>r!="%"||i!=t||O.state.doc.sliceString(i-1,t+1)!="{}"?!1:(O.dispatch(O.state.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:"%%"},range:g.cursor(e.from+1)})),{scrollIntoView:!0,userEvent:"input.type"}),!0));function p(O){return i=>{let t=O.test(i.textAfter);return i.lineIndent(i.node.from)+(t?0:i.unit)}}const B=G.define({name:"jinja",parser:F.configure({props:[b({"TagName raw endraw filter endfilter as trans pluralize endtrans with endwith autoescape endautoescape":a.keyword,"required scoped recursive with without context ignore missing":a.modifier,self:a.self,"loop super":a.standard(a.variableName),"if elif else endif for endfor call endcall":a.controlKeyword,"block endblock set endset macro endmacro import from include":a.definitionKeyword,"Comment/...":a.blockComment,VariableName:a.variableName,Definition:a.definition(a.variableName),PropertyName:a.propertyName,FilterName:a.special(a.variableName),ArithOp:a.arithmeticOperator,AssignOp:a.definitionOperator,"not and or":a.logicOperator,CompareOp:a.compareOperator,"in is":a.operatorKeyword,"FilterOp ConcatOp":a.operator,StringLiteral:a.string,NumberLiteral:a.number,BooleanLiteral:a.bool,"{% %} {# #} {{ }} { }":a.brace,"( )":a.paren,".":a.derefOperator,": , .":a.punctuation}),Z.add({Tag:R({closing:"%}"}),"IfStatement ForStatement":p(/^\s*(\{%-?\s*)?(endif|endfor|else|elif)\b/),Statement:p(/^\s*(\{%-?\s*)?end\w/)}),h.add({"Statement Comment"(O){let i=O.firstChild,t=O.lastChild;return!i||i.name!="Tag"&&i.name!="{#"?null:{from:i.to,to:t.name=="EndTag"||t.name=="#}"?t.from:O.to}}})]}),languageData:{indentOnInput:/^\s*{%-?\s*(?:end|elif|else)$/}}),s=m();function c(O){return B.configure({wrap:u(i=>i.type.isTop?{parser:O.parser,overlay:t=>t.name=="Text"||t.name=="RawText"}:null)},"jinja")}const J=c(s.language);function OO(O={}){let i=O.base||s,t=i.language==s.language?J:c(i.language);return new v(t,[i.support,t.data.of({autocomplete:I(O)}),i.language.data.of({closeBrackets:{brackets:["{"]}}),H])}export{H as closePercentBrace,OO as jinja,I as jinjaCompletionSource,J as jinjaLanguage}; +======== +import{n as d,o as g,a as v,p as m,q as u,g as x,L as G,s as b,t as a,i as Z,k as R,f as h,e as k,E as f,h as w}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const X=1,T=2,y=3,U=155,z=4,j=156;function Y(O){return O>=65&&O<=90||O>=97&&O<=122}const E=new f(O=>{let i=O.pos;for(;;){let{next:t}=O;if(t<0)break;if(t==123){let r=O.peek(1);if(r==123){if(O.pos>i)break;O.acceptToken(X,2);return}else if(r==35){if(O.pos>i)break;O.acceptToken(T,2);return}else if(r==37){if(O.pos>i)break;let e=2,P=2;for(;;){let Q=O.peek(e);if(Q==32||Q==10)++e;else if(Q==35)for(++e;;){let o=O.peek(e);if(o<0||o==10)break;e++}else if(Q==45&&P==2)P=++e;else{O.acceptToken(y,P);return}}}}if(O.advance(),t==10)break}O.pos>i&&O.acceptToken(U)});function _(O,i,t){return new f(r=>{let e=r.pos;for(;;){let{next:P}=r;if(P==123&&r.peek(1)==37){let Q=2;for(;;Q++){let n=r.peek(Q);if(n!=32&&n!=10)break}let o="";for(;;Q++){let n=r.peek(Q);if(!Y(n))break;o+=String.fromCharCode(n)}if(o==O){if(r.pos>e)break;r.acceptToken(t,2);break}}else if(P<0)break;if(r.advance(),P==10)break}r.pos>e&&r.acceptToken(i)})}const W=_("endraw",j,z),V={__proto__:null,in:38,is:40,and:46,or:48,not:52,if:78,else:80,true:98,false:98,self:100,super:102,loop:104,recursive:136,scoped:160,required:162,as:256,import:260,ignore:268,missing:270,with:272,without:274,context:276},q={__proto__:null,if:112,elif:118,else:122,endif:126,for:132,endfor:140,raw:146,endraw:152,block:158,endblock:166,macro:172,endmacro:182,call:188,endcall:192,filter:198,endfilter:202,set:208,endset:212,trans:218,pluralize:222,endtrans:226,with:232,endwith:236,autoescape:242,endautoescape:246,import:254,from:258,include:266},F=k.deserialize({version:14,states:"!*dQVOPOOOOOP'#F`'#F`OeOTO'#CbOvQSO'#CdO!kOPO'#DcO!yOPO'#DnO#XOQO'#DuO#^OPO'#D{O#lOPO'#ESO#zOPO'#E[O$YOPO'#EaO$hOPO'#EfO$vOPO'#EkO%UOPO'#ErO%dOPO'#EwOOOP'#F|'#F|O%rQWO'#E|O&sO#tO'#F]OOOP'#Fq'#FqOOOP'#F_'#F_QVOPOOOOOP-E9^-E9^OOQO'#Ce'#CeO'sQSO,59OO'zQSO'#DWO(RQSO'#DXO(YQ`O'#DZOOQO'#Fr'#FrOvQSO'#CuO(aOPO'#CbOOOP'#Fd'#FdO!kOPO,59}OOOP,59},59}O(oOPO,59}O(}QWO'#E|OOOP,5:Y,5:YO)[OPO,5:YO!yOPO,5:YO)jQWO'#E|OOOQ'#Ff'#FfO)tOQO'#DxO)|OQO,5:aOOOP,5:g,5:gO#^OPO,5:gO*RQWO'#E|OOOP,5:n,5:nO#lOPO,5:nO*YQWO'#E|OOO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%Q%SQ%W#]R&n%WQoSR#`oQ%s$YQ&S$dQ&W$gW&w%s&S&W(qR(q(fQxUR#mxS'P%z%{R'p'PQ'u'VR(c'uQ'y'XQ(e'wT(g'y(eQ'}'^R(j'}Q!uaR$m!u!bcOTVWXYZ[]^dqtu{!O!R!U!X![!]!`!c#b#c#i#k#{#}%[%a%kTnSoQgRQ#WhQ#YiQ#[jQ#_lQ$U!eQ$W!fQ$i!pQ$j!qQ$k!rQ$l!sQ$p!xS$q!y)gQ$r!zQ$s!{Q$t!|Q$u!}Q$z#RQ${#SQ$|#TQ$}#UQ%O#VQ%]#eQ%l$OQ&h%PQ&k%UQ&l%VQ&y%tQ'U&UQ'V&VQ'X&XQ'a&bQ'e&dQ'f&gQ'g(yQ'i&xQ'm&}Q'r'TQ'w'WS(R(z)zQ(S({Q(T(|Q(U(}Q(W)PQ(X)QQ(Y)RQ(Z)SQ([)TQ(]'hQ(m(QQ(o(`Q(t)WQ(u(pQ(w(rQ(x(vQ)U)ZQ)V)[Q)X)bQ)Y)cQ)])fQ)^)lQ)_)mQ)`)nQ)a)sQ)d*TQ)e*UQ)o)hQ)p)iQ)q)jQ)r)kQ)t)yQ)u*PQ)v*QQ)w*RQ)x*SQ*V){Q*W)|Q*X)}R*Y*OQ$c!lT$y#O)OR$x!}R#XhR#^jR%|$^R$h!o",nodeNames:"⚠ {{ {# {% {% Template Text }} Interpolation VariableName MemberExpression . PropertyName SubscriptExpression BinaryExpression ConcatOp ArithOp ArithOp CompareOp in is StringLiteral NumberLiteral and or NotExpression not FilterExpression FilterOp FilterName FilterCall ) ( ArgumentList NamedArgument AssignOp , NamedArgument ConditionalExpression if else CallExpression ArrayExpression TupleExpression ParenthesizedExpression DictExpression Entry : Entry BooleanLiteral self super loop IfStatement Tag TagName if %} Tag elif Tag else EndTag endif ForStatement Tag for Definition recursive EndTag endfor RawStatement Tag raw RawText EndTag endraw BlockStatement Tag block scoped required EndTag endblock MacroStatement Tag macro ParamList OptionalParameter OptionalParameter EndTag endmacro CallStatement Tag call EndTag endcall FilterStatement Tag filter EndTag endfilter SetStatement Tag set EndTag endset TransStatement Tag trans Tag pluralize EndTag endtrans WithStatement Tag with EndTag endwith AutoescapeStatement Tag autoescape EndTag endautoescape Tag Tag Tag import as from import ImportItem Tag include ignore missing with without context Comment #}",maxTerm:173,nodeProps:[["closedBy",1,"}}",2,"#}",-2,3,4,"%}",32,")"],["openedBy",7,"{{",31,"(",57,"{%",140,"{#"],["group",-18,9,10,13,14,21,22,25,27,38,41,42,43,44,45,49,50,51,52,"Expression",-11,53,64,71,77,84,92,97,102,107,114,119,"Statement"]],skippedNodes:[0],repeatNodeCount:13,tokenData:".|~RqXY#YYZ#Y]^#Ypq#Yqr#krs#vuv&nwx&{xy)nyz)sz{)x{|*V|}+|}!O,R!O!P,g!P!Q,o!Q![+h![!],w!^!_,|!_!`-U!`!a,|!c!}-^!}#O.U#P#Q.Z#R#S-^#T#o-^#o#p.`#p#q.e#q#r.j#r#s.w%W;'S-^;'S;:j.O<%lO-^~#_S$d~XY#YYZ#Y]^#Ypq#Y~#nP!_!`#q~#vOb~~#yWOY#vZr#vrs$cs#O#v#O#P$h#P;'S#v;'S;=`%x<%lO#v~$hOe~~$kYOY#vYZ#vZr#vrs%Zs#O#v#O#P$h#P;'S#v;'S;=`&O;=`<%l#v<%lO#v~%`We~OY#vZr#vrs$cs#O#v#O#P$h#P;'S#v;'S;=`%x<%lO#v~%{P;=`<%l#v~&RXOY#vZr#vrs$cs#O#v#O#P$h#P;'S#v;'S;=`%x;=`<%l#v<%lO#v~&sP`~#q#r&v~&{O!Z~~'OWOY&{Zw&{wx$cx#O&{#O#P'h#P;'S&{;'S;=`(x<%lO&{~'kYOY&{YZ&{Zw&{wx(Zx#O&{#O#P'h#P;'S&{;'S;=`)O;=`<%l&{<%lO&{~(`We~OY&{Zw&{wx$cx#O&{#O#P'h#P;'S&{;'S;=`(x<%lO&{~({P;=`<%l&{~)RXOY&{Zw&{wx$cx#O&{#O#P'h#P;'S&{;'S;=`(x;=`<%l&{<%lO&{~)sOp~~)xOo~~)}P`~z{*Q~*VO`~~*[Qa~!O!P*b!Q![+h~*eP!Q![*h~*mSf~!Q![*h!g!h*y#R#S*h#X#Y*y~*|R{|+V}!O+V!Q![+]~+YP!Q![+]~+bQf~!Q![+]#R#S+]~+mTf~!O!P*b!Q![+h!g!h*y#R#S+h#X#Y*y~,ROt~~,WRa~uv,a!O!P*b!Q![+h~,dP#q#r&v~,lPZ~!Q![*h~,tP`~!P!Q*Q~,|O!P~~-RPb~!_!`#q~-ZPs~!_!`#q!`-iVm`[p!XS$gY!Q![-^!c!}-^#R#S-^#T#o-^%W;'S-^;'S;:j.O<%lO-^!`.RP;=`<%l-^~.ZO$i~~.`O$h~~.eO$n~~.jOl~^.oP$m[#q#r.rQ.wOVQ~.|O_~",tokenizers:[E,W,1,2,3,4,5,new w("b~RPstU~XP#q#r[~aO$Q~~",17,173)],topRules:{Template:[0,5]},specialized:[{term:161,get:O=>V[O]||-1},{term:55,get:O=>q[O]||-1}],tokenPrec:3602});function S(O,i){return O.split(" ").map(t=>({label:t,type:i}))}const N=S("abs attr batch capitalize center default dictsort escape filesizeformat first float forceescape format groupby indent int items join last length list lower map max min pprint random reject rejectattr replace reverse round safe select selectattr slice sort string striptags sum title tojson trim truncate unique upper urlencode urlize wordcount wordwrap xmlattr","function"),C=S("boolean callable defined divisibleby eq escaped even filter float ge gt in integer iterable le lower lt mapping ne none number odd sameas sequence string test undefined upper range lipsum dict joiner namespace","function"),D=S("loop super self true false varargs kwargs caller name arguments catch_kwargs catch_varargs caller","keyword"),l=C.concat(D),$=S("raw endraw filter endfilter trans pluralize endtrans with endwith autoescape endautoescape if elif else endif for endfor call endcall block endblock set endset macro endmacro import include break continue debug do extends","keyword");function A(O){var i;let{state:t,pos:r}=O,e=x(t).resolveInner(r,-1).enterUnfinishedNodesBefore(r),P=((i=e.childBefore(r))===null||i===void 0?void 0:i.name)||e.name;if(e.name=="FilterName")return{type:"filter",node:e};if(O.explicit&&(P=="FilterOp"||P=="filter"))return{type:"filter"};if(e.name=="TagName")return{type:"tag",node:e};if(O.explicit&&P=="{%")return{type:"tag"};if(e.name=="PropertyName"&&e.parent.name=="MemberExpression")return{type:"prop",node:e,target:e.parent};if(e.name=="."&&e.parent.name=="MemberExpression")return{type:"prop",target:e.parent};if(e.name=="MemberExpression"&&P==".")return{type:"prop",target:e};if(e.name=="VariableName")return{type:"expr",from:e.from};if(e.name=="Comment"||e.name=="StringLiteral"||e.name=="NumberLiteral")return null;let Q=O.matchBefore(/[\w\u00c0-\uffff]+$/);return Q?{type:"expr",from:Q.from}:O.explicit?{type:"expr"}:null}function L(O,i,t,r){let e=[];for(;;){let P=i.getChild("Expression");if(!P)return[];if(P.name=="VariableName"){e.unshift(O.sliceDoc(P.from,P.to));break}else if(P.name=="MemberExpression"){let Q=P.getChild("PropertyName");Q&&e.unshift(O.sliceDoc(Q.from,Q.to)),i=P}else return[]}return r(e,O,t)}function I(O={}){let i=O.tags?O.tags.concat($):$,t=O.variables?O.variables.concat(l):l,{properties:r}=O;return e=>{var P;let Q=A(e);if(!Q)return null;let o=(P=Q.from)!==null&&P!==void 0?P:Q.node?Q.node.from:e.pos,n;return Q.type=="filter"?n=N:Q.type=="tag"?n=i:Q.type=="expr"?n=t:n=r?L(e.state,Q.target,e,r):[],n.length?{options:n,from:o,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const H=d.inputHandler.of((O,i,t,r)=>r!="%"||i!=t||O.state.doc.sliceString(i-1,t+1)!="{}"?!1:(O.dispatch(O.state.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:"%%"},range:g.cursor(e.from+1)})),{scrollIntoView:!0,userEvent:"input.type"}),!0));function p(O){return i=>{let t=O.test(i.textAfter);return i.lineIndent(i.node.from)+(t?0:i.unit)}}const B=G.define({name:"jinja",parser:F.configure({props:[b({"TagName raw endraw filter endfilter as trans pluralize endtrans with endwith autoescape endautoescape":a.keyword,"required scoped recursive with without context ignore missing":a.modifier,self:a.self,"loop super":a.standard(a.variableName),"if elif else endif for endfor call endcall":a.controlKeyword,"block endblock set endset macro endmacro import from include":a.definitionKeyword,"Comment/...":a.blockComment,VariableName:a.variableName,Definition:a.definition(a.variableName),PropertyName:a.propertyName,FilterName:a.special(a.variableName),ArithOp:a.arithmeticOperator,AssignOp:a.definitionOperator,"not and or":a.logicOperator,CompareOp:a.compareOperator,"in is":a.operatorKeyword,"FilterOp ConcatOp":a.operator,StringLiteral:a.string,NumberLiteral:a.number,BooleanLiteral:a.bool,"{% %} {# #} {{ }} { }":a.brace,"( )":a.paren,".":a.derefOperator,": , .":a.punctuation}),Z.add({Tag:R({closing:"%}"}),"IfStatement ForStatement":p(/^\s*(\{%-?\s*)?(endif|endfor|else|elif)\b/),Statement:p(/^\s*(\{%-?\s*)?end\w/)}),h.add({"Statement Comment"(O){let i=O.firstChild,t=O.lastChild;return!i||i.name!="Tag"&&i.name!="{#"?null:{from:i.to,to:t.name=="EndTag"||t.name=="#}"?t.from:O.to}}})]}),languageData:{indentOnInput:/^\s*{%-?\s*(?:end|elif|else)$/}}),s=m();function c(O){return B.configure({wrap:u(i=>i.type.isTop?{parser:O.parser,overlay:t=>t.name=="Text"||t.name=="RawText"}:null)},"jinja")}const J=c(s.language);function OO(O={}){let i=O.base||s,t=i.language==s.language?J:c(i.language);return new v(t,[i.support,t.data.of({autocomplete:I(O)}),i.language.data.of({closeBrackets:{brackets:["{"]}}),H])}export{H as closePercentBrace,OO as jinja,I as jinjaCompletionSource,J as jinjaLanguage}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-vq5UEcDd.js diff --git a/frontend/dist/assets/index-Bnrjo134.js b/frontend/dist/assets/index-Bnrjo134.js index 7bf593f..0a60f52 100644 --- a/frontend/dist/assets/index-Bnrjo134.js +++ b/frontend/dist/assets/index-Bnrjo134.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-Bnrjo134.js import{L as p,a as u,p as l,q as n,s as m,t,v as b,e as S,h as r}from"./index-DFkjzvE0.js";import"./index-CD29OCdJ.js";const c=S.deserialize({version:14,states:"%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",stateData:"$g~OjOS~OQROUROkQO~OWTOXUOZUO`VO~OSXOTWO~OXUO[]OlZO~OY^O~O[_O~OT`O~OYaO~OmcOodO~OmfOogO~O^iOnhO~O_jOphO~ObkOqkOrmO~OcnOsnOtmO~OnpO~OppO~ObkOqkOrrO~OcnOsnOtrO~OWX`~",goto:"!^hPPPiPPPPPPPPPmPPPpPPsy!Q!WTROSRe]Re_QSORYSS[T^Rb[QlfRqlQogRso",nodeNames:"⚠ Content Text Interpolation InterpolationContent }} Entity Attribute VueAttributeName : Identifier @ Is ScriptAttributeValue AttributeScript AttributeScript AttributeName AttributeValue Entity Entity",maxTerm:36,nodeProps:[["isolate",-3,3,13,17,""]],skippedNodes:[0],repeatNodeCount:4,tokenData:"'y~RdXY!aYZ!a]^!apq!ars!rwx!w}!O!|!O!P#t!Q![#y![!]$s!_!`%g!b!c%l!c!}#y#R#S#y#T#j#y#j#k%q#k#o#y%W;'S#y;'S;:j$m<%lO#y~!fSj~XY!aYZ!a]^!apq!a~!wOm~~!|Oo~!b#RX`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|!b#qP;=`<%l!|~#yOl~%W$QXY#t`!b}!O!|!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y%W$pP;=`<%l#y~$zXX~`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|~%lO[~~%qOZ~%W%xXY#t`!b}!O&e!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y!b&jX`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|!b'^XW!b`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|",tokenizers:[6,7,new r("b~RP#q#rU~XP#q#r[~aOT~~",17,4),new r("!k~RQvwX#o#p!_~^TU~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOU~~![P;=`<%lm~!bP#o#p!e~!jOk~~",72,2),new r("[~RPwxU~ZOp~~",11,15),new r("[~RPrsU~ZOn~~",11,14),new r("!e~RQvwXwx!_~^Tc~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOc~~![P;=`<%lm~!dOt~~",66,35),new r("!e~RQrsXvw^~^Or~~cTb~Oprq!]r!^;'Sr;'S;=`!^<%lOr~uUOprq!]r!]!^!X!^;'Sr;'S;=`!^<%lOr~!^Ob~~!aP;=`<%lr~",66,33)],topRules:{Content:[0,1],Attribute:[1,7]},tokenPrec:157}),P=b.parser.configure({top:"SingleExpression"}),s=c.configure({props:[m({Text:t.content,Is:t.definitionOperator,AttributeName:t.attributeName,VueAttributeName:t.keyword,Identifier:t.variableName,"AttributeValue ScriptAttributeValue":t.attributeValue,Entity:t.character,"{{ }}":t.brace,"@ :":t.punctuation})]}),o={parser:P},Q=s.configure({wrap:n((O,e)=>O.name=="InterpolationContent"?o:null)}),g=s.configure({wrap:n((O,e)=>O.name=="AttributeScript"?o:null),top:"Attribute"}),y={parser:Q},R={parser:g},a=l();function i(O){return O.configure({dialect:"selfClosing",wrap:n(X)},"vue")}const T=i(a.language);function X(O,e){switch(O.name){case"Attribute":return/^(@|:|v-)/.test(e.read(O.from,O.from+2))?R:null;case"Text":return y}return null}function f(O={}){let e=a;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof p))throw new RangeError("The base option must be the result of calling html(...)");e=O.base}return new u(e.language==a.language?T:i(e.language),[e.support,e.language.data.of({closeBrackets:{brackets:["{",'"']}})])}export{f as vue,T as vueLanguage}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-CmWTOlS_.js +import{L as p,a as u,p as l,q as n,s as m,t,v as b,e as S,h as r}from"./index-Szd58FrA.js";import"./index-Ds9AETjS.js";const c=S.deserialize({version:14,states:"%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",stateData:"$g~OjOS~OQROUROkQO~OWTOXUOZUO`VO~OSXOTWO~OXUO[]OlZO~OY^O~O[_O~OT`O~OYaO~OmcOodO~OmfOogO~O^iOnhO~O_jOphO~ObkOqkOrmO~OcnOsnOtmO~OnpO~OppO~ObkOqkOrrO~OcnOsnOtrO~OWX`~",goto:"!^hPPPiPPPPPPPPPmPPPpPPsy!Q!WTROSRe]Re_QSORYSS[T^Rb[QlfRqlQogRso",nodeNames:"⚠ Content Text Interpolation InterpolationContent }} Entity Attribute VueAttributeName : Identifier @ Is ScriptAttributeValue AttributeScript AttributeScript AttributeName AttributeValue Entity Entity",maxTerm:36,nodeProps:[["isolate",-3,3,13,17,""]],skippedNodes:[0],repeatNodeCount:4,tokenData:"'y~RdXY!aYZ!a]^!apq!ars!rwx!w}!O!|!O!P#t!Q![#y![!]$s!_!`%g!b!c%l!c!}#y#R#S#y#T#j#y#j#k%q#k#o#y%W;'S#y;'S;:j$m<%lO#y~!fSj~XY!aYZ!a]^!apq!a~!wOm~~!|Oo~!b#RX`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|!b#qP;=`<%l!|~#yOl~%W$QXY#t`!b}!O!|!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y%W$pP;=`<%l#y~$zXX~`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|~%lO[~~%qOZ~%W%xXY#t`!b}!O&e!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y!b&jX`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|!b'^XW!b`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|",tokenizers:[6,7,new r("b~RP#q#rU~XP#q#r[~aOT~~",17,4),new r("!k~RQvwX#o#p!_~^TU~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOU~~![P;=`<%lm~!bP#o#p!e~!jOk~~",72,2),new r("[~RPwxU~ZOp~~",11,15),new r("[~RPrsU~ZOn~~",11,14),new r("!e~RQvwXwx!_~^Tc~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOc~~![P;=`<%lm~!dOt~~",66,35),new r("!e~RQrsXvw^~^Or~~cTb~Oprq!]r!^;'Sr;'S;=`!^<%lOr~uUOprq!]r!]!^!X!^;'Sr;'S;=`!^<%lOr~!^Ob~~!aP;=`<%lr~",66,33)],topRules:{Content:[0,1],Attribute:[1,7]},tokenPrec:157}),P=b.parser.configure({top:"SingleExpression"}),s=c.configure({props:[m({Text:t.content,Is:t.definitionOperator,AttributeName:t.attributeName,VueAttributeName:t.keyword,Identifier:t.variableName,"AttributeValue ScriptAttributeValue":t.attributeValue,Entity:t.character,"{{ }}":t.brace,"@ :":t.punctuation})]}),o={parser:P},Q=s.configure({wrap:n((O,e)=>O.name=="InterpolationContent"?o:null)}),g=s.configure({wrap:n((O,e)=>O.name=="AttributeScript"?o:null),top:"Attribute"}),y={parser:Q},R={parser:g},a=l();function i(O){return O.configure({dialect:"selfClosing",wrap:n(X)},"vue")}const T=i(a.language);function X(O,e){switch(O.name){case"Attribute":return/^(@|:|v-)/.test(e.read(O.from,O.from+2))?R:null;case"Text":return y}return null}function f(O={}){let e=a;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof p))throw new RangeError("The base option must be the result of calling html(...)");e=O.base}return new u(e.language==a.language?T:i(e.language),[e.support,e.language.data.of({closeBrackets:{brackets:["{",'"']}})])}export{f as vue,T as vueLanguage}; +======== +import{L as p,a as u,p as l,q as n,s as m,t,v as b,e as S,h as r}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const c=S.deserialize({version:14,states:"%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",stateData:"$g~OjOS~OQROUROkQO~OWTOXUOZUO`VO~OSXOTWO~OXUO[]OlZO~OY^O~O[_O~OT`O~OYaO~OmcOodO~OmfOogO~O^iOnhO~O_jOphO~ObkOqkOrmO~OcnOsnOtmO~OnpO~OppO~ObkOqkOrrO~OcnOsnOtrO~OWX`~",goto:"!^hPPPiPPPPPPPPPmPPPpPPsy!Q!WTROSRe]Re_QSORYSS[T^Rb[QlfRqlQogRso",nodeNames:"⚠ Content Text Interpolation InterpolationContent }} Entity Attribute VueAttributeName : Identifier @ Is ScriptAttributeValue AttributeScript AttributeScript AttributeName AttributeValue Entity Entity",maxTerm:36,nodeProps:[["isolate",-3,3,13,17,""]],skippedNodes:[0],repeatNodeCount:4,tokenData:"'y~RdXY!aYZ!a]^!apq!ars!rwx!w}!O!|!O!P#t!Q![#y![!]$s!_!`%g!b!c%l!c!}#y#R#S#y#T#j#y#j#k%q#k#o#y%W;'S#y;'S;:j$m<%lO#y~!fSj~XY!aYZ!a]^!apq!a~!wOm~~!|Oo~!b#RX`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|!b#qP;=`<%l!|~#yOl~%W$QXY#t`!b}!O!|!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y%W$pP;=`<%l#y~$zXX~`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|~%lO[~~%qOZ~%W%xXY#t`!b}!O&e!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y!b&jX`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|!b'^XW!b`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|",tokenizers:[6,7,new r("b~RP#q#rU~XP#q#r[~aOT~~",17,4),new r("!k~RQvwX#o#p!_~^TU~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOU~~![P;=`<%lm~!bP#o#p!e~!jOk~~",72,2),new r("[~RPwxU~ZOp~~",11,15),new r("[~RPrsU~ZOn~~",11,14),new r("!e~RQvwXwx!_~^Tc~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOc~~![P;=`<%lm~!dOt~~",66,35),new r("!e~RQrsXvw^~^Or~~cTb~Oprq!]r!^;'Sr;'S;=`!^<%lOr~uUOprq!]r!]!^!X!^;'Sr;'S;=`!^<%lOr~!^Ob~~!aP;=`<%lr~",66,33)],topRules:{Content:[0,1],Attribute:[1,7]},tokenPrec:157}),P=b.parser.configure({top:"SingleExpression"}),s=c.configure({props:[m({Text:t.content,Is:t.definitionOperator,AttributeName:t.attributeName,VueAttributeName:t.keyword,Identifier:t.variableName,"AttributeValue ScriptAttributeValue":t.attributeValue,Entity:t.character,"{{ }}":t.brace,"@ :":t.punctuation})]}),o={parser:P},Q=s.configure({wrap:n((O,e)=>O.name=="InterpolationContent"?o:null)}),g=s.configure({wrap:n((O,e)=>O.name=="AttributeScript"?o:null),top:"Attribute"}),y={parser:Q},R={parser:g},a=l();function i(O){return O.configure({dialect:"selfClosing",wrap:n(X)},"vue")}const T=i(a.language);function X(O,e){switch(O.name){case"Attribute":return/^(@|:|v-)/.test(e.read(O.from,O.from+2))?R:null;case"Text":return y}return null}function f(O={}){let e=a;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof p))throw new RangeError("The base option must be the result of calling html(...)");e=O.base}return new u(e.language==a.language?T:i(e.language),[e.support,e.language.data.of({closeBrackets:{brackets:["{",'"']}})])}export{f as vue,T as vueLanguage}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-BgBN-PsO.js diff --git a/frontend/dist/assets/index-Bp52mKPt.js b/frontend/dist/assets/index-Bp52mKPt.js new file mode 100644 index 0000000..c68a639 --- /dev/null +++ b/frontend/dist/assets/index-Bp52mKPt.js @@ -0,0 +1 @@ +import{d as o,a as d,o as i,e as n,w as l,h as r,Y as p,cS as g,f as m,Z as y,l as f}from"./index-CxbBjZKo.js";var h=o({name:"ElCollapseTransition",__name:"collapse-transition",setup(v){const e=d("collapse-transition"),a=t=>{t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom},s={beforeEnter(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.style.height&&(t.dataset.elExistsHeight=t.style.height),t.style.maxHeight=0,t.style.paddingTop=0,t.style.paddingBottom=0},enter(t){requestAnimationFrame(()=>{t.dataset.oldOverflow=t.style.overflow,t.dataset.elExistsHeight?t.style.maxHeight=t.dataset.elExistsHeight:t.scrollHeight!==0?t.style.maxHeight=`${t.scrollHeight}px`:t.style.maxHeight=0,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom,t.style.overflow="hidden"})},afterEnter(t){t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow},enterCancelled(t){a(t)},beforeLeave(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.dataset.oldOverflow=t.style.overflow,t.style.maxHeight=`${t.scrollHeight}px`,t.style.overflow="hidden"},leave(t){t.scrollHeight!==0&&(t.style.maxHeight=0,t.style.paddingTop=0,t.style.paddingBottom=0)},afterLeave(t){a(t)},leaveCancelled(t){a(t)}};return(t,_)=>(i(),n(y,p({name:m(e).b()},g(s)),{default:l(()=>[r(t.$slots,"default")]),_:3},16,["name"]))}}),c=h;const x=f(c);export{x as E}; diff --git a/frontend/dist/assets/index-BpXxrg-6.js b/frontend/dist/assets/index-BpXxrg-6.js index 7007771..ab691d8 100644 --- a/frontend/dist/assets/index-BpXxrg-6.js +++ b/frontend/dist/assets/index-BpXxrg-6.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-BpXxrg-6.js import{P as $,bn as x,V as he,W as Ee,d as Be,bo as we,E as Te,bp as Me,z as ke,bq as q,br as _,D as ee,G as Ie,H as Se,aV as Ae,y as w,j as C,b8 as j,J as W,bs as ne,ai as A,o as c,e as p,w as v,K,s as T,q as y,n as i,aL as R,al as oe,c as D,r as L,g as h,aa as V,t as P,h as Le,L as U,x as te,Z as Ve,bt as $e,an as ie,bu as ue,bv as se,a3 as de,bw as ae,aK as Oe,U as ze}from"./index-CD29OCdJ.js";import{f as Re,_ as De}from"./index-BpugJXyE.js";import{i as Pe}from"./validator-BQ0LVwAS.js";import{u as Fe}from"./index-D9N-GMuA.js";import{E as He,u as Ke,a as Ue}from"./index-roSlfP_P.js";import{E as Ne,f as le}from"./index-6OTFNiIi.js";import{E as qe}from"./index-D0wqu88j.js";const G="_trap-focus-children",E=[],re=e=>{if(E.length===0)return;const n=he(e),t=E[E.length-1][G];if(t.length>0&&n===Ee.tab){if(t.length===1){e.preventDefault(),document.activeElement!==t[0]&&t[0].focus();return}const l=e.shiftKey,r=e.target===t[0],a=e.target===t[t.length-1];r&&l&&(e.preventDefault(),t[t.length-1].focus()),a&&!l&&(e.preventDefault(),t[0].focus())}},je={beforeMount(e){e[G]=x(e),E.push(e),E.length<=1&&document.addEventListener("keydown",re)},updated(e){$(()=>{e[G]=x(e)})},unmounted(){E.shift(),E.length===0&&document.removeEventListener("keydown",re)}};var Ge=Be({name:"ElMessageBox",directives:{TrapFocus:je},components:{ElButton:Ne,ElFocusTrap:Re,ElInput:qe,ElOverlay:He,ElIcon:Te,...we},inheritAttrs:!1,props:{buttonSize:{type:String,validator:Pe},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:Boolean,container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:n}){const{locale:t,zIndex:l,ns:r,size:a}=Me("message-box",C(()=>e.buttonSize)),{t:f}=t,{nextZIndex:m}=l,g=w(!1),o=ke({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",cancelButtonType:"",confirmButtonType:"primary",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",closeIcon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:"",inputValidator:void 0,inputErrorMessage:"",message:"",modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:q(_),cancelButtonLoadingIcon:q(_),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:m()}),F=C(()=>{const s=o.type;return{[r.bm("icon",s)]:s&&ne[s]}}),u=le(),ce=le(),fe=C(()=>{const s=o.type;return o.icon||s&&ne[s]||""}),me=C(()=>!!o.message),B=w(),X=w(),k=w(),I=w(),Z=w(),pe=C(()=>o.confirmButtonClass);ee(()=>o.inputValue,async s=>{await $(),e.boxType==="prompt"&&s&&Q()},{immediate:!0}),ee(()=>g.value,s=>{var d;s&&(e.boxType!=="prompt"&&(o.autofocus?k.value=((d=Z.value)==null?void 0:d.$el)??B.value:k.value=B.value),o.zIndex=m()),e.boxType==="prompt"&&(s?$().then(()=>{I.value&&I.value.$el&&(o.autofocus?k.value=be()??B.value:k.value=B.value)}):(o.editorErrorMessage="",o.validateError=!1))});const{isDragging:ge}=Fe(B,X,C(()=>e.draggable),C(()=>e.overflow));Ie(async()=>{await $(),e.closeOnHashChange&&window.addEventListener("hashchange",S)}),Se(()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",S)});function S(){g.value&&(g.value=!1,$(()=>{o.action&&n("action",o.action)}))}const J=()=>{e.closeOnClickModal&&z(o.distinguishCancelAndClose?"close":"cancel")},ve=Ue(J),ye=s=>{var d;if(o.inputType!=="textarea"&&!((d=I.value)!=null&&d.isComposing))return s.preventDefault(),z("confirm")},z=s=>{var d;e.boxType==="prompt"&&s==="confirm"&&!Q()||(o.action=s,o.beforeClose?(d=o.beforeClose)==null||d.call(o,s,o,S):S())},Q=()=>{if(e.boxType==="prompt"){const s=o.inputPattern;if(s&&!s.test(o.inputValue||""))return o.editorErrorMessage=o.inputErrorMessage||f("el.messagebox.error"),o.validateError=!0,!1;const d=o.inputValidator;if(j(d)){const H=d(o.inputValue);if(H===!1)return o.editorErrorMessage=o.inputErrorMessage||f("el.messagebox.error"),o.validateError=!0,!1;if(W(H))return o.editorErrorMessage=H,o.validateError=!0,!1}}return o.editorErrorMessage="",o.validateError=!1,!0},be=()=>{var d;const s=(d=I.value)==null?void 0:d.$refs;return(s==null?void 0:s.input)??(s==null?void 0:s.textarea)},Y=()=>{z("close")},Ce=()=>{e.closeOnPressEscape&&Y()};return e.lockScroll&&Ke(g,{ns:r}),{...Ae(o),ns:r,overlayEvent:ve,visible:g,hasMessage:me,typeClass:F,contentId:u,inputId:ce,btnSize:a,iconComponent:fe,confirmButtonClasses:pe,rootRef:B,focusStartRef:k,headerRef:X,inputRef:I,isDragging:ge,confirmRef:Z,doClose:S,handleClose:Y,onCloseRequested:Ce,handleWrapperClick:J,handleInputEnter:ye,handleAction:z,t:f}}});const We=["aria-label","aria-describedby"],Xe=["aria-label"],Ze=["id"];function Je(e,n,t,l,r,a){const f=A("el-icon"),m=A("el-input"),g=A("el-button"),o=A("el-focus-trap"),F=A("el-overlay");return c(),p(Ve,{name:"fade-in-linear",onAfterLeave:n[11]||(n[11]=u=>e.$emit("vanish")),persisted:""},{default:v(()=>[K(T(F,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:v(()=>[y("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:i(`${e.ns.namespace.value}-overlay-message-box`),onClick:n[8]||(n[8]=(...u)=>e.overlayEvent.onClick&&e.overlayEvent.onClick(...u)),onMousedown:n[9]||(n[9]=(...u)=>e.overlayEvent.onMousedown&&e.overlayEvent.onMousedown(...u)),onMouseup:n[10]||(n[10]=(...u)=>e.overlayEvent.onMouseup&&e.overlayEvent.onMouseup(...u))},[T(o,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:v(()=>[y("div",{ref:"rootRef",class:i([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),e.ns.is("dragging",e.isDragging),{[e.ns.m("center")]:e.center}]),style:oe(e.customStyle),tabindex:"-1",onClick:n[7]||(n[7]=R(()=>{},["stop"]))},[e.title!==null&&e.title!==void 0?(c(),D("div",{key:0,ref:"headerRef",class:i([e.ns.e("header"),{"show-close":e.showClose}])},[y("div",{class:i(e.ns.e("title"))},[e.iconComponent&&e.center?(c(),p(f,{key:0,class:i([e.ns.e("status"),e.typeClass])},{default:v(()=>[(c(),p(L(e.iconComponent)))]),_:1},8,["class"])):h("v-if",!0),y("span",null,V(e.title),1)],2),e.showClose?(c(),D("button",{key:0,type:"button",class:i(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:n[0]||(n[0]=u=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),onKeydown:n[1]||(n[1]=P(R(u=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[T(f,{class:i(e.ns.e("close"))},{default:v(()=>[(c(),p(L(e.closeIcon||"close")))]),_:1},8,["class"])],42,Xe)):h("v-if",!0)],2)):h("v-if",!0),y("div",{id:e.contentId,class:i(e.ns.e("content"))},[y("div",{class:i(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(c(),p(f,{key:0,class:i([e.ns.e("status"),e.typeClass])},{default:v(()=>[(c(),p(L(e.iconComponent)))]),_:1},8,["class"])):h("v-if",!0),e.hasMessage?(c(),D("div",{key:1,class:i(e.ns.e("message"))},[Le(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(c(),p(L(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(c(),p(L(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0,textContent:V(e.message)},null,8,["for","textContent"]))])],2)):h("v-if",!0)],2),K(y("div",{class:i(e.ns.e("input"))},[T(m,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":n[2]||(n[2]=u=>e.inputValue=u),type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:i({invalid:e.validateError}),onKeydown:P(e.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),y("div",{class:i(e.ns.e("errormsg")),style:oe({visibility:e.editorErrorMessage?"visible":"hidden"})},V(e.editorErrorMessage),7)],2),[[U,e.showInput]])],10,Ze),e.showCancelButton||e.showConfirmButton?(c(),D("div",{key:1,class:i(e.ns.e("btns"))},[e.showCancelButton?(c(),p(g,{key:0,type:e.cancelButtonType==="text"?"":e.cancelButtonType,text:e.cancelButtonType==="text",loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:i([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:n[3]||(n[3]=u=>e.handleAction("cancel")),onKeydown:n[4]||(n[4]=P(R(u=>e.handleAction("cancel"),["prevent"]),["enter"]))},{default:v(()=>[te(V(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","size"])):h("v-if",!0),K(T(g,{ref:"confirmRef",type:e.confirmButtonType==="text"?"":e.confirmButtonType,text:e.confirmButtonType==="text",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:i([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:n[5]||(n[5]=u=>e.handleAction("confirm")),onKeydown:n[6]||(n[6]=P(R(u=>e.handleAction("confirm"),["prevent"]),["enter"]))},{default:v(()=>[te(V(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","disabled","size"]),[[U,e.showConfirmButton]])],2)):h("v-if",!0)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,We)]),_:3},8,["z-index","overlay-class","mask"]),[[U,e.visible]])]),_:3})}var Qe=De(Ge,[["render",Je]]);const O=new Map,Ye=e=>{let n=document.body;return e.appendTo&&(W(e.appendTo)&&(n=document.querySelector(e.appendTo)),ae(e.appendTo)&&(n=e.appendTo),ae(n)||(Oe("ElMessageBox","the appendTo option is not an HTMLElement. Falling back to document.body."),n=document.body)),n},N=(e,n)=>{var l;const t=(l=e.component)==null?void 0:l.proxy;return()=>t.handleAction(n)},xe=(e,n,t=null)=>{const l=T(Qe,e,j(e.message)||ie(e.message)?{default:j(e.message)?()=>e.message({confirm:N(l,"confirm"),cancel:N(l,"cancel"),close:N(l,"close")}):()=>e.message}:null);return l.appContext=t,ue(l,n),Ye(e).appendChild(n.firstElementChild),l.component},_e=()=>document.createElement("div"),en=(e,n)=>{const t=_e();e.onVanish=()=>{ue(null,t),O.delete(r)},e.onAction=a=>{const f=O.get(r);let m;e.showInput?m={value:r.inputValue,action:a}:m=a,e.callback?e.callback(m,l.proxy):a==="cancel"||a==="close"?e.distinguishCancelAndClose&&a!=="cancel"?f.reject("close"):f.reject("cancel"):f.resolve(m)};const l=xe(e,t,n),r=l.proxy;for(const a in e)se(e,a)&&!se(r.$props,a)&&(a==="closeIcon"&&de(e[a])?r[a]=q(e[a]):r[a]=e[a]);return r.visible=!0,r};function M(e,n=null){if(!$e)return Promise.reject();let t;return W(e)||ie(e)?e={message:e}:t=e.callback,new Promise((l,r)=>{const a=en(e,n??M._context);O.set(a,{options:e,callback:t,resolve:l,reject:r})})}const nn=["alert","confirm","prompt"],on={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};nn.forEach(e=>{M[e]=tn(e)});function tn(e){return(n,t,l,r)=>{let a="";return de(t)?(l=t,a=""):ze(t)?a="":a=t,M(Object.assign({title:a,message:n,type:"",...on[e]},l,{boxType:e}),r)}}M.close=()=>{O.forEach((e,n)=>{n.doClose()}),O.clear()};M._context=null;const b=M;b.install=e=>{b._context=e._context,e.config.globalProperties.$msgbox=b,e.config.globalProperties.$messageBox=b,e.config.globalProperties.$alert=b.alert,e.config.globalProperties.$confirm=b.confirm,e.config.globalProperties.$prompt=b.prompt};const fn=b;export{fn as E}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-DqJTjrY3.js +import{P as $,bn as x,V as he,W as Ee,d as Be,bo as we,E as Te,bp as Me,z as ke,bq as q,br as _,D as ee,G as Ie,H as Se,aV as Ae,y as w,j as C,b8 as j,J as W,bs as ne,ai as A,o as c,e as p,w as v,K,s as T,q as y,n as i,aL as R,al as oe,c as D,r as L,g as h,aa as V,t as P,h as Le,L as U,x as te,Z as Ve,bt as $e,an as ie,bu as ue,bv as se,a3 as de,bw as ae,aK as Oe,U as ze}from"./index-Ds9AETjS.js";import{f as Re,_ as De}from"./index-sWKLi7bH.js";import{i as Pe}from"./validator-D1MwuZXj.js";import{u as Fe}from"./index-jBnYrPdD.js";import{E as He,u as Ke,a as Ue}from"./index-RtwaMutE.js";import{E as Ne,f as le}from"./index-BNsCyG4A.js";import{E as qe}from"./index-h5FkzAP_.js";const G="_trap-focus-children",E=[],re=e=>{if(E.length===0)return;const n=he(e),t=E[E.length-1][G];if(t.length>0&&n===Ee.tab){if(t.length===1){e.preventDefault(),document.activeElement!==t[0]&&t[0].focus();return}const l=e.shiftKey,r=e.target===t[0],a=e.target===t[t.length-1];r&&l&&(e.preventDefault(),t[t.length-1].focus()),a&&!l&&(e.preventDefault(),t[0].focus())}},je={beforeMount(e){e[G]=x(e),E.push(e),E.length<=1&&document.addEventListener("keydown",re)},updated(e){$(()=>{e[G]=x(e)})},unmounted(){E.shift(),E.length===0&&document.removeEventListener("keydown",re)}};var Ge=Be({name:"ElMessageBox",directives:{TrapFocus:je},components:{ElButton:Ne,ElFocusTrap:Re,ElInput:qe,ElOverlay:He,ElIcon:Te,...we},inheritAttrs:!1,props:{buttonSize:{type:String,validator:Pe},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:Boolean,container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:n}){const{locale:t,zIndex:l,ns:r,size:a}=Me("message-box",C(()=>e.buttonSize)),{t:f}=t,{nextZIndex:m}=l,g=w(!1),o=ke({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",cancelButtonType:"",confirmButtonType:"primary",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",closeIcon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:"",inputValidator:void 0,inputErrorMessage:"",message:"",modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:q(_),cancelButtonLoadingIcon:q(_),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:m()}),F=C(()=>{const s=o.type;return{[r.bm("icon",s)]:s&&ne[s]}}),u=le(),ce=le(),fe=C(()=>{const s=o.type;return o.icon||s&&ne[s]||""}),me=C(()=>!!o.message),B=w(),X=w(),k=w(),I=w(),Z=w(),pe=C(()=>o.confirmButtonClass);ee(()=>o.inputValue,async s=>{await $(),e.boxType==="prompt"&&s&&Q()},{immediate:!0}),ee(()=>g.value,s=>{var d;s&&(e.boxType!=="prompt"&&(o.autofocus?k.value=((d=Z.value)==null?void 0:d.$el)??B.value:k.value=B.value),o.zIndex=m()),e.boxType==="prompt"&&(s?$().then(()=>{I.value&&I.value.$el&&(o.autofocus?k.value=be()??B.value:k.value=B.value)}):(o.editorErrorMessage="",o.validateError=!1))});const{isDragging:ge}=Fe(B,X,C(()=>e.draggable),C(()=>e.overflow));Ie(async()=>{await $(),e.closeOnHashChange&&window.addEventListener("hashchange",S)}),Se(()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",S)});function S(){g.value&&(g.value=!1,$(()=>{o.action&&n("action",o.action)}))}const J=()=>{e.closeOnClickModal&&z(o.distinguishCancelAndClose?"close":"cancel")},ve=Ue(J),ye=s=>{var d;if(o.inputType!=="textarea"&&!((d=I.value)!=null&&d.isComposing))return s.preventDefault(),z("confirm")},z=s=>{var d;e.boxType==="prompt"&&s==="confirm"&&!Q()||(o.action=s,o.beforeClose?(d=o.beforeClose)==null||d.call(o,s,o,S):S())},Q=()=>{if(e.boxType==="prompt"){const s=o.inputPattern;if(s&&!s.test(o.inputValue||""))return o.editorErrorMessage=o.inputErrorMessage||f("el.messagebox.error"),o.validateError=!0,!1;const d=o.inputValidator;if(j(d)){const H=d(o.inputValue);if(H===!1)return o.editorErrorMessage=o.inputErrorMessage||f("el.messagebox.error"),o.validateError=!0,!1;if(W(H))return o.editorErrorMessage=H,o.validateError=!0,!1}}return o.editorErrorMessage="",o.validateError=!1,!0},be=()=>{var d;const s=(d=I.value)==null?void 0:d.$refs;return(s==null?void 0:s.input)??(s==null?void 0:s.textarea)},Y=()=>{z("close")},Ce=()=>{e.closeOnPressEscape&&Y()};return e.lockScroll&&Ke(g,{ns:r}),{...Ae(o),ns:r,overlayEvent:ve,visible:g,hasMessage:me,typeClass:F,contentId:u,inputId:ce,btnSize:a,iconComponent:fe,confirmButtonClasses:pe,rootRef:B,focusStartRef:k,headerRef:X,inputRef:I,isDragging:ge,confirmRef:Z,doClose:S,handleClose:Y,onCloseRequested:Ce,handleWrapperClick:J,handleInputEnter:ye,handleAction:z,t:f}}});const We=["aria-label","aria-describedby"],Xe=["aria-label"],Ze=["id"];function Je(e,n,t,l,r,a){const f=A("el-icon"),m=A("el-input"),g=A("el-button"),o=A("el-focus-trap"),F=A("el-overlay");return c(),p(Ve,{name:"fade-in-linear",onAfterLeave:n[11]||(n[11]=u=>e.$emit("vanish")),persisted:""},{default:v(()=>[K(T(F,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:v(()=>[y("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:i(`${e.ns.namespace.value}-overlay-message-box`),onClick:n[8]||(n[8]=(...u)=>e.overlayEvent.onClick&&e.overlayEvent.onClick(...u)),onMousedown:n[9]||(n[9]=(...u)=>e.overlayEvent.onMousedown&&e.overlayEvent.onMousedown(...u)),onMouseup:n[10]||(n[10]=(...u)=>e.overlayEvent.onMouseup&&e.overlayEvent.onMouseup(...u))},[T(o,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:v(()=>[y("div",{ref:"rootRef",class:i([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),e.ns.is("dragging",e.isDragging),{[e.ns.m("center")]:e.center}]),style:oe(e.customStyle),tabindex:"-1",onClick:n[7]||(n[7]=R(()=>{},["stop"]))},[e.title!==null&&e.title!==void 0?(c(),D("div",{key:0,ref:"headerRef",class:i([e.ns.e("header"),{"show-close":e.showClose}])},[y("div",{class:i(e.ns.e("title"))},[e.iconComponent&&e.center?(c(),p(f,{key:0,class:i([e.ns.e("status"),e.typeClass])},{default:v(()=>[(c(),p(L(e.iconComponent)))]),_:1},8,["class"])):h("v-if",!0),y("span",null,V(e.title),1)],2),e.showClose?(c(),D("button",{key:0,type:"button",class:i(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:n[0]||(n[0]=u=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),onKeydown:n[1]||(n[1]=P(R(u=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[T(f,{class:i(e.ns.e("close"))},{default:v(()=>[(c(),p(L(e.closeIcon||"close")))]),_:1},8,["class"])],42,Xe)):h("v-if",!0)],2)):h("v-if",!0),y("div",{id:e.contentId,class:i(e.ns.e("content"))},[y("div",{class:i(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(c(),p(f,{key:0,class:i([e.ns.e("status"),e.typeClass])},{default:v(()=>[(c(),p(L(e.iconComponent)))]),_:1},8,["class"])):h("v-if",!0),e.hasMessage?(c(),D("div",{key:1,class:i(e.ns.e("message"))},[Le(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(c(),p(L(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(c(),p(L(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0,textContent:V(e.message)},null,8,["for","textContent"]))])],2)):h("v-if",!0)],2),K(y("div",{class:i(e.ns.e("input"))},[T(m,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":n[2]||(n[2]=u=>e.inputValue=u),type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:i({invalid:e.validateError}),onKeydown:P(e.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),y("div",{class:i(e.ns.e("errormsg")),style:oe({visibility:e.editorErrorMessage?"visible":"hidden"})},V(e.editorErrorMessage),7)],2),[[U,e.showInput]])],10,Ze),e.showCancelButton||e.showConfirmButton?(c(),D("div",{key:1,class:i(e.ns.e("btns"))},[e.showCancelButton?(c(),p(g,{key:0,type:e.cancelButtonType==="text"?"":e.cancelButtonType,text:e.cancelButtonType==="text",loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:i([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:n[3]||(n[3]=u=>e.handleAction("cancel")),onKeydown:n[4]||(n[4]=P(R(u=>e.handleAction("cancel"),["prevent"]),["enter"]))},{default:v(()=>[te(V(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","size"])):h("v-if",!0),K(T(g,{ref:"confirmRef",type:e.confirmButtonType==="text"?"":e.confirmButtonType,text:e.confirmButtonType==="text",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:i([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:n[5]||(n[5]=u=>e.handleAction("confirm")),onKeydown:n[6]||(n[6]=P(R(u=>e.handleAction("confirm"),["prevent"]),["enter"]))},{default:v(()=>[te(V(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","disabled","size"]),[[U,e.showConfirmButton]])],2)):h("v-if",!0)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,We)]),_:3},8,["z-index","overlay-class","mask"]),[[U,e.visible]])]),_:3})}var Qe=De(Ge,[["render",Je]]);const O=new Map,Ye=e=>{let n=document.body;return e.appendTo&&(W(e.appendTo)&&(n=document.querySelector(e.appendTo)),ae(e.appendTo)&&(n=e.appendTo),ae(n)||(Oe("ElMessageBox","the appendTo option is not an HTMLElement. Falling back to document.body."),n=document.body)),n},N=(e,n)=>{var l;const t=(l=e.component)==null?void 0:l.proxy;return()=>t.handleAction(n)},xe=(e,n,t=null)=>{const l=T(Qe,e,j(e.message)||ie(e.message)?{default:j(e.message)?()=>e.message({confirm:N(l,"confirm"),cancel:N(l,"cancel"),close:N(l,"close")}):()=>e.message}:null);return l.appContext=t,ue(l,n),Ye(e).appendChild(n.firstElementChild),l.component},_e=()=>document.createElement("div"),en=(e,n)=>{const t=_e();e.onVanish=()=>{ue(null,t),O.delete(r)},e.onAction=a=>{const f=O.get(r);let m;e.showInput?m={value:r.inputValue,action:a}:m=a,e.callback?e.callback(m,l.proxy):a==="cancel"||a==="close"?e.distinguishCancelAndClose&&a!=="cancel"?f.reject("close"):f.reject("cancel"):f.resolve(m)};const l=xe(e,t,n),r=l.proxy;for(const a in e)se(e,a)&&!se(r.$props,a)&&(a==="closeIcon"&&de(e[a])?r[a]=q(e[a]):r[a]=e[a]);return r.visible=!0,r};function M(e,n=null){if(!$e)return Promise.reject();let t;return W(e)||ie(e)?e={message:e}:t=e.callback,new Promise((l,r)=>{const a=en(e,n??M._context);O.set(a,{options:e,callback:t,resolve:l,reject:r})})}const nn=["alert","confirm","prompt"],on={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};nn.forEach(e=>{M[e]=tn(e)});function tn(e){return(n,t,l,r)=>{let a="";return de(t)?(l=t,a=""):ze(t)?a="":a=t,M(Object.assign({title:a,message:n,type:"",...on[e]},l,{boxType:e}),r)}}M.close=()=>{O.forEach((e,n)=>{n.doClose()}),O.clear()};M._context=null;const b=M;b.install=e=>{b._context=e._context,e.config.globalProperties.$msgbox=b,e.config.globalProperties.$messageBox=b,e.config.globalProperties.$alert=b.alert,e.config.globalProperties.$confirm=b.confirm,e.config.globalProperties.$prompt=b.prompt};const fn=b;export{fn as E}; +======== +import{P as $,bn as x,V as he,W as Ee,d as Be,bo as we,E as Te,bp as Me,z as ke,bq as q,br as _,D as ee,G as Ie,H as Se,aV as Ae,y as w,j as C,b8 as j,J as W,bs as ne,ai as A,o as c,e as p,w as v,K,s as T,q as y,n as i,aL as R,al as oe,c as D,r as L,g as h,aa as V,t as P,h as Le,L as U,x as te,Z as Ve,bt as $e,an as ie,bu as ue,bv as se,a3 as de,bw as ae,aK as Oe,U as ze}from"./index-CxbBjZKo.js";import{f as Re,_ as De}from"./index-DHcidAHK.js";import{i as Pe}from"./validator-AVoXfk3G.js";import{u as Fe}from"./index-C3HZL-2Y.js";import{E as He,u as Ke,a as Ue}from"./index-36LucyXi.js";import{E as Ne,f as le}from"./index-D23K2h6y.js";import{E as qe}from"./index-zJ9bqPrh.js";const G="_trap-focus-children",E=[],re=e=>{if(E.length===0)return;const n=he(e),t=E[E.length-1][G];if(t.length>0&&n===Ee.tab){if(t.length===1){e.preventDefault(),document.activeElement!==t[0]&&t[0].focus();return}const l=e.shiftKey,r=e.target===t[0],a=e.target===t[t.length-1];r&&l&&(e.preventDefault(),t[t.length-1].focus()),a&&!l&&(e.preventDefault(),t[0].focus())}},je={beforeMount(e){e[G]=x(e),E.push(e),E.length<=1&&document.addEventListener("keydown",re)},updated(e){$(()=>{e[G]=x(e)})},unmounted(){E.shift(),E.length===0&&document.removeEventListener("keydown",re)}};var Ge=Be({name:"ElMessageBox",directives:{TrapFocus:je},components:{ElButton:Ne,ElFocusTrap:Re,ElInput:qe,ElOverlay:He,ElIcon:Te,...we},inheritAttrs:!1,props:{buttonSize:{type:String,validator:Pe},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:Boolean,container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:n}){const{locale:t,zIndex:l,ns:r,size:a}=Me("message-box",C(()=>e.buttonSize)),{t:f}=t,{nextZIndex:m}=l,g=w(!1),o=ke({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",cancelButtonType:"",confirmButtonType:"primary",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",closeIcon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:"",inputValidator:void 0,inputErrorMessage:"",message:"",modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:q(_),cancelButtonLoadingIcon:q(_),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:m()}),F=C(()=>{const s=o.type;return{[r.bm("icon",s)]:s&&ne[s]}}),u=le(),ce=le(),fe=C(()=>{const s=o.type;return o.icon||s&&ne[s]||""}),me=C(()=>!!o.message),B=w(),X=w(),k=w(),I=w(),Z=w(),pe=C(()=>o.confirmButtonClass);ee(()=>o.inputValue,async s=>{await $(),e.boxType==="prompt"&&s&&Q()},{immediate:!0}),ee(()=>g.value,s=>{var d;s&&(e.boxType!=="prompt"&&(o.autofocus?k.value=((d=Z.value)==null?void 0:d.$el)??B.value:k.value=B.value),o.zIndex=m()),e.boxType==="prompt"&&(s?$().then(()=>{I.value&&I.value.$el&&(o.autofocus?k.value=be()??B.value:k.value=B.value)}):(o.editorErrorMessage="",o.validateError=!1))});const{isDragging:ge}=Fe(B,X,C(()=>e.draggable),C(()=>e.overflow));Ie(async()=>{await $(),e.closeOnHashChange&&window.addEventListener("hashchange",S)}),Se(()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",S)});function S(){g.value&&(g.value=!1,$(()=>{o.action&&n("action",o.action)}))}const J=()=>{e.closeOnClickModal&&z(o.distinguishCancelAndClose?"close":"cancel")},ve=Ue(J),ye=s=>{var d;if(o.inputType!=="textarea"&&!((d=I.value)!=null&&d.isComposing))return s.preventDefault(),z("confirm")},z=s=>{var d;e.boxType==="prompt"&&s==="confirm"&&!Q()||(o.action=s,o.beforeClose?(d=o.beforeClose)==null||d.call(o,s,o,S):S())},Q=()=>{if(e.boxType==="prompt"){const s=o.inputPattern;if(s&&!s.test(o.inputValue||""))return o.editorErrorMessage=o.inputErrorMessage||f("el.messagebox.error"),o.validateError=!0,!1;const d=o.inputValidator;if(j(d)){const H=d(o.inputValue);if(H===!1)return o.editorErrorMessage=o.inputErrorMessage||f("el.messagebox.error"),o.validateError=!0,!1;if(W(H))return o.editorErrorMessage=H,o.validateError=!0,!1}}return o.editorErrorMessage="",o.validateError=!1,!0},be=()=>{var d;const s=(d=I.value)==null?void 0:d.$refs;return(s==null?void 0:s.input)??(s==null?void 0:s.textarea)},Y=()=>{z("close")},Ce=()=>{e.closeOnPressEscape&&Y()};return e.lockScroll&&Ke(g,{ns:r}),{...Ae(o),ns:r,overlayEvent:ve,visible:g,hasMessage:me,typeClass:F,contentId:u,inputId:ce,btnSize:a,iconComponent:fe,confirmButtonClasses:pe,rootRef:B,focusStartRef:k,headerRef:X,inputRef:I,isDragging:ge,confirmRef:Z,doClose:S,handleClose:Y,onCloseRequested:Ce,handleWrapperClick:J,handleInputEnter:ye,handleAction:z,t:f}}});const We=["aria-label","aria-describedby"],Xe=["aria-label"],Ze=["id"];function Je(e,n,t,l,r,a){const f=A("el-icon"),m=A("el-input"),g=A("el-button"),o=A("el-focus-trap"),F=A("el-overlay");return c(),p(Ve,{name:"fade-in-linear",onAfterLeave:n[11]||(n[11]=u=>e.$emit("vanish")),persisted:""},{default:v(()=>[K(T(F,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:v(()=>[y("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:i(`${e.ns.namespace.value}-overlay-message-box`),onClick:n[8]||(n[8]=(...u)=>e.overlayEvent.onClick&&e.overlayEvent.onClick(...u)),onMousedown:n[9]||(n[9]=(...u)=>e.overlayEvent.onMousedown&&e.overlayEvent.onMousedown(...u)),onMouseup:n[10]||(n[10]=(...u)=>e.overlayEvent.onMouseup&&e.overlayEvent.onMouseup(...u))},[T(o,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:v(()=>[y("div",{ref:"rootRef",class:i([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),e.ns.is("dragging",e.isDragging),{[e.ns.m("center")]:e.center}]),style:oe(e.customStyle),tabindex:"-1",onClick:n[7]||(n[7]=R(()=>{},["stop"]))},[e.title!==null&&e.title!==void 0?(c(),D("div",{key:0,ref:"headerRef",class:i([e.ns.e("header"),{"show-close":e.showClose}])},[y("div",{class:i(e.ns.e("title"))},[e.iconComponent&&e.center?(c(),p(f,{key:0,class:i([e.ns.e("status"),e.typeClass])},{default:v(()=>[(c(),p(L(e.iconComponent)))]),_:1},8,["class"])):h("v-if",!0),y("span",null,V(e.title),1)],2),e.showClose?(c(),D("button",{key:0,type:"button",class:i(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:n[0]||(n[0]=u=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),onKeydown:n[1]||(n[1]=P(R(u=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[T(f,{class:i(e.ns.e("close"))},{default:v(()=>[(c(),p(L(e.closeIcon||"close")))]),_:1},8,["class"])],42,Xe)):h("v-if",!0)],2)):h("v-if",!0),y("div",{id:e.contentId,class:i(e.ns.e("content"))},[y("div",{class:i(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(c(),p(f,{key:0,class:i([e.ns.e("status"),e.typeClass])},{default:v(()=>[(c(),p(L(e.iconComponent)))]),_:1},8,["class"])):h("v-if",!0),e.hasMessage?(c(),D("div",{key:1,class:i(e.ns.e("message"))},[Le(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(c(),p(L(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(c(),p(L(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0,textContent:V(e.message)},null,8,["for","textContent"]))])],2)):h("v-if",!0)],2),K(y("div",{class:i(e.ns.e("input"))},[T(m,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":n[2]||(n[2]=u=>e.inputValue=u),type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:i({invalid:e.validateError}),onKeydown:P(e.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),y("div",{class:i(e.ns.e("errormsg")),style:oe({visibility:e.editorErrorMessage?"visible":"hidden"})},V(e.editorErrorMessage),7)],2),[[U,e.showInput]])],10,Ze),e.showCancelButton||e.showConfirmButton?(c(),D("div",{key:1,class:i(e.ns.e("btns"))},[e.showCancelButton?(c(),p(g,{key:0,type:e.cancelButtonType==="text"?"":e.cancelButtonType,text:e.cancelButtonType==="text",loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:i([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:n[3]||(n[3]=u=>e.handleAction("cancel")),onKeydown:n[4]||(n[4]=P(R(u=>e.handleAction("cancel"),["prevent"]),["enter"]))},{default:v(()=>[te(V(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","size"])):h("v-if",!0),K(T(g,{ref:"confirmRef",type:e.confirmButtonType==="text"?"":e.confirmButtonType,text:e.confirmButtonType==="text",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:i([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:n[5]||(n[5]=u=>e.handleAction("confirm")),onKeydown:n[6]||(n[6]=P(R(u=>e.handleAction("confirm"),["prevent"]),["enter"]))},{default:v(()=>[te(V(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","disabled","size"]),[[U,e.showConfirmButton]])],2)):h("v-if",!0)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,We)]),_:3},8,["z-index","overlay-class","mask"]),[[U,e.visible]])]),_:3})}var Qe=De(Ge,[["render",Je]]);const O=new Map,Ye=e=>{let n=document.body;return e.appendTo&&(W(e.appendTo)&&(n=document.querySelector(e.appendTo)),ae(e.appendTo)&&(n=e.appendTo),ae(n)||(Oe("ElMessageBox","the appendTo option is not an HTMLElement. Falling back to document.body."),n=document.body)),n},N=(e,n)=>{var l;const t=(l=e.component)==null?void 0:l.proxy;return()=>t.handleAction(n)},xe=(e,n,t=null)=>{const l=T(Qe,e,j(e.message)||ie(e.message)?{default:j(e.message)?()=>e.message({confirm:N(l,"confirm"),cancel:N(l,"cancel"),close:N(l,"close")}):()=>e.message}:null);return l.appContext=t,ue(l,n),Ye(e).appendChild(n.firstElementChild),l.component},_e=()=>document.createElement("div"),en=(e,n)=>{const t=_e();e.onVanish=()=>{ue(null,t),O.delete(r)},e.onAction=a=>{const f=O.get(r);let m;e.showInput?m={value:r.inputValue,action:a}:m=a,e.callback?e.callback(m,l.proxy):a==="cancel"||a==="close"?e.distinguishCancelAndClose&&a!=="cancel"?f.reject("close"):f.reject("cancel"):f.resolve(m)};const l=xe(e,t,n),r=l.proxy;for(const a in e)se(e,a)&&!se(r.$props,a)&&(a==="closeIcon"&&de(e[a])?r[a]=q(e[a]):r[a]=e[a]);return r.visible=!0,r};function M(e,n=null){if(!$e)return Promise.reject();let t;return W(e)||ie(e)?e={message:e}:t=e.callback,new Promise((l,r)=>{const a=en(e,n??M._context);O.set(a,{options:e,callback:t,resolve:l,reject:r})})}const nn=["alert","confirm","prompt"],on={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};nn.forEach(e=>{M[e]=tn(e)});function tn(e){return(n,t,l,r)=>{let a="";return de(t)?(l=t,a=""):ze(t)?a="":a=t,M(Object.assign({title:a,message:n,type:"",...on[e]},l,{boxType:e}),r)}}M.close=()=>{O.forEach((e,n)=>{n.doClose()}),O.clear()};M._context=null;const b=M;b.install=e=>{b._context=e._context,e.config.globalProperties.$msgbox=b,e.config.globalProperties.$messageBox=b,e.config.globalProperties.$alert=b.alert,e.config.globalProperties.$confirm=b.confirm,e.config.globalProperties.$prompt=b.prompt};const fn=b;export{fn as E}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-CLZoQJ1o.js diff --git a/frontend/dist/assets/index-BpugJXyE.js b/frontend/dist/assets/index-BpugJXyE.js index 4ab4565..a01de57 100644 --- a/frontend/dist/assets/index-BpugJXyE.js +++ b/frontend/dist/assets/index-BpugJXyE.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-BpugJXyE.js import{G as N,bt as $,H as k,V as z,W as X,Q as te,y as L,d as ne,D as C,f as T,a8 as se,P as B,J as oe,F as re,h as ue}from"./index-CD29OCdJ.js";let v=[];const M=e=>{z(e)===X.esc&&v.forEach(n=>n(e))},ae=e=>{N(()=>{v.length===0&&document.addEventListener("keydown",M),$&&v.push(e)}),k(()=>{v=v.filter(n=>n!==e),v.length===0&&$&&document.removeEventListener("keydown",M)})},O="focus-trap.focus-after-trapped",R="focus-trap.focus-after-released",ce="focus-trap.focusout-prevented",W={cancelable:!0,bubbles:!1},ie={cancelable:!0,bubbles:!1},j="focusAfterTrapped",q="focusAfterReleased",fe=Symbol("elFocusTrap"),A=L(),S=L(0),U=L(0);let _=0;const Z=e=>{const n=[],s=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const u=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||u?NodeFilter.FILTER_SKIP:o.tabIndex>=0||o===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;s.nextNode();)n.push(s.currentNode);return n},J=(e,n)=>{for(const s of e)if(!de(s,n))return s},de=(e,n)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},le=e=>{const n=Z(e);return[J(n,e),J(n.reverse(),e)]},ve=e=>e instanceof HTMLInputElement&&"select"in e,d=(e,n)=>{if(e){const s=document.activeElement;te(e,{preventScroll:!0}),U.value=window.performance.now(),e!==s&&ve(e)&&n&&e.select()}};function G(e,n){const s=[...e],o=e.indexOf(n);return o!==-1&&s.splice(o,1),s}const Ee=()=>{let e=[];return{push:o=>{const u=e[0];u&&o!==u&&u.pause(),e=G(e,o),e.unshift(o)},remove:o=>{var u,i;e=G(e,o),(i=(u=e[0])==null?void 0:u.resume)==null||i.call(u)}}},pe=(e,n=!1)=>{const s=document.activeElement;for(const o of e)if(d(o,n),document.activeElement!==s)return},Q=Ee(),me=()=>S.value>U.value,F=()=>{A.value="pointer",S.value=window.performance.now()},Y=()=>{A.value="keyboard",S.value=window.performance.now()},Te=()=>(N(()=>{_===0&&(document.addEventListener("mousedown",F),document.addEventListener("touchstart",F),document.addEventListener("keydown",Y)),_++}),k(()=>{_--,_<=0&&(document.removeEventListener("mousedown",F),document.removeEventListener("touchstart",F),document.removeEventListener("keydown",Y))}),{focusReason:A,lastUserFocusTimestamp:S,lastAutomatedFocusTimestamp:U}),y=e=>new CustomEvent(ce,{...ie,detail:e});var _e=ne({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[j,q,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:n}){const s=L();let o,u;const{focusReason:i}=Te();ae(t=>{e.trapped&&!l.paused&&n("release-requested",t)});const l={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},E=t=>{if(!e.loop&&!e.trapped||l.paused)return;const{altKey:r,ctrlKey:c,metaKey:a,currentTarget:p,shiftKey:V}=t,{loop:x}=e,ee=z(t)===X.tab&&!r&&!c&&!a,m=document.activeElement;if(ee&&m){const P=p,[g,w]=le(P);if(g&&w){if(!V&&m===w){const f=y({focusReason:i.value});n("focusout-prevented",f),f.defaultPrevented||(t.preventDefault(),x&&d(g,!0))}else if(V&&[g,P].includes(m)){const f=y({focusReason:i.value});n("focusout-prevented",f),f.defaultPrevented||(t.preventDefault(),x&&d(w,!0))}}else if(m===P){const f=y({focusReason:i.value});n("focusout-prevented",f),f.defaultPrevented||t.preventDefault()}}};re(fe,{focusTrapRef:s,onKeydown:E}),C(()=>e.focusTrapEl,t=>{t&&(s.value=t)},{immediate:!0}),C([s],([t],[r])=>{t&&(t.addEventListener("keydown",E),t.addEventListener("focusin",b),t.addEventListener("focusout",h)),r&&(r.removeEventListener("keydown",E),r.removeEventListener("focusin",b),r.removeEventListener("focusout",h))});const I=t=>{n(j,t)},K=t=>n(q,t),b=t=>{const r=T(s);if(!r)return;const c=t.target,a=t.relatedTarget,p=c&&r.contains(c);e.trapped||a&&r.contains(a)||(o=a),p&&n("focusin",t),!l.paused&&e.trapped&&(p?u=c:d(u,!0))},h=t=>{const r=T(s);if(!(l.paused||!r))if(e.trapped){const c=t.relatedTarget;!se(c)&&!r.contains(c)&&setTimeout(()=>{if(!l.paused&&e.trapped){const a=y({focusReason:i.value});n("focusout-prevented",a),a.defaultPrevented||d(u,!0)}},0)}else{const c=t.target;c&&r.contains(c)||n("focusout",t)}};async function D(){await B();const t=T(s);if(t){Q.push(l);const r=t.contains(document.activeElement)?o:document.activeElement;if(o=r,!t.contains(r)){const c=new Event(O,W);t.addEventListener(O,I),t.dispatchEvent(c),c.defaultPrevented||B(()=>{let a=e.focusStartEl;oe(a)||(d(a),document.activeElement!==a&&(a="first")),a==="first"&&pe(Z(t),!0),(document.activeElement===r||a==="container")&&d(t)})}}}function H(){const t=T(s);if(t){t.removeEventListener(O,I);const r=new CustomEvent(R,{...W,detail:{focusReason:i.value}});t.addEventListener(R,K),t.dispatchEvent(r),!r.defaultPrevented&&(i.value=="keyboard"||!me()||t.contains(document.activeElement))&&d(o??document.body),t.removeEventListener(R,K),Q.remove(l),o=null,u=null}}return N(()=>{e.trapped&&D(),C(()=>e.trapped,t=>{t?D():H()})}),k(()=>{e.trapped&&H(),s.value&&(s.value.removeEventListener("keydown",E),s.value.removeEventListener("focusin",b),s.value.removeEventListener("focusout",h),s.value=void 0),o=null,u=null}),{onKeydown:E}}}),Fe=(e,n)=>{const s=e.__vccOpts||e;for(const[o,u]of n)s[o]=u;return s};function ye(e,n,s,o,u,i){return ue(e.$slots,"default",{handleKeydown:e.onKeydown})}var Le=Fe(_e,[["render",ye]]),be=Le;export{fe as F,Fe as _,be as f}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-sWKLi7bH.js +import{G as N,bt as $,H as k,V as z,W as X,Q as te,y as L,d as ne,D as C,f as T,a8 as se,P as B,J as oe,F as re,h as ue}from"./index-Ds9AETjS.js";let v=[];const M=e=>{z(e)===X.esc&&v.forEach(n=>n(e))},ae=e=>{N(()=>{v.length===0&&document.addEventListener("keydown",M),$&&v.push(e)}),k(()=>{v=v.filter(n=>n!==e),v.length===0&&$&&document.removeEventListener("keydown",M)})},O="focus-trap.focus-after-trapped",R="focus-trap.focus-after-released",ce="focus-trap.focusout-prevented",W={cancelable:!0,bubbles:!1},ie={cancelable:!0,bubbles:!1},j="focusAfterTrapped",q="focusAfterReleased",fe=Symbol("elFocusTrap"),A=L(),S=L(0),U=L(0);let _=0;const Z=e=>{const n=[],s=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const u=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||u?NodeFilter.FILTER_SKIP:o.tabIndex>=0||o===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;s.nextNode();)n.push(s.currentNode);return n},J=(e,n)=>{for(const s of e)if(!de(s,n))return s},de=(e,n)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},le=e=>{const n=Z(e);return[J(n,e),J(n.reverse(),e)]},ve=e=>e instanceof HTMLInputElement&&"select"in e,d=(e,n)=>{if(e){const s=document.activeElement;te(e,{preventScroll:!0}),U.value=window.performance.now(),e!==s&&ve(e)&&n&&e.select()}};function G(e,n){const s=[...e],o=e.indexOf(n);return o!==-1&&s.splice(o,1),s}const Ee=()=>{let e=[];return{push:o=>{const u=e[0];u&&o!==u&&u.pause(),e=G(e,o),e.unshift(o)},remove:o=>{var u,i;e=G(e,o),(i=(u=e[0])==null?void 0:u.resume)==null||i.call(u)}}},pe=(e,n=!1)=>{const s=document.activeElement;for(const o of e)if(d(o,n),document.activeElement!==s)return},Q=Ee(),me=()=>S.value>U.value,F=()=>{A.value="pointer",S.value=window.performance.now()},Y=()=>{A.value="keyboard",S.value=window.performance.now()},Te=()=>(N(()=>{_===0&&(document.addEventListener("mousedown",F),document.addEventListener("touchstart",F),document.addEventListener("keydown",Y)),_++}),k(()=>{_--,_<=0&&(document.removeEventListener("mousedown",F),document.removeEventListener("touchstart",F),document.removeEventListener("keydown",Y))}),{focusReason:A,lastUserFocusTimestamp:S,lastAutomatedFocusTimestamp:U}),y=e=>new CustomEvent(ce,{...ie,detail:e});var _e=ne({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[j,q,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:n}){const s=L();let o,u;const{focusReason:i}=Te();ae(t=>{e.trapped&&!l.paused&&n("release-requested",t)});const l={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},E=t=>{if(!e.loop&&!e.trapped||l.paused)return;const{altKey:r,ctrlKey:c,metaKey:a,currentTarget:p,shiftKey:V}=t,{loop:x}=e,ee=z(t)===X.tab&&!r&&!c&&!a,m=document.activeElement;if(ee&&m){const P=p,[g,w]=le(P);if(g&&w){if(!V&&m===w){const f=y({focusReason:i.value});n("focusout-prevented",f),f.defaultPrevented||(t.preventDefault(),x&&d(g,!0))}else if(V&&[g,P].includes(m)){const f=y({focusReason:i.value});n("focusout-prevented",f),f.defaultPrevented||(t.preventDefault(),x&&d(w,!0))}}else if(m===P){const f=y({focusReason:i.value});n("focusout-prevented",f),f.defaultPrevented||t.preventDefault()}}};re(fe,{focusTrapRef:s,onKeydown:E}),C(()=>e.focusTrapEl,t=>{t&&(s.value=t)},{immediate:!0}),C([s],([t],[r])=>{t&&(t.addEventListener("keydown",E),t.addEventListener("focusin",b),t.addEventListener("focusout",h)),r&&(r.removeEventListener("keydown",E),r.removeEventListener("focusin",b),r.removeEventListener("focusout",h))});const I=t=>{n(j,t)},K=t=>n(q,t),b=t=>{const r=T(s);if(!r)return;const c=t.target,a=t.relatedTarget,p=c&&r.contains(c);e.trapped||a&&r.contains(a)||(o=a),p&&n("focusin",t),!l.paused&&e.trapped&&(p?u=c:d(u,!0))},h=t=>{const r=T(s);if(!(l.paused||!r))if(e.trapped){const c=t.relatedTarget;!se(c)&&!r.contains(c)&&setTimeout(()=>{if(!l.paused&&e.trapped){const a=y({focusReason:i.value});n("focusout-prevented",a),a.defaultPrevented||d(u,!0)}},0)}else{const c=t.target;c&&r.contains(c)||n("focusout",t)}};async function D(){await B();const t=T(s);if(t){Q.push(l);const r=t.contains(document.activeElement)?o:document.activeElement;if(o=r,!t.contains(r)){const c=new Event(O,W);t.addEventListener(O,I),t.dispatchEvent(c),c.defaultPrevented||B(()=>{let a=e.focusStartEl;oe(a)||(d(a),document.activeElement!==a&&(a="first")),a==="first"&&pe(Z(t),!0),(document.activeElement===r||a==="container")&&d(t)})}}}function H(){const t=T(s);if(t){t.removeEventListener(O,I);const r=new CustomEvent(R,{...W,detail:{focusReason:i.value}});t.addEventListener(R,K),t.dispatchEvent(r),!r.defaultPrevented&&(i.value=="keyboard"||!me()||t.contains(document.activeElement))&&d(o??document.body),t.removeEventListener(R,K),Q.remove(l),o=null,u=null}}return N(()=>{e.trapped&&D(),C(()=>e.trapped,t=>{t?D():H()})}),k(()=>{e.trapped&&H(),s.value&&(s.value.removeEventListener("keydown",E),s.value.removeEventListener("focusin",b),s.value.removeEventListener("focusout",h),s.value=void 0),o=null,u=null}),{onKeydown:E}}}),Fe=(e,n)=>{const s=e.__vccOpts||e;for(const[o,u]of n)s[o]=u;return s};function ye(e,n,s,o,u,i){return ue(e.$slots,"default",{handleKeydown:e.onKeydown})}var Le=Fe(_e,[["render",ye]]),be=Le;export{fe as F,Fe as _,be as f}; +======== +import{G as N,bt as $,H as k,V as z,W as X,Q as te,y as L,d as ne,D as C,f as T,a8 as se,P as B,J as oe,F as re,h as ue}from"./index-CxbBjZKo.js";let v=[];const M=e=>{z(e)===X.esc&&v.forEach(n=>n(e))},ae=e=>{N(()=>{v.length===0&&document.addEventListener("keydown",M),$&&v.push(e)}),k(()=>{v=v.filter(n=>n!==e),v.length===0&&$&&document.removeEventListener("keydown",M)})},O="focus-trap.focus-after-trapped",R="focus-trap.focus-after-released",ce="focus-trap.focusout-prevented",W={cancelable:!0,bubbles:!1},ie={cancelable:!0,bubbles:!1},j="focusAfterTrapped",q="focusAfterReleased",fe=Symbol("elFocusTrap"),A=L(),S=L(0),U=L(0);let _=0;const Z=e=>{const n=[],s=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const u=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||u?NodeFilter.FILTER_SKIP:o.tabIndex>=0||o===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;s.nextNode();)n.push(s.currentNode);return n},J=(e,n)=>{for(const s of e)if(!de(s,n))return s},de=(e,n)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},le=e=>{const n=Z(e);return[J(n,e),J(n.reverse(),e)]},ve=e=>e instanceof HTMLInputElement&&"select"in e,d=(e,n)=>{if(e){const s=document.activeElement;te(e,{preventScroll:!0}),U.value=window.performance.now(),e!==s&&ve(e)&&n&&e.select()}};function G(e,n){const s=[...e],o=e.indexOf(n);return o!==-1&&s.splice(o,1),s}const Ee=()=>{let e=[];return{push:o=>{const u=e[0];u&&o!==u&&u.pause(),e=G(e,o),e.unshift(o)},remove:o=>{var u,i;e=G(e,o),(i=(u=e[0])==null?void 0:u.resume)==null||i.call(u)}}},pe=(e,n=!1)=>{const s=document.activeElement;for(const o of e)if(d(o,n),document.activeElement!==s)return},Q=Ee(),me=()=>S.value>U.value,F=()=>{A.value="pointer",S.value=window.performance.now()},Y=()=>{A.value="keyboard",S.value=window.performance.now()},Te=()=>(N(()=>{_===0&&(document.addEventListener("mousedown",F),document.addEventListener("touchstart",F),document.addEventListener("keydown",Y)),_++}),k(()=>{_--,_<=0&&(document.removeEventListener("mousedown",F),document.removeEventListener("touchstart",F),document.removeEventListener("keydown",Y))}),{focusReason:A,lastUserFocusTimestamp:S,lastAutomatedFocusTimestamp:U}),y=e=>new CustomEvent(ce,{...ie,detail:e});var _e=ne({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[j,q,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:n}){const s=L();let o,u;const{focusReason:i}=Te();ae(t=>{e.trapped&&!l.paused&&n("release-requested",t)});const l={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},E=t=>{if(!e.loop&&!e.trapped||l.paused)return;const{altKey:r,ctrlKey:c,metaKey:a,currentTarget:p,shiftKey:V}=t,{loop:x}=e,ee=z(t)===X.tab&&!r&&!c&&!a,m=document.activeElement;if(ee&&m){const P=p,[g,w]=le(P);if(g&&w){if(!V&&m===w){const f=y({focusReason:i.value});n("focusout-prevented",f),f.defaultPrevented||(t.preventDefault(),x&&d(g,!0))}else if(V&&[g,P].includes(m)){const f=y({focusReason:i.value});n("focusout-prevented",f),f.defaultPrevented||(t.preventDefault(),x&&d(w,!0))}}else if(m===P){const f=y({focusReason:i.value});n("focusout-prevented",f),f.defaultPrevented||t.preventDefault()}}};re(fe,{focusTrapRef:s,onKeydown:E}),C(()=>e.focusTrapEl,t=>{t&&(s.value=t)},{immediate:!0}),C([s],([t],[r])=>{t&&(t.addEventListener("keydown",E),t.addEventListener("focusin",b),t.addEventListener("focusout",h)),r&&(r.removeEventListener("keydown",E),r.removeEventListener("focusin",b),r.removeEventListener("focusout",h))});const I=t=>{n(j,t)},K=t=>n(q,t),b=t=>{const r=T(s);if(!r)return;const c=t.target,a=t.relatedTarget,p=c&&r.contains(c);e.trapped||a&&r.contains(a)||(o=a),p&&n("focusin",t),!l.paused&&e.trapped&&(p?u=c:d(u,!0))},h=t=>{const r=T(s);if(!(l.paused||!r))if(e.trapped){const c=t.relatedTarget;!se(c)&&!r.contains(c)&&setTimeout(()=>{if(!l.paused&&e.trapped){const a=y({focusReason:i.value});n("focusout-prevented",a),a.defaultPrevented||d(u,!0)}},0)}else{const c=t.target;c&&r.contains(c)||n("focusout",t)}};async function D(){await B();const t=T(s);if(t){Q.push(l);const r=t.contains(document.activeElement)?o:document.activeElement;if(o=r,!t.contains(r)){const c=new Event(O,W);t.addEventListener(O,I),t.dispatchEvent(c),c.defaultPrevented||B(()=>{let a=e.focusStartEl;oe(a)||(d(a),document.activeElement!==a&&(a="first")),a==="first"&&pe(Z(t),!0),(document.activeElement===r||a==="container")&&d(t)})}}}function H(){const t=T(s);if(t){t.removeEventListener(O,I);const r=new CustomEvent(R,{...W,detail:{focusReason:i.value}});t.addEventListener(R,K),t.dispatchEvent(r),!r.defaultPrevented&&(i.value=="keyboard"||!me()||t.contains(document.activeElement))&&d(o??document.body),t.removeEventListener(R,K),Q.remove(l),o=null,u=null}}return N(()=>{e.trapped&&D(),C(()=>e.trapped,t=>{t?D():H()})}),k(()=>{e.trapped&&H(),s.value&&(s.value.removeEventListener("keydown",E),s.value.removeEventListener("focusin",b),s.value.removeEventListener("focusout",h),s.value=void 0),o=null,u=null}),{onKeydown:E}}}),Fe=(e,n)=>{const s=e.__vccOpts||e;for(const[o,u]of n)s[o]=u;return s};function ye(e,n,s,o,u,i){return ue(e.$slots,"default",{handleKeydown:e.onKeydown})}var Le=Fe(_e,[["render",ye]]),be=Le;export{fe as F,Fe as _,be as f}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-DHcidAHK.js diff --git a/frontend/dist/assets/index-Bs-7o_6g.js b/frontend/dist/assets/index-Bs-7o_6g.js index 3dc699d..70c578f 100644 --- a/frontend/dist/assets/index-Bs-7o_6g.js +++ b/frontend/dist/assets/index-Bs-7o_6g.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-Bs-7o_6g.js import{e as r,s as e,t as O,a as s,L as X,i as l,j as Y,c as $,k as S,f as o,l as t}from"./index-DFkjzvE0.js";import"./index-CD29OCdJ.js";const Z=e({null:O.null,instanceof:O.operatorKeyword,this:O.self,"new super assert open to with void":O.keyword,"class interface extends implements enum var":O.definitionKeyword,"module package import":O.moduleKeyword,"switch while for if else case default do break continue return try catch finally throw":O.controlKeyword,"requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws":O.modifier,IntegerLiteral:O.integer,FloatingPointLiteral:O.float,"StringLiteral TextBlock":O.string,CharacterLiteral:O.character,LineComment:O.lineComment,BlockComment:O.blockComment,BooleanLiteral:O.bool,PrimitiveType:O.standard(O.typeName),TypeName:O.typeName,Identifier:O.variableName,"MethodName/Identifier":O.function(O.variableName),Definition:O.definition(O.variableName),ArithOp:O.arithmeticOperator,LogicOp:O.logicOperator,BitOp:O.bitwiseOperator,CompareOp:O.compareOperator,AssignOp:O.definitionOperator,UpdateOp:O.updateOperator,Asterisk:O.punctuation,Label:O.labelName,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace,".":O.derefOperator,", ;":O.separator}),n={__proto__:null,true:34,false:34,null:42,void:46,byte:48,short:48,int:48,long:48,char:48,float:48,double:48,boolean:48,extends:62,super:64,class:76,this:78,new:84,public:100,protected:102,private:104,abstract:106,static:108,final:110,strictfp:112,default:114,synchronized:116,native:118,transient:120,volatile:122,throws:150,implements:160,interface:166,enum:176,instanceof:238,open:267,module:269,requires:274,transitive:276,exports:278,to:280,opens:282,uses:284,provides:286,with:288,package:292,import:296,if:308,else:310,while:314,for:318,var:325,assert:332,switch:336,case:342,do:346,break:350,continue:354,return:358,throw:364,try:368,catch:372,finally:380},d=r.deserialize({version:14,states:"##jQ]QPOOQ$wQPOOO(bQQO'#H^O*iQQO'#CbOOQO'#Cb'#CbO*pQPO'#CaO*xOSO'#CpOOQO'#Hc'#HcOOQO'#Cu'#CuO,eQPO'#D_O-OQQO'#HmOOQO'#Hm'#HmO/gQQO'#HhO/nQQO'#HhOOQO'#Hh'#HhOOQO'#Hg'#HgO1rQPO'#DUO2PQPO'#GnO4wQPO'#D_O5OQPO'#DzO*pQPO'#E[O5qQPO'#E[OOQO'#DV'#DVO7SQQO'#HaO9^QQO'#EeO9eQPO'#EdO9jQPO'#EfOOQO'#Hb'#HbO7jQQO'#HbO:pQQO'#FhO:wQPO'#ExO:|QPO'#E}O:|QPO'#FPOOQO'#Ha'#HaOOQO'#HY'#HYOOQO'#Gh'#GhOOQO'#HX'#HXO<^QPO'#FiOOQO'#HW'#HWOOQO'#Gg'#GgQ]QPOOOOQO'#Hs'#HsOQQPO'#GSO>]QPO'#GUO=kQPO'#GWO:|QPO'#GXO>dQPO'#GZO?QQQO'#HiO?mQQO'#CuO?tQPO'#HxO@SQPO'#D_O@rQPO'#DpO?wQPO'#DqO@|QPO'#HxOA_QPO'#DpOAgQPO'#IROAlQPO'#E`OOQO'#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$p$q%O%b%d&]&i'^'e'h'{(U)O)Q)R*W*q+O+d+l+s+x,Y-[-^.R/O/dU#WY!W'|Q%T!eU&k#n#s+fQ(o%VS,s*T*zT.s,u-aj#UY!W!e#n#s%V%w&W)y*T*z,u-aU&V#`&`(}Q)x&[Q+e'|Q+q(`Q-s+fQ.O+rQ/g.WR0U/hQ)i%vQ,g)fR/o.mR,h)f`!jP!o'^'h*q+O-^/OT%W!g*|R%]!hW%U!e%V*z-aQ(z%^R,V({S#d`%bR&a#eQ)X%gT*t'`'iR*y'e[!lP!o'^*q-^/OR%X!gR#h`R,b)]R)a%kT-j+]-kQ/V-mR/z/WR/z/X",nodeNames:"⚠ LineComment BlockComment Program ModuleDeclaration MarkerAnnotation Identifier ScopedIdentifier . Annotation ) ( AnnotationArgumentList AssignmentExpression FieldAccess IntegerLiteral FloatingPointLiteral BooleanLiteral CharacterLiteral StringLiteral TextBlock null ClassLiteral void PrimitiveType TypeName ScopedTypeName GenericType TypeArguments AnnotatedType Wildcard extends super , ArrayType ] Dimension [ class this ParenthesizedExpression ObjectCreationExpression new ArgumentList } { ClassBody ; FieldDeclaration Modifiers public protected private abstract static final strictfp default synchronized native transient volatile VariableDeclarator Definition AssignOp ArrayInitializer MethodDeclaration TypeParameters TypeParameter TypeBound FormalParameters ReceiverParameter FormalParameter SpreadParameter Throws throws Block ClassDeclaration Superclass SuperInterfaces implements InterfaceTypeList InterfaceDeclaration interface ExtendsInterfaces InterfaceBody ConstantDeclaration EnumDeclaration enum EnumBody EnumConstant EnumBodyDeclarations AnnotationTypeDeclaration AnnotationTypeBody AnnotationTypeElementDeclaration StaticInitializer ConstructorDeclaration ConstructorBody ExplicitConstructorInvocation ArrayAccess MethodInvocation MethodName MethodReference ArrayCreationExpression Dimension AssignOp BinaryExpression CompareOp CompareOp LogicOp LogicOp BitOp BitOp BitOp ArithOp ArithOp ArithOp BitOp InstanceofExpression instanceof LambdaExpression InferredParameters TernaryExpression LogicOp : UpdateExpression UpdateOp UnaryExpression LogicOp BitOp CastExpression ElementValueArrayInitializer ElementValuePair open module ModuleBody ModuleDirective requires transitive exports to opens uses provides with PackageDeclaration package ImportDeclaration import Asterisk ExpressionStatement LabeledStatement Label IfStatement if else WhileStatement while ForStatement for ForSpec LocalVariableDeclaration var EnhancedForStatement ForSpec AssertStatement assert SwitchStatement switch SwitchBlock SwitchLabel case DoStatement do BreakStatement break ContinueStatement continue ReturnStatement return SynchronizedStatement ThrowStatement throw TryStatement try CatchClause catch CatchFormalParameter CatchType FinallyClause finally TryWithResourcesStatement ResourceSpecification Resource ClassContent",maxTerm:276,nodeProps:[["isolate",-4,1,2,18,19,""],["group",-26,4,47,76,77,82,87,92,145,147,150,151,153,156,158,161,163,165,167,172,174,176,178,180,181,183,191,"Statement",-25,6,13,14,15,16,17,18,19,20,21,22,39,40,41,99,100,102,103,106,118,120,122,125,127,130,"Expression",-7,23,24,25,26,27,29,34,"Type"],["openedBy",10,"(",44,"{"],["closedBy",11,")",45,"}"]],propSources:[Z],skippedNodes:[0,1,2],repeatNodeCount:28,tokenData:"#'f_R!_OX%QXY'fYZ)bZ^'f^p%Qpq'fqr*|rs,^st%Qtu4euv5zvw7[wx8rxyAZyzAwz{Be{|CZ|}Dq}!OE_!O!PFx!P!Q! r!Q!R!,h!R![!0`![!]!>p!]!^!@Q!^!_!@n!_!`!BX!`!a!B{!a!b!Di!b!c!EX!c!}!LT!}#O!Mj#O#P%Q#P#Q!NW#Q#R!Nt#R#S4e#S#T%Q#T#o4e#o#p# h#p#q#!U#q#r##n#r#s#$[#s#y%Q#y#z'f#z$f%Q$f$g'f$g#BY4e#BY#BZ#$x#BZ$IS4e$IS$I_#$x$I_$I|4e$I|$JO#$x$JO$JT4e$JT$JU#$x$JU$KV4e$KV$KW#$x$KW&FU4e&FU&FV#$x&FV;'S4e;'S;=`5t<%lO4eS%VV&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QS%qO&YSS%tVOY&ZYZ%lZr&Zrs&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OY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT#$cV#uP&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_#%Ru&YS%yZ&PZOX%QXY'fYZ)bZ^'f^p%Qpq'fqr%Qrs%qst%Qtu4eu!Q%Q!Q![4e![!c%Q!c!}4e!}#R%Q#R#S4e#S#T%Q#T#o4e#o#y%Q#y#z'f#z$f%Q$f$g'f$g#BY4e#BY#BZ#$x#BZ$IS4e$IS$I_#$x$I_$I|4e$I|$JO#$x$JO$JT4e$JT$JU#$x$JU$KV4e$KV$KW#$x$KW&FU4e&FU&FV#$x&FV;'S4e;'S;=`5t<%lO4e",tokenizers:[0,1,2,3],topRules:{Program:[0,3],ClassContent:[1,194]},dynamicPrecedences:{27:1,232:-1,243:-1},specialized:[{term:231,get:Q=>n[Q]||-1}],tokenPrec:7144}),_=X.define({name:"java",parser:d.configure({props:[l.add({IfStatement:$({except:/^\s*({|else\b)/}),TryStatement:$({except:/^\s*({|catch|finally)\b/}),LabeledStatement:Y,SwitchBlock:Q=>{let P=Q.textAfter,i=/^\s*\}/.test(P),a=/^\s*(case|default)\b/.test(P);return Q.baseIndent+(i?0:a?1:2)*Q.unit},Block:S({closing:"}"}),BlockComment:()=>null,Statement:$({except:/^{/})}),o.add({"Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer":t,BlockComment(Q){return{from:Q.from+2,to:Q.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function q(){return new s(_)}export{q as java,_ as javaLanguage}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-CG_HKMnX.js +import{e as r,s as e,t as O,a as s,L as X,i as l,j as Y,c as $,k as S,f as o,l as t}from"./index-Szd58FrA.js";import"./index-Ds9AETjS.js";const Z=e({null:O.null,instanceof:O.operatorKeyword,this:O.self,"new super assert open to with void":O.keyword,"class interface extends implements enum var":O.definitionKeyword,"module package import":O.moduleKeyword,"switch while for if else case default do break continue return try catch finally throw":O.controlKeyword,"requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws":O.modifier,IntegerLiteral:O.integer,FloatingPointLiteral:O.float,"StringLiteral TextBlock":O.string,CharacterLiteral:O.character,LineComment:O.lineComment,BlockComment:O.blockComment,BooleanLiteral:O.bool,PrimitiveType:O.standard(O.typeName),TypeName:O.typeName,Identifier:O.variableName,"MethodName/Identifier":O.function(O.variableName),Definition:O.definition(O.variableName),ArithOp:O.arithmeticOperator,LogicOp:O.logicOperator,BitOp:O.bitwiseOperator,CompareOp:O.compareOperator,AssignOp:O.definitionOperator,UpdateOp:O.updateOperator,Asterisk:O.punctuation,Label:O.labelName,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace,".":O.derefOperator,", ;":O.separator}),n={__proto__:null,true:34,false:34,null:42,void:46,byte:48,short:48,int:48,long:48,char:48,float:48,double:48,boolean:48,extends:62,super:64,class:76,this:78,new:84,public:100,protected:102,private:104,abstract:106,static:108,final:110,strictfp:112,default:114,synchronized:116,native:118,transient:120,volatile:122,throws:150,implements:160,interface:166,enum:176,instanceof:238,open:267,module:269,requires:274,transitive:276,exports:278,to:280,opens:282,uses:284,provides:286,with:288,package:292,import:296,if:308,else:310,while:314,for:318,var:325,assert:332,switch:336,case:342,do:346,break:350,continue:354,return:358,throw:364,try:368,catch:372,finally:380},d=r.deserialize({version:14,states:"##jQ]QPOOQ$wQPOOO(bQQO'#H^O*iQQO'#CbOOQO'#Cb'#CbO*pQPO'#CaO*xOSO'#CpOOQO'#Hc'#HcOOQO'#Cu'#CuO,eQPO'#D_O-OQQO'#HmOOQO'#Hm'#HmO/gQQO'#HhO/nQQO'#HhOOQO'#Hh'#HhOOQO'#Hg'#HgO1rQPO'#DUO2PQPO'#GnO4wQPO'#D_O5OQPO'#DzO*pQPO'#E[O5qQPO'#E[OOQ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%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o+s,Y,`-r-t-}.R.g.m/[/_/b/d/n0Z0f0kQ#f`Q&O#YQ'Y$YU)W%g'`'iQ)}&bQ*s'_Q,Q(tQ,j)oQ,k)pR.c,^Q)n%}R,i)m$SfO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%O%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o+s,Y,`-r-t-}.R.g.m/[/_/b/d/n0Z0f0kT&p#t,ZQ&|#xQ(P$oQ-u+hQ/]-tR0P/_]!nP!o'^*q-^/O#PaOPX`bcx![!f!o!y#_#e#l$_$m$n$o$p$q%O%b%d&]&i'^'e'h'{(U)O)Q)R*W*q+O+d+l+s+x,Y-[-^.R/O/dU#WY!W'|Q%T!eU&k#n#s+fQ(o%VS,s*T*zT.s,u-aj#UY!W!e#n#s%V%w&W)y*T*z,u-aU&V#`&`(}Q)x&[Q+e'|Q+q(`Q-s+fQ.O+rQ/g.WR0U/hQ)i%vQ,g)fR/o.mR,h)f`!jP!o'^'h*q+O-^/OT%W!g*|R%]!hW%U!e%V*z-aQ(z%^R,V({S#d`%bR&a#eQ)X%gT*t'`'iR*y'e[!lP!o'^*q-^/OR%X!gR#h`R,b)]R)a%kT-j+]-kQ/V-mR/z/WR/z/X",nodeNames:"⚠ LineComment BlockComment Program ModuleDeclaration MarkerAnnotation Identifier ScopedIdentifier . Annotation ) ( AnnotationArgumentList AssignmentExpression FieldAccess IntegerLiteral FloatingPointLiteral BooleanLiteral CharacterLiteral StringLiteral TextBlock null ClassLiteral void PrimitiveType TypeName ScopedTypeName GenericType TypeArguments AnnotatedType Wildcard extends super , ArrayType ] Dimension [ class this ParenthesizedExpression ObjectCreationExpression new ArgumentList } { ClassBody ; FieldDeclaration Modifiers public protected private abstract static final strictfp default synchronized native transient volatile VariableDeclarator Definition AssignOp ArrayInitializer MethodDeclaration TypeParameters TypeParameter TypeBound FormalParameters ReceiverParameter FormalParameter SpreadParameter Throws throws Block ClassDeclaration Superclass SuperInterfaces implements InterfaceTypeList InterfaceDeclaration interface ExtendsInterfaces InterfaceBody ConstantDeclaration EnumDeclaration enum EnumBody EnumConstant EnumBodyDeclarations AnnotationTypeDeclaration AnnotationTypeBody AnnotationTypeElementDeclaration StaticInitializer ConstructorDeclaration ConstructorBody ExplicitConstructorInvocation ArrayAccess MethodInvocation MethodName MethodReference ArrayCreationExpression Dimension AssignOp BinaryExpression CompareOp CompareOp LogicOp LogicOp BitOp BitOp BitOp ArithOp ArithOp ArithOp BitOp InstanceofExpression instanceof LambdaExpression InferredParameters TernaryExpression LogicOp : UpdateExpression UpdateOp UnaryExpression LogicOp BitOp CastExpression ElementValueArrayInitializer ElementValuePair open module ModuleBody ModuleDirective requires transitive exports to opens uses provides with PackageDeclaration package ImportDeclaration import Asterisk ExpressionStatement LabeledStatement Label IfStatement if else WhileStatement while ForStatement for ForSpec LocalVariableDeclaration var EnhancedForStatement ForSpec AssertStatement assert SwitchStatement switch SwitchBlock SwitchLabel case DoStatement do BreakStatement break ContinueStatement continue ReturnStatement return SynchronizedStatement ThrowStatement throw TryStatement try CatchClause catch CatchFormalParameter CatchType FinallyClause finally TryWithResourcesStatement ResourceSpecification Resource ClassContent",maxTerm:276,nodeProps:[["isolate",-4,1,2,18,19,""],["group",-26,4,47,76,77,82,87,92,145,147,150,151,153,156,158,161,163,165,167,172,174,176,178,180,181,183,191,"Statement",-25,6,13,14,15,16,17,18,19,20,21,22,39,40,41,99,100,102,103,106,118,120,122,125,127,130,"Expression",-7,23,24,25,26,27,29,34,"Type"],["openedBy",10,"(",44,"{"],["closedBy",11,")",45,"}"]],propSources:[Z],skippedNodes:[0,1,2],repeatNodeCount:28,tokenData:"#'f_R!_OX%QXY'fYZ)bZ^'f^p%Qpq'fqr*|rs,^st%Qtu4euv5zvw7[wx8rxyAZyzAwz{Be{|CZ|}Dq}!OE_!O!PFx!P!Q! r!Q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O!LT_!MgP;=`<%l!LT_!MqVuZ&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV!N_VsR&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QU!N{X#eQ&YSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6n!`;'S%Q;'S;=`&s<%lO%QV# oV}R&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_#!_Z'OX#dQ&YSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6n!`#p%Q#p#q##Q#q;'S%Q;'S;=`&s<%lO%QU##XV#bQ&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV##uV|R&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT#$cV#uP&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_#%Ru&YS%yZ&PZOX%QXY'fYZ)bZ^'f^p%Qpq'fqr%Qrs%qst%Qtu4eu!Q%Q!Q![4e![!c%Q!c!}4e!}#R%Q#R#S4e#S#T%Q#T#o4e#o#y%Q#y#z'f#z$f%Q$f$g'f$g#BY4e#BY#BZ#$x#BZ$IS4e$IS$I_#$x$I_$I|4e$I|$JO#$x$JO$JT4e$JT$JU#$x$JU$KV4e$KV$KW#$x$KW&FU4e&FU&FV#$x&FV;'S4e;'S;=`5t<%lO4e",tokenizers:[0,1,2,3],topRules:{Program:[0,3],ClassContent:[1,194]},dynamicPrecedences:{27:1,232:-1,243:-1},specialized:[{term:231,get:Q=>n[Q]||-1}],tokenPrec:7144}),_=X.define({name:"java",parser:d.configure({props:[l.add({IfStatement:$({except:/^\s*({|else\b)/}),TryStatement:$({except:/^\s*({|catch|finally)\b/}),LabeledStatement:Y,SwitchBlock:Q=>{let P=Q.textAfter,i=/^\s*\}/.test(P),a=/^\s*(case|default)\b/.test(P);return Q.baseIndent+(i?0:a?1:2)*Q.unit},Block:S({closing:"}"}),BlockComment:()=>null,Statement:$({except:/^{/})}),o.add({"Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer":t,BlockComment(Q){return{from:Q.from+2,to:Q.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function q(){return new s(_)}export{q as java,_ as javaLanguage}; +======== +import{e as r,s as e,t as O,a as s,L as X,i as l,j as Y,c as $,k as S,f as o,l as t}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const Z=e({null:O.null,instanceof:O.operatorKeyword,this:O.self,"new super assert open to with void":O.keyword,"class interface extends implements enum var":O.definitionKeyword,"module package import":O.moduleKeyword,"switch while for if else case default do break continue return try catch finally throw":O.controlKeyword,"requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws":O.modifier,IntegerLiteral:O.integer,FloatingPointLiteral:O.float,"StringLiteral TextBlock":O.string,CharacterLiteral:O.character,LineComment:O.lineComment,BlockComment:O.blockComment,BooleanLiteral:O.bool,PrimitiveType:O.standard(O.typeName),TypeName:O.typeName,Identifier:O.variableName,"MethodName/Identifier":O.function(O.variableName),Definition:O.definition(O.variableName),ArithOp:O.arithmeticOperator,LogicOp:O.logicOperator,BitOp:O.bitwiseOperator,CompareOp:O.compareOperator,AssignOp:O.definitionOperator,UpdateOp:O.updateOperator,Asterisk:O.punctuation,Label:O.labelName,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace,".":O.derefOperator,", ;":O.separator}),n={__proto__:null,true:34,false:34,null:42,void:46,byte:48,short:48,int:48,long:48,char:48,float:48,double:48,boolean:48,extends:62,super:64,class:76,this:78,new:84,public:100,protected:102,private:104,abstract:106,static:108,final:110,strictfp:112,default:114,synchronized:116,native:118,transient:120,volatile:122,throws:150,implements:160,interface:166,enum:176,instanceof:238,open:267,module:269,requires:274,transitive:276,exports:278,to:280,opens:282,uses:284,provides:286,with:288,package:292,import:296,if:308,else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z/X",nodeNames:"⚠ LineComment BlockComment Program ModuleDeclaration MarkerAnnotation Identifier ScopedIdentifier . Annotation ) ( AnnotationArgumentList AssignmentExpression FieldAccess IntegerLiteral FloatingPointLiteral BooleanLiteral CharacterLiteral StringLiteral TextBlock null ClassLiteral void PrimitiveType TypeName ScopedTypeName GenericType TypeArguments AnnotatedType Wildcard extends super , ArrayType ] Dimension [ class this ParenthesizedExpression ObjectCreationExpression new ArgumentList } { ClassBody ; FieldDeclaration Modifiers public protected private abstract static final strictfp default synchronized native transient volatile VariableDeclarator Definition AssignOp ArrayInitializer MethodDeclaration TypeParameters TypeParameter TypeBound FormalParameters ReceiverParameter FormalParameter SpreadParameter Throws throws Block ClassDeclaration Superclass SuperInterfaces implements InterfaceTypeList InterfaceDeclaration interface ExtendsInterfaces InterfaceBody ConstantDeclaration EnumDeclaration enum EnumBody EnumConstant EnumBodyDeclarations AnnotationTypeDeclaration AnnotationTypeBody AnnotationTypeElementDeclaration StaticInitializer ConstructorDeclaration ConstructorBody ExplicitConstructorInvocation ArrayAccess MethodInvocation MethodName MethodReference ArrayCreationExpression Dimension AssignOp BinaryExpression CompareOp CompareOp LogicOp LogicOp BitOp BitOp BitOp ArithOp ArithOp ArithOp BitOp InstanceofExpression instanceof LambdaExpression InferredParameters TernaryExpression LogicOp : UpdateExpression UpdateOp UnaryExpression LogicOp BitOp CastExpression ElementValueArrayInitializer ElementValuePair open module ModuleBody ModuleDirective requires transitive exports to opens uses provides with PackageDeclaration package ImportDeclaration import Asterisk ExpressionStatement LabeledStatement Label IfStatement if else WhileStatement while ForStatement for ForSpec LocalVariableDeclaration var EnhancedForStatement ForSpec AssertStatement assert SwitchStatement switch SwitchBlock SwitchLabel case DoStatement do BreakStatement break ContinueStatement continue ReturnStatement return SynchronizedStatement ThrowStatement throw TryStatement try CatchClause catch CatchFormalParameter CatchType FinallyClause finally TryWithResourcesStatement ResourceSpecification Resource ClassContent",maxTerm:276,nodeProps:[["isolate",-4,1,2,18,19,""],["group",-26,4,47,76,77,82,87,92,145,147,150,151,153,156,158,161,163,165,167,172,174,176,178,180,181,183,191,"Statement",-25,6,13,14,15,16,17,18,19,20,21,22,39,40,41,99,100,102,103,106,118,120,122,125,127,130,"Expression",-7,23,24,25,26,27,29,34,"Type"],["openedBy",10,"(",44,"{"],["closedBy",11,")",45,"}"]],propSources:[Z],skippedNodes:[0,1,2],repeatNodeCount:28,tokenData:"#'f_R!_OX%QXY'fYZ)bZ^'f^p%Qpq'fqr*|rs,^st%Qtu4euv5zvw7[wx8rxyAZyzAwz{Be{|CZ|}Dq}!OE_!O!PFx!P!Q! r!Q!R!,h!R![!0`![!]!>p!]!^!@Q!^!_!@n!_!`!BX!`!a!B{!a!b!Di!b!c!EX!c!}!LT!}#O!Mj#O#P%Q#P#Q!NW#Q#R!Nt#R#S4e#S#T%Q#T#o4e#o#p# h#p#q#!U#q#r##n#r#s#$[#s#y%Q#y#z'f#z$f%Q$f$g'f$g#BY4e#BY#BZ#$x#BZ$IS4e$IS$I_#$x$I_$I|4e$I|$JO#$x$JO$JT4e$JT$JU#$x$JU$KV4e$KV$KW#$x$KW&FU4e&FU&FV#$x&FV;'S4e;'S;=`5t<%lO4eS%VV&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QS%qO&YSS%tVOY&ZYZ%lZr&Zrs&ys;'S&Z;'S;=`'`<%lO&ZS&^VOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QS&vP;=`<%l%QS&|UOY&ZYZ%lZr&Zs;'S&Z;'S;=`'`<%lO&ZS'cP;=`<%l&Z_'mk&YS%yZOX%QXY'fYZ)bZ^'f^p%Qpq'fqr%Qrs%qs#y%Q#y#z'f#z$f%Q$f$g'f$g#BY%Q#BY#BZ'f#BZ$IS%Q$IS$I_'f$I_$I|%Q$I|$JO'f$JO$JT%Q$JT$JU'f$JU$KV%Q$KV$KW'f$KW&FU%Q&FU&FV'f&FV;'S%Q;'S;=`&s<%lO%Q_)iY&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'S4e;'S;=`5t<%lO4e",tokenizers:[0,1,2,3],topRules:{Program:[0,3],ClassContent:[1,194]},dynamicPrecedences:{27:1,232:-1,243:-1},specialized:[{term:231,get:Q=>n[Q]||-1}],tokenPrec:7144}),_=X.define({name:"java",parser:d.configure({props:[l.add({IfStatement:$({except:/^\s*({|else\b)/}),TryStatement:$({except:/^\s*({|catch|finally)\b/}),LabeledStatement:Y,SwitchBlock:Q=>{let P=Q.textAfter,i=/^\s*\}/.test(P),a=/^\s*(case|default)\b/.test(P);return Q.baseIndent+(i?0:a?1:2)*Q.unit},Block:S({closing:"}"}),BlockComment:()=>null,Statement:$({except:/^{/})}),o.add({"Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer":t,BlockComment(Q){return{from:Q.from+2,to:Q.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function q(){return new s(_)}export{q as java,_ as javaLanguage}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-D7OvSAWF.js diff --git a/frontend/dist/assets/index-Bsb59gf-.js b/frontend/dist/assets/index-Bsb59gf-.js new file mode 100644 index 0000000..7384248 --- /dev/null +++ b/frontend/dist/assets/index-Bsb59gf-.js @@ -0,0 +1 @@ +import{L as g,a as q,p as P,q as l,v as i,s as c,t as r,e as R,E as p}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const b=1,$=33,m=34,v=35,x=36,W=new p(O=>{let e=O.pos;for(;;){if(O.next==10){O.advance();break}else if(O.next==123&&O.peek(1)==123||O.next<0)break;O.advance()}O.pos>e&&O.acceptToken(b)});function n(O,e,a){return new p(t=>{let u=t.pos;for(;t.next!=O&&t.next>=0&&(a||t.next!=38&&(t.next!=123||t.peek(1)!=123));)t.advance();t.pos>u&&t.acceptToken(e)})}const d=n(39,$,!1),C=n(34,m,!1),T=n(39,v,!0),f=n(34,x,!0),A=R.deserialize({version:14,states:"(jOVOqOOOeQpOOOvO!bO'#CaOOOP'#Cx'#CxQVOqOOO!OQpO'#CfO!WQpO'#ClO!]QpO'#CrO!bQpO'#CsOOQO'#Cv'#CvQ!gQpOOQ!lQpOOQ!qQpOOOOOV,58{,58{O!vOpO,58{OOOP-E6v-E6vO!{QpO,59QO#TQpO,59QOOQO,59W,59WO#YQpO,59^OOQO,59_,59_O#_QpOOO#_QpOOO#gQpOOOOOV1G.g1G.gO#oQpO'#CyO#tQpO1G.lOOQO1G.l1G.lO#|QpO1G.lOOQO1G.x1G.xO$UO`O'#DUO$ZOWO'#DUOOQO'#Co'#CoQOQpOOOOQO'#Cu'#CuO$`OtO'#CwO$qOrO'#CwOOQO,59e,59eOOQO-E6w-E6wOOQO7+$W7+$WO%SQpO7+$WO%[QpO7+$WOOOO'#Cp'#CpO%aOpO,59pOOOO'#Cq'#CqO%fOpO,59pOOOS'#Cz'#CzO%kOtO,59cOOQO,59c,59cOOOQ'#C{'#C{O%|OrO,59cO&_QpO<O.name=="InterpolationContent"?o:null)}),y=Q.configure({wrap:l((O,e)=>{var a;return O.name=="InterpolationContent"?o:O.name!="AttributeInterpolation"?null:((a=O.node.parent)===null||a===void 0?void 0:a.name)=="StatementAttributeValue"?w:o}),top:"Attribute"}),E={parser:U},N={parser:y},s=P({selfClosingTags:!0});function S(O){return O.configure({wrap:l(z)},"angular")}const k=S(s.language);function z(O,e){switch(O.name){case"Attribute":return/^[*#(\[]|\{\{/.test(e.read(O.from,O.to))?N:null;case"Text":return E}return null}function h(O={}){let e=s;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof g))throw new RangeError("The base option must be the result of calling html(...)");e=O.base}return new q(e.language==s.language?k:S(e.language),[e.support,e.language.data.of({closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/})])}export{h as angular,k as angularLanguage}; diff --git a/frontend/dist/assets/index-BxNkc_ay.js b/frontend/dist/assets/index-BxNkc_ay.js new file mode 100644 index 0000000..e7b2f77 --- /dev/null +++ b/frontend/dist/assets/index-BxNkc_ay.js @@ -0,0 +1 @@ +import{e as t,E as Z,h as o,s as S,t as e,a as s,L as m,i as d,j as Y,c as a,k as w,f as n,l as V}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const P=1,l=2,q=3,T=82,z=76,_=117,h=85,c=97,j=122,b=65,p=90,v=95,i=48,U=34,R=40,r=41,W=32,x=62,f=new Z(O=>{if(O.next==z||O.next==h?O.advance():O.next==_&&(O.advance(),O.next==i+8&&O.advance()),O.next!=T||(O.advance(),O.next!=U))return;O.advance();let Q="";for(;O.next!=R;){if(O.next==W||O.next<=13||O.next==r)return;Q+=String.fromCharCode(O.next),O.advance()}for(O.advance();;){if(O.next<0)return O.acceptToken(P);if(O.next==r){let $=!0;for(let X=0;$&&X{if(O.next==x)O.peek(1)==x&&O.acceptToken(l,1);else{let Q=!1,$=0;for(;;$++){if(O.next>=b&&O.next<=p)Q=!0;else{if(O.next>=c&&O.next<=j)return;if(O.next!=v&&!(O.next>=i&&O.next<=i+9))break}O.advance()}Q&&$>1&&O.acceptToken(q)}},{extend:!0}),k=S({"typedef struct union enum class typename decltype auto template operator friend noexcept namespace using requires concept import export module __attribute__ __declspec __based":e.definitionKeyword,"extern MsCallModifier MsPointerModifier extern static register thread_local inline const volatile restrict _Atomic mutable constexpr constinit consteval virtual explicit VirtualSpecifier Access":e.modifier,"if else switch for while do case default return break continue goto throw try catch":e.controlKeyword,"co_return co_yield co_await":e.controlKeyword,"new sizeof delete static_assert":e.operatorKeyword,"NULL nullptr":e.null,this:e.self,"True False":e.bool,"TypeSize PrimitiveType":e.standard(e.typeName),TypeIdentifier:e.typeName,FieldIdentifier:e.propertyName,"CallExpression/FieldExpression/FieldIdentifier":e.function(e.propertyName),"ModuleName/Identifier":e.namespace,PartitionName:e.labelName,StatementIdentifier:e.labelName,"Identifier DestructorName":e.variableName,"CallExpression/Identifier":e.function(e.variableName),"CallExpression/ScopedIdentifier/Identifier":e.function(e.variableName),"FunctionDeclarator/Identifier FunctionDeclarator/DestructorName":e.function(e.definition(e.variableName)),NamespaceIdentifier:e.namespace,OperatorName:e.operator,ArithOp:e.arithmeticOperator,LogicOp:e.logicOperator,BitOp:e.bitwiseOperator,CompareOp:e.compareOperator,AssignOp:e.definitionOperator,UpdateOp:e.updateOperator,LineComment:e.lineComment,BlockComment:e.blockComment,Number:e.number,String:e.string,"RawString SystemLibString":e.special(e.string),CharLiteral:e.character,EscapeSequence:e.escape,"UserDefinedLiteral/Identifier":e.literal,PreprocArg:e.meta,"PreprocDirectiveName #include #ifdef #ifndef #if #define #else #endif #elif":e.processingInstruction,MacroName:e.special(e.name),"( )":e.paren,"[ ]":e.squareBracket,"{ }":e.brace,"< >":e.angleBracket,". ->":e.derefOperator,", ;":e.separator}),u={__proto__:null,bool:36,char:36,int:36,float:36,double:36,void:36,size_t:36,ssize_t:36,intptr_t:36,uintptr_t:36,charptr_t:36,int8_t:36,int16_t:36,int32_t:36,int64_t:36,uint8_t:36,uint16_t:36,uint32_t:36,uint64_t:36,char8_t:36,char16_t:36,char32_t:36,char64_t:36,const:70,volatile:72,restrict:74,_Atomic:76,mutable:78,constexpr:80,constinit:82,consteval:84,struct:88,__declspec:92,final:148,override:148,public:152,private:152,protected:152,virtual:154,extern:160,static:162,register:164,inline:166,thread_local:168,__attribute__:172,__based:178,__restrict:180,__uptr:180,__sptr:180,_unaligned:180,__unaligned:180,noexcept:194,requires:198,TRUE:798,true:798,FALSE:800,false:800,typename:218,class:220,template:234,throw:248,__cdecl:256,__clrcall:256,__stdcall:256,__fastcall:256,__thiscall:256,__vectorcall:256,try:260,catch:264,export:282,import:286,case:296,default:298,if:308,else:314,switch:318,do:322,while:324,for:330,return:334,break:338,continue:342,goto:346,co_return:350,co_yield:354,using:362,typedef:366,namespace:380,new:398,delete:400,co_await:402,concept:406,enum:410,static_assert:414,friend:422,union:424,explicit:430,operator:444,module:456,signed:518,unsigned:518,long:518,short:518,decltype:528,auto:530,sizeof:566,NULL:572,nullptr:586,this:588},G={__proto__:null,"<":767},y={__proto__:null,">":135},E={__proto__:null,operator:388,new:576,delete:582},C=t.deserialize({version:14,states:"$<[Q!QQVOOP'gOUOOO([OWO'#CdO,UQUO'#CgO,`QUO'#FjO-vQbO'#CxO.XQUO'#CxO0WQUO'#KaO0_QUO'#CwO0jOpO'#DvO0rQ!dO'#D]OOQR'#JP'#JPO5[QVO'#GUO5iQUO'#JWOOQQ'#JW'#JWO8}QUO'#KtOxQVO'#IbO!(}QVO'#IdO!?SQUO'#IgO!?ZQVO'#IjP!AQO!LQO'#CaP!A]{,UO'#CbP!6q{,UO'#CbP!Ah{7[O'#CbP!6q{,UO'#CbP!Am{,UO'#CbP!AxOSO'#IzPOOO)CEp)CEpOOOO'#I}'#I}O!BSOWO,59OOOQR,59O,59OO!(}QVO,59VOOQQ,59X,59XOOQR'#Do'#DoO!(}QVO,5;ROOQR,5qOOQR'#IX'#IXOOQR'#IY'#IYOOQR'#IZ'#IZOOQR'#I['#I[O!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!D^QVO,5>zOOQQ,5?W,5?WO!FPQVO'#CjO!IxQUO'#CzOOQQ,59d,59dOOQQ,59c,59cOOQQ,5<},5<}O!JVQ&lO,5=mO!?SQUO,5?RO!LyQVO,5?UO!MQQbO,59dO!M]QVO'#FYOOQQ,5?P,5?PO!MmQVO,59WO!MtO`O,5:bO!MyQbO'#D^O!N[QbO'#KeO!NjQbO,59wO!NrQbO'#CxO# TQUO'#CxO# YQUO'#KaO# dQUO'#CwOOQR-E<}-E<}O# oQUO,5AvO# vQVO'#EfO@[QVO'#EiOBXQUO,5;kOOQR,5l,5>lO#3uQUO'#CgO#4kQUO,5>pO#6^QUO'#IeOOQR'#JO'#JOO#6fQUO,5:xO#7SQUO,5:xO#7sQUO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7Q7V7l7t7w8o8q8w8}9O9]9a9g9i9v9y9z:V:Y:`:b:g:l:pS%bf0p#d%lgnp|#O$i%O%P%U%f%j%k%y&u'w'x(T*_*e*g*y+b,q,{-f-w.O.m.t.v0e1R1S1W1[2g2r5k6q;b;c;d;j;k;l;y;z;{;| MacroName LineComment BlockComment PreprocDirective #include String EscapeSequence SystemLibString Identifier ) ( ArgumentList ConditionalExpression AssignmentExpression CallExpression PrimitiveType FieldExpression FieldIdentifier DestructorName TemplateMethod ScopedFieldIdentifier NamespaceIdentifier TemplateType TypeIdentifier ScopedTypeIdentifier ScopedNamespaceIdentifier :: NamespaceIdentifier TypeIdentifier TemplateArgumentList < TypeDescriptor const volatile restrict _Atomic mutable constexpr constinit consteval StructSpecifier struct MsDeclspecModifier __declspec Attribute AttributeName Identifier AttributeArgs { } [ ] UpdateOp ArithOp ArithOp ArithOp LogicOp BitOp BitOp BitOp CompareOp CompareOp CompareOp > CompareOp BitOp UpdateOp , Number CharLiteral AttributeArgs VirtualSpecifier BaseClassClause Access virtual FieldDeclarationList FieldDeclaration extern static register inline thread_local AttributeSpecifier __attribute__ PointerDeclarator MsBasedModifier __based MsPointerModifier FunctionDeclarator ParameterList ParameterDeclaration PointerDeclarator FunctionDeclarator Noexcept noexcept RequiresClause requires True False ParenthesizedExpression CommaExpression LambdaExpression LambdaCaptureSpecifier TemplateParameterList OptionalParameterDeclaration TypeParameterDeclaration typename class VariadicParameterDeclaration VariadicDeclarator ReferenceDeclarator OptionalTypeParameterDeclaration VariadicTypeParameterDeclaration TemplateTemplateParameterDeclaration template AbstractFunctionDeclarator AbstractPointerDeclarator AbstractArrayDeclarator AbstractParenthesizedDeclarator AbstractReferenceDeclarator ThrowSpecifier throw TrailingReturnType CompoundStatement FunctionDefinition MsCallModifier TryStatement try CatchClause catch LinkageSpecification Declaration InitDeclarator InitializerList InitializerPair SubscriptDesignator FieldDesignator ExportDeclaration export ImportDeclaration import ModuleName PartitionName HeaderName CaseStatement case default LabeledStatement StatementIdentifier ExpressionStatement IfStatement if ConditionClause Declaration else SwitchStatement switch DoStatement do while WhileStatement ForStatement for ReturnStatement return BreakStatement break ContinueStatement continue GotoStatement goto CoReturnStatement co_return CoYieldStatement co_yield AttributeStatement ForRangeLoop AliasDeclaration using TypeDefinition typedef PointerDeclarator FunctionDeclarator ArrayDeclarator ParenthesizedDeclarator ThrowStatement NamespaceDefinition namespace ScopedIdentifier Identifier OperatorName operator ArithOp BitOp CompareOp LogicOp new delete co_await ConceptDefinition concept UsingDeclaration enum StaticAssertDeclaration static_assert ConcatenatedString TemplateDeclaration FriendDeclaration friend union FunctionDefinition ExplicitFunctionSpecifier explicit FieldInitializerList FieldInitializer DefaultMethodClause DeleteMethodClause FunctionDefinition OperatorCast operator TemplateInstantiation FunctionDefinition FunctionDefinition Declaration ModuleDeclaration module RequiresExpression RequirementList SimpleRequirement TypeRequirement CompoundRequirement ReturnTypeRequirement ConstraintConjuction LogicOp ConstraintDisjunction LogicOp ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator TemplateFunction OperatorName StructuredBindingDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator BitfieldClause FunctionDefinition FunctionDefinition Declaration FunctionDefinition Declaration AccessSpecifier UnionSpecifier ClassSpecifier EnumSpecifier SizedTypeSpecifier TypeSize EnumeratorList Enumerator DependentType Decltype decltype auto PlaceholderTypeSpecifier ParameterPackExpansion ParameterPackExpansion FieldIdentifier PointerExpression SubscriptExpression BinaryExpression ArithOp LogicOp LogicOp BitOp UnaryExpression LogicOp BitOp UpdateExpression CastExpression SizeofExpression sizeof CoAwaitExpression CompoundLiteralExpression NULL NewExpression new NewDeclarator DeleteExpression delete ParameterPackExpansion nullptr this UserDefinedLiteral ParamPack #define PreprocArg #if #ifdef #ifndef #else #endif #elif PreprocDirectiveName Macro Program",maxTerm:433,nodeProps:[["group",-35,1,8,11,15,16,17,19,71,72,100,101,102,104,191,208,229,242,243,270,271,272,277,280,281,282,284,285,286,287,290,292,293,294,295,296,"Expression",-13,18,25,26,27,43,255,256,257,258,262,263,265,266,"Type",-19,126,129,147,150,152,153,158,160,163,164,166,168,170,172,174,176,178,179,188,"Statement"],["isolate",-4,4,5,8,10,""],["openedBy",12,"(",52,"{",54,"["],["closedBy",13,")",51,"}",53,"]"]],propSources:[k],skippedNodes:[0,3,4,5,6,7,10,297,298,299,300,301,302,303,304,305,306,308,349,350],repeatNodeCount:43,tokenData:"&AbMfR!UOX$eXY/]YZ5gZ]$e]^1g^p$epq/]qr5}rs8Zst:Ttu$euv!AWvw!Cbwx!Eqxy!Flyz!Gmz{!Hn{|!Iw|}!LX}!O!MY!O!P# m!P!Q#8a!Q!R#@T!R![$'k![!]$@f!]!^$Bn!^!_$Co!_!`%C`!`!a%Dg!a!b%HP!b!c$e!c!n%IQ!n!o%Jl!o!w%IQ!w!x%Jl!x!}%IQ!}#O%Mx#O#P& }#P#Q&3[#Q#R&5a#R#S%IQ#S#T$e#T#i%IQ#i#j&6j#j#o%IQ#o#p&8[#p#q&9]#q#r&;o#r#s&|#Y#o;x#o;'S$e;'S;=`/V<%lO$eGz?Xe)d`(wS'f,U'm<`OY$eZr$ers%dsw$ewx*mx!P$e!P!Q-V!Q![;x![!c$e!c!};x!}#O$e#O#P'b#P#R$e#R#S;x#S#T$e#T#Y;x#Y#Z@j#Z#o;x#o;'S$e;'S;=`/V<%lO$eGz@ue)d`(wS'f,U'm<`OY$eZr$ers%dsw$ewx*mx!P$e!P!Q-V!Q![;x![!c$e!c!};x!}#O$e#O#P'b#P#R$e#R#S;x#S#T$e#T#];x#]#^BW#^#o;x#o;'S$e;'S;=`/V<%lO$eGzBce)d`(wS'f,U'm<`OY$eZr$ers%dsw$ewx*mx!P$e!P!Q-V!Q![;x![!c$e!c!};x!}#O$e#O#P'b#P#R$e#R#S;x#S#T$e#T#b;x#b#cCt#c#o;x#o;'S$e;'S;=`/V<%lO$eGzDPe)d`(wS'f,U'm<`OY$eZr$ers%dsw$ewx*mx!P$e!P!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lO$e,t&@Vc)d`(wSeY'f,UOY$eZr$ers%dsw$ewx*mx!P$e!P!Q-V!Q![&?z![!c$e!c!}&?z!}#O$e#O#P'b#P#R$e#R#S&?z#S#T$e#T#o&?z#o;'S$e;'S;=`/V<%lO$e",tokenizers:[f,g,1,2,3,4,5,6,7,8,9,10,new o("j~RQYZXz{^~^O(s~~aP!P!Qd~iO(t~~",25,356)],topRules:{Program:[0,307]},dynamicPrecedences:{17:1,65:1,87:1,94:1,119:1,184:1,187:-10,240:-10,241:1,244:-1,246:-10,247:1,262:-1,267:2,268:2,306:-10,371:3,425:1,426:3,427:1,428:1},specialized:[{term:362,get:O=>u[O]||-1},{term:33,get:O=>G[O]||-1},{term:66,get:O=>y[O]||-1},{term:369,get:O=>E[O]||-1}],tokenPrec:24852}),F=m.define({name:"cpp",parser:C.configure({props:[d.add({IfStatement:a({except:/^\s*({|else\b)/}),TryStatement:a({except:/^\s*({|catch)\b/}),LabeledStatement:Y,CaseStatement:O=>O.baseIndent+O.unit,BlockComment:()=>null,CompoundStatement:w({closing:"}"}),Statement:a({except:/^{/})}),n.add({"DeclarationList CompoundStatement EnumeratorList FieldDeclarationList InitializerList":V,BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/,closeBrackets:{stringPrefixes:["L","u","U","u8","LR","UR","uR","u8R","R"]}}});function D(){return new s(F)}export{D as cpp,F as cppLanguage}; diff --git a/frontend/dist/assets/index-Bzaib5AU.js b/frontend/dist/assets/index-Bzaib5AU.js new file mode 100644 index 0000000..58c63cb --- /dev/null +++ b/frontend/dist/assets/index-Bzaib5AU.js @@ -0,0 +1 @@ +import{a6 as x,bw as C,bt as E}from"./index-CxbBjZKo.js";const s=new Map;if(E){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of s.values())for(const{documentHandler:a}of n)a(t,e);e=void 0}})}function l(e,t){let n=[];return x(t.arg)?n=t.arg:C(t.arg)&&n.push(t.arg),function(a,o){const c=t.instance.popperRef,r=a.target,d=o==null?void 0:o.target,i=!t||!t.instance,f=!r||!d,p=e.contains(r)||e.contains(d),h=e===r,g=n.length&&n.some(u=>u==null?void 0:u.contains(r))||n.length&&n.includes(d),v=c&&(c.contains(r)||c.contains(d));i||f||p||h||g||v||t.value(a,o)}}const m={beforeMount(e,t){s.has(e)||s.set(e,[]),s.get(e).push({documentHandler:l(e,t),bindingFn:t.value})},updated(e,t){s.has(e)||s.set(e,[]);const n=s.get(e),a=n.findIndex(c=>c.bindingFn===t.oldValue),o={documentHandler:l(e,t),bindingFn:t.value};a>=0?n.splice(a,1,o):n.push(o)},unmounted(e){s.delete(e)}};export{m as C}; diff --git a/frontend/dist/assets/index-C3HZL-2Y.js b/frontend/dist/assets/index-C3HZL-2Y.js new file mode 100644 index 0000000..66c489d --- /dev/null +++ b/frontend/dist/assets/index-C3HZL-2Y.js @@ -0,0 +1 @@ +import{G as P,a1 as T,H as W,y as z,am as L}from"./index-CxbBjZKo.js";import{c as w}from"./clamp-Ow4I6lPc.js";const $=(n,c,M,d)=>{const o={offsetX:0,offsetY:0},u=z(!1),v=(t,e)=>{if(n.value){const{offsetX:f,offsetY:l}=o,s=n.value.getBoundingClientRect(),a=Math.max(s.left,0),i=Math.max(s.top,0),m=s.width,g=s.height,x=document.documentElement.clientWidth,E=document.documentElement.clientHeight,D=-a+f,H=-i+l,b=x-a-m+f,y=E-i-(g{const e=t.clientX,f=t.clientY,{offsetX:l,offsetY:s}=o,a=m=>{u.value||(u.value=!0),v(l+m.clientX-e,s+m.clientY-f)},i=()=>{u.value=!1,document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",i)};document.addEventListener("mousemove",a),document.addEventListener("mouseup",i)},X=()=>{c.value&&n.value&&(c.value.addEventListener("mousedown",h),window.addEventListener("resize",r))},p=()=>{c.value&&n.value&&(c.value.removeEventListener("mousedown",h),window.removeEventListener("resize",r))},Y=()=>{o.offsetX=0,o.offsetY=0,n.value&&(n.value.style.transform="")},r=()=>{const{offsetX:t,offsetY:e}=o;v(t,e)};return P(()=>{T(()=>{M.value?X():p()})}),W(()=>{p()}),{isDragging:u,resetPosition:Y,updatePosition:r}};export{$ as u}; diff --git a/frontend/dist/assets/index-C4wGR5UT.js b/frontend/dist/assets/index-C4wGR5UT.js new file mode 100644 index 0000000..5a702a7 --- /dev/null +++ b/frontend/dist/assets/index-C4wGR5UT.js @@ -0,0 +1 @@ +import{N as x,D as E,aT as f,b8 as v,f as r,aQ as T,y as g,cf as b,P as k}from"./index-CxbBjZKo.js";function y(p,{disabled:o,beforeFocus:a,afterFocus:c,beforeBlur:u,afterBlur:e}={}){const{emit:d}=x(),n=T(),i=g(!1),h=s=>{const t=v(a)?a(s):!1;r(o)||i.value||t||(i.value=!0,d("focus",s),c==null||c())},C=s=>{var l;const t=v(u)?u(s):!1;r(o)||s.relatedTarget&&((l=n.value)!=null&&l.contains(s.relatedTarget))||t||(i.value=!1,d("blur",s),e==null||e())},m=s=>{var t,l;r(o)||b(s.target)||(t=n.value)!=null&&t.contains(document.activeElement)&&n.value!==document.activeElement||(l=p.value)==null||l.focus()};return E([n,()=>r(o)],([s,t])=>{s&&(t?s.removeAttribute("tabindex"):s.setAttribute("tabindex","-1"))}),f(n,"focus",h,!0),f(n,"blur",C,!0),f(n,"click",m,!0),{isFocused:i,wrapperRef:n,handleFocus:h,handleBlur:C}}function A({afterComposition:p,emit:o}){const a=g(!1),c=n=>{o==null||o("compositionstart",n),a.value=!0},u=n=>{o==null||o("compositionupdate",n),a.value=!0},e=n=>{o==null||o("compositionend",n),a.value&&(a.value=!1,k(()=>p(n)))};return{isComposing:a,handleComposition:n=>{n.type==="compositionend"?e(n):u(n)},handleCompositionStart:c,handleCompositionUpdate:u,handleCompositionEnd:e}}export{A as a,y as u}; diff --git a/frontend/dist/assets/index-C6EHVQAI.js b/frontend/dist/assets/index-C6EHVQAI.js new file mode 100644 index 0000000..e413214 --- /dev/null +++ b/frontend/dist/assets/index-C6EHVQAI.js @@ -0,0 +1 @@ +import{e as o,E as a,s as Z,t as Q,a as _,L as q,i as l,c as r,f as w,l as V}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const R=1,g=2,b=3,y=4,T=5,s=98,c=101,v=102,t=114,p=69,X=48,W=46,d=43,f=45,Y=35,z=34,x=124,U=60,h=62;function n(O){return O>=48&&O<=57}function e(O){return n(O)||O==95}const G=new a((O,i)=>{if(n(O.next)){let P=!1;do O.advance();while(e(O.next));if(O.next==W){if(P=!0,O.advance(),n(O.next))do O.advance();while(e(O.next));else if(O.next==W||O.next>127||/\w/.test(String.fromCharCode(O.next)))return}if(O.next==c||O.next==p){if(P=!0,O.advance(),(O.next==d||O.next==f)&&O.advance(),!e(O.next))return;do O.advance();while(e(O.next))}if(O.next==v){let $=O.peek(1);if($==X+3&&O.peek(2)==X+2||$==X+6&&O.peek(2)==X+4)O.advance(3),P=!0;else return}P&&O.acceptToken(T)}else if(O.next==s||O.next==t){if(O.next==s&&O.advance(),O.next!=t)return;O.advance();let P=0;for(;O.next==Y;)P++,O.advance();if(O.next!=z)return;O.advance();O:for(;;){if(O.next<0)return;let $=O.next==z;if(O.advance(),$){for(let S=0;S{O.next==x&&O.acceptToken(R,1)}),u=new a(O=>{O.next==U?O.acceptToken(g,1):O.next==h&&O.acceptToken(b,1)}),k=Z({"const macro_rules struct union enum type fn impl trait let static":Q.definitionKeyword,"mod use crate":Q.moduleKeyword,"pub unsafe async mut extern default move":Q.modifier,"for if else loop while match continue break return await":Q.controlKeyword,"as in ref":Q.operatorKeyword,"where _ crate super dyn":Q.keyword,self:Q.self,String:Q.string,Char:Q.character,RawString:Q.special(Q.string),Boolean:Q.bool,Identifier:Q.variableName,"CallExpression/Identifier":Q.function(Q.variableName),BoundIdentifier:Q.definition(Q.variableName),"FunctionItem/BoundIdentifier":Q.function(Q.definition(Q.variableName)),LoopLabel:Q.labelName,FieldIdentifier:Q.propertyName,"CallExpression/FieldExpression/FieldIdentifier":Q.function(Q.propertyName),Lifetime:Q.special(Q.variableName),ScopeIdentifier:Q.namespace,TypeIdentifier:Q.typeName,"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier":Q.macroName,"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier":Q.macroName,'"!"':Q.macroName,UpdateOp:Q.updateOperator,LineComment:Q.lineComment,BlockComment:Q.blockComment,Integer:Q.integer,Float:Q.float,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,"=":Q.definitionOperator,".. ... => ->":Q.punctuation,"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,". DerefOp":Q.derefOperator,"&":Q.operator,", ; ::":Q.separator,"Attribute/...":Q.meta}),j={__proto__:null,self:28,super:32,crate:34,impl:46,true:72,false:72,pub:88,in:92,const:96,unsafe:104,async:108,move:110,if:114,let:118,ref:142,mut:144,_:198,else:200,match:204,as:248,return:252,await:262,break:270,continue:276,while:312,loop:316,for:320,macro_rules:327,mod:334,extern:342,struct:346,where:364,union:379,enum:382,type:390,default:395,fn:396,trait:412,use:420,static:438,dyn:476},E=o.deserialize({version:14,states:"$2xQ]Q_OOP$wOWOOO&sQWO'#CnO)WQWO'#I`OOQP'#I`'#I`OOQQ'#Ie'#IeO)hO`O'#C}OOQR'#Ih'#IhO)sQWO'#IuOOQO'#Hk'#HkO)xQWO'#DpOOQR'#Iw'#IwO)xQWO'#DpO*ZQWO'#DpOOQO'#Iv'#IvO,SQWO'#J`O,ZQWO'#EiOOQV'#Hp'#HpO,cQYO'#F{OOQV'#El'#ElOOQV'#Em'#EmOOQV'#En'#EnO.YQ_O'#EkO0_Q_O'#EoO2gQWOOO4QQ_O'#FPO7hQWO'#J`OOQV'#FY'#FYO7{Q_O'#F^O:WQ_O'#FaOOQO'#F`'#F`O=sQ_O'#FcO=}Q_O'#FbO@VQWO'#F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etaItem self Metavariable super crate Identifier ScopedIdentifier :: QualifiedScope AbstractType impl SelfType MetaType TypeIdentifier ScopedTypeIdentifier ScopeIdentifier TypeArgList TypeBinding = Lifetime String Escape Char Boolean Integer } { Block ; ConstItem Vis pub ( in ) const BoundIdentifier : UnsafeBlock unsafe AsyncBlock async move IfExpression if LetDeclaration let LiteralPattern ArithOp MetaPattern SelfPattern ScopedIdentifier TuplePattern ScopedTypeIdentifier , StructPattern FieldPatternList FieldPattern ref mut FieldIdentifier .. RefPattern SlicePattern CapturedPattern ReferencePattern & MutPattern RangePattern ... OrPattern MacroPattern ParenthesizedTokens TokenBinding Identifier TokenRepetition ArithOp BitOp LogicOp UpdateOp CompareOp -> => ArithOp BracketedTokens BracedTokens _ else MatchExpression match MatchBlock MatchArm Attribute Guard UnaryExpression ArithOp DerefOp LogicOp ReferenceExpression TryExpression BinaryExpression ArithOp ArithOp BitOp BitOp BitOp BitOp LogicOp LogicOp AssignmentExpression TypeCastExpression as ReturnExpression return RangeExpression CallExpression ArgList AwaitExpression await FieldExpression GenericFunction BreakExpression break LoopLabel ContinueExpression continue IndexExpression ArrayExpression TupleExpression MacroInvocation UnitExpression ClosureExpression ParamList Parameter Parameter ParenthesizedExpression StructExpression FieldInitializerList ShorthandFieldInitializer FieldInitializer BaseFieldInitializer MatchArm WhileExpression while LoopExpression loop ForExpression for MacroInvocation MacroDefinition macro_rules MacroRule EmptyStatement ModItem mod DeclarationList AttributeItem ForeignModItem extern StructItem struct TypeParamList ConstrainedTypeParameter TraitBounds HigherRankedTraitBound RemovedTraitBound OptionalTypeParameter ConstParameter WhereClause where LifetimeClause TypeBoundClause FieldDeclarationList FieldDeclaration OrderedFieldDeclarationList UnionItem union EnumItem enum EnumVariantList EnumVariant TypeItem type FunctionItem default fn ParamList Parameter SelfParameter VariadicParameter VariadicParameter ImplItem TraitItem trait AssociatedType LetDeclaration UseDeclaration use ScopedIdentifier UseAsClause ScopedIdentifier UseList ScopedUseList UseWildcard ExternCrateDeclaration StaticItem static ExpressionStatement ExpressionStatement GenericType FunctionType ForLifetimes ParamList VariadicParameter Parameter VariadicParameter Parameter ReferenceType PointerType TupleType UnitType ArrayType MacroInvocation EmptyType DynamicType dyn BoundedType",maxTerm:359,nodeProps:[["isolate",-4,4,6,7,33,""],["group",-42,4,5,14,15,16,17,18,19,33,35,36,37,40,51,53,56,101,107,111,112,113,122,123,125,127,128,130,132,133,134,137,139,140,141,142,143,144,148,149,155,157,159,"Expression",-16,22,24,25,26,27,222,223,230,231,232,233,234,235,236,237,239,"Type",-20,42,161,162,165,166,169,170,172,188,190,194,196,204,205,207,208,209,217,218,220,"Statement",-17,49,60,62,63,64,65,68,74,75,76,77,78,80,81,83,84,99,"Pattern"],["openedBy",9,"[",38,"{",47,"("],["closedBy",12,"]",39,"}",45,")"]],propSources:[k],skippedNodes:[0,6,7,240],repeatNodeCount:32,tokenData:"$%h_R!XOX$nXY5gYZ6iZ]$n]^5g^p$npq5gqr7Xrs9cst:Rtu;Tuv>vvwAQwxCbxy!+Tyz!,Vz{!-X{|!/_|}!0g}!O!1i!O!P!3v!P!Q!8[!Q!R!Bw!R![!Dr![!]#+q!]!^#-{!^!_#.}!_!`#1b!`!a#3o!a!b#6S!b!c#7U!c!}#8W!}#O#:T#O#P#;V#P#Q#Cb#Q#R#Dd#R#S#8W#S#T$n#T#U#8W#U#V#El#V#f#8W#f#g#Ic#g#o#8W#o#p$ S#p#q$!U#q#r$$f#r${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nU$u]'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU%uV'_Q'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S&aV'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S&yVOz'`z{&v{!P'`!P!Q*y!Q;'S'`;'S;=`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W!}#O$n#O#P&[#P#R$n#R#S#8W#S#T$n#T#o#8W#o${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nV#Kji'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$nV#Mbj'_Q'OS'TPOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![#MX![!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$n_$ ]]wX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$!_a'rX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P#p$n#p#q$#d#q;'S$n;'S;=`4s<%lO$n_$#m]'|X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$$o]vX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n",tokenizers:[m,u,G,0,1,2,3],topRules:{SourceFile:[0,8]},specialized:[{term:281,get:O=>j[O]||-1}],tokenPrec:15596}),I=q.define({name:"rust",parser:E.configure({props:[l.add({IfExpression:r({except:/^\s*({|else\b)/}),"String BlockComment":()=>null,AttributeItem:O=>O.continue(),"Statement MatchArm":r()}),w.add(O=>{if(/(Block|edTokens|List)$/.test(O.name))return V;if(O.name=="BlockComment")return i=>({from:i.from+2,to:i.to-2})})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:\{|\})$/,closeBrackets:{stringPrefixes:["b","r","br"]}}});function D(){return new _(I)}export{D as rust,I as rustLanguage}; diff --git a/frontend/dist/assets/index-C8FAS7l2.js b/frontend/dist/assets/index-C8FAS7l2.js index 0161fa4..6881401 100644 --- a/frontend/dist/assets/index-C8FAS7l2.js +++ b/frontend/dist/assets/index-C8FAS7l2.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-C8FAS7l2.js import{N as x,D as E,aS as f,b8 as v,f as r,aT as T,y as g,cf as b,P as k}from"./index-CD29OCdJ.js";function y(p,{disabled:o,beforeFocus:a,afterFocus:c,beforeBlur:u,afterBlur:e}={}){const{emit:d}=x(),n=T(),i=g(!1),h=s=>{const t=v(a)?a(s):!1;r(o)||i.value||t||(i.value=!0,d("focus",s),c==null||c())},C=s=>{var l;const t=v(u)?u(s):!1;r(o)||s.relatedTarget&&((l=n.value)!=null&&l.contains(s.relatedTarget))||t||(i.value=!1,d("blur",s),e==null||e())},m=s=>{var t,l;r(o)||b(s.target)||(t=n.value)!=null&&t.contains(document.activeElement)&&n.value!==document.activeElement||(l=p.value)==null||l.focus()};return E([n,()=>r(o)],([s,t])=>{s&&(t?s.removeAttribute("tabindex"):s.setAttribute("tabindex","-1"))}),f(n,"focus",h,!0),f(n,"blur",C,!0),f(n,"click",m,!0),{isFocused:i,wrapperRef:n,handleFocus:h,handleBlur:C}}function A({afterComposition:p,emit:o}){const a=g(!1),c=n=>{o==null||o("compositionstart",n),a.value=!0},u=n=>{o==null||o("compositionupdate",n),a.value=!0},e=n=>{o==null||o("compositionend",n),a.value&&(a.value=!1,k(()=>p(n)))};return{isComposing:a,handleComposition:n=>{n.type==="compositionend"?e(n):u(n)},handleCompositionStart:c,handleCompositionUpdate:u,handleCompositionEnd:e}}export{A as a,y as u}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-B0if-AHo.js +import{N as x,D as E,aS as f,b8 as v,f as r,aT as T,y as g,cf as b,P as k}from"./index-Ds9AETjS.js";function y(p,{disabled:o,beforeFocus:a,afterFocus:c,beforeBlur:u,afterBlur:e}={}){const{emit:d}=x(),n=T(),i=g(!1),h=s=>{const t=v(a)?a(s):!1;r(o)||i.value||t||(i.value=!0,d("focus",s),c==null||c())},C=s=>{var l;const t=v(u)?u(s):!1;r(o)||s.relatedTarget&&((l=n.value)!=null&&l.contains(s.relatedTarget))||t||(i.value=!1,d("blur",s),e==null||e())},m=s=>{var t,l;r(o)||b(s.target)||(t=n.value)!=null&&t.contains(document.activeElement)&&n.value!==document.activeElement||(l=p.value)==null||l.focus()};return E([n,()=>r(o)],([s,t])=>{s&&(t?s.removeAttribute("tabindex"):s.setAttribute("tabindex","-1"))}),f(n,"focus",h,!0),f(n,"blur",C,!0),f(n,"click",m,!0),{isFocused:i,wrapperRef:n,handleFocus:h,handleBlur:C}}function A({afterComposition:p,emit:o}){const a=g(!1),c=n=>{o==null||o("compositionstart",n),a.value=!0},u=n=>{o==null||o("compositionupdate",n),a.value=!0},e=n=>{o==null||o("compositionend",n),a.value&&(a.value=!1,k(()=>p(n)))};return{isComposing:a,handleComposition:n=>{n.type==="compositionend"?e(n):u(n)},handleCompositionStart:c,handleCompositionUpdate:u,handleCompositionEnd:e}}export{A as a,y as u}; +======== +import{N as x,D as E,aT as f,b8 as v,f as r,aQ as T,y as g,cf as b,P as k}from"./index-CxbBjZKo.js";function y(p,{disabled:o,beforeFocus:a,afterFocus:c,beforeBlur:u,afterBlur:e}={}){const{emit:d}=x(),n=T(),i=g(!1),h=s=>{const t=v(a)?a(s):!1;r(o)||i.value||t||(i.value=!0,d("focus",s),c==null||c())},C=s=>{var l;const t=v(u)?u(s):!1;r(o)||s.relatedTarget&&((l=n.value)!=null&&l.contains(s.relatedTarget))||t||(i.value=!1,d("blur",s),e==null||e())},m=s=>{var t,l;r(o)||b(s.target)||(t=n.value)!=null&&t.contains(document.activeElement)&&n.value!==document.activeElement||(l=p.value)==null||l.focus()};return E([n,()=>r(o)],([s,t])=>{s&&(t?s.removeAttribute("tabindex"):s.setAttribute("tabindex","-1"))}),f(n,"focus",h,!0),f(n,"blur",C,!0),f(n,"click",m,!0),{isFocused:i,wrapperRef:n,handleFocus:h,handleBlur:C}}function A({afterComposition:p,emit:o}){const a=g(!1),c=n=>{o==null||o("compositionstart",n),a.value=!0},u=n=>{o==null||o("compositionupdate",n),a.value=!0},e=n=>{o==null||o("compositionend",n),a.value&&(a.value=!1,k(()=>p(n)))};return{isComposing:a,handleComposition:n=>{n.type==="compositionend"?e(n):u(n)},handleCompositionStart:c,handleCompositionUpdate:u,handleCompositionEnd:e}}export{A as a,y as u}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-C4wGR5UT.js diff --git a/frontend/dist/assets/index-CD29OCdJ.js b/frontend/dist/assets/index-CD29OCdJ.js index 1f6f521..6e76315 100644 --- a/frontend/dist/assets/index-CD29OCdJ.js +++ b/frontend/dist/assets/index-CD29OCdJ.js @@ -1,4 +1,10 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-CD29OCdJ.js const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LoginView-Pwx0U7_G.js","assets/el-form-item--AdlsBF7.js","assets/index-6OTFNiIi.js","assets/castArray-BEiueV6y.js","assets/_baseClone-Blem5BWg.js","assets/el-form-item-D_relxjU.css","assets/index-D0wqu88j.js","assets/raf-DGtHIxe2.js","assets/index-C8FAS7l2.js","assets/index-DpY84JwG.js","assets/el-checkbox-Pnt9POcY.js","assets/omit-9H73Nvwk.js","assets/el-checkbox-CzNtyWdF.css","assets/logo-CxXS7KxG.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/LoginView-BnSabjr1.css","assets/GuideView-enryb6Zk.js","assets/GuideView-CaCcm19L.css","assets/MainLayout-CMUyfVBl.js","assets/el-popper-DIiB8Y-M.js","assets/index-BpugJXyE.js","assets/el-popper-Wf_ds9r7.css","assets/el-scrollbar-YCRG1835.js","assets/el-scrollbar-GF-yQkxY.css","assets/el-avatar-LJbp0pVv.js","assets/vnode-_QM9LlTR.js","assets/el-avatar-DOlF0Z_P.css","assets/index-nU1bUa76.js","assets/index-D1b786GX.js","assets/el-tooltip-l0sNRNKZ.js","assets/models-OcIATFUq.js","assets/model-e1J4FzWC.js","assets/MainLayout-C4Xu6RsD.css","assets/DashboardView-UzAEO37o.js","assets/el-tag-C4SnL2z_.js","assets/el-tag-1VV9QMa7.css","assets/el-select-dn4MhMwo.js","assets/scroll-D-TPweuo.js","assets/clamp-BfrLWns4.js","assets/toNumber-B6P5MqPp.js","assets/_baseIteratee-CuPmYyG4.js","assets/el-select-CK58rX4v.css","assets/el-progress-B102G_mC.js","assets/el-progress-apgqz2By.css","assets/install-qcIyCJ5C.js","assets/createSeriesDataSimply-DCIhUlI4.js","assets/DashboardView-BMPZwafh.css","assets/FineTuneListView-BIriCVCj.js","assets/el-table-CzpPw-qp.js","assets/debounce-BCyqG5kC.js","assets/el-table-D97MvEgu.css","assets/dropdown-6w4BXBMV.js","assets/DataTablePage-DQMBzHmK.js","assets/el-card-BvbOkvag.js","assets/el-card-BAyktVMS.css","assets/el-pagination-B1UdckVp.js","assets/el-pagination-CDeFZDGO.css","assets/directive-DsbMrhCX.js","assets/index-BpXxrg-6.js","assets/validator-BQ0LVwAS.js","assets/index-D9N-GMuA.js","assets/index-roSlfP_P.js","assets/DataTablePage-nV2v3ghG.css","assets/ModelStatusTag.vue_vue_type_script_setup_true_lang-CBSAQmYm.js","assets/status-Dl1fykxa.js","assets/usePolling-C71_cNpk.js","assets/fineTune-Bk0aeL4k.js","assets/FineTuneListView-CYVd4cuQ.css","assets/el-checkbox-group-D_6SYB2i.css","assets/FineTuneCreateView-BneYvP-u.js","assets/el-radio-group-11DJtD5j.js","assets/el-radio-group-iy_biC8N.css","assets/el-divider-Bk8dYjWT.js","assets/el-divider-B0pQhKGi.css","assets/el-input-number-CUR6qfYr.js","assets/index-sBiRi5wE.js","assets/el-input-number-DExoAqKP.css","assets/PageCard-Byh3epid.js","assets/PageCard-D_q9xBAd.css","assets/el-dialog-Dl0YWHPs.js","assets/use-dialog-DvXGfCuS.js","assets/el-dialog-DdHdkgt4.css","assets/el-empty-DRpYG49w.js","assets/el-empty-S7fQQ3B8.css","assets/el-tab-pane-B-_eO3QM.js","assets/el-tab-pane-LzsQQ_QK.css","assets/dataset-C17jngxQ.js","assets/FineTuneCreateView-CgnCRBJT.css","assets/EvalView-C0x_69hs.js","assets/eval-DOgh3EN6.js","assets/EvalView-CB5BSC8Y.css","assets/EvalCreateView-C0PNcpNv.js","assets/el-alert-DiB50G4H.js","assets/el-alert-B6UgayC7.css","assets/el-switch-4ONH-tca.js","assets/el-switch-DpR9-s4E.css","assets/DimensionFormFields-BI47UlOW.js","assets/el-slider-D0ESR8FK.js","assets/el-slider-KlqpaRgh.css","assets/DimensionFormFields-jElmd60O.css","assets/el-descriptions-DiaKmrx7.js","assets/el-descriptions-BpDzfuC8.css","assets/el-space-D9rRhpBy.js","assets/el-space-CzNlr7lQ.css","assets/EvalCreateView-DW15zgvp.css","assets/EvalDetailView-C43-RGNJ.js","assets/EvalDetailView-Clfyt0He.css","assets/DimensionCreateView-DmpAGcF5.js","assets/InferenceListView-DO5M-qrX.js","assets/compare-BAX_umRe.js","assets/InferenceCreateView-BGXlDLGY.js","assets/InferenceChatView-mqKHZA9k.js","assets/el-drawer-CJxSltWc.js","assets/el-drawer-4RO73nWn.css","assets/MarkdownView.vue_vue_type_style_index_0_lang-Cz6hZilm.js","assets/MarkdownView-C0RlwvJo.css","assets/InferenceChatView-dVyzm1FM.css","assets/CompareChatView-DnIa-VgS.js","assets/CompareChatView-yGYtaxtI.css","assets/CompareResultView-Tb9cDf_Y.js","assets/CompareResultView-DlLosvn8.css","assets/ModelManageView-BppHpPsH.js","assets/ModelManageView-B6vWdbQY.css","assets/ModelCreateView-B0Oz5A1W.js","assets/ModelCreateView-cLO_UPLT.css","assets/MergeWeightsView-BO1R6zSn.js","assets/MergeWeightsView-B8jVfM-U.css","assets/DataProcessListView-CqPZhFsY.js","assets/dataProcess-CvvVdP7v.js","assets/DataProcessListView-CwNCrfTT.css","assets/DataProcessCreateView-hzx90rN5.js","assets/AppConfirmDialog-BI5Yud_k.js","assets/AppConfirmDialog-zFD3Iwu_.css","assets/el-upload-swsSyuSG.js","assets/el-upload-Bit6Pm_l.css","assets/DataProcessCreateView-DwG7UwUm.css","assets/DataProcessDetailView-MThu8JZ1.js","assets/DataProcessDetailView-BD4hA9w3.css","assets/DatasetListView-D5jnNl92.js","assets/DatasetListView-CReMcPGE.css","assets/DatasetCreateView-COHS3nji.js","assets/DatasetCreateView-D2g2qvbH.css","assets/DatasetPreviewView-DbgPnKVJ.js","assets/DatasetPreviewView-DO7Vb8Tp.css","assets/ToolsView-DdacMfUU.js","assets/tools-BtFo8ZQX.js","assets/ToolsView-CbkbUKba.css","assets/ToolCreateView-lcYDZ0-7.js","assets/ToolCreateView-ClRXoWew.css","assets/DataConvertView-BU-Ft2V_.js","assets/DataConvertView-DJuX-JIl.css","assets/ComputeNodesView-B7VHXln-.js","assets/ComputeNodesView-BZOegsoz.css","assets/PermissionDeniedView-dU_Hxnqq.js","assets/PermissionDeniedView-DWdcJnMf.css","assets/HardwareView-phe2wnd_.js","assets/install-SWGc2FUJ.js","assets/HardwareView-DcounnQ-.css","assets/LogsView-ChHlR1B5.js","assets/log-zu0oGQLa.js","assets/LogsView-Np1qgq3l.css","assets/UserSettingsView-vyAWi5AU.js","assets/UserSettingsView-D5LgrnVq.css","assets/UserCreateView-1_wiIcSK.js","assets/UserCreateView-BWW-0yZS.css","assets/UserPermissionView-C1th-WtT.js","assets/UserPermissionView-C2mbs5Zk.css","assets/TrainingLogView-CKuj7x1Y.js","assets/TrainingLogView-D3R_RqyG.css"])))=>i.map(i=>d[i]); +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-Ds9AETjS.js +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LoginView-DxdhlDPY.js","assets/el-form-item-Bq0n_p5a.js","assets/index-BNsCyG4A.js","assets/castArray-BWI4UxBy.js","assets/_baseClone-CZxxnGCv.js","assets/el-form-item-D_relxjU.css","assets/index-h5FkzAP_.js","assets/raf-zQ00nuMI.js","assets/index-B0if-AHo.js","assets/index-BSbCLbaz.js","assets/el-checkbox-pV3o_8iy.js","assets/omit-BzI1MV_K.js","assets/el-checkbox-CzNtyWdF.css","assets/logo-CxXS7KxG.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/LoginView-BnSabjr1.css","assets/GuideView-CiALCc3O.js","assets/GuideView-CaCcm19L.css","assets/MainLayout-CH9dDYMJ.js","assets/el-popper-D1tByNLb.js","assets/index-sWKLi7bH.js","assets/el-popper-Wf_ds9r7.css","assets/el-scrollbar-CF42LNzg.js","assets/el-scrollbar-GF-yQkxY.css","assets/el-avatar-CNBfYcqk.js","assets/vnode-CBiWHFw7.js","assets/el-avatar-DOlF0Z_P.css","assets/index-Tr1QMyk2.js","assets/index-CQlF36Lk.js","assets/el-tooltip-l0sNRNKZ.js","assets/models-a1fp9IUS.js","assets/model-cWd9CDtT.js","assets/MainLayout-C4Xu6RsD.css","assets/DashboardView-NO-FdQqU.js","assets/index-ByhS8A1d.js","assets/el-select-BD70by95.js","assets/scroll-DVmMv0d9.js","assets/clamp-CyhADbdq.js","assets/toNumber-DrayciwT.js","assets/_baseIteratee-82gB5Yov.js","assets/el-select-CK58rX4v.css","assets/el-progress-Dz5Z3t_E.js","assets/el-progress-apgqz2By.css","assets/install-Dw0-DbLK.js","assets/createSeriesDataSimply-DRfvkeEt.js","assets/DashboardView-BMPZwafh.css","assets/el-tag-1VV9QMa7.css","assets/FineTuneListView-CuiRAa28.js","assets/el-table-C7Zx0Bmo.js","assets/debounce-D6mJVDYC.js","assets/el-table-D97MvEgu.css","assets/dropdown-CtOpTBjN.js","assets/DataTablePage-DzEUb2tf.js","assets/el-card-D86TXgMv.js","assets/el-card-BAyktVMS.css","assets/el-pagination-C9R_oTJ1.js","assets/el-pagination-CDeFZDGO.css","assets/directive-B1cwmVOz.js","assets/index-DqJTjrY3.js","assets/validator-D1MwuZXj.js","assets/index-jBnYrPdD.js","assets/index-RtwaMutE.js","assets/DataTablePage-CHPswbwi.css","assets/ModelStatusTag.vue_vue_type_script_setup_true_lang-CHgevs5i.js","assets/usePolling-Bx2QCw4O.js","assets/fineTune-gpXL2oJt.js","assets/FineTuneListView-CYVd4cuQ.css","assets/el-checkbox-group-D_6SYB2i.css","assets/FineTuneCreateView-CJLb90K1.js","assets/el-radio-group-DxV9SE4w.js","assets/el-radio-group-iy_biC8N.css","assets/el-divider-a924dciw.js","assets/el-divider-B0pQhKGi.css","assets/el-input-number-Bg2C0S8w.js","assets/index-2LOSO4Pw.js","assets/el-input-number-DExoAqKP.css","assets/PageCard-CV3p14-x.js","assets/PageCard-D_q9xBAd.css","assets/el-dialog-C3T3IeSf.js","assets/use-dialog-gWD8AZr4.js","assets/el-dialog-DdHdkgt4.css","assets/el-empty-CIm5osBY.js","assets/el-empty-S7fQQ3B8.css","assets/el-tab-pane-BPBw4wQ7.js","assets/el-tab-pane-LzsQQ_QK.css","assets/dataset-BWM6p-mU.js","assets/FineTuneCreateView-Dbr8mf56.css","assets/EvalView-Eldo4kFi.js","assets/eval-RqHG_SzR.js","assets/EvalView--2TVFV5G.css","assets/EvalCreateView-CV3hMaqs.js","assets/el-alert-CoSdHkeK.js","assets/el-alert-B6UgayC7.css","assets/el-switch-DflKYtBf.js","assets/el-switch-DpR9-s4E.css","assets/DimensionFormFields-Bvlt4Km3.js","assets/el-slider-mZJHOhL2.js","assets/el-slider-KlqpaRgh.css","assets/DimensionFormFields-jElmd60O.css","assets/el-descriptions-CsapHleL.js","assets/el-descriptions-BpDzfuC8.css","assets/el-space-Dgiuu1ME.js","assets/el-space-CzNlr7lQ.css","assets/EvalCreateView-DW15zgvp.css","assets/EvalDetailView-Cr82ho8I.js","assets/EvalDetailView-Clfyt0He.css","assets/DimensionCreateView-l0omXzHp.js","assets/InferenceListView-B74C2RPL.js","assets/compare-fmy9bbtE.js","assets/InferenceCreateView-D9JfMwNe.js","assets/InferenceChatView-nI4RM9OF.js","assets/el-drawer-BDGl0H79.js","assets/el-drawer-4RO73nWn.css","assets/MarkdownView.vue_vue_type_style_index_0_lang-CNORZ6uG.js","assets/MarkdownView-C0RlwvJo.css","assets/InferenceChatView-dVyzm1FM.css","assets/CompareChatView-BVdMCKbe.js","assets/CompareChatView-wm3b2ZD9.css","assets/CompareResultView-DOPqATtj.js","assets/CompareResultView-DlLosvn8.css","assets/ModelManageView-CSQiXUqK.js","assets/ModelManageView-SqczPXXo.css","assets/ModelCreateView-rx4YrtfV.js","assets/ModelCreateView-cLO_UPLT.css","assets/MergeWeightsView-lUYxd1a_.js","assets/MergeWeightsView-B8jVfM-U.css","assets/DataProcessListView-C3R_ds-j.js","assets/DataProcessListView-D6X_r5Q_.css","assets/DataProcessCreateView-BUfBIY00.js","assets/AppConfirmDialog-DssSJ2jv.js","assets/AppConfirmDialog-zFD3Iwu_.css","assets/el-upload-9Z6SSyNu.js","assets/el-upload-Bit6Pm_l.css","assets/DataProcessCreateView-DyU55R2b.css","assets/DataProcessDetailView-kmoLJ2yJ.js","assets/DataProcessDetailView-B1q0P6u8.css","assets/DatasetListView-CF1w9JzC.js","assets/DatasetListView-CReMcPGE.css","assets/DatasetCreateView-CCIPqE-L.js","assets/DatasetCreateView-D2g2qvbH.css","assets/DatasetPreviewView-Bl5eFjFu.js","assets/DatasetPreviewView-DO7Vb8Tp.css","assets/ToolsView-D4cqXALF.js","assets/tools-s3Et6p-2.js","assets/ToolsView-CbkbUKba.css","assets/ToolCreateView-BGgtRypT.js","assets/ToolCreateView-ClRXoWew.css","assets/DataConvertView-Bog-IlBb.js","assets/DataConvertView-DJuX-JIl.css","assets/ComputeNodesView-BGkUyXxx.js","assets/ComputeNodesView-Czj9vH6H.css","assets/PermissionDeniedView-Caq1gqLf.js","assets/PermissionDeniedView-DWdcJnMf.css","assets/HardwareView-liD1i5KX.js","assets/install-DTeJJHvq.js","assets/HardwareView-DcounnQ-.css","assets/LogsView-CxeOiep3.js","assets/log-Cy7JR5af.js","assets/LogsView-Np1qgq3l.css","assets/UserSettingsView-CF5QiqZ2.js","assets/UserSettingsView-DKVS0cYk.css","assets/UserCreateView-H9YbwuR2.js","assets/UserCreateView-BWW-0yZS.css","assets/UserPermissionView-BQ5QgCsL.js","assets/UserPermissionView-C2mbs5Zk.css","assets/TrainingLogView-vqWaCjXA.js","assets/TrainingLogView-DGSpikbN.css"])))=>i.map(i=>d[i]); +======== +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LoginView-Q_NnBv06.js","assets/el-form-item-BA3ZlfqF.js","assets/index-D23K2h6y.js","assets/castArray-CwVgzdTt.js","assets/_baseClone-B6d4qZbo.js","assets/el-form-item-D_relxjU.css","assets/index-zJ9bqPrh.js","assets/raf-Bjl8yy5U.js","assets/index-C4wGR5UT.js","assets/index-DxP0p4ch.js","assets/el-checkbox-C_TzqU9u.js","assets/omit-CbHF-OEy.js","assets/el-checkbox-CzNtyWdF.css","assets/logo-CxXS7KxG.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/LoginView-DurC5Xb4.css","assets/GuideView-3g5nbKBg.js","assets/GuideView-BuVTsF9M.css","assets/MainLayout-DxO92V1w.js","assets/el-popper-OAwpEmER.js","assets/index-DHcidAHK.js","assets/el-popper-Wf_ds9r7.css","assets/el-scrollbar-B0E7ZTt3.js","assets/el-scrollbar-GF-yQkxY.css","assets/el-avatar-C4z1rEZv.js","assets/vnode-DIVHEdsp.js","assets/el-avatar-DOlF0Z_P.css","assets/index-Bp52mKPt.js","assets/index-Bzaib5AU.js","assets/el-tooltip-l0sNRNKZ.js","assets/models-WwcwjK0u.js","assets/model-B9dq9fy6.js","assets/MainLayout-BCu2Uo8K.css","assets/DashboardView-Demq0LOI.js","assets/index-BjlLyKON.js","assets/el-select-CeiDjMzB.js","assets/scroll-Dvb2mTx8.js","assets/clamp-Ow4I6lPc.js","assets/toNumber-Yuob3eJv.js","assets/_baseIteratee-C6JbNheX.js","assets/el-select-CK58rX4v.css","assets/el-progress-Br676mBH.js","assets/el-progress-apgqz2By.css","assets/install-i_dmuKuk.js","assets/createSeriesDataSimply-MGSYAhUE.js","assets/DashboardView-Dk-G3HhP.css","assets/el-tag-1VV9QMa7.css","assets/FineTuneListView-DiOkr_gD.js","assets/el-table-b_qkWXYf.js","assets/debounce-BJxjS5F3.js","assets/el-table-D97MvEgu.css","assets/dropdown-yHGqI4WU.js","assets/DataTablePage-C1WQGBXF.js","assets/el-card-BsCFVTSD.js","assets/el-card-BAyktVMS.css","assets/el-pagination-ByKJEnCx.js","assets/el-pagination-CDeFZDGO.css","assets/directive-DCr8Ae3g.js","assets/index-CLZoQJ1o.js","assets/validator-AVoXfk3G.js","assets/index-C3HZL-2Y.js","assets/index-36LucyXi.js","assets/DataTablePage-C4LN7Pt2.css","assets/ModelStatusTag.vue_vue_type_script_setup_true_lang-CUZ4SBb2.js","assets/usePolling-D0edaRGY.js","assets/fineTune-C-jGF1Jc.js","assets/FineTuneListView-DHl7bZ3e.css","assets/el-checkbox-group-D_6SYB2i.css","assets/FineTuneCreateView-Cz_5yMnR.js","assets/el-radio-group-BJiEgTS_.js","assets/el-radio-group-iy_biC8N.css","assets/el-divider-B4fvp0nA.js","assets/el-divider-B0pQhKGi.css","assets/el-input-number-Ba6IqA7Z.js","assets/index-ZKnv_mga.js","assets/el-input-number-DExoAqKP.css","assets/PageCard-CC9cofwx.js","assets/PageCard-CagWOgY3.css","assets/el-dialog-fpsmuz8Z.js","assets/use-dialog-DGVjglW6.js","assets/el-dialog-DdHdkgt4.css","assets/el-empty-DUcrYyo6.js","assets/el-empty-S7fQQ3B8.css","assets/el-tab-pane-DQY-HDUC.js","assets/el-tab-pane-LzsQQ_QK.css","assets/dataset-BdzlocXa.js","assets/FineTuneCreateView-SMgRyQ_C.css","assets/EvalView-DKVRGpUe.js","assets/eval-BLcZ-A_I.js","assets/EvalView-Bd4r6it-.css","assets/EvalCreateView-DhvGYj5M.js","assets/el-alert-Ty1qfW58.js","assets/el-alert-B6UgayC7.css","assets/el-switch-EBBsaB1p.js","assets/el-switch-DpR9-s4E.css","assets/DimensionFormFields-bC-zvb-R.js","assets/el-slider-CPsf2yeE.js","assets/el-slider-KlqpaRgh.css","assets/DimensionFormFields-m3yQWFvt.css","assets/el-descriptions-BNd8WHaD.js","assets/el-descriptions-BpDzfuC8.css","assets/el-space-9hUfFaMV.js","assets/el-space-CzNlr7lQ.css","assets/EvalCreateView-BGllY7Gc.css","assets/EvalDetailView-BJu9nn43.js","assets/EvalDetailView-Cq93pccF.css","assets/DimensionCreateView-BGQzQW6r.js","assets/InferenceListView-B67fPddK.js","assets/compare-DtYcNyhY.js","assets/InferenceCreateView-NSg6vwcm.js","assets/InferenceChatView-D5OD0NwF.js","assets/el-drawer-DaAwE3bJ.js","assets/el-drawer-4RO73nWn.css","assets/MarkdownView.vue_vue_type_style_index_0_lang-BKsnCmpO.js","assets/MarkdownView-C0RlwvJo.css","assets/InferenceChatView-BUsWenWa.css","assets/CompareChatView-iaZgEQ8s.js","assets/CompareChatView-DrSndDVG.css","assets/CompareResultView-BlQYt7fl.js","assets/CompareResultView-DcZvYm8N.css","assets/ModelManageView-FQBUSn0C.js","assets/ModelManageView-Dk83xTM-.css","assets/ModelCreateView-DTPv4yI8.js","assets/ModelCreateView-ioLfAur0.css","assets/MergeWeightsView-DS-5jMr9.js","assets/MergeWeightsView-CrawQHZC.css","assets/DataProcessListView-B4pOm5Q_.js","assets/dataProcess-DXC9XrKo.js","assets/DataProcessListView-D--2V8HO.css","assets/DataProcessCreateView-jyj-tLuh.js","assets/AppConfirmDialog-D93e215T.js","assets/AppConfirmDialog-Bk_vjo5o.css","assets/el-upload-CLbTdSbQ.js","assets/el-upload-Bit6Pm_l.css","assets/DataProcessCreateView-D8CxzaN5.css","assets/DataProcessDetailView-gE1enluH.js","assets/DataProcessDetailView-D3Stz31J.css","assets/DatasetListView-f5ydkZni.js","assets/DatasetListView-BClt_Ip_.css","assets/DatasetCreateView-tR9bKxGq.js","assets/DatasetCreateView-Cv3osIe8.css","assets/DatasetPreviewView-Lebw9VGN.js","assets/DatasetPreviewView-BPL99X5w.css","assets/ToolsView-Bcj_uv2O.js","assets/tools-DNEgEZeS.js","assets/ToolsView-B-CVG2uO.css","assets/ToolCreateView-CsnoBuBA.js","assets/ToolCreateView-Bl0pHgUd.css","assets/DataConvertView-Ts55u_8c.js","assets/DataConvertView-rvGLlrQa.css","assets/ComputeNodesView-DGj1xqt1.js","assets/ComputeNodesView-BTH2GWs1.css","assets/PermissionDeniedView-EZx3s9_N.js","assets/PermissionDeniedView-Ac-Po9jU.css","assets/HardwareView-DL8UFEoH.js","assets/install-yQKxYHXo.js","assets/HardwareView-CpvcIwdL.css","assets/LogsView-DmeeKzFp.js","assets/log-jDwH_n_V.js","assets/LogsView-Dmh1BeLU.css","assets/UserSettingsView-KcaztqRe.js","assets/UserSettingsView-D6NpqMem.css","assets/UserCreateView-mg48VYjL.js","assets/UserCreateView-CfeJQfhD.css","assets/UserPermissionView-cVCnBmji.js","assets/UserPermissionView-BOUnt_jj.css","assets/TrainingLogView-Ds903_wK.js","assets/TrainingLogView-r7NZOokp.css"])))=>i.map(i=>d[i]); +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-CxbBjZKo.js (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();const fd="modulepreload",dd=function(e){return"/"+e},Ji={},de=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let i=function(u){return Promise.all(u.map(c=>Promise.resolve(c).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));s=i(n.map(u=>{if(u=dd(u),u in Ji)return;Ji[u]=!0;const c=u.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${f}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":fd,c||(d.as="script"),d.crossOrigin="",d.href=u,l&&d.setAttribute("nonce",l),document.head.appendChild(d),c)return new Promise((p,y)=>{d.addEventListener("load",p),d.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})};/** * @vue/shared v3.5.39 * (c) 2018-present Yuxi (Evan) You and Vue contributors @@ -36,4 +42,10 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:r,curr * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT +<<<<<<<< HEAD:frontend/dist/assets/index-CD29OCdJ.js */let qy=()=>location.protocol+"//"+location.host;function ad(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let i=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(i);return a[0]!=="/"&&(a="/"+a),Ml(a,"")}return Ml(n,e)+r+s}function Wy(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const p=ad(e,location),y=n.value,g=t.value;let v=0;if(d){if(n.value=p,t.value=d,i&&i===y){i=null;return}v=g?d.position-g.position:0}else r(p);s.forEach(_=>{_(n.value,y,{delta:v,type:oi.pop,direction:v?v>0?Po.forward:Po.back:Po.unknown})})};function l(){i=n.value}function u(d){s.push(d);const p=()=>{const y=s.indexOf(d);y>-1&&s.splice(y,1)};return o.push(p),p}function c(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(Se({},d.state,{scroll:oo()}),"")}}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:l,listen:u,destroy:f}}function Ul(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?oo():null}}function Ky(e){const{history:t,location:n}=window,r={value:ad(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:qy()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),s.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function i(l,u){o(l,Se({},t.state,Ul(s.value.back,l,s.value.forward,!0),u,{position:s.value.position}),!0),r.value=l}function a(l,u){const c=Se({},s.value,t.state,{forward:l,scroll:oo()});o(c.current,c,!0),o(l,Se({},Ul(r.value,l,null),{position:c.position+1},u),!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function Gy(e){e=Ly(e);const t=Ky(e),n=Wy(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=Se({location:"",base:e,go:r,createHref:Ny.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}let yn=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Be=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Be||{});const Jy={type:yn.Static,value:""},Yy=/[a-zA-Z0-9_]/;function Qy(e){if(!e)return[[]];if(e==="/")return[[Jy]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=Be.Static,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,u="",c="";function f(){u&&(n===Be.Static?o.push({type:yn.Static,value:u}):n===Be.Param||n===Be.ParamRegExp||n===Be.ParamRegExpEnd?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:yn.Param,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;at.length?t.length===1&&t[0]===tt.Static+tt.Segment?1:-1:0}function ld(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const nb={strict:!1,end:!0,sensitive:!1};function rb(e,t,n){const r=eb(Qy(e.path),n),s=Se(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function sb(e,t){const n=[],r=new Map;t=Dl(nb,t);function s(f){return r.get(f)}function o(f,d,p){const y=!p,g=zl(f);g.aliasOf=p&&p.record;const v=Dl(t,f),_=[g];if("alias"in f){const T=typeof f.alias=="string"?[f.alias]:f.alias;for(const D of T)_.push(zl(Se({},g,{components:p?p.record.components:g.components,path:D,aliasOf:p?p.record:g})))}let b,x;for(const T of _){const{path:D}=T;if(d&&D[0]!=="/"){const J=d.record.path,W=J[J.length-1]==="/"?"":"/";T.path=d.record.path+(D&&W+D)}if(b=rb(T,d,v),p?p.alias.push(b):(x=x||b,x!==b&&x.alias.push(b),y&&f.name&&!ql(b)&&i(f.name)),cd(b)&&l(b),g.children){const J=g.children;for(let W=0;W{i(x)}:Rr}function i(f){if(sd(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){const d=ab(f,n);n.splice(d,0,f),f.record.name&&!ql(f)&&r.set(f.record.name,f)}function u(f,d){let p,y={},g,v;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw tr(Ie.MATCHER_NOT_FOUND,{location:f});v=p.record.name,y=Se(kl(d.params,p.keys.filter(x=>!x.optional).concat(p.parent?p.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),f.params&&kl(f.params,p.keys.map(x=>x.name))),g=p.stringify(y)}else if(f.path!=null)g=f.path,p=n.find(x=>x.re.test(g)),p&&(y=p.parse(g),v=p.record.name);else{if(p=d.name?r.get(d.name):n.find(x=>x.re.test(d.path)),!p)throw tr(Ie.MATCHER_NOT_FOUND,{location:f,currentLocation:d});v=p.record.name,y=Se({},d.params,f.params),g=p.stringify(y)}const _=[];let b=p;for(;b;)_.unshift(b.record),b=b.parent;return{name:v,path:g,params:y,matched:_,meta:ib(_)}}e.forEach(f=>o(f));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:c,getRoutes:a,getRecordMatcher:s}}function kl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function zl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:ob(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function ob(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function ql(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ib(e){return e.reduce((t,n)=>Se(t,n.meta),{})}function ab(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;ld(e,t[o])<0?r=o:n=o+1}const s=lb(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function lb(e){let t=e;for(;t=t.parent;)if(cd(t)&&ld(e,t)===0)return t}function cd({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Wl(e){const t=De(io),n=De(zi),r=Z(()=>{const l=ue(e.to);return t.resolve(l)}),s=Z(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(er.bind(null,c));if(d>-1)return d;const p=Kl(l[u-2]);return u>1&&Kl(c)===p&&f[f.length-1].path!==p?f.findIndex(er.bind(null,l[u-2])):d}),o=Z(()=>s.value>-1&&pb(n.params,r.value.params)),i=Z(()=>s.value>-1&&s.value===n.matched.length-1&&rd(n.params,r.value.params));function a(l={}){if(db(l)){const u=t[ue(e.replace)?"replace":"push"](ue(e.to)).catch(Rr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:Z(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}function cb(e){return e.length===1?e[0]:e}const ub=_e({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Wl,setup(e,{slots:t}){const n=Vr(Wl(e)),{options:r}=De(io),s=Z(()=>({[Gl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Gl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&cb(t.default(n));return e.custom?o:Ai("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),fb=ub;function db(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function pb(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Et(s)||s.length!==r.length||r.some((o,i)=>o.valueOf()!==s[i].valueOf()))return!1}return!0}function Kl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Gl=(e,t,n)=>e??t??n,hb=_e({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=De(ai),s=Z(()=>e.route||r.value),o=De(jl,0),i=Z(()=>{let u=ue(o);const{matched:c}=s.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=Z(()=>s.value.matched[i.value]);Er(jl,Z(()=>i.value+1)),Er(id,a),Er(ai,s);const l=Ne();return at(()=>[l.value,a.value,e.name],([u,c,f],[d,p,y])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!er(c,p)||!d)&&(c.enterCallbacks[f]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=s.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return Jl(n.default,{Component:d,route:u});const p=f.props[c],y=p?p===!0?u.params:typeof p=="function"?p(u):p:null,v=Ai(d,Se({},y,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Jl(n.default,{Component:v,route:u})||v}}});function Jl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const mb=hb;function gb(e){const t=sb(e.routes,e),n=e.parseQuery||Vy,r=e.stringifyQuery||Bl,s=e.history,o=mr(),i=mr(),a=mr(),l=ot(Xt);let u=Xt;Un&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Co.bind(null,O=>""+O),f=Co.bind(null,xy),d=Co.bind(null,jr);function p(O,z){let V,K;return sd(O)?(V=t.getRecordMatcher(O),K=z):K=O,t.addRoute(K,V)}function y(O){const z=t.getRecordMatcher(O);z&&t.removeRoute(z)}function g(){return t.getRoutes().map(O=>O.record)}function v(O){return!!t.getRecordMatcher(O)}function _(O,z){if(z=Se({},z||l.value),typeof O=="string"){const E=Ro(n,O,z.path),C=t.resolve({path:E.path},z),S=s.createHref(E.fullPath);return Se(E,C,{params:d(C.params),hash:jr(E.hash),redirectedFrom:void 0,href:S})}let V;if(O.path!=null)V=Se({},O,{path:Ro(n,O.path,z.path).path});else{const E=Se({},O.params);for(const C in E)E[C]==null&&delete E[C];V=Se({},O,{params:f(E)}),z.params=f(z.params)}const K=t.resolve(V,z),ae=O.hash||"";K.params=c(d(K.params));const h=Ty(r,Se({},O,{hash:wy(ae),path:K.path})),m=s.createHref(h);return Se({fullPath:h,hash:ae,query:r===Bl?Hy(O.query):O.query||{}},K,{redirectedFrom:void 0,href:m})}function b(O){return typeof O=="string"?Ro(n,O,l.value.path):Se({},O)}function x(O,z){if(u!==O)return tr(Ie.NAVIGATION_CANCELLED,{from:z,to:O})}function T(O){return W(O)}function D(O){return T(Se(b(O),{replace:!0}))}function J(O,z){const V=O.matched[O.matched.length-1];if(V&&V.redirect){const{redirect:K}=V;let ae=typeof K=="function"?K(O,z):K;return typeof ae=="string"&&(ae=ae.includes("?")||ae.includes("#")?ae=b(ae):{path:ae},ae.params={}),Se({query:O.query,hash:O.hash,params:ae.path!=null?{}:O.params},ae)}}function W(O,z){const V=u=_(O),K=l.value,ae=O.state,h=O.force,m=O.replace===!0,E=J(V,K);if(E)return W(Se(b(E),{state:typeof E=="object"?Se({},ae,E.state):ae,force:h,replace:m}),z||V);const C=V;C.redirectedFrom=z;let S;return!h&&Cy(r,K,V)&&(S=tr(Ie.NAVIGATION_DUPLICATED,{to:C,from:K}),ne(K,K,!0,!1)),(S?Promise.resolve(S):k(C,K)).catch(A=>Ft(A)?Ft(A,Ie.NAVIGATION_GUARD_REDIRECT)?A:X(A):N(A,C,K)).then(A=>{if(A){if(Ft(A,Ie.NAVIGATION_GUARD_REDIRECT))return W(Se({replace:m},b(A.to),{state:typeof A.to=="object"?Se({},ae,A.to.state):ae,force:h}),z||C)}else A=F(C,K,!0,m,ae);return H(C,K,A),A})}function Y(O,z){const V=x(O,z);return V?Promise.reject(V):Promise.resolve()}function L(O){const z=xe.values().next().value;return z&&typeof z.runWithContext=="function"?z.runWithContext(O):O()}function k(O,z){let V;const[K,ae,h]=zy(O,z);V=Lo(K.reverse(),"beforeRouteLeave",O,z);for(const E of K)E.leaveGuards.forEach(C=>{V.push(sn(C,O,z))});const m=Y.bind(null,O,z);return V.push(m),ie(V).then(()=>{V=[];for(const E of o.list())V.push(sn(E,O,z));return V.push(m),ie(V)}).then(()=>{V=Lo(ae,"beforeRouteUpdate",O,z);for(const E of ae)E.updateGuards.forEach(C=>{V.push(sn(C,O,z))});return V.push(m),ie(V)}).then(()=>{V=[];for(const E of h)if(E.beforeEnter)if(Et(E.beforeEnter))for(const C of E.beforeEnter)V.push(sn(C,O,z));else V.push(sn(E.beforeEnter,O,z));return V.push(m),ie(V)}).then(()=>(O.matched.forEach(E=>E.enterCallbacks={}),V=Lo(h,"beforeRouteEnter",O,z,L),V.push(m),ie(V))).then(()=>{V=[];for(const E of i.list())V.push(sn(E,O,z));return V.push(m),ie(V)}).catch(E=>Ft(E,Ie.NAVIGATION_CANCELLED)?E:Promise.reject(E))}function H(O,z,V){a.list().forEach(K=>L(()=>K(O,z,V)))}function F(O,z,V,K,ae){const h=x(O,z);if(h)return h;const m=z===Xt,E=Un?history.state:{};V&&(K||m?s.replace(O.fullPath,Se({scroll:m&&E&&E.scroll},ae)):s.push(O.fullPath,ae)),l.value=O,ne(O,z,V,m),X()}let te;function B(){te||(te=s.listen((O,z,V)=>{if(!Pe.listening)return;const K=_(O),ae=J(K,Pe.currentRoute.value);if(ae){W(Se(ae,{replace:!0,force:!0}),K).catch(Rr);return}u=K;const h=l.value;Un&&$y(Fl(h.fullPath,V.delta),oo()),k(K,h).catch(m=>Ft(m,Ie.NAVIGATION_ABORTED|Ie.NAVIGATION_CANCELLED)?m:Ft(m,Ie.NAVIGATION_GUARD_REDIRECT)?(W(Se(b(m.to),{force:!0}),K).then(E=>{Ft(E,Ie.NAVIGATION_ABORTED|Ie.NAVIGATION_DUPLICATED)&&!V.delta&&V.type===oi.pop&&s.go(-1,!1)}).catch(Rr),Promise.reject()):(V.delta&&s.go(-V.delta,!1),N(m,K,h))).then(m=>{m=m||F(K,h,!1),m&&(V.delta&&!Ft(m,Ie.NAVIGATION_CANCELLED)?s.go(-V.delta,!1):V.type===oi.pop&&Ft(m,Ie.NAVIGATION_ABORTED|Ie.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),H(K,h,m)}).catch(Rr)}))}let M=mr(),R=mr(),I;function N(O,z,V){X(O);const K=R.list();return K.length?K.forEach(ae=>ae(O,z,V)):console.error(O),Promise.reject(O)}function re(){return I&&l.value!==Xt?Promise.resolve():new Promise((O,z)=>{M.add([O,z])})}function X(O){return I||(I=!O,B(),M.list().forEach(([z,V])=>O?V(O):z()),M.reset()),O}function ne(O,z,V,K){const{scrollBehavior:ae}=e;if(!Un||!ae)return Promise.resolve();const h=!V&&Fy(Fl(O.fullPath,0))||(K||!V)&&history.state&&history.state.scroll||null;return rr().then(()=>ae(O,z,h)).then(m=>m&&My(m)).catch(m=>N(m,O,z))}const ce=O=>s.go(O);let ye;const xe=new Set,Pe={currentRoute:l,listening:!0,addRoute:p,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:g,resolve:_,options:e,push:T,replace:D,go:ce,back:()=>ce(-1),forward:()=>ce(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:R.add,isReady:re,install(O){O.component("RouterLink",fb),O.component("RouterView",mb),O.config.globalProperties.$router=Pe,Object.defineProperty(O.config.globalProperties,"$route",{enumerable:!0,get:()=>ue(l)}),Un&&!ye&&l.value===Xt&&(ye=!0,T(s.location).catch(K=>{}));const z={};for(const K in Xt)Object.defineProperty(z,K,{get:()=>l.value[K],enumerable:!0});O.provide(io,Pe),O.provide(zi,zs(z)),O.provide(ai,l);const V=O.unmount;xe.add(O),O.unmount=function(){xe.delete(O),xe.size<1&&(u=Xt,te&&te(),te=null,l.value=Xt,ye=!1,I=!1),V()}}};function ie(O){return O.reduce((z,V)=>z.then(()=>L(V)),Promise.resolve())}return Pe}function pw(){return De(io)}function hw(e){return De(zi)}const mw=()=>Hi("/system-info"),gw=()=>Hi("/health"),_b=(e,t)=>Yf("/login",{username:e,password:t}),_w=()=>Hi("/users"),vw=e=>Yf("/users",e),yw={LLM:"大语言模型",CV:"计算机视觉",NLP:"自然语言处理",Embedding:"向量模型",Other:"其他"},bw={training:{text:"训练",type:"primary"},inference:{text:"推理",type:"success"},evaluation:{text:"评测",type:"warning"}},ww={local:"本地模型",api:"在线模型",online:"在线模型"},Ew={SFT:"SFT",DPO:"DPO",CPT:"CPT"},Sw={lora:"LoRA",qlora:"QLoRA",full:"全量微调",prefix:"Prefix Tuning",adapter:"Adapter",peft:"PEFT",adalora:"AdaLoRA",longlora:"LongLoRA",dpo:"DPO",cpt:"CPT"},xw={train:"训练数据",test:"测试数据",eval:"评测数据",val:"验证数据",other:"其他"},Ow={local:"本地存储",minio:"MinIO",cloud:"云存储"},Aw={classification:"大模型-分类型",metric:"大模型-指标型",text_similarity:"规则-文本相似度"},Tw=[{label:"cosine",value:"cosine"},{label:"linear",value:"linear"},{label:"constant",value:"constant"}],Cw=[{label:"不量化",value:0},{label:"8 bit",value:8},{label:"4 bit (QLoRA)",value:4}],Rw=[{label:"bitsandbytes",value:"bnb"},{label:"GPTQ",value:"gptq"},{label:"AWQ",value:"awq"},{label:"GGUF (llama.cpp)",value:"gguf"}],Pw=[{label:"Q4_K_M(推荐)",value:"Q4_K_M"},{label:"Q5_K_M",value:"Q5_K_M"},{label:"Q8_0",value:"Q8_0"},{label:"F16(不量化)",value:"F16"}],Lw=[{label:"Qwen 系列",options:[{label:"qwen",value:"qwen"},{label:"qwen2",value:"qwen2"},{label:"qwen2_5",value:"qwen2_5"}]},{label:"Llama 系列",options:[{label:"llama2",value:"llama2"},{label:"llama3",value:"llama3"},{label:"llama3_1",value:"llama3_1"}]},{label:"DeepSeek 系列",options:[{label:"deepseek",value:"deepseek"},{label:"deepseek2",value:"deepseek2"}]},{label:"其他系列",options:[{label:"glm4",value:"glm4"},{label:"chatglm3",value:"chatglm3"},{label:"gemma",value:"gemma"},{label:"gemma2",value:"gemma2"},{label:"phi",value:"phi"},{label:"intern2",value:"intern2"},{label:"mistral",value:"mistral"},{label:"default",value:"default"}]}],Iw=[{id:"data-generate",name:"数据生成",icon:"fa-database",description:"基于LLM生成微调数据集"},{id:"json2jsonl",name:"JSON转JSONL",icon:"fa-code",description:"将JSON文件转换为JSONL格式"},{id:"md-convert",name:"转换Markdown",icon:"fa-file-text",description:"将Markdown文件转换为训练数据"}],Nw=["fa-cog","fa-database","fa-code","fa-file-text","fa-wrench","fa-cube","fa-line-chart","fa-bar-chart","fa-server","fa-cogs","fa-tasks","fa-trophy","fa-sliders","fa-rocket","fa-cloud","fa-cloud-download","fa-microchip","fa-hdd-o","fa-globe","fa-info-circle","fa-question-circle-o","fa-user-o","fa-lock-o","fa-sign-in","fa-sign-out","fa-search","fa-plus","fa-refresh","fa-times","fa-check","fa-pencil","fa-trash","fa-play","fa-arrow-left","fa-arrow-down","fa-arrow-up"],vb=300*1e3,Is="currentUser",yb=["dashboard","fine-tune","model-eval","model-inference","model-manage","dataset","data-process","data-convert","compute","hardware","logs","user-settings"];function bb(){const e=localStorage.getItem(Is);if(e)try{return JSON.parse(e)}catch{localStorage.removeItem(Is)}return localStorage.getItem("username")==="admin"?{id:"USR-0001",username:"admin",display_name:"系统管理员",role:"admin",status:"active",permissions:yb,create_time:"2026-01-01T08:00:00+08:00",protected:!0}:null}const wb=e0("auth",()=>{const e=Ne(bb()),t=Z(()=>{var c;return((c=e.value)==null?void 0:c.username)||""}),n=Z(()=>{var c;return((c=e.value)==null?void 0:c.display_name)||t.value}),r=Z(()=>{var c,f;return((c=e.value)==null?void 0:c.role)==="admin"?"超级管理员":((f=e.value)==null?void 0:f.role)==="operator"?"操作员":"观察员"}),s=Ne(parseInt(localStorage.getItem("loginTime")||"0",10)||0),o=Z(()=>s.value?Date.now()-s.valuede(()=>import("./LoginView-Pwx0U7_G.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15])),meta:{title:"登录",public:!0}},{path:"/guide",name:"guide",component:()=>de(()=>import("./GuideView-enryb6Zk.js"),__vite__mapDeps([16,14,17])),meta:{title:"使用文档",skipPermission:!0}},{path:"/",component:()=>de(()=>import("./MainLayout-CMUyfVBl.js"),__vite__mapDeps([18,19,2,9,20,21,22,23,24,25,26,27,28,29,13,14,30,31,32])),redirect:"/dashboard",children:[{path:"dashboard",name:"dashboard",component:()=>de(()=>import("./DashboardView-UzAEO37o.js"),__vite__mapDeps([33,24,25,19,2,9,20,21,26,34,35,36,3,22,23,28,7,37,8,38,39,40,41,42,43,44,45,14,46])),meta:{title:"服务看板"}},{path:"fine-tune",name:"fine-tune",component:()=>de(()=>import("./FineTuneListView-BIriCVCj.js"),__vite__mapDeps([47,2,10,7,9,11,4,12,48,22,23,19,20,21,40,3,49,39,50,51,34,35,52,6,8,53,54,55,36,25,28,37,38,41,56,57,58,59,60,61,29,14,62,63,64,65,30,31,66,67,68])),meta:{title:"模型训练",pageSurface:"self"}},{path:"fine-tune/create",name:"fine-tune-create",component:()=>de(()=>import("./FineTuneCreateView-BneYvP-u.js"),__vite__mapDeps([69,1,2,3,4,5,19,9,20,21,6,7,8,36,25,22,23,28,34,35,37,38,39,40,41,70,11,71,72,73,74,75,76,29,77,53,54,14,78,79,61,80,60,81,82,83,84,85,66,31,86,87])),meta:{title:"创建训练任务"}},{path:"model-eval",name:"model-eval",component:()=>de(()=>import("./EvalView-C0x_69hs.js"),__vite__mapDeps([88,2,48,22,9,23,19,20,21,4,40,3,49,39,10,7,11,12,50,58,59,60,38,61,37,6,8,34,35,52,53,54,55,36,25,28,41,56,57,29,14,62,63,64,89,90])),meta:{title:"模型评测",pageSurface:"self"}},{path:"model-eval/create",name:"model-eval-create",component:()=>de(()=>import("./EvalCreateView-C0PNcpNv.js"),__vite__mapDeps([91,2,57,77,53,54,14,78,92,25,93,1,3,4,5,6,7,8,9,36,20,19,21,22,23,28,34,35,37,38,39,40,41,70,11,71,94,59,95,96,10,12,74,75,76,97,49,98,29,99,68,100,101,102,103,89,31,86,104])),meta:{title:"新建评测"}},{path:"model-eval/:id",name:"model-eval-detail",component:()=>de(()=>import("./EvalDetailView-C43-RGNJ.js"),__vite__mapDeps([105,6,7,8,2,9,34,35,36,20,3,25,19,21,22,23,28,37,38,39,40,41,55,56,42,43,48,4,49,10,11,12,50,57,29,77,53,54,14,78,63,64,89,106])),meta:{title:"评测详情"}},{path:"model-eval/dimension/create",name:"dimension-create",redirect:"/model-eval/create"},{path:"model-eval/dimension/:id/edit",name:"dimension-edit",component:()=>de(()=>import("./DimensionCreateView-DmpAGcF5.js"),__vite__mapDeps([107,1,2,3,4,5,6,7,8,9,77,53,54,14,78,96,36,20,25,19,21,22,23,28,34,35,37,38,39,40,41,10,11,12,70,71,74,75,76,97,49,98,94,59,95,29,99,68,89,31])),meta:{title:"编辑评测维度"}},{path:"model-inference",name:"model-inference",component:()=>de(()=>import("./InferenceListView-DO5M-qrX.js"),__vite__mapDeps([108,2,34,35,48,22,9,23,19,20,21,4,40,3,49,39,10,7,11,12,50,58,59,60,38,61,37,6,8,52,53,54,55,36,25,28,41,56,57,29,14,62,65,109,64])),meta:{title:"模型推理",pageSurface:"self"}},{path:"model-inference/create",name:"model-inference-create",component:()=>de(()=>import("./InferenceCreateView-BGXlDLGY.js"),__vite__mapDeps([110,92,25,93,1,2,3,4,5,6,7,8,9,36,20,19,21,22,23,28,34,35,37,38,39,40,41,72,73,77,53,54,14,78,31])),meta:{title:"新建推理"}},{path:"model-inference/chat/:id",name:"inference-chat",component:()=>de(()=>import("./InferenceChatView-mqKHZA9k.js"),__vite__mapDeps([111,1,2,3,4,5,6,7,8,9,27,112,20,61,37,80,113,97,74,75,76,19,21,49,39,38,98,29,114,115,109,14,116])),meta:{title:"模型对话",pageSurface:"self"}},{path:"model-compare/chat/:id",name:"compare-chat",component:()=>de(()=>import("./CompareChatView-DnIa-VgS.js"),__vite__mapDeps([117,1,2,3,4,5,6,7,8,9,34,35,72,73,97,74,75,76,19,20,21,49,39,38,98,29,77,53,54,14,78,65,109,64,118])),meta:{title:"模型对比"}},{path:"model-compare/result",name:"compare-result",component:()=>de(()=>import("./CompareResultView-Tb9cDf_Y.js"),__vite__mapDeps([119,92,25,93,2,34,35,53,54,114,115,109,14,120])),meta:{title:"对比结果"}},{path:"model-manage",name:"model-manage",component:()=>de(()=>import("./ModelManageView-BppHpPsH.js"),__vite__mapDeps([121,2,34,35,48,22,9,23,19,20,21,4,40,3,49,39,10,7,11,12,50,57,58,59,60,38,61,37,6,8,29,52,53,54,55,36,25,28,41,56,14,62,31,64,122])),meta:{title:"模型管理",pageSurface:"self"}},{path:"model-manage/create",name:"model-manage-create",component:()=>de(()=>import("./ModelCreateView-B0Oz5A1W.js"),__vite__mapDeps([123,1,2,3,4,5,19,9,20,21,6,7,8,36,25,22,23,28,34,35,37,38,39,40,41,70,11,71,57,29,77,53,54,14,78,31,124])),meta:{title:"添加模型"}},{path:"model-manage/:id/edit",name:"model-manage-edit",component:()=>de(()=>import("./ModelCreateView-B0Oz5A1W.js"),__vite__mapDeps([123,1,2,3,4,5,19,9,20,21,6,7,8,36,25,22,23,28,34,35,37,38,39,40,41,70,11,71,57,29,77,53,54,14,78,31,124])),meta:{title:"编辑模型"}},{path:"model-manage/merge",name:"merge-weights",component:()=>de(()=>import("./MergeWeightsView-BO1R6zSn.js"),__vite__mapDeps([125,92,25,93,1,2,3,4,5,6,7,8,9,34,35,77,53,54,14,78,31,126])),meta:{title:"合并权重"}},{path:"data-process",name:"data-process",component:()=>de(()=>import("./DataProcessListView-CqPZhFsY.js"),__vite__mapDeps([127,2,34,35,48,22,9,23,19,20,21,4,40,3,49,39,10,7,11,12,50,58,59,60,38,61,37,6,8,52,53,54,55,36,25,28,41,56,57,29,14,62,63,64,128,129])),meta:{title:"数据处理",pageSurface:"self"}},{path:"data-process/create",name:"data-process-create",component:()=>de(()=>import("./DataProcessCreateView-hzx90rN5.js"),__vite__mapDeps([130,2,131,14,132,1,3,4,5,6,7,8,9,10,11,12,74,75,76,36,20,25,19,21,22,23,28,34,35,37,38,39,40,41,97,49,98,94,59,95,29,55,56,133,42,43,134,128,30,31,135,68])),meta:{title:"新建数据处理任务",pageSurface:"self"}},{path:"data-process/:id",name:"data-process-detail",component:()=>de(()=>import("./DataProcessDetailView-MThu8JZ1.js"),__vite__mapDeps([136,92,25,93,1,2,3,4,5,19,9,20,21,6,7,8,34,35,36,22,23,28,37,38,39,40,41,79,61,80,60,81,55,56,42,43,48,49,10,11,12,50,57,58,59,29,77,53,54,14,78,63,64,65,128,137])),meta:{title:"数据处理详情"}},{path:"dataset",name:"dataset",component:()=>de(()=>import("./DatasetListView-D5jnNl92.js"),__vite__mapDeps([138,2,34,35,48,22,9,23,19,20,21,4,40,3,49,39,10,7,11,12,50,52,6,8,53,54,55,36,25,28,37,38,41,56,57,58,59,60,61,29,14,62,86,139])),meta:{title:"数据集管理",pageSurface:"self"}},{path:"dataset/create",name:"dataset-create",component:()=>de(()=>import("./DatasetCreateView-COHS3nji.js"),__vite__mapDeps([140,92,25,93,1,2,3,4,5,6,7,8,9,70,11,71,94,59,95,133,42,43,134,57,77,53,54,14,78,86,141])),meta:{title:"上传数据集"}},{path:"dataset/:id/edit",name:"dataset-edit",component:()=>de(()=>import("./DatasetCreateView-COHS3nji.js"),__vite__mapDeps([140,92,25,93,1,2,3,4,5,6,7,8,9,70,11,71,94,59,95,133,42,43,134,57,77,53,54,14,78,86,141])),meta:{title:"编辑数据集"}},{path:"dataset/:id/preview",name:"dataset-preview",component:()=>de(()=>import("./DatasetPreviewView-DbgPnKVJ.js"),__vite__mapDeps([142,92,25,93,19,2,9,20,21,34,35,57,58,59,60,38,39,61,37,7,6,8,29,131,14,132,77,53,54,78,86,36,3,22,23,28,40,41,51,79,80,81,55,56,48,4,49,10,11,12,50,1,5,143])),meta:{title:"数据集预览"}},{path:"tools",name:"tools",component:()=>de(()=>import("./ToolsView-DdacMfUU.js"),__vite__mapDeps([144,2,53,54,82,83,58,20,59,60,38,39,61,37,7,6,8,9,77,14,78,145,146])),meta:{title:"其他工具"}},{path:"tools/create",name:"tools-create",component:()=>de(()=>import("./ToolCreateView-lcYDZ0-7.js"),__vite__mapDeps([147,1,2,3,4,5,6,7,8,9,77,53,54,14,78,145,148])),meta:{title:"添加自定义工具"}},{path:"tools/:id/edit",name:"tools-edit",component:()=>de(()=>import("./ToolCreateView-lcYDZ0-7.js"),__vite__mapDeps([147,1,2,3,4,5,6,7,8,9,77,53,54,14,78,145,148])),meta:{title:"编辑自定义工具"}},{path:"data-convert",name:"data-convert",component:()=>de(()=>import("./DataConvertView-BU-Ft2V_.js"),__vite__mapDeps([149,1,2,3,4,5,19,9,20,21,6,7,8,36,25,22,23,28,34,35,37,38,39,40,41,29,77,53,54,14,78,150])),meta:{title:"数据类型转换"}},{path:"compute",name:"compute",component:()=>de(()=>import("./ComputeNodesView-B7VHXln-.js"),__vite__mapDeps([151,1,2,3,4,5,6,7,8,9,34,35,36,20,25,19,21,22,23,28,37,38,39,40,41,79,61,80,60,81,74,75,76,42,43,102,103,94,59,95,48,49,10,11,12,50,84,85,57,29,64,14,152])),meta:{title:"算力节点",pageSurface:"self",permission:"compute"}},{path:"compute/gpus",redirect:"/compute?tab=gpus"},{path:"compute/queue",redirect:"/compute?tab=queue"},{path:"compute/nodes",redirect:"/compute?tab=nodes"},{path:"permission-denied",name:"permission-denied",component:()=>de(()=>import("./PermissionDeniedView-dU_Hxnqq.js"),__vite__mapDeps([153,14,154])),meta:{title:"无权访问",skipPermission:!0}},{path:"hardware",name:"hardware",component:()=>de(()=>import("./HardwareView-phe2wnd_.js"),__vite__mapDeps([155,92,25,93,2,36,20,3,19,9,21,22,23,28,34,35,7,37,8,38,39,40,41,112,61,80,113,82,83,42,43,94,59,95,48,4,49,10,11,12,50,57,29,44,77,53,54,14,78,156,45,157])),meta:{title:"平台性能"}},{path:"logs",name:"logs",component:()=>de(()=>import("./LogsView-ChHlR1B5.js"),__vite__mapDeps([158,6,7,8,2,9,36,20,3,25,19,21,22,23,28,34,35,37,38,39,40,41,75,49,11,4,84,85,77,53,54,14,78,65,159,160])),meta:{title:"查看日志"}},{path:"user-settings",name:"user-settings",component:()=>de(()=>import("./UserSettingsView-vyAWi5AU.js"),__vite__mapDeps([161,2,34,35,48,22,9,23,19,20,21,4,40,3,49,39,10,7,11,12,50,57,29,64,14,162])),meta:{title:"用户设置",pageSurface:"self",permission:"user-settings"}},{path:"user-settings/create",name:"user-create",component:()=>de(()=>import("./UserCreateView-1_wiIcSK.js"),__vite__mapDeps([163,1,2,3,4,5,6,7,8,9,36,20,25,19,21,22,23,28,34,35,37,38,39,40,41,10,11,12,70,71,14,164,68])),meta:{title:"创建用户",permission:"user-settings"}},{path:"user-settings/:id/permission",name:"user-permission",component:()=>de(()=>import("./UserPermissionView-C1th-WtT.js"),__vite__mapDeps([165,14,166])),meta:{title:"权限设置",permission:"user-settings"}},{path:"training-log/:id",name:"training-log",component:()=>de(()=>import("./TrainingLogView-CKuj7x1Y.js"),__vite__mapDeps([167,2,34,35,27,100,25,101,42,43,57,44,77,53,54,14,78,63,64,65,156,30,31,66,159,86,168])),meta:{title:"训练日志"}}]},{path:"/:pathMatch(.*)*",redirect:"/dashboard"}],ud=gb({history:Gy(),routes:Eb}),Sb={dashboard:"dashboard","fine-tune":"fine-tune","training-log":"fine-tune","model-eval":"model-eval","model-inference":"model-inference","model-compare":"model-inference","model-manage":"model-manage",dataset:"dataset","data-process":"data-process","data-convert":"data-convert",compute:"compute",tools:"data-convert",hardware:"hardware",logs:"logs","user-settings":"user-settings"};function xb(e,t){if(t)return t;const n=e.split("/")[1];return Sb[n]}ud.beforeEach((e,t,n)=>{const r=wb();if(document.title=e.meta.title?`${e.meta.title} - 远光软件微调平台`:"远光软件微调平台",e.meta.public){if(e.name==="login"&&r.isLoggedIn){n("/dashboard");return}n();return}if(!r.isLoggedIn){n({name:"login"});return}if(!e.meta.skipPermission){const s=xb(e.path,e.meta.permission);if(s&&!r.hasPermission(s)){n({name:"permission-denied",replace:!0});return}}r.refresh(),n()});const qi=qh(d1);qi.use(Gh());qi.use(ud);async function Ob(){qi.mount("#app")}Ob();export{p4 as $,gl as A,De as B,Xb as C,at as D,hl as E,Er as F,qr as G,Wc as H,Ai as I,we as J,sp as K,gh as L,st as M,We as N,A2 as O,rr as P,f4 as Q,nt as R,S4 as S,O4 as T,Wb as U,W2 as V,Wo as W,u4 as X,mu as Y,Eu as Z,h4 as _,Ni as a,a_ as a$,m4 as a0,Nc as a1,gt as a2,ge as a3,F4 as a4,D_ as a5,Q as a6,sf as a7,ef as a8,Yd as a9,Fb as aA,Re as aB,Pb as aC,de as aD,Aw as aE,Hi as aF,Yf as aG,uw as aH,fw as aI,Ql as aJ,sr as aK,Hh as aL,Vb as aM,yw as aN,bw as aO,ww as aP,dw as aQ,J2 as aR,Nt as aS,ot as aT,_t as aU,Kd as aV,k2 as aW,Nb as aX,xw as aY,Ow as aZ,N4 as a_,fi as aa,E4 as ab,hw as ac,Ib as ad,e0 as ae,gw as af,qb as ag,Js as ah,Sp as ai,t0 as aj,Rn as ak,nr as al,Xo as am,On as an,ln as ao,w4 as ap,Ew as aq,Sw as ar,B_ as as,mw as at,Lw as au,Cw as av,Rw as aw,Pw as ax,Tw as ay,Bb as az,Kr as b,s4 as b$,C4 as b0,gf as b1,U4 as b2,I4 as b3,Ub as b4,Zl as b5,u2 as b6,Yb as b7,oe as b8,i4 as b9,M4 as bA,A4 as bB,B4 as bC,K2 as bD,V4 as bE,Mb as bF,e4 as bG,l4 as bH,al as bI,G2 as bJ,ac as bK,g4 as bL,Kb as bM,k4 as bN,Yi as bO,X2 as bP,u_ as bQ,$b as bR,b4 as bS,n4 as bT,R4 as bU,T4 as bV,it as bW,z_ as bX,Tb as bY,d4 as bZ,o4 as b_,_4 as ba,hs as bb,Ab as bc,Xp as bd,v4 as be,Rb as bf,Cb as bg,P4 as bh,$4 as bi,L4 as bj,y4 as bk,x4 as bl,Iw as bm,c4 as bn,P_ as bo,j_ as bp,mi as bq,b_ as br,pl as bs,Yt as bt,$a as bu,me as bv,p2 as bw,Nw as bx,Qe as by,qc as bz,Ee as c,M2 as c$,a4 as c0,_p as c1,Qb as c2,t4 as c3,Zu as c4,H4 as c5,j4 as c6,D4 as c7,q2 as c8,Zb as c9,Ag as cA,Sg as cB,cg as cC,Tg as cD,nl as cE,An as cF,rn as cG,_m as cH,Ka as cI,Go as cJ,an as cK,Ya as cL,tf as cM,Li as cN,gp as cO,kc as cP,Hc as cQ,qe as cR,Db as cS,Bs as cT,Ju as cU,os as cV,r4 as cW,O2 as cX,Lb as cY,vf as cZ,zs as c_,Qs as ca,Gb as cb,pe as cc,Hb as cd,Tn as ce,of as cf,ka as cg,cn as ch,H0 as ci,lg as cj,Ku as ck,Gu as cl,Vu as cm,ju as cn,ag as co,f2 as cp,mg as cq,d0 as cr,As as cs,Uu as ct,N0 as cu,F0 as cv,M0 as cw,wm as cx,Am as cy,Kt as cz,_e as d,Jb as d0,Ci as d1,Xu as d2,Rm as d3,Ri as d4,qu as d5,Bu as d6,qh as d7,qt as d8,kb as d9,_w as da,vw as db,Ht as e,ue as f,Vn as g,Dr as h,R_ as i,Z as j,Eo as k,Di as l,wb as m,mt as n,fe as o,jb as p,he as q,xp as r,Le as s,zb as t,bf as u,pw as v,Wn as w,Oi as x,Ne as y,Vr as z}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-Ds9AETjS.js + */let qy=()=>location.protocol+"//"+location.host;function ad(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let i=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(i);return a[0]!=="/"&&(a="/"+a),Ml(a,"")}return Ml(n,e)+r+s}function Wy(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const p=ad(e,location),y=n.value,g=t.value;let v=0;if(d){if(n.value=p,t.value=d,i&&i===y){i=null;return}v=g?d.position-g.position:0}else r(p);s.forEach(_=>{_(n.value,y,{delta:v,type:oi.pop,direction:v?v>0?Po.forward:Po.back:Po.unknown})})};function l(){i=n.value}function u(d){s.push(d);const p=()=>{const y=s.indexOf(d);y>-1&&s.splice(y,1)};return o.push(p),p}function c(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(Se({},d.state,{scroll:oo()}),"")}}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:l,listen:u,destroy:f}}function Ul(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?oo():null}}function Ky(e){const{history:t,location:n}=window,r={value:ad(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:qy()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),s.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function i(l,u){o(l,Se({},t.state,Ul(s.value.back,l,s.value.forward,!0),u,{position:s.value.position}),!0),r.value=l}function a(l,u){const c=Se({},s.value,t.state,{forward:l,scroll:oo()});o(c.current,c,!0),o(l,Se({},Ul(r.value,l,null),{position:c.position+1},u),!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function Gy(e){e=Ly(e);const t=Ky(e),n=Wy(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=Se({location:"",base:e,go:r,createHref:Ny.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}let yn=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Be=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Be||{});const Jy={type:yn.Static,value:""},Yy=/[a-zA-Z0-9_]/;function Qy(e){if(!e)return[[]];if(e==="/")return[[Jy]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=Be.Static,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,u="",c="";function f(){u&&(n===Be.Static?o.push({type:yn.Static,value:u}):n===Be.Param||n===Be.ParamRegExp||n===Be.ParamRegExpEnd?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:yn.Param,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;at.length?t.length===1&&t[0]===tt.Static+tt.Segment?1:-1:0}function ld(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const nb={strict:!1,end:!0,sensitive:!1};function rb(e,t,n){const r=eb(Qy(e.path),n),s=Se(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function sb(e,t){const n=[],r=new Map;t=Dl(nb,t);function s(f){return r.get(f)}function o(f,d,p){const y=!p,g=zl(f);g.aliasOf=p&&p.record;const v=Dl(t,f),_=[g];if("alias"in f){const T=typeof f.alias=="string"?[f.alias]:f.alias;for(const D of T)_.push(zl(Se({},g,{components:p?p.record.components:g.components,path:D,aliasOf:p?p.record:g})))}let b,x;for(const T of _){const{path:D}=T;if(d&&D[0]!=="/"){const J=d.record.path,W=J[J.length-1]==="/"?"":"/";T.path=d.record.path+(D&&W+D)}if(b=rb(T,d,v),p?p.alias.push(b):(x=x||b,x!==b&&x.alias.push(b),y&&f.name&&!ql(b)&&i(f.name)),cd(b)&&l(b),g.children){const J=g.children;for(let W=0;W{i(x)}:Rr}function i(f){if(sd(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){const d=ab(f,n);n.splice(d,0,f),f.record.name&&!ql(f)&&r.set(f.record.name,f)}function u(f,d){let p,y={},g,v;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw tr(Ie.MATCHER_NOT_FOUND,{location:f});v=p.record.name,y=Se(kl(d.params,p.keys.filter(x=>!x.optional).concat(p.parent?p.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),f.params&&kl(f.params,p.keys.map(x=>x.name))),g=p.stringify(y)}else if(f.path!=null)g=f.path,p=n.find(x=>x.re.test(g)),p&&(y=p.parse(g),v=p.record.name);else{if(p=d.name?r.get(d.name):n.find(x=>x.re.test(d.path)),!p)throw tr(Ie.MATCHER_NOT_FOUND,{location:f,currentLocation:d});v=p.record.name,y=Se({},d.params,f.params),g=p.stringify(y)}const _=[];let b=p;for(;b;)_.unshift(b.record),b=b.parent;return{name:v,path:g,params:y,matched:_,meta:ib(_)}}e.forEach(f=>o(f));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:c,getRoutes:a,getRecordMatcher:s}}function kl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function zl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:ob(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function ob(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function ql(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ib(e){return e.reduce((t,n)=>Se(t,n.meta),{})}function ab(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;ld(e,t[o])<0?r=o:n=o+1}const s=lb(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function lb(e){let t=e;for(;t=t.parent;)if(cd(t)&&ld(e,t)===0)return t}function cd({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Wl(e){const t=De(io),n=De(zi),r=Z(()=>{const l=ue(e.to);return t.resolve(l)}),s=Z(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(er.bind(null,c));if(d>-1)return d;const p=Kl(l[u-2]);return u>1&&Kl(c)===p&&f[f.length-1].path!==p?f.findIndex(er.bind(null,l[u-2])):d}),o=Z(()=>s.value>-1&&pb(n.params,r.value.params)),i=Z(()=>s.value>-1&&s.value===n.matched.length-1&&rd(n.params,r.value.params));function a(l={}){if(db(l)){const u=t[ue(e.replace)?"replace":"push"](ue(e.to)).catch(Rr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:Z(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}function cb(e){return e.length===1?e[0]:e}const ub=_e({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Wl,setup(e,{slots:t}){const n=Vr(Wl(e)),{options:r}=De(io),s=Z(()=>({[Gl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Gl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&cb(t.default(n));return e.custom?o:Ai("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),fb=ub;function db(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function pb(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Et(s)||s.length!==r.length||r.some((o,i)=>o.valueOf()!==s[i].valueOf()))return!1}return!0}function Kl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Gl=(e,t,n)=>e??t??n,hb=_e({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=De(ai),s=Z(()=>e.route||r.value),o=De(jl,0),i=Z(()=>{let u=ue(o);const{matched:c}=s.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=Z(()=>s.value.matched[i.value]);Er(jl,Z(()=>i.value+1)),Er(id,a),Er(ai,s);const l=Ne();return at(()=>[l.value,a.value,e.name],([u,c,f],[d,p,y])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!er(c,p)||!d)&&(c.enterCallbacks[f]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=s.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return Jl(n.default,{Component:d,route:u});const p=f.props[c],y=p?p===!0?u.params:typeof p=="function"?p(u):p:null,v=Ai(d,Se({},y,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Jl(n.default,{Component:v,route:u})||v}}});function Jl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const mb=hb;function gb(e){const t=sb(e.routes,e),n=e.parseQuery||Vy,r=e.stringifyQuery||Bl,s=e.history,o=mr(),i=mr(),a=mr(),l=ot(Xt);let u=Xt;Un&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Co.bind(null,O=>""+O),f=Co.bind(null,xy),d=Co.bind(null,jr);function p(O,z){let V,K;return sd(O)?(V=t.getRecordMatcher(O),K=z):K=O,t.addRoute(K,V)}function y(O){const z=t.getRecordMatcher(O);z&&t.removeRoute(z)}function g(){return t.getRoutes().map(O=>O.record)}function v(O){return!!t.getRecordMatcher(O)}function _(O,z){if(z=Se({},z||l.value),typeof O=="string"){const E=Ro(n,O,z.path),C=t.resolve({path:E.path},z),S=s.createHref(E.fullPath);return Se(E,C,{params:d(C.params),hash:jr(E.hash),redirectedFrom:void 0,href:S})}let V;if(O.path!=null)V=Se({},O,{path:Ro(n,O.path,z.path).path});else{const E=Se({},O.params);for(const C in E)E[C]==null&&delete E[C];V=Se({},O,{params:f(E)}),z.params=f(z.params)}const K=t.resolve(V,z),ae=O.hash||"";K.params=c(d(K.params));const h=Ty(r,Se({},O,{hash:wy(ae),path:K.path})),m=s.createHref(h);return Se({fullPath:h,hash:ae,query:r===Bl?Hy(O.query):O.query||{}},K,{redirectedFrom:void 0,href:m})}function b(O){return typeof O=="string"?Ro(n,O,l.value.path):Se({},O)}function x(O,z){if(u!==O)return tr(Ie.NAVIGATION_CANCELLED,{from:z,to:O})}function T(O){return W(O)}function D(O){return T(Se(b(O),{replace:!0}))}function J(O,z){const V=O.matched[O.matched.length-1];if(V&&V.redirect){const{redirect:K}=V;let ae=typeof K=="function"?K(O,z):K;return typeof ae=="string"&&(ae=ae.includes("?")||ae.includes("#")?ae=b(ae):{path:ae},ae.params={}),Se({query:O.query,hash:O.hash,params:ae.path!=null?{}:O.params},ae)}}function W(O,z){const V=u=_(O),K=l.value,ae=O.state,h=O.force,m=O.replace===!0,E=J(V,K);if(E)return W(Se(b(E),{state:typeof E=="object"?Se({},ae,E.state):ae,force:h,replace:m}),z||V);const C=V;C.redirectedFrom=z;let S;return!h&&Cy(r,K,V)&&(S=tr(Ie.NAVIGATION_DUPLICATED,{to:C,from:K}),ne(K,K,!0,!1)),(S?Promise.resolve(S):k(C,K)).catch(A=>Ft(A)?Ft(A,Ie.NAVIGATION_GUARD_REDIRECT)?A:X(A):N(A,C,K)).then(A=>{if(A){if(Ft(A,Ie.NAVIGATION_GUARD_REDIRECT))return W(Se({replace:m},b(A.to),{state:typeof A.to=="object"?Se({},ae,A.to.state):ae,force:h}),z||C)}else A=F(C,K,!0,m,ae);return H(C,K,A),A})}function Y(O,z){const V=x(O,z);return V?Promise.reject(V):Promise.resolve()}function L(O){const z=xe.values().next().value;return z&&typeof z.runWithContext=="function"?z.runWithContext(O):O()}function k(O,z){let V;const[K,ae,h]=zy(O,z);V=Lo(K.reverse(),"beforeRouteLeave",O,z);for(const E of K)E.leaveGuards.forEach(C=>{V.push(sn(C,O,z))});const m=Y.bind(null,O,z);return V.push(m),ie(V).then(()=>{V=[];for(const E of o.list())V.push(sn(E,O,z));return V.push(m),ie(V)}).then(()=>{V=Lo(ae,"beforeRouteUpdate",O,z);for(const E of ae)E.updateGuards.forEach(C=>{V.push(sn(C,O,z))});return V.push(m),ie(V)}).then(()=>{V=[];for(const E of h)if(E.beforeEnter)if(Et(E.beforeEnter))for(const C of E.beforeEnter)V.push(sn(C,O,z));else V.push(sn(E.beforeEnter,O,z));return V.push(m),ie(V)}).then(()=>(O.matched.forEach(E=>E.enterCallbacks={}),V=Lo(h,"beforeRouteEnter",O,z,L),V.push(m),ie(V))).then(()=>{V=[];for(const E of i.list())V.push(sn(E,O,z));return V.push(m),ie(V)}).catch(E=>Ft(E,Ie.NAVIGATION_CANCELLED)?E:Promise.reject(E))}function H(O,z,V){a.list().forEach(K=>L(()=>K(O,z,V)))}function F(O,z,V,K,ae){const h=x(O,z);if(h)return h;const m=z===Xt,E=Un?history.state:{};V&&(K||m?s.replace(O.fullPath,Se({scroll:m&&E&&E.scroll},ae)):s.push(O.fullPath,ae)),l.value=O,ne(O,z,V,m),X()}let te;function B(){te||(te=s.listen((O,z,V)=>{if(!Pe.listening)return;const K=_(O),ae=J(K,Pe.currentRoute.value);if(ae){W(Se(ae,{replace:!0,force:!0}),K).catch(Rr);return}u=K;const h=l.value;Un&&$y(Fl(h.fullPath,V.delta),oo()),k(K,h).catch(m=>Ft(m,Ie.NAVIGATION_ABORTED|Ie.NAVIGATION_CANCELLED)?m:Ft(m,Ie.NAVIGATION_GUARD_REDIRECT)?(W(Se(b(m.to),{force:!0}),K).then(E=>{Ft(E,Ie.NAVIGATION_ABORTED|Ie.NAVIGATION_DUPLICATED)&&!V.delta&&V.type===oi.pop&&s.go(-1,!1)}).catch(Rr),Promise.reject()):(V.delta&&s.go(-V.delta,!1),N(m,K,h))).then(m=>{m=m||F(K,h,!1),m&&(V.delta&&!Ft(m,Ie.NAVIGATION_CANCELLED)?s.go(-V.delta,!1):V.type===oi.pop&&Ft(m,Ie.NAVIGATION_ABORTED|Ie.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),H(K,h,m)}).catch(Rr)}))}let M=mr(),R=mr(),I;function N(O,z,V){X(O);const K=R.list();return K.length?K.forEach(ae=>ae(O,z,V)):console.error(O),Promise.reject(O)}function re(){return I&&l.value!==Xt?Promise.resolve():new Promise((O,z)=>{M.add([O,z])})}function X(O){return I||(I=!O,B(),M.list().forEach(([z,V])=>O?V(O):z()),M.reset()),O}function ne(O,z,V,K){const{scrollBehavior:ae}=e;if(!Un||!ae)return Promise.resolve();const h=!V&&Fy(Fl(O.fullPath,0))||(K||!V)&&history.state&&history.state.scroll||null;return rr().then(()=>ae(O,z,h)).then(m=>m&&My(m)).catch(m=>N(m,O,z))}const ce=O=>s.go(O);let ye;const xe=new Set,Pe={currentRoute:l,listening:!0,addRoute:p,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:g,resolve:_,options:e,push:T,replace:D,go:ce,back:()=>ce(-1),forward:()=>ce(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:R.add,isReady:re,install(O){O.component("RouterLink",fb),O.component("RouterView",mb),O.config.globalProperties.$router=Pe,Object.defineProperty(O.config.globalProperties,"$route",{enumerable:!0,get:()=>ue(l)}),Un&&!ye&&l.value===Xt&&(ye=!0,T(s.location).catch(K=>{}));const z={};for(const K in Xt)Object.defineProperty(z,K,{get:()=>l.value[K],enumerable:!0});O.provide(io,Pe),O.provide(zi,zs(z)),O.provide(ai,l);const V=O.unmount;xe.add(O),O.unmount=function(){xe.delete(O),xe.size<1&&(u=Xt,te&&te(),te=null,l.value=Xt,ye=!1,I=!1),V()}}};function ie(O){return O.reduce((z,V)=>z.then(()=>L(V)),Promise.resolve())}return Pe}function pw(){return De(io)}function hw(e){return De(zi)}const mw=()=>Hi("/system-info"),gw=()=>Hi("/health"),_b=(e,t)=>Yf("/login",{username:e,password:t}),_w=()=>Hi("/users"),vw=e=>Yf("/users",e),yw={LLM:"大语言模型",CV:"计算机视觉",NLP:"自然语言处理",Embedding:"向量模型",Other:"其他"},bw={training:{text:"训练",type:"primary"},inference:{text:"推理",type:"success"},evaluation:{text:"评测",type:"warning"}},ww={local:"本地模型",api:"在线模型",online:"在线模型"},Ew={SFT:"SFT",DPO:"DPO",CPT:"CPT"},Sw={lora:"LoRA",qlora:"QLoRA",full:"全量微调",prefix:"Prefix Tuning",adapter:"Adapter",peft:"PEFT",adalora:"AdaLoRA",longlora:"LongLoRA",dpo:"DPO",cpt:"CPT"},xw={train:"训练数据",test:"测试数据",eval:"评测数据",val:"验证数据",other:"其他"},Ow={local:"本地存储",minio:"MinIO",cloud:"云存储"},Aw={classification:"大模型-分类型",metric:"大模型-指标型",text_similarity:"规则-文本相似度"},Tw=[{label:"cosine",value:"cosine"},{label:"linear",value:"linear"},{label:"constant",value:"constant"}],Cw=[{label:"不量化",value:0},{label:"8 bit",value:8},{label:"4 bit (QLoRA)",value:4}],Rw=[{label:"bitsandbytes",value:"bnb"},{label:"GPTQ",value:"gptq"},{label:"AWQ",value:"awq"},{label:"GGUF (llama.cpp)",value:"gguf"}],Pw=[{label:"Q4_K_M(推荐)",value:"Q4_K_M"},{label:"Q5_K_M",value:"Q5_K_M"},{label:"Q8_0",value:"Q8_0"},{label:"F16(不量化)",value:"F16"}],Lw=[{label:"Qwen 系列",options:[{label:"qwen",value:"qwen"},{label:"qwen2",value:"qwen2"},{label:"qwen2_5",value:"qwen2_5"}]},{label:"Llama 系列",options:[{label:"llama2",value:"llama2"},{label:"llama3",value:"llama3"},{label:"llama3_1",value:"llama3_1"}]},{label:"DeepSeek 系列",options:[{label:"deepseek",value:"deepseek"},{label:"deepseek2",value:"deepseek2"}]},{label:"其他系列",options:[{label:"glm4",value:"glm4"},{label:"chatglm3",value:"chatglm3"},{label:"gemma",value:"gemma"},{label:"gemma2",value:"gemma2"},{label:"phi",value:"phi"},{label:"intern2",value:"intern2"},{label:"mistral",value:"mistral"},{label:"default",value:"default"}]}],Iw=[{id:"data-generate",name:"数据生成",icon:"fa-database",description:"基于LLM生成微调数据集"},{id:"json2jsonl",name:"JSON转JSONL",icon:"fa-code",description:"将JSON文件转换为JSONL格式"},{id:"md-convert",name:"转换Markdown",icon:"fa-file-text",description:"将Markdown文件转换为训练数据"}],Nw=["fa-cog","fa-database","fa-code","fa-file-text","fa-wrench","fa-cube","fa-line-chart","fa-bar-chart","fa-server","fa-cogs","fa-tasks","fa-trophy","fa-sliders","fa-rocket","fa-cloud","fa-cloud-download","fa-microchip","fa-hdd-o","fa-globe","fa-info-circle","fa-question-circle-o","fa-user-o","fa-lock-o","fa-sign-in","fa-sign-out","fa-search","fa-plus","fa-refresh","fa-times","fa-check","fa-pencil","fa-trash","fa-play","fa-arrow-left","fa-arrow-down","fa-arrow-up"],vb=300*1e3,Is="currentUser",yb=["dashboard","fine-tune","model-eval","model-inference","model-manage","dataset","data-process","data-convert","compute","hardware","logs","user-settings"];function bb(){const e=localStorage.getItem(Is);if(e)try{return JSON.parse(e)}catch{localStorage.removeItem(Is)}return localStorage.getItem("username")==="admin"?{id:"USR-0001",username:"admin",display_name:"系统管理员",role:"admin",status:"active",permissions:yb,create_time:"2026-01-01T08:00:00+08:00",protected:!0}:null}const wb=e0("auth",()=>{const e=Ne(bb()),t=Z(()=>{var c;return((c=e.value)==null?void 0:c.username)||""}),n=Z(()=>{var c;return((c=e.value)==null?void 0:c.display_name)||t.value}),r=Z(()=>{var c,f;return((c=e.value)==null?void 0:c.role)==="admin"?"超级管理员":((f=e.value)==null?void 0:f.role)==="operator"?"操作员":"观察员"}),s=Ne(parseInt(localStorage.getItem("loginTime")||"0",10)||0),o=Z(()=>s.value?Date.now()-s.valuede(()=>import("./LoginView-DxdhlDPY.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15])),meta:{title:"登录",public:!0}},{path:"/guide",name:"guide",component:()=>de(()=>import("./GuideView-CiALCc3O.js"),__vite__mapDeps([16,14,17])),meta:{title:"使用文档",skipPermission:!0}},{path:"/",component:()=>de(()=>import("./MainLayout-CH9dDYMJ.js"),__vite__mapDeps([18,19,2,9,20,21,22,23,24,25,26,27,28,29,13,14,30,31,32])),redirect:"/dashboard",children:[{path:"dashboard",name:"dashboard",component:()=>de(()=>import("./DashboardView-NO-FdQqU.js"),__vite__mapDeps([33,24,25,19,2,9,20,21,26,34,35,3,22,23,28,7,36,8,37,38,39,40,41,42,43,44,14,45,46])),meta:{title:"服务看板"}},{path:"fine-tune",name:"fine-tune",component:()=>de(()=>import("./FineTuneListView-CuiRAa28.js"),__vite__mapDeps([47,2,10,7,9,11,4,12,48,22,23,19,20,21,39,3,49,38,50,51,52,6,8,53,54,55,35,25,28,34,36,37,40,56,57,58,59,60,61,29,14,62,46,63,64,30,31,65,66,67])),meta:{title:"模型训练",pageSurface:"self"}},{path:"fine-tune/create",name:"fine-tune-create",component:()=>de(()=>import("./FineTuneCreateView-CJLb90K1.js"),__vite__mapDeps([68,1,2,3,4,5,19,9,20,21,6,7,8,35,25,22,23,28,34,36,37,38,39,40,69,11,70,71,72,73,74,75,29,76,53,54,14,77,78,61,79,60,80,81,82,83,84,65,31,85,86,46])),meta:{title:"创建训练任务"}},{path:"model-eval",name:"model-eval",component:()=>de(()=>import("./EvalView-Eldo4kFi.js"),__vite__mapDeps([87,2,48,22,9,23,19,20,21,4,39,3,49,38,10,7,11,12,50,58,59,60,37,61,36,6,8,52,53,54,55,35,25,28,34,40,56,57,29,14,62,46,88,89])),meta:{title:"模型评测",pageSurface:"self"}},{path:"model-eval/create",name:"model-eval-create",component:()=>de(()=>import("./EvalCreateView-CV3hMaqs.js"),__vite__mapDeps([90,2,57,76,53,54,14,77,91,25,92,1,3,4,5,6,7,8,9,35,20,19,21,22,23,28,34,36,37,38,39,40,69,11,70,93,59,94,95,10,12,73,74,75,96,49,97,29,98,67,46,99,100,101,102,88,31,85,103])),meta:{title:"新建评测"}},{path:"model-eval/:id",name:"model-eval-detail",component:()=>de(()=>import("./EvalDetailView-Cr82ho8I.js"),__vite__mapDeps([104,6,7,8,2,9,34,35,20,3,25,19,21,22,23,28,36,37,38,39,40,55,56,41,42,48,4,49,10,11,12,50,57,29,76,53,54,14,77,63,46,88,105])),meta:{title:"评测详情"}},{path:"model-eval/dimension/create",name:"dimension-create",redirect:"/model-eval/create"},{path:"model-eval/dimension/:id/edit",name:"dimension-edit",component:()=>de(()=>import("./DimensionCreateView-l0omXzHp.js"),__vite__mapDeps([106,1,2,3,4,5,6,7,8,9,76,53,54,14,77,95,35,20,25,19,21,22,23,28,34,36,37,38,39,40,10,11,12,69,70,73,74,75,96,49,97,93,59,94,29,98,67,46,88,31])),meta:{title:"编辑评测维度"}},{path:"model-inference",name:"model-inference",component:()=>de(()=>import("./InferenceListView-B74C2RPL.js"),__vite__mapDeps([107,2,34,48,22,9,23,19,20,21,4,39,3,49,38,10,7,11,12,50,58,59,60,37,61,36,6,8,52,53,54,55,35,25,28,40,56,57,29,14,62,46,64,108])),meta:{title:"模型推理",pageSurface:"self"}},{path:"model-inference/create",name:"model-inference-create",component:()=>de(()=>import("./InferenceCreateView-D9JfMwNe.js"),__vite__mapDeps([109,91,25,92,1,2,3,4,5,6,7,8,9,35,20,19,21,22,23,28,34,36,37,38,39,40,71,72,76,53,54,14,77,31,46])),meta:{title:"新建推理"}},{path:"model-inference/chat/:id",name:"inference-chat",component:()=>de(()=>import("./InferenceChatView-nI4RM9OF.js"),__vite__mapDeps([110,1,2,3,4,5,6,7,8,9,27,111,20,61,36,79,112,96,73,74,75,19,21,49,38,37,97,29,113,114,108,14,115])),meta:{title:"模型对话",pageSurface:"self"}},{path:"model-compare/chat/:id",name:"compare-chat",component:()=>de(()=>import("./CompareChatView-BVdMCKbe.js"),__vite__mapDeps([116,1,2,3,4,5,6,7,8,9,34,71,72,96,73,74,75,19,20,21,49,38,37,97,29,76,53,54,14,77,64,108,117,46])),meta:{title:"模型对比"}},{path:"model-compare/result",name:"compare-result",component:()=>de(()=>import("./CompareResultView-DOPqATtj.js"),__vite__mapDeps([118,91,25,92,2,34,53,54,113,114,108,14,119,46])),meta:{title:"对比结果"}},{path:"model-manage",name:"model-manage",component:()=>de(()=>import("./ModelManageView-CSQiXUqK.js"),__vite__mapDeps([120,2,34,48,22,9,23,19,20,21,4,39,3,49,38,10,7,11,12,50,58,59,60,37,61,36,6,8,52,53,54,55,35,25,28,40,56,57,29,14,62,46,31,121])),meta:{title:"模型管理",pageSurface:"self"}},{path:"model-manage/create",name:"model-manage-create",component:()=>de(()=>import("./ModelCreateView-rx4YrtfV.js"),__vite__mapDeps([122,1,2,3,4,5,19,9,20,21,6,7,8,35,25,22,23,28,34,36,37,38,39,40,69,11,70,57,29,76,53,54,14,77,31,123,46])),meta:{title:"添加模型"}},{path:"model-manage/:id/edit",name:"model-manage-edit",component:()=>de(()=>import("./ModelCreateView-rx4YrtfV.js"),__vite__mapDeps([122,1,2,3,4,5,19,9,20,21,6,7,8,35,25,22,23,28,34,36,37,38,39,40,69,11,70,57,29,76,53,54,14,77,31,123,46])),meta:{title:"编辑模型"}},{path:"model-manage/merge",name:"merge-weights",component:()=>de(()=>import("./MergeWeightsView-lUYxd1a_.js"),__vite__mapDeps([124,91,25,92,1,2,3,4,5,6,7,8,9,34,76,53,54,14,77,31,125,46])),meta:{title:"合并权重"}},{path:"data-process",name:"data-process",component:()=>de(()=>import("./DataProcessListView-C3R_ds-j.js"),__vite__mapDeps([126,2,34,48,22,9,23,19,20,21,4,39,3,49,38,10,7,11,12,50,52,6,8,53,54,55,35,25,28,36,37,40,56,57,58,59,60,61,29,14,62,46,63,127])),meta:{title:"数据处理",pageSurface:"self"}},{path:"data-process/create",name:"data-process-create",component:()=>de(()=>import("./DataProcessCreateView-BUfBIY00.js"),__vite__mapDeps([128,2,129,14,130,1,3,4,5,6,7,8,9,10,11,12,73,74,75,35,20,25,19,21,22,23,28,34,36,37,38,39,40,96,49,97,93,59,94,29,55,56,131,41,42,132,30,31,133,67,46])),meta:{title:"新建数据处理任务",pageSurface:"self"}},{path:"data-process/:id",name:"data-process-detail",component:()=>de(()=>import("./DataProcessDetailView-kmoLJ2yJ.js"),__vite__mapDeps([134,6,7,8,2,9,34,35,20,3,25,19,21,22,23,28,36,37,38,39,40,55,56,41,42,48,4,49,10,11,12,50,29,76,53,54,14,77,63,46,135])),meta:{title:"数据处理详情"}},{path:"dataset",name:"dataset",component:()=>de(()=>import("./DatasetListView-CF1w9JzC.js"),__vite__mapDeps([136,2,34,48,22,9,23,19,20,21,4,39,3,49,38,10,7,11,12,50,52,6,8,53,54,55,35,25,28,36,37,40,56,57,58,59,60,61,29,14,62,46,85,137])),meta:{title:"数据集管理",pageSurface:"self"}},{path:"dataset/create",name:"dataset-create",component:()=>de(()=>import("./DatasetCreateView-CCIPqE-L.js"),__vite__mapDeps([138,91,25,92,1,2,3,4,5,6,7,8,9,69,11,70,93,59,94,131,41,42,132,57,76,53,54,14,77,85,139])),meta:{title:"上传数据集"}},{path:"dataset/:id/edit",name:"dataset-edit",component:()=>de(()=>import("./DatasetCreateView-CCIPqE-L.js"),__vite__mapDeps([138,91,25,92,1,2,3,4,5,6,7,8,9,69,11,70,93,59,94,131,41,42,132,57,76,53,54,14,77,85,139])),meta:{title:"编辑数据集"}},{path:"dataset/:id/preview",name:"dataset-preview",component:()=>de(()=>import("./DatasetPreviewView-Bl5eFjFu.js"),__vite__mapDeps([140,91,25,92,19,2,9,20,21,34,57,58,59,60,37,38,61,36,7,6,8,29,129,14,130,76,53,54,77,85,35,3,22,23,28,39,40,51,78,79,80,55,56,48,4,49,10,11,12,50,1,5,141,46])),meta:{title:"数据集预览"}},{path:"tools",name:"tools",component:()=>de(()=>import("./ToolsView-D4cqXALF.js"),__vite__mapDeps([142,2,53,54,81,82,58,20,59,60,37,38,61,36,7,6,8,9,76,14,77,143,144])),meta:{title:"其他工具"}},{path:"tools/create",name:"tools-create",component:()=>de(()=>import("./ToolCreateView-BGgtRypT.js"),__vite__mapDeps([145,1,2,3,4,5,6,7,8,9,76,53,54,14,77,143,146])),meta:{title:"添加自定义工具"}},{path:"tools/:id/edit",name:"tools-edit",component:()=>de(()=>import("./ToolCreateView-BGgtRypT.js"),__vite__mapDeps([145,1,2,3,4,5,6,7,8,9,76,53,54,14,77,143,146])),meta:{title:"编辑自定义工具"}},{path:"data-convert",name:"data-convert",component:()=>de(()=>import("./DataConvertView-Bog-IlBb.js"),__vite__mapDeps([147,1,2,3,4,5,19,9,20,21,6,7,8,35,25,22,23,28,34,36,37,38,39,40,29,76,53,54,14,77,148,46])),meta:{title:"数据类型转换"}},{path:"compute",name:"compute",component:()=>de(()=>import("./ComputeNodesView-BGkUyXxx.js"),__vite__mapDeps([149,1,2,3,4,5,6,7,8,9,34,35,20,25,19,21,22,23,28,36,37,38,39,40,78,61,79,60,80,73,74,75,41,42,101,102,93,59,94,48,49,10,11,12,50,83,84,57,29,14,150,46])),meta:{title:"算力节点",pageSurface:"self",permission:"compute"}},{path:"compute/gpus",redirect:"/compute?tab=gpus"},{path:"compute/queue",redirect:"/compute?tab=queue"},{path:"compute/nodes",redirect:"/compute?tab=nodes"},{path:"permission-denied",name:"permission-denied",component:()=>de(()=>import("./PermissionDeniedView-Caq1gqLf.js"),__vite__mapDeps([151,14,152])),meta:{title:"无权访问",skipPermission:!0}},{path:"hardware",name:"hardware",component:()=>de(()=>import("./HardwareView-liD1i5KX.js"),__vite__mapDeps([153,91,25,92,2,35,20,3,19,9,21,22,23,28,34,7,36,8,37,38,39,40,111,61,79,112,81,82,41,42,93,59,94,48,4,49,10,11,12,50,57,29,43,76,53,54,14,77,154,44,155,46])),meta:{title:"平台性能"}},{path:"logs",name:"logs",component:()=>de(()=>import("./LogsView-CxeOiep3.js"),__vite__mapDeps([156,6,7,8,2,9,35,20,3,25,19,21,22,23,28,34,36,37,38,39,40,74,49,11,4,83,84,76,53,54,14,77,64,157,158,46])),meta:{title:"查看日志"}},{path:"user-settings",name:"user-settings",component:()=>de(()=>import("./UserSettingsView-CF5QiqZ2.js"),__vite__mapDeps([159,2,48,22,9,23,19,20,21,4,39,3,49,38,10,7,11,12,50,57,29,14,160,46])),meta:{title:"用户设置",pageSurface:"self",permission:"user-settings"}},{path:"user-settings/create",name:"user-create",component:()=>de(()=>import("./UserCreateView-H9YbwuR2.js"),__vite__mapDeps([161,1,2,3,4,5,6,7,8,9,35,20,25,19,21,22,23,28,34,36,37,38,39,40,10,11,12,69,70,14,162,67,46])),meta:{title:"创建用户",permission:"user-settings"}},{path:"user-settings/:id/permission",name:"user-permission",component:()=>de(()=>import("./UserPermissionView-BQ5QgCsL.js"),__vite__mapDeps([163,14,164])),meta:{title:"权限设置",permission:"user-settings"}},{path:"training-log/:id",name:"training-log",component:()=>de(()=>import("./TrainingLogView-vqWaCjXA.js"),__vite__mapDeps([165,2,34,27,99,25,100,41,42,57,43,76,53,54,14,77,63,46,64,154,30,31,65,157,85,166])),meta:{title:"训练日志"}}]},{path:"/:pathMatch(.*)*",redirect:"/dashboard"}],ud=gb({history:Gy(),routes:Eb}),Sb={dashboard:"dashboard","fine-tune":"fine-tune","training-log":"fine-tune","model-eval":"model-eval","model-inference":"model-inference","model-compare":"model-inference","model-manage":"model-manage",dataset:"dataset","data-process":"data-process","data-convert":"data-convert",compute:"compute",tools:"data-convert",hardware:"hardware",logs:"logs","user-settings":"user-settings"};function xb(e,t){if(t)return t;const n=e.split("/")[1];return Sb[n]}ud.beforeEach((e,t,n)=>{const r=wb();if(document.title=e.meta.title?`${e.meta.title} - 远光软件微调平台`:"远光软件微调平台",e.meta.public){if(e.name==="login"&&r.isLoggedIn){n("/dashboard");return}n();return}if(!r.isLoggedIn){n({name:"login"});return}if(!e.meta.skipPermission){const s=xb(e.path,e.meta.permission);if(s&&!r.hasPermission(s)){n({name:"permission-denied",replace:!0});return}}r.refresh(),n()});const qi=qh(d1);qi.use(Gh());qi.use(ud);async function Ob(){qi.mount("#app")}Ob();export{p4 as $,gl as A,De as B,Xb as C,at as D,hl as E,Er as F,qr as G,Wc as H,Ai as I,we as J,sp as K,gh as L,st as M,We as N,A2 as O,rr as P,f4 as Q,nt as R,S4 as S,O4 as T,Wb as U,W2 as V,Wo as W,u4 as X,mu as Y,Eu as Z,h4 as _,Ni as a,a_ as a$,m4 as a0,Nc as a1,gt as a2,ge as a3,F4 as a4,D_ as a5,Q as a6,sf as a7,ef as a8,Yd as a9,Fb as aA,Re as aB,Pb as aC,de as aD,Aw as aE,Hi as aF,Yf as aG,uw as aH,fw as aI,Ql as aJ,sr as aK,Hh as aL,Vb as aM,yw as aN,bw as aO,ww as aP,dw as aQ,J2 as aR,Nt as aS,ot as aT,_t as aU,Kd as aV,k2 as aW,Nb as aX,xw as aY,Ow as aZ,N4 as a_,fi as aa,E4 as ab,hw as ac,Ib as ad,e0 as ae,gw as af,qb as ag,Js as ah,Sp as ai,t0 as aj,Rn as ak,nr as al,Xo as am,On as an,ln as ao,w4 as ap,Ew as aq,Sw as ar,B_ as as,mw as at,Lw as au,Cw as av,Rw as aw,Pw as ax,Tw as ay,Bb as az,Kr as b,s4 as b$,C4 as b0,gf as b1,U4 as b2,I4 as b3,Ub as b4,Zl as b5,u2 as b6,Yb as b7,oe as b8,i4 as b9,M4 as bA,A4 as bB,B4 as bC,K2 as bD,V4 as bE,Mb as bF,e4 as bG,l4 as bH,al as bI,G2 as bJ,ac as bK,g4 as bL,Kb as bM,k4 as bN,Yi as bO,X2 as bP,u_ as bQ,$b as bR,b4 as bS,n4 as bT,R4 as bU,T4 as bV,it as bW,z_ as bX,Tb as bY,d4 as bZ,o4 as b_,_4 as ba,hs as bb,Ab as bc,Xp as bd,v4 as be,Rb as bf,Cb as bg,P4 as bh,$4 as bi,L4 as bj,y4 as bk,x4 as bl,Iw as bm,c4 as bn,P_ as bo,j_ as bp,mi as bq,b_ as br,pl as bs,Yt as bt,$a as bu,me as bv,p2 as bw,Nw as bx,Qe as by,qc as bz,Ee as c,M2 as c$,a4 as c0,_p as c1,Qb as c2,t4 as c3,Zu as c4,H4 as c5,j4 as c6,D4 as c7,q2 as c8,Zb as c9,Ag as cA,Sg as cB,cg as cC,Tg as cD,nl as cE,An as cF,rn as cG,_m as cH,Ka as cI,Go as cJ,an as cK,Ya as cL,tf as cM,Li as cN,gp as cO,kc as cP,Hc as cQ,qe as cR,Db as cS,Bs as cT,Ju as cU,os as cV,r4 as cW,O2 as cX,Lb as cY,vf as cZ,zs as c_,Qs as ca,Gb as cb,pe as cc,Hb as cd,Tn as ce,of as cf,ka as cg,cn as ch,H0 as ci,lg as cj,Ku as ck,Gu as cl,Vu as cm,ju as cn,ag as co,f2 as cp,mg as cq,d0 as cr,As as cs,Uu as ct,N0 as cu,F0 as cv,M0 as cw,wm as cx,Am as cy,Kt as cz,_e as d,Jb as d0,Ci as d1,Xu as d2,Rm as d3,Ri as d4,qu as d5,Bu as d6,qh as d7,qt as d8,kb as d9,_w as da,vw as db,Ht as e,ue as f,Vn as g,Dr as h,R_ as i,Z as j,Eo as k,Di as l,wb as m,mt as n,fe as o,jb as p,he as q,xp as r,Le as s,zb as t,bf as u,pw as v,Wn as w,Oi as x,Ne as y,Vr as z}; +======== + */let qy=()=>location.protocol+"//"+location.host;function ad(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let i=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(i);return a[0]!=="/"&&(a="/"+a),Ml(a,"")}return Ml(n,e)+r+s}function Wy(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const p=ad(e,location),y=n.value,g=t.value;let v=0;if(d){if(n.value=p,t.value=d,i&&i===y){i=null;return}v=g?d.position-g.position:0}else r(p);s.forEach(_=>{_(n.value,y,{delta:v,type:oi.pop,direction:v?v>0?Po.forward:Po.back:Po.unknown})})};function l(){i=n.value}function u(d){s.push(d);const p=()=>{const y=s.indexOf(d);y>-1&&s.splice(y,1)};return o.push(p),p}function c(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(Se({},d.state,{scroll:oo()}),"")}}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:l,listen:u,destroy:f}}function Ul(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?oo():null}}function Ky(e){const{history:t,location:n}=window,r={value:ad(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:qy()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),s.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function i(l,u){o(l,Se({},t.state,Ul(s.value.back,l,s.value.forward,!0),u,{position:s.value.position}),!0),r.value=l}function a(l,u){const c=Se({},s.value,t.state,{forward:l,scroll:oo()});o(c.current,c,!0),o(l,Se({},Ul(r.value,l,null),{position:c.position+1},u),!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function Gy(e){e=Ly(e);const t=Ky(e),n=Wy(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=Se({location:"",base:e,go:r,createHref:Ny.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}let yn=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Be=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Be||{});const Jy={type:yn.Static,value:""},Yy=/[a-zA-Z0-9_]/;function Qy(e){if(!e)return[[]];if(e==="/")return[[Jy]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=Be.Static,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,u="",c="";function f(){u&&(n===Be.Static?o.push({type:yn.Static,value:u}):n===Be.Param||n===Be.ParamRegExp||n===Be.ParamRegExpEnd?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:yn.Param,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;at.length?t.length===1&&t[0]===tt.Static+tt.Segment?1:-1:0}function ld(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const nb={strict:!1,end:!0,sensitive:!1};function rb(e,t,n){const r=eb(Qy(e.path),n),s=Se(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function sb(e,t){const n=[],r=new Map;t=Dl(nb,t);function s(f){return r.get(f)}function o(f,d,p){const y=!p,g=zl(f);g.aliasOf=p&&p.record;const v=Dl(t,f),_=[g];if("alias"in f){const T=typeof f.alias=="string"?[f.alias]:f.alias;for(const D of T)_.push(zl(Se({},g,{components:p?p.record.components:g.components,path:D,aliasOf:p?p.record:g})))}let b,x;for(const T of _){const{path:D}=T;if(d&&D[0]!=="/"){const J=d.record.path,W=J[J.length-1]==="/"?"":"/";T.path=d.record.path+(D&&W+D)}if(b=rb(T,d,v),p?p.alias.push(b):(x=x||b,x!==b&&x.alias.push(b),y&&f.name&&!ql(b)&&i(f.name)),cd(b)&&l(b),g.children){const J=g.children;for(let W=0;W{i(x)}:Rr}function i(f){if(sd(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){const d=ab(f,n);n.splice(d,0,f),f.record.name&&!ql(f)&&r.set(f.record.name,f)}function u(f,d){let p,y={},g,v;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw tr(Ie.MATCHER_NOT_FOUND,{location:f});v=p.record.name,y=Se(kl(d.params,p.keys.filter(x=>!x.optional).concat(p.parent?p.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),f.params&&kl(f.params,p.keys.map(x=>x.name))),g=p.stringify(y)}else if(f.path!=null)g=f.path,p=n.find(x=>x.re.test(g)),p&&(y=p.parse(g),v=p.record.name);else{if(p=d.name?r.get(d.name):n.find(x=>x.re.test(d.path)),!p)throw tr(Ie.MATCHER_NOT_FOUND,{location:f,currentLocation:d});v=p.record.name,y=Se({},d.params,f.params),g=p.stringify(y)}const _=[];let b=p;for(;b;)_.unshift(b.record),b=b.parent;return{name:v,path:g,params:y,matched:_,meta:ib(_)}}e.forEach(f=>o(f));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:c,getRoutes:a,getRecordMatcher:s}}function kl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function zl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:ob(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function ob(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function ql(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ib(e){return e.reduce((t,n)=>Se(t,n.meta),{})}function ab(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;ld(e,t[o])<0?r=o:n=o+1}const s=lb(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function lb(e){let t=e;for(;t=t.parent;)if(cd(t)&&ld(e,t)===0)return t}function cd({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Wl(e){const t=De(io),n=De(zi),r=Z(()=>{const l=ue(e.to);return t.resolve(l)}),s=Z(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(er.bind(null,c));if(d>-1)return d;const p=Kl(l[u-2]);return u>1&&Kl(c)===p&&f[f.length-1].path!==p?f.findIndex(er.bind(null,l[u-2])):d}),o=Z(()=>s.value>-1&&pb(n.params,r.value.params)),i=Z(()=>s.value>-1&&s.value===n.matched.length-1&&rd(n.params,r.value.params));function a(l={}){if(db(l)){const u=t[ue(e.replace)?"replace":"push"](ue(e.to)).catch(Rr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:Z(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}function cb(e){return e.length===1?e[0]:e}const ub=_e({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Wl,setup(e,{slots:t}){const n=Vr(Wl(e)),{options:r}=De(io),s=Z(()=>({[Gl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Gl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&cb(t.default(n));return e.custom?o:Ai("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),fb=ub;function db(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function pb(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Et(s)||s.length!==r.length||r.some((o,i)=>o.valueOf()!==s[i].valueOf()))return!1}return!0}function Kl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Gl=(e,t,n)=>e??t??n,hb=_e({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=De(ai),s=Z(()=>e.route||r.value),o=De(jl,0),i=Z(()=>{let u=ue(o);const{matched:c}=s.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=Z(()=>s.value.matched[i.value]);Er(jl,Z(()=>i.value+1)),Er(id,a),Er(ai,s);const l=Ne();return at(()=>[l.value,a.value,e.name],([u,c,f],[d,p,y])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!er(c,p)||!d)&&(c.enterCallbacks[f]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=s.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return Jl(n.default,{Component:d,route:u});const p=f.props[c],y=p?p===!0?u.params:typeof p=="function"?p(u):p:null,v=Ai(d,Se({},y,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Jl(n.default,{Component:v,route:u})||v}}});function Jl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const mb=hb;function gb(e){const t=sb(e.routes,e),n=e.parseQuery||Vy,r=e.stringifyQuery||Bl,s=e.history,o=mr(),i=mr(),a=mr(),l=ot(Xt);let u=Xt;Un&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Co.bind(null,O=>""+O),f=Co.bind(null,xy),d=Co.bind(null,jr);function p(O,z){let V,K;return sd(O)?(V=t.getRecordMatcher(O),K=z):K=O,t.addRoute(K,V)}function y(O){const z=t.getRecordMatcher(O);z&&t.removeRoute(z)}function g(){return t.getRoutes().map(O=>O.record)}function v(O){return!!t.getRecordMatcher(O)}function _(O,z){if(z=Se({},z||l.value),typeof O=="string"){const E=Ro(n,O,z.path),C=t.resolve({path:E.path},z),S=s.createHref(E.fullPath);return Se(E,C,{params:d(C.params),hash:jr(E.hash),redirectedFrom:void 0,href:S})}let V;if(O.path!=null)V=Se({},O,{path:Ro(n,O.path,z.path).path});else{const E=Se({},O.params);for(const C in E)E[C]==null&&delete E[C];V=Se({},O,{params:f(E)}),z.params=f(z.params)}const K=t.resolve(V,z),ae=O.hash||"";K.params=c(d(K.params));const h=Ty(r,Se({},O,{hash:wy(ae),path:K.path})),m=s.createHref(h);return Se({fullPath:h,hash:ae,query:r===Bl?Hy(O.query):O.query||{}},K,{redirectedFrom:void 0,href:m})}function b(O){return typeof O=="string"?Ro(n,O,l.value.path):Se({},O)}function x(O,z){if(u!==O)return tr(Ie.NAVIGATION_CANCELLED,{from:z,to:O})}function T(O){return W(O)}function D(O){return T(Se(b(O),{replace:!0}))}function J(O,z){const V=O.matched[O.matched.length-1];if(V&&V.redirect){const{redirect:K}=V;let ae=typeof K=="function"?K(O,z):K;return typeof ae=="string"&&(ae=ae.includes("?")||ae.includes("#")?ae=b(ae):{path:ae},ae.params={}),Se({query:O.query,hash:O.hash,params:ae.path!=null?{}:O.params},ae)}}function W(O,z){const V=u=_(O),K=l.value,ae=O.state,h=O.force,m=O.replace===!0,E=J(V,K);if(E)return W(Se(b(E),{state:typeof E=="object"?Se({},ae,E.state):ae,force:h,replace:m}),z||V);const C=V;C.redirectedFrom=z;let S;return!h&&Cy(r,K,V)&&(S=tr(Ie.NAVIGATION_DUPLICATED,{to:C,from:K}),ne(K,K,!0,!1)),(S?Promise.resolve(S):k(C,K)).catch(A=>Ft(A)?Ft(A,Ie.NAVIGATION_GUARD_REDIRECT)?A:X(A):N(A,C,K)).then(A=>{if(A){if(Ft(A,Ie.NAVIGATION_GUARD_REDIRECT))return W(Se({replace:m},b(A.to),{state:typeof A.to=="object"?Se({},ae,A.to.state):ae,force:h}),z||C)}else A=F(C,K,!0,m,ae);return H(C,K,A),A})}function Y(O,z){const V=x(O,z);return V?Promise.reject(V):Promise.resolve()}function L(O){const z=xe.values().next().value;return z&&typeof z.runWithContext=="function"?z.runWithContext(O):O()}function k(O,z){let V;const[K,ae,h]=zy(O,z);V=Lo(K.reverse(),"beforeRouteLeave",O,z);for(const E of K)E.leaveGuards.forEach(C=>{V.push(sn(C,O,z))});const m=Y.bind(null,O,z);return V.push(m),ie(V).then(()=>{V=[];for(const E of o.list())V.push(sn(E,O,z));return V.push(m),ie(V)}).then(()=>{V=Lo(ae,"beforeRouteUpdate",O,z);for(const E of ae)E.updateGuards.forEach(C=>{V.push(sn(C,O,z))});return V.push(m),ie(V)}).then(()=>{V=[];for(const E of h)if(E.beforeEnter)if(Et(E.beforeEnter))for(const C of E.beforeEnter)V.push(sn(C,O,z));else V.push(sn(E.beforeEnter,O,z));return V.push(m),ie(V)}).then(()=>(O.matched.forEach(E=>E.enterCallbacks={}),V=Lo(h,"beforeRouteEnter",O,z,L),V.push(m),ie(V))).then(()=>{V=[];for(const E of i.list())V.push(sn(E,O,z));return V.push(m),ie(V)}).catch(E=>Ft(E,Ie.NAVIGATION_CANCELLED)?E:Promise.reject(E))}function H(O,z,V){a.list().forEach(K=>L(()=>K(O,z,V)))}function F(O,z,V,K,ae){const h=x(O,z);if(h)return h;const m=z===Xt,E=Un?history.state:{};V&&(K||m?s.replace(O.fullPath,Se({scroll:m&&E&&E.scroll},ae)):s.push(O.fullPath,ae)),l.value=O,ne(O,z,V,m),X()}let te;function B(){te||(te=s.listen((O,z,V)=>{if(!Pe.listening)return;const K=_(O),ae=J(K,Pe.currentRoute.value);if(ae){W(Se(ae,{replace:!0,force:!0}),K).catch(Rr);return}u=K;const h=l.value;Un&&$y(Fl(h.fullPath,V.delta),oo()),k(K,h).catch(m=>Ft(m,Ie.NAVIGATION_ABORTED|Ie.NAVIGATION_CANCELLED)?m:Ft(m,Ie.NAVIGATION_GUARD_REDIRECT)?(W(Se(b(m.to),{force:!0}),K).then(E=>{Ft(E,Ie.NAVIGATION_ABORTED|Ie.NAVIGATION_DUPLICATED)&&!V.delta&&V.type===oi.pop&&s.go(-1,!1)}).catch(Rr),Promise.reject()):(V.delta&&s.go(-V.delta,!1),N(m,K,h))).then(m=>{m=m||F(K,h,!1),m&&(V.delta&&!Ft(m,Ie.NAVIGATION_CANCELLED)?s.go(-V.delta,!1):V.type===oi.pop&&Ft(m,Ie.NAVIGATION_ABORTED|Ie.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),H(K,h,m)}).catch(Rr)}))}let M=mr(),R=mr(),I;function N(O,z,V){X(O);const K=R.list();return K.length?K.forEach(ae=>ae(O,z,V)):console.error(O),Promise.reject(O)}function re(){return I&&l.value!==Xt?Promise.resolve():new Promise((O,z)=>{M.add([O,z])})}function X(O){return I||(I=!O,B(),M.list().forEach(([z,V])=>O?V(O):z()),M.reset()),O}function ne(O,z,V,K){const{scrollBehavior:ae}=e;if(!Un||!ae)return Promise.resolve();const h=!V&&Fy(Fl(O.fullPath,0))||(K||!V)&&history.state&&history.state.scroll||null;return rr().then(()=>ae(O,z,h)).then(m=>m&&My(m)).catch(m=>N(m,O,z))}const ce=O=>s.go(O);let ye;const xe=new Set,Pe={currentRoute:l,listening:!0,addRoute:p,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:g,resolve:_,options:e,push:T,replace:D,go:ce,back:()=>ce(-1),forward:()=>ce(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:R.add,isReady:re,install(O){O.component("RouterLink",fb),O.component("RouterView",mb),O.config.globalProperties.$router=Pe,Object.defineProperty(O.config.globalProperties,"$route",{enumerable:!0,get:()=>ue(l)}),Un&&!ye&&l.value===Xt&&(ye=!0,T(s.location).catch(K=>{}));const z={};for(const K in Xt)Object.defineProperty(z,K,{get:()=>l.value[K],enumerable:!0});O.provide(io,Pe),O.provide(zi,zs(z)),O.provide(ai,l);const V=O.unmount;xe.add(O),O.unmount=function(){xe.delete(O),xe.size<1&&(u=Xt,te&&te(),te=null,l.value=Xt,ye=!1,I=!1),V()}}};function ie(O){return O.reduce((z,V)=>z.then(()=>L(V)),Promise.resolve())}return Pe}function pw(){return De(io)}function hw(e){return De(zi)}const mw=()=>Hi("/system-info"),gw=()=>Hi("/health"),_b=(e,t)=>Yf("/login",{username:e,password:t}),_w=()=>Hi("/users"),vw=e=>Yf("/users",e),yw={LLM:"大语言模型",CV:"计算机视觉",NLP:"自然语言处理",Embedding:"向量模型",Other:"其他"},bw={training:{text:"训练",type:"primary"},inference:{text:"推理",type:"success"},evaluation:{text:"评测",type:"warning"}},ww={local:"本地模型",api:"在线模型",online:"在线模型"},Ew={SFT:"SFT",DPO:"DPO",CPT:"CPT"},Sw={lora:"LoRA",qlora:"QLoRA",full:"全量微调",prefix:"Prefix Tuning",adapter:"Adapter",peft:"PEFT",adalora:"AdaLoRA",longlora:"LongLoRA",dpo:"DPO",cpt:"CPT"},xw={train:"训练数据",test:"测试数据",eval:"评测数据",val:"验证数据",other:"其他"},Ow={local:"本地存储",minio:"MinIO",cloud:"云存储"},Aw={classification:"大模型-分类型",metric:"大模型-指标型",text_similarity:"规则-文本相似度"},Tw=[{label:"cosine",value:"cosine"},{label:"linear",value:"linear"},{label:"constant",value:"constant"}],Cw=[{label:"不量化",value:0},{label:"8 bit",value:8},{label:"4 bit (QLoRA)",value:4}],Rw=[{label:"bitsandbytes",value:"bnb"},{label:"GPTQ",value:"gptq"},{label:"AWQ",value:"awq"},{label:"GGUF (llama.cpp)",value:"gguf"}],Pw=[{label:"Q4_K_M(推荐)",value:"Q4_K_M"},{label:"Q5_K_M",value:"Q5_K_M"},{label:"Q8_0",value:"Q8_0"},{label:"F16(不量化)",value:"F16"}],Lw=[{label:"Qwen 系列",options:[{label:"qwen",value:"qwen"},{label:"qwen2",value:"qwen2"},{label:"qwen2_5",value:"qwen2_5"}]},{label:"Llama 系列",options:[{label:"llama2",value:"llama2"},{label:"llama3",value:"llama3"},{label:"llama3_1",value:"llama3_1"}]},{label:"DeepSeek 系列",options:[{label:"deepseek",value:"deepseek"},{label:"deepseek2",value:"deepseek2"}]},{label:"其他系列",options:[{label:"glm4",value:"glm4"},{label:"chatglm3",value:"chatglm3"},{label:"gemma",value:"gemma"},{label:"gemma2",value:"gemma2"},{label:"phi",value:"phi"},{label:"intern2",value:"intern2"},{label:"mistral",value:"mistral"},{label:"default",value:"default"}]}],Iw=[{id:"data-generate",name:"数据生成",icon:"fa-database",description:"基于LLM生成微调数据集"},{id:"json2jsonl",name:"JSON转JSONL",icon:"fa-code",description:"将JSON文件转换为JSONL格式"},{id:"md-convert",name:"转换Markdown",icon:"fa-file-text",description:"将Markdown文件转换为训练数据"}],Nw=["fa-cog","fa-database","fa-code","fa-file-text","fa-wrench","fa-cube","fa-line-chart","fa-bar-chart","fa-server","fa-cogs","fa-tasks","fa-trophy","fa-sliders","fa-rocket","fa-cloud","fa-cloud-download","fa-microchip","fa-hdd-o","fa-globe","fa-info-circle","fa-question-circle-o","fa-user-o","fa-lock-o","fa-sign-in","fa-sign-out","fa-search","fa-plus","fa-refresh","fa-times","fa-check","fa-pencil","fa-trash","fa-play","fa-arrow-left","fa-arrow-down","fa-arrow-up"],vb=300*1e3,Is="currentUser",yb=["dashboard","fine-tune","model-eval","model-inference","model-manage","dataset","data-process","data-convert","compute","hardware","logs","user-settings"];function bb(){const e=localStorage.getItem(Is);if(e)try{return JSON.parse(e)}catch{localStorage.removeItem(Is)}return localStorage.getItem("username")==="admin"?{id:"USR-0001",username:"admin",display_name:"系统管理员",role:"admin",status:"active",permissions:yb,create_time:"2026-01-01T08:00:00+08:00",protected:!0}:null}const wb=e0("auth",()=>{const e=Ne(bb()),t=Z(()=>{var c;return((c=e.value)==null?void 0:c.username)||""}),n=Z(()=>{var c;return((c=e.value)==null?void 0:c.display_name)||t.value}),r=Z(()=>{var c,f;return((c=e.value)==null?void 0:c.role)==="admin"?"超级管理员":((f=e.value)==null?void 0:f.role)==="operator"?"操作员":"观察员"}),s=Ne(parseInt(localStorage.getItem("loginTime")||"0",10)||0),o=Z(()=>s.value?Date.now()-s.valuede(()=>import("./LoginView-Q_NnBv06.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15])),meta:{title:"登录",public:!0}},{path:"/guide",name:"guide",component:()=>de(()=>import("./GuideView-3g5nbKBg.js"),__vite__mapDeps([16,14,17])),meta:{title:"使用文档",skipPermission:!0}},{path:"/",component:()=>de(()=>import("./MainLayout-DxO92V1w.js"),__vite__mapDeps([18,19,2,9,20,21,22,23,24,25,26,27,28,29,13,14,30,31,32])),redirect:"/dashboard",children:[{path:"dashboard",name:"dashboard",component:()=>de(()=>import("./DashboardView-Demq0LOI.js"),__vite__mapDeps([33,24,25,19,2,9,20,21,26,34,35,3,22,23,28,7,36,8,37,38,39,40,41,42,43,44,14,45,46])),meta:{title:"服务看板"}},{path:"fine-tune",name:"fine-tune",component:()=>de(()=>import("./FineTuneListView-DiOkr_gD.js"),__vite__mapDeps([47,2,10,7,9,11,4,12,48,22,23,19,20,21,39,3,49,38,50,51,52,6,8,53,54,55,35,25,28,34,36,37,40,56,57,58,59,60,61,29,14,62,46,63,64,30,31,65,66,67])),meta:{title:"模型训练",pageSurface:"self"}},{path:"fine-tune/create",name:"fine-tune-create",component:()=>de(()=>import("./FineTuneCreateView-Cz_5yMnR.js"),__vite__mapDeps([68,1,2,3,4,5,19,9,20,21,6,7,8,35,25,22,23,28,34,36,37,38,39,40,69,11,70,71,72,73,74,75,29,76,53,54,14,77,78,61,79,60,80,81,82,83,84,65,31,85,86,46])),meta:{title:"创建训练任务"}},{path:"model-eval",name:"model-eval",component:()=>de(()=>import("./EvalView-DKVRGpUe.js"),__vite__mapDeps([87,2,48,22,9,23,19,20,21,4,39,3,49,38,10,7,11,12,50,58,59,60,37,61,36,6,8,52,53,54,55,35,25,28,34,40,56,57,29,14,62,46,88,89])),meta:{title:"模型评测",pageSurface:"self"}},{path:"model-eval/create",name:"model-eval-create",component:()=>de(()=>import("./EvalCreateView-DhvGYj5M.js"),__vite__mapDeps([90,2,57,76,53,54,14,77,91,25,92,1,3,4,5,6,7,8,9,35,20,19,21,22,23,28,34,36,37,38,39,40,69,11,70,93,59,94,95,10,12,73,74,75,96,49,97,29,98,67,46,99,100,101,102,88,31,85,103])),meta:{title:"新建评测"}},{path:"model-eval/:id",name:"model-eval-detail",component:()=>de(()=>import("./EvalDetailView-BJu9nn43.js"),__vite__mapDeps([104,6,7,8,2,9,34,35,20,3,25,19,21,22,23,28,36,37,38,39,40,55,56,41,42,48,4,49,10,11,12,50,57,29,76,53,54,14,77,63,46,88,105])),meta:{title:"评测详情"}},{path:"model-eval/dimension/create",name:"dimension-create",redirect:"/model-eval/create"},{path:"model-eval/dimension/:id/edit",name:"dimension-edit",component:()=>de(()=>import("./DimensionCreateView-BGQzQW6r.js"),__vite__mapDeps([106,1,2,3,4,5,6,7,8,9,76,53,54,14,77,95,35,20,25,19,21,22,23,28,34,36,37,38,39,40,10,11,12,69,70,73,74,75,96,49,97,93,59,94,29,98,67,46,88,31])),meta:{title:"编辑评测维度"}},{path:"model-inference",name:"model-inference",component:()=>de(()=>import("./InferenceListView-B67fPddK.js"),__vite__mapDeps([107,2,34,48,22,9,23,19,20,21,4,39,3,49,38,10,7,11,12,50,58,59,60,37,61,36,6,8,52,53,54,55,35,25,28,40,56,57,29,14,62,46,64,108])),meta:{title:"模型推理",pageSurface:"self"}},{path:"model-inference/create",name:"model-inference-create",component:()=>de(()=>import("./InferenceCreateView-NSg6vwcm.js"),__vite__mapDeps([109,91,25,92,1,2,3,4,5,6,7,8,9,35,20,19,21,22,23,28,34,36,37,38,39,40,71,72,76,53,54,14,77,31,46])),meta:{title:"新建推理"}},{path:"model-inference/chat/:id",name:"inference-chat",component:()=>de(()=>import("./InferenceChatView-D5OD0NwF.js"),__vite__mapDeps([110,1,2,3,4,5,6,7,8,9,27,111,20,61,36,79,112,96,73,74,75,19,21,49,38,37,97,29,113,114,108,14,115])),meta:{title:"模型对话",pageSurface:"self"}},{path:"model-compare/chat/:id",name:"compare-chat",component:()=>de(()=>import("./CompareChatView-iaZgEQ8s.js"),__vite__mapDeps([116,1,2,3,4,5,6,7,8,9,34,71,72,96,73,74,75,19,20,21,49,38,37,97,29,76,53,54,14,77,64,108,117,46])),meta:{title:"模型对比"}},{path:"model-compare/result",name:"compare-result",component:()=>de(()=>import("./CompareResultView-BlQYt7fl.js"),__vite__mapDeps([118,91,25,92,2,34,53,54,113,114,108,14,119,46])),meta:{title:"对比结果"}},{path:"model-manage",name:"model-manage",component:()=>de(()=>import("./ModelManageView-FQBUSn0C.js"),__vite__mapDeps([120,2,34,48,22,9,23,19,20,21,4,39,3,49,38,10,7,11,12,50,58,59,60,37,61,36,6,8,52,53,54,55,35,25,28,40,56,57,29,14,62,46,31,121])),meta:{title:"模型管理",pageSurface:"self"}},{path:"model-manage/create",name:"model-manage-create",component:()=>de(()=>import("./ModelCreateView-DTPv4yI8.js"),__vite__mapDeps([122,1,2,3,4,5,19,9,20,21,6,7,8,35,25,22,23,28,34,36,37,38,39,40,69,11,70,57,29,76,53,54,14,77,31,123,46])),meta:{title:"添加模型"}},{path:"model-manage/:id/edit",name:"model-manage-edit",component:()=>de(()=>import("./ModelCreateView-DTPv4yI8.js"),__vite__mapDeps([122,1,2,3,4,5,19,9,20,21,6,7,8,35,25,22,23,28,34,36,37,38,39,40,69,11,70,57,29,76,53,54,14,77,31,123,46])),meta:{title:"编辑模型"}},{path:"model-manage/merge",name:"merge-weights",component:()=>de(()=>import("./MergeWeightsView-DS-5jMr9.js"),__vite__mapDeps([124,91,25,92,1,2,3,4,5,6,7,8,9,34,76,53,54,14,77,31,125,46])),meta:{title:"合并权重"}},{path:"data-process",name:"data-process",component:()=>de(()=>import("./DataProcessListView-B4pOm5Q_.js"),__vite__mapDeps([126,2,34,48,22,9,23,19,20,21,4,39,3,49,38,10,7,11,12,50,58,59,60,37,61,36,6,8,52,53,54,55,35,25,28,40,56,57,29,14,62,46,63,127,128])),meta:{title:"数据处理",pageSurface:"self"}},{path:"data-process/create",name:"data-process-create",component:()=>de(()=>import("./DataProcessCreateView-jyj-tLuh.js"),__vite__mapDeps([129,2,130,14,131,1,3,4,5,6,7,8,9,10,11,12,73,74,75,35,20,25,19,21,22,23,28,34,36,37,38,39,40,96,49,97,93,59,94,29,55,56,41,42,132,133,127,30,31,134,67,46])),meta:{title:"新建数据处理任务",pageSurface:"self"}},{path:"data-process/:id",name:"data-process-detail",component:()=>de(()=>import("./DataProcessDetailView-gE1enluH.js"),__vite__mapDeps([135,91,25,92,1,2,3,4,5,19,9,20,21,6,7,8,34,35,22,23,28,36,37,38,39,40,78,61,79,60,80,55,56,41,42,48,49,10,11,12,50,57,58,59,29,76,53,54,14,77,63,46,64,127,136])),meta:{title:"数据处理详情"}},{path:"dataset",name:"dataset",component:()=>de(()=>import("./DatasetListView-f5ydkZni.js"),__vite__mapDeps([137,2,34,48,22,9,23,19,20,21,4,39,3,49,38,10,7,11,12,50,52,6,8,53,54,55,35,25,28,36,37,40,56,57,58,59,60,61,29,14,62,46,85,138])),meta:{title:"数据集管理",pageSurface:"self"}},{path:"dataset/create",name:"dataset-create",component:()=>de(()=>import("./DatasetCreateView-tR9bKxGq.js"),__vite__mapDeps([139,91,25,92,1,2,3,4,5,6,7,8,9,69,11,70,93,59,94,132,41,42,133,57,76,53,54,14,77,85,140])),meta:{title:"上传数据集"}},{path:"dataset/:id/edit",name:"dataset-edit",component:()=>de(()=>import("./DatasetCreateView-tR9bKxGq.js"),__vite__mapDeps([139,91,25,92,1,2,3,4,5,6,7,8,9,69,11,70,93,59,94,132,41,42,133,57,76,53,54,14,77,85,140])),meta:{title:"编辑数据集"}},{path:"dataset/:id/preview",name:"dataset-preview",component:()=>de(()=>import("./DatasetPreviewView-Lebw9VGN.js"),__vite__mapDeps([141,91,25,92,19,2,9,20,21,34,57,58,59,60,37,38,61,36,7,6,8,29,130,14,131,76,53,54,77,85,35,3,22,23,28,39,40,51,78,79,80,55,56,48,4,49,10,11,12,50,1,5,142,46])),meta:{title:"数据集预览"}},{path:"tools",name:"tools",component:()=>de(()=>import("./ToolsView-Bcj_uv2O.js"),__vite__mapDeps([143,2,53,54,81,82,58,20,59,60,37,38,61,36,7,6,8,9,76,14,77,144,145])),meta:{title:"其他工具"}},{path:"tools/create",name:"tools-create",component:()=>de(()=>import("./ToolCreateView-CsnoBuBA.js"),__vite__mapDeps([146,1,2,3,4,5,6,7,8,9,76,53,54,14,77,144,147])),meta:{title:"添加自定义工具"}},{path:"tools/:id/edit",name:"tools-edit",component:()=>de(()=>import("./ToolCreateView-CsnoBuBA.js"),__vite__mapDeps([146,1,2,3,4,5,6,7,8,9,76,53,54,14,77,144,147])),meta:{title:"编辑自定义工具"}},{path:"data-convert",name:"data-convert",component:()=>de(()=>import("./DataConvertView-Ts55u_8c.js"),__vite__mapDeps([148,1,2,3,4,5,19,9,20,21,6,7,8,35,25,22,23,28,34,36,37,38,39,40,29,76,53,54,14,77,149,46])),meta:{title:"数据类型转换"}},{path:"compute",name:"compute",component:()=>de(()=>import("./ComputeNodesView-DGj1xqt1.js"),__vite__mapDeps([150,1,2,3,4,5,6,7,8,9,34,35,20,25,19,21,22,23,28,36,37,38,39,40,78,61,79,60,80,73,74,75,41,42,101,102,93,59,94,48,49,10,11,12,50,83,84,57,29,14,151,46])),meta:{title:"算力节点",pageSurface:"self",permission:"compute"}},{path:"compute/gpus",redirect:"/compute?tab=gpus"},{path:"compute/queue",redirect:"/compute?tab=queue"},{path:"compute/nodes",redirect:"/compute?tab=nodes"},{path:"permission-denied",name:"permission-denied",component:()=>de(()=>import("./PermissionDeniedView-EZx3s9_N.js"),__vite__mapDeps([152,14,153])),meta:{title:"无权访问",skipPermission:!0}},{path:"hardware",name:"hardware",component:()=>de(()=>import("./HardwareView-DL8UFEoH.js"),__vite__mapDeps([154,91,25,92,2,35,20,3,19,9,21,22,23,28,34,7,36,8,37,38,39,40,111,61,79,112,81,82,41,42,93,59,94,48,4,49,10,11,12,50,57,29,43,76,53,54,14,77,155,44,156,46])),meta:{title:"平台性能"}},{path:"logs",name:"logs",component:()=>de(()=>import("./LogsView-DmeeKzFp.js"),__vite__mapDeps([157,6,7,8,2,9,35,20,3,25,19,21,22,23,28,34,36,37,38,39,40,74,49,11,4,83,84,76,53,54,14,77,64,158,159,46])),meta:{title:"查看日志"}},{path:"user-settings",name:"user-settings",component:()=>de(()=>import("./UserSettingsView-KcaztqRe.js"),__vite__mapDeps([160,2,48,22,9,23,19,20,21,4,39,3,49,38,10,7,11,12,50,57,29,14,161,46])),meta:{title:"用户设置",pageSurface:"self",permission:"user-settings"}},{path:"user-settings/create",name:"user-create",component:()=>de(()=>import("./UserCreateView-mg48VYjL.js"),__vite__mapDeps([162,1,2,3,4,5,6,7,8,9,35,20,25,19,21,22,23,28,34,36,37,38,39,40,10,11,12,69,70,14,163,67,46])),meta:{title:"创建用户",permission:"user-settings"}},{path:"user-settings/:id/permission",name:"user-permission",component:()=>de(()=>import("./UserPermissionView-cVCnBmji.js"),__vite__mapDeps([164,14,165])),meta:{title:"权限设置",permission:"user-settings"}},{path:"training-log/:id",name:"training-log",component:()=>de(()=>import("./TrainingLogView-Ds903_wK.js"),__vite__mapDeps([166,2,34,27,99,25,100,41,42,57,43,76,53,54,14,77,63,46,64,155,30,31,65,158,85,167])),meta:{title:"训练日志"}}]},{path:"/:pathMatch(.*)*",redirect:"/dashboard"}],ud=gb({history:Gy(),routes:Eb}),Sb={dashboard:"dashboard","fine-tune":"fine-tune","training-log":"fine-tune","model-eval":"model-eval","model-inference":"model-inference","model-compare":"model-inference","model-manage":"model-manage",dataset:"dataset","data-process":"data-process","data-convert":"data-convert",compute:"compute",tools:"data-convert",hardware:"hardware",logs:"logs","user-settings":"user-settings"};function xb(e,t){if(t)return t;const n=e.split("/")[1];return Sb[n]}ud.beforeEach((e,t,n)=>{const r=wb();if(document.title=e.meta.title?`${e.meta.title} - 远光软件微调平台`:"远光软件微调平台",e.meta.public){if(e.name==="login"&&r.isLoggedIn){n("/dashboard");return}n();return}if(!r.isLoggedIn){n({name:"login"});return}if(!e.meta.skipPermission){const s=xb(e.path,e.meta.permission);if(s&&!r.hasPermission(s)){n({name:"permission-denied",replace:!0});return}}r.refresh(),n()});const qi=qh(d1);qi.use(Gh());qi.use(ud);async function Ob(){qi.mount("#app")}Ob();export{p4 as $,gl as A,De as B,Xb as C,at as D,hl as E,Er as F,qr as G,Wc as H,Ai as I,we as J,sp as K,gh as L,st as M,We as N,A2 as O,rr as P,f4 as Q,nt as R,S4 as S,O4 as T,Wb as U,W2 as V,Wo as W,u4 as X,mu as Y,Eu as Z,h4 as _,Ni as a,a_ as a$,m4 as a0,Nc as a1,gt as a2,ge as a3,F4 as a4,D_ as a5,Q as a6,sf as a7,ef as a8,Yd as a9,Fb as aA,Re as aB,Pb as aC,de as aD,Aw as aE,Hi as aF,Yf as aG,uw as aH,fw as aI,Ql as aJ,sr as aK,Hh as aL,Vb as aM,yw as aN,bw as aO,ww as aP,ot as aQ,dw as aR,J2 as aS,Nt as aT,_t as aU,Kd as aV,k2 as aW,Nb as aX,xw as aY,Ow as aZ,N4 as a_,fi as aa,E4 as ab,hw as ac,Ib as ad,e0 as ae,gw as af,qb as ag,Js as ah,Sp as ai,t0 as aj,Rn as ak,nr as al,Xo as am,On as an,ln as ao,w4 as ap,Ew as aq,Sw as ar,B_ as as,mw as at,Lw as au,Cw as av,Rw as aw,Pw as ax,Tw as ay,Bb as az,Kr as b,s4 as b$,C4 as b0,gf as b1,U4 as b2,I4 as b3,Ub as b4,Zl as b5,u2 as b6,Yb as b7,oe as b8,i4 as b9,M4 as bA,A4 as bB,B4 as bC,K2 as bD,V4 as bE,Mb as bF,e4 as bG,l4 as bH,al as bI,G2 as bJ,ac as bK,g4 as bL,Kb as bM,k4 as bN,Yi as bO,X2 as bP,u_ as bQ,$b as bR,b4 as bS,n4 as bT,R4 as bU,T4 as bV,it as bW,z_ as bX,Tb as bY,d4 as bZ,o4 as b_,_4 as ba,hs as bb,Ab as bc,Xp as bd,v4 as be,Rb as bf,Cb as bg,P4 as bh,$4 as bi,L4 as bj,y4 as bk,x4 as bl,Iw as bm,c4 as bn,P_ as bo,j_ as bp,mi as bq,b_ as br,pl as bs,Yt as bt,$a as bu,me as bv,p2 as bw,Nw as bx,Qe as by,qc as bz,Ee as c,M2 as c$,a4 as c0,_p as c1,Qb as c2,t4 as c3,Zu as c4,H4 as c5,j4 as c6,D4 as c7,q2 as c8,Zb as c9,Ag as cA,Sg as cB,cg as cC,Tg as cD,nl as cE,An as cF,rn as cG,_m as cH,Ka as cI,Go as cJ,an as cK,Ya as cL,tf as cM,Li as cN,gp as cO,kc as cP,Hc as cQ,qe as cR,Db as cS,Bs as cT,Ju as cU,os as cV,r4 as cW,O2 as cX,Lb as cY,vf as cZ,zs as c_,Qs as ca,Gb as cb,pe as cc,Hb as cd,Tn as ce,of as cf,ka as cg,cn as ch,H0 as ci,lg as cj,Ku as ck,Gu as cl,Vu as cm,ju as cn,ag as co,f2 as cp,mg as cq,d0 as cr,As as cs,Uu as ct,N0 as cu,F0 as cv,M0 as cw,wm as cx,Am as cy,Kt as cz,_e as d,Jb as d0,Ci as d1,Xu as d2,Rm as d3,Ri as d4,qu as d5,Bu as d6,qh as d7,qt as d8,kb as d9,_w as da,vw as db,Ht as e,ue as f,Vn as g,Dr as h,R_ as i,Z as j,Eo as k,Di as l,wb as m,mt as n,fe as o,jb as p,he as q,xp as r,Le as s,zb as t,bf as u,pw as v,Wn as w,Oi as x,Ne as y,Vr as z}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-CxbBjZKo.js diff --git a/frontend/dist/assets/index-CGoqJ_Uf.js b/frontend/dist/assets/index-CGoqJ_Uf.js new file mode 100644 index 0000000..06de445 --- /dev/null +++ b/frontend/dist/assets/index-CGoqJ_Uf.js @@ -0,0 +1 @@ +import{e as s,s as n,t as r,a as o,L as P,i as Q,c as a,f as i,l as c}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const g=n({String:r.string,Number:r.number,"True False":r.bool,PropertyName:r.propertyName,Null:r.null,", :":r.separator,"[ ]":r.squareBracket,"{ }":r.brace}),p=s.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",stateData:"#O~OeOS~OQSORSOSSOTSOWQO_ROgPO~OVXOgUO~O^[O~PVO[^O~O]_OVhX~OVaO~O]bO^iX~O^dO~O]_OVha~O]bO^ia~O",goto:"!kjPPPPPPkPPkqwPPPPk{!RPPP!XP!e!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName : , ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",14,"["],["closedBy",8,"}",15,"]"]],propSources:[g],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oe~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Og~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zO]~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yO[~~'OO_~~'TO^~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),d=()=>t=>{try{JSON.parse(t.state.doc.toString())}catch(O){if(!(O instanceof SyntaxError))throw O;const e=l(O,t.state.doc);return[{from:e,message:O.message,severity:"error",to:e}]}return[]};function l(t,O){let e;return(e=t.message.match(/at position (\d+)/))?Math.min(+e[1],O.length):(e=t.message.match(/at line (\d+) column (\d+)/))?Math.min(O.line(+e[1]).from+ +e[2]-1,O.length):0}const u=P.define({name:"json",parser:p.configure({props:[Q.add({Object:a({except:/^\s*\}/}),Array:a({except:/^\s*\]/})}),i.add({"Object Array":c})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function T(){return new o(u)}export{T as json,u as jsonLanguage,d as jsonParseLinter}; diff --git a/frontend/dist/assets/index-CLZoQJ1o.js b/frontend/dist/assets/index-CLZoQJ1o.js new file mode 100644 index 0000000..a81cead --- /dev/null +++ b/frontend/dist/assets/index-CLZoQJ1o.js @@ -0,0 +1 @@ +import{P as $,bn as x,V as he,W as Ee,d as Be,bo as we,E as Te,bp as Me,z as ke,bq as q,br as _,D as ee,G as Ie,H as Se,aV as Ae,y as w,j as C,b8 as j,J as W,bs as ne,ai as A,o as c,e as p,w as v,K,s as T,q as y,n as i,aL as R,al as oe,c as D,r as L,g as h,aa as V,t as P,h as Le,L as U,x as te,Z as Ve,bt as $e,an as ie,bu as ue,bv as se,a3 as de,bw as ae,aK as Oe,U as ze}from"./index-CxbBjZKo.js";import{f as Re,_ as De}from"./index-DHcidAHK.js";import{i as Pe}from"./validator-AVoXfk3G.js";import{u as Fe}from"./index-C3HZL-2Y.js";import{E as He,u as Ke,a as Ue}from"./index-36LucyXi.js";import{E as Ne,f as le}from"./index-D23K2h6y.js";import{E as qe}from"./index-zJ9bqPrh.js";const G="_trap-focus-children",E=[],re=e=>{if(E.length===0)return;const n=he(e),t=E[E.length-1][G];if(t.length>0&&n===Ee.tab){if(t.length===1){e.preventDefault(),document.activeElement!==t[0]&&t[0].focus();return}const l=e.shiftKey,r=e.target===t[0],a=e.target===t[t.length-1];r&&l&&(e.preventDefault(),t[t.length-1].focus()),a&&!l&&(e.preventDefault(),t[0].focus())}},je={beforeMount(e){e[G]=x(e),E.push(e),E.length<=1&&document.addEventListener("keydown",re)},updated(e){$(()=>{e[G]=x(e)})},unmounted(){E.shift(),E.length===0&&document.removeEventListener("keydown",re)}};var Ge=Be({name:"ElMessageBox",directives:{TrapFocus:je},components:{ElButton:Ne,ElFocusTrap:Re,ElInput:qe,ElOverlay:He,ElIcon:Te,...we},inheritAttrs:!1,props:{buttonSize:{type:String,validator:Pe},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:Boolean,container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:n}){const{locale:t,zIndex:l,ns:r,size:a}=Me("message-box",C(()=>e.buttonSize)),{t:f}=t,{nextZIndex:m}=l,g=w(!1),o=ke({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",cancelButtonType:"",confirmButtonType:"primary",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",closeIcon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:"",inputValidator:void 0,inputErrorMessage:"",message:"",modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:q(_),cancelButtonLoadingIcon:q(_),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:m()}),F=C(()=>{const s=o.type;return{[r.bm("icon",s)]:s&&ne[s]}}),u=le(),ce=le(),fe=C(()=>{const s=o.type;return o.icon||s&&ne[s]||""}),me=C(()=>!!o.message),B=w(),X=w(),k=w(),I=w(),Z=w(),pe=C(()=>o.confirmButtonClass);ee(()=>o.inputValue,async s=>{await $(),e.boxType==="prompt"&&s&&Q()},{immediate:!0}),ee(()=>g.value,s=>{var d;s&&(e.boxType!=="prompt"&&(o.autofocus?k.value=((d=Z.value)==null?void 0:d.$el)??B.value:k.value=B.value),o.zIndex=m()),e.boxType==="prompt"&&(s?$().then(()=>{I.value&&I.value.$el&&(o.autofocus?k.value=be()??B.value:k.value=B.value)}):(o.editorErrorMessage="",o.validateError=!1))});const{isDragging:ge}=Fe(B,X,C(()=>e.draggable),C(()=>e.overflow));Ie(async()=>{await $(),e.closeOnHashChange&&window.addEventListener("hashchange",S)}),Se(()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",S)});function S(){g.value&&(g.value=!1,$(()=>{o.action&&n("action",o.action)}))}const J=()=>{e.closeOnClickModal&&z(o.distinguishCancelAndClose?"close":"cancel")},ve=Ue(J),ye=s=>{var d;if(o.inputType!=="textarea"&&!((d=I.value)!=null&&d.isComposing))return s.preventDefault(),z("confirm")},z=s=>{var d;e.boxType==="prompt"&&s==="confirm"&&!Q()||(o.action=s,o.beforeClose?(d=o.beforeClose)==null||d.call(o,s,o,S):S())},Q=()=>{if(e.boxType==="prompt"){const s=o.inputPattern;if(s&&!s.test(o.inputValue||""))return o.editorErrorMessage=o.inputErrorMessage||f("el.messagebox.error"),o.validateError=!0,!1;const d=o.inputValidator;if(j(d)){const H=d(o.inputValue);if(H===!1)return o.editorErrorMessage=o.inputErrorMessage||f("el.messagebox.error"),o.validateError=!0,!1;if(W(H))return o.editorErrorMessage=H,o.validateError=!0,!1}}return o.editorErrorMessage="",o.validateError=!1,!0},be=()=>{var d;const s=(d=I.value)==null?void 0:d.$refs;return(s==null?void 0:s.input)??(s==null?void 0:s.textarea)},Y=()=>{z("close")},Ce=()=>{e.closeOnPressEscape&&Y()};return e.lockScroll&&Ke(g,{ns:r}),{...Ae(o),ns:r,overlayEvent:ve,visible:g,hasMessage:me,typeClass:F,contentId:u,inputId:ce,btnSize:a,iconComponent:fe,confirmButtonClasses:pe,rootRef:B,focusStartRef:k,headerRef:X,inputRef:I,isDragging:ge,confirmRef:Z,doClose:S,handleClose:Y,onCloseRequested:Ce,handleWrapperClick:J,handleInputEnter:ye,handleAction:z,t:f}}});const We=["aria-label","aria-describedby"],Xe=["aria-label"],Ze=["id"];function Je(e,n,t,l,r,a){const f=A("el-icon"),m=A("el-input"),g=A("el-button"),o=A("el-focus-trap"),F=A("el-overlay");return c(),p(Ve,{name:"fade-in-linear",onAfterLeave:n[11]||(n[11]=u=>e.$emit("vanish")),persisted:""},{default:v(()=>[K(T(F,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:v(()=>[y("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:i(`${e.ns.namespace.value}-overlay-message-box`),onClick:n[8]||(n[8]=(...u)=>e.overlayEvent.onClick&&e.overlayEvent.onClick(...u)),onMousedown:n[9]||(n[9]=(...u)=>e.overlayEvent.onMousedown&&e.overlayEvent.onMousedown(...u)),onMouseup:n[10]||(n[10]=(...u)=>e.overlayEvent.onMouseup&&e.overlayEvent.onMouseup(...u))},[T(o,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:v(()=>[y("div",{ref:"rootRef",class:i([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),e.ns.is("dragging",e.isDragging),{[e.ns.m("center")]:e.center}]),style:oe(e.customStyle),tabindex:"-1",onClick:n[7]||(n[7]=R(()=>{},["stop"]))},[e.title!==null&&e.title!==void 0?(c(),D("div",{key:0,ref:"headerRef",class:i([e.ns.e("header"),{"show-close":e.showClose}])},[y("div",{class:i(e.ns.e("title"))},[e.iconComponent&&e.center?(c(),p(f,{key:0,class:i([e.ns.e("status"),e.typeClass])},{default:v(()=>[(c(),p(L(e.iconComponent)))]),_:1},8,["class"])):h("v-if",!0),y("span",null,V(e.title),1)],2),e.showClose?(c(),D("button",{key:0,type:"button",class:i(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:n[0]||(n[0]=u=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),onKeydown:n[1]||(n[1]=P(R(u=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[T(f,{class:i(e.ns.e("close"))},{default:v(()=>[(c(),p(L(e.closeIcon||"close")))]),_:1},8,["class"])],42,Xe)):h("v-if",!0)],2)):h("v-if",!0),y("div",{id:e.contentId,class:i(e.ns.e("content"))},[y("div",{class:i(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(c(),p(f,{key:0,class:i([e.ns.e("status"),e.typeClass])},{default:v(()=>[(c(),p(L(e.iconComponent)))]),_:1},8,["class"])):h("v-if",!0),e.hasMessage?(c(),D("div",{key:1,class:i(e.ns.e("message"))},[Le(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(c(),p(L(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(c(),p(L(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0,textContent:V(e.message)},null,8,["for","textContent"]))])],2)):h("v-if",!0)],2),K(y("div",{class:i(e.ns.e("input"))},[T(m,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":n[2]||(n[2]=u=>e.inputValue=u),type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:i({invalid:e.validateError}),onKeydown:P(e.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),y("div",{class:i(e.ns.e("errormsg")),style:oe({visibility:e.editorErrorMessage?"visible":"hidden"})},V(e.editorErrorMessage),7)],2),[[U,e.showInput]])],10,Ze),e.showCancelButton||e.showConfirmButton?(c(),D("div",{key:1,class:i(e.ns.e("btns"))},[e.showCancelButton?(c(),p(g,{key:0,type:e.cancelButtonType==="text"?"":e.cancelButtonType,text:e.cancelButtonType==="text",loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:i([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:n[3]||(n[3]=u=>e.handleAction("cancel")),onKeydown:n[4]||(n[4]=P(R(u=>e.handleAction("cancel"),["prevent"]),["enter"]))},{default:v(()=>[te(V(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","size"])):h("v-if",!0),K(T(g,{ref:"confirmRef",type:e.confirmButtonType==="text"?"":e.confirmButtonType,text:e.confirmButtonType==="text",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:i([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:n[5]||(n[5]=u=>e.handleAction("confirm")),onKeydown:n[6]||(n[6]=P(R(u=>e.handleAction("confirm"),["prevent"]),["enter"]))},{default:v(()=>[te(V(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","disabled","size"]),[[U,e.showConfirmButton]])],2)):h("v-if",!0)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,We)]),_:3},8,["z-index","overlay-class","mask"]),[[U,e.visible]])]),_:3})}var Qe=De(Ge,[["render",Je]]);const O=new Map,Ye=e=>{let n=document.body;return e.appendTo&&(W(e.appendTo)&&(n=document.querySelector(e.appendTo)),ae(e.appendTo)&&(n=e.appendTo),ae(n)||(Oe("ElMessageBox","the appendTo option is not an HTMLElement. Falling back to document.body."),n=document.body)),n},N=(e,n)=>{var l;const t=(l=e.component)==null?void 0:l.proxy;return()=>t.handleAction(n)},xe=(e,n,t=null)=>{const l=T(Qe,e,j(e.message)||ie(e.message)?{default:j(e.message)?()=>e.message({confirm:N(l,"confirm"),cancel:N(l,"cancel"),close:N(l,"close")}):()=>e.message}:null);return l.appContext=t,ue(l,n),Ye(e).appendChild(n.firstElementChild),l.component},_e=()=>document.createElement("div"),en=(e,n)=>{const t=_e();e.onVanish=()=>{ue(null,t),O.delete(r)},e.onAction=a=>{const f=O.get(r);let m;e.showInput?m={value:r.inputValue,action:a}:m=a,e.callback?e.callback(m,l.proxy):a==="cancel"||a==="close"?e.distinguishCancelAndClose&&a!=="cancel"?f.reject("close"):f.reject("cancel"):f.resolve(m)};const l=xe(e,t,n),r=l.proxy;for(const a in e)se(e,a)&&!se(r.$props,a)&&(a==="closeIcon"&&de(e[a])?r[a]=q(e[a]):r[a]=e[a]);return r.visible=!0,r};function M(e,n=null){if(!$e)return Promise.reject();let t;return W(e)||ie(e)?e={message:e}:t=e.callback,new Promise((l,r)=>{const a=en(e,n??M._context);O.set(a,{options:e,callback:t,resolve:l,reject:r})})}const nn=["alert","confirm","prompt"],on={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};nn.forEach(e=>{M[e]=tn(e)});function tn(e){return(n,t,l,r)=>{let a="";return de(t)?(l=t,a=""):ze(t)?a="":a=t,M(Object.assign({title:a,message:n,type:"",...on[e]},l,{boxType:e}),r)}}M.close=()=>{O.forEach((e,n)=>{n.doClose()}),O.clear()};M._context=null;const b=M;b.install=e=>{b._context=e._context,e.config.globalProperties.$msgbox=b,e.config.globalProperties.$messageBox=b,e.config.globalProperties.$alert=b.alert,e.config.globalProperties.$confirm=b.confirm,e.config.globalProperties.$prompt=b.prompt};const fn=b;export{fn as E}; diff --git a/frontend/dist/assets/index-CR0Xq76f.js b/frontend/dist/assets/index-CR0Xq76f.js index 91d2899..72fd1a2 100644 --- a/frontend/dist/assets/index-CR0Xq76f.js +++ b/frontend/dist/assets/index-CR0Xq76f.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-CR0Xq76f.js import{L as g,a as q,p as P,q as l,v as i,s as c,t as r,e as R,E as p}from"./index-DFkjzvE0.js";import"./index-CD29OCdJ.js";const b=1,$=33,m=34,v=35,x=36,W=new p(O=>{let e=O.pos;for(;;){if(O.next==10){O.advance();break}else if(O.next==123&&O.peek(1)==123||O.next<0)break;O.advance()}O.pos>e&&O.acceptToken(b)});function n(O,e,a){return new p(t=>{let u=t.pos;for(;t.next!=O&&t.next>=0&&(a||t.next!=38&&(t.next!=123||t.peek(1)!=123));)t.advance();t.pos>u&&t.acceptToken(e)})}const d=n(39,$,!1),C=n(34,m,!1),T=n(39,v,!0),f=n(34,x,!0),A=R.deserialize({version:14,states:"(jOVOqOOOeQpOOOvO!bO'#CaOOOP'#Cx'#CxQVOqOOO!OQpO'#CfO!WQpO'#ClO!]QpO'#CrO!bQpO'#CsOOQO'#Cv'#CvQ!gQpOOQ!lQpOOQ!qQpOOOOOV,58{,58{O!vOpO,58{OOOP-E6v-E6vO!{QpO,59QO#TQpO,59QOOQO,59W,59WO#YQpO,59^OOQO,59_,59_O#_QpOOO#_QpOOO#gQpOOOOOV1G.g1G.gO#oQpO'#CyO#tQpO1G.lOOQO1G.l1G.lO#|QpO1G.lOOQO1G.x1G.xO$UO`O'#DUO$ZOWO'#DUOOQO'#Co'#CoQOQpOOOOQO'#Cu'#CuO$`OtO'#CwO$qOrO'#CwOOQO,59e,59eOOQO-E6w-E6wOOQO7+$W7+$WO%SQpO7+$WO%[QpO7+$WOOOO'#Cp'#CpO%aOpO,59pOOOO'#Cq'#CqO%fOpO,59pOOOS'#Cz'#CzO%kOtO,59cOOQO,59c,59cOOOQ'#C{'#C{O%|OrO,59cO&_QpO<O.name=="InterpolationContent"?o:null)}),y=Q.configure({wrap:l((O,e)=>{var a;return O.name=="InterpolationContent"?o:O.name!="AttributeInterpolation"?null:((a=O.node.parent)===null||a===void 0?void 0:a.name)=="StatementAttributeValue"?w:o}),top:"Attribute"}),E={parser:U},N={parser:y},s=P({selfClosingTags:!0});function S(O){return O.configure({wrap:l(z)},"angular")}const k=S(s.language);function z(O,e){switch(O.name){case"Attribute":return/^[*#(\[]|\{\{/.test(e.read(O.from,O.to))?N:null;case"Text":return E}return null}function h(O={}){let e=s;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof g))throw new RangeError("The base option must be the result of calling html(...)");e=O.base}return new q(e.language==s.language?k:S(e.language),[e.support,e.language.data.of({closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/})])}export{h as angular,k as angularLanguage}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-j6ljV5PG.js +import{L as g,a as q,p as P,q as l,v as i,s as c,t as r,e as R,E as p}from"./index-Szd58FrA.js";import"./index-Ds9AETjS.js";const b=1,$=33,m=34,v=35,x=36,W=new p(O=>{let e=O.pos;for(;;){if(O.next==10){O.advance();break}else if(O.next==123&&O.peek(1)==123||O.next<0)break;O.advance()}O.pos>e&&O.acceptToken(b)});function n(O,e,a){return new p(t=>{let u=t.pos;for(;t.next!=O&&t.next>=0&&(a||t.next!=38&&(t.next!=123||t.peek(1)!=123));)t.advance();t.pos>u&&t.acceptToken(e)})}const d=n(39,$,!1),C=n(34,m,!1),T=n(39,v,!0),f=n(34,x,!0),A=R.deserialize({version:14,states:"(jOVOqOOOeQpOOOvO!bO'#CaOOOP'#Cx'#CxQVOqOOO!OQpO'#CfO!WQpO'#ClO!]QpO'#CrO!bQpO'#CsOOQO'#Cv'#CvQ!gQpOOQ!lQpOOQ!qQpOOOOOV,58{,58{O!vOpO,58{OOOP-E6v-E6vO!{QpO,59QO#TQpO,59QOOQO,59W,59WO#YQpO,59^OOQO,59_,59_O#_QpOOO#_QpOOO#gQpOOOOOV1G.g1G.gO#oQpO'#CyO#tQpO1G.lOOQO1G.l1G.lO#|QpO1G.lOOQO1G.x1G.xO$UO`O'#DUO$ZOWO'#DUOOQO'#Co'#CoQOQpOOOOQO'#Cu'#CuO$`OtO'#CwO$qOrO'#CwOOQO,59e,59eOOQO-E6w-E6wOOQO7+$W7+$WO%SQpO7+$WO%[QpO7+$WOOOO'#Cp'#CpO%aOpO,59pOOOO'#Cq'#CqO%fOpO,59pOOOS'#Cz'#CzO%kOtO,59cOOQO,59c,59cOOOQ'#C{'#C{O%|OrO,59cO&_QpO<O.name=="InterpolationContent"?o:null)}),y=Q.configure({wrap:l((O,e)=>{var a;return O.name=="InterpolationContent"?o:O.name!="AttributeInterpolation"?null:((a=O.node.parent)===null||a===void 0?void 0:a.name)=="StatementAttributeValue"?w:o}),top:"Attribute"}),E={parser:U},N={parser:y},s=P({selfClosingTags:!0});function S(O){return O.configure({wrap:l(z)},"angular")}const k=S(s.language);function z(O,e){switch(O.name){case"Attribute":return/^[*#(\[]|\{\{/.test(e.read(O.from,O.to))?N:null;case"Text":return E}return null}function h(O={}){let e=s;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof g))throw new RangeError("The base option must be the result of calling html(...)");e=O.base}return new q(e.language==s.language?k:S(e.language),[e.support,e.language.data.of({closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/})])}export{h as angular,k as angularLanguage}; +======== +import{L as g,a as q,p as P,q as l,v as i,s as c,t as r,e as R,E as p}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const b=1,$=33,m=34,v=35,x=36,W=new p(O=>{let e=O.pos;for(;;){if(O.next==10){O.advance();break}else if(O.next==123&&O.peek(1)==123||O.next<0)break;O.advance()}O.pos>e&&O.acceptToken(b)});function n(O,e,a){return new p(t=>{let u=t.pos;for(;t.next!=O&&t.next>=0&&(a||t.next!=38&&(t.next!=123||t.peek(1)!=123));)t.advance();t.pos>u&&t.acceptToken(e)})}const d=n(39,$,!1),C=n(34,m,!1),T=n(39,v,!0),f=n(34,x,!0),A=R.deserialize({version:14,states:"(jOVOqOOOeQpOOOvO!bO'#CaOOOP'#Cx'#CxQVOqOOO!OQpO'#CfO!WQpO'#ClO!]QpO'#CrO!bQpO'#CsOOQO'#Cv'#CvQ!gQpOOQ!lQpOOQ!qQpOOOOOV,58{,58{O!vOpO,58{OOOP-E6v-E6vO!{QpO,59QO#TQpO,59QOOQO,59W,59WO#YQpO,59^OOQO,59_,59_O#_QpOOO#_QpOOO#gQpOOOOOV1G.g1G.gO#oQpO'#CyO#tQpO1G.lOOQO1G.l1G.lO#|QpO1G.lOOQO1G.x1G.xO$UO`O'#DUO$ZOWO'#DUOOQO'#Co'#CoQOQpOOOOQO'#Cu'#CuO$`OtO'#CwO$qOrO'#CwOOQO,59e,59eOOQO-E6w-E6wOOQO7+$W7+$WO%SQpO7+$WO%[QpO7+$WOOOO'#Cp'#CpO%aOpO,59pOOOO'#Cq'#CqO%fOpO,59pOOOS'#Cz'#CzO%kOtO,59cOOQO,59c,59cOOOQ'#C{'#C{O%|OrO,59cO&_QpO<O.name=="InterpolationContent"?o:null)}),y=Q.configure({wrap:l((O,e)=>{var a;return O.name=="InterpolationContent"?o:O.name!="AttributeInterpolation"?null:((a=O.node.parent)===null||a===void 0?void 0:a.name)=="StatementAttributeValue"?w:o}),top:"Attribute"}),E={parser:U},N={parser:y},s=P({selfClosingTags:!0});function S(O){return O.configure({wrap:l(z)},"angular")}const k=S(s.language);function z(O,e){switch(O.name){case"Attribute":return/^[*#(\[]|\{\{/.test(e.read(O.from,O.to))?N:null;case"Text":return E}return null}function h(O={}){let e=s;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof g))throw new RangeError("The base option must be the result of calling html(...)");e=O.base}return new q(e.language==s.language?k:S(e.language),[e.support,e.language.data.of({closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/})])}export{h as angular,k as angularLanguage}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-Bsb59gf-.js diff --git a/frontend/dist/assets/index-CWS1UdQw.js b/frontend/dist/assets/index-CWS1UdQw.js new file mode 100644 index 0000000..3729cd4 --- /dev/null +++ b/frontend/dist/assets/index-CWS1UdQw.js @@ -0,0 +1 @@ +import{e as G,E as A,C as N,s as I,t as p,n as Y,g as k,o as j,a as U,L as Z,i as B,f as D,u as M}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const h=1,F=2,L=3,K=4,H=5,J=36,ee=37,te=38,Oe=11,oe=13;function re(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function ne(e){return e==9||e==10||e==13||e==32}let Q=null,V=null,X=0;function W(e,t){let o=e.pos+t;if(V==e&&X==o)return Q;for(;ne(e.peek(t));)t++;let O="";for(;;){let r=e.peek(t);if(!re(r))break;O+=String.fromCharCode(r),t++}return V=e,X=o,Q=O||null}function _(e,t){this.name=e,this.parent=t}const ae=new N({start:null,shift(e,t,o,O){return t==h?new _(W(O,1)||"",e):e},reduce(e,t){return t==Oe&&e?e.parent:e},reuse(e,t,o,O){let r=t.type.id;return r==h||r==oe?new _(W(O,1)||"",e):e},strict:!1}),le=new A((e,t)=>{if(e.next==60){if(e.advance(),e.next==47){e.advance();let o=W(e,0);if(!o)return e.acceptToken(H);if(t.context&&o==t.context.name)return e.acceptToken(F);for(let O=t.context;O;O=O.parent)if(O.name==o)return e.acceptToken(L,-2);e.acceptToken(K)}else if(e.next!=33&&e.next!=63)return e.acceptToken(h)}},{contextual:!0});function y(e,t){return new A(o=>{let O=0,r=t.charCodeAt(0);e:for(;!(o.next<0);o.advance(),O++)if(o.next==r){for(let a=1;a"),ie=y(ee,"?>"),ce=y(te,"]]>"),me=I({Text:p.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":p.angleBracket,TagName:p.tagName,"MismatchedCloseTag/TagName":[p.tagName,p.invalid],AttributeName:p.attributeName,AttributeValue:p.attributeValue,Is:p.definitionOperator,"EntityReference CharacterReference":p.character,Comment:p.blockComment,ProcessingInst:p.processingInstruction,DoctypeDecl:p.documentMeta,Cdata:p.special(p.string)}),$e=G.deserialize({version:14,states:",lOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DT'#DTOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C|'#C|O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C}'#C}O$dOrO,59^OOOP,59^,59^OOOS'#DO'#DOO$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6z-E6zOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6{-E6{OOOP1G.x1G.xOOOS-E6|-E6|OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'mO!bO,59eOOOO-E6w-E6wO'{OpO1G.uO'{OpO1G.uOOOP1G.u1G.uO(TOpO7+$fOOOP7+$f7+$fO(]O!bO<c!|;'S(o;'S;=`)]<%lO(oi>jX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(ors&osv(owx'}x#T(o#T#UH`#U;'S(o;'S;=`)]<%lO(oiLwX|W!O`Or(ors&osv(owx'}x#c(o#c#dMd#d;'S(o;'S;=`)]<%lO(oiMkX|W!O`Or(ors&osv(owx'}x#V(o#V#WNW#W;'S(o;'S;=`)]<%lO(oiN_X|W!O`Or(ors&osv(owx'}x#h(o#h#iNz#i;'S(o;'S;=`)]<%lO(oi! RX|W!O`Or(ors&osv(owx'}x#m(o#m#n! n#n;'S(o;'S;=`)]<%lO(oi! uX|W!O`Or(ors&osv(owx'}x#d(o#d#e!!b#e;'S(o;'S;=`)]<%lO(oi!!iX|W!O`Or(ors&osv(owx'}x#X(o#X#Y?y#Y;'S(o;'S;=`)]<%lO(oi!#_V!SP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(ok!$PXaQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qo!$wX[UVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!%mZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!&`!a;'S$q;'S;=`)c<%lO$qk!&kX!RQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!'aZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_#P$q#P#Q!(S#Q;'S$q;'S;=`)c<%lO$qk!(]ZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!)O!a;'S$q;'S;=`)c<%lO$qk!)ZXxQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$q",tokenizers:[le,se,ie,ce,0,1,2,3,4],topRules:{Document:[0,6]},tokenPrec:0});function T(e,t){let o=t&&t.getChild("TagName");return o?e.sliceString(o.from,o.to):""}function P(e,t){let o=t&&t.firstChild;return!o||o.name!="OpenTag"?"":T(e,o)}function Se(e,t,o){let O=t&&t.getChildren("Attribute").find(a=>a.from<=o&&a.to>=o),r=O&&O.getChild("AttributeName");return r?e.sliceString(r.from,r.to):""}function C(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name=="Element")return t;return null}function ge(e,t){var o;let O=k(e).resolveInner(t,-1),r=null;for(let a=O;!r&&a.parent;a=a.parent)(a.name=="OpenTag"||a.name=="CloseTag"||a.name=="SelfClosingTag"||a.name=="MismatchedCloseTag")&&(r=a);if(r&&(r.to>t||r.lastChild.type.isError)){let a=r.parent;if(O.name=="TagName")return r.name=="CloseTag"||r.name=="MismatchedCloseTag"?{type:"closeTag",from:O.from,context:a}:{type:"openTag",from:O.from,context:C(a)};if(O.name=="AttributeName")return{type:"attrName",from:O.from,context:r};if(O.name=="AttributeValue")return{type:"attrValue",from:O.from,context:r};let s=O==r||O.name=="Attribute"?O.childBefore(t):O;return(s==null?void 0:s.name)=="StartTag"?{type:"openTag",from:t,context:C(a)}:(s==null?void 0:s.name)=="StartCloseTag"&&s.to<=t?{type:"closeTag",from:t,context:a}:(s==null?void 0:s.name)=="Is"?{type:"attrValue",from:t,context:r}:s?{type:"attrName",from:t,context:r}:null}else if(O.name=="StartCloseTag")return{type:"closeTag",from:t,context:O.parent};for(;O.parent&&O.to==t&&!(!((o=O.lastChild)===null||o===void 0)&&o.type.isError);)O=O.parent;return O.name=="Element"||O.name=="Text"||O.name=="Document"?{type:"tag",from:t,context:O.name=="Element"?O:C(O)}:null}class ue{constructor(t,o,O){this.attrs=o,this.attrValues=O,this.children=[],this.name=t.name,this.completion=Object.assign(Object.assign({type:"type"},t.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=t.textContent?t.textContent.map(r=>({label:r,type:"text"})):[]}}const b=/^[:\-\.\w\u00b7-\uffff]*$/;function E(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function R(e){return typeof e=="string"?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function pe(e,t){let o=[],O=[],r=Object.create(null);for(let n of t){let $=E(n);o.push($),n.global&&O.push($),n.values&&(r[n.name]=n.values.map(R))}let a=[],s=[],f=Object.create(null);for(let n of e){let $=O,c=r;n.attributes&&($=$.concat(n.attributes.map(l=>typeof l=="string"?o.find(d=>d.label==l)||{label:l,type:"property"}:(l.values&&(c==r&&(c=Object.create(c)),c[l.name]=l.values.map(R)),E(l)))));let u=new ue(n,$,c);f[u.name]=u,a.push(u),n.top&&s.push(u)}s.length||(s=a);for(let n=0;n{var $;let{doc:c}=n.state,u=ge(n.state,n.pos);if(!u||u.type=="tag"&&!n.explicit)return null;let{type:l,from:d,context:S}=u;if(l=="openTag"){let i=s,m=P(c,S);if(m){let g=f[m];i=(g==null?void 0:g.children)||a}return{from:d,options:i.map(g=>g.completion),validFor:b}}else if(l=="closeTag"){let i=P(c,S);return i?{from:d,to:n.pos+(c.sliceString(n.pos,n.pos+1)==">"?1:0),options:[(($=f[i])===null||$===void 0?void 0:$.closeNameCompletion)||{label:i+">",type:"type"}],validFor:b}:null}else if(l=="attrName"){let i=f[T(c,S)];return{from:d,options:(i==null?void 0:i.attrs)||O,validFor:b}}else if(l=="attrValue"){let i=Se(c,S,d);if(!i)return null;let m=f[T(c,S)],g=((m==null?void 0:m.attrValues)||r)[i];return!g||!g.length?null:{from:d,to:n.pos+(c.sliceString(n.pos,n.pos+1)=='"'?1:0),options:g,validFor:/^"[^"]*"?$/}}else if(l=="tag"){let i=P(c,S),m=f[i],g=[],q=S&&S.lastChild;i&&(!q||q.name!="CloseTag"||T(c,q)!=i)&&g.push(m?m.closeCompletion:{label:"",type:"type",boost:2});let v=g.concat(((m==null?void 0:m.children)||(S?a:s)).map(x=>x.openCompletion));if(S&&(m!=null&&m.text.length)){let x=S.firstChild;x.to>n.pos-20&&!/\S/.test(n.state.sliceDoc(x.to,n.pos))&&(v=v.concat(m.text))}return{from:d,options:v,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const w=Z.define({name:"xml",parser:$e.configure({props:[B.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),D.add({Element(e){let t=e.firstChild,o=e.lastChild;return!t||t.name!="OpenTag"?null:{from:t.to,to:o.name=="CloseTag"?o.from:e.to}}}),M.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/$/}});function xe(e={}){let t=[w.data.of({autocomplete:pe(e.elements||[],e.attributes||[])})];return e.autoCloseTags!==!1&&t.push(fe),new U(w,t)}function z(e,t,o=e.length){if(!t)return"";let O=t.firstChild,r=O&&O.getChild("TagName");return r?e.sliceString(r.from,Math.min(r.to,o)):""}const fe=Y.inputHandler.of((e,t,o,O,r)=>{if(e.composing||e.state.readOnly||t!=o||O!=">"&&O!="/"||!w.isActiveAt(e.state,t,-1))return!1;let a=r(),{state:s}=a,f=s.changeByRange(n=>{var $,c,u;let{head:l}=n,d=s.doc.sliceString(l-1,l)==O,S=k(s).resolveInner(l,-1),i;if(d&&O==">"&&S.name=="EndTag"){let m=S.parent;if(((c=($=m.parent)===null||$===void 0?void 0:$.lastChild)===null||c===void 0?void 0:c.name)!="CloseTag"&&(i=z(s.doc,m.parent,l))){let g=l+(s.doc.sliceString(l,l+1)===">"?1:0),q=``;return{range:n,changes:{from:l,to:g,insert:q}}}}else if(d&&O=="/"&&S.name=="StartCloseTag"){let m=S.parent;if(S.from==l-2&&((u=m.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(i=z(s.doc,m,l))){let g=l+(s.doc.sliceString(l,l+1)===">"?1:0),q=`${i}>`;return{range:j.cursor(l+q.length,-1),changes:{from:l,to:g,insert:q}}}}return{range:n}});return f.changes.empty?!1:(e.dispatch([a,s.update(f,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});export{fe as autoCloseTags,pe as completeFromSchema,xe as xml,w as xmlLanguage}; diff --git a/frontend/dist/assets/index-CnqY5EQh.js b/frontend/dist/assets/index-CnqY5EQh.js new file mode 100644 index 0000000..55869e1 --- /dev/null +++ b/frontend/dist/assets/index-CnqY5EQh.js @@ -0,0 +1 @@ +import{e as W,E as i,C as B,s as U,t as n,a as b,q as E,L as C,i as u,k as v,f as M,l as N}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const c=63,D=64,j=1,A=2,y=3,H=4,Z=5,F=6,I=7,z=65,K=66,J=8,OO=9,eO=10,aO=11,rO=12,V=13,tO=19,nO=20,oO=29,PO=33,QO=34,sO=47,lO=0,T=1,g=2,d=3,m=4;class s{constructor(e,a,r){this.parent=e,this.depth=a,this.type=r,this.hash=(e?e.hash+e.hash<<8:0)+a+(a<<4)+r}}s.top=new s(null,-1,lO);function X(O,e){for(let a=0,r=e-O.pos-1;;r--,a++){let o=O.peek(r);if(P(o)||o==-1)return a}}function x(O){return O==32||O==9}function P(O){return O==10||O==13}function _(O){return x(O)||P(O)}function l(O){return O<0||_(O)}const cO=new B({start:s.top,reduce(O,e){return O.type==d&&(e==nO||e==QO)?O.parent:O},shift(O,e,a,r){if(e==y)return new s(O,X(r,r.pos),T);if(e==z||e==Z)return new s(O,X(r,r.pos),g);if(e==c)return O.parent;if(e==tO||e==PO)return new s(O,0,d);if(e==V&&O.type==m)return O.parent;if(e==sO){let o=/[1-9]/.exec(r.read(r.pos,a.pos));if(o)return new s(O,O.depth+ +o[0],m)}return O},hash(O){return O.hash}});function f(O,e,a=0){return O.peek(a)==e&&O.peek(a+1)==e&&O.peek(a+2)==e&&l(O.peek(a+3))}const fO=new i((O,e)=>{if(O.next==-1&&e.canShift(D))return O.acceptToken(D);let a=O.peek(-1);if((P(a)||a<0)&&e.context.type!=d){if(f(O,45))if(e.canShift(c))O.acceptToken(c);else return O.acceptToken(j,3);if(f(O,46))if(e.canShift(c))O.acceptToken(c);else return O.acceptToken(A,3);let r=0;for(;O.next==32;)r++,O.advance();(r{if(e.context.type==d){O.next==63&&(O.advance(),l(O.next)&&O.acceptToken(I));return}if(O.next==45)O.advance(),l(O.next)&&O.acceptToken(e.context.type==T&&e.context.depth==X(O,O.pos-1)?H:y);else if(O.next==63)O.advance(),l(O.next)&&O.acceptToken(e.context.type==g&&e.context.depth==X(O,O.pos-1)?F:Z);else{let a=O.pos;for(;;)if(x(O.next)){if(O.pos==a)return;O.advance()}else if(O.next==33)G(O);else if(O.next==38)$(O);else if(O.next==42){$(O);break}else if(O.next==39||O.next==34){if(p(O,!0))break;return}else if(O.next==91||O.next==123){if(!RO(O))return;break}else{w(O,!0,!1,0);break}for(;x(O.next);)O.advance();if(O.next==58){if(O.pos==a&&e.canShift(oO))return;let r=O.peek(1);l(r)&&O.acceptTokenTo(e.context.type==g&&e.context.depth==X(O,a)?K:z,a)}}},{contextual:!0});function dO(O){return O>32&&O<127&&O!=34&&O!=37&&O!=44&&O!=60&&O!=62&&O!=92&&O!=94&&O!=96&&O!=123&&O!=124&&O!=125}function q(O){return O>=48&&O<=57||O>=97&&O<=102||O>=65&&O<=70}function Y(O,e){return O.next==37?(O.advance(),q(O.next)&&O.advance(),q(O.next)&&O.advance(),!0):dO(O.next)||e&&O.next==44?(O.advance(),!0):!1}function G(O){if(O.advance(),O.next==60){for(O.advance();;)if(!Y(O,!0)){O.next==62&&O.advance();break}}else for(;Y(O,!1););}function $(O){for(O.advance();!l(O.next)&&S(O.next)!="f";)O.advance()}function p(O,e){let a=O.next,r=!1,o=O.pos;for(O.advance();;){let t=O.next;if(t<0)break;if(O.advance(),t==a)if(t==39)if(O.next==39)O.advance();else break;else break;else if(t==92&&a==34)O.next>=0&&O.advance();else if(P(t)){if(e)return!1;r=!0}else if(e&&O.pos>=o+1024)return!1}return!r}function RO(O){for(let e=[],a=O.pos+1024;;)if(O.next==91||O.next==123)e.push(O.next),O.advance();else if(O.next==39||O.next==34){if(!p(O,!0))return!1}else if(O.next==93||O.next==125){if(e[e.length-1]!=O.next-2)return!1;if(e.pop(),O.advance(),!e.length)return!0}else{if(O.next<0||O.pos>a||P(O.next))return!1;O.advance()}}const SO="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function S(O){return O<33?"u":O>125?"s":SO[O-33]}function k(O,e){let a=S(O);return a!="u"&&!(e&&a=="f")}function w(O,e,a,r){if(S(O.next)=="s"||(O.next==63||O.next==58||O.next==45)&&k(O.peek(1),a))O.advance();else return!1;let o=O.pos;for(;;){let t=O.next,Q=0,R=r+1;for(;_(t);){if(P(t)){if(e)return!1;R=0}else R++;t=O.peek(++Q)}if(!(t>=0&&(t==58?k(O.peek(Q+1),a):t==35?O.peek(Q-1)!=32:k(t,a)))||!a&&R<=r||R==0&&!a&&(f(O,45,Q)||f(O,46,Q)))break;if(e&&S(t)=="f")return!1;for(let h=Q;h>=0;h--)O.advance();if(e&&O.pos>o+1024)return!1}return!0}const iO=new i((O,e)=>{if(O.next==33)G(O),O.acceptToken(rO);else if(O.next==38||O.next==42){let a=O.next==38?eO:aO;$(O),O.acceptToken(a)}else O.next==39||O.next==34?(p(O,!1),O.acceptToken(OO)):w(O,!1,e.context.type==d,e.context.depth)&&O.acceptToken(J)}),kO=new i((O,e)=>{let a=e.context.type==m?e.context.depth:-1,r=O.pos;O:for(;;){let o=0,t=O.next;for(;t==32;)t=O.peek(++o);if(!o&&(f(O,45,o)||f(O,46,o))||!P(t)&&(a<0&&(a=Math.max(e.context.depth+1,o)),oYAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#W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R#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:cO,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[bO],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[fO,XO,iO,kO,0,1],topRules:{Stream:[0,15]},tokenPrec:0}),mO=W.deserialize({version:14,states:"!vOQOPOOO]OPO'#C_OhOPO'#C^OOOO'#Cc'#CcOpOPO'#CaQOOOOOO{OPOOOOOO'#Cb'#CbO!WOPO'#C`O!`OPO,58xOOOO-E6a-E6aOOOO-E6`-E6`OOOO'#C_'#C_OOOO1G.d1G.d",stateData:"!h~OXPOYROWTP~OWVXXRXYRX~OYVOXSP~OXROYROWTX~OXROYROWTP~OYVOXSX~OX[O~OXY~",goto:"vWPPX[beioRUOQQOR]XRXQTTOUQWQRZWSSOURYS",nodeNames:"⚠ Document Frontmatter DashLine FrontmatterContent Body",maxTerm:10,skippedNodes:[0],repeatNodeCount:2,tokenData:"$z~RXOYnYZ!^Z]n]^!^^}n}!O!i!O;'Sn;'S;=`!c<%lOn~qXOYnYZ!^Z]n]^!^^;'Sn;'S;=`!c<%l~n~On~~!^~!cOY~~!fP;=`<%ln~!lZOYnYZ!^Z]n]^!^^}n}!O#_!O;'Sn;'S;=`!c<%l~n~On~~!^~#bZOYnYZ!^Z]n]^!^^}n}!O$T!O;'Sn;'S;=`!c<%l~n~On~~!^~$WXOYnYZ$sZ]n]^$s^;'Sn;'S;=`!c<%l~n~On~~$s~$zOX~Y~",tokenizers:[0],topRules:{Document:[0,1]},tokenPrec:67}),L=C.define({name:"yaml",parser:gO.configure({props:[u.add({Stream:O=>{for(let e=O.node.resolve(O.pos,-1);e&&e.to>=O.pos;e=e.parent){if(e.name=="BlockLiteralContent"&&e.fromO.pos)return null}}return null},FlowMapping:v({closing:"}"}),FlowSequence:v({closing:"]"})}),M.add({"FlowMapping FlowSequence":N,"Item Pair BlockLiteral":(O,e)=>({from:e.doc.lineAt(O.from).to,to:O.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function hO(){return new b(L)}const xO=C.define({name:"yaml-frontmatter",parser:mO.configure({props:[U({DashLine:n.meta})]})});function vO(O){let{language:e,support:a}=O.content instanceof b?O.content:{language:O.content,support:[]};return new b(xO.configure({wrap:E(r=>r.name=="FrontmatterContent"?{parser:L.parser}:r.name=="Body"?{parser:e.parser}:null)}),a)}export{hO as yaml,vO as yamlFrontmatter,L as yamlLanguage}; diff --git a/frontend/dist/assets/index-CwxuYJKb.js b/frontend/dist/assets/index-CwxuYJKb.js index fe2b60e..be7ed73 100644 --- a/frontend/dist/assets/index-CwxuYJKb.js +++ b/frontend/dist/assets/index-CwxuYJKb.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-CwxuYJKb.js import{e as V,E as X,s as d,t as $,p as Z,a as R,q as s,L as t,i as y,c,k as U,f as l,l as w}from"./index-DFkjzvE0.js";import"./index-CD29OCdJ.js";const W=1,p=2,q=275,u=3,b=276,_=277,f=278,m=4,k=5,G=6,x=7,n=8,h=9,v=10,g=11,j=12,E=13,I=14,N=15,L=16,F=17,C=18,H=19,A=20,K=21,D=22,B=23,M=24,J=25,OO=26,$O=27,QO=28,iO=29,aO=30,TO=31,PO=32,XO=33,SO=34,cO=35,eO=36,oO=37,_O=38,nO=39,zO=40,rO=41,YO=42,VO=43,dO=44,ZO=45,RO=46,sO=47,tO=48,yO=49,UO=50,lO=51,wO=52,WO=53,pO=54,qO=55,uO=56,bO=57,fO=58,mO=59,kO=60,GO=61,xO=62,e=63,hO=64,vO=65,gO=66,jO={abstract:m,and:k,array:G,as:x,true:n,false:n,break:h,case:v,catch:g,clone:j,const:E,continue:I,declare:L,default:N,do:F,echo:C,else:H,elseif:A,enddeclare:K,endfor:D,endforeach:B,endif:M,endswitch:J,endwhile:OO,enum:$O,extends:QO,final:iO,finally:aO,fn:TO,for:PO,foreach:XO,from:SO,function:cO,global:eO,goto:oO,if:_O,implements:nO,include:zO,include_once:rO,instanceof:YO,insteadof:VO,interface:dO,list:ZO,match:RO,namespace:sO,new:tO,null:yO,or:UO,print:lO,readonly:wO,require:WO,require_once:pO,return:qO,switch:uO,throw:bO,trait:fO,try:mO,unset:kO,use:GO,var:xO,public:e,private:e,protected:e,while:hO,xor:vO,yield:gO,__proto__:null};function z(O){let Q=jO[O.toLowerCase()];return Q??-1}function r(O){return O==9||O==10||O==13||O==32}function Y(O){return O>=97&&O<=122||O>=65&&O<=90}function T(O){return O==95||O>=128||Y(O)}function o(O){return O>=48&&O<=55||O>=97&&O<=102||O>=65&&O<=70}const EO={int:!0,integer:!0,bool:!0,boolean:!0,float:!0,double:!0,real:!0,string:!0,array:!0,object:!0,unset:!0,__proto__:null},IO=new X(O=>{if(O.next==40){O.advance();let Q=0;for(;r(O.peek(Q));)Q++;let i="",a;for(;Y(a=O.peek(Q));)i+=String.fromCharCode(a),Q++;for(;r(O.peek(Q));)Q++;O.peek(Q)==41&&EO[i.toLowerCase()]&&O.acceptToken(W)}else if(O.next==60&&O.peek(1)==60&&O.peek(2)==60){for(let a=0;a<3;a++)O.advance();for(;O.next==32||O.next==9;)O.advance();let Q=O.next==39;if(Q&&O.advance(),!T(O.next))return;let i=String.fromCharCode(O.next);for(;O.advance(),!(!T(O.next)&&!(O.next>=48&&O.next<=55));)i+=String.fromCharCode(O.next);if(Q){if(O.next!=39)return;O.advance()}if(O.next!=10&&O.next!=13)return;for(;;){let a=O.next==10||O.next==13;if(O.advance(),O.next<0)return;if(a){for(;O.next==32||O.next==9;)O.advance();let P=!0;for(let S=0;S{O.next<0&&O.acceptToken(f)}),LO=new X((O,Q)=>{O.next==63&&Q.canShift(_)&&O.peek(1)==62&&O.acceptToken(_)});function FO(O){let Q=O.peek(1);if(Q==110||Q==114||Q==116||Q==118||Q==101||Q==102||Q==92||Q==36||Q==34||Q==123)return 2;if(Q>=48&&Q<=55){let i=2,a;for(;i<5&&(a=O.peek(i))>=48&&a<=55;)i++;return i}if(Q==120&&o(O.peek(2)))return o(O.peek(3))?4:3;if(Q==117&&O.peek(2)==123)for(let i=3;;i++){let a=O.peek(i);if(a==125)return i==2?0:i+1;if(!o(a))break}return 0}const CO=new X((O,Q)=>{let i=!1;for(;!(O.next==34||O.next<0||O.next==36&&(T(O.peek(1))||O.peek(1)==123)||O.next==123&&O.peek(1)==36);i=!0){if(O.next==92){let a=FO(O);if(a){if(i)break;return O.acceptToken(u,a)}}else if(!i&&(O.next==91||O.next==45&&O.peek(1)==62&&T(O.peek(2))||O.next==63&&O.peek(1)==45&&O.peek(2)==62&&T(O.peek(3)))&&Q.canShift(b))break;O.advance()}i&&O.acceptToken(q)}),HO=d({"Visibility abstract final static":$.modifier,"for foreach while do if else elseif switch try catch finally return throw break continue default case":$.controlKeyword,"endif endfor endforeach endswitch endwhile declare enddeclare goto match":$.controlKeyword,"and or xor yield unset clone instanceof insteadof":$.operatorKeyword,"function fn class trait implements extends const enum global interface use var":$.definitionKeyword,"include include_once require require_once namespace":$.moduleKeyword,"new from echo print array list as":$.keyword,null:$.null,Boolean:$.bool,VariableName:$.variableName,"NamespaceName/...":$.namespace,"NamedType/...":$.typeName,Name:$.name,"CallExpression/Name":$.function($.variableName),"LabelStatement/Name":$.labelName,"MemberExpression/Name":$.propertyName,"MemberExpression/VariableName":$.special($.propertyName),"ScopedExpression/ClassMemberName/Name":$.propertyName,"ScopedExpression/ClassMemberName/VariableName":$.special($.propertyName),"CallExpression/MemberExpression/Name":$.function($.propertyName),"CallExpression/ScopedExpression/ClassMemberName/Name":$.function($.propertyName),"MethodDeclaration/Name":$.function($.definition($.variableName)),"FunctionDefinition/Name":$.function($.definition($.variableName)),"ClassDeclaration/Name":$.definition($.className),UpdateOp:$.updateOperator,ArithOp:$.arithmeticOperator,"LogicOp IntersectionType/&":$.logicOperator,BitOp:$.bitwiseOperator,CompareOp:$.compareOperator,ControlOp:$.controlOperator,AssignOp:$.definitionOperator,"$ ConcatOp":$.operator,LineComment:$.lineComment,BlockComment:$.blockComment,Integer:$.integer,Float:$.float,String:$.string,ShellExpression:$.special($.string),"=> ->":$.punctuation,"( )":$.paren,"#[ [ ]":$.squareBracket,"${ { }":$.brace,"-> ?->":$.derefOperator,", ; :: : \\":$.separator,"PhpOpen PhpClose":$.processingInstruction}),AO={__proto__:null,static:325,STATIC:325,class:351,CLASS:351},KO=V.deserialize({version:14,states:"%#[Q`OWOOQhQaOOP%oO`OOOOO#t'#Hh'#HhO%tO#|O'#DuOOO#u'#Dx'#DxQ&SOWO'#DxO&XO$VOOOOQ#u'#Dy'#DyO&lQaO'#D}O'[QdO'#EQO+QQdO'#IqO+_QdO'#ERO-RQaO'#EXO/bQ`O'#EUO/gQ`O'#E_O2UQaO'#E_O2]Q`O'#EgO2bQ`O'#EqO-RQaO'#EqO2mQpO'#FOO2rQ`O'#FOOOQS'#Iq'#IqO2wQ`O'#ExOOQS'#Ih'#IhO5SQdO'#IeO9UQeO'#F]O-RQaO'#FlO-RQaO'#FmO-RQaO'#FnO-RQaO'#FoO-RQaO'#FoO-RQaO'#FrOOQO'#Ir'#IrO9cQ`O'#FxOOQO'#Ht'#HtO9kQ`O'#HXO:VQ`O'#FsO:bQ`O'#HfO:mQ`O'#GPO:uQaO'#GQO-RQaO'#G`O-RQaO'#GcO;bOrO'#GfOOQS'#JP'#JPOOQS'#JO'#JOOOQS'#Ie'#IeO/bQ`O'#GmO/bQ`O'#GoO/bQ`O'#GtOhQaO'#GvO;iQ`O'#GwO;nQ`O'#GzO:]Q`O'#G}O;sQeO'#HOO;sQeO'#HPO;sQeO'#HQO;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c,e,g,m-`-a-t-z.[.u.w/P/X/y0O0T0e0s0}1O1R1S1W1k1o1{2W2]2r3p3u3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4X4Y4Z4[4_4`4a4b4c4k5O5R5S5V5Z5[5_5a5b5d5e5f5g5h5i5j5k5l5m5n5o5p5q5r5u5{5|5}6O6P6Q6R6S6T6U6V6W6X6Y6Z6[6]6^6_6`6a6b6c6d6l7P7S7T7W7[7]7`7b7c7o7x7y7z7{7|7}8O8P8Q8R8S8T8U8V8W8X8Y8Z8[8]8^8_8`8a8b8d8e8f8g8h8s9T9W9Z9^9_9a9c9f9h9o9p9s9u9v:Q:R:S:T:U:V:W:X:Y:Z:[:]:^:_:`:a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:q:r:s:u:v:w;S;e;i;j;k;n;u;v;z;|;}V>W>[>]>^>c>h>i>l>n>o>p>q>v?^?_T$x{$|Q(q%QQ(v%TQ(y%VR2b1WQ%c!]Q(u%SQ,d(tQ/W,cQ/Y,eQ1Q/XR2_1RQ%q!fR)m%rR/p-O",nodeNames:"⚠ ( HeredocString EscapeSequence abstract LogicOp array as Boolean break case catch clone const continue default declare do echo else elseif enddeclare endfor endforeach endif endswitch endwhile enum extends final finally fn for foreach from function global goto if implements include include_once LogicOp insteadof interface list match namespace new null LogicOp print readonly require require_once return switch throw trait try unset use var Visibility while LogicOp yield LineComment BlockComment TextInterpolation PhpClose Text PhpOpen Template TextInterpolation EmptyStatement ; } { Block : LabelStatement Name ExpressionStatement ConditionalExpression LogicOp MatchExpression ) ( ParenthesizedExpression MatchBlock MatchArm , => AssignmentExpression ArrayExpression ValueList & VariadicUnpacking ... Pair [ ] ListExpression ValueList Pair Pair SubscriptExpression MemberExpression -> ?-> Name VariableName DynamicVariable $ ${ CallExpression ArgList NamedArgument SpreadArgument CastExpression UnionType LogicOp IntersectionType OptionalType NamedType QualifiedName \\ NamespaceName Name NamespaceName Name ScopedExpression :: ClassMemberName DynamicMemberName AssignOp UpdateExpression UpdateOp YieldExpression BinaryExpression LogicOp LogicOp LogicOp BitOp BitOp BitOp CompareOp CompareOp BitOp ArithOp ConcatOp ArithOp ArithOp IncludeExpression RequireExpression CloneExpression UnaryExpression ControlOp LogicOp PrintIntrinsic FunctionExpression static ParamList Parameter #[ Attributes Attribute VariadicParameter PropertyParameter PropertyHooks PropertyHook UseList ArrowFunction NewExpression class BaseClause ClassInterfaceClause DeclarationList ConstDeclaration VariableDeclarator PropertyDeclaration VariableDeclarator MethodDeclaration UseDeclaration UseList UseInsteadOfClause UseAsClause UpdateExpression ArithOp ShellExpression ThrowExpression Integer Float String MemberExpression SubscriptExpression UnaryExpression ArithOp Interpolation String IfStatement ColonBlock SwitchStatement Block CaseStatement DefaultStatement ColonBlock WhileStatement EmptyStatement DoStatement ForStatement ForSpec SequenceExpression ForeachStatement ForSpec Pair GotoStatement ContinueStatement BreakStatement ReturnStatement TryStatement CatchDeclarator DeclareStatement EchoStatement UnsetStatement ConstDeclaration FunctionDefinition ClassDeclaration InterfaceDeclaration TraitDeclaration EnumDeclaration EnumBody EnumCase NamespaceDefinition NamespaceUseDeclaration UseGroup UseClause UseClause GlobalDeclaration FunctionStaticDeclaration Program",maxTerm:318,nodeProps:[["group",-36,2,8,49,82,84,86,89,94,95,103,107,108,112,113,116,120,126,132,137,139,140,154,155,156,157,160,161,173,174,188,190,191,192,193,194,200,"Expression",-28,75,79,81,83,201,203,208,210,211,214,217,218,219,220,221,223,224,225,226,227,228,229,230,231,234,235,239,240,"Statement",-4,121,123,124,125,"Type"],["isolate",-4,67,68,71,200,""],["openedBy",70,"phpOpen",77,"{",87,"(",102,"#["],["closedBy",72,"phpClose",78,"}",88,")",165,"]"]],propSources:[HO],skippedNodes:[0],repeatNodeCount:32,tokenData:"!GQ_R!]OX$zXY&^YZ'sZ]$z]^&^^p$zpq&^qr)Rrs+Pst+otu2buv5evw6rwx8Vxy>]yz>yz{?g{|@}|}Bb}!OCO!O!PDh!P!QKT!Q!R!!o!R![!$q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S;=`&W<%lO$zR!EaV$SQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!E}V!oQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!FkV$eQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z",tokenizers:[IO,CO,LO,0,1,2,3,NO],topRules:{Template:[0,73],Program:[1,241]},dynamicPrecedences:{298:1},specialized:[{term:284,get:(O,Q)=>z(O)<<1,external:z},{term:284,get:O=>AO[O]||-1}],tokenPrec:29889}),DO=t.define({name:"php",parser:KO.configure({props:[y.add({IfStatement:c({except:/^\s*({|else\b|elseif\b|endif\b)/}),TryStatement:c({except:/^\s*({|catch\b|finally\b)/}),SwitchBody:O=>{let Q=O.textAfter,i=/^\s*\}/.test(Q),a=/^\s*(case|default)\b/.test(Q);return O.baseIndent+(i?0:a?1:2)*O.unit},ColonBlock:O=>O.baseIndent+O.unit,"Block EnumBody DeclarationList":U({closing:"}"}),ArrowFunction:O=>O.baseIndent+O.unit,"String BlockComment":()=>null,Statement:c({except:/^({|end(for|foreach|switch|while)\b)/})}),l.add({"Block EnumBody DeclarationList SwitchBody ArrayExpression ValueList":w,ColonBlock(O){return{from:O.from+1,to:O.to}},BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*(?:case |default:|end(?:if|for(?:each)?|switch|while)|else(?:if)?|\{|\})$/,wordChars:"$",closeBrackets:{stringPrefixes:["b","B"]}}});function JO(O={}){let Q=[],i;if(O.baseLanguage!==null)if(O.baseLanguage)i=O.baseLanguage;else{let a=Z({matchClosingTags:!1});Q.push(a.support),i=a.language}return new R(DO.configure({wrap:i&&s(a=>a.type.isTop?{parser:i.parser,overlay:P=>P.name=="Text"}:null),top:O.plain?"Program":"Template"}),Q)}export{JO as php,DO as phpLanguage}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-7KBmBzwt.js +import{e as V,E as X,s as d,t as $,p as Z,a as R,q as s,L as t,i as y,c,k as U,f as l,l as w}from"./index-Szd58FrA.js";import"./index-Ds9AETjS.js";const W=1,p=2,q=275,u=3,b=276,_=277,f=278,m=4,k=5,G=6,x=7,n=8,h=9,v=10,g=11,j=12,E=13,I=14,N=15,L=16,F=17,C=18,H=19,A=20,K=21,D=22,B=23,M=24,J=25,OO=26,$O=27,QO=28,iO=29,aO=30,TO=31,PO=32,XO=33,SO=34,cO=35,eO=36,oO=37,_O=38,nO=39,zO=40,rO=41,YO=42,VO=43,dO=44,ZO=45,RO=46,sO=47,tO=48,yO=49,UO=50,lO=51,wO=52,WO=53,pO=54,qO=55,uO=56,bO=57,fO=58,mO=59,kO=60,GO=61,xO=62,e=63,hO=64,vO=65,gO=66,jO={abstract:m,and:k,array:G,as:x,true:n,false:n,break:h,case:v,catch:g,clone:j,const:E,continue:I,declare:L,default:N,do:F,echo:C,else:H,elseif:A,enddeclare:K,endfor:D,endforeach:B,endif:M,endswitch:J,endwhile:OO,enum:$O,extends:QO,final:iO,finally:aO,fn:TO,for:PO,foreach:XO,from:SO,function:cO,global:eO,goto:oO,if:_O,implements:nO,include:zO,include_once:rO,instanceof:YO,insteadof:VO,interface:dO,list:ZO,match:RO,namespace:sO,new:tO,null:yO,or:UO,print:lO,readonly:wO,require:WO,require_once:pO,return:qO,switch:uO,throw:bO,trait:fO,try:mO,unset:kO,use:GO,var:xO,public:e,private:e,protected:e,while:hO,xor:vO,yield:gO,__proto__:null};function z(O){let Q=jO[O.toLowerCase()];return Q??-1}function r(O){return O==9||O==10||O==13||O==32}function Y(O){return O>=97&&O<=122||O>=65&&O<=90}function T(O){return O==95||O>=128||Y(O)}function o(O){return O>=48&&O<=55||O>=97&&O<=102||O>=65&&O<=70}const EO={int:!0,integer:!0,bool:!0,boolean:!0,float:!0,double:!0,real:!0,string:!0,array:!0,object:!0,unset:!0,__proto__:null},IO=new X(O=>{if(O.next==40){O.advance();let Q=0;for(;r(O.peek(Q));)Q++;let i="",a;for(;Y(a=O.peek(Q));)i+=String.fromCharCode(a),Q++;for(;r(O.peek(Q));)Q++;O.peek(Q)==41&&EO[i.toLowerCase()]&&O.acceptToken(W)}else if(O.next==60&&O.peek(1)==60&&O.peek(2)==60){for(let a=0;a<3;a++)O.advance();for(;O.next==32||O.next==9;)O.advance();let Q=O.next==39;if(Q&&O.advance(),!T(O.next))return;let i=String.fromCharCode(O.next);for(;O.advance(),!(!T(O.next)&&!(O.next>=48&&O.next<=55));)i+=String.fromCharCode(O.next);if(Q){if(O.next!=39)return;O.advance()}if(O.next!=10&&O.next!=13)return;for(;;){let a=O.next==10||O.next==13;if(O.advance(),O.next<0)return;if(a){for(;O.next==32||O.next==9;)O.advance();let P=!0;for(let S=0;S{O.next<0&&O.acceptToken(f)}),LO=new X((O,Q)=>{O.next==63&&Q.canShift(_)&&O.peek(1)==62&&O.acceptToken(_)});function FO(O){let Q=O.peek(1);if(Q==110||Q==114||Q==116||Q==118||Q==101||Q==102||Q==92||Q==36||Q==34||Q==123)return 2;if(Q>=48&&Q<=55){let i=2,a;for(;i<5&&(a=O.peek(i))>=48&&a<=55;)i++;return i}if(Q==120&&o(O.peek(2)))return o(O.peek(3))?4:3;if(Q==117&&O.peek(2)==123)for(let i=3;;i++){let a=O.peek(i);if(a==125)return i==2?0:i+1;if(!o(a))break}return 0}const CO=new X((O,Q)=>{let i=!1;for(;!(O.next==34||O.next<0||O.next==36&&(T(O.peek(1))||O.peek(1)==123)||O.next==123&&O.peek(1)==36);i=!0){if(O.next==92){let a=FO(O);if(a){if(i)break;return O.acceptToken(u,a)}}else if(!i&&(O.next==91||O.next==45&&O.peek(1)==62&&T(O.peek(2))||O.next==63&&O.peek(1)==45&&O.peek(2)==62&&T(O.peek(3)))&&Q.canShift(b))break;O.advance()}i&&O.acceptToken(q)}),HO=d({"Visibility abstract final static":$.modifier,"for foreach while do if else elseif switch try catch finally return throw break continue default case":$.controlKeyword,"endif endfor endforeach endswitch endwhile declare enddeclare goto match":$.controlKeyword,"and or xor yield unset clone instanceof insteadof":$.operatorKeyword,"function fn class trait implements extends const enum global interface use var":$.definitionKeyword,"include include_once require require_once namespace":$.moduleKeyword,"new from echo print array list as":$.keyword,null:$.null,Boolean:$.bool,VariableName:$.variableName,"NamespaceName/...":$.namespace,"NamedType/...":$.typeName,Name:$.name,"CallExpression/Name":$.function($.variableName),"LabelStatement/Name":$.labelName,"MemberExpression/Name":$.propertyName,"MemberExpression/VariableName":$.special($.propertyName),"ScopedExpression/ClassMemberName/Name":$.propertyName,"ScopedExpression/ClassMemberName/VariableName":$.special($.propertyName),"CallExpression/MemberExpression/Name":$.function($.propertyName),"CallExpression/ScopedExpression/ClassMemberName/Name":$.function($.propertyName),"MethodDeclaration/Name":$.function($.definition($.variableName)),"FunctionDefinition/Name":$.function($.definition($.variableName)),"ClassDeclaration/Name":$.definition($.className),UpdateOp:$.updateOperator,ArithOp:$.arithmeticOperator,"LogicOp IntersectionType/&":$.logicOperator,BitOp:$.bitwiseOperator,CompareOp:$.compareOperator,ControlOp:$.controlOperator,AssignOp:$.definitionOperator,"$ ConcatOp":$.operator,LineComment:$.lineComment,BlockComment:$.blockComment,Integer:$.integer,Float:$.float,String:$.string,ShellExpression:$.special($.string),"=> ->":$.punctuation,"( )":$.paren,"#[ [ ]":$.squareBracket,"${ { }":$.brace,"-> ?->":$.derefOperator,", ; :: : \\":$.separator,"PhpOpen PhpClose":$.processingInstruction}),AO={__proto__:null,static:325,STATIC:325,class:351,CLASS:351},KO=V.deserialize({version:14,states:"%#[Q`OWOOQhQaOOP%oO`OOOOO#t'#Hh'#HhO%tO#|O'#DuOOO#u'#Dx'#DxQ&SOWO'#DxO&XO$VOOOOQ#u'#Dy'#DyO&lQaO'#D}O'[QdO'#EQO+QQdO'#IqO+_QdO'#ERO-RQaO'#EXO/bQ`O'#EUO/gQ`O'#E_O2UQaO'#E_O2]Q`O'#EgO2bQ`O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enddeclare endfor endforeach endif endswitch endwhile enum extends final finally fn for foreach from function global goto if implements include include_once LogicOp insteadof interface list match namespace new null LogicOp print readonly require require_once return switch throw trait try unset use var Visibility while LogicOp yield LineComment BlockComment TextInterpolation PhpClose Text PhpOpen Template TextInterpolation EmptyStatement ; } { Block : LabelStatement Name ExpressionStatement ConditionalExpression LogicOp MatchExpression ) ( ParenthesizedExpression MatchBlock MatchArm , => AssignmentExpression ArrayExpression ValueList & VariadicUnpacking ... Pair [ ] ListExpression ValueList Pair Pair SubscriptExpression MemberExpression -> ?-> Name VariableName DynamicVariable $ ${ CallExpression ArgList NamedArgument SpreadArgument CastExpression UnionType LogicOp IntersectionType OptionalType NamedType QualifiedName \\ NamespaceName Name NamespaceName Name ScopedExpression :: ClassMemberName DynamicMemberName AssignOp UpdateExpression UpdateOp YieldExpression BinaryExpression LogicOp LogicOp LogicOp BitOp BitOp BitOp CompareOp CompareOp BitOp ArithOp ConcatOp ArithOp ArithOp IncludeExpression RequireExpression CloneExpression UnaryExpression ControlOp LogicOp PrintIntrinsic FunctionExpression static ParamList Parameter #[ Attributes Attribute VariadicParameter PropertyParameter PropertyHooks PropertyHook UseList ArrowFunction NewExpression class BaseClause ClassInterfaceClause DeclarationList ConstDeclaration VariableDeclarator PropertyDeclaration VariableDeclarator MethodDeclaration UseDeclaration UseList UseInsteadOfClause UseAsClause UpdateExpression ArithOp ShellExpression ThrowExpression Integer Float String MemberExpression SubscriptExpression UnaryExpression ArithOp Interpolation String IfStatement ColonBlock SwitchStatement Block CaseStatement DefaultStatement ColonBlock WhileStatement EmptyStatement DoStatement ForStatement ForSpec SequenceExpression ForeachStatement ForSpec Pair GotoStatement ContinueStatement BreakStatement ReturnStatement TryStatement CatchDeclarator DeclareStatement EchoStatement UnsetStatement ConstDeclaration FunctionDefinition ClassDeclaration InterfaceDeclaration TraitDeclaration EnumDeclaration EnumBody EnumCase NamespaceDefinition NamespaceUseDeclaration UseGroup UseClause UseClause GlobalDeclaration FunctionStaticDeclaration Program",maxTerm:318,nodeProps:[["group",-36,2,8,49,82,84,86,89,94,95,103,107,108,112,113,116,120,126,132,137,139,140,154,155,156,157,160,161,173,174,188,190,191,192,193,194,200,"Expression",-28,75,79,81,83,201,203,208,210,211,214,217,218,219,220,221,223,224,225,226,227,228,229,230,231,234,235,239,240,"Statement",-4,121,123,124,125,"Type"],["isolate",-4,67,68,71,200,""],["openedBy",70,"phpOpen",77,"{",87,"(",102,"#["],["closedBy",72,"phpClose",78,"}",88,")",165,"]"]],propSources:[HO],skippedNodes:[0],repeatNodeCount:32,tokenData:"!GQ_R!]OX$zXY&^YZ'sZ]$z]^&^^p$zpq&^qr)Rrs+Pst+otu2buv5evw6rwx8Vxy>]yz>yz{?g{|@}|}Bb}!OCO!O!PDh!P!QKT!Q!R!!o!R![!$q![!]!,P!]!^!-a!^!_!-}!_!`!1S!`!a!2d!a!b!3t!b!c!7^!c!d!7z!d!e!9Y!e!}!7z!}#O!;b#O#P!V<%lO8VR9WV'TP%`QOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X<%lO9mQ9rV%`QOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X<%lO9mQ:^O%`QQ:aRO;'S9m;'S;=`:j;=`O9mQ:oW%`QOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X;=`<%l9m<%lO9mQ;[P;=`<%l9mR;fV'TP%`QOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRV<%l~8V~O8V~~%fR=OW'TPOY8VYZ9PZ!^8V!^!_;{!_;'S8V;'S;=`=h;=`<%l9m<%lO8VR=mW%`QOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X;=`<%l8V<%lO9mR>YP;=`<%l8VR>dV!zQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV?QV!yU'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR?nY'TP$^QOY$zYZ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P;=`<%l!?]R!@|]OY!=yYZ!>qZ!a!=y!a!b!?]!b#O!=y#O#P!Au#P#S!=y#S#T!CP#T;'S!=y;'S;=`!Cm<%l~!=y~O!=y~~%fR!AzW'TPOY!=yYZ!>qZ!^!=y!^!_!@y!_;'S!=y;'S;=`!Bd;=`<%l!?]<%lO!=yR!BgWO#O!?]#O#P!?u#P#S!?]#S#T!@n#T;'S!?];'S;=`!@s;=`<%l!=y<%lO!?]R!CWV%UQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!CpP;=`<%l!=y_!CzV!p^'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_!DjY$UQ#n['TPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`#p$z#p#q!EY#q;'S$z;'S;=`&W<%lO$zR!EaV$SQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!E}V!oQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!FkV$eQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z",tokenizers:[IO,CO,LO,0,1,2,3,NO],topRules:{Template:[0,73],Program:[1,241]},dynamicPrecedences:{298:1},specialized:[{term:284,get:(O,Q)=>z(O)<<1,external:z},{term:284,get:O=>AO[O]||-1}],tokenPrec:29889}),DO=t.define({name:"php",parser:KO.configure({props:[y.add({IfStatement:c({except:/^\s*({|else\b|elseif\b|endif\b)/}),TryStatement:c({except:/^\s*({|catch\b|finally\b)/}),SwitchBody:O=>{let Q=O.textAfter,i=/^\s*\}/.test(Q),a=/^\s*(case|default)\b/.test(Q);return O.baseIndent+(i?0:a?1:2)*O.unit},ColonBlock:O=>O.baseIndent+O.unit,"Block EnumBody DeclarationList":U({closing:"}"}),ArrowFunction:O=>O.baseIndent+O.unit,"String BlockComment":()=>null,Statement:c({except:/^({|end(for|foreach|switch|while)\b)/})}),l.add({"Block EnumBody DeclarationList SwitchBody ArrayExpression ValueList":w,ColonBlock(O){return{from:O.from+1,to:O.to}},BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*(?:case |default:|end(?:if|for(?:each)?|switch|while)|else(?:if)?|\{|\})$/,wordChars:"$",closeBrackets:{stringPrefixes:["b","B"]}}});function JO(O={}){let Q=[],i;if(O.baseLanguage!==null)if(O.baseLanguage)i=O.baseLanguage;else{let a=Z({matchClosingTags:!1});Q.push(a.support),i=a.language}return new R(DO.configure({wrap:i&&s(a=>a.type.isTop?{parser:i.parser,overlay:P=>P.name=="Text"}:null),top:O.plain?"Program":"Template"}),Q)}export{JO as php,DO as phpLanguage}; +======== +import{e as V,E as X,s as d,t as $,p as Z,a as R,q as s,L as t,i as y,c,k as U,f as l,l as w}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const W=1,p=2,q=275,u=3,b=276,_=277,f=278,m=4,k=5,G=6,x=7,n=8,h=9,v=10,g=11,j=12,E=13,I=14,N=15,L=16,F=17,C=18,H=19,A=20,K=21,D=22,B=23,M=24,J=25,OO=26,$O=27,QO=28,iO=29,aO=30,TO=31,PO=32,XO=33,SO=34,cO=35,eO=36,oO=37,_O=38,nO=39,zO=40,rO=41,YO=42,VO=43,dO=44,ZO=45,RO=46,sO=47,tO=48,yO=49,UO=50,lO=51,wO=52,WO=53,pO=54,qO=55,uO=56,bO=57,fO=58,mO=59,kO=60,GO=61,xO=62,e=63,hO=64,vO=65,gO=66,jO={abstract:m,and:k,array:G,as:x,true:n,false:n,break:h,case:v,catch:g,clone:j,const:E,continue:I,declare:L,default:N,do:F,echo:C,else:H,elseif:A,enddeclare:K,endfor:D,endforeach:B,endif:M,endswitch:J,endwhile:OO,enum:$O,extends:QO,final:iO,finally:aO,fn:TO,for:PO,foreach:XO,from:SO,function:cO,global:eO,goto:oO,if:_O,implements:nO,include:zO,include_once:rO,instanceof:YO,insteadof:VO,interface:dO,list:ZO,match:RO,namespace:sO,new:tO,null:yO,or:UO,print:lO,readonly:wO,require:WO,require_once:pO,return:qO,switch:uO,throw:bO,trait:fO,try:mO,unset:kO,use:GO,var:xO,public:e,private:e,protected:e,while:hO,xor:vO,yield:gO,__proto__:null};function z(O){let Q=jO[O.toLowerCase()];return Q??-1}function r(O){return O==9||O==10||O==13||O==32}function Y(O){return O>=97&&O<=122||O>=65&&O<=90}function T(O){return O==95||O>=128||Y(O)}function o(O){return O>=48&&O<=55||O>=97&&O<=102||O>=65&&O<=70}const EO={int:!0,integer:!0,bool:!0,boolean:!0,float:!0,double:!0,real:!0,string:!0,array:!0,object:!0,unset:!0,__proto__:null},IO=new X(O=>{if(O.next==40){O.advance();let Q=0;for(;r(O.peek(Q));)Q++;let i="",a;for(;Y(a=O.peek(Q));)i+=String.fromCharCode(a),Q++;for(;r(O.peek(Q));)Q++;O.peek(Q)==41&&EO[i.toLowerCase()]&&O.acceptToken(W)}else if(O.next==60&&O.peek(1)==60&&O.peek(2)==60){for(let a=0;a<3;a++)O.advance();for(;O.next==32||O.next==9;)O.advance();let Q=O.next==39;if(Q&&O.advance(),!T(O.next))return;let i=String.fromCharCode(O.next);for(;O.advance(),!(!T(O.next)&&!(O.next>=48&&O.next<=55));)i+=String.fromCharCode(O.next);if(Q){if(O.next!=39)return;O.advance()}if(O.next!=10&&O.next!=13)return;for(;;){let a=O.next==10||O.next==13;if(O.advance(),O.next<0)return;if(a){for(;O.next==32||O.next==9;)O.advance();let P=!0;for(let S=0;S{O.next<0&&O.acceptToken(f)}),LO=new X((O,Q)=>{O.next==63&&Q.canShift(_)&&O.peek(1)==62&&O.acceptToken(_)});function FO(O){let Q=O.peek(1);if(Q==110||Q==114||Q==116||Q==118||Q==101||Q==102||Q==92||Q==36||Q==34||Q==123)return 2;if(Q>=48&&Q<=55){let i=2,a;for(;i<5&&(a=O.peek(i))>=48&&a<=55;)i++;return i}if(Q==120&&o(O.peek(2)))return o(O.peek(3))?4:3;if(Q==117&&O.peek(2)==123)for(let i=3;;i++){let a=O.peek(i);if(a==125)return i==2?0:i+1;if(!o(a))break}return 0}const CO=new X((O,Q)=>{let i=!1;for(;!(O.next==34||O.next<0||O.next==36&&(T(O.peek(1))||O.peek(1)==123)||O.next==123&&O.peek(1)==36);i=!0){if(O.next==92){let a=FO(O);if(a){if(i)break;return O.acceptToken(u,a)}}else if(!i&&(O.next==91||O.next==45&&O.peek(1)==62&&T(O.peek(2))||O.next==63&&O.peek(1)==45&&O.peek(2)==62&&T(O.peek(3)))&&Q.canShift(b))break;O.advance()}i&&O.acceptToken(q)}),HO=d({"Visibility abstract final static":$.modifier,"for foreach while do if else elseif switch try catch finally return throw break continue default case":$.controlKeyword,"endif endfor endforeach endswitch endwhile declare enddeclare goto match":$.controlKeyword,"and or xor yield unset clone instanceof insteadof":$.operatorKeyword,"function fn class trait implements extends const enum global interface use var":$.definitionKeyword,"include include_once require require_once namespace":$.moduleKeyword,"new from echo print array list as":$.keyword,null:$.null,Boolean:$.bool,VariableName:$.variableName,"NamespaceName/...":$.namespace,"NamedType/...":$.typeName,Name:$.name,"CallExpression/Name":$.function($.variableName),"LabelStatement/Name":$.labelName,"MemberExpression/Name":$.propertyName,"MemberExpression/VariableName":$.special($.propertyName),"ScopedExpression/ClassMemberName/Name":$.propertyName,"ScopedExpression/ClassMemberName/VariableName":$.special($.propertyName),"CallExpression/MemberExpression/Name":$.function($.propertyName),"CallExpression/ScopedExpression/ClassMemberName/Name":$.function($.propertyName),"MethodDeclaration/Name":$.function($.definition($.variableName)),"FunctionDefinition/Name":$.function($.definition($.variableName)),"ClassDeclaration/Name":$.definition($.className),UpdateOp:$.updateOperator,ArithOp:$.arithmeticOperator,"LogicOp IntersectionType/&":$.logicOperator,BitOp:$.bitwiseOperator,CompareOp:$.compareOperator,ControlOp:$.controlOperator,AssignOp:$.definitionOperator,"$ ConcatOp":$.operator,LineComment:$.lineComment,BlockComment:$.blockComment,Integer:$.integer,Float:$.float,String:$.string,ShellExpression:$.special($.string),"=> ->":$.punctuation,"( )":$.paren,"#[ [ ]":$.squareBracket,"${ { }":$.brace,"-> ?->":$.derefOperator,", ; :: : \\":$.separator,"PhpOpen PhpClose":$.processingInstruction}),AO={__proto__:null,static:325,STATIC:325,class:351,CLASS:351},KO=V.deserialize({version:14,states:"%#[Q`OWOOQhQaOOP%oO`OOOOO#t'#Hh'#HhO%tO#|O'#DuOOO#u'#Dx'#DxQ&SOWO'#DxO&XO$VOOOOQ#u'#Dy'#DyO&lQaO'#D}O'[QdO'#EQO+QQdO'#IqO+_QdO'#ERO-RQaO'#EXO/bQ`O'#EUO/gQ`O'#E_O2UQaO'#E_O2]Q`O'#EgO2bQ`O'#EqO-RQaO'#EqO2mQpO'#FOO2rQ`O'#FOOOQS'#Iq'#IqO2wQ`O'#ExOOQS'#Ih'#IhO5SQdO'#IeO9UQeO'#F]O-RQaO'#FlO-RQaO'#FmO-RQaO'#FnO-RQaO'#FoO-RQaO'#FoO-RQaO'#FrOOQO'#Ir'#IrO9cQ`O'#FxOOQO'#Ht'#HtO9kQ`O'#HXO:VQ`O'#FsO:bQ`O'#HfO:mQ`O'#GPO:uQaO'#GQO-RQaO'#G`O-RQaO'#GcO;bOrO'#GfOOQS'#JP'#JPOOQS'#JO'#JOOOQS'#Ie'#IeO/bQ`O'#GmO/bQ`O'#GoO/bQ`O'#GtOhQaO'#GvO;iQ`O'#GwO;nQ`O'#GzO:]Q`O'#G}O;sQeO'#HOO;sQeO'#HPO;sQeO'#HQO;}Q`O'#HROhQ`O'#HVO:]Q`O'#HWO>mQ`O'#HWO;}Q`O'#HXO:]Q`O'#HZO:]Q`O'#H[O:]Q`O'#H]O>rQ`O'#H`O>}Q`O'#HaOQO!$dQ`O,5POOQ#u-E;h-E;hO!1QQ`O,5=tOOO#u,5:_,5:_O!1]O#|O,5:_OOO#u-E;g-E;gOOOO,5>|,5>|OOQ#y1G0T1G0TO!1eQ`O1G0YO-RQaO1G0YO!2wQ`O1G0q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7z7{7|7}8O8P8Q8R8S8T8U8V8W8X8Y8Z8[8]8^8_8`8a8b8d8e8f8g8h8s9T9W9Z9^9_9a9c9f9h9o9p9s9u9v:Q:R:S:T:U:V:W:X:Y:Z:[:]:^:_:`:a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:q:r:s:u:v:w;S;e;i;j;k;n;u;v;z;|;}V>W>[>]>^>c>h>i>l>n>o>p>q>v?^?_T$x{$|Q(q%QQ(v%TQ(y%VR2b1WQ%c!]Q(u%SQ,d(tQ/W,cQ/Y,eQ1Q/XR2_1RQ%q!fR)m%rR/p-O",nodeNames:"⚠ ( HeredocString EscapeSequence abstract LogicOp array as Boolean break case catch clone const continue default declare do echo else elseif enddeclare endfor endforeach endif endswitch endwhile enum extends final finally fn for foreach from function global goto if implements include include_once LogicOp insteadof interface list match namespace new null LogicOp print readonly require require_once return switch throw trait try unset use var Visibility while LogicOp yield LineComment BlockComment TextInterpolation PhpClose Text PhpOpen Template TextInterpolation EmptyStatement ; } { Block : LabelStatement Name ExpressionStatement ConditionalExpression LogicOp MatchExpression ) ( ParenthesizedExpression MatchBlock MatchArm , => AssignmentExpression ArrayExpression ValueList & VariadicUnpacking ... Pair [ ] ListExpression ValueList Pair Pair SubscriptExpression MemberExpression -> ?-> Name VariableName DynamicVariable $ ${ CallExpression ArgList NamedArgument SpreadArgument CastExpression UnionType LogicOp IntersectionType OptionalType NamedType QualifiedName \\ NamespaceName Name NamespaceName Name ScopedExpression :: ClassMemberName DynamicMemberName AssignOp UpdateExpression UpdateOp YieldExpression BinaryExpression LogicOp LogicOp LogicOp BitOp BitOp BitOp CompareOp CompareOp BitOp ArithOp ConcatOp ArithOp ArithOp IncludeExpression RequireExpression CloneExpression UnaryExpression ControlOp LogicOp PrintIntrinsic FunctionExpression static ParamList Parameter #[ Attributes Attribute VariadicParameter PropertyParameter PropertyHooks PropertyHook UseList ArrowFunction NewExpression class BaseClause ClassInterfaceClause DeclarationList ConstDeclaration VariableDeclarator PropertyDeclaration VariableDeclarator MethodDeclaration UseDeclaration UseList UseInsteadOfClause UseAsClause UpdateExpression ArithOp ShellExpression ThrowExpression Integer Float String MemberExpression SubscriptExpression UnaryExpression ArithOp Interpolation String IfStatement ColonBlock SwitchStatement Block CaseStatement DefaultStatement ColonBlock WhileStatement EmptyStatement DoStatement ForStatement ForSpec SequenceExpression ForeachStatement ForSpec Pair GotoStatement ContinueStatement BreakStatement ReturnStatement TryStatement CatchDeclarator DeclareStatement EchoStatement UnsetStatement ConstDeclaration FunctionDefinition ClassDeclaration InterfaceDeclaration TraitDeclaration EnumDeclaration EnumBody EnumCase NamespaceDefinition NamespaceUseDeclaration UseGroup UseClause UseClause GlobalDeclaration FunctionStaticDeclaration Program",maxTerm:318,nodeProps:[["group",-36,2,8,49,82,84,86,89,94,95,103,107,108,112,113,116,120,126,132,137,139,140,154,155,156,157,160,161,173,174,188,190,191,192,193,194,200,"Expression",-28,75,79,81,83,201,203,208,210,211,214,217,218,219,220,221,223,224,225,226,227,228,229,230,231,234,235,239,240,"Statement",-4,121,123,124,125,"Type"],["isolate",-4,67,68,71,200,""],["openedBy",70,"phpOpen",77,"{",87,"(",102,"#["],["closedBy",72,"phpClose",78,"}",88,")",165,"]"]],propSources:[HO],skippedNodes:[0],repeatNodeCount:32,tokenData:"!GQ_R!]OX$zXY&^YZ'sZ]$z]^&^^p$zpq&^qr)Rrs+Pst+otu2buv5evw6rwx8Vxy>]yz>yz{?g{|@}|}Bb}!OCO!O!PDh!P!QKT!Q!R!!o!R![!$q![!]!,P!]!^!-a!^!_!-}!_!`!1S!`!a!2d!a!b!3t!b!c!7^!c!d!7z!d!e!9Y!e!}!7z!}#O!;b#O#P!V<%lO8VR9WV'TP%`QOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X<%lO9mQ9rV%`QOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X<%lO9mQ:^O%`QQ:aRO;'S9m;'S;=`:j;=`O9mQ:oW%`QOw9mwx:Xx#O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:[{term:284,get:(O,Q)=>z(O)<<1,external:z},{term:284,get:O=>AO[O]||-1}],tokenPrec:29889}),DO=t.define({name:"php",parser:KO.configure({props:[y.add({IfStatement:c({except:/^\s*({|else\b|elseif\b|endif\b)/}),TryStatement:c({except:/^\s*({|catch\b|finally\b)/}),SwitchBody:O=>{let Q=O.textAfter,i=/^\s*\}/.test(Q),a=/^\s*(case|default)\b/.test(Q);return O.baseIndent+(i?0:a?1:2)*O.unit},ColonBlock:O=>O.baseIndent+O.unit,"Block EnumBody DeclarationList":U({closing:"}"}),ArrowFunction:O=>O.baseIndent+O.unit,"String BlockComment":()=>null,Statement:c({except:/^({|end(for|foreach|switch|while)\b)/})}),l.add({"Block EnumBody DeclarationList SwitchBody ArrayExpression ValueList":w,ColonBlock(O){return{from:O.from+1,to:O.to}},BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*(?:case |default:|end(?:if|for(?:each)?|switch|while)|else(?:if)?|\{|\})$/,wordChars:"$",closeBrackets:{stringPrefixes:["b","B"]}}});function JO(O={}){let Q=[],i;if(O.baseLanguage!==null)if(O.baseLanguage)i=O.baseLanguage;else{let a=Z({matchClosingTags:!1});Q.push(a.support),i=a.language}return new R(DO.configure({wrap:i&&s(a=>a.type.isTop?{parser:i.parser,overlay:P=>P.name=="Text"}:null),top:O.plain?"Program":"Template"}),Q)}export{JO as php,DO as phpLanguage}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-BkjIwgLN.js diff --git a/frontend/dist/assets/index-CxbBjZKo.js b/frontend/dist/assets/index-CxbBjZKo.js new file mode 100644 index 0000000..5c3622f --- /dev/null +++ b/frontend/dist/assets/index-CxbBjZKo.js @@ -0,0 +1,39 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LoginView-Q_NnBv06.js","assets/el-form-item-BA3ZlfqF.js","assets/index-D23K2h6y.js","assets/castArray-CwVgzdTt.js","assets/_baseClone-B6d4qZbo.js","assets/el-form-item-D_relxjU.css","assets/index-zJ9bqPrh.js","assets/raf-Bjl8yy5U.js","assets/index-C4wGR5UT.js","assets/index-DxP0p4ch.js","assets/el-checkbox-C_TzqU9u.js","assets/omit-CbHF-OEy.js","assets/el-checkbox-CzNtyWdF.css","assets/logo-CxXS7KxG.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/LoginView-DurC5Xb4.css","assets/GuideView-3g5nbKBg.js","assets/GuideView-BuVTsF9M.css","assets/MainLayout-DxO92V1w.js","assets/el-popper-OAwpEmER.js","assets/index-DHcidAHK.js","assets/el-popper-Wf_ds9r7.css","assets/el-scrollbar-B0E7ZTt3.js","assets/el-scrollbar-GF-yQkxY.css","assets/el-avatar-C4z1rEZv.js","assets/vnode-DIVHEdsp.js","assets/el-avatar-DOlF0Z_P.css","assets/index-Bp52mKPt.js","assets/index-Bzaib5AU.js","assets/el-tooltip-l0sNRNKZ.js","assets/models-WwcwjK0u.js","assets/model-B9dq9fy6.js","assets/MainLayout-BCu2Uo8K.css","assets/DashboardView-Demq0LOI.js","assets/index-BjlLyKON.js","assets/el-select-CeiDjMzB.js","assets/scroll-Dvb2mTx8.js","assets/clamp-Ow4I6lPc.js","assets/toNumber-Yuob3eJv.js","assets/_baseIteratee-C6JbNheX.js","assets/el-select-CK58rX4v.css","assets/el-progress-Br676mBH.js","assets/el-progress-apgqz2By.css","assets/install-i_dmuKuk.js","assets/createSeriesDataSimply-MGSYAhUE.js","assets/DashboardView-Dk-G3HhP.css","assets/el-tag-1VV9QMa7.css","assets/FineTuneListView-DiOkr_gD.js","assets/el-table-b_qkWXYf.js","assets/debounce-BJxjS5F3.js","assets/el-table-D97MvEgu.css","assets/dropdown-yHGqI4WU.js","assets/DataTablePage-C1WQGBXF.js","assets/el-card-BsCFVTSD.js","assets/el-card-BAyktVMS.css","assets/el-pagination-ByKJEnCx.js","assets/el-pagination-CDeFZDGO.css","assets/directive-DCr8Ae3g.js","assets/index-CLZoQJ1o.js","assets/validator-AVoXfk3G.js","assets/index-C3HZL-2Y.js","assets/index-36LucyXi.js","assets/DataTablePage-C4LN7Pt2.css","assets/ModelStatusTag.vue_vue_type_script_setup_true_lang-CUZ4SBb2.js","assets/usePolling-D0edaRGY.js","assets/fineTune-C-jGF1Jc.js","assets/FineTuneListView-DHl7bZ3e.css","assets/el-checkbox-group-D_6SYB2i.css","assets/FineTuneCreateView-Cz_5yMnR.js","assets/el-radio-group-BJiEgTS_.js","assets/el-radio-group-iy_biC8N.css","assets/el-divider-B4fvp0nA.js","assets/el-divider-B0pQhKGi.css","assets/el-input-number-Ba6IqA7Z.js","assets/index-ZKnv_mga.js","assets/el-input-number-DExoAqKP.css","assets/PageCard-CC9cofwx.js","assets/PageCard-CagWOgY3.css","assets/el-dialog-fpsmuz8Z.js","assets/use-dialog-DGVjglW6.js","assets/el-dialog-DdHdkgt4.css","assets/el-empty-DUcrYyo6.js","assets/el-empty-S7fQQ3B8.css","assets/el-tab-pane-DQY-HDUC.js","assets/el-tab-pane-LzsQQ_QK.css","assets/dataset-BdzlocXa.js","assets/FineTuneCreateView-SMgRyQ_C.css","assets/EvalView-DKVRGpUe.js","assets/eval-BLcZ-A_I.js","assets/EvalView-Bd4r6it-.css","assets/EvalCreateView-DhvGYj5M.js","assets/el-alert-Ty1qfW58.js","assets/el-alert-B6UgayC7.css","assets/el-switch-EBBsaB1p.js","assets/el-switch-DpR9-s4E.css","assets/DimensionFormFields-bC-zvb-R.js","assets/el-slider-CPsf2yeE.js","assets/el-slider-KlqpaRgh.css","assets/DimensionFormFields-m3yQWFvt.css","assets/el-descriptions-BNd8WHaD.js","assets/el-descriptions-BpDzfuC8.css","assets/el-space-9hUfFaMV.js","assets/el-space-CzNlr7lQ.css","assets/EvalCreateView-BGllY7Gc.css","assets/EvalDetailView-BJu9nn43.js","assets/EvalDetailView-Cq93pccF.css","assets/DimensionCreateView-BGQzQW6r.js","assets/InferenceListView-B67fPddK.js","assets/compare-DtYcNyhY.js","assets/InferenceCreateView-NSg6vwcm.js","assets/InferenceChatView-D5OD0NwF.js","assets/el-drawer-DaAwE3bJ.js","assets/el-drawer-4RO73nWn.css","assets/MarkdownView.vue_vue_type_style_index_0_lang-BKsnCmpO.js","assets/MarkdownView-C0RlwvJo.css","assets/InferenceChatView-BUsWenWa.css","assets/CompareChatView-iaZgEQ8s.js","assets/CompareChatView-DrSndDVG.css","assets/CompareResultView-BlQYt7fl.js","assets/CompareResultView-DcZvYm8N.css","assets/ModelManageView-FQBUSn0C.js","assets/ModelManageView-Dk83xTM-.css","assets/ModelCreateView-DTPv4yI8.js","assets/ModelCreateView-ioLfAur0.css","assets/MergeWeightsView-DS-5jMr9.js","assets/MergeWeightsView-CrawQHZC.css","assets/DataProcessListView-B4pOm5Q_.js","assets/dataProcess-DXC9XrKo.js","assets/DataProcessListView-D--2V8HO.css","assets/DataProcessCreateView-jyj-tLuh.js","assets/AppConfirmDialog-D93e215T.js","assets/AppConfirmDialog-Bk_vjo5o.css","assets/el-upload-CLbTdSbQ.js","assets/el-upload-Bit6Pm_l.css","assets/DataProcessCreateView-D8CxzaN5.css","assets/DataProcessDetailView-gE1enluH.js","assets/DataProcessDetailView-D3Stz31J.css","assets/DatasetListView-f5ydkZni.js","assets/DatasetListView-BClt_Ip_.css","assets/DatasetCreateView-tR9bKxGq.js","assets/DatasetCreateView-Cv3osIe8.css","assets/DatasetPreviewView-Lebw9VGN.js","assets/DatasetPreviewView-BPL99X5w.css","assets/ToolsView-Bcj_uv2O.js","assets/tools-DNEgEZeS.js","assets/ToolsView-B-CVG2uO.css","assets/ToolCreateView-CsnoBuBA.js","assets/ToolCreateView-Bl0pHgUd.css","assets/DataConvertView-Ts55u_8c.js","assets/DataConvertView-rvGLlrQa.css","assets/ComputeNodesView-DGj1xqt1.js","assets/ComputeNodesView-BTH2GWs1.css","assets/PermissionDeniedView-EZx3s9_N.js","assets/PermissionDeniedView-Ac-Po9jU.css","assets/HardwareView-DL8UFEoH.js","assets/install-yQKxYHXo.js","assets/HardwareView-CpvcIwdL.css","assets/LogsView-DmeeKzFp.js","assets/log-jDwH_n_V.js","assets/LogsView-Dmh1BeLU.css","assets/UserSettingsView-KcaztqRe.js","assets/UserSettingsView-D6NpqMem.css","assets/UserCreateView-mg48VYjL.js","assets/UserCreateView-CfeJQfhD.css","assets/UserPermissionView-cVCnBmji.js","assets/UserPermissionView-BOUnt_jj.css","assets/TrainingLogView-Ds903_wK.js","assets/TrainingLogView-r7NZOokp.css"])))=>i.map(i=>d[i]); +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();const fd="modulepreload",dd=function(e){return"/"+e},Ji={},de=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let i=function(u){return Promise.all(u.map(c=>Promise.resolve(c).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));s=i(n.map(u=>{if(u=dd(u),u in Ji)return;Ji[u]=!0;const c=u.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${f}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":fd,c||(d.as="script"),d.crossOrigin="",d.href=u,l&&d.setAttribute("nonce",l),document.head.appendChild(d),c)return new Promise((p,y)=>{d.addEventListener("load",p),d.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})};/** +* @vue/shared v3.5.39 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function li(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const be={},kn=[],_t=()=>{},Yl=()=>!1,Ns=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ds=e=>e.startsWith("onUpdate:"),Me=Object.assign,ci=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},pd=Object.prototype.hasOwnProperty,me=(e,t)=>pd.call(e,t),Q=Array.isArray,zn=e=>Ur(e)==="[object Map]",Ms=e=>Ur(e)==="[object Set]",Yi=e=>Ur(e)==="[object Date]",oe=e=>typeof e=="function",we=e=>typeof e=="string",dt=e=>typeof e=="symbol",ge=e=>e!==null&&typeof e=="object",Ql=e=>(ge(e)||oe(e))&&oe(e.then)&&oe(e.catch),Xl=Object.prototype.toString,Ur=e=>Xl.call(e),hd=e=>Ur(e).slice(8,-1),Zl=e=>Ur(e)==="[object Object]",$s=e=>we(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,yr=li(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Fs=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},md=/-\w/g,qe=Fs(e=>e.replace(md,t=>t.slice(1).toUpperCase())),gd=/\B([A-Z])/g,qt=Fs(e=>e.replace(gd,"-$1").toLowerCase()),Bs=Fs(e=>e.charAt(0).toUpperCase()+e.slice(1)),os=Fs(e=>e?`on${Bs(e)}`:""),Ve=(e,t)=>!Object.is(e,t),is=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ui=e=>{const t=parseFloat(e);return isNaN(t)?e:t},_d=e=>{const t=we(e)?Number(e):NaN;return isNaN(t)?e:t};let Qi;const js=()=>Qi||(Qi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function nr(e){if(Q(e)){const t={};for(let n=0;n{if(n){const r=n.split(yd);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function mt(e){let t="";if(we(e))t=e;else if(Q(e))for(let n=0;nSn(n,t))}const rc=e=>!!(e&&e.__v_isRef===!0),fi=e=>we(e)?e:e==null?"":Q(e)||ge(e)&&(e.toString===Xl||!oe(e.toString))?rc(e)?fi(e.value):JSON.stringify(e,sc,2):String(e),sc=(e,t)=>rc(t)?sc(e,t.value):zn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[ao(r,o)+" =>"]=s,n),{})}:Ms(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ao(n))}:dt(t)?ao(t):ge(t)&&!Q(t)&&!Zl(t)?String(t):t,ao=(e,t="")=>{var n;return dt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.39 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let je;class oc{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&je&&(je.active?(this.parent=je,this.index=(je.scopes||(je.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0){if(je===this)je=this.prevScope;else{let t=je;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(wr){let t=wr;for(wr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;br;){let t=br;for(br=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function fc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function dc(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),hi(r),Od(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Io(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(pc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function pc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Pr)||(e.globalVersion=Pr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Io(e))))return;e.flags|=2;const t=e.dep,n=Te,r=yt;Te=e,yt=!0;try{fc(e);const s=e.fn(e._value);(t.version===0||Ve(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Te=n,yt=r,dc(e),e.flags&=-3}}function hi(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)hi(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Od(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let yt=!0;const hc=[];function Dt(){hc.push(yt),yt=!1}function Mt(){const e=hc.pop();yt=e===void 0?!0:e}function Xi(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Te;Te=void 0;try{t()}finally{Te=n}}}let Pr=0;class Ad{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Vs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Te||!yt||Te===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Te)n=this.activeLink=new Ad(Te,this),Te.deps?(n.prevDep=Te.depsTail,Te.depsTail.nextDep=n,Te.depsTail=n):Te.deps=Te.depsTail=n,mc(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Te.depsTail,n.nextDep=void 0,Te.depsTail.nextDep=n,Te.depsTail=n,Te.deps===n&&(Te.deps=r)}return n}trigger(t){this.version++,Pr++,this.notify(t)}notify(t){di();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{pi()}}}function mc(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)mc(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ps=new WeakMap,bn=Symbol(""),No=Symbol(""),Lr=Symbol("");function Ye(e,t,n){if(yt&&Te){let r=ps.get(e);r||ps.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new Vs),s.map=r,s.key=n),s.track()}}function Ut(e,t,n,r,s,o){const i=ps.get(e);if(!i){Pr++;return}const a=l=>{l&&l.trigger()};if(di(),t==="clear")i.forEach(a);else{const l=Q(e),u=l&&$s(n);if(l&&n==="length"){const c=Number(r);i.forEach((f,d)=>{(d==="length"||d===Lr||!dt(d)&&d>=c)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),u&&a(i.get(Lr)),t){case"add":l?u&&a(i.get("length")):(a(i.get(bn)),zn(e)&&a(i.get(No)));break;case"delete":l||(a(i.get(bn)),zn(e)&&a(i.get(No)));break;case"set":zn(e)&&a(i.get(bn));break}}pi()}function Td(e,t){const n=ps.get(e);return n&&n.get(t)}function $n(e){const t=pe(e);return t===e?t:(Ye(t,"iterate",Lr),ft(e)?t:t.map(wt))}function Hs(e){return Ye(e=pe(e),"iterate",Lr),e}function Pt(e,t){return zt(e)?Gn(It(e)?wt(t):t):wt(t)}const Cd={__proto__:null,[Symbol.iterator](){return co(this,Symbol.iterator,e=>Pt(this,e))},concat(...e){return $n(this).concat(...e.map(t=>Q(t)?$n(t):t))},entries(){return co(this,"entries",e=>(e[1]=Pt(this,e[1]),e))},every(e,t){return $t(this,"every",e,t,void 0,arguments)},filter(e,t){return $t(this,"filter",e,t,n=>n.map(r=>Pt(this,r)),arguments)},find(e,t){return $t(this,"find",e,t,n=>Pt(this,n),arguments)},findIndex(e,t){return $t(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return $t(this,"findLast",e,t,n=>Pt(this,n),arguments)},findLastIndex(e,t){return $t(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return $t(this,"forEach",e,t,void 0,arguments)},includes(...e){return uo(this,"includes",e)},indexOf(...e){return uo(this,"indexOf",e)},join(e){return $n(this).join(e)},lastIndexOf(...e){return uo(this,"lastIndexOf",e)},map(e,t){return $t(this,"map",e,t,void 0,arguments)},pop(){return cr(this,"pop")},push(...e){return cr(this,"push",e)},reduce(e,...t){return Zi(this,"reduce",e,t)},reduceRight(e,...t){return Zi(this,"reduceRight",e,t)},shift(){return cr(this,"shift")},some(e,t){return $t(this,"some",e,t,void 0,arguments)},splice(...e){return cr(this,"splice",e)},toReversed(){return $n(this).toReversed()},toSorted(e){return $n(this).toSorted(e)},toSpliced(...e){return $n(this).toSpliced(...e)},unshift(...e){return cr(this,"unshift",e)},values(){return co(this,"values",e=>Pt(this,e))}};function co(e,t,n){const r=Hs(e),s=r[t]();return r!==e&&!ft(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.done||(o.value=n(o.value)),o}),s}const Rd=Array.prototype;function $t(e,t,n,r,s,o){const i=Hs(e),a=i!==e&&!ft(e),l=i[t];if(l!==Rd[t]){const f=l.apply(e,o);return a?wt(f):f}let u=n;i!==e&&(a?u=function(f,d){return n.call(this,Pt(e,f),d,e)}:n.length>2&&(u=function(f,d){return n.call(this,f,d,e)}));const c=l.call(i,u,r);return a&&s?s(c):c}function Zi(e,t,n,r){const s=Hs(e),o=s!==e&&!ft(e);let i=n,a=!1;s!==e&&(o?(a=r.length===0,i=function(u,c,f){return a&&(a=!1,u=Pt(e,u)),n.call(this,u,Pt(e,c),f,e)}):n.length>3&&(i=function(u,c,f){return n.call(this,u,c,f,e)}));const l=s[t](i,...r);return a?Pt(e,l):l}function uo(e,t,n){const r=pe(e);Ye(r,"iterate",Lr);const s=r[t](...n);return(s===-1||s===!1)&&Ws(n[0])?(n[0]=pe(n[0]),r[t](...n)):s}function cr(e,t,n=[]){Dt(),di();const r=pe(e)[t].apply(e,n);return pi(),Mt(),r}const Pd=li("__proto__,__v_isRef,__isVue"),gc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(dt));function Ld(e){dt(e)||(e=String(e));const t=pe(this);return Ye(t,"has",e),t.hasOwnProperty(e)}class _c{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Sc:Ec:o?wc:bc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=Q(t);if(!s){let l;if(i&&(l=Cd[n]))return l;if(n==="hasOwnProperty")return Ld}const a=Reflect.get(t,n,Re(t)?t:r);if((dt(n)?gc.has(n):Pd(n))||(s||Ye(t,"get",n),o))return a;if(Re(a)){const l=i&&$s(n)?a:a.value;return s&&ge(l)?hs(l):l}return ge(a)?s?hs(a):Vr(a):a}}class vc extends _c{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];const i=Q(t)&&$s(n);if(!this._isShallow){const u=zt(o);if(!ft(r)&&!zt(r)&&(o=pe(o),r=pe(r)),!i&&Re(o)&&!Re(r))return u||(o.value=r),!0}const a=i?Number(n)e,Xr=e=>Reflect.getPrototypeOf(e);function $d(e,t,n){return function(...r){const s=this.__v_raw,o=pe(s),i=zn(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=s[e](...r),c=n?Do:t?Gn:wt;return!t&&Ye(o,"iterate",l?No:bn),Me(Object.create(u),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}}})}}function Zr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Fd(e,t){const n={get(s){const o=this.__v_raw,i=pe(o),a=pe(s);e||(Ve(s,a)&&Ye(i,"get",s),Ye(i,"get",a));const{has:l}=Xr(i),u=t?Do:e?Gn:wt;if(l.call(i,s))return u(o.get(s));if(l.call(i,a))return u(o.get(a));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&Ye(pe(s),"iterate",bn),s.size},has(s){const o=this.__v_raw,i=pe(o),a=pe(s);return e||(Ve(s,a)&&Ye(i,"has",s),Ye(i,"has",a)),s===a?o.has(s):o.has(s)||o.has(a)},forEach(s,o){const i=this,a=i.__v_raw,l=pe(a),u=t?Do:e?Gn:wt;return!e&&Ye(l,"iterate",bn),a.forEach((c,f)=>s.call(o,u(c),u(f),i))}};return Me(n,e?{add:Zr("add"),set:Zr("set"),delete:Zr("delete"),clear:Zr("clear")}:{add(s){const o=pe(this),i=Xr(o),a=pe(s),l=!t&&!ft(s)&&!zt(s)?a:s;return i.has.call(o,l)||Ve(s,l)&&i.has.call(o,s)||Ve(a,l)&&i.has.call(o,a)||(o.add(l),Ut(o,"add",l,l)),this},set(s,o){!t&&!ft(o)&&!zt(o)&&(o=pe(o));const i=pe(this),{has:a,get:l}=Xr(i);let u=a.call(i,s);u||(s=pe(s),u=a.call(i,s));const c=l.call(i,s);return i.set(s,o),u?Ve(o,c)&&Ut(i,"set",s,o):Ut(i,"add",s,o),this},delete(s){const o=pe(this),{has:i,get:a}=Xr(o);let l=i.call(o,s);l||(s=pe(s),l=i.call(o,s)),a&&a.call(o,s);const u=o.delete(s);return l&&Ut(o,"delete",s,void 0),u},clear(){const s=pe(this),o=s.size!==0,i=s.clear();return o&&Ut(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=$d(s,e,t)}),n}function ks(e,t){const n=Fd(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(me(n,s)&&s in r?n:r,s,o)}const Bd={get:ks(!1,!1)},jd={get:ks(!1,!0)},Ud={get:ks(!0,!1)},Vd={get:ks(!0,!0)},bc=new WeakMap,wc=new WeakMap,Ec=new WeakMap,Sc=new WeakMap;function Hd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vr(e){return zt(e)?e:qs(e,!1,Id,Bd,bc)}function zs(e){return qs(e,!1,Dd,jd,wc)}function hs(e){return qs(e,!0,Nd,Ud,Ec)}function xc(e){return qs(e,!0,Md,Vd,Sc)}function qs(e,t,n,r,s){if(!ge(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=s.get(e);if(o)return o;const i=Hd(hd(e));if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function It(e){return zt(e)?It(e.__v_raw):!!(e&&e.__v_isReactive)}function zt(e){return!!(e&&e.__v_isReadonly)}function ft(e){return!!(e&&e.__v_isShallow)}function Ws(e){return e?!!e.__v_raw:!1}function pe(e){const t=e&&e.__v_raw;return t?pe(t):e}function mi(e){return!me(e,"__v_skip")&&Object.isExtensible(e)&&ec(e,"__v_skip",!0),e}const wt=e=>ge(e)?Vr(e):e,Gn=e=>ge(e)?hs(e):e;function Re(e){return e?e.__v_isRef===!0:!1}function Ne(e){return Oc(e,!1)}function ot(e){return Oc(e,!0)}function Oc(e,t){return Re(e)?e:new kd(e,t)}class kd{constructor(t,n){this.dep=new Vs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:pe(t),this._value=n?t:wt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||ft(t)||zt(t);t=r?t:pe(t),Ve(t,n)&&(this._rawValue=t,this._value=r?t:wt(t),this.dep.trigger())}}function Tb(e){e.dep&&e.dep.trigger()}function ue(e){return Re(e)?e.value:e}function it(e){return oe(e)?e():ue(e)}const zd={get:(e,t,n)=>t==="__v_raw"?e:ue(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Re(s)&&!Re(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Ac(e){return It(e)?e:new Proxy(e,zd)}class qd{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Vs,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Wd(e){return new qd(e)}function Kd(e){const t=Q(e)?new Array(e.length):{};for(const n in e)t[n]=Tc(e,n);return t}class Gd{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=dt(n)?n:String(n),this._raw=pe(t);let s=!0,o=t;if(!Q(t)||dt(this._key)||!$s(this._key))do s=!Ws(o)||ft(o);while(s&&(o=o.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=ue(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Re(this._raw[this._key])){const n=this._object[this._key];if(Re(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Td(this._raw,this._key)}}class Jd{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Yd(e,t,n){return Re(e)?e:oe(e)?new Jd(e):ge(e)&&arguments.length>1?Tc(e,t,n):Ne(e)}function Tc(e,t,n){return new Gd(e,t,n)}class Qd{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Vs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Pr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Te!==this)return uc(this,!0),!0}get value(){const t=this.dep.track();return pc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Xd(e,t,n=!1){let r,s;return oe(e)?r=e:(r=e.get,s=e.set),new Qd(r,s,n)}const es={},ms=new WeakMap;let mn;function Zd(e,t=!1,n=mn){if(n){let r=ms.get(n);r||ms.set(n,r=[]),r.push(e)}}function ep(e,t,n=be){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:a,call:l}=n,u=T=>s?T:ft(T)||s===!1||s===0?Vt(T,1):Vt(T);let c,f,d,p,y=!1,g=!1;if(Re(e)?(f=()=>e.value,y=ft(e)):It(e)?(f=()=>u(e),y=!0):Q(e)?(g=!0,y=e.some(T=>It(T)||ft(T)),f=()=>e.map(T=>{if(Re(T))return T.value;if(It(T))return u(T);if(oe(T))return l?l(T,2):T()})):oe(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){Dt();try{d()}finally{Mt()}}const T=mn;mn=c;try{return l?l(e,3,[p]):e(p)}finally{mn=T}}:f=_t,t&&s){const T=f,D=s===!0?1/0:s;f=()=>Vt(T(),D)}const v=Us(),_=()=>{c.stop(),v&&v.active&&ci(v.effects,c)};if(o&&t){const T=t;t=(...D)=>{const J=T(...D);return _(),J}}let b=g?new Array(e.length).fill(es):es;const x=T=>{if(!(!(c.flags&1)||!c.dirty&&!T))if(t){const D=c.run();if(T||s||y||(g?D.some((J,W)=>Ve(J,b[W])):Ve(D,b))){d&&d();const J=mn;mn=c;try{const W=[D,b===es?void 0:g&&b[0]===es?[]:b,p];b=D,l?l(t,3,W):t(...W)}finally{mn=J}}}else c.run()};return a&&a(x),c=new lc(f),c.scheduler=i?()=>i(x,!1):x,p=T=>Zd(T,!1,c),d=c.onStop=()=>{const T=ms.get(c);if(T){if(l)l(T,4);else for(const D of T)D();ms.delete(c)}},t?r?x(!0):b=c.run():i?i(x.bind(null,!0),!0):c.run(),_.pause=c.pause.bind(c),_.resume=c.resume.bind(c),_.stop=_,_}function Vt(e,t=1/0,n){if(t<=0||!ge(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Re(e))Vt(e.value,t,n);else if(Q(e))for(let r=0;r{Vt(r,t,n)});else if(Zl(e)){for(const r in e)Vt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Vt(e[r],t,n)}return e}/** +* @vue/runtime-core v3.5.39 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Hr(e,t,n,r){try{return r?e(...r):e()}catch(s){kr(s,t,n)}}function vt(e,t,n,r){if(oe(e)){const s=Hr(e,t,n,r);return s&&Ql(s)&&s.catch(o=>{kr(o,t,n)}),s}if(Q(e)){const s=[];for(let o=0;o>>1,s=rt[r],o=Ir(s);o=Ir(n)?rt.push(e):rt.splice(np(t),0,e),e.flags|=1,Rc()}}function Rc(){gs||(gs=Cc.then(Lc))}function rp(e){Q(e)?qn.push(...e):nn&&e.id===-1?nn.splice(jn+1,0,e):e.flags&1||(qn.push(e),e.flags|=1),Rc()}function ea(e,t,n=Rt+1){for(;nIr(n)-Ir(r));if(qn.length=0,nn){nn.push(...t);return}for(nn=t,jn=0;jne.id==null?e.flags&2?-1:1/0:e.id;function Lc(e){try{for(Rt=0;Rt{r._d&&ws(-1);const o=_s(t);let i;try{i=e(...s)}finally{_s(o),r._d&&ws(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function sp(e,t){if(ze===null)return e;const n=Xs(ze),r=e.dirs||(e.dirs=[]);for(let s=0;s1)return n&&oe(t)?t.call(r&&r.proxy):t}}function _i(){return!!(We()||wn)}const op=Symbol.for("v-scx"),ip=()=>De(op);function Nc(e,t){return Ks(e,null,t)}function ap(e,t){return Ks(e,null,{flush:"sync"})}function at(e,t,n){return Ks(e,t,n)}function Ks(e,t,n=be){const{immediate:r,deep:s,flush:o,once:i}=n,a=Me({},n),l=t&&r||!t&&o!=="post";let u;if(Jn){if(o==="sync"){const p=ip();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=_t,p.resume=_t,p.pause=_t,p}}const c=He;a.call=(p,y,g)=>vt(p,c,y,g);let f=!1;o==="post"?a.scheduler=p=>{et(p,c&&c.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(p,y)=>{y?p():gi(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,c&&(p.id=c.uid,p.i=c))};const d=ep(e,t,a);return Jn&&(u?u.push(d):l&&d()),d}function lp(e,t,n){const r=this.proxy,s=we(e)?e.includes(".")?Dc(r,e):()=>r[e]:e.bind(r,r);let o;oe(t)?o=t:(o=t.handler,n=t);const i=Wr(this),a=Ks(s,o.bind(r),n);return i(),a}function Dc(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;se.__isTeleport,gn=e=>e&&(e.disabled||e.disabled===""),cp=e=>e&&(e.defer||e.defer===""),ta=e=>typeof SVGElement<"u"&&e instanceof SVGElement,na=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Mo=(e,t)=>{const n=e&&e.to;return we(n)?t?t(n):null:n},up={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,u){const{mc:c,pc:f,pbc:d,o:{insert:p,querySelector:y,createText:g,createComment:v,parentNode:_}}=u,b=gn(t.props);let{dynamicChildren:x}=t;const T=(W,Y,L)=>{W.shapeFlag&16&&c(W.children,Y,L,s,o,i,a,l)},D=(W=t)=>{const Y=gn(W.props),L=W.target=Mo(W.props,y),k=$o(L,W,g,p);L&&(i!=="svg"&&ta(L)?i="svg":i!=="mathml"&&na(L)&&(i="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(L),Y||(T(W,L,k),gr(W,!1)))},J=W=>{const Y=()=>{if(Zt.get(W)===Y){if(Zt.delete(W),gn(W.props)){const L=_(W.el)||n;T(W,L,W.anchor),gr(W,!0)}D(W)}};Zt.set(W,Y),et(Y,o)};if(e==null){const W=t.el=g(""),Y=t.anchor=g("");if(p(W,n,r),p(Y,n,r),cp(t.props)||o&&o.pendingBranch){J(t);return}b&&(T(t,n,Y),gr(t,!0)),D()}else{t.el=e.el;const W=t.anchor=e.anchor,Y=Zt.get(e);if(Y){Y.flags|=8,Zt.delete(e),J(t);return}t.targetStart=e.targetStart;const L=t.target=e.target,k=t.targetAnchor=e.targetAnchor,H=gn(e.props),F=H?n:L,te=H?W:k;if(i==="svg"||ta(L)?i="svg":(i==="mathml"||na(L))&&(i="mathml"),x?(d(e.dynamicChildren,x,F,s,o,i,a),xi(e,t,!0)):l||f(e,t,F,te,s,o,i,a,!1),b)H?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ts(t,n,W,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const B=Mo(t.props,y);B&&(t.target=B,ts(t,B,null,u,0))}else H&&ts(t,L,k,u,1);gr(t,b)}},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:a,anchor:l,targetStart:u,targetAnchor:c,target:f,props:d}=e,p=gn(d),y=o||!p,g=Zt.get(e);if(g&&(g.flags|=8,Zt.delete(e)),f&&(s(u),s(c)),o&&s(l),!g&&(p||f)&&i&16)for(let v=0;v{e.isMounted=!0}),Wc(()=>{e.isUnmounting=!0}),e}const pt=[Function,Array],Bc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:pt,onEnter:pt,onAfterEnter:pt,onEnterCancelled:pt,onBeforeLeave:pt,onLeave:pt,onAfterLeave:pt,onLeaveCancelled:pt,onBeforeAppear:pt,onAppear:pt,onAfterAppear:pt,onAppearCancelled:pt},jc=e=>{const t=e.subTree;return t.component?jc(t.component):t},dp={name:"BaseTransition",props:Bc,setup(e,{slots:t}){const n=We(),r=Fc();return()=>{const s=t.default&&vi(t.default(),!0),o=s&&s.length?Uc(s):n.subTree?Vn():void 0;if(!o)return;const i=pe(e),{mode:a}=i;if(r.isLeaving)return fo(o);const l=ra(o);if(!l)return fo(o);let u=Nr(l,i,r,n,f=>u=f);l.type!==Qe&&xn(l,u);let c=n.subTree&&ra(n.subTree);if(c&&c.type!==Qe&&!_n(c,l)&&jc(n).type!==Qe){let f=Nr(c,i,r,n);if(xn(c,f),a==="out-in"&&l.type!==Qe)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},fo(o);a==="in-out"&&l.type!==Qe?f.delayLeave=(d,p,y)=>{const g=Vc(r,c);g[String(c.key)]=c,d[ht]=()=>{p(),d[ht]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{y(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function Uc(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Qe){t=n;break}}return t}const pp=dp;function Vc(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Nr(e,t,n,r,s){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:y,onLeaveCancelled:g,onBeforeAppear:v,onAppear:_,onAfterAppear:b,onAppearCancelled:x}=t,T=String(e.key),D=Vc(n,e),J=(L,k)=>{L&&vt(L,r,9,k)},W=(L,k)=>{const H=k[1];J(L,k),Q(L)?L.every(F=>F.length<=1)&&H():L.length<=1&&H()},Y={mode:i,persisted:a,beforeEnter(L){let k=l;if(!n.isMounted)if(o)k=v||l;else return;L[ht]&&L[ht](!0);const H=D[T];H&&_n(e,H)&&H.el[ht]&&H.el[ht](),J(k,[L])},enter(L){if(D[T]===e)return;let k=u,H=c,F=f;if(!n.isMounted)if(o)k=_||u,H=b||c,F=x||f;else return;let te=!1;L[ur]=M=>{te||(te=!0,M?J(F,[L]):J(H,[L]),Y.delayedLeave&&Y.delayedLeave(),L[ur]=void 0)};const B=L[ur].bind(null,!1);k?W(k,[L,B]):B()},leave(L,k){const H=String(e.key);if(L[ur]&&L[ur](!0),n.isUnmounting)return k();J(d,[L]);let F=!1;L[ht]=B=>{F||(F=!0,k(),B?J(g,[L]):J(y,[L]),L[ht]=void 0,D[H]===e&&delete D[H])};const te=L[ht].bind(null,!1);D[H]=e,p?W(p,[L,te]):te()},clone(L){const k=Nr(L,t,n,r,s);return s&&s(k),k}};return Y}function fo(e){if(zr(e))return e=ln(e),e.children=null,e}function ra(e){if(!zr(e))return $c(e.type)&&e.children?Uc(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&oe(n.default))return n.default()}}function xn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,xn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function vi(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;oSr(g,t&&(Q(t)?t[v]:t),n,r,s));return}if(Kn(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Sr(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Xs(r.component):r.el,i=s?null:o,{i:a,r:l}=e,u=t&&t.r,c=a.refs===be?a.refs={}:a.refs,f=a.setupState,d=pe(f),p=f===be?Yl:g=>sa(c,g)?!1:me(d,g),y=(g,v)=>!(v&&sa(c,v));if(u!=null&&u!==l){if(oa(t),we(u))c[u]=null,p(u)&&(f[u]=null);else if(Re(u)){const g=t;y(u,g.k)&&(u.value=null),g.k&&(c[g.k]=null)}}if(oe(l)){Dt();try{Hr(l,a,12,[i,c])}finally{Mt()}}else{const g=we(l),v=Re(l);if(g||v){const _=()=>{if(e.f){const b=g?p(l)?f[l]:c[l]:y()||!e.k?l.value:c[e.k];if(s)Q(b)&&ci(b,o);else if(Q(b))b.includes(o)||b.push(o);else if(g)c[l]=[o],p(l)&&(f[l]=c[l]);else{const x=[o];y(l,e.k)&&(l.value=x),e.k&&(c[e.k]=x)}}else g?(c[l]=i,p(l)&&(f[l]=i)):v&&(y(l,e.k)&&(l.value=i),e.k&&(c[e.k]=i))};if(i){const b=()=>{_(),vs.delete(e)};b.id=-1,vs.set(e,b),et(b,n)}else oa(e),_()}}}function oa(e){const t=vs.get(e);t&&(t.flags|=8,vs.delete(e))}const ia=e=>e.nodeType===8;js().requestIdleCallback;js().cancelIdleCallback;function hp(e,t){if(ia(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(ia(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Kn=e=>!!e.type.__asyncLoader;function Pb(e){oe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:o,timeout:i,suspensible:a=!0,onError:l}=e;let u=null,c,f=0;const d=()=>(f++,u=null,p()),p=()=>{let y;return u||(y=u=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),l)return new Promise((v,_)=>{l(g,()=>v(d()),()=>_(g),f+1)});throw g}).then(g=>y!==u&&u?u:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),c=g,g)))};return _e({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(y,g,v){let _=!1;(g.bu||(g.bu=[])).push(()=>_=!0);const b=()=>{_||v()},x=o?()=>{const T=o(b,D=>hp(y,D));T&&(g.bum||(g.bum=[])).push(T)}:b;c?x():p().then(()=>!g.isUnmounted&&x())},get __asyncResolved(){return c},setup(){const y=He;if(yi(y),c)return()=>ns(c,y);const g=D=>{u=null,kr(D,y,13,!r)};if(a&&y.suspense||Jn)return p().then(D=>()=>ns(D,y)).catch(D=>(g(D),()=>r?Le(r,{error:D}):null));const v=Ne(!1),_=Ne(),b=Ne(!!s);let x,T;return Js(()=>{x!=null&&clearTimeout(x),T!=null&&clearTimeout(T)}),s&&(T=setTimeout(()=>{y.isUnmounted||(b.value=!1)},s)),i!=null&&(x=setTimeout(()=>{if(!y.isUnmounted&&!v.value&&!_.value){const D=new Error(`Async component timed out after ${i}ms.`);g(D),_.value=D}},i)),p().then(()=>{y.isUnmounted||(v.value=!0,y.parent&&zr(y.parent.vnode)&&y.parent.update())}).catch(D=>{if(y.isUnmounted){u=null;return}g(D),_.value=D}),()=>{if(v.value&&c)return ns(c,y);if(_.value&&r)return Le(r,{error:_.value});if(n&&!b.value)return ns(n,y)}}})}function ns(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=Le(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const zr=e=>e.type.__isKeepAlive;function Hc(e,t){zc(e,"a",t)}function kc(e,t){zc(e,"da",t)}function zc(e,t,n=He){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Gs(t,r,n),n){let s=n.parent;for(;s&&s.parent;)zr(s.parent.vnode)&&mp(r,t,n,s),s=s.parent}}function mp(e,t,n,r){const s=Gs(t,e,r,!0);Js(()=>{ci(r[t],s)},n)}function Gs(e,t,n=He,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Dt();const a=Wr(n),l=vt(t,n,e,i);return a(),Mt(),l});return r?s.unshift(o):s.push(o),o}}const Wt=e=>(t,n=He)=>{(!Jn||e==="sp")&&Gs(e,(...r)=>t(...r),n)},gp=Wt("bm"),qr=Wt("m"),_p=Wt("bu"),qc=Wt("u"),Wc=Wt("bum"),Js=Wt("um"),vp=Wt("sp"),yp=Wt("rtg"),bp=Wt("rtc");function wp(e,t=He){Gs("ec",e,t)}const bi="components",Ep="directives";function Sp(e,t){return wi(bi,e,!0,t)||e}const Kc=Symbol.for("v-ndc");function xp(e){return we(e)?wi(bi,e,!1)||e:e||Kc}function Lb(e){return wi(Ep,e)}function wi(e,t,n=!0,r=!1){const s=ze||He;if(s){const o=s.type;if(e===bi){const a=oh(o,!1);if(a&&(a===t||a===qe(t)||a===Bs(qe(t))))return o}const i=aa(s[e]||o[e],t)||aa(s.appContext[e],t);return!i&&r?o:i}}function aa(e,t){return e&&(e[t]||e[qe(t)]||e[Bs(qe(t))])}function Ib(e,t,n,r){let s;const o=n,i=Q(e);if(i||we(e)){const a=i&&It(e);let l=!1,u=!1;a&&(l=!ft(e),u=zt(e),e=Hs(e)),s=new Array(e.length);for(let c=0,f=e.length;ct(a,l,void 0,o));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,u=a.length;l{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}function Dr(e,t,n={},r,s){if(ze.ce||ze.parent&&Kn(ze.parent)&&ze.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),fe(),Ht(st,null,[Le("slot",n,r&&r())],u?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),fe();const i=o&&Gc(o(n)),a=n.key||i&&i.key,l=Ht(st,{key:(a&&!dt(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Gc(e){return e.some(t=>On(t)?!(t.type===Qe||t.type===st&&!Gc(t.children)):!0)?e:null}function Db(e,t){const n={};for(const r in e)n[os(r)]=e[r];return n}const Fo=e=>e?gu(e)?Xs(e):Fo(e.parent):null,xr=Me(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Fo(e.parent),$root:e=>Fo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Qc(e),$forceUpdate:e=>e.f||(e.f=()=>{gi(e.update)}),$nextTick:e=>e.n||(e.n=rr.bind(e.proxy)),$watch:e=>lp.bind(e)}),po=(e,t)=>e!==be&&!e.__isScriptSetup&&me(e,t),Op={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(po(r,t))return i[t]=1,r[t];if(s!==be&&me(s,t))return i[t]=2,s[t];if(me(o,t))return i[t]=3,o[t];if(n!==be&&me(n,t))return i[t]=4,n[t];Bo&&(i[t]=0)}}const u=xr[t];let c,f;if(u)return t==="$attrs"&&Ye(e.attrs,"get",""),u(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==be&&me(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,me(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return po(s,t)?(s[t]=n,!0):r!==be&&me(r,t)?(r[t]=n,!0):me(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:o,type:i}},a){let l;return!!(n[a]||e!==be&&a[0]!=="$"&&me(e,a)||po(t,a)||me(o,a)||me(r,a)||me(xr,a)||me(s.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:me(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Mb(){return Jc().slots}function $b(){return Jc().attrs}function Jc(e){const t=We();return t.setupContext||(t.setupContext=vu(t))}function ys(e){return Q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Fb(e,t){return!e||!t?e||t:Q(e)&&Q(t)?e.concat(t):Me({},ys(e),ys(t))}let Bo=!0;function Ap(e){const t=Qc(e),n=e.proxy,r=e.ctx;Bo=!1,t.beforeCreate&&la(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:p,updated:y,activated:g,deactivated:v,beforeDestroy:_,beforeUnmount:b,destroyed:x,unmounted:T,render:D,renderTracked:J,renderTriggered:W,errorCaptured:Y,serverPrefetch:L,expose:k,inheritAttrs:H,components:F,directives:te,filters:B}=t;if(u&&Tp(u,r,null),i)for(const I in i){const N=i[I];oe(N)&&(r[I]=N.bind(n))}if(s){const I=s.call(n,n);ge(I)&&(e.data=Vr(I))}if(Bo=!0,o)for(const I in o){const N=o[I],re=oe(N)?N.bind(n,n):oe(N.get)?N.get.bind(n,n):_t,X=!oe(N)&&oe(N.set)?N.set.bind(n):_t,ne=Z({get:re,set:X});Object.defineProperty(r,I,{enumerable:!0,configurable:!0,get:()=>ne.value,set:ce=>ne.value=ce})}if(a)for(const I in a)Yc(a[I],r,n,I);if(l){const I=oe(l)?l.call(n):l;Reflect.ownKeys(I).forEach(N=>{Er(N,I[N])})}c&&la(c,e,"c");function R(I,N){Q(N)?N.forEach(re=>I(re.bind(n))):N&&I(N.bind(n))}if(R(gp,f),R(qr,d),R(_p,p),R(qc,y),R(Hc,g),R(kc,v),R(wp,Y),R(bp,J),R(yp,W),R(Wc,b),R(Js,T),R(vp,L),Q(k))if(k.length){const I=e.exposed||(e.exposed={});k.forEach(N=>{Object.defineProperty(I,N,{get:()=>n[N],set:re=>n[N]=re,enumerable:!0})})}else e.exposed||(e.exposed={});D&&e.render===_t&&(e.render=D),H!=null&&(e.inheritAttrs=H),F&&(e.components=F),te&&(e.directives=te),L&&yi(e)}function Tp(e,t,n=_t){Q(e)&&(e=jo(e));for(const r in e){const s=e[r];let o;ge(s)?"default"in s?o=De(s.from||r,s.default,!0):o=De(s.from||r):o=De(s),Re(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function la(e,t,n){vt(Q(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Yc(e,t,n,r){let s=r.includes(".")?Dc(n,r):()=>n[r];if(we(e)){const o=t[e];oe(o)&&at(s,o)}else if(oe(e))at(s,e.bind(n));else if(ge(e))if(Q(e))e.forEach(o=>Yc(o,t,n,r));else{const o=oe(e.handler)?e.handler.bind(n):t[e.handler];oe(o)&&at(s,o,e)}}function Qc(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>bs(l,u,i,!0)),bs(l,t,i)),ge(t)&&o.set(t,l),l}function bs(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&bs(e,o,n,!0),s&&s.forEach(i=>bs(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Cp[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Cp={data:ca,props:ua,emits:ua,methods:_r,computed:_r,beforeCreate:Ze,created:Ze,beforeMount:Ze,mounted:Ze,beforeUpdate:Ze,updated:Ze,beforeDestroy:Ze,beforeUnmount:Ze,destroyed:Ze,unmounted:Ze,activated:Ze,deactivated:Ze,errorCaptured:Ze,serverPrefetch:Ze,components:_r,directives:_r,watch:Pp,provide:ca,inject:Rp};function ca(e,t){return t?e?function(){return Me(oe(e)?e.call(this,this):e,oe(t)?t.call(this,this):t)}:t:e}function Rp(e,t){return _r(jo(e),jo(t))}function jo(e){if(Q(e)){const t={};for(let n=0;n{let c,f=be,d;return ap(()=>{const p=e[s];Ve(c,p)&&(c=p,u())}),{get(){return l(),n.get?n.get(c):c},set(p){const y=n.set?n.set(p):p;if(!Ve(y,c)&&!(f!==be&&Ve(p,f)))return;const g=r.vnode.props,v=!!(g&&(t in g||s in g||o in g)&&(`onUpdate:${t}`in g||`onUpdate:${s}`in g||`onUpdate:${o}`in g));v||(c=p,u()),r.emit(`update:${t}`,y),Ve(p,f)&&(Ve(p,y)&&!Ve(y,d)||v&&f!==be&&!Ve(y,c))&&u(),f=p,d=y}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?i||be:a,done:!1}:{done:!0}}}},a}const Zc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${qe(t)}Modifiers`]||e[`${qt(t)}Modifiers`];function Np(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||be;let s=n;const o=t.startsWith("update:"),i=o&&Zc(r,t.slice(7));i&&(i.trim&&(s=n.map(c=>we(c)?c.trim():c)),i.number&&(s=n.map(ui)));let a,l=r[a=os(t)]||r[a=os(qe(t))];!l&&o&&(l=r[a=os(qt(t))]),l&&vt(l,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,vt(u,e,6,s)}}const Dp=new WeakMap;function eu(e,t,n=!1){const r=n?Dp:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!oe(e)){const l=u=>{const c=eu(u,t,!0);c&&(a=!0,Me(i,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(ge(e)&&r.set(e,null),null):(Q(o)?o.forEach(l=>i[l]=null):Me(i,o),ge(e)&&r.set(e,i),i)}function Ys(e,t){return!e||!Ns(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),me(e,t[0].toLowerCase()+t.slice(1))||me(e,qt(t))||me(e,t))}function fa(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:l,render:u,renderCache:c,props:f,data:d,setupState:p,ctx:y,inheritAttrs:g}=e,v=_s(e);let _,b;try{if(n.shapeFlag&4){const T=s||r,D=T;_=Lt(u.call(D,T,c,f,p,d,y)),b=a}else{const T=t;_=Lt(T.length>1?T(f,{attrs:a,slots:i,emit:l}):T(f,null)),b=t.props?a:Mp(a)}}catch(T){Or.length=0,kr(T,e,1),_=Le(Qe)}let x=_;if(b&&g!==!1){const T=Object.keys(b),{shapeFlag:D}=x;T.length&&D&7&&(o&&T.some(Ds)&&(b=$p(b,o)),x=ln(x,b,!1,!0))}return n.dirs&&(x=ln(x,null,!1,!0),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&xn(x,n.transition),_=x,_s(v),_}const Mp=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ns(n))&&((t||(t={}))[n]=e[n]);return t},$p=(e,t)=>{const n={};for(const r in e)(!Ds(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Fp(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?da(r,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let f=0;fObject.create(nu),su=e=>Object.getPrototypeOf(e)===nu;function jp(e,t,n,r=!1){const s={},o=ru();e.propsDefaults=Object.create(null),ou(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:zs(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Up(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=pe(s),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,p]=iu(f,t,!0);Me(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!l)return ge(e)&&r.set(e,kn),kn;if(Q(o))for(let c=0;ce==="_"||e==="_ctx"||e==="$stable",Si=e=>Q(e)?e.map(Lt):[Lt(e)],Hp=(e,t,n)=>{if(t._n)return t;const r=Wn((...s)=>Si(t(...s)),n);return r._c=!1,r},au=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Ei(s))continue;const o=e[s];if(oe(o))t[s]=Hp(s,o,r);else if(o!=null){const i=Si(o);t[s]=()=>i}}},lu=(e,t)=>{const n=Si(t);e.slots.default=()=>n},cu=(e,t,n)=>{for(const r in t)(n||!Ei(r))&&(e[r]=t[r])},kp=(e,t,n)=>{const r=e.slots=ru();if(e.vnode.shapeFlag&32){const s=t._;s?(cu(r,t,n),n&&ec(r,"_",s,!0)):au(t,r)}else t&&lu(e,t)},zp=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=be;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:cu(s,t,n):(o=!t.$stable,au(t,s)),i=t}else t&&(lu(e,t),i={default:1});if(o)for(const a in s)!Ei(a)&&i[a]==null&&delete s[a]},et=Jp;function qp(e){return Wp(e)}function Wp(e,t){const n=js();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:p=_t,insertStaticContent:y}=e,g=(h,m,E,C=null,S=null,A=null,U=void 0,$=null,j=!!m.dynamicChildren)=>{if(h===m)return;h&&!_n(h,m)&&(C=O(h),ce(h,S,A,!0),h=null),m.patchFlag===-2&&(j=!1,m.dynamicChildren=null);const{type:P,ref:ee,shapeFlag:G}=m;switch(P){case Qs:v(h,m,E,C);break;case Qe:_(h,m,E,C);break;case as:h==null&&b(m,E,C,U);break;case st:F(h,m,E,C,S,A,U,$,j);break;default:G&1?D(h,m,E,C,S,A,U,$,j):G&6?te(h,m,E,C,S,A,U,$,j):(G&64||G&128)&&P.process(h,m,E,C,S,A,U,$,j,K)}ee!=null&&S?Sr(ee,h&&h.ref,A,m||h,!m):ee==null&&h&&h.ref!=null&&Sr(h.ref,null,A,h,!0)},v=(h,m,E,C)=>{if(h==null)r(m.el=a(m.children),E,C);else{const S=m.el=h.el;m.children!==h.children&&u(S,m.children)}},_=(h,m,E,C)=>{h==null?r(m.el=l(m.children||""),E,C):m.el=h.el},b=(h,m,E,C)=>{[h.el,h.anchor]=y(h.children,m,E,C,h.el,h.anchor)},x=({el:h,anchor:m},E,C)=>{let S;for(;h&&h!==m;)S=d(h),r(h,E,C),h=S;r(m,E,C)},T=({el:h,anchor:m})=>{let E;for(;h&&h!==m;)E=d(h),s(h),h=E;s(m)},D=(h,m,E,C,S,A,U,$,j)=>{if(m.type==="svg"?U="svg":m.type==="math"&&(U="mathml"),h==null)J(m,E,C,S,A,U,$,j);else{const P=h.el&&h.el._isVueCE?h.el:null;try{P&&P._beginPatch(),L(h,m,S,A,U,$,j)}finally{P&&P._endPatch()}}},J=(h,m,E,C,S,A,U,$)=>{let j,P;const{props:ee,shapeFlag:G,transition:se,dirs:le}=h;if(j=h.el=i(h.type,A,ee&&ee.is,ee),G&8?c(j,h.children):G&16&&Y(h.children,j,null,C,S,ho(h,A),U,$),le&&fn(h,null,C,"created"),W(j,h,h.scopeId,U,C),ee){for(const Ae in ee)Ae!=="value"&&!yr(Ae)&&o(j,Ae,null,ee[Ae],A,C);"value"in ee&&o(j,"value",null,ee.value,A),(P=ee.onVnodeBeforeMount)&&Tt(P,C,h)}le&&fn(h,null,C,"beforeMount");const ve=Kp(S,se);ve&&se.beforeEnter(j),r(j,m,E),((P=ee&&ee.onVnodeMounted)||ve||le)&&et(()=>{try{P&&Tt(P,C,h),ve&&se.enter(j),le&&fn(h,null,C,"mounted")}finally{}},S)},W=(h,m,E,C,S)=>{if(E&&p(h,E),C)for(let A=0;A{for(let P=j;P{const $=m.el=h.el;let{patchFlag:j,dynamicChildren:P,dirs:ee}=m;j|=h.patchFlag&16;const G=h.props||be,se=m.props||be;let le;if(E&&dn(E,!1),(le=se.onVnodeBeforeUpdate)&&Tt(le,E,m,h),ee&&fn(m,h,E,"beforeUpdate"),E&&dn(E,!0),P&&(!h.dynamicChildren||h.dynamicChildren.length!==P.length)&&(j=0,U=!1,P=null),(G.innerHTML&&se.innerHTML==null||G.textContent&&se.textContent==null)&&c($,""),P?k(h.dynamicChildren,P,$,E,C,ho(m,S),A):U||N(h,m,$,null,E,C,ho(m,S),A,!1),j>0){if(j&16)H($,G,se,E,S);else if(j&2&&G.class!==se.class&&o($,"class",null,se.class,S),j&4&&o($,"style",G.style,se.style,S),j&8){const ve=m.dynamicProps;for(let Ae=0;Ae{le&&Tt(le,E,m,h),ee&&fn(m,h,E,"updated")},C)},k=(h,m,E,C,S,A,U)=>{for(let $=0;${if(m!==E){if(m!==be)for(const A in m)!yr(A)&&!(A in E)&&o(h,A,m[A],null,S,C);for(const A in E){if(yr(A))continue;const U=E[A],$=m[A];U!==$&&A!=="value"&&o(h,A,$,U,S,C)}"value"in E&&o(h,"value",m.value,E.value,S)}},F=(h,m,E,C,S,A,U,$,j)=>{const P=m.el=h?h.el:a(""),ee=m.anchor=h?h.anchor:a("");let{patchFlag:G,dynamicChildren:se,slotScopeIds:le}=m;le&&($=$?$.concat(le):le),h==null?(r(P,E,C),r(ee,E,C),Y(m.children||[],E,ee,S,A,U,$,j)):G>0&&G&64&&se&&h.dynamicChildren&&h.dynamicChildren.length===se.length?(k(h.dynamicChildren,se,E,S,A,U,$),(m.key!=null||S&&m===S.subTree)&&xi(h,m,!0)):N(h,m,E,ee,S,A,U,$,j)},te=(h,m,E,C,S,A,U,$,j)=>{m.slotScopeIds=$,h==null?m.shapeFlag&512?S.ctx.activate(m,E,C,U,j):B(m,E,C,S,A,U,j):M(h,m,j)},B=(h,m,E,C,S,A,U)=>{const $=h.component=th(h,C,S);if(zr(h)&&($.ctx.renderer=K),nh($,!1,U),$.asyncDep){if(S&&S.registerDep($,R,U),!h.el){const j=$.subTree=Le(Qe);_(null,j,m,E),h.placeholder=j.el}}else R($,h,m,E,S,A,U)},M=(h,m,E)=>{const C=m.component=h.component;if(Fp(h,m,E))if(C.asyncDep&&!C.asyncResolved){I(C,m,E);return}else C.next=m,C.update();else m.el=h.el,C.vnode=m},R=(h,m,E,C,S,A,U)=>{const $=()=>{if(h.isMounted){let{next:G,bu:se,u:le,parent:ve,vnode:Ae}=h;{const Ot=uu(h);if(Ot){G&&(G.el=Ae.el,I(h,G,U)),Ot.asyncDep.then(()=>{et(()=>{h.isUnmounted||P()},S)});return}}let Oe=G,Fe;dn(h,!1),G?(G.el=Ae.el,I(h,G,U)):G=Ae,se&&is(se),(Fe=G.props&&G.props.onVnodeBeforeUpdate)&&Tt(Fe,ve,G,Ae),dn(h,!0);const Ue=fa(h),xt=h.subTree;h.subTree=Ue,g(xt,Ue,f(xt.el),O(xt),h,S,A),G.el=Ue.el,Oe===null&&Bp(h,Ue.el),le&&et(le,S),(Fe=G.props&&G.props.onVnodeUpdated)&&et(()=>Tt(Fe,ve,G,Ae),S)}else{let G;const{el:se,props:le}=m,{bm:ve,m:Ae,parent:Oe,root:Fe,type:Ue}=h,xt=Kn(m);dn(h,!1),ve&&is(ve),!xt&&(G=le&&le.onVnodeBeforeMount)&&Tt(G,Oe,m),dn(h,!0);{Fe.ce&&Fe.ce._hasShadowRoot()&&Fe.ce._injectChildStyle(Ue,h.parent?h.parent.type:void 0);const Ot=h.subTree=fa(h);g(null,Ot,E,C,h,S,A),m.el=Ot.el}if(Ae&&et(Ae,S),!xt&&(G=le&&le.onVnodeMounted)){const Ot=m;et(()=>Tt(G,Oe,Ot),S)}(m.shapeFlag&256||Oe&&Kn(Oe.vnode)&&Oe.vnode.shapeFlag&256)&&h.a&&et(h.a,S),h.isMounted=!0,m=E=C=null}};h.scope.on();const j=h.effect=new lc($);h.scope.off();const P=h.update=j.run.bind(j),ee=h.job=j.runIfDirty.bind(j);ee.i=h,ee.id=h.uid,j.scheduler=()=>gi(ee),dn(h,!0),P()},I=(h,m,E)=>{m.component=h;const C=h.vnode.props;h.vnode=m,h.next=null,Up(h,m.props,C,E),zp(h,m.children,E),Dt(),ea(h),Mt()},N=(h,m,E,C,S,A,U,$,j=!1)=>{const P=h&&h.children,ee=h?h.shapeFlag:0,G=m.children,{patchFlag:se,shapeFlag:le}=m;if(se>0){if(se&128){X(P,G,E,C,S,A,U,$,j);return}else if(se&256){re(P,G,E,C,S,A,U,$,j);return}}le&8?(ee&16&&ie(P,S,A),G!==P&&c(E,G)):ee&16?le&16?X(P,G,E,C,S,A,U,$,j):ie(P,S,A,!0):(ee&8&&c(E,""),le&16&&Y(G,E,C,S,A,U,$,j))},re=(h,m,E,C,S,A,U,$,j)=>{h=h||kn,m=m||kn;const P=h.length,ee=m.length,G=Math.min(P,ee);let se;for(se=0;seee?ie(h,S,A,!0,!1,G):Y(m,E,C,S,A,U,$,j,G)},X=(h,m,E,C,S,A,U,$,j)=>{let P=0;const ee=m.length;let G=h.length-1,se=ee-1;for(;P<=G&&P<=se;){const le=h[P],ve=m[P]=j?jt(m[P]):Lt(m[P]);if(_n(le,ve))g(le,ve,E,null,S,A,U,$,j);else break;P++}for(;P<=G&&P<=se;){const le=h[G],ve=m[se]=j?jt(m[se]):Lt(m[se]);if(_n(le,ve))g(le,ve,E,null,S,A,U,$,j);else break;G--,se--}if(P>G){if(P<=se){const le=se+1,ve=lese)for(;P<=G;)ce(h[P],S,A,!0),P++;else{const le=P,ve=P,Ae=new Map;for(P=ve;P<=se;P++){const ct=m[P]=j?jt(m[P]):Lt(m[P]);ct.key!=null&&Ae.set(ct.key,P)}let Oe,Fe=0;const Ue=se-ve+1;let xt=!1,Ot=0;const lr=new Array(Ue);for(P=0;P=Ue){ce(ct,S,A,!0);continue}let At;if(ct.key!=null)At=Ae.get(ct.key);else for(Oe=ve;Oe<=se;Oe++)if(lr[Oe-ve]===0&&_n(ct,m[Oe])){At=Oe;break}At===void 0?ce(ct,S,A,!0):(lr[At-ve]=P+1,At>=Ot?Ot=At:xt=!0,g(ct,m[At],E,null,S,A,U,$,j),Fe++)}const Wi=xt?Gp(lr):kn;for(Oe=Wi.length-1,P=Ue-1;P>=0;P--){const ct=ve+P,At=m[ct],Ki=m[ct+1],Gi=ct+1{const{el:A,type:U,transition:$,children:j,shapeFlag:P}=h;if(P&6){ne(h.component.subTree,m,E,C);return}if(P&128){h.suspense.move(m,E,C);return}if(P&64){U.move(h,m,E,K);return}if(U===st){r(A,m,E);for(let G=0;G$.enter(A),S));else{const{leave:G,delayLeave:se,afterLeave:le}=$,ve=()=>{h.ctx.isUnmounted?s(A):r(A,m,E)},Ae=()=>{const Oe=A._isLeaving||!!A[ht];A._isLeaving&&A[ht](!0),$.persisted&&!Oe?ve():G(A,()=>{ve(),le&&le()})};se?se(A,ve,Ae):Ae()}else r(A,m,E)},ce=(h,m,E,C=!1,S=!1)=>{const{type:A,props:U,ref:$,children:j,dynamicChildren:P,shapeFlag:ee,patchFlag:G,dirs:se,cacheIndex:le,memo:ve}=h;if(G===-2&&(S=!1),$!=null&&(Dt(),Sr($,null,E,h,!0),Mt()),le!=null&&(m.renderCache[le]=void 0),ee&256){m.ctx.deactivate(h);return}const Ae=ee&1&&se,Oe=!Kn(h);let Fe;if(Oe&&(Fe=U&&U.onVnodeBeforeUnmount)&&Tt(Fe,m,h),ee&6)Pe(h.component,E,C);else{if(ee&128){h.suspense.unmount(E,C);return}Ae&&fn(h,null,m,"beforeUnmount"),ee&64?h.type.remove(h,m,E,K,C):P&&!P.hasOnce&&(A!==st||G>0&&G&64)?ie(P,m,E,!1,!0):(A===st&&G&384||!S&&ee&16)&&ie(j,m,E),C&&ye(h)}const Ue=ve!=null&&le==null;(Oe&&(Fe=U&&U.onVnodeUnmounted)||Ae||Ue)&&et(()=>{Fe&&Tt(Fe,m,h),Ae&&fn(h,null,m,"unmounted"),Ue&&(h.el=null)},E)},ye=h=>{const{type:m,el:E,anchor:C,transition:S}=h;if(m===st){xe(E,C);return}if(m===as){T(h);return}const A=()=>{s(E),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(h.shapeFlag&1&&S&&!S.persisted){const{leave:U,delayLeave:$}=S,j=()=>U(E,A);$?$(h.el,A,j):j()}else A()},xe=(h,m)=>{let E;for(;h!==m;)E=d(h),s(h),h=E;s(m)},Pe=(h,m,E)=>{const{bum:C,scope:S,job:A,subTree:U,um:$,m:j,a:P}=h;ha(j),ha(P),C&&is(C),S.stop(),A&&(A.flags|=8,ce(U,h,m,E)),$&&et($,m),et(()=>{h.isUnmounted=!0},m)},ie=(h,m,E,C=!1,S=!1,A=0)=>{for(let U=A;U{if(h.shapeFlag&6)return O(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const m=d(h.anchor||h.el),E=m&&m[Mc];return E?d(E):m};let z=!1;const V=(h,m,E)=>{let C;h==null?m._vnode&&(ce(m._vnode,null,null,!0),C=m._vnode.component):g(m._vnode||null,h,m,null,null,null,E),m._vnode=h,z||(z=!0,ea(C),Pc(),z=!1)},K={p:g,um:ce,m:ne,r:ye,mt:B,mc:Y,pc:N,pbc:k,n:O,o:e};return{render:V,hydrate:void 0,createApp:Ip(V)}}function ho({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function dn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Kp(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function xi(e,t,n=!1){const r=e.children,s=t.children;if(Q(r)&&Q(s))for(let o=0;o>1,e[n[a]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function uu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:uu(t)}function ha(e){if(e)for(let t=0;te.__isSuspense;function Jp(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):rp(e)}const st=Symbol.for("v-fgt"),Qs=Symbol.for("v-txt"),Qe=Symbol.for("v-cmt"),as=Symbol.for("v-stc"),Or=[];let ut=null;function fe(e=!1){Or.push(ut=e?null:[])}function Yp(){Or.pop(),ut=Or[Or.length-1]||null}let Mr=1;function ws(e,t=!1){Mr+=e,e<0&&ut&&t&&(ut.hasOnce=!0)}function pu(e){return e.dynamicChildren=Mr>0?ut||kn:null,Yp(),Mr>0&&ut&&ut.push(e),e}function Ee(e,t,n,r,s,o){return pu(he(e,t,n,r,s,o,!0))}function Ht(e,t,n,r,s){return pu(Le(e,t,n,r,s,!0))}function On(e){return e?e.__v_isVNode===!0:!1}function _n(e,t){return e.type===t.type&&e.key===t.key}const hu=({key:e})=>e??null,ls=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?we(e)||Re(e)||oe(e)?{i:ze,r:e,k:t,f:!!n}:e:null);function he(e,t=null,n=null,r=0,s=null,o=e===st?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&hu(t),ref:t&&ls(t),scopeId:Ic,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ze};return a?(Es(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=we(n)?8:16),Mr>0&&!i&&ut&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&ut.push(l),l}const Le=Qp;function Qp(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Kc)&&(e=Qe),On(e)){const a=ln(e,t,!0);return n&&Es(a,n),Mr>0&&!o&&ut&&(a.shapeFlag&6?ut[ut.indexOf(e)]=a:ut.push(a)),a.patchFlag=-2,a}if(ih(e)&&(e=e.__vccOpts),t){t=Xp(t);let{class:a,style:l}=t;a&&!we(a)&&(t.class=mt(a)),ge(l)&&(Ws(l)&&!Q(l)&&(l=Me({},l)),t.style=nr(l))}const i=we(e)?1:du(e)?128:$c(e)?64:ge(e)?4:oe(e)?2:0;return he(e,t,n,r,s,i,o,!0)}function Xp(e){return e?Ws(e)||su(e)?Me({},e):e:null}function ln(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:l}=e,u=t?mu(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&hu(u),ref:t&&t.ref?n&&o?Q(o)?o.concat(ls(t)):[o,ls(t)]:ls(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==st?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ln(e.ssContent),ssFallback:e.ssFallback&&ln(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&xn(c,l.clone(c)),c}function Oi(e=" ",t=0){return Le(Qs,null,e,t)}function jb(e,t){const n=Le(as,null,e);return n.staticCount=t,n}function Vn(e="",t=!1){return t?(fe(),Ht(Qe,null,e)):Le(Qe,null,e)}function Lt(e){return e==null||typeof e=="boolean"?Le(Qe):Q(e)?Le(st,null,e.slice()):On(e)?jt(e):Le(Qs,null,String(e))}function jt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ln(e)}function Es(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Q(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Es(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!su(t)?t._ctx=ze:s===3&&ze&&(ze.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(oe(t)){if(r&65){Es(e,{default:t});return}t={default:t,_ctx:ze},n=32}else t=String(t),r&64?(n=16,t=[Oi(t)]):n=8;e.children=t,e.shapeFlag|=n}function mu(...e){const t={};for(let n=0;nHe||ze;let Ss,Vo;{const e=js(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};Ss=t("__VUE_INSTANCE_SETTERS__",n=>He=n),Vo=t("__VUE_SSR_SETTERS__",n=>Jn=n)}const Wr=e=>{const t=He;return Ss(e),e.scope.on(),()=>{e.scope.off(),Ss(t)}},ma=()=>{He&&He.scope.off(),Ss(null)};function gu(e){return e.vnode.shapeFlag&4}let Jn=!1;function nh(e,t=!1,n=!1){t&&Vo(t);const{props:r,children:s}=e.vnode,o=gu(e);jp(e,r,o,t),kp(e,s,n||t);const i=o?rh(e,t):void 0;return t&&Vo(!1),i}function rh(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Op);const{setup:r}=n;if(r){Dt();const s=e.setupContext=r.length>1?vu(e):null,o=Wr(e),i=Hr(r,e,0,[e.props,s]),a=Ql(i);if(Mt(),o(),(a||e.sp)&&!Kn(e)&&yi(e),a){if(i.then(ma,ma),t)return i.then(l=>{ga(e,l)}).catch(l=>{kr(l,e,0)});e.asyncDep=i}else ga(e,i)}else _u(e)}function ga(e,t,n){oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ge(t)&&(e.setupState=Ac(t)),_u(e)}function _u(e,t,n){const r=e.type;e.render||(e.render=r.render||_t);{const s=Wr(e);Dt();try{Ap(e)}finally{Mt(),s()}}}const sh={get(e,t){return Ye(e,"get",""),e[t]}};function vu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,sh),slots:e.slots,emit:e.emit,expose:t}}function Xs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ac(mi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in xr)return xr[n](e)},has(t,n){return n in t||n in xr}})):e.proxy}function oh(e,t=!0){return oe(e)?e.displayName||e.name:e.name||t&&e.__name}function ih(e){return oe(e)&&"__vccOpts"in e}const Z=(e,t)=>Xd(e,t,Jn);function Ai(e,t,n){try{ws(-1);const r=arguments.length;return r===2?ge(t)&&!Q(t)?On(t)?Le(e,null,[t]):Le(e,t):Le(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&On(n)&&(n=[n]),Le(e,t,n))}finally{ws(1)}}const ah="3.5.39",lh=_t;/** +* @vue/runtime-dom v3.5.39 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Ho;const _a=typeof window<"u"&&window.trustedTypes;if(_a)try{Ho=_a.createPolicy("vue",{createHTML:e=>e})}catch{}const yu=Ho?e=>Ho.createHTML(e):e=>e,ch="http://www.w3.org/2000/svg",uh="http://www.w3.org/1998/Math/MathML",Bt=typeof document<"u"?document:null,va=Bt&&Bt.createElement("template"),fh={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?Bt.createElementNS(ch,e):t==="mathml"?Bt.createElementNS(uh,e):n?Bt.createElement(e,{is:n}):Bt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Bt.createTextNode(e),createComment:e=>Bt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Bt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{va.innerHTML=yu(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const a=va.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Qt="transition",fr="animation",Yn=Symbol("_vtc"),bu={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},wu=Me({},Bc,bu),dh=e=>(e.displayName="Transition",e.props=wu,e),Eu=dh((e,{slots:t})=>Ai(pp,Su(e),t)),pn=(e,t=[])=>{Q(e)?e.forEach(n=>n(...t)):e&&e(...t)},ya=e=>e?Q(e)?e.some(t=>t.length>1):e.length>1:!1;function Su(e){const t={};for(const F in e)F in bu||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=i,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,y=ph(s),g=y&&y[0],v=y&&y[1],{onBeforeEnter:_,onEnter:b,onEnterCancelled:x,onLeave:T,onLeaveCancelled:D,onBeforeAppear:J=_,onAppear:W=b,onAppearCancelled:Y=x}=t,L=(F,te,B,M)=>{F._enterCancelled=M,en(F,te?c:a),en(F,te?u:i),B&&B()},k=(F,te)=>{F._isLeaving=!1,en(F,f),en(F,p),en(F,d),te&&te()},H=F=>(te,B)=>{const M=F?W:b,R=()=>L(te,F,B);pn(M,[te,R]),ba(()=>{en(te,F?l:o),Ct(te,F?c:a),ya(M)||wa(te,r,g,R)})};return Me(t,{onBeforeEnter(F){pn(_,[F]),Ct(F,o),Ct(F,i)},onBeforeAppear(F){pn(J,[F]),Ct(F,l),Ct(F,u)},onEnter:H(!1),onAppear:H(!0),onLeave(F,te){F._isLeaving=!0;const B=()=>k(F,te);Ct(F,f),F._enterCancelled?(Ct(F,d),ko(F)):(ko(F),Ct(F,d)),ba(()=>{F._isLeaving&&(en(F,f),Ct(F,p),ya(T)||wa(F,r,v,B))}),pn(T,[F,B])},onEnterCancelled(F){L(F,!1,void 0,!0),pn(x,[F])},onAppearCancelled(F){L(F,!0,void 0,!0),pn(Y,[F])},onLeaveCancelled(F){k(F),pn(D,[F])}})}function ph(e){if(e==null)return null;if(ge(e))return[mo(e.enter),mo(e.leave)];{const t=mo(e);return[t,t]}}function mo(e){return _d(e)}function Ct(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Yn]||(e[Yn]=new Set)).add(t)}function en(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Yn];n&&(n.delete(t),n.size||(e[Yn]=void 0))}function ba(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let hh=0;function wa(e,t,n,r){const s=e._endId=++hh,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=xu(e,t);if(!i)return r();const u=i+"end";let c=0;const f=()=>{e.removeEventListener(u,d),o()},d=p=>{p.target===e&&++c>=l&&f()};setTimeout(()=>{c(n[y]||"").split(", "),s=r(`${Qt}Delay`),o=r(`${Qt}Duration`),i=Ea(s,o),a=r(`${fr}Delay`),l=r(`${fr}Duration`),u=Ea(a,l);let c=null,f=0,d=0;t===Qt?i>0&&(c=Qt,f=i,d=o.length):t===fr?u>0&&(c=fr,f=u,d=l.length):(f=Math.max(i,u),c=f>0?i>u?Qt:fr:null,d=c?c===Qt?o.length:l.length:0);const p=c===Qt&&/\b(?:transform|all)(?:,|$)/.test(r(`${Qt}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:p}}function Ea(e,t){for(;e.lengthSa(n)+Sa(e[r])))}function Sa(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ko(e){return(e?e.ownerDocument:document).body.offsetHeight}function mh(e,t,n){const r=e[Yn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const xs=Symbol("_vod"),Ti=Symbol("_vsh"),gh={name:"show",beforeMount(e,{value:t},{transition:n}){e[xs]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):dr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),dr(e,!0),r.enter(e)):r.leave(e,()=>{dr(e,!1)}):dr(e,t))},beforeUnmount(e,{value:t}){dr(e,t)}};function dr(e,t){e.style.display=t?e[xs]:"none",e[Ti]=!t}const _h=Symbol(""),vh=/(?:^|;)\s*display\s*:/;function yh(e,t,n){const r=e.style,s=we(n);let o=!1;if(n&&!s){if(t)if(we(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&vr(r,a,"")}else for(const i in t)n[i]==null&&vr(r,i,"");for(const i in n){i==="display"&&(o=!0);const a=n[i];a!=null?wh(e,i,!we(t)&&t?t[i]:void 0,a)||vr(r,i,a):vr(r,i,"")}}else if(s){if(t!==n){const i=r[_h];i&&(n+=";"+i),r.cssText=n,o=vh.test(n)}}else t&&e.removeAttribute("style");xs in e&&(e[xs]=o?r.display:"",e[Ti]&&(r.display="none"))}const xa=/\s*!important$/;function vr(e,t,n){if(Q(n))n.forEach(r=>vr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=bh(e,t);xa.test(n)?e.setProperty(qt(r),n.replace(xa,""),"important"):e[r]=n}}const Oa=["Webkit","Moz","ms"],go={};function bh(e,t){const n=go[t];if(n)return n;let r=qe(t);if(r!=="filter"&&r in e)return go[t]=r;r=Bs(r);for(let s=0;s_o||(Th.then(()=>_o=0),_o=Date.now());function Rh(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const s=n.value;if(Q(s)){const o=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{o.call(r),r._stopped=!0};const i=s.slice(),a=[r];for(let l=0;le.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ph=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?mh(e,r,i):t==="style"?yh(e,n,r):Ns(t)?Ds(t)||Sh(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Lh(e,t,r,i))?(Ca(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ta(e,t,r,i,o,t!=="value")):e._isVueCE&&(Ih(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!we(r)))?Ca(e,qe(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ta(e,t,r,i))};function Lh(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Pa(t)&&oe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Pa(t)&&we(n)?!1:t in e}function Ih(e,t){const n=e._def.props;if(!n)return!1;const r=qe(t);return Array.isArray(n)?n.some(s=>qe(s)===r):Object.keys(n).some(s=>qe(s)===r)}const Ou=new WeakMap,Au=new WeakMap,Os=Symbol("_moveCb"),La=Symbol("_enterCb"),Nh=e=>(delete e.props.mode,e),Dh=Nh({name:"TransitionGroup",props:Me({},wu,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=We(),r=Fc();let s,o;return qc(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Bh(s[0].el,n.vnode.el,i)){s=[];return}s.forEach(Mh),s.forEach($h);const a=s.filter(Fh);ko(n.vnode.el),a.forEach(l=>{const u=l.el,c=u.style;Ct(u,i),c.transform=c.webkitTransform=c.transitionDuration="";const f=u[Os]=d=>{d&&d.target!==u||(!d||d.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",f),u[Os]=null,en(u,i))};u.addEventListener("transitionend",f)}),s=[]}),()=>{const i=pe(e),a=Su(i);let l=i.tag||st;if(s=[],o)for(let u=0;u{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:i}=xu(r);return o.removeChild(r),i}const Qn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Q(t)?n=>is(t,n):t};function jh(e){e.target.composing=!0}function Ia(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const kt=Symbol("_assign");function Na(e,t,n){return t&&(e=e.trim()),n&&(e=ui(e)),e}const Vb={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[kt]=Qn(s);const o=r||s.props&&s.props.type==="number";on(e,t?"change":"input",i=>{i.target.composing||e[kt](Na(e.value,n,o))}),(n||o)&&on(e,"change",()=>{e.value=Na(e.value,n,o)}),t||(on(e,"compositionstart",jh),on(e,"compositionend",Ia),on(e,"change",Ia))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[kt]=Qn(i),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?ui(e.value):e.value,l=t??"";if(a===l)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===l)||(e.value=l)}},Hb={deep:!0,created(e,t,n){e[kt]=Qn(n),on(e,"change",()=>{const r=e._modelValue,s=Cu(e),o=e.checked,i=e[kt];if(Q(r)){const a=nc(r,s),l=a!==-1;if(o&&!l)i(r.concat(s));else if(!o&&l){const u=[...r];u.splice(a,1),i(u)}}else if(Ms(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(Ru(e,o))})},mounted:Da,beforeUpdate(e,t,n){e[kt]=Qn(n),Da(e,t,n)}};function Da(e,{value:t,oldValue:n},r){e._modelValue=t;let s;if(Q(t))s=nc(t,r.props.value)>-1;else if(Ms(t))s=t.has(r.props.value);else{if(t===n)return;s=Sn(t,Ru(e,!0))}e.checked!==s&&(e.checked=s)}const kb={created(e,{value:t},n){e.checked=Sn(t,n.props.value),e[kt]=Qn(n),on(e,"change",()=>{e[kt](Cu(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[kt]=Qn(r),t!==n&&(e.checked=Sn(t,r.props.value))}};function Cu(e){return"_value"in e?e._value:e.value}function Ru(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Uh=["ctrl","shift","alt","meta"],Vh={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Uh.some(n=>e[`${n}Key`]&&!t.includes(n))},Hh=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((s,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(s=>{if(!("key"in s))return;const o=qt(s.key);if(t.some(i=>i===o||kh[i]===o))return e(s)}))},zh=Me({patchProp:Ph},fh);let Ma;function Pu(){return Ma||(Ma=qp(zh))}const $a=((...e)=>{Pu().render(...e)}),qh=((...e)=>{const t=Pu().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Kh(r);if(!s)return;const o=t._component;!oe(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,Wh(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t});function Wh(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Kh(e){return we(e)?document.querySelector(e):e}/*! + * pinia v2.3.1 + * (c) 2025 Eduardo San Martin Morote + * @license MIT + */let Lu;const Zs=e=>Lu=e,Iu=Symbol();function zo(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ar;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ar||(Ar={}));function Gh(){const e=ic(!0),t=e.run(()=>Ne({}));let n=[],r=[];const s=mi({install(o){Zs(s),s._a=o,o.provide(Iu,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return this._a?n.push(o):r.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const Nu=()=>{};function Fa(e,t,n,r=Nu){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&Us()&&ac(s),s}function Fn(e,...t){e.slice().forEach(n=>{n(...t)})}const Jh=e=>e(),Ba=Symbol(),vo=Symbol();function qo(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];zo(s)&&zo(r)&&e.hasOwnProperty(n)&&!Re(r)&&!It(r)?e[n]=qo(s,r):e[n]=r}return e}const Yh=Symbol();function Qh(e){return!zo(e)||!e.hasOwnProperty(Yh)}const{assign:tn}=Object;function Xh(e){return!!(Re(e)&&e.effect)}function Zh(e,t,n,r){const{state:s,actions:o,getters:i}=t,a=n.state.value[e];let l;function u(){a||(n.state.value[e]=s?s():{});const c=Kd(n.state.value[e]);return tn(c,o,Object.keys(i||{}).reduce((f,d)=>(f[d]=mi(Z(()=>{Zs(n);const p=n._s.get(e);return i[d].call(p,p)})),f),{}))}return l=Du(e,u,t,n,r,!0),l}function Du(e,t,n={},r,s,o){let i;const a=tn({actions:{}},n),l={deep:!0};let u,c,f=[],d=[],p;const y=r.state.value[e];!o&&!y&&(r.state.value[e]={});let g;function v(Y){let L;u=c=!1,typeof Y=="function"?(Y(r.state.value[e]),L={type:Ar.patchFunction,storeId:e,events:p}):(qo(r.state.value[e],Y),L={type:Ar.patchObject,payload:Y,storeId:e,events:p});const k=g=Symbol();rr().then(()=>{g===k&&(u=!0)}),c=!0,Fn(f,L,r.state.value[e])}const _=o?function(){const{state:L}=n,k=L?L():{};this.$patch(H=>{tn(H,k)})}:Nu;function b(){i.stop(),f=[],d=[],r._s.delete(e)}const x=(Y,L="")=>{if(Ba in Y)return Y[vo]=L,Y;const k=function(){Zs(r);const H=Array.from(arguments),F=[],te=[];function B(I){F.push(I)}function M(I){te.push(I)}Fn(d,{args:H,name:k[vo],store:D,after:B,onError:M});let R;try{R=Y.apply(this&&this.$id===e?this:D,H)}catch(I){throw Fn(te,I),I}return R instanceof Promise?R.then(I=>(Fn(F,I),I)).catch(I=>(Fn(te,I),Promise.reject(I))):(Fn(F,R),R)};return k[Ba]=!0,k[vo]=L,k},T={_p:r,$id:e,$onAction:Fa.bind(null,d),$patch:v,$reset:_,$subscribe(Y,L={}){const k=Fa(f,Y,L.detached,()=>H()),H=i.run(()=>at(()=>r.state.value[e],F=>{(L.flush==="sync"?c:u)&&Y({storeId:e,type:Ar.direct,events:p},F)},tn({},l,L)));return k},$dispose:b},D=Vr(T);r._s.set(e,D);const W=(r._a&&r._a.runWithContext||Jh)(()=>r._e.run(()=>(i=ic()).run(()=>t({action:x}))));for(const Y in W){const L=W[Y];if(Re(L)&&!Xh(L)||It(L))o||(y&&Qh(L)&&(Re(L)?L.value=y[Y]:qo(L,y[Y])),r.state.value[e][Y]=L);else if(typeof L=="function"){const k=x(L,Y);W[Y]=k,a.actions[Y]=L}}return tn(D,W),tn(pe(D),W),Object.defineProperty(D,"$state",{get:()=>r.state.value[e],set:Y=>{v(L=>{tn(L,Y)})}}),r._p.forEach(Y=>{tn(D,i.run(()=>Y({store:D,app:r._a,pinia:r,options:a})))}),y&&o&&n.hydrate&&n.hydrate(D.$state,y),u=!0,c=!0,D}/*! #__NO_SIDE_EFFECTS__ */function e0(e,t,n){let r,s;const o=typeof t=="function";typeof e=="string"?(r=e,s=o?n:t):(s=e,r=e.id);function i(a,l){const u=_i();return a=a||(u?De(Iu,null):null),a&&Zs(a),a=Lu,a._s.has(r)||(o?Du(r,t,s,a):Zh(r,s,a)),a._s.get(r)}return i.$id=r,i}function qb(e){{const t=pe(e),n={};for(const r in t){const s=t[r];s.effect?n[r]=Z({get:()=>e[r],set(o){e[r]=o}}):(Re(s)||It(s))&&(n[r]=Yd(e,r))}return n}}const Wo={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},t0=["","default","small","large"];var Mu=typeof global=="object"&&global&&global.Object===Object&&global,n0=typeof self=="object"&&self&&self.Object===Object&&self,Kt=Mu||n0||Function("return this")(),cn=Kt.Symbol,$u=Object.prototype,r0=$u.hasOwnProperty,s0=$u.toString,pr=cn?cn.toStringTag:void 0;function o0(e){var t=r0.call(e,pr),n=e[pr];try{e[pr]=void 0;var r=!0}catch{}var s=s0.call(e);return r&&(t?e[pr]=n:delete e[pr]),s}var i0=Object.prototype,a0=i0.toString;function l0(e){return a0.call(e)}var c0="[object Null]",u0="[object Undefined]",ja=cn?cn.toStringTag:void 0;function Nn(e){return e==null?e===void 0?u0:c0:ja&&ja in Object(e)?o0(e):l0(e)}function An(e){return e!=null&&typeof e=="object"}var f0="[object Symbol]";function Ci(e){return typeof e=="symbol"||An(e)&&Nn(e)==f0}function d0(e,t){for(var n=-1,r=e==null?0:e.length,s=Array(r);++n-1&&e%1==0&&e-1&&e%1==0&&e<=D0}function M0(e){return e!=null&&Vu(e.length)&&!Bu(e)}var $0=Object.prototype;function F0(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||$0;return e===n}function B0(e,t){for(var n=-1,r=Array(e);++n-1}function Km(e,t){var n=this.__data__,r=eo(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Gt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++ta))return!1;var u=o.get(e),c=o.get(t);if(u&&c)return u==t&&c==e;var f=-1,d=!0,p=n&Ug?new Ts:void 0;for(o.set(e,t),o.set(t,e);++fe===void 0,Eo=e=>typeof e=="boolean",Rn=e=>typeof e=="number",Kb=e=>!e&&e!==0||Q(e)&&e.length===0||ge(e)&&!Object.keys(e).length,p2=e=>typeof Element>"u"?!1:e instanceof Element,Gb=e=>ef(e),h2=e=>we(e)?!Number.isNaN(Number(e)):!1,Jb=e=>e===window,al=e=>Object.keys(e),Yb=e=>Object.entries(e),Qb=(e,t,n)=>({get value(){return Ju(e,t,n)},set value(r){d2(e,t,r)}}),m2="__epPropKey",nt=e=>e,g2=e=>ge(e)&&!!e.__epPropKey,tf=(e,t)=>{if(!ge(e)||g2(e))return e;const{values:n,required:r,default:s,type:o,validator:i}=e,a={type:o,required:!!r,validator:n||i?l=>{let u=!1,c=[];if(n&&(c=Array.from(n),me(e,"default")&&c.push(s),u||(u=c.includes(l))),i&&(u||(u=i(l))),!u&&c.length>0){const f=[...new Set(c)].map(d=>JSON.stringify(d)).join(", ");lh(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${f}], got value ${JSON.stringify(l)}.`)}return u}:void 0,[m2]:!0};return me(e,"default")&&(a.default=s),a},Kr=e=>Zu(Object.entries(e).map(([t,n])=>[t,tf(n,t)]));var nf=class extends Error{constructor(e){super(e),this.name="ElementPlusError"}};function Xb(e,t){throw new nf(`[${e}] ${t}`)}function sr(e,t){{const n=we(e)?new nf(`[${e}] ${t}`):e;console.warn(n)}}function Zb(e,t){var n;const r=ot();return Nc(()=>{r.value=e()},{...t,flush:(n=t==null?void 0:t.flush)!==null&&n!==void 0?n:"sync"}),hs(r)}function Li(e,t){return Us()?(ac(e,t),!0):!1}const So=new WeakMap,_2=(...e)=>{var t;const n=e[0],r=(t=We())===null||t===void 0?void 0:t.proxy,s=r??Us();if(s==null&&!_i())throw new Error("injectLocal must be called in setup");return s&&So.has(s)&&n in So.get(s)?So.get(s)[n]:De(...e)},Yt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const v2=e=>typeof e<"u",y2=e=>e!=null,b2=Object.prototype.toString,w2=e=>b2.call(e)==="[object Object]",e4=(e,t,n)=>Math.min(n,Math.max(t,e)),Hn=()=>{};function E2(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}function S2(e,t={}){let n,r,s=Hn;const o=l=>{clearTimeout(l),s(),s=Hn};let i;return l=>{const u=it(e),c=it(t.maxWait);return n&&o(n),u<=0||c!==void 0&&c<=0?(r&&(o(r),r=void 0),Promise.resolve(l())):new Promise((f,d)=>{s=t.rejectOnCancel?d:f,i=l,c&&!r&&(r=setTimeout(()=>{n&&o(n),r=void 0,f(i())},c)),n=setTimeout(()=>{r&&o(r),r=void 0,f(l())},u)})}}function ll(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Cr(e){return Array.isArray(e)?e:[e]}function x2(e){return We()}function O2(e,t=200,n={}){return E2(S2(t,n),e)}function t4(e,t=200,n={}){const r=Ne(it(e)),s=O2(()=>{r.value=e.value},t,n);return at(e,()=>s()),xc(r)}function rf(e,t=!0,n){x2()?qr(e,n):t?e():rr(e)}function A2(e,t,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n,o=ot(!1);let i;function a(){i&&(clearTimeout(i),i=void 0)}function l(){o.value=!1,a()}function u(...c){s&&e(),a(),o.value=!0,i=setTimeout(()=>{o.value=!1,i=void 0,e(...c)},it(t))}return r&&(o.value=!0,Yt&&u()),Li(l),{isPending:xc(o),start:u,stop:l}}function T2(e,t,n){return at(e,t,{...n,immediate:!0})}const un=Yt?window:void 0,C2=Yt?window.document:void 0;function gt(e){var t;const n=it(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function Nt(...e){const t=(r,s,o,i)=>(r.addEventListener(s,o,i),()=>r.removeEventListener(s,o,i)),n=Z(()=>{const r=Cr(it(e[0])).filter(s=>s!=null);return r.every(s=>typeof s!="string")?r:void 0});return T2(()=>{var r,s;return[(r=(s=n.value)===null||s===void 0?void 0:s.map(o=>gt(o)))!==null&&r!==void 0?r:[un].filter(o=>o!=null),Cr(it(n.value?e[1]:e[0])),Cr(ue(n.value?e[2]:e[1])),it(n.value?e[3]:e[2])]},([r,s,o,i],a,l)=>{if(!(r!=null&&r.length)||!(s!=null&&s.length)||!(o!=null&&o.length))return;const u=w2(i)?{...i}:i,c=r.flatMap(f=>s.flatMap(d=>o.map(p=>t(f,d,p,u))));l(()=>{c.forEach(f=>f())})},{flush:"post"})}function n4(e,t,n={}){const{window:r=un,ignore:s=[],capture:o=!0,detectIframe:i=!1,controls:a=!1}=n;if(!r)return a?{stop:Hn,cancel:Hn,trigger:Hn}:Hn;let l=!0;const u=v=>it(s).some(_=>{if(typeof _=="string")return Array.from(r.document.querySelectorAll(_)).some(b=>b===v.target||v.composedPath().includes(b));{const b=gt(_);return b&&(v.target===b||v.composedPath().includes(b))}});function c(v){const _=it(v);return _&&_.$.subTree.shapeFlag===16}function f(v,_){const b=it(v),x=b.$.subTree&&b.$.subTree.children;return x==null||!Array.isArray(x)?!1:x.some(T=>T.el===_.target||_.composedPath().includes(T.el))}const d=v=>{const _=gt(e);if(v.target!=null&&!(!(_ instanceof Element)&&c(e)&&f(e,v))&&!(!_||_===v.target||v.composedPath().includes(_))){if("detail"in v&&v.detail===0&&(l=!u(v)),!l){l=!0;return}t(v)}};let p=!1;const y=[Nt(r,"click",v=>{p||(p=!0,setTimeout(()=>{p=!1},0),d(v))},{passive:!0,capture:o}),Nt(r,"pointerdown",v=>{const _=gt(e);l=!u(v)&&!!(_&&!v.composedPath().includes(_))},{passive:!0}),i&&Nt(r,"blur",v=>{setTimeout(()=>{const _=gt(e);let b=r.document.activeElement;for(;b!=null&&b.shadowRoot;)b=b.shadowRoot.activeElement;(b==null?void 0:b.tagName)==="IFRAME"&&!(_!=null&&_.contains(r.document.activeElement))&&t(v)},0)},{passive:!0})].filter(Boolean),g=()=>y.forEach(v=>v());return a?{stop:g,cancel:()=>{l=!1},trigger:v=>{l=!0,d(v),l=!1}}:g}function R2(){const e=ot(!1),t=We();return t&&qr(()=>{e.value=!0},t),e}function Ii(e){const t=R2();return Z(()=>(t.value,!!e()))}function r4(e,t,n={}){const{window:r=un,...s}=n;let o;const i=Ii(()=>r&&"MutationObserver"in r),a=()=>{o&&(o.disconnect(),o=void 0)},l=at(Z(()=>{const f=Cr(it(e)).map(gt).filter(y2);return new Set(f)}),f=>{a(),i.value&&f.size&&(o=new MutationObserver(t),f.forEach(d=>o.observe(d,s)))},{immediate:!0,flush:"post"}),u=()=>o==null?void 0:o.takeRecords(),c=()=>{l(),a()};return Li(c),{isSupported:i,stop:c,takeRecords:u}}const P2=Symbol("vueuse-ssr-width");function L2(){const e=_i()?_2(P2,null):null;return typeof e=="number"?e:void 0}function I2(e,t={}){const{window:n=un,ssrWidth:r=L2()}=t,s=Ii(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),o=ot(typeof r=="number"),i=ot(),a=ot(!1),l=u=>{a.value=u.matches};return Nc(()=>{if(o.value){o.value=!s.value,a.value=it(e).split(",").some(u=>{const c=u.includes("not all"),f=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(f||d);return f&&p&&(p=r>=ll(f[1])),d&&p&&(p=r<=ll(d[1])),c?!p:p});return}s.value&&(i.value=n.matchMedia(it(e)),a.value=i.value.matches)}),Nt(i,"change",l,{passive:!0}),Z(()=>a.value)}function N2(e){return JSON.parse(JSON.stringify(e))}function s4(e={}){const{document:t=C2}=e;if(!t)return ot("visible");const n=ot(t.visibilityState);return Nt(t,"visibilitychange",()=>{n.value=t.visibilityState},{passive:!0}),n}function sf(e,t,n={}){const{window:r=un,...s}=n;let o;const i=Ii(()=>r&&"ResizeObserver"in r),a=()=>{o&&(o.disconnect(),o=void 0)},l=at(Z(()=>{const c=it(e);return Array.isArray(c)?c.map(f=>gt(f)):[gt(c)]}),c=>{if(a(),i.value&&r){o=new ResizeObserver(t);for(const f of c)f&&o.observe(f,s)}},{immediate:!0,flush:"post"}),u=()=>{a(),l()};return Li(u),{isSupported:i,stop:u}}function o4(e,t={width:0,height:0},n={}){const{window:r=un,box:s="content-box"}=n,o=Z(()=>{var f;return(f=gt(e))===null||f===void 0||(f=f.namespaceURI)===null||f===void 0?void 0:f.includes("svg")}),i=ot(t.width),a=ot(t.height),{stop:l}=sf(e,([f])=>{const d=s==="border-box"?f.borderBoxSize:s==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&o.value){const p=gt(e);if(p){const y=p.getBoundingClientRect();i.value=y.width,a.value=y.height}}else if(d){const p=Cr(d);i.value=p.reduce((y,{inlineSize:g})=>y+g,0),a.value=p.reduce((y,{blockSize:g})=>y+g,0)}else i.value=f.contentRect.width,a.value=f.contentRect.height},n);rf(()=>{const f=gt(e);f&&(i.value="offsetWidth"in f?f.offsetWidth:t.width,a.value="offsetHeight"in f?f.offsetHeight:t.height)});const u=at(()=>gt(e),f=>{i.value=f?t.width:0,a.value=f?t.height:0});function c(){l(),u()}return{width:i,height:a,stop:c}}function i4(e,t,n,r={}){var s,o;const{clone:i=!1,passive:a=!1,eventName:l,deep:u=!1,defaultValue:c,shouldEmit:f}=r,d=We(),p=(d==null?void 0:d.emit)||(d==null||(s=d.$emit)===null||s===void 0?void 0:s.bind(d))||(d==null||(o=d.proxy)===null||o===void 0||(o=o.$emit)===null||o===void 0?void 0:o.bind(d==null?void 0:d.proxy));let y=l;y=y||`update:${t.toString()}`;const g=b=>i?typeof i=="function"?i(b):N2(b):b,v=()=>v2(e[t])?g(e[t]):c,_=b=>{f?f(b)&&p(y,b):p(y,b)};if(a){const b=Ne(v());let x=!1;return at(()=>e[t],T=>{x||(x=!0,b.value=g(T),rr(()=>x=!1))}),at(b,T=>{!x&&(T!==e[t]||u)&&_(T)},{deep:u}),b}else return Z({get(){return v()},set(b){_(b)}})}function a4(e={}){const{window:t=un}=e;if(!t)return ot(!1);const n=ot(t.document.hasFocus()),r={passive:!0};return Nt(t,"blur",()=>{n.value=!1},r),Nt(t,"focus",()=>{n.value=!0},r),n}function l4(e={}){const{window:t=un,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0,type:i="inner"}=e,a=ot(n),l=ot(r),u=()=>{if(t)if(i==="outer")a.value=t.outerWidth,l.value=t.outerHeight;else if(i==="visual"&&t.visualViewport){const{width:f,height:d,scale:p}=t.visualViewport;a.value=Math.round(f*p),l.value=Math.round(d*p)}else o?(a.value=t.innerWidth,l.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight)};u(),rf(u);const c={passive:!0};return Nt("resize",u,c),t&&i==="visual"&&t.visualViewport&&Nt(t.visualViewport,"resize",u,c),s&&at(I2("(orientation: portrait)"),()=>u()),{width:a,height:l}}const D2='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',M2=e=>typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot,cl=e=>typeof Element>"u"?!1:e instanceof Element,$2=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,c4=e=>Array.from(e.querySelectorAll(D2)).filter(t=>of(t)&&$2(t)),of=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true")return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},u4=function(e,t,...n){let r;t.includes("mouse")||t.includes("click")?r="MouseEvents":t.includes("key")?r="KeyboardEvent":r="HTMLEvents";const s=document.createEvent(r);return s.initEvent(t,...n),e.dispatchEvent(s),e};const f4=(e,t)=>{if(!e||!e.focus)return;let n=!1;cl(e)&&!of(e)&&!e.getAttribute("tabindex")&&(e.setAttribute("tabindex","-1"),n=!0),e.focus(t),cl(e)&&n&&e.removeAttribute("tabindex")};const d4=()=>Yt&&/firefox/i.test(window.navigator.userAgent),F2=()=>Yt&&/android/i.test(window.navigator.userAgent),B2="utils/dom/style",af=(e="")=>e.split(" ").filter(t=>!!t.trim()),p4=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},h4=(e,t)=>{!e||!t.trim()||e.classList.add(...af(t))},m4=(e,t)=>{!e||!t.trim()||e.classList.remove(...af(t))},g4=(e,t)=>{var r;if(!Yt||!e||!t||M2(e))return"";let n=qe(t);n==="float"&&(n="cssFloat");try{const s=e.style[n];if(s)return s;const o=(r=document.defaultView)==null?void 0:r.getComputedStyle(e,"");return o?o[n]:""}catch{return e.style[n]}};function Xo(e,t="px"){if(!e&&e!==0)return"";if(Rn(e)||h2(e))return`${e}${t}`;if(we(e))return e;sr(B2,"binding value must be a string or number")}var j2={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value",alphaDescription:"alpha {alpha}, current color is {color}",hueLabel:"pick hue value",hueDescription:"hue {hue}, current color is {color}",svLabel:"pick saturation and brightness value",svDescription:"saturation {saturation}, brightness {brightness}, current color is {color}",predefineDescription:"select {value} as the color"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum",selectAllLabel:"Select all rows",selectRowLabel:"Select this row",expandRowLabel:"Expand this row",collapseRowLabel:"Collapse this row",sortLabel:"Sort by {column}",filterLabel:"Filter by {column}"},tag:{close:"Close this tag"},tour:{next:"Next",previous:"Previous",finish:"Finish",close:"Close this dialog"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"},inputOTP:{groupLabel:"OTP Input",defaultLabel:"Please enter OTP character {index}"}}};const U2=e=>(t,n)=>V2(t,n,ue(e)),V2=(e,t,n)=>Ju(n,e,e).replace(/\{(\w+)\}/g,(r,s)=>`${(t==null?void 0:t[s])??`{${s}}`}`),H2=e=>({lang:Z(()=>ue(e).name),locale:Re(e)?e:Ne(e),t:U2(e)}),lf=Symbol("localeContextKey"),k2=e=>{const t=e||De(lf,Ne());return H2(Z(()=>t.value||j2))},z2="is-",hn=(e,t,n,r,s)=>{let o=`${e}-${t}`;return n&&(o+=`-${n}`),r&&(o+=`__${r}`),s&&(o+=`--${s}`),o},cf=Symbol("namespaceContextKey"),q2=e=>{const t=e||(We()?De(cf,Ne("el")):Ne("el"));return Z(()=>ue(t)||"el")},Ni=(e,t)=>{const n=q2(t);return{namespace:n,b:(g="")=>hn(n.value,e,g,"",""),e:g=>g?hn(n.value,e,"",g,""):"",m:g=>g?hn(n.value,e,"","",g):"",be:(g,v)=>g&&v?hn(n.value,e,g,v,""):"",em:(g,v)=>g&&v?hn(n.value,e,"",g,v):"",bm:(g,v)=>g&&v?hn(n.value,e,g,"",v):"",bem:(g,v,_)=>g&&v&&_?hn(n.value,e,g,v,_):"",is:(g,...v)=>{const _=v.length>=1?v[0]:!0;return g&&_?`${z2}${g}`:""},cssVar:g=>{const v={};for(const _ in g)g[_]&&(v[`--${n.value}-${_}`]=g[_]);return v},cssVarName:g=>`--${n.value}-${g}`,cssVarBlock:g=>{const v={};for(const _ in g)g[_]&&(v[`--${n.value}-${e}-${_}`]=g[_]);return v},cssVarBlockName:g=>`--${n.value}-${e}-${g}`}},_4=(e,t,{checkForDefaultPrevented:n=!0}={})=>s=>{const o=e==null?void 0:e(s);if(n===!1||!o)return t==null?void 0:t(s)},v4=e=>t=>t.pointerType==="mouse"?e(t):void 0,W2=e=>{if(e.code&&e.code!=="Unidentified")return e.code;const t=K2(e);if(t){if(Object.values(Wo).includes(t))return t;switch(t){case" ":return Wo.space;default:return""}}return""},K2=e=>{let t=e.key&&e.key!=="Unidentified"?e.key:"";if(!t&&e.type==="keyup"&&F2()){const n=e.target;t=n.value.charAt(n.selectionStart-1)}return t},ul={current:0},fl=Ne(0),uf=2e3,dl=Symbol("elZIndexContextKey"),ff=Symbol("zIndexContextKey"),G2=e=>{const t=We()?De(dl,ul):ul,n=e||(We()?De(ff,void 0):void 0),r=Z(()=>{const i=ue(n);return Rn(i)?i:uf}),s=Z(()=>r.value+fl.value),o=()=>(t.current++,fl.value=t.current,s.value);return!Yt&&!De(dl)&&sr("ZIndexInjection",`Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed +usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:r,currentZIndex:s,nextZIndex:o}},J2=tf({type:String,values:t0,required:!1}),df=Symbol("size"),y4=()=>{const e=De(df,{});return Z(()=>ue(e.size)||"")},pf=Symbol("emptyValuesContextKey"),Y2="use-empty-values",Q2=["",void 0,null],X2=Kr({emptyValues:Array,valueOnClear:{type:nt([String,Number,Boolean,Function]),default:void 0,validator:e=>(e=oe(e)?e():e,Q(e)?e.every(t=>!t):!e)}}),b4=(e,t)=>{const n=We()?De(pf,Ne({})):Ne({}),r=Z(()=>e.emptyValues||n.value.emptyValues||Q2),s=Z(()=>oe(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:oe(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:t!==void 0?t:void 0),o=i=>{let a=!0;return Q(i)?a=r.value.some(l=>u2(i,l)):a=r.value.includes(i),a};return o(s.value)||sr(Y2,"value-on-clear should be a value of empty-values"),{emptyValues:r,valueOnClear:s,isEmptyValue:o}},hf=e=>{const t=e.props,n=Q(t)?Zu(t.map(r=>[r,{}])):t;e.setPropsDefaults=r=>{if(n){for(const[s,o]of Object.entries(r)){const i=n[s];if(me(n,s)){if(mg(i)){n[s]={...i,default:o};continue}n[s]={type:i,default:o}}}e.props=n}}},Di=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(t??{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return hf(e),e},Z2=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),w4=(e,t)=>(e.install=n=>{n.directive(t,e)},e),E4=e=>(e.install=_t,hf(e),e);/*! Element Plus Icons Vue v2.3.2 */var e_=_e({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),S4=e_,t_=_e({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0"})]))}}),x4=t_,n_=_e({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512 340.864 831.872a30.59 30.59 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),O4=n_,r_=_e({name:"ArrowUp",__name:"arrow-up",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),A4=r_;var s_=_e({name:"Calendar",__name:"calendar",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),T4=s_;var o_=_e({name:"Check",__name:"check",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),C4=o_;var i_=_e({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),he("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"})]))}}),a_=i_,l_=_e({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),mf=l_,c_=_e({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),he("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),u_=c_,f_=_e({name:"Clock",__name:"clock",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),he("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),he("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),R4=f_,d_=_e({name:"Close",__name:"close",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),gf=d_,p_=_e({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672zm256 0a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672z"})]))}}),P4=p_,h_=_e({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L764.736 512 452.864 192a30.59 30.59 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L508.736 512 196.864 192a30.59 30.59 0 0 1 0-42.688"})]))}}),L4=h_,m_=_e({name:"Delete",__name:"delete",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),I4=m_,g_=_e({name:"Document",__name:"document",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),N4=g_;var __=_e({name:"Hide",__name:"hide",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4s-12.8-9.6-22.4-9.6-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176S0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4m-646.4 528Q115.2 579.2 76.8 512q43.2-72 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4m140.8-96Q352 555.2 352 512c0-44.8 16-83.2 48-112s67.2-48 112-48c28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6q-43.2 72-153.6 172.8c-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176S1024 528 1024 512s-48.001-73.6-134.401-176"}),he("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112s-67.2 48-112 48"})]))}}),D4=__,v_=_e({name:"InfoFilled",__name:"info-filled",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),Zo=v_,y_=_e({name:"Loading",__name:"loading",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0"})]))}}),b_=y_,w_=_e({name:"Minus",__name:"minus",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),M4=w_,E_=_e({name:"MoreFilled",__name:"more-filled",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),$4=E_,S_=_e({name:"More",__name:"more",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),F4=S_;var x_=_e({name:"Plus",__name:"plus",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),B4=x_;var O_=_e({name:"SuccessFilled",__name:"success-filled",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),_f=O_,A_=_e({name:"View",__name:"view",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288m0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.19 160.19 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),j4=A_,T_=_e({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),vf=T_,C_=_e({name:"ZoomIn",__name:"zoom-in",setup(e){return(t,n)=>(fe(),Ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[he("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),U4=C_;const R_=nt([String,Object,Function]),V4={Close:gf},P_={Close:gf,SuccessFilled:_f,InfoFilled:Zo,WarningFilled:vf,CircleCloseFilled:mf},pl={primary:Zo,success:_f,warning:vf,error:mf,info:Zo},H4={validating:b_,success:a_,error:u_},L_=Kr({size:{type:nt([Number,String])},color:{type:String}});var I_=_e({name:"ElIcon",inheritAttrs:!1,__name:"icon",props:L_,setup(e){const t=e,n=Ni("icon"),r=Z(()=>{const{size:s,color:o}=t,i=Xo(s);return!i&&!o?{}:{fontSize:i,"--color":o}});return(s,o)=>(fe(),Ee("i",mu({class:ue(n).b(),style:r.value},s.$attrs),[Dr(s.$slots,"default")],16))}}),N_=I_;const hl=Di(N_),D_=e=>e,M_=Kr({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:nt([String,Object,Array,Boolean]),default:void 0},offset:{type:nt(Array),default:()=>[0,0]},badgeClass:{type:String}});var $_=_e({name:"ElBadge",__name:"badge",props:M_,setup(e,{expose:t}){const n=e,r=Ni("badge"),s=Z(()=>n.isDot?"":Rn(n.value)&&Rn(n.max)?n.max[{backgroundColor:n.color,marginRight:Xo(-n.offset[0]),marginTop:Xo(n.offset[1])},n.badgeStyle??{}]);return t({content:s}),(i,a)=>(fe(),Ee("div",{class:mt(ue(r).b())},[Dr(i.$slots,"default"),Le(Eu,{name:`${ue(r).namespace.value}-zoom-in-center`},{default:Wn(()=>[!e.hidden&&(s.value||e.isDot||i.$slots.content)?(fe(),Ee("sup",{key:0,class:mt([ue(r).e("content"),ue(r).em("content",e.type),ue(r).is("fixed",!!i.$slots.default),ue(r).is("dot",e.isDot),ue(r).is("hide-zero",!e.showZero&&e.value===0),e.badgeClass]),style:nr(o.value)},[Dr(i.$slots,"content",{value:s.value},()=>[Oi(fi(s.value),1)])],6)):Vn("v-if",!0)]),_:3},8,["name"])],2))}}),F_=$_;const B_=Di(F_),yf=Symbol(),Cs=Ne();function bf(e,t=void 0){const n=We()?De(yf,Cs):Cs;return e?Z(()=>{var r;return((r=n.value)==null?void 0:r[e])??t}):n}function j_(e,t){const n=bf(),r=Ni(e,Z(()=>{var a;return((a=n.value)==null?void 0:a.namespace)||"el"})),s=k2(Z(()=>{var a;return(a=n.value)==null?void 0:a.locale})),o=G2(Z(()=>{var l;const a=(l=n.value)==null?void 0:l.zIndex;return ef(a)||Number.isNaN(a)?uf:a})),i=Z(()=>{var a;return ue(t)||((a=n.value)==null?void 0:a.size)||""});return wf(Z(()=>ue(n)||{})),{ns:r,locale:s,zIndex:o,size:i}}const wf=(e,t,n=!1)=>{const r=!!We(),s=r?bf():void 0,o=r?Er:void 0;if(!o){sr("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");return}const i=Z(()=>{const a=ue(e);return s!=null&&s.value?U_(s.value,a):a});return o(yf,i),o(lf,Z(()=>i.value.locale)),o(cf,Z(()=>i.value.namespace)),o(ff,Z(()=>i.value.zIndex)),o(df,{size:Z(()=>i.value.size||"")}),o(pf,Z(()=>({emptyValues:i.value.emptyValues,valueOnClear:i.value.valueOnClear}))),(n||!Cs.value)&&(Cs.value=i.value),i},U_=(e,t)=>{const n=[...new Set([...al(e),...al(t)])],r={};for(const s of n)r[s]=t[s]!==void 0?t[s]:e[s];return r},V_=Kr({a11y:{type:Boolean,default:!0},locale:{type:nt(Object)},size:J2,button:{type:nt(Object)},card:{type:nt(Object)},dialog:{type:nt(Object)},link:{type:nt(Object)},experimentalFeatures:{type:nt(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:nt(Object)},zIndex:Number,namespace:{type:String,default:"el"},table:{type:nt(Object)},...X2}),Je={placement:"top"},H_=_e({name:"ElConfigProvider",props:V_,setup(e,{slots:t}){const n=wf(e);return at(()=>e.message,r=>{var s;Object.assign(Je,((s=n==null?void 0:n.value)==null?void 0:s.message)??{},r??{})},{immediate:!0,deep:!0}),()=>Dr(t,"default",{config:n==null?void 0:n.value})}}),k_=Di(H_);function z_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var cs={exports:{}},q_=cs.exports,ml;function W_(){return ml||(ml=1,(function(e,t){(function(n,r){e.exports=r()})(q_,(function(){var n=1e3,r=6e4,s=36e5,o="millisecond",i="second",a="minute",l="hour",u="day",c="week",f="month",d="quarter",p="year",y="date",g="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(B){var M=["th","st","nd","rd"],R=B%100;return"["+B+(M[(R-20)%10]||M[R]||M[0])+"]"}},x=function(B,M,R){var I=String(B);return!I||I.length>=M?B:""+Array(M+1-I.length).join(R)+B},T={s:x,z:function(B){var M=-B.utcOffset(),R=Math.abs(M),I=Math.floor(R/60),N=R%60;return(M<=0?"+":"-")+x(I,2,"0")+":"+x(N,2,"0")},m:function B(M,R){if(M.date()1)return B(X[0])}else{var ne=M.name;J[ne]=M,N=ne}return!I&&N&&(D=N),N||!I&&D},k=function(B,M){if(Y(B))return B.clone();var R=typeof M=="object"?M:{};return R.date=B,R.args=arguments,new F(R)},H=T;H.l=L,H.i=Y,H.w=function(B,M){return k(B,{locale:M.$L,utc:M.$u,x:M.$x,$offset:M.$offset})};var F=(function(){function B(R){this.$L=L(R.locale,null,!0),this.parse(R),this.$x=this.$x||R.x||{},this[W]=!0}var M=B.prototype;return M.parse=function(R){this.$d=(function(I){var N=I.date,re=I.utc;if(N===null)return new Date(NaN);if(H.u(N))return new Date;if(N instanceof Date)return new Date(N);if(typeof N=="string"&&!/Z$/i.test(N)){var X=N.match(v);if(X){var ne=X[2]-1||0,ce=(X[7]||"0").substring(0,3);return re?new Date(Date.UTC(X[1],ne,X[3]||1,X[4]||0,X[5]||0,X[6]||0,ce)):new Date(X[1],ne,X[3]||1,X[4]||0,X[5]||0,X[6]||0,ce)}}return new Date(N)})(R),this.init()},M.init=function(){var R=this.$d;this.$y=R.getFullYear(),this.$M=R.getMonth(),this.$D=R.getDate(),this.$W=R.getDay(),this.$H=R.getHours(),this.$m=R.getMinutes(),this.$s=R.getSeconds(),this.$ms=R.getMilliseconds()},M.$utils=function(){return H},M.isValid=function(){return this.$d.toString()!==g},M.isSame=function(R,I){var N=k(R);return this.startOf(I)<=N&&N<=this.endOf(I)},M.isAfter=function(R,I){return k(R)!0},bt=zs({}),Y_=e=>(bt[e]||(bt[e]=zs([])),bt[e]),Q_=(e,t)=>{const n=bt[t]||[],r=n.findIndex(i=>i.id===e),s=n[r];let o;return r>0&&(o=n[r-1]),{current:s,prev:o}},X_=(e,t)=>{const{prev:n}=Q_(e,t);return n?n.vm.exposed.bottom.value:0},Z_=(e,t,n)=>(bt[n]||[]).findIndex(r=>r.id===e)>0?16:t,e1=["id"],t1=["innerHTML"];var n1=_e({name:"ElMessage",__name:"message",props:G_,emits:J_,setup(e,{expose:t,emit:n}){const{Close:r}=P_,s=e,o=n,i=Ne(!1),{ns:a,zIndex:l}=j_("message"),{currentZIndex:u,nextZIndex:c}=l,f=Ne(),d=Ne(!1),p=Ne(0);let y;const g=Z(()=>s.type?s.type==="error"?"danger":s.type:"info"),v=Z(()=>{const te=s.type;return{[a.bm("icon",te)]:te&&pl[te]}}),_=Z(()=>s.icon||pl[s.type]||""),b=Z(()=>s.placement||"top"),x=Z(()=>X_(s.id,b.value)),T=Z(()=>Math.max(Z_(s.id,s.offset,b.value)+x.value,s.offset)),D=Z(()=>p.value+T.value),J=Z(()=>b.value.includes("left")?a.is("left"):b.value.includes("right")?a.is("right"):a.is("center")),W=Z(()=>b.value.startsWith("top")?"top":"bottom"),Y=Z(()=>({[W.value]:`${T.value}px`,zIndex:u.value}));function L(){s.duration!==0&&({stop:y}=A2(()=>{H()},s.duration))}function k(){y==null||y()}function H(){d.value=!1,rr(()=>{var te;i.value||((te=s.onClose)==null||te.call(s),o("destroy"))})}function F(te){W2(te)===Wo.esc&&H()}return qr(()=>{L(),c(),d.value=!0}),at(()=>s.repeatNum,()=>{k(),L()}),Nt(document,"keydown",F),sf(f,()=>{p.value=f.value.getBoundingClientRect().height}),t({visible:d,bottom:D,close:H}),(te,B)=>(fe(),Ht(Eu,{name:ue(a).b("fade"),onBeforeEnter:B[0]||(B[0]=M=>i.value=!0),onBeforeLeave:e.onClose,onAfterLeave:B[1]||(B[1]=M=>te.$emit("destroy")),persisted:""},{default:Wn(()=>[sp(he("div",{id:e.id,ref_key:"messageRef",ref:f,class:mt([ue(a).b(),{[ue(a).m(e.type)]:e.type},ue(a).is("closable",e.showClose),ue(a).is("plain",e.plain),ue(a).is("bottom",W.value==="bottom"),J.value,e.customClass]),style:nr(Y.value),role:"alert",onMouseenter:k,onMouseleave:L},[e.repeatNum>1?(fe(),Ht(ue(B_),{key:0,value:e.repeatNum,type:g.value,class:mt(ue(a).e("badge"))},null,8,["value","type","class"])):Vn("v-if",!0),_.value?(fe(),Ht(ue(hl),{key:1,class:mt([ue(a).e("icon"),v.value])},{default:Wn(()=>[(fe(),Ht(xp(_.value)))]),_:1},8,["class"])):Vn("v-if",!0),!e.dangerouslyUseHTMLString||te.$slots.default?(fe(),Ee("p",{key:2,class:mt(ue(a).e("content"))},[Dr(te.$slots,"default",{},()=>[Oi(fi(e.message),1)])],2)):(fe(),Ee(st,{key:3},[Vn(" Caution here, message could've been compromised, never use user's input as message "),he("p",{class:mt(ue(a).e("content")),innerHTML:e.message},null,10,t1)],2112)),e.showClose?(fe(),Ht(ue(hl),{key:4,class:mt(ue(a).e("closeBtn")),onClick:Hh(H,["stop"])},{default:Wn(()=>[Le(ue(r))]),_:1},8,["class"])):Vn("v-if",!0)],46,e1),[[gh,d.value]])]),_:3},8,["name","onBeforeLeave"]))}}),r1=n1;let s1=1;const o1=e=>{if(!e.appendTo)e.appendTo=document.body;else if(we(e.appendTo)){let t=document.querySelector(e.appendTo);p2(t)||(sr("ElMessage","the appendTo option is not an HTMLElement. Falling back to document.body."),t=document.body),e.appendTo=t}},i1=e=>{!e.placement&&we(Je.placement)&&Je.placement&&(e.placement=Je.placement),e.placement||(e.placement="top"),Sf.includes(e.placement)||(sr("ElMessage",`Invalid placement: ${e.placement}. Falling back to 'top'.`),e.placement="top")},xf=e=>{const t=!e||we(e)||On(e)||oe(e)?{message:e}:e,n={...Ge,...t};return o1(n),i1(n),Eo(Je.grouping)&&!n.grouping&&(n.grouping=Je.grouping),Rn(Je.duration)&&n.duration===3e3&&(n.duration=Je.duration),Rn(Je.offset)&&n.offset===16&&(n.offset=Je.offset),Eo(Je.showClose)&&!n.showClose&&(n.showClose=Je.showClose),Eo(Je.plain)&&!n.plain&&(n.plain=Je.plain),n},a1=e=>{const t=bt[e.props.placement||"top"],n=t.indexOf(e);if(n===-1)return;t.splice(n,1);const{handler:r}=e;r.close()},l1=({appendTo:e,...t},n)=>{const r=`message_${s1++}`,s=t.onClose,o=document.createElement("div"),i={...t,id:r,onClose:()=>{s==null||s(),a1(u)},onDestroy:()=>{$a(null,o)}},a=Le(r1,i,oe(i.message)||On(i.message)?{default:oe(i.message)?i.message:()=>i.message}:null);a.appContext=n||Pn._context,$a(a,o),e.appendChild(o.firstElementChild);const l=a.component,u={id:r,vnode:a,vm:l,handler:{close:()=>{l.exposed.close()}},props:a.component.props};return u},Pn=(e={},t)=>{if(!Yt)return{close:()=>{}};const n=xf(e),r=Y_(n.placement||"top");if(n.grouping&&r.length){const o=r.find(({vnode:i})=>{var a;return((a=i.props)==null?void 0:a.message)===n.message});if(o)return o.props.repeatNum+=1,o.props.type=n.type,o.handler}if(Rn(Je.max)&&r.length>=Je.max)return{close:()=>{}};const s=l1(n,t);return r.push(s),s.handler};Ef.forEach(e=>{Pn[e]=(t={},n)=>Pn({...xf(t),type:e},n)});function c1(e){for(const t in bt)if(me(bt,t)){const n=[...bt[t]];for(const r of n)(!e||e===r.props.type)&&r.handler.close()}}function u1(e){bt[e]&&[...bt[e]].forEach(t=>t.handler.close())}Pn.closeAll=c1;Pn.closeAllByPlacement=u1;Pn._context=null;const gl=Z2(Pn,"$message");var f1={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值",alphaDescription:"透明度 {alpha}, 当前颜色 {color}",hueLabel:"选择色相值",hueDescription:"色相 {hue}, 当前颜色 {color}",svLabel:"选择饱和度与明度的值",svDescription:"饱和度 {saturation}, 明度 {brightness}, 当前颜色 {color}",predefineDescription:"选择 {value} 作为颜色"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},mention:{loading:"加载中"},dropdown:{toggleDropdown:"切换下拉选项"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 Delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计",selectAllLabel:"选择所有行",selectRowLabel:"选择当前行",expandRowLabel:"展开当前行",collapseRowLabel:"收起当前行",sortLabel:"按 {column} 排序",filterLabel:"按 {column} 过滤"},tag:{close:"关闭此标签"},tour:{next:"下一步",previous:"上一步",finish:"结束导览",close:"关闭此对话框"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"},inputOTP:{groupLabel:"一次性密码输入框",defaultLabel:"请输入第 {index} 位 OTP 字符"}}};const d1=_e({__name:"App",setup(e){return(t,n)=>{const r=Sp("router-view"),s=k_;return fe(),Ht(s,{locale:ue(f1)},{default:Wn(()=>[Le(r)]),_:1},8,["locale"])}}});function Of(e,t){return function(){return e.apply(t,arguments)}}const{toString:p1}=Object.prototype,{getPrototypeOf:Xn}=Object,{iterator:Gr,toStringTag:Af}=Symbol,Rs=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Br=(e,t)=>{let n=e;const r=[];for(;n!=null&&n!==Object.prototype;){if(r.indexOf(n)!==-1)return!1;if(r.push(n),Rs(n,t))return!0;n=Xn(n)}return!1},h1=(e,t)=>e!=null&&Br(e,t)?e[t]:void 0,Mi=(e=>t=>{const n=p1.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),St=e=>(e=e.toLowerCase(),t=>Mi(t)===e),no=e=>t=>typeof t===e,{isArray:Ln}=Array,Zn=no("undefined");function or(e){return e!==null&&!Zn(e)&&e.constructor!==null&&!Zn(e.constructor)&<(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Tf=St("ArrayBuffer");function m1(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Tf(e.buffer),t}const g1=no("string"),lt=no("function"),Cf=no("number"),ir=e=>e!==null&&typeof e=="object",_1=e=>e===!0||e===!1,us=e=>{if(!ir(e))return!1;const t=Xn(e);return(t===null||t===Object.prototype||Xn(t)===null)&&!Br(e,Af)&&!Br(e,Gr)},v1=e=>{if(!ir(e)||or(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},y1=St("Date"),b1=St("File"),w1=e=>!!(e&&typeof e.uri<"u"),E1=e=>e&&typeof e.getParts<"u",S1=St("Blob"),x1=St("FileList"),O1=e=>ir(e)&<(e.pipe);function A1(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const _l=A1(),vl=typeof _l.FormData<"u"?_l.FormData:void 0,T1=e=>{if(!e)return!1;if(vl&&e instanceof vl)return!0;const t=Xn(e);if(!t||t===Object.prototype||!lt(e.append))return!1;const n=Mi(e);return n==="formdata"||n==="object"&<(e.toString)&&e.toString()==="[object FormData]"},C1=St("URLSearchParams"),[R1,P1,L1,I1]=["ReadableStream","Request","Response","Headers"].map(St),N1=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Jr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),Ln(e))for(r=0,s=e.length;r0;)if(s=n[r],t===s.toLowerCase())return s;return null}const vn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Pf=e=>!Zn(e)&&e!==vn;function ei(...e){const{caseless:t,skipUndefined:n}=Pf(this)&&this||{},r={},s=(o,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const a=t&&typeof i=="string"&&Rf(r,i)||i,l=Rs(r,a)?r[a]:void 0;us(l)&&us(o)?r[a]=ei(l,o):us(o)?r[a]=ei({},o):Ln(o)?r[a]=o.slice():(!n||!Zn(o))&&(r[a]=o)};for(let o=0,i=e.length;o(Jr(t,(s,o)=>{n&<(s)?Object.defineProperty(e,o,{__proto__:null,value:Of(s,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,o,{__proto__:null,value:s,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),M1=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$1=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},F1=(e,t,n,r)=>{let s,o,i;const a={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&Xn(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},B1=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},j1=e=>{if(!e)return null;if(Ln(e))return e;let t=e.length;if(!Cf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},U1=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Xn(Uint8Array)),V1=(e,t)=>{const r=(e&&e[Gr]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},H1=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},k1=St("HTMLFormElement"),z1=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),{propertyIsEnumerable:q1}=Object.prototype,W1=St("RegExp"),Lf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Jr(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},K1=e=>{Lf(e,(t,n)=>{if(lt(e)&&["arguments","caller","callee"].includes(n))return!1;const r=e[n];if(lt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},G1=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return Ln(e)?r(e):r(String(e).split(t)),n},J1=()=>{},Y1=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Q1(e){return!!(e&<(e.append)&&e[Af]==="FormData"&&e[Gr])}const X1=e=>{const t=new WeakSet,n=r=>{if(ir(r)){if(t.has(r))return;if(or(r))return r;if(!("toJSON"in r)){t.add(r);const s=Ln(r)?[]:{};return Jr(r,(o,i)=>{const a=n(o);!Zn(a)&&(s[i]=a)}),t.delete(r),s}}return r};return n(e)},Z1=St("AsyncFunction"),ev=e=>e&&(ir(e)||lt(e))&<(e.then)&<(e.catch),If=((e,t)=>e?setImmediate:t?((n,r)=>(vn.addEventListener("message",({source:s,data:o})=>{s===vn&&o===n&&r.length&&r.shift()()},!1),s=>{r.push(s),vn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",lt(vn.postMessage)),tv=typeof queueMicrotask<"u"?queueMicrotask.bind(vn):typeof process<"u"&&process.nextTick||If,Nf=e=>e!=null&<(e[Gr]),nv=e=>e!=null&&Br(e,Gr)&&Nf(e),w={isArray:Ln,isArrayBuffer:Tf,isBuffer:or,isFormData:T1,isArrayBufferView:m1,isString:g1,isNumber:Cf,isBoolean:_1,isObject:ir,isPlainObject:us,isEmptyObject:v1,isReadableStream:R1,isRequest:P1,isResponse:L1,isHeaders:I1,isUndefined:Zn,isDate:y1,isFile:b1,isReactNativeBlob:w1,isReactNative:E1,isBlob:S1,isRegExp:W1,isFunction:lt,isStream:O1,isURLSearchParams:C1,isTypedArray:U1,isFileList:x1,forEach:Jr,merge:ei,extend:D1,trim:N1,stripBOM:M1,inherits:$1,toFlatObject:F1,kindOf:Mi,kindOfTest:St,endsWith:B1,toArray:j1,forEachEntry:V1,matchAll:H1,isHTMLForm:k1,hasOwnProperty:Rs,hasOwnProp:Rs,hasOwnInPrototypeChain:Br,getSafeProp:h1,reduceDescriptors:Lf,freezeMethods:K1,toObjectSet:G1,toCamelCase:z1,noop:J1,toFiniteNumber:Y1,findKey:Rf,global:vn,isContextDefined:Pf,isSpecCompliantForm:Q1,toJSONObject:X1,isAsyncFn:Z1,isThenable:ev,setImmediate:If,asap:tv,isIterable:Nf,isSafeIterable:nv},rv=w.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),sv=e=>{const t={};let n,r,s;return e&&e.split(` +`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&rv[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t};function ov(e){let t=0,n=e.length;for(;tt;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const iv=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),av=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function $i(e,t){return w.isArray(e)?e.map(n=>$i(n,t)):ov(String(e).replace(t,""))}const lv=e=>$i(e,iv),cv=e=>$i(e,av);function Df(e){const t=Object.create(null);return w.forEach(e.toJSON(),(n,r)=>{t[r]=cv(n)}),t}const yl=Symbol("internals");function hr(e){return e&&String(e).trim().toLowerCase()}function fs(e){return e===!1||e==null?e:w.isArray(e)?e.map(fs):lv(String(e))}function uv(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const fv=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function xo(e,t,n,r,s){if(w.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!w.isString(t)){if(w.isString(r))return t.indexOf(r)!==-1;if(w.isRegExp(r))return r.test(t)}}function dv(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function pv(e,t){const n=w.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}let Xe=class{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(a,l,u){const c=hr(l);if(!c)return;const f=w.findKey(s,c);(!f||s[f]===void 0||u===!0||u===void 0&&s[f]!==!1)&&(s[f||l]=fs(a))}const i=(a,l)=>w.forEach(a,(u,c)=>o(u,c,l));if(w.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(w.isString(t)&&(t=t.trim())&&!fv(t))i(sv(t),n);else if(w.isObject(t)&&w.isSafeIterable(t)){let a=Object.create(null),l,u;for(const c of t){if(!w.isArray(c))throw new TypeError("Object iterator must return a key-value pair");u=c[0],w.hasOwnProp(a,u)?(l=a[u],a[u]=w.isArray(l)?[...l,c[1]]:[l,c[1]]):a[u]=c[1]}i(a,n)}else t!=null&&o(n,t,r);return this}get(t,n){if(t=hr(t),t){const r=w.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return uv(s);if(w.isFunction(n))return n.call(this,s,r);if(w.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=hr(t),t){const r=w.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||xo(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=hr(i),i){const a=w.findKey(r,i);a&&(!n||xo(r,r[a],a,n))&&(delete r[a],s=!0)}}return w.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||xo(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return w.forEach(this,(s,o)=>{const i=w.findKey(r,o);if(i){n[i]=fs(s),delete n[o];return}const a=t?dv(o):String(o).trim();a!==o&&delete n[o],n[a]=fs(s),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return w.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&w.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[yl]=this[yl]={accessors:{}}).accessors,s=this.prototype;function o(i){const a=hr(i);r[a]||(pv(s,i),r[a]=!0)}return w.isArray(t)?t.forEach(o):o(t),this}};Xe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);w.reduceDescriptors(Xe.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});w.freezeMethods(Xe);const hv="[REDACTED ****]";function mv(e){if(w.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(w.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function gv(e,t){const n=new Set(t.map(o=>String(o).toLowerCase())),r=[],s=o=>{if(o===null||typeof o!="object"||w.isBuffer(o))return o;if(r.indexOf(o)!==-1)return;o instanceof Xe&&(o=o.toJSON()),r.push(o);let i;if(w.isArray(o))i=[],o.forEach((a,l)=>{const u=s(a);w.isUndefined(u)||(i[l]=u)});else{if(!w.isPlainObject(o)&&mv(o))return r.pop(),o;i=Object.create(null);for(const[a,l]of Object.entries(o)){const u=n.has(a.toLowerCase())?hv:s(l);w.isUndefined(u)||(i[a]=u)}}return r.pop(),i};return s(e)}let q=class Mf extends Error{static from(t,n,r,s,o,i){const a=new Mf(t.message,n||t.code,r,s,o);return Object.defineProperty(a,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),a.name=t.name,t.status!=null&&a.status==null&&(a.status=t.status),i&&Object.assign(a,i),a}constructor(t,n,r,s,o){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),s&&(this.request=s),o&&(this.response=o,this.status=o.status)}toJSON(){const t=this.config,n=t&&w.hasOwnProp(t,"redact")?t.redact:void 0,r=w.isArray(n)&&n.length>0?gv(t,n):w.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r,code:this.code,status:this.status}}};q.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";q.ERR_BAD_OPTION="ERR_BAD_OPTION";q.ECONNABORTED="ECONNABORTED";q.ETIMEDOUT="ETIMEDOUT";q.ECONNREFUSED="ECONNREFUSED";q.ERR_NETWORK="ERR_NETWORK";q.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";q.ERR_DEPRECATED="ERR_DEPRECATED";q.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";q.ERR_BAD_REQUEST="ERR_BAD_REQUEST";q.ERR_CANCELED="ERR_CANCELED";q.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";q.ERR_INVALID_URL="ERR_INVALID_URL";q.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const _v=null,$f=100;function ti(e){return w.isPlainObject(e)||w.isArray(e)}function Ff(e){return w.endsWith(e,"[]")?e.slice(0,-2):e}function Oo(e,t,n){return e?e.concat(t).map(function(s,o){return s=Ff(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function vv(e){return w.isArray(e)&&!e.some(ti)}const yv=w.toFlatObject(w,{},null,function(t){return/^is[A-Z]/.test(t)});function ro(e,t,n){if(!w.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=w.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,x){return!w.isUndefined(x[b])});const r=n.metaTokens,s=n.visitor||y,o=n.dots,i=n.indexes,a=n.Blob||typeof Blob<"u"&&Blob,l=n.maxDepth===void 0?$f:n.maxDepth,u=a&&w.isSpecCompliantForm(t),c=[];if(!w.isFunction(s))throw new TypeError("visitor must be a function");function f(_){if(_===null)return"";if(w.isDate(_))return _.toISOString();if(w.isBoolean(_))return _.toString();if(!u&&w.isBlob(_))throw new q("Blob is not supported. Use a Buffer instead.");if(w.isArrayBuffer(_)||w.isTypedArray(_)){if(u&&typeof a=="function")return new a([_]);if(typeof Buffer<"u")return Buffer.from(_);throw new q("Blob is not supported. Use a Buffer instead.",q.ERR_NOT_SUPPORT)}return _}function d(_){if(_>l)throw new q("Object is too deeply nested ("+_+" levels). Max depth: "+l,q.ERR_FORM_DATA_DEPTH_EXCEEDED)}function p(_,b){if(l===1/0)return JSON.stringify(_);const x=[];return JSON.stringify(_,function(D,J){if(!w.isObject(J))return J;for(;x.length&&x[x.length-1]!==this;)x.pop();return x.push(J),d(b+x.length-1),J})}function y(_,b,x){let T=_;if(w.isReactNative(t)&&w.isReactNativeBlob(_))return t.append(Oo(x,b,o),f(_)),!1;if(_&&!x&&typeof _=="object"){if(w.endsWith(b,"{}"))b=r?b:b.slice(0,-2),_=p(_,1);else if(w.isArray(_)&&vv(_)||(w.isFileList(_)||w.endsWith(b,"[]"))&&(T=w.toArray(_)))return b=Ff(b),T.forEach(function(J,W){!(w.isUndefined(J)||J===null)&&t.append(i===!0?Oo([b],W,o):i===null?b:b+"[]",f(J))}),!1}return ti(_)?!0:(t.append(Oo(x,b,o),f(_)),!1)}const g=Object.assign(yv,{defaultVisitor:y,convertValue:f,isVisitable:ti});function v(_,b,x=0){if(!w.isUndefined(_)){if(d(x),c.indexOf(_)!==-1)throw new Error("Circular reference detected in "+b.join("."));c.push(_),w.forEach(_,function(D,J){(!(w.isUndefined(D)||D===null)&&s.call(t,D,w.isString(J)?J.trim():J,b,g))===!0&&v(D,b?b.concat(J):[J],x+1)}),c.pop()}}if(!w.isObject(e))throw new TypeError("data must be an object");return v(e),t}function bl(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(r){return t[r]})}function Fi(e,t){this._pairs=[],e&&ro(e,this,t)}const Bf=Fi.prototype;Bf.append=function(t,n){this._pairs.push([t,n])};Bf.toString=function(t){const n=t?r=>t.call(this,r,bl):bl;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function bv(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function jf(e,t,n){if(!t)return e;e=e||"";const r=w.isFunction(n)?{serialize:n}:n,s=w.getSafeProp(r,"encode")||bv,o=w.getSafeProp(r,"serialize");let i;if(o?i=o(t,r):i=w.isURLSearchParams(t)?t.toString():new Fi(t,r).toString(s),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class wl{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){w.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Bi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},wv=typeof URLSearchParams<"u"?URLSearchParams:Fi,Ev=typeof FormData<"u"?FormData:null,Sv=typeof Blob<"u"?Blob:null,xv={isBrowser:!0,classes:{URLSearchParams:wv,FormData:Ev,Blob:Sv},protocols:["http","https","file","blob","url","data"]},ji=typeof window<"u"&&typeof document<"u",ni=typeof navigator=="object"&&navigator||void 0,Ov=ji&&(!ni||["ReactNative","NativeScript","NS"].indexOf(ni.product)<0),Av=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Tv=ji&&window.location.href||"http://localhost",Cv=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ji,hasStandardBrowserEnv:Ov,hasStandardBrowserWebWorkerEnv:Av,navigator:ni,origin:Tv},Symbol.toStringTag,{value:"Module"})),ke={...Cv,...xv};function Rv(e,t){return ro(e,new ke.classes.URLSearchParams,{visitor:function(n,r,s,o){return ke.isNode&&w.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}const El=$f;function Uf(e){if(e>El)throw new q("FormData field is too deeply nested ("+e+" levels). Max depth: "+El,q.ERR_FORM_DATA_DEPTH_EXCEEDED)}function Pv(e){const t=[],n=/\w+|\[(\w*)]/g;let r;for(;(r=n.exec(e))!==null;)Uf(t.length),t.push(r[0]==="[]"?"":r[1]||r[0]);return t}function Lv(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r=n.length;return i=!i&&w.isArray(s)?s.length:i,l?(w.hasOwnProp(s,i)?s[i]=w.isArray(s[i])?s[i].concat(r):[s[i],r]:s[i]=r,!a):((!w.hasOwnProp(s,i)||!w.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&w.isArray(s[i])&&(s[i]=Lv(s[i])),!a)}if(w.isFormData(e)&&w.isFunction(e.entries)){const n={};return w.forEachEntry(e,(r,s)=>{t(Pv(r),s,n,0)}),n}return null}const Bn=(e,t)=>e!=null&&w.hasOwnProp(e,t)?e[t]:void 0;function Iv(e,t,n){if(w.isString(e))try{return(t||JSON.parse)(e),w.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Yr={transitional:Bi,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=w.isObject(t);if(o&&w.isHTMLForm(t)&&(t=new FormData(t)),w.isFormData(t))return s?JSON.stringify(Vf(t)):t;if(w.isArrayBuffer(t)||w.isBuffer(t)||w.isStream(t)||w.isFile(t)||w.isBlob(t)||w.isReadableStream(t))return t;if(w.isArrayBufferView(t))return t.buffer;if(w.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){const l=Bn(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return Rv(t,l).toString();if((a=w.isFileList(t))||r.indexOf("multipart/form-data")>-1){const u=Bn(this,"env"),c=u&&u.FormData;return ro(a?{"files[]":t}:t,c&&new c,l)}}return o||s?(n.setContentType("application/json",!1),Iv(t)):t}],transformResponse:[function(t){const n=Bn(this,"transitional")||Yr.transitional,r=n&&n.forcedJSONParsing,s=Bn(this,"responseType"),o=s==="json";if(w.isResponse(t)||w.isReadableStream(t))return t;if(t&&w.isString(t)&&(r&&!s||o)){const a=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t,Bn(this,"parseReviver"))}catch(l){if(a)throw l.name==="SyntaxError"?q.from(l,q.ERR_BAD_RESPONSE,this,null,Bn(this,"response")):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ke.classes.FormData,Blob:ke.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};w.forEach(["delete","get","head","post","put","patch","query"],e=>{Yr.headers[e]={}});function Ao(e,t){const n=this||Yr,r=t||n,s=Xe.from(r.headers);let o=r.data;return w.forEach(e,function(a){o=a.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Hf(e){return!!(e&&e.__CANCEL__)}let Qr=class extends q{constructor(t,n,r){super(t??"canceled",q.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function kf(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new q("Request failed with status code "+n.status,n.status>=400&&n.status<500?q.ERR_BAD_REQUEST:q.ERR_BAD_RESPONSE,n.config,n.request,n))}function Nv(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function Dv(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[o];i||(i=u),n[s]=l,r[s]=u;let f=o,d=0;for(;f!==s;)d+=n[f++],f=f%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),u-i{n=c,s=null,o&&(clearTimeout(o),o=null),e(...u)};return[(...u)=>{const c=Date.now(),f=c-n;f>=r?i(u,c):(s=u,o||(o=setTimeout(()=>{o=null,i(s)},r-f)))},()=>s&&i(s)]}const Ps=(e,t,n=3)=>{let r=0;const s=Dv(50,250);return Mv(o=>{if(!o||typeof o.loaded!="number")return;const i=o.loaded,a=o.lengthComputable?o.total:void 0,l=a!=null?Math.min(i,a):i,u=Math.max(0,l-r),c=s(u);r=Math.max(r,l);const f={loaded:l,total:a,progress:a?l/a:void 0,bytes:u,rate:c||void 0,estimated:c&&a?(a-l)/c:void 0,event:o,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},Sl=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},xl=e=>(...t)=>w.asap(()=>e(...t)),$v=ke.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ke.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ke.origin),ke.navigator&&/(msie|trident)/i.test(ke.navigator.userAgent)):()=>!0,Fv=ke.hasStandardBrowserEnv?{write(e,t,n,r,s,o,i){if(typeof document>"u")return;const a=[`${e}=${encodeURIComponent(t)}`];w.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),w.isString(r)&&a.push(`path=${r}`),w.isString(s)&&a.push(`domain=${s}`),o===!0&&a.push("secure"),w.isString(i)&&a.push(`SameSite=${i}`),document.cookie=a.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;ne instanceof Xe?{...e}:e;function In(e,t){e=e||{},t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(c,f,d,p){return w.isPlainObject(c)&&w.isPlainObject(f)?w.merge.call({caseless:p},c,f):w.isPlainObject(f)?w.merge({},f):w.isArray(f)?f.slice():f}function s(c,f,d,p){if(w.isUndefined(f)){if(!w.isUndefined(c))return r(void 0,c,d,p)}else return r(c,f,d,p)}function o(c,f){if(!w.isUndefined(f))return r(void 0,f)}function i(c,f){if(w.isUndefined(f)){if(!w.isUndefined(c))return r(void 0,c)}else return r(void 0,f)}function a(c){const f=w.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!w.isUndefined(f))if(w.isPlainObject(f)){if(w.hasOwnProp(f,c))return f[c]}else return;const d=w.hasOwnProp(e,"transitional")?e.transitional:void 0;if(w.isPlainObject(d)&&w.hasOwnProp(d,c))return d[c]}function l(c,f,d){if(w.hasOwnProp(t,d))return r(c,f);if(w.hasOwnProp(e,d))return r(void 0,c)}const u={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,allowedSocketPaths:i,responseEncoding:i,validateStatus:l,headers:(c,f,d)=>s(Al(c),Al(f),d,!0)};return w.forEach(Object.keys({...e,...t}),function(f){if(f==="__proto__"||f==="constructor"||f==="prototype")return;const d=w.hasOwnProp(u,f)?u[f]:s,p=w.hasOwnProp(e,f)?e[f]:void 0,y=w.hasOwnProp(t,f)?t[f]:void 0,g=d(p,y,f);w.isUndefined(g)&&d!==l||(n[f]=g)}),w.hasOwnProp(t,"validateStatus")&&w.isUndefined(t.validateStatus)&&a("validateStatusUndefinedResolves")===!1&&(w.hasOwnProp(e,"validateStatus")?n.validateStatus=r(void 0,e.validateStatus):delete n.validateStatus),n}const zv=["content-type","content-length"];function qv(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([r,s])=>{zv.includes(r.toLowerCase())&&e.set(r,s)})}const Wv=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function qf(e){const t=In({},e),n=d=>w.hasOwnProp(t,d)?t[d]:void 0,r=n("data");let s=n("withXSRFToken");const o=n("xsrfHeaderName"),i=n("xsrfCookieName");let a=n("headers");const l=n("auth"),u=n("baseURL"),c=n("allowAbsoluteUrls"),f=n("url");if(t.headers=a=Xe.from(a),t.url=jf(zf(u,f,c,t),n("params"),n("paramsSerializer")),l){const d=w.getSafeProp(l,"username")||"",p=w.getSafeProp(l,"password")||"";try{a.set("Authorization","Basic "+btoa(d+":"+(p?Wv(p):"")))}catch(y){throw q.from(y,q.ERR_BAD_OPTION_VALUE,e)}}if(w.isFormData(r)&&(ke.hasStandardBrowserEnv||ke.hasStandardBrowserWebWorkerEnv||w.isReactNative(r)?a.setContentType(void 0):w.isFunction(r.getHeaders)&&qv(a,r.getHeaders(),n("formDataHeaderPolicy"))),ke.hasStandardBrowserEnv&&(w.isFunction(s)&&(s=s(t)),s===!0||s==null&&$v(t.url))){const p=o&&i&&Fv.read(i);p&&a.set(o,p)}return t}const Kv=typeof XMLHttpRequest<"u",Gv=Kv&&function(e){return new Promise(function(n,r){const s=qf(e);let o=s.data;const i=Xe.from(s.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:u}=s,c,f,d,p,y;function g(){p&&p(),y&&y(),s.cancelToken&&s.cancelToken.unsubscribe(c),s.signal&&s.signal.removeEventListener("abort",c)}let v=new XMLHttpRequest;v.open(s.method.toUpperCase(),s.url,!0),v.timeout=s.timeout;function _(){if(!v)return;const x=Xe.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),D={data:!a||a==="text"||a==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:x,config:e,request:v};kf(function(W){n(W),g()},function(W){r(W),g()},D),v=null}"onloadend"in v?v.onloadend=_:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.startsWith("file:"))||setTimeout(_)},v.onabort=function(){v&&(r(new q("Request aborted",q.ECONNABORTED,e,v)),g(),v=null)},v.onerror=function(T){const D=T&&T.message?T.message:"Network Error",J=new q(D,q.ERR_NETWORK,e,v);J.event=T||null,r(J),g(),v=null},v.ontimeout=function(){let T=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const D=s.transitional||Bi;s.timeoutErrorMessage&&(T=s.timeoutErrorMessage),r(new q(T,D.clarifyTimeoutError?q.ETIMEDOUT:q.ECONNABORTED,e,v)),g(),v=null},o===void 0&&i.setContentType(null),"setRequestHeader"in v&&w.forEach(Df(i),function(T,D){v.setRequestHeader(D,T)}),w.isUndefined(s.withCredentials)||(v.withCredentials=!!s.withCredentials),a&&a!=="json"&&(v.responseType=s.responseType),u&&([d,y]=Ps(u,!0),v.addEventListener("progress",d)),l&&v.upload&&([f,p]=Ps(l),v.upload.addEventListener("progress",f),v.upload.addEventListener("loadend",p)),(s.cancelToken||s.signal)&&(c=x=>{v&&(r(!x||x.type?new Qr(null,e,v):x),v.abort(),g(),v=null)},s.cancelToken&&s.cancelToken.subscribe(c),s.signal&&(s.signal.aborted?c():s.signal.addEventListener("abort",c)));const b=Nv(s.url);if(b&&!ke.protocols.includes(b)){r(new q("Unsupported protocol "+b+":",q.ERR_BAD_REQUEST,e)),g();return}v.send(o||null)})},Jv=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const s=function(l){if(!r){r=!0,i();const u=l instanceof Error?l:this.reason;n.abort(u instanceof q?u:new Qr(u instanceof Error?u.message:u))}};let o=t&&setTimeout(()=>{o=null,s(new q(`timeout of ${t}ms exceeded`,q.ETIMEDOUT))},t);const i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(s):l.removeEventListener("abort",s)}),e=null)};e.forEach(l=>l.addEventListener("abort",s,{once:!0}));const{signal:a}=n;return a.unsubscribe=()=>w.asap(i),a},Yv=function*(e,t){let n=e.byteLength;if(n{const s=Qv(e,t);let o=0,i,a=l=>{i||(i=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:u,value:c}=await s.next();if(u){a(),l.close();return}let f=c.byteLength;if(n){let d=o+=f;n(d)}l.enqueue(new Uint8Array(c))}catch(u){throw a(u),u}},cancel(l){return a(l),s.return()}},{highWaterMark:2})},Ls=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,Zv=(e,t,n)=>t+2p>=2&&r.charCodeAt(p-2)===37&&r.charCodeAt(p-1)===51&&(r.charCodeAt(p)===68||r.charCodeAt(p)===100);u>=0&&(r.charCodeAt(u)===61?(l++,u--):c(u)&&(l++,u-=3)),l===1&&u>=0&&(r.charCodeAt(u)===61||c(u))&&l++;const d=Math.floor(i/4)*3-(l||0);return d>0?d:0}let o=0;for(let i=0,a=r.length;i=55296&&l<=56319&&i+1=56320&&u<=57343?(o+=4,i++):o+=3}else o+=3}return o}const Ui="1.18.1",Cl=64*1024,{isFunction:ss}=w,ty=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),Rl=e=>{if(!w.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},Pl=(e,...t)=>{try{return!!e(...t)}catch{return!1}},ny=e=>{const t=e.indexOf("://");let n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},ry=e=>{const t=w.global!==void 0&&w.global!==null?w.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=w.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:s,Request:o,Response:i}=e,a=s?ss(s):typeof fetch=="function",l=ss(o),u=ss(i);if(!a)return!1;const c=a&&ss(n),f=a&&(typeof r=="function"?(_=>b=>_.encode(b))(new r):async _=>new Uint8Array(await new o(_).arrayBuffer())),d=l&&c&&Pl(()=>{let _=!1;const b=new o(ke.origin,{body:new n,method:"POST",get duplex(){return _=!0,"half"}}),x=b.headers.has("Content-Type");return b.body!=null&&b.body.cancel(),_&&!x}),p=u&&c&&Pl(()=>w.isReadableStream(new i("").body)),y={stream:p&&(_=>_.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(_=>{!y[_]&&(y[_]=(b,x)=>{let T=b&&b[_];if(T)return T.call(b);throw new q(`Response type '${_}' is not supported`,q.ERR_NOT_SUPPORT,x)})});const g=async _=>{if(_==null)return 0;if(w.isBlob(_))return _.size;if(w.isSpecCompliantForm(_))return(await new o(ke.origin,{method:"POST",body:_}).arrayBuffer()).byteLength;if(w.isArrayBufferView(_)||w.isArrayBuffer(_))return _.byteLength;if(w.isURLSearchParams(_)&&(_=_+""),w.isString(_))return(await f(_)).byteLength},v=async(_,b)=>{const x=w.toFiniteNumber(_.getContentLength());return x??g(b)};return async _=>{let{url:b,method:x,data:T,signal:D,cancelToken:J,timeout:W,onDownloadProgress:Y,onUploadProgress:L,responseType:k,headers:H,withCredentials:F="same-origin",fetchOptions:te,maxContentLength:B,maxBodyLength:M}=qf(_);const R=w.isNumber(B)&&B>-1,I=w.isNumber(M)&&M>-1,N=ie=>w.hasOwnProp(_,ie)?_[ie]:void 0;let re=s||fetch;k=k?(k+"").toLowerCase():"text";let X=Jv([D,J&&J.toAbortSignal()],W),ne=null;const ce=X&&X.unsubscribe&&(()=>{X.unsubscribe()});let ye,xe=null;const Pe=()=>new q("Request body larger than maxBodyLength limit",q.ERR_BAD_REQUEST,_,ne);try{let ie;const O=N("auth");if(O){const S=w.getSafeProp(O,"username")||"",A=w.getSafeProp(O,"password")||"";ie={username:S,password:A}}if(ny(b)){const S=new URL(b,ke.origin);if(!ie&&(S.username||S.password)){const A=Rl(S.username),U=Rl(S.password);ie={username:A,password:U}}(S.username||S.password)&&(S.username="",S.password="",b=S.href)}if(ie&&(H.delete("authorization"),H.set("Authorization","Basic "+btoa(ty((ie.username||"")+":"+(ie.password||""))))),R&&typeof b=="string"&&b.startsWith("data:")&&ey(b)>B)throw new q("maxContentLength size of "+B+" exceeded",q.ERR_BAD_RESPONSE,_,ne);if(I&&x!=="get"&&x!=="head"){const S=await g(T);if(typeof S=="number"&&isFinite(S)&&(ye=S,S>M))throw Pe()}const z=I&&(w.isReadableStream(T)||w.isStream(T)),V=(S,A,U)=>Tl(S,Cl,$=>{if(I&&$>M)throw xe=Pe();A&&A($)},U);if(d&&x!=="get"&&x!=="head"&&(L||z)){if(ye=ye??await v(H,T),ye!==0||z){let S=new o(b,{method:"POST",body:T,duplex:"half"}),A;if(w.isFormData(T)&&(A=S.headers.get("content-type"))&&H.setContentType(A),S.body){const[U,$]=L&&Sl(ye,Ps(xl(L)))||[];T=V(S.body,U,$)}}}else if(z&&!l&&c&&x!=="get"&&x!=="head")T=V(T);else if(z&&l&&!d&&x!=="get"&&x!=="head")throw new q("Stream request bodies are not supported by the current fetch implementation",q.ERR_NOT_SUPPORT,_,ne);w.isString(F)||(F=F?"include":"omit");const K=l&&"credentials"in o.prototype;if(w.isFormData(T)){const S=H.getContentType();S&&/^multipart\/form-data/i.test(S)&&!/boundary=/i.test(S)&&H.delete("content-type")}H.set("User-Agent","axios/"+Ui,!1);const ae={...te,signal:X,method:x.toUpperCase(),headers:Df(H.normalize()),body:T,duplex:"half",credentials:K?F:void 0};ne=l&&new o(b,ae);let h=await(l?re(ne,te):re(b,ae));const m=Xe.from(h.headers);if(R){const S=w.toFiniteNumber(m.getContentLength());if(S!=null&&S>B)throw new q("maxContentLength size of "+B+" exceeded",q.ERR_BAD_RESPONSE,_,ne)}const E=p&&(k==="stream"||k==="response");if(p&&h.body&&(Y||R||E&&ce)){const S={};["status","statusText","headers"].forEach(ee=>{S[ee]=h[ee]});const A=w.toFiniteNumber(m.getContentLength()),[U,$]=Y&&Sl(A,Ps(xl(Y),!0))||[];let j=0;const P=ee=>{if(R&&(j=ee,j>B))throw new q("maxContentLength size of "+B+" exceeded",q.ERR_BAD_RESPONSE,_,ne);U&&U(ee)};h=new i(Tl(h.body,Cl,P,()=>{$&&$(),ce&&ce()}),S)}k=k||"text";let C=await y[w.findKey(y,k)||"text"](h,_);if(R&&!p&&!E){let S;if(C!=null&&(typeof C.byteLength=="number"?S=C.byteLength:typeof C.size=="number"?S=C.size:typeof C=="string"&&(S=typeof r=="function"?new r().encode(C).byteLength:C.length)),typeof S=="number"&&S>B)throw new q("maxContentLength size of "+B+" exceeded",q.ERR_BAD_RESPONSE,_,ne)}return!E&&ce&&ce(),await new Promise((S,A)=>{kf(S,A,{data:C,headers:Xe.from(h.headers),status:h.status,statusText:h.statusText,config:_,request:ne})})}catch(ie){if(ce&&ce(),X&&X.aborted&&X.reason instanceof q){const O=X.reason;throw O.config=_,ne&&(O.request=ne),ie!==O&&Object.defineProperty(O,"cause",{__proto__:null,value:ie,writable:!0,enumerable:!1,configurable:!0}),O}if(xe)throw ne&&!xe.request&&(xe.request=ne),xe;if(ie instanceof q)throw ne&&!ie.request&&(ie.request=ne),ie;if(ie&&ie.name==="TypeError"&&/Load failed|fetch/i.test(ie.message)){const O=new q("Network Error",q.ERR_NETWORK,_,ne,ie&&ie.response);throw Object.defineProperty(O,"cause",{__proto__:null,value:ie.cause||ie,writable:!0,enumerable:!1,configurable:!0}),O}throw q.from(ie,ie&&ie.code,_,ne,ie&&ie.response)}}},sy=new Map,Wf=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:s}=t,o=[r,s,n];let i=o.length,a=i,l,u,c=sy;for(;a--;)l=o[a],u=c.get(l),u===void 0&&c.set(l,u=a?new Map:ry(t)),c=u;return u};Wf();const Vi={http:_v,xhr:Gv,fetch:{get:Wf}};w.forEach(Vi,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const Ll=e=>`- ${e}`,oy=e=>w.isFunction(e)||e===null||e===!1;function iy(e,t){e=w.isArray(e)?e:[e];const{length:n}=e;let r,s;const o={};for(let i=0;i`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=n?i.length>1?`since : +`+i.map(Ll).join(` +`):" "+Ll(i[0]):"as no adapter specified";throw new q("There is no suitable adapter to dispatch the request "+a,q.ERR_NOT_SUPPORT)}return s}const Kf={getAdapter:iy,adapters:Vi};function To(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Qr(null,e)}function Il(e){return To(e),e.headers=Xe.from(e.headers),e.data=Ao.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Kf.getAdapter(e.adapter||Yr.adapter,e)(e).then(function(r){To(e),e.response=r;try{r.data=Ao.call(e,e.transformResponse,r)}finally{delete e.response}return r.headers=Xe.from(r.headers),r},function(r){if(!Hf(r)&&(To(e),r&&r.response)){e.response=r.response;try{r.response.data=Ao.call(e,e.transformResponse,r.response)}finally{delete e.response}r.response.headers=Xe.from(r.response.headers)}return Promise.reject(r)})}const so={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{so[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Nl={};so.transitional=function(t,n,r){function s(o,i){return"[Axios v"+Ui+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,a)=>{if(t===!1)throw new q(s(i," has been removed"+(n?" in "+n:"")),q.ERR_DEPRECATED);return n&&!Nl[i]&&(Nl[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,a):!0}};so.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function ay(e,t,n){if(typeof e!="object"||e===null)throw new q("options must be an object",q.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=Object.prototype.hasOwnProperty.call(t,o)?t[o]:void 0;if(i){const a=e[o],l=a===void 0||i(a,o,e);if(l!==!0)throw new q("option "+o+" must be "+l,q.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new q("Unknown option "+o,q.ERR_BAD_OPTION)}}const ds={assertOptions:ay,validators:so},Ke=ds.validators;let En=class{constructor(t){this.defaults=t||{},this.interceptors={request:new wl,response:new wl}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const o=(()=>{if(!s.stack)return"";const i=s.stack.indexOf(` +`);return i===-1?"":s.stack.slice(i+1)})();try{if(!r.stack)r.stack=o;else if(o){const i=o.indexOf(` +`),a=i===-1?-1:o.indexOf(` +`,i+1),l=a===-1?"":o.slice(a+1);String(r.stack).endsWith(l)||(r.stack+=` +`+o)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=In(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&ds.assertOptions(r,{silentJSONParsing:Ke.transitional(Ke.boolean),forcedJSONParsing:Ke.transitional(Ke.boolean),clarifyTimeoutError:Ke.transitional(Ke.boolean),legacyInterceptorReqResOrdering:Ke.transitional(Ke.boolean),advertiseZstdAcceptEncoding:Ke.transitional(Ke.boolean),validateStatusUndefinedResolves:Ke.transitional(Ke.boolean)},!1),s!=null&&(w.isFunction(s)?n.paramsSerializer={serialize:s}:ds.assertOptions(s,{encode:Ke.function,serialize:Ke.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),ds.assertOptions(n,{baseUrl:Ke.spelling("baseURL"),withXsrfToken:Ke.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&w.merge(o.common,o[n.method]);o&&w.forEach(["delete","get","head","post","put","patch","query","common"],y=>{delete o[y]}),n.headers=Xe.concat(i,o);const a=[];let l=!0;this.interceptors.request.forEach(function(g){if(typeof g.runWhen=="function"&&g.runWhen(n)===!1)return;l=l&&g.synchronous;const v=n.transitional||Bi;v&&v.legacyInterceptorReqResOrdering?a.unshift(g.fulfilled,g.rejected):a.push(g.fulfilled,g.rejected)});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let c,f=0,d;if(!l){const y=[Il.bind(this),void 0];for(y.unshift(...a),y.push(...u),d=y.length,c=Promise.resolve(n);f{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(a=>{r.subscribe(a),o=a}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,a){r.reason||(r.reason=new Qr(o,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Gf(function(s){t=s}),cancel:t}}};function cy(e){return function(n){return e.apply(null,n)}}function uy(e){return w.isObject(e)&&e.isAxiosError===!0}const ri={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(ri).forEach(([e,t])=>{ri[t]=e});function Jf(e){const t=new En(e),n=Of(En.prototype.request,t);return w.extend(n,En.prototype,t,{allOwnKeys:!0}),w.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Jf(In(e,s))},n}const $e=Jf(Yr);$e.Axios=En;$e.CanceledError=Qr;$e.CancelToken=ly;$e.isCancel=Hf;$e.VERSION=Ui;$e.toFormData=ro;$e.AxiosError=q;$e.Cancel=$e.CanceledError;$e.all=function(t){return Promise.all(t)};$e.spread=cy;$e.isAxiosError=uy;$e.mergeConfig=In;$e.AxiosHeaders=Xe;$e.formToJSON=e=>Vf(w.isHTMLForm(e)?new FormData(e):e);$e.getAdapter=Kf.getAdapter;$e.HttpStatusCode=ri;$e.default=$e;const{Axios:K4,AxiosError:G4,CanceledError:J4,isCancel:Y4,CancelToken:Q4,VERSION:X4,all:Z4,Cancel:ew,isAxiosError:tw,spread:nw,toFormData:rw,AxiosHeaders:sw,HttpStatusCode:ow,formToJSON:iw,getAdapter:aw,mergeConfig:lw,create:cw}=$e,ar=$e.create({baseURL:"/modelTF",timeout:3e4});ar.interceptors.request.use(e=>e,e=>Promise.reject(e));ar.interceptors.response.use(e=>{const t=e.data;if(e.config.responseType==="blob"||e.config.responseType==="arraybuffer")return e;if(t.code===0)return t.data;const n=t.message||"请求失败";return gl.error(n),Promise.reject(new Error(n))},e=>{var r,s,o,i;const t=(s=(r=e.response)==null?void 0:r.data)==null?void 0:s.detail,n=(t==null?void 0:t.message)||((i=(o=e.response)==null?void 0:o.data)==null?void 0:i.message)||t||e.message||"网络异常";return gl.error(n),Promise.reject(e)});function Hi(e,t,n){return ar.get(e,{params:t,...n})}function Yf(e,t,n){return ar.post(e,t,n)}function uw(e,t,n){return ar.put(e,t,n)}function fw(e,t,n){return ar.delete(e,{params:t,...n})}/*! + * vue-router v4.6.4 + * (c) 2025 Eduardo San Martin Morote + * @license MIT + */const Un=typeof document<"u";function Qf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function fy(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Qf(e.default)}const Se=Object.assign;function Co(e,t){const n={};for(const r in t){const s=t[r];n[r]=Et(s)?s.map(e):e(s)}return n}const Rr=()=>{},Et=Array.isArray;function Dl(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const Xf=/#/g,dy=/&/g,py=/\//g,hy=/=/g,my=/\?/g,Zf=/\+/g,gy=/%5B/g,_y=/%5D/g,ed=/%5E/g,vy=/%60/g,td=/%7B/g,yy=/%7C/g,nd=/%7D/g,by=/%20/g;function ki(e){return e==null?"":encodeURI(""+e).replace(yy,"|").replace(gy,"[").replace(_y,"]")}function wy(e){return ki(e).replace(td,"{").replace(nd,"}").replace(ed,"^")}function si(e){return ki(e).replace(Zf,"%2B").replace(by,"+").replace(Xf,"%23").replace(dy,"%26").replace(vy,"`").replace(td,"{").replace(nd,"}").replace(ed,"^")}function Ey(e){return si(e).replace(hy,"%3D")}function Sy(e){return ki(e).replace(Xf,"%23").replace(my,"%3F")}function xy(e){return Sy(e).replace(py,"%2F")}function jr(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Oy=/\/$/,Ay=e=>e.replace(Oy,"");function Ro(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(r=t.slice(0,l),o=t.slice(l,a>0?a:t.length),s=e(o.slice(1))),a>=0&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=Py(r??t,n),{fullPath:r+o+i,path:r,query:s,hash:jr(i)}}function Ty(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ml(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Cy(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&er(t.matched[r],n.matched[s])&&rd(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function er(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function rd(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Ry(e[n],t[n]))return!1;return!0}function Ry(e,t){return Et(e)?$l(e,t):Et(t)?$l(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function $l(e,t){return Et(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Py(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const Xt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let oi=(function(e){return e.pop="pop",e.push="push",e})({}),Po=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Ly(e){if(!e)if(Un){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ay(e)}const Iy=/^[^#]+#/;function Ny(e,t){return e.replace(Iy,"#")+t}function Dy(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const oo=()=>({left:window.scrollX,top:window.scrollY});function My(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Dy(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Fl(e,t){return(history.state?history.state.position-t:-1)+e}const ii=new Map;function $y(e,t){ii.set(e,t)}function Fy(e){const t=ii.get(e);return ii.delete(e),t}function By(e){return typeof e=="string"||e&&typeof e=="object"}function sd(e){return typeof e=="string"||typeof e=="symbol"}let Ie=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const od=Symbol("");Ie.MATCHER_NOT_FOUND+"",Ie.NAVIGATION_GUARD_REDIRECT+"",Ie.NAVIGATION_ABORTED+"",Ie.NAVIGATION_CANCELLED+"",Ie.NAVIGATION_DUPLICATED+"";function tr(e,t){return Se(new Error,{type:e,[od]:!0},t)}function Ft(e,t){return e instanceof Error&&od in e&&(t==null||!!(e.type&t))}const jy=["params","query","hash"];function Uy(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of jy)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Vy(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;rs&&si(s)):[r&&si(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Hy(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Et(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const id=Symbol(""),jl=Symbol(""),io=Symbol(""),zi=Symbol(""),ai=Symbol("");function mr(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ky(e,t,n){const r=()=>{e[t].delete(n)};Js(r),kc(r),Hc(()=>{e[t].add(n)}),e[t].add(n)}function dw(e){const t=De(id,{}).value;t&&ky(t,"leaveGuards",e)}function sn(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(tr(Ie.NAVIGATION_ABORTED,{from:n,to:t})):d instanceof Error?l(d):By(d)?l(tr(Ie.NAVIGATION_GUARD_REDIRECT,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),a())},c=o(()=>e.call(r&&r.instances[s],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function Lo(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Qf(l)){const u=(l.__vccOpts||l)[t];u&&o.push(sn(u,n,r,i,a,s))}else{let u=l();o.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=fy(c)?c.default:c;i.mods[a]=c,i.components[a]=f;const d=(f.__vccOpts||f)[t];return d&&sn(d,n,r,i,a,s)()}))}}return o}function zy(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;ier(u,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>er(u,l))||s.push(l))}return[n,r,s]}/*! + * vue-router v4.6.4 + * (c) 2025 Eduardo San Martin Morote + * @license MIT + */let qy=()=>location.protocol+"//"+location.host;function ad(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let i=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(i);return a[0]!=="/"&&(a="/"+a),Ml(a,"")}return Ml(n,e)+r+s}function Wy(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const p=ad(e,location),y=n.value,g=t.value;let v=0;if(d){if(n.value=p,t.value=d,i&&i===y){i=null;return}v=g?d.position-g.position:0}else r(p);s.forEach(_=>{_(n.value,y,{delta:v,type:oi.pop,direction:v?v>0?Po.forward:Po.back:Po.unknown})})};function l(){i=n.value}function u(d){s.push(d);const p=()=>{const y=s.indexOf(d);y>-1&&s.splice(y,1)};return o.push(p),p}function c(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(Se({},d.state,{scroll:oo()}),"")}}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:l,listen:u,destroy:f}}function Ul(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?oo():null}}function Ky(e){const{history:t,location:n}=window,r={value:ad(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:qy()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),s.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function i(l,u){o(l,Se({},t.state,Ul(s.value.back,l,s.value.forward,!0),u,{position:s.value.position}),!0),r.value=l}function a(l,u){const c=Se({},s.value,t.state,{forward:l,scroll:oo()});o(c.current,c,!0),o(l,Se({},Ul(r.value,l,null),{position:c.position+1},u),!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function Gy(e){e=Ly(e);const t=Ky(e),n=Wy(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=Se({location:"",base:e,go:r,createHref:Ny.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}let yn=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Be=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Be||{});const Jy={type:yn.Static,value:""},Yy=/[a-zA-Z0-9_]/;function Qy(e){if(!e)return[[]];if(e==="/")return[[Jy]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=Be.Static,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,u="",c="";function f(){u&&(n===Be.Static?o.push({type:yn.Static,value:u}):n===Be.Param||n===Be.ParamRegExp||n===Be.ParamRegExpEnd?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:yn.Param,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;at.length?t.length===1&&t[0]===tt.Static+tt.Segment?1:-1:0}function ld(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const nb={strict:!1,end:!0,sensitive:!1};function rb(e,t,n){const r=eb(Qy(e.path),n),s=Se(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function sb(e,t){const n=[],r=new Map;t=Dl(nb,t);function s(f){return r.get(f)}function o(f,d,p){const y=!p,g=zl(f);g.aliasOf=p&&p.record;const v=Dl(t,f),_=[g];if("alias"in f){const T=typeof f.alias=="string"?[f.alias]:f.alias;for(const D of T)_.push(zl(Se({},g,{components:p?p.record.components:g.components,path:D,aliasOf:p?p.record:g})))}let b,x;for(const T of _){const{path:D}=T;if(d&&D[0]!=="/"){const J=d.record.path,W=J[J.length-1]==="/"?"":"/";T.path=d.record.path+(D&&W+D)}if(b=rb(T,d,v),p?p.alias.push(b):(x=x||b,x!==b&&x.alias.push(b),y&&f.name&&!ql(b)&&i(f.name)),cd(b)&&l(b),g.children){const J=g.children;for(let W=0;W{i(x)}:Rr}function i(f){if(sd(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){const d=ab(f,n);n.splice(d,0,f),f.record.name&&!ql(f)&&r.set(f.record.name,f)}function u(f,d){let p,y={},g,v;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw tr(Ie.MATCHER_NOT_FOUND,{location:f});v=p.record.name,y=Se(kl(d.params,p.keys.filter(x=>!x.optional).concat(p.parent?p.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),f.params&&kl(f.params,p.keys.map(x=>x.name))),g=p.stringify(y)}else if(f.path!=null)g=f.path,p=n.find(x=>x.re.test(g)),p&&(y=p.parse(g),v=p.record.name);else{if(p=d.name?r.get(d.name):n.find(x=>x.re.test(d.path)),!p)throw tr(Ie.MATCHER_NOT_FOUND,{location:f,currentLocation:d});v=p.record.name,y=Se({},d.params,f.params),g=p.stringify(y)}const _=[];let b=p;for(;b;)_.unshift(b.record),b=b.parent;return{name:v,path:g,params:y,matched:_,meta:ib(_)}}e.forEach(f=>o(f));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:c,getRoutes:a,getRecordMatcher:s}}function kl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function zl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:ob(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function ob(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function ql(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ib(e){return e.reduce((t,n)=>Se(t,n.meta),{})}function ab(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;ld(e,t[o])<0?r=o:n=o+1}const s=lb(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function lb(e){let t=e;for(;t=t.parent;)if(cd(t)&&ld(e,t)===0)return t}function cd({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Wl(e){const t=De(io),n=De(zi),r=Z(()=>{const l=ue(e.to);return t.resolve(l)}),s=Z(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(er.bind(null,c));if(d>-1)return d;const p=Kl(l[u-2]);return u>1&&Kl(c)===p&&f[f.length-1].path!==p?f.findIndex(er.bind(null,l[u-2])):d}),o=Z(()=>s.value>-1&&pb(n.params,r.value.params)),i=Z(()=>s.value>-1&&s.value===n.matched.length-1&&rd(n.params,r.value.params));function a(l={}){if(db(l)){const u=t[ue(e.replace)?"replace":"push"](ue(e.to)).catch(Rr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:Z(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}function cb(e){return e.length===1?e[0]:e}const ub=_e({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Wl,setup(e,{slots:t}){const n=Vr(Wl(e)),{options:r}=De(io),s=Z(()=>({[Gl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Gl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&cb(t.default(n));return e.custom?o:Ai("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),fb=ub;function db(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function pb(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Et(s)||s.length!==r.length||r.some((o,i)=>o.valueOf()!==s[i].valueOf()))return!1}return!0}function Kl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Gl=(e,t,n)=>e??t??n,hb=_e({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=De(ai),s=Z(()=>e.route||r.value),o=De(jl,0),i=Z(()=>{let u=ue(o);const{matched:c}=s.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=Z(()=>s.value.matched[i.value]);Er(jl,Z(()=>i.value+1)),Er(id,a),Er(ai,s);const l=Ne();return at(()=>[l.value,a.value,e.name],([u,c,f],[d,p,y])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!er(c,p)||!d)&&(c.enterCallbacks[f]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=s.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return Jl(n.default,{Component:d,route:u});const p=f.props[c],y=p?p===!0?u.params:typeof p=="function"?p(u):p:null,v=Ai(d,Se({},y,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Jl(n.default,{Component:v,route:u})||v}}});function Jl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const mb=hb;function gb(e){const t=sb(e.routes,e),n=e.parseQuery||Vy,r=e.stringifyQuery||Bl,s=e.history,o=mr(),i=mr(),a=mr(),l=ot(Xt);let u=Xt;Un&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Co.bind(null,O=>""+O),f=Co.bind(null,xy),d=Co.bind(null,jr);function p(O,z){let V,K;return sd(O)?(V=t.getRecordMatcher(O),K=z):K=O,t.addRoute(K,V)}function y(O){const z=t.getRecordMatcher(O);z&&t.removeRoute(z)}function g(){return t.getRoutes().map(O=>O.record)}function v(O){return!!t.getRecordMatcher(O)}function _(O,z){if(z=Se({},z||l.value),typeof O=="string"){const E=Ro(n,O,z.path),C=t.resolve({path:E.path},z),S=s.createHref(E.fullPath);return Se(E,C,{params:d(C.params),hash:jr(E.hash),redirectedFrom:void 0,href:S})}let V;if(O.path!=null)V=Se({},O,{path:Ro(n,O.path,z.path).path});else{const E=Se({},O.params);for(const C in E)E[C]==null&&delete E[C];V=Se({},O,{params:f(E)}),z.params=f(z.params)}const K=t.resolve(V,z),ae=O.hash||"";K.params=c(d(K.params));const h=Ty(r,Se({},O,{hash:wy(ae),path:K.path})),m=s.createHref(h);return Se({fullPath:h,hash:ae,query:r===Bl?Hy(O.query):O.query||{}},K,{redirectedFrom:void 0,href:m})}function b(O){return typeof O=="string"?Ro(n,O,l.value.path):Se({},O)}function x(O,z){if(u!==O)return tr(Ie.NAVIGATION_CANCELLED,{from:z,to:O})}function T(O){return W(O)}function D(O){return T(Se(b(O),{replace:!0}))}function J(O,z){const V=O.matched[O.matched.length-1];if(V&&V.redirect){const{redirect:K}=V;let ae=typeof K=="function"?K(O,z):K;return typeof ae=="string"&&(ae=ae.includes("?")||ae.includes("#")?ae=b(ae):{path:ae},ae.params={}),Se({query:O.query,hash:O.hash,params:ae.path!=null?{}:O.params},ae)}}function W(O,z){const V=u=_(O),K=l.value,ae=O.state,h=O.force,m=O.replace===!0,E=J(V,K);if(E)return W(Se(b(E),{state:typeof E=="object"?Se({},ae,E.state):ae,force:h,replace:m}),z||V);const C=V;C.redirectedFrom=z;let S;return!h&&Cy(r,K,V)&&(S=tr(Ie.NAVIGATION_DUPLICATED,{to:C,from:K}),ne(K,K,!0,!1)),(S?Promise.resolve(S):k(C,K)).catch(A=>Ft(A)?Ft(A,Ie.NAVIGATION_GUARD_REDIRECT)?A:X(A):N(A,C,K)).then(A=>{if(A){if(Ft(A,Ie.NAVIGATION_GUARD_REDIRECT))return W(Se({replace:m},b(A.to),{state:typeof A.to=="object"?Se({},ae,A.to.state):ae,force:h}),z||C)}else A=F(C,K,!0,m,ae);return H(C,K,A),A})}function Y(O,z){const V=x(O,z);return V?Promise.reject(V):Promise.resolve()}function L(O){const z=xe.values().next().value;return z&&typeof z.runWithContext=="function"?z.runWithContext(O):O()}function k(O,z){let V;const[K,ae,h]=zy(O,z);V=Lo(K.reverse(),"beforeRouteLeave",O,z);for(const E of K)E.leaveGuards.forEach(C=>{V.push(sn(C,O,z))});const m=Y.bind(null,O,z);return V.push(m),ie(V).then(()=>{V=[];for(const E of o.list())V.push(sn(E,O,z));return V.push(m),ie(V)}).then(()=>{V=Lo(ae,"beforeRouteUpdate",O,z);for(const E of ae)E.updateGuards.forEach(C=>{V.push(sn(C,O,z))});return V.push(m),ie(V)}).then(()=>{V=[];for(const E of h)if(E.beforeEnter)if(Et(E.beforeEnter))for(const C of E.beforeEnter)V.push(sn(C,O,z));else V.push(sn(E.beforeEnter,O,z));return V.push(m),ie(V)}).then(()=>(O.matched.forEach(E=>E.enterCallbacks={}),V=Lo(h,"beforeRouteEnter",O,z,L),V.push(m),ie(V))).then(()=>{V=[];for(const E of i.list())V.push(sn(E,O,z));return V.push(m),ie(V)}).catch(E=>Ft(E,Ie.NAVIGATION_CANCELLED)?E:Promise.reject(E))}function H(O,z,V){a.list().forEach(K=>L(()=>K(O,z,V)))}function F(O,z,V,K,ae){const h=x(O,z);if(h)return h;const m=z===Xt,E=Un?history.state:{};V&&(K||m?s.replace(O.fullPath,Se({scroll:m&&E&&E.scroll},ae)):s.push(O.fullPath,ae)),l.value=O,ne(O,z,V,m),X()}let te;function B(){te||(te=s.listen((O,z,V)=>{if(!Pe.listening)return;const K=_(O),ae=J(K,Pe.currentRoute.value);if(ae){W(Se(ae,{replace:!0,force:!0}),K).catch(Rr);return}u=K;const h=l.value;Un&&$y(Fl(h.fullPath,V.delta),oo()),k(K,h).catch(m=>Ft(m,Ie.NAVIGATION_ABORTED|Ie.NAVIGATION_CANCELLED)?m:Ft(m,Ie.NAVIGATION_GUARD_REDIRECT)?(W(Se(b(m.to),{force:!0}),K).then(E=>{Ft(E,Ie.NAVIGATION_ABORTED|Ie.NAVIGATION_DUPLICATED)&&!V.delta&&V.type===oi.pop&&s.go(-1,!1)}).catch(Rr),Promise.reject()):(V.delta&&s.go(-V.delta,!1),N(m,K,h))).then(m=>{m=m||F(K,h,!1),m&&(V.delta&&!Ft(m,Ie.NAVIGATION_CANCELLED)?s.go(-V.delta,!1):V.type===oi.pop&&Ft(m,Ie.NAVIGATION_ABORTED|Ie.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),H(K,h,m)}).catch(Rr)}))}let M=mr(),R=mr(),I;function N(O,z,V){X(O);const K=R.list();return K.length?K.forEach(ae=>ae(O,z,V)):console.error(O),Promise.reject(O)}function re(){return I&&l.value!==Xt?Promise.resolve():new Promise((O,z)=>{M.add([O,z])})}function X(O){return I||(I=!O,B(),M.list().forEach(([z,V])=>O?V(O):z()),M.reset()),O}function ne(O,z,V,K){const{scrollBehavior:ae}=e;if(!Un||!ae)return Promise.resolve();const h=!V&&Fy(Fl(O.fullPath,0))||(K||!V)&&history.state&&history.state.scroll||null;return rr().then(()=>ae(O,z,h)).then(m=>m&&My(m)).catch(m=>N(m,O,z))}const ce=O=>s.go(O);let ye;const xe=new Set,Pe={currentRoute:l,listening:!0,addRoute:p,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:g,resolve:_,options:e,push:T,replace:D,go:ce,back:()=>ce(-1),forward:()=>ce(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:R.add,isReady:re,install(O){O.component("RouterLink",fb),O.component("RouterView",mb),O.config.globalProperties.$router=Pe,Object.defineProperty(O.config.globalProperties,"$route",{enumerable:!0,get:()=>ue(l)}),Un&&!ye&&l.value===Xt&&(ye=!0,T(s.location).catch(K=>{}));const z={};for(const K in Xt)Object.defineProperty(z,K,{get:()=>l.value[K],enumerable:!0});O.provide(io,Pe),O.provide(zi,zs(z)),O.provide(ai,l);const V=O.unmount;xe.add(O),O.unmount=function(){xe.delete(O),xe.size<1&&(u=Xt,te&&te(),te=null,l.value=Xt,ye=!1,I=!1),V()}}};function ie(O){return O.reduce((z,V)=>z.then(()=>L(V)),Promise.resolve())}return Pe}function pw(){return De(io)}function hw(e){return De(zi)}const mw=()=>Hi("/system-info"),gw=()=>Hi("/health"),_b=(e,t)=>Yf("/login",{username:e,password:t}),_w=()=>Hi("/users"),vw=e=>Yf("/users",e),yw={LLM:"大语言模型",CV:"计算机视觉",NLP:"自然语言处理",Embedding:"向量模型",Other:"其他"},bw={training:{text:"训练",type:"primary"},inference:{text:"推理",type:"success"},evaluation:{text:"评测",type:"warning"}},ww={local:"本地模型",api:"在线模型",online:"在线模型"},Ew={SFT:"SFT",DPO:"DPO",CPT:"CPT"},Sw={lora:"LoRA",qlora:"QLoRA",full:"全量微调",prefix:"Prefix Tuning",adapter:"Adapter",peft:"PEFT",adalora:"AdaLoRA",longlora:"LongLoRA",dpo:"DPO",cpt:"CPT"},xw={train:"训练数据",test:"测试数据",eval:"评测数据",val:"验证数据",other:"其他"},Ow={local:"本地存储",minio:"MinIO",cloud:"云存储"},Aw={classification:"大模型-分类型",metric:"大模型-指标型",text_similarity:"规则-文本相似度"},Tw=[{label:"cosine",value:"cosine"},{label:"linear",value:"linear"},{label:"constant",value:"constant"}],Cw=[{label:"不量化",value:0},{label:"8 bit",value:8},{label:"4 bit (QLoRA)",value:4}],Rw=[{label:"bitsandbytes",value:"bnb"},{label:"GPTQ",value:"gptq"},{label:"AWQ",value:"awq"},{label:"GGUF (llama.cpp)",value:"gguf"}],Pw=[{label:"Q4_K_M(推荐)",value:"Q4_K_M"},{label:"Q5_K_M",value:"Q5_K_M"},{label:"Q8_0",value:"Q8_0"},{label:"F16(不量化)",value:"F16"}],Lw=[{label:"Qwen 系列",options:[{label:"qwen",value:"qwen"},{label:"qwen2",value:"qwen2"},{label:"qwen2_5",value:"qwen2_5"}]},{label:"Llama 系列",options:[{label:"llama2",value:"llama2"},{label:"llama3",value:"llama3"},{label:"llama3_1",value:"llama3_1"}]},{label:"DeepSeek 系列",options:[{label:"deepseek",value:"deepseek"},{label:"deepseek2",value:"deepseek2"}]},{label:"其他系列",options:[{label:"glm4",value:"glm4"},{label:"chatglm3",value:"chatglm3"},{label:"gemma",value:"gemma"},{label:"gemma2",value:"gemma2"},{label:"phi",value:"phi"},{label:"intern2",value:"intern2"},{label:"mistral",value:"mistral"},{label:"default",value:"default"}]}],Iw=[{id:"data-generate",name:"数据生成",icon:"fa-database",description:"基于LLM生成微调数据集"},{id:"json2jsonl",name:"JSON转JSONL",icon:"fa-code",description:"将JSON文件转换为JSONL格式"},{id:"md-convert",name:"转换Markdown",icon:"fa-file-text",description:"将Markdown文件转换为训练数据"}],Nw=["fa-cog","fa-database","fa-code","fa-file-text","fa-wrench","fa-cube","fa-line-chart","fa-bar-chart","fa-server","fa-cogs","fa-tasks","fa-trophy","fa-sliders","fa-rocket","fa-cloud","fa-cloud-download","fa-microchip","fa-hdd-o","fa-globe","fa-info-circle","fa-question-circle-o","fa-user-o","fa-lock-o","fa-sign-in","fa-sign-out","fa-search","fa-plus","fa-refresh","fa-times","fa-check","fa-pencil","fa-trash","fa-play","fa-arrow-left","fa-arrow-down","fa-arrow-up"],vb=300*1e3,Is="currentUser",yb=["dashboard","fine-tune","model-eval","model-inference","model-manage","dataset","data-process","data-convert","compute","hardware","logs","user-settings"];function bb(){const e=localStorage.getItem(Is);if(e)try{return JSON.parse(e)}catch{localStorage.removeItem(Is)}return localStorage.getItem("username")==="admin"?{id:"USR-0001",username:"admin",display_name:"系统管理员",role:"admin",status:"active",permissions:yb,create_time:"2026-01-01T08:00:00+08:00",protected:!0}:null}const wb=e0("auth",()=>{const e=Ne(bb()),t=Z(()=>{var c;return((c=e.value)==null?void 0:c.username)||""}),n=Z(()=>{var c;return((c=e.value)==null?void 0:c.display_name)||t.value}),r=Z(()=>{var c,f;return((c=e.value)==null?void 0:c.role)==="admin"?"超级管理员":((f=e.value)==null?void 0:f.role)==="operator"?"操作员":"观察员"}),s=Ne(parseInt(localStorage.getItem("loginTime")||"0",10)||0),o=Z(()=>s.value?Date.now()-s.valuede(()=>import("./LoginView-Q_NnBv06.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15])),meta:{title:"登录",public:!0}},{path:"/guide",name:"guide",component:()=>de(()=>import("./GuideView-3g5nbKBg.js"),__vite__mapDeps([16,14,17])),meta:{title:"使用文档",skipPermission:!0}},{path:"/",component:()=>de(()=>import("./MainLayout-DxO92V1w.js"),__vite__mapDeps([18,19,2,9,20,21,22,23,24,25,26,27,28,29,13,14,30,31,32])),redirect:"/dashboard",children:[{path:"dashboard",name:"dashboard",component:()=>de(()=>import("./DashboardView-Demq0LOI.js"),__vite__mapDeps([33,24,25,19,2,9,20,21,26,34,35,3,22,23,28,7,36,8,37,38,39,40,41,42,43,44,14,45,46])),meta:{title:"服务看板"}},{path:"fine-tune",name:"fine-tune",component:()=>de(()=>import("./FineTuneListView-DiOkr_gD.js"),__vite__mapDeps([47,2,10,7,9,11,4,12,48,22,23,19,20,21,39,3,49,38,50,51,52,6,8,53,54,55,35,25,28,34,36,37,40,56,57,58,59,60,61,29,14,62,46,63,64,30,31,65,66,67])),meta:{title:"模型训练",pageSurface:"self"}},{path:"fine-tune/create",name:"fine-tune-create",component:()=>de(()=>import("./FineTuneCreateView-Cz_5yMnR.js"),__vite__mapDeps([68,1,2,3,4,5,19,9,20,21,6,7,8,35,25,22,23,28,34,36,37,38,39,40,69,11,70,71,72,73,74,75,29,76,53,54,14,77,78,61,79,60,80,81,82,83,84,65,31,85,86,46])),meta:{title:"创建训练任务"}},{path:"model-eval",name:"model-eval",component:()=>de(()=>import("./EvalView-DKVRGpUe.js"),__vite__mapDeps([87,2,48,22,9,23,19,20,21,4,39,3,49,38,10,7,11,12,50,58,59,60,37,61,36,6,8,52,53,54,55,35,25,28,34,40,56,57,29,14,62,46,88,89])),meta:{title:"模型评测",pageSurface:"self"}},{path:"model-eval/create",name:"model-eval-create",component:()=>de(()=>import("./EvalCreateView-DhvGYj5M.js"),__vite__mapDeps([90,2,57,76,53,54,14,77,91,25,92,1,3,4,5,6,7,8,9,35,20,19,21,22,23,28,34,36,37,38,39,40,69,11,70,93,59,94,95,10,12,73,74,75,96,49,97,29,98,67,46,99,100,101,102,88,31,85,103])),meta:{title:"新建评测"}},{path:"model-eval/:id",name:"model-eval-detail",component:()=>de(()=>import("./EvalDetailView-BJu9nn43.js"),__vite__mapDeps([104,6,7,8,2,9,34,35,20,3,25,19,21,22,23,28,36,37,38,39,40,55,56,41,42,48,4,49,10,11,12,50,57,29,76,53,54,14,77,63,46,88,105])),meta:{title:"评测详情"}},{path:"model-eval/dimension/create",name:"dimension-create",redirect:"/model-eval/create"},{path:"model-eval/dimension/:id/edit",name:"dimension-edit",component:()=>de(()=>import("./DimensionCreateView-BGQzQW6r.js"),__vite__mapDeps([106,1,2,3,4,5,6,7,8,9,76,53,54,14,77,95,35,20,25,19,21,22,23,28,34,36,37,38,39,40,10,11,12,69,70,73,74,75,96,49,97,93,59,94,29,98,67,46,88,31])),meta:{title:"编辑评测维度"}},{path:"model-inference",name:"model-inference",component:()=>de(()=>import("./InferenceListView-B67fPddK.js"),__vite__mapDeps([107,2,34,48,22,9,23,19,20,21,4,39,3,49,38,10,7,11,12,50,58,59,60,37,61,36,6,8,52,53,54,55,35,25,28,40,56,57,29,14,62,46,64,108])),meta:{title:"模型推理",pageSurface:"self"}},{path:"model-inference/create",name:"model-inference-create",component:()=>de(()=>import("./InferenceCreateView-NSg6vwcm.js"),__vite__mapDeps([109,91,25,92,1,2,3,4,5,6,7,8,9,35,20,19,21,22,23,28,34,36,37,38,39,40,71,72,76,53,54,14,77,31,46])),meta:{title:"新建推理"}},{path:"model-inference/chat/:id",name:"inference-chat",component:()=>de(()=>import("./InferenceChatView-D5OD0NwF.js"),__vite__mapDeps([110,1,2,3,4,5,6,7,8,9,27,111,20,61,36,79,112,96,73,74,75,19,21,49,38,37,97,29,113,114,108,14,115])),meta:{title:"模型对话",pageSurface:"self"}},{path:"model-compare/chat/:id",name:"compare-chat",component:()=>de(()=>import("./CompareChatView-iaZgEQ8s.js"),__vite__mapDeps([116,1,2,3,4,5,6,7,8,9,34,71,72,96,73,74,75,19,20,21,49,38,37,97,29,76,53,54,14,77,64,108,117,46])),meta:{title:"模型对比"}},{path:"model-compare/result",name:"compare-result",component:()=>de(()=>import("./CompareResultView-BlQYt7fl.js"),__vite__mapDeps([118,91,25,92,2,34,53,54,113,114,108,14,119,46])),meta:{title:"对比结果"}},{path:"model-manage",name:"model-manage",component:()=>de(()=>import("./ModelManageView-FQBUSn0C.js"),__vite__mapDeps([120,2,34,48,22,9,23,19,20,21,4,39,3,49,38,10,7,11,12,50,58,59,60,37,61,36,6,8,52,53,54,55,35,25,28,40,56,57,29,14,62,46,31,121])),meta:{title:"模型管理",pageSurface:"self"}},{path:"model-manage/create",name:"model-manage-create",component:()=>de(()=>import("./ModelCreateView-DTPv4yI8.js"),__vite__mapDeps([122,1,2,3,4,5,19,9,20,21,6,7,8,35,25,22,23,28,34,36,37,38,39,40,69,11,70,57,29,76,53,54,14,77,31,123,46])),meta:{title:"添加模型"}},{path:"model-manage/:id/edit",name:"model-manage-edit",component:()=>de(()=>import("./ModelCreateView-DTPv4yI8.js"),__vite__mapDeps([122,1,2,3,4,5,19,9,20,21,6,7,8,35,25,22,23,28,34,36,37,38,39,40,69,11,70,57,29,76,53,54,14,77,31,123,46])),meta:{title:"编辑模型"}},{path:"model-manage/merge",name:"merge-weights",component:()=>de(()=>import("./MergeWeightsView-DS-5jMr9.js"),__vite__mapDeps([124,91,25,92,1,2,3,4,5,6,7,8,9,34,76,53,54,14,77,31,125,46])),meta:{title:"合并权重"}},{path:"data-process",name:"data-process",component:()=>de(()=>import("./DataProcessListView-B4pOm5Q_.js"),__vite__mapDeps([126,2,34,48,22,9,23,19,20,21,4,39,3,49,38,10,7,11,12,50,58,59,60,37,61,36,6,8,52,53,54,55,35,25,28,40,56,57,29,14,62,46,63,127,128])),meta:{title:"数据处理",pageSurface:"self"}},{path:"data-process/create",name:"data-process-create",component:()=>de(()=>import("./DataProcessCreateView-jyj-tLuh.js"),__vite__mapDeps([129,2,130,14,131,1,3,4,5,6,7,8,9,10,11,12,73,74,75,35,20,25,19,21,22,23,28,34,36,37,38,39,40,96,49,97,93,59,94,29,55,56,41,42,132,133,127,30,31,134,67,46])),meta:{title:"新建数据处理任务",pageSurface:"self"}},{path:"data-process/:id",name:"data-process-detail",component:()=>de(()=>import("./DataProcessDetailView-gE1enluH.js"),__vite__mapDeps([135,91,25,92,1,2,3,4,5,19,9,20,21,6,7,8,34,35,22,23,28,36,37,38,39,40,78,61,79,60,80,55,56,41,42,48,49,10,11,12,50,57,58,59,29,76,53,54,14,77,63,46,64,127,136])),meta:{title:"数据处理详情"}},{path:"dataset",name:"dataset",component:()=>de(()=>import("./DatasetListView-f5ydkZni.js"),__vite__mapDeps([137,2,34,48,22,9,23,19,20,21,4,39,3,49,38,10,7,11,12,50,52,6,8,53,54,55,35,25,28,36,37,40,56,57,58,59,60,61,29,14,62,46,85,138])),meta:{title:"数据集管理",pageSurface:"self"}},{path:"dataset/create",name:"dataset-create",component:()=>de(()=>import("./DatasetCreateView-tR9bKxGq.js"),__vite__mapDeps([139,91,25,92,1,2,3,4,5,6,7,8,9,69,11,70,93,59,94,132,41,42,133,57,76,53,54,14,77,85,140])),meta:{title:"上传数据集"}},{path:"dataset/:id/edit",name:"dataset-edit",component:()=>de(()=>import("./DatasetCreateView-tR9bKxGq.js"),__vite__mapDeps([139,91,25,92,1,2,3,4,5,6,7,8,9,69,11,70,93,59,94,132,41,42,133,57,76,53,54,14,77,85,140])),meta:{title:"编辑数据集"}},{path:"dataset/:id/preview",name:"dataset-preview",component:()=>de(()=>import("./DatasetPreviewView-Lebw9VGN.js"),__vite__mapDeps([141,91,25,92,19,2,9,20,21,34,57,58,59,60,37,38,61,36,7,6,8,29,130,14,131,76,53,54,77,85,35,3,22,23,28,39,40,51,78,79,80,55,56,48,4,49,10,11,12,50,1,5,142,46])),meta:{title:"数据集预览"}},{path:"tools",name:"tools",component:()=>de(()=>import("./ToolsView-Bcj_uv2O.js"),__vite__mapDeps([143,2,53,54,81,82,58,20,59,60,37,38,61,36,7,6,8,9,76,14,77,144,145])),meta:{title:"其他工具"}},{path:"tools/create",name:"tools-create",component:()=>de(()=>import("./ToolCreateView-CsnoBuBA.js"),__vite__mapDeps([146,1,2,3,4,5,6,7,8,9,76,53,54,14,77,144,147])),meta:{title:"添加自定义工具"}},{path:"tools/:id/edit",name:"tools-edit",component:()=>de(()=>import("./ToolCreateView-CsnoBuBA.js"),__vite__mapDeps([146,1,2,3,4,5,6,7,8,9,76,53,54,14,77,144,147])),meta:{title:"编辑自定义工具"}},{path:"data-convert",name:"data-convert",component:()=>de(()=>import("./DataConvertView-Ts55u_8c.js"),__vite__mapDeps([148,1,2,3,4,5,19,9,20,21,6,7,8,35,25,22,23,28,34,36,37,38,39,40,29,76,53,54,14,77,149,46])),meta:{title:"数据类型转换"}},{path:"compute",name:"compute",component:()=>de(()=>import("./ComputeNodesView-DGj1xqt1.js"),__vite__mapDeps([150,1,2,3,4,5,6,7,8,9,34,35,20,25,19,21,22,23,28,36,37,38,39,40,78,61,79,60,80,73,74,75,41,42,101,102,93,59,94,48,49,10,11,12,50,83,84,57,29,14,151,46])),meta:{title:"算力节点",pageSurface:"self",permission:"compute"}},{path:"compute/gpus",redirect:"/compute?tab=gpus"},{path:"compute/queue",redirect:"/compute?tab=queue"},{path:"compute/nodes",redirect:"/compute?tab=nodes"},{path:"permission-denied",name:"permission-denied",component:()=>de(()=>import("./PermissionDeniedView-EZx3s9_N.js"),__vite__mapDeps([152,14,153])),meta:{title:"无权访问",skipPermission:!0}},{path:"hardware",name:"hardware",component:()=>de(()=>import("./HardwareView-DL8UFEoH.js"),__vite__mapDeps([154,91,25,92,2,35,20,3,19,9,21,22,23,28,34,7,36,8,37,38,39,40,111,61,79,112,81,82,41,42,93,59,94,48,4,49,10,11,12,50,57,29,43,76,53,54,14,77,155,44,156,46])),meta:{title:"平台性能"}},{path:"logs",name:"logs",component:()=>de(()=>import("./LogsView-DmeeKzFp.js"),__vite__mapDeps([157,6,7,8,2,9,35,20,3,25,19,21,22,23,28,34,36,37,38,39,40,74,49,11,4,83,84,76,53,54,14,77,64,158,159,46])),meta:{title:"查看日志"}},{path:"user-settings",name:"user-settings",component:()=>de(()=>import("./UserSettingsView-KcaztqRe.js"),__vite__mapDeps([160,2,48,22,9,23,19,20,21,4,39,3,49,38,10,7,11,12,50,57,29,14,161,46])),meta:{title:"用户设置",pageSurface:"self",permission:"user-settings"}},{path:"user-settings/create",name:"user-create",component:()=>de(()=>import("./UserCreateView-mg48VYjL.js"),__vite__mapDeps([162,1,2,3,4,5,6,7,8,9,35,20,25,19,21,22,23,28,34,36,37,38,39,40,10,11,12,69,70,14,163,67,46])),meta:{title:"创建用户",permission:"user-settings"}},{path:"user-settings/:id/permission",name:"user-permission",component:()=>de(()=>import("./UserPermissionView-cVCnBmji.js"),__vite__mapDeps([164,14,165])),meta:{title:"权限设置",permission:"user-settings"}},{path:"training-log/:id",name:"training-log",component:()=>de(()=>import("./TrainingLogView-Ds903_wK.js"),__vite__mapDeps([166,2,34,27,99,25,100,41,42,57,43,76,53,54,14,77,63,46,64,155,30,31,65,158,85,167])),meta:{title:"训练日志"}}]},{path:"/:pathMatch(.*)*",redirect:"/dashboard"}],ud=gb({history:Gy(),routes:Eb}),Sb={dashboard:"dashboard","fine-tune":"fine-tune","training-log":"fine-tune","model-eval":"model-eval","model-inference":"model-inference","model-compare":"model-inference","model-manage":"model-manage",dataset:"dataset","data-process":"data-process","data-convert":"data-convert",compute:"compute",tools:"data-convert",hardware:"hardware",logs:"logs","user-settings":"user-settings"};function xb(e,t){if(t)return t;const n=e.split("/")[1];return Sb[n]}ud.beforeEach((e,t,n)=>{const r=wb();if(document.title=e.meta.title?`${e.meta.title} - 远光软件微调平台`:"远光软件微调平台",e.meta.public){if(e.name==="login"&&r.isLoggedIn){n("/dashboard");return}n();return}if(!r.isLoggedIn){n({name:"login"});return}if(!e.meta.skipPermission){const s=xb(e.path,e.meta.permission);if(s&&!r.hasPermission(s)){n({name:"permission-denied",replace:!0});return}}r.refresh(),n()});const qi=qh(d1);qi.use(Gh());qi.use(ud);async function Ob(){qi.mount("#app")}Ob();export{p4 as $,gl as A,De as B,Xb as C,at as D,hl as E,Er as F,qr as G,Wc as H,Ai as I,we as J,sp as K,gh as L,st as M,We as N,A2 as O,rr as P,f4 as Q,nt as R,S4 as S,O4 as T,Wb as U,W2 as V,Wo as W,u4 as X,mu as Y,Eu as Z,h4 as _,Ni as a,a_ as a$,m4 as a0,Nc as a1,gt as a2,ge as a3,F4 as a4,D_ as a5,Q as a6,sf as a7,ef as a8,Yd as a9,Fb as aA,Re as aB,Pb as aC,de as aD,Aw as aE,Hi as aF,Yf as aG,uw as aH,fw as aI,Ql as aJ,sr as aK,Hh as aL,Vb as aM,yw as aN,bw as aO,ww as aP,ot as aQ,dw as aR,J2 as aS,Nt as aT,_t as aU,Kd as aV,k2 as aW,Nb as aX,xw as aY,Ow as aZ,N4 as a_,fi as aa,E4 as ab,hw as ac,Ib as ad,e0 as ae,gw as af,qb as ag,Js as ah,Sp as ai,t0 as aj,Rn as ak,nr as al,Xo as am,On as an,ln as ao,w4 as ap,Ew as aq,Sw as ar,B_ as as,mw as at,Lw as au,Cw as av,Rw as aw,Pw as ax,Tw as ay,Bb as az,Kr as b,s4 as b$,C4 as b0,gf as b1,U4 as b2,I4 as b3,Ub as b4,Zl as b5,u2 as b6,Yb as b7,oe as b8,i4 as b9,M4 as bA,A4 as bB,B4 as bC,K2 as bD,V4 as bE,Mb as bF,e4 as bG,l4 as bH,al as bI,G2 as bJ,ac as bK,g4 as bL,Kb as bM,k4 as bN,Yi as bO,X2 as bP,u_ as bQ,$b as bR,b4 as bS,n4 as bT,R4 as bU,T4 as bV,it as bW,z_ as bX,Tb as bY,d4 as bZ,o4 as b_,_4 as ba,hs as bb,Ab as bc,Xp as bd,v4 as be,Rb as bf,Cb as bg,P4 as bh,$4 as bi,L4 as bj,y4 as bk,x4 as bl,Iw as bm,c4 as bn,P_ as bo,j_ as bp,mi as bq,b_ as br,pl as bs,Yt as bt,$a as bu,me as bv,p2 as bw,Nw as bx,Qe as by,qc as bz,Ee as c,M2 as c$,a4 as c0,_p as c1,Qb as c2,t4 as c3,Zu as c4,H4 as c5,j4 as c6,D4 as c7,q2 as c8,Zb as c9,Ag as cA,Sg as cB,cg as cC,Tg as cD,nl as cE,An as cF,rn as cG,_m as cH,Ka as cI,Go as cJ,an as cK,Ya as cL,tf as cM,Li as cN,gp as cO,kc as cP,Hc as cQ,qe as cR,Db as cS,Bs as cT,Ju as cU,os as cV,r4 as cW,O2 as cX,Lb as cY,vf as cZ,zs as c_,Qs as ca,Gb as cb,pe as cc,Hb as cd,Tn as ce,of as cf,ka as cg,cn as ch,H0 as ci,lg as cj,Ku as ck,Gu as cl,Vu as cm,ju as cn,ag as co,f2 as cp,mg as cq,d0 as cr,As as cs,Uu as ct,N0 as cu,F0 as cv,M0 as cw,wm as cx,Am as cy,Kt as cz,_e as d,Jb as d0,Ci as d1,Xu as d2,Rm as d3,Ri as d4,qu as d5,Bu as d6,qh as d7,qt as d8,kb as d9,_w as da,vw as db,Ht as e,ue as f,Vn as g,Dr as h,R_ as i,Z as j,Eo as k,Di as l,wb as m,mt as n,fe as o,jb as p,he as q,xp as r,Le as s,zb as t,bf as u,pw as v,Wn as w,Oi as x,Ne as y,Vr as z}; diff --git a/frontend/dist/assets/index-Cxpdptih.js b/frontend/dist/assets/index-Cxpdptih.js index badfe40..d752396 100644 --- a/frontend/dist/assets/index-Cxpdptih.js +++ b/frontend/dist/assets/index-Cxpdptih.js @@ -1,4 +1,10 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-Cxpdptih.js import{e as s,E as R,h as Y,C as x,s as w,t as O,a as d,b as k,d as h,L as f,i as u,j as y,c as l,k as g,f as j,l as U,g as G,m as X,N as b,I as Z}from"./index-DFkjzvE0.js";import"./index-CD29OCdJ.js";const _=177,q=179,E=184,v=12,C=13,D=17,z=20,F=25,B=53,N=95,I=142,L=144,A=145,J=148,M=10,H=13,K=32,OO=9,$=47,QO=41,eO=125,aO=new R((Q,e)=>{for(let n=0,a=Q.next;(e.context&&(a<0||a==M||a==H||a==$&&Q.peek(n+1)==$)||a==QO||a==eO)&&Q.acceptToken(_),!(a!=K&&a!=OO);)a=Q.peek(++n)},{contextual:!0});let tO=new Set([N,E,z,v,D,L,A,I,J,C,B,F]);const iO=new x({start:!1,shift:(Q,e)=>e==q?Q:tO.has(e)}),XO=w({"func interface struct chan map const type var":O.definitionKeyword,"import package":O.moduleKeyword,"switch for go select return break continue goto fallthrough case if else defer":O.controlKeyword,range:O.keyword,Bool:O.bool,String:O.string,Rune:O.character,Number:O.number,Nil:O.null,VariableName:O.variableName,DefName:O.definition(O.variableName),TypeName:O.typeName,LabelName:O.labelName,FieldName:O.propertyName,"FunctionDecl/DefName":O.function(O.definition(O.variableName)),"TypeSpec/DefName":O.definition(O.typeName),"CallExpr/VariableName":O.function(O.variableName),LineComment:O.lineComment,BlockComment:O.blockComment,LogicOp:O.logicOperator,ArithOp:O.arithmeticOperator,BitOp:O.bitwiseOperator,"DerefOp .":O.derefOperator,"UpdateOp IncDecOp":O.updateOperator,CompareOp:O.compareOperator,"= :=":O.definitionOperator,"<-":O.operator,'~ "*"':O.modifier,"; ,":O.separator,"... :":O.punctuation,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace}),nO={__proto__:null,package:10,import:18,true:380,false:380,nil:383,struct:48,func:68,interface:78,chan:94,map:118,make:157,new:159,const:204,type:212,var:224,if:236,else:238,switch:242,case:248,default:250,for:260,range:266,go:270,select:274,return:284,break:288,continue:290,goto:292,fallthrough:296,defer:300},PO=s.deserialize({version:14,states:"!=xO#{QQOOP$SOQOOO&UQTO'#CbO&]QRO'#FlO]QQOOOOQP'#Cn'#CnOOQP'#Co'#CoO&eQQO'#C|O(kQQO'#C{O)]QRO'#GiO+tQQO'#D_OOQP'#Ge'#GeO+{QQO'#GeO.aQTO'#GaO.hQQO'#D`OOQP'#Gm'#GmO.mQRO'#GdO/hQQO'#DgOOQP'#Gd'#GdO/uQQO'#DrO2bQQO'#DsO4QQTO'#GqO,^QTO'#GaO4X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]&`&g&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dS&_#}&dW(S&S*S*|+^Q(e&bQ(o&lR*x*PS%U!t*`R+q+jR%S!qQ#PcQ(}&|Q)Z'YR+n+ghpOScw!U!V#O#k#n&|'Y+gQ$d!WQ$n!ZQ%g#VU%p#i'T,bU%q#j'U,cQ(j&gQ(u&sQ)Q'PQ)_']Q)y'wQ*_(kQ*a(tV-R'W)W*kT(U&S&l",nodeNames:"⚠ LineComment BlockComment SourceFile PackageClause package DefName ; ImportDecl import ImportSpec . String ) ( SpecList ExprStatement Number Bool Nil Rune VariableName TypedLiteral StructType struct } { StructBody FieldDecl FieldName , PointerType * FunctionType func Parameters Parameter ... InterfaceType interface InterfaceBody MethodElem UnderlyingType ~ TypeElem LogicOp ChannelType chan <- ParenthesizedType QualifiedType TypeName ParameterizedType ] [ TypeArgs ArrayType SliceType MapType map LiteralValue Element Key : Element Key ParenthesizedExpr FunctionLiteral Block Conversion SelectorExpr IndexExpr SliceExpr TypeAssertion CallExpr ParameterizedExpr Arguments CallExpr make new Arguments UnaryExp ArithOp LogicOp BitOp DerefOp BinaryExp ArithOp BitOp BitOp CompareOp LogicOp LogicOp SendStatement IncDecStatement IncDecOp Assignment = UpdateOp VarDecl := ConstDecl const ConstSpec SpecList TypeDecl type TypeSpec TypeParams TypeParam SpecList VarDecl var VarSpec SpecList LabeledStatement LabelName IfStatement if else SwitchStatement switch SwitchBlock Case case default TypeSwitchStatement SwitchBlock Case ForStatement for ForClause RangeClause range GoStatement go SelectStatement select SelectBlock Case ReceiveStatement ReturnStatement return GotoStatement break continue goto FallthroughStatement fallthrough DeferStatement defer FunctionDecl MethodDecl",maxTerm:218,context:iO,nodeProps:[["isolate",-3,2,12,20,""],["group",-18,12,17,18,19,20,21,22,66,67,69,70,71,72,73,74,77,81,86,"Expr",-20,16,68,93,94,96,99,101,105,111,115,117,120,126,129,134,136,141,143,147,149,"Statement",-12,23,31,33,38,46,49,50,51,52,56,57,58,"Type"],["openedBy",13,"(",25,"{",53,"["],["closedBy",14,")",26,"}",54,"]"]],propSources:[XO],skippedNodes:[0,1,2,153],repeatNodeCount:23,tokenData:":b~RvXY#iYZ#i]^#ipq#iqr#zrs$Xuv&Pvw&^wx&yxy(qyz(vz{({{|)T|})e}!O)j!O!P)u!P!Q+}!Q!R,y!R![-t![!]2^!]!^2k!^!_2p!_!`3]!`!a3e!c!}3x!}#O4j#P#Q4o#Q#R4t#R#S4|#S#T9X#T#o3x#o#p9q#p#q9v#q#r:W#r#s:]$g;'S3x;'S;=`4d<%lO3x~#nS$y~XY#iYZ#i]^#ipq#iU$PP%hQ!_!`$SS$XO!|S~$^W[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y<%lO$X~${O[~~%ORO;'S$X;'S;=`%X;=`O$X~%^X[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y;=`<%l$X<%lO$X~%|P;=`<%l$X~&UP%l~!_!`&X~&^O#U~~&cR%j~vw&l!_!`&X#Q#R&q~&qO%p~~&vP%o~!_!`&X~'OWd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`(k<%lO&y~'mOd~~'pRO;'S&y;'S;=`'y;=`O&y~(OXd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`(k;=`<%l&y<%lO&y~(nP;=`<%l&y~(vO^~~({O]~~)QP%Y~!_!`&X~)YQ%f~{|)`!_!`&X~)eO#R~~)jOn~~)oQ%g~}!O)`!_!`&X~)zRZS!O!P*T!Q![*`#R#S+w~*WP!O!P*Z~*`Ou~Q*eTaQ!Q![*`!g!h*t#R#S+w#X#Y*t#]#^+rQ*wS{|+T}!O+T!Q![+^#R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O+T!Q![7]!c!}3x#R#S8P#T#o3x$g;'S3x;'S;=`4d<%lO3x~7dXaQ%O~!Q![7]!c!}3x#R#S8P#T#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~8UV%O~!Q![7]!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~8rVaQ%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~9[TO#S9X#S#T$v#T;'S9X;'S;=`9k<%lO9X~9nP;=`<%l9X~9vOj~~9{Q%`~!_!`&X#p#q:R~:WO%q~~:]Oi~~:bO{~",tokenizers:[aO,1,2,new Y("j~RQYZXz{^~^O$|~~aP!P!Qd~iO$}~~",25,181)],topRules:{SourceFile:[0,3]},dynamicPrecedences:{19:1,51:-1,55:2,69:-1,108:-1},specialized:[{term:184,get:Q=>nO[Q]||-1}],tokenPrec:5451}),oO=[X("func ${name}(${params}) ${type} {\n ${}\n}",{label:"func",detail:"declaration",type:"keyword"}),X("func (${receiver}) ${name}(${params}) ${type} {\n ${}\n}",{label:"func",detail:"method declaration",type:"keyword"}),X("var ${name} = ${value}",{label:"var",detail:"declaration",type:"keyword"}),X("type ${name} ${type}",{label:"type",detail:"declaration",type:"keyword"}),X("const ${name} = ${value}",{label:"const",detail:"declaration",type:"keyword"}),X("type ${name} = ${type}",{label:"type",detail:"alias declaration",type:"keyword"}),X("for ${init}; ${test}; ${update} {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),X("for ${i} := range ${value} {\n ${}\n}",{label:"for",detail:"range",type:"keyword"}),X(`select { +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-CIbRWMze.js +import{e as s,E as R,h as Y,C as x,s as w,t as O,a as d,b as k,d as h,L as f,i as u,j as y,c as l,k as g,f as j,l as U,g as G,m as X,N as b,I as Z}from"./index-Szd58FrA.js";import"./index-Ds9AETjS.js";const _=177,q=179,E=184,v=12,C=13,D=17,z=20,F=25,B=53,N=95,I=142,L=144,A=145,J=148,M=10,H=13,K=32,OO=9,$=47,QO=41,eO=125,aO=new R((Q,e)=>{for(let n=0,a=Q.next;(e.context&&(a<0||a==M||a==H||a==$&&Q.peek(n+1)==$)||a==QO||a==eO)&&Q.acceptToken(_),!(a!=K&&a!=OO);)a=Q.peek(++n)},{contextual:!0});let tO=new Set([N,E,z,v,D,L,A,I,J,C,B,F]);const iO=new x({start:!1,shift:(Q,e)=>e==q?Q:tO.has(e)}),XO=w({"func interface struct chan map const type var":O.definitionKeyword,"import package":O.moduleKeyword,"switch for go select return break continue goto fallthrough case if else defer":O.controlKeyword,range:O.keyword,Bool:O.bool,String:O.string,Rune:O.character,Number:O.number,Nil:O.null,VariableName:O.variableName,DefName:O.definition(O.variableName),TypeName:O.typeName,LabelName:O.labelName,FieldName:O.propertyName,"FunctionDecl/DefName":O.function(O.definition(O.variableName)),"TypeSpec/DefName":O.definition(O.typeName),"CallExpr/VariableName":O.function(O.variableName),LineComment:O.lineComment,BlockComment:O.blockComment,LogicOp:O.logicOperator,ArithOp:O.arithmeticOperator,BitOp:O.bitwiseOperator,"DerefOp .":O.derefOperator,"UpdateOp IncDecOp":O.updateOperator,CompareOp:O.compareOperator,"= :=":O.definitionOperator,"<-":O.operator,'~ "*"':O.modifier,"; ,":O.separator,"... :":O.punctuation,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace}),nO={__proto__:null,package:10,import:18,true:380,false:380,nil:383,struct:48,func:68,interface:78,chan:94,map:118,make:157,new:159,const:204,type:212,var:224,if:236,else:238,switch:242,case:248,default:250,for:260,range:266,go:270,select:274,return:284,break:288,continue:290,goto:292,fallthrough:296,defer:300},PO=s.deserialize({version:14,states:"!=xO#{QQOOP$SOQOOO&UQTO'#CbO&]QRO'#FlO]QQOOOOQP'#Cn'#CnOOQP'#Co'#CoO&eQQO'#C|O(kQQO'#C{O)]QRO'#GiO+tQQO'#D_OOQP'#Ge'#GeO+{QQO'#GeO.aQTO'#GaO.hQQO'#D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X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dS&_#}&dW(S&S*S*|+^Q(e&bQ(o&lR*x*PS%U!t*`R+q+jR%S!qQ#PcQ(}&|Q)Z'YR+n+ghpOScw!U!V#O#k#n&|'Y+gQ$d!WQ$n!ZQ%g#VU%p#i'T,bU%q#j'U,cQ(j&gQ(u&sQ)Q'PQ)_']Q)y'wQ*_(kQ*a(tV-R'W)W*kT(U&S&l",nodeNames:"⚠ LineComment BlockComment SourceFile PackageClause package DefName ; ImportDecl import ImportSpec . String ) ( SpecList ExprStatement Number Bool Nil Rune VariableName TypedLiteral StructType struct } { StructBody FieldDecl FieldName , PointerType * FunctionType func Parameters Parameter ... InterfaceType interface InterfaceBody MethodElem UnderlyingType ~ TypeElem LogicOp ChannelType chan <- ParenthesizedType QualifiedType TypeName ParameterizedType ] [ TypeArgs ArrayType SliceType MapType map LiteralValue Element Key : Element Key ParenthesizedExpr FunctionLiteral Block Conversion SelectorExpr IndexExpr SliceExpr TypeAssertion CallExpr ParameterizedExpr Arguments CallExpr make new Arguments UnaryExp ArithOp LogicOp BitOp DerefOp BinaryExp ArithOp BitOp BitOp CompareOp LogicOp LogicOp SendStatement IncDecStatement IncDecOp Assignment = UpdateOp VarDecl := ConstDecl const ConstSpec SpecList TypeDecl type TypeSpec TypeParams TypeParam SpecList VarDecl var VarSpec SpecList LabeledStatement LabelName IfStatement if else SwitchStatement switch SwitchBlock Case case default TypeSwitchStatement SwitchBlock Case ForStatement for ForClause RangeClause range GoStatement go SelectStatement select SelectBlock Case ReceiveStatement ReturnStatement return GotoStatement break continue goto FallthroughStatement fallthrough DeferStatement defer FunctionDecl MethodDecl",maxTerm:218,context:iO,nodeProps:[["isolate",-3,2,12,20,""],["group",-18,12,17,18,19,20,21,22,66,67,69,70,71,72,73,74,77,81,86,"Expr",-20,16,68,93,94,96,99,101,105,111,115,117,120,126,129,134,136,141,143,147,149,"Statement",-12,23,31,33,38,46,49,50,51,52,56,57,58,"Type"],["openedBy",13,"(",25,"{",53,"["],["closedBy",14,")",26,"}",54,"]"]],propSources:[XO],skippedNodes:[0,1,2,153],repeatNodeCount:23,tokenData:":b~RvXY#iYZ#i]^#ipq#iqr#zrs$Xuv&Pvw&^wx&yxy(qyz(vz{({{|)T|})e}!O)j!O!P)u!P!Q+}!Q!R,y!R![-t![!]2^!]!^2k!^!_2p!_!`3]!`!a3e!c!}3x!}#O4j#P#Q4o#Q#R4t#R#S4|#S#T9X#T#o3x#o#p9q#p#q9v#q#r:W#r#s:]$g;'S3x;'S;=`4d<%lO3x~#nS$y~XY#iYZ#i]^#ipq#iU$PP%hQ!_!`$SS$XO!|S~$^W[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y<%lO$X~${O[~~%ORO;'S$X;'S;=`%X;=`O$X~%^X[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y;=`<%l$X<%lO$X~%|P;=`<%l$X~&UP%l~!_!`&X~&^O#U~~&cR%j~vw&l!_!`&X#Q#R&q~&qO%p~~&vP%o~!_!`&X~'OWd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`(k<%lO&y~'mOd~~'pRO;'S&y;'S;=`'y;=`O&y~(OXd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`(k;=`<%l&y<%lO&y~(nP;=`<%l&y~(vO^~~({O]~~)QP%Y~!_!`&X~)YQ%f~{|)`!_!`&X~)eO#R~~)jOn~~)oQ%g~}!O)`!_!`&X~)zRZS!O!P*T!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!c!g3x!g!h6k!h!}3x#R#S4|#T#X3x#X#Y6k#Y#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~6pX%O~{|+T}!O+T!Q![7]!c!}3x#R#S8P#T#o3x$g;'S3x;'S;=`4d<%lO3x~7dXaQ%O~!Q![7]!c!}3x#R#S8P#T#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~8UV%O~!Q![7]!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~8rVaQ%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~9[TO#S9X#S#T$v#T;'S9X;'S;=`9k<%lO9X~9nP;=`<%l9X~9vOj~~9{Q%`~!_!`&X#p#q:R~:WO%q~~:]Oi~~:bO{~",tokenizers:[aO,1,2,new Y("j~RQYZXz{^~^O$|~~aP!P!Qd~iO$}~~",25,181)],topRules:{SourceFile:[0,3]},dynamicPrecedences:{19:1,51:-1,55:2,69:-1,108:-1},specialized:[{term:184,get:Q=>nO[Q]||-1}],tokenPrec:5451}),oO=[X("func ${name}(${params}) ${type} {\n ${}\n}",{label:"func",detail:"declaration",type:"keyword"}),X("func (${receiver}) ${name}(${params}) ${type} {\n ${}\n}",{label:"func",detail:"method declaration",type:"keyword"}),X("var ${name} = ${value}",{label:"var",detail:"declaration",type:"keyword"}),X("type ${name} ${type}",{label:"type",detail:"declaration",type:"keyword"}),X("const ${name} = ${value}",{label:"const",detail:"declaration",type:"keyword"}),X("type ${name} = ${type}",{label:"type",detail:"alias declaration",type:"keyword"}),X("for ${init}; ${test}; ${update} {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),X("for ${i} := range ${value} {\n ${}\n}",{label:"for",detail:"range",type:"keyword"}),X(`select { +======== +import{e as s,E as R,h as Y,C as x,s as w,t as O,a as d,b as k,d as h,L as f,i as u,j as y,c as l,k as g,f as j,l as U,g as G,m as X,N as b,I as Z}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const _=177,q=179,E=184,v=12,C=13,D=17,z=20,F=25,B=53,N=95,I=142,L=144,A=145,J=148,M=10,H=13,K=32,OO=9,$=47,QO=41,eO=125,aO=new R((Q,e)=>{for(let n=0,a=Q.next;(e.context&&(a<0||a==M||a==H||a==$&&Q.peek(n+1)==$)||a==QO||a==eO)&&Q.acceptToken(_),!(a!=K&&a!=OO);)a=Q.peek(++n)},{contextual:!0});let tO=new Set([N,E,z,v,D,L,A,I,J,C,B,F]);const iO=new x({start:!1,shift:(Q,e)=>e==q?Q:tO.has(e)}),XO=w({"func interface struct chan map const type var":O.definitionKeyword,"import package":O.moduleKeyword,"switch for go select return break continue goto fallthrough case if else defer":O.controlKeyword,range:O.keyword,Bool:O.bool,String:O.string,Rune:O.character,Number:O.number,Nil:O.null,VariableName:O.variableName,DefName:O.definition(O.variableName),TypeName:O.typeName,LabelName:O.labelName,FieldName:O.propertyName,"FunctionDecl/DefName":O.function(O.definition(O.variableName)),"TypeSpec/DefName":O.definition(O.typeName),"CallExpr/VariableName":O.function(O.variableName),LineComment:O.lineComment,BlockComment:O.blockComment,LogicOp:O.logicOperator,ArithOp:O.arithmeticOperator,BitOp:O.bitwiseOperator,"DerefOp .":O.derefOperator,"UpdateOp IncDecOp":O.updateOperator,CompareOp:O.compareOperator,"= :=":O.definitionOperator,"<-":O.operator,'~ "*"':O.modifier,"; ,":O.separator,"... :":O.punctuation,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace}),nO={__proto__:null,package:10,import:18,true:380,false:380,nil:383,struct:48,func:68,interface:78,chan:94,map:118,make:157,new:159,const:204,type:212,var:224,if:236,else:238,switch:242,case:248,default:250,for:260,range:266,go:270,select:274,return:284,break:288,continue:290,goto:292,fallthrough:296,defer:300},PO=s.deserialize({version:14,states:"!=xO#{QQOOP$SOQOOO&UQTO'#CbO&]QRO'#FlO]QQOOOOQP'#Cn'#CnOOQP'#Co'#CoO&eQQO'#C|O(kQQO'#C{O)]QRO'#GiO+tQQO'#D_OOQ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z*QY&Y#y&](S(o*QR*W(['``OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dS&_#}&dW(S&S*S*|+^Q(e&bQ(o&lR*x*PS%U!t*`R+q+jR%S!qQ#PcQ(}&|Q)Z'YR+n+ghpOScw!U!V#O#k#n&|'Y+gQ$d!WQ$n!ZQ%g#VU%p#i'T,bU%q#j'U,cQ(j&gQ(u&sQ)Q'PQ)_']Q)y'wQ*_(kQ*a(tV-R'W)W*kT(U&S&l",nodeNames:"⚠ LineComment BlockComment SourceFile PackageClause package DefName ; ImportDecl import ImportSpec . String ) ( SpecList ExprStatement Number Bool Nil Rune VariableName TypedLiteral StructType struct } { StructBody FieldDecl FieldName , PointerType * FunctionType func Parameters Parameter ... InterfaceType interface InterfaceBody MethodElem UnderlyingType ~ TypeElem LogicOp ChannelType chan <- ParenthesizedType QualifiedType TypeName ParameterizedType ] [ TypeArgs ArrayType SliceType MapType map LiteralValue Element Key : Element Key ParenthesizedExpr FunctionLiteral Block Conversion SelectorExpr IndexExpr SliceExpr TypeAssertion CallExpr ParameterizedExpr Arguments CallExpr make new Arguments UnaryExp ArithOp LogicOp BitOp DerefOp BinaryExp ArithOp BitOp BitOp CompareOp LogicOp LogicOp SendStatement IncDecStatement IncDecOp Assignment = UpdateOp VarDecl := ConstDecl const ConstSpec SpecList TypeDecl type TypeSpec TypeParams TypeParam SpecList VarDecl var VarSpec SpecList LabeledStatement LabelName IfStatement if else SwitchStatement switch SwitchBlock Case case default TypeSwitchStatement SwitchBlock Case ForStatement for ForClause RangeClause range GoStatement go SelectStatement select SelectBlock Case ReceiveStatement ReturnStatement return GotoStatement break continue goto FallthroughStatement fallthrough DeferStatement defer FunctionDecl MethodDecl",maxTerm:218,context:iO,nodeProps:[["isolate",-3,2,12,20,""],["group",-18,12,17,18,19,20,21,22,66,67,69,70,71,72,73,74,77,81,86,"Expr",-20,16,68,93,94,96,99,101,105,111,115,117,120,126,129,134,136,141,143,147,149,"Statement",-12,23,31,33,38,46,49,50,51,52,56,57,58,"Type"],["openedBy",13,"(",25,"{",53,"["],["closedBy",14,")",26,"}",54,"]"]],propSources:[XO],skippedNodes:[0,1,2,153],repeatNodeCount:23,tokenData:":b~RvXY#iYZ#i]^#ipq#iqr#zrs$Xuv&Pvw&^wx&yxy(qyz(vz{({{|)T|})e}!O)j!O!P)u!P!Q+}!Q!R,y!R![-t![!]2^!]!^2k!^!_2p!_!`3]!`!a3e!c!}3x!}#O4j#P#Q4o#Q#R4t#R#S4|#S#T9X#T#o3x#o#p9q#p#q9v#q#r:W#r#s:]$g;'S3x;'S;=`4d<%lO3x~#nS$y~XY#iYZ#i]^#ipq#iU$PP%hQ!_!`$SS$XO!|S~$^W[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y<%lO$X~${O[~~%ORO;'S$X;'S;=`%X;=`O$X~%^X[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y;=`<%l$X<%lO$X~%|P;=`<%l$X~&UP%l~!_!`&X~&^O#U~~&cR%j~vw&l!_!`&X#Q#R&q~&qO%p~~&vP%o~!_!`&X~'OWd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`(k<%lO&y~'mOd~~'pRO;'S&y;'S;=`'y;=`O&y~(OXd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`(k;=`<%l&y<%lO&y~(nP;=`<%l&y~(vO^~~({O]~~)QP%Y~!_!`&X~)YQ%f~{|)`!_!`&X~)eO#R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S3x;'S;=`4d<%lO3x~5o^aQ%O~!O!P*`!Q![5h!c!g3x!g!h6k!h!}3x#R#S4|#T#X3x#X#Y6k#Y#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~6pX%O~{|+T}!O+T!Q![7]!c!}3x#R#S8P#T#o3x$g;'S3x;'S;=`4d<%lO3x~7dXaQ%O~!Q![7]!c!}3x#R#S8P#T#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~8UV%O~!Q![7]!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~8rVaQ%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~9[TO#S9X#S#T$v#T;'S9X;'S;=`9k<%lO9X~9nP;=`<%l9X~9vOj~~9{Q%`~!_!`&X#p#q:R~:WO%q~~:]Oi~~:bO{~",tokenizers:[aO,1,2,new Y("j~RQYZXz{^~^O$|~~aP!P!Qd~iO$}~~",25,181)],topRules:{SourceFile:[0,3]},dynamicPrecedences:{19:1,51:-1,55:2,69:-1,108:-1},specialized:[{term:184,get:Q=>nO[Q]||-1}],tokenPrec:5451}),oO=[X("func ${name}(${params}) ${type} {\n ${}\n}",{label:"func",detail:"declaration",type:"keyword"}),X("func (${receiver}) ${name}(${params}) ${type} {\n ${}\n}",{label:"func",detail:"method declaration",type:"keyword"}),X("var ${name} = ${value}",{label:"var",detail:"declaration",type:"keyword"}),X("type ${name} ${type}",{label:"type",detail:"declaration",type:"keyword"}),X("const ${name} = ${value}",{label:"const",detail:"declaration",type:"keyword"}),X("type ${name} = ${type}",{label:"type",detail:"alias declaration",type:"keyword"}),X("for ${init}; ${test}; ${update} {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),X("for ${i} := range ${value} {\n ${}\n}",{label:"for",detail:"range",type:"keyword"}),X(`select { +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-DFIAjitZ.js \${} }`,{label:"select",detail:"statement",type:"keyword"}),X("case ${}:\n${}",{label:"case",type:"keyword"}),X("switch ${} {\n ${}\n}",{label:"switch",detail:"statement",type:"keyword"}),X("switch ${}.(${type}) {\n ${}\n}",{label:"switch",detail:"type statement",type:"keyword"}),X("if ${} {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),X(`if \${} { \${} diff --git a/frontend/dist/assets/index-D0wqu88j.js b/frontend/dist/assets/index-D0wqu88j.js index 5255c91..dff4600 100644 --- a/frontend/dist/assets/index-D0wqu88j.js +++ b/frontend/dist/assets/index-D0wqu88j.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-D0wqu88j.js import{aK as Qe,j as d,N as wt,c4 as St,J as Ie,b as Ct,i as Ee,bQ as _e,aR as It,R as L,a5 as Et,bq as Nt,bZ as et,ak as je,d as zt,bR as Mt,bF as Pt,a as Ue,aT as Ne,a7 as kt,D as ce,G as Vt,P as H,H as Tt,a9 as Lt,o as c,c as P,g as v,M as ze,n as h,f as o,h as ee,q as D,e as E,w as j,r as U,E as W,Y as We,aL as de,aU as K,al as fe,aa as ve,y as Y,bt as Rt,a3 as Ke,c5 as Bt,c6 as Ot,c7 as $t,a8 as Ft,l as At}from"./index-CD29OCdJ.js";import{U as pe,C as Ye,I as Me,r as Gt,c as Xe}from"./raf-DGtHIxe2.js";import{u as Ht,a as Dt}from"./index-C8FAS7l2.js";import{b as jt,d as Ut,e as Wt,c as Kt}from"./index-6OTFNiIi.js";import{u as Yt}from"./index-DpY84JwG.js";const Xt=["class","style"],qt=/^on[A-Z]/,Zt=(e={})=>{const{excludeListeners:r=!1,excludeKeys:I}=e,t=d(()=>((I==null?void 0:I.value)||[]).concat(Xt)),l=wt();return l?d(()=>{var u;return St(Object.entries((u=l.proxy)==null?void 0:u.$attrs).filter(([p])=>!t.value.includes(p)&&!(r&&qt.test(p))))}):(Qe("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),d(()=>({})))};function Jt(e){let r;function I(){if(e.value==null)return;const{selectionStart:l,selectionEnd:u,value:p}=e.value;l==null||u==null||(r={selectionStart:l,selectionEnd:u,value:p,beforeTxt:p.slice(0,Math.max(0,l)),afterTxt:p.slice(Math.max(0,u))})}function t(){if(e.value==null||r==null)return;const{value:l}=e.value,{beforeTxt:u,afterTxt:p,selectionStart:g}=r;if(u==null||p==null||g==null)return;let N=l.length;if(l.endsWith(p))N=l.length-p.length;else if(l.startsWith(u))N=u.length;else{const R=u[g-1],b=l.indexOf(R,g-1);b!==-1&&(N=b+1)}e.value.setSelectionRange(N,N)}return[I,t]}const Qt=Ct({id:{type:String,default:void 0},size:It,disabled:{type:Boolean,default:void 0},modelValue:{type:L([String,Number,Object]),default:""},modelModifiers:{type:L(Object),default:()=>({})},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:L(String),default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:L([Boolean,Object]),default:!1},autocomplete:{type:L(String),default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,clearIcon:{type:Ee,default:_e},showPassword:Boolean,showWordLimit:Boolean,wordLimitPosition:{type:String,values:["inside","outside"],default:"inside"},suffixIcon:{type:Ee},prefixIcon:{type:Ee},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:L([Object,Array,String,Boolean]),default:()=>Et({})},countGraphemes:{type:L(Function)},autofocus:Boolean,rows:{type:Number,default:2},...Yt(["ariaLabel"]),inputmode:{type:L(String),default:void 0},name:String}),_t={[pe]:e=>Ie(e),input:e=>Ie(e),change:(e,r)=>Ie(e)&&(r instanceof Event||r===void 0),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:e=>e===void 0||e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent};Nt(_e);let y;const ea={height:"0",visibility:"hidden",overflow:et()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},ta=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],qe=e=>{const r=Number.parseFloat(e);return Number.isNaN(r)?e:r};function aa(e){const r=window.getComputedStyle(e),I=r.getPropertyValue("box-sizing"),t=Number.parseFloat(r.getPropertyValue("padding-bottom"))+Number.parseFloat(r.getPropertyValue("padding-top")),l=Number.parseFloat(r.getPropertyValue("border-bottom-width"))+Number.parseFloat(r.getPropertyValue("border-top-width"));return{contextStyle:ta.map(u=>[u,r.getPropertyValue(u)]),paddingSize:t,borderSize:l,boxSizing:I}}function Ze(e,r=1,I){var b;if(!y){y=document.createElement("textarea");let f=document.body;!et()&&e.parentNode&&(f=e.parentNode),f.appendChild(y)}const{paddingSize:t,borderSize:l,boxSizing:u,contextStyle:p}=aa(e);p.forEach(([f,m])=>y==null?void 0:y.style.setProperty(f,m)),Object.entries(ea).forEach(([f,m])=>y==null?void 0:y.style.setProperty(f,m,"important")),y.value=e.value||e.placeholder||"";let g=y.scrollHeight;const N={};u==="border-box"?g=g+l:u==="content-box"&&(g=g-t),y.value="";const R=y.scrollHeight-t;if(je(r)){let f=R*r;u==="border-box"&&(f=f+t+l),g=Math.max(f,g),N.minHeight=`${f}px`}if(je(I)){let f=R*I;u==="border-box"&&(f=f+t+l),g=Math.min(f,g)}return N.height=`${g}px`,(b=y.parentNode)==null||b.removeChild(y),y=void 0,N}const oa=["id","name","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","role","inputmode"],na=["id","name","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","role","inputmode"],Je="ElInput";var sa=zt({name:Je,inheritAttrs:!1,__name:"input",props:Qt,emits:_t,setup(e,{expose:r,emit:I}){const t=e,l=I,u=Mt(),p=Pt(),g=d(()=>[t.type==="textarea"?X.b():i.b(),i.m(tt.value),i.is("disabled",B.value),i.is("exceed",st.value),{[i.b("group")]:p.prepend||p.append,[i.m("prefix")]:p.prefix||t.prefixIcon,[i.m("suffix")]:p.suffix||t.suffixIcon||t.clearable||t.showPassword,[i.bm("suffix","password-clear")]:ne.value&&ge.value,[i.b("hidden")]:t.type==="hidden"},u.class]),N=d(()=>[i.e("wrapper"),i.is("focus",he.value)]),R=Zt(),b=d(()=>{var a;return(a=t.maxlength)==null?void 0:a.toString()}),{form:f,formItem:m}=jt(),{inputId:Pe}=Ut(t,{formItemContext:m}),tt=Wt(),B=Kt(),i=Ue("input"),X=Ue("textarea"),te=Ne(),M=Ne(),me=Y(!1),O=Y(!1),ke=Y(),Ve=Y(),ae=Ne(t.inputStyle),q=Y(""),oe=Y(),w=d(()=>te.value||M.value),{wrapperRef:at,isFocused:he,handleFocus:Te,handleBlur:Le}=Ht(w,{disabled:B,afterBlur(){var a;t.validateEvent&&((a=m==null?void 0:m.validate)==null||a.call(m,"blur").catch(K))}}),Re=d(()=>(f==null?void 0:f.statusIcon)??!1),Z=d(()=>(m==null?void 0:m.validateState)||""),Be=d(()=>Z.value&&Bt[Z.value]),ot=d(()=>O.value?Ot:$t),nt=d(()=>[u.style]),Oe=d(()=>[t.inputStyle,ae.value,{resize:t.resize},oe.value?{height:oe.value}:void 0]),k=d(()=>Ft(t.modelValue)?"":String(t.modelValue)),ye=d(()=>t.clearable&&!B.value&&!t.readonly),ne=d(()=>ye.value&&!!k.value&&(he.value||me.value)),ge=d(()=>t.showPassword&&!B.value&&!!k.value),$=d(()=>t.showWordLimit&&!!b.value&&(t.type==="text"||t.type==="textarea")&&!B.value&&!t.readonly&&!t.showPassword),be=d(()=>t.countGraphemes&&t.showWordLimit?t.countGraphemes(k.value):k.value.length),st=d(()=>!!$.value&&be.value>Number(b.value)),it=d(()=>!!p.suffix||!!t.suffixIcon||t.clearable||t.showPassword||$.value||!!Z.value&&Re.value),lt=d(()=>!!Object.keys(t.modelModifiers).length),[rt,ut]=Jt(te);let F;kt(M,a=>{if(ct(),!$.value&&!ye.value||t.resize!=="both"&&t.resize!=="horizontal")return;const{width:n}=a[0].target.getBoundingClientRect(),s=()=>{F=void 0,ke.value={right:`calc(100% - ${n-10}px)`},Ve.value={right:`calc(100% - ${n-11}px)`}};F&&Xe(F),F=Gt(s)});const J=()=>{const{type:a,autosize:n}=t;if(!(!Rt||a!=="textarea"||!M.value))if(n){const s=Ke(n)?n.minRows:void 0,S=Ke(n)?n.maxRows:void 0,C=Ze(M.value,s,S);ae.value={overflowY:"hidden",...C},H(()=>{M.value.offsetHeight,ae.value=C})}else ae.value={minHeight:Ze(M.value).minHeight}},ct=(a=>{let n=!1;return()=>{var s;if(n||!t.autosize){t.resize!=="none"&&setTimeout(()=>{var S;oe.value=(S=M.value)==null?void 0:S.style.height});return}((s=M.value)==null?void 0:s.offsetParent)!==null&&(setTimeout(a),n=!0)}})(J),A=()=>{const a=w.value,n=t.formatter?t.formatter(k.value):k.value;!a||a.value===n||t.type==="file"||(a.value=n)},$e=a=>{const{trim:n,number:s}=t.modelModifiers;return n&&(a=a.trim()),s&&(a=`${qe(a)}`),t.formatter&&t.parser&&(a=t.parser(a)),a},xe=async a=>{if(Ae.value)return;const{lazy:n}=t.modelModifiers;let{value:s}=a.target,S=!1;if(n){l(Me,s);return}if(s=$e(s),t.countGraphemes&&b.value!=null){const C=Number(b.value),re=t.countGraphemes(s),G=t.countGraphemes(q.value);if(re>C&&re>G)if(G>C)s=q.value,S=!0;else{const V=q.value,z=s;let x=0;for(;xx&&Q>x&&V[T-1]===z[Q-1];)T--,Q--;const yt=z.slice(0,x),gt=V.slice(x,T),He=z.slice(x,Q),bt=z.slice(Q),xt=G-t.countGraphemes(gt),Se=Math.max(0,C-xt);let _="";if(Se>0)if(typeof Intl<"u"&&"Segmenter"in Intl){const Ce=new Intl.Segmenter(void 0,{granularity:"grapheme"});for(const{segment:ue}of Ce.segment(He)){const De=_+ue;if(t.countGraphemes(De)>Se)break;_=De}}else for(const Ce of Array.from(He)){const ue=_+Ce;if(t.countGraphemes(ue)>Se)break;_=ue}s=yt+_+bt,S=!0}}if(String(s)===k.value){if(t.formatter||S){const C=a.target,re=C.value,G=C.selectionStart,V=C.selectionEnd;if(A(),S&&w.value&&G!=null&&V!=null){const z=w.value.value,x=re.slice(Math.max(0,V));let T=Math.min(G,z.length);x&&z.endsWith(x)&&(T=z.length-x.length),w.value.setSelectionRange(T,T)}}return}q.value=s,rt(),l(pe,s),l(Me,s),await H(),(t.formatter&&t.parser||!lt.value)&&A(),ut()},Fe=async a=>{let{value:n}=a.target;n=$e(n),t.modelModifiers.lazy&&l(pe,n),l(Ye,n,a),await H(),A()},{isComposing:Ae,handleCompositionStart:se,handleCompositionUpdate:ie,handleCompositionEnd:le}=Dt({emit:l,afterComposition:xe}),dt=()=>{O.value=!O.value},ft=()=>{var a;return(a=w.value)==null?void 0:a.focus()},vt=()=>{var a;return(a=w.value)==null?void 0:a.blur()},pt=a=>{me.value=!1,l("mouseleave",a)},mt=a=>{me.value=!0,l("mouseenter",a)},Ge=a=>{l("keydown",a)},ht=()=>{var a;(a=w.value)==null||a.select()},we=a=>{l(pe,""),l(Ye,""),l("clear",a),l(Me,"")};return ce(()=>t.modelValue,()=>{var a;H(()=>{J(),t.autosize&&(oe.value=void 0)}),t.validateEvent&&((a=m==null?void 0:m.validate)==null||a.call(m,"change").catch(K))}),ce(()=>k.value,a=>{q.value=a},{immediate:!0}),ce(k,a=>{if(!w.value)return;const{trim:n,number:s}=t.modelModifiers,S=w.value.value,C=(s||t.type==="number")&&!/^0\d/.test(S)?`${qe(S)}`:S;C!==a&&(document.activeElement===w.value&&w.value.type!=="range"&&n&&C.trim()===a||A())}),ce(()=>t.type,async()=>{await H(),A(),J()}),Vt(()=>{!t.formatter&&t.parser&&Qe(Je,"If you set the parser, you also need to set the formatter."),A(),H(J)}),Tt(()=>{F&&Xe(F)}),r({input:te,textarea:M,ref:w,textareaStyle:Oe,autosize:Lt(t,"autosize"),isComposing:Ae,passwordVisible:O,focus:ft,blur:vt,select:ht,clear:we,resizeTextarea:J}),(a,n)=>(c(),P("div",{class:h([g.value,{[o(i).bm("group","append")]:a.$slots.append,[o(i).bm("group","prepend")]:a.$slots.prepend}]),style:fe(nt.value),onMouseenter:mt,onMouseleave:pt},[v(" input "),e.type!=="textarea"?(c(),P(ze,{key:0},[v(" prepend slot "),a.$slots.prepend?(c(),P("div",{key:0,class:h(o(i).be("group","prepend"))},[ee(a.$slots,"prepend")],2)):v("v-if",!0),D("div",{ref_key:"wrapperRef",ref:at,class:h(N.value)},[v(" prefix slot "),a.$slots.prefix||e.prefixIcon?(c(),P("span",{key:0,class:h(o(i).e("prefix"))},[D("span",{class:h(o(i).e("prefix-inner"))},[ee(a.$slots,"prefix"),e.prefixIcon?(c(),E(o(W),{key:0,class:h(o(i).e("icon"))},{default:j(()=>[(c(),E(U(e.prefixIcon)))]),_:1},8,["class"])):v("v-if",!0)],2)],2)):v("v-if",!0),D("input",We({id:o(Pe),ref_key:"input",ref:te,class:o(i).e("inner")},o(R),{name:e.name,minlength:e.countGraphemes?void 0:e.minlength,maxlength:e.countGraphemes?void 0:b.value,type:e.showPassword?O.value?"text":"password":e.type,disabled:o(B),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.ariaLabel,placeholder:e.placeholder,style:e.inputStyle,form:e.form,autofocus:e.autofocus,role:e.containerRole,inputmode:e.inputmode,onCompositionstart:n[0]||(n[0]=(...s)=>o(se)&&o(se)(...s)),onCompositionupdate:n[1]||(n[1]=(...s)=>o(ie)&&o(ie)(...s)),onCompositionend:n[2]||(n[2]=(...s)=>o(le)&&o(le)(...s)),onInput:xe,onChange:Fe,onKeydown:Ge}),null,16,oa),v(" suffix slot "),it.value?(c(),P("span",{key:1,class:h(o(i).e("suffix"))},[D("span",{class:h(o(i).e("suffix-inner"))},[ye.value?(c(),E(o(W),{key:0,class:h([o(i).e("icon"),o(i).e("clear")]),style:fe({visibility:ne.value?"visible":"hidden"}),onMousedown:de(o(K),["prevent"]),onClick:we},{default:j(()=>[(c(),E(U(e.clearIcon)))]),_:1},8,["class","style","onMousedown"])):v("v-if",!0),!ne.value||!ge.value||!$.value?(c(),P(ze,{key:1},[ee(a.$slots,"suffix"),e.suffixIcon?(c(),E(o(W),{key:0,class:h(o(i).e("icon"))},{default:j(()=>[(c(),E(U(e.suffixIcon)))]),_:1},8,["class"])):v("v-if",!0)],64)):v("v-if",!0),ge.value?(c(),E(o(W),{key:2,class:h([o(i).e("icon"),o(i).e("password")]),onClick:dt,onMousedown:de(o(K),["prevent"]),onMouseup:de(o(K),["prevent"])},{default:j(()=>[ee(a.$slots,"password-icon",{visible:O.value},()=>[(c(),E(U(ot.value)))])]),_:3},8,["class","onMousedown","onMouseup"])):v("v-if",!0),$.value?(c(),P("span",{key:3,class:h([o(i).e("count"),o(i).is("outside",e.wordLimitPosition==="outside")])},[D("span",{class:h(o(i).e("count-inner"))},ve(be.value)+" / "+ve(b.value),3)],2)):v("v-if",!0),Z.value&&Be.value&&Re.value?(c(),E(o(W),{key:4,class:h([o(i).e("icon"),o(i).e("validateIcon"),o(i).is("loading",Z.value==="validating")])},{default:j(()=>[(c(),E(U(Be.value)))]),_:1},8,["class"])):v("v-if",!0)],2)],2)):v("v-if",!0)],2),v(" append slot "),a.$slots.append?(c(),P("div",{key:1,class:h(o(i).be("group","append"))},[ee(a.$slots,"append")],2)):v("v-if",!0)],64)):(c(),P(ze,{key:1},[v(" textarea "),D("textarea",We({id:o(Pe),ref_key:"textarea",ref:M,class:[o(X).e("inner"),o(i).is("focus",o(he)),o(X).is("clearable",e.clearable)]},o(R),{name:e.name,minlength:e.countGraphemes?void 0:e.minlength,maxlength:e.countGraphemes?void 0:b.value,tabindex:e.tabindex,disabled:o(B),readonly:e.readonly,autocomplete:e.autocomplete,style:Oe.value,"aria-label":e.ariaLabel,placeholder:e.placeholder,form:e.form,autofocus:e.autofocus,rows:e.rows,role:e.containerRole,inputmode:e.inputmode,onCompositionstart:n[3]||(n[3]=(...s)=>o(se)&&o(se)(...s)),onCompositionupdate:n[4]||(n[4]=(...s)=>o(ie)&&o(ie)(...s)),onCompositionend:n[5]||(n[5]=(...s)=>o(le)&&o(le)(...s)),onInput:xe,onFocus:n[6]||(n[6]=(...s)=>o(Te)&&o(Te)(...s)),onBlur:n[7]||(n[7]=(...s)=>o(Le)&&o(Le)(...s)),onChange:Fe,onKeydown:Ge}),null,16,na),ne.value?(c(),E(o(W),{key:0,class:h([o(X).e("icon"),o(X).e("clear")]),style:fe(Ve.value),onMousedown:de(o(K),["prevent"]),onClick:we},{default:j(()=>[(c(),E(U(e.clearIcon)))]),_:1},8,["class","style","onMousedown"])):v("v-if",!0),$.value?(c(),P("span",{key:1,style:fe(ke.value),class:h([o(i).e("count"),o(i).is("outside",e.wordLimitPosition==="outside")])},ve(be.value)+" / "+ve(b.value),7)):v("v-if",!0)],64))],38))}}),ia=sa;const va=At(ia);export{va as E,Zt as u}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-h5FkzAP_.js +import{aK as Qe,j as d,N as wt,c4 as St,J as Ie,b as Ct,i as Ee,bQ as _e,aR as It,R as L,a5 as Et,bq as Nt,bZ as et,ak as je,d as zt,bR as Mt,bF as Pt,a as Ue,aT as Ne,a7 as kt,D as ce,G as Vt,P as H,H as Tt,a9 as Lt,o as c,c as P,g as v,M as ze,n as h,f as o,h as ee,q as D,e as E,w as j,r as U,E as W,Y as We,aL as de,aU as K,al as fe,aa as ve,y as Y,bt as Rt,a3 as Ke,c5 as Bt,c6 as Ot,c7 as $t,a8 as Ft,l as At}from"./index-Ds9AETjS.js";import{U as pe,C as Ye,I as Me,r as Gt,c as Xe}from"./raf-zQ00nuMI.js";import{u as Ht,a as Dt}from"./index-B0if-AHo.js";import{b as jt,d as Ut,e as Wt,c as Kt}from"./index-BNsCyG4A.js";import{u as Yt}from"./index-BSbCLbaz.js";const Xt=["class","style"],qt=/^on[A-Z]/,Zt=(e={})=>{const{excludeListeners:r=!1,excludeKeys:I}=e,t=d(()=>((I==null?void 0:I.value)||[]).concat(Xt)),l=wt();return l?d(()=>{var u;return St(Object.entries((u=l.proxy)==null?void 0:u.$attrs).filter(([p])=>!t.value.includes(p)&&!(r&&qt.test(p))))}):(Qe("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),d(()=>({})))};function Jt(e){let r;function I(){if(e.value==null)return;const{selectionStart:l,selectionEnd:u,value:p}=e.value;l==null||u==null||(r={selectionStart:l,selectionEnd:u,value:p,beforeTxt:p.slice(0,Math.max(0,l)),afterTxt:p.slice(Math.max(0,u))})}function t(){if(e.value==null||r==null)return;const{value:l}=e.value,{beforeTxt:u,afterTxt:p,selectionStart:g}=r;if(u==null||p==null||g==null)return;let N=l.length;if(l.endsWith(p))N=l.length-p.length;else if(l.startsWith(u))N=u.length;else{const R=u[g-1],b=l.indexOf(R,g-1);b!==-1&&(N=b+1)}e.value.setSelectionRange(N,N)}return[I,t]}const Qt=Ct({id:{type:String,default:void 0},size:It,disabled:{type:Boolean,default:void 0},modelValue:{type:L([String,Number,Object]),default:""},modelModifiers:{type:L(Object),default:()=>({})},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:L(String),default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:L([Boolean,Object]),default:!1},autocomplete:{type:L(String),default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,clearIcon:{type:Ee,default:_e},showPassword:Boolean,showWordLimit:Boolean,wordLimitPosition:{type:String,values:["inside","outside"],default:"inside"},suffixIcon:{type:Ee},prefixIcon:{type:Ee},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:L([Object,Array,String,Boolean]),default:()=>Et({})},countGraphemes:{type:L(Function)},autofocus:Boolean,rows:{type:Number,default:2},...Yt(["ariaLabel"]),inputmode:{type:L(String),default:void 0},name:String}),_t={[pe]:e=>Ie(e),input:e=>Ie(e),change:(e,r)=>Ie(e)&&(r instanceof Event||r===void 0),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:e=>e===void 0||e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent};Nt(_e);let y;const ea={height:"0",visibility:"hidden",overflow:et()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},ta=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],qe=e=>{const r=Number.parseFloat(e);return Number.isNaN(r)?e:r};function aa(e){const r=window.getComputedStyle(e),I=r.getPropertyValue("box-sizing"),t=Number.parseFloat(r.getPropertyValue("padding-bottom"))+Number.parseFloat(r.getPropertyValue("padding-top")),l=Number.parseFloat(r.getPropertyValue("border-bottom-width"))+Number.parseFloat(r.getPropertyValue("border-top-width"));return{contextStyle:ta.map(u=>[u,r.getPropertyValue(u)]),paddingSize:t,borderSize:l,boxSizing:I}}function Ze(e,r=1,I){var b;if(!y){y=document.createElement("textarea");let f=document.body;!et()&&e.parentNode&&(f=e.parentNode),f.appendChild(y)}const{paddingSize:t,borderSize:l,boxSizing:u,contextStyle:p}=aa(e);p.forEach(([f,m])=>y==null?void 0:y.style.setProperty(f,m)),Object.entries(ea).forEach(([f,m])=>y==null?void 0:y.style.setProperty(f,m,"important")),y.value=e.value||e.placeholder||"";let g=y.scrollHeight;const N={};u==="border-box"?g=g+l:u==="content-box"&&(g=g-t),y.value="";const R=y.scrollHeight-t;if(je(r)){let f=R*r;u==="border-box"&&(f=f+t+l),g=Math.max(f,g),N.minHeight=`${f}px`}if(je(I)){let f=R*I;u==="border-box"&&(f=f+t+l),g=Math.min(f,g)}return N.height=`${g}px`,(b=y.parentNode)==null||b.removeChild(y),y=void 0,N}const oa=["id","name","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","role","inputmode"],na=["id","name","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","role","inputmode"],Je="ElInput";var sa=zt({name:Je,inheritAttrs:!1,__name:"input",props:Qt,emits:_t,setup(e,{expose:r,emit:I}){const t=e,l=I,u=Mt(),p=Pt(),g=d(()=>[t.type==="textarea"?X.b():i.b(),i.m(tt.value),i.is("disabled",B.value),i.is("exceed",st.value),{[i.b("group")]:p.prepend||p.append,[i.m("prefix")]:p.prefix||t.prefixIcon,[i.m("suffix")]:p.suffix||t.suffixIcon||t.clearable||t.showPassword,[i.bm("suffix","password-clear")]:ne.value&&ge.value,[i.b("hidden")]:t.type==="hidden"},u.class]),N=d(()=>[i.e("wrapper"),i.is("focus",he.value)]),R=Zt(),b=d(()=>{var a;return(a=t.maxlength)==null?void 0:a.toString()}),{form:f,formItem:m}=jt(),{inputId:Pe}=Ut(t,{formItemContext:m}),tt=Wt(),B=Kt(),i=Ue("input"),X=Ue("textarea"),te=Ne(),M=Ne(),me=Y(!1),O=Y(!1),ke=Y(),Ve=Y(),ae=Ne(t.inputStyle),q=Y(""),oe=Y(),w=d(()=>te.value||M.value),{wrapperRef:at,isFocused:he,handleFocus:Te,handleBlur:Le}=Ht(w,{disabled:B,afterBlur(){var a;t.validateEvent&&((a=m==null?void 0:m.validate)==null||a.call(m,"blur").catch(K))}}),Re=d(()=>(f==null?void 0:f.statusIcon)??!1),Z=d(()=>(m==null?void 0:m.validateState)||""),Be=d(()=>Z.value&&Bt[Z.value]),ot=d(()=>O.value?Ot:$t),nt=d(()=>[u.style]),Oe=d(()=>[t.inputStyle,ae.value,{resize:t.resize},oe.value?{height:oe.value}:void 0]),k=d(()=>Ft(t.modelValue)?"":String(t.modelValue)),ye=d(()=>t.clearable&&!B.value&&!t.readonly),ne=d(()=>ye.value&&!!k.value&&(he.value||me.value)),ge=d(()=>t.showPassword&&!B.value&&!!k.value),$=d(()=>t.showWordLimit&&!!b.value&&(t.type==="text"||t.type==="textarea")&&!B.value&&!t.readonly&&!t.showPassword),be=d(()=>t.countGraphemes&&t.showWordLimit?t.countGraphemes(k.value):k.value.length),st=d(()=>!!$.value&&be.value>Number(b.value)),it=d(()=>!!p.suffix||!!t.suffixIcon||t.clearable||t.showPassword||$.value||!!Z.value&&Re.value),lt=d(()=>!!Object.keys(t.modelModifiers).length),[rt,ut]=Jt(te);let F;kt(M,a=>{if(ct(),!$.value&&!ye.value||t.resize!=="both"&&t.resize!=="horizontal")return;const{width:n}=a[0].target.getBoundingClientRect(),s=()=>{F=void 0,ke.value={right:`calc(100% - ${n-10}px)`},Ve.value={right:`calc(100% - ${n-11}px)`}};F&&Xe(F),F=Gt(s)});const J=()=>{const{type:a,autosize:n}=t;if(!(!Rt||a!=="textarea"||!M.value))if(n){const s=Ke(n)?n.minRows:void 0,S=Ke(n)?n.maxRows:void 0,C=Ze(M.value,s,S);ae.value={overflowY:"hidden",...C},H(()=>{M.value.offsetHeight,ae.value=C})}else ae.value={minHeight:Ze(M.value).minHeight}},ct=(a=>{let n=!1;return()=>{var s;if(n||!t.autosize){t.resize!=="none"&&setTimeout(()=>{var S;oe.value=(S=M.value)==null?void 0:S.style.height});return}((s=M.value)==null?void 0:s.offsetParent)!==null&&(setTimeout(a),n=!0)}})(J),A=()=>{const a=w.value,n=t.formatter?t.formatter(k.value):k.value;!a||a.value===n||t.type==="file"||(a.value=n)},$e=a=>{const{trim:n,number:s}=t.modelModifiers;return n&&(a=a.trim()),s&&(a=`${qe(a)}`),t.formatter&&t.parser&&(a=t.parser(a)),a},xe=async a=>{if(Ae.value)return;const{lazy:n}=t.modelModifiers;let{value:s}=a.target,S=!1;if(n){l(Me,s);return}if(s=$e(s),t.countGraphemes&&b.value!=null){const C=Number(b.value),re=t.countGraphemes(s),G=t.countGraphemes(q.value);if(re>C&&re>G)if(G>C)s=q.value,S=!0;else{const V=q.value,z=s;let x=0;for(;xx&&Q>x&&V[T-1]===z[Q-1];)T--,Q--;const yt=z.slice(0,x),gt=V.slice(x,T),He=z.slice(x,Q),bt=z.slice(Q),xt=G-t.countGraphemes(gt),Se=Math.max(0,C-xt);let _="";if(Se>0)if(typeof Intl<"u"&&"Segmenter"in Intl){const Ce=new Intl.Segmenter(void 0,{granularity:"grapheme"});for(const{segment:ue}of Ce.segment(He)){const De=_+ue;if(t.countGraphemes(De)>Se)break;_=De}}else for(const Ce of Array.from(He)){const ue=_+Ce;if(t.countGraphemes(ue)>Se)break;_=ue}s=yt+_+bt,S=!0}}if(String(s)===k.value){if(t.formatter||S){const C=a.target,re=C.value,G=C.selectionStart,V=C.selectionEnd;if(A(),S&&w.value&&G!=null&&V!=null){const z=w.value.value,x=re.slice(Math.max(0,V));let T=Math.min(G,z.length);x&&z.endsWith(x)&&(T=z.length-x.length),w.value.setSelectionRange(T,T)}}return}q.value=s,rt(),l(pe,s),l(Me,s),await H(),(t.formatter&&t.parser||!lt.value)&&A(),ut()},Fe=async a=>{let{value:n}=a.target;n=$e(n),t.modelModifiers.lazy&&l(pe,n),l(Ye,n,a),await H(),A()},{isComposing:Ae,handleCompositionStart:se,handleCompositionUpdate:ie,handleCompositionEnd:le}=Dt({emit:l,afterComposition:xe}),dt=()=>{O.value=!O.value},ft=()=>{var a;return(a=w.value)==null?void 0:a.focus()},vt=()=>{var a;return(a=w.value)==null?void 0:a.blur()},pt=a=>{me.value=!1,l("mouseleave",a)},mt=a=>{me.value=!0,l("mouseenter",a)},Ge=a=>{l("keydown",a)},ht=()=>{var a;(a=w.value)==null||a.select()},we=a=>{l(pe,""),l(Ye,""),l("clear",a),l(Me,"")};return ce(()=>t.modelValue,()=>{var a;H(()=>{J(),t.autosize&&(oe.value=void 0)}),t.validateEvent&&((a=m==null?void 0:m.validate)==null||a.call(m,"change").catch(K))}),ce(()=>k.value,a=>{q.value=a},{immediate:!0}),ce(k,a=>{if(!w.value)return;const{trim:n,number:s}=t.modelModifiers,S=w.value.value,C=(s||t.type==="number")&&!/^0\d/.test(S)?`${qe(S)}`:S;C!==a&&(document.activeElement===w.value&&w.value.type!=="range"&&n&&C.trim()===a||A())}),ce(()=>t.type,async()=>{await H(),A(),J()}),Vt(()=>{!t.formatter&&t.parser&&Qe(Je,"If you set the parser, you also need to set the formatter."),A(),H(J)}),Tt(()=>{F&&Xe(F)}),r({input:te,textarea:M,ref:w,textareaStyle:Oe,autosize:Lt(t,"autosize"),isComposing:Ae,passwordVisible:O,focus:ft,blur:vt,select:ht,clear:we,resizeTextarea:J}),(a,n)=>(c(),P("div",{class:h([g.value,{[o(i).bm("group","append")]:a.$slots.append,[o(i).bm("group","prepend")]:a.$slots.prepend}]),style:fe(nt.value),onMouseenter:mt,onMouseleave:pt},[v(" input "),e.type!=="textarea"?(c(),P(ze,{key:0},[v(" prepend slot "),a.$slots.prepend?(c(),P("div",{key:0,class:h(o(i).be("group","prepend"))},[ee(a.$slots,"prepend")],2)):v("v-if",!0),D("div",{ref_key:"wrapperRef",ref:at,class:h(N.value)},[v(" prefix slot "),a.$slots.prefix||e.prefixIcon?(c(),P("span",{key:0,class:h(o(i).e("prefix"))},[D("span",{class:h(o(i).e("prefix-inner"))},[ee(a.$slots,"prefix"),e.prefixIcon?(c(),E(o(W),{key:0,class:h(o(i).e("icon"))},{default:j(()=>[(c(),E(U(e.prefixIcon)))]),_:1},8,["class"])):v("v-if",!0)],2)],2)):v("v-if",!0),D("input",We({id:o(Pe),ref_key:"input",ref:te,class:o(i).e("inner")},o(R),{name:e.name,minlength:e.countGraphemes?void 0:e.minlength,maxlength:e.countGraphemes?void 0:b.value,type:e.showPassword?O.value?"text":"password":e.type,disabled:o(B),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.ariaLabel,placeholder:e.placeholder,style:e.inputStyle,form:e.form,autofocus:e.autofocus,role:e.containerRole,inputmode:e.inputmode,onCompositionstart:n[0]||(n[0]=(...s)=>o(se)&&o(se)(...s)),onCompositionupdate:n[1]||(n[1]=(...s)=>o(ie)&&o(ie)(...s)),onCompositionend:n[2]||(n[2]=(...s)=>o(le)&&o(le)(...s)),onInput:xe,onChange:Fe,onKeydown:Ge}),null,16,oa),v(" suffix slot "),it.value?(c(),P("span",{key:1,class:h(o(i).e("suffix"))},[D("span",{class:h(o(i).e("suffix-inner"))},[ye.value?(c(),E(o(W),{key:0,class:h([o(i).e("icon"),o(i).e("clear")]),style:fe({visibility:ne.value?"visible":"hidden"}),onMousedown:de(o(K),["prevent"]),onClick:we},{default:j(()=>[(c(),E(U(e.clearIcon)))]),_:1},8,["class","style","onMousedown"])):v("v-if",!0),!ne.value||!ge.value||!$.value?(c(),P(ze,{key:1},[ee(a.$slots,"suffix"),e.suffixIcon?(c(),E(o(W),{key:0,class:h(o(i).e("icon"))},{default:j(()=>[(c(),E(U(e.suffixIcon)))]),_:1},8,["class"])):v("v-if",!0)],64)):v("v-if",!0),ge.value?(c(),E(o(W),{key:2,class:h([o(i).e("icon"),o(i).e("password")]),onClick:dt,onMousedown:de(o(K),["prevent"]),onMouseup:de(o(K),["prevent"])},{default:j(()=>[ee(a.$slots,"password-icon",{visible:O.value},()=>[(c(),E(U(ot.value)))])]),_:3},8,["class","onMousedown","onMouseup"])):v("v-if",!0),$.value?(c(),P("span",{key:3,class:h([o(i).e("count"),o(i).is("outside",e.wordLimitPosition==="outside")])},[D("span",{class:h(o(i).e("count-inner"))},ve(be.value)+" / "+ve(b.value),3)],2)):v("v-if",!0),Z.value&&Be.value&&Re.value?(c(),E(o(W),{key:4,class:h([o(i).e("icon"),o(i).e("validateIcon"),o(i).is("loading",Z.value==="validating")])},{default:j(()=>[(c(),E(U(Be.value)))]),_:1},8,["class"])):v("v-if",!0)],2)],2)):v("v-if",!0)],2),v(" append slot "),a.$slots.append?(c(),P("div",{key:1,class:h(o(i).be("group","append"))},[ee(a.$slots,"append")],2)):v("v-if",!0)],64)):(c(),P(ze,{key:1},[v(" textarea "),D("textarea",We({id:o(Pe),ref_key:"textarea",ref:M,class:[o(X).e("inner"),o(i).is("focus",o(he)),o(X).is("clearable",e.clearable)]},o(R),{name:e.name,minlength:e.countGraphemes?void 0:e.minlength,maxlength:e.countGraphemes?void 0:b.value,tabindex:e.tabindex,disabled:o(B),readonly:e.readonly,autocomplete:e.autocomplete,style:Oe.value,"aria-label":e.ariaLabel,placeholder:e.placeholder,form:e.form,autofocus:e.autofocus,rows:e.rows,role:e.containerRole,inputmode:e.inputmode,onCompositionstart:n[3]||(n[3]=(...s)=>o(se)&&o(se)(...s)),onCompositionupdate:n[4]||(n[4]=(...s)=>o(ie)&&o(ie)(...s)),onCompositionend:n[5]||(n[5]=(...s)=>o(le)&&o(le)(...s)),onInput:xe,onFocus:n[6]||(n[6]=(...s)=>o(Te)&&o(Te)(...s)),onBlur:n[7]||(n[7]=(...s)=>o(Le)&&o(Le)(...s)),onChange:Fe,onKeydown:Ge}),null,16,na),ne.value?(c(),E(o(W),{key:0,class:h([o(X).e("icon"),o(X).e("clear")]),style:fe(Ve.value),onMousedown:de(o(K),["prevent"]),onClick:we},{default:j(()=>[(c(),E(U(e.clearIcon)))]),_:1},8,["class","style","onMousedown"])):v("v-if",!0),$.value?(c(),P("span",{key:1,style:fe(ke.value),class:h([o(i).e("count"),o(i).is("outside",e.wordLimitPosition==="outside")])},ve(be.value)+" / "+ve(b.value),7)):v("v-if",!0)],64))],38))}}),ia=sa;const va=At(ia);export{va as E,Zt as u}; +======== +import{aK as Je,j as d,N as wt,c4 as St,J as Ie,b as Ct,i as Ee,bQ as _e,aS as It,R as L,a5 as Et,bq as Nt,bZ as et,ak as je,d as zt,bR as Mt,bF as Pt,a as Ue,aQ as Ne,a7 as kt,D as ce,G as Vt,P as H,H as Tt,a9 as Lt,o as c,c as P,g as v,M as ze,n as h,f as o,h as ee,q as D,e as E,w as j,r as U,E as W,Y as We,aL as de,aU as K,al as fe,aa as ve,y as Y,bt as Rt,a3 as Ke,c5 as Bt,c6 as Ot,c7 as $t,a8 as Ft,l as At}from"./index-CxbBjZKo.js";import{U as pe,C as Ye,I as Me,r as Gt,c as Xe}from"./raf-Bjl8yy5U.js";import{u as Ht,a as Dt}from"./index-C4wGR5UT.js";import{b as jt,d as Ut,e as Wt,c as Kt}from"./index-D23K2h6y.js";import{u as Yt}from"./index-DxP0p4ch.js";const Xt=["class","style"],qt=/^on[A-Z]/,Qt=(e={})=>{const{excludeListeners:r=!1,excludeKeys:I}=e,t=d(()=>((I==null?void 0:I.value)||[]).concat(Xt)),l=wt();return l?d(()=>{var u;return St(Object.entries((u=l.proxy)==null?void 0:u.$attrs).filter(([p])=>!t.value.includes(p)&&!(r&&qt.test(p))))}):(Je("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),d(()=>({})))};function Zt(e){let r;function I(){if(e.value==null)return;const{selectionStart:l,selectionEnd:u,value:p}=e.value;l==null||u==null||(r={selectionStart:l,selectionEnd:u,value:p,beforeTxt:p.slice(0,Math.max(0,l)),afterTxt:p.slice(Math.max(0,u))})}function t(){if(e.value==null||r==null)return;const{value:l}=e.value,{beforeTxt:u,afterTxt:p,selectionStart:g}=r;if(u==null||p==null||g==null)return;let N=l.length;if(l.endsWith(p))N=l.length-p.length;else if(l.startsWith(u))N=u.length;else{const R=u[g-1],b=l.indexOf(R,g-1);b!==-1&&(N=b+1)}e.value.setSelectionRange(N,N)}return[I,t]}const Jt=Ct({id:{type:String,default:void 0},size:It,disabled:{type:Boolean,default:void 0},modelValue:{type:L([String,Number,Object]),default:""},modelModifiers:{type:L(Object),default:()=>({})},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:L(String),default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:L([Boolean,Object]),default:!1},autocomplete:{type:L(String),default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,clearIcon:{type:Ee,default:_e},showPassword:Boolean,showWordLimit:Boolean,wordLimitPosition:{type:String,values:["inside","outside"],default:"inside"},suffixIcon:{type:Ee},prefixIcon:{type:Ee},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:L([Object,Array,String,Boolean]),default:()=>Et({})},countGraphemes:{type:L(Function)},autofocus:Boolean,rows:{type:Number,default:2},...Yt(["ariaLabel"]),inputmode:{type:L(String),default:void 0},name:String}),_t={[pe]:e=>Ie(e),input:e=>Ie(e),change:(e,r)=>Ie(e)&&(r instanceof Event||r===void 0),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:e=>e===void 0||e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent};Nt(_e);let y;const ea={height:"0",visibility:"hidden",overflow:et()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},ta=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],qe=e=>{const r=Number.parseFloat(e);return Number.isNaN(r)?e:r};function aa(e){const r=window.getComputedStyle(e),I=r.getPropertyValue("box-sizing"),t=Number.parseFloat(r.getPropertyValue("padding-bottom"))+Number.parseFloat(r.getPropertyValue("padding-top")),l=Number.parseFloat(r.getPropertyValue("border-bottom-width"))+Number.parseFloat(r.getPropertyValue("border-top-width"));return{contextStyle:ta.map(u=>[u,r.getPropertyValue(u)]),paddingSize:t,borderSize:l,boxSizing:I}}function Qe(e,r=1,I){var b;if(!y){y=document.createElement("textarea");let f=document.body;!et()&&e.parentNode&&(f=e.parentNode),f.appendChild(y)}const{paddingSize:t,borderSize:l,boxSizing:u,contextStyle:p}=aa(e);p.forEach(([f,m])=>y==null?void 0:y.style.setProperty(f,m)),Object.entries(ea).forEach(([f,m])=>y==null?void 0:y.style.setProperty(f,m,"important")),y.value=e.value||e.placeholder||"";let g=y.scrollHeight;const N={};u==="border-box"?g=g+l:u==="content-box"&&(g=g-t),y.value="";const R=y.scrollHeight-t;if(je(r)){let f=R*r;u==="border-box"&&(f=f+t+l),g=Math.max(f,g),N.minHeight=`${f}px`}if(je(I)){let f=R*I;u==="border-box"&&(f=f+t+l),g=Math.min(f,g)}return N.height=`${g}px`,(b=y.parentNode)==null||b.removeChild(y),y=void 0,N}const oa=["id","name","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","role","inputmode"],na=["id","name","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","role","inputmode"],Ze="ElInput";var sa=zt({name:Ze,inheritAttrs:!1,__name:"input",props:Jt,emits:_t,setup(e,{expose:r,emit:I}){const t=e,l=I,u=Mt(),p=Pt(),g=d(()=>[t.type==="textarea"?X.b():i.b(),i.m(tt.value),i.is("disabled",B.value),i.is("exceed",st.value),{[i.b("group")]:p.prepend||p.append,[i.m("prefix")]:p.prefix||t.prefixIcon,[i.m("suffix")]:p.suffix||t.suffixIcon||t.clearable||t.showPassword,[i.bm("suffix","password-clear")]:ne.value&&ge.value,[i.b("hidden")]:t.type==="hidden"},u.class]),N=d(()=>[i.e("wrapper"),i.is("focus",he.value)]),R=Qt(),b=d(()=>{var a;return(a=t.maxlength)==null?void 0:a.toString()}),{form:f,formItem:m}=jt(),{inputId:Pe}=Ut(t,{formItemContext:m}),tt=Wt(),B=Kt(),i=Ue("input"),X=Ue("textarea"),te=Ne(),M=Ne(),me=Y(!1),O=Y(!1),ke=Y(),Ve=Y(),ae=Ne(t.inputStyle),q=Y(""),oe=Y(),w=d(()=>te.value||M.value),{wrapperRef:at,isFocused:he,handleFocus:Te,handleBlur:Le}=Ht(w,{disabled:B,afterBlur(){var a;t.validateEvent&&((a=m==null?void 0:m.validate)==null||a.call(m,"blur").catch(K))}}),Re=d(()=>(f==null?void 0:f.statusIcon)??!1),Q=d(()=>(m==null?void 0:m.validateState)||""),Be=d(()=>Q.value&&Bt[Q.value]),ot=d(()=>O.value?Ot:$t),nt=d(()=>[u.style]),Oe=d(()=>[t.inputStyle,ae.value,{resize:t.resize},oe.value?{height:oe.value}:void 0]),k=d(()=>Ft(t.modelValue)?"":String(t.modelValue)),ye=d(()=>t.clearable&&!B.value&&!t.readonly),ne=d(()=>ye.value&&!!k.value&&(he.value||me.value)),ge=d(()=>t.showPassword&&!B.value&&!!k.value),$=d(()=>t.showWordLimit&&!!b.value&&(t.type==="text"||t.type==="textarea")&&!B.value&&!t.readonly&&!t.showPassword),be=d(()=>t.countGraphemes&&t.showWordLimit?t.countGraphemes(k.value):k.value.length),st=d(()=>!!$.value&&be.value>Number(b.value)),it=d(()=>!!p.suffix||!!t.suffixIcon||t.clearable||t.showPassword||$.value||!!Q.value&&Re.value),lt=d(()=>!!Object.keys(t.modelModifiers).length),[rt,ut]=Zt(te);let F;kt(M,a=>{if(ct(),!$.value&&!ye.value||t.resize!=="both"&&t.resize!=="horizontal")return;const{width:n}=a[0].target.getBoundingClientRect(),s=()=>{F=void 0,ke.value={right:`calc(100% - ${n-10}px)`},Ve.value={right:`calc(100% - ${n-11}px)`}};F&&Xe(F),F=Gt(s)});const Z=()=>{const{type:a,autosize:n}=t;if(!(!Rt||a!=="textarea"||!M.value))if(n){const s=Ke(n)?n.minRows:void 0,S=Ke(n)?n.maxRows:void 0,C=Qe(M.value,s,S);ae.value={overflowY:"hidden",...C},H(()=>{M.value.offsetHeight,ae.value=C})}else ae.value={minHeight:Qe(M.value).minHeight}},ct=(a=>{let n=!1;return()=>{var s;if(n||!t.autosize){t.resize!=="none"&&setTimeout(()=>{var S;oe.value=(S=M.value)==null?void 0:S.style.height});return}((s=M.value)==null?void 0:s.offsetParent)!==null&&(setTimeout(a),n=!0)}})(Z),A=()=>{const a=w.value,n=t.formatter?t.formatter(k.value):k.value;!a||a.value===n||t.type==="file"||(a.value=n)},$e=a=>{const{trim:n,number:s}=t.modelModifiers;return n&&(a=a.trim()),s&&(a=`${qe(a)}`),t.formatter&&t.parser&&(a=t.parser(a)),a},xe=async a=>{if(Ae.value)return;const{lazy:n}=t.modelModifiers;let{value:s}=a.target,S=!1;if(n){l(Me,s);return}if(s=$e(s),t.countGraphemes&&b.value!=null){const C=Number(b.value),re=t.countGraphemes(s),G=t.countGraphemes(q.value);if(re>C&&re>G)if(G>C)s=q.value,S=!0;else{const V=q.value,z=s;let x=0;for(;xx&&J>x&&V[T-1]===z[J-1];)T--,J--;const yt=z.slice(0,x),gt=V.slice(x,T),He=z.slice(x,J),bt=z.slice(J),xt=G-t.countGraphemes(gt),Se=Math.max(0,C-xt);let _="";if(Se>0)if(typeof Intl<"u"&&"Segmenter"in Intl){const Ce=new Intl.Segmenter(void 0,{granularity:"grapheme"});for(const{segment:ue}of Ce.segment(He)){const De=_+ue;if(t.countGraphemes(De)>Se)break;_=De}}else for(const Ce of Array.from(He)){const ue=_+Ce;if(t.countGraphemes(ue)>Se)break;_=ue}s=yt+_+bt,S=!0}}if(String(s)===k.value){if(t.formatter||S){const C=a.target,re=C.value,G=C.selectionStart,V=C.selectionEnd;if(A(),S&&w.value&&G!=null&&V!=null){const z=w.value.value,x=re.slice(Math.max(0,V));let T=Math.min(G,z.length);x&&z.endsWith(x)&&(T=z.length-x.length),w.value.setSelectionRange(T,T)}}return}q.value=s,rt(),l(pe,s),l(Me,s),await H(),(t.formatter&&t.parser||!lt.value)&&A(),ut()},Fe=async a=>{let{value:n}=a.target;n=$e(n),t.modelModifiers.lazy&&l(pe,n),l(Ye,n,a),await H(),A()},{isComposing:Ae,handleCompositionStart:se,handleCompositionUpdate:ie,handleCompositionEnd:le}=Dt({emit:l,afterComposition:xe}),dt=()=>{O.value=!O.value},ft=()=>{var a;return(a=w.value)==null?void 0:a.focus()},vt=()=>{var a;return(a=w.value)==null?void 0:a.blur()},pt=a=>{me.value=!1,l("mouseleave",a)},mt=a=>{me.value=!0,l("mouseenter",a)},Ge=a=>{l("keydown",a)},ht=()=>{var a;(a=w.value)==null||a.select()},we=a=>{l(pe,""),l(Ye,""),l("clear",a),l(Me,"")};return ce(()=>t.modelValue,()=>{var a;H(()=>{Z(),t.autosize&&(oe.value=void 0)}),t.validateEvent&&((a=m==null?void 0:m.validate)==null||a.call(m,"change").catch(K))}),ce(()=>k.value,a=>{q.value=a},{immediate:!0}),ce(k,a=>{if(!w.value)return;const{trim:n,number:s}=t.modelModifiers,S=w.value.value,C=(s||t.type==="number")&&!/^0\d/.test(S)?`${qe(S)}`:S;C!==a&&(document.activeElement===w.value&&w.value.type!=="range"&&n&&C.trim()===a||A())}),ce(()=>t.type,async()=>{await H(),A(),Z()}),Vt(()=>{!t.formatter&&t.parser&&Je(Ze,"If you set the parser, you also need to set the formatter."),A(),H(Z)}),Tt(()=>{F&&Xe(F)}),r({input:te,textarea:M,ref:w,textareaStyle:Oe,autosize:Lt(t,"autosize"),isComposing:Ae,passwordVisible:O,focus:ft,blur:vt,select:ht,clear:we,resizeTextarea:Z}),(a,n)=>(c(),P("div",{class:h([g.value,{[o(i).bm("group","append")]:a.$slots.append,[o(i).bm("group","prepend")]:a.$slots.prepend}]),style:fe(nt.value),onMouseenter:mt,onMouseleave:pt},[v(" input "),e.type!=="textarea"?(c(),P(ze,{key:0},[v(" prepend slot "),a.$slots.prepend?(c(),P("div",{key:0,class:h(o(i).be("group","prepend"))},[ee(a.$slots,"prepend")],2)):v("v-if",!0),D("div",{ref_key:"wrapperRef",ref:at,class:h(N.value)},[v(" prefix slot "),a.$slots.prefix||e.prefixIcon?(c(),P("span",{key:0,class:h(o(i).e("prefix"))},[D("span",{class:h(o(i).e("prefix-inner"))},[ee(a.$slots,"prefix"),e.prefixIcon?(c(),E(o(W),{key:0,class:h(o(i).e("icon"))},{default:j(()=>[(c(),E(U(e.prefixIcon)))]),_:1},8,["class"])):v("v-if",!0)],2)],2)):v("v-if",!0),D("input",We({id:o(Pe),ref_key:"input",ref:te,class:o(i).e("inner")},o(R),{name:e.name,minlength:e.countGraphemes?void 0:e.minlength,maxlength:e.countGraphemes?void 0:b.value,type:e.showPassword?O.value?"text":"password":e.type,disabled:o(B),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.ariaLabel,placeholder:e.placeholder,style:e.inputStyle,form:e.form,autofocus:e.autofocus,role:e.containerRole,inputmode:e.inputmode,onCompositionstart:n[0]||(n[0]=(...s)=>o(se)&&o(se)(...s)),onCompositionupdate:n[1]||(n[1]=(...s)=>o(ie)&&o(ie)(...s)),onCompositionend:n[2]||(n[2]=(...s)=>o(le)&&o(le)(...s)),onInput:xe,onChange:Fe,onKeydown:Ge}),null,16,oa),v(" suffix slot "),it.value?(c(),P("span",{key:1,class:h(o(i).e("suffix"))},[D("span",{class:h(o(i).e("suffix-inner"))},[ye.value?(c(),E(o(W),{key:0,class:h([o(i).e("icon"),o(i).e("clear")]),style:fe({visibility:ne.value?"visible":"hidden"}),onMousedown:de(o(K),["prevent"]),onClick:we},{default:j(()=>[(c(),E(U(e.clearIcon)))]),_:1},8,["class","style","onMousedown"])):v("v-if",!0),!ne.value||!ge.value||!$.value?(c(),P(ze,{key:1},[ee(a.$slots,"suffix"),e.suffixIcon?(c(),E(o(W),{key:0,class:h(o(i).e("icon"))},{default:j(()=>[(c(),E(U(e.suffixIcon)))]),_:1},8,["class"])):v("v-if",!0)],64)):v("v-if",!0),ge.value?(c(),E(o(W),{key:2,class:h([o(i).e("icon"),o(i).e("password")]),onClick:dt,onMousedown:de(o(K),["prevent"]),onMouseup:de(o(K),["prevent"])},{default:j(()=>[ee(a.$slots,"password-icon",{visible:O.value},()=>[(c(),E(U(ot.value)))])]),_:3},8,["class","onMousedown","onMouseup"])):v("v-if",!0),$.value?(c(),P("span",{key:3,class:h([o(i).e("count"),o(i).is("outside",e.wordLimitPosition==="outside")])},[D("span",{class:h(o(i).e("count-inner"))},ve(be.value)+" / "+ve(b.value),3)],2)):v("v-if",!0),Q.value&&Be.value&&Re.value?(c(),E(o(W),{key:4,class:h([o(i).e("icon"),o(i).e("validateIcon"),o(i).is("loading",Q.value==="validating")])},{default:j(()=>[(c(),E(U(Be.value)))]),_:1},8,["class"])):v("v-if",!0)],2)],2)):v("v-if",!0)],2),v(" append slot "),a.$slots.append?(c(),P("div",{key:1,class:h(o(i).be("group","append"))},[ee(a.$slots,"append")],2)):v("v-if",!0)],64)):(c(),P(ze,{key:1},[v(" textarea "),D("textarea",We({id:o(Pe),ref_key:"textarea",ref:M,class:[o(X).e("inner"),o(i).is("focus",o(he)),o(X).is("clearable",e.clearable)]},o(R),{name:e.name,minlength:e.countGraphemes?void 0:e.minlength,maxlength:e.countGraphemes?void 0:b.value,tabindex:e.tabindex,disabled:o(B),readonly:e.readonly,autocomplete:e.autocomplete,style:Oe.value,"aria-label":e.ariaLabel,placeholder:e.placeholder,form:e.form,autofocus:e.autofocus,rows:e.rows,role:e.containerRole,inputmode:e.inputmode,onCompositionstart:n[3]||(n[3]=(...s)=>o(se)&&o(se)(...s)),onCompositionupdate:n[4]||(n[4]=(...s)=>o(ie)&&o(ie)(...s)),onCompositionend:n[5]||(n[5]=(...s)=>o(le)&&o(le)(...s)),onInput:xe,onFocus:n[6]||(n[6]=(...s)=>o(Te)&&o(Te)(...s)),onBlur:n[7]||(n[7]=(...s)=>o(Le)&&o(Le)(...s)),onChange:Fe,onKeydown:Ge}),null,16,na),ne.value?(c(),E(o(W),{key:0,class:h([o(X).e("icon"),o(X).e("clear")]),style:fe(Ve.value),onMousedown:de(o(K),["prevent"]),onClick:we},{default:j(()=>[(c(),E(U(e.clearIcon)))]),_:1},8,["class","style","onMousedown"])):v("v-if",!0),$.value?(c(),P("span",{key:1,style:fe(ke.value),class:h([o(i).e("count"),o(i).is("outside",e.wordLimitPosition==="outside")])},ve(be.value)+" / "+ve(b.value),7)):v("v-if",!0)],64))],38))}}),ia=sa;const va=At(ia);export{va as E,Qt as u}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-zJ9bqPrh.js diff --git a/frontend/dist/assets/index-D1ESbnqn.js b/frontend/dist/assets/index-D1ESbnqn.js index 17f792a..8cd2e59 100644 --- a/frontend/dist/assets/index-D1ESbnqn.js +++ b/frontend/dist/assets/index-D1ESbnqn.js @@ -1,3 +1,9 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-D1ESbnqn.js import{e as D,E as h,C as L,s as H,t as n,b as B,g as K,a as M,L as OO,i as eO,k as f,f as iO,l as aO,N as nO,I as rO,d as QO,m as d}from"./index-DFkjzvE0.js";import"./index-CD29OCdJ.js";const tO=1,Z=194,j=195,oO=196,x=197,dO=198,sO=199,lO=200,TO=2,E=3,u=201,SO=24,pO=25,qO=49,gO=50,PO=55,mO=56,$O=57,hO=59,cO=60,fO=61,XO=62,yO=63,zO=65,WO=238,vO=71,RO=241,kO=242,_O=243,xO=244,uO=245,UO=246,bO=247,VO=248,Y=72,GO=249,wO=250,ZO=251,jO=252,EO=253,YO=254,FO=255,CO=256,JO=73,AO=77,NO=263,IO=112,DO=130,LO=151,HO=152,BO=155,p=10,q=13,k=32,c=9,_=35,KO=40,MO=46,R=123,U=125,F=39,C=34,b=92,Oe=111,ee=120,ie=78,ae=117,ne=85,re=new Set([pO,qO,gO,NO,zO,DO,mO,$O,WO,XO,yO,Y,JO,AO,cO,fO,LO,HO,BO,IO]);function X(O){return O==p||O==q}function y(O){return O>=48&&O<=57||O>=65&&O<=70||O>=97&&O<=102}const Qe=new h((O,e)=>{let i;if(O.next<0)O.acceptToken(sO);else if(e.context.flags&m)X(O.next)&&O.acceptToken(dO,1);else if(((i=O.peek(-1))<0||X(i))&&e.canShift(x)){let a=0;for(;O.next==k||O.next==c;)O.advance(),a++;(O.next==p||O.next==q||O.next==_)&&O.acceptToken(x,-a)}else X(O.next)&&O.acceptToken(oO,1)},{contextual:!0}),te=new h((O,e)=>{let i=e.context;if(i.flags)return;let a=O.peek(-1);if(a==p||a==q){let r=0,Q=0;for(;;){if(O.next==k)r++;else if(O.next==c)r+=8-r%8;else break;O.advance(),Q++}r!=i.indent&&O.next!=p&&O.next!=q&&O.next!=_&&(r[O,e|J])),se=new L({start:oe,reduce(O,e,i,a){return O.flags&m&&re.has(e)||(e==vO||e==Y)&&O.flags&J?O.parent:O},shift(O,e,i,a){return e==Z?new $(O,de(a.read(a.pos,i.pos)),0):e==j?O.parent:e==SO||e==PO||e==hO||e==E?new $(O,0,m):V.has(e)?new $(O,0,V.get(e)|O.flags&m):O},hash(O){return O.hash}}),le=new h(O=>{for(let e=0;e<5;e++){if(O.next!="print".charCodeAt(e))return;O.advance()}if(!/\w/.test(String.fromCharCode(O.next)))for(let e=0;;e++){let i=O.peek(e);if(!(i==k||i==c)){i!=KO&&i!=MO&&i!=p&&i!=q&&i!=_&&O.acceptToken(tO);return}}}),Te=new h((O,e)=>{let{flags:i}=e.context,a=i&s?C:F,r=(i&l)>0,Q=!(i&T),t=(i&S)>0,o=O.pos;for(;!(O.next<0);)if(t&&O.next==R)if(O.peek(1)==R)O.advance(2);else{if(O.pos==o){O.acceptToken(E,1);return}break}else if(Q&&O.next==b){if(O.pos==o){O.advance();let g=O.next;g>=0&&(O.advance(),Se(O,g)),O.acceptToken(TO);return}break}else if(O.next==b&&!Q&&O.peek(1)>-1)O.advance(2);else if(O.next==a&&(!r||O.peek(1)==a&&O.peek(2)==a)){if(O.pos==o){O.acceptToken(u,r?3:1);return}break}else if(O.next==p){if(r)O.advance();else if(O.pos==o){O.acceptToken(u);return}break}else O.advance();O.pos>o&&O.acceptToken(lO)});function Se(O,e){if(e==Oe)for(let i=0;i<2&&O.next>=48&&O.next<=55;i++)O.advance();else if(e==ee)for(let i=0;i<2&&y(O.next);i++)O.advance();else if(e==ae)for(let i=0;i<4&&y(O.next);i++)O.advance();else if(e==ne)for(let i=0;i<8&&y(O.next);i++)O.advance();else if(e==ie&&O.next==R){for(O.advance();O.next>=0&&O.next!=U&&O.next!=F&&O.next!=C&&O.next!=p;)O.advance();O.next==U&&O.advance()}}const pe=H({'async "*" "**" FormatConversion FormatSpec':n.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":n.controlKeyword,"in not and or is del":n.operatorKeyword,"from def class global nonlocal lambda":n.definitionKeyword,import:n.moduleKeyword,"with as print":n.keyword,Boolean:n.bool,None:n.null,VariableName:n.variableName,"CallExpression/VariableName":n.function(n.variableName),"FunctionDefinition/VariableName":n.function(n.definition(n.variableName)),"ClassDefinition/VariableName":n.definition(n.className),PropertyName:n.propertyName,"CallExpression/MemberExpression/PropertyName":n.function(n.propertyName),Comment:n.lineComment,Number:n.number,String:n.string,FormatString:n.special(n.string),Escape:n.escape,UpdateOp:n.updateOperator,"ArithOp!":n.arithmeticOperator,BitOp:n.bitwiseOperator,CompareOp:n.compareOperator,AssignOp:n.definitionOperator,Ellipsis:n.punctuation,At:n.meta,"( )":n.paren,"[ ]":n.squareBracket,"{ }":n.brace,".":n.derefOperator,", ;":n.separator}),qe={__proto__:null,await:44,or:54,and:56,in:60,not:62,is:64,if:70,else:72,lambda:76,yield:94,from:96,async:102,for:104,None:162,True:164,False:164,del:178,pass:182,break:186,continue:190,return:194,raise:202,import:206,as:208,global:212,nonlocal:214,assert:218,type:223,elif:236,while:240,try:246,except:248,finally:250,with:254,def:258,class:268,match:279,case:285},ge=D.deserialize({version:14,states:"##jQ`QeOOP$}OSOOO&WQtO'#HUOOQS'#Co'#CoOOQS'#Cp'#CpO'vQdO'#CnO*UQtO'#HTOOQS'#HU'#HUOOQS'#DU'#DUOOQS'#HT'#HTO*rQdO'#D_O+VQdO'#DfO+gQdO'#DjO+zOWO'#DuO,VOWO'#DvO.[QtO'#GuOOQS'#Gu'#GuO'vQdO'#GtO0ZQtO'#GtOOQS'#Eb'#EbO0rQdO'#EcOOQS'#G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1}],tokenPrec:7668}),G=new nO,A=new Set(["Script","Body","FunctionDefinition","ClassDefinition","LambdaExpression","ForStatement","MatchClause"]);function P(O){return(e,i,a)=>{if(a)return!1;let r=e.node.getChild("VariableName");return r&&i(r,O),!0}}const Pe={FunctionDefinition:P("function"),ClassDefinition:P("class"),ForStatement(O,e,i){if(i){for(let a=O.node.firstChild;a;a=a.nextSibling)if(a.name=="VariableName")e(a,"variable");else if(a.name=="in")break}},ImportStatement(O,e){var i,a;let{node:r}=O,Q=((i=r.firstChild)===null||i===void 0?void 0:i.name)=="from";for(let t=r.getChild("import");t;t=t.nextSibling)t.name=="VariableName"&&((a=t.nextSibling)===null||a===void 0?void 0:a.name)!="as"&&e(t,Q?"variable":"namespace")},AssignStatement(O,e){for(let i=O.node.firstChild;i;i=i.nextSibling)if(i.name=="VariableName")e(i,"variable");else if(i.name==":"||i.name=="AssignOp")break},ParamList(O,e){for(let i=null,a=O.node.firstChild;a;a=a.nextSibling)a.name=="VariableName"&&(!i||!/\*|AssignOp/.test(i.name))&&e(a,"variable"),i=a},CapturePattern:P("variable"),AsPattern:P("variable"),__proto__:null};function N(O,e){let i=G.get(e);if(i)return i;let a=[],r=!0;function Q(t,o){let g=O.sliceString(t.from,t.to);a.push({label:g,type:o})}return e.cursor(rO.IncludeAnonymous).iterate(t=>{if(t.name){let o=Pe[t.name];if(o&&o(t,Q,r)||!r&&A.has(t.name))return!1;r=!1}else if(t.to-t.from>8192){for(let o of N(O,t.node))a.push(o);return!1}}),G.set(e,a),a}const w=/^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/,I=["String","FormatString","Comment","PropertyName"];function me(O){let e=K(O.state).resolveInner(O.pos,-1);if(I.indexOf(e.name)>-1)return null;let i=e.name=="VariableName"||e.to-e.from<20&&w.test(O.state.sliceDoc(e.from,e.to));if(!i&&!O.explicit)return null;let a=[];for(let r=e;r;r=r.parent)A.has(r.name)&&(a=a.concat(N(O.state.doc,r)));return{options:a,from:i?e.from:O.pos,validFor:w}}const $e=["__annotations__","__builtins__","__debug__","__doc__","__import__","__name__","__loader__","__package__","__spec__","False","None","True"].map(O=>({label:O,type:"constant"})).concat(["ArithmeticError","AssertionError","AttributeError","BaseException","BlockingIOError","BrokenPipeError","BufferError","BytesWarning","ChildProcessError","ConnectionAbortedError","ConnectionError","ConnectionRefusedError","ConnectionResetError","DeprecationWarning","EOFError","Ellipsis","EncodingWarning","EnvironmentError","Exception","FileExistsError","FileNotFoundError","FloatingPointError","FutureWarning","GeneratorExit","IOError","ImportError","ImportWarning","IndentationError","IndexError","InterruptedError","IsADirectoryError","KeyError","KeyboardInterrupt","LookupError","MemoryError","ModuleNotFoundError","NameError","NotADirectoryError","NotImplemented","NotImplementedError","OSError","OverflowError","PendingDeprecationWarning","PermissionError","ProcessLookupError","RecursionError","ReferenceError","ResourceWarning","RuntimeError","RuntimeWarning","StopAsyncIteration","StopIteration","SyntaxError","SyntaxWarning","SystemError","SystemExit","TabError","TimeoutError","TypeError","UnboundLocalError","UnicodeDecodeError","UnicodeEncodeError","UnicodeError","UnicodeTranslateError","UnicodeWarning","UserWarning","ValueError","Warning","ZeroDivisionError"].map(O=>({label:O,type:"type"}))).concat(["bool","bytearray","bytes","classmethod","complex","float","frozenset","int","list","map","memoryview","object","range","set","staticmethod","str","super","tuple","type"].map(O=>({label:O,type:"class"}))).concat(["abs","aiter","all","anext","any","ascii","bin","breakpoint","callable","chr","compile","delattr","dict","dir","divmod","enumerate","eval","exec","exit","filter","format","getattr","globals","hasattr","hash","help","hex","id","input","isinstance","issubclass","iter","len","license","locals","max","min","next","oct","open","ord","pow","print","property","quit","repr","reversed","round","setattr","slice","sorted","sum","vars","zip"].map(O=>({label:O,type:"function"}))),he=[d("def ${name}(${params}):\n ${}",{label:"def",detail:"function",type:"keyword"}),d("for ${name} in ${collection}:\n ${}",{label:"for",detail:"loop",type:"keyword"}),d("while ${}:\n ${}",{label:"while",detail:"loop",type:"keyword"}),d("try:\n ${}\nexcept ${error}:\n ${}",{label:"try",detail:"/ except block",type:"keyword"}),d(`if \${}: +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-DhMoQKPy.js +import{e as D,E as h,C as L,s as H,t as n,b as B,g as K,a as M,L as OO,i as eO,k as f,f as iO,l as aO,N as nO,I as rO,d as QO,m as d}from"./index-Szd58FrA.js";import"./index-Ds9AETjS.js";const tO=1,Z=194,j=195,oO=196,x=197,dO=198,sO=199,lO=200,TO=2,E=3,u=201,SO=24,pO=25,qO=49,gO=50,PO=55,mO=56,$O=57,hO=59,cO=60,fO=61,XO=62,yO=63,zO=65,WO=238,vO=71,RO=241,kO=242,_O=243,xO=244,uO=245,UO=246,bO=247,VO=248,Y=72,GO=249,wO=250,ZO=251,jO=252,EO=253,YO=254,FO=255,CO=256,JO=73,AO=77,NO=263,IO=112,DO=130,LO=151,HO=152,BO=155,p=10,q=13,k=32,c=9,_=35,KO=40,MO=46,R=123,U=125,F=39,C=34,b=92,Oe=111,ee=120,ie=78,ae=117,ne=85,re=new Set([pO,qO,gO,NO,zO,DO,mO,$O,WO,XO,yO,Y,JO,AO,cO,fO,LO,HO,BO,IO]);function X(O){return O==p||O==q}function y(O){return O>=48&&O<=57||O>=65&&O<=70||O>=97&&O<=102}const Qe=new h((O,e)=>{let i;if(O.next<0)O.acceptToken(sO);else if(e.context.flags&m)X(O.next)&&O.acceptToken(dO,1);else if(((i=O.peek(-1))<0||X(i))&&e.canShift(x)){let a=0;for(;O.next==k||O.next==c;)O.advance(),a++;(O.next==p||O.next==q||O.next==_)&&O.acceptToken(x,-a)}else X(O.next)&&O.acceptToken(oO,1)},{contextual:!0}),te=new h((O,e)=>{let i=e.context;if(i.flags)return;let a=O.peek(-1);if(a==p||a==q){let r=0,Q=0;for(;;){if(O.next==k)r++;else if(O.next==c)r+=8-r%8;else break;O.advance(),Q++}r!=i.indent&&O.next!=p&&O.next!=q&&O.next!=_&&(r[O,e|J])),se=new L({start:oe,reduce(O,e,i,a){return O.flags&m&&re.has(e)||(e==vO||e==Y)&&O.flags&J?O.parent:O},shift(O,e,i,a){return e==Z?new $(O,de(a.read(a.pos,i.pos)),0):e==j?O.parent:e==SO||e==PO||e==hO||e==E?new $(O,0,m):V.has(e)?new $(O,0,V.get(e)|O.flags&m):O},hash(O){return O.hash}}),le=new h(O=>{for(let e=0;e<5;e++){if(O.next!="print".charCodeAt(e))return;O.advance()}if(!/\w/.test(String.fromCharCode(O.next)))for(let e=0;;e++){let i=O.peek(e);if(!(i==k||i==c)){i!=KO&&i!=MO&&i!=p&&i!=q&&i!=_&&O.acceptToken(tO);return}}}),Te=new h((O,e)=>{let{flags:i}=e.context,a=i&s?C:F,r=(i&l)>0,Q=!(i&T),t=(i&S)>0,o=O.pos;for(;!(O.next<0);)if(t&&O.next==R)if(O.peek(1)==R)O.advance(2);else{if(O.pos==o){O.acceptToken(E,1);return}break}else if(Q&&O.next==b){if(O.pos==o){O.advance();let g=O.next;g>=0&&(O.advance(),Se(O,g)),O.acceptToken(TO);return}break}else if(O.next==b&&!Q&&O.peek(1)>-1)O.advance(2);else if(O.next==a&&(!r||O.peek(1)==a&&O.peek(2)==a)){if(O.pos==o){O.acceptToken(u,r?3:1);return}break}else if(O.next==p){if(r)O.advance();else if(O.pos==o){O.acceptToken(u);return}break}else O.advance();O.pos>o&&O.acceptToken(lO)});function Se(O,e){if(e==Oe)for(let i=0;i<2&&O.next>=48&&O.next<=55;i++)O.advance();else if(e==ee)for(let i=0;i<2&&y(O.next);i++)O.advance();else if(e==ae)for(let i=0;i<4&&y(O.next);i++)O.advance();else if(e==ne)for(let i=0;i<8&&y(O.next);i++)O.advance();else if(e==ie&&O.next==R){for(O.advance();O.next>=0&&O.next!=U&&O.next!=F&&O.next!=C&&O.next!=p;)O.advance();O.next==U&&O.advance()}}const pe=H({'async "*" "**" FormatConversion FormatSpec':n.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":n.controlKeyword,"in not and or is del":n.operatorKeyword,"from def class global nonlocal lambda":n.definitionKeyword,import:n.moduleKeyword,"with as print":n.keyword,Boolean:n.bool,None:n.null,VariableName:n.variableName,"CallExpression/VariableName":n.function(n.variableName),"FunctionDefinition/VariableName":n.function(n.definition(n.variableName)),"ClassDefinition/VariableName":n.definition(n.className),PropertyName:n.propertyName,"CallExpression/MemberExpression/PropertyName":n.function(n.propertyName),Comment:n.lineComment,Number:n.number,String:n.string,FormatString:n.special(n.string),Escape:n.escape,UpdateOp:n.updateOperator,"ArithOp!":n.arithmeticOperator,BitOp:n.bitwiseOperator,CompareOp:n.compareOperator,AssignOp:n.definitionOperator,Ellipsis:n.punctuation,At:n.meta,"( )":n.paren,"[ ]":n.squareBracket,"{ }":n.brace,".":n.derefOperator,", ;":n.separator}),qe={__proto__:null,await:44,or:54,and:56,in:60,not:62,is:64,if:70,else:72,lambda:76,yield:94,from:96,async:102,for:104,None:162,True:164,False:164,del:178,pass:182,break:186,continue:190,return:194,raise:202,import:206,as:208,global:212,nonlocal:214,assert:218,type:223,elif:236,while:240,try:246,except:248,finally:250,with:254,def:258,class:268,match:279,case:285},ge=D.deserialize({version:14,states:"##jQ`QeOOP$}OSOOO&WQtO'#HUOOQS'#Co'#CoOOQS'#Cp'#CpO'vQdO'#CnO*UQtO'#HTOOQS'#HU'#HUOOQS'#DU'#DUOOQS'#HT'#HTO*rQdO'#D_O+VQdO'#DfO+gQdO'#DjO+zOWO'#DuO,VOWO'#DvO.[QtO'#GuOOQS'#Gu'#GuO'vQdO'#GtO0ZQtO'#GtOOQS'#Eb'#EbO0rQdO'#EcOOQS'#Gs'#GsO0|QdO'#GrOOQV'#Gr'#GrO1XQdO'#FYOOQS'#G^'#G^O1^QdO'#FXOOQV'#IS'#ISOOQV'#Gq'#GqOOQV'#Fq'#FqQ`QeOOO'vQdO'#CqO1lQdO'#C}O1sQdO'#DRO2RQdO'#HYO2cQtO'#EVO'vQdO'#EWOOQS'#EY'#EYOOQS'#E['#E[OOQS'#E^'#E^O2wQdO'#E`O3_QdO'#EdO3rQ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i<%lO%Tk!*}T&n`&jZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!+eV&n`&gZOw%Twx!+zx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!,PV&n`Ow%Twx!,fx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!,mT&n`&iZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To!-Vi&n`&YS%uZOr%TrsNWsw%Twx! vx!Q%T!Q![JU![!c%T!c!dJU!d!eLx!e!hJU!h!i!(`!i!}JU!}#R%T#R#SJU#S#T%T#T#UJU#U#VLx#V#YJU#Y#Z!(`#Z#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUo!.}a&n`&YS%uZOr%Trs)Ysw%Twx.Ux!Q%T!Q![JU![!c%T!c!}JU!}#R%T#R#SJU#S#T%T#T#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUk!0ZT!XZ&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc!0qT!WR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tj!1XV%kQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!1sO!]~k!1zV%jR&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!2fO![~i!2mT%tX&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T",tokenizers:[le,te,Qe,Te,0,1,2,3,4],topRules:{Script:[0,5]},specialized:[{term:221,get:O=>qe[O]||-1}],tokenPrec:7668}),G=new nO,A=new Set(["Script","Body","FunctionDefinition","ClassDefinition","LambdaExpression","ForStatement","MatchClause"]);function P(O){return(e,i,a)=>{if(a)return!1;let r=e.node.getChild("VariableName");return r&&i(r,O),!0}}const Pe={FunctionDefinition:P("function"),ClassDefinition:P("class"),ForStatement(O,e,i){if(i){for(let a=O.node.firstChild;a;a=a.nextSibling)if(a.name=="VariableName")e(a,"variable");else if(a.name=="in")break}},ImportStatement(O,e){var i,a;let{node:r}=O,Q=((i=r.firstChild)===null||i===void 0?void 0:i.name)=="from";for(let t=r.getChild("import");t;t=t.nextSibling)t.name=="VariableName"&&((a=t.nextSibling)===null||a===void 0?void 0:a.name)!="as"&&e(t,Q?"variable":"namespace")},AssignStatement(O,e){for(let i=O.node.firstChild;i;i=i.nextSibling)if(i.name=="VariableName")e(i,"variable");else if(i.name==":"||i.name=="AssignOp")break},ParamList(O,e){for(let i=null,a=O.node.firstChild;a;a=a.nextSibling)a.name=="VariableName"&&(!i||!/\*|AssignOp/.test(i.name))&&e(a,"variable"),i=a},CapturePattern:P("variable"),AsPattern:P("variable"),__proto__:null};function N(O,e){let i=G.get(e);if(i)return i;let a=[],r=!0;function Q(t,o){let g=O.sliceString(t.from,t.to);a.push({label:g,type:o})}return e.cursor(rO.IncludeAnonymous).iterate(t=>{if(t.name){let o=Pe[t.name];if(o&&o(t,Q,r)||!r&&A.has(t.name))return!1;r=!1}else if(t.to-t.from>8192){for(let o of N(O,t.node))a.push(o);return!1}}),G.set(e,a),a}const w=/^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/,I=["String","FormatString","Comment","PropertyName"];function me(O){let e=K(O.state).resolveInner(O.pos,-1);if(I.indexOf(e.name)>-1)return null;let i=e.name=="VariableName"||e.to-e.from<20&&w.test(O.state.sliceDoc(e.from,e.to));if(!i&&!O.explicit)return null;let a=[];for(let r=e;r;r=r.parent)A.has(r.name)&&(a=a.concat(N(O.state.doc,r)));return{options:a,from:i?e.from:O.pos,validFor:w}}const $e=["__annotations__","__builtins__","__debug__","__doc__","__import__","__name__","__loader__","__package__","__spec__","False","None","True"].map(O=>({label:O,type:"constant"})).concat(["ArithmeticError","AssertionError","AttributeError","BaseException","BlockingIOError","BrokenPipeError","BufferError","BytesWarning","ChildProcessError","ConnectionAbortedError","ConnectionError","ConnectionRefusedError","ConnectionResetError","DeprecationWarning","EOFError","Ellipsis","EncodingWarning","EnvironmentError","Exception","FileExistsError","FileNotFoundError","FloatingPointError","FutureWarning","GeneratorExit","IOError","ImportError","ImportWarning","IndentationError","IndexError","InterruptedError","IsADirectoryError","KeyError","KeyboardInterrupt","LookupError","MemoryError","ModuleNotFoundError","NameError","NotADirectoryError","NotImplemented","NotImplementedError","OSError","OverflowError","PendingDeprecationWarning","PermissionError","ProcessLookupError","RecursionError","ReferenceError","ResourceWarning","RuntimeError","RuntimeWarning","StopAsyncIteration","StopIteration","SyntaxError","SyntaxWarning","SystemError","SystemExit","TabError","TimeoutError","TypeError","UnboundLocalError","UnicodeDecodeError","UnicodeEncodeError","UnicodeError","UnicodeTranslateError","UnicodeWarning","UserWarning","ValueError","Warning","ZeroDivisionError"].map(O=>({label:O,type:"type"}))).concat(["bool","bytearray","bytes","classmethod","complex","float","frozenset","int","list","map","memoryview","object","range","set","staticmethod","str","super","tuple","type"].map(O=>({label:O,type:"class"}))).concat(["abs","aiter","all","anext","any","ascii","bin","breakpoint","callable","chr","compile","delattr","dict","dir","divmod","enumerate","eval","exec","exit","filter","format","getattr","globals","hasattr","hash","help","hex","id","input","isinstance","issubclass","iter","len","license","locals","max","min","next","oct","open","ord","pow","print","property","quit","repr","reversed","round","setattr","slice","sorted","sum","vars","zip"].map(O=>({label:O,type:"function"}))),he=[d("def ${name}(${params}):\n ${}",{label:"def",detail:"function",type:"keyword"}),d("for ${name} in ${collection}:\n ${}",{label:"for",detail:"loop",type:"keyword"}),d("while ${}:\n ${}",{label:"while",detail:"loop",type:"keyword"}),d("try:\n ${}\nexcept ${error}:\n ${}",{label:"try",detail:"/ except block",type:"keyword"}),d(`if \${}: +======== +import{e as D,E as h,C as L,s as H,t as n,b as B,g as K,a as M,L as OO,i as eO,k as f,f as iO,l as aO,N as nO,I as rO,d as QO,m as d}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const tO=1,Z=194,j=195,oO=196,x=197,dO=198,sO=199,lO=200,TO=2,E=3,u=201,SO=24,pO=25,qO=49,gO=50,PO=55,mO=56,$O=57,hO=59,cO=60,fO=61,XO=62,yO=63,zO=65,WO=238,vO=71,RO=241,kO=242,_O=243,xO=244,uO=245,UO=246,bO=247,VO=248,Y=72,GO=249,wO=250,ZO=251,jO=252,EO=253,YO=254,FO=255,CO=256,JO=73,AO=77,NO=263,IO=112,DO=130,LO=151,HO=152,BO=155,p=10,q=13,k=32,c=9,_=35,KO=40,MO=46,R=123,U=125,F=39,C=34,b=92,Oe=111,ee=120,ie=78,ae=117,ne=85,re=new Set([pO,qO,gO,NO,zO,DO,mO,$O,WO,XO,yO,Y,JO,AO,cO,fO,LO,HO,BO,IO]);function X(O){return O==p||O==q}function y(O){return O>=48&&O<=57||O>=65&&O<=70||O>=97&&O<=102}const Qe=new h((O,e)=>{let i;if(O.next<0)O.acceptToken(sO);else if(e.context.flags&m)X(O.next)&&O.acceptToken(dO,1);else if(((i=O.peek(-1))<0||X(i))&&e.canShift(x)){let a=0;for(;O.next==k||O.next==c;)O.advance(),a++;(O.next==p||O.next==q||O.next==_)&&O.acceptToken(x,-a)}else X(O.next)&&O.acceptToken(oO,1)},{contextual:!0}),te=new h((O,e)=>{let i=e.context;if(i.flags)return;let a=O.peek(-1);if(a==p||a==q){let r=0,Q=0;for(;;){if(O.next==k)r++;else if(O.next==c)r+=8-r%8;else break;O.advance(),Q++}r!=i.indent&&O.next!=p&&O.next!=q&&O.next!=_&&(r[O,e|J])),se=new L({start:oe,reduce(O,e,i,a){return O.flags&m&&re.has(e)||(e==vO||e==Y)&&O.flags&J?O.parent:O},shift(O,e,i,a){return e==Z?new $(O,de(a.read(a.pos,i.pos)),0):e==j?O.parent:e==SO||e==PO||e==hO||e==E?new $(O,0,m):V.has(e)?new $(O,0,V.get(e)|O.flags&m):O},hash(O){return O.hash}}),le=new h(O=>{for(let e=0;e<5;e++){if(O.next!="print".charCodeAt(e))return;O.advance()}if(!/\w/.test(String.fromCharCode(O.next)))for(let e=0;;e++){let i=O.peek(e);if(!(i==k||i==c)){i!=KO&&i!=MO&&i!=p&&i!=q&&i!=_&&O.acceptToken(tO);return}}}),Te=new h((O,e)=>{let{flags:i}=e.context,a=i&s?C:F,r=(i&l)>0,Q=!(i&T),t=(i&S)>0,o=O.pos;for(;!(O.next<0);)if(t&&O.next==R)if(O.peek(1)==R)O.advance(2);else{if(O.pos==o){O.acceptToken(E,1);return}break}else if(Q&&O.next==b){if(O.pos==o){O.advance();let g=O.next;g>=0&&(O.advance(),Se(O,g)),O.acceptToken(TO);return}break}else if(O.next==b&&!Q&&O.peek(1)>-1)O.advance(2);else if(O.next==a&&(!r||O.peek(1)==a&&O.peek(2)==a)){if(O.pos==o){O.acceptToken(u,r?3:1);return}break}else if(O.next==p){if(r)O.advance();else if(O.pos==o){O.acceptToken(u);return}break}else O.advance();O.pos>o&&O.acceptToken(lO)});function Se(O,e){if(e==Oe)for(let i=0;i<2&&O.next>=48&&O.next<=55;i++)O.advance();else if(e==ee)for(let i=0;i<2&&y(O.next);i++)O.advance();else if(e==ae)for(let i=0;i<4&&y(O.next);i++)O.advance();else if(e==ne)for(let i=0;i<8&&y(O.next);i++)O.advance();else if(e==ie&&O.next==R){for(O.advance();O.next>=0&&O.next!=U&&O.next!=F&&O.next!=C&&O.next!=p;)O.advance();O.next==U&&O.advance()}}const pe=H({'async "*" "**" FormatConversion FormatSpec':n.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":n.controlKeyword,"in not and or is del":n.operatorKeyword,"from def class global nonlocal lambda":n.definitionKeyword,import:n.moduleKeyword,"with as print":n.keyword,Boolean:n.bool,None:n.null,VariableName:n.variableName,"CallExpression/VariableName":n.function(n.variableName),"FunctionDefinition/VariableName":n.function(n.definition(n.variableName)),"ClassDefinition/VariableName":n.definition(n.className),PropertyName:n.propertyName,"CallExpression/MemberExpression/PropertyName":n.function(n.propertyName),Comment:n.lineComment,Number:n.number,String:n.string,FormatString:n.special(n.string),Escape:n.escape,UpdateOp:n.updateOperator,"ArithOp!":n.arithmeticOperator,BitOp:n.bitwiseOperator,CompareOp:n.compareOperator,AssignOp:n.definitionOperator,Ellipsis:n.punctuation,At:n.meta,"( )":n.paren,"[ ]":n.squareBracket,"{ }":n.brace,".":n.derefOperator,", ;":n.separator}),qe={__proto__:null,await:44,or:54,and:56,in:60,not:62,is:64,if:70,else:72,lambda:76,yield:94,from:96,async:102,for:104,None:162,True:164,False:164,del:178,pass:182,break:186,continue:190,return:194,raise:202,import:206,as:208,global:212,nonlocal:214,assert:218,type:223,elif:236,while:240,try:246,except:248,finally:250,with:254,def:258,class:268,match:279,case:285},ge=D.deserialize({version:14,states:"##jQ`QeOOP$}OSOOO&WQtO'#HUOOQS'#Co'#CoOOQS'#Cp'#CpO'vQdO'#CnO*UQtO'#HTOOQS'#HU'#HUOOQS'#DU'#DUOOQS'#HT'#HTO*rQdO'#D_O+VQdO'#DfO+gQdO'#DjO+zOWO'#DuO,VOWO'#DvO.[QtO'#GuOOQS'#Gu'#GuO'vQdO'#GtO0ZQtO'#GtOOQS'#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5]},specialized:[{term:221,get:O=>qe[O]||-1}],tokenPrec:7668}),G=new nO,A=new Set(["Script","Body","FunctionDefinition","ClassDefinition","LambdaExpression","ForStatement","MatchClause"]);function P(O){return(e,i,a)=>{if(a)return!1;let r=e.node.getChild("VariableName");return r&&i(r,O),!0}}const Pe={FunctionDefinition:P("function"),ClassDefinition:P("class"),ForStatement(O,e,i){if(i){for(let a=O.node.firstChild;a;a=a.nextSibling)if(a.name=="VariableName")e(a,"variable");else if(a.name=="in")break}},ImportStatement(O,e){var i,a;let{node:r}=O,Q=((i=r.firstChild)===null||i===void 0?void 0:i.name)=="from";for(let t=r.getChild("import");t;t=t.nextSibling)t.name=="VariableName"&&((a=t.nextSibling)===null||a===void 0?void 0:a.name)!="as"&&e(t,Q?"variable":"namespace")},AssignStatement(O,e){for(let i=O.node.firstChild;i;i=i.nextSibling)if(i.name=="VariableName")e(i,"variable");else if(i.name==":"||i.name=="AssignOp")break},ParamList(O,e){for(let i=null,a=O.node.firstChild;a;a=a.nextSibling)a.name=="VariableName"&&(!i||!/\*|AssignOp/.test(i.name))&&e(a,"variable"),i=a},CapturePattern:P("variable"),AsPattern:P("variable"),__proto__:null};function N(O,e){let i=G.get(e);if(i)return i;let a=[],r=!0;function Q(t,o){let g=O.sliceString(t.from,t.to);a.push({label:g,type:o})}return e.cursor(rO.IncludeAnonymous).iterate(t=>{if(t.name){let o=Pe[t.name];if(o&&o(t,Q,r)||!r&&A.has(t.name))return!1;r=!1}else if(t.to-t.from>8192){for(let o of N(O,t.node))a.push(o);return!1}}),G.set(e,a),a}const w=/^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/,I=["String","FormatString","Comment","PropertyName"];function me(O){let e=K(O.state).resolveInner(O.pos,-1);if(I.indexOf(e.name)>-1)return null;let i=e.name=="VariableName"||e.to-e.from<20&&w.test(O.state.sliceDoc(e.from,e.to));if(!i&&!O.explicit)return null;let a=[];for(let r=e;r;r=r.parent)A.has(r.name)&&(a=a.concat(N(O.state.doc,r)));return{options:a,from:i?e.from:O.pos,validFor:w}}const $e=["__annotations__","__builtins__","__debug__","__doc__","__import__","__name__","__loader__","__package__","__spec__","False","None","True"].map(O=>({label:O,type:"constant"})).concat(["ArithmeticError","AssertionError","AttributeError","BaseException","BlockingIOError","BrokenPipeError","BufferError","BytesWarning","ChildProcessError","ConnectionAbortedError","ConnectionError","ConnectionRefusedError","ConnectionResetError","DeprecationWarning","EOFError","Ellipsis","EncodingWarning","EnvironmentError","Exception","FileExistsError","FileNotFoundError","FloatingPointError","FutureWarning","GeneratorExit","IOError","ImportError","ImportWarning","IndentationError","IndexError","InterruptedError","IsADirectoryError","KeyError","KeyboardInterrupt","LookupError","MemoryError","ModuleNotFoundError","NameError","NotADirectoryError","NotImplemented","NotImplementedError","OSError","OverflowError","PendingDeprecationWarning","PermissionError","ProcessLookupError","RecursionError","ReferenceError","ResourceWarning","RuntimeError","RuntimeWarning","StopAsyncIteration","StopIteration","SyntaxError","SyntaxWarning","SystemError","SystemExit","TabError","TimeoutError","TypeError","UnboundLocalError","UnicodeDecodeError","UnicodeEncodeError","UnicodeError","UnicodeTranslateError","UnicodeWarning","UserWarning","ValueError","Warning","ZeroDivisionError"].map(O=>({label:O,type:"type"}))).concat(["bool","bytearray","bytes","classmethod","complex","float","frozenset","int","list","map","memoryview","object","range","set","staticmethod","str","super","tuple","type"].map(O=>({label:O,type:"class"}))).concat(["abs","aiter","all","anext","any","ascii","bin","breakpoint","callable","chr","compile","delattr","dict","dir","divmod","enumerate","eval","exec","exit","filter","format","getattr","globals","hasattr","hash","help","hex","id","input","isinstance","issubclass","iter","len","license","locals","max","min","next","oct","open","ord","pow","print","property","quit","repr","reversed","round","setattr","slice","sorted","sum","vars","zip"].map(O=>({label:O,type:"function"}))),he=[d("def ${name}(${params}):\n ${}",{label:"def",detail:"function",type:"keyword"}),d("for ${name} in ${collection}:\n ${}",{label:"for",detail:"loop",type:"keyword"}),d("while ${}:\n ${}",{label:"while",detail:"loop",type:"keyword"}),d("try:\n ${}\nexcept ${error}:\n ${}",{label:"try",detail:"/ except block",type:"keyword"}),d(`if \${}: +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-Dp7iU37E.js `,{label:"if",detail:"block",type:"keyword"}),d("if ${}:\n ${}\nelse:\n ${}",{label:"if",detail:"/ else block",type:"keyword"}),d("class ${name}:\n def __init__(self, ${params}):\n ${}",{label:"class",detail:"definition",type:"keyword"}),d("import ${module}",{label:"import",detail:"statement",type:"keyword"}),d("from ${module} import ${names}",{label:"from",detail:"import",type:"keyword"})],ce=B(I,QO($e.concat(he)));function z(O){let{node:e,pos:i}=O,a=O.lineIndent(i,-1),r=null;for(;;){let Q=e.childBefore(i);if(Q)if(Q.name=="Comment")i=Q.from;else if(Q.name=="Body"||Q.name=="MatchBody")O.baseIndentFor(Q)+O.unit<=a&&(r=Q),e=Q;else if(Q.name=="MatchClause")e=Q;else if(Q.type.is("Statement"))e=Q;else break;else break}return r}function W(O,e){let i=O.baseIndentFor(e),a=O.lineAt(O.pos,-1),r=a.from+a.text.length;return/^\s*($|#)/.test(a.text)&&O.node.toi?null:i+O.unit}const v=OO.define({name:"python",parser:ge.configure({props:[eO.add({Body:O=>{var e;let i=/^\s*(#|$)/.test(O.textAfter)&&z(O)||O.node;return(e=W(O,i))!==null&&e!==void 0?e:O.continue()},MatchBody:O=>{var e;let i=z(O);return(e=W(O,i||O.node))!==null&&e!==void 0?e:O.continue()},IfStatement:O=>/^\s*(else:|elif )/.test(O.textAfter)?O.baseIndent:O.continue(),"ForStatement WhileStatement":O=>/^\s*else:/.test(O.textAfter)?O.baseIndent:O.continue(),TryStatement:O=>/^\s*(except[ :]|finally:|else:)/.test(O.textAfter)?O.baseIndent:O.continue(),MatchStatement:O=>/^\s*case /.test(O.textAfter)?O.baseIndent+O.unit:O.continue(),"TupleExpression ComprehensionExpression ParamList ArgList ParenthesizedExpression":f({closing:")"}),"DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression":f({closing:"}"}),"ArrayExpression ArrayComprehensionExpression":f({closing:"]"}),MemberExpression:O=>O.baseIndent+O.unit,"String FormatString":()=>null,Script:O=>{var e;let i=z(O);return(e=i&&W(O,i))!==null&&e!==void 0?e:O.continue()}}),iO.add({"ArrayExpression DictionaryExpression SetExpression TupleExpression":aO,Body:(O,e)=>({from:O.from+1,to:O.to-(O.to==e.doc.length?0:1)}),"String FormatString":(O,e)=>({from:e.doc.lineAt(O.from).to,to:O.to})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["f","fr","rf","r","u","b","br","rb","F","FR","RF","R","U","B","BR","RB"]},commentTokens:{line:"#"},indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:|case\s+[^:]*:?)$/}});function ye(){return new M(v,[v.data.of({autocomplete:me}),v.data.of({autocomplete:ce})])}export{ce as globalCompletion,me as localCompletionSource,ye as python,v as pythonLanguage}; diff --git a/frontend/dist/assets/index-D1b786GX.js b/frontend/dist/assets/index-D1b786GX.js index b46676b..804a1bb 100644 --- a/frontend/dist/assets/index-D1b786GX.js +++ b/frontend/dist/assets/index-D1b786GX.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-D1b786GX.js import{a6 as x,bw as C,bt as E}from"./index-CD29OCdJ.js";const s=new Map;if(E){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of s.values())for(const{documentHandler:a}of n)a(t,e);e=void 0}})}function l(e,t){let n=[];return x(t.arg)?n=t.arg:C(t.arg)&&n.push(t.arg),function(a,o){const c=t.instance.popperRef,r=a.target,d=o==null?void 0:o.target,i=!t||!t.instance,f=!r||!d,p=e.contains(r)||e.contains(d),h=e===r,g=n.length&&n.some(u=>u==null?void 0:u.contains(r))||n.length&&n.includes(d),v=c&&(c.contains(r)||c.contains(d));i||f||p||h||g||v||t.value(a,o)}}const m={beforeMount(e,t){s.has(e)||s.set(e,[]),s.get(e).push({documentHandler:l(e,t),bindingFn:t.value})},updated(e,t){s.has(e)||s.set(e,[]);const n=s.get(e),a=n.findIndex(c=>c.bindingFn===t.oldValue),o={documentHandler:l(e,t),bindingFn:t.value};a>=0?n.splice(a,1,o):n.push(o)},unmounted(e){s.delete(e)}};export{m as C}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-CQlF36Lk.js +import{a6 as x,bw as C,bt as E}from"./index-Ds9AETjS.js";const s=new Map;if(E){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of s.values())for(const{documentHandler:a}of n)a(t,e);e=void 0}})}function l(e,t){let n=[];return x(t.arg)?n=t.arg:C(t.arg)&&n.push(t.arg),function(a,o){const c=t.instance.popperRef,r=a.target,d=o==null?void 0:o.target,i=!t||!t.instance,f=!r||!d,p=e.contains(r)||e.contains(d),h=e===r,g=n.length&&n.some(u=>u==null?void 0:u.contains(r))||n.length&&n.includes(d),v=c&&(c.contains(r)||c.contains(d));i||f||p||h||g||v||t.value(a,o)}}const m={beforeMount(e,t){s.has(e)||s.set(e,[]),s.get(e).push({documentHandler:l(e,t),bindingFn:t.value})},updated(e,t){s.has(e)||s.set(e,[]);const n=s.get(e),a=n.findIndex(c=>c.bindingFn===t.oldValue),o={documentHandler:l(e,t),bindingFn:t.value};a>=0?n.splice(a,1,o):n.push(o)},unmounted(e){s.delete(e)}};export{m as C}; +======== +import{a6 as x,bw as C,bt as E}from"./index-CxbBjZKo.js";const s=new Map;if(E){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of s.values())for(const{documentHandler:a}of n)a(t,e);e=void 0}})}function l(e,t){let n=[];return x(t.arg)?n=t.arg:C(t.arg)&&n.push(t.arg),function(a,o){const c=t.instance.popperRef,r=a.target,d=o==null?void 0:o.target,i=!t||!t.instance,f=!r||!d,p=e.contains(r)||e.contains(d),h=e===r,g=n.length&&n.some(u=>u==null?void 0:u.contains(r))||n.length&&n.includes(d),v=c&&(c.contains(r)||c.contains(d));i||f||p||h||g||v||t.value(a,o)}}const m={beforeMount(e,t){s.has(e)||s.set(e,[]),s.get(e).push({documentHandler:l(e,t),bindingFn:t.value})},updated(e,t){s.has(e)||s.set(e,[]);const n=s.get(e),a=n.findIndex(c=>c.bindingFn===t.oldValue),o={documentHandler:l(e,t),bindingFn:t.value};a>=0?n.splice(a,1,o):n.push(o)},unmounted(e){s.delete(e)}};export{m as C}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-Bzaib5AU.js diff --git a/frontend/dist/assets/index-D23K2h6y.js b/frontend/dist/assets/index-D23K2h6y.js new file mode 100644 index 0000000..19a636f --- /dev/null +++ b/frontend/dist/assets/index-D23K2h6y.js @@ -0,0 +1,7 @@ +import{D as it,aK as ot,f as b,j as d,N as L,bt as pt,c8 as vt,c9 as kt,B as $,bk as yt,y as I,G as St,ah as xt,a9 as G,b as wt,br as Mt,i as Q,aS as $t,R as ut,u as Bt,bF as At,ca as It,a as Y,d as lt,o as x,e as A,w as j,c as O,M as Nt,h as E,E as X,n as q,r as T,g as tt,Y as Rt,F as Ht,z as Ft,l as Et,ab as _t}from"./index-CxbBjZKo.js";const Vt=({from:s,replacement:e,scope:t,version:n,ref:r,type:i="API"},a)=>{it(()=>b(a),o=>{o&&ot(t,`[${i}] ${s} is about to be deprecated in version ${n}, please use ${e} instead. +For more detail, please visit: ${r} +`)},{immediate:!0})},ct=s=>{const e=L();return d(()=>{var t,n;return(n=(t=e==null?void 0:e.proxy)==null?void 0:t.$props)==null?void 0:n[s]})},K={prefix:Math.floor(Math.random()*1e4),current:0},zt=Symbol("elIdInjection"),Pt=()=>L()?$(zt,K):K,jt=s=>{const e=Pt();!pt&&e===K&&ot("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed +usage: app.provide(ID_INJECTION_KEY, { + prefix: number, + current: number, +})`);const t=vt();return kt(()=>b(s)||`${t.value}-id-${e.prefix}-${e.current++}`)},J=Symbol("formContextKey"),ht=Symbol("formItemContextKey"),Tt=(s,e={})=>{const t=I(void 0),n=e.prop?t:ct("size"),r=e.global?t:yt(),i=e.form?{size:void 0}:$(J,void 0),a=e.formItem?{size:void 0}:$(ht,void 0);return d(()=>n.value||b(s)||(a==null?void 0:a.size)||(i==null?void 0:i.size)||r.value||"")},ft=s=>{const e=ct("disabled"),t=$(J,void 0);return d(()=>e.value??b(s)??(t==null?void 0:t.disabled)??!1)},Ct=()=>({form:$(J,void 0),formItem:$(ht,void 0)}),ce=(s,{formItemContext:e,disableIdGeneration:t,disableIdManagement:n})=>{t||(t=I(!1)),n||(n=I(!1));const r=L(),i=()=>{let c=r==null?void 0:r.parent;for(;c;){if(c.type.name==="ElFormItem")return!1;if(c.type.name==="ElLabelWrap")return!0;c=c.parent}return!1},a=I();let o;const u=d(()=>{var c;return!!(!(s.label||s.ariaLabel)&&e&&e.inputIds&&((c=e.inputIds)==null?void 0:c.length)<=1)});return St(()=>{o=it([G(s,"id"),t],([c,g])=>{const k=c??(g?void 0:jt().value);k!==a.value&&(e!=null&&e.removeInputId&&!i()&&(a.value&&e.removeInputId(a.value),!(n!=null&&n.value)&&!g&&k&&e.addInputId(k)),a.value=k)},{immediate:!0})}),xt(()=>{o&&o(),e!=null&&e.removeInputId&&a.value&&e.removeInputId(a.value)}),{isLabeledByFormItem:u,inputId:a}},Dt=["default","primary","success","warning","info","danger","text",""],Gt=["button","submit","reset"],W=wt({size:$t,disabled:{type:Boolean,default:void 0},type:{type:String,values:Dt,default:""},icon:{type:Q},nativeType:{type:String,values:Gt,default:"button"},loading:Boolean,loadingIcon:{type:Q,default:()=>Mt},plain:{type:Boolean,default:void 0},text:{type:Boolean,default:void 0},link:Boolean,bg:Boolean,autofocus:Boolean,round:{type:Boolean,default:void 0},circle:Boolean,dashed:{type:Boolean,default:void 0},color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:ut([String,Object]),default:"button"}}),Ot={click:s=>s instanceof MouseEvent},dt=Symbol("buttonGroupContextKey"),qt=(s,e)=>{Vt({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},d(()=>s.type==="text"));const t=$(dt,void 0),n=Bt("button"),{form:r}=Ct(),i=Tt(d(()=>t==null?void 0:t.size)),a=ft(),o=I(),u=At(),c=d(()=>{var l;return s.type||(t==null?void 0:t.type)||((l=n.value)==null?void 0:l.type)||""}),g=d(()=>{var l;return s.autoInsertSpace??((l=n.value)==null?void 0:l.autoInsertSpace)??!1}),k=d(()=>{var l;return s.plain??((l=n.value)==null?void 0:l.plain)??!1}),_=d(()=>{var l;return s.round??((l=n.value)==null?void 0:l.round)??!1}),V=d(()=>{var l;return s.text??((l=n.value)==null?void 0:l.text)??!1}),z=d(()=>{var l;return s.dashed??((l=n.value)==null?void 0:l.dashed)??!1}),P=d(()=>s.tag==="button"?{ariaDisabled:a.value||s.loading,disabled:a.value||s.loading,autofocus:s.autofocus,type:s.nativeType}:{}),N=d(()=>{var S;const l=(S=u.default)==null?void 0:S.call(u);if(g.value&&(l==null?void 0:l.length)===1){const B=l[0];if((B==null?void 0:B.type)===It){const mt=B.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(mt.trim())}}return!1});return{_disabled:a,_size:i,_type:c,_ref:o,_props:P,_plain:k,_round:_,_text:V,_dashed:z,shouldAddSpace:N,handleClick:l=>{if(a.value||s.loading){l.stopPropagation();return}s.nativeType==="reset"&&(r==null||r.resetFields()),e("click",l)}}};function f(s,e){Kt(s)&&(s="100%");const t=Wt(s);return s=e===360?s:Math.min(e,Math.max(0,parseFloat(s))),t&&(s=parseInt(String(s*e),10)/100),Math.abs(s-e)<1e-6?1:(e===360?s=(s<0?s%e+e:s%e)/parseFloat(String(e)):s=s%e/parseFloat(String(e)),s)}function R(s){return Math.min(1,Math.max(0,s))}function Kt(s){return typeof s=="string"&&s.indexOf(".")!==-1&&parseFloat(s)===1}function Wt(s){return typeof s=="string"&&s.indexOf("%")!==-1}function gt(s){return s=parseFloat(s),(isNaN(s)||s<0||s>1)&&(s=1),s}function H(s){return Number(s)<=1?`${Number(s)*100}%`:s}function M(s){return s.length===1?"0"+s:String(s)}function Ut(s,e,t){return{r:f(s,255)*255,g:f(e,255)*255,b:f(t,255)*255}}function et(s,e,t){s=f(s,255),e=f(e,255),t=f(t,255);const n=Math.max(s,e,t),r=Math.min(s,e,t);let i=0,a=0;const o=(n+r)/2;if(n===r)a=0,i=0;else{const u=n-r;switch(a=o>.5?u/(2-n-r):u/(n+r),n){case s:i=(e-t)/u+(e1&&(t-=1),t<1/6?s+(e-s)*(6*t):t<1/2?e:t<2/3?s+(e-s)*(2/3-t)*6:s}function Lt(s,e,t){let n,r,i;if(s=f(s,360),e=f(e,100),t=f(t,100),e===0)r=t,i=t,n=t;else{const a=t<.5?t*(1+e):t+e-t*e,o=2*t-a;n=C(o,a,s+1/3),r=C(o,a,s),i=C(o,a,s-1/3)}return{r:n*255,g:r*255,b:i*255}}function st(s,e,t){s=f(s,255),e=f(e,255),t=f(t,255);const n=Math.max(s,e,t),r=Math.min(s,e,t);let i=0;const a=n,o=n-r,u=n===0?0:o/n;if(n===r)i=0;else{switch(n){case s:i=(e-t)/o+(e>16,g:(s&65280)>>8,b:s&255}}const U={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function te(s){let e={r:0,g:0,b:0},t=1,n=null,r=null,i=null,a=!1,o=!1;return typeof s=="string"&&(s=ne(s)),typeof s=="object"&&(m(s.r)&&m(s.g)&&m(s.b)?(e=Ut(s.r,s.g,s.b),a=!0,o=String(s.r).substr(-1)==="%"?"prgb":"rgb"):m(s.h)&&m(s.s)&&m(s.v)?(n=H(s.s),r=H(s.v),e=Yt(s.h,n,r),a=!0,o="hsv"):m(s.h)&&m(s.s)&&m(s.l)?(n=H(s.s),i=H(s.l),e=Lt(s.h,n,i),a=!0,o="hsl"):m(s.c)&&m(s.m)&&m(s.y)&&m(s.k)&&(e=Zt(s.c,s.m,s.y,s.k),a=!0,o="cmyk"),Object.prototype.hasOwnProperty.call(s,"a")&&(t=s.a)),t=gt(t),{ok:a,format:s.format||o,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:t}}const ee="[-\\+]?\\d+%?",se="[-\\+]?\\d*\\.\\d+%?",w="(?:"+se+")|(?:"+ee+")",D="[\\s|\\(]+("+w+")[,|\\s]+("+w+")[,|\\s]+("+w+")\\s*\\)?",F="[\\s|\\(]+("+w+")[,|\\s]+("+w+")[,|\\s]+("+w+")[,|\\s]+("+w+")\\s*\\)?",v={CSS_UNIT:new RegExp(w),rgb:new RegExp("rgb"+D),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+D),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+D),hsva:new RegExp("hsva"+F),cmyk:new RegExp("cmyk"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function ne(s){if(s=s.trim().toLowerCase(),s.length===0)return!1;let e=!1;if(U[s])s=U[s],e=!0;else if(s==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let t=v.rgb.exec(s);return t?{r:t[1],g:t[2],b:t[3]}:(t=v.rgba.exec(s),t?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=v.hsl.exec(s),t?{h:t[1],s:t[2],l:t[3]}:(t=v.hsla.exec(s),t?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=v.hsv.exec(s),t?{h:t[1],s:t[2],v:t[3]}:(t=v.hsva.exec(s),t?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=v.cmyk.exec(s),t?{c:t[1],m:t[2],y:t[3],k:t[4]}:(t=v.hex8.exec(s),t?{r:p(t[1]),g:p(t[2]),b:p(t[3]),a:rt(t[4]),format:e?"name":"hex8"}:(t=v.hex6.exec(s),t?{r:p(t[1]),g:p(t[2]),b:p(t[3]),format:e?"name":"hex"}:(t=v.hex4.exec(s),t?{r:p(t[1]+t[1]),g:p(t[2]+t[2]),b:p(t[3]+t[3]),a:rt(t[4]+t[4]),format:e?"name":"hex8"}:(t=v.hex3.exec(s),t?{r:p(t[1]+t[1]),g:p(t[2]+t[2]),b:p(t[3]+t[3]),format:e?"name":"hex"}:!1))))))))))}function m(s){return typeof s=="number"?!Number.isNaN(s):v.CSS_UNIT.test(s)}class h{constructor(e="",t={}){if(e instanceof h)return e;typeof e=="number"&&(e=Xt(e)),this.originalInput=e;const n=te(e);this.originalInput=e,this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this.roundA=Math.round(100*this.a)/100,this.format=t.format??n.format,this.gradientType=t.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=n.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){const e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3}getLuminance(){const e=this.toRgb();let t,n,r;const i=e.r/255,a=e.g/255,o=e.b/255;return i<=.03928?t=i/12.92:t=Math.pow((i+.055)/1.055,2.4),a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),.2126*t+.7152*n+.0722*r}getAlpha(){return this.a}setAlpha(e){return this.a=gt(e),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){const{s:e}=this.toHsl();return e===0}toHsv(){const e=st(this.r,this.g,this.b);return{h:e.h*360,s:e.s,v:e.v,a:this.a}}toHsvString(){const e=st(this.r,this.g,this.b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.v*100);return this.a===1?`hsv(${t}, ${n}%, ${r}%)`:`hsva(${t}, ${n}%, ${r}%, ${this.roundA})`}toHsl(){const e=et(this.r,this.g,this.b);return{h:e.h*360,s:e.s,l:e.l,a:this.a}}toHslString(){const e=et(this.r,this.g,this.b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.l*100);return this.a===1?`hsl(${t}, ${n}%, ${r}%)`:`hsla(${t}, ${n}%, ${r}%, ${this.roundA})`}toHex(e=!1){return nt(this.r,this.g,this.b,e)}toHexString(e=!1){return"#"+this.toHex(e)}toHex8(e=!1){return Jt(this.r,this.g,this.b,this.a,e)}toHex8String(e=!1){return"#"+this.toHex8(e)}toHexShortString(e=!1){return this.a===1?this.toHexString(e):this.toHex8String(e)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){const e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return this.a===1?`rgb(${e}, ${t}, ${n})`:`rgba(${e}, ${t}, ${n}, ${this.roundA})`}toPercentageRgb(){const e=t=>`${Math.round(f(t,255)*100)}%`;return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}}toPercentageRgbString(){const e=t=>Math.round(f(t,255)*100);return this.a===1?`rgb(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%)`:`rgba(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%, ${this.roundA})`}toCmyk(){return{...at(this.r,this.g,this.b)}}toCmykString(){const{c:e,m:t,y:n,k:r}=at(this.r,this.g,this.b);return`cmyk(${e}, ${t}, ${n}, ${r})`}toName(){if(this.a===0)return"transparent";if(this.a<1)return!1;const e="#"+nt(this.r,this.g,this.b,!1);for(const[t,n]of Object.entries(U))if(e===n)return t;return!1}toString(e){const t=!!e;e=e??this.format;let n=!1;const r=this.a<1&&this.a>=0;return!t&&r&&(e.startsWith("hex")||e==="name")?e==="name"&&this.a===0?this.toName():this.toRgbString():(e==="rgb"&&(n=this.toRgbString()),e==="prgb"&&(n=this.toPercentageRgbString()),(e==="hex"||e==="hex6")&&(n=this.toHexString()),e==="hex3"&&(n=this.toHexString(!0)),e==="hex4"&&(n=this.toHex8String(!0)),e==="hex8"&&(n=this.toHex8String()),e==="name"&&(n=this.toName()),e==="hsl"&&(n=this.toHslString()),e==="hsv"&&(n=this.toHsvString()),e==="cmyk"&&(n=this.toCmykString()),n||this.toHexString())}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new h(this.toString())}lighten(e=10){const t=this.toHsl();return t.l+=e/100,t.l=R(t.l),new h(t)}brighten(e=10){const t=this.toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(255*-(e/100)))),t.g=Math.max(0,Math.min(255,t.g-Math.round(255*-(e/100)))),t.b=Math.max(0,Math.min(255,t.b-Math.round(255*-(e/100)))),new h(t)}darken(e=10){const t=this.toHsl();return t.l-=e/100,t.l=R(t.l),new h(t)}tint(e=10){return this.mix("white",e)}shade(e=10){return this.mix("black",e)}desaturate(e=10){const t=this.toHsl();return t.s-=e/100,t.s=R(t.s),new h(t)}saturate(e=10){const t=this.toHsl();return t.s+=e/100,t.s=R(t.s),new h(t)}greyscale(){return this.desaturate(100)}spin(e){const t=this.toHsl(),n=(t.h+e)%360;return t.h=n<0?360+n:n,new h(t)}mix(e,t=50){const n=this.toRgb(),r=new h(e).toRgb(),i=t/100,a={r:(r.r-n.r)*i+n.r,g:(r.g-n.g)*i+n.g,b:(r.b-n.b)*i+n.b,a:(r.a-n.a)*i+n.a};return new h(a)}analogous(e=6,t=30){const n=this.toHsl(),r=360/t,i=[this];for(n.h=(n.h-(r*e>>1)+720)%360;--e;)n.h=(n.h+r)%360,i.push(new h(n));return i}complement(){const e=this.toHsl();return e.h=(e.h+180)%360,new h(e)}monochromatic(e=6){const t=this.toHsv(),{h:n}=t,{s:r}=t;let{v:i}=t;const a=[],o=1/e;for(;e--;)a.push(new h({h:n,s:r,v:i})),i=(i+o)%1;return a}splitcomplement(){const e=this.toHsl(),{h:t}=e;return[this,new h({h:(t+72)%360,s:e.s,l:e.l}),new h({h:(t+216)%360,s:e.s,l:e.l})]}onBackground(e){const t=this.toRgb(),n=new h(e).toRgb(),r=t.a+n.a*(1-t.a);return new h({r:(t.r*t.a+n.r*n.a*(1-t.a))/r,g:(t.g*t.a+n.g*n.a*(1-t.a))/r,b:(t.b*t.a+n.b*n.a*(1-t.a))/r,a:r})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(e){const t=this.toHsl(),{h:n}=t,r=[this],i=360/e;for(let a=1;a{let n={},r=s.color;if(r){const i=r.match(/var\((.*?)\)/);i&&(r=window.getComputedStyle(window.document.documentElement).getPropertyValue(i[1]));const a=new h(r),o=s.dark?a.tint(20).toString():y(a,20);if(s.plain)n=t.cssVarBlock({"bg-color":s.dark?y(a,90):a.tint(90).toString(),"text-color":r,"border-color":s.dark?y(a,50):a.tint(50).toString(),"hover-text-color":`var(${t.cssVarName("color-white")})`,"hover-bg-color":r,"hover-border-color":r,"active-bg-color":o,"active-text-color":`var(${t.cssVarName("color-white")})`,"active-border-color":o}),e.value&&(n[t.cssVarBlockName("disabled-bg-color")]=s.dark?y(a,90):a.tint(90).toString(),n[t.cssVarBlockName("disabled-text-color")]=s.dark?y(a,50):a.tint(50).toString(),n[t.cssVarBlockName("disabled-border-color")]=s.dark?y(a,80):a.tint(80).toString());else if(s.link||s.text){const u=s.dark?y(a,30):a.tint(30).toString();if(n=t.cssVarBlock({"text-color":r,"hover-text-color":u,"active-text-color":o}),s.link&&(n[t.cssVarBlockName("hover-link-text-color")]=u,n[t.cssVarBlockName("active-color")]=o),e.value){const c=s.dark?y(a,50):a.tint(50).toString();n[t.cssVarBlockName("disabled-bg-color")]="transparent",n[t.cssVarBlockName("disabled-text-color")]=c,n[t.cssVarBlockName("disabled-border-color")]="transparent"}}else{const u=s.dark?y(a,30):a.tint(30).toString(),c=a.isDark()?`var(${t.cssVarName("color-white")})`:`var(${t.cssVarName("color-black")})`;if(n=t.cssVarBlock({"bg-color":r,"text-color":c,"border-color":r,"hover-bg-color":u,"hover-text-color":c,"hover-border-color":u,"active-bg-color":o,"active-border-color":o}),e.value){const g=s.dark?y(a,50):a.tint(50).toString();n[t.cssVarBlockName("disabled-bg-color")]=g,n[t.cssVarBlockName("disabled-text-color")]=s.dark?"rgba(255, 255, 255, 0.5)":`var(${t.cssVarName("color-white")})`,n[t.cssVarBlockName("disabled-border-color")]=g}}}return n})}var re=lt({name:"ElButton",__name:"button",props:W,emits:Ot,setup(s,{expose:e,emit:t}){const n=s,r=t,i=ae(n),a=Y("button"),{_ref:o,_size:u,_type:c,_disabled:g,_props:k,_plain:_,_round:V,_text:z,_dashed:P,shouldAddSpace:N,handleClick:Z}=qt(n,r),l=d(()=>[a.b(),a.m(c.value),a.m(u.value),a.is("disabled",g.value),a.is("loading",n.loading),a.is("plain",_.value),a.is("round",V.value),a.is("circle",n.circle),a.is("text",z.value),a.is("dashed",P.value),a.is("link",n.link),a.is("has-bg",n.bg)]);return e({ref:o,size:u,type:c,disabled:g,shouldAddSpace:N}),(S,B)=>(x(),A(T(s.tag),Rt({ref_key:"_ref",ref:o},b(k),{class:l.value,style:b(i),onClick:b(Z)}),{default:j(()=>[s.loading?(x(),O(Nt,{key:0},[S.$slots.loading?E(S.$slots,"loading",{key:0}):(x(),A(b(X),{key:1,class:q(b(a).is("loading"))},{default:j(()=>[(x(),A(T(s.loadingIcon)))]),_:1},8,["class"]))],64)):s.icon||S.$slots.icon?(x(),A(b(X),{key:1},{default:j(()=>[s.icon?(x(),A(T(s.icon),{key:0})):E(S.$slots,"icon",{key:1})]),_:3})):tt("v-if",!0),S.$slots.default?(x(),O("span",{key:2,class:q({[b(a).em("text","expand")]:b(N)})},[E(S.$slots,"default")],2)):tt("v-if",!0)]),_:3},16,["class","style","onClick"]))}}),ie=re;const oe={size:W.size,type:W.type,direction:{type:ut(String),values:["horizontal","vertical"],default:"horizontal"}};var ue=lt({name:"ElButtonGroup",__name:"button-group",props:oe,setup(s){const e=s;Ht(dt,Ft({size:G(e,"size"),type:G(e,"type")}));const t=Y("button");return(n,r)=>(x(),O("div",{class:q([b(t).b("group"),b(t).bm("group",e.direction)])},[E(n.$slots,"default")],2))}}),bt=ue;const he=Et(ie,{ButtonGroup:bt}),fe=_t(bt);export{he as E,h as T,Pt as a,Ct as b,ft as c,ce as d,Tt as e,jt as f,J as g,ht as h,Vt as u}; diff --git a/frontend/dist/assets/index-D4lxzjuA.js b/frontend/dist/assets/index-D4lxzjuA.js index f59f1f7..ec3442f 100644 --- a/frontend/dist/assets/index-D4lxzjuA.js +++ b/frontend/dist/assets/index-D4lxzjuA.js @@ -1,2 +1,8 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-D4lxzjuA.js import{L as re,a as ae,i as ne,c as ie,f as se,s as oe,t as i,E as le,b as ce,d as de,e as me,g as ue}from"./index-DFkjzvE0.js";import"./index-CD29OCdJ.js";const pe=36,X=1,fe=2,b=3,C=4,_e=5,ge=6,he=7,ye=8,be=9,ve=10,ke=11,xe=12,Oe=13,we=14,Qe=15,Ce=16,Se=17,I=18,qe=19,E=20,W=21,R=22,Pe=23,Te=24;function q(t){return t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function ze(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function g(t,e,a){for(let r=!1;;){if(t.next<0)return;if(t.next==e&&!r){t.advance();return}r=a&&!r&&t.next==92,t.advance()}}function je(t,e){e:for(;;){if(t.next<0)return;if(t.next==36){t.advance();for(let a=0;a)".charCodeAt(a);for(;;){if(t.next<0)return;if(t.next==r&&t.peek(1)==39){t.advance(2);return}t.advance()}}function P(t,e){for(;!(t.next!=95&&!q(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function Le(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),g(t,e,!1)}else P(t)}function D(t,e){for(;t.next==48||t.next==49;)t.advance();e&&t.next==e&&t.advance()}function Z(t,e){for(;;){if(t.next==46){if(e)break;e=!0}else if(t.next<48||t.next>57)break;t.advance()}if(t.next==69||t.next==101)for(t.advance(),(t.next==43||t.next==45)&&t.advance();t.next>=48&&t.next<=57;)t.advance()}function N(t){for(;!(t.next<0||t.next==10);)t.advance()}function _(t,e){for(let a=0;a=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function ze(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function g(t,e,a){for(let r=!1;;){if(t.next<0)return;if(t.next==e&&!r){t.advance();return}r=a&&!r&&t.next==92,t.advance()}}function je(t,e){e:for(;;){if(t.next<0)return;if(t.next==36){t.advance();for(let a=0;a)".charCodeAt(a);for(;;){if(t.next<0)return;if(t.next==r&&t.peek(1)==39){t.advance(2);return}t.advance()}}function P(t,e){for(;!(t.next!=95&&!q(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function Le(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),g(t,e,!1)}else P(t)}function D(t,e){for(;t.next==48||t.next==49;)t.advance();e&&t.next==e&&t.advance()}function Z(t,e){for(;;){if(t.next==46){if(e)break;e=!0}else if(t.next<48||t.next>57)break;t.advance()}if(t.next==69||t.next==101)for(t.advance(),(t.next==43||t.next==45)&&t.advance();t.next>=48&&t.next<=57;)t.advance()}function N(t){for(;!(t.next<0||t.next==10);)t.advance()}function _(t,e){for(let a=0;a=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function ze(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function g(t,e,a){for(let r=!1;;){if(t.next<0)return;if(t.next==e&&!r){t.advance();return}r=a&&!r&&t.next==92,t.advance()}}function je(t,e){e:for(;;){if(t.next<0)return;if(t.next==36){t.advance();for(let a=0;a)".charCodeAt(a);for(;;){if(t.next<0)return;if(t.next==r&&t.peek(1)==39){t.advance(2);return}t.advance()}}function P(t,e){for(;!(t.next!=95&&!q(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function Le(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),g(t,e,!1)}else P(t)}function D(t,e){for(;t.next==48||t.next==49;)t.advance();e&&t.next==e&&t.advance()}function Z(t,e){for(;;){if(t.next==46){if(e)break;e=!0}else if(t.next<48||t.next>57)break;t.advance()}if(t.next==69||t.next==101)for(t.advance(),(t.next==43||t.next==45)&&t.advance();t.next>=48&&t.next<=57;)t.advance()}function N(t){for(;!(t.next<0||t.next==10);)t.advance()}function _(t,e){for(let a=0;a>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-DzRIYpeT.js `;function M(t,e,a){let r=Object.create(null);r.true=r.false=_e,r.null=r.unknown=ge;for(let n of t.split(" "))n&&(r[n]=E);for(let n of e.split(" "))n&&(r[n]=W);for(let n of(a||"").split(" "))n&&(r[n]=Te);return r}const h="array binary bit boolean char character clob date decimal double float int integer interval large national nchar nclob numeric object precision real smallint time timestamp varchar varying ",y="absolute action add after all allocate alter and any are as asc assertion at authorization before begin between both breadth by call cascade cascaded case cast catalog check close collate collation column commit condition connect connection constraint constraints constructor continue corresponding count create cross cube current current_date current_default_transform_group current_transform_group_for_type current_path current_role current_time current_timestamp current_user cursor cycle data day deallocate declare default deferrable deferred delete depth deref desc describe descriptor deterministic diagnostics disconnect distinct do domain drop dynamic each else elseif end end-exec equals escape except exception exec execute exists exit external fetch first for foreign found from free full function general get global go goto grant group grouping handle having hold hour identity if immediate in indicator initially inner inout input insert intersect into is isolation join key language last lateral leading leave left level like limit local localtime localtimestamp locator loop map match method minute modifies module month names natural nesting new next no none not of old on only open option or order ordinality out outer output overlaps pad parameter partial path prepare preserve primary prior privileges procedure public read reads recursive redo ref references referencing relative release repeat resignal restrict result return returns revoke right role rollback rollup routine row rows savepoint schema scroll search second section select session session_user set sets signal similar size some space specific specifictype sql sqlexception sqlstate sqlwarning start state static system_user table temporary then timezone_hour timezone_minute to trailing transaction translation treat trigger under undo union unique unnest until update usage user using value values view when whenever where while with without work write year zone ",T={backslashEscapes:!1,hashComments:!1,spaceAfterDashes:!1,slashComments:!1,doubleQuotedStrings:!1,doubleDollarQuotedStrings:!1,unquotedBitLiterals:!1,treatBitsAsBytes:!1,charSetCasts:!1,plsqlQuotingMechanism:!1,operatorChars:"*+-%<>!=&|~^/",specialVar:"?",identifierQuotes:'"',caseInsensitiveIdentifiers:!1,words:M(y,h)};function Be(t,e,a,r){let n={};for(let s in T)n[s]=(t.hasOwnProperty(s)?t:T)[s];return e&&(n.words=M(e,a||"",r)),n}function K(t){return new le(e=>{var a;let{next:r}=e;if(e.advance(),_(r,S)){for(;_(e.next,S);)e.advance();e.acceptToken(pe)}else if(r==36&&t.doubleDollarQuotedStrings){let n=P(e,"");e.next==36&&(e.advance(),je(e,n),e.acceptToken(b))}else if(r==39||r==34&&t.doubleQuotedStrings)g(e,r,t.backslashEscapes),e.acceptToken(b);else if(r==35&&t.hashComments||r==47&&e.next==47&&t.slashComments)N(e),e.acceptToken(X);else if(r==45&&e.next==45&&(!t.spaceAfterDashes||e.peek(1)==32))N(e),e.acceptToken(X);else if(r==47&&e.next==42){e.advance();for(let n=1;;){let s=e.next;if(e.next<0)break;if(e.advance(),s==42&&e.next==47){if(n--,e.advance(),!n)break}else s==47&&e.next==42&&(n++,e.advance())}e.acceptToken(fe)}else if((r==101||r==69)&&e.next==39)e.advance(),g(e,39,!0),e.acceptToken(b);else if((r==110||r==78)&&e.next==39&&t.charSetCasts)e.advance(),g(e,39,t.backslashEscapes),e.acceptToken(b);else if(r==95&&t.charSetCasts)for(let n=0;;n++){if(e.next==39&&n>1){e.advance(),g(e,39,t.backslashEscapes),e.acceptToken(b);break}if(!q(e.next))break;e.advance()}else if(t.plsqlQuotingMechanism&&(r==113||r==81)&&e.next==39&&e.peek(1)>0&&!_(e.peek(1),S)){let n=e.peek(1);e.advance(2),Ue(e,n),e.acceptToken(b)}else if(_(r,t.identifierQuotes)){const n=r==91?93:r;g(e,n,!1),e.acceptToken(qe)}else if(r==40)e.acceptToken(he);else if(r==41)e.acceptToken(ye);else if(r==123)e.acceptToken(be);else if(r==125)e.acceptToken(ve);else if(r==91)e.acceptToken(ke);else if(r==93)e.acceptToken(xe);else if(r==59)e.acceptToken(Oe);else if(t.unquotedBitLiterals&&r==48&&e.next==98)e.advance(),D(e),e.acceptToken(R);else if((r==98||r==66)&&(e.next==39||e.next==34)){const n=e.next;e.advance(),t.treatBitsAsBytes?(g(e,n,t.backslashEscapes),e.acceptToken(Pe)):(D(e,n),e.acceptToken(R))}else if(r==48&&(e.next==120||e.next==88)||(r==120||r==88)&&e.next==39){let n=e.next==39;for(e.advance();ze(e.next);)e.advance();n&&e.next==39&&e.advance(),e.acceptToken(C)}else if(r==46&&e.next>=48&&e.next<=57)Z(e,!0),e.acceptToken(C);else if(r==46)e.acceptToken(we);else if(r>=48&&r<=57)Z(e,!1),e.acceptToken(C);else if(_(r,t.operatorChars)){for(;_(e.next,t.operatorChars);)e.advance();e.acceptToken(Qe)}else if(_(r,t.specialVar))e.next==r&&e.advance(),Le(e),e.acceptToken(Se);else if(r==58||r==44)e.acceptToken(Ce);else if(q(r)){let n=P(e,String.fromCharCode(r));e.acceptToken(e.next==46||e.peek(-n.length-1)==46?I:(a=t.words[n.toLowerCase()])!==null&&a!==void 0?a:I)}})}const F=K(T),Xe=me.deserialize({version:14,states:"%vQ]QQOOO#wQRO'#DSO$OQQO'#CwO%eQQO'#CxO%lQQO'#CyO%sQQO'#CzOOQQ'#DS'#DSOOQQ'#C}'#C}O'UQRO'#C{OOQQ'#Cv'#CvOOQQ'#C|'#C|Q]QQOOQOQQOOO'`QQO'#DOO(xQRO,59cO)PQQO,59cO)UQQO'#DSOOQQ,59d,59dO)cQQO,59dOOQQ,59e,59eO)jQQO,59eOOQQ,59f,59fO)qQQO,59fOOQQ-E6{-E6{OOQQ,59b,59bOOQQ-E6z-E6zOOQQ,59j,59jOOQQ-E6|-E6|O+VQRO1G.}O+^QQO,59cOOQQ1G/O1G/OOOQQ1G/P1G/POOQQ1G/Q1G/QP+kQQO'#C}O+rQQO1G.}O)PQQO,59cO,PQQO'#Cw",stateData:",[~OtOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O^]ORvXSvXTvXUvXVvXXvXZvX]vX_vX`vXavXbvXcvXdvXevXfvXgvXhvX~OsvX~P!jOa_Ob_Oc_O~ORUOSUOTUOUUOVROXSOZTO^tO_UO`UOa`Ob`Oc`OdUOeUOfUOgUOhUO~OWaO~P$ZOYcO~P$ZO[eO~P$ZORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O]hOsoX~P%zOajObjOcjO~O^]ORkaSkaTkaUkaVkaXkaZka]ka_ka`kaakabkackadkaekafkagkahka~Oska~P'kO^]O~OWvXYvX[vX~P!jOWnO~P$ZOYoO~P$ZO[pO~P$ZO^]ORkiSkiTkiUkiVkiXkiZki]ki_ki`kiakibkickidkiekifkigkihki~Oski~P)xOWkaYka[ka~P'kO]hO~P$ZOWkiYki[ki~P)xOasObsOcsO~O",goto:"#hwPPPPPPPPPPPPPPPPPPPPPPPPPPx||||!Y!^!d!xPPP#[TYOZeUORSTWZbdfqT[OZQZORiZSWOZQbRQdSQfTZgWbdfqQ^PWk^lmrQl_Qm`RrseVORSTWZbdfq",nodeNames:"⚠ LineComment BlockComment String Number Bool Null ( ) { } [ ] ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Bits Bytes Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:38,nodeProps:[["isolate",-4,1,2,3,19,""]],skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,F],topRules:{Script:[0,25]},tokenPrec:0});function z(t){let e=t.cursor().moveTo(t.from,-1);for(;/Comment/.test(e.name);)e.moveTo(e.from,-1);return e.node}function x(t,e){let a=t.sliceString(e.from,e.to),r=/^([`'"\[])(.*)([`'"\]])$/.exec(a);return r?r[2]:a}function Q(t){return t&&(t.name=="Identifier"||t.name=="QuotedIdentifier")}function Ie(t,e){if(e.name=="CompositeIdentifier"){let a=[];for(let r=e.firstChild;r;r=r.nextSibling)Q(r)&&a.push(x(t,r));return a}return[x(t,e)]}function V(t,e){for(let a=[];;){if(!e||e.name!=".")return a;let r=z(e);if(!Q(r))return a;a.unshift(x(t,r)),e=z(r)}}function Re(t,e){let a=ue(t).resolveInner(e,-1),r=Ze(t.doc,a);return a.name=="Identifier"||a.name=="QuotedIdentifier"||a.name=="Keyword"?{from:a.from,quoted:a.name=="QuotedIdentifier"?t.doc.sliceString(a.from,a.from+1):null,parents:V(t.doc,z(a)),aliases:r}:a.name=="."?{from:e,quoted:null,parents:V(t.doc,a),aliases:r}:{from:e,quoted:null,parents:[],empty:!0,aliases:r}}const De=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" "));function Ze(t,e){let a;for(let n=e;!a;n=n.parent){if(!n)return null;n.name=="Statement"&&(a=n)}let r=null;for(let n=a.firstChild,s=!1,c=null;n;n=n.nextSibling){let l=n.name=="Keyword"?t.sliceString(n.from,n.to).toLowerCase():null,o=null;if(!s)s=l=="from";else if(l=="as"&&c&&Q(n.nextSibling))o=x(t,n.nextSibling);else{if(l&&De.has(l))break;c&&Q(n)&&(o=x(t,n))}o&&(r||(r=Object.create(null)),r[o]=Ie(t,c)),c=/Identifier$/.test(n.name)?n:null}return r}function Ne(t,e,a){return a.map(r=>({...r,label:r.label[0]==t?r.label:t+r.label+e,apply:void 0}))}const Ve=/^\w*$/,$e=/^[`'"\[]?\w*[`'"\]]?$/;function $(t){return t.self&&typeof t.self.label=="string"}class j{constructor(e,a){this.idQuote=e,this.idCaseInsensitive=a,this.list=[],this.children=void 0}child(e){let a=this.children||(this.children=Object.create(null)),r=a[e];return r||(e&&!this.list.some(n=>n.label==e)&&this.list.push(A(e,"type",this.idQuote,this.idCaseInsensitive)),a[e]=new j(this.idQuote,this.idCaseInsensitive))}maybeChild(e){return this.children?this.children[e]:null}addCompletion(e){let a=this.list.findIndex(r=>r.label==e.label);a>-1?this.list[a]=e:this.list.push(e)}addCompletions(e){for(let a of e)this.addCompletion(typeof a=="string"?A(a,"property",this.idQuote,this.idCaseInsensitive):a)}addNamespace(e){Array.isArray(e)?this.addCompletions(e):$(e)?this.addNamespace(e.children):this.addNamespaceObject(e)}addNamespaceObject(e){for(let a of Object.keys(e)){let r=e[a],n=null,s=a.replace(/\\?\./g,l=>l=="."?"\0":l).split("\0"),c=this;$(r)&&(n=r.self,r=r.children);for(let l=0;l{let{parents:v,from:L,quoted:B,empty:ee,aliases:O}=Re(p.state,p.pos);if(ee&&!p.explicit)return null;O&&v.length==1&&(v=O[v[0]]||v);let d=o;for(let f of v){for(;!d.children||!d.children[f];)if(d==o&&u)d=u;else if(d==u&&r)d=d.child(r);else return null;let k=d.maybeChild(f);if(!k)return null;d=k}let w=d.list;if(d==o&&O&&(w=w.concat(Object.keys(O).map(f=>({label:f,type:"constant"})))),B){let f=B[0],k=G(f),te=p.state.sliceDoc(p.pos,p.pos+1)==k;return{from:L,to:te?p.pos+1:void 0,options:Ne(f,k,w),validFor:$e}}else return{from:L,options:w,validFor:Ve}}}function Ee(t){return t==W?"type":t==E?"keyword":"variable"}function We(t,e,a){let r=Object.keys(t).map(n=>a(e?n.toUpperCase():n,Ee(t[n])));return ce(["QuotedIdentifier","String","LineComment","BlockComment","."],de(r))}let Me=Xe.configure({props:[ne.add({Statement:ie()}),se.add({Statement(t,e){return{from:Math.min(t.from+100,e.doc.lineAt(t.from).to),to:t.to}},BlockComment(t){return{from:t.from+2,to:t.to-2}}}),oe({Keyword:i.keyword,Type:i.typeName,Builtin:i.standard(i.name),Bits:i.number,Bytes:i.string,Bool:i.bool,Null:i.null,Number:i.number,String:i.string,Identifier:i.name,QuotedIdentifier:i.special(i.string),SpecialVar:i.special(i.name),LineComment:i.lineComment,BlockComment:i.blockComment,Operator:i.operator,"Semi Punctuation":i.punctuation,"( )":i.paren,"{ }":i.brace,"[ ]":i.squareBracket})]});class m{constructor(e,a,r){this.dialect=e,this.language=a,this.spec=r}get extension(){return this.language.extension}configureLanguage(e,a){return new m(this.dialect,this.language.configure(e,a),this.spec)}static define(e){let a=Be(e,e.keywords,e.types,e.builtin),r=re.define({name:"sql",parser:Me.configure({tokenizers:[{from:F,to:K(a)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new m(a,r,e)}}function Ke(t,e){return{label:t,type:e,boost:-1}}function Fe(t,e=!1,a){return We(t.dialect.words,e,a||Ke)}function Ge(t){return t.schema?Ae(t.schema,t.tables,t.schemas,t.defaultTable,t.defaultSchema,t.dialect||U):()=>null}function Ye(t){return t.schema?(t.dialect||U).language.data.of({autocomplete:Ge(t)}):[]}function tt(t={}){let e=t.dialect||U;return new ae(e.language,[Ye(t),e.language.data.of({autocomplete:Fe(e,t.upperCaseKeywords,t.keywordCompletion)})])}const U=m.define({}),rt=m.define({charSetCasts:!0,doubleDollarQuotedStrings:!0,operatorChars:"+-*/<>=~!@#%^&|`?",specialVar:"",keywords:y+"abort abs absent access according ada admin aggregate alias also always analyse analyze array_agg array_max_cardinality asensitive assert assignment asymmetric atomic attach attribute attributes avg backward base64 begin_frame begin_partition bernoulli bit_length blocked bom cache called cardinality catalog_name ceil ceiling chain char_length character_length character_set_catalog character_set_name character_set_schema characteristics characters checkpoint class class_origin cluster coalesce cobol collation_catalog collation_name collation_schema collect column_name columns command_function command_function_code comment comments committed concurrently condition_number configuration conflict connection_name constant constraint_catalog constraint_name constraint_schema contains content control conversion convert copy corr cost covar_pop covar_samp csv cume_dist current_catalog current_row current_schema cursor_name database datalink datatype datetime_interval_code datetime_interval_precision db debug defaults defined definer degree delimiter delimiters dense_rank depends derived detach detail dictionary disable discard dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue document dump dynamic_function dynamic_function_code element elsif empty enable encoding encrypted end_frame end_partition endexec enforced enum errcode error event every exclude excluding exclusive exp explain expression extension extract family file filter final first_value flag floor following force foreach fortran forward frame_row freeze fs functions fusion generated granted greatest groups handler header hex hierarchy hint id ignore ilike immediately immutable implementation implicit import include including increment indent index indexes info inherit inherits inline insensitive instance instantiable instead integrity intersection invoker isnull key_member key_type label lag last_value lead leakproof least length library like_regex link listen ln load location lock locked log logged lower mapping matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text min minvalue mod mode more move multiset mumps name namespace nfc nfd nfkc nfkd nil normalize normalized nothing notice notify notnull nowait nth_value ntile nullable nullif nulls number occurrences_regex octet_length octets off offset oids operator options ordering others over overlay overriding owned owner parallel parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partition pascal passing passthrough password percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding prepared print_strict_params procedural procedures program publication query quote raise range rank reassign recheck recovery refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex rename repeatable replace replica requiring reset respect restart restore result_oid returned_cardinality returned_length returned_octet_length returned_sqlstate returning reverse routine_catalog routine_name routine_schema routines row_count row_number rowtype rule scale schema_name schemas scope scope_catalog scope_name scope_schema security selective self sensitive sequence sequences serializable server server_name setof share show simple skip slice snapshot source specific_name sqlcode sqlerror sqrt stable stacked standalone statement statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time table_name tables tablesample tablespace temp template ties token top_level_count transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex trigger_catalog trigger_name trigger_schema trim trim_array truncate trusted type types uescape unbounded uncommitted unencrypted unlink unlisten unlogged unnamed untyped upper uri use_column use_variable user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema vacuum valid validate validator value_of var_pop var_samp varbinary variable_conflict variadic verbose version versioning views volatile warning whitespace width_bucket window within wrapper xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate yes",types:h+"bigint int8 bigserial serial8 varbit bool box bytea cidr circle precision float8 inet int4 json jsonb line lseg macaddr macaddr8 money numeric pg_lsn point polygon float4 int2 smallserial serial2 serial serial4 text timetz timestamptz tsquery tsvector txid_snapshot uuid xml"}),Y="accessible algorithm analyze asensitive authors auto_increment autocommit avg avg_row_length binlog btree cache catalog_name chain change changed checkpoint checksum class_origin client_statistics coalesce code collations columns comment committed completion concurrent consistent contains contributors convert database databases day_hour day_microsecond day_minute day_second delay_key_write delayed delimiter des_key_file dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile enable enclosed ends engine engines enum errors escaped even event events every explain extended fast field fields flush force found_rows fulltext grants handler hash high_priority hosts hour_microsecond hour_minute hour_second ignore ignore_server_ids import index index_statistics infile innodb insensitive insert_method install invoker iterate keys kill linear lines list load lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modify mutex mysql_errno no_write_to_binlog offline offset one online optimize optionally outfile pack_keys parser partition partitions password phase plugin plugins prev processlist profile profiles purge query quick range read_write rebuild recover regexp relaylog remove rename reorganize repair repeatable replace require resume rlike row_format rtree schedule schema_name schemas second_microsecond security sensitive separator serializable server share show slave slow snapshot soname spatial sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result ssl starting starts std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace terminated triggers truncate uncommitted uninstall unlock upgrade use use_frm user_resources user_statistics utc_date utc_time utc_timestamp variables views warnings xa xor year_month zerofill",H=h+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int1 int2 int3 int4 int8 float4 float8 varbinary varcharacter precision datetime unsigned signed",J="charset clear edit ego help nopager notee nowarning pager print prompt quit rehash source status system tee",at=m.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:y+"group_concat "+Y,types:H,builtin:J}),nt=m.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:y+"always generated groupby_concat hard persistent shutdown soft virtual "+Y,types:H,builtin:J});let He="approx_count_distinct approx_percentile_cont approx_percentile_disc avg checksum_agg count count_big grouping grouping_id max min product stdev stdevp sum var varp ai_generate_embeddings ai_generate_chunks cume_dist first_value lag last_value lead percentile_cont percentile_disc percent_rank left_shift right_shift bit_count get_bit set_bit collationproperty tertiary_weights @@datefirst @@dbts @@langid @@language @@lock_timeout @@max_connections @@max_precision @@nestlevel @@options @@remserver @@servername @@servicename @@spid @@textsize @@version cast convert parse try_cast try_convert try_parse asymkey_id asymkeyproperty certproperty cert_id crypt_gen_random decryptbyasymkey decryptbycert decryptbykey decryptbykeyautoasymkey decryptbykeyautocert decryptbypassphrase encryptbyasymkey encryptbycert encryptbykey encryptbypassphrase hashbytes is_objectsigned key_guid key_id key_name signbyasymkey signbycert symkeyproperty verifysignedbycert verifysignedbyasymkey @@cursor_rows @@fetch_status cursor_status datalength ident_current ident_incr ident_seed identity sql_variant_property @@datefirst current_timestamp current_timezone current_timezone_id date_bucket dateadd datediff datediff_big datefromparts datename datepart datetime2fromparts datetimefromparts datetimeoffsetfromparts datetrunc day eomonth getdate getutcdate isdate month smalldatetimefromparts switchoffset sysdatetime sysdatetimeoffset sysutcdatetime timefromparts todatetimeoffset year edit_distance edit_distance_similarity jaro_winkler_distance jaro_winkler_similarity edge_id_from_parts graph_id_from_edge_id graph_id_from_node_id node_id_from_parts object_id_from_edge_id object_id_from_node_id json isjson json_array json_contains json_modify json_object json_path_exists json_query json_value regexp_like regexp_replace regexp_substr regexp_instr regexp_count regexp_matches regexp_split_to_table abs acos asin atan atn2 ceiling cos cot degrees exp floor log log10 pi power radians rand round sign sin sqrt square tan choose greatest iif least @@procid app_name applock_mode applock_test assemblyproperty col_length col_name columnproperty databasepropertyex db_id db_name file_id file_idex file_name filegroup_id filegroup_name filegroupproperty fileproperty filepropertyex fulltextcatalogproperty fulltextserviceproperty index_col indexkey_property indexproperty next value for object_definition object_id object_name object_schema_name objectproperty objectpropertyex original_db_name parsename schema_id schema_name scope_identity serverproperty stats_date type_id type_name typeproperty dense_rank ntile rank row_number publishingservername certenclosed certprivatekey current_user database_principal_id has_dbaccess has_perms_by_name is_member is_rolemember is_srvrolemember loginproperty original_login permissions pwdencrypt pwdcompare session_user sessionproperty suser_id suser_name suser_sid suser_sname system_user user user_id user_name ascii char charindex concat concat_ws difference format left len lower ltrim nchar patindex quotename replace replicate reverse right rtrim soundex space str string_agg string_escape stuff substring translate trim unicode upper $partition @@error @@identity @@pack_received @@rowcount @@trancount binary_checksum checksum compress connectionproperty context_info current_request_id current_transaction_id decompress error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big session_context xact_state @@connections @@cpu_busy @@idle @@io_busy @@pack_sent @@packet_errors @@timeticks @@total_errors @@total_read @@total_write textptr textvalid columns_updated eventdata trigger_nestlevel vector_distance vectorproperty vector_search generate_series opendatasource openjson openquery openrowset openxml predict string_split coalesce nullif apply catch filter force include keep keepfixed modify optimize parameterization parameters partition recompile sequence set";const it=m.define({keywords:y+"add external procedure all fetch public alter file raiserror and fillfactor read any for readtext as foreign reconfigure asc freetext references authorization freetexttable replication backup from restore begin full restrict between function return break goto revert browse grant revoke bulk group right by having rollback cascade holdlock rowcount case identity rowguidcol check identity_insert rule checkpoint identitycol save close if schema clustered in securityaudit coalesce index select collate inner semantickeyphrasetable column insert semanticsimilaritydetailstable commit intersect semanticsimilaritytable compute into session_user constraint is set contains join setuser containstable key shutdown continue kill some convert left statistics create like system_user cross lineno table current load tablesample current_date merge textsize current_time national then current_timestamp nocheck to current_user nonclustered top cursor not tran database null transaction dbcc nullif trigger deallocate of truncate declare off try_convert default offsets tsequal delete on union deny open unique desc opendatasource unpivot disk openquery update distinct openrowset updatetext distributed openxml use double option user drop or values dump order varying else outer view end over waitfor errlvl percent when escape pivot where except plan while exec precision with execute primary within group exists print writetext exit proc noexpand index forceseek forcescan holdlock nolock nowait paglock readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot spatial_window_max_cells tablock tablockx updlock xlock keepidentity keepdefaults ignore_constraints ignore_triggers",types:h+"smalldatetime datetimeoffset datetime2 datetime bigint smallint smallmoney tinyint money real text nvarchar ntext varbinary image hierarchyid uniqueidentifier sql_variant xml",builtin:He,operatorChars:"*+-%<>!=^&|/",specialVar:"@",identifierQuotes:'"['}),st=m.define({keywords:y+"abort analyze attach autoincrement conflict database detach exclusive fail glob ignore index indexed instead isnull notnull offset plan pragma query raise regexp reindex rename replace temp vacuum virtual",types:h+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int2 int8 unsigned signed real",builtin:"auth backup bail changes clone databases dbinfo dump echo eqp explain fullschema headers help import imposter indexes iotrace lint load log mode nullvalue once print prompt quit restore save scanstats separator shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width",operatorChars:"*+-%<>!=&|/~",identifierQuotes:'`"',specialVar:"@:?$"}),ot=m.define({keywords:"add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime infinity NaN",types:h+"ascii bigint blob counter frozen inet list map static text timeuuid tuple uuid varint",slashComments:!0}),lt=m.define({keywords:y+"abort accept access add all alter and any arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body by case cast char_base check close cluster clusters colauth column comment commit compress connected constant constraint crash create current currval cursor data_base database dba deallocate debugoff debugon declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry exception exception_init exchange exclusive exists external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base of off offline on online only option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw rebuild record ref references refresh rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work",builtin:"appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define echo editfile embedded feedback flagger flush heading headsep instance linesize lno loboffset logsource longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar repfooter repheader serveroutput shiftinout show showmode spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout timing trimout trimspool ttitle underline verify version wrap",types:h+"ascii bfile bfilename bigserial bit blob dec long number nvarchar nvarchar2 serial smallint string text uid varchar2 xml",operatorChars:"*/+-%<>!=~",doubleQuotedStrings:!0,charSetCasts:!0,plsqlQuotingMechanism:!0});export{ot as Cassandra,it as MSSQL,nt as MariaSQL,at as MySQL,lt as PLSQL,rt as PostgreSQL,m as SQLDialect,st as SQLite,U as StandardSQL,Fe as keywordCompletionSource,Ge as schemaCompletionSource,tt as sql}; diff --git a/frontend/dist/assets/index-D7OvSAWF.js b/frontend/dist/assets/index-D7OvSAWF.js new file mode 100644 index 0000000..7b34dc9 --- /dev/null +++ b/frontend/dist/assets/index-D7OvSAWF.js @@ -0,0 +1 @@ +import{e as r,s as e,t as O,a as s,L as X,i as l,j as Y,c as $,k as S,f as o,l as t}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const Z=e({null:O.null,instanceof:O.operatorKeyword,this:O.self,"new super assert open to with void":O.keyword,"class interface extends implements enum var":O.definitionKeyword,"module package import":O.moduleKeyword,"switch while for if else case default do break continue return try catch finally throw":O.controlKeyword,"requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws":O.modifier,IntegerLiteral:O.integer,FloatingPointLiteral:O.float,"StringLiteral TextBlock":O.string,CharacterLiteral:O.character,LineComment:O.lineComment,BlockComment:O.blockComment,BooleanLiteral:O.bool,PrimitiveType:O.standard(O.typeName),TypeName:O.typeName,Identifier:O.variableName,"MethodName/Identifier":O.function(O.variableName),Definition:O.definition(O.variableName),ArithOp:O.arithmeticOperator,LogicOp:O.logicOperator,BitOp:O.bitwiseOperator,CompareOp:O.compareOperator,AssignOp:O.definitionOperator,UpdateOp:O.updateOperator,Asterisk:O.punctuation,Label:O.labelName,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace,".":O.derefOperator,", ;":O.separator}),n={__proto__:null,true:34,false:34,null:42,void:46,byte:48,short:48,int:48,long:48,char:48,float:48,double:48,boolean:48,extends:62,super:64,class:76,this:78,new:84,public:100,protected:102,private:104,abstract:106,static:108,final:110,strictfp:112,default:114,synchronized:116,native:118,transient:120,volatile:122,throws:150,implements:160,interface:166,enum:176,instanceof:238,open:267,module:269,requires:274,transitive:276,exports:278,to:280,opens:282,uses:284,provides:286,with:288,package:292,import:296,if:308,else:310,while:314,for:318,var:325,assert:332,switch:336,case:342,do:346,break:350,continue:354,return:358,throw:364,try:368,catch:372,finally:380},d=r.deserialize({version:14,states:"##jQ]QPOOQ$wQPOOO(bQQO'#H^O*iQQO'#CbOOQO'#Cb'#CbO*pQPO'#CaO*xOSO'#CpOOQO'#Hc'#HcOOQO'#Cu'#CuO,eQPO'#D_O-OQQO'#HmOOQO'#Hm'#HmO/gQQO'#HhO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.m/O/[/_/b/d/e/n0Z0f0k0rR&P#Y$QjOcopx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%O%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o+s,Y,`-r-t-}.R.g.m/[/_/b/d/n0Z0f0kQ#f`Q&O#YQ'Y$YU)W%g'`'iQ)}&bQ*s'_Q,Q(tQ,j)oQ,k)pR.c,^Q)n%}R,i)m$SfO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%O%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o+s,Y,`-r-t-}.R.g.m/[/_/b/d/n0Z0f0kT&p#t,ZQ&|#xQ(P$oQ-u+hQ/]-tR0P/_]!nP!o'^*q-^/O#PaOPX`bcx![!f!o!y#_#e#l$_$m$n$o$p$q%O%b%d&]&i'^'e'h'{(U)O)Q)R*W*q+O+d+l+s+x,Y-[-^.R/O/dU#WY!W'|Q%T!eU&k#n#s+fQ(o%VS,s*T*zT.s,u-aj#UY!W!e#n#s%V%w&W)y*T*z,u-aU&V#`&`(}Q)x&[Q+e'|Q+q(`Q-s+fQ.O+rQ/g.WR0U/hQ)i%vQ,g)fR/o.mR,h)f`!jP!o'^'h*q+O-^/OT%W!g*|R%]!hW%U!e%V*z-aQ(z%^R,V({S#d`%bR&a#eQ)X%gT*t'`'iR*y'e[!lP!o'^*q-^/OR%X!gR#h`R,b)]R)a%kT-j+]-kQ/V-mR/z/WR/z/X",nodeNames:"⚠ LineComment BlockComment Program ModuleDeclaration MarkerAnnotation Identifier ScopedIdentifier . Annotation ) ( AnnotationArgumentList AssignmentExpression FieldAccess IntegerLiteral FloatingPointLiteral BooleanLiteral CharacterLiteral StringLiteral TextBlock null ClassLiteral void PrimitiveType TypeName ScopedTypeName GenericType TypeArguments AnnotatedType Wildcard extends super , ArrayType ] Dimension [ class this ParenthesizedExpression ObjectCreationExpression new ArgumentList } { ClassBody ; FieldDeclaration Modifiers public protected private abstract static final strictfp default synchronized native transient volatile VariableDeclarator Definition AssignOp ArrayInitializer MethodDeclaration TypeParameters TypeParameter TypeBound FormalParameters ReceiverParameter FormalParameter SpreadParameter Throws throws Block ClassDeclaration Superclass SuperInterfaces implements InterfaceTypeList InterfaceDeclaration interface ExtendsInterfaces InterfaceBody ConstantDeclaration EnumDeclaration enum EnumBody EnumConstant EnumBodyDeclarations AnnotationTypeDeclaration AnnotationTypeBody AnnotationTypeElementDeclaration StaticInitializer ConstructorDeclaration ConstructorBody ExplicitConstructorInvocation ArrayAccess MethodInvocation MethodName MethodReference ArrayCreationExpression Dimension AssignOp BinaryExpression CompareOp CompareOp LogicOp LogicOp BitOp BitOp BitOp ArithOp ArithOp ArithOp BitOp InstanceofExpression instanceof LambdaExpression InferredParameters TernaryExpression LogicOp : UpdateExpression UpdateOp UnaryExpression LogicOp BitOp CastExpression ElementValueArrayInitializer ElementValuePair open module ModuleBody ModuleDirective requires transitive exports to opens uses provides with PackageDeclaration package ImportDeclaration import Asterisk ExpressionStatement LabeledStatement Label IfStatement if else WhileStatement while ForStatement for ForSpec LocalVariableDeclaration var EnhancedForStatement ForSpec AssertStatement assert SwitchStatement switch SwitchBlock SwitchLabel case DoStatement do BreakStatement break ContinueStatement continue ReturnStatement return SynchronizedStatement ThrowStatement throw TryStatement try CatchClause catch CatchFormalParameter CatchType FinallyClause finally TryWithResourcesStatement ResourceSpecification Resource ClassContent",maxTerm:276,nodeProps:[["isolate",-4,1,2,18,19,""],["group",-26,4,47,76,77,82,87,92,145,147,150,151,153,156,158,161,163,165,167,172,174,176,178,180,181,183,191,"Statement",-25,6,13,14,15,16,17,18,19,20,21,22,39,40,41,99,100,102,103,106,118,120,122,125,127,130,"Expression",-7,23,24,25,26,27,29,34,"Type"],["openedBy",10,"(",44,"{"],["closedBy",11,")",45,"}"]],propSources:[Z],skippedNodes:[0,1,2],repeatNodeCount:28,tokenData:"#'f_R!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>{let P=Q.textAfter,i=/^\s*\}/.test(P),a=/^\s*(case|default)\b/.test(P);return Q.baseIndent+(i?0:a?1:2)*Q.unit},Block:S({closing:"}"}),BlockComment:()=>null,Statement:$({except:/^{/})}),o.add({"Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer":t,BlockComment(Q){return{from:Q.from+2,to:Q.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function q(){return new s(_)}export{q as java,_ as javaLanguage}; diff --git a/frontend/dist/assets/index-D9N-GMuA.js b/frontend/dist/assets/index-D9N-GMuA.js index 6e0902a..7a816f6 100644 --- a/frontend/dist/assets/index-D9N-GMuA.js +++ b/frontend/dist/assets/index-D9N-GMuA.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-D9N-GMuA.js import{G as P,a1 as T,H as W,y as z,am as L}from"./index-CD29OCdJ.js";import{c as w}from"./clamp-BfrLWns4.js";const $=(n,c,M,d)=>{const o={offsetX:0,offsetY:0},u=z(!1),v=(t,e)=>{if(n.value){const{offsetX:f,offsetY:l}=o,s=n.value.getBoundingClientRect(),a=Math.max(s.left,0),i=Math.max(s.top,0),m=s.width,g=s.height,x=document.documentElement.clientWidth,E=document.documentElement.clientHeight,D=-a+f,H=-i+l,b=x-a-m+f,y=E-i-(g{const e=t.clientX,f=t.clientY,{offsetX:l,offsetY:s}=o,a=m=>{u.value||(u.value=!0),v(l+m.clientX-e,s+m.clientY-f)},i=()=>{u.value=!1,document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",i)};document.addEventListener("mousemove",a),document.addEventListener("mouseup",i)},X=()=>{c.value&&n.value&&(c.value.addEventListener("mousedown",h),window.addEventListener("resize",r))},p=()=>{c.value&&n.value&&(c.value.removeEventListener("mousedown",h),window.removeEventListener("resize",r))},Y=()=>{o.offsetX=0,o.offsetY=0,n.value&&(n.value.style.transform="")},r=()=>{const{offsetX:t,offsetY:e}=o;v(t,e)};return P(()=>{T(()=>{M.value?X():p()})}),W(()=>{p()}),{isDragging:u,resetPosition:Y,updatePosition:r}};export{$ as u}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-jBnYrPdD.js +import{G as P,a1 as T,H as W,y as z,am as L}from"./index-Ds9AETjS.js";import{c as w}from"./clamp-CyhADbdq.js";const $=(n,c,M,d)=>{const o={offsetX:0,offsetY:0},u=z(!1),v=(t,e)=>{if(n.value){const{offsetX:f,offsetY:l}=o,s=n.value.getBoundingClientRect(),a=Math.max(s.left,0),i=Math.max(s.top,0),m=s.width,g=s.height,x=document.documentElement.clientWidth,E=document.documentElement.clientHeight,D=-a+f,H=-i+l,b=x-a-m+f,y=E-i-(g{const e=t.clientX,f=t.clientY,{offsetX:l,offsetY:s}=o,a=m=>{u.value||(u.value=!0),v(l+m.clientX-e,s+m.clientY-f)},i=()=>{u.value=!1,document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",i)};document.addEventListener("mousemove",a),document.addEventListener("mouseup",i)},X=()=>{c.value&&n.value&&(c.value.addEventListener("mousedown",h),window.addEventListener("resize",r))},p=()=>{c.value&&n.value&&(c.value.removeEventListener("mousedown",h),window.removeEventListener("resize",r))},Y=()=>{o.offsetX=0,o.offsetY=0,n.value&&(n.value.style.transform="")},r=()=>{const{offsetX:t,offsetY:e}=o;v(t,e)};return P(()=>{T(()=>{M.value?X():p()})}),W(()=>{p()}),{isDragging:u,resetPosition:Y,updatePosition:r}};export{$ as u}; +======== +import{G as P,a1 as T,H as W,y as z,am as L}from"./index-CxbBjZKo.js";import{c as w}from"./clamp-Ow4I6lPc.js";const $=(n,c,M,d)=>{const o={offsetX:0,offsetY:0},u=z(!1),v=(t,e)=>{if(n.value){const{offsetX:f,offsetY:l}=o,s=n.value.getBoundingClientRect(),a=Math.max(s.left,0),i=Math.max(s.top,0),m=s.width,g=s.height,x=document.documentElement.clientWidth,E=document.documentElement.clientHeight,D=-a+f,H=-i+l,b=x-a-m+f,y=E-i-(g{const e=t.clientX,f=t.clientY,{offsetX:l,offsetY:s}=o,a=m=>{u.value||(u.value=!0),v(l+m.clientX-e,s+m.clientY-f)},i=()=>{u.value=!1,document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",i)};document.addEventListener("mousemove",a),document.addEventListener("mouseup",i)},X=()=>{c.value&&n.value&&(c.value.addEventListener("mousedown",h),window.addEventListener("resize",r))},p=()=>{c.value&&n.value&&(c.value.removeEventListener("mousedown",h),window.removeEventListener("resize",r))},Y=()=>{o.offsetX=0,o.offsetY=0,n.value&&(n.value.style.transform="")},r=()=>{const{offsetX:t,offsetY:e}=o;v(t,e)};return P(()=>{T(()=>{M.value?X():p()})}),W(()=>{p()}),{isDragging:u,resetPosition:Y,updatePosition:r}};export{$ as u}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-C3HZL-2Y.js diff --git a/frontend/dist/assets/index-DFIAjitZ.js b/frontend/dist/assets/index-DFIAjitZ.js new file mode 100644 index 0000000..cb3ec6a --- /dev/null +++ b/frontend/dist/assets/index-DFIAjitZ.js @@ -0,0 +1,7 @@ +import{e as s,E as R,h as Y,C as x,s as w,t as O,a as d,b as k,d as h,L as f,i as u,j as y,c as l,k as g,f as j,l as U,g as G,m as X,N as b,I as Z}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const _=177,q=179,E=184,v=12,C=13,D=17,z=20,F=25,B=53,N=95,I=142,L=144,A=145,J=148,M=10,H=13,K=32,OO=9,$=47,QO=41,eO=125,aO=new R((Q,e)=>{for(let n=0,a=Q.next;(e.context&&(a<0||a==M||a==H||a==$&&Q.peek(n+1)==$)||a==QO||a==eO)&&Q.acceptToken(_),!(a!=K&&a!=OO);)a=Q.peek(++n)},{contextual:!0});let tO=new Set([N,E,z,v,D,L,A,I,J,C,B,F]);const iO=new x({start:!1,shift:(Q,e)=>e==q?Q:tO.has(e)}),XO=w({"func interface struct chan map const type var":O.definitionKeyword,"import package":O.moduleKeyword,"switch for go select return break continue goto fallthrough case if else defer":O.controlKeyword,range:O.keyword,Bool:O.bool,String:O.string,Rune:O.character,Number:O.number,Nil:O.null,VariableName:O.variableName,DefName:O.definition(O.variableName),TypeName:O.typeName,LabelName:O.labelName,FieldName:O.propertyName,"FunctionDecl/DefName":O.function(O.definition(O.variableName)),"TypeSpec/DefName":O.definition(O.typeName),"CallExpr/VariableName":O.function(O.variableName),LineComment:O.lineComment,BlockComment:O.blockComment,LogicOp:O.logicOperator,ArithOp:O.arithmeticOperator,BitOp:O.bitwiseOperator,"DerefOp .":O.derefOperator,"UpdateOp IncDecOp":O.updateOperator,CompareOp:O.compareOperator,"= :=":O.definitionOperator,"<-":O.operator,'~ "*"':O.modifier,"; ,":O.separator,"... :":O.punctuation,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace}),nO={__proto__:null,package:10,import:18,true:380,false:380,nil:383,struct:48,func:68,interface:78,chan:94,map:118,make:157,new:159,const:204,type:212,var:224,if:236,else:238,switch:242,case:248,default:250,for:260,range:266,go:270,select:274,return:284,break:288,continue:290,goto:292,fallthrough:296,defer:300},PO=s.deserialize({version:14,states:"!=xO#{QQOOP$SOQOOO&UQTO'#CbO&]QRO'#FlO]QQOOOOQP'#Cn'#CnOOQP'#Co'#CoO&eQQO'#C|O(kQQO'#C{O)]QRO'#GiO+tQQO'#D_OOQP'#Ge'#GeO+{QQO'#GeO.aQTO'#GaO.hQQO'#D`OOQP'#Gm'#GmO.mQRO'#GdO/hQQO'#DgOOQP'#Gd'#GdO/uQQO'#DrO2bQQO'#DsO4QQTO'#GqO,^QTO'#GaO4XQQO'#DxO4^QQO'#D{OOQO'#EQ'#EQOOQO'#ER'#EROOQO'#ES'#ESOOQO'#ET'#ETO4cQQO'#EPO5}QQO'#EPOOQP'#Ga'#GaO6UQQO'#E`O6^QQO'#EcOOQP'#G`'#G`O6cQQO'#EsOOQP'#G_'#G_O&]QRO'#F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-V-W-X-Y-Z-[-]-^-_-dS&_#}&dW(S&S*S*|+^Q(e&bQ(o&lR*x*PS%U!t*`R+q+jR%S!qQ#PcQ(}&|Q)Z'YR+n+ghpOScw!U!V#O#k#n&|'Y+gQ$d!WQ$n!ZQ%g#VU%p#i'T,bU%q#j'U,cQ(j&gQ(u&sQ)Q'PQ)_']Q)y'wQ*_(kQ*a(tV-R'W)W*kT(U&S&l",nodeNames:"⚠ LineComment BlockComment SourceFile PackageClause package DefName ; ImportDecl import ImportSpec . String ) ( SpecList ExprStatement Number Bool Nil Rune VariableName TypedLiteral StructType struct } { StructBody FieldDecl FieldName , PointerType * FunctionType func Parameters Parameter ... InterfaceType interface InterfaceBody MethodElem UnderlyingType ~ TypeElem LogicOp ChannelType chan <- ParenthesizedType QualifiedType TypeName ParameterizedType ] [ TypeArgs ArrayType SliceType MapType map LiteralValue Element Key : Element Key ParenthesizedExpr FunctionLiteral Block Conversion SelectorExpr IndexExpr SliceExpr TypeAssertion CallExpr ParameterizedExpr Arguments CallExpr make new Arguments UnaryExp ArithOp LogicOp BitOp DerefOp BinaryExp ArithOp BitOp BitOp CompareOp LogicOp LogicOp SendStatement IncDecStatement IncDecOp Assignment = UpdateOp VarDecl := ConstDecl const ConstSpec SpecList TypeDecl type TypeSpec TypeParams TypeParam SpecList VarDecl var VarSpec SpecList LabeledStatement LabelName IfStatement if else SwitchStatement switch SwitchBlock Case case default TypeSwitchStatement SwitchBlock Case ForStatement for ForClause RangeClause range GoStatement go SelectStatement select SelectBlock Case ReceiveStatement ReturnStatement return GotoStatement break continue goto FallthroughStatement fallthrough DeferStatement defer FunctionDecl MethodDecl",maxTerm:218,context:iO,nodeProps:[["isolate",-3,2,12,20,""],["group",-18,12,17,18,19,20,21,22,66,67,69,70,71,72,73,74,77,81,86,"Expr",-20,16,68,93,94,96,99,101,105,111,115,117,120,126,129,134,136,141,143,147,149,"Statement",-12,23,31,33,38,46,49,50,51,52,56,57,58,"Type"],["openedBy",13,"(",25,"{",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<%lO3x~8rVaQ%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~9[TO#S9X#S#T$v#T;'S9X;'S;=`9k<%lO9X~9nP;=`<%l9X~9vOj~~9{Q%`~!_!`&X#p#q:R~:WO%q~~:]Oi~~:bO{~",tokenizers:[aO,1,2,new Y("j~RQYZXz{^~^O$|~~aP!P!Qd~iO$}~~",25,181)],topRules:{SourceFile:[0,3]},dynamicPrecedences:{19:1,51:-1,55:2,69:-1,108:-1},specialized:[{term:184,get:Q=>nO[Q]||-1}],tokenPrec:5451}),oO=[X("func ${name}(${params}) ${type} {\n ${}\n}",{label:"func",detail:"declaration",type:"keyword"}),X("func (${receiver}) ${name}(${params}) ${type} {\n ${}\n}",{label:"func",detail:"method declaration",type:"keyword"}),X("var ${name} = ${value}",{label:"var",detail:"declaration",type:"keyword"}),X("type ${name} ${type}",{label:"type",detail:"declaration",type:"keyword"}),X("const ${name} = ${value}",{label:"const",detail:"declaration",type:"keyword"}),X("type ${name} = ${type}",{label:"type",detail:"alias declaration",type:"keyword"}),X("for ${init}; ${test}; ${update} {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),X("for ${i} := range ${value} {\n ${}\n}",{label:"for",detail:"range",type:"keyword"}),X(`select { + \${} +}`,{label:"select",detail:"statement",type:"keyword"}),X("case ${}:\n${}",{label:"case",type:"keyword"}),X("switch ${} {\n ${}\n}",{label:"switch",detail:"statement",type:"keyword"}),X("switch ${}.(${type}) {\n ${}\n}",{label:"switch",detail:"type statement",type:"keyword"}),X("if ${} {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),X(`if \${} { + \${} +} else { + \${} +}`,{label:"if",detail:"/ else block",type:"keyword"}),X('import ${name} "${module}"\n${}',{label:"import",detail:"declaration",type:"keyword"})],S=new b,T=new Set(["SourceFile","Block","FunctionDecl","MethodDecl","FunctionLiteral","ForStatement","SwitchStatement","TypeSwitchStatement","IfStatement"]);function o(Q,e){return(n,a)=>{O:for(let t=n.node.firstChild,c=0,i=null;;){for(;!t;){if(!c)break O;c--,t=i.nextSibling,i=i.parent}e&&t.name==e||t.name=="SpecList"?(c++,i=t,t=t.firstChild):(t.name=="DefName"&&a(t,Q),t=t.nextSibling)}return!0}}const cO={FunctionDecl:o("function"),VarDecl:o("var","VarSpec"),ConstDecl:o("constant","ConstSpec"),TypeDecl:o("type","TypeSpec"),ImportDecl:o("constant","ImportSpec"),Parameter:o("var"),__proto__:null};function W(Q,e){let n=S.get(e);if(n)return n;let a=[],t=!0;function c(i,P){let V=Q.sliceString(i.from,i.to);a.push({label:V,type:P})}return e.cursor(Z.IncludeAnonymous).iterate(i=>{if(t)t=!1;else if(i.name){let P=cO[i.name];if(P&&P(i,c)||T.has(i.name))return!1}else if(i.to-i.from>8192){for(let P of W(Q,i.node))a.push(P);return!1}}),S.set(e,a),a}const p=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,m=["String","LineComment","BlockComment","DefName","LabelName","FieldName",".","?."],rO=Q=>{let e=G(Q.state).resolveInner(Q.pos,-1);if(m.indexOf(e.name)>-1)return null;let n=e.name=="VariableName"||e.to-e.from<20&&p.test(Q.state.sliceDoc(e.from,e.to));if(!n&&!Q.explicit)return null;let a=[];for(let t=e;t;t=t.parent)T.has(t.name)&&(a=a.concat(W(Q.state.doc,t)));return{options:a,from:n?e.from:Q.pos,validFor:p}},r=f.define({name:"go",parser:PO.configure({props:[u.add({IfStatement:l({except:/^\s*({|else\b)/}),LabeledStatement:y,"SwitchBlock SelectBlock":Q=>{let e=Q.textAfter,n=/^\s*\}/.test(e),a=/^\s*(case|default)\b/.test(e);return Q.baseIndent+(n||a?0:Q.unit)},Block:g({closing:"}"}),BlockComment:()=>null,Statement:l({except:/^{/})}),j.add({"Block SwitchBlock SelectBlock LiteralValue InterfaceType StructType SpecList":U,BlockComment(Q){return{from:Q.from+2,to:Q.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case\b|default\b|\})$/}});let lO=Q=>({label:Q,type:"keyword"});const $O="interface struct chan map package go return break continue goto fallthrough else defer range true false nil".split(" ").map(lO);function TO(){let Q=oO.concat($O);return new d(r,[r.data.of({autocomplete:k(m,h(Q))}),r.data.of({autocomplete:rO})])}export{TO as go,r as goLanguage,rO as localCompletionSource,oO as snippets}; diff --git a/frontend/dist/assets/index-DFkjzvE0.js b/frontend/dist/assets/index-DFkjzvE0.js index 35bff02..aa6ea12 100644 --- a/frontend/dist/assets/index-DFkjzvE0.js +++ b/frontend/dist/assets/index-DFkjzvE0.js @@ -1,5 +1,13 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-DFkjzvE0.js const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-D4lxzjuA.js","assets/index-CD29OCdJ.js","assets/index-BrKMLqs4.css","assets/index-U3Xsb9c_.js","assets/index-Cxpdptih.js","assets/index-Bs-7o_6g.js","assets/index-Bmffie3p.js","assets/index-BKvAMB2l.js","assets/index-DY1FeDCS.js","assets/index-BgISfzyU.js","assets/index-CwxuYJKb.js","assets/index-D1ESbnqn.js","assets/index-B0_vNb2o.js","assets/index-BZkqnoBm.js","assets/index-KDgG9oSV.js","assets/index-q7NK9e6A.js","assets/index-DyJEdmgm.js","assets/dockerfile-BKs6k2Af.js","assets/simple-mode-GW_nhZxv.js","assets/factor-kuTfRLto.js","assets/nsis-LdVXkNf5.js","assets/pug-DeIclll2.js","assets/javascript-iXu5QeM3.js","assets/index-Bnrjo134.js","assets/index-CR0Xq76f.js"])))=>i.map(i=>d[i]); var bv=Object.defineProperty;var Ef=t=>{throw TypeError(t)};var vv=(t,e,i)=>e in t?bv(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var Ze=(t,e,i)=>vv(t,typeof e!="symbol"?e+"":e,i),va=(t,e,i)=>e.has(t)||Ef("Cannot "+i);var S=(t,e,i)=>(va(t,e,"read from private field"),i?i.call(t):e.get(t)),oe=(t,e,i)=>e.has(t)?Ef("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),U=(t,e,i,n)=>(va(t,e,"write to private field"),n?n.call(t,i):e.set(t,i),i),j=(t,e,i)=>(va(t,e,"access private method"),i);var mo=(t,e,i,n)=>({set _(r){U(t,e,r,i)},get _(){return S(t,e,n)}});import{d as Te,B as H,s as $,D as te,G as Ae,H as Mn,ao as ys,z as ct,y as pe,F as Ct,M as Gs,bf as yv,a9 as si,aT as Tn,P as li,j as He,I as xs,bg as xv,aD as A,an as kv}from"./index-CD29OCdJ.js";const Sv=t=>{const e=typeof t;return e!=="function"&&e!=="object"||t===null},wv=t=>{const e=t.flags===""?void 0:t.flags;return new RegExp(t.source,e)},Ur=(t,e=new WeakMap)=>{if(t===null||Sv(t))return t;if(e.has(t))return e.get(t);if(t instanceof RegExp)return wv(t);if(t instanceof Date)return new Date(t.getTime());if(t instanceof Function)return t;if(t instanceof Map){const n=new Map;return e.set(t,n),t.forEach((r,s)=>{n.set(s,Ur(r,e))}),n}if(t instanceof Set){const n=new Set;e.set(t,n);for(const r of t)n.add(Ur(r,e));return n}if(Array.isArray(t)){const n=[];return e.set(t,n),t.forEach(r=>{n.push(Ur(r,e))}),n}const i={};e.set(t,i);for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=Ur(t[n],e));return i},Kp=(t,e=200)=>{let i=0;return(...n)=>new Promise(r=>{i&&(clearTimeout(i),r("cancel")),i=window.setTimeout(()=>{t.apply(void 0,n),i=0,r("done")},e)})},$v=(t,e={_blank:!0,nofollow:!0})=>{const i=document.createElement("a");i.href=t,e._blank&&(i.target="_blank"),e.nofollow&&(i.rel="noopener noreferrer"),i.click()},Jp=()=>{let t=-1;return(e,i,n,r=100)=>{const s=()=>{n&&(typeof r=="number"?setTimeout(n,r):n())};t!==-1&&(cancelAnimationFrame(t),s());let o=e.scrollTop;const l=()=>{t=-1;const a=i-o;o=o+a/5,Math.abs(a)<1?(e.scrollTo(0,i),s()):(e.scrollTo(0,o),t=requestAnimationFrame(l))};t=requestAnimationFrame(l)}},Qv=(t,e=200)=>{let i=0,n=null;const r=s=>{i===0&&(i=s),s-i>=e?(t.apply(void 0,n),n=null,i=0):window.requestAnimationFrame(r)};return(...s)=>{n===null&&window.requestAnimationFrame(r),n=s}},_v=t=>{const e=i=>{const{scrollHeight:n,scrollWidth:r,offsetHeight:s,offsetWidth:o,scrollLeft:l,scrollTop:a}=t,u=i.x,c=i.y,h=d=>{const p=a+c-d.y,m=l+u-d.x,O=n-s,g=r-o,b={};m>=0&&m<=g&&(b.left=m),p>=0&&p<=O&&(b.top=p),t.scroll(b)};document.addEventListener("mousemove",h);const f=()=>{document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",f)};document.addEventListener("mouseup",f)};return t.addEventListener("mousedown",e),()=>{t.removeEventListener("mousedown",e)}},mu=()=>`${Date.now().toString(36)}${Math.random().toString(36).substring(2)}`,fl=t=>t!==null&&typeof t=="object"&&!Array.isArray(t),Pv=new Set(["__proto__","constructor","prototype"]),Cv=t=>!Pv.has(t),Gl=(t,e,i={})=>{if(Array.isArray(t)&&Array.isArray(e))return Ou(t,e,i);const{excludeKeys:n}=i,r=t,s=e;for(const o of Object.keys(s)){if(!Cv(o))continue;const l=s[o],a=r[o];n&&n(o)?r[o]=l:Array.isArray(l)&&Array.isArray(a)?r[o]=Ou(a,l,i):fl(l)&&fl(a)?r[o]=Gl(a,l,i):r[o]=l}return t},Ou=(t,e,i)=>{const n=t.slice();return e.forEach((r,s)=>{const o=n[s];Array.isArray(r)&&Array.isArray(o)?n[s]=Ou(o,r,i):fl(r)&&fl(o)?n[s]=Gl(o,r,i):n[s]=r}),n},x="md-editor",Pe="https://unpkg.com",Tv=`${Pe}/@highlightjs/cdn-assets@11.10.0/highlight.min.js`,Rf={main:`${Pe}/prettier@3.3.3/standalone.js`,markdown:`${Pe}/prettier@3.3.3/plugins/markdown.js`},Av={css:`${Pe}/cropperjs@1.6.2/dist/cropper.min.css`,js:`${Pe}/cropperjs@1.6.2/dist/cropper.min.js`},Ev=`${Pe}/screenfull@5.2.0/dist/screenfull.js`,Rv=`${Pe}/mermaid@11.9.0/dist/mermaid.min.js`,Dv={js:`${Pe}/katex@0.16.22/dist/katex.min.js`,css:`${Pe}/katex@0.16.22/dist/katex.min.css`},gu={a11y:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/a11y-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/a11y-dark.min.css`},atom:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/atom-one-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/atom-one-dark.min.css`},github:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/github.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/github-dark.min.css`},gradient:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/gradient-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/gradient-dark.min.css`},kimbie:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/kimbie-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/kimbie-dark.min.css`},paraiso:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/paraiso-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/paraiso-dark.min.css`},qtcreator:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/qtcreator-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/qtcreator-dark.min.css`},stackoverflow:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/stackoverflow-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/stackoverflow-dark.min.css`}},Lv={highlight:{js:{integrity:"sha384-GdEWAbCjn+ghjX0gLx7/N1hyTVmPAjdC2OvoAA0RyNcAOhqwtT8qnbCxWle2+uJX",crossOrigin:"anonymous"},css:{a11y:{light:{integrity:"sha384-qdZDAN3jffvh670RHw1wxLekabidEFaNRninYgIzBvMbL6WlHdXeHS/Bt+vx33lN",crossOrigin:"anonymous"},dark:{integrity:"sha384-2QAAjX8pqaM5azX68KWI2wExF6Q13kY4kEiQFY4b/1zPe6rpgmTByNpDEllH3sb+",crossOrigin:"anonymous"}},atom:{light:{integrity:"sha384-w6Ujm1VWa9HYFqGc89oAPn/DWDi2gUamjNrq9DRvEYm2X3ClItg9Y9xs1ViVo5b5",crossOrigin:"anonymous"},dark:{integrity:"sha384-oaMLBGEzBOJx3UHwac0cVndtX5fxGQIfnAeFZ35RTgqPcYlbprH9o9PUV/F8Le07",crossOrigin:"anonymous"}},github:{light:{integrity:"sha384-eFTL69TLRZTkNfYZOLM+G04821K1qZao/4QLJbet1pP4tcF+fdXq/9CdqAbWRl/L",crossOrigin:"anonymous"},dark:{integrity:"sha384-wH75j6z1lH97ZOpMOInqhgKzFkAInZPPSPlZpYKYTOqsaizPvhQZmAtLcPKXpLyH",crossOrigin:"anonymous"}},gradient:{light:{integrity:"sha384-yErHBR8aEZPxRl3XmR8dGSRAclMlnSRRw8sXQLcmPWzWUvb56BzQmBw3EWHl7QGI",crossOrigin:"anonymous"},dark:{integrity:"sha384-lUCvtSOdvDbp5hLWKgwz/taFu1HxlpqES2OVP5UG2JMTfnU481gXcBhGF9lAGoSr",crossOrigin:"anonymous"}},kimbie:{light:{integrity:"sha384-tloeSLUPczAvoZ48TUz+OxRie0oYLCRwlkadUXovGzzJEIbNQB2TkfUuvJ6SW5Mi",crossOrigin:"anonymous"},dark:{integrity:"sha384-o5F1vUaMNOmou1sQrsWiFo4/QUGSV0svqNZW+EesmKxWC8MpFJcveBhAyfvTHbGb",crossOrigin:"anonymous"}},paraiso:{light:{integrity:"sha384-5j6QHU2Hwg1ehtlIQNDebhETDB8bga3/88hzBFsMRaGmgQHCftqIN7GZNDNw0vTL",crossOrigin:"anonymous"},dark:{integrity:"sha384-I5vnnMQu0LWDQnHpT61xyoMwKarAB8jpZkB2ioFOlmzUFnIFaV4QbUwlBBOMKhTH",crossOrigin:"anonymous"}},qtcreator:{light:{integrity:"sha384-iEBgHrwi8Hv4dSZBz+MOGvS05rF7I7fGKM2fASQyE9jn2Istg9Qd5dSoK18WyRTB",crossOrigin:"anonymous"},dark:{integrity:"sha384-D6LXJGWNR4QV7gnpuP3ccbvOYoR02td3cU0y7lESABPg/tzCSC4m+y+M2TtrmpHc",crossOrigin:"anonymous"}},stackoverflow:{light:{integrity:"sha384-FMwt7cTGo4aLxZnno5k0xTj0W4gmi48Kwept+y/oQmE6cFk36Kr+QJZOKNOQwORe",crossOrigin:"anonymous"},dark:{integrity:"sha384-iL+x+BroCyHm/p2c6sMA9umXhdCWp2cKe4QUjPeMzHgwXAk+ZxHyIGP3NZTZensU",crossOrigin:"anonymous"}}}},prettier:{standaloneJs:{integrity:"sha384-92h6ALm8/lHpNGn6MfGlgZ+I8c/4yn/nSN8dV9ZmDxqbP9L93gk/Jj2i0LtV+AVd",crossOrigin:"anonymous"},parserMarkdownJs:{integrity:"sha384-5ufuUgoSsr/2oihBZ5d+c+yt0qaUmzLtUz41VZNJ4txtyJ6mBve3ZwuKoq/IygYX",crossOrigin:"anonymous"}},cropper:{js:{integrity:"sha384-jrOgQzBlDeUNdmQn3rUt/PZD+pdcRBdWd/HWRqRo+n2OR2QtGyjSaJC0GiCeH+ir",crossOrigin:"anonymous"},css:{integrity:"sha384-6LFfkTKLRlzFtgx8xsWyBdKGpcMMQTkv+dB7rAbugeJAu1Ym2q1Aji1cjHBG12Xh",crossOrigin:"anonymous"}},screenfull:{js:{integrity:"sha384-Qfbv8upMDu/ikv42M0Jnym2hahbDQ77Nm8PGU0G+iA6UIwt1+scE6P1qKXA0anWU",crossOrigin:"anonymous"}},mermaid:{js:{integrity:"sha384-UzWEhMP22MxNnr2bzqAdmtf1FDy5iKDUq6hLXJFLqC7dfGkc6W/hshbx9m71zyt5",crossOrigin:"anonymous"}},katex:{js:{integrity:"sha384-cMkvdD8LoxVzGF/RPUKAcvmm49FQ0oxwDF3BGKtDXcEc+T1b2N+teh/OJfpU0jr6",crossOrigin:"anonymous"},css:{integrity:"sha384-5TcZemv2l/9On385z///+d7MSYlvIEw9FuZTIdZ14vJLqWphw7e7ZPuOiCHJcFCP",crossOrigin:"anonymous"}}},wc=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","task","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","previewOnly","htmlPreview","catalog","github"],$c=["markdownTotal","=","scrollSwitch"],dl={"zh-CN":{toolbarTips:{bold:"加粗",underline:"下划线",italic:"斜体",strikeThrough:"删除线",title:"标题",sub:"下标",sup:"上标",quote:"引用",unorderedList:"无序列表",orderedList:"有序列表",task:"任务列表",codeRow:"行内代码",code:"块级代码",link:"链接",image:"图片",table:"表格",mermaid:"mermaid图",katex:"katex公式",revoke:"后退",next:"前进",save:"保存",prettier:"美化",pageFullscreen:"浏览器全屏",fullscreen:"屏幕全屏",preview:"预览",previewOnly:"仅预览",htmlPreview:"html代码预览",catalog:"目录",github:"源码地址"},titleItem:{h1:"一级标题",h2:"二级标题",h3:"三级标题",h4:"四级标题",h5:"五级标题",h6:"六级标题"},imgTitleItem:{link:"添加链接",upload:"上传图片",clip2upload:"裁剪上传"},linkModalTips:{linkTitle:"添加链接",imageTitle:"添加图片",descLabel:"链接描述:",descLabelPlaceHolder:"请输入描述...",urlLabel:"链接地址:",urlLabelPlaceHolder:"请输入链接...",buttonOK:"确定"},clipModalTips:{title:"裁剪图片上传",buttonUpload:"上传"},copyCode:{text:"复制代码",successTips:"已复制!",failTips:"复制失败!"},mermaid:{flow:"流程图",sequence:"时序图",gantt:"甘特图",class:"类图",state:"状态图",pie:"饼图",relationship:"关系图",journey:"旅程图"},katex:{inline:"行内公式",block:"块级公式"},footer:{markdownTotal:"字数",scrollAuto:"同步滚动"}},"en-US":{toolbarTips:{bold:"bold",underline:"underline",italic:"italic",strikeThrough:"strikeThrough",title:"title",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"unordered list",orderedList:"ordered list",task:"task list",codeRow:"inline code",code:"block-level code",link:"link",image:"image",table:"table",mermaid:"mermaid",katex:"formula",revoke:"revoke",next:"undo revoke",save:"save",prettier:"prettier",pageFullscreen:"fullscreen in page",fullscreen:"fullscreen",preview:"preview",previewOnly:"preview only",htmlPreview:"html preview",catalog:"catalog",github:"source code"},titleItem:{h1:"Lv1 Heading",h2:"Lv2 Heading",h3:"Lv3 Heading",h4:"Lv4 Heading",h5:"Lv5 Heading",h6:"Lv6 Heading"},imgTitleItem:{link:"Add Image Link",upload:"Upload Images",clip2upload:"Crop And Upload"},linkModalTips:{linkTitle:"Add Link",imageTitle:"Add Image",descLabel:"Desc:",descLabelPlaceHolder:"Enter a description...",urlLabel:"Link:",urlLabelPlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",successTips:"Copied!",failTips:"Copy failed!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"},footer:{markdownTotal:"Character Count",scrollAuto:"Scroll Auto"}}},Me={editorExtensions:{highlight:{js:Tv,css:gu},prettier:{standaloneJs:Rf.main,parserMarkdownJs:Rf.markdown},cropper:{...Av},screenfull:{js:Ev},mermaid:{js:Rv,enableZoom:!0},katex:{...Dv}},editorExtensionsAttrs:{},editorConfig:{languageUserDefined:{},mermaidTemplate:{},renderDelay:500,zIndex:2e4},codeMirrorExtensions:(t,e)=>e,markdownItConfig:()=>{},markdownItPlugins:t=>t,mermaidConfig:t=>t,katexConfig:t=>t},Mv=t=>Gl(Me,t,{excludeKeys(e){return/[iI]{1}nstance/.test(e)}}),Oo=.1,ht=({instance:t,ctx:e,props:i={}},n="default")=>{const r=(t==null?void 0:t.$slots[n])||(e==null?void 0:e.slots[n]);return(r?r(t):"")||i[n]},Zv={overlay:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},onChange:{type:Function,default:()=>{}},relative:{type:String,default:"html"},disabled:{type:Boolean,default:void 0}},Bn=Te({name:`${x}-dropdown`,props:Zv,setup(t,e){const i=`${x}-dropdown-hidden`,n=ct({overlayClass:[i],overlayStyle:{},triggerHover:!1,overlayHover:!1}),r=pe(),s=pe(),o=()=>{var c,h;if(t.disabled)return!1;n.triggerHover=!0;const f=r.value,d=s.value;if(!f||!d)return;const p=f.getBoundingClientRect(),m=f.offsetTop,O=f.offsetLeft,g=p.height,b=p.width,y=f.getRootNode(),w=((c=y.querySelector(t.relative))==null?void 0:c.scrollLeft)||0,v=((h=y.querySelector(t.relative))==null?void 0:h.clientWidth)||0;let Q=O-d.offsetWidth/2+b/2-w;Q+d.offsetWidth>w+v&&(Q=w+v-d.offsetWidth),Q<0&&(Q=0),n.overlayStyle={...n.overlayStyle,top:m+g+"px",left:Q+"px"},t.onChange(!0)},l=()=>{if(t.disabled)return!1;n.overlayHover=!0};te(()=>t.visible,c=>{c?n.overlayClass=n.overlayClass.filter(h=>h!==i):n.overlayClass.push(i)});let a=-1;const u=c=>{r.value===c.target?n.triggerHover=!1:n.overlayHover=!1,clearTimeout(a),a=window.setTimeout(()=>{!n.overlayHover&&!n.triggerHover&&t.onChange(!1)},10)};return Ae(()=>{r.value.addEventListener("mouseenter",o),r.value.addEventListener("mouseleave",u),s.value.addEventListener("mouseenter",l),s.value.addEventListener("mouseleave",u)}),Mn(()=>{r.value.removeEventListener("mouseenter",o),r.value.removeEventListener("mouseleave",u),s.value.removeEventListener("mouseenter",l),s.value.removeEventListener("mouseleave",u)}),()=>{const c=ht({ctx:e}),h=ht({props:t,ctx:e},"overlay"),f=ys(c instanceof Array?c[0]:c,{ref:r,key:"cloned-dropdown-trigger"}),d=$("div",{class:[`${x}-dropdown`,n.overlayClass],style:n.overlayStyle,ref:s},[$("div",{class:`${x}-dropdown-overlay`},[h instanceof Array?h[0]:h])]);return[f,d]}}}),Iv={title:{type:String,default:""},visible:{type:Boolean,default:void 0},trigger:{type:[String,Object],default:void 0},onChange:{type:Function,default:void 0},overlay:{type:[String,Object],default:void 0},insert:{type:Function,default:void 0},language:{type:String,default:void 0},theme:{type:String,default:void 0},previewTheme:{type:String,default:void 0},codeTheme:{type:String,default:void 0},disabled:{type:Boolean,default:void 0},showToolbarName:{type:Boolean,default:void 0}},rs=Te({name:"DropdownToolbar",props:Iv,emits:["onChange"],setup(t,e){const i=H("editorId");return()=>{const n=ht({props:t,ctx:e},"trigger"),r=ht({props:t,ctx:e},"overlay"),s=ht({props:t,ctx:e});return $(Bn,{relative:`#${i}-toolbar-wrapper`,visible:t.visible,onChange:o=>{var l;(l=t.onChange)==null||l.call(t,o),e.emit("onChange",o)},overlay:r,disabled:t.disabled},{default:()=>[$("div",{class:[`${x}-toolbar-item`,t.disabled&&`${x}-disabled`],title:t.title||""},[s||n])]})}}});rs.install=t=>(t.component(rs.name,rs),t);var Xv=Object.defineProperty,zv=(t,e,i)=>e in t?Xv(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,jv=(t,e,i)=>zv(t,e+"",i);class Fv{constructor(){jv(this,"pools",{})}remove(e,i,n){const s=this.pools[e]&&this.pools[e][i];s&&(this.pools[e][i]=s.filter(o=>o!==n))}clear(e){this.pools[e]={}}on(e,i){return this.pools[e]||(this.pools[e]={}),this.pools[e][i.name]||(this.pools[e][i.name]=[]),this.pools[e][i.name].push(i.callback),this.pools[e][i.name].includes(i.callback)}emit(e,i,...n){this.pools[e]||(this.pools[e]={});const s=this.pools[e][i];s&&s.forEach(o=>{try{o(...n)}catch(l){console.error(`${i} monitor event exception!`,l)}})}}const X=new Fv,Ul="onSave",Qc="changeCatalogVisible",em="changeFullscreen",Df="pageFullscreenChanged",Lf="fullscreenChanged",Mf="previewChanged",Zf="previewOnlyChanged",If="htmlPreviewChanged",Xf="catalogVisibleChanged",Go="buildFinished",hn="errorCatcher",xe="replace",Hl="uploadImage",bu="openModals",tm="ctrlZ",im="ctrlShiftZ",ss="catalogChanged",nm="pushCatalog",_c="rerender",rm="eventListener",sm="taskStateChanged",om="sendEditorView",pl="getEditorView",Bv={copy:``,"collapse-tips":``,pin:'',"pin-off":''},os=(t,e)=>typeof e[t]=="string"?e[t]:Bv[t],zf=(t,e)=>{const i=n=>{const r=t.parentElement||document.body,s=r.offsetWidth,o=r.offsetHeight,{clientWidth:l,clientHeight:a}=document.documentElement,u=n.offsetX,c=n.offsetY,h=d=>{let p=d.x+document.body.scrollLeft-document.body.clientLeft-u,m=d.y+document.body.scrollTop-document.body.clientTop-c;p=p<1?1:p{document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",f)};document.addEventListener("mouseup",f)};return t.addEventListener("mousedown",i),()=>{t.removeEventListener("mousedown",i)}},zt=(t,e,i="")=>{var n;const r=document.getElementById(e.id);if(r)i!==""&&(Reflect.get(window,i)?(n=e.onload)==null||n.call(r,new Event("load")):e.onload&&r.addEventListener("load",e.onload));else{const s={...e};s.onload=null;const o=qv(t,s);e.onload&&o.addEventListener("load",e.onload),document.head.appendChild(o)}},Vv=(t,e)=>{const i=document.getElementById(e.id);i==null||i.remove(),zt(t,e)},qv=(t,e)=>{const i=document.createElement(t);return Object.keys(e).forEach(n=>{e[n]!==void 0&&(i[n]=e[n])}),i},jf=(()=>{const t=i=>{if(!i)return()=>{};const n=i.firstChild;let r=1,s=0,o=0,l=!1,a,u,c,h=1;const f=()=>{n.style.transform=`translate(${s}px, ${o}px) scale(${r})`},d=v=>{v.touches.length===1?(l=!0,a=v.touches[0].clientX-s,u=v.touches[0].clientY-o):v.touches.length===2&&(c=Math.hypot(v.touches[0].clientX-v.touches[1].clientX,v.touches[0].clientY-v.touches[1].clientY),h=r)},p=v=>{if(v.preventDefault(),l&&v.touches.length===1)s=v.touches[0].clientX-a,o=v.touches[0].clientY-u,f();else if(v.touches.length===2){const P=Math.hypot(v.touches[0].clientX-v.touches[1].clientX,v.touches[0].clientY-v.touches[1].clientY)/c,_=r;r=h*(1+(P-1));const R=(v.touches[0].clientX+v.touches[1].clientX)/2,L=(v.touches[0].clientY+v.touches[1].clientY)/2,I=n.getBoundingClientRect(),T=(R-I.left)/_,M=(L-I.top)/_;s-=T*(r-_),o-=M*(r-_),f()}},m=()=>{l=!1},O=v=>{v.preventDefault();const Q=.02,P=r;v.deltaY<0?r+=Q:r=Math.max(.1,r-Q);const _=n.getBoundingClientRect(),R=v.clientX-_.left,L=v.clientY-_.top;s-=R/P*(r-P),o-=L/P*(r-P),f()},g=v=>{l=!0,a=v.clientX-s,u=v.clientY-o},b=v=>{l&&(s=v.clientX-a,o=v.clientY-u,f())},y=()=>{l=!1},w=()=>{l=!1};return i.addEventListener("touchstart",d,{passive:!1}),i.addEventListener("touchmove",p,{passive:!1}),i.addEventListener("touchend",m),i.addEventListener("wheel",O,{passive:!1}),i.addEventListener("mousedown",g),i.addEventListener("mousemove",b),i.addEventListener("mouseup",y),i.addEventListener("mouseleave",w),()=>{i.removeEventListener("touchstart",d),i.removeEventListener("touchmove",p),i.removeEventListener("touchend",m),i.removeEventListener("wheel",O),i.removeEventListener("mousedown",g),i.removeEventListener("mousemove",b),i.removeEventListener("mouseup",y),i.removeEventListener("mouseleave",w)}};return(i,n)=>{const r=new Map;return i==null||i.forEach(s=>{let o=s.querySelector(`.${x}-mermaid-action`);o||(s.insertAdjacentHTML("beforeend",`
    ${os("pin-off",n.customIcon)}
    `),o=s.querySelector(`.${x}-mermaid-action`));const l=()=>{const a=r.get(s);if(a!=null&&a.removeEvent)a.removeEvent(),s.removeAttribute("data-grab"),r.set(s,{removeClick:a.removeClick}),o.innerHTML=os("pin-off",n.customIcon);else{const u=t(s);s.setAttribute("data-grab",""),r.set(s,{removeEvent:u,removeClick:a==null?void 0:a.removeClick}),o.innerHTML=os("pin",n.customIcon)}};o.addEventListener("click",l),r.set(s,{removeClick:()=>o.removeEventListener("click",l)})}),()=>{r.forEach(({removeEvent:s,removeClick:o})=>{s==null||s(),o==null||o()}),r.clear()}}})();/*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */var gn=Object.assign||function(t){for(var e=1;ei.map(i=>d[i]); +var bv=Object.defineProperty;var Ef=t=>{throw TypeError(t)};var vv=(t,e,i)=>e in t?bv(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var Ze=(t,e,i)=>vv(t,typeof e!="symbol"?e+"":e,i),va=(t,e,i)=>e.has(t)||Ef("Cannot "+i);var S=(t,e,i)=>(va(t,e,"read from private field"),i?i.call(t):e.get(t)),oe=(t,e,i)=>e.has(t)?Ef("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),U=(t,e,i,n)=>(va(t,e,"write to private field"),n?n.call(t,i):e.set(t,i),i),j=(t,e,i)=>(va(t,e,"access private method"),i);var mo=(t,e,i,n)=>({set _(r){U(t,e,r,i)},get _(){return S(t,e,n)}});import{d as Te,B as H,s as $,D as te,G as Ae,H as Mn,ao as ys,z as ct,y as pe,F as Ct,M as Gs,bf as yv,a9 as si,aT as Tn,P as li,j as He,I as xs,bg as xv,aD as A,an as kv}from"./index-Ds9AETjS.js";const Sv=t=>{const e=typeof t;return e!=="function"&&e!=="object"||t===null},wv=t=>{const e=t.flags===""?void 0:t.flags;return new RegExp(t.source,e)},Ur=(t,e=new WeakMap)=>{if(t===null||Sv(t))return t;if(e.has(t))return e.get(t);if(t instanceof RegExp)return wv(t);if(t instanceof Date)return new Date(t.getTime());if(t instanceof Function)return t;if(t instanceof Map){const n=new Map;return e.set(t,n),t.forEach((r,s)=>{n.set(s,Ur(r,e))}),n}if(t instanceof Set){const n=new Set;e.set(t,n);for(const r of t)n.add(Ur(r,e));return n}if(Array.isArray(t)){const n=[];return e.set(t,n),t.forEach(r=>{n.push(Ur(r,e))}),n}const i={};e.set(t,i);for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=Ur(t[n],e));return i},Kp=(t,e=200)=>{let i=0;return(...n)=>new Promise(r=>{i&&(clearTimeout(i),r("cancel")),i=window.setTimeout(()=>{t.apply(void 0,n),i=0,r("done")},e)})},$v=(t,e={_blank:!0,nofollow:!0})=>{const i=document.createElement("a");i.href=t,e._blank&&(i.target="_blank"),e.nofollow&&(i.rel="noopener noreferrer"),i.click()},Jp=()=>{let t=-1;return(e,i,n,r=100)=>{const s=()=>{n&&(typeof r=="number"?setTimeout(n,r):n())};t!==-1&&(cancelAnimationFrame(t),s());let o=e.scrollTop;const l=()=>{t=-1;const a=i-o;o=o+a/5,Math.abs(a)<1?(e.scrollTo(0,i),s()):(e.scrollTo(0,o),t=requestAnimationFrame(l))};t=requestAnimationFrame(l)}},Qv=(t,e=200)=>{let i=0,n=null;const r=s=>{i===0&&(i=s),s-i>=e?(t.apply(void 0,n),n=null,i=0):window.requestAnimationFrame(r)};return(...s)=>{n===null&&window.requestAnimationFrame(r),n=s}},_v=t=>{const e=i=>{const{scrollHeight:n,scrollWidth:r,offsetHeight:s,offsetWidth:o,scrollLeft:l,scrollTop:a}=t,u=i.x,c=i.y,h=d=>{const p=a+c-d.y,m=l+u-d.x,O=n-s,g=r-o,b={};m>=0&&m<=g&&(b.left=m),p>=0&&p<=O&&(b.top=p),t.scroll(b)};document.addEventListener("mousemove",h);const f=()=>{document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",f)};document.addEventListener("mouseup",f)};return t.addEventListener("mousedown",e),()=>{t.removeEventListener("mousedown",e)}},mu=()=>`${Date.now().toString(36)}${Math.random().toString(36).substring(2)}`,fl=t=>t!==null&&typeof t=="object"&&!Array.isArray(t),Pv=new Set(["__proto__","constructor","prototype"]),Cv=t=>!Pv.has(t),Gl=(t,e,i={})=>{if(Array.isArray(t)&&Array.isArray(e))return Ou(t,e,i);const{excludeKeys:n}=i,r=t,s=e;for(const o of Object.keys(s)){if(!Cv(o))continue;const l=s[o],a=r[o];n&&n(o)?r[o]=l:Array.isArray(l)&&Array.isArray(a)?r[o]=Ou(a,l,i):fl(l)&&fl(a)?r[o]=Gl(a,l,i):r[o]=l}return t},Ou=(t,e,i)=>{const n=t.slice();return e.forEach((r,s)=>{const o=n[s];Array.isArray(r)&&Array.isArray(o)?n[s]=Ou(o,r,i):fl(r)&&fl(o)?n[s]=Gl(o,r,i):n[s]=r}),n},x="md-editor",Pe="https://unpkg.com",Tv=`${Pe}/@highlightjs/cdn-assets@11.10.0/highlight.min.js`,Rf={main:`${Pe}/prettier@3.3.3/standalone.js`,markdown:`${Pe}/prettier@3.3.3/plugins/markdown.js`},Av={css:`${Pe}/cropperjs@1.6.2/dist/cropper.min.css`,js:`${Pe}/cropperjs@1.6.2/dist/cropper.min.js`},Ev=`${Pe}/screenfull@5.2.0/dist/screenfull.js`,Rv=`${Pe}/mermaid@11.9.0/dist/mermaid.min.js`,Dv={js:`${Pe}/katex@0.16.22/dist/katex.min.js`,css:`${Pe}/katex@0.16.22/dist/katex.min.css`},gu={a11y:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/a11y-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/a11y-dark.min.css`},atom:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/atom-one-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/atom-one-dark.min.css`},github:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/github.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/github-dark.min.css`},gradient:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/gradient-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/gradient-dark.min.css`},kimbie:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/kimbie-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/kimbie-dark.min.css`},paraiso:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/paraiso-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/paraiso-dark.min.css`},qtcreator:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/qtcreator-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/qtcreator-dark.min.css`},stackoverflow:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/stackoverflow-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/stackoverflow-dark.min.css`}},Lv={highlight:{js:{integrity:"sha384-GdEWAbCjn+ghjX0gLx7/N1hyTVmPAjdC2OvoAA0RyNcAOhqwtT8qnbCxWle2+uJX",crossOrigin:"anonymous"},css:{a11y:{light:{integrity:"sha384-qdZDAN3jffvh670RHw1wxLekabidEFaNRninYgIzBvMbL6WlHdXeHS/Bt+vx33lN",crossOrigin:"anonymous"},dark:{integrity:"sha384-2QAAjX8pqaM5azX68KWI2wExF6Q13kY4kEiQFY4b/1zPe6rpgmTByNpDEllH3sb+",crossOrigin:"anonymous"}},atom:{light:{integrity:"sha384-w6Ujm1VWa9HYFqGc89oAPn/DWDi2gUamjNrq9DRvEYm2X3ClItg9Y9xs1ViVo5b5",crossOrigin:"anonymous"},dark:{integrity:"sha384-oaMLBGEzBOJx3UHwac0cVndtX5fxGQIfnAeFZ35RTgqPcYlbprH9o9PUV/F8Le07",crossOrigin:"anonymous"}},github:{light:{integrity:"sha384-eFTL69TLRZTkNfYZOLM+G04821K1qZao/4QLJbet1pP4tcF+fdXq/9CdqAbWRl/L",crossOrigin:"anonymous"},dark:{integrity:"sha384-wH75j6z1lH97ZOpMOInqhgKzFkAInZPPSPlZpYKYTOqsaizPvhQZmAtLcPKXpLyH",crossOrigin:"anonymous"}},gradient:{light:{integrity:"sha384-yErHBR8aEZPxRl3XmR8dGSRAclMlnSRRw8sXQLcmPWzWUvb56BzQmBw3EWHl7QGI",crossOrigin:"anonymous"},dark:{integrity:"sha384-lUCvtSOdvDbp5hLWKgwz/taFu1HxlpqES2OVP5UG2JMTfnU481gXcBhGF9lAGoSr",crossOrigin:"anonymous"}},kimbie:{light:{integrity:"sha384-tloeSLUPczAvoZ48TUz+OxRie0oYLCRwlkadUXovGzzJEIbNQB2TkfUuvJ6SW5Mi",crossOrigin:"anonymous"},dark:{integrity:"sha384-o5F1vUaMNOmou1sQrsWiFo4/QUGSV0svqNZW+EesmKxWC8MpFJcveBhAyfvTHbGb",crossOrigin:"anonymous"}},paraiso:{light:{integrity:"sha384-5j6QHU2Hwg1ehtlIQNDebhETDB8bga3/88hzBFsMRaGmgQHCftqIN7GZNDNw0vTL",crossOrigin:"anonymous"},dark:{integrity:"sha384-I5vnnMQu0LWDQnHpT61xyoMwKarAB8jpZkB2ioFOlmzUFnIFaV4QbUwlBBOMKhTH",crossOrigin:"anonymous"}},qtcreator:{light:{integrity:"sha384-iEBgHrwi8Hv4dSZBz+MOGvS05rF7I7fGKM2fASQyE9jn2Istg9Qd5dSoK18WyRTB",crossOrigin:"anonymous"},dark:{integrity:"sha384-D6LXJGWNR4QV7gnpuP3ccbvOYoR02td3cU0y7lESABPg/tzCSC4m+y+M2TtrmpHc",crossOrigin:"anonymous"}},stackoverflow:{light:{integrity:"sha384-FMwt7cTGo4aLxZnno5k0xTj0W4gmi48Kwept+y/oQmE6cFk36Kr+QJZOKNOQwORe",crossOrigin:"anonymous"},dark:{integrity:"sha384-iL+x+BroCyHm/p2c6sMA9umXhdCWp2cKe4QUjPeMzHgwXAk+ZxHyIGP3NZTZensU",crossOrigin:"anonymous"}}}},prettier:{standaloneJs:{integrity:"sha384-92h6ALm8/lHpNGn6MfGlgZ+I8c/4yn/nSN8dV9ZmDxqbP9L93gk/Jj2i0LtV+AVd",crossOrigin:"anonymous"},parserMarkdownJs:{integrity:"sha384-5ufuUgoSsr/2oihBZ5d+c+yt0qaUmzLtUz41VZNJ4txtyJ6mBve3ZwuKoq/IygYX",crossOrigin:"anonymous"}},cropper:{js:{integrity:"sha384-jrOgQzBlDeUNdmQn3rUt/PZD+pdcRBdWd/HWRqRo+n2OR2QtGyjSaJC0GiCeH+ir",crossOrigin:"anonymous"},css:{integrity:"sha384-6LFfkTKLRlzFtgx8xsWyBdKGpcMMQTkv+dB7rAbugeJAu1Ym2q1Aji1cjHBG12Xh",crossOrigin:"anonymous"}},screenfull:{js:{integrity:"sha384-Qfbv8upMDu/ikv42M0Jnym2hahbDQ77Nm8PGU0G+iA6UIwt1+scE6P1qKXA0anWU",crossOrigin:"anonymous"}},mermaid:{js:{integrity:"sha384-UzWEhMP22MxNnr2bzqAdmtf1FDy5iKDUq6hLXJFLqC7dfGkc6W/hshbx9m71zyt5",crossOrigin:"anonymous"}},katex:{js:{integrity:"sha384-cMkvdD8LoxVzGF/RPUKAcvmm49FQ0oxwDF3BGKtDXcEc+T1b2N+teh/OJfpU0jr6",crossOrigin:"anonymous"},css:{integrity:"sha384-5TcZemv2l/9On385z///+d7MSYlvIEw9FuZTIdZ14vJLqWphw7e7ZPuOiCHJcFCP",crossOrigin:"anonymous"}}},wc=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","task","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","previewOnly","htmlPreview","catalog","github"],$c=["markdownTotal","=","scrollSwitch"],dl={"zh-CN":{toolbarTips:{bold:"加粗",underline:"下划线",italic:"斜体",strikeThrough:"删除线",title:"标题",sub:"下标",sup:"上标",quote:"引用",unorderedList:"无序列表",orderedList:"有序列表",task:"任务列表",codeRow:"行内代码",code:"块级代码",link:"链接",image:"图片",table:"表格",mermaid:"mermaid图",katex:"katex公式",revoke:"后退",next:"前进",save:"保存",prettier:"美化",pageFullscreen:"浏览器全屏",fullscreen:"屏幕全屏",preview:"预览",previewOnly:"仅预览",htmlPreview:"html代码预览",catalog:"目录",github:"源码地址"},titleItem:{h1:"一级标题",h2:"二级标题",h3:"三级标题",h4:"四级标题",h5:"五级标题",h6:"六级标题"},imgTitleItem:{link:"添加链接",upload:"上传图片",clip2upload:"裁剪上传"},linkModalTips:{linkTitle:"添加链接",imageTitle:"添加图片",descLabel:"链接描述:",descLabelPlaceHolder:"请输入描述...",urlLabel:"链接地址:",urlLabelPlaceHolder:"请输入链接...",buttonOK:"确定"},clipModalTips:{title:"裁剪图片上传",buttonUpload:"上传"},copyCode:{text:"复制代码",successTips:"已复制!",failTips:"复制失败!"},mermaid:{flow:"流程图",sequence:"时序图",gantt:"甘特图",class:"类图",state:"状态图",pie:"饼图",relationship:"关系图",journey:"旅程图"},katex:{inline:"行内公式",block:"块级公式"},footer:{markdownTotal:"字数",scrollAuto:"同步滚动"}},"en-US":{toolbarTips:{bold:"bold",underline:"underline",italic:"italic",strikeThrough:"strikeThrough",title:"title",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"unordered list",orderedList:"ordered list",task:"task list",codeRow:"inline code",code:"block-level code",link:"link",image:"image",table:"table",mermaid:"mermaid",katex:"formula",revoke:"revoke",next:"undo revoke",save:"save",prettier:"prettier",pageFullscreen:"fullscreen in page",fullscreen:"fullscreen",preview:"preview",previewOnly:"preview only",htmlPreview:"html preview",catalog:"catalog",github:"source code"},titleItem:{h1:"Lv1 Heading",h2:"Lv2 Heading",h3:"Lv3 Heading",h4:"Lv4 Heading",h5:"Lv5 Heading",h6:"Lv6 Heading"},imgTitleItem:{link:"Add Image Link",upload:"Upload Images",clip2upload:"Crop And Upload"},linkModalTips:{linkTitle:"Add Link",imageTitle:"Add Image",descLabel:"Desc:",descLabelPlaceHolder:"Enter a description...",urlLabel:"Link:",urlLabelPlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",successTips:"Copied!",failTips:"Copy failed!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"},footer:{markdownTotal:"Character Count",scrollAuto:"Scroll Auto"}}},Me={editorExtensions:{highlight:{js:Tv,css:gu},prettier:{standaloneJs:Rf.main,parserMarkdownJs:Rf.markdown},cropper:{...Av},screenfull:{js:Ev},mermaid:{js:Rv,enableZoom:!0},katex:{...Dv}},editorExtensionsAttrs:{},editorConfig:{languageUserDefined:{},mermaidTemplate:{},renderDelay:500,zIndex:2e4},codeMirrorExtensions:(t,e)=>e,markdownItConfig:()=>{},markdownItPlugins:t=>t,mermaidConfig:t=>t,katexConfig:t=>t},Mv=t=>Gl(Me,t,{excludeKeys(e){return/[iI]{1}nstance/.test(e)}}),Oo=.1,ht=({instance:t,ctx:e,props:i={}},n="default")=>{const r=(t==null?void 0:t.$slots[n])||(e==null?void 0:e.slots[n]);return(r?r(t):"")||i[n]},Zv={overlay:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},onChange:{type:Function,default:()=>{}},relative:{type:String,default:"html"},disabled:{type:Boolean,default:void 0}},Bn=Te({name:`${x}-dropdown`,props:Zv,setup(t,e){const i=`${x}-dropdown-hidden`,n=ct({overlayClass:[i],overlayStyle:{},triggerHover:!1,overlayHover:!1}),r=pe(),s=pe(),o=()=>{var c,h;if(t.disabled)return!1;n.triggerHover=!0;const f=r.value,d=s.value;if(!f||!d)return;const p=f.getBoundingClientRect(),m=f.offsetTop,O=f.offsetLeft,g=p.height,b=p.width,y=f.getRootNode(),w=((c=y.querySelector(t.relative))==null?void 0:c.scrollLeft)||0,v=((h=y.querySelector(t.relative))==null?void 0:h.clientWidth)||0;let Q=O-d.offsetWidth/2+b/2-w;Q+d.offsetWidth>w+v&&(Q=w+v-d.offsetWidth),Q<0&&(Q=0),n.overlayStyle={...n.overlayStyle,top:m+g+"px",left:Q+"px"},t.onChange(!0)},l=()=>{if(t.disabled)return!1;n.overlayHover=!0};te(()=>t.visible,c=>{c?n.overlayClass=n.overlayClass.filter(h=>h!==i):n.overlayClass.push(i)});let a=-1;const u=c=>{r.value===c.target?n.triggerHover=!1:n.overlayHover=!1,clearTimeout(a),a=window.setTimeout(()=>{!n.overlayHover&&!n.triggerHover&&t.onChange(!1)},10)};return Ae(()=>{r.value.addEventListener("mouseenter",o),r.value.addEventListener("mouseleave",u),s.value.addEventListener("mouseenter",l),s.value.addEventListener("mouseleave",u)}),Mn(()=>{r.value.removeEventListener("mouseenter",o),r.value.removeEventListener("mouseleave",u),s.value.removeEventListener("mouseenter",l),s.value.removeEventListener("mouseleave",u)}),()=>{const c=ht({ctx:e}),h=ht({props:t,ctx:e},"overlay"),f=ys(c instanceof Array?c[0]:c,{ref:r,key:"cloned-dropdown-trigger"}),d=$("div",{class:[`${x}-dropdown`,n.overlayClass],style:n.overlayStyle,ref:s},[$("div",{class:`${x}-dropdown-overlay`},[h instanceof Array?h[0]:h])]);return[f,d]}}}),Iv={title:{type:String,default:""},visible:{type:Boolean,default:void 0},trigger:{type:[String,Object],default:void 0},onChange:{type:Function,default:void 0},overlay:{type:[String,Object],default:void 0},insert:{type:Function,default:void 0},language:{type:String,default:void 0},theme:{type:String,default:void 0},previewTheme:{type:String,default:void 0},codeTheme:{type:String,default:void 0},disabled:{type:Boolean,default:void 0},showToolbarName:{type:Boolean,default:void 0}},rs=Te({name:"DropdownToolbar",props:Iv,emits:["onChange"],setup(t,e){const i=H("editorId");return()=>{const n=ht({props:t,ctx:e},"trigger"),r=ht({props:t,ctx:e},"overlay"),s=ht({props:t,ctx:e});return $(Bn,{relative:`#${i}-toolbar-wrapper`,visible:t.visible,onChange:o=>{var l;(l=t.onChange)==null||l.call(t,o),e.emit("onChange",o)},overlay:r,disabled:t.disabled},{default:()=>[$("div",{class:[`${x}-toolbar-item`,t.disabled&&`${x}-disabled`],title:t.title||""},[s||n])]})}}});rs.install=t=>(t.component(rs.name,rs),t);var Xv=Object.defineProperty,zv=(t,e,i)=>e in t?Xv(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,jv=(t,e,i)=>zv(t,e+"",i);class Fv{constructor(){jv(this,"pools",{})}remove(e,i,n){const s=this.pools[e]&&this.pools[e][i];s&&(this.pools[e][i]=s.filter(o=>o!==n))}clear(e){this.pools[e]={}}on(e,i){return this.pools[e]||(this.pools[e]={}),this.pools[e][i.name]||(this.pools[e][i.name]=[]),this.pools[e][i.name].push(i.callback),this.pools[e][i.name].includes(i.callback)}emit(e,i,...n){this.pools[e]||(this.pools[e]={});const s=this.pools[e][i];s&&s.forEach(o=>{try{o(...n)}catch(l){console.error(`${i} monitor event exception!`,l)}})}}const X=new Fv,Ul="onSave",Qc="changeCatalogVisible",em="changeFullscreen",Df="pageFullscreenChanged",Lf="fullscreenChanged",Mf="previewChanged",Zf="previewOnlyChanged",If="htmlPreviewChanged",Xf="catalogVisibleChanged",Go="buildFinished",hn="errorCatcher",xe="replace",Hl="uploadImage",bu="openModals",tm="ctrlZ",im="ctrlShiftZ",ss="catalogChanged",nm="pushCatalog",_c="rerender",rm="eventListener",sm="taskStateChanged",om="sendEditorView",pl="getEditorView",Bv={copy:``,"collapse-tips":``,pin:'',"pin-off":''},os=(t,e)=>typeof e[t]=="string"?e[t]:Bv[t],zf=(t,e)=>{const i=n=>{const r=t.parentElement||document.body,s=r.offsetWidth,o=r.offsetHeight,{clientWidth:l,clientHeight:a}=document.documentElement,u=n.offsetX,c=n.offsetY,h=d=>{let p=d.x+document.body.scrollLeft-document.body.clientLeft-u,m=d.y+document.body.scrollTop-document.body.clientTop-c;p=p<1?1:p{document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",f)};document.addEventListener("mouseup",f)};return t.addEventListener("mousedown",i),()=>{t.removeEventListener("mousedown",i)}},zt=(t,e,i="")=>{var n;const r=document.getElementById(e.id);if(r)i!==""&&(Reflect.get(window,i)?(n=e.onload)==null||n.call(r,new Event("load")):e.onload&&r.addEventListener("load",e.onload));else{const s={...e};s.onload=null;const o=qv(t,s);e.onload&&o.addEventListener("load",e.onload),document.head.appendChild(o)}},Vv=(t,e)=>{const i=document.getElementById(e.id);i==null||i.remove(),zt(t,e)},qv=(t,e)=>{const i=document.createElement(t);return Object.keys(e).forEach(n=>{e[n]!==void 0&&(i[n]=e[n])}),i},jf=(()=>{const t=i=>{if(!i)return()=>{};const n=i.firstChild;let r=1,s=0,o=0,l=!1,a,u,c,h=1;const f=()=>{n.style.transform=`translate(${s}px, ${o}px) scale(${r})`},d=v=>{v.touches.length===1?(l=!0,a=v.touches[0].clientX-s,u=v.touches[0].clientY-o):v.touches.length===2&&(c=Math.hypot(v.touches[0].clientX-v.touches[1].clientX,v.touches[0].clientY-v.touches[1].clientY),h=r)},p=v=>{if(v.preventDefault(),l&&v.touches.length===1)s=v.touches[0].clientX-a,o=v.touches[0].clientY-u,f();else if(v.touches.length===2){const P=Math.hypot(v.touches[0].clientX-v.touches[1].clientX,v.touches[0].clientY-v.touches[1].clientY)/c,_=r;r=h*(1+(P-1));const R=(v.touches[0].clientX+v.touches[1].clientX)/2,L=(v.touches[0].clientY+v.touches[1].clientY)/2,I=n.getBoundingClientRect(),T=(R-I.left)/_,M=(L-I.top)/_;s-=T*(r-_),o-=M*(r-_),f()}},m=()=>{l=!1},O=v=>{v.preventDefault();const Q=.02,P=r;v.deltaY<0?r+=Q:r=Math.max(.1,r-Q);const _=n.getBoundingClientRect(),R=v.clientX-_.left,L=v.clientY-_.top;s-=R/P*(r-P),o-=L/P*(r-P),f()},g=v=>{l=!0,a=v.clientX-s,u=v.clientY-o},b=v=>{l&&(s=v.clientX-a,o=v.clientY-u,f())},y=()=>{l=!1},w=()=>{l=!1};return i.addEventListener("touchstart",d,{passive:!1}),i.addEventListener("touchmove",p,{passive:!1}),i.addEventListener("touchend",m),i.addEventListener("wheel",O,{passive:!1}),i.addEventListener("mousedown",g),i.addEventListener("mousemove",b),i.addEventListener("mouseup",y),i.addEventListener("mouseleave",w),()=>{i.removeEventListener("touchstart",d),i.removeEventListener("touchmove",p),i.removeEventListener("touchend",m),i.removeEventListener("wheel",O),i.removeEventListener("mousedown",g),i.removeEventListener("mousemove",b),i.removeEventListener("mouseup",y),i.removeEventListener("mouseleave",w)}};return(i,n)=>{const r=new Map;return i==null||i.forEach(s=>{let o=s.querySelector(`.${x}-mermaid-action`);o||(s.insertAdjacentHTML("beforeend",`
    ${os("pin-off",n.customIcon)}
    `),o=s.querySelector(`.${x}-mermaid-action`));const l=()=>{const a=r.get(s);if(a!=null&&a.removeEvent)a.removeEvent(),s.removeAttribute("data-grab"),r.set(s,{removeClick:a.removeClick}),o.innerHTML=os("pin-off",n.customIcon);else{const u=t(s);s.setAttribute("data-grab",""),r.set(s,{removeEvent:u,removeClick:a==null?void 0:a.removeClick}),o.innerHTML=os("pin",n.customIcon)}};o.addEventListener("click",l),r.set(s,{removeClick:()=>o.removeEventListener("click",l)})}),()=>{r.forEach(({removeEvent:s,removeClick:o})=>{s==null||s(),o==null||o()}),r.clear()}}})();/*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */var gn=Object.assign||function(t){for(var e=1;ei.map(i=>d[i]); +var bv=Object.defineProperty;var Ef=t=>{throw TypeError(t)};var vv=(t,e,i)=>e in t?bv(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var Ze=(t,e,i)=>vv(t,typeof e!="symbol"?e+"":e,i),va=(t,e,i)=>e.has(t)||Ef("Cannot "+i);var S=(t,e,i)=>(va(t,e,"read from private field"),i?i.call(t):e.get(t)),oe=(t,e,i)=>e.has(t)?Ef("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),U=(t,e,i,n)=>(va(t,e,"write to private field"),n?n.call(t,i):e.set(t,i),i),j=(t,e,i)=>(va(t,e,"access private method"),i);var mo=(t,e,i,n)=>({set _(r){U(t,e,r,i)},get _(){return S(t,e,n)}});import{d as Te,B as H,s as $,D as te,G as Ae,H as Mn,ao as ys,z as ct,y as pe,F as Ct,M as Gs,bf as yv,a9 as si,aQ as Tn,P as li,j as He,I as xs,bg as xv,aD as A,an as kv}from"./index-CxbBjZKo.js";const Sv=t=>{const e=typeof t;return e!=="function"&&e!=="object"||t===null},wv=t=>{const e=t.flags===""?void 0:t.flags;return new RegExp(t.source,e)},Ur=(t,e=new WeakMap)=>{if(t===null||Sv(t))return t;if(e.has(t))return e.get(t);if(t instanceof RegExp)return wv(t);if(t instanceof Date)return new Date(t.getTime());if(t instanceof Function)return t;if(t instanceof Map){const n=new Map;return e.set(t,n),t.forEach((r,s)=>{n.set(s,Ur(r,e))}),n}if(t instanceof Set){const n=new Set;e.set(t,n);for(const r of t)n.add(Ur(r,e));return n}if(Array.isArray(t)){const n=[];return e.set(t,n),t.forEach(r=>{n.push(Ur(r,e))}),n}const i={};e.set(t,i);for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=Ur(t[n],e));return i},Kp=(t,e=200)=>{let i=0;return(...n)=>new Promise(r=>{i&&(clearTimeout(i),r("cancel")),i=window.setTimeout(()=>{t.apply(void 0,n),i=0,r("done")},e)})},$v=(t,e={_blank:!0,nofollow:!0})=>{const i=document.createElement("a");i.href=t,e._blank&&(i.target="_blank"),e.nofollow&&(i.rel="noopener noreferrer"),i.click()},Jp=()=>{let t=-1;return(e,i,n,r=100)=>{const s=()=>{n&&(typeof r=="number"?setTimeout(n,r):n())};t!==-1&&(cancelAnimationFrame(t),s());let o=e.scrollTop;const l=()=>{t=-1;const a=i-o;o=o+a/5,Math.abs(a)<1?(e.scrollTo(0,i),s()):(e.scrollTo(0,o),t=requestAnimationFrame(l))};t=requestAnimationFrame(l)}},Qv=(t,e=200)=>{let i=0,n=null;const r=s=>{i===0&&(i=s),s-i>=e?(t.apply(void 0,n),n=null,i=0):window.requestAnimationFrame(r)};return(...s)=>{n===null&&window.requestAnimationFrame(r),n=s}},_v=t=>{const e=i=>{const{scrollHeight:n,scrollWidth:r,offsetHeight:s,offsetWidth:o,scrollLeft:l,scrollTop:a}=t,u=i.x,c=i.y,h=d=>{const p=a+c-d.y,m=l+u-d.x,O=n-s,g=r-o,b={};m>=0&&m<=g&&(b.left=m),p>=0&&p<=O&&(b.top=p),t.scroll(b)};document.addEventListener("mousemove",h);const f=()=>{document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",f)};document.addEventListener("mouseup",f)};return t.addEventListener("mousedown",e),()=>{t.removeEventListener("mousedown",e)}},mu=()=>`${Date.now().toString(36)}${Math.random().toString(36).substring(2)}`,fl=t=>t!==null&&typeof t=="object"&&!Array.isArray(t),Pv=new Set(["__proto__","constructor","prototype"]),Cv=t=>!Pv.has(t),Gl=(t,e,i={})=>{if(Array.isArray(t)&&Array.isArray(e))return Ou(t,e,i);const{excludeKeys:n}=i,r=t,s=e;for(const o of Object.keys(s)){if(!Cv(o))continue;const l=s[o],a=r[o];n&&n(o)?r[o]=l:Array.isArray(l)&&Array.isArray(a)?r[o]=Ou(a,l,i):fl(l)&&fl(a)?r[o]=Gl(a,l,i):r[o]=l}return t},Ou=(t,e,i)=>{const n=t.slice();return e.forEach((r,s)=>{const o=n[s];Array.isArray(r)&&Array.isArray(o)?n[s]=Ou(o,r,i):fl(r)&&fl(o)?n[s]=Gl(o,r,i):n[s]=r}),n},x="md-editor",Pe="https://unpkg.com",Tv=`${Pe}/@highlightjs/cdn-assets@11.10.0/highlight.min.js`,Rf={main:`${Pe}/prettier@3.3.3/standalone.js`,markdown:`${Pe}/prettier@3.3.3/plugins/markdown.js`},Av={css:`${Pe}/cropperjs@1.6.2/dist/cropper.min.css`,js:`${Pe}/cropperjs@1.6.2/dist/cropper.min.js`},Ev=`${Pe}/screenfull@5.2.0/dist/screenfull.js`,Rv=`${Pe}/mermaid@11.9.0/dist/mermaid.min.js`,Dv={js:`${Pe}/katex@0.16.22/dist/katex.min.js`,css:`${Pe}/katex@0.16.22/dist/katex.min.css`},gu={a11y:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/a11y-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/a11y-dark.min.css`},atom:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/atom-one-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/atom-one-dark.min.css`},github:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/github.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/github-dark.min.css`},gradient:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/gradient-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/gradient-dark.min.css`},kimbie:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/kimbie-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/kimbie-dark.min.css`},paraiso:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/paraiso-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/paraiso-dark.min.css`},qtcreator:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/qtcreator-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/qtcreator-dark.min.css`},stackoverflow:{light:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/stackoverflow-light.min.css`,dark:`${Pe}/@highlightjs/cdn-assets@11.10.0/styles/stackoverflow-dark.min.css`}},Lv={highlight:{js:{integrity:"sha384-GdEWAbCjn+ghjX0gLx7/N1hyTVmPAjdC2OvoAA0RyNcAOhqwtT8qnbCxWle2+uJX",crossOrigin:"anonymous"},css:{a11y:{light:{integrity:"sha384-qdZDAN3jffvh670RHw1wxLekabidEFaNRninYgIzBvMbL6WlHdXeHS/Bt+vx33lN",crossOrigin:"anonymous"},dark:{integrity:"sha384-2QAAjX8pqaM5azX68KWI2wExF6Q13kY4kEiQFY4b/1zPe6rpgmTByNpDEllH3sb+",crossOrigin:"anonymous"}},atom:{light:{integrity:"sha384-w6Ujm1VWa9HYFqGc89oAPn/DWDi2gUamjNrq9DRvEYm2X3ClItg9Y9xs1ViVo5b5",crossOrigin:"anonymous"},dark:{integrity:"sha384-oaMLBGEzBOJx3UHwac0cVndtX5fxGQIfnAeFZ35RTgqPcYlbprH9o9PUV/F8Le07",crossOrigin:"anonymous"}},github:{light:{integrity:"sha384-eFTL69TLRZTkNfYZOLM+G04821K1qZao/4QLJbet1pP4tcF+fdXq/9CdqAbWRl/L",crossOrigin:"anonymous"},dark:{integrity:"sha384-wH75j6z1lH97ZOpMOInqhgKzFkAInZPPSPlZpYKYTOqsaizPvhQZmAtLcPKXpLyH",crossOrigin:"anonymous"}},gradient:{light:{integrity:"sha384-yErHBR8aEZPxRl3XmR8dGSRAclMlnSRRw8sXQLcmPWzWUvb56BzQmBw3EWHl7QGI",crossOrigin:"anonymous"},dark:{integrity:"sha384-lUCvtSOdvDbp5hLWKgwz/taFu1HxlpqES2OVP5UG2JMTfnU481gXcBhGF9lAGoSr",crossOrigin:"anonymous"}},kimbie:{light:{integrity:"sha384-tloeSLUPczAvoZ48TUz+OxRie0oYLCRwlkadUXovGzzJEIbNQB2TkfUuvJ6SW5Mi",crossOrigin:"anonymous"},dark:{integrity:"sha384-o5F1vUaMNOmou1sQrsWiFo4/QUGSV0svqNZW+EesmKxWC8MpFJcveBhAyfvTHbGb",crossOrigin:"anonymous"}},paraiso:{light:{integrity:"sha384-5j6QHU2Hwg1ehtlIQNDebhETDB8bga3/88hzBFsMRaGmgQHCftqIN7GZNDNw0vTL",crossOrigin:"anonymous"},dark:{integrity:"sha384-I5vnnMQu0LWDQnHpT61xyoMwKarAB8jpZkB2ioFOlmzUFnIFaV4QbUwlBBOMKhTH",crossOrigin:"anonymous"}},qtcreator:{light:{integrity:"sha384-iEBgHrwi8Hv4dSZBz+MOGvS05rF7I7fGKM2fASQyE9jn2Istg9Qd5dSoK18WyRTB",crossOrigin:"anonymous"},dark:{integrity:"sha384-D6LXJGWNR4QV7gnpuP3ccbvOYoR02td3cU0y7lESABPg/tzCSC4m+y+M2TtrmpHc",crossOrigin:"anonymous"}},stackoverflow:{light:{integrity:"sha384-FMwt7cTGo4aLxZnno5k0xTj0W4gmi48Kwept+y/oQmE6cFk36Kr+QJZOKNOQwORe",crossOrigin:"anonymous"},dark:{integrity:"sha384-iL+x+BroCyHm/p2c6sMA9umXhdCWp2cKe4QUjPeMzHgwXAk+ZxHyIGP3NZTZensU",crossOrigin:"anonymous"}}}},prettier:{standaloneJs:{integrity:"sha384-92h6ALm8/lHpNGn6MfGlgZ+I8c/4yn/nSN8dV9ZmDxqbP9L93gk/Jj2i0LtV+AVd",crossOrigin:"anonymous"},parserMarkdownJs:{integrity:"sha384-5ufuUgoSsr/2oihBZ5d+c+yt0qaUmzLtUz41VZNJ4txtyJ6mBve3ZwuKoq/IygYX",crossOrigin:"anonymous"}},cropper:{js:{integrity:"sha384-jrOgQzBlDeUNdmQn3rUt/PZD+pdcRBdWd/HWRqRo+n2OR2QtGyjSaJC0GiCeH+ir",crossOrigin:"anonymous"},css:{integrity:"sha384-6LFfkTKLRlzFtgx8xsWyBdKGpcMMQTkv+dB7rAbugeJAu1Ym2q1Aji1cjHBG12Xh",crossOrigin:"anonymous"}},screenfull:{js:{integrity:"sha384-Qfbv8upMDu/ikv42M0Jnym2hahbDQ77Nm8PGU0G+iA6UIwt1+scE6P1qKXA0anWU",crossOrigin:"anonymous"}},mermaid:{js:{integrity:"sha384-UzWEhMP22MxNnr2bzqAdmtf1FDy5iKDUq6hLXJFLqC7dfGkc6W/hshbx9m71zyt5",crossOrigin:"anonymous"}},katex:{js:{integrity:"sha384-cMkvdD8LoxVzGF/RPUKAcvmm49FQ0oxwDF3BGKtDXcEc+T1b2N+teh/OJfpU0jr6",crossOrigin:"anonymous"},css:{integrity:"sha384-5TcZemv2l/9On385z///+d7MSYlvIEw9FuZTIdZ14vJLqWphw7e7ZPuOiCHJcFCP",crossOrigin:"anonymous"}}},wc=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","task","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","previewOnly","htmlPreview","catalog","github"],$c=["markdownTotal","=","scrollSwitch"],dl={"zh-CN":{toolbarTips:{bold:"加粗",underline:"下划线",italic:"斜体",strikeThrough:"删除线",title:"标题",sub:"下标",sup:"上标",quote:"引用",unorderedList:"无序列表",orderedList:"有序列表",task:"任务列表",codeRow:"行内代码",code:"块级代码",link:"链接",image:"图片",table:"表格",mermaid:"mermaid图",katex:"katex公式",revoke:"后退",next:"前进",save:"保存",prettier:"美化",pageFullscreen:"浏览器全屏",fullscreen:"屏幕全屏",preview:"预览",previewOnly:"仅预览",htmlPreview:"html代码预览",catalog:"目录",github:"源码地址"},titleItem:{h1:"一级标题",h2:"二级标题",h3:"三级标题",h4:"四级标题",h5:"五级标题",h6:"六级标题"},imgTitleItem:{link:"添加链接",upload:"上传图片",clip2upload:"裁剪上传"},linkModalTips:{linkTitle:"添加链接",imageTitle:"添加图片",descLabel:"链接描述:",descLabelPlaceHolder:"请输入描述...",urlLabel:"链接地址:",urlLabelPlaceHolder:"请输入链接...",buttonOK:"确定"},clipModalTips:{title:"裁剪图片上传",buttonUpload:"上传"},copyCode:{text:"复制代码",successTips:"已复制!",failTips:"复制失败!"},mermaid:{flow:"流程图",sequence:"时序图",gantt:"甘特图",class:"类图",state:"状态图",pie:"饼图",relationship:"关系图",journey:"旅程图"},katex:{inline:"行内公式",block:"块级公式"},footer:{markdownTotal:"字数",scrollAuto:"同步滚动"}},"en-US":{toolbarTips:{bold:"bold",underline:"underline",italic:"italic",strikeThrough:"strikeThrough",title:"title",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"unordered list",orderedList:"ordered list",task:"task list",codeRow:"inline code",code:"block-level code",link:"link",image:"image",table:"table",mermaid:"mermaid",katex:"formula",revoke:"revoke",next:"undo revoke",save:"save",prettier:"prettier",pageFullscreen:"fullscreen in page",fullscreen:"fullscreen",preview:"preview",previewOnly:"preview only",htmlPreview:"html preview",catalog:"catalog",github:"source code"},titleItem:{h1:"Lv1 Heading",h2:"Lv2 Heading",h3:"Lv3 Heading",h4:"Lv4 Heading",h5:"Lv5 Heading",h6:"Lv6 Heading"},imgTitleItem:{link:"Add Image Link",upload:"Upload Images",clip2upload:"Crop And Upload"},linkModalTips:{linkTitle:"Add Link",imageTitle:"Add Image",descLabel:"Desc:",descLabelPlaceHolder:"Enter a description...",urlLabel:"Link:",urlLabelPlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",successTips:"Copied!",failTips:"Copy failed!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"},footer:{markdownTotal:"Character Count",scrollAuto:"Scroll Auto"}}},Me={editorExtensions:{highlight:{js:Tv,css:gu},prettier:{standaloneJs:Rf.main,parserMarkdownJs:Rf.markdown},cropper:{...Av},screenfull:{js:Ev},mermaid:{js:Rv,enableZoom:!0},katex:{...Dv}},editorExtensionsAttrs:{},editorConfig:{languageUserDefined:{},mermaidTemplate:{},renderDelay:500,zIndex:2e4},codeMirrorExtensions:(t,e)=>e,markdownItConfig:()=>{},markdownItPlugins:t=>t,mermaidConfig:t=>t,katexConfig:t=>t},Mv=t=>Gl(Me,t,{excludeKeys(e){return/[iI]{1}nstance/.test(e)}}),Oo=.1,ht=({instance:t,ctx:e,props:i={}},n="default")=>{const r=(t==null?void 0:t.$slots[n])||(e==null?void 0:e.slots[n]);return(r?r(t):"")||i[n]},Zv={overlay:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},onChange:{type:Function,default:()=>{}},relative:{type:String,default:"html"},disabled:{type:Boolean,default:void 0}},Bn=Te({name:`${x}-dropdown`,props:Zv,setup(t,e){const i=`${x}-dropdown-hidden`,n=ct({overlayClass:[i],overlayStyle:{},triggerHover:!1,overlayHover:!1}),r=pe(),s=pe(),o=()=>{var c,h;if(t.disabled)return!1;n.triggerHover=!0;const f=r.value,d=s.value;if(!f||!d)return;const p=f.getBoundingClientRect(),m=f.offsetTop,O=f.offsetLeft,g=p.height,b=p.width,y=f.getRootNode(),w=((c=y.querySelector(t.relative))==null?void 0:c.scrollLeft)||0,v=((h=y.querySelector(t.relative))==null?void 0:h.clientWidth)||0;let Q=O-d.offsetWidth/2+b/2-w;Q+d.offsetWidth>w+v&&(Q=w+v-d.offsetWidth),Q<0&&(Q=0),n.overlayStyle={...n.overlayStyle,top:m+g+"px",left:Q+"px"},t.onChange(!0)},l=()=>{if(t.disabled)return!1;n.overlayHover=!0};te(()=>t.visible,c=>{c?n.overlayClass=n.overlayClass.filter(h=>h!==i):n.overlayClass.push(i)});let a=-1;const u=c=>{r.value===c.target?n.triggerHover=!1:n.overlayHover=!1,clearTimeout(a),a=window.setTimeout(()=>{!n.overlayHover&&!n.triggerHover&&t.onChange(!1)},10)};return Ae(()=>{r.value.addEventListener("mouseenter",o),r.value.addEventListener("mouseleave",u),s.value.addEventListener("mouseenter",l),s.value.addEventListener("mouseleave",u)}),Mn(()=>{r.value.removeEventListener("mouseenter",o),r.value.removeEventListener("mouseleave",u),s.value.removeEventListener("mouseenter",l),s.value.removeEventListener("mouseleave",u)}),()=>{const c=ht({ctx:e}),h=ht({props:t,ctx:e},"overlay"),f=ys(c instanceof Array?c[0]:c,{ref:r,key:"cloned-dropdown-trigger"}),d=$("div",{class:[`${x}-dropdown`,n.overlayClass],style:n.overlayStyle,ref:s},[$("div",{class:`${x}-dropdown-overlay`},[h instanceof Array?h[0]:h])]);return[f,d]}}}),Iv={title:{type:String,default:""},visible:{type:Boolean,default:void 0},trigger:{type:[String,Object],default:void 0},onChange:{type:Function,default:void 0},overlay:{type:[String,Object],default:void 0},insert:{type:Function,default:void 0},language:{type:String,default:void 0},theme:{type:String,default:void 0},previewTheme:{type:String,default:void 0},codeTheme:{type:String,default:void 0},disabled:{type:Boolean,default:void 0},showToolbarName:{type:Boolean,default:void 0}},rs=Te({name:"DropdownToolbar",props:Iv,emits:["onChange"],setup(t,e){const i=H("editorId");return()=>{const n=ht({props:t,ctx:e},"trigger"),r=ht({props:t,ctx:e},"overlay"),s=ht({props:t,ctx:e});return $(Bn,{relative:`#${i}-toolbar-wrapper`,visible:t.visible,onChange:o=>{var l;(l=t.onChange)==null||l.call(t,o),e.emit("onChange",o)},overlay:r,disabled:t.disabled},{default:()=>[$("div",{class:[`${x}-toolbar-item`,t.disabled&&`${x}-disabled`],title:t.title||""},[s||n])]})}}});rs.install=t=>(t.component(rs.name,rs),t);var Xv=Object.defineProperty,zv=(t,e,i)=>e in t?Xv(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,jv=(t,e,i)=>zv(t,e+"",i);class Fv{constructor(){jv(this,"pools",{})}remove(e,i,n){const s=this.pools[e]&&this.pools[e][i];s&&(this.pools[e][i]=s.filter(o=>o!==n))}clear(e){this.pools[e]={}}on(e,i){return this.pools[e]||(this.pools[e]={}),this.pools[e][i.name]||(this.pools[e][i.name]=[]),this.pools[e][i.name].push(i.callback),this.pools[e][i.name].includes(i.callback)}emit(e,i,...n){this.pools[e]||(this.pools[e]={});const s=this.pools[e][i];s&&s.forEach(o=>{try{o(...n)}catch(l){console.error(`${i} monitor event exception!`,l)}})}}const X=new Fv,Ul="onSave",Qc="changeCatalogVisible",em="changeFullscreen",Df="pageFullscreenChanged",Lf="fullscreenChanged",Mf="previewChanged",Zf="previewOnlyChanged",If="htmlPreviewChanged",Xf="catalogVisibleChanged",Go="buildFinished",hn="errorCatcher",xe="replace",Hl="uploadImage",bu="openModals",tm="ctrlZ",im="ctrlShiftZ",ss="catalogChanged",nm="pushCatalog",_c="rerender",rm="eventListener",sm="taskStateChanged",om="sendEditorView",pl="getEditorView",Bv={copy:``,"collapse-tips":``,pin:'',"pin-off":''},os=(t,e)=>typeof e[t]=="string"?e[t]:Bv[t],zf=(t,e)=>{const i=n=>{const r=t.parentElement||document.body,s=r.offsetWidth,o=r.offsetHeight,{clientWidth:l,clientHeight:a}=document.documentElement,u=n.offsetX,c=n.offsetY,h=d=>{let p=d.x+document.body.scrollLeft-document.body.clientLeft-u,m=d.y+document.body.scrollTop-document.body.clientTop-c;p=p<1?1:p{document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",f)};document.addEventListener("mouseup",f)};return t.addEventListener("mousedown",i),()=>{t.removeEventListener("mousedown",i)}},zt=(t,e,i="")=>{var n;const r=document.getElementById(e.id);if(r)i!==""&&(Reflect.get(window,i)?(n=e.onload)==null||n.call(r,new Event("load")):e.onload&&r.addEventListener("load",e.onload));else{const s={...e};s.onload=null;const o=qv(t,s);e.onload&&o.addEventListener("load",e.onload),document.head.appendChild(o)}},Vv=(t,e)=>{const i=document.getElementById(e.id);i==null||i.remove(),zt(t,e)},qv=(t,e)=>{const i=document.createElement(t);return Object.keys(e).forEach(n=>{e[n]!==void 0&&(i[n]=e[n])}),i},jf=(()=>{const t=i=>{if(!i)return()=>{};const n=i.firstChild;let r=1,s=0,o=0,l=!1,a,u,c,h=1;const f=()=>{n.style.transform=`translate(${s}px, ${o}px) scale(${r})`},d=v=>{v.touches.length===1?(l=!0,a=v.touches[0].clientX-s,u=v.touches[0].clientY-o):v.touches.length===2&&(c=Math.hypot(v.touches[0].clientX-v.touches[1].clientX,v.touches[0].clientY-v.touches[1].clientY),h=r)},p=v=>{if(v.preventDefault(),l&&v.touches.length===1)s=v.touches[0].clientX-a,o=v.touches[0].clientY-u,f();else if(v.touches.length===2){const P=Math.hypot(v.touches[0].clientX-v.touches[1].clientX,v.touches[0].clientY-v.touches[1].clientY)/c,_=r;r=h*(1+(P-1));const R=(v.touches[0].clientX+v.touches[1].clientX)/2,L=(v.touches[0].clientY+v.touches[1].clientY)/2,I=n.getBoundingClientRect(),T=(R-I.left)/_,M=(L-I.top)/_;s-=T*(r-_),o-=M*(r-_),f()}},m=()=>{l=!1},O=v=>{v.preventDefault();const Q=.02,P=r;v.deltaY<0?r+=Q:r=Math.max(.1,r-Q);const _=n.getBoundingClientRect(),R=v.clientX-_.left,L=v.clientY-_.top;s-=R/P*(r-P),o-=L/P*(r-P),f()},g=v=>{l=!0,a=v.clientX-s,u=v.clientY-o},b=v=>{l&&(s=v.clientX-a,o=v.clientY-u,f())},y=()=>{l=!1},w=()=>{l=!1};return i.addEventListener("touchstart",d,{passive:!1}),i.addEventListener("touchmove",p,{passive:!1}),i.addEventListener("touchend",m),i.addEventListener("wheel",O,{passive:!1}),i.addEventListener("mousedown",g),i.addEventListener("mousemove",b),i.addEventListener("mouseup",y),i.addEventListener("mouseleave",w),()=>{i.removeEventListener("touchstart",d),i.removeEventListener("touchmove",p),i.removeEventListener("touchend",m),i.removeEventListener("wheel",O),i.removeEventListener("mousedown",g),i.removeEventListener("mousemove",b),i.removeEventListener("mouseup",y),i.removeEventListener("mouseleave",w)}};return(i,n)=>{const r=new Map;return i==null||i.forEach(s=>{let o=s.querySelector(`.${x}-mermaid-action`);o||(s.insertAdjacentHTML("beforeend",`
    ${os("pin-off",n.customIcon)}
    `),o=s.querySelector(`.${x}-mermaid-action`));const l=()=>{const a=r.get(s);if(a!=null&&a.removeEvent)a.removeEvent(),s.removeAttribute("data-grab"),r.set(s,{removeClick:a.removeClick}),o.innerHTML=os("pin-off",n.customIcon);else{const u=t(s);s.setAttribute("data-grab",""),r.set(s,{removeEvent:u,removeClick:a==null?void 0:a.removeClick}),o.innerHTML=os("pin",n.customIcon)}};o.addEventListener("click",l),r.set(s,{removeClick:()=>o.removeEventListener("click",l)})}),()=>{r.forEach(({removeEvent:s,removeClick:o})=>{s==null||s(),o==null||o()}),r.clear()}}})();/*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */var gn=Object.assign||function(t){for(var e=1;e>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-DlqR5_tk.js Expects a CSS selector, a Node element, a NodeList or an array. See: https://github.com/francoischalifour/medium-zoom`)}},Yv=function(e){var i=document.createElement("div");return i.classList.add("medium-zoom-overlay"),i.style.background=e,i},Nv=function(e){var i=e.getBoundingClientRect(),n=i.top,r=i.left,s=i.width,o=i.height,l=e.cloneNode(),a=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,u=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return l.removeAttribute("id"),l.style.position="absolute",l.style.top=n+a+"px",l.style.left=r+u+"px",l.style.width=s+"px",l.style.height=o+"px",l.style.transform="",l},jn=function(e,i){var n=gn({bubbles:!1,cancelable:!1,detail:void 0},i);if(typeof window.CustomEvent=="function")return new CustomEvent(e,n);var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),r},Gv=function t(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=window.Promise||function(T){function M(){}T(M,M)},r=function(T){var M=T.target;if(M===R){p();return}y.indexOf(M)!==-1&&m({target:M})},s=function(){if(!(v||!_.original)){var T=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(Q-T)>P.scrollOffset&&setTimeout(p,150)}},o=function(T){var M=T.key||T.keyCode;(M==="Escape"||M==="Esc"||M===27)&&p()},l=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=T;if(T.background&&(R.style.background=T.background),T.container&&T.container instanceof Object&&(M.container=gn({},P.container,T.container)),T.template){var F=Uo(T.template)?T.template:document.querySelector(T.template);M.template=F}return P=gn({},P,M),y.forEach(function(B){B.dispatchEvent(jn("medium-zoom:update",{detail:{zoom:L}}))}),L},a=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return t(gn({},P,T))},u=function(){for(var T=arguments.length,M=Array(T),F=0;F0?M.reduce(function(Y,J){return[].concat(Y,Bf(J))},[]):y;return B.forEach(function(Y){Y.classList.remove("medium-zoom-image"),Y.dispatchEvent(jn("medium-zoom:detach",{detail:{zoom:L}}))}),y=y.filter(function(Y){return B.indexOf(Y)===-1}),L},h=function(T,M){var F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return y.forEach(function(B){B.addEventListener("medium-zoom:"+T,M,F)}),w.push({type:"medium-zoom:"+T,listener:M,options:F}),L},f=function(T,M){var F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return y.forEach(function(B){B.removeEventListener("medium-zoom:"+T,M,F)}),w=w.filter(function(B){return!(B.type==="medium-zoom:"+T&&B.listener.toString()===M.toString())}),L},d=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=T.target,F=function(){var Y={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},J=void 0,ee=void 0;if(P.container)if(P.container instanceof Object)Y=gn({},Y,P.container),J=Y.width-Y.left-Y.right-P.margin*2,ee=Y.height-Y.top-Y.bottom-P.margin*2;else{var re=Uo(P.container)?P.container:document.querySelector(P.container),ue=re.getBoundingClientRect(),ye=ue.width,Oe=ue.height,le=ue.left,Se=ue.top;Y=gn({},Y,{width:ye,height:Oe,left:le,top:Se})}J=J||Y.width-P.margin*2,ee=ee||Y.height-P.margin*2;var et=_.zoomedHd||_.original,Pi=Ff(et)?J:et.naturalWidth||J,dn=Ff(et)?ee:et.naturalHeight||ee,pn=et.getBoundingClientRect(),ao=pn.top,uo=pn.left,In=pn.width,Xn=pn.height,co=Math.min(Math.max(In,Pi),J)/In,ho=Math.min(Math.max(Xn,dn),ee)/Xn,zn=Math.min(co,ho),fo=(-uo+(J-In)/2+P.margin+Y.left)/zn,po=(-ao+(ee-Xn)/2+P.margin+Y.top)/zn,zr="scale("+zn+") translate3d("+fo+"px, "+po+"px, 0)";_.zoomed.style.transform=zr,_.zoomedHd&&(_.zoomedHd.style.transform=zr)};return new n(function(B){if(M&&y.indexOf(M)===-1){B(L);return}var Y=function ye(){v=!1,_.zoomed.removeEventListener("transitionend",ye),_.original.dispatchEvent(jn("medium-zoom:opened",{detail:{zoom:L}})),B(L)};if(_.zoomed){B(L);return}if(M)_.original=M;else if(y.length>0){var J=y;_.original=J[0]}else{B(L);return}if(_.original.dispatchEvent(jn("medium-zoom:open",{detail:{zoom:L}})),Q=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,v=!0,_.zoomed=Nv(_.original),document.body.appendChild(R),P.template){var ee=Uo(P.template)?P.template:document.querySelector(P.template);_.template=document.createElement("div"),_.template.appendChild(ee.content.cloneNode(!0)),document.body.appendChild(_.template)}if(_.original.parentElement&&_.original.parentElement.tagName==="PICTURE"&&_.original.currentSrc&&(_.zoomed.src=_.original.currentSrc),document.body.appendChild(_.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),_.original.classList.add("medium-zoom-image--hidden"),_.zoomed.classList.add("medium-zoom-image--opened"),_.zoomed.addEventListener("click",p),_.zoomed.addEventListener("transitionend",Y),_.original.getAttribute("data-zoom-src")){_.zoomedHd=_.zoomed.cloneNode(),_.zoomedHd.removeAttribute("srcset"),_.zoomedHd.removeAttribute("sizes"),_.zoomedHd.removeAttribute("loading"),_.zoomedHd.src=_.zoomed.getAttribute("data-zoom-src"),_.zoomedHd.onerror=function(){clearInterval(re),console.warn("Unable to reach the zoom image target "+_.zoomedHd.src),_.zoomedHd=null,F()};var re=setInterval(function(){_.zoomedHd.complete&&(clearInterval(re),_.zoomedHd.classList.add("medium-zoom-image--opened"),_.zoomedHd.addEventListener("click",p),document.body.appendChild(_.zoomedHd),F())},10)}else if(_.original.hasAttribute("srcset")){_.zoomedHd=_.zoomed.cloneNode(),_.zoomedHd.removeAttribute("sizes"),_.zoomedHd.removeAttribute("loading");var ue=_.zoomedHd.addEventListener("load",function(){_.zoomedHd.removeEventListener("load",ue),_.zoomedHd.classList.add("medium-zoom-image--opened"),_.zoomedHd.addEventListener("click",p),document.body.appendChild(_.zoomedHd),F()})}else F()})},p=function(){return new n(function(T){if(v||!_.original){T(L);return}var M=function F(){_.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(_.zoomed),_.zoomedHd&&document.body.removeChild(_.zoomedHd),document.body.removeChild(R),_.zoomed.classList.remove("medium-zoom-image--opened"),_.template&&document.body.removeChild(_.template),v=!1,_.zoomed.removeEventListener("transitionend",F),_.original.dispatchEvent(jn("medium-zoom:closed",{detail:{zoom:L}})),_.original=null,_.zoomed=null,_.zoomedHd=null,_.template=null,T(L)};v=!0,document.body.classList.remove("medium-zoom--opened"),_.zoomed.style.transform="",_.zoomedHd&&(_.zoomedHd.style.transform=""),_.template&&(_.template.style.transition="opacity 150ms",_.template.style.opacity=0),_.original.dispatchEvent(jn("medium-zoom:close",{detail:{zoom:L}})),_.zoomed.addEventListener("transitionend",M)})},m=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=T.target;return _.original?p():d({target:M})},O=function(){return P},g=function(){return y},b=function(){return _.original},y=[],w=[],v=!1,Q=0,P=i,_={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(e)==="[object Object]"?P=e:(e||typeof e=="string")&&u(e),P=gn({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},P);var R=Yv(P.background);document.addEventListener("click",r),document.addEventListener("keyup",o),document.addEventListener("scroll",s),window.addEventListener("resize",p);var L={open:d,close:p,toggle:m,update:l,clone:a,attach:u,detach:c,on:h,off:f,getOptions:O,getImages:g,getZoomedImage:b};return L};function Uv(t,e){e===void 0&&(e={});var i=e.insertAt;if(!(typeof document>"u")){var n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",i==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}var Hv=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";Uv(Hv);async function Kv(t){if(typeof t=="string"){if(window.isSecureContext&&navigator.clipboard)return await navigator.clipboard.writeText(t);{const e=document.createElement("textarea");let i=!1;if(e.value=t,e.style.position="fixed",e.style.opacity=0,e.style.zIndex="-10000",e.style.top="-10000",document.body.appendChild(e),e.select(),i=document.execCommand("copy"),document.body.removeChild(e),i)return;throw new Error('Failed to copy content via "execCommand"!')}}}const Vf={};function Jv(t){let e=Vf[t];if(e)return e;e=Vf[t]=[];for(let i=0;i<128;i++){const n=String.fromCharCode(i);e.push(n)}for(let i=0;i=55296&&c<=57343?r+="���":r+=String.fromCharCode(c),s+=6;continue}}if((l&248)===240&&s+91114111?r+="����":(h-=65536,r+=String.fromCharCode(55296+(h>>10),56320+(h&1023))),s+=9;continue}}r+="�"}return r})}pr.defaultChars=";/?:@&=+$,#";pr.componentChars="";const qf={};function ey(t){let e=qf[t];if(e)return e;e=qf[t]=[];for(let i=0;i<128;i++){const n=String.fromCharCode(i);/^[0-9a-z]$/i.test(n)?e.push(n):e.push("%"+("0"+i.toString(16).toUpperCase()).slice(-2))}for(let i=0;i"u"&&(i=!0);const n=ey(e);let r="";for(let s=0,o=t.length;s=55296&&l<=57343){if(l>=55296&&l<=56319&&s+1=56320&&a<=57343){r+=encodeURIComponent(t[s]+t[s+1]),s++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(t[s])}return r}Us.defaultChars=";/?:@&=+$,-_.!~*'()#";Us.componentChars="-_.!~*'()";function Pc(t){let e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function ml(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const ty=/^([a-z0-9.+-]+:)/i,iy=/:[0-9]*$/,ny=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ry=["<",">",'"',"`"," ","\r",` `," "],sy=["{","}","|","\\","^","`"].concat(ry),oy=["'"].concat(sy),Wf=["%","/","?",";","#"].concat(oy),Yf=["/","?","#"],ly=255,Nf=/^[+a-z0-9A-Z_-]{0,63}$/,ay=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Gf={javascript:!0,"javascript:":!0},Uf={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Cc(t,e){if(t&&t instanceof ml)return t;const i=new ml;return i.parse(t,e),i}ml.prototype.parse=function(t,e){let i,n,r,s=t;if(s=s.trim(),!e&&t.split("#").length===1){const u=ny.exec(s);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}let o=ty.exec(s);if(o&&(o=o[0],i=o.toLowerCase(),this.protocol=o,s=s.substr(o.length)),(e||o||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=s.substr(0,2)==="//",r&&!(o&&Gf[o])&&(s=s.substr(2),this.slashes=!0)),!Gf[o]&&(r||o&&!Uf[o])){let u=-1;for(let p=0;p127?b+="x":b+=g[y];if(!b.match(Nf)){const y=p.slice(0,m),w=p.slice(m+1),v=g.match(ay);v&&(y.push(v[1]),w.unshift(v[2])),w.length&&(s=w.join(".")+s),this.hostname=y.join(".");break}}}}this.hostname.length>ly&&(this.hostname=""),d&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const l=s.indexOf("#");l!==-1&&(this.hash=s.substr(l),s=s.slice(0,l));const a=s.indexOf("?");return a!==-1&&(this.search=s.substr(a),s=s.slice(0,a)),s&&(this.pathname=s),Uf[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this};ml.prototype.parseHost=function(t){let e=iy.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};const uy=Object.freeze(Object.defineProperty({__proto__:null,decode:pr,encode:Us,format:Pc,parse:Cc},Symbol.toStringTag,{value:"Module"})),lm=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,am=/[\0-\x1F\x7F-\x9F]/,cy=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Tc=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008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uDD5E\uDD5F]/,um=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,cm=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,hy=Object.freeze(Object.defineProperty({__proto__:null,Any:lm,Cc:am,Cf:cy,P:Tc,S:um,Z:cm},Symbol.toStringTag,{value:"Module"})),fy=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(t=>t.charCodeAt(0))),dy=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(t=>t.charCodeAt(0)));var ya;const py=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),my=(ya=String.fromCodePoint)!==null&&ya!==void 0?ya:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),e+=String.fromCharCode(t),e};function Oy(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=py.get(t))!==null&&e!==void 0?e:t}var Ye;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(Ye||(Ye={}));const gy=32;var en;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(en||(en={}));function vu(t){return t>=Ye.ZERO&&t<=Ye.NINE}function by(t){return t>=Ye.UPPER_A&&t<=Ye.UPPER_F||t>=Ye.LOWER_A&&t<=Ye.LOWER_F}function vy(t){return t>=Ye.UPPER_A&&t<=Ye.UPPER_Z||t>=Ye.LOWER_A&&t<=Ye.LOWER_Z||vu(t)}function yy(t){return t===Ye.EQUALS||vy(t)}var Be;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(Be||(Be={}));var Ei;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(Ei||(Ei={}));class xy{constructor(e,i,n){this.decodeTree=e,this.emitCodePoint=i,this.errors=n,this.state=Be.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ei.Strict}startEntity(e){this.decodeMode=e,this.state=Be.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,i){switch(this.state){case Be.EntityStart:return e.charCodeAt(i)===Ye.NUM?(this.state=Be.NumericStart,this.consumed+=1,this.stateNumericStart(e,i+1)):(this.state=Be.NamedEntity,this.stateNamedEntity(e,i));case Be.NumericStart:return this.stateNumericStart(e,i);case Be.NumericDecimal:return this.stateNumericDecimal(e,i);case Be.NumericHex:return this.stateNumericHex(e,i);case Be.NamedEntity:return this.stateNamedEntity(e,i)}}stateNumericStart(e,i){return i>=e.length?-1:(e.charCodeAt(i)|gy)===Ye.LOWER_X?(this.state=Be.NumericHex,this.consumed+=1,this.stateNumericHex(e,i+1)):(this.state=Be.NumericDecimal,this.stateNumericDecimal(e,i))}addToNumericResult(e,i,n,r){if(i!==n){const s=n-i;this.result=this.result*Math.pow(r,s)+parseInt(e.substr(i,s),r),this.consumed+=s}}stateNumericHex(e,i){const n=i;for(;i>14;for(;i>14,s!==0){if(o===Ye.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==Ei.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:i,decodeTree:n}=this,r=(n[i]&en.VALUE_LENGTH)>>14;return this.emitNamedEntityData(i,r,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,i,n){const{decodeTree:r}=this;return this.emitCodePoint(i===1?r[e]&~en.VALUE_LENGTH:r[e+1],n),i===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case Be.NamedEntity:return this.result!==0&&(this.decodeMode!==Ei.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Be.NumericDecimal:return this.emitNumericEntity(0,2);case Be.NumericHex:return this.emitNumericEntity(0,3);case Be.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Be.EntityStart:return 0}}}function hm(t){let e="";const i=new xy(t,n=>e+=my(n));return function(r,s){let o=0,l=0;for(;(l=r.indexOf("&",l))>=0;){e+=r.slice(o,l),i.startEntity(s);const u=i.write(r,l+1);if(u<0){o=l+i.end();break}o=l+u,l=u===0?o+1:o}const a=e+r.slice(o);return e="",a}}function ky(t,e,i,n){const r=(e&en.BRANCH_LENGTH)>>7,s=e&en.JUMP_TABLE;if(r===0)return s!==0&&n===s?i:-1;if(s){const a=n-s;return a<0||a>=r?-1:t[i+a]-1}let o=i,l=o+r-1;for(;o<=l;){const a=o+l>>>1,u=t[a];if(un)l=a-1;else return t[a+r]}return-1}const fm=hm(fy);hm(dy);function Sy(t,e=Ei.Legacy){return fm(t,e)}function wy(t){return fm(t,Ei.Strict)}function $y(t){return Object.prototype.toString.call(t)}function Ac(t){return $y(t)==="[object String]"}const Qy=Object.prototype.hasOwnProperty;function _y(t,e){return Qy.call(t,e)}function Kl(t){return Array.prototype.slice.call(arguments,1).forEach(function(i){if(i){if(typeof i!="object")throw new TypeError(i+"must be object");Object.keys(i).forEach(function(n){t[n]=i[n]})}}),t}function dm(t,e,i){return[].concat(t.slice(0,e),i,t.slice(e+1))}function Ec(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||(t&65535)===65535||(t&65535)===65534||t>=0&&t<=8||t===11||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function ks(t){if(t>65535){t-=65536;const e=55296+(t>>10),i=56320+(t&1023);return String.fromCharCode(e,i)}return String.fromCharCode(t)}const pm=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Py=/&([a-z#][a-z0-9]{1,31});/gi,Cy=new RegExp(pm.source+"|"+Py.source,"gi"),Ty=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Ay(t,e){if(e.charCodeAt(0)===35&&Ty.test(e)){const n=e[1].toLowerCase()==="x"?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return Ec(n)?ks(n):t}const i=Sy(t);return i!==t?i:t}function Ey(t){return t.indexOf("\\")<0?t:t.replace(pm,"$1")}function mr(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(Cy,function(e,i,n){return i||Ay(e,n)})}const Ry=/[&<>"]/,Dy=/[&<>"]/g,Ly={"&":"&","<":"<",">":">",'"':"""};function My(t){return Ly[t]}function sn(t){return Ry.test(t)?t.replace(Dy,My):t}const Zy=/[.?*+^$[\]\\(){}|-]/g;function Iy(t){return t.replace(Zy,"\\$&")}function Qe(t){switch(t){case 9:case 32:return!0}return!1}function Ss(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function mm(t){return Tc.test(t)||um.test(t)}function ws(t){return mm(ks(t))}function $s(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Jl(t){return t=t.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}function Hf(t){return t===32||t===9||t===10||t===13}function ea(t){let e=0;for(;e=e&&Hf(t.charCodeAt(i));i--);return t.slice(e,i+1)}const Xy={mdurl:uy,ucmicro:hy},zy=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:dm,asciiTrim:ea,assign:Kl,escapeHtml:sn,escapeRE:Iy,fromCodePoint:ks,has:_y,isMdAsciiPunct:$s,isPunctChar:mm,isPunctCharCode:ws,isSpace:Qe,isString:Ac,isValidEntityCode:Ec,isWhiteSpace:Ss,lib:Xy,normalizeReference:Jl,unescapeAll:mr,unescapeMd:Ey},Symbol.toStringTag,{value:"Module"}));function jy(t,e,i){let n,r,s,o;const l=t.posMax,a=t.pos;for(t.pos=e+1,n=1;t.pos32))return s;if(n===41){if(o===0)break;o--}r++}return e===r||o!==0||(s.str=mr(t.slice(e,r)),s.pos=r,s.ok=!0),s}function By(t,e,i,n){let r,s=e;const o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)o.str=n.str,o.marker=n.marker;else{if(s>=i)return o;let l=t.charCodeAt(s);if(l!==34&&l!==39&&l!==40)return o;e++,s++,l===40&&(l=41),o.marker=l}for(;s"+sn(s.content)+""};Qi.code_block=function(t,e,i,n,r){const s=t[e];return""+sn(t[e].content)+` @@ -274,7 +282,13 @@ See: https://github.com/francoischalifour/medium-zoom`)}},Yv=function(e){var i=d `))};if((q.mac||q.android)&&h.from==o-1&&/^\. ?$/.test(n.text)&&e.contentDOM.getAttribute("autocorrect")=="off"&&(h={from:l,to:a,insert:de.of([n.text.replace("."," ")])}),this.pendingContextChange=h,!e.state.readOnly){let f=this.to-this.from+(h.to-h.from+h.insert.length);Nc(e,h,E.single(this.toEditorPos(n.selectionStart,f),this.toEditorPos(n.selectionEnd,f)))}this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state)),h.from=0&&!/[\\p{Alphabetic}\\p{Number}_]/.test(i.text.slice(Math.max(0,n.updateRangeStart-1),Math.min(i.text.length,n.updateRangeStart+1)))&&this.handlers.compositionend(n)},this.handlers.characterboundsupdate=n=>{let r=[],s=null;for(let o=this.toEditorPos(n.rangeStart),l=this.toEditorPos(n.rangeEnd);o{let r=[];for(let s of n.getTextFormats()){let o=s.underlineStyle,l=s.underlineThickness;if(!/none/i.test(o)&&!/none/i.test(l)){let a=this.toEditorPos(s.rangeStart),u=this.toEditorPos(s.rangeEnd);if(a{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(e.inputState.composing=-1,e.inputState.compositionFirstChange=null,this.composing){let{drifted:n}=this.composing;this.composing=null,n&&this.reset(e.state)}};for(let n in this.handlers)i.addEventListener(n,this.handlers[n]);this.measureReq={read:n=>{let r=As(n.root);r&&r.rangeCount&&this.editContext.updateSelectionBounds(r.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let i=0,n=!1,r=this.pendingContextChange;return e.changes.iterChanges((s,o,l,a,u)=>{if(n)return;let c=u.length-(o-s);if(r&&o>=r.to)if(r.from==s&&r.to==o&&r.insert.eq(u)){r=this.pendingContextChange=null,i+=c,this.to+=c;return}else r=null,this.revertPending(e.state);if(s+=i,o+=i,o<=this.from)this.from+=c,this.to+=c;else if(sthis.to||this.to-this.from+u.length>3e4){n=!0;return}this.editContext.updateText(this.toContextPos(s),this.toContextPos(o),u.toString()),this.to+=c}i+=c}),r&&!n&&this.revertPending(e.state),!n}update(e){let i=this.pendingContextChange,n=e.startState.selection.main;this.composing&&(this.composing.drifted||!e.changes.touchesRange(n.from,n.to)&&e.transactions.some(r=>!r.isUserEvent("input.type")&&r.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=e.changes.mapPos(this.composing.editorBase)):!this.applyEdits(e)||!this.rangeIsValid(e.state)?(this.pendingContextChange=null,this.reset(e.state)):(e.docChanged||e.selectionSet||i)&&this.setSelection(e.state),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:i}=e.selection.main;this.from=Math.max(0,i-1e4),this.to=Math.min(e.doc.length,i+1e4)}reset(e){this.resetRange(e),this.editContext.updateText(0,this.editContext.text.length,e.doc.sliceString(this.from,this.to)),this.setSelection(e)}revertPending(e){let i=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(i.from),this.toContextPos(i.from+i.insert.length),e.doc.sliceString(i.from,i.to))}setSelection(e){let{main:i}=e.selection,n=this.toContextPos(Math.max(this.from,Math.min(this.to,i.anchor))),r=this.toContextPos(i.head);(this.editContext.selectionStart!=n||this.editContext.selectionEnd!=r)&&this.editContext.updateSelection(n,r)}rangeIsValid(e){let{head:i}=e.selection.main;return!(this.from>0&&i-this.from<500||this.to1e4*3)}toEditorPos(e,i=this.to-this.from){e=Math.min(e,i);let n=this.composing;return n&&n.drifted?n.editorBase+(e-n.contextBase):e+this.from}toContextPos(e){let i=this.composing;return i&&i.drifted?i.contextBase+(e-i.editorBase):e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}}class W{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return!!this.inputState&&this.inputState.composing>0}get compositionStarted(){return!!this.inputState&&this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){var i;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:n}=e;this.dispatchTransactions=e.dispatchTransactions||n&&(r=>r.forEach(s=>n(s,this)))||(r=>this.update(r)),this.dispatch=this.dispatch.bind(this),this._root=e.root||cw(e.parent)||document,this.viewState=new Gd(this,e.state||fe.create(e)),e.scrollTo&&e.scrollTo.is(wo)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Gn).map(r=>new Aa(r));for(let r of this.plugins)r.update(this);this.observer=new D3(this),this.inputState=new i3(this),this.inputState.ensureHandlers(this.plugins),this.docView=new Md(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!((i=document.fonts)===null||i===void 0)&&i.ready&&document.fonts.ready.then(()=>{this.viewState.mustMeasureContent="refresh",this.requestMeasure()})}dispatch(...e){let i=e.length==1&&e[0]instanceof Xe?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(i,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let i=!1,n=!1,r,s=this.state;for(let f of e){if(f.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=f.state}if(this.destroyed){this.viewState.state=s;return}let o=this.hasFocus,l=0,a=null;e.some(f=>f.annotation(eg))?(this.inputState.notifiedFocused=o,l=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,a=tg(s,o),a||(l=1));let u=this.observer.delayedAndroidKey,c=null;if(u?(this.observer.clearDelayedAndroidKey(),c=this.observer.readChange(),(c&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(c=null)):this.observer.clear(),s.facet(fe.phrases)!=this.state.facet(fe.phrases))return this.setState(s);r=kl.create(this,s,e),r.flags|=l;let h=this.viewState.scrollTarget;try{this.updateState=2;for(let f of e){if(h&&(h=h.map(f.changes)),f.scrollIntoView){let{main:d}=f.state.selection,{x:p,y:m}=this.state.facet(W.cursorScrollMargin);h=new nr(d.empty?d:E.cursor(d.head,d.head>d.anchor?-1:1),"nearest","nearest",m,p)}for(let d of f.effects)d.is(wo)&&(h=d.value.clip(this.state))}this.viewState.update(r,h),this.bidiCache=_l.update(this.bidiCache,r.changes),r.empty||(this.updatePlugins(r),this.inputState.update(r)),i=this.docView.update(r),this.state.facet(Jr)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(i,e.some(f=>f.isUserEvent("select.pointer")))}finally{this.updateState=0}if(r.startState.facet(To)!=r.state.facet(To)&&(this.viewState.mustMeasureContent=!0),(i||n||h||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),i&&this.docViewUpdate(),!r.empty)for(let f of this.state.facet(Nu))try{f(r)}catch(d){Rt(this.state,d,"update listener")}(a||c)&&Promise.resolve().then(()=>{a&&this.state==a.startState&&this.dispatch(a),c&&!YO(this,c)&&u.force&&ir(this.contentDOM,u.key,u.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let i=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new Gd(this,e),this.plugins=e.facet(Gn).map(n=>new Aa(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView.destroy(),this.docView=new Md(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}i&&this.focus(),this.requestMeasure()}updatePlugins(e){let i=e.startState.facet(Gn),n=e.state.facet(Gn);if(i!=n){let r=[];for(let s of n){let o=i.indexOf(s);if(o<0)r.push(new Aa(s));else{let l=this.plugins[o];l.mustUpdate=e,r.push(l)}}for(let s of this.plugins)s.mustUpdate!=e&&s.destroy(this);this.plugins=r,this.pluginMap.clear()}else for(let r of this.plugins)r.mustUpdate=e;for(let r=0;r-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let i=null,n=this.viewState.scrollParent,r=this.viewState.getScrollOffset(),{scrollAnchorPos:s,scrollAnchorHeight:o}=this.viewState;Math.abs(r-this.viewState.scrollOffset)>1&&(o=-1),this.viewState.scrollAnchorHeight=-1;try{for(let l=0;;l++){if(o<0)if(xO(n||this.win))s=-1,o=this.viewState.heightMap.height;else{let d=this.viewState.scrollAnchorAt(r);s=d.from,o=d.top}this.updateState=1;let a=this.viewState.measure();if(!a&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(l>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let u=[];a&4||([this.measureRequests,u]=[u,this.measureRequests]);let c=u.map(d=>{try{return d.read(this)}catch(p){return Rt(this.state,p),e0}}),h=kl.create(this,this.state,[]),f=!1;h.flags|=a,i?i.flags|=a:i=h,this.updateState=2,h.empty||(this.updatePlugins(h),this.inputState.update(h),this.updateAttrs(),f=this.docView.update(h),f&&this.docViewUpdate());for(let d=0;d1||p<-1)&&!(q.ios&&this.inputState.lastIOSMomentumScroll>Date.now()-100)&&(n==this.scrollDOM||this.hasFocus||Math.max(this.inputState.lastWheelEvent,this.inputState.lastTouchTime)>Date.now()-100)){r=r+p,n?n.scrollTop+=p:this.win.scrollBy(0,p),o=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(i&&!i.empty)for(let l of this.state.facet(Nu))l(i)}get themeClasses(){return ec+" "+(this.state.facet(Ju)?sg:rg)+" "+this.state.facet(To)}updateAttrs(){let e=t0(this,XO,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),i={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(Ri)?"true":"false",class:"cm-content",style:`${q.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(i["aria-readonly"]="true"),t0(this,qc,i);let n=this.observer.ignore(()=>{let r=Td(this.contentDOM,this.contentAttrs,i),s=Td(this.dom,this.editorAttrs,e);return r||s});return this.editorAttrs=e,this.contentAttrs=i,n}showAnnouncements(e){let i=!0;for(let n of e)for(let r of n.effects)if(r.is(W.announce)){i&&(this.announceDOM.textContent=""),i=!1;let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=r.value}}mountStyles(){this.styleModules=this.state.facet(Jr);let e=this.state.facet(W.cspNonce);ln.mount(this.root,this.styleModules.concat(E3).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let i=0;in.plugin==e)||null),i&&i.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,i,n){return La(this,e,Zd(this,e,i,n))}moveByGroup(e,i){return La(this,e,Zd(this,e,i,n=>Ww(this,e.head,n)))}visualLineSide(e,i){let n=this.bidiSpans(e),r=this.textDirectionAt(e.from),s=n[i?n.length-1:0];return E.cursor(s.side(i,r)+e.from,s.forward(!i,r)?1:-1)}moveToLineBoundary(e,i,n=!0){return qw(this,e,i,n)}moveVertically(e,i,n){return La(this,e,Yw(this,e,i,n))}domAtPos(e,i=1){return this.docView.domAtPos(e,i)}posAtDOM(e,i=0){return this.docView.posFromDOM(e,i)}posAtCoords(e,i=!0){this.readMeasured();let n=Hu(this,e,i);return n&&n.pos}posAndSideAtCoords(e,i=!0){return this.readMeasured(),Hu(this,e,i)}coordsAtPos(e,i=1){this.readMeasured();let n=this.state.doc.lineAt(e),r=this.bidiSpans(n),s=r[xi.find(r,e-n.from,-1,i)];return this.docView.coordsAt(e,i,s.dir==Ce.RTL)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(LO)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>Z3)return _O(e.length);let i=this.textDirectionAt(e.from),n;for(let s of this.bidiCache)if(s.from==e.from&&s.dir==i&&(s.fresh||QO(s.isolates,n=Rd(this,e))))return s.order;n||(n=Rd(this,e));let r=bw(e.text,i,n);return this.bidiCache.push(new _l(e.from,e.to,i,n,!0,r)),r}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||q.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{yO(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,i={}){var n,r,s,o;return wo.of(new nr(typeof e=="number"?E.cursor(e):e,(n=i.y)!==null&&n!==void 0?n:"nearest",(r=i.x)!==null&&r!==void 0?r:"nearest",(s=i.yMargin)!==null&&s!==void 0?s:5,(o=i.xMargin)!==null&&o!==void 0?o:5))}scrollSnapshot(){let{scrollTop:e,scrollLeft:i}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return wo.of(new nr(E.cursor(n.from),"start","start",n.top-e,i,!0))}setTabFocusMode(e){e==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof e=="boolean"?this.inputState.tabFocusMode=e?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return Mt.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return Mt.define(()=>({}),{eventObservers:e})}static theme(e,i){let n=ln.newName(),r=[To.of(n),Jr.of(tc(`.${n}`,e))];return i&&i.dark&&r.push(Ju.of(!0)),r}static baseTheme(e){return Ii.lowest(Jr.of(tc("."+ec,e,og)))}static findFromDOM(e){var i;let n=e.querySelector(".cm-content"),r=n&&De.get(n)||De.get(e);return((i=r==null?void 0:r.root)===null||i===void 0?void 0:i.view)||null}}W.styleModule=Jr;W.inputHandler=RO;W.clipboardInputFilter=Bc;W.clipboardOutputFilter=Vc;W.scrollHandler=ZO;W.focusChangeEffect=DO;W.perLineTextDirection=LO;W.exceptionSink=EO;W.updateListener=Nu;W.editable=Ri;W.mouseSelectionStyle=AO;W.dragMovesSelection=TO;W.clickAddsSelectionRange=CO;W.decorations=sa;W.blockWrappers=zO;W.outerDecorations=Wc;W.atomicRanges=to;W.bidiIsolatedRanges=jO;W.cursorScrollMargin=G.define({combine:t=>{let e=5,i=5;for(let n of t)typeof n=="number"?e=i=n:{x:e,y:i}=n;return{x:e,y:i}}});W.scrollMargins=FO;W.darkTheme=Ju;W.cspNonce=G.define({combine:t=>t.length?t[0]:""});W.contentAttributes=qc;W.editorAttributes=XO;W.lineWrapping=W.contentAttributes.of({class:"cm-lineWrapping"});W.announce=ae.define();const Z3=4096,e0={};class _l{constructor(e,i,n,r,s,o){this.from=e,this.to=i,this.dir=n,this.isolates=r,this.fresh=s,this.order=o}static update(e,i){if(i.empty&&!e.some(s=>s.fresh))return e;let n=[],r=e.length?e[e.length-1].dir:Ce.LTR;for(let s=Math.max(0,e.length-10);s=0;r--){let s=n[r],o=typeof s=="function"?s(t):s;o&&zc(o,i)}return i}const I3=q.mac?"mac":q.windows?"win":q.linux?"linux":"key";function X3(t,e){const i=t.split(/-(?!$)/);let n=i[i.length-1];n=="Space"&&(n=" ");let r,s,o,l;for(let a=0;an.concat(r),[]))),i}function j3(t,e,i){return ag(lg(t.state),e,t,i)}let Ji=null;const F3=4e3;function B3(t,e=I3){let i=Object.create(null),n=Object.create(null),r=(o,l)=>{let a=n[o];if(a==null)n[o]=l;else if(a!=l)throw new Error("Key binding "+o+" is used both as a regular binding and as a multi-stroke prefix")},s=(o,l,a,u,c)=>{var h,f;let d=i[o]||(i[o]=Object.create(null)),p=l.split(/ (?!$)/).map(g=>X3(g,e));for(let g=1;g{let w=Ji={view:y,prefix:b,scope:o};return setTimeout(()=>{Ji==w&&(Ji=null)},F3),!0}]})}let m=p.join(" ");r(m,!1);let O=d[m]||(d[m]={preventDefault:!1,stopPropagation:!1,run:((f=(h=d._any)===null||h===void 0?void 0:h.run)===null||f===void 0?void 0:f.slice())||[]});a&&O.run.push(a),u&&(O.preventDefault=!0),c&&(O.stopPropagation=!0)};for(let o of t){let l=o.scope?o.scope.split(" "):["editor"];if(o.any)for(let u of l){let c=i[u]||(i[u]=Object.create(null));c._any||(c._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:h}=o;for(let f in c)c[f].run.push(d=>h(d,ic))}let a=o[e]||o.key;if(a)for(let u of l)s(u,a,o.run,o.preventDefault,o.stopPropagation),o.shift&&s(u,"Shift-"+a,o.shift,o.preventDefault,o.stopPropagation)}return i}let ic=null;function ag(t,e,i,n){ic=e;let r=nw(e),s=Ni(r,0),o=vn(s)==r.length&&r!=" ",l="",a=!1,u=!1,c=!1;Ji&&Ji.view==i&&Ji.scope==n&&(l=Ji.prefix+" ",UO.indexOf(e.keyCode)<0&&(u=!0,Ji=null));let h=new Set,f=O=>{if(O){for(let g of O.run)if(!h.has(g)&&(h.add(g),g(i)))return O.stopPropagation&&(c=!0),!0;O.preventDefault&&(O.stopPropagation&&(c=!0),u=!0)}return!1},d=t[n],p,m;return d&&(f(d[l+Ao(r,e,!o)])?a=!0:o&&(e.altKey||e.metaKey||e.ctrlKey)&&!(q.windows&&e.ctrlKey&&e.altKey)&&!(q.mac&&e.altKey&&!(e.ctrlKey||e.metaKey))&&(p=an[e.keyCode])&&p!=r?(f(d[l+Ao(p,e,!0)])||e.shiftKey&&(m=Cs[e.keyCode])!=r&&m!=p&&f(d[l+Ao(m,e,!1)]))&&(a=!0):o&&e.shiftKey&&f(d[l+Ao(r,e,!0)])&&(a=!0),!a&&f(d._any)&&(a=!0)),u&&(a=!0),a&&c&&e.stopPropagation(),ic=null,a}class Pn{constructor(e,i,n,r,s){this.className=e,this.left=i,this.top=n,this.width=r,this.height=s}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,i){return i.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,i,n){if(n.empty){let r=e.coordsAtPos(n.head,n.assoc||1);if(!r)return[];let s=ug(e);return[new Pn(i,r.left-s.left,r.top-s.top,null,r.bottom-r.top)]}else return V3(e,i,n)}}function ug(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==Ce.LTR?e.left:e.right-t.scrollDOM.clientWidth*t.scaleX)-t.scrollDOM.scrollLeft*t.scaleX,top:e.top-t.scrollDOM.scrollTop*t.scaleY}}function n0(t,e,i,n){let r=t.coordsAtPos(e,i*2);if(!r)return n;let s=t.dom.getBoundingClientRect(),o=(r.top+r.bottom)/2,l=t.posAtCoords({x:s.left+1,y:o}),a=t.posAtCoords({x:s.right-1,y:o});return l==null||a==null?n:{from:Math.max(n.from,Math.min(l,a)),to:Math.min(n.to,Math.max(l,a))}}function V3(t,e,i){if(i.to<=t.viewport.from||i.from>=t.viewport.to)return[];let n=Math.max(i.from,t.viewport.from),r=Math.min(i.to,t.viewport.to),s=t.textDirection==Ce.LTR,o=t.contentDOM,l=o.getBoundingClientRect(),a=ug(t),u=o.querySelector(".cm-line"),c=u&&window.getComputedStyle(u),h=l.left+(c?parseInt(c.paddingLeft)+Math.min(0,parseInt(c.textIndent)):0),f=l.right-(c?parseInt(c.paddingRight):0),d=Uu(t,n,1),p=Uu(t,r,-1),m=d.type==ft.Text?d:null,O=p.type==ft.Text?p:null;if(m&&(t.lineWrapping||d.widgetLineBreaks)&&(m=n0(t,n,1,m)),O&&(t.lineWrapping||p.widgetLineBreaks)&&(O=n0(t,r,-1,O)),m&&O&&m.from==O.from&&m.to==O.to)return b(y(i.from,i.to,m));{let v=m?y(i.from,null,m):w(d,!1),Q=O?y(null,i.to,O):w(p,!0),P=[];return(m||d).to<(O||p).from-(m&&O?1:0)||d.widgetLineBreaks>1&&v.bottom+t.defaultLineHeight/2T&&F.from=Y)break;ue>B&&I(Math.max(re,B),v==null&&re<=T,Math.min(ue,Y),Q==null&&ue>=M,ee.dir)}if(B=J.to+1,B>=Y)break}return L.length==0&&I(T,v==null,M,Q==null,t.textDirection),{top:_,bottom:R,horizontal:L}}function w(v,Q){let P=l.top+(Q?v.top:v.bottom);return{top:P,bottom:P,horizontal:[]}}}function q3(t,e){return t.constructor==e.constructor&&t.eq(e)}class W3{constructor(e,i){this.view=e,this.layer=i,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),i.above&&this.dom.classList.add("cm-layer-above"),i.class&&this.dom.classList.add(i.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),i.mount&&i.mount(this.dom,e)}update(e){e.startState.facet(rl)!=e.state.facet(rl)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){this.layer.updateOnDocViewUpdate!==!1&&e.requestMeasure(this.measureReq)}setOrder(e){let i=0,n=e.facet(rl);for(;i!q3(i,this.drawn[n]))){let i=this.dom.firstChild,n=0;for(let r of e)r.update&&i&&r.constructor&&this.drawn[n].constructor&&r.update(i,this.drawn[n])?(i=i.nextSibling,n++):this.dom.insertBefore(r.draw(),i);for(;i;){let r=i.nextSibling;i.remove(),i=r}this.drawn=e,q.webkit&&(this.dom.style.display=this.dom.firstChild?"":"none")}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const rl=G.define();function cg(t){return[Mt.define(e=>new W3(e,t)),rl.of(t)]}const xr=G.define({combine(t){return na(t,{cursorBlinkRate:1200,drawRangeCursor:!0,iosSelectionHandles:!0},{cursorBlinkRate:(e,i)=>Math.min(e,i),drawRangeCursor:(e,i)=>e||i})}});function Y3(t={}){return[xr.of(t),N3,G3,U3,MO.of(!0)]}function hg(t){return t.startState.facet(xr)!=t.state.facet(xr)}const N3=cg({above:!0,markers(t){let{state:e}=t,i=e.facet(xr),n=[];for(let r of e.selection.ranges){let s=r==e.selection.main;if(r.empty||i.drawRangeCursor&&!(s&&q.ios&&i.iosSelectionHandles)){let o=s?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",l=r.empty?r:E.cursor(r.head,r.assoc);for(let a of Pn.forRange(t,o,l))n.push(a)}}return n},update(t,e){t.transactions.some(n=>n.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let i=hg(t);return i&&r0(t.state,e),t.docChanged||t.selectionSet||i},mount(t,e){r0(e.state,t)},class:"cm-cursorLayer"});function r0(t,e){e.style.animationDuration=t.facet(xr).cursorBlinkRate+"ms"}const G3=cg({above:!1,markers(t){let e=[],{main:i,ranges:n}=t.state.selection;for(let r of n)if(!r.empty)for(let s of Pn.forRange(t,"cm-selectionBackground",r))e.push(s);if(q.ios&&!i.empty&&t.state.facet(xr).iosSelectionHandles){for(let r of Pn.forRange(t,"cm-selectionHandle cm-selectionHandle-start",E.cursor(i.from,1)))e.push(r);for(let r of Pn.forRange(t,"cm-selectionHandle cm-selectionHandle-end",E.cursor(i.to,1)))e.push(r)}return e},update(t,e){return t.docChanged||t.selectionSet||t.viewportChanged||hg(t)},class:"cm-selectionLayer"}),U3=Ii.highest(W.theme({".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"},caretColor:"transparent !important"},".cm-content":{caretColor:"transparent !important","& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}}));class H3 extends Er{constructor(e){super(),this.content=e}toDOM(e){let i=document.createElement("span");return i.className="cm-placeholder",i.style.pointerEvents="none",i.appendChild(typeof this.content=="string"?document.createTextNode(this.content):typeof this.content=="function"?this.content(e):this.content.cloneNode(!0)),i.setAttribute("aria-hidden","true"),i}coordsAt(e){let i=e.firstChild?hs(e.firstChild):[];if(!i.length)return null;let n=window.getComputedStyle(e.parentNode),r=Es(i[0],n.direction!="rtl"),s=parseInt(n.lineHeight);return r.bottom-r.top>s*1.5?{left:r.left,right:r.right,top:r.top,bottom:r.top+s}:r}ignoreEvent(){return!1}}function K3(t){let e=Mt.fromClass(class{constructor(i){this.view=i,this.placeholder=t?ve.set([ve.widget({widget:new H3(t),side:1}).range(0)]):ve.none}get decorations(){return this.view.state.doc.length?ve.none:this.placeholder}},{decorations:i=>i.decorations});return typeof t=="string"?[e,W.contentAttributes.of({"aria-placeholder":t})]:e}const Eo="-10000px";class J3{constructor(e,i,n,r){this.facet=i,this.createTooltipView=n,this.removeTooltipView=r,this.input=e.state.facet(i),this.tooltips=this.input.filter(o=>o);let s=null;this.tooltipViews=this.tooltips.map(o=>s=n(o,s))}update(e,i){var n;let r=e.state.facet(this.facet),s=r.filter(a=>a);if(r===this.input){for(let a of this.tooltipViews)a.update&&a.update(e);return!1}let o=[],l=i?[]:null;for(let a=0;ai[u]=a),i.length=l.length),this.input=r,this.tooltips=s,this.tooltipViews=o,!0}}function e$(t){let e=t.dom.ownerDocument.documentElement;return{top:0,left:0,bottom:e.clientHeight,right:e.clientWidth}}const Ia=G.define({combine:t=>{var e,i,n;return{position:q.ios?"absolute":((e=t.find(r=>r.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((i=t.find(r=>r.parent))===null||i===void 0?void 0:i.parent)||null,tooltipSpace:((n=t.find(r=>r.tooltipSpace))===null||n===void 0?void 0:n.tooltipSpace)||e$}}}),s0=new WeakMap,fg=Mt.fromClass(class{constructor(t){this.view=t,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(Ia);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new J3(t,dg,(i,n)=>this.createTooltip(i,n),i=>{this.resizeObserver&&this.resizeObserver.unobserve(i.dom),i.dom.remove()}),this.above=this.manager.tooltips.map(i=>!!i.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(i=>{Date.now()>this.lastTransaction-50&&i.length>0&&i[i.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t,this.above);e&&this.observeIntersection();let i=e||t.geometryChanged,n=t.state.facet(Ia);if(n.position!=this.position&&!this.madeAbsolute){this.position=n.position;for(let r of this.manager.tooltipViews)r.dom.style.position=this.position;i=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let r of this.manager.tooltipViews)this.container.appendChild(r.dom);i=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);i&&this.maybeMeasure()}createTooltip(t,e){let i=t.create(this.view),n=e?e.dom:null;if(i.dom.classList.add("cm-tooltip"),t.arrow&&!i.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let r=document.createElement("div");r.className="cm-tooltip-arrow",i.dom.appendChild(r)}return i.dom.style.position=this.position,i.dom.style.top=Eo,i.dom.style.left="0px",this.container.insertBefore(i.dom,n),i.mount&&i.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(i.dom),i}destroy(){var t,e,i;this.view.win.removeEventListener("resize",this.measureSoon);for(let n of this.manager.tooltipViews)n.dom.remove(),(t=n.destroy)===null||t===void 0||t.call(n);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(i=this.intersectionObserver)===null||i===void 0||i.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=1,e=1,i=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:s}=this.manager.tooltipViews[0];if(q.safari){let o=s.getBoundingClientRect();i=Math.abs(o.top+1e4)>1||Math.abs(o.left)>1}else i=!!s.offsetParent&&s.offsetParent!=this.container.ownerDocument.body}if(i||this.position=="absolute")if(this.parent){let s=this.parent.getBoundingClientRect();s.width&&s.height&&(t=s.width/this.parent.offsetWidth,e=s.height/this.parent.offsetHeight)}else({scaleX:t,scaleY:e}=this.view.viewState);let n=this.view.scrollDOM.getBoundingClientRect(),r=Yc(this.view);return{visible:{left:n.left+r.left,top:n.top+r.top,right:n.right-r.right,bottom:n.bottom-r.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((s,o)=>{let l=this.manager.tooltipViews[o];return l.getCoords?l.getCoords(s.pos):this.view.coordsAtPos(s.pos)}),size:this.manager.tooltipViews.map(({dom:s})=>s.getBoundingClientRect()),space:this.view.state.facet(Ia).tooltipSpace(this.view),scaleX:t,scaleY:e,makeAbsolute:i}}writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let l of this.manager.tooltipViews)l.dom.style.position="absolute"}let{visible:i,space:n,scaleX:r,scaleY:s}=t,o=[];for(let l=0;l=Math.min(i.bottom,n.bottom)||h.rightMath.min(i.right,n.right)+.1)){c.style.top=Eo;continue}let d=a.arrow?u.dom.querySelector(".cm-tooltip-arrow"):null,p=d?7:0,m=f.right-f.left,O=(e=s0.get(u))!==null&&e!==void 0?e:f.bottom-f.top,g=u.offset||i$,b=this.view.textDirection==Ce.LTR,y=f.width>n.right-n.left?b?n.left:n.right-f.width:b?Math.max(n.left,Math.min(h.left-(d?14:0)+g.x,n.right-m)):Math.min(Math.max(n.left,h.left-m+(d?14:0)-g.x),n.right-m),w=this.above[l];!a.strictSide&&(w?h.top-O-p-g.yn.bottom)&&w==n.bottom-h.bottom>h.top-n.top&&(w=this.above[l]=!w);let v=(w?h.top-n.top:n.bottom-h.bottom)-p;if(vy&&_.topQ&&(Q=w?_.top-O-2-p:_.bottom+p+2);if(this.position=="absolute"?(c.style.top=(Q-t.parent.top)/s+"px",o0(c,(y-t.parent.left)/r)):(c.style.top=Q/s+"px",o0(c,y/r)),d){let _=h.left+(b?g.x:-g.x)-(y+14-7);d.style.left=_/r+"px"}u.overlap!==!0&&o.push({left:y,top:Q,right:P,bottom:Q+O}),c.classList.toggle("cm-tooltip-above",w),c.classList.toggle("cm-tooltip-below",!w),u.positioned&&u.positioned(t.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=Eo}},{eventObservers:{scroll(){this.maybeMeasure()}}});function o0(t,e){let i=parseInt(t.style.left,10);(isNaN(i)||Math.abs(e-i)>1)&&(t.style.left=e+"px")}const t$=W.baseTheme({".cm-tooltip":{zIndex:500,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),i$={x:0,y:0},dg=G.define({enables:[fg,t$]});function pg(t,e){let i=t.plugin(fg);if(!i)return null;let n=i.manager.tooltips.indexOf(e);return n<0?null:i.manager.tooltipViews[n]}const l0=G.define({combine(t){let e,i;for(let n of t)e=e||n.topContainer,i=i||n.bottomContainer;return{topContainer:e,bottomContainer:i}}});function mg(t,e){let i=t.plugin(Og),n=i?i.specs.indexOf(e):-1;return n>-1?i.panels[n]:null}const Og=Mt.fromClass(class{constructor(t){this.input=t.state.facet(Pl),this.specs=this.input.filter(i=>i),this.panels=this.specs.map(i=>i(t));let e=t.state.facet(l0);this.top=new Ro(t,!0,e.topContainer),this.bottom=new Ro(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(i=>i.top)),this.bottom.sync(this.panels.filter(i=>!i.top));for(let i of this.panels)i.dom.classList.add("cm-panel"),i.mount&&i.mount()}update(t){let e=t.state.facet(l0);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new Ro(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new Ro(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let i=t.state.facet(Pl);if(i!=this.input){let n=i.filter(a=>a),r=[],s=[],o=[],l=[];for(let a of n){let u=this.specs.indexOf(a),c;u<0?(c=a(t.view),l.push(c)):(c=this.panels[u],c.update&&c.update(t)),r.push(c),(c.top?s:o).push(c)}this.specs=n,this.panels=r,this.top.sync(s),this.bottom.sync(o);for(let a of l)a.dom.classList.add("cm-panel"),a.mount&&a.mount()}else for(let n of this.panels)n.update&&n.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>W.scrollMargins.of(e=>{let i=e.plugin(t);return i&&{top:i.top.scrollMargin(),bottom:i.bottom.scrollMargin()}})});class Ro{constructor(e,i,n){this.view=e,this.top=i,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let i of this.panels)i.destroy&&e.indexOf(i)<0&&i.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let i=this.container||this.view.dom;i.insertBefore(this.dom,this.top?i.firstChild:null)}let e=this.dom.firstChild;for(let i of this.panels)if(i.dom.parentNode==this.dom){for(;e!=i.dom;)e=a0(e);e=e.nextSibling}else this.dom.insertBefore(i.dom,e);for(;e;)e=a0(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function a0(t){let e=t.nextSibling;return t.remove(),e}const Pl=G.define({enables:Og});function n$(t,e){let i,n=new Promise(o=>i=o),r=o=>r$(o,e,i);t.state.field(Xa,!1)?t.dispatch({effects:gg.of(r)}):t.dispatch({effects:ae.appendConfig.of(Xa.init(()=>[r]))});let s=bg.of(r);return{close:s,result:n.then(o=>((t.win.queueMicrotask||(a=>t.win.setTimeout(a,10)))(()=>{t.state.field(Xa).indexOf(r)>-1&&t.dispatch({effects:s})}),o))}}const Xa=Yt.define({create(){return[]},update(t,e){for(let i of e.effects)i.is(gg)?t=[i.value].concat(t):i.is(bg)&&(t=t.filter(n=>n!=i.value));return t},provide:t=>Pl.computeN([t],e=>e.field(t))}),gg=ae.define(),bg=ae.define();function r$(t,e,i){let n=e.content?e.content(t,()=>o(null)):null;if(!n){if(n=We("form"),e.input){let l=We("input",e.input);/^(text|password|number|email|tel|url)$/.test(l.type)&&l.classList.add("cm-textfield"),l.name||(l.name="input"),n.appendChild(We("label",(e.label||"")+": ",l))}else n.appendChild(document.createTextNode(e.label||""));n.appendChild(document.createTextNode(" ")),n.appendChild(We("button",{class:"cm-button",type:"submit"},e.submitLabel||"OK"))}let r=n.nodeName=="FORM"?[n]:n.querySelectorAll("form");for(let l=0;l{u.keyCode==27?(u.preventDefault(),o(null)):u.keyCode==13&&(u.preventDefault(),o(a))}),a.addEventListener("submit",u=>{u.preventDefault(),o(a)})}let s=We("div",n,We("button",{onclick:()=>o(null),"aria-label":t.state.phrase("close"),class:"cm-dialog-close",type:"button"},["×"]));e.class&&(s.className=e.class),s.classList.add("cm-dialog");function o(l){s.contains(s.ownerDocument.activeElement)&&t.focus(),i(l)}return{dom:s,top:e.top,mount:()=>{if(e.focus){let l;typeof e.focus=="string"?l=n.querySelector(e.focus):l=n.querySelector("input")||n.querySelector("button"),l&&"select"in l?l.select():l&&"focus"in l&&l.focus()}}}}class kr extends on{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}kr.prototype.elementClass="";kr.prototype.toDOM=void 0;kr.prototype.mapMode=ut.TrackBefore;kr.prototype.startSide=kr.prototype.endSide=-1;kr.prototype.point=!0;const vg=1024;let s$=0;class Ft{constructor(e,i){this.from=e,this.to=i}}class K{constructor(e={}){this.id=s$++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")}),this.combine=e.combine||null}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=ze.match(e)),i=>{let n=e(i);return n===void 0?null:[this,n]}}}K.closedBy=new K({deserialize:t=>t.split(" ")});K.openedBy=new K({deserialize:t=>t.split(" ")});K.group=new K({deserialize:t=>t.split(" ")});K.isolate=new K({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}});K.contextHash=new K({perNode:!0});K.lookAhead=new K({perNode:!0});K.mounted=new K({perNode:!0});class rr{constructor(e,i,n,r=!1){this.tree=e,this.overlay=i,this.parser=n,this.bracketed=r}static get(e){return e&&e.props&&e.props[K.mounted.id]}}const o$=Object.create(null);class ze{constructor(e,i,n,r=0){this.name=e,this.props=i,this.id=n,this.flags=r}static define(e){let i=e.props&&e.props.length?Object.create(null):o$,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),r=new ze(e.name||"",i,e.id,n);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(r)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");i[s[0].id]=s[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let i=this.prop(K.group);return i?i.indexOf(e)>-1:!1}return this.id==e}static match(e){let i=Object.create(null);for(let n in e)for(let r of n.split(" "))i[r]=e[n];return n=>{for(let r=n.prop(K.group),s=-1;s<(r?r.length:0);s++){let o=i[s<0?n.name:r[s]];if(o)return o}}}}ze.none=new ze("",Object.create(null),0,8);class Rr{constructor(e){this.types=e;for(let i=0;i0;for(let a=this.cursor(o|ge.IncludeAnonymous);;){let u=!1;if(a.from<=s&&a.to>=r&&(!l&&a.type.isAnonymous||i(a)!==!1)){if(a.firstChild())continue;u=!0}for(;u&&n&&(l||!a.type.isAnonymous)&&n(a),!a.nextSibling();){if(!a.parent())return;u=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let i in this.props)e.push([+i,this.props[i]]);return e}balance(e={}){return this.children.length<=8?this:Jc(ze.none,this.children,this.positions,0,this.children.length,0,this.length,(i,n,r)=>new se(this.type,i,n,r,this.propValues),e.makeTree||((i,n,r)=>new se(ze.none,i,n,r)))}static build(e){return c$(e)}}se.empty=new se(ze.none,[],[],0);class Hc{constructor(e,i){this.buffer=e,this.index=i}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new Hc(this.buffer,this.index)}}class cn{constructor(e,i,n){this.buffer=e,this.length=i,this.set=n}get type(){return ze.none}toString(){let e=[];for(let i=0;i0));a=o[a+3]);return l}slice(e,i,n){let r=this.buffer,s=new Uint16Array(i-e),o=0;for(let l=e,a=0;l=e&&ie;case 1:return i<=e&&n>e;case 2:return n>e;case 4:return!0}}function Ds(t,e,i,n){for(var r;t.from==t.to||(i<1?t.from>=e:t.from>e)||(i>-1?t.to<=e:t.to0?l.length:-1;e!=u;e+=i){let c=l[e],h=a[e]+o.from,f;if(!(!(s&ge.EnterBracketed&&c instanceof se&&(f=rr.get(c))&&!f.overlay&&f.bracketed&&n>=h&&n<=h+c.length)&&!yg(r,n,h,h+c.length))){if(c instanceof cn){if(s&ge.ExcludeBuffers)continue;let d=c.findChild(0,c.buffer.length,i,n-h,r);if(d>-1)return new ki(new l$(o,c,e,h),null,d)}else if(s&ge.IncludeAnonymous||!c.type.isAnonymous||Kc(c)){let d;if(!(s&ge.IgnoreMounts)&&(d=rr.get(c))&&!d.overlay)return new rt(d.tree,h,e,o);let p=new rt(c,h,e,o);return s&ge.IncludeAnonymous||!p.type.isAnonymous?p:p.nextChild(i<0?c.children.length-1:0,i,n,r,s)}}}if(s&ge.IncludeAnonymous||!o.type.isAnonymous||(o.index>=0?e=o.index+i:e=i<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}prop(e){return this._tree.prop(e)}enter(e,i,n=0){let r;if(!(n&ge.IgnoreOverlays)&&(r=rr.get(this._tree))&&r.overlay){let s=e-this.from,o=n&ge.EnterBracketed&&r.bracketed;for(let{from:l,to:a}of r.overlay)if((i>0||o?l<=s:l=s:a>s))return new rt(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,i,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function c0(t,e,i,n){let r=t.cursor(),s=[];if(!r.firstChild())return s;if(i!=null){for(let o=!1;!o;)if(o=r.type.is(i),!r.nextSibling())return s}for(;;){if(n!=null&&r.type.is(n))return s;if(r.type.is(e)&&s.push(r.node),!r.nextSibling())return n==null?s:[]}}function nc(t,e,i=e.length-1){for(let n=t;i>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[i]&&e[i]!=n.name)return!1;i--}}return!0}class l${constructor(e,i,n,r){this.parent=e,this.buffer=i,this.index=n,this.start=r}}class ki extends xg{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,i,n){super(),this.context=e,this._parent=i,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,i,n){let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],e,i-this.context.start,n);return s<0?null:new ki(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}prop(e){return this.type.prop(e)}enter(e,i,n=0){if(n&ge.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],i>0?1:-1,e-this.context.start,i);return s<0?null:new ki(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,i=e.buffer[this.index+3];return i<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new ki(this.context,this._parent,i):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,i=this._parent?this._parent.index+4:0;return this.index==i?this.externalSibling(-1):new ki(this.context,this._parent,e.findChild(i,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],i=[],{buffer:n}=this.context,r=this.index+4,s=n.buffer[this.index+3];if(s>r){let o=n.buffer[this.index+1];e.push(n.slice(r,s,o)),i.push(0)}return new se(this.type,e,i,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function kg(t){if(!t.length)return null;let e=0,i=t[0];for(let s=1;si.from||o.to=e){let l=new rt(o.tree,o.overlay[0].from+s.from,-1,s);(r||(r=[n])).push(Ds(l,e,i,!1))}}return r?kg(r):n}class Cl{get name(){return this.type.name}constructor(e,i=0){if(this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,this.mode=i&~ge.EnterBracketed,e instanceof rt)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,i){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=i||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return e?e instanceof rt?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,i,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,i,n,this.mode));let{buffer:r}=this.buffer,s=r.findChild(this.index+4,r.buffer[this.index+3],e,i-this.buffer.start,n);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,i,n=this.mode){return this.buffer?n&ge.ExcludeBuffers?!1:this.enterChild(1,e,i):this.yield(this._tree.enter(e,i,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&ge.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&ge.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:i}=this.buffer,n=this.stack.length-1;if(e<0){let r=n<0?0:this.stack[n]+4;if(this.index!=r)return this.yieldBuf(i.findChild(r,this.index,-1,0,4))}else{let r=i.buffer[this.index+3];if(r<(n<0?i.buffer.length:i.buffer[this.stack[n]+3]))return this.yieldBuf(r)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let i,n,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let s=i+e,o=e<0?-1:n._tree.children.length;s!=o;s+=e){let l=n._tree.children[s];if(this.mode&ge.IncludeAnonymous||l instanceof cn||!l.type.isAnonymous||Kc(l))return!1}return!0}move(e,i){if(i&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,i=0){for(;(this.from==this.to||(i<1?this.from>=e:this.from>e)||(i>-1?this.to<=e:this.to=0;){for(let o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;i=o,n=s+1;break e}r=this.stack[--s]}for(let r=n;r=0;s--){if(s<0)return nc(this._tree,e,r);let o=n[i.buffer[this.stack[s]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}function Kc(t){return t.children.some(e=>e instanceof cn||!e.type.isAnonymous||Kc(e))}function c$(t){var e;let{buffer:i,nodeSet:n,maxBufferLength:r=vg,reused:s=[],minRepeatType:o=n.types.length}=t,l=Array.isArray(i)?new Hc(i,i.length):i,a=n.types,u=0,c=0;function h(v,Q,P,_,R,L){let{id:I,start:T,end:M,size:F}=l,B=c,Y=u;if(F<0)if(l.next(),F==-1){let ye=s[I];P.push(ye),_.push(T-v);return}else if(F==-3){u=I;return}else if(F==-4){c=I;return}else throw new RangeError(`Unrecognized record size: ${F}`);let J=a[I],ee,re,ue=T-v;if(M-T<=r&&(re=O(l.pos-Q,R))){let ye=new Uint16Array(re.size-re.skip),Oe=l.pos-re.size,le=ye.length;for(;l.pos>Oe;)le=g(re.start,ye,le);ee=new cn(ye,M-re.start,n),ue=re.start-v}else{let ye=l.pos-F;l.next();let Oe=[],le=[],Se=I>=o?I:-1,et=0,Pi=M;for(;l.pos>ye;)Se>=0&&l.id==Se&&l.size>=0?(l.end<=Pi-r&&(p(Oe,le,T,et,l.end,Pi,Se,B,Y),et=Oe.length,Pi=l.end),l.next()):L>2500?f(T,ye,Oe,le):h(T,ye,Oe,le,Se,L+1);if(Se>=0&&et>0&&et-1&&et>0){let dn=d(J,Y);ee=Jc(J,Oe,le,0,Oe.length,0,M-T,dn,dn)}else ee=m(J,Oe,le,M-T,B-M,Y)}P.push(ee),_.push(ue)}function f(v,Q,P,_){let R=[],L=0,I=-1;for(;l.pos>Q;){let{id:T,start:M,end:F,size:B}=l;if(B>4)l.next();else{if(I>-1&&M=0;F-=3)T[B++]=R[F],T[B++]=R[F+1]-M,T[B++]=R[F+2]-M,T[B++]=B;P.push(new cn(T,R[2]-M,n)),_.push(M-v)}}function d(v,Q){return(P,_,R)=>{let L=0,I=P.length-1,T,M;if(I>=0&&(T=P[I])instanceof se){if(!I&&T.type==v&&T.length==R)return T;(M=T.prop(K.lookAhead))&&(L=_[I]+T.length+M)}return m(v,P,_,R,L,Q)}}function p(v,Q,P,_,R,L,I,T,M){let F=[],B=[];for(;v.length>_;)F.push(v.pop()),B.push(Q.pop()+P-R);v.push(m(n.types[I],F,B,L-R,T-L,M)),Q.push(R-P)}function m(v,Q,P,_,R,L,I){if(L){let T=[K.contextHash,L];I=I?[T].concat(I):[T]}if(R>25){let T=[K.lookAhead,R];I=I?[T].concat(I):[T]}return new se(v,Q,P,_,I)}function O(v,Q){let P=l.fork(),_=0,R=0,L=0,I=P.end-r,T={size:0,start:0,skip:0};e:for(let M=P.pos-v;P.pos>M;){let F=P.size;if(P.id==Q&&F>=0){T.size=_,T.start=R,T.skip=L,L+=4,_+=4,P.next();continue}let B=P.pos-F;if(F<0||B=o?4:0,J=P.start;for(P.next();P.pos>B;){if(P.size<0)if(P.size==-3||P.size==-4)Y+=4;else break e;else P.id>=o&&(Y+=4);P.next()}R=J,_+=F,L+=Y}return(Q<0||_==v)&&(T.size=_,T.start=R,T.skip=L),T.size>4?T:void 0}function g(v,Q,P){let{id:_,start:R,end:L,size:I}=l;if(l.next(),I>=0&&_4){let M=l.pos-(I-4);for(;l.pos>M;)P=g(v,Q,P)}Q[--P]=T,Q[--P]=L-v,Q[--P]=R-v,Q[--P]=_}else I==-3?u=_:I==-4&&(c=_);return P}let b=[],y=[];for(;l.pos>0;)h(t.start||0,t.bufferStart||0,b,y,-1,0);let w=(e=t.length)!==null&&e!==void 0?e:b.length?y[0]+b[0].length:0;return new se(a[t.topID],b.reverse(),y.reverse(),w)}const h0=new WeakMap;function sl(t,e){if(!t.isAnonymous||e instanceof cn||e.type!=t)return 1;let i=h0.get(e);if(i==null){i=1;for(let n of e.children){if(n.type!=t||!(n instanceof se)){i=1;break}i+=sl(t,n)}h0.set(e,i)}return i}function Jc(t,e,i,n,r,s,o,l,a){let u=0;for(let p=n;p=c)break;Q+=P}if(y==w+1){if(Q>c){let P=p[w];d(P.children,P.positions,0,P.children.length,m[w]+b);continue}h.push(p[w])}else{let P=m[y-1]+p[y-1].length-v;h.push(Jc(t,p,m,w,y,v,P,null,a))}f.push(v+b-s)}}return d(e,i,n,r,0),(l||a)(h,f,o)}class Sg{constructor(){this.map=new WeakMap}setBuffer(e,i,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(i,n)}getBuffer(e,i){let n=this.map.get(e);return n&&n.get(i)}set(e,i){e instanceof ki?this.setBuffer(e.context.buffer,e.index,i):e instanceof rt&&this.map.set(e.tree,i)}get(e){return e instanceof ki?this.getBuffer(e.context.buffer,e.index):e instanceof rt?this.map.get(e.tree):void 0}cursorSet(e,i){e.buffer?this.setBuffer(e.buffer.buffer,e.index,i):this.map.set(e.tree,i)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class Li{constructor(e,i,n,r,s=!1,o=!1){this.from=e,this.to=i,this.tree=n,this.offset=r,this.open=(s?1:0)|(o?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,i=[],n=!1){let r=[new Li(0,e.length,e,0,!1,n)];for(let s of i)s.to>e.length&&r.push(s);return r}static applyChanges(e,i,n=128){if(!i.length)return e;let r=[],s=1,o=e.length?e[0]:null;for(let l=0,a=0,u=0;;l++){let c=l=n)for(;o&&o.from=f.from||h<=f.to||u){let d=Math.max(f.from,a)-u,p=Math.min(f.to,h)-u;f=d>=p?null:new Li(d,p,f.tree,f.offset+u,l>0,!!c)}if(f&&r.push(f),o.to>h)break;o=snew Ft(r.from,r.to)):[new Ft(0,0)]:[new Ft(0,e.length)],this.createParse(e,i||[],n)}parse(e,i,n){let r=this.startParse(e,i,n);for(;;){let s=r.advance();if(s)return s}}}class h${constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,i){return this.string.slice(e,i)}}function wg(t){return(e,i,n,r)=>new d$(e,t,i,n,r)}class f0{constructor(e,i,n,r,s,o){this.parser=e,this.parse=i,this.overlay=n,this.bracketed=r,this.target=s,this.from=o}}function d0(t){if(!t.length||t.some(e=>e.from>=e.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(t))}class f${constructor(e,i,n,r,s,o,l,a){this.parser=e,this.predicate=i,this.mounts=n,this.index=r,this.start=s,this.bracketed=o,this.target=l,this.prev=a,this.depth=0,this.ranges=[]}}const rc=new K({perNode:!0});class d${constructor(e,i,n,r,s){this.nest=i,this.input=n,this.fragments=r,this.ranges=s,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let n=this.baseParse.advance();if(!n)return null;if(this.baseParse=null,this.baseTree=n,this.startInner(),this.stoppedAt!=null)for(let r of this.inner)r.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return this.stoppedAt!=null&&(n=new se(n.type,n.children,n.positions,n.length,n.propValues.concat([[rc,this.stoppedAt]]))),n}let e=this.inner[this.innerDone],i=e.parse.advance();if(i){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[K.mounted.id]=new rr(i,e.overlay,e.parser,e.bracketed),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let i=this.innerDone;i=this.stoppedAt)l=!1;else if(e.hasNode(r)){if(i){let u=i.mounts.find(c=>c.frag.from<=r.from&&c.frag.to>=r.to&&c.mount.overlay);if(u)for(let c of u.mount.overlay){let h=c.from+u.pos,f=c.to+u.pos;h>=r.from&&f<=r.to&&!i.ranges.some(d=>d.fromh)&&i.ranges.push({from:h,to:f})}}l=!1}else if(n&&(o=p$(n.ranges,r.from,r.to)))l=o!=2;else if(!r.type.isAnonymous&&(s=this.nest(r,this.input))&&(r.fromnew Ft(h.from-r.from,h.to-r.from)):null,!!s.bracketed,r.tree,c.length?c[0].from:r.from)),s.overlay?c.length&&(n={ranges:c,depth:0,prev:n}):l=!1}}else if(i&&(a=i.predicate(r))&&(a===!0&&(a=new Ft(r.from,r.to)),a.from=0&&i.ranges[u].to==a.from?i.ranges[u]={from:i.ranges[u].from,to:a.to}:i.ranges.push(a)}if(l&&r.firstChild())i&&i.depth++,n&&n.depth++;else for(;!r.nextSibling();){if(!r.parent())break e;if(i&&!--i.depth){let u=O0(this.ranges,i.ranges);u.length&&(d0(u),this.inner.splice(i.index,0,new f0(i.parser,i.parser.startParse(this.input,g0(i.mounts,u),u),i.ranges.map(c=>new Ft(c.from-i.start,c.to-i.start)),i.bracketed,i.target,u[0].from))),i=i.prev}n&&!--n.depth&&(n=n.prev)}}}}function p$(t,e,i){for(let n of t){if(n.from>=i)break;if(n.to>e)return n.from<=e&&n.to>=i?2:1}return 0}function p0(t,e,i,n,r,s){if(e=e&&i.enter(n,1,ge.IgnoreOverlays|ge.ExcludeBuffers)))if(i.to<=e)i.next(!1)||(this.done=!0);else break}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let i=this.cursor.tree;;){if(i==e.tree)return!0;if(i.children.length&&i.positions[0]==0&&i.children[0]instanceof se)i=i.children[0];else break}return!1}}let O$=class{constructor(e){var i;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=(i=n.tree.prop(rc))!==null&&i!==void 0?i:n.to,this.inner=new m0(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let i=this.curFrag=this.fragments[this.fragI];this.curTo=(e=i.tree.prop(rc))!==null&&e!==void 0?e:i.to,this.inner=new m0(i.tree,-i.offset)}}findMounts(e,i){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let s=this.inner.cursor.node;s;s=s.parent){let o=(n=s.tree)===null||n===void 0?void 0:n.prop(K.mounted);if(o&&o.parser==i)for(let l=this.fragI;l=s.to)break;a.tree==this.curFrag.tree&&r.push({frag:a,pos:s.from-a.offset,mount:o})}}}return r}};function O0(t,e){let i=null,n=e;for(let r=1,s=0;r=l)break;a.to<=o||(i||(n=i=e.slice()),a.froml&&i.splice(s+1,0,new Ft(l,a.to))):a.to>l?i[s--]=new Ft(l,a.to):i.splice(s--,1))}}return n}function g$(t,e,i,n){let r=0,s=0,o=!1,l=!1,a=-1e9,u=[];for(;;){let c=r==t.length?1e9:o?t[r].to:t[r].from,h=s==e.length?1e9:l?e[s].to:e[s].from;if(o!=l){let f=Math.max(a,i),d=Math.min(c,h,n);fnew Ft(f.from+n,f.to+n)),h=g$(e,c,a,u);for(let f=0,d=a;;f++){let p=f==h.length,m=p?u:h[f].from;if(m>d&&i.push(new Li(d,m,r.tree,-o,s.from>=d||s.openStart,s.to<=m||s.openEnd)),p)break;d=h[f].to}}else i.push(new Li(a,u,r.tree,-o,s.from>=o||s.openStart,s.to<=l||s.openEnd))}return i}let b$=0;class Et{constructor(e,i,n,r){this.name=e,this.set=i,this.base=n,this.modified=r,this.id=b$++}toString(){let{name:e}=this;for(let i of this.modified)i.name&&(e=`${i.name}(${e})`);return e}static define(e,i){let n=typeof e=="string"?e:"?";if(e instanceof Et&&(i=e),i!=null&&i.base)throw new Error("Can not derive from a modified tag");let r=new Et(n,[],null,[]);if(r.set.push(r),i)for(let s of i.set)r.set.push(s);return r}static defineModifier(e){let i=new Tl(e);return n=>n.modified.indexOf(i)>-1?n:Tl.get(n.base||n,n.modified.concat(i).sort((r,s)=>r.id-s.id))}}let v$=0;class Tl{constructor(e){this.name=e,this.instances=[],this.id=v$++}static get(e,i){if(!i.length)return e;let n=i[0].instances.find(l=>l.base==e&&y$(i,l.modified));if(n)return n;let r=[],s=new Et(e.name,r,e,i);for(let l of i)l.instances.push(s);let o=x$(i);for(let l of e.set)if(!l.modified.length)for(let a of o)r.push(Tl.get(l,a));return s}}function y$(t,e){return t.length==e.length&&t.every((i,n)=>i==e[n])}function x$(t){let e=[[]];for(let i=0;in.length-i.length)}function Dr(t){let e=Object.create(null);for(let i in t){let n=t[i];Array.isArray(n)||(n=[n]);for(let r of i.split(" "))if(r){let s=[],o=2,l=r;for(let h=0;;){if(l=="..."&&h>0&&h+3==r.length){o=1;break}let f=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(l);if(!f)throw new RangeError("Invalid path: "+r);if(s.push(f[0]=="*"?"":f[0][0]=='"'?JSON.parse(f[0]):f[0]),h+=f[0].length,h==r.length)break;let d=r[h++];if(h==r.length&&d=="!"){o=0;break}if(d!="/")throw new RangeError("Invalid path: "+r);l=r.slice(h)}let a=s.length-1,u=s[a];if(!u)throw new RangeError("Invalid path: "+r);let c=new Ls(n,o,a>0?s.slice(0,a):null);e[u]=c.sort(e[u])}}return $g.add(e)}const $g=new K({combine(t,e){let i,n,r;for(;t||e;){if(!t||e&&t.depth>=e.depth?(r=e,e=e.next):(r=t,t=t.next),i&&i.mode==r.mode&&!r.context&&!i.context)continue;let s=new Ls(r.tags,r.mode,r.context);i?i.next=s:n=s,i=s}return n}});class Ls{constructor(e,i,n,r){this.tags=e,this.mode=i,this.context=n,this.next=r}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let o=r;for(let l of s)for(let a of l.set){let u=i[a.id];if(u){o=o?o+" "+u:u;break}}return o},scope:n}}function k$(t,e){let i=null;for(let n of t){let r=n.style(e);r&&(i=i?i+" "+r:r)}return i}function S$(t,e,i,n=0,r=t.length){let s=new w$(n,Array.isArray(e)?e:[e],i);s.highlightRange(t.cursor(),n,r,"",s.highlighters),s.flush(r)}class w${constructor(e,i,n){this.at=e,this.highlighters=i,this.span=n,this.class=""}startSpan(e,i){i!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=i)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,i,n,r,s){let{type:o,from:l,to:a}=e;if(l>=n||a<=i)return;o.isTop&&(s=this.highlighters.filter(d=>!d.scope||d.scope(o)));let u=r,c=$$(e)||Ls.empty,h=k$(s,c.tags);if(h&&(u&&(u+=" "),u+=h,c.mode==1&&(r+=(r?" ":"")+h)),this.startSpan(Math.max(i,l),u),c.opaque)return;let f=e.tree&&e.tree.prop(K.mounted);if(f&&f.overlay){let d=e.node.enter(f.overlay[0].from+l,1),p=this.highlighters.filter(O=>!O.scope||O.scope(f.tree.type)),m=e.firstChild();for(let O=0,g=l;;O++){let b=O=y||!e.nextSibling())););if(!b||y>n)break;g=b.to+l,g>i&&(this.highlightRange(d.cursor(),Math.max(i,b.from+l),Math.min(n,g),"",p),this.startSpan(Math.min(n,g),u))}m&&e.parent()}else if(e.firstChild()){f&&(r="");do if(!(e.to<=i)){if(e.from>=n)break;this.highlightRange(e,i,n,r,s),this.startSpan(Math.min(n,e.to),u)}while(e.nextSibling());e.parent()}}}function $$(t){let e=t.type.prop($g);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}const V=Et.define,Lo=V(),Gi=V(),b0=V(Gi),v0=V(Gi),Ui=V(),Mo=V(Ui),za=V(Ui),mi=V(),On=V(mi),di=V(),pi=V(),sc=V(),Br=V(sc),Zo=V(),k={comment:Lo,lineComment:V(Lo),blockComment:V(Lo),docComment:V(Lo),name:Gi,variableName:V(Gi),typeName:b0,tagName:V(b0),propertyName:v0,attributeName:V(v0),className:V(Gi),labelName:V(Gi),namespace:V(Gi),macroName:V(Gi),literal:Ui,string:Mo,docString:V(Mo),character:V(Mo),attributeValue:V(Mo),number:za,integer:V(za),float:V(za),bool:V(Ui),regexp:V(Ui),escape:V(Ui),color:V(Ui),url:V(Ui),keyword:di,self:V(di),null:V(di),atom:V(di),unit:V(di),modifier:V(di),operatorKeyword:V(di),controlKeyword:V(di),definitionKeyword:V(di),moduleKeyword:V(di),operator:pi,derefOperator:V(pi),arithmeticOperator:V(pi),logicOperator:V(pi),bitwiseOperator:V(pi),compareOperator:V(pi),updateOperator:V(pi),definitionOperator:V(pi),typeOperator:V(pi),controlOperator:V(pi),punctuation:sc,separator:V(sc),bracket:Br,angleBracket:V(Br),squareBracket:V(Br),paren:V(Br),brace:V(Br),content:mi,heading:On,heading1:V(On),heading2:V(On),heading3:V(On),heading4:V(On),heading5:V(On),heading6:V(On),contentSeparator:V(mi),list:V(mi),quote:V(mi),emphasis:V(mi),strong:V(mi),link:V(mi),monospace:V(mi),strikethrough:V(mi),inserted:V(),deleted:V(),changed:V(),invalid:V(),meta:Zo,documentMeta:V(Zo),annotation:V(Zo),processingInstruction:V(Zo),definition:Et.defineModifier("definition"),constant:Et.defineModifier("constant"),function:Et.defineModifier("function"),standard:Et.defineModifier("standard"),local:Et.defineModifier("local"),special:Et.defineModifier("special")};for(let t in k){let e=k[t];e instanceof Et&&(e.name=t)}Qg([{tag:k.link,class:"tok-link"},{tag:k.heading,class:"tok-heading"},{tag:k.emphasis,class:"tok-emphasis"},{tag:k.strong,class:"tok-strong"},{tag:k.keyword,class:"tok-keyword"},{tag:k.atom,class:"tok-atom"},{tag:k.bool,class:"tok-bool"},{tag:k.url,class:"tok-url"},{tag:k.labelName,class:"tok-labelName"},{tag:k.inserted,class:"tok-inserted"},{tag:k.deleted,class:"tok-deleted"},{tag:k.literal,class:"tok-literal"},{tag:k.string,class:"tok-string"},{tag:k.number,class:"tok-number"},{tag:[k.regexp,k.escape,k.special(k.string)],class:"tok-string2"},{tag:k.variableName,class:"tok-variableName"},{tag:k.local(k.variableName),class:"tok-variableName tok-local"},{tag:k.definition(k.variableName),class:"tok-variableName tok-definition"},{tag:k.special(k.variableName),class:"tok-variableName2"},{tag:k.definition(k.propertyName),class:"tok-propertyName tok-definition"},{tag:k.typeName,class:"tok-typeName"},{tag:k.namespace,class:"tok-namespace"},{tag:k.className,class:"tok-className"},{tag:k.macroName,class:"tok-macroName"},{tag:k.propertyName,class:"tok-propertyName"},{tag:k.operator,class:"tok-operator"},{tag:k.comment,class:"tok-comment"},{tag:k.meta,class:"tok-meta"},{tag:k.invalid,class:"tok-invalid"},{tag:k.punctuation,class:"tok-punctuation"}]);var ja;const nn=new K;function ca(t){return G.define({combine:t?e=>e.concat(t):void 0})}const eh=new K;class Dt{constructor(e,i,n=[],r=""){this.data=e,this.name=r,fe.prototype.hasOwnProperty("tree")||Object.defineProperty(fe.prototype,"tree",{get(){return Re(this)}}),this.parser=i,this.extension=[$r.of(this),fe.languageData.of((s,o,l)=>{let a=y0(s,o,l),u=a.type.prop(nn);if(!u)return[];let c=s.facet(u),h=a.type.prop(eh);if(h){let f=a.resolve(o-a.from,l);for(let d of h)if(d.test(f,s)){let p=s.facet(d.facet);return d.type=="replace"?p:p.concat(c)}}return c})].concat(n)}isActiveAt(e,i,n=-1){return y0(e,i,n).type.prop(nn)==this.data}findRegions(e){let i=e.facet($r);if((i==null?void 0:i.data)==this.data)return[{from:0,to:e.doc.length}];if(!i||!i.allowsNesting)return[];let n=[],r=(s,o)=>{if(s.prop(nn)==this.data){n.push({from:o,to:o+s.length});return}let l=s.prop(K.mounted);if(l){if(l.tree.prop(nn)==this.data){if(l.overlay)for(let a of l.overlay)n.push({from:a.from+o,to:a.to+o});else n.push({from:o,to:o+s.length});return}else if(l.overlay){let a=n.length;if(r(l.tree,l.overlay[0].from+o),n.length>a)return}}for(let a=0;an.isTop?i:void 0)]}),e.name)}configure(e,i){return new Sr(this.data,this.parser.configure(e),i||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Re(t){let e=t.field(Dt.state,!1);return e?e.tree:se.empty}class Q${constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,i){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,i):this.string.slice(e-n,i-n)}}let Vr=null;class Dn{constructor(e,i,n=[],r,s,o,l,a){this.parser=e,this.state=i,this.fragments=n,this.tree=r,this.treeLen=s,this.viewport=o,this.skipped=l,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,i,n){return new Dn(e,i,[],se.empty,0,n,[],null)}startParse(){return this.parser.startParse(new Q$(this.state.doc),this.fragments)}work(e,i){return i!=null&&i>=this.state.doc.length&&(i=void 0),this.tree!=se.empty&&this.isDone(i??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let r=Date.now()+e;e=()=>Date.now()>r}for(this.parse||(this.parse=this.startParse()),i!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>i)&&i=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(i=this.parse.advance()););}),this.treeLen=e,this.tree=i,this.fragments=this.withoutTempSkipped(Li.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let i=Vr;Vr=this;try{return e()}finally{Vr=i}}withoutTempSkipped(e){for(let i;i=this.tempSkipped.pop();)e=x0(e,i.from,i.to);return e}changes(e,i){let{fragments:n,tree:r,treeLen:s,viewport:o,skipped:l}=this;if(this.takeTree(),!e.empty){let a=[];if(e.iterChangedRanges((u,c,h,f)=>a.push({fromA:u,toA:c,fromB:h,toB:f})),n=Li.applyChanges(n,a),r=se.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){l=[];for(let u of this.skipped){let c=e.mapPos(u.from,1),h=e.mapPos(u.to,-1);ce.from&&(this.fragments=x0(this.fragments,r,s),this.skipped.splice(n--,1))}return this.skipped.length>=i?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,i){this.skipped.push({from:e,to:i})}static getSkippingParser(e){return new class extends ua{createParse(i,n,r){let s=r[0].from,o=r[r.length-1].to;return{parsedPos:s,advance(){let a=Vr;if(a){for(let u of r)a.tempSkipped.push(u);e&&(a.scheduleOn=a.scheduleOn?Promise.all([a.scheduleOn,e]):e)}return this.parsedPos=o,new se(ze.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let i=this.fragments;return this.treeLen>=e&&i.length&&i[0].from==0&&i[0].to>=e}static get(){return Vr}}function x0(t,e,i){return Li.applyChanges(t,[{fromA:e,toA:i,fromB:e,toB:i}])}class wr{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let i=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),i.viewport.to);return i.work(20,n)||i.takeTree(),new wr(i)}static init(e){let i=Math.min(3e3,e.doc.length),n=Dn.create(e.facet($r).parser,e,{from:0,to:i});return n.work(20,i)||n.takeTree(),new wr(n)}}Dt.state=Yt.define({create:wr.init,update(t,e){for(let i of e.effects)if(i.is(Dt.setState))return i.value;return e.startState.facet($r)!=e.state.facet($r)?wr.init(e.state):t.apply(e)}});let _g=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(_g=t=>{let e=-1,i=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(i):cancelIdleCallback(e)});const Fa=typeof navigator<"u"&&(!((ja=navigator.scheduling)===null||ja===void 0)&&ja.isInputPending)?()=>navigator.scheduling.isInputPending():null,_$=Mt.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let i=this.view.state.field(Dt.state).context;(i.updateViewport(e.view.viewport)||this.view.viewport.to>i.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(i)}scheduleWork(){if(this.working)return;let{state:e}=this.view,i=e.field(Dt.state);(i.tree!=i.context.tree||!i.context.isDone(e.doc.length))&&(this.working=_g(this.work))}work(e){this.working=null;let i=Date.now();if(this.chunkEndr+1e3,a=s.context.work(()=>Fa&&Fa()||Date.now()>o,r+(l?0:1e5));this.chunkBudget-=Date.now()-i,(a||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:Dt.setState.of(new wr(s.context))})),this.chunkBudget>0&&!(a&&!l)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(i=>Rt(this.view.state,i)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),$r=G.define({combine(t){return t.length?t[0]:null},enables:t=>[Dt.state,_$,W.contentAttributes.compute([t],e=>{let i=e.facet(t);return i&&i.name?{"data-language":i.name}:{}})]});class Qr{constructor(e,i=[]){this.language=e,this.support=i,this.extension=[e,i]}}class C{constructor(e,i,n,r,s,o=void 0){this.name=e,this.alias=i,this.extensions=n,this.filename=r,this.loadFunc=s,this.support=o,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:i,support:n}=e;if(!i){if(!n)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");i=()=>Promise.resolve(n)}return new C(e.name,(e.alias||[]).concat(e.name).map(r=>r.toLowerCase()),e.extensions||[],e.filename,i,n)}static matchFilename(e,i){for(let r of e)if(r.filename&&r.filename.test(i))return r;let n=/\.([^.]+)$/.exec(i);if(n){for(let r of e)if(r.extensions.indexOf(n[1])>-1)return r}return null}static matchLanguageName(e,i,n=!0){i=i.toLowerCase();for(let r of e)if(r.alias.some(s=>s==i))return r;if(n)for(let r of e)for(let s of r.alias){let o=i.indexOf(s);if(o>-1&&(s.length>2||!/\w/.test(i[o-1])&&!/\w/.test(i[o+s.length])))return r}return null}}const P$=G.define(),Lr=G.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(i=>i!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function Ln(t){let e=t.facet(Lr);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function Al(t,e){let i="",n=t.tabSize,r=t.facet(Lr)[0];if(r==" "){for(;e>=n;)i+=" ",e-=n;r=" "}for(let s=0;s=e?C$(t,i,e):null}class ha{constructor(e,i={}){this.state=e,this.options=i,this.unit=Ln(e)}lineAt(e,i=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:s}=this.options;return r!=null&&r>=n.from&&r<=n.to?s&&r==e?{text:"",from:e}:(i<0?r-1&&(s+=o-this.countColumn(n,n.search(/\S|$/))),s}countColumn(e,i=e.length){return Mi(e,this.state.tabSize,i)}lineIndent(e,i=1){let{text:n,from:r}=this.lineAt(e,i),s=this.options.overrideIndentation;if(s){let o=s(r);if(o>-1)return o}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Mr=new K;function C$(t,e,i){let n=e.resolveStack(i),r=e.resolveInner(i,-1).resolve(i,0).enterUnfinishedNodesBefore(i);if(r!=n.node){let s=[];for(let o=r;o&&!(o.fromn.node.to||o.from==n.node.from&&o.type==n.node.type);o=o.parent)s.push(o);for(let o=s.length-1;o>=0;o--)n={node:s[o],next:n}}return Cg(n,t,i)}function Cg(t,e,i){for(let n=t;n;n=n.next){let r=A$(n.node);if(r)return r(th.create(e,i,n))}return 0}function T$(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function A$(t){let e=t.type.prop(Mr);if(e)return e;let i=t.firstChild,n;if(i&&(n=i.type.prop(K.closedBy))){let r=t.lastChild,s=r&&n.indexOf(r.name)>-1;return o=>Tg(o,!0,1,void 0,s&&!T$(o)?r.from:void 0)}return t.parent==null?E$:null}function E$(){return 0}class th extends ha{constructor(e,i,n){super(e.state,e.options),this.base=e,this.pos=i,this.context=n}get node(){return this.context.node}static create(e,i,n){return new th(e,i,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let i=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(i.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(R$(n,e))break;i=this.state.doc.lineAt(n.from)}return this.lineIndent(i.from)}continue(){return Cg(this.context.next,this.base,this.pos)}}function R$(t,e){for(let i=e;i;i=i.parent)if(t==i)return!0;return!1}function D$(t){let e=t.node,i=e.childAfter(e.from),n=e.lastChild;if(!i)return null;let r=t.options.simulateBreak,s=t.state.doc.lineAt(i.from),o=r==null||r<=s.from?s.to:Math.min(s.to,r);for(let l=i.to;;){let a=e.childAfter(l);if(!a||a==n)return null;if(!a.type.isSkipped){if(a.from>=o)return null;let u=/^ */.exec(s.text.slice(i.to-s.from))[0].length;return{from:i.from,to:i.to+u}}l=a.to}}function L$({closing:t,align:e=!0,units:i=1}){return n=>Tg(n,e,i,t)}function Tg(t,e,i,n,r){let s=t.textAfter,o=s.match(/^\s*/)[0].length,l=n&&s.slice(o,o+n.length)==n||r==t.pos+o,a=e?D$(t):null;return a?l?t.column(a.from):t.column(a.to):t.baseIndent+(l?0:t.unit*i)}const M$=t=>t.baseIndent;function ol({except:t,units:e=1}={}){return i=>{let n=t&&t.test(i.textAfter);return i.baseIndent+(n?0:e*i.unit)}}const Z$=G.define(),no=new K;function Ag(t){let e=t.firstChild,i=t.lastChild;return e&&e.tol.prop(nn)==o.data:o?l=>l==o:void 0,this.style=Qg(e.map(l=>({tag:l.tag,class:l.class||r(Object.assign({},l,{tag:null}))})),{all:s}).style,this.module=n?new ln(n):null,this.themeType=i.themeType}static define(e,i){return new ro(e,i||{})}}const oc=G.define(),I$=G.define({combine(t){return t.length?[t[0]]:null}});function Ba(t){let e=t.facet(oc);return e.length?e:t.facet(I$)}function Eg(t,e){let i=[z$],n;return t instanceof ro&&(t.module&&i.push(W.styleModule.of(t.module)),n=t.themeType),n?i.push(oc.computeN([W.darkTheme],r=>r.facet(W.darkTheme)==(n=="dark")?[t]:[])):i.push(oc.of(t)),i}class X${constructor(e){this.markCache=Object.create(null),this.tree=Re(e.state),this.decorations=this.buildDeco(e,Ba(e.state)),this.decoratedTo=e.viewport.to}update(e){let i=Re(e.state),n=Ba(e.state),r=n!=Ba(e.startState),{viewport:s}=e.view,o=e.changes.mapPos(this.decoratedTo,1);i.length=s.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=o):(i!=this.tree||e.viewportChanged||r)&&(this.tree=i,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=s.to)}buildDeco(e,i){if(!i||!this.tree.length)return ve.none;let n=new gr;for(let{from:r,to:s}of e.visibleRanges)S$(this.tree,i,(o,l,a)=>{n.add(o,l,this.markCache[a]||(this.markCache[a]=ve.mark({class:a})))},r,s);return n.finish()}}const z$=Ii.high(Mt.fromClass(X$,{decorations:t=>t.decorations})),j$=1e4,F$="()[]{}",Rg=new K;function lc(t,e,i){let n=t.prop(e<0?K.openedBy:K.closedBy);if(n)return n;if(t.name.length==1){let r=i.indexOf(t.name);if(r>-1&&r%2==(e<0?1:0))return[i[r+e]]}return null}function ac(t){let e=t.type.prop(Rg);return e?e(t.node):t}function Un(t,e,i,n={}){let r=n.maxScanDistance||j$,s=n.brackets||F$,o=Re(t),l=o.resolveInner(e,i);for(let a=l;a;a=a.parent){let u=lc(a.type,i,s);if(u&&a.from0?e>=c.from&&ec.from&&e<=c.to))return B$(t,e,i,a,c,u,s)}}return V$(t,e,i,o,l.type,r,s)}function B$(t,e,i,n,r,s,o){let l=n.parent,a={from:r.from,to:r.to},u=0,c=l==null?void 0:l.cursor();if(c&&(i<0?c.childBefore(n.from):c.childAfter(n.to)))do if(i<0?c.to<=n.from:c.from>=n.to){if(u==0&&s.indexOf(c.type.name)>-1&&c.from0)return null;let u={from:i<0?e-1:e,to:i>0?e+1:e},c=t.doc.iterRange(e,i>0?t.doc.length:0),h=0;for(let f=0;!c.next().done&&f<=s;){let d=c.value;i<0&&(f+=d.length);let p=e+f*i;for(let m=i>0?0:d.length-1,O=i>0?d.length:-1;m!=O;m+=i){let g=o.indexOf(d[m]);if(!(g<0||n.resolveInner(p+m,1).type!=r))if(g%2==0==i>0)h++;else{if(h==1)return{start:u,end:{from:p+m,to:p+m+1},matched:g>>1==a>>1};h--}}i>0&&(f+=d.length)}return c.done?{start:u,matched:!1}:null}function k0(t,e,i,n=0,r=0){e==null&&(e=t.search(/[^\s\u00a0]/),e==-1&&(e=t.length));let s=r;for(let o=n;o=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.posi}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let i=this.string.indexOf(e,this.pos);if(i>-1)return this.pos=i,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPosn?o.toLowerCase():o,s=this.string.substr(this.pos,e.length);return r(s)==r(e)?(i!==!1&&(this.pos+=e.length),!0):null}else{let r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&i!==!1&&(this.pos+=r[0].length),r)}}current(){return this.string.slice(this.start,this.pos)}}function q$(t){return{name:t.name||"",token:t.token,blankLine:t.blankLine||(()=>{}),startState:t.startState||(()=>!0),copyState:t.copyState||W$,indent:t.indent||(()=>null),languageData:t.languageData||{},tokenTable:t.tokenTable||rh,mergeTokens:t.mergeTokens!==!1}}function W$(t){if(typeof t!="object")return t;let e={};for(let i in t){let n=t[i];e[i]=n instanceof Array?n.slice():n}return e}const S0=new WeakMap;class ih extends Dt{constructor(e){let i=ca(e.languageData),n=q$(e),r,s=new class extends ua{createParse(o,l,a){return new N$(r,o,l,a)}};super(i,s,[],e.name),this.topNode=H$(i,this),r=this,this.streamParser=n,this.stateAfter=new K({perNode:!0}),this.tokenTable=e.tokenTable?new Ig(n.tokenTable):U$}static define(e){return new ih(e)}getIndent(e){let i,{overrideIndentation:n}=e.options;n&&(i=S0.get(e.state),i!=null&&i1e4)return null;for(;s=n&&i+e.length<=r&&e.prop(t.stateAfter);if(s)return{state:t.streamParser.copyState(s),pos:i+e.length};for(let o=e.children.length-1;o>=0;o--){let l=e.children[o],a=i+e.positions[o],u=l instanceof se&&a=e.length)return e;!r&&i==0&&e.type==t.topNode&&(r=!0);for(let s=e.children.length-1;s>=0;s--){let o=e.positions[s],l=e.children[s],a;if(oi&&nh(t,s.tree,0-s.offset,i,l),u;if(a&&a.pos<=n&&(u=Lg(t,s.tree,i+s.offset,a.pos+s.offset,!1)))return{state:a.state,tree:u}}return{state:t.streamParser.startState(r?Ln(r):4),tree:se.empty}}let N$=class{constructor(e,i,n,r){this.lang=e,this.input=i,this.fragments=n,this.ranges=r,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=r[r.length-1].to;let s=Dn.get(),o=r[0].from,{state:l,tree:a}=Y$(e,n,o,this.to,s==null?void 0:s.state);this.state=l,this.parsedPos=this.chunkStart=o+a.length;for(let u=0;uu.from<=s.viewport.from&&u.to>=s.viewport.from)&&(this.state=this.lang.streamParser.startState(Ln(s.state)),s.skipUntilInView(this.parsedPos,s.viewport.from),this.parsedPos=s.viewport.from),this.moveRangeIndex()}advance(){let e=Dn.get(),i=this.stoppedAt==null?this.to:Math.min(this.to,this.stoppedAt),n=Math.min(i,this.chunkStart+512);for(e&&(n=Math.min(n,e.viewport.to));this.parsedPos=i?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,i),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let i=this.input.chunk(e);if(this.input.lineChunks)i==` `&&(i="");else{let n=i.indexOf(` `);n>-1&&(i=i.slice(0,n))}return e+i.length<=this.to?i:i.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,i=this.lineAfter(e),n=e+i.length;for(let r=this.rangeIndex;;){let s=this.ranges[r].to;if(s>=n||(i=i.slice(0,s-(n-i.length)),r++,r==this.ranges.length))break;let o=this.ranges[r].from,l=this.lineAfter(o);i+=l,n=o+l.length}return{line:i,end:n}}skipGapsTo(e,i,n){for(;;){let r=this.ranges[this.rangeIndex].to,s=e+i;if(n>0?r>s:r>=s)break;let o=this.ranges[++this.rangeIndex].from;i+=o-r}return i}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to1){r=this.skipGapsTo(i,r,1),i+=r;let l=this.chunk.length;r=this.skipGapsTo(n,r,-1),n+=r,s+=this.chunk.length-l}let o=this.chunk.length-4;return this.lang.streamParser.mergeTokens&&s==4&&o>=0&&this.chunk[o]==e&&this.chunk[o+2]==i?this.chunk[o+2]=n:this.chunk.push(e,i,n,s),r}parseLine(e){let{line:i,end:n}=this.nextLine(),r=0,{streamParser:s}=this.lang,o=new Dg(i,e?e.state.tabSize:4,e?Ln(e.state):2);if(o.eol())s.blankLine(this.state,o.indentUnit);else for(;!o.eol();){let l=Mg(s.token,o,this.state);if(l&&(r=this.emitToken(this.lang.tokenTable.resolve(l),this.parsedPos+o.start,this.parsedPos+o.pos,r)),o.start>1e4)break}this.parsedPos=n,this.moveRangeIndex(),this.parsedPose.start)return r}throw new Error("Stream parser failed to advance stream.")}const rh=Object.create(null),Ms=[ze.none],G$=new Rr(Ms),w0=[],$0=Object.create(null),Zg=Object.create(null);for(let[t,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])Zg[t]=Xg(rh,e);class Ig{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),Zg)}resolve(e){return e?this.table[e]||(this.table[e]=Xg(this.extra,e)):0}}const U$=new Ig(rh);function Va(t,e){w0.indexOf(t)>-1||(w0.push(t),console.warn(e))}function Xg(t,e){let i=[];for(let l of e.split(" ")){let a=[];for(let u of l.split(".")){let c=t[u]||k[u];c?typeof c=="function"?a.length?a=a.map(c):Va(u,`Modifier ${u} used at start of tag`):a.length?Va(u,`Tag ${u} used as modifier`):a=Array.isArray(c)?c:[c]:Va(u,`Unknown highlighting tag ${u}`)}for(let u of a)i.push(u)}if(!i.length)return 0;let n=e.replace(/ /g,"_"),r=n+" "+i.map(l=>l.id),s=$0[r];if(s)return s.id;let o=$0[r]=ze.define({id:Ms.length,name:n,props:[Dr({[n]:i})]});return Ms.push(o),o.id}function H$(t,e){let i=ze.define({id:Ms.length,name:"Document",props:[nn.add(()=>t),Mr.add(()=>n=>e.getIndent(n))],top:!0});return Ms.push(i),i}Ce.RTL,Ce.LTR;const K$=t=>{let{state:e}=t,i=e.doc.lineAt(e.selection.main.from),n=oh(t.state,i.from);return n.line?J$(t):n.block?tQ(t):!1};function sh(t,e){return({state:i,dispatch:n})=>{if(i.readOnly)return!1;let r=t(e,i);return r?(n(i.update(r)),!0):!1}}const J$=sh(rQ,0),eQ=sh(zg,0),tQ=sh((t,e)=>zg(t,e,nQ(e)),0);function oh(t,e){let i=t.languageDataAt("commentTokens",e,1);return i.length?i[0]:{}}const qr=50;function iQ(t,{open:e,close:i},n,r){let s=t.sliceDoc(n-qr,n),o=t.sliceDoc(r,r+qr),l=/\s*$/.exec(s)[0].length,a=/^\s*/.exec(o)[0].length,u=s.length-l;if(s.slice(u-e.length,u)==e&&o.slice(a,a+i.length)==i)return{open:{pos:n-l,margin:l&&1},close:{pos:r+a,margin:a&&1}};let c,h;r-n<=2*qr?c=h=t.sliceDoc(n,r):(c=t.sliceDoc(n,n+qr),h=t.sliceDoc(r-qr,r));let f=/^\s*/.exec(c)[0].length,d=/\s*$/.exec(h)[0].length,p=h.length-d-i.length;return c.slice(f,f+e.length)==e&&h.slice(p,p+i.length)==i?{open:{pos:n+f+e.length,margin:/\s/.test(c.charAt(f+e.length))?1:0},close:{pos:r-d-i.length,margin:/\s/.test(h.charAt(p-1))?1:0}}:null}function nQ(t){let e=[];for(let i of t.selection.ranges){let n=t.doc.lineAt(i.from),r=i.to<=n.to?n:t.doc.lineAt(i.to);r.from>n.from&&r.from==i.to&&(r=i.to==n.to+1?n:t.doc.lineAt(i.to-1));let s=e.length-1;s>=0&&e[s].to>n.from?e[s].to=r.to:e.push({from:n.from+/^\s*/.exec(n.text)[0].length,to:r.to})}return e}function zg(t,e,i=e.selection.ranges){let n=i.map(s=>oh(e,s.from).block);if(!n.every(s=>s))return null;let r=i.map((s,o)=>iQ(e,n[o],s.from,s.to));if(t!=2&&!r.every(s=>s))return{changes:e.changes(i.map((s,o)=>r[o]?[]:[{from:s.from,insert:n[o].open+" "},{from:s.to,insert:" "+n[o].close}]))};if(t!=1&&r.some(s=>s)){let s=[];for(let o=0,l;or&&(s==o||o>h.from)){r=h.from;let f=/^\s*/.exec(h.text)[0].length,d=f==h.length,p=h.text.slice(f,f+u.length)==u?f:-1;fs.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:l,token:a,indent:u,empty:c,single:h}of n)(h||!c)&&s.push({from:l.from+u,insert:a+" "});let o=e.changes(s);return{changes:o,selection:e.selection.map(o,1)}}else if(t!=1&&n.some(s=>s.comment>=0)){let s=[];for(let{line:o,comment:l,token:a}of n)if(l>=0){let u=o.from+l,c=u+a.length;o.text[c-o.from]==" "&&c++,s.push({from:u,to:c})}return{changes:s}}return null}const uc=Xi.define(),sQ=Xi.define(),oQ=G.define(),jg=G.define({combine(t){return na(t,{minDepth:100,newGroupDelay:500,joinToEvent:(e,i)=>i},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,i)=>(n,r)=>e(n,r)||i(n,r)})}}),Fg=Yt.define({create(){return Si.empty},update(t,e){let i=e.state.facet(jg),n=e.annotation(uc);if(n){let a=vt.fromTransaction(e,n.selection),u=n.side,c=u==0?t.undone:t.done;return a?c=Rl(c,c.length,i.minDepth,a):c=Vg(c,e.startState.selection),new Si(u==0?n.rest:c,u==0?c:n.rest)}let r=e.annotation(sQ);if((r=="full"||r=="before")&&(t=t.isolate()),e.annotation(Xe.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let s=vt.fromTransaction(e),o=e.annotation(Xe.time),l=e.annotation(Xe.userEvent);return s?t=t.addChanges(s,o,l,i,e):e.selection&&(t=t.addSelection(e.startState.selection,o,l,i.newGroupDelay)),(r=="full"||r=="after")&&(t=t.isolate()),t},toJSON(t){return{done:t.done.map(e=>e.toJSON()),undone:t.undone.map(e=>e.toJSON())}},fromJSON(t){return new Si(t.done.map(vt.fromJSON),t.undone.map(vt.fromJSON))}});function Q0(t={}){return[Fg,jg.of(t),W.domEventHandlers({beforeinput(e,i){let n=e.inputType=="historyUndo"?lh:e.inputType=="historyRedo"?El:null;return n?(e.preventDefault(),n(i)):!1}})]}function fa(t,e){return function({state:i,dispatch:n}){if(!e&&i.readOnly)return!1;let r=i.field(Fg,!1);if(!r)return!1;let s=r.pop(t,i,e);return s?(n(s),!0):!1}}const lh=fa(0,!1),El=fa(1,!1),lQ=fa(0,!0),aQ=fa(1,!0);class vt{constructor(e,i,n,r,s){this.changes=e,this.effects=i,this.mapped=n,this.startSelection=r,this.selectionsAfter=s}setSelAfter(e){return new vt(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,i,n;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(i=this.mapped)===null||i===void 0?void 0:i.toJSON(),startSelection:(n=this.startSelection)===null||n===void 0?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(r=>r.toJSON())}}static fromJSON(e){return new vt(e.changes&&Fe.fromJSON(e.changes),[],e.mapped&&$i.fromJSON(e.mapped),e.startSelection&&E.fromJSON(e.startSelection),e.selectionsAfter.map(E.fromJSON))}static fromTransaction(e,i){let n=Bt;for(let r of e.startState.facet(oQ)){let s=r(e);s.length&&(n=n.concat(s))}return!n.length&&e.changes.empty?null:new vt(e.changes.invert(e.startState.doc),n,void 0,i||e.startState.selection,Bt)}static selection(e){return new vt(void 0,Bt,void 0,void 0,e)}}function Rl(t,e,i,n){let r=e+1>i+20?e-i-1:0,s=t.slice(r,e);return s.push(n),s}function uQ(t,e){let i=[],n=!1;return t.iterChangedRanges((r,s)=>i.push(r,s)),e.iterChangedRanges((r,s,o,l)=>{for(let a=0;a=u&&o<=c&&(n=!0)}}),n}function cQ(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((i,n)=>i.empty!=e.ranges[n].empty).length===0}function Bg(t,e){return t.length?e.length?t.concat(e):t:e}const Bt=[],hQ=200;function Vg(t,e){if(t.length){let i=t[t.length-1],n=i.selectionsAfter.slice(Math.max(0,i.selectionsAfter.length-hQ));return n.length&&n[n.length-1].eq(e)?t:(n.push(e),Rl(t,t.length-1,1e9,i.setSelAfter(n)))}else return[vt.selection([e])]}function fQ(t){let e=t[t.length-1],i=t.slice();return i[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),i}function qa(t,e){if(!t.length)return t;let i=t.length,n=Bt;for(;i;){let r=dQ(t[i-1],e,n);if(r.changes&&!r.changes.empty||r.effects.length){let s=t.slice(0,i);return s[i-1]=r,s}else e=r.mapped,i--,n=r.selectionsAfter}return n.length?[vt.selection(n)]:Bt}function dQ(t,e,i){let n=Bg(t.selectionsAfter.length?t.selectionsAfter.map(l=>l.map(e)):Bt,i);if(!t.changes)return vt.selection(n);let r=t.changes.map(e),s=e.mapDesc(t.changes,!0),o=t.mapped?t.mapped.composeDesc(s):s;return new vt(r,ae.mapEffects(t.effects,e),o,t.startSelection.map(s),n)}const pQ=/^(input\.type|delete)($|\.)/;class Si{constructor(e,i,n=0,r=void 0){this.done=e,this.undone=i,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new Si(this.done,this.undone):this}addChanges(e,i,n,r,s){let o=this.done,l=o[o.length-1];return l&&l.changes&&!l.changes.empty&&e.changes&&(!n||pQ.test(n))&&(!l.selectionsAfter.length&&i-this.prevTime0&&i-this.prevTimei.empty?t.moveByChar(i,e):da(i,e))}function st(t){return t.textDirectionAt(t.state.selection.main.head)==Ce.LTR}const Wg=t=>qg(t,!st(t)),Yg=t=>qg(t,st(t));function Ng(t,e){return hi(t,i=>i.empty?t.moveByGroup(i,e):da(i,e))}const OQ=t=>Ng(t,!st(t)),gQ=t=>Ng(t,st(t));function bQ(t,e,i){if(e.type.prop(i))return!0;let n=e.to-e.from;return n&&(n>2||/[^\s,.;:]/.test(t.sliceDoc(e.from,e.to)))||e.firstChild}function pa(t,e,i){let n=Re(t).resolveInner(e.head),r=i?K.closedBy:K.openedBy;for(let a=e.head;;){let u=i?n.childAfter(a):n.childBefore(a);if(!u)break;bQ(t,u,r)?n=u:a=i?u.to:u.from}let s=n.type.prop(r),o,l;return s&&(o=i?Un(t,n.from,1):Un(t,n.to,-1))&&o.matched?l=i?o.end.to:o.end.from:l=i?n.to:n.from,E.cursor(l,i?-1:1)}const vQ=t=>hi(t,e=>pa(t.state,e,!st(t))),yQ=t=>hi(t,e=>pa(t.state,e,st(t)));function Gg(t,e){return hi(t,i=>{if(!i.empty)return da(i,e);let n=t.moveVertically(i,e);return n.head!=i.head?n:t.moveToLineBoundary(i,e)})}const Ug=t=>Gg(t,!1),Hg=t=>Gg(t,!0);function Kg(t){let e=t.scrollDOM.clientHeighto.empty?t.moveVertically(o,e,i.height):da(o,e));if(r.eq(n.selection))return!1;let s;if(i.selfScroll){let o=t.coordsAtPos(n.selection.main.head),l=t.scrollDOM.getBoundingClientRect(),a=l.top+i.marginTop,u=l.bottom-i.marginBottom;o&&o.top>a&&o.bottomJg(t,!1),cc=t=>Jg(t,!0);function fn(t,e,i){let n=t.lineBlockAt(e.head),r=t.moveToLineBoundary(e,i);if(r.head==e.head&&r.head!=(i?n.to:n.from)&&(r=t.moveToLineBoundary(e,i,!1)),!i&&r.head==n.from&&n.length){let s=/^\s*/.exec(t.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;s&&e.head!=n.from+s&&(r=E.cursor(n.from+s))}return r}const xQ=t=>hi(t,e=>fn(t,e,!0)),kQ=t=>hi(t,e=>fn(t,e,!1)),SQ=t=>hi(t,e=>fn(t,e,!st(t))),wQ=t=>hi(t,e=>fn(t,e,st(t))),$Q=t=>hi(t,e=>E.cursor(t.lineBlockAt(e.head).from,1)),QQ=t=>hi(t,e=>E.cursor(t.lineBlockAt(e.head).to,-1));function _Q(t,e,i){let n=!1,r=Zr(t.selection,s=>{let o=Un(t,s.head,-1)||Un(t,s.head,1)||s.head>0&&Un(t,s.head-1,1)||s.head_Q(t,e);function Nt(t,e,i){let n=Zr(t.state.selection,r=>{r.undirectional&&r.head>=r.anchor!=e&&(r=E.range(r.head,r.anchor));let s=i(r);return E.range(r.anchor,s.head,s.goalColumn,s.bidiLevel||void 0,s.assoc)});return n.eq(t.state.selection)?!1:(t.dispatch(ci(t.state,n)),!0)}function e1(t,e){return Nt(t,e,i=>t.moveByChar(i,e))}const t1=t=>e1(t,!st(t)),i1=t=>e1(t,st(t));function n1(t,e){return Nt(t,e,i=>t.moveByGroup(i,e))}const CQ=t=>n1(t,!st(t)),TQ=t=>n1(t,st(t)),AQ=t=>{let e=!st(t);return Nt(t,e,i=>pa(t.state,i,e))},EQ=t=>{let e=st(t);return Nt(t,e,i=>pa(t.state,i,e))};function r1(t,e){return Nt(t,e,i=>t.moveVertically(i,e))}const s1=t=>r1(t,!1),o1=t=>r1(t,!0);function l1(t,e){return Nt(t,e,i=>t.moveVertically(i,e,Kg(t).height))}const P0=t=>l1(t,!1),C0=t=>l1(t,!0),RQ=t=>Nt(t,!0,e=>fn(t,e,!0)),DQ=t=>Nt(t,!1,e=>fn(t,e,!1)),LQ=t=>{let e=!st(t);return Nt(t,e,i=>fn(t,i,e))},MQ=t=>{let e=st(t);return Nt(t,e,i=>fn(t,i,e))},ZQ=t=>Nt(t,!1,e=>E.cursor(t.lineBlockAt(e.head).from)),IQ=t=>Nt(t,!0,e=>E.cursor(t.lineBlockAt(e.head).to)),T0=({state:t,dispatch:e})=>(e(ci(t,{anchor:0})),!0),A0=({state:t,dispatch:e})=>(e(ci(t,{anchor:t.doc.length})),!0),E0=({state:t,dispatch:e})=>(e(ci(t,{anchor:t.selection.main.anchor,head:0})),!0),R0=({state:t,dispatch:e})=>(e(ci(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),XQ=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),zQ=({state:t,dispatch:e})=>{let i=ma(t).map(({from:n,to:r})=>E.range(n,Math.min(r+1,t.doc.length)));return e(t.update({selection:E.create(i),userEvent:"select"})),!0},jQ=({state:t,dispatch:e})=>{let i=Zr(t.selection,n=>{let r=Re(t),s=r.resolveStack(n.from,1);if(n.empty){let o=r.resolveStack(n.from,-1);o.node.from>=s.node.from&&o.node.to<=s.node.to&&(s=o)}for(let o=s;o;o=o.next){let{node:l}=o;if((l.from=n.to||l.to>n.to&&l.from<=n.from)&&o.next)return E.range(l.to,l.from)}return n});return i.eq(t.selection)?!1:(e(ci(t,i)),!0)};function a1(t,e){let{state:i}=t,n=i.selection,r=i.selection.ranges.slice();for(let s of i.selection.ranges){let o=i.doc.lineAt(s.head);if(e?o.to0)for(let l=s;;){let a=t.moveVertically(l,e);if(a.heado.to){r.some(u=>u.head==a.head)||r.push(a);break}else{if(a.head==l.head)break;l=a}}}return r.length==n.ranges.length?!1:(t.dispatch(ci(i,E.create(r,r.length-1))),!0)}const FQ=t=>a1(t,!1),BQ=t=>a1(t,!0),VQ=({state:t,dispatch:e})=>{let i=t.selection,n=null;return i.ranges.length>1?n=E.create([i.main]):i.main.empty||(n=E.create([E.cursor(i.main.head)])),n?(e(ci(t,n)),!0):!1};function so(t,e){if(t.state.readOnly)return!1;let i="delete.selection",{state:n}=t,r=n.changeByRange(s=>{let{from:o,to:l}=s;if(o==l){let a=e(s);ao&&(i="delete.forward",a=Io(t,a,!0)),o=Math.min(o,a),l=Math.max(l,a)}else o=Io(t,o,!1),l=Io(t,l,!0);return o==l?{range:s}:{changes:{from:o,to:l},range:E.cursor(o,or(t)))n.between(e,e,(r,s)=>{re&&(e=i?s:r)});return e}const u1=(t,e,i)=>so(t,n=>{let r=n.from,{state:s}=t,o=s.doc.lineAt(r),l,a;if(i&&!e&&r>o.from&&ru1(t,!1,!0),c1=t=>u1(t,!0,!1),h1=(t,e)=>so(t,i=>{let n=i.head,{state:r}=t,s=r.doc.lineAt(n),o=r.charCategorizer(n);for(let l=null;;){if(n==(e?s.to:s.from)){n==i.head&&s.number!=(e?r.doc.lines:1)&&(n+=e?1:-1);break}let a=Ge(s.text,n-s.from,e)+s.from,u=s.text.slice(Math.min(n,a)-s.from,Math.max(n,a)-s.from),c=o(u);if(l!=null&&c!=l)break;(u!=" "||n!=i.head)&&(l=c),n=a}return n}),f1=t=>h1(t,!1),qQ=t=>h1(t,!0),WQ=t=>so(t,e=>{let i=t.lineBlockAt(e.head).to;return e.headso(t,e=>{let i=t.moveToLineBoundary(e,!1).head;return e.head>i?i:Math.max(0,e.head-1)}),NQ=t=>so(t,e=>{let i=t.moveToLineBoundary(e,!0).head;return e.head{if(t.readOnly)return!1;let i=t.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:de.of(["",""])},range:E.cursor(n.from)}));return e(t.update(i,{scrollIntoView:!0,userEvent:"input"})),!0},UQ=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=t.changeByRange(n=>{if(!n.empty||n.from==0||n.from==t.doc.length)return{range:n};let r=n.from,s=t.doc.lineAt(r),o=r==s.from?r-1:Ge(s.text,r-s.from,!1)+s.from,l=r==s.to?r+1:Ge(s.text,r-s.from,!0)+s.from;return{changes:{from:o,to:l,insert:t.doc.slice(r,l).append(t.doc.slice(o,r))},range:E.cursor(l)}});return i.changes.empty?!1:(e(t.update(i,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function ma(t){let e=[],i=-1;for(let n of t.selection.ranges){let r=t.doc.lineAt(n.from),s=t.doc.lineAt(n.to);if(!n.empty&&n.to==s.from&&(s=t.doc.lineAt(n.to-1)),i>=r.number){let o=e[e.length-1];o.to=s.to,o.ranges.push(n)}else e.push({from:r.from,to:s.to,ranges:[n]});i=s.number+1}return e}function d1(t,e,i){if(t.readOnly)return!1;let n=[],r=[];for(let s of ma(t)){if(i?s.to==t.doc.length:s.from==0)continue;let o=t.doc.lineAt(i?s.to+1:s.from-1),l=o.length+1;if(i){n.push({from:s.to,to:o.to},{from:s.from,insert:o.text+t.lineBreak});for(let a of s.ranges)r.push(E.range(Math.min(t.doc.length,a.anchor+l),Math.min(t.doc.length,a.head+l)))}else{n.push({from:o.from,to:s.from},{from:s.to,insert:t.lineBreak+o.text});for(let a of s.ranges)r.push(E.range(a.anchor-l,a.head-l))}}return n.length?(e(t.update({changes:n,scrollIntoView:!0,selection:E.create(r,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}const HQ=({state:t,dispatch:e})=>d1(t,e,!1),KQ=({state:t,dispatch:e})=>d1(t,e,!0);function p1(t,e,i){if(t.readOnly)return!1;let n=[];for(let s of ma(t))i?n.push({from:s.from,insert:t.doc.slice(s.from,s.to)+t.lineBreak}):n.push({from:s.to,insert:t.lineBreak+t.doc.slice(s.from,s.to)});let r=t.changes(n);return e(t.update({changes:r,selection:t.selection.map(r,i?1:-1),scrollIntoView:!0,userEvent:"input.copyline"})),!0}const JQ=({state:t,dispatch:e})=>p1(t,e,!1),e_=({state:t,dispatch:e})=>p1(t,e,!0),m1=t=>{if(t.state.readOnly)return!1;let{state:e}=t,i=e.changes(ma(e).map(({from:r,to:s})=>(r>0?r--:s{let s;if(t.lineWrapping){let o=t.lineBlockAt(r.head),l=t.coordsAtPos(r.head,r.assoc||1);l&&(s=o.bottom+t.documentTop-l.bottom+t.defaultLineHeight/2)}return t.moveVertically(r,!0,s)}).map(i);return t.dispatch({changes:i,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0};function t_(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let i=Re(t).resolveInner(e),n=i.childBefore(e),r=i.childAfter(e),s;return n&&r&&n.to<=e&&r.from>=e&&(s=n.type.prop(K.closedBy))&&s.indexOf(r.name)>-1&&t.doc.lineAt(n.to).from==t.doc.lineAt(r.from).from&&!/\S/.test(t.sliceDoc(n.to,r.from))?{from:n.to,to:r.from}:null}const D0=O1(!1),i_=O1(!0);function O1(t){return({state:e,dispatch:i})=>{if(e.readOnly)return!1;let n=e.changeByRange(r=>{let{from:s,to:o}=r,l=e.doc.lineAt(s),a=!t&&s==o&&t_(e,s);t&&(s=o=(o<=l.to?l:e.doc.lineAt(o)).to);let u=new ha(e,{simulateBreak:s,simulateDoubleBreak:!!a}),c=Pg(u,s);for(c==null&&(c=Mi(/^\s*/.exec(e.doc.lineAt(s).text)[0],e.tabSize));ol.from&&s{let r=[];for(let o=n.from;o<=n.to;){let l=t.doc.lineAt(o);l.number>i&&(n.empty||n.to>l.from)&&(e(l,r,n),i=l.number),o=l.to+1}let s=t.changes(r);return{changes:r,range:E.range(s.mapPos(n.anchor,1),s.mapPos(n.head,1))}})}const n_=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=Object.create(null),n=new ha(t,{overrideIndentation:s=>{let o=i[s];return o??-1}}),r=ah(t,(s,o,l)=>{let a=Pg(n,s.from);if(a==null)return;/\S/.test(s.text)||(a=0);let u=/^\s*/.exec(s.text)[0],c=Al(t,a);(u!=c||l.fromt.readOnly?!1:(e(t.update(ah(t,(i,n)=>{n.push({from:i.from,insert:t.facet(Lr)})}),{userEvent:"input.indent"})),!0),b1=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(ah(t,(i,n)=>{let r=/^\s*/.exec(i.text)[0];if(!r)return;let s=Mi(r,t.tabSize),o=0,l=Al(t,Math.max(0,s-Ln(t)));for(;o(t.setTabFocusMode(),!0),s_=[{key:"Ctrl-b",run:Wg,shift:t1,preventDefault:!0},{key:"Ctrl-f",run:Yg,shift:i1},{key:"Ctrl-p",run:Ug,shift:s1},{key:"Ctrl-n",run:Hg,shift:o1},{key:"Ctrl-a",run:$Q,shift:ZQ},{key:"Ctrl-e",run:QQ,shift:IQ},{key:"Ctrl-d",run:c1},{key:"Ctrl-h",run:hc},{key:"Ctrl-k",run:WQ},{key:"Ctrl-Alt-h",run:f1},{key:"Ctrl-o",run:GQ},{key:"Ctrl-t",run:UQ},{key:"Ctrl-v",run:cc}],o_=[{key:"ArrowLeft",run:Wg,shift:t1,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:OQ,shift:CQ,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:SQ,shift:LQ,preventDefault:!0},{key:"ArrowRight",run:Yg,shift:i1,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:gQ,shift:TQ,preventDefault:!0},{mac:"Cmd-ArrowRight",run:wQ,shift:MQ,preventDefault:!0},{key:"ArrowUp",run:Ug,shift:s1,preventDefault:!0},{mac:"Cmd-ArrowUp",run:T0,shift:E0},{mac:"Ctrl-ArrowUp",run:_0,shift:P0},{key:"ArrowDown",run:Hg,shift:o1,preventDefault:!0},{mac:"Cmd-ArrowDown",run:A0,shift:R0},{mac:"Ctrl-ArrowDown",run:cc,shift:C0},{key:"PageUp",run:_0,shift:P0},{key:"PageDown",run:cc,shift:C0},{key:"Home",run:kQ,shift:DQ,preventDefault:!0},{key:"Mod-Home",run:T0,shift:E0},{key:"End",run:xQ,shift:RQ,preventDefault:!0},{key:"Mod-End",run:A0,shift:R0},{key:"Enter",run:D0,shift:D0},{key:"Mod-a",run:XQ},{key:"Backspace",run:hc,shift:hc,preventDefault:!0},{key:"Delete",run:c1,preventDefault:!0},{key:"Mod-Backspace",mac:"Alt-Backspace",run:f1,preventDefault:!0},{key:"Mod-Delete",mac:"Alt-Delete",run:qQ,preventDefault:!0},{mac:"Mod-Backspace",run:YQ,preventDefault:!0},{mac:"Mod-Delete",run:NQ,preventDefault:!0}].concat(s_.map(t=>({mac:t.key,run:t.run,shift:t.shift}))),l_=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:vQ,shift:AQ},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:yQ,shift:EQ},{key:"Alt-ArrowUp",run:HQ},{key:"Shift-Alt-ArrowUp",run:JQ},{key:"Alt-ArrowDown",run:KQ},{key:"Shift-Alt-ArrowDown",run:e_},{key:"Mod-Alt-ArrowUp",run:FQ},{key:"Mod-Alt-ArrowDown",run:BQ},{key:"Escape",run:VQ},{key:"Mod-Enter",run:i_},{key:"Alt-l",mac:"Ctrl-l",run:zQ},{key:"Mod-i",run:jQ,preventDefault:!0},{key:"Mod-[",run:b1},{key:"Mod-]",run:g1},{key:"Mod-Alt-\\",run:n_},{key:"Shift-Mod-k",run:m1},{key:"Shift-Mod-\\",run:PQ},{key:"Mod-/",run:K$},{key:"Alt-A",run:eQ},{key:"Ctrl-m",mac:"Shift-Alt-m",run:r_}].concat(o_),a_={key:"Tab",run:g1,shift:b1},L0=typeof String.prototype.normalize=="function"?t=>t.normalize("NFKD"):t=>t;class Zs{constructor(e,i,n=0,r=e.length,s,o){this.test=o,this.value={from:0,to:0,precise:!1},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,r),this.bufferStart=n,this.normalize=s?l=>s(L0(l)):L0,this.query=this.normalize(i)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return Ni(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let i=tO(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=vn(e);let r=this.normalize(i);if(r.length)for(let s=0,o=n,l=!0;;s++){let a=r.charCodeAt(s),u=this.match(a,o,l,this.bufferPos+this.bufferStart,s==r.length-1);if(u)return this.value=u,this;if(s==r.length-1)break;l&&sthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let i=this.matchPos<=this.to&&this.re.exec(this.curLine);if(i){let n=this.curLineStart+i.index,r=n+i[0].length;if(this.matchPos=Dl(this.text,r+(n==r?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,r,i)))return this.value={from:n,to:r,precise:!0,match:i},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=n||r.to<=i){let l=new sr(i,e.sliceString(i,n));return Wa.set(e,l),l}if(r.from==i&&r.to==n)return r;let{text:s,from:o}=r;return o>i&&(s=e.sliceString(i,o)+s,o=i),r.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,i=this.re.exec(this.flat.text);if(i&&!i[0]&&i.index==e&&(this.re.lastIndex=e+1,i=this.re.exec(this.flat.text)),i){let n=this.flat.from+i.index,r=n+i[0].length;if((this.flat.to>=this.to||i.index+i[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,r,i)))return this.value={from:n,to:r,precise:!0,match:i},this.matchPos=Dl(this.text,r+(n==r?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=sr.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(y1.prototype[Symbol.iterator]=x1.prototype[Symbol.iterator]=function(){return this});function u_(t){try{return new RegExp(t,uh),!0}catch{return!1}}function Dl(t,e){if(e>=t.length)return e;let i=t.lineAt(e),n;for(;e=56320&&n<57344;)e++;return e}const c_=t=>{let{state:e}=t,i=String(e.doc.lineAt(t.state.selection.main.head).number),{close:n,result:r}=n$(t,{label:e.phrase("Go to line"),input:{type:"text",name:"line",value:i},focus:!0,submitLabel:e.phrase("go")});return r.then(s=>{let o=s&&/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(s.elements.line.value);if(!o){t.dispatch({effects:n});return}let l=e.doc.lineAt(e.selection.main.head),[,a,u,c,h]=o,f=c?+c.slice(1):0,d=u?+u:l.number;if(u&&h){let O=d/100;a&&(O=O*(a=="-"?-1:1)+l.number/e.doc.lines),d=Math.round(e.doc.lines*O)}else u&&a&&(d=d*(a=="-"?-1:1)+l.number);let p=e.doc.line(Math.max(1,Math.min(e.doc.lines,d))),m=E.cursor(p.from+Math.max(0,Math.min(f,p.length)));t.dispatch({effects:[n,W.scrollIntoView(m.from,{y:"center"})],selection:m})}),!0},h_=({state:t,dispatch:e})=>{let{selection:i}=t,n=E.create(i.ranges.map(r=>t.wordAt(r.head)||E.cursor(r.head)),i.mainIndex);return n.eq(i)?!1:(e(t.update({selection:n})),!0)};function f_(t,e){let{main:i,ranges:n}=t.selection,r=t.wordAt(i.head),s=r&&r.from==i.from&&r.to==i.to;for(let o=!1,l=new Zs(t.doc,e,n[n.length-1].to);;)if(l.next(),l.done){if(o)return null;l=new Zs(t.doc,e,0,Math.max(0,n[n.length-1].from-1)),o=!0}else{if(o&&n.some(a=>a.from==l.value.from))continue;if(s){let a=t.wordAt(l.value.from);if(!a||a.from!=l.value.from||a.to!=l.value.to)continue}return l.value}}const d_=({state:t,dispatch:e})=>{let{ranges:i}=t.selection;if(i.some(s=>s.from===s.to))return h_({state:t,dispatch:e});let n=t.sliceDoc(i[0].from,i[0].to);if(t.selection.ranges.some(s=>t.sliceDoc(s.from,s.to)!=n))return!1;let r=f_(t,n);return r?(e(t.update({selection:t.selection.addRange(E.range(r.from,r.to),!1),effects:W.scrollIntoView(r.to)})),!0):!1},Ir=G.define({combine(t){return na(t,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new __(e),scrollToMatch:e=>W.scrollIntoView(e)})}});class k1{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||u_(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord,this.test=e.test}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(i,n)=>n=="n"?` +<<<<<<<< HEAD:frontend/dist/assets/index-DFkjzvE0.js `:n=="r"?"\r":n=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord&&this.test==e.test}create(){return this.regexp?new v_(this):new O_(this)}getCursor(e,i=0,n){let r=e.doc?e:fe.create({doc:e});return n==null&&(n=r.doc.length),this.regexp?Yn(this,r,i,n):Wn(this,r,i,n)}}class S1{constructor(e){this.spec=e}}function p_(t,e,i){return(n,r,s,o)=>{if(i&&!i(n,r,s,o))return!1;let l=n>=o&&r<=o+s.length?s.slice(n-o,r-o):e.doc.sliceString(n,r);return t(l,e,n,r)}}function Wn(t,e,i,n){let r;return t.wholeWord&&(r=m_(e.doc,e.charCategorizer(e.selection.main.head))),t.test&&(r=p_(t.test,e,r)),new Zs(e.doc,t.unquoted,i,n,t.caseSensitive?void 0:s=>s.toLowerCase(),r)}function m_(t,e){return(i,n,r,s)=>((s>i||s+r.length=i)return null;r.push(n.value)}return r}highlight(e,i,n,r){let s=Wn(this.spec,e,Math.max(0,i-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}function g_(t,e,i){return(n,r,s)=>(!i||i(n,r,s))&&t(s[0],e,n,r)}function Yn(t,e,i,n){let r;return t.wholeWord&&(r=b_(e.charCategorizer(e.selection.main.head))),t.test&&(r=g_(t.test,e,r)),new y1(e.doc,t.search,{ignoreCase:!t.caseSensitive,test:r},i,n)}function Ll(t,e){return t.slice(Ge(t,e,!1),e)}function Ml(t,e){return t.slice(e,Ge(t,e))}function b_(t){return(e,i,n)=>!n[0].length||(t(Ll(n.input,n.index))!=Je.Word||t(Ml(n.input,n.index))!=Je.Word)&&(t(Ml(n.input,n.index+n[0].length))!=Je.Word||t(Ll(n.input,n.index+n[0].length))!=Je.Word)}class v_ extends S1{nextMatch(e,i,n){let r=Yn(this.spec,e,n,e.doc.length).next();return r.done&&(r=Yn(this.spec,e,0,i).next()),r.done?null:r.value}prevMatchInRange(e,i,n){for(let r=1;;r++){let s=Math.max(i,n-r*1e4),o=Yn(this.spec,e,s,n),l=null;for(;!o.next().done;)l=o.value;if(l&&(s==i||l.from>s+10))return l;if(s==i)return null}}prevMatch(e,i,n){return this.prevMatchInRange(e,0,i)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&]|\d+)/g,(i,n)=>{if(n=="&")return e.match[0];if(n=="$")return"$";for(let r=n.length;r>0;r--){let s=+n.slice(0,r);if(s>0&&s=i)return null;r.push(n.value)}return r}highlight(e,i,n,r){let s=Yn(this.spec,e,Math.max(0,i-250),Math.min(n+250,e.doc.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}const Is=ae.define(),ch=ae.define(),rn=Yt.define({create(t){return new Ya(fc(t).create(),null)},update(t,e){for(let i of e.effects)i.is(Is)?t=new Ya(i.value.create(),t.panel):i.is(ch)&&(t=new Ya(t.query,i.value?hh:null));return t},provide:t=>Pl.from(t,e=>e.panel)});class Ya{constructor(e,i){this.query=e,this.panel=i}}const y_=ve.mark({class:"cm-searchMatch"}),x_=ve.mark({class:"cm-searchMatch cm-searchMatch-selected"}),k_=Mt.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(rn))}update(t){let e=t.state.field(rn);(e!=t.startState.field(rn)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return ve.none;let{view:i}=this,n=new gr;for(let r=0,s=i.visibleRanges,o=s.length;rs[r+1].from-500;)a=s[++r].to;t.highlight(i.state,l,a,(u,c)=>{let h=i.state.selection.ranges.some(f=>f.from==u&&f.to==c);n.add(u,c,h?x_:y_)})}return n.finish()}},{decorations:t=>t.decorations});function oo(t){return e=>{let i=e.state.field(rn,!1);return i&&i.query.spec.valid?t(e,i):Q1(e)}}const Zl=oo((t,{query:e})=>{let{to:i}=t.state.selection.main,n=e.nextMatch(t.state,i,i);if(!n)return!1;let r=E.single(n.from,n.to),s=t.state.facet(Ir);return t.dispatch({selection:r,effects:[fh(t,n),s.scrollToMatch(r.main,t)],userEvent:"select.search"}),$1(t),!0}),Il=oo((t,{query:e})=>{let{state:i}=t,{from:n}=i.selection.main,r=e.prevMatch(i,n,n);if(!r)return!1;let s=E.single(r.from,r.to),o=t.state.facet(Ir);return t.dispatch({selection:s,effects:[fh(t,r),o.scrollToMatch(s.main,t)],userEvent:"select.search"}),$1(t),!0}),S_=oo((t,{query:e})=>{let i=e.matchAll(t.state,1e3);return!i||!i.length?!1:(t.dispatch({selection:E.create(i.map(n=>E.range(n.from,n.to))),userEvent:"select.search.matches"}),!0)}),w_=({state:t,dispatch:e})=>{let i=t.selection;if(i.ranges.length>1||i.main.empty)return!1;let{from:n,to:r}=i.main,s=[],o=0;for(let l=new Zs(t.doc,t.sliceDoc(n,r));!l.next().done;){if(s.length>1e3)return!1;l.value.from==n&&(o=s.length),s.push(E.range(l.value.from,l.value.to))}return e(t.update({selection:E.create(s,o),userEvent:"select.search.matches"})),!0},M0=oo((t,{query:e})=>{let{state:i}=t,{from:n,to:r}=i.selection.main;if(i.readOnly)return!1;let s=e.nextMatch(i,n,n);if(!s)return!1;let o=s,l=[],a,u,c=[];o.precise?o.from==n&&o.to==r&&(u=i.toText(e.getReplacement(o)),l.push({from:o.from,to:o.to,insert:u}),o=e.nextMatch(i,o.from,o.to),c.push(W.announce.of(i.phrase("replaced match on line $",i.doc.lineAt(n).number)+"."))):o=e.nextMatch(i,o.from,o.to);let h=t.state.changes(l);return o&&(a=E.single(o.from,o.to).map(h),c.push(fh(t,o)),c.push(i.facet(Ir).scrollToMatch(a.main,t))),t.dispatch({changes:h,selection:a,effects:c,userEvent:"input.replace"}),!0}),$_=oo((t,{query:e})=>{if(t.state.readOnly)return!1;let i=[];for(let r of e.matchAll(t.state,1e9)){let{from:s,to:o,precise:l}=r;l&&i.push({from:s,to:o,insert:e.getReplacement(r)})}if(!i.length)return!1;let n=t.state.phrase("replaced $ matches",i.length)+".";return t.dispatch({changes:i,effects:W.announce.of(n),userEvent:"input.replace.all"}),!0});function hh(t){return t.state.facet(Ir).createPanel(t)}function fc(t,e){var i,n,r,s,o;let l=t.selection.main,a=l.empty||l.to>l.from+100?"":t.sliceDoc(l.from,l.to);if(e&&!a)return e;let u=t.facet(Ir);return new k1({search:((i=e==null?void 0:e.literal)!==null&&i!==void 0?i:u.literal)?a:a.replace(/\n/g,"\\n"),caseSensitive:(n=e==null?void 0:e.caseSensitive)!==null&&n!==void 0?n:u.caseSensitive,literal:(r=e==null?void 0:e.literal)!==null&&r!==void 0?r:u.literal,regexp:(s=e==null?void 0:e.regexp)!==null&&s!==void 0?s:u.regexp,wholeWord:(o=e==null?void 0:e.wholeWord)!==null&&o!==void 0?o:u.wholeWord})}function w1(t){let e=mg(t,hh);return e&&e.dom.querySelector("[main-field]")}function $1(t){let e=w1(t);e&&e==t.root.activeElement&&e.select()}const Q1=t=>{let e=t.state.field(rn,!1);if(e&&e.panel){let i=w1(t);if(i&&i!=t.root.activeElement){let n=fc(t.state,e.query.spec);n.valid&&t.dispatch({effects:Is.of(n)}),i.focus(),i.select()}}else t.dispatch({effects:[ch.of(!0),e?Is.of(fc(t.state,e.query.spec)):ae.appendConfig.of(C_)]});return!0},_1=t=>{let e=t.state.field(rn,!1);if(!e||!e.panel)return!1;let i=mg(t,hh);return i&&i.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:ch.of(!1)}),!0},Q_=[{key:"Mod-f",run:Q1,scope:"editor search-panel"},{key:"F3",run:Zl,shift:Il,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:Zl,shift:Il,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:_1,scope:"editor search-panel"},{key:"Mod-Shift-l",run:w_},{key:"Mod-Alt-g",run:c_},{key:"Mod-d",run:d_,preventDefault:!0}];class __{constructor(e){this.view=e;let i=this.query=e.state.field(rn).query.spec;this.commit=this.commit.bind(this),this.searchField=We("input",{value:i.search,placeholder:xt(e,"Find"),"aria-label":xt(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=We("input",{value:i.replace,placeholder:xt(e,"Replace"),"aria-label":xt(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=We("input",{type:"checkbox",name:"case",form:"",checked:i.caseSensitive,onchange:this.commit}),this.reField=We("input",{type:"checkbox",name:"re",form:"",checked:i.regexp,onchange:this.commit}),this.wordField=We("input",{type:"checkbox",name:"word",form:"",checked:i.wholeWord,onchange:this.commit});function n(r,s,o){return We("button",{class:"cm-button",name:r,onclick:s,type:"button"},o)}this.dom=We("div",{onkeydown:r=>this.keydown(r),class:"cm-search"},[this.searchField,n("next",()=>Zl(e),[xt(e,"next")]),n("prev",()=>Il(e),[xt(e,"previous")]),n("select",()=>S_(e),[xt(e,"all")]),We("label",null,[this.caseField,xt(e,"match case")]),We("label",null,[this.reField,xt(e,"regexp")]),We("label",null,[this.wordField,xt(e,"by word")]),...e.state.readOnly?[]:[We("br"),this.replaceField,n("replace",()=>M0(e),[xt(e,"replace")]),n("replaceAll",()=>$_(e),[xt(e,"replace all")])],We("button",{name:"close",onclick:()=>_1(e),"aria-label":xt(e,"close"),type:"button"},["×"])])}commit(){let e=new k1({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:Is.of(e)}))}keydown(e){j3(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?Il:Zl)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),M0(this.view))}update(e){for(let i of e.transactions)for(let n of i.effects)n.is(Is)&&!n.value.eq(this.query)&&this.setQuery(n.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(Ir).top}}function xt(t,e){return t.state.phrase(e)}const Xo=30,zo=/[\s\.,:;?!]/;function fh(t,{from:e,to:i}){let n=t.state.doc.lineAt(e),r=t.state.doc.lineAt(i).to,s=Math.max(n.from,e-Xo),o=Math.min(r,i+Xo),l=t.state.sliceDoc(s,o);if(s!=n.from){for(let a=0;al.length-Xo;a--)if(!zo.test(l[a-1])&&zo.test(l[a])){l=l.slice(0,a);break}}return W.announce.of(`${t.state.phrase("current match")}. ${l} ${t.state.phrase("on line")} ${n.number}.`)}const P_=W.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),C_=[rn,Ii.low(k_),P_];class dh{constructor(e,i,n,r){this.state=e,this.pos=i,this.explicit=n,this.view=r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let i=Re(this.state).resolveInner(this.pos,-1);for(;i&&e.indexOf(i.name)<0;)i=i.parent;return i?{from:i.from,to:this.pos,text:this.state.sliceDoc(i.from,this.pos),type:i.type}:null}matchBefore(e){let i=this.state.doc.lineAt(this.pos),n=Math.max(i.from,this.pos-250),r=i.text.slice(n-i.from,this.pos-i.from),s=r.search(C1(e,!1));return s<0?null:{from:n+s,to:this.pos,text:r.slice(s)}}get aborted(){return this.abortListeners==null}addEventListener(e,i,n){e=="abort"&&this.abortListeners&&(this.abortListeners.push(i),n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function Z0(t){let e=Object.keys(t).join(""),i=/\w/.test(e);return i&&(e=e.replace(/\w/g,"")),`[${i?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function T_(t){let e=Object.create(null),i=Object.create(null);for(let{label:r}of t){e[r[0]]=!0;for(let s=1;stypeof r=="string"?{label:r}:r),[i,n]=e.every(r=>/^\w+$/.test(r.label))?[/\w*$/,/\w+$/]:T_(e);return r=>{let s=r.matchBefore(n);return s||r.explicit?{from:s?s.from:r.pos,options:e,validFor:i}:null}}function A_(t,e){return i=>{for(let n=Re(i.state).resolveInner(i.pos,-1);n;n=n.parent){if(t.indexOf(n.name)>-1)return null;if(n.type.isTop)break}return e(i)}}class I0{constructor(e,i,n,r){this.completion=e,this.source=i,this.match=n,this.score=r}}function Cn(t){return t.selection.main.from}function C1(t,e){var i;let{source:n}=t,r=e&&n[0]!="^",s=n[n.length-1]!="$";return!r&&!s?t:new RegExp(`${r?"^":""}(?:${n})${s?"$":""}`,(i=t.flags)!==null&&i!==void 0?i:t.ignoreCase?"i":"")}const ph=Xi.define();function E_(t,e,i,n){let{main:r}=t.selection,s=i-r.from,o=n-r.from;return{...t.changeByRange(l=>{if(l!=r&&i!=n&&t.sliceDoc(l.from+s,l.from+o)!=t.sliceDoc(i,n))return{range:l};let a=t.toText(e);return{changes:{from:l.from+s,to:n==r.from?l.to:l.from+o,insert:a},range:E.cursor(l.from+s+a.length)}}),scrollIntoView:!0,userEvent:"input.complete"}}const X0=new WeakMap;function R_(t){if(!Array.isArray(t))return t;let e=X0.get(t);return e||X0.set(t,e=P1(t)),e}const Xl=ae.define(),Xs=ae.define();class D_{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let i=0;i=48&&v<=57||v>=97&&v<=122?2:v>=65&&v<=90?1:0:(Q=tO(v))!=Q.toLowerCase()?1:Q!=Q.toUpperCase()?2:0;(!b||P==1&&O||w==0&&P!=0)&&(i[h]==v||n[h]==v&&(f=!0)?o[h++]=b:o.length&&(g=!1)),w=P,b+=vn(v)}return h==a&&o[0]==0&&g?this.result(-100+(f?-200:0),o,e):d==a&&p==0?this.ret(-200-e.length+(m==e.length?0:-100),[0,m]):l>-1?this.ret(-700-e.length,[l,l+this.pattern.length]):d==a?this.ret(-900-e.length,[p,m]):h==a?this.result(-100+(f?-200:0)+-700+(g?0:-1100),o,e):i.length==2?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,i,n){let r=[],s=0;for(let o of i){let l=o+(this.astral?vn(Ni(n,o)):1);s&&r[s-1]==o?r[s-1]=l:(r[s++]=o,r[s++]=l)}return this.ret(e-n.length,r)}}class L_{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:M_,filterStrict:!1,compareCompletions:(e,i)=>(e.sortText||e.label).localeCompare(i.sortText||i.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,i)=>e&&i,closeOnBlur:(e,i)=>e&&i,icons:(e,i)=>e&&i,tooltipClass:(e,i)=>n=>z0(e(n),i(n)),optionClass:(e,i)=>n=>z0(e(n),i(n)),addToOptions:(e,i)=>e.concat(i),filterStrict:(e,i)=>e||i})}});function z0(t,e){return t?e?t+" "+e:t:e}function M_(t,e,i,n,r,s){let o=t.textDirection==Ce.RTL,l=o,a=!1,u="top",c,h,f=e.left-r.left,d=r.right-e.right,p=n.right-n.left,m=n.bottom-n.top;if(l&&f=m||b>e.top?c=i.bottom-e.top:(u="bottom",c=e.bottom-i.top)}let O=(e.bottom-e.top)/s.offsetHeight,g=(e.right-e.left)/s.offsetWidth;return{style:`${u}: ${c/O}px; max-width: ${h/g}px`,class:"cm-completionInfo-"+(a?o?"left-narrow":"right-narrow":l?"left":"right")}}const mh=ae.define();function Z_(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(i){let n=document.createElement("div");return n.classList.add("cm-completionIcon"),i.type&&n.classList.add(...i.type.split(/\s+/g).map(r=>"cm-completionIcon-"+r)),n.setAttribute("aria-hidden","true"),n},position:20}),e.push({render(i,n,r,s){let o=document.createElement("span");o.className="cm-completionLabel";let l=i.displayLabel||i.label,a=0;for(let u=0;ua&&o.appendChild(document.createTextNode(l.slice(a,c)));let f=o.appendChild(document.createElement("span"));f.appendChild(document.createTextNode(l.slice(c,h))),f.className="cm-completionMatchedText",a=h}return ai.position-n.position).map(i=>i.render)}function Na(t,e,i){if(t<=i)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let r=Math.floor(e/i);return{from:r*i,to:(r+1)*i}}let n=Math.ceil((t-e)/i);return{from:t-n*i,to:t-(n-1)*i}}class I_{constructor(e,i,n){this.view=e,this.stateField=i,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:a=>this.placeInfo(a),key:this},this.space=null,this.currentClass="";let r=e.state.field(i),{options:s,selected:o}=r.open,l=e.state.facet(Ne);this.optionContent=Z_(l),this.optionClass=l.optionClass,this.tooltipClass=l.tooltipClass,this.range=Na(s.length,o,l.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",a=>{let{options:u}=e.state.field(i).open;for(let c=a.target,h;c&&c!=this.dom;c=c.parentNode)if(c.nodeName=="LI"&&(h=/-(\d+)$/.exec(c.id))&&+h[1]this.list.lastChild.getBoundingClientRect().bottom?this.range.to:null;c!=null&&(e.dispatch({effects:mh.of(c)}),a.preventDefault())}}),this.dom.addEventListener("focusout",a=>{let u=e.state.field(this.stateField,!1);u&&u.tooltip&&e.state.facet(Ne).closeOnBlur&&a.relatedTarget!=e.contentDOM&&e.dispatch({effects:Xs.of(null)})}),this.showOptions(s,r.id)}mount(){this.updateSel()}showOptions(e,i){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,i,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var i;let n=e.state.field(this.stateField),r=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),n!=r){let{options:s,selected:o,disabled:l}=n.open;(!r.open||r.open.options!=s)&&(this.range=Na(s.length,o,e.state.facet(Ne).maxRenderedOptions),this.showOptions(s,n.id)),this.updateSel(),l!=((i=r.open)===null||i===void 0?void 0:i.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!l)}}updateTooltipClass(e){let i=this.tooltipClass(e);if(i!=this.currentClass){for(let n of this.currentClass.split(" "))n&&this.dom.classList.remove(n);for(let n of i.split(" "))n&&this.dom.classList.add(n);this.currentClass=i}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),i=e.open;(i.selected>-1&&i.selected=this.range.to)&&(this.range=Na(i.options.length,i.selected,this.view.state.facet(Ne).maxRenderedOptions),this.showOptions(i.options,e.id));let n=this.updateSelectedOption(i.selected);if(n){this.destroyInfo();let{completion:r}=i.options[i.selected],{info:s}=r;if(!s)return;let o=typeof s=="string"?document.createTextNode(s):s(r);if(!o)return;"then"in o?o.then(l=>{l&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(l,r)}).catch(l=>Rt(this.view.state,l,"completion info")):(this.addInfoPane(o,r),n.setAttribute("aria-describedby",this.info.id))}}addInfoPane(e,i){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",n.id="cm-completionInfo-"+Math.floor(Math.random()*65535).toString(16),e.nodeType!=null)n.appendChild(e),this.infoDestroy=null;else{let{dom:r,destroy:s}=e;n.appendChild(r),this.infoDestroy=s||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let i=null;for(let n=this.list.firstChild,r=this.range.from;n;n=n.nextSibling,r++)n.nodeName!="LI"||!n.id?r--:r==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),i=n):n.hasAttribute("aria-selected")&&(n.removeAttribute("aria-selected"),n.removeAttribute("aria-describedby"));return i&&z_(this.list,i),i}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let i=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),s=this.space;if(!s){let o=this.dom.ownerDocument.documentElement;s={left:0,top:0,right:o.clientWidth,bottom:o.clientHeight}}return r.top>Math.min(s.bottom,i.bottom)-10||r.bottom{o.target==r&&o.preventDefault()});let s=null;for(let o=n.from;on.from||n.from==0))if(s=f,typeof u!="string"&&u.header)r.appendChild(u.header(u));else{let d=r.appendChild(document.createElement("completion-section"));d.textContent=f}}const c=r.appendChild(document.createElement("li"));c.id=i+"-"+o,c.setAttribute("role","option");let h=this.optionClass(l);h&&(c.className=h);for(let f of this.optionContent){let d=f(l,this.view.state,this.view,a);d&&c.appendChild(d)}}return n.from&&r.classList.add("cm-completionListIncompleteTop"),n.tonew I_(i,t,e)}function z_(t,e){let i=t.getBoundingClientRect(),n=e.getBoundingClientRect(),r=i.height/t.offsetHeight;n.topi.bottom&&(t.scrollTop+=(n.bottom-i.bottom)/r)}function j0(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function j_(t,e){let i=[],n=null,r=null,s=c=>{i.push(c);let{section:h}=c.completion;if(h){n||(n=[]);let f=typeof h=="string"?h:h.name;n.some(d=>d.name==f)||n.push(typeof h=="string"?{name:f}:h)}},o=e.facet(Ne);for(let c of t)if(c.hasResult()){let h=c.result.getMatch;if(c.result.filter===!1)for(let f of c.result.options)s(new I0(f,c.source,h?h(f):[],1e9-i.length));else{let f=e.sliceDoc(c.from,c.to),d,p=o.filterStrict?new L_(f):new D_(f);for(let m of c.result.options)if(d=p.match(m.label)){let O=m.displayLabel?h?h(m,d.matched):[]:d.matched,g=d.score+(m.boost||0);if(s(new I0(m,c.source,O,g)),typeof m.section=="object"&&m.section.rank==="dynamic"){let{name:b}=m.section;r||(r=Object.create(null)),r[b]=Math.max(g,r[b]||-1e9)}}}}if(n){let c=Object.create(null),h=0,f=(d,p)=>(d.rank==="dynamic"&&p.rank==="dynamic"?r[p.name]-r[d.name]:0)||(typeof d.rank=="number"?d.rank:1e9)-(typeof p.rank=="number"?p.rank:1e9)||(d.namef.score-h.score||u(h.completion,f.completion))){let h=c.completion;!a||a.label!=h.label||a.detail!=h.detail||a.type!=null&&h.type!=null&&a.type!=h.type||a.apply!=h.apply||a.boost!=h.boost?l.push(c):j0(c.completion)>j0(a)&&(l[l.length-1]=c),a=c.completion}return l}class Hn{constructor(e,i,n,r,s,o){this.options=e,this.attrs=i,this.tooltip=n,this.timestamp=r,this.selected=s,this.disabled=o}setSelected(e,i){return e==this.selected||e>=this.options.length?this:new Hn(this.options,F0(i,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,i,n,r,s,o){if(r&&!o&&e.some(u=>u.isPending))return r.setDisabled();let l=j_(e,i);if(!l.length)return r&&e.some(u=>u.isPending)?r.setDisabled():null;let a=i.facet(Ne).selectOnOpen?0:-1;if(r&&r.selected!=a&&r.selected!=-1){let u=r.options[r.selected].completion;for(let c=0;cc.hasResult()?Math.min(u,c.from):u,1e8),create:Y_,above:s.aboveCursor},r?r.timestamp:Date.now(),a,!1)}map(e){return new Hn(this.options,this.attrs,{...this.tooltip,pos:e.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new Hn(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class zl{constructor(e,i,n){this.active=e,this.id=i,this.open=n}static start(){return new zl(q_,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:i}=e,n=i.facet(Ne),s=(n.override||i.languageDataAt("autocomplete",Cn(i)).map(R_)).map(a=>(this.active.find(c=>c.source==a)||new Vt(a,this.active.some(c=>c.state!=0)?1:0)).update(e,n));s.length==this.active.length&&s.every((a,u)=>a==this.active[u])&&(s=this.active);let o=this.open,l=e.effects.some(a=>a.is(Oh));o&&e.docChanged&&(o=o.map(e.changes)),e.selection||s.some(a=>a.hasResult()&&e.changes.touchesRange(a.from,a.to))||!F_(s,this.active)||l?o=Hn.build(s,i,this.id,o,n,l):o&&o.disabled&&!s.some(a=>a.isPending)&&(o=null),!o&&s.every(a=>!a.isPending)&&s.some(a=>a.hasResult())&&(s=s.map(a=>a.hasResult()?new Vt(a.source,0):a));for(let a of e.effects)a.is(mh)&&(o=o&&o.setSelected(a.value,this.id));return s==this.active&&o==this.open?this:new zl(s,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?B_:V_}}function F_(t,e){if(t==e)return!0;for(let i=0,n=0;;){for(;i-1&&(i["aria-activedescendant"]=t+"-"+e),i}const q_=[];function T1(t,e){if(t.isUserEvent("input.complete")){let n=t.annotation(ph);if(n&&e.activateOnCompletion(n))return 12}let i=t.isUserEvent("input.type");return i&&e.activateOnTyping?5:i?1:t.isUserEvent("delete.backward")?2:t.selection?8:t.docChanged?16:0}class Vt{constructor(e,i,n=!1){this.source=e,this.state=i,this.explicit=n}hasResult(){return!1}get isPending(){return this.state==1}update(e,i){let n=T1(e,i),r=this;(n&8||n&16&&this.touches(e))&&(r=new Vt(r.source,0)),n&4&&r.state==0&&(r=new Vt(this.source,1)),r=r.updateFor(e,n);for(let s of e.effects)if(s.is(Xl))r=new Vt(r.source,1,s.value);else if(s.is(Xs))r=new Vt(r.source,0);else if(s.is(Oh))for(let o of s.value)o.source==r.source&&(r=o);return r}updateFor(e,i){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(Cn(e.state))}}class or extends Vt{constructor(e,i,n,r,s,o){super(e,3,i),this.limit=n,this.result=r,this.from=s,this.to=o}hasResult(){return!0}updateFor(e,i){var n;if(!(i&3))return this.map(e.changes);let r=this.result;r.map&&!e.changes.empty&&(r=r.map(r,e.changes));let s=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),l=Cn(e.state);if(l>o||!r||i&2&&(Cn(e.startState)==this.from||li.map(e))}}),Ot=Yt.define({create(){return zl.start()},update(t,e){return t.update(e)},provide:t=>[dg.from(t,e=>e.tooltip),W.contentAttributes.from(t,e=>e.attrs)]});function gh(t,e){const i=e.completion.apply||e.completion.label;let n=t.state.field(Ot).active.find(r=>r.source==e.source);return n instanceof or?(typeof i=="string"?t.dispatch({...E_(t.state,i,n.from,n.to),annotations:ph.of(e.completion)}):i(t,e.completion,n.from,n.to),!0):!1}const Y_=X_(Ot,gh);function jo(t,e="option"){return i=>{let n=i.state.field(Ot,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp-1?n.open.selected+r*(t?1:-1):t?0:o-1;return l<0?l=e=="page"?0:o-1:l>=o&&(l=e=="page"?o-1:0),i.dispatch({effects:mh.of(l)}),!0}}const N_=t=>{let e=t.state.field(Ot,!1);return t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestampt.state.field(Ot,!1)?(t.dispatch({effects:Xl.of(!0)}),!0):!1,G_=t=>{let e=t.state.field(Ot,!1);return!e||!e.active.some(i=>i.state!=0)?!1:(t.dispatch({effects:Xs.of(null)}),!0)};class U_{constructor(e,i){this.active=e,this.context=i,this.time=Date.now(),this.updates=[],this.done=void 0}}const H_=50,K_=1e3,J_=Mt.fromClass(class{constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let e of t.state.field(Ot).active)e.isPending&&this.startQuery(e)}update(t){let e=t.state.field(Ot),i=t.state.facet(Ne);if(!t.selectionSet&&!t.docChanged&&t.startState.field(Ot)==e)return;let n=t.transactions.some(s=>{let o=T1(s,i);return o&8||(s.selection||s.docChanged)&&!(o&3)});for(let s=0;sH_&&Date.now()-o.time>K_){for(let l of o.context.abortListeners)try{l()}catch(a){Rt(this.view.state,a)}o.context.abortListeners=null,this.running.splice(s--,1)}else o.updates.push(...t.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some(s=>s.effects.some(o=>o.is(Xl)))&&(this.pendingStart=!0);let r=this.pendingStart?50:i.activateOnTypingDelay;if(this.debounceUpdate=e.active.some(s=>s.isPending&&!this.running.some(o=>o.active.source==s.source))?setTimeout(()=>this.startUpdate(),r):-1,this.composing!=0)for(let s of t.transactions)s.isUserEvent("input.type")?this.composing=2:this.composing==2&&s.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=this.view,e=t.field(Ot);for(let i of e.active)i.isPending&&!this.running.some(n=>n.active.source==i.source)&&this.startQuery(i);this.running.length&&e.open&&e.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Ne).updateSyncTime))}startQuery(t){let{state:e}=this.view,i=Cn(e),n=new dh(e,i,t.explicit,this.view),r=new U_(t,n);this.running.push(r),Promise.resolve(t.source(n)).then(s=>{r.context.aborted||(r.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:Xs.of(null)}),Rt(this.view.state,s)})}scheduleAccept(){this.running.every(t=>t.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Ne).updateSyncTime))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],i=this.view.state.facet(Ne),n=this.view.state.field(Ot);for(let r=0;rl.source==s.active.source);if(o&&o.isPending)if(s.done==null){let l=new Vt(s.active.source,0);for(let a of s.updates)l=l.update(a,i);l.isPending||e.push(l)}else this.startQuery(o)}(e.length||n.open&&n.open.disabled)&&this.view.dispatch({effects:Oh.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(Ot,!1);if(e&&e.tooltip&&this.view.state.facet(Ne).closeOnBlur){let i=e.open&&pg(this.view,e.open.tooltip);(!i||!i.dom.contains(t.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:Xs.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:Xl.of(!1)}),20),this.composing=0}}}),eP=typeof navigator=="object"&&/Win/.test(navigator.platform),tP=Ii.highest(W.domEventHandlers({keydown(t,e){let i=e.state.field(Ot,!1);if(!i||!i.open||i.open.disabled||i.open.selected<0||t.key.length>1||t.ctrlKey&&!(eP&&t.altKey)||t.metaKey)return!1;let n=i.open.options[i.open.selected],r=i.active.find(o=>o.source==n.source),s=n.completion.commitCharacters||r.result.commitCharacters;return s&&s.indexOf(t.key)>-1&&gh(e,n),!1}})),A1=W.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center",cursor:"pointer"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class iP{constructor(e,i,n,r){this.field=e,this.line=i,this.from=n,this.to=r}}class bh{constructor(e,i,n){this.field=e,this.from=i,this.to=n}map(e){let i=e.mapPos(this.from,-1,ut.TrackDel),n=e.mapPos(this.to,1,ut.TrackDel);return i==null||n==null?null:new bh(this.field,i,n)}}class vh{constructor(e,i){this.lines=e,this.fieldPositions=i}instantiate(e,i){let n=[],r=[i],s=e.doc.lineAt(i),o=/^\s*/.exec(s.text)[0];for(let a of this.lines){if(n.length){let u=o,c=/^\t*/.exec(a)[0].length;for(let h=0;hnew bh(a.field,r[a.line]+a.from,r[a.line]+a.to));return{text:n,ranges:l}}static parse(e){let i=[],n=[],r=[],s;for(let o of e.split(/\r\n?|\n/)){for(;s=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(o);){let l=s[1]?+s[1]:null,a=s[2]||s[3]||"",u=-1;l===0&&(l=1e9);let c=a.replace(/\\[{}]/g,h=>h[1]);for(let h=0;h=u&&f.field++}for(let h of r)if(h.line==n.length&&h.from>s.index){let f=s[2]?3+(s[1]||"").length:2;h.from-=f,h.to-=f}r.push(new iP(u,n.length,s.index,s.index+c.length)),o=o.slice(0,s.index)+a+o.slice(s.index+s[0].length)}o=o.replace(/\\([{}])/g,(l,a,u)=>{for(let c of r)c.line==n.length&&c.from>u&&(c.from--,c.to--);return a}),n.push(o)}return new vh(n,r)}}let nP=ve.widget({widget:new class extends Er{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),rP=ve.mark({class:"cm-snippetField"});class Xr{constructor(e,i){this.ranges=e,this.active=i,this.deco=ve.set(e.map(n=>(n.from==n.to?nP:rP).range(n.from,n.to)),!0)}map(e){let i=[];for(let n of this.ranges){let r=n.map(e);if(!r)return null;i.push(r)}return new Xr(i,this.active)}selectionInsideField(e){return e.ranges.every(i=>this.ranges.some(n=>n.field==this.active&&n.from<=i.from&&n.to>=i.to))}}const lo=ae.define({map(t,e){return t&&t.map(e)}}),sP=ae.define(),zs=Yt.define({create(){return null},update(t,e){for(let i of e.effects){if(i.is(lo))return i.value;if(i.is(sP)&&t)return new Xr(t.ranges,i.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>W.decorations.from(t,e=>e?e.deco:ve.none)});function yh(t,e){return E.create(t.filter(i=>i.field==e).map(i=>E.range(i.from,i.to)))}function oP(t){let e=vh.parse(t);return(i,n,r,s)=>{let{text:o,ranges:l}=e.instantiate(i.state,r),{main:a}=i.state.selection,u={changes:{from:r,to:s==a.from?a.to:s,insert:de.of(o)},scrollIntoView:!0,annotations:n?[ph.of(n),Xe.userEvent.of("input.complete")]:void 0};if(l.length&&(u.selection=yh(l,0)),l.some(c=>c.field>0)){let c=new Xr(l,0),h=u.effects=[lo.of(c)];i.state.field(zs,!1)===void 0&&h.push(ae.appendConfig.of([zs,hP,fP,A1]))}i.dispatch(i.state.update(u))}}function E1(t){return({state:e,dispatch:i})=>{let n=e.field(zs,!1);if(!n||t<0&&n.active==0)return!1;let r=n.active+t,s=t>0&&!n.ranges.some(o=>o.field==r+t);return i(e.update({selection:yh(n.ranges,r),effects:lo.of(s?null:new Xr(n.ranges,r)),scrollIntoView:!0})),!0}}const lP=({state:t,dispatch:e})=>t.field(zs,!1)?(e(t.update({effects:lo.of(null)})),!0):!1,aP=E1(1),uP=E1(-1),cP=[{key:"Tab",run:aP,shift:uP},{key:"Escape",run:lP}],B0=G.define({combine(t){return t.length?t[0]:cP}}),hP=Ii.highest(io.compute([B0],t=>t.facet(B0)));function mt(t,e){return{...e,apply:oP(t)}}const fP=W.domEventHandlers({mousedown(t,e){let i=e.state.field(zs,!1),n;if(!i||(n=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return!1;let r=i.ranges.find(s=>s.from<=n&&s.to>=n);return!r||r.field==i.active?!1:(e.dispatch({selection:yh(i.ranges,r.field),effects:lo.of(i.ranges.some(s=>s.field>r.field)?new Xr(i.ranges,r.field):null),scrollIntoView:!0}),!0)}}),R1=new class extends on{};R1.startSide=1;R1.endSide=-1;function dP(t={}){return[tP,Ot,Ne.of(t),J_,mP,A1]}const pP=[{key:"Ctrl-Space",run:Ga},{mac:"Alt-`",run:Ga},{mac:"Alt-i",run:Ga},{key:"Escape",run:G_},{key:"ArrowDown",run:jo(!0)},{key:"ArrowUp",run:jo(!1)},{key:"PageDown",run:jo(!0,"page")},{key:"PageUp",run:jo(!1,"page")},{key:"Enter",run:N_}],mP=Ii.highest(io.computeN([Ne],t=>t.facet(Ne).defaultKeymap?[pP]:[]));function D(t){return new Qr(ih.define(t))}function zi(t){return A(()=>import("./index-D4lxzjuA.js"),__vite__mapDeps([0,1,2])).then(e=>e.sql({dialect:e[t]}))}const OP=[C.of({name:"C",extensions:["c","h","ino"],load(){return A(()=>import("./index-U3Xsb9c_.js"),__vite__mapDeps([3,1,2])).then(t=>t.cpp())}}),C.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load(){return A(()=>import("./index-U3Xsb9c_.js"),__vite__mapDeps([3,1,2])).then(t=>t.cpp())}}),C.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load(){return zi("Cassandra")}}),C.of({name:"CSS",extensions:["css"],load(){return A(()=>Promise.resolve().then(()=>pT),void 0).then(t=>t.css())}}),C.of({name:"Go",extensions:["go"],load(){return A(()=>import("./index-Cxpdptih.js"),__vite__mapDeps([4,1,2])).then(t=>t.go())}}),C.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load(){return A(()=>Promise.resolve().then(()=>o5),void 0).then(t=>t.html())}}),C.of({name:"Java",extensions:["java"],load(){return A(()=>import("./index-Bs-7o_6g.js"),__vite__mapDeps([5,1,2])).then(t=>t.java())}}),C.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load(){return A(()=>Promise.resolve().then(()=>Vo),void 0).then(t=>t.javascript())}}),C.of({name:"Jinja",extensions:["j2","jinja","jinja2"],load(){return A(()=>import("./index-Bmffie3p.js"),__vite__mapDeps([6,1,2])).then(t=>t.jinja())}}),C.of({name:"JSON",alias:["json5"],extensions:["json","map"],load(){return A(()=>import("./index-BKvAMB2l.js"),__vite__mapDeps([7,1,2])).then(t=>t.json())}}),C.of({name:"JSX",extensions:["jsx"],load(){return A(()=>Promise.resolve().then(()=>Vo),void 0).then(t=>t.javascript({jsx:!0}))}}),C.of({name:"LESS",extensions:["less"],load(){return A(()=>import("./index-DY1FeDCS.js"),__vite__mapDeps([8,1,2])).then(t=>t.less())}}),C.of({name:"Liquid",extensions:["liquid"],load(){return A(()=>import("./index-BgISfzyU.js"),__vite__mapDeps([9,1,2])).then(t=>t.liquid())}}),C.of({name:"MariaDB SQL",load(){return zi("MariaSQL")}}),C.of({name:"Markdown",extensions:["md","markdown","mkd"],load(){return A(()=>Promise.resolve().then(()=>g5),void 0).then(t=>t.markdown())}}),C.of({name:"MS SQL",load(){return zi("MSSQL")}}),C.of({name:"MySQL",load(){return zi("MySQL")}}),C.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load(){return A(()=>import("./index-CwxuYJKb.js"),__vite__mapDeps([10,1,2])).then(t=>t.php())}}),C.of({name:"PLSQL",extensions:["pls"],load(){return zi("PLSQL")}}),C.of({name:"PostgreSQL",load(){return zi("PostgreSQL")}}),C.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load(){return A(()=>import("./index-D1ESbnqn.js"),__vite__mapDeps([11,1,2])).then(t=>t.python())}}),C.of({name:"Rust",extensions:["rs"],load(){return A(()=>import("./index-B0_vNb2o.js"),__vite__mapDeps([12,1,2])).then(t=>t.rust())}}),C.of({name:"Sass",extensions:["sass"],load(){return A(()=>import("./index-BZkqnoBm.js"),__vite__mapDeps([13,1,2])).then(t=>t.sass({indented:!0}))}}),C.of({name:"SCSS",extensions:["scss"],load(){return A(()=>import("./index-BZkqnoBm.js"),__vite__mapDeps([13,1,2])).then(t=>t.sass())}}),C.of({name:"SQL",extensions:["sql"],load(){return zi("StandardSQL")}}),C.of({name:"SQLite",load(){return zi("SQLite")}}),C.of({name:"TSX",extensions:["tsx"],load(){return A(()=>Promise.resolve().then(()=>Vo),void 0).then(t=>t.javascript({jsx:!0,typescript:!0}))}}),C.of({name:"TypeScript",alias:["ts"],extensions:["ts","mts","cts"],load(){return A(()=>Promise.resolve().then(()=>Vo),void 0).then(t=>t.javascript({typescript:!0}))}}),C.of({name:"WebAssembly",extensions:["wat","wast"],load(){return A(()=>import("./index-KDgG9oSV.js"),__vite__mapDeps([14,1,2])).then(t=>t.wast())}}),C.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load(){return A(()=>import("./index-q7NK9e6A.js"),__vite__mapDeps([15,1,2])).then(t=>t.xml())}}),C.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load(){return A(()=>import("./index-DyJEdmgm.js"),__vite__mapDeps([16,1,2])).then(t=>t.yaml())}}),C.of({name:"APL",extensions:["dyalog","apl"],load(){return A(()=>import("./apl-B4CMkyY2.js"),[]).then(t=>D(t.apl))}}),C.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load(){return A(()=>import("./asciiarmor-Df11BRmG.js"),[]).then(t=>D(t.asciiArmor))}}),C.of({name:"ASN.1",extensions:["asn","asn1"],load(){return A(()=>import("./asn1-EdZsLKOL.js"),[]).then(t=>D(t.asn1({})))}}),C.of({name:"Asterisk",filename:/^extensions\.conf$/i,load(){return A(()=>import("./asterisk-B-8jnY81.js"),[]).then(t=>D(t.asterisk))}}),C.of({name:"Brainfuck",extensions:["b","bf"],load(){return A(()=>import("./brainfuck-C4LP7Hcl.js"),[]).then(t=>D(t.brainfuck))}}),C.of({name:"Cobol",extensions:["cob","cpy"],load(){return A(()=>import("./cobol-CWcv1MsR.js"),[]).then(t=>D(t.cobol))}}),C.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load(){return A(()=>import("./clike-B9uivgTg.js"),[]).then(t=>D(t.csharp))}}),C.of({name:"Clojure",extensions:["clj","cljc","cljx"],load(){return A(()=>import("./clojure-BMjYHr_A.js"),[]).then(t=>D(t.clojure))}}),C.of({name:"ClojureScript",extensions:["cljs"],load(){return A(()=>import("./clojure-BMjYHr_A.js"),[]).then(t=>D(t.clojure))}}),C.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load(){return A(()=>import("./css-BnMrqG3P.js"),[]).then(t=>D(t.gss))}}),C.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load(){return A(()=>import("./cmake-BQqOBYOt.js"),[]).then(t=>D(t.cmake))}}),C.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load(){return A(()=>import("./coffeescript-S37ZYGWr.js"),[]).then(t=>D(t.coffeeScript))}}),C.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load(){return A(()=>import("./commonlisp-DBKNyK5s.js"),[]).then(t=>D(t.commonLisp))}}),C.of({name:"Cypher",extensions:["cyp","cypher"],load(){return A(()=>import("./cypher-C_CwsFkJ.js"),[]).then(t=>D(t.cypher))}}),C.of({name:"Cython",extensions:["pyx","pxd","pxi"],load(){return A(()=>import("./python-BuPzkPfP.js"),[]).then(t=>D(t.cython))}}),C.of({name:"Crystal",extensions:["cr"],load(){return A(()=>import("./crystal-SjHAIU92.js"),[]).then(t=>D(t.crystal))}}),C.of({name:"D",extensions:["d"],load(){return A(()=>import("./d-pRatUO7H.js"),[]).then(t=>D(t.d))}}),C.of({name:"Dart",extensions:["dart"],load(){return A(()=>import("./clike-B9uivgTg.js"),[]).then(t=>D(t.dart))}}),C.of({name:"diff",extensions:["diff","patch"],load(){return A(()=>import("./diff-DbItnlRl.js"),[]).then(t=>D(t.diff))}}),C.of({name:"Dockerfile",filename:/^Dockerfile$/,load(){return A(()=>import("./dockerfile-BKs6k2Af.js"),__vite__mapDeps([17,18])).then(t=>D(t.dockerFile))}}),C.of({name:"DTD",extensions:["dtd"],load(){return A(()=>import("./dtd-DF_7sFjM.js"),[]).then(t=>D(t.dtd))}}),C.of({name:"Dylan",extensions:["dylan","dyl","intr"],load(){return A(()=>import("./dylan-DwRh75JA.js"),[]).then(t=>D(t.dylan))}}),C.of({name:"EBNF",load(){return A(()=>import("./ebnf-CDyGwa7X.js"),[]).then(t=>D(t.ebnf))}}),C.of({name:"ECL",extensions:["ecl"],load(){return A(()=>import("./ecl-Cabwm37j.js"),[]).then(t=>D(t.ecl))}}),C.of({name:"edn",extensions:["edn"],load(){return A(()=>import("./clojure-BMjYHr_A.js"),[]).then(t=>D(t.clojure))}}),C.of({name:"Eiffel",extensions:["e"],load(){return A(()=>import("./eiffel-CnydiIhH.js"),[]).then(t=>D(t.eiffel))}}),C.of({name:"Elm",extensions:["elm"],load(){return A(()=>import("./elm-vLlmbW-K.js"),[]).then(t=>D(t.elm))}}),C.of({name:"Erlang",extensions:["erl"],load(){return A(()=>import("./erlang-BNw1qcRV.js"),[]).then(t=>D(t.erlang))}}),C.of({name:"Esper",load(){return A(()=>import("./sql-D0XecflT.js"),[]).then(t=>D(t.esper))}}),C.of({name:"Factor",extensions:["factor"],load(){return A(()=>import("./factor-kuTfRLto.js"),__vite__mapDeps([19,18])).then(t=>D(t.factor))}}),C.of({name:"FCL",load(){return A(()=>import("./fcl-Kvtd6kyn.js"),[]).then(t=>D(t.fcl))}}),C.of({name:"Forth",extensions:["forth","fth","4th"],load(){return A(()=>import("./forth-Ffai-XNe.js"),[]).then(t=>D(t.forth))}}),C.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load(){return A(()=>import("./fortran-DYz_wnZ1.js"),[]).then(t=>D(t.fortran))}}),C.of({name:"F#",alias:["fsharp"],extensions:["fs"],load(){return A(()=>import("./mllike-CXdrOF99.js"),[]).then(t=>D(t.fSharp))}}),C.of({name:"Gas",extensions:["s"],load(){return A(()=>import("./gas-Bneqetm1.js"),[]).then(t=>D(t.gas))}}),C.of({name:"Gherkin",extensions:["feature"],load(){return A(()=>import("./gherkin-heZmZLOM.js"),[]).then(t=>D(t.gherkin))}}),C.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load(){return A(()=>import("./groovy-D9Dt4D0W.js"),[]).then(t=>D(t.groovy))}}),C.of({name:"Haskell",extensions:["hs"],load(){return A(()=>import("./haskell-Cw1EW3IL.js"),[]).then(t=>D(t.haskell))}}),C.of({name:"Haxe",extensions:["hx"],load(){return A(()=>import("./haxe-H-WmDvRZ.js"),[]).then(t=>D(t.haxe))}}),C.of({name:"HXML",extensions:["hxml"],load(){return A(()=>import("./haxe-H-WmDvRZ.js"),[]).then(t=>D(t.hxml))}}),C.of({name:"HTTP",load(){return A(()=>import("./http-DBlCnlav.js"),[]).then(t=>D(t.http))}}),C.of({name:"IDL",extensions:["pro"],load(){return A(()=>import("./idl-BEugSyMb.js"),[]).then(t=>D(t.idl))}}),C.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load(){return A(()=>import("./javascript-iXu5QeM3.js"),[]).then(t=>D(t.jsonld))}}),C.of({name:"Julia",extensions:["jl"],load(){return A(()=>import("./julia-DuME0IfC.js"),[]).then(t=>D(t.julia))}}),C.of({name:"Kotlin",extensions:["kt","kts"],load(){return A(()=>import("./clike-B9uivgTg.js"),[]).then(t=>D(t.kotlin))}}),C.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load(){return A(()=>import("./livescript-BwQOo05w.js"),[]).then(t=>D(t.liveScript))}}),C.of({name:"Lua",extensions:["lua"],load(){return A(()=>import("./lua-VAEuO923.js"),[]).then(t=>D(t.lua))}}),C.of({name:"mIRC",extensions:["mrc"],load(){return A(()=>import("./mirc-CjQqDB4T.js"),[]).then(t=>D(t.mirc))}}),C.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load(){return A(()=>import("./mathematica-DTrFuWx2.js"),[]).then(t=>D(t.mathematica))}}),C.of({name:"Modelica",extensions:["mo"],load(){return A(()=>import("./modelica-Dc1JOy9r.js"),[]).then(t=>D(t.modelica))}}),C.of({name:"MUMPS",extensions:["mps"],load(){return A(()=>import("./mumps-BT43cFF4.js"),[]).then(t=>D(t.mumps))}}),C.of({name:"Mbox",extensions:["mbox"],load(){return A(()=>import("./mbox-CNhZ1qSd.js"),[]).then(t=>D(t.mbox))}}),C.of({name:"Nginx",filename:/nginx.*\.conf$/i,load(){return A(()=>import("./nginx-DdIZxoE0.js"),[]).then(t=>D(t.nginx))}}),C.of({name:"NSIS",extensions:["nsh","nsi"],load(){return A(()=>import("./nsis-LdVXkNf5.js"),__vite__mapDeps([20,18])).then(t=>D(t.nsis))}}),C.of({name:"NTriples",extensions:["nt","nq"],load(){return A(()=>import("./ntriples-BfvgReVJ.js"),[]).then(t=>D(t.ntriples))}}),C.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load(){return A(()=>import("./clike-B9uivgTg.js"),[]).then(t=>D(t.objectiveC))}}),C.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load(){return A(()=>import("./clike-B9uivgTg.js"),[]).then(t=>D(t.objectiveCpp))}}),C.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load(){return A(()=>import("./mllike-CXdrOF99.js"),[]).then(t=>D(t.oCaml))}}),C.of({name:"Octave",extensions:["m"],load(){return A(()=>import("./octave-Ck1zUtKM.js"),[]).then(t=>D(t.octave))}}),C.of({name:"Oz",extensions:["oz"],load(){return A(()=>import("./oz-BzwKVEFT.js"),[]).then(t=>D(t.oz))}}),C.of({name:"Pascal",extensions:["p","pas"],load(){return A(()=>import("./pascal--L3eBynH.js"),[]).then(t=>D(t.pascal))}}),C.of({name:"Perl",extensions:["pl","pm"],load(){return A(()=>import("./perl-CdXCOZ3F.js"),[]).then(t=>D(t.perl))}}),C.of({name:"Pig",extensions:["pig"],load(){return A(()=>import("./pig-CevX1Tat.js"),[]).then(t=>D(t.pig))}}),C.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load(){return A(()=>import("./powershell-CFHJl5sT.js"),[]).then(t=>D(t.powerShell))}}),C.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load(){return A(()=>import("./properties-C78fOPTZ.js"),[]).then(t=>D(t.properties))}}),C.of({name:"ProtoBuf",extensions:["proto"],load(){return A(()=>import("./protobuf-ChK-085T.js"),[]).then(t=>D(t.protobuf))}}),C.of({name:"Pug",alias:["jade"],extensions:["pug","jade"],load(){return A(()=>import("./pug-DeIclll2.js"),__vite__mapDeps([21,22])).then(t=>D(t.pug))}}),C.of({name:"Puppet",extensions:["pp"],load(){return A(()=>import("./puppet-DMA9R1ak.js"),[]).then(t=>D(t.puppet))}}),C.of({name:"Q",extensions:["q"],load(){return A(()=>import("./q-pXgVlZs6.js"),[]).then(t=>D(t.q))}}),C.of({name:"R",alias:["rscript"],extensions:["r","R"],load(){return A(()=>import("./r-B6wPVr8A.js"),[]).then(t=>D(t.r))}}),C.of({name:"RPM Changes",load(){return A(()=>import("./rpm-CTu-6PCP.js"),[]).then(t=>D(t.rpmChanges))}}),C.of({name:"RPM Spec",extensions:["spec"],load(){return A(()=>import("./rpm-CTu-6PCP.js"),[]).then(t=>D(t.rpmSpec))}}),C.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],filename:/^(Gemfile|Rakefile)$/,load(){return A(()=>import("./ruby-B2Rjki9n.js"),[]).then(t=>D(t.ruby))}}),C.of({name:"SAS",extensions:["sas"],load(){return A(()=>import("./sas-B4kiWyti.js"),[]).then(t=>D(t.sas))}}),C.of({name:"Scala",extensions:["scala"],load(){return A(()=>import("./clike-B9uivgTg.js"),[]).then(t=>D(t.scala))}}),C.of({name:"Scheme",extensions:["scm","ss"],load(){return A(()=>import("./scheme-C41bIUwD.js"),[]).then(t=>D(t.scheme))}}),C.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load(){return A(()=>import("./shell-CjFT_Tl9.js"),[]).then(t=>D(t.shell))}}),C.of({name:"Sieve",extensions:["siv","sieve"],load(){return A(()=>import("./sieve-C3Gn_uJK.js"),[]).then(t=>D(t.sieve))}}),C.of({name:"Smalltalk",extensions:["st"],load(){return A(()=>import("./smalltalk-CnHTOXQT.js"),[]).then(t=>D(t.smalltalk))}}),C.of({name:"Solr",load(){return A(()=>import("./solr-DehyRSwq.js"),[]).then(t=>D(t.solr))}}),C.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load(){return A(()=>import("./mllike-CXdrOF99.js"),[]).then(t=>D(t.sml))}}),C.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load(){return A(()=>import("./sparql-DkYu6x3z.js"),[]).then(t=>D(t.sparql))}}),C.of({name:"Spreadsheet",alias:["excel","formula"],load(){return A(()=>import("./spreadsheet-BCZA_wO0.js"),[]).then(t=>D(t.spreadsheet))}}),C.of({name:"Squirrel",extensions:["nut"],load(){return A(()=>import("./clike-B9uivgTg.js"),[]).then(t=>D(t.squirrel))}}),C.of({name:"Stylus",extensions:["styl"],load(){return A(()=>import("./stylus-B533Al4x.js"),[]).then(t=>D(t.stylus))}}),C.of({name:"Swift",extensions:["swift"],load(){return A(()=>import("./swift-BzpIVaGY.js"),[]).then(t=>D(t.swift))}}),C.of({name:"sTeX",load(){return A(()=>import("./stex-C3f8Ysf7.js"),[]).then(t=>D(t.stex))}}),C.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load(){return A(()=>import("./stex-C3f8Ysf7.js"),[]).then(t=>D(t.stex))}}),C.of({name:"SystemVerilog",extensions:["v","sv","svh"],load(){return A(()=>import("./verilog-C6RDOZhf.js"),[]).then(t=>D(t.verilog))}}),C.of({name:"Tcl",extensions:["tcl"],load(){return A(()=>import("./tcl-DVfN8rqt.js"),[]).then(t=>D(t.tcl))}}),C.of({name:"Textile",extensions:["textile"],load(){return A(()=>import("./textile-CnDTJFAw.js"),[]).then(t=>D(t.textile))}}),C.of({name:"TiddlyWiki",load(){return A(()=>import("./tiddlywiki-DO-Gjzrf.js"),[]).then(t=>D(t.tiddlyWiki))}}),C.of({name:"Tiki wiki",load(){return A(()=>import("./tiki-DGYXhP31.js"),[]).then(t=>D(t.tiki))}}),C.of({name:"TOML",extensions:["toml"],load(){return A(()=>import("./toml-Bm5Em-hy.js"),[]).then(t=>D(t.toml))}}),C.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load(){return A(()=>import("./troff-wAsdV37c.js"),[]).then(t=>D(t.troff))}}),C.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load(){return A(()=>import("./ttcn-CfJYG6tj.js"),[]).then(t=>D(t.ttcn))}}),C.of({name:"TTCN_CFG",extensions:["cfg"],load(){return A(()=>import("./ttcn-cfg-B9xdYoR4.js"),[]).then(t=>D(t.ttcnCfg))}}),C.of({name:"Turtle",extensions:["ttl"],load(){return A(()=>import("./turtle-B1tBg_DP.js"),[]).then(t=>D(t.turtle))}}),C.of({name:"Web IDL",extensions:["webidl"],load(){return A(()=>import("./webidl-ZXfAyPTL.js"),[]).then(t=>D(t.webIDL))}}),C.of({name:"VB.NET",extensions:["vb"],load(){return A(()=>import("./vb-CmGdzxic.js"),[]).then(t=>D(t.vb))}}),C.of({name:"VBScript",extensions:["vbs"],load(){return A(()=>import("./vbscript-BuJXcnF6.js"),[]).then(t=>D(t.vbScript))}}),C.of({name:"Velocity",extensions:["vtl"],load(){return A(()=>import("./velocity-D8B20fx6.js"),[]).then(t=>D(t.velocity))}}),C.of({name:"Verilog",extensions:["v"],load(){return A(()=>import("./verilog-C6RDOZhf.js"),[]).then(t=>D(t.verilog))}}),C.of({name:"VHDL",extensions:["vhd","vhdl"],load(){return A(()=>import("./vhdl-lSbBsy5d.js"),[]).then(t=>D(t.vhdl))}}),C.of({name:"XQuery",extensions:["xy","xquery","xq","xqm","xqy"],load(){return A(()=>import("./xquery-DzFWVndE.js"),[]).then(t=>D(t.xQuery))}}),C.of({name:"Yacas",extensions:["ys"],load(){return A(()=>import("./yacas-BJ4BC0dw.js"),[]).then(t=>D(t.yacas))}}),C.of({name:"Z80",extensions:["z80"],load(){return A(()=>import("./z80-Hz9HOZM7.js"),[]).then(t=>D(t.z80))}}),C.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load(){return A(()=>import("./mscgen-BA5vi2Kp.js"),[]).then(t=>D(t.mscgen))}}),C.of({name:"Xù",extensions:["xu"],load(){return A(()=>import("./mscgen-BA5vi2Kp.js"),[]).then(t=>D(t.xu))}}),C.of({name:"MsGenny",extensions:["msgenny"],load(){return A(()=>import("./mscgen-BA5vi2Kp.js"),[]).then(t=>D(t.msgenny))}}),C.of({name:"Vue",extensions:["vue"],load(){return A(()=>import("./index-Bnrjo134.js"),__vite__mapDeps([23,1,2])).then(t=>t.vue())}}),C.of({name:"Angular Template",load(){return A(()=>import("./index-CR0Xq76f.js"),__vite__mapDeps([24,1,2])).then(t=>t.angular())}})];class jl{static create(e,i,n,r,s){let o=r+(r<<8)+e+(i<<4)|0;return new jl(e,i,n,o,s,[],[])}constructor(e,i,n,r,s,o,l){this.type=e,this.value=i,this.from=n,this.hash=r,this.end=s,this.children=o,this.positions=l,this.hashProp=[[K.contextHash,r]]}addChild(e,i){e.prop(K.contextHash)!=this.hash&&(e=new se(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(i)}toTree(e,i=this.end){let n=this.children.length-1;return n>=0&&(i=Math.max(i,this.positions[n]+this.children[n].length+this.from)),new se(e.types[this.type],this.children,this.positions,i-this.from).balance({makeTree:(r,s,o)=>new se(ze.none,r,s,o,this.hashProp)})}}var z;(function(t){t[t.Document=1]="Document",t[t.CodeBlock=2]="CodeBlock",t[t.FencedCode=3]="FencedCode",t[t.Blockquote=4]="Blockquote",t[t.HorizontalRule=5]="HorizontalRule",t[t.BulletList=6]="BulletList",t[t.OrderedList=7]="OrderedList",t[t.ListItem=8]="ListItem",t[t.ATXHeading1=9]="ATXHeading1",t[t.ATXHeading2=10]="ATXHeading2",t[t.ATXHeading3=11]="ATXHeading3",t[t.ATXHeading4=12]="ATXHeading4",t[t.ATXHeading5=13]="ATXHeading5",t[t.ATXHeading6=14]="ATXHeading6",t[t.SetextHeading1=15]="SetextHeading1",t[t.SetextHeading2=16]="SetextHeading2",t[t.HTMLBlock=17]="HTMLBlock",t[t.LinkReference=18]="LinkReference",t[t.Paragraph=19]="Paragraph",t[t.CommentBlock=20]="CommentBlock",t[t.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",t[t.Escape=22]="Escape",t[t.Entity=23]="Entity",t[t.HardBreak=24]="HardBreak",t[t.Emphasis=25]="Emphasis",t[t.StrongEmphasis=26]="StrongEmphasis",t[t.Link=27]="Link",t[t.Image=28]="Image",t[t.InlineCode=29]="InlineCode",t[t.HTMLTag=30]="HTMLTag",t[t.Comment=31]="Comment",t[t.ProcessingInstruction=32]="ProcessingInstruction",t[t.Autolink=33]="Autolink",t[t.HeaderMark=34]="HeaderMark",t[t.QuoteMark=35]="QuoteMark",t[t.ListMark=36]="ListMark",t[t.LinkMark=37]="LinkMark",t[t.EmphasisMark=38]="EmphasisMark",t[t.CodeMark=39]="CodeMark",t[t.CodeText=40]="CodeText",t[t.CodeInfo=41]="CodeInfo",t[t.LinkTitle=42]="LinkTitle",t[t.LinkLabel=43]="LinkLabel",t[t.URL=44]="URL"})(z||(z={}));class gP{constructor(e,i){this.start=e,this.content=i,this.marks=[],this.parsers=[]}}class bP{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return ps(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,i=0,n=0){for(let r=i;r=e.stack[i.depth+1].value+i.baseIndent)return!0;if(i.indent>=i.baseIndent+4)return!1;let n=(t.type==z.OrderedList?Sh:kh)(i,e,!1);return n>0&&(t.type!=z.BulletList||xh(i,e,!1)<0)&&i.text.charCodeAt(i.pos+n-1)==t.value}const D1={[z.Blockquote](t,e,i){return i.next!=62?!1:(i.markers.push(he(z.QuoteMark,e.lineStart+i.pos,e.lineStart+i.pos+1)),i.moveBase(i.pos+(Gt(i.text.charCodeAt(i.pos+1))?2:1)),t.end=e.lineStart+i.text.length,!0)},[z.ListItem](t,e,i){return i.indent-1?!1:(i.moveBaseColumn(i.baseIndent+t.value),!0)},[z.OrderedList]:V0,[z.BulletList]:V0,[z.Document](){return!0}};function Gt(t){return t==32||t==9||t==10||t==13}function ps(t,e=0){for(;ei&&Gt(t.charCodeAt(e-1));)e--;return e}function L1(t){if(t.next!=96&&t.next!=126)return-1;let e=t.pos+1;for(;e-1&&t.depth==e.stack.length&&e.parser.leafBlockParsers.indexOf(B1.SetextHeading)>-1||n<3?-1:1}function Z1(t,e){for(let i=t.stack.length-1;i>=0;i--)if(t.stack[i].type==e)return!0;return!1}function kh(t,e,i){return(t.next==45||t.next==43||t.next==42)&&(t.pos==t.text.length-1||Gt(t.text.charCodeAt(t.pos+1)))&&(!i||Z1(e,z.BulletList)||t.skipSpace(t.pos+2)=48&&r<=57;){n++;if(n==t.text.length)return-1;r=t.text.charCodeAt(n)}return n==t.pos||n>t.pos+9||r!=46&&r!=41||nt.pos+1||t.next!=49)?-1:n+1-t.pos}function I1(t){if(t.next!=35)return-1;let e=t.pos+1;for(;e6?-1:i}function X1(t){if(t.next!=45&&t.next!=61||t.indent>=t.baseIndent+4)return-1;let e=t.pos+1;for(;e/,j1=/\?>/,pc=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/,j1=/\?>/,pc=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/,j1=/\?>/,pc=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*",Px="<[?][\\s\\S]*?[?]>",Cx="]*>",Tx="",Ax=new RegExp("^(?:"+bm+"|"+vm+"|"+_x+"|"+Px+"|"+Cx+"|"+Tx+")"),Ex=new RegExp("^(?:"+bm+"|"+vm+")"),mn=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(Ex.source+"\\s*$"),/^$/,!1]];function Rx(t,e,i,n){let r=t.bMarks[e]+t.tShift[e],s=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(r)!==60)return!1;let o=t.src.slice(r,s),l=0;for(;l=4)return!1;let o=t.src.charCodeAt(r);if(o!==35||r>=s)return!1;let l=1;for(o=t.src.charCodeAt(++r);o===35&&r6||rr&&Qe(t.src.charCodeAt(a-1))&&(s=a),t.line=e+1;const u=t.push("heading_open","h"+String(l),1);u.markup="########".slice(0,l),u.map=[e,t.line];const c=t.push("inline","",0);c.content=ea(t.src.slice(r,s)),c.map=[e,t.line],c.children=[];const h=t.push("heading_close","h"+String(l),-1);return h.markup="########".slice(0,l),!0}function Lx(t,e,i){const n=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;const r=t.parentType;t.parentType="paragraph";let s=0,o,l=e+1;for(;l3)continue;if(t.sCount[l]>=t.blkIndent){let d=t.bMarks[l]+t.tShift[l];const p=t.eMarks[l];if(d=p))){s=o===61?1:2;break}}if(t.sCount[l]<0)continue;let f=!1;for(let d=0,p=n.length;d3||t.sCount[s]<0)continue;let u=!1;for(let c=0,h=n.length;c=i||t.sCount[o]=s){t.line=i;break}const a=t.line;let u=!1;for(let c=0;c=t.line)throw new Error("block rule didn't increment state.line");break}if(!u)throw new Error("none of the block rules matched");t.tight=!l,t.isEmpty(t.line-1)&&(l=!0),o=t.line,o0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(r),n};Hs.prototype.scanDelims=function(t,e){const i=this.posMax,n=this.src.charCodeAt(t);let r;if(t===0)r=32;else if(t===1)r=this.src.charCodeAt(0),(r&63488)===55296&&(r=65533);else if(r=this.src.charCodeAt(t-1),(r&64512)===56320){const O=this.src.charCodeAt(t-2);r=(O&64512)===55296?65536+(O-55296<<10)+(r-56320):65533}else(r&64512)===55296&&(r=65533);let s=t;for(;s0)return!1;const i=t.pos,n=t.posMax;if(i+3>n||t.src.charCodeAt(i)!==58||t.src.charCodeAt(i+1)!==47||t.src.charCodeAt(i+2)!==47)return!1;const r=t.pending.match(Xx);if(!r)return!1;const s=r[1],o=t.md.linkify.matchAtStart(t.src.slice(i-s.length));if(!o)return!1;let l=o.url;if(l.length<=s.length)return!1;let a=l.length;for(;a>0&&l.charCodeAt(a-1)===42;)a--;a!==l.length&&(l=l.slice(0,a));const u=t.md.normalizeLink(l);if(!t.md.validateLink(u))return!1;if(!e){t.pending=t.pending.slice(0,-s.length);const c=t.push("link_open","a",1);c.attrs=[["href",u]],c.markup="linkify",c.info="auto";const h=t.push("text","",0);h.content=t.md.normalizeLinkText(l);const f=t.push("link_close","a",-1);f.markup="linkify",f.info="auto"}return t.pos+=l.length-s.length,!0}function jx(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==10)return!1;const n=t.pending.length-1,r=t.posMax;if(!e)if(n>=0&&t.pending.charCodeAt(n)===32)if(n>=1&&t.pending.charCodeAt(n-1)===32){let s=n-1;for(;s>=1&&t.pending.charCodeAt(s-1)===32;)s--;t.pending=t.pending.slice(0,s),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(i++;i?@[]^_`{|}~-".split("").forEach(function(t){Dc[t.charCodeAt(0)]=1});function Fx(t,e){let i=t.pos;const n=t.posMax;if(t.src.charCodeAt(i)!==92||(i++,i>=n))return!1;let r=t.src.charCodeAt(i);if(r===10){for(e||t.push("hardbreak","br",0),i++;i=55296&&r<=56319&&i+1=56320&&l<=57343&&(s+=t.src[i+1],i++)}const o="\\"+s;if(!e){const l=t.push("text_special","",0);r<256&&Dc[r]!==0?l.content=s:l.content=o,l.markup=o,l.info="escape"}return t.pos=i+1,!0}function Bx(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==96)return!1;const r=i;i++;const s=t.posMax;for(;i=0;n--){const r=e[n];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const s=e[r.end],o=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===s.token+1,l=String.fromCharCode(r.marker),a=t.tokens[r.token];a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?l+l:l,a.content="";const u=t.tokens[s.token];u.type=o?"strong_close":"em_close",u.tag=o?"strong":"em",u.nesting=-1,u.markup=o?l+l:l,u.content="",o&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--)}}function Yx(t){const e=t.tokens_meta,i=t.tokens_meta.length;rd(t,t.delimiters);for(let n=0;n=h)return!1;if(a=p,r=t.md.helpers.parseLinkDestination(t.src,p,t.posMax),r.ok){for(o=t.md.normalizeLink(r.str),t.md.validateLink(o)?p=r.pos:o="",a=p;p=h||t.src.charCodeAt(p)!==41)&&(u=!0),p++}if(u){if(typeof t.env.references>"u")return!1;if(p=0?n=t.src.slice(a,p++):p=d+1):p=d+1,n||(n=t.src.slice(f,d)),s=t.env.references[Jl(n)],!s)return t.pos=c,!1;o=s.href,l=s.title}if(!e){t.pos=f,t.posMax=d;const m=t.push("link_open","a",1),O=[["href",o]];m.attrs=O,l&&O.push(["title",l]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)}return t.pos=p,t.posMax=h,!0}function Gx(t,e){let i,n,r,s,o,l,a,u,c="";const h=t.pos,f=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91)return!1;const d=t.pos+2,p=t.md.helpers.parseLinkLabel(t,t.pos+1,!1);if(p<0)return!1;if(s=p+1,s=f)return!1;for(u=s,l=t.md.helpers.parseLinkDestination(t.src,s,t.posMax),l.ok&&(c=t.md.normalizeLink(l.str),t.md.validateLink(c)?s=l.pos:c=""),u=s;s=f||t.src.charCodeAt(s)!==41)return t.pos=h,!1;s++}else{if(typeof t.env.references>"u")return!1;if(s=0?r=t.src.slice(u,s++):s=p+1):s=p+1,r||(r=t.src.slice(d,p)),o=t.env.references[Jl(r)],!o)return t.pos=h,!1;c=o.href,a=o.title}if(!e){n=t.src.slice(d,p);const m=[];t.md.inline.parse(n,t.md,t.env,m);const O=t.push("image","img",0),g=[["src",c],["alt",""]];O.attrs=g,O.children=m,O.content=n,a&&g.push(["title",a])}return t.pos=s,t.posMax=f,!0}const Ux=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Hx=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Kx(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==60)return!1;const n=t.pos,r=t.posMax;for(;;){if(++i>=r)return!1;const o=t.src.charCodeAt(i);if(o===60)return!1;if(o===62)break}const s=t.src.slice(n+1,i);if(Hx.test(s)){const o=t.md.normalizeLink(s);if(!t.md.validateLink(o))return!1;if(!e){const l=t.push("link_open","a",1);l.attrs=[["href",o]],l.markup="autolink",l.info="auto";const a=t.push("text","",0);a.content=t.md.normalizeLinkText(s);const u=t.push("link_close","a",-1);u.markup="autolink",u.info="auto"}return t.pos+=s.length+2,!0}if(Ux.test(s)){const o=t.md.normalizeLink("mailto:"+s);if(!t.md.validateLink(o))return!1;if(!e){const l=t.push("link_open","a",1);l.attrs=[["href",o]],l.markup="autolink",l.info="auto";const a=t.push("text","",0);a.content=t.md.normalizeLinkText(s);const u=t.push("link_close","a",-1);u.markup="autolink",u.info="auto"}return t.pos+=s.length+2,!0}return!1}function Jx(t){return/^\s]/i.test(t)}function e2(t){return/^<\/a\s*>/i.test(t)}function t2(t){const e=t|32;return e>=97&&e<=122}function i2(t,e){if(!t.md.options.html)return!1;const i=t.posMax,n=t.pos;if(t.src.charCodeAt(n)!==60||n+2>=i)return!1;const r=t.src.charCodeAt(n+1);if(r!==33&&r!==63&&r!==47&&!t2(r))return!1;const s=t.src.slice(n).match(Ax);if(!s)return!1;if(!e){const o=t.push("html_inline","",0);o.content=s[0],Jx(o.content)&&t.linkLevel++,e2(o.content)&&t.linkLevel--}return t.pos+=s[0].length,!0}const n2=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,r2=/^&([a-z][a-z0-9]{1,31});/i;function s2(t,e){const i=t.pos,n=t.posMax;if(t.src.charCodeAt(i)!==38||i+1>=n)return!1;if(t.src.charCodeAt(i+1)===35){const s=t.src.slice(i).match(n2);if(s){if(!e){const o=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),l=t.push("text_special","",0);l.content=Ec(o)?ks(o):ks(65533),l.markup=s[0],l.info="entity"}return t.pos+=s[0].length,!0}}else{const s=t.src.slice(i).match(r2);if(s){const o=wy(s[0]);if(o!==s[0]){if(!e){const l=t.push("text_special","",0);l.content=o,l.markup=s[0],l.info="entity"}return t.pos+=s[0].length,!0}}}return!1}function sd(t){const e={},i=t.length;if(!i)return;let n=0,r=-2;const s=[];for(let o=0;oa;u-=s[u]+1){const h=t[u];if(h.marker===l.marker&&h.open&&h.end<0){let f=!1;if((h.close||l.open)&&(h.length+l.length)%3===0&&(h.length%3!==0||l.length%3!==0)&&(f=!0),!f){const d=u>0&&!t[u-1].open?s[u-1]+1:0;s[o]=o-u+d,s[u]=d,l.open=!1,h.end=o,h.close=!1,c=-1,r=-2;break}}}c!==-1&&(e[l.marker][(l.open?3:0)+(l.length||0)%3]=c)}}function o2(t){const e=t.tokens_meta,i=t.tokens_meta.length;sd(t.delimiters);for(let n=0;n0&&n++,r[e].type==="text"&&e+1=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;o||t.pos++,s[e]=t.pos};Ks.prototype.tokenize=function(t){const e=this.ruler.getRules(""),i=e.length,n=t.posMax,r=t.md.options.maxNesting;for(;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(o){if(t.pos>=n)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};Ks.prototype.parse=function(t,e,i,n){const r=new this.State(t,e,i,n);this.tokenize(r);const s=this.ruler2.getRules(""),o=s.length;for(let l=0;l|$))`,e.tpl_email_fuzzy=`(^|${i}|"|\\(|${e.src_ZCc})(${e.src_email_name}@${e.tpl_host_fuzzy_strict})`,e.tpl_link_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${e.src_ZPCc}))((?![$+<=>^\`||])${e.tpl_host_port_fuzzy_strict}${e.src_path})`,e.tpl_link_no_ip_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${e.src_ZPCc}))((?![$+<=>^\`||])${e.tpl_host_port_no_ip_fuzzy_strict}${e.src_path})`,e}function yu(t){return Array.prototype.slice.call(arguments,1).forEach(function(i){i&&Object.keys(i).forEach(function(n){t[n]=i[n]})}),t}function ia(t){return Object.prototype.toString.call(t)}function u2(t){return ia(t)==="[object String]"}function c2(t){return ia(t)==="[object Object]"}function h2(t){return ia(t)==="[object RegExp]"}function od(t){return ia(t)==="[object Function]"}function f2(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const km={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function d2(t){return Object.keys(t||{}).reduce(function(e,i){return e||km.hasOwnProperty(i)},!1)}const p2={"http:":{validate:function(t,e,i){const n=t.slice(e);return i.re.http||(i.re.http=new RegExp(`^\\/\\/${i.re.src_auth}${i.re.src_host_port_strict}${i.re.src_path}`,"i")),i.re.http.test(n)?n.match(i.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,i){const n=t.slice(e);return i.re.no_http||(i.re.no_http=new RegExp("^"+i.re.src_auth+`(?:localhost|(?:(?:${i.re.src_domain})\\.)+${i.re.src_domain_root})`+i.re.src_port+i.re.src_host_terminator+i.re.src_path,"i")),i.re.no_http.test(n)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:n.match(i.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,i){const n=t.slice(e);return i.re.mailto||(i.re.mailto=new RegExp(`^${i.re.src_email_name}@${i.re.src_host_strict}`,"i")),i.re.mailto.test(n)?n.match(i.re.mailto)[0].length:0}}},m2="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",O2="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function g2(t){return function(e,i){const n=e.slice(i);return t.test(n)?n.match(t)[0].length:0}}function ld(){return function(t,e){e.normalize(t)}}function Ol(t){const e=t.re=a2(t.__opts__),i=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||i.push(m2),i.push(e.src_xn),e.src_tlds=i.join("|");function n(l){return l.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(n(e.tpl_email_fuzzy),"i"),e.email_fuzzy_global=RegExp(n(e.tpl_email_fuzzy),"ig"),e.link_fuzzy=RegExp(n(e.tpl_link_fuzzy),"i"),e.link_fuzzy_global=RegExp(n(e.tpl_link_fuzzy),"ig"),e.link_no_ip_fuzzy=RegExp(n(e.tpl_link_no_ip_fuzzy),"i"),e.link_no_ip_fuzzy_global=RegExp(n(e.tpl_link_no_ip_fuzzy),"ig"),e.host_fuzzy_test=RegExp(n(e.tpl_host_fuzzy_test),"i");const r=[];t.__compiled__={};function s(l,a){throw new Error(`(LinkifyIt) Invalid schema "${l}": ${a}`)}Object.keys(t.__schemas__).forEach(function(l){const a=t.__schemas__[l];if(a===null)return;const u={validate:null,link:null};if(t.__compiled__[l]=u,c2(a)){h2(a.validate)?u.validate=g2(a.validate):od(a.validate)?u.validate=a.validate:s(l,a),od(a.normalize)?u.normalize=a.normalize:a.normalize?s(l,a):u.normalize=ld();return}if(u2(a)){r.push(l);return}s(l,a)}),r.forEach(function(l){t.__compiled__[t.__schemas__[l]]&&(t.__compiled__[l].validate=t.__compiled__[t.__schemas__[l]].validate,t.__compiled__[l].normalize=t.__compiled__[t.__schemas__[l]].normalize)}),t.__compiled__[""]={validate:null,normalize:ld()};const o=Object.keys(t.__compiled__).filter(function(l){return l.length>0&&t.__compiled__[l]}).map(f2).join("|");t.re.schema_test=RegExp(`(^|(?!_)(?:[><|]|${e.src_ZPCc}))(${o})`,"i"),t.re.schema_search=RegExp(`(^|(?!_)(?:[><|]|${e.src_ZPCc}))(${o})`,"ig"),t.re.schema_at_start=RegExp(`^${t.re.schema_search.source}`,"i"),t.re.pretest=RegExp(`(${t.re.schema_test.source})|(${t.re.host_fuzzy_test.source})|@`,"i")}function Sm(t,e,i,n){const r=t.slice(i,n);this.schema=e.toLowerCase(),this.index=i,this.lastIndex=n,this.raw=r,this.text=r,this.url=r}function Lt(t,e){if(!(this instanceof Lt))return new Lt(t,e);e||d2(t)&&(e=t,t={}),this.__opts__=yu({},km,e),this.__schemas__=yu({},p2,t),this.__compiled__={},this.__tlds__=O2,this.__tlds_replaced__=!1,this.re={},Ol(this)}Lt.prototype.add=function(e,i){return this.__schemas__[e]=i,Ol(this),this};Lt.prototype.set=function(e){return this.__opts__=yu(this.__opts__,e),this};Lt.prototype.test=function(e){if(!e.length)return!1;let i,n;if(this.re.schema_test.test(e)){for(n=this.re.schema_search,n.lastIndex=0;(i=n.exec(e))!==null;)if(this.testSchemaAt(e,i[2],n.lastIndex))return!0}return!!(this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&e.search(this.re.host_fuzzy_test)>=0&&e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy)!==null||this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&e.match(this.re.email_fuzzy)!==null)};Lt.prototype.pretest=function(e){return this.re.pretest.test(e)};Lt.prototype.testSchemaAt=function(e,i,n){return this.__compiled__[i.toLowerCase()]?this.__compiled__[i.toLowerCase()].validate(e,n,this):0};Lt.prototype.match=function(e){const i=[],n=[],r=[],s=[];let o,l,a;function u(f,d){return f?d?f.index!==d.index?f.index=d.lastIndex?f:d:f:d}if(!e.length)return null;if(this.re.schema_test.test(e))for(a=this.re.schema_search,a.lastIndex=0;(o=a.exec(e))!==null;)l=this.testSchemaAt(e,o[2],a.lastIndex),l&&n.push({schema:o[2],index:o.index+o[1].length,lastIndex:o.index+o[0].length+l});if(this.__opts__.fuzzyLink&&this.__compiled__["http:"])for(a=this.__opts__.fuzzyIP?this.re.link_fuzzy_global:this.re.link_no_ip_fuzzy_global,a.lastIndex=0;(o=a.exec(e))!==null;)r.push({schema:"",index:o.index+o[1].length,lastIndex:o.index+o[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"])for(a=this.re.email_fuzzy_global,a.lastIndex=0;(o=a.exec(e))!==null;)s.push({schema:"mailto:",index:o.index+o[1].length,lastIndex:o.index+o[0].length});const c=[0,0,0];let h=0;for(;;){const f=[n[c[0]],s[c[1]],r[c[2]]],d=u(u(f[0],f[1]),f[2]);if(!d)break;if(d===f[0]?c[0]++:d===f[1]?c[1]++:c[2]++,d.index= 0x80 (not a basic code point)","invalid-input":"Invalid input"},$a=vi-Lc,yi=Math.floor,Qa=String.fromCharCode;function Yi(t){throw new RangeError(S2[t])}function w2(t,e){const i=[];let n=t.length;for(;n--;)i[n]=e(t[n]);return i}function _m(t,e){const i=t.split("@");let n="";i.length>1&&(n=i[0]+"@",t=i[1]),t=t.replace(k2,".");const r=t.split("."),s=w2(r,e).join(".");return n+s}function Pm(t){const e=[];let i=0;const n=t.length;for(;i=55296&&r<=56319&&iString.fromCodePoint(...t),Q2=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:vi},ad=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},Cm=function(t,e,i){let n=0;for(t=i?yi(t/v2):t>>1,t+=yi(t/e);t>$a*Qs>>1;n+=vi)t=yi(t/$a);return yi(n+($a+1)*t/(t+b2))},Tm=function(t){const e=[],i=t.length;let n=0,r=$m,s=wm,o=t.lastIndexOf(Qm);o<0&&(o=0);for(let l=0;l=128&&Yi("not-basic"),e.push(t.charCodeAt(l));for(let l=o>0?o+1:0;l=i&&Yi("invalid-input");const f=Q2(t.charCodeAt(l++));f>=vi&&Yi("invalid-input"),f>yi((Kn-n)/c)&&Yi("overflow"),n+=f*c;const d=h<=s?Lc:h>=s+Qs?Qs:h-s;if(fyi(Kn/p)&&Yi("overflow"),c*=p}const u=e.length+1;s=Cm(n-a,u,a==0),yi(n/u)>Kn-r&&Yi("overflow"),r+=yi(n/u),n%=u,e.splice(n++,0,r)}return String.fromCodePoint(...e)},Am=function(t){const e=[];t=Pm(t);const i=t.length;let n=$m,r=0,s=wm;for(const a of t)a<128&&e.push(Qa(a));const o=e.length;let l=o;for(o&&e.push(Qm);l=n&&cyi((Kn-r)/u)&&Yi("overflow"),r+=(a-n)*u,n=a;for(const c of t)if(cKn&&Yi("overflow"),c===n){let h=r;for(let f=vi;;f+=vi){const d=f<=s?Lc:f>=s+Qs?Qs:f-s;if(h=0))try{e.hostname=Em.toASCII(e.hostname)}catch{}return Us(Pc(e))}function Z2(t){const e=Cc(t,!0);if(e.hostname&&(!e.protocol||Rm.indexOf(e.protocol)>=0))try{e.hostname=Em.toUnicode(e.hostname)}catch{}return pr(Pc(e),pr.defaultChars+"%")}function Wt(t,e){if(!(this instanceof Wt))return new Wt(t,e);e||Ac(t)||(e=t||{},t="default"),this.inline=new Ks,this.block=new ta,this.core=new Rc,this.renderer=new Ar,this.linkify=new Lt,this.validateLink=L2,this.normalizeLink=M2,this.normalizeLinkText=Z2,this.utils=zy,this.helpers=Kl({},Vy),this.options={},this.configure(t),e&&this.set(e)}Wt.prototype.set=function(t){return Kl(this.options,t),this};Wt.prototype.configure=function(t){const e=this;if(Ac(t)){const i=t;if(t=E2[i],!t)throw new Error('Wrong `markdown-it` preset "'+i+'", check name')}if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(i){t.components[i].rules&&e[i].ruler.enableOnly(t.components[i].rules),t.components[i].rules2&&e[i].ruler2.enableOnly(t.components[i].rules2)}),this};Wt.prototype.enable=function(t,e){let i=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(r){i=i.concat(this[r].ruler.enable(t,!0))},this),i=i.concat(this.inline.ruler2.enable(t,!0));const n=t.filter(function(r){return i.indexOf(r)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};Wt.prototype.disable=function(t,e){let i=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(r){i=i.concat(this[r].ruler.disable(t,!0))},this),i=i.concat(this.inline.ruler2.disable(t,!0));const n=t.filter(function(r){return i.indexOf(r)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};Wt.prototype.use=function(t){const e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};Wt.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");const i=new this.core.State(t,this,e);return this.core.process(i),i.tokens};Wt.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Wt.prototype.parseInline=function(t,e){const i=new this.core.State(t,this,e);return i.inlineMode=!0,this.core.process(i),i.tokens};Wt.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};const ud=new Set([!0,!1,"alt","title"]);function Dm(t,e){return(Array.isArray(t)?t:[]).filter(([i])=>i!==e)}function Lm(t,e){t&&t.attrs&&(t.attrs=Dm(t.attrs,e))}function I2(t,e){if(!ud.has(t))throw new TypeError(`figcaption must be one of: ${[...ud]}.`);if(t==="alt")return e.content;const i=e.attrs.find(([n])=>n==="title");return Array.isArray(i)&&i[1]?(Lm(e,"title"),i[1]):void 0}function X2(t,e){e=e||{},t.core.ruler.before("linkify","image_figures",function(i){let n=1;for(let r=1,s=i.tokens.length;rc.match(u)).map(c=>Array.from(c))}if(e.tabindex&&(i.tokens[r-1].attrPush(["tabindex",n]),n++),e.lazy&&(a.attrs.some(([u])=>u==="loading")||a.attrs.push(["loading","lazy"])),e.async&&(a.attrs.some(([u])=>u==="decoding")||a.attrs.push(["decoding","async"])),e.classes&&typeof e.classes=="string"){let u=!1;for(let c=0,h=a.attrs.length;cc==="src");a.attrs.push(["data-src",u[1]]),Lm(a,"src")}}})}const z2=/\\([ \\!"#$%&'()*+,./:;<=>?@[\]^_`{|}~-])/g;function j2(t,e){const i=t.posMax,n=t.pos;if(t.src.charCodeAt(n)!==126||e||n+2>=i)return!1;t.pos=n+1;let r=!1;for(;t.pos?@[\]^_`{|}~-])/g;function V2(t,e){const i=t.posMax,n=t.pos;if(t.src.charCodeAt(n)!==94||e||n+2>=i)return!1;t.pos=n+1;let r=!1;for(;t.pos{const i=t.split(","),n=i[0].match(/:(.*?);/);if(n){const r=n[1],s=atob(i[1]);let o=s.length;const l=new Uint8Array(o);for(;o--;)l[o]=s.charCodeAt(o);return new File([l],e,{type:r})}return null},Y2=(t,e)=>{if(!t)return t;const i=e.split(` +`),n=['"),`${t}${n.join("")}`},N2=(t,e)=>{if(!t||!e)return 0;const i=t==null?void 0:t.getBoundingClientRect();if(e===document.documentElement)return i.top-e.clientTop;const n=e==null?void 0:e.getBoundingClientRect();return i.top-n.top},cd=(()=>{let t=0;return()=>++t})();var G2={hasSubscribers:!1},U2=G2,H2=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,Mm=new Set,hd=typeof process=="object"&&process?process:{},K2=(t,e,i,n)=>{typeof hd.emitWarning=="function"?hd.emitWarning(t,e,i,n):console.error(`[${i}] ${e}: ${t}`)},J2=t=>!Mm.has(t),Bi=t=>!!t&&t===Math.floor(t)&&t>0&&isFinite(t),Zm=t=>Bi(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?Ho:null:null,Ho=class extends Array{constructor(t){super(t),this.fill(0)}},wi,ar,ek=(wi=class{constructor(e,i){Ze(this,"heap");Ze(this,"length");if(!S(wi,ar))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new i(e),this.length=0}static create(e){let i=Zm(e);if(!i)return[];U(wi,ar,!0);let n=new wi(e,i);return U(wi,ar,!1),n}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},ar=new WeakMap,oe(wi,ar,!1),wi),Up,Hp,Xt,wt,Ut,Sn,Ht,ur,cr,Kt,je,Jt,Ie,_e,ne,ot,$t,it,Ve,ei,qe,ti,ii,Qt,_t,ni,hr,lt,wn,Z,xu,$n,Ai,Ys,Pt,Im,Qn,fr,Ns,Vi,qi,ku,Vn,Ko,Xm,zm,Jo,we,Su,jm,Fm,Hr,wu,Kr,Wi,$u,dr,tk=(dr=class{constructor(e){oe(this,Z);oe(this,Xt);oe(this,wt);oe(this,Ut);oe(this,Sn);oe(this,Ht);oe(this,ur);oe(this,cr);oe(this,Kt);Ze(this,"ttl");Ze(this,"ttlResolution");Ze(this,"ttlAutopurge");Ze(this,"updateAgeOnGet");Ze(this,"updateAgeOnHas");Ze(this,"allowStale");Ze(this,"noDisposeOnSet");Ze(this,"noUpdateTTL");Ze(this,"maxEntrySize");Ze(this,"sizeCalculation");Ze(this,"noDeleteOnFetchRejection");Ze(this,"noDeleteOnStaleGet");Ze(this,"allowStaleOnFetchAbort");Ze(this,"allowStaleOnFetchRejection");Ze(this,"ignoreFetchAbort");Ze(this,"backgroundFetchSize");oe(this,je);oe(this,Jt);oe(this,Ie);oe(this,_e);oe(this,ne);oe(this,ot);oe(this,$t);oe(this,it);oe(this,Ve);oe(this,ei);oe(this,qe);oe(this,ti);oe(this,ii);oe(this,Qt);oe(this,_t);oe(this,ni);oe(this,hr);oe(this,lt);oe(this,wn);oe(this,$n,()=>{});oe(this,Ai,()=>{});oe(this,Ys,()=>{});oe(this,Pt,()=>!1);oe(this,Qn,e=>{});oe(this,fr,(e,i,n)=>{});oe(this,Ns,(e,i,n,r)=>{if(n||r)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});Ze(this,Up,"LRUCache");let{max:i=0,ttl:n,ttlResolution:r=1,ttlAutopurge:s,updateAgeOnGet:o,updateAgeOnHas:l,allowStale:a,dispose:u,onInsert:c,disposeAfter:h,noDisposeOnSet:f,noUpdateTTL:d,maxSize:p=0,maxEntrySize:m=0,sizeCalculation:O,fetchMethod:g,memoMethod:b,noDeleteOnFetchRejection:y,noDeleteOnStaleGet:w,allowStaleOnFetchRejection:v,allowStaleOnFetchAbort:Q,ignoreFetchAbort:P,backgroundFetchSize:_=1,perf:R}=e;if(this.backgroundFetchSize=_,R!==void 0&&typeof(R==null?void 0:R.now)!="function")throw new TypeError("perf option must have a now() method if specified");if(U(this,Kt,R??H2),i!==0&&!Bi(i))throw new TypeError("max option must be a nonnegative integer");let L=i?Zm(i):Array;if(!L)throw new Error("invalid max value: "+i);if(U(this,Xt,i),U(this,wt,p),this.maxEntrySize=m||S(this,wt),this.sizeCalculation=O,this.sizeCalculation){if(!S(this,wt)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(b!==void 0&&typeof b!="function")throw new TypeError("memoMethod must be a function if defined");if(U(this,cr,b),g!==void 0&&typeof g!="function")throw new TypeError("fetchMethod must be a function if specified");if(U(this,ur,g),U(this,hr,!!g),U(this,Ie,new Map),U(this,_e,Array.from({length:i}).fill(void 0)),U(this,ne,Array.from({length:i}).fill(void 0)),U(this,ot,new L(i)),U(this,$t,new L(i)),U(this,it,0),U(this,Ve,0),U(this,ei,ek.create(i)),U(this,je,0),U(this,Jt,0),typeof u=="function"&&U(this,Ut,u),typeof c=="function"&&U(this,Sn,c),typeof h=="function"?(U(this,Ht,h),U(this,qe,[])):(U(this,Ht,void 0),U(this,qe,void 0)),U(this,ni,!!S(this,Ut)),U(this,wn,!!S(this,Sn)),U(this,lt,!!S(this,Ht)),this.noDisposeOnSet=!!f,this.noUpdateTTL=!!d,this.noDeleteOnFetchRejection=!!y,this.allowStaleOnFetchRejection=!!v,this.allowStaleOnFetchAbort=!!Q,this.ignoreFetchAbort=!!P,this.maxEntrySize!==0){if(S(this,wt)!==0&&!Bi(S(this,wt)))throw new TypeError("maxSize must be a positive integer if specified");if(!Bi(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");j(this,Z,Im).call(this)}if(this.allowStale=!!a,this.noDeleteOnStaleGet=!!w,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!l,this.ttlResolution=Bi(r)||r===0?r:1,this.ttlAutopurge=!!s,this.ttl=n||0,this.ttl){if(!Bi(this.ttl))throw new TypeError("ttl must be a positive integer if specified");j(this,Z,xu).call(this)}if(S(this,Xt)===0&&this.ttl===0&&S(this,wt)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!S(this,Xt)&&!S(this,wt)){let I="LRU_CACHE_UNBOUNDED";J2(I)&&(Mm.add(I),K2("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",I,dr))}}get perf(){return S(this,Kt)}static unsafeExposeInternals(e){return{starts:S(e,ii),ttls:S(e,Qt),autopurgeTimers:S(e,_t),sizes:S(e,ti),keyMap:S(e,Ie),keyList:S(e,_e),valList:S(e,ne),next:S(e,ot),prev:S(e,$t),get head(){return S(e,it)},get tail(){return S(e,Ve)},free:S(e,ei),isBackgroundFetch:i=>{var n;return j(n=e,Z,we).call(n,i)},backgroundFetch:(i,n,r,s)=>{var o;return j(o=e,Z,Jo).call(o,i,n,r,s)},moveToTail:i=>{var n;return j(n=e,Z,Kr).call(n,i)},indexes:i=>{var n;return j(n=e,Z,Vi).call(n,i)},rindexes:i=>{var n;return j(n=e,Z,qi).call(n,i)},isStale:i=>{var n;return S(n=e,Pt).call(n,i)}}}get max(){return S(this,Xt)}get maxSize(){return S(this,wt)}get calculatedSize(){return S(this,Jt)}get size(){return S(this,je)}get fetchMethod(){return S(this,ur)}get memoMethod(){return S(this,cr)}get dispose(){return S(this,Ut)}get onInsert(){return S(this,Sn)}get disposeAfter(){return S(this,Ht)}getRemainingTTL(e){return S(this,Ie).has(e)?1/0:0}*entries(){for(let e of j(this,Z,Vi).call(this))S(this,ne)[e]!==void 0&&S(this,_e)[e]!==void 0&&!j(this,Z,we).call(this,S(this,ne)[e])&&(yield[S(this,_e)[e],S(this,ne)[e]])}*rentries(){for(let e of j(this,Z,qi).call(this))S(this,ne)[e]!==void 0&&S(this,_e)[e]!==void 0&&!j(this,Z,we).call(this,S(this,ne)[e])&&(yield[S(this,_e)[e],S(this,ne)[e]])}*keys(){for(let e of j(this,Z,Vi).call(this)){let i=S(this,_e)[e];i!==void 0&&!j(this,Z,we).call(this,S(this,ne)[e])&&(yield i)}}*rkeys(){for(let e of j(this,Z,qi).call(this)){let i=S(this,_e)[e];i!==void 0&&!j(this,Z,we).call(this,S(this,ne)[e])&&(yield i)}}*values(){for(let e of j(this,Z,Vi).call(this))S(this,ne)[e]!==void 0&&!j(this,Z,we).call(this,S(this,ne)[e])&&(yield S(this,ne)[e])}*rvalues(){for(let e of j(this,Z,qi).call(this))S(this,ne)[e]!==void 0&&!j(this,Z,we).call(this,S(this,ne)[e])&&(yield S(this,ne)[e])}[(Hp=Symbol.iterator,Up=Symbol.toStringTag,Hp)](){return this.entries()}find(e,i={}){for(let n of j(this,Z,Vi).call(this)){let r=S(this,ne)[n],s=j(this,Z,we).call(this,r)?r.__staleWhileFetching:r;if(s!==void 0&&e(s,S(this,_e)[n],this))return j(this,Z,Hr).call(this,S(this,_e)[n],i)}}forEach(e,i=this){for(let n of j(this,Z,Vi).call(this)){let r=S(this,ne)[n],s=j(this,Z,we).call(this,r)?r.__staleWhileFetching:r;s!==void 0&&e.call(i,s,S(this,_e)[n],this)}}rforEach(e,i=this){for(let n of j(this,Z,qi).call(this)){let r=S(this,ne)[n],s=j(this,Z,we).call(this,r)?r.__staleWhileFetching:r;s!==void 0&&e.call(i,s,S(this,_e)[n],this)}}purgeStale(){let e=!1;for(let i of j(this,Z,qi).call(this,{allowStale:!0}))S(this,Pt).call(this,i)&&(j(this,Z,Wi).call(this,S(this,_e)[i],"expire"),e=!0);return e}info(e){let i=S(this,Ie).get(e);if(i===void 0)return;let n=S(this,ne)[i],r=j(this,Z,we).call(this,n)?n.__staleWhileFetching:n;if(r===void 0)return;let s={value:r};if(S(this,Qt)&&S(this,ii)){let o=S(this,Qt)[i],l=S(this,ii)[i];if(o&&l){let a=o-(S(this,Kt).now()-l);s.ttl=a,s.start=Date.now()}}return S(this,ti)&&(s.size=S(this,ti)[i]),s}dump(){let e=[];for(let i of j(this,Z,Vi).call(this,{allowStale:!0})){let n=S(this,_e)[i],r=S(this,ne)[i],s=j(this,Z,we).call(this,r)?r.__staleWhileFetching:r;if(s===void 0||n===void 0)continue;let o={value:s};if(S(this,Qt)&&S(this,ii)){o.ttl=S(this,Qt)[i];let l=S(this,Kt).now()-S(this,ii)[i];o.start=Math.floor(Date.now()-l)}S(this,ti)&&(o.size=S(this,ti)[i]),e.unshift([n,o])}return e}load(e){this.clear();for(let[i,n]of e){if(n.start){let r=Date.now()-n.start;n.start=S(this,Kt).now()-r}j(this,Z,Vn).call(this,i,n.value,n)}}set(e,i,n={}){let{status:r=void 0}=n;return n.status=r,r&&(r.op="set",r.key=e,i!==void 0&&(r.value=i),r.cache=this),j(this,Z,Vn).call(this,e,i,n)}pop(){var e;try{for(;S(this,je);){let i=S(this,ne)[S(this,it)];if(j(this,Z,Ko).call(this,!0),j(this,Z,we).call(this,i)){if(i.__staleWhileFetching)return i.__staleWhileFetching}else if(i!==void 0)return i}}finally{if(S(this,lt)&&S(this,qe)){let i=S(this,qe),n;for(;n=i==null?void 0:i.shift();)(e=S(this,Ht))==null||e.call(this,...n)}}}has(e,i={}){let{status:n=void 0}=i;return i.status=n,n&&(n.op="has",n.key=e,n.cache=this),j(this,Z,Xm).call(this,e,i)}peek(e,i={}){let{status:n=void 0}=i;return n&&(n.op="peek",n.key=e,n.cache=this),i.status=n,j(this,Z,zm).call(this,e,i)}fetch(e,i={}){let{status:n=void 0}=i;return i.status=n,n&&i.context&&(n.context=i.context),j(this,Z,Su).call(this,e,i)}forceFetch(e,i={}){let{status:n=void 0}=i;return i.status=n,n&&i.context&&(n.context=i.context),j(this,Z,jm).call(this,e,i)}memo(e,i={}){let{status:n=void 0}=i;i.status=n,n&&(n.op="memo",n.key=e,i.context&&(n.context=i.context),n.cache=this);let r=j(this,Z,Fm).call(this,e,i);return n&&(n.value=r),r}get(e,i={}){let{status:n=void 0}=i;i.status=n,n&&(n.op="get",n.key=e,n.cache=this);let r=j(this,Z,Hr).call(this,e,i);return n&&(r!==void 0&&(n.value=r),U2.hasSubscribers),r}delete(e){return j(this,Z,Wi).call(this,e,"delete")}clear(){return j(this,Z,$u).call(this,"delete")}},Xt=new WeakMap,wt=new WeakMap,Ut=new WeakMap,Sn=new WeakMap,Ht=new WeakMap,ur=new WeakMap,cr=new WeakMap,Kt=new WeakMap,je=new WeakMap,Jt=new WeakMap,Ie=new WeakMap,_e=new WeakMap,ne=new WeakMap,ot=new WeakMap,$t=new WeakMap,it=new WeakMap,Ve=new WeakMap,ei=new WeakMap,qe=new WeakMap,ti=new WeakMap,ii=new WeakMap,Qt=new WeakMap,_t=new WeakMap,ni=new WeakMap,hr=new WeakMap,lt=new WeakMap,wn=new WeakMap,Z=new WeakSet,xu=function(){let e=new Ho(S(this,Xt)),i=new Ho(S(this,Xt));U(this,Qt,e),U(this,ii,i);let n=this.ttlAutopurge?Array.from({length:S(this,Xt)}):void 0;U(this,_t,n),U(this,Ys,(a,u,c=S(this,Kt).now())=>{i[a]=u!==0?c:0,e[a]=u,r(a,u)}),U(this,$n,a=>{i[a]=e[a]!==0?S(this,Kt).now():0,r(a,e[a])});let r=this.ttlAutopurge?(a,u)=>{if(n!=null&&n[a]&&(clearTimeout(n[a]),n[a]=void 0),u&&u!==0&&n){let c=setTimeout(()=>{S(this,Pt).call(this,a)?(j(this,Z,Wi).call(this,S(this,_e)[a],"expire"),n[a]=void 0):r(a,l(a))},u+1);c.unref&&c.unref(),n[a]=c}}:()=>{};U(this,Ai,(a,u)=>{if(e[u]){let c=e[u],h=i[u];if(!c||!h)return;a.ttl=c,a.start=h,a.now=s||o();let f=a.now-h;a.remainingTTL=c-f}});let s=0,o=()=>{let a=S(this,Kt).now();if(this.ttlResolution>0){s=a;let u=setTimeout(()=>s=0,this.ttlResolution);u.unref&&u.unref()}return a};this.getRemainingTTL=a=>{let u=S(this,Ie).get(a);return u===void 0?0:l(u)};let l=a=>{let u=e[a],c=i[a];if(!u||!c)return 1/0;let h=(s||o())-c;return u-h};U(this,Pt,a=>{let u=i[a],c=e[a];return!!c&&!!u&&(s||o())-u>c})},$n=new WeakMap,Ai=new WeakMap,Ys=new WeakMap,Pt=new WeakMap,Im=function(){let e=new Ho(S(this,Xt));U(this,Jt,0),U(this,ti,e),U(this,Qn,i=>{U(this,Jt,S(this,Jt)-e[i]),e[i]=0}),U(this,Ns,(i,n,r,s)=>{if(!Bi(r)){if(j(this,Z,we).call(this,n))return this.backgroundFetchSize;if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(r=s(n,i),!Bi(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.")}return r}),U(this,fr,(i,n,r)=>{if(e[i]=n,S(this,wt)){let s=S(this,wt)-e[i];for(;S(this,Jt)>s;)j(this,Z,Ko).call(this,!0)}U(this,Jt,S(this,Jt)+e[i]),r&&(r.entrySize=n,r.totalCalculatedSize=S(this,Jt))})},Qn=new WeakMap,fr=new WeakMap,Ns=new WeakMap,Vi=function*({allowStale:e=this.allowStale}={}){if(S(this,je))for(let i=S(this,Ve);j(this,Z,ku).call(this,i)&&((e||!S(this,Pt).call(this,i))&&(yield i),i!==S(this,it));)i=S(this,$t)[i]},qi=function*({allowStale:e=this.allowStale}={}){if(S(this,je))for(let i=S(this,it);j(this,Z,ku).call(this,i)&&((e||!S(this,Pt).call(this,i))&&(yield i),i!==S(this,Ve));)i=S(this,ot)[i]},ku=function(e){return e!==void 0&&S(this,Ie).get(S(this,_e)[e])===e},Vn=function(e,i,n,r){var p,m,O,g,b,y,w,v;let{ttl:s=this.ttl,start:o,noDisposeOnSet:l=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:u}=n,c=j(this,Z,we).call(this,i);if(i===void 0)return u&&(u.set="deleted"),this.delete(e),this;let{noUpdateTTL:h=this.noUpdateTTL}=n;u&&!c&&(u.value=i);let f=S(this,Ns).call(this,e,i,n.size||0,a,u);if(this.maxEntrySize&&f>this.maxEntrySize)return j(this,Z,Wi).call(this,e,"set"),u&&(u.set="miss",u.maxEntrySizeExceeded=!0),this;let d=S(this,je)===0?void 0:S(this,Ie).get(e);if(d===void 0)d=S(this,je)===0?S(this,Ve):S(this,ei).length!==0?S(this,ei).pop():S(this,je)===S(this,Xt)?j(this,Z,Ko).call(this,!1):S(this,je),S(this,_e)[d]=e,S(this,ne)[d]=i,S(this,Ie).set(e,d),S(this,ot)[S(this,Ve)]=d,S(this,$t)[d]=S(this,Ve),U(this,Ve,d),mo(this,je)._++,S(this,fr).call(this,d,f,u),u&&(u.set="add"),h=!1,S(this,wn)&&!c&&((p=S(this,Sn))==null||p.call(this,i,e,"add"));else{j(this,Z,Kr).call(this,d);let Q=S(this,ne)[d];if(i!==Q){if(!l)if(j(this,Z,we).call(this,Q)){Q!==r&&Q.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:P}=Q;P!==void 0&&P!==i&&(S(this,ni)&&((m=S(this,Ut))==null||m.call(this,P,e,"set")),S(this,lt)&&((O=S(this,qe))==null||O.push([P,e,"set"])))}else S(this,ni)&&((g=S(this,Ut))==null||g.call(this,Q,e,"set")),S(this,lt)&&((b=S(this,qe))==null||b.push([Q,e,"set"]));if(S(this,Qn).call(this,d),S(this,fr).call(this,d,f,u),S(this,ne)[d]=i,!c){let P=Q&&j(this,Z,we).call(this,Q)?Q.__staleWhileFetching:Q,_=P===void 0?"add":i!==P?"replace":"update";u&&(u.set=_,P!==void 0&&(u.oldValue=P)),S(this,wn)&&((y=this.onInsert)==null||y.call(this,i,e,_))}}else c||(u&&(u.set="update"),S(this,wn)&&((w=this.onInsert)==null||w.call(this,i,e,"update")))}if(s!==0&&!S(this,Qt)&&j(this,Z,xu).call(this),S(this,Qt)&&(h||S(this,Ys).call(this,d,s,o),u&&S(this,Ai).call(this,u,d)),!l&&S(this,lt)&&S(this,qe)){let Q=S(this,qe),P;for(;P=Q==null?void 0:Q.shift();)(v=S(this,Ht))==null||v.call(this,...P)}return this},Ko=function(e){var l,a,u;let i=S(this,it),n=S(this,_e)[i],r=S(this,ne)[i],s=j(this,Z,we).call(this,r);s&&r.__abortController.abort(new Error("evicted"));let o=s?r.__staleWhileFetching:r;return(S(this,ni)||S(this,lt))&&o!==void 0&&(S(this,ni)&&((l=S(this,Ut))==null||l.call(this,o,n,"evict")),S(this,lt)&&((a=S(this,qe))==null||a.push([o,n,"evict"]))),S(this,Qn).call(this,i),(u=S(this,_t))!=null&&u[i]&&(clearTimeout(S(this,_t)[i]),S(this,_t)[i]=void 0),e&&(S(this,_e)[i]=void 0,S(this,ne)[i]=void 0,S(this,ei).push(i)),S(this,je)===1?(U(this,it,U(this,Ve,0)),S(this,ei).length=0):U(this,it,S(this,ot)[i]),S(this,Ie).delete(n),mo(this,je)._--,i},Xm=function(e,i={}){let{updateAgeOnHas:n=this.updateAgeOnHas,status:r}=i,s=S(this,Ie).get(e);if(s!==void 0){let o=S(this,ne)[s];if(j(this,Z,we).call(this,o)&&o.__staleWhileFetching===void 0)return!1;if(S(this,Pt).call(this,s))r&&(r.has="stale",S(this,Ai).call(this,r,s));else return n&&S(this,$n).call(this,s),r&&(r.has="hit",S(this,Ai).call(this,r,s)),!0}else r&&(r.has="miss");return!1},zm=function(e,i){let{status:n,allowStale:r=this.allowStale}=i,s=S(this,Ie).get(e);if(s===void 0||!r&&S(this,Pt).call(this,s)){n&&(n.peek=s===void 0?"miss":"stale");return}let o=S(this,ne)[s],l=j(this,Z,we).call(this,o)?o.__staleWhileFetching:o;return n&&(l!==void 0?(n.peek="hit",n.value=l):n.peek="miss"),l},Jo=function(e,i,n,r){let s=i===void 0?void 0:S(this,ne)[i];if(j(this,Z,we).call(this,s))return s;let o=new AbortController,{signal:l}=n;l==null||l.addEventListener("abort",()=>o.abort(l.reason),{signal:o.signal});let a={signal:o.signal,options:n,context:r},u=(m,O=!1)=>{let{aborted:g}=o.signal,b=n.ignoreFetchAbort&&m!==void 0,y=n.ignoreFetchAbort||!!(n.allowStaleOnFetchAbort&&m!==void 0);if(n.status&&(g&&!O?(n.status.fetchAborted=!0,n.status.fetchError=o.signal.reason,b&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),g&&!b&&!O)return h(o.signal.reason,y);let w=d,v=S(this,ne)[i];return(v===d||v===void 0&&b&&O)&&(m===void 0?w.__staleWhileFetching!==void 0?S(this,ne)[i]=w.__staleWhileFetching:j(this,Z,Wi).call(this,e,"fetch"):(n.status&&(n.status.fetchUpdated=!0),j(this,Z,Vn).call(this,e,m,a.options,w))),m},c=m=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=m),h(m,!1)),h=(m,O)=>{let{aborted:g}=o.signal,b=g&&n.allowStaleOnFetchAbort,y=b||n.allowStaleOnFetchRejection,w=y||n.noDeleteOnFetchRejection,v=d;if(S(this,ne)[i]===d&&(!w||!O&&v.__staleWhileFetching===void 0?j(this,Z,Wi).call(this,e,"fetch"):b||(S(this,ne)[i]=v.__staleWhileFetching)),y)return n.status&&v.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),v.__staleWhileFetching;if(v.__returned===v)throw m},f=(m,O)=>{var b;let g=(b=S(this,ur))==null?void 0:b.call(this,e,s,a);o.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(m(void 0),n.allowStaleOnFetchAbort&&(m=y=>u(y,!0)))}),g&&g instanceof Promise?g.then(y=>m(y===void 0?void 0:y),O):g!==void 0&&m(g)};n.status&&(n.status.fetchDispatched=!0);let d=new Promise(f).then(u,c),p=Object.assign(d,{__abortController:o,__staleWhileFetching:s,__returned:void 0});return i===void 0?(j(this,Z,Vn).call(this,e,p,{...a.options,status:void 0}),i=S(this,Ie).get(e)):S(this,ne)[i]=p,p},we=function(e){if(!S(this,hr))return!1;let i=e;return!!i&&i instanceof Promise&&i.hasOwnProperty("__staleWhileFetching")&&i.__abortController instanceof AbortController},Su=async function(e,i={}){let{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:l=this.noDisposeOnSet,size:a=0,sizeCalculation:u=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:h=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:f=this.allowStaleOnFetchRejection,ignoreFetchAbort:d=this.ignoreFetchAbort,allowStaleOnFetchAbort:p=this.allowStaleOnFetchAbort,context:m,forceRefresh:O=!1,status:g,signal:b}=i;if(g&&(g.op="fetch",g.key=e,O&&(g.forceRefresh=!0),g.cache=this),!S(this,hr))return g&&(g.fetch="get"),j(this,Z,Hr).call(this,e,{allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:s,status:g});let y={allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:s,ttl:o,noDisposeOnSet:l,size:a,sizeCalculation:u,noUpdateTTL:c,noDeleteOnFetchRejection:h,allowStaleOnFetchRejection:f,allowStaleOnFetchAbort:p,ignoreFetchAbort:d,status:g,signal:b},w=S(this,Ie).get(e);if(w===void 0){g&&(g.fetch="miss");let v=j(this,Z,Jo).call(this,e,w,y,m);return v.__returned=v}else{let v=S(this,ne)[w];if(j(this,Z,we).call(this,v)){let R=n&&v.__staleWhileFetching!==void 0;return g&&(g.fetch="inflight",R&&(g.returnedStale=!0)),R?v.__staleWhileFetching:v.__returned=v}let Q=S(this,Pt).call(this,w);if(!O&&!Q)return g&&(g.fetch="hit"),j(this,Z,Kr).call(this,w),r&&S(this,$n).call(this,w),g&&S(this,Ai).call(this,g,w),v;let P=j(this,Z,Jo).call(this,e,w,y,m),_=P.__staleWhileFetching!==void 0&&n;return g&&(g.fetch=Q?"stale":"refresh",_&&Q&&(g.returnedStale=!0)),_?P.__staleWhileFetching:P.__returned=P}},jm=async function(e,i={}){let n=await j(this,Z,Su).call(this,e,i);if(n===void 0)throw new Error("fetch() returned undefined");return n},Fm=function(e,i={}){let n=S(this,cr);if(!n)throw new Error("no memoMethod provided to constructor");let{context:r,status:s,forceRefresh:o,...l}=i;s&&o&&(s.forceRefresh=!0);let a=j(this,Z,Hr).call(this,e,l),u=o||a===void 0;if(s&&(s.memo=u?"miss":"hit",u||(s.value=a)),!u)return a;let c=n(e,a,{options:l,context:r});return s&&(s.value=c),j(this,Z,Vn).call(this,e,c,l),c},Hr=function(e,i={}){let{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:o}=i,l=S(this,Ie).get(e);if(l===void 0){o&&(o.get="miss");return}let a=S(this,ne)[l],u=j(this,Z,we).call(this,a);return o&&S(this,Ai).call(this,o,l),S(this,Pt).call(this,l)?u?(o&&(o.get="stale-fetching"),n&&a.__staleWhileFetching!==void 0?(o&&(o.returnedStale=!0),a.__staleWhileFetching):void 0):(s||j(this,Z,Wi).call(this,e,"expire"),o&&(o.get="stale"),n?(o&&(o.returnedStale=!0),a):void 0):(o&&(o.get=u?"fetching":"hit"),j(this,Z,Kr).call(this,l),r&&S(this,$n).call(this,l),u?a.__staleWhileFetching:a)},wu=function(e,i){S(this,$t)[i]=e,S(this,ot)[e]=i},Kr=function(e){e!==S(this,Ve)&&(e===S(this,it)?U(this,it,S(this,ot)[e]):j(this,Z,wu).call(this,S(this,$t)[e],S(this,ot)[e]),j(this,Z,wu).call(this,S(this,Ve),e),U(this,Ve,e))},Wi=function(e,i){var r,s,o,l,a;let n=!1;if(S(this,je)!==0){let u=S(this,Ie).get(e);if(u!==void 0)if((r=S(this,_t))!=null&&r[u]&&(clearTimeout(S(this,_t)[u]),S(this,_t)[u]=void 0),n=!0,S(this,je)===1)j(this,Z,$u).call(this,i);else{S(this,Qn).call(this,u);let c=S(this,ne)[u];if(j(this,Z,we).call(this,c)?c.__abortController.abort(new Error("deleted")):(S(this,ni)||S(this,lt))&&(S(this,ni)&&((s=S(this,Ut))==null||s.call(this,c,e,i)),S(this,lt)&&((o=S(this,qe))==null||o.push([c,e,i]))),S(this,Ie).delete(e),S(this,_e)[u]=void 0,S(this,ne)[u]=void 0,u===S(this,Ve))U(this,Ve,S(this,$t)[u]);else if(u===S(this,it))U(this,it,S(this,ot)[u]);else{let h=S(this,$t)[u];S(this,ot)[h]=S(this,ot)[u];let f=S(this,ot)[u];S(this,$t)[f]=S(this,$t)[u]}mo(this,je)._--,S(this,ei).push(u)}}if(S(this,lt)&&((l=S(this,qe))!=null&&l.length)){let u=S(this,qe),c;for(;c=u==null?void 0:u.shift();)(a=S(this,Ht))==null||a.call(this,...c)}return n},$u=function(e){var i,n,r,s;for(let o of j(this,Z,qi).call(this,{allowStale:!0})){let l=S(this,ne)[o];if(j(this,Z,we).call(this,l))l.__abortController.abort(new Error("deleted"));else{let a=S(this,_e)[o];S(this,ni)&&((i=S(this,Ut))==null||i.call(this,l,a,e)),S(this,lt)&&((n=S(this,qe))==null||n.push([l,a,e]))}}if(S(this,Ie).clear(),S(this,ne).fill(void 0),S(this,_e).fill(void 0),S(this,Qt)&&S(this,ii)){S(this,Qt).fill(0),S(this,ii).fill(0);for(let o of S(this,_t)??[])o!==void 0&&clearTimeout(o);(r=S(this,_t))==null||r.fill(void 0)}if(S(this,ti)&&S(this,ti).fill(0),U(this,it,0),U(this,Ve,0),S(this,ei).length=0,U(this,Jt,0),U(this,je,0),S(this,lt)&&S(this,qe)){let o=S(this,qe),l;for(;l=o==null?void 0:o.shift();)(s=S(this,Ht))==null||s.call(this,...l)}},dr);const bt={hljs:`${x}-hljs`,hlcss:`${x}-hlCss`,prettier:`${x}-prettier`,prettierMD:`${x}-prettierMD`,cropperjs:`${x}-cropper`,croppercss:`${x}-cropperCss`,screenfull:`${x}-screenfull`,mermaidM:`${x}-mermaid-m`,mermaid:`${x}-mermaid`,katexjs:`${x}-katex`,katexcss:`${x}-katexCss`},ik=(t,e)=>{const i=H("editorId"),{noImgZoomIn:n}=t,r=Kp(()=>{const s=document.querySelectorAll(`#${i}-preview img:not(.not-zoom):not(.medium-zoom-image)`);s.length!==0&&Gv(s,{background:"#00000073"})});Ae(()=>{!n&&t.setting.preview&&r()}),te([e,si(t.setting,"preview")],()=>{!n&&t.setting.preview&&r()})},nk=(t,e,i)=>{const n=H("editorId"),r=H("rootRef"),s=H("usedLanguageText"),o=()=>{r.value.querySelectorAll(`#${n} .${x}-preview .${x}-code`).forEach(u=>{let c=-1;const h=u.querySelector(`.${x}-copy-button`);h&&(h.onclick=f=>{f.preventDefault(),clearTimeout(c);const p=(u.querySelector("input:checked + pre code")||u.querySelector("pre code")).textContent,{text:m,successTips:O,failTips:g}=s.value.copyCode;let b=O;Kv(t.formatCopiedText(p)).catch(()=>{b=g}).finally(()=>{h.dataset.isIcon?h.dataset.tips=b:h.innerHTML=b,c=window.setTimeout(()=>{h.dataset.isIcon?h.dataset.tips=m:h.innerHTML=m},1500)})})})},l=()=>{li(o)},a=u=>{u&&li(o)};te([e,i],l),te(()=>t.setting.preview,a),te(()=>t.setting.htmlPreview,a),Ae(o)},rk=t=>{const e=H("highlight"),i=Tn(Me.editorExtensions.highlight.instance);return Ae(()=>{t.noHighlight||i.value||(zt("link",{...e.value.css,rel:"stylesheet",id:bt.hlcss}),zt("script",{...e.value.js,id:bt.hljs,onload(){i.value=window.hljs}},"hljs"))}),te(()=>e.value.css,()=>{t.noHighlight||Me.editorExtensions.highlight.instance||Vv("link",{...e.value.css,rel:"stylesheet",id:bt.hlcss})}),i},el=new tk({max:1e3,ttl:6e5}),sk=t=>{const e=H("editorId"),i=H("theme"),n=H("rootRef"),{editorExtensions:r,editorExtensionsAttrs:s,mermaidConfig:o}=Me;let l=r.mermaid.instance;const a=Tn(-1),u=()=>{!t.noMermaid&&l&&(l.initialize(o({startOnLoad:!1,theme:i.value==="dark"?"dark":"default"})),a.value=a.value+1)};return te(()=>i.value,()=>{el.clear(),u()}),Ae(()=>{var h,f;if(t.noMermaid||l)return;const d=r.mermaid.js;/\.mjs/.test(d)?(zt("link",{...(h=s.mermaid)==null?void 0:h.js,rel:"modulepreload",href:d,id:bt.mermaidM}),import(d).then(p=>{l=p.default,u()})):zt("script",{...(f=s.mermaid)==null?void 0:f.js,src:d,id:bt.mermaid,onload(){l=window.mermaid,u()}},"mermaid")}),{reRenderRef:a,replaceMermaid:async()=>{if(!t.noMermaid&&l){const h=n.value.querySelectorAll(`div.${x}-mermaid`),f=document.createElement("div"),d=document.body.offsetWidth>1366?document.body.offsetWidth:1366,p=document.body.offsetHeight>768?document.body.offsetHeight:768;f.style.width=d+"px",f.style.height=p+"px",f.style.position="fixed",f.style.zIndex="-10000",f.style.top="-10000";let m=h.length;m>0&&document.body.appendChild(f),await Promise.allSettled(Array.from(h).map(O=>(async b=>{var y;if(b.dataset.closed==="false")return!1;const w=b.innerText;let v=el.get(w);if(!v){const Q=mu();let P={svg:""};try{P=await l.render(Q,w,f),v=await t.sanitizeMermaid(P.svg);const _=document.createElement("p");_.className=`${x}-mermaid`,_.setAttribute("data-processed",""),_.innerHTML=v,(y=_.children[0])==null||y.removeAttribute("height"),el.set(w,_.innerHTML),b.dataset.line!==void 0&&(_.dataset.line=b.dataset.line),b.replaceWith(_)}catch(_){X.emit(e,hn,{name:"mermaid",message:_.message,error:_})}--m===0&&f.remove()}})(O)))}}}},ok=t=>{const e=Tn(Me.editorExtensions.katex.instance);return Ae(()=>{var i,n;if(t.noKatex||e.value)return;const{editorExtensions:r,editorExtensionsAttrs:s}=Me;zt("script",{...(i=s.katex)==null?void 0:i.js,src:r.katex.js,id:bt.katexjs,onload(){e.value=window.katex}},"katex"),zt("link",{...(n=s.katex)==null?void 0:n.css,rel:"stylesheet",href:r.katex.css,id:bt.katexcss})}),e},lk=(t,e)=>{const i=t.renderer.rules.fence.bind(t.renderer.rules);t.renderer.rules.fence=(n,r,s,o,l)=>{var a;const u=n[r],c=u.content.trim();if(u.info==="mermaid"){if(u.attrSet("class",`${x}-mermaid`),u.attrSet("data-mermaid-theme",e.themeRef.value),u.map&&u.level===0){const f=u.map[1]-1,d=(a=o.srcLines[f])==null?void 0:a.trim(),p=d==null?void 0:d.startsWith("```");u.attrSet("data-closed",p),u.attrSet("data-line",String(u.map[0]))}const h=el.get(c);return h?(u.attrSet("data-processed",""),`

    ${h}

    `):`
    ${t.utils.escapeHtml(c)}
    `}return i(n,r,s,o,l)}},gl=(t,e)=>{const i=t.attrs?t.attrs.slice():[];return e.forEach(n=>{const r=t.attrIndex(n[0]);r<0?i.push(n):(i[r]=i[r].slice(),i[r][1]+=` ${n[1]}`)}),i},fd={block:[{open:"$$",close:"$$"},{open:"\\[",close:"\\]"}],inline:[{open:"$$",close:"$$"},{open:"$",close:"$"},{open:"\\[",close:"\\]"},{open:"\\(",close:"\\)"}]},ak=t=>(e,i)=>{const n=t.delimiters;let r,s,o;for(const l of n)if(e.src.startsWith(l.open,e.pos)){const a=e.pos+l.open.length;for(r=a;(r=e.src.indexOf(l.close,r))!==-1;){for(o=r-1;e.src[o]==="\\";)o-=1;if((r-o)%2===1)break;r+=l.close.length}if(r===-1)return i||(e.pending+=l.open),e.pos=a,!0;if(r-a===0)return i||(e.pending+=l.open+l.close),e.pos=a+l.close.length,!0;if(!i){const u=e.src.slice(a,r);s=e.push("math_inline","math",0),s.markup=l.open,s.content=u}return e.pos=r+l.close.length,!0}return!1},uk=t=>(e,i,n,r)=>{const s=t.delimiters;let o,l,a,u,c=!1,h=e.bMarks[i]+e.tShift[i],f=e.eMarks[i];for(const d of s)if(e.src.slice(h,h+d.open.length)===d.open&&e.src.slice(f-d.close.length,f)===d.close){if(h+=d.open.length,o=e.src.slice(h,f),r)return!0;for(o.trim().slice(-d.close.length)===d.close&&(o=o.trim().slice(0,-d.close.length),c=!0),a=i;!c&&(a++,!(a>=n||(h=e.bMarks[a]+e.tShift[a],f=e.eMarks[a],h{const r=(o,l,a,u,c)=>{const h=o[l],f={attrs:gl(h,[["class",`${x}-katex-inline`]])};if(e.value){const d=e.value.renderToString(h.content,Me.katexConfig({throwOnError:!1}));return`${d}`}else return`${h.content}`},s=(o,l,a,u,c)=>{const h=o[l],f={attrs:gl(h,[["class",`${x}-katex-block`]])};if(e.value){const d=e.value.renderToString(h.content,Me.katexConfig({throwOnError:!1,displayMode:!0}));return`

    ${d}

    `}else return`

    ${h.content}

    `};t.inline.ruler.before("escape","math_inline",ak({delimiters:i||fd.inline})),t.block.ruler.after("blockquote","math_block",uk({delimiters:n||fd.block}),{alt:["paragraph","reference","blockquote","list"]}),t.renderer.rules.math_inline=r,t.renderer.rules.math_block=s},hk=(t,e)=>{e=e||{};const i=3,n=e.marker||"!",r=n.charCodeAt(0),s=n.length;let o="",l="";const a=(c,h,f,d,p)=>{const m=c[h];return m.type==="admonition_open"?c[h].attrPush(["class",`${x}-admonition ${x}-admonition-${m.info}`]):m.type==="admonition_title_open"&&c[h].attrPush(["class",`${x}-admonition-title`]),p.renderToken(c,h,f)},u=c=>{const h=c.trim().split(" ",2);l="",o=h[0],h.length>1&&(l=c.substring(o.length+2))};t.block.ruler.before("code","admonition",(c,h,f,d)=>{let p,m,O,g=!1,b=c.bMarks[h]+c.tShift[h],y=c.eMarks[h];if(r!==c.src.charCodeAt(b))return!1;for(p=b+1;p<=y&&n[(p-b)%s]===c.src[p];p++);const w=Math.floor((p-b)/s);if(w!==i)return!1;p-=(p-b)%s;const v=c.src.slice(b,p),Q=c.src.slice(p,y);if(u(Q),d)return!0;for(m=h;m++,!(m>=f||(b=c.bMarks[m]+c.tShift[m],y=c.eMarks[m],b=4)){for(p=b+1;p<=y&&n[(p-b)%s]===c.src[p];p++);if(!(Math.floor((p-b)/s){t.renderer.rules.heading_open=(i,n)=>{var r;const s=i[n],o=((r=i[n+1].children)==null?void 0:r.reduce((a,u)=>a+(["text","code_inline","math_inline"].includes(u.type)&&u.content||""),""))||"",l=s.markup.length;return e.headsRef.value.push({text:o,level:l,line:s.map[0]}),s.map&&s.level===0&&s.attrSet("id",e.mdHeadingId(o,l,e.headsRef.value.length)),t.renderer.renderToken(i,n,e)},t.renderer.rules.heading_close=(i,n,r,s,o)=>o.renderToken(i,n,r)},dk=(t,e)=>{const i=t.renderer.rules.fence,n=t.utils.unescapeAll,r=/\[(\w*)(?::([\w ]*))?\]/,s=/::(open|close)/,o=h=>h.info?n(h.info).trim():"",l=h=>{const f=o(h),[d=null,p=""]=(r.exec(f)||[]).slice(1);return[d,p]},a=h=>{const f=o(h);return f?f.split(/(\s+)/g)[0]:""},u=h=>{const f=h.info.match(s)||[],d=f[1]==="open"||f[1]!=="close"&&e.codeFoldable&&h.content.trim().split(` +`).length{var O;if(h[f].hidden)return"";const g=(O=e.usedLanguageTextRef.value)==null?void 0:O.copyCode.text,b=e.customIconRef.value.copy||g,y=!!e.customIconRef.value.copy,w=`${os("collapse-tips",e.customIconRef.value)}`,[v]=l(h[f]);if(v===null){const{open:ee,tagContainer:re,tagHeader:ue}=u(h[f]),ye=[["class",`${x}-code`]];ee&&ye.push(["open",""]);const Oe={attrs:gl(h[f],ye)};h[f].info=h[f].info.replace(s,"");const le=i(h,f,d,p,m);return` + <${re} ${m.renderAttrs(Oe)}> + <${ue} class="${x}-code-head"> +
    +
    + ${t.utils.escapeHtml(h[f].info.trim())} + ${b} + ${e.extraTools instanceof Function?e.extraTools({lang:h[f].info.trim()}):e.extraTools||""} + ${re==="details"?w:""} +
    + + ${le} + + `}let Q,P,_,R,L="",I="",T="";const{open:M,tagContainer:F,tagHeader:B}=u(h[f]),Y=[["class",`${x}-code`]];M&&Y.push(["open",""]);const J={attrs:gl(h[f],Y)};for(let ee=f;ee0?"":"checked",L+=` +
  • + + +
  • `,I+=` +
    + + ${i(h,ee,d,p,m)} +
    `,T+=` + + ${t.utils.escapeHtml(a(Q))}`}return` + <${F} ${m.renderAttrs(J)}> + <${B} class="${x}-code-head"> +
    +
      ${L}
    +
    +
    + ${T} + ${b} + ${e.extraTools instanceof Function?e.extraTools({lang:h[f].info.trim()}):e.extraTools||""} + ${F==="details"?w:""} +
    + + ${I} + + `};t.renderer.rules.fence=c,t.renderer.rules.code_block=c},dd=(t,e,i)=>{const n=t.attrIndex(e),r=[e,i];n<0?t.attrPush(r):(t.attrs=t.attrs||[],t.attrs[n]=r)},pk=t=>t.type==="inline",mk=t=>t.type==="paragraph_open",Ok=t=>t.type==="list_item_open",gk=t=>t.content.indexOf("[ ] ")===0||t.content.indexOf("[x] ")===0||t.content.indexOf("[X] ")===0,bk=(t,e)=>pk(t[e])&&mk(t[e-1])&&Ok(t[e-2])&&gk(t[e]),vk=(t,e)=>{const i=t[e].level-1;for(let n=e-1;n>=0;n--)if(t[n].level===i)return n;return-1},yk=t=>{const e=new t("html_inline","",0);return e.content="",e},kk=(t,e,i)=>{const n=new i("html_inline","",0);return n.content='",n.attrs=[{for:e}],n},Sk=(t,e,i)=>{const n=new e("html_inline","",0),r=i.enabled?" ":' disabled="" ';return t.content.indexOf("[ ] ")===0?n.content='':(t.content.indexOf("[x] ")===0||t.content.indexOf("[X] ")===0)&&(n.content=''),n},wk=(t,e,i)=>{if(t.children=t.children||[],t.children.unshift(Sk(t,e,i)),t.children[1].content=t.children[1].content.slice(3),t.content=t.content.slice(3),i.label)if(i.labelAfter){t.children.pop();const n="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);t.children[0].content=t.children[0].content.slice(0,-1)+' id="'+n+'">',t.children.push(kk(t.content,n,e))}else t.children.unshift(yk(e)),t.children.push(xk(e))},$k=(t,e={})=>{t.core.ruler.after("inline","github-task-lists",i=>{const n=i.tokens;for(let r=2;r{t.core.ruler.push("init-line-number",e=>(e.tokens.forEach(i=>{i.map&&(i.attrs||(i.attrs=[]),i.attrs.push(["data-line",i.map[0].toString()]))}),!0))},_k=(t,e)=>{const{editorConfig:i,markdownItConfig:n,markdownItPlugins:r,editorExtensions:s}=Me,o=H("editorId"),l=H("language"),a=H("usedLanguageText"),u=H("showCodeRowNumber"),c=H("theme"),h=H("customIcon"),f=H("rootRef"),d=pe([]);let p=()=>{};const m=rk(t),O=ok(t),{reRenderRef:g,replaceMermaid:b}=sk(t),y=Wt({html:!0,breaks:!0,linkify:!0});n(y,{editorId:o});const w=[{type:"image",plugin:X2,options:{figcaption:!0,classes:"md-zoom"}},{type:"admonition",plugin:hk,options:{}},{type:"taskList",plugin:$k,options:{}},{type:"heading",plugin:fk,options:{mdHeadingId:t.mdHeadingId,headsRef:d}},{type:"code",plugin:dk,options:{editorId:o,usedLanguageTextRef:a,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold,customIconRef:h}},{type:"sub",plugin:F2,options:{}},{type:"sup",plugin:q2,options:{}}];t.noKatex||w.push({type:"katex",plugin:ck,options:{katexRef:O}}),t.noMermaid||w.push({type:"mermaid",plugin:lk,options:{themeRef:c}}),r(w,{editorId:o}).forEach(T=>{y.use(T.plugin,T.options)});const v=y.options.highlight;y.set({highlight:(T,M,F)=>{if(v){const J=v(T,M,F);if(J)return J}let B;!t.noHighlight&&m.value?m.value.getLanguage(M)?B=m.value.highlight(T,{language:M,ignoreIllegals:!0}).value:B=m.value.highlightAuto(T).value:B=y.utils.escapeHtml(T);const Y=u?Y2(B.replace(/^\n+|\n+$/g,""),T.replace(/^\n+|\n+$/g,"")):`${B.replace(/^\n+|\n+$/g,"")}`;return`
    ${Y}
    `}}),Qk(y);const Q=pe(`_article-key_${mu()}`),P=pe(t.sanitize(y.render(t.modelValue,{srcLines:t.modelValue.split(` +`)}))),_=()=>{X.emit(o,Go,P.value),t.onHtmlChanged(P.value),t.onGetCatalog(d.value),X.emit(o,ss,d.value),li(()=>{b().then(()=>{var T,M;(T=s.mermaid)!=null&&T.enableZoom&&(p(),p=jf((M=f.value)==null?void 0:M.querySelectorAll(`#${o} p.${x}-mermaid:not([data-closed=false])`),{customIcon:h.value}))})})},R=()=>{d.value=[],P.value=t.sanitize(y.render(t.modelValue,{srcLines:t.modelValue.split(` +`)})),_()},L=He(()=>(t.noKatex||O.value)&&(t.noHighlight||m.value));let I=-1;return te([si(t,"modelValue"),L,g,l],()=>{I=window.setTimeout(()=>{R()},e?0:i.renderDelay)}),te(()=>t.setting.preview,()=>{t.setting.preview&&li(()=>{b().then(()=>{var T,M;(T=s.mermaid)!=null&&T.enableZoom&&(p(),p=jf((M=f.value)==null?void 0:M.querySelectorAll(`#${o} p.${x}-mermaid:not([data-closed=false])`),{customIcon:h.value}))}),X.emit(o,ss,d.value)})}),Ae(_),Ae(()=>{X.on(o,{name:nm,callback(){X.emit(o,ss,d.value)}}),X.on(o,{name:_c,callback:()=>{Q.value=`_article-key_${mu()}`,R()}})}),Mn(()=>{p(),clearTimeout(I)}),{html:P,key:Q}},pd={checked:{regexp:/- \[x\]/,value:"- [ ]"},unChecked:{regexp:/- \[\s\]/,value:"- [x]"}},Pk=(t,e)=>{const i=H("editorId"),n=H("rootRef");let r=()=>{};const s=()=>{if(!n.value)return!1;const o=n.value.querySelectorAll(".task-list-item.enabled"),l=a=>{var u;a.preventDefault();const c=a.target.checked?"unChecked":"checked",h=(u=a.target.parentElement)==null?void 0:u.dataset.line;if(!h)return;const f=Number(h),d=t.modelValue.split(` +`),p=d[Number(f)].replace(pd[c].regexp,pd[c].value);t.previewOnly?(d[Number(f)]=p,t.onChange(d.join(` +`))):X.emit(i,sm,f+1,p)};o.forEach(a=>{a.addEventListener("click",l)}),r=()=>{o.forEach(a=>{a.removeEventListener("click",l)})}};Mn(()=>{r()}),te([e],()=>{r(),li(s)},{immediate:!0})},Ck=(t,e,i)=>{const n=()=>{li(()=>{var s;(s=t.onRemount)==null||s.call(t)})},r=s=>{s&&n()};te([e,i],n),te(()=>t.setting.preview,r),te(()=>t.setting.htmlPreview,r),Ae(n)},Bm={modelValue:{type:String,default:""},onChange:{type:Function,default:()=>{}},setting:{type:Object,default:()=>({preview:!0})},onHtmlChanged:{type:Function,default:()=>{}},onGetCatalog:{type:Function,default:()=>{}},mdHeadingId:{type:Function,default:()=>""},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:t=>t},noKatex:{type:Boolean,default:!1},formatCopiedText:{type:Function,default:t=>t},noHighlight:{type:Boolean,default:!1},previewOnly:{type:Boolean,default:!1},noImgZoomIn:{type:Boolean},sanitizeMermaid:{type:Function},codeFoldable:{type:Boolean},autoFoldThreshold:{type:Number},onRemount:{type:Function}},Tk={...Bm,updateModelValue:{type:Function,default:()=>{}},placeholder:{type:String,default:""},scrollAuto:{type:Boolean},autofocus:{type:Boolean},disabled:{type:Boolean},readonly:{type:Boolean},maxlength:{type:Number},autoDetectCode:{type:Boolean},onBlur:{type:Function,default:()=>{}},onFocus:{type:Function,default:()=>{}},noPrettier:{type:Boolean},completions:{type:Array},catalogVisible:{type:Boolean},theme:{type:String,default:"light"},onInput:{type:Function},onDrop:{type:Function,default:()=>{}},inputBoxWidth:{type:String},oninputBoxWidthChange:{type:Function},transformImgUrl:{type:Function,default:t=>t},catalogLayout:{type:String},catalogMaxDepth:{type:Number}},Ak=t=>{const i=new DOMParser().parseFromString(t,"text/html");return Array.from(i.body.childNodes)},Ek=(t,e)=>{const i=[],n=[];if(t.forEach((r,s)=>{const o=e[s];if(!o){i.push({index:s,newNode:r});return}(r.nodeType!==o.nodeType||r.textContent!==o.textContent||r.nodeType===1&&r.outerHTML!==o.outerHTML)&&i.push({index:s,newNode:r})}),e.length>t.length)for(let r=t.length;r{r.value&&(a.forEach(u=>{u.remove()}),l.forEach(({index:u,newNode:c})=>{var h,f,d;const p=(h=r.value)==null?void 0:h.childNodes[u];p?(d=r.value)==null||d.replaceChild(c.cloneNode(!0),p):(f=r.value)==null||f.appendChild(c.cloneNode(!0))}))};return te(()=>t.html,l=>{var a;const u=Ak(l),c=Array.from(((a=r.value)==null?void 0:a.childNodes)||[]),{updates:h,deletes:f}=Ek(u,c);o(h,f)}),()=>$("div",{id:`${e}-preview`,class:[`${x}-preview`,`${i==null?void 0:i.value}-theme`,n&&`${x}-scrn`],innerHTML:s,ref:r},null)}}),Vm=Te({name:"ContentPreview",props:Bm,setup(t){const e=H("editorId"),{html:i,key:n}=_k(t,t.previewOnly);return nk(t,i,n),ik(t,i),Pk(t,i),Ck(t,i,n),()=>$(Gs,null,[t.setting.preview&&$("div",{id:`${e}-preview-wrapper`,class:`${x}-preview-wrapper`,key:"content-preview-wrapper"},[$(Rk,{key:n.value,html:i.value},null)]),!t.previewOnly&&t.setting.htmlPreview&&$("div",{id:`${e}-html-wrapper`,class:`${x}-preview-wrapper`,key:"html-preview-wrapper"},[$("div",{class:`${x}-html`},[i.value])])])}}),Dk=(t,e,i)=>{const{editorId:n}=i,r=ct({buildFinished:!1,html:""});te(()=>t.modelValue,()=>{r.buildFinished=!1}),Ae(()=>{X.on(n,{name:Go,callback(s){r.buildFinished=!0,r.html=s}}),X.on(n,{name:Ul,callback(){const s=new Promise(o=>{if(r.buildFinished)o(r.html);else{const l=a=>{o(a),X.remove(n,Go,l)};X.on(n,{name:Go,callback:l})}});t.onSave?t.onSave(t.modelValue,s):e.emit("onSave",t.modelValue,s)}})})},qm=(t,e)=>{const i=Me.editorExtensions.highlight,n=Me.editorExtensionsAttrs.highlight,r=jk(t);Ct("editorId",r),Ct("rootRef",e),Ct("theme",He(()=>t.theme)),Ct("language",He(()=>t.language)),Ct("highlight",He(()=>{const{js:o}=i,l={...gu,...i.css},{js:a,css:u={}}=n||{},c=t.codeStyleReverse&&t.codeStyleReverseList.includes(t.previewTheme)?"dark":t.theme,h=l[t.codeTheme]?l[t.codeTheme][c]:gu.atom[c],f=l[t.codeTheme]&&u[t.codeTheme]?u[t.codeTheme][c]:u.atom?u.atom[c]:{};return{js:{src:o,...a},css:{href:h,...f}}})),Ct("showCodeRowNumber",t.showCodeRowNumber);const s=He(()=>{const o={...dl,...Me.editorConfig.languageUserDefined};return Gl(Ur(dl["en-US"]),o[t.language]||{})});return Ct("usedLanguageText",s),Ct("previewTheme",He(()=>t.previewTheme)),Ct("customIcon",He(()=>t.customIcon)),{editorId:r}},Lk=(t,e)=>(Ct("tabWidth",t.tabWidth),Ct("disabled",He(()=>t.disabled)),qm(t,e)),Mk=t=>{const{noPrettier:e,noUploadImg:i}=t,{editorExtensions:n,editorExtensionsAttrs:r}=Me,s=e||n.prettier.prettierInstance,o=e||n.prettier.parserMarkdownInstance,l=i||n.cropper.instance;Ae(()=>{if(!l){const{js:a={},css:u={}}=r.cropper||{};zt("link",{...u,rel:"stylesheet",href:n.cropper.css,id:bt.croppercss}),zt("script",{...a,src:n.cropper.js,id:bt.cropperjs})}if(!s){const{standaloneJs:a={}}=r.prettier||{};zt("script",{...a,src:n.prettier.standaloneJs,id:bt.prettier})}if(!o){const{parserMarkdownJs:a={}}=r.prettier||{};zt("script",{...a,src:n.prettier.parserMarkdownJs,id:bt.prettierMD})}})},Zk=(t,e,i)=>{const{editorId:n}=i;Ae(()=>{X.on(n,{name:hn,callback:r=>{var s;(s=t.onError)==null||s.call(t,r),e.emit("onError",r)}})})},Ik=(t,e,i)=>{const{editorId:n}=i,r=ct({pageFullscreen:t.pageFullscreen,fullscreen:!1,preview:t.preview,htmlPreview:t.preview?!1:t.htmlPreview,previewOnly:!1}),s=ct({...r}),o=(u,c)=>{const h=c===void 0?!r[u]:c;switch(u){case"preview":{r.htmlPreview=!1,r.previewOnly=!1;break}case"htmlPreview":{r.preview=!1,r.previewOnly=!1;break}case"previewOnly":{h?!r.preview&&!r.htmlPreview&&(r.preview=!0):(s.preview||(r.preview=!1),s.htmlPreview||(r.htmlPreview=!1));break}}s[u]=h,r[u]=h};let l="";const a=()=>{r.pageFullscreen||r.fullscreen?document.body.style.overflow="hidden":document.body.style.overflow=l};return te(()=>[r.pageFullscreen,r.fullscreen],a),Ae(()=>{X.on(n,{name:Hl,callback(u,c){const h=f=>{X.emit(n,xe,"image",{desc:"",urls:f}),c==null||c()};t.onUploadImg?t.onUploadImg(u,h):e.emit("onUploadImg",u,h)}}),l=document.body.style.overflow,a()}),[r,o]},Xk=(t,e)=>{const{editorId:i}=e,n=pe(!1);return Ae(()=>{X.on(i,{name:Qc,callback:r=>{r===void 0?n.value=!n.value:n.value=r}})}),n},zk=(t,e,i)=>{const{editorId:n,catalogVisible:r,setting:s,updateSetting:o,codeRef:l}=i;te(()=>s.pageFullscreen,u=>{X.emit(n,Df,u)}),te(()=>s.fullscreen,u=>{X.emit(n,Lf,u)}),te(()=>s.preview,u=>{X.emit(n,Mf,u)}),te(()=>s.previewOnly,u=>{X.emit(n,Zf,u)}),te(()=>s.htmlPreview,u=>{X.emit(n,If,u)}),te(r,u=>{X.emit(n,Xf,u)});const a={on(u,c){switch(u){case"pageFullscreen":{X.on(n,{name:Df,callback(h){c(h)}});break}case"fullscreen":{X.on(n,{name:Lf,callback(h){c(h)}});break}case"preview":{X.on(n,{name:Mf,callback(h){c(h)}});break}case"previewOnly":{X.on(n,{name:Zf,callback(h){c(h)}});break}case"htmlPreview":{X.on(n,{name:If,callback(h){c(h)}});break}case"catalog":{X.on(n,{name:Xf,callback(h){c(h)}});break}}},togglePageFullscreen(u){o("pageFullscreen",u)},toggleFullscreen(u){X.emit(n,em,u)},togglePreview(u){o("preview",u)},togglePreviewOnly(u){o("previewOnly",u)},toggleHtmlPreview(u){o("htmlPreview",u)},toggleCatalog(u){X.emit(n,Qc,u)},triggerSave(){X.emit(n,Ul)},insert(u){X.emit(n,xe,"universal",{generate:u})},focus(u){var c;(c=l.value)==null||c.focus(u)},rerender(){X.emit(n,_c)},getSelectedText(){var u;return(u=l.value)==null?void 0:u.getSelectedText()},resetHistory(){var u;(u=l.value)==null||u.resetHistory()},domEventHandlers(u){X.emit(n,rm,u)},execCommand(u){X.emit(n,xe,u)},getEditorView(){var u;return(u=l.value)==null?void 0:u.getEditorView()}};e.expose(a)},jk=t=>{const e=yv();return t.id||t.editorId||`${x}-${e}`},Fk=t=>t,Wm={modelValue:{type:String,default:""},onChange:{type:Function,default:void 0},theme:{type:String,default:"light"},class:{type:String,default:""},language:{type:String,default:"zh-CN"},onHtmlChanged:{type:Function,default:void 0},onGetCatalog:{type:Function,default:void 0},editorId:{type:String,default:void 0},id:{type:String,default:void 0},showCodeRowNumber:{type:Boolean,default:!0},previewTheme:{type:String,default:"default"},style:{type:Object,default:()=>({})},mdHeadingId:{type:Function,default:Fk},sanitize:{type:Function,default:t=>t},noMermaid:{type:Boolean,default:!1},noKatex:{type:Boolean,default:!1},codeTheme:{type:String,default:"atom"},formatCopiedText:{type:Function,default:t=>t},codeStyleReverse:{type:Boolean,default:!0},codeStyleReverseList:{type:Array,default:["default","mk-cute"]},noHighlight:{type:Boolean,default:!1},noImgZoomIn:{type:Boolean,default:!1},customIcon:{type:Object,default:{}},sanitizeMermaid:{type:Function,default:t=>Promise.resolve(t)},codeFoldable:{type:Boolean,default:!0},autoFoldThreshold:{type:Number,default:30},onRemount:{type:Function,default:void 0}},Bk={...Wm,onSave:{type:Function,default:void 0},onUploadImg:{type:Function,default:void 0},pageFullscreen:{type:Boolean,default:!1},preview:{type:Boolean,default:!0},htmlPreview:{type:Boolean,default:!1},toolbars:{type:Array,default:wc},toolbarsExclude:{type:Array,default:[]},noPrettier:{type:Boolean,default:!1},tabWidth:{type:Number,default:2},tableShape:{type:Array,default:[6,4]},placeholder:{type:String,default:""},defToolbars:{type:[String,Object],default:void 0},onError:{type:Function,default:void 0},footers:{type:Array,default:$c},scrollAuto:{type:Boolean,default:!0},defFooters:{type:[String,Object],default:void 0},noUploadImg:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},maxLength:{type:Number,default:void 0},autoDetectCode:{type:Boolean,default:!1},onBlur:{type:Function,default:void 0},onFocus:{type:Function,default:void 0},completions:{type:Array,default:void 0},showToolbarName:{type:Boolean,default:!1},onInput:{type:Function,default:void 0},onDrop:{type:Function,default:void 0},inputBoxWidth:{type:String,default:"50%"},oninputBoxWidthChange:{type:Function,default:void 0},transformImgUrl:{type:Function,default:t=>t},catalogLayout:{type:String,default:"fixed"},catalogMaxDepth:{type:Number,default:void 0},insertLinkDirect:{type:Boolean,default:!1}},Ym=["onHtmlChanged","onGetCatalog","onChange","onRemount","update:modelValue"],Vk=[...Ym,"onSave","onUploadImg","onError","onBlur","onFocus","onInput","onDrop","oninputBoxWidthChange"],qk=(t,e,i)=>{const{editorId:n}=i,r={rerender(){X.emit(n,_c)}};e.expose(r)},ls=Te({name:"MdPreview",props:Wm,emits:Ym,setup(t,e){const{noKatex:i,noMermaid:n,noHighlight:r}=t,s=pe(),{editorId:o}=qm(t,s);return qk(t,e,{editorId:o}),Mn(()=>{X.clear(o)}),()=>$("div",{id:o,class:[x,t.class,t.theme==="dark"&&`${x}-dark`,`${x}-previewOnly`],style:t.style,ref:s},[$(Vm,{modelValue:t.modelValue,onChange:l=>{var a;(a=t.onChange)==null||a.call(t,l),e.emit("onChange",l),e.emit("update:modelValue",l)},onHtmlChanged:l=>{var a;(a=t.onHtmlChanged)==null||a.call(t,l),e.emit("onHtmlChanged",l)},onGetCatalog:l=>{var a;(a=t.onGetCatalog)==null||a.call(t,l),e.emit("onGetCatalog",l)},mdHeadingId:t.mdHeadingId,noMermaid:n,sanitize:t.sanitize,noKatex:i,formatCopiedText:t.formatCopiedText,noHighlight:r,noImgZoomIn:t.noImgZoomIn,previewOnly:!0,sanitizeMermaid:t.sanitizeMermaid,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold,onRemount:()=>{var l;(l=t.onRemount)==null||l.call(t),e.emit("onRemount")}},null)])}});ls.install=t=>(t.component(ls.name,ls),t);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Wk=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */var yo={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Yk=({size:t,strokeWidth:e=2,absoluteStrokeWidth:i,color:n,iconNode:r,name:s,class:o,...l},{slots:a})=>xs("svg",{...yo,width:t||yo.width,height:t||yo.height,stroke:n||yo.stroke,"stroke-width":i?Number(e)*24/Number(t):e,class:["lucide",`lucide-${Wk(s??"icon")}`],...l},[...r.map(u=>xs(...u)),...a.default?[a.default()]:[]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const me=(t,e)=>(i,{slots:n})=>xs(Yk,{...i,iconNode:e,name:t},n);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Nk=me("BoldIcon",[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Gk=me("ChartAreaIcon",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 11.207a.5.5 0 0 1 .146-.353l2-2a.5.5 0 0 1 .708 0l3.292 3.292a.5.5 0 0 0 .708 0l4.292-4.292a.5.5 0 0 1 .854.353V16a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1z",key:"q0gr47"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Uk=me("CodeXmlIcon",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Hk=me("CodeIcon",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Kk=me("ExpandIcon",[["path",{d:"m21 21-6-6m6 6v-4.8m0 4.8h-4.8",key:"1c15vz"}],["path",{d:"M3 16.2V21m0 0h4.8M3 21l6-6",key:"1fsnz2"}],["path",{d:"M21 7.8V3m0 0h-4.8M21 3l-6 6",key:"hawz9i"}],["path",{d:"M3 7.8V3m0 0h4.8M3 3l6 6",key:"u9ee12"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Jk=me("EyeIcon",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const eS=me("ForwardIcon",[["polyline",{points:"15 17 20 12 15 7",key:"1w3sku"}],["path",{d:"M4 18v-2a4 4 0 0 1 4-4h12",key:"jmiej9"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const tS=me("HeadingIcon",[["path",{d:"M6 12h12",key:"8npq4p"}],["path",{d:"M6 20V4",key:"1w1bmo"}],["path",{d:"M18 20V4",key:"o2hl4u"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const iS=me("ImageIcon",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const nS=me("ItalicIcon",[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const rS=me("LinkIcon",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const sS=me("ListOrderedIcon",[["path",{d:"M10 12h11",key:"6m4ad9"}],["path",{d:"M10 18h11",key:"11hvi2"}],["path",{d:"M10 6h11",key:"c7qv1k"}],["path",{d:"M4 10h2",key:"16xx2s"}],["path",{d:"M4 6h1v4",key:"cnovpq"}],["path",{d:"M6 18H4c0-1 2-2 2-3s-1-1.5-2-1",key:"m9a95d"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const oS=me("ListTodoIcon",[["rect",{x:"3",y:"5",width:"6",height:"6",rx:"1",key:"1defrl"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const lS=me("ListTreeIcon",[["path",{d:"M21 12h-8",key:"1bmf0i"}],["path",{d:"M21 6H8",key:"1pqkrb"}],["path",{d:"M21 18h-8",key:"1tm79t"}],["path",{d:"M3 6v4c0 1.1.9 2 2 2h3",key:"1ywdgy"}],["path",{d:"M3 10v6c0 1.1.9 2 2 2h3",key:"2wc746"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const aS=me("ListIcon",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const uS=me("Maximize2Icon",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const cS=me("Minimize2Icon",[["polyline",{points:"4 14 10 14 10 20",key:"11kfnr"}],["polyline",{points:"20 10 14 10 14 4",key:"rlmsce"}],["line",{x1:"14",x2:"21",y1:"10",y2:"3",key:"o5lafz"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const hS=me("QuoteIcon",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const fS=me("ReplyIcon",[["polyline",{points:"9 17 4 12 9 7",key:"hvgpf2"}],["path",{d:"M20 18v-2a4 4 0 0 0-4-4H4",key:"5vmcpk"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const dS=me("SaveIcon",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const pS=me("ShrinkIcon",[["path",{d:"m15 15 6 6m-6-6v4.8m0-4.8h4.8",key:"17vawe"}],["path",{d:"M9 19.8V15m0 0H4.2M9 15l-6 6",key:"chjx8e"}],["path",{d:"M15 4.2V9m0 0h4.8M15 9l6-6",key:"lav6yq"}],["path",{d:"M9 4.2V9m0 0H4.2M9 9 3 3",key:"1pxi2q"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const md=me("SquareCodeIcon",[["path",{d:"M10 9.5 8 12l2 2.5",key:"3mjy60"}],["path",{d:"m14 9.5 2 2.5-2 2.5",key:"1bir2l"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const mS=me("SquareSigmaIcon",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M16 8.9V7H8l4 5-4 5h8v-1.9",key:"9nih0i"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const OS=me("StrikethroughIcon",[["path",{d:"M16 4H9a3 3 0 0 0-2.83 4",key:"43sutm"}],["path",{d:"M14 12a4 4 0 0 1 0 8H6",key:"nlfj13"}],["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const gS=me("SubscriptIcon",[["path",{d:"m4 5 8 8",key:"1eunvl"}],["path",{d:"m12 5-8 8",key:"1ah0jp"}],["path",{d:"M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07",key:"e8ta8j"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const bS=me("SuperscriptIcon",[["path",{d:"m4 19 8-8",key:"hr47gm"}],["path",{d:"m12 19-8-8",key:"1dhhmo"}],["path",{d:"M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06",key:"1dfcux"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const vS=me("TableIcon",[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const yS=me("Trash2Icon",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const xS=me("UnderlineIcon",[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const kS=me("UploadIcon",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const SS=me("ViewIcon",[["path",{d:"M21 17v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2",key:"mrq65r"}],["path",{d:"M21 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2",key:"be3xqs"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0",key:"11ak4c"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const wS=me("XIcon",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),$S=()=>$("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-github-icon"},[$("path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"},null),$("path",{d:"M9 18c-4.51 2-5-2-7-2"},null)]),QS={bold:Nk,underline:xS,italic:nS,"strike-through":OS,title:tS,sub:gS,sup:bS,quote:hS,"unordered-list":aS,"ordered-list":sS,task:oS,"code-row":Hk,code:md,link:rS,image:iS,table:vS,revoke:fS,next:eS,save:dS,prettier:md,minimize:cS,maximize:uS,"fullscreen-exit":pS,fullscreen:Kk,"preview-only":SS,preview:Jk,"preview-html":Uk,catalog:lS,github:$S,mermaid:Gk,formula:mS,close:wS,delete:yS,upload:kS},_S=Te({name:`${x}-icon-set`,props:{name:{type:String,default:""}},setup(t){return()=>xs(QS[t.name],{class:`${x}-icon`})}}),ce=Te({name:`${x}-icon`,props:{name:{type:String,default:""}},setup(t){const e=H("customIcon");return()=>{const i=e.value[t.name];return typeof i=="object"?typeof i.component=="object"?xs(i.component,i.props):$("span",{innerHTML:i.component},null):$(_S,{name:t.name},null)}}}),PS={title:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:"auto"},onClose:{type:Function},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function,default:()=>{}},class:{type:String,default:void 0},style:{type:[Object,String],default:()=>({})},showMask:{type:Boolean,default:!0}},_n=Te({name:"MdModal",props:PS,emits:["onClose"],setup(t,e){const i=H("theme"),n=H("rootRef"),r=pe(t.visible),s=pe([`${x}-modal`]),o=pe(),l=pe(),a=pe(),u=Tn();let c=()=>{};const h=ct({maskStyle:{zIndex:-1},modalStyle:{zIndex:-1},initPos:{left:"0px",top:"0px"},historyPos:{left:"0px",top:"0px"}}),f=He(()=>t.isFullscreen?{width:"100%",height:"100%"}:{width:t.width,height:t.height});te(()=>t.isFullscreen,m=>{m?c():li(()=>{c=zf(l.value,(O,g)=>{h.initPos.left=O+"px",h.initPos.top=g+"px"})})}),te(()=>t.visible,m=>{m?(h.maskStyle.zIndex=Me.editorConfig.zIndex+cd(),h.modalStyle.zIndex=Me.editorConfig.zIndex+cd(),s.value.push("zoom-in"),r.value=m,li(()=>{const O=o.value.offsetWidth/2,g=o.value.offsetHeight/2,b=document.documentElement.clientWidth/2,y=document.documentElement.clientHeight/2;h.initPos.left=b-O+"px",h.initPos.top=y-g+"px",t.isFullscreen||(c=zf(l.value,(w,v)=>{h.initPos.left=w+"px",h.initPos.top=v+"px"}))}),setTimeout(()=>{s.value=s.value.filter(O=>O!=="zoom-in")},140)):(s.value.push("zoom-out"),c(),setTimeout(()=>{s.value=s.value.filter(O=>O!=="zoom-out"),r.value=m},130))});const d=He(()=>({display:r.value?"block":"none"})),p=He(()=>typeof t.style=="string"?[t.style,d.value].join("; "):t.style instanceof Object?{...d.value,...t.style}:d.value);return Ae(()=>{var m;const O=(m=n.value)==null?void 0:m.getRootNode();a.value=O instanceof Document?document.body:O}),()=>{const m=ht({ctx:e}),O=ht({props:t,ctx:e},"title");return a.value?$(xv,{to:a.value},{default:()=>[$("div",{ref:u,class:`${x}-modal-container`,"data-theme":i.value},[$("div",{class:t.class,style:p.value},[t.showMask&&$("div",{class:`${x}-modal-mask`,style:h.maskStyle,onClick:()=>{var g;(g=t.onClose)==null||g.call(t),e.emit("onClose")}},null),$("div",{class:s.value,style:{...h.modalStyle,...h.initPos,...f.value},ref:o},[$("div",{class:`${x}-modal-header`,ref:l},[O||""]),$("div",{class:`${x}-modal-body`},[m]),$("div",{class:`${x}-modal-func`},[t.showAdjust&&$("div",{class:`${x}-modal-adjust`,onClick:g=>{g.stopPropagation(),t.isFullscreen?h.initPos=h.historyPos:(h.historyPos=h.initPos,h.initPos={left:"0",top:"0"}),t.onAdjust(!t.isFullscreen)}},[$(ce,{name:t.isFullscreen?"minimize":"maximize"},null)]),$("div",{class:`${x}-modal-close`,onClick:g=>{var b;g.stopPropagation(),(b=t.onClose)==null||b.call(t),e.emit("onClose")}},[$(ce,{name:"close"},null)])])])])])]}):""}}});_n.install=t=>(t.component(_n.name,_n),t);const CS=`.${x}-preview > [data-line]`,Nn=(t,e)=>+getComputedStyle(t).getPropertyValue(e).replace("px",""),TS=(t,e)=>{const i=Kp(()=>{t.removeEventListener("scroll",n),t.addEventListener("scroll",n),e.removeEventListener("scroll",n),e.addEventListener("scroll",n)},50),n=r=>{const s=t.clientHeight,o=e.clientHeight,l=t.scrollHeight,a=e.scrollHeight,u=(l-s)/(a-o);r.target===t?(e.removeEventListener("scroll",n),e.scrollTo({top:t.scrollTop/u}),i()):(t.removeEventListener("scroll",n),t.scrollTo({top:e.scrollTop*u}),i())};return[()=>{i().finally(()=>{t.dispatchEvent(new Event("scroll"))})},()=>{t.removeEventListener("scroll",n),e.removeEventListener("scroll",n)}]},AS=(t,e,i)=>{const{view:n}=i,r=Jp(),s=g=>n.lineBlockAt(n.state.doc.line(g+1).from).top,o=g=>n.lineBlockAt(n.state.doc.line(g+1).from).bottom;let l=[],a=[],u=[];const c=()=>{l=[],a=Array.from(e.querySelectorAll(CS)),u=a.map(v=>Number(v.dataset.line));const g=[...u],{lines:b}=n.state.doc;let y=g.shift()||0,w=g.shift()||b;for(let v=0;v{let y=1;for(let w=a.length-1;w-1>=0;w--){const v=a[w],Q=a[w-1];if(v.offsetTop+v.offsetHeight>b&&Q.offsetTop=0;w--){const v=o(l[w].end),Q=s(l[w].start);if(v>g&&Q<=g){y=y{var g,b,y;if(d!==0)return!1;f++;const{scrollDOM:w,contentHeight:v}=n;let Q=Nn(e,"padding-top");const P=n.lineBlockAtHeight(w.scrollTop),{number:_}=n.state.doc.lineAt(P.from),R=l[_-1];if(!R)return!1;let L=1;const I=e.querySelector(`[data-line="${R.start}"]`)||((g=e.firstElementChild)==null?void 0:g.firstElementChild),T=e.querySelector(`[data-line="${R.end+1}"]`)||((b=e.lastElementChild)==null?void 0:b.lastElementChild),M=w.scrollHeight-w.clientHeight,F=e.scrollHeight-e.clientHeight;let B=s(R.start),Y=o(R.end),J=I.offsetTop,ee=T.offsetTop-J;B===0&&(J=0,I===T?(Q=0,Y=v-w.offsetHeight,ee=F):ee=T.offsetTop),L=(w.scrollTop-B)/(Y-B);const re=T==((y=e.lastElementChild)==null?void 0:y.lastElementChild)?T.offsetTop+T.clientHeight:T.offsetTop;if(Y>=M||re>F){const ye=h(M,F);B=s(ye),L=(w.scrollTop-B)/(M-B);const Oe=e.querySelector(`[data-line="${ye}"]`);B>0&&Oe&&(J=Oe.offsetTop),ee=F-J+Nn(e,"padding-top")}const ue=J-Q+ee*L;r(e,ue,()=>{f--})},m=()=>{var g,b,y,w,v,Q;if(f!==0)return;d++;const{scrollDOM:P}=n,_=e.scrollTop,R=e.scrollHeight,L=P.scrollHeight-P.clientHeight,I=e.scrollHeight-e.clientHeight;let T=(g=e.firstElementChild)==null?void 0:g.firstElementChild,M=(b=e.firstElementChild)==null?void 0:b.lastElementChild;if(u.length>0){let Oe=Math.ceil(u[u.length-1]*(_/R)),le=u.findLastIndex(Se=>Se<=Oe);le=le===-1?0:le,Oe=u[le];for(let Se=le;Se>=0&&Se_){if(Se-1>=0){Se--;continue}Oe=-1,le=Se;break}else{if(Se+1L||M.offsetTop+M.offsetHeight>I){const Oe=h(L,I),le=e.querySelector(`[data-line="${Oe}"]`);F=le?le.offsetTop-Nn(le,"margin-top"):F,re=s(Oe),Y=(_-F)/(I-F),ye=L-re}else T===((Q=e.firstElementChild)==null?void 0:Q.firstElementChild)?(T===M&&(B=M.offsetTop+M.offsetHeight+ +getComputedStyle(M).marginBottom.replace("px","")),ye=ue,Y=Math.max(_/B,0)):(Y=Math.max((_-F)/(B-F),0),ye=ue-re);r(t,re+ye*Y,()=>{d--})},O=g=>{var b;const{scrollDOM:y,contentHeight:w}=n,v=y.clientHeight;if(w<=v||e.firstElementChild.clientHeight<=e.clientHeight||n.state.doc.lines<=((b=l[l.length-1])==null?void 0:b.end))return!1;g.target===t?p():m()};return[()=>{c(),t.addEventListener("scroll",O),e.addEventListener("scroll",O),t.dispatchEvent(new Event("scroll"))},()=>{t.removeEventListener("scroll",O),e.removeEventListener("scroll",O)}]},ES={tocItem:{type:Object,default:()=>({})},mdHeadingId:{type:Function,default:()=>{}},onActive:{type:Function,default:()=>{}},onClick:{type:Function,default:()=>{}},scrollElementOffsetTop:{type:Number,default:0}},Nm=Te({props:ES,setup(t){const e=H("scrollElementRef"),i=H("roorNodeRef"),n=pe();return te(()=>t.tocItem.active,r=>{r&&t.onActive(t.tocItem,n.value)}),Ae(()=>{t.tocItem.active&&t.onActive(t.tocItem,n.value)}),()=>{const{tocItem:r,mdHeadingId:s,onClick:o,scrollElementOffsetTop:l}=t;return $("div",{ref:n,class:[`${x}-catalog-link`,r.active&&`${x}-catalog-active`],onClick:a=>{if(a.stopPropagation(),o(a,r),a.defaultPrevented)return;const u=s(r.text,r.level,r.index),c=i.value.getElementById(u),h=e.value;if(c&&h){let f=c.offsetParent,d=c.offsetTop;if(h.contains(f))for(;f&&h!=f;)d+=f==null?void 0:f.offsetTop,f=f==null?void 0:f.offsetParent;const p=c.previousElementSibling;let m=0;p||(m=Nn(c,"margin-top")),h==null||h.scrollTo({top:d-l-m,behavior:"smooth"})}}},[$("span",{title:r.text},[r.text]),r.children&&r.children.length>0&&$("div",{class:`${x}-catalog-wrapper`},[r.children.map(a=>$(Nm,{mdHeadingId:s,key:`${r.text}-link-${a.level}-${a.text}`,tocItem:a,onActive:t.onActive,onClick:o,scrollElementOffsetTop:l},null))])])}}}),RS={editorId:{type:String,default:void 0},class:{type:String,default:""},mdHeadingId:{type:Function,default:t=>t},scrollElement:{type:[String,Object],default:void 0},theme:{type:String,default:"light"},offsetTop:{type:Number,default:20},scrollElementOffsetTop:{type:Number,default:0},onClick:{type:Function,default:void 0},onActive:{type:Function,default:void 0},isScrollElementInShadow:{type:Boolean,default:!1},syncWith:{type:String,default:"preview"},catalogMaxDepth:{type:Number,default:void 0}},Jn=Te({name:"MdCatalog",props:RS,emits:["onClick","onActive"],setup(t,e){const i=t.editorId,n=`#${i}-preview-wrapper`,r=ct({list:[],show:!1,scrollElement:t.scrollElement||n}),s=Tn(),o=pe(),l=pe(),a=pe(),u=pe(),c=Tn(),h=pe({});Ct("scrollElementRef",l),Ct("roorNodeRef",u);const f=He(()=>{const y=[];return r.list.forEach((w,v)=>{if(t.catalogMaxDepth&&w.level>t.catalogMaxDepth)return;const{text:Q,level:P,line:_}=w,R={level:P,text:Q,line:_,index:v+1,active:s.value===w};if(y.length===0)y.push(R);else{let L=y[y.length-1];if(R.level>L.level)for(let I=L.level+1;I<=6;I++){const{children:T}=L;if(!T){L.children=[R];break}if(L=T[T.length-1],R.level<=L.level){T.push(R);break}}else y.push(R)}}),y}),d=()=>{var y;if(r.scrollElement instanceof HTMLElement)return r.scrollElement;let w=document;return(r.scrollElement===n||t.isScrollElementInShadow)&&(w=(y=o.value)==null?void 0:y.getRootNode()),w.querySelector(r.scrollElement)},p=y=>{if(y.length===0)return s.value=void 0,r.list=[],!1;const{activeHead:w}=y.reduce((v,Q,P)=>{var _;let R=0;if(t.syncWith==="preview"){const L=(_=u.value)==null?void 0:_.getElementById(t.mdHeadingId(Q.text,Q.level,P+1));L instanceof HTMLElement&&(R=N2(L,l.value))}else{const L=c.value;if(L){const I=L.lineBlockAt(L.state.doc.line(Q.line+1).from).top,T=L.scrollDOM.scrollTop;R=I-T}}return Rv.minTop?{activeHead:Q,minTop:R}:v},{activeHead:y[0],minTop:Number.MIN_SAFE_INTEGER});s.value=w,r.list=y},m=(y,w)=>{var v;h.value.top=w.offsetTop+Nn(w,"padding-top")+"px",(v=t.onActive)==null||v.call(t,y,w),e.emit("onActive",y,w)},O=()=>{p(r.list)},g=y=>{var w,v,Q;if((w=a.value)==null||w.removeEventListener("scroll",O),t.syncWith==="editor")a.value=(v=c.value)==null?void 0:v.scrollDOM;else{const P=d();l.value=P,a.value=P===document.documentElement?document:P}p(y),(Q=a.value)==null||Q.addEventListener("scroll",O)},b=y=>{c.value=y};return te([()=>t.syncWith,c,()=>t.catalogMaxDepth],()=>{g(r.list)}),Ae(()=>{u.value=o.value.getRootNode(),X.on(i,{name:ss,callback:g}),X.on(i,{name:pl,callback:b}),X.emit(i,nm),X.emit(i,om)}),Mn(()=>{var y;X.remove(i,ss,g),X.remove(i,pl,b),(y=a.value)==null||y.removeEventListener("scroll",O)}),()=>$("div",{class:[`${x}-catalog`,t.theme==="dark"&&`${x}-catalog-dark`,t.class||""],ref:o},[f.value.length>0&&$(Gs,null,[$("div",{class:`${x}-catalog-indicator`,style:h.value},null),$("div",{class:`${x}-catalog-container`},[f.value.map(y=>$(Nm,{mdHeadingId:t.mdHeadingId,tocItem:y,key:`link-${y.level}-${y.text}`,onActive:m,onClick:(w,v)=>{var Q;(Q=t.onClick)==null||Q.call(t,w,v),e.emit("onClick",w,v)},scrollElementOffsetTop:t.scrollElementOffsetTop},null))])])])}});Jn.install=t=>(t.component(Jn.name,Jn),t);let Qu=[],Gm=[];(()=>{let t="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let e=0,i=0;e>1;if(t=Gm[n])e=n+1;else return!0;if(e==i)return!1}}function Od(t){return t>=127462&&t<=127487}const gd=8205;function LS(t,e,i=!0,n=!0){return(i?Um:MS)(t,e,n)}function Um(t,e,i){if(e==t.length)return e;e&&Hm(t.charCodeAt(e))&&Km(t.charCodeAt(e-1))&&e--;let n=_a(t,e);for(e+=bd(n);e=0&&Od(_a(t,o));)s++,o-=2;if(s%2==0)break;e+=2}else break}return e}function MS(t,e,i){for(;e>1;){let n=Um(t,e-2,i);if(n=56320&&t<57344}function Km(t){return t>=55296&&t<56320}function bd(t){return t<65536?1:2}class de{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,i,n){[e,i]=Or(this,e,i);let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(i,this.length,r,1),Oi.from(r,this.length-(i-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,i=this.length){[e,i]=Or(this,e,i);let n=[];return this.decompose(e,i,n,0),Oi.from(n,i-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let i=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new as(this),s=new as(e);for(let o=i,l=i;;){if(r.next(o),s.next(o),o=0,r.lineBreak!=s.lineBreak||r.done!=s.done||r.value!=s.value)return!1;if(l+=r.value.length,r.done||l>=n)return!0}}iter(e=1){return new as(this,e)}iterRange(e,i=this.length){return new Jm(this,e,i)}iterLines(e,i){let n;if(e==null)n=this.iter();else{i==null&&(i=this.lines+1);let r=this.line(e).from;n=this.iterRange(r,Math.max(r,i==this.lines+1?this.length:i<=1?0:this.line(i-1).to))}return new eO(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?de.empty:e.length<=32?new Le(e):Oi.from(Le.split(e,[]))}}class Le extends de{constructor(e,i=ZS(e)){super(),this.text=e,this.length=i}get lines(){return this.text.length}get children(){return null}lineInner(e,i,n,r){for(let s=0;;s++){let o=this.text[s],l=r+o.length;if((i?n:l)>=e)return new IS(r,l,n,o);r=l+1,n++}}decompose(e,i,n,r){let s=e<=0&&i>=this.length?this:new Le(vd(this.text,e,i),Math.min(i,this.length)-Math.max(0,e));if(r&1){let o=n.pop(),l=tl(s.text,o.text.slice(),0,s.length);if(l.length<=32)n.push(new Le(l,o.length+s.length));else{let a=l.length>>1;n.push(new Le(l.slice(0,a)),new Le(l.slice(a)))}}else n.push(s)}replace(e,i,n){if(!(n instanceof Le))return super.replace(e,i,n);[e,i]=Or(this,e,i);let r=tl(this.text,tl(n.text,vd(this.text,0,e)),i),s=this.length+n.length-(i-e);return r.length<=32?new Le(r,s):Oi.from(Le.split(r,[]),s)}sliceString(e,i=this.length,n=` +`){[e,i]=Or(this,e,i);let r="";for(let s=0,o=0;s<=i&&oe&&o&&(r+=n),es&&(r+=l.slice(Math.max(0,e-s),i-s)),s=a+1}return r}flatten(e){for(let i of this.text)e.push(i)}scanIdentical(){return 0}static split(e,i){let n=[],r=-1;for(let s of e)n.push(s),r+=s.length+1,n.length==32&&(i.push(new Le(n,r)),n=[],r=-1);return r>-1&&i.push(new Le(n,r)),i}}class Oi extends de{constructor(e,i){super(),this.children=e,this.length=i,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,i,n,r){for(let s=0;;s++){let o=this.children[s],l=r+o.length,a=n+o.lines-1;if((i?a:l)>=e)return o.lineInner(e,i,n,r);r=l+1,n=a+1}}decompose(e,i,n,r){for(let s=0,o=0;o<=i&&s=o){let u=r&((o<=e?1:0)|(a>=i?2:0));o>=e&&a<=i&&!u?n.push(l):l.decompose(e-o,i-o,n,u)}o=a+1}}replace(e,i,n){if([e,i]=Or(this,e,i),n.lines=s&&i<=l){let a=o.replace(e-s,i-s,n),u=this.lines-o.lines+a.lines;if(a.lines>4&&a.lines>u>>6){let c=this.children.slice();return c[r]=a,new Oi(c,this.length-(i-e)+n.length)}return super.replace(s,l,a)}s=l+1}return super.replace(e,i,n)}sliceString(e,i=this.length,n=` +`){[e,i]=Or(this,e,i);let r="";for(let s=0,o=0;se&&s&&(r+=n),eo&&(r+=l.sliceString(e-o,i-o,n)),o=a+1}return r}flatten(e){for(let i of this.children)i.flatten(e)}scanIdentical(e,i){if(!(e instanceof Oi))return 0;let n=0,[r,s,o,l]=i>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=i,s+=i){if(r==o||s==l)return n;let a=this.children[r],u=e.children[s];if(a!=u)return n+a.scanIdentical(u,i);n+=a.length+1}}static from(e,i=e.reduce((n,r)=>n+r.length+1,-1)){let n=0;for(let d of e)n+=d.lines;if(n<32){let d=[];for(let p of e)p.flatten(d);return new Le(d,i)}let r=Math.max(32,n>>5),s=r<<1,o=r>>1,l=[],a=0,u=-1,c=[];function h(d){let p;if(d.lines>s&&d instanceof Oi)for(let m of d.children)h(m);else d.lines>o&&(a>o||!a)?(f(),l.push(d)):d instanceof Le&&a&&(p=c[c.length-1])instanceof Le&&d.lines+p.lines<=32?(a+=d.lines,u+=d.length+1,c[c.length-1]=new Le(p.text.concat(d.text),p.length+1+d.length)):(a+d.lines>r&&f(),a+=d.lines,u+=d.length+1,c.push(d))}function f(){a!=0&&(l.push(c.length==1?c[0]:Oi.from(c,u)),u=-1,a=c.length=0)}for(let d of e)h(d);return f(),l.length==1?l[0]:new Oi(l,i)}}de.empty=new Le([""],0);function ZS(t){let e=-1;for(let i of t)e+=i.length+1;return e}function tl(t,e,i=0,n=1e9){for(let r=0,s=0,o=!0;s=i&&(a>n&&(l=l.slice(0,n-r)),r0?1:(e instanceof Le?e.text.length:e.children.length)<<1]}nextInner(e,i){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],s=this.offsets[n],o=s>>1,l=r instanceof Le?r.text.length:r.children.length;if(o==(i>0?l:0)){if(n==0)return this.done=!0,this.value="",this;i>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(i>0?0:1)){if(this.offsets[n]+=i,e==0)return this.lineBreak=!0,this.value=` +`,this;e--}else if(r instanceof Le){let a=r.text[o+(i<0?-1:0)];if(this.offsets[n]+=i,a.length>Math.max(0,e))return this.value=e==0?a:i>0?a.slice(e):a.slice(0,a.length-e),this;e-=a.length}else{let a=r.children[o+(i<0?-1:0)];e>a.length?(e-=a.length,this.offsets[n]+=i):(i<0&&this.offsets[n]--,this.nodes.push(a),this.offsets.push(i>0?1:(a instanceof Le?a.text.length:a.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class Jm{constructor(e,i,n){this.value="",this.done=!1,this.cursor=new as(e,i>n?-1:1),this.pos=i>n?e.length:0,this.from=Math.min(i,n),this.to=Math.max(i,n)}nextInner(e,i){if(i<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,i<0?this.pos-this.to:this.from-this.pos);let n=i<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*i,this.value=r.length<=n?r:i<0?r.slice(r.length-n):r.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class eO{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:i,lineBreak:n,value:r}=this.inner.next(e);return i&&this.afterBreak?(this.value="",this.afterBreak=!1):i?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(de.prototype[Symbol.iterator]=function(){return this.iter()},as.prototype[Symbol.iterator]=Jm.prototype[Symbol.iterator]=eO.prototype[Symbol.iterator]=function(){return this});let IS=class{constructor(e,i,n,r){this.from=e,this.to=i,this.number=n,this.text=r}get length(){return this.to-this.from}};function Or(t,e,i){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t.length,i))]}function Ge(t,e,i=!0,n=!0){return LS(t,e,i,n)}function XS(t){return t>=56320&&t<57344}function zS(t){return t>=55296&&t<56320}function Ni(t,e){let i=t.charCodeAt(e);if(!zS(i)||e+1==t.length)return i;let n=t.charCodeAt(e+1);return XS(n)?(i-55296<<10)+(n-56320)+65536:i}function tO(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function vn(t){return t<65536?1:2}const _u=/\r\n?|\n/;var ut=(function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t})(ut||(ut={}));class $i{constructor(e){this.sections=e}get length(){let e=0;for(let i=0;ie)return s+(e-r);s+=l}else{if(n!=ut.Simple&&u>=e&&(n==ut.TrackDel&&re||n==ut.TrackBefore&&re))return null;if(u>e||u==e&&i<0&&!l)return e==r||i<0?s:s+a;s+=a}r=u}if(e>r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`);return s}touchesRange(e,i=e){for(let n=0,r=0;n=0&&r<=i&&l>=e)return ri?"cover":!0;r=l}return!1}toString(){let e="";for(let i=0;i=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(i=>typeof i!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new $i(e)}static create(e){return new $i(e)}}class Fe extends $i{constructor(e,i){super(e),this.inserted=i}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return Pu(this,(i,n,r,s,o)=>e=e.replace(r,r+(n-i),o),!1),e}mapDesc(e,i=!1){return Cu(this,e,i,!0)}invert(e){let i=this.sections.slice(),n=[];for(let r=0,s=0;r=0){i[r]=l,i[r+1]=o;let a=r>>1;for(;n.length0&&tn(n,i,s.text),s.forward(c),l+=c}let u=e[o++];for(;l>1].toJSON()))}return e}static of(e,i,n){let r=[],s=[],o=0,l=null;function a(c=!1){if(!c&&!r.length)return;of||h<0||f>i)throw new RangeError(`Invalid change range ${h} to ${f} (in doc of length ${i})`);let p=d?typeof d=="string"?de.of(d.split(n||_u)):d:de.empty,m=p.length;if(h==f&&m==0)return;ho&&nt(r,h-o,-1),nt(r,f-h,m),tn(s,r,p),o=f}}return u(e),a(!l),l}static empty(e){return new Fe(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let i=[],n=[];for(let r=0;rl&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)i.push(s[0],0);else{for(;n.length=0&&i<=0&&i==t[r+1]?t[r]+=e:r>=0&&e==0&&t[r]==0?t[r+1]+=i:n?(t[r]+=e,t[r+1]+=i):t.push(e,i)}function tn(t,e,i){if(i.length==0)return;let n=e.length-2>>1;if(n>1])),!(i||o==t.sections.length||t.sections[o+1]<0);)l=t.sections[o++],a=t.sections[o++];e(r,u,s,c,h),r=u,s=c}}}function Cu(t,e,i,n=!1){let r=[],s=n?[]:null,o=new _s(t),l=new _s(e);for(let a=-1;;){if(o.done&&l.len||l.done&&o.len)throw new Error("Mismatched change set lengths");if(o.ins==-1&&l.ins==-1){let u=Math.min(o.len,l.len);nt(r,u,-1),o.forward(u),l.forward(u)}else if(l.ins>=0&&(o.ins<0||a==o.i||o.off==0&&(l.len=0&&a=0){let u=0,c=o.len;for(;c;)if(l.ins==-1){let h=Math.min(c,l.len);u+=h,c-=h,l.forward(h)}else if(l.ins==0&&l.lena||o.ins>=0&&o.len>a)&&(l||n.length>u),s.forward2(a),o.forward(a)}}}}class _s{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return i>=e.length?de.empty:e[i]}textBit(e){let{inserted:i}=this.set,n=this.i-2>>1;return n>=i.length&&!e?de.empty:i[n].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class Ki{constructor(e,i,n,r){this.from=e,this.to=i,this.flags=n,this.goalColumn=r}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get undirectional(){return(this.flags&64)>0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}map(e,i=-1){let n,r;return this.empty?n=r=e.mapPos(this.from,i):(n=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new Ki(n,r,this.flags,this.goalColumn)}extend(e,i=e,n=0){if(e<=this.anchor&&i>=this.anchor)return E.range(e,i,void 0,void 0,n);let r=Math.abs(e-this.anchor)>Math.abs(i-this.anchor)?e:i;return E.range(this.anchor,r,void 0,void 0,n)}eq(e,i=!1){return this.anchor==e.anchor&&this.head==e.head&&this.goalColumn==e.goalColumn&&(!i||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return E.range(e.anchor,e.head)}static create(e,i,n,r){return new Ki(e,i,n,r)}}class E{constructor(e,i){this.ranges=e,this.mainIndex=i}map(e,i=-1){return e.empty?this:E.create(this.ranges.map(n=>n.map(e,i)),this.mainIndex)}eq(e,i=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;ne.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new E(e.ranges.map(i=>Ki.fromJSON(i)),e.main)}static single(e,i=e){return new E([E.range(e,i)],0)}static create(e,i=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,r=0;rr.from-s.from),i=e.indexOf(n);for(let r=1;rs.head?E.range(a,l):E.range(l,a))}}return new E(e,i)}}function nO(t,e){for(let i of t.ranges)if(i.to>e)throw new RangeError("Selection points outside of document")}let Mc=0;class G{constructor(e,i,n,r,s){this.combine=e,this.compareInput=i,this.compare=n,this.isStatic=r,this.id=Mc++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}get reader(){return this}static define(e={}){return new G(e.combine||(i=>i),e.compareInput||((i,n)=>i===n),e.compare||(e.combine?(i,n)=>i===n:Zc),!!e.static,e.enables)}of(e){return new il([],this,0,e)}compute(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new il(e,this,1,i)}computeN(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new il(e,this,2,i)}from(e,i){return i||(i=n=>n),this.compute([e],n=>i(n.field(e)))}}function Zc(t,e){return t==e||t.length==e.length&&t.every((i,n)=>i===e[n])}class il{constructor(e,i,n,r){this.dependencies=e,this.facet=i,this.type=n,this.value=r,this.id=Mc++}dynamicSlot(e){var i;let n=this.value,r=this.facet.compareInput,s=this.id,o=e[s]>>1,l=this.type==2,a=!1,u=!1,c=[];for(let h of this.dependencies)h=="doc"?a=!0:h=="selection"?u=!0:(((i=e[h.id])!==null&&i!==void 0?i:1)&1)==0&&c.push(e[h.id]);return{create(h){return h.values[o]=n(h),1},update(h,f){if(a&&f.docChanged||u&&(f.docChanged||f.selection)||Tu(h,c)){let d=n(h);if(l?!yd(d,h.values[o],r):!r(d,h.values[o]))return h.values[o]=d,1}return 0},reconfigure:(h,f)=>{let d,p=f.config.address[s];if(p!=null){let m=vl(f,p);if(this.dependencies.every(O=>O instanceof G?f.facet(O)===h.facet(O):O instanceof Yt?f.field(O,!1)==h.field(O,!1):!0)||(l?yd(d=n(h),m,r):r(d=n(h),m)))return h.values[o]=m,0}else d=n(h);return h.values[o]=d,1}}}get extension(){return this}}function yd(t,e,i){if(t.length!=e.length)return!1;for(let n=0;nt[a.id]),r=i.map(a=>a.type),s=n.filter(a=>!(a&1)),o=t[e.id]>>1;function l(a){let u=[];for(let c=0;cn===r),e);return e.provide&&(i.provides=e.provide(i)),i}create(e){let i=e.facet(xo).find(n=>n.field==this);return((i==null?void 0:i.create)||this.createF)(e)}slot(e){let i=e[this.id]>>1;return{create:n=>(n.values[i]=this.create(n),1),update:(n,r)=>{let s=n.values[i],o=this.updateF(s,r);return this.compareF(s,o)?0:(n.values[i]=o,1)},reconfigure:(n,r)=>{let s=n.facet(xo),o=r.facet(xo),l;return(l=s.find(a=>a.field==this))&&l!=o.find(a=>a.field==this)?(n.values[i]=l.create(n),1):r.config.address[this.id]!=null?(n.values[i]=r.field(this),0):(n.values[i]=this.create(n),1)}}}init(e){return[this,xo.of({field:this,create:e})]}get extension(){return this}}const yn={lowest:4,low:3,default:2,high:1,highest:0};function jr(t){return e=>new rO(e,t)}const Ii={highest:jr(yn.highest),high:jr(yn.high),default:jr(yn.default),low:jr(yn.low),lowest:jr(yn.lowest)};class rO{constructor(e,i){this.inner=e,this.prec=i}get extension(){return this}}class gi{of(e){return new Au(this,e)}reconfigure(e){return gi.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Au{constructor(e,i){this.compartment=e,this.inner=i}get extension(){return this}}class bl{constructor(e,i,n,r,s,o){for(this.base=e,this.compartments=i,this.dynamicSlots=n,this.address=r,this.staticValues=s,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,i,n){let r=[],s=Object.create(null),o=new Map;for(let f of FS(e,i,o))f instanceof Yt?r.push(f):(s[f.facet.id]||(s[f.facet.id]=[])).push(f);let l=Object.create(null),a=[],u=[];for(let f of r)l[f.id]=u.length<<1,u.push(d=>f.slot(d));let c=n==null?void 0:n.config.facets;for(let f in s){let d=s[f],p=d[0].facet,m=c&&c[f]||[];if(d.every(O=>O.type==0))if(l[p.id]=a.length<<1|1,Zc(m,d))a.push(n.facet(p));else{let O=p.combine(d.map(g=>g.value));a.push(n&&p.compare(O,n.facet(p))?n.facet(p):O)}else{for(let O of d)O.type==0?(l[O.id]=a.length<<1|1,a.push(O.value)):(l[O.id]=u.length<<1,u.push(g=>O.dynamicSlot(g)));l[p.id]=u.length<<1,u.push(O=>jS(O,p,d))}}let h=u.map(f=>f(l));return new bl(e,o,h,l,a,s)}}function FS(t,e,i){let n=[[],[],[],[],[]],r=new Map;function s(o,l){let a=r.get(o);if(a!=null){if(a<=l)return;let u=n[a].indexOf(o);u>-1&&n[a].splice(u,1),o instanceof Au&&i.delete(o.compartment)}if(r.set(o,l),Array.isArray(o))for(let u of o)s(u,l);else if(o instanceof Au){if(i.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let u=e.get(o.compartment)||o.inner;i.set(o.compartment,u),s(u,l)}else if(o instanceof rO)s(o.inner,o.prec);else if(o instanceof Yt)n[l].push(o),o.provides&&s(o.provides,l);else if(o instanceof il)n[l].push(o),o.facet.extensions&&s(o.facet.extensions,yn.default);else{let u=o.extension;if(!u)throw new Error(`Unrecognized extension value in extension set (${o}).`);if(u==o)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(u,l)}}return s(t,yn.default),n.reduce((o,l)=>o.concat(l))}function us(t,e){if(e&1)return 2;let i=e>>1,n=t.status[i];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;t.status[i]=4;let r=t.computeSlot(t,t.config.dynamicSlots[i]);return t.status[i]=2|r}function vl(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}const sO=G.define(),Eu=G.define({combine:t=>t.some(e=>e),static:!0}),oO=G.define({combine:t=>t.length?t[0]:void 0,static:!0}),lO=G.define(),aO=G.define(),uO=G.define(),cO=G.define({combine:t=>t.length?t[0]:!1});class Xi{constructor(e,i){this.type=e,this.value=i}static define(){return new BS}}class BS{of(e){return new Xi(this,e)}}class VS{constructor(e){this.map=e}of(e){return new ae(this,e)}}class ae{constructor(e,i){this.type=e,this.value=i}map(e){let i=this.type.map(this.value,e);return i===void 0?void 0:i==this.value?this:new ae(this.type,i)}is(e){return this.type==e}static define(e={}){return new VS(e.map||(i=>i))}static mapEffects(e,i){if(!e.length)return e;let n=[];for(let r of e){let s=r.map(i);s&&n.push(s)}return n}}ae.reconfigure=ae.define();ae.appendConfig=ae.define();class Xe{constructor(e,i,n,r,s,o){this.startState=e,this.changes=i,this.selection=n,this.effects=r,this.annotations=s,this.scrollIntoView=o,this._doc=null,this._state=null,n&&nO(n,i.newLength),s.some(l=>l.type==Xe.time)||(this.annotations=s.concat(Xe.time.of(Date.now())))}static create(e,i,n,r,s,o){return new Xe(e,i,n,r,s,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let i of this.annotations)if(i.type==e)return i.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let i=this.annotation(Xe.userEvent);return!!(i&&(i==e||i.length>e.length&&i.slice(0,e.length)==e&&i[e.length]=="."))}}Xe.time=Xi.define();Xe.userEvent=Xi.define();Xe.addToHistory=Xi.define();Xe.remote=Xi.define();function qS(t,e){let i=[];for(let n=0,r=0;;){let s,o;if(n=t[n]))s=t[n++],o=t[n++];else if(r=0;r--){let s=n[r](t);s instanceof Xe?t=s:Array.isArray(s)&&s.length==1&&s[0]instanceof Xe?t=s[0]:t=fO(e,er(s),!1)}return t}function YS(t){let e=t.startState,i=e.facet(uO),n=t;for(let r=i.length-1;r>=0;r--){let s=i[r](t);s&&Object.keys(s).length&&(n=hO(n,Ru(e,s,t.changes.newLength),!0))}return n==t?t:Xe.create(e,t.changes,t.selection,n.effects,n.annotations,n.scrollIntoView)}const NS=[];function er(t){return t==null?NS:Array.isArray(t)?t:[t]}var Je=(function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t})(Je||(Je={}));const GS=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Du;try{Du=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function US(t){if(Du)return Du.test(t);for(let e=0;e"€"&&(i.toUpperCase()!=i.toLowerCase()||GS.test(i)))return!0}return!1}function HS(t){return e=>{if(!/\S/.test(e))return Je.Space;if(US(e))return Je.Word;for(let i=0;i-1)return Je.Word;return Je.Other}}class fe{constructor(e,i,n,r,s,o){this.config=e,this.doc=i,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=s,o&&(o._state=this);for(let l=0;lr.set(u,a)),i=null),r.set(l.value.compartment,l.value.extension)):l.is(ae.reconfigure)?(i=null,n=l.value):l.is(ae.appendConfig)&&(i=null,n=er(n).concat(l.value));let s;i?s=e.startState.values.slice():(i=bl.resolve(n,r,this),s=new fe(i,this.doc,this.selection,i.dynamicSlots.map(()=>null),(a,u)=>u.reconfigure(a,this),null).values);let o=e.startState.facet(Eu)?e.newSelection:e.newSelection.asSingle();new fe(i,e.newDoc,o,s,(l,a)=>a.update(l,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:e},range:E.cursor(i.from+e.length)}))}changeByRange(e){let i=this.selection,n=e(i.ranges[0]),r=this.changes(n.changes),s=[n.range],o=er(n.effects);for(let l=1;lo.spec.fromJSON(l,a)))}}return fe.create({doc:e.doc,selection:E.fromJSON(e.selection),extensions:i.extensions?r.concat([i.extensions]):r})}static create(e={}){let i=bl.resolve(e.extensions||[],new Map),n=e.doc instanceof de?e.doc:de.of((e.doc||"").split(i.staticFacet(fe.lineSeparator)||_u)),r=e.selection?e.selection instanceof E?e.selection:E.single(e.selection.anchor,e.selection.head):E.single(0);return nO(r,n.length),i.staticFacet(Eu)||(r=r.asSingle()),new fe(i,n,r,i.dynamicSlots.map(()=>null),(s,o)=>o.create(s),null)}get tabSize(){return this.facet(fe.tabSize)}get lineBreak(){return this.facet(fe.lineSeparator)||` +`}get readOnly(){return this.facet(cO)}phrase(e,...i){for(let n of this.facet(fe.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return i.length&&(e=e.replace(/\$(\$|\d*)/g,(n,r)=>{if(r=="$")return"$";let s=+(r||1);return!s||s>i.length?n:i[s-1]})),e}languageDataAt(e,i,n=-1){let r=[];for(let s of this.facet(sO))for(let o of s(this,i,n))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[e]);return r}charCategorizer(e){let i=this.languageDataAt("wordChars",e);return HS(i.length?i[0]:"")}wordAt(e){let{text:i,from:n,length:r}=this.doc.lineAt(e),s=this.charCategorizer(e),o=e-n,l=e-n;for(;o>0;){let a=Ge(i,o,!1);if(s(i.slice(a,o))!=Je.Word)break;o=a}for(;lt.length?t[0]:4});fe.lineSeparator=oO;fe.readOnly=cO;fe.phrases=G.define({compare(t,e){let i=Object.keys(t),n=Object.keys(e);return i.length==n.length&&i.every(r=>t[r]==e[r])}});fe.languageData=sO;fe.changeFilter=lO;fe.transactionFilter=aO;fe.transactionExtender=uO;gi.reconfigure=ae.define();function na(t,e,i={}){let n={};for(let r of t)for(let s of Object.keys(r)){let o=r[s],l=n[s];if(l===void 0)n[s]=o;else if(!(l===o||o===void 0))if(Object.hasOwnProperty.call(i,s))n[s]=i[s](l,o);else throw new Error("Config merge conflict for field "+s)}for(let r in e)n[r]===void 0&&(n[r]=e[r]);return n}class on{eq(e){return this==e}range(e,i=e){return Lu.create(e,i,this)}}on.prototype.startSide=on.prototype.endSide=0;on.prototype.point=!1;on.prototype.mapMode=ut.TrackDel;function Ic(t,e){return t==e||t.constructor==e.constructor&&t.eq(e)}let Lu=class dO{constructor(e,i,n){this.from=e,this.to=i,this.value=n}static create(e,i,n){return new dO(e,i,n)}};function Mu(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class Xc{constructor(e,i,n,r){this.from=e,this.to=i,this.value=n,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,i,n,r=0){let s=n?this.to:this.from;for(let o=r,l=s.length;;){if(o==l)return o;let a=o+l>>1,u=s[a]-e||(n?this.value[a].endSide:this.value[a].startSide)-i;if(a==o)return u>=0?o:l;u>=0?l=a:o=a+1}}between(e,i,n,r){for(let s=this.findIndex(i,-1e9,!0),o=this.findIndex(n,1e9,!1,s);sd||f==d&&u.startSide>0&&u.endSide<=0)continue;(d-f||u.endSide-u.startSide)<0||(o<0&&(o=f),u.point&&(l=Math.max(l,d-f)),n.push(u),r.push(f-o),s.push(d-o))}return{mapped:n.length?new Xc(r,s,n,l):null,pos:o}}}class be{constructor(e,i,n,r){this.chunkPos=e,this.chunk=i,this.nextLayer=n,this.maxPoint=r}static create(e,i,n,r){return new be(e,i,n,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let i of this.chunk)e+=i.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:i=[],sort:n=!1,filterFrom:r=0,filterTo:s=this.length}=e,o=e.filter;if(i.length==0&&!o)return this;if(n&&(i=i.slice().sort(Mu)),this.isEmpty)return i.length?be.of(i):this;let l=new pO(this,null,-1).goto(0),a=0,u=[],c=new gr;for(;l.value||a=0){let h=i[a++];c.addInner(h.from,h.to,h.value)||u.push(h)}else l.rangeIndex==1&&l.chunkIndexthis.chunkEnd(l.chunkIndex)||sl.to||s=s&&e<=s+o.length&&o.between(s,e-s,i-s,n)===!1)return}this.nextLayer.between(e,i,n)}}iter(e=0){return Ps.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,i=0){return Ps.from(e).goto(i)}static compare(e,i,n,r,s=-1){let o=e.filter(h=>h.maxPoint>0||!h.isEmpty&&h.maxPoint>=s),l=i.filter(h=>h.maxPoint>0||!h.isEmpty&&h.maxPoint>=s),a=xd(o,l,n),u=new Fr(o,a,s),c=new Fr(l,a,s);n.iterGaps((h,f,d)=>kd(u,h,c,f,d,r)),n.empty&&n.length==0&&kd(u,0,c,0,0,r)}static eq(e,i,n=0,r){r==null&&(r=999999999);let s=e.filter(c=>!c.isEmpty&&i.indexOf(c)<0),o=i.filter(c=>!c.isEmpty&&e.indexOf(c)<0);if(s.length!=o.length)return!1;if(!s.length)return!0;let l=xd(s,o),a=new Fr(s,l,0).goto(n),u=new Fr(o,l,0).goto(n);for(;;){if(a.to!=u.to||!Zu(a.active,u.active)||a.point&&(!u.point||!Ic(a.point,u.point)))return!1;if(a.to>r)return!0;a.next(),u.next()}}static spans(e,i,n,r,s=-1){let o=new Fr(e,null,s).goto(i),l=i,a=o.openStart;for(;;){let u=Math.min(o.to,n);if(o.point){let c=o.activeForPoint(o.to),h=o.pointFroml&&(r.span(l,u,o.active,a),a=o.openEnd(u));if(o.to>n)return a+(o.point&&o.to>n?1:0);l=o.to,o.next()}}static of(e,i=!1){let n=new gr;for(let r of e instanceof Lu?[e]:i?KS(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){if(!e.length)return be.empty;let i=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=be.empty;r=r.nextLayer)i=new be(r.chunkPos,r.chunk,i,Math.max(r.maxPoint,i.maxPoint));return i}}be.empty=new be([],[],null,-1);function KS(t){if(t.length>1)for(let e=t[0],i=1;i0)return t.slice().sort(Mu);e=n}return t}be.empty.nextLayer=be.empty;class gr{finishChunk(e){this.chunks.push(new Xc(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,i,n){this.addInner(e,i,n)||(this.nextLayer||(this.nextLayer=new gr)).add(e,i,n)}addInner(e,i,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return r<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(i-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=i,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,i-e)),!0)}addChunk(e,i){if((e-this.lastTo||i.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,i.maxPoint),this.chunks.push(i),this.chunkPos.push(e);let n=i.value.length-1;return this.last=i.value[n],this.lastFrom=i.from[n]+e,this.lastTo=i.to[n]+e,!0}finish(){return this.finishInner(be.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let i=be.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,i}}function xd(t,e,i){let n=new Map;for(let s of t)for(let o=0;o=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&r.push(new pO(o,i,n,s));return r.length==1?r[0]:new Ps(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,i=-1e9){for(let n of this.heap)n.goto(e,i);for(let n=this.heap.length>>1;n>=0;n--)Pa(this.heap,n);return this.next(),this}forward(e,i){for(let n of this.heap)n.forward(e,i);for(let n=this.heap.length>>1;n>=0;n--)Pa(this.heap,n);(this.to-e||this.value.endSide-i)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),Pa(this.heap,0)}}}function Pa(t,e){for(let i=t[e];;){let n=(e<<1)+1;if(n>=t.length)break;let r=t[n];if(n+1=0&&(r=t[n+1],n++),i.compare(r)<0)break;t[n]=i,t[e]=r,e=n}}class Fr{constructor(e,i,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Ps.from(e,i,n)}goto(e,i=-1e9){return this.cursor.goto(e,i),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=i,this.openStart=-1,this.next(),this}forward(e,i){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-i)<0;)this.removeActive(this.minActive);this.cursor.forward(e,i)}removeActive(e){ko(this.active,e),ko(this.activeTo,e),ko(this.activeRank,e),this.minActive=Sd(this.active,this.activeTo)}addActive(e){let i=0,{value:n,to:r,rank:s}=this.cursor;for(;i0;)i++;So(this.active,i,n),So(this.activeTo,i,r),So(this.activeRank,i,s),e&&So(e,i,this.cursor.from),this.minActive=Sd(this.active,this.activeTo)}next(){let e=this.to,i=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let r=this.minActive;if(r>-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&ko(n,r)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(n),this.cursor.next();else if(i&&this.cursor.to==this.to&&this.cursor.from=0&&n[r]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&i.push(this.active[n]);return i.reverse()}openEnd(e){let i=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)i++;return i}}function kd(t,e,i,n,r,s){t.goto(e),i.goto(n);let o=n+r,l=n,a=n-e,u=!!s.boundChange;for(let c=!1;;){let h=t.to+a-i.to,f=h||t.endSide-i.endSide,d=f<0?t.to+a:i.to,p=Math.min(d,o);if(t.point||i.point?(t.point&&i.point&&Ic(t.point,i.point)&&Zu(t.activeForPoint(t.to),i.activeForPoint(i.to))||s.comparePoint(l,p,t.point,i.point),c=!1):(c&&s.boundChange(l),p>l&&!Zu(t.active,i.active)&&s.compareRange(l,p,t.active,i.active),u&&po)break;l=d,f<=0&&t.next(),f>=0&&i.next()}}function Zu(t,e){if(t.length!=e.length)return!1;for(let i=0;i=e;n--)t[n+1]=t[n];t[e]=i}function Sd(t,e){let i=-1,n=1e9;for(let r=0;r=e)return r;if(r==t.length)break;s+=t.charCodeAt(r)==9?i-s%i:1,r=Ge(t,r)}return t.length}const Iu="ͼ",wd=typeof Symbol>"u"?"__"+Iu:Symbol.for(Iu),Xu=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),$d=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class ln{constructor(e,i){this.rules=[];let{finish:n}=i||{};function r(o){return/^@/.test(o)?[o]:o.split(/,\s*/)}function s(o,l,a,u){let c=[],h=/^@(\w+)\b/.exec(o[0]),f=h&&h[1]=="keyframes";if(h&&l==null)return a.push(o[0]+";");for(let d in l){let p=l[d];if(/&/.test(d))s(d.split(/,\s*/).map(m=>o.map(O=>m.replace(/&/,O))).reduce((m,O)=>m.concat(O)),p,a);else if(p&&typeof p=="object"){if(!h)throw new RangeError("The value of a property ("+d+") should be a primitive value.");s(r(d),p,c,f)}else p!=null&&c.push(d.replace(/_.*/,"").replace(/[A-Z]/g,m=>"-"+m.toLowerCase())+": "+p+";")}(c.length||f)&&a.push((n&&!h&&!u?o.map(n):o).join(", ")+" {"+c.join(" ")+"}")}for(let o in e)s(r(o),e[o],this.rules)}getRules(){return this.rules.join(` +`)}static newName(){let e=$d[wd]||1;return $d[wd]=e+1,Iu+e.toString(36)}static mount(e,i,n){let r=e[Xu],s=n&&n.nonce;r?s&&r.setNonce(s):r=new ew(e,s),r.mount(Array.isArray(i)?i:[i],e)}}let Qd=new Map;class ew{constructor(e,i){let n=e.ownerDocument||e,r=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let s=Qd.get(n);if(s)return e[Xu]=s;this.sheet=new r.CSSStyleSheet,Qd.set(n,this)}else this.styleTag=n.createElement("style"),i&&this.styleTag.setAttribute("nonce",i);this.modules=[],e[Xu]=this}mount(e,i){let n=this.sheet,r=0,s=0;for(let o=0;o-1&&(this.modules.splice(a,1),s--,a=-1),a==-1){if(this.modules.splice(s++,0,l),n)for(let u=0;u",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},tw=typeof navigator<"u"&&/Mac/.test(navigator.platform),iw=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Ke=0;Ke<10;Ke++)an[48+Ke]=an[96+Ke]=String(Ke);for(var Ke=1;Ke<=24;Ke++)an[Ke+111]="F"+Ke;for(var Ke=65;Ke<=90;Ke++)an[Ke]=String.fromCharCode(Ke+32),Cs[Ke]=String.fromCharCode(Ke);for(var Ca in an)Cs.hasOwnProperty(Ca)||(Cs[Ca]=an[Ca]);function nw(t){var e=tw&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||iw&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",i=!e&&t.key||(t.shiftKey?Cs:an)[t.keyCode]||t.key||"Unidentified";return i=="Esc"&&(i="Escape"),i=="Del"&&(i="Delete"),i=="Left"&&(i="ArrowLeft"),i=="Up"&&(i="ArrowUp"),i=="Right"&&(i="ArrowRight"),i=="Down"&&(i="ArrowDown"),i}function We(){var t=arguments[0];typeof t=="string"&&(t=document.createElement(t));var e=1,i=arguments[1];if(i&&typeof i=="object"&&i.nodeType==null&&!Array.isArray(i)){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var r=i[n];typeof r=="string"?t.setAttribute(n,r):r!=null&&(t[n]=r)}e++}for(;e2);var q={mac:Cd||/Mac/.test(at.platform),windows:/Win/.test(at.platform),linux:/Linux|X11/.test(at.platform),ie:ra,ie_version:OO?zu.documentMode||6:Fu?+Fu[1]:ju?+ju[1]:0,gecko:_d,gecko_version:_d?+(/Firefox\/(\d+)/.exec(at.userAgent)||[0,0])[1]:0,chrome:!!Ta,chrome_version:Ta?+Ta[1]:0,ios:Cd,android:/Android\b/.test(at.userAgent),webkit:Pd,webkit_version:Pd?+(/\bAppleWebKit\/(\d+)/.exec(at.userAgent)||[0,0])[1]:0,safari:Bu,safari_version:Bu?+(/\bVersion\/(\d+(\.\d+)?)/.exec(at.userAgent)||[0,0])[1]:0,tabSize:zu.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};function zc(t,e){for(let i in t)i=="class"&&e.class?e.class+=" "+t.class:i=="style"&&e.style?e.style+=";"+t.style:e[i]=t[i];return e}const yl=Object.create(null);function jc(t,e,i){if(t==e)return!0;t||(t=yl),e||(e=yl);let n=Object.keys(t),r=Object.keys(e);if(n.length-0!=r.length-0)return!1;for(let s of n)if(s!=i&&(r.indexOf(s)==-1||t[s]!==e[s]))return!1;return!0}function rw(t,e){for(let i=t.attributes.length-1;i>=0;i--){let n=t.attributes[i].name;e[n]==null&&t.removeAttribute(n)}for(let i in e){let n=e[i];i=="style"?t.style.cssText=n:t.getAttribute(i)!=n&&t.setAttribute(i,n)}}function Td(t,e,i){let n=!1;if(e)for(let r in e)i&&r in i||(n=!0,r=="style"?t.style.cssText="":t.removeAttribute(r));if(i)for(let r in i)e&&e[r]==i[r]||(n=!0,r=="style"?t.style.cssText=i[r]:t.setAttribute(r,i[r]));return n}function sw(t){let e=Object.create(null);for(let i=0;i0?3e8:-4e8:i>0?1e8:-1e8,new An(e,i,i,n,e.widget||null,!1)}static replace(e){let i=!!e.block,n,r;if(e.isBlockGap)n=-5e8,r=4e8;else{let{start:s,end:o}=gO(e,i);n=(s?i?-3e8:-1:5e8)-1,r=(o?i?2e8:1:-6e8)+1}return new An(e,n,r,i,e.widget||null,!0)}static line(e){return new eo(e)}static set(e,i=!1){return be.of(e,i)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}ve.none=be.empty;class Js extends ve{constructor(e){let{start:i,end:n}=gO(e);super(i?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.attrs=e.class&&e.attributes?zc(e.attributes,{class:e.class}):e.class?{class:e.class}:e.attributes||yl}eq(e){return this==e||e instanceof Js&&this.tagName==e.tagName&&jc(this.attrs,e.attrs)}range(e,i=e){if(e>=i)throw new RangeError("Mark decorations may not be empty");return super.range(e,i)}}Js.prototype.point=!1;class eo extends ve{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof eo&&this.spec.class==e.spec.class&&jc(this.spec.attributes,e.spec.attributes)}range(e,i=e){if(i!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,i)}}eo.prototype.mapMode=ut.TrackBefore;eo.prototype.point=!0;class An extends ve{constructor(e,i,n,r,s,o){super(i,n,s,e),this.block=r,this.isReplace=o,this.mapMode=r?i<=0?ut.TrackBefore:ut.TrackAfter:ut.TrackDel}get type(){return this.startSide!=this.endSide?ft.WidgetRange:this.startSide<=0?ft.WidgetBefore:ft.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof An&&ow(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,i=e){if(this.isReplace&&(e>i||e==i&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&i!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,i)}}An.prototype.point=!0;function gO(t,e=!1){let{inclusiveStart:i,inclusiveEnd:n}=t;return i==null&&(i=t.inclusive),n==null&&(n=t.inclusive),{start:i??e,end:n??e}}function ow(t,e){return t==e||!!(t&&e&&t.compare(e))}function tr(t,e,i,n=0){let r=i.length-1;r>=0&&i[r]+n>=t?i[r]=Math.max(i[r],e):i.push(t,e)}class Ts extends on{constructor(e,i,n){super(),this.tagName=e,this.attributes=i,this.rank=n}eq(e){return e==this||e instanceof Ts&&this.tagName==e.tagName&&jc(this.attributes,e.attributes)}static create(e){return new Ts(e.tagName,e.attributes||yl,e.rank==null?50:Math.max(0,Math.min(e.rank,100)))}static set(e,i=!1){return be.of(e,i)}}Ts.prototype.startSide=Ts.prototype.endSide=-1;function As(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function Vu(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function cs(t,e){if(!e.anchorNode)return!1;try{return Vu(t,e.anchorNode)}catch{return!1}}function hs(t){return t.nodeType==3?Rs(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function fs(t,e,i,n){return i?Ad(t,e,i,n,-1)||Ad(t,e,i,n,1):!1}function un(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function xl(t){return t.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}function Ad(t,e,i,n,r){for(;;){if(t==i&&e==n)return!0;if(e==(r<0?0:Zi(t))){if(t.nodeName=="DIV")return!1;let s=t.parentNode;if(!s||s.nodeType!=1)return!1;e=un(t)+(r<0?0:1),t=s}else if(t.nodeType==1){if(t=t.childNodes[e+(r<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=r<0?Zi(t):0}else return!1}}function Zi(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function Es(t,e){let{left:i,right:n}=t;if(i==n)return t;let r=e?i:n;return{left:r,right:r,top:t.top,bottom:t.bottom}}function lw(t){let e=t.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function bO(t,e){let i=e.width/t.offsetWidth,n=e.height/t.offsetHeight;return(i>.995&&i<1.005||!isFinite(i)||Math.abs(e.width-t.offsetWidth)<1)&&(i=1),(n>.995&&n<1.005||!isFinite(n)||Math.abs(e.height-t.offsetHeight)<1)&&(n=1),{scaleX:i,scaleY:n}}function aw(t,e,i,n,r,s,o,l){let a=t.ownerDocument,u=a.defaultView||window;for(let c=t,h=!1;c&&!h;)if(c.nodeType==1){let f,d=c==a.body,p=1,m=1;if(d)f=lw(u);else{if(/^(fixed|sticky)$/.test(getComputedStyle(c).position)&&(h=!0),c.scrollHeight<=c.clientHeight&&c.scrollWidth<=c.clientWidth){c=c.assignedSlot||c.parentNode;continue}let b=c.getBoundingClientRect();({scaleX:p,scaleY:m}=bO(c,b)),f={left:b.left,right:b.left+c.clientWidth*p,top:b.top,bottom:b.top+c.clientHeight*m}}let O=0,g=0;if(r=="nearest")e.top0&&e.bottom>f.bottom+g&&(g=e.bottom-f.bottom+o)):e.bottom>f.bottom-o&&(g=e.bottom-f.bottom+o,i<0&&e.top-g0&&e.right>f.right+O&&(O=e.right-f.right+s)):e.right>f.right-s&&(O=e.right-f.right+s,i<0&&e.leftf.bottom||e.leftf.right)&&(e={left:Math.max(e.left,f.left),right:Math.min(e.right,f.right),top:Math.max(e.top,f.top),bottom:Math.min(e.bottom,f.bottom)}),c=c.assignedSlot||c.parentNode}else if(c.nodeType==11)c=c.host;else break}function vO(t,e=!0){let i=t.ownerDocument,n=null,r=null;for(let s=t.parentNode;s&&!(s==i.body||(!e||n)&&r);)if(s.nodeType==1)!r&&s.scrollHeight>s.clientHeight&&(r=s),e&&!n&&s.scrollWidth>s.clientWidth&&(n=s),s=s.assignedSlot||s.parentNode;else if(s.nodeType==11)s=s.host;else break;return{x:n,y:r}}class uw{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:i,focusNode:n}=e;this.set(i,Math.min(e.anchorOffset,i?Zi(i):0),n,Math.min(e.focusOffset,n?Zi(n):0))}set(e,i,n,r){this.anchorNode=e,this.anchorOffset=i,this.focusNode=n,this.focusOffset=r}}let bn=null;q.safari&&q.safari_version>=26&&(bn=!1);function yO(t){if(t.setActive)return t.setActive();if(bn)return t.focus(bn);let e=[];for(let i=t;i&&(e.push(i,i.scrollTop,i.scrollLeft),i!=i.ownerDocument);i=i.parentNode);if(t.focus(bn==null?{get preventScroll(){return bn={preventScroll:!0},!0}}:void 0),!bn){bn=!1;for(let i=0;iMath.max(0,t.document.documentElement.scrollHeight-t.innerHeight-4):t.scrollTop>Math.max(1,t.scrollHeight-t.clientHeight-4)}function kO(t,e){for(let i=t,n=e;;){if(i.nodeType==3&&n>0)return{node:i,offset:n};if(i.nodeType==1&&n>0){if(i.contentEditable=="false")return null;i=i.childNodes[n-1],n=Zi(i)}else if(i.parentNode&&!xl(i))n=un(i),i=i.parentNode;else return null}}function SO(t,e){for(let i=t,n=e;;){if(i.nodeType==3&&n=i){if(l.level==n)return o;(s<0||(r!=0?r<0?l.fromi:e[s].level>l.level))&&(s=o)}}if(s<0)throw new RangeError("Index out of range");return s}}function QO(t,e){if(t.length!=e.length)return!1;for(let i=0;i=0;m-=3)if(fi[m+1]==-d){let O=fi[m+2],g=O&2?r:O&4?O&1?s:r:0;g&&(ke[h]=ke[fi[m]]=g),l=m;break}}else{if(fi.length==189)break;fi[l++]=h,fi[l++]=f,fi[l++]=a}else if((p=ke[h])==2||p==1){let m=p==r;a=m?0:1;for(let O=l-3;O>=0;O-=3){let g=fi[O+2];if(g&2)break;if(m)fi[O+2]|=2;else{if(g&4)break;fi[O+2]|=4}}}}}function gw(t,e,i,n){for(let r=0,s=n;r<=i.length;r++){let o=r?i[r-1].to:t,l=ra;)p==O&&(p=i[--m].from,O=m?i[m-1].to:t),ke[--p]=d;a=c}else s=u,a++}}}function Wu(t,e,i,n,r,s,o){let l=n%2?2:1;if(n%2==r%2)for(let a=e,u=0;aa&&o.push(new xi(a,m.from,d));let O=m.direction==En!=!(d%2);Yu(t,O?n+1:n,r,m.inner,m.from,m.to,o),a=m.to}p=m.to}else{if(p==i||(c?ke[p]!=l:ke[p]==l))break;p++}f?Wu(t,a,p,n+1,r,f,o):ae;){let c=!0,h=!1;if(!u||a>s[u-1].to){let m=ke[a-1];m!=l&&(c=!1,h=m==16)}let f=!c&&l==1?[]:null,d=c?n:n+1,p=a;e:for(;;)if(u&&p==s[u-1].to){if(h)break e;let m=s[--u];if(!c)for(let O=m.from,g=u;;){if(O==e)break e;if(g&&s[g-1].to==O)O=s[--g].from;else{if(ke[O-1]==l)break e;break}}if(f)f.push(m);else{m.toke.length;)ke[ke.length]=256;let n=[],r=e==En?0:1;return Yu(t,r,r,i,0,t.length,n),n}function _O(t){return[new xi(0,t,0)]}let PO="";function vw(t,e,i,n,r){var s;let o=n.head-t.from,l=xi.find(e,o,(s=n.bidiLevel)!==null&&s!==void 0?s:-1,n.assoc),a=e[l],u=a.side(r,i);if(o==u){let f=l+=r?1:-1;if(f<0||f>=e.length)return null;a=e[l=f],o=a.side(!r,i),u=a.side(r,i)}let c=Ge(t.text,o,a.forward(r,i));(ca.to)&&(c=u),PO=t.text.slice(Math.min(o,c),Math.max(o,c));let h=l==(r?e.length-1:0)?null:e[l+(r?1:-1)];return h&&c==u&&h.level+(r?0:1)t.some(e=>e)}),MO=G.define({combine:t=>t.some(e=>e)}),ZO=G.define();class nr{constructor(e,i,n,r,s,o=!1){this.range=e,this.y=i,this.x=n,this.yMargin=r,this.xMargin=s,this.isSnapshot=o}map(e){return e.empty?this:new nr(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new nr(E.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const wo=ae.define({map:(t,e)=>t.map(e)}),IO=ae.define();function Rt(t,e,i){let n=t.facet(EO);n.length?n[0](e):window.onerror&&window.onerror(String(e),i,void 0,void 0,e)||(i?console.error(i+":",e):console.error(e))}const Ri=G.define({combine:t=>t.length?t[0]:!0});let xw=0;const Gn=G.define({combine(t){return t.filter((e,i)=>{for(let n=0;n{let a=[];return o&&a.push(sa.of(u=>{let c=u.plugin(l);return c?o(c):ve.none})),s&&a.push(s(l)),a})}static fromClass(e,i){return Mt.define((n,r)=>new e(n,r),i)}}class Aa{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}get plugin(){return this.spec&&this.spec.plugin}update(e){if(this.value){if(this.mustUpdate){let i=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(i)}catch(n){if(Rt(i.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.plugin.create(e,this.spec.arg)}catch(i){Rt(e.state,i,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var i;if(!((i=this.value)===null||i===void 0)&&i.destroy)try{this.value.destroy()}catch(n){Rt(e.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const XO=G.define(),qc=G.define(),sa=G.define(),zO=G.define(),Wc=G.define(),to=G.define(),jO=G.define();function Rd(t,e){let i=t.state.facet(jO);if(!i.length)return i;let n=i.map(s=>s instanceof Function?s(t):s),r=[];return be.spans(n,e.from,e.to,{point(){},span(s,o,l,a){let u=s-e.from,c=o-e.from,h=r;for(let f=l.length-1;f>=0;f--,a--){let d=l[f].spec.bidiIsolate,p;if(d==null&&(d=yw(e.text,u,c)),a>0&&h.length&&(p=h[h.length-1]).to==u&&p.direction==d)p.to=c,h=p.inner;else{let m={from:u,to:c,direction:d,inner:[]};h.push(m),h=m.inner}}}}),r}const FO=G.define();function Yc(t){let e=0,i=0,n=0,r=0;for(let s of t.state.facet(FO)){let o=s(t);o&&(o.left!=null&&(e=Math.max(e,o.left)),o.right!=null&&(i=Math.max(i,o.right)),o.top!=null&&(n=Math.max(n,o.top)),o.bottom!=null&&(r=Math.max(r,o.bottom)))}return{left:e,right:i,top:n,bottom:r}}const Jr=G.define();class jt{constructor(e,i,n,r){this.fromA=e,this.toA=i,this.fromB=n,this.toB=r}join(e){return new jt(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let i=e.length,n=this;for(;i>0;i--){let r=e[i-1];if(!(r.fromA>n.toA)){if(r.toAr.push(new jt(s,o,l,a))),this.changedRanges=r}static create(e,i,n){return new kl(e,i,n)}get viewportChanged(){return(this.flags&4)>0}get viewportMoved(){return(this.flags&8)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&18)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}const kw=[];class De{constructor(e,i,n=0){this.dom=e,this.length=i,this.flags=n,this.parent=null,e.cmTile=this}get breakAfter(){return this.flags&1}get children(){return kw}isWidget(){return!1}get isHidden(){return!1}isComposite(){return!1}isLine(){return!1}isText(){return!1}isBlock(){return!1}get domAttrs(){return null}sync(e){if(this.flags|=2,this.flags&4){this.flags&=-5;let i=this.domAttrs;i&&rw(this.dom,i)}}toString(){return this.constructor.name+(this.children.length?`(${this.children})`:"")+(this.breakAfter?"#":"")}destroy(){this.parent=null}setDOM(e){this.dom=e,e.cmTile=this}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e,i=this.posAtStart){let n=i;for(let r of this.children){if(r==e)return n;n+=r.length+r.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}covers(e){return!0}coordsIn(e,i,n){return null}domPosFor(e,i){let n=un(this.dom),r=this.length?e>0:i>0;return new oi(this.parent.dom,n+(r?1:0),e==0||e==this.length)}markDirty(e){this.flags&=-3,e&&(this.flags|=4),this.parent&&this.parent.flags&2&&this.parent.markDirty(!1)}get overrideDOMText(){return null}get root(){for(let e=this;e;e=e.parent)if(e instanceof la)return e;return null}static get(e){return e.cmTile}}class oa extends De{constructor(e){super(e,0),this._children=[]}isComposite(){return!0}get children(){return this._children}get lastChild(){return this.children.length?this.children[this.children.length-1]:null}append(e){this.children.push(e),e.parent=this}sync(e){if(this.flags&2)return;super.sync(e);let i=this.dom,n=null,r,s=(e==null?void 0:e.node)==i?e:null,o=0;for(let l of this.children){if(l.sync(e),o+=l.length+l.breakAfter,r=n?n.nextSibling:i.firstChild,s&&r!=l.dom&&(s.written=!0),l.dom.parentNode==i)for(;r&&r!=l.dom;)r=Dd(r);else i.insertBefore(l.dom,r);n=l.dom}for(r=n?n.nextSibling:i.firstChild,s&&r&&(s.written=!0);r;)r=Dd(r);this.length=o}}function Dd(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}class la extends oa{constructor(e,i){super(i),this.view=e}owns(e){for(;e;e=e.parent)if(e==this)return!0;return!1}isBlock(){return!0}nearest(e){for(;;){if(!e)return null;let i=De.get(e);if(i&&this.owns(i))return i;e=e.parentNode}}blockTiles(e){for(let i=[],n=this,r=0,s=0;;)if(r==n.children.length){if(!i.length)return;n=n.parent,n.breakAfter&&s++,r=i.pop()}else{let o=n.children[r++];if(o instanceof Di)i.push(r),n=o,r=0;else{let l=s+o.length,a=e(o,s);if(a!==void 0)return a;s=l+o.breakAfter}}}resolveBlock(e,i){let n,r=-1,s,o=-1;if(this.blockTiles((l,a)=>{let u=a+l.length;if(e>=a&&e<=u){if(l.isWidget()&&i>=-1&&i<=1){if(l.flags&32)return!0;l.flags&16&&(n=void 0)}(ae||e==a&&(i>1?l.length:l.covers(-1)))&&(!s||!l.isWidget()&&s.isWidget())&&(s=l,o=e-a)}}),!n&&!s)throw new Error("No tile at position "+e);return n&&i<0||!s?{tile:n,offset:r}:{tile:s,offset:o}}}class Di extends oa{constructor(e,i){super(e),this.wrapper=i}isBlock(){return!0}covers(e){return this.children.length?e<0?this.children[0].covers(-1):this.lastChild.covers(1):!1}get domAttrs(){return this.wrapper.attributes}static of(e,i){let n=new Di(i||document.createElement(e.tagName),e);return i||(n.flags|=4),n}}class br extends oa{constructor(e,i){super(e),this.attrs=i}isLine(){return!0}static start(e,i,n){let r=new br(i||document.createElement("div"),e);return(!i||!n)&&(r.flags|=4),r}get domAttrs(){return this.attrs}resolveInline(e,i,n){let r=null,s=-1,o=null,l=-1;function a(c,h){for(let f=0,d=0;f=h&&(p.isComposite()?a(p,h-d):(!o||o.isHidden&&(i>0&&!(o.flags&32)||n&&ww(o,p)))&&(m>h||p.flags&32)?(o=p,l=h-d):(dr&&(e=r);let s=e,o=e,l=0;e==0&&i<0||e==r&&i>=0?q.chrome||q.gecko||(e?(s--,l=1):o=0)?0:a.length-1];return q.safari&&!l&&u.width==0&&(u=Array.prototype.find.call(a,c=>c.width)||u),n==null?u:Es(u,(l?l>0:i<0)==n)}static of(e,i){let n=new kn(i||document.createTextNode(e),e);return i||(n.flags|=2),n}}class Rn extends De{constructor(e,i,n,r){super(e,i,r),this.widget=n}isWidget(){return!0}get isHidden(){return this.widget.isHidden}covers(e){return this.flags&48?!1:(this.flags&(e<0?64:128))>0}coordsIn(e,i){return this.coordsInWidget(e,i,!1)}coordsInWidget(e,i,n){let r=this.widget.coordsAt(this.dom,e,i);if(r)return r;if(n)return Es(this.dom.getBoundingClientRect(),this.length?e==0:i<=0);{let s=this.dom.getClientRects(),o=null;if(!s.length)return null;let l=this.flags&16?!0:this.flags&32?!1:e>0;for(let a=l?s.length-1:0;o=s[a],!(e>0?a==0:a==s.length-1||o.top0==n)}}class $w{constructor(e){this.index=0,this.beforeBreak=!1,this.parents=[],this.tile=e}advance(e,i,n){let{tile:r,index:s,beforeBreak:o,parents:l}=this;for(;e||i>0;)if(r.isComposite())if(o){if(!e)break;n&&n.break(),e--,o=!1}else if(s==r.children.length){if(!e&&!l.length)break;n&&n.leave(r),o=!!r.breakAfter,{tile:r,index:s}=l.pop(),s++}else{let a=r.children[s],u=a.breakAfter;(i>0?a.length<=e:a.length=0;l--){let a=i.marks[l],u=r.lastChild;if(u instanceof gt&&u.mark.eq(a.mark))u.dom!=a.dom&&u.setDOM(Ea(a.dom)),r=u;else{if(this.cache.reused.get(a)){let h=De.get(a.dom);h&&h.setDOM(Ea(a.dom))}let c=gt.of(a.mark,a.dom);r.append(c),r=c}this.cache.reused.set(a,2)}let s=De.get(e.text);s&&this.cache.reused.set(s,2);let o=new kn(e.text,e.text.nodeValue);o.flags|=8,this.pos=e.range.toB,r.append(o)}addInlineWidget(e,i,n){let r=this.afterWidget&&e.flags&48&&(this.afterWidget.flags&48)==(e.flags&48);r||this.flushBuffer();let s=this.ensureMarks(i,n);!r&&!(e.flags&16)&&s.append(this.getBuffer(1)),s.append(e),this.pos+=e.length,this.afterWidget=e}addMark(e,i,n){this.flushBuffer(),this.ensureMarks(i,n).append(e),this.pos+=e.length,this.afterWidget=null}addBlockWidget(e){this.getBlockPos().append(e),this.pos+=e.length,this.lastBlock=e,this.endLine()}continueWidget(e){let i=this.afterWidget||this.lastBlock;i.length+=e,this.pos+=e}addLineStart(e,i){var n;e||(e=BO);let r=br.start(e,i||((n=this.cache.find(br))===null||n===void 0?void 0:n.dom),!!i);this.getBlockPos().append(this.lastBlock=this.curLine=r)}addLine(e){this.getBlockPos().append(e),this.pos+=e.length,this.lastBlock=e,this.endLine()}addBreak(){this.lastBlock.flags|=1,this.endLine(),this.pos++}addLineStartIfNotCovered(e){this.blockPosCovered()||this.addLineStart(e)}ensureLine(e){this.curLine||this.addLineStart(e)}ensureMarks(e,i){var n;let r=this.curLine;for(let s=e.length-1;s>=0;s--){let o=e[s],l;if(i>0&&(l=r.lastChild)&&l instanceof gt&&l.mark.eq(o))r=l,i--;else{let a=gt.of(o,(n=this.cache.find(gt,u=>u.mark.eq(o)))===null||n===void 0?void 0:n.dom);r.append(a),r=a,i=0}}return r}endLine(){if(this.curLine){this.flushBuffer();let e=this.curLine.lastChild;(!e||!Ld(this.curLine,!1)||e.dom.nodeName!="BR"&&e.isWidget()&&!(q.ios&&Ld(this.curLine,!0)))&&this.curLine.append(this.cache.findWidget(Ra,0,32)||new Rn(Ra.toDOM(),0,Ra,32)),this.curLine=this.afterWidget=null}}updateBlockWrappers(){this.wrapperPos>this.pos+1e4&&(this.blockWrappers.goto(this.pos),this.wrappers.length=0);for(let e=this.wrappers.length-1;e>=0;e--)this.wrappers[e].to=this.pos){let i=e.rank*102+e.value.rank,n=new Qw(e.from,e.to,e.value,i),r=this.wrappers.length;for(;r>0&&(this.wrappers[r-1].rank-n.rank||this.wrappers[r-1].to-n.to)<0;)r--;this.wrappers.splice(r,0,n)}this.wrapperPos=this.pos}getBlockPos(){var e;this.updateBlockWrappers();let i=this.root;for(let n of this.wrappers){let r=i.lastChild;if(n.fromo.wrapper.eq(n.wrapper)))===null||e===void 0?void 0:e.dom);i.append(s),i=s}}return i}blockPosCovered(){let e=this.lastBlock;return e!=null&&!e.breakAfter&&(!e.isWidget()||(e.flags&160)>0)}getBuffer(e){let i=2|(e<0?16:32),n=this.cache.find(Sl,void 0,1);return n&&(n.flags=i),n||new Sl(i)}flushBuffer(){this.afterWidget&&!(this.afterWidget.flags&32)&&(this.afterWidget.parent.append(this.getBuffer(-1)),this.afterWidget=null)}}class Pw{constructor(e){this.skipCount=0,this.text="",this.textOff=0,this.cursor=e.iter()}skip(e){this.textOff+e<=this.text.length?this.textOff+=e:(this.skipCount+=e-(this.text.length-this.textOff),this.text="",this.textOff=0)}next(e){if(this.textOff==this.text.length){let{value:r,lineBreak:s,done:o}=this.cursor.next(this.skipCount);if(this.skipCount=0,o)throw new Error("Ran out of text content when drawing inline views");this.text=r;let l=this.textOff=Math.min(e,r.length);return s?null:r.slice(0,l)}let i=Math.min(this.text.length,this.textOff+e),n=this.text.slice(this.textOff,i);return this.textOff=i,n}}const wl=[Rn,br,kn,gt,Sl,Di,la];for(let t=0;t[]),this.index=wl.map(()=>0),this.reused=new Map}add(e){let i=e.constructor.bucket,n=this.buckets[i];n.length<6?n.push(e):n[this.index[i]=(this.index[i]+1)%6]=e}find(e,i,n=2){let r=e.bucket,s=this.buckets[r],o=this.index[r];for(let l=0;l{if(this.cache.add(o),o.isComposite())return!1},enter:o=>this.cache.add(o),leave:()=>{},break:()=>{}}}run(e,i){let n=i&&this.getCompositionContext(i.text);for(let r=0,s=0,o=0;;){let l=or){let u=a-r;this.preserve(u,!o,!l),r=a,s+=u}if(!l)break;i&&l.fromA<=i.range.fromA&&l.toA>=i.range.toA?(this.forward(l.fromA,i.range.fromA,i.range.fromA{if(o.isWidget())if(this.openWidget)this.builder.continueWidget(a-l);else{let u=a>0||l{o.isLine()?this.builder.addLineStart(o.attrs,this.cache.maybeReuse(o)):(this.cache.add(o),o instanceof gt&&r.unshift(o.mark)),this.openWidget=!1},leave:o=>{o.isLine()?r.length&&(r.length=s=0):o instanceof gt&&(r.shift(),s=Math.min(s,r.length))},break:()=>{this.builder.addBreak(),this.openWidget=!1}}),this.text.skip(e)}emit(e,i){let n=null,r=this.builder,s=-1,o=be.spans(this.decorations,e,i,{point:(l,a,u,c,h,f)=>{if(u instanceof An){if(this.disallowBlockEffectsFor[f]){if(u.block)throw new RangeError("Block decorations may not be specified via plugins");if(a>this.view.state.doc.lineAt(l).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}if(s=c.length,h>c.length)r.continueWidget(a-l);else{let d=u.widget||(u.block?vr.block:vr.inline),p=Aw(u),m=this.cache.findWidget(d,a-l,p)||Rn.of(d,this.view,a-l,p);u.block?(u.startSide>0&&r.addLineStartIfNotCovered(n),r.addBlockWidget(m)):(r.ensureLine(n),r.addInlineWidget(m,c,h))}n=null}else n=Ew(n,u);a>l&&this.text.skip(a-l)},span:(l,a,u,c)=>{for(let h=l;h-1&&(this.openWidget=o>s),this.openWidget||r.addLineStartIfNotCovered(n),this.openMarks=o}forward(e,i,n=1){i-e<=10?this.old.advance(i-e,n,this.reuseWalker):(this.old.advance(5,-1,this.reuseWalker),this.old.advance(i-e-10,-1),this.old.advance(5,n,this.reuseWalker))}getCompositionContext(e){let i=[],n=null;for(let r=e.parentNode;;r=r.parentNode){let s=De.get(r);if(r==this.view.contentDOM)break;s instanceof gt?i.push(s):s!=null&&s.isLine()?n=s:s instanceof Di||(r.nodeName=="DIV"&&!n&&r!=this.view.contentDOM?n=new br(r,BO):n||i.push(gt.of(new Js({tagName:r.nodeName.toLowerCase(),attributes:sw(r)}),r)))}return{line:n,marks:i}}}function Ld(t,e){let i=n=>{for(let r of n.children)if((e?r.isText():r.length)||i(r))return!0;return!1};return i(t)}function Aw(t){let e=t.isReplace?(t.startSide<0?64:0)|(t.endSide>0?128:0):t.startSide>0?32:16;return t.block&&(e|=256),e}const BO={class:"cm-line"};function Ew(t,e){let i=e.spec.attributes,n=e.spec.class;return!i&&!n||(t||(t={class:"cm-line"}),i&&zc(i,t),n&&(t.class+=" "+n)),t}function Rw(t){let e=[];for(let i=t.parents.length;i>1;i--){let n=i==t.parents.length?t.tile:t.parents[i].tile;n instanceof gt&&e.push(n.mark)}return e}function Ea(t){let e=De.get(t);return e&&e.setDOM(t.cloneNode()),t}class vr extends Er{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}vr.inline=new vr("span");vr.block=new vr("div");const Ra=new class extends Er{toDOM(){return document.createElement("br")}get isHidden(){return!0}get editable(){return!0}};class Md{constructor(e){this.view=e,this.decorations=[],this.blockWrappers=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.editContextFormatting=ve.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.updateDeco(),this.tile=new la(e,e.contentDOM),this.updateInner([new jt(0,0,0,e.state.doc.length)],null)}update(e){var i;let n=e.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:c,toA:h})=>hthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let r=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(!((i=this.domChanged)===null||i===void 0)&&i.newSel?r=this.domChanged.newSel.head:!Fw(e.changes,this.hasComposition)&&!e.selectionSet&&(r=e.state.selection.main.head));let s=r>-1?Lw(this.view,e.changes,r):null;if(this.domChanged=null,this.hasComposition){let{from:c,to:h}=this.hasComposition;n=new jt(c,h,e.changes.mapPos(c,-1),e.changes.mapPos(h,1)).addToSet(n.slice())}this.hasComposition=s?{from:s.range.fromB,to:s.range.toB}:null,(q.ie||q.chrome)&&!s&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let o=this.decorations,l=this.blockWrappers;this.updateDeco();let a=Iw(o,this.decorations,e.changes);a.length&&(n=jt.extendWithRanges(n,a));let u=zw(l,this.blockWrappers,e.changes);return u.length&&(n=jt.extendWithRanges(n,u)),s&&!n.some(c=>c.fromA<=s.range.fromA&&c.toA>=s.range.toA)&&(n=s.range.addToSet(n.slice())),this.tile.flags&2&&n.length==0?!1:(this.updateInner(n,s),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,i){this.view.viewState.mustMeasureContent=!0;let{observer:n}=this.view;n.ignore(()=>{if(i||e.length){let o=this.tile,l=new Tw(this.view,o,this.blockWrappers,this.decorations,this.dynamicDecorationMap);i&&De.get(i.text)&&l.cache.reused.set(De.get(i.text),2),this.tile=l.run(e,i),Gu(o,l.cache.reused)}this.tile.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.tile.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let s=q.chrome||q.ios?{node:n.selectionRange.focusNode,written:!1}:void 0;this.tile.sync(s),s&&(s.written||n.selectionRange.focusNode!=s.node||!this.tile.dom.contains(s.node))&&(this.forceSelection=!0),this.tile.dom.style.height=""});let r=[];if(this.view.viewport.from||this.view.viewport.to-1)&&cs(n,this.view.observer.selectionRange)&&!(r&&n.contains(r));if(!(s||i||o))return;let l=this.forceSelection;this.forceSelection=!1;let a=this.view.state.selection.main,u,c;if(a.empty?c=u=this.inlineDOMNearPos(a.anchor,a.assoc||1):(c=this.inlineDOMNearPos(a.head,a.head==a.from?1:-1),u=this.inlineDOMNearPos(a.anchor,a.anchor==a.from?1:-1)),q.gecko&&a.empty&&!this.hasComposition&&Dw(u)){let f=document.createTextNode("");this.view.observer.ignore(()=>u.node.insertBefore(f,u.node.childNodes[u.offset]||null)),u=c=new oi(f,0),l=!0}let h=this.view.observer.selectionRange;(l||!h.focusNode||(!fs(u.node,u.offset,h.anchorNode,h.anchorOffset)||!fs(c.node,c.offset,h.focusNode,h.focusOffset))&&!this.suppressWidgetCursorChange(h,a))&&(this.view.observer.ignore(()=>{q.android&&q.chrome&&n.contains(h.focusNode)&&jw(h.focusNode,n)&&(n.blur(),n.focus({preventScroll:!0}));let f=As(this.view.root);if(f)if(a.empty){if(q.gecko){let d=Mw(u.node,u.offset);if(d&&d!=3){let p=(d==1?kO:SO)(u.node,u.offset);p&&(u=new oi(p.node,p.offset))}}f.collapse(u.node,u.offset),a.bidiLevel!=null&&f.caretBidiLevel!==void 0&&(f.caretBidiLevel=a.bidiLevel)}else if(f.extend){f.collapse(u.node,u.offset);try{f.extend(c.node,c.offset)}catch{}}else{let d=document.createRange();a.anchor>a.head&&([u,c]=[c,u]),d.setEnd(c.node,c.offset),d.setStart(u.node,u.offset),f.removeAllRanges(),f.addRange(d)}o&&this.view.root.activeElement==n&&(n.blur(),r&&r.focus())}),this.view.observer.setSelectionRange(u,c)),this.impreciseAnchor=u.precise?null:new oi(h.anchorNode,h.anchorOffset),this.impreciseHead=c.precise?null:new oi(h.focusNode,h.focusOffset)}suppressWidgetCursorChange(e,i){return this.hasComposition&&i.empty&&fs(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==i.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,i=e.state.selection.main,n=As(e.root),{anchorNode:r,anchorOffset:s}=e.observer.selectionRange;if(!n||!i.empty||!i.assoc||!n.modify)return;let o=this.lineAt(i.head,i.assoc);if(!o)return;let l=o.posAtStart;if(i.head==l||i.head==l+o.length)return;let a=this.coordsAt(i.head,-1),u=this.coordsAt(i.head,1);if(!a||!u||a.bottom>u.top)return;let c=this.domAtPos(i.head+i.assoc,i.assoc);n.collapse(c.node,c.offset),n.modify("move",i.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let h=e.observer.selectionRange;e.docView.posFromDOM(h.anchorNode,h.anchorOffset)!=i.from&&n.collapse(r,s)}posFromDOM(e,i){let n=this.tile.nearest(e);if(!n)return this.tile.dom.compareDocumentPosition(e)&2?0:this.view.state.doc.length;let r=n.posAtStart;if(n.isComposite()){let s;if(e==n.dom)s=n.dom.childNodes[i];else{let o=Zi(e)==0?0:i==0?-1:1;for(;;){let l=e.parentNode;if(l==n.dom)break;o==0&&l.firstChild!=l.lastChild&&(e==l.firstChild?o=-1:o=1),e=l}o<0?s=e:s=e.nextSibling}if(s==n.dom.firstChild)return r;for(;s&&!De.get(s);)s=s.nextSibling;if(!s)return r+n.length;for(let o=0,l=r;;o++){let a=n.children[o];if(a.dom==s)return l;l+=a.length+a.breakAfter}}else return n.isText()?e==n.dom?r+i:r+(i?n.length:0):r}domAtPos(e,i){let{tile:n,offset:r}=this.tile.resolveBlock(e,i);return n.isWidget()?n.domPosFor(r,i):n.domIn(r,i)}inlineDOMNearPos(e,i){let n,r=-1,s=!1,o,l=-1,a=!1;return this.tile.blockTiles((u,c)=>{if(u.isWidget()){if(u.flags&32&&c>=e)return!0;u.flags&16&&(s=!0)}else{let h=c+u.length;if(c<=e&&(n=u,r=e-c,s=h=e&&!o&&(o=u,l=e-c,a=c>e),c>e&&o)return!0}}),!n&&!o?this.domAtPos(e,i):(s&&o?n=null:a&&n&&(o=null),n&&i<0||!o?n.domIn(r,i):o.domIn(l,i))}coordsAt(e,i,n){let{tile:r,offset:s}=this.tile.resolveBlock(e,i);return r.isWidget()?r.widget instanceof Da?null:r.coordsInWidget(s,i,!0):r.coordsIn(s,i,n)}lineAt(e,i){let{tile:n}=this.tile.resolveBlock(e,i);return n.isLine()?n:null}coordsForChar(e){let{tile:i,offset:n}=this.tile.resolveBlock(e,1);if(!i.isLine())return null;function r(s,o){if(s.isComposite())for(let l of s.children){if(l.length>=o){let a=r(l,o);if(a)return a}if(o-=l.length,o<0)break}else if(s.isText()&&oMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,l=-1,a=this.view.textDirection==Ce.LTR,u=0,c=(h,f,d)=>{for(let p=0;pr);p++){let m=h.children[p],O=f+m.length,g=m.dom.getBoundingClientRect(),{height:b}=g;if(d&&!p&&(u+=g.top-d.top),m instanceof Di)O>n&&c(m,f,g);else if(f>=n&&(u>0&&i.push(-u),i.push(b+u),u=0,o)){let y=m.dom.lastChild,w=y?hs(y):[];if(w.length){let v=w[w.length-1],Q=a?v.right-g.left:g.right-v.left;Q>l&&(l=Q,this.minWidth=s,this.minWidthFrom=f,this.minWidthTo=O)}}d&&p==h.children.length-1&&(u+=d.bottom-g.bottom),f=O+m.breakAfter}};return c(this.tile,0,null),i}textDirectionAt(e){let{tile:i}=this.tile.resolveBlock(e,1);return getComputedStyle(i.dom).direction=="rtl"?Ce.RTL:Ce.LTR}measureTextSize(){let e=this.tile.blockTiles(o=>{if(o.isLine()&&o.children.length&&o.length<=20){let l=0,a;for(let u of o.children){if(!u.isText()||/[^ -~]/.test(u.text))return;let c=hs(u.dom);if(c.length!=1)return;l+=c[0].width,a=c[0].height}if(l)return{lineHeight:o.dom.getBoundingClientRect().height,charWidth:l/o.length,textHeight:a}}});if(e)return e;let i=document.createElement("div"),n,r,s;return i.className="cm-line",i.style.width="99999px",i.style.position="absolute",i.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.tile.dom.appendChild(i);let o=hs(i.firstChild)[0];n=i.getBoundingClientRect().height,r=o&&o.width?o.width/27:7,s=o&&o.height?o.height:n,i.remove()}),{lineHeight:n,charWidth:r,textHeight:s}}computeBlockGapDeco(){let e=[],i=this.view.viewState;for(let n=0,r=0;;r++){let s=r==i.viewports.length?null:i.viewports[r],o=s?s.from-1:this.view.state.doc.length;if(o>n){let l=(i.lineBlockAt(o).bottom-i.lineBlockAt(n).top)/this.view.scaleY;e.push(ve.replace({widget:new Da(l),block:!0,inclusive:!0,isBlockGap:!0}).range(n,o))}if(!s)break;n=s.to+1}return ve.set(e)}updateDeco(){let e=1,i=this.view.state.facet(sa).map(s=>(this.dynamicDecorationMap[e++]=typeof s=="function")?s(this.view):s),n=!1,r=this.view.state.facet(Wc).map((s,o)=>{let l=typeof s=="function";return l&&(n=!0),l?s(this.view):s});for(r.length&&(this.dynamicDecorationMap[e++]=n,i.push(be.join(r))),this.decorations=[this.editContextFormatting,...i,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];etypeof s=="function"?s(this.view):s)}scrollIntoView(e){if(e.isSnapshot){let u=this.view.viewState.lineBlockAt(e.range.head);this.view.scrollDOM.scrollTop=u.top-e.yMargin,this.view.scrollDOM.scrollLeft=e.xMargin;return}for(let u of this.view.state.facet(ZO))try{if(u(this.view,e.range,e))return!0}catch(c){Rt(this.view.state,c,"scroll handler")}let{range:i}=e,n=this.coordsAt(i.head,i.assoc||(i.head>i.anchor?-1:1)),r;if(!n)return;!i.empty&&(r=this.coordsAt(i.anchor,i.anchor>i.head?-1:1))&&(n={left:Math.min(n.left,r.left),top:Math.min(n.top,r.top),right:Math.max(n.right,r.right),bottom:Math.max(n.bottom,r.bottom)});let s=Yc(this.view),o={left:n.left-s.left,top:n.top-s.top,right:n.right+s.right,bottom:n.bottom+s.bottom},{offsetWidth:l,offsetHeight:a}=this.view.scrollDOM;if(aw(this.view.scrollDOM,o,i.head1&&(n.top>window.pageYOffset+window.visualViewport.offsetTop+window.visualViewport.height||n.bottomn.isWidget()||n.children.some(i);return i(this.tile.resolveBlock(e,1).tile)}destroy(){Gu(this.tile)}}function Gu(t,e){let i=e==null?void 0:e.get(t);if(i!=1){i==null&&t.destroy();for(let n of t.children)Gu(n,e)}}function Dw(t){return t.node.nodeType==1&&t.node.firstChild&&(t.offset==0||t.node.childNodes[t.offset-1].contentEditable=="false")&&(t.offset==t.node.childNodes.length||t.node.childNodes[t.offset].contentEditable=="false")}function VO(t,e){let i=t.observer.selectionRange;if(!i.focusNode)return null;let n=kO(i.focusNode,i.focusOffset),r=SO(i.focusNode,i.focusOffset),s=n||r;if(r&&n&&r.node!=n.node){let l=De.get(r.node);if(!l||l.isText()&&l.text!=r.node.nodeValue)s=r;else if(t.docView.lastCompositionAfterCursor){let a=De.get(n.node);!a||a.isText()&&a.text!=n.node.nodeValue||(s=r)}}if(t.docView.lastCompositionAfterCursor=s!=n,!s)return null;let o=e-s.offset;return{from:o,to:o+s.node.nodeValue.length,node:s.node}}function Lw(t,e,i){let n=VO(t,i);if(!n)return null;let{node:r,from:s,to:o}=n,l=r.nodeValue;if(/[\n\r]/.test(l)||t.state.doc.sliceString(n.from,n.to)!=l)return null;let a=e.invertedDesc;return{range:new jt(a.mapPos(s),a.mapPos(o),s,o),text:r}}function Mw(t,e){return t.nodeType!=1?0:(e&&t.childNodes[e-1].contentEditable=="false"?1:0)|(e{ne.from&&(i=!0)}),i}class Da extends Er{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}function Bw(t,e,i=1){let n=t.charCategorizer(e),r=t.doc.lineAt(e),s=e-r.from;if(r.length==0)return E.cursor(e);s==0?i=1:s==r.length&&(i=-1);let o=s,l=s;i<0?o=Ge(r.text,s,!1):l=Ge(r.text,s);let a=n(r.text.slice(o,l));for(;o>0;){let u=Ge(r.text,o,!1);if(n(r.text.slice(u,o))!=a)break;o=u}for(;lt.defaultLineHeight*1.5){let l=t.viewState.heightOracle.textHeight,a=Math.floor((r-i.top-(t.defaultLineHeight-l)*.5)/l);s+=a*t.viewState.heightOracle.lineLength}let o=t.state.sliceDoc(i.from,i.to);return i.from+JS(o,s,t.state.tabSize)}function Uu(t,e,i){let n=t.lineBlockAt(e);if(Array.isArray(n.type)){let r;for(let s of n.type){if(s.from>e)break;if(!(s.toe)return s;(!r||s.type==ft.Text&&(r.type!=s.type||(i<0?s.frome)))&&(r=s)}}return r||n}return n}function qw(t,e,i,n){let r=Uu(t,e.head,e.assoc||-1),s=!n||r.type!=ft.Text||!(t.lineWrapping||r.widgetLineBreaks)?null:t.coordsAtPos(e.assoc<0&&e.head>r.from?e.head-1:e.head);if(s){let o=t.dom.getBoundingClientRect(),l=t.textDirectionAt(r.from),a=t.posAtCoords({x:i==(l==Ce.LTR)?o.right-1:o.left+1,y:(s.top+s.bottom)/2});if(a!=null)return E.cursor(a,i?-1:1)}return E.cursor(i?r.to:r.from,i?-1:1)}function Zd(t,e,i,n){let r=t.state.doc.lineAt(e.head),s=t.bidiSpans(r),o=t.textDirectionAt(r.from);for(let l=e,a=null;;){let u=vw(r,s,o,l,i),c=PO;if(!u){if(r.number==(i?t.state.doc.lines:1))return l;c=` +`,r=t.state.doc.line(r.number+(i?1:-1)),s=t.bidiSpans(r),u=t.visualLineSide(r,!i)}if(a){if(!a(c))return l}else{if(!n)return u;a=n(c)}l=u}}function Ww(t,e,i){let n=t.state.charCategorizer(e),r=n(i);return s=>{let o=n(s);return r==Je.Space&&(r=o),r==o}}function Yw(t,e,i,n){let r=e.head,s=i?1:-1;if(r==(i?t.state.doc.length:0))return E.cursor(r,e.assoc);let o=e.goalColumn,l,a=t.contentDOM.getBoundingClientRect(),u=t.coordsAtPos(r,e.assoc||((e.empty?i:e.head==e.from)?1:-1)),c=t.documentTop;if(u)o==null&&(o=u.left-a.left),l=s<0?u.top:u.bottom;else{let p=t.viewState.lineBlockAt(r);o==null&&(o=Math.min(a.right-a.left,t.defaultCharacterWidth*(r-p.from))),l=(s<0?p.top:p.bottom)+c}let h=a.left+o,f=t.viewState.heightOracle.textHeight>>1,d=n??f;for(let p=0;;p+=f){let m=l+(d+p)*s,O=Hu(t,{x:h,y:m},!1,s);if(i?m>a.bottom:ml:b{if(e>s&&er(t)),i.from,e.head>i.from?-1:1);return n==i.from?i:E.cursor(n,nt.viewState.docHeight)return new bi(t.state.doc.length,-1);if(u=t.elementAtHeight(a),n==null)break;if(u.type==ft.Text){if(n<0?u.tot.viewport.to)break;let f=t.docView.coordsAt(n<0?u.from:u.to,n>0?-1:1);if(f&&(n<0?f.top<=a+s:f.bottom>=a+s))break}let h=t.viewState.heightOracle.textHeight/2;a=n>0?u.bottom+h:u.top-h}if(t.viewport.from>=u.to||t.viewport.to<=u.from){if(i)return null;if(u.type==ft.Text){let h=Vw(t,r,u,o,l);return new bi(h,h==u.from?1:-1)}}if(u.type!=ft.Text)return a<(u.top+u.bottom)/2?new bi(u.from,1):new bi(u.to,-1);let c=t.docView.lineAt(u.from,2);return(!c||c.length!=u.length)&&(c=t.docView.lineAt(u.from,-2)),new Nw(t,o,l,t.textDirectionAt(u.from)).scanTile(c,u.from)}class Nw{constructor(e,i,n,r){this.view=e,this.x=i,this.y=n,this.baseDir=r,this.line=null,this.spans=null}bidiSpansAt(e){return(!this.line||this.line.from>e||this.line.to1||n.length&&(n[0].level!=this.baseDir||n[0].to+r.from>1;t:if(o.has(m)){let g=r+Math.floor(Math.random()*p);for(let b=0;b1)){if(b.bottomthis.y)(!u||u.top>b.top)&&(u=b),y=-1;else{let w=b.left>this.x?this.x-b.left:b.right(p+p+m)/3)return this.y=a.bottom-1,this.scan(e,i,!0);if(u&&u.top<(p+m+m)/3)return this.y=u.top+1,this.scan(e,i,!0)}let d=(l?this.dirAt(e[c],1):this.baseDir)==Ce.LTR;return{i:c,after:this.x>(f.left+f.right)/2==d}}scanText(e,i){let n=[];for(let s=0;s{let o=n[s]-i,l=n[s+1]-i;return Rs(e.dom,o,l).getClientRects()});return r.after?new bi(n[r.i+1],-1):new bi(n[r.i],1)}scanTile(e,i){if(!e.length)return new bi(i,1);if(e.children.length==1){let l=e.children[0];if(l.isText())return this.scanText(l,i);if(l.isComposite())return this.scanTile(l,i)}let n=[i];for(let l=0,a=i;l{let a=e.children[l];return a.flags&48?null:(a.dom.nodeType==1?a.dom:Rs(a.dom,0,a.length)).getClientRects()}),s=e.children[r.i],o=n[r.i];return s.isText()?this.scanText(s,o):s.isComposite()?this.scanTile(s,o):r.after?new bi(n[r.i+1],-1):new bi(o,1)}}const qn="￿";class Gw{constructor(e,i){this.points=e,this.view=i,this.text="",this.lineSeparator=i.state.facet(fe.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=qn}readRange(e,i){if(!e)return this;let n=e.parentNode;for(let r=e;;){this.findPointBefore(n,r);let s=this.text.length;this.readNode(r);let o=De.get(r),l=r.nextSibling;if(l==i){o!=null&&o.breakAfter&&!l&&n!=this.view.contentDOM&&this.lineBreak();break}let a=De.get(l);(o&&a?o.breakAfter:(o?o.breakAfter:xl(r))||xl(l)&&(r.nodeName!="BR"||o!=null&&o.isWidget())&&this.text.length>s)&&!Hw(l,i)&&this.lineBreak(),r=l}return this.findPointBefore(n,i),this}readTextNode(e){let i=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,i.length));for(let n=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let s=-1,o=1,l;if(this.lineSeparator?(s=i.indexOf(this.lineSeparator,n),o=this.lineSeparator.length):(l=r.exec(i))&&(s=l.index,o=l[0].length),this.append(i.slice(n,s<0?i.length:s)),s<0)break;if(this.lineBreak(),o>1)for(let a of this.points)a.node==e&&a.pos>this.text.length&&(a.pos-=o-1);n=s+o}}readNode(e){let i=De.get(e),n=i&&i.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let r=n.iter();!r.next().done;)r.lineBreak?this.lineBreak():this.append(r.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,i){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==i&&(n.pos=this.text.length)}findPointInside(e,i){for(let n of this.points)(e.nodeType==3?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(Uw(e,n.node,n.offset)?i:0))}}function Uw(t,e,i){for(;;){if(!e||i-1;let{impreciseHead:s,impreciseAnchor:o}=e.docView,l=e.state.selection;if(e.state.readOnly&&i>-1)this.newSel=null;else if(i>-1&&(this.bounds=WO(e.docView.tile,i,n,0))){let a=s||o?[]:e3(e),u=new Gw(a,e);u.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=u.text,this.newSel=t3(a,this.bounds.from)}else{let a=e.observer.selectionRange,u=s&&s.node==a.focusNode&&s.offset==a.focusOffset||!Vu(e.contentDOM,a.focusNode)?l.main.head:e.docView.posFromDOM(a.focusNode,a.focusOffset),c=o&&o.node==a.anchorNode&&o.offset==a.anchorOffset||!Vu(e.contentDOM,a.anchorNode)?l.main.anchor:e.docView.posFromDOM(a.anchorNode,a.anchorOffset),h=e.viewport;if((q.ios||q.chrome)&&u!=c&&Math.min(u,c)<=l.main.from&&Math.max(u,c)>=l.main.to&&(h.from>0||h.to-1&&l.ranges.length>1)this.newSel=l.replaceRange(E.range(c,u));else if(e.lineWrapping&&c==u&&!(l.main.empty&&l.main.head==u)&&e.inputState.lastTouchTime>Date.now()-100){let f=e.coordsAtPos(u,-1),d=0;f&&(d=e.inputState.lastTouchY<=f.bottom?-1:1),this.newSel=E.create([E.cursor(u,d)])}else this.newSel=E.single(c,u)}}}function WO(t,e,i,n){if(t.isComposite()){let r=-1,s=-1,o=-1,l=-1;for(let a=0,u=n,c=n;ai)return WO(h,e,i,u);if(f>=e&&r==-1&&(r=a,s=u),u>i&&h.dom.parentNode==t.dom){o=a,l=c;break}c=f,u=f+h.breakAfter}return{from:s,to:l<0?n+t.length:l,startDOM:(r?t.children[r-1].dom.nextSibling:null)||t.dom.firstChild,endDOM:o=0?t.children[o].dom:null}}else return t.isText()?{from:n,to:n+t.length,startDOM:t.dom,endDOM:t.dom.nextSibling}:null}function YO(t,e){let i,{newSel:n}=e,{state:r}=t,s=r.selection.main,o=t.inputState.lastKeyTime>Date.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:l,to:a}=e.bounds,u=s.from,c=null;(o===8||q.android&&e.text.length=l&&s.to<=a&&(e.typeOver||h!=e.text)&&h.slice(0,s.from-l)==e.text.slice(0,s.from-l)&&h.slice(s.to-l)==e.text.slice(f=e.text.length-(h.length-(s.to-l)))?i={from:s.from,to:s.to,insert:de.of(e.text.slice(s.from-l,f).split(qn))}:(d=NO(h,e.text,u-l,c))&&(q.chrome&&o==13&&d.toB==d.from+2&&e.text.slice(d.from,d.toB)==qn+qn&&d.toB--,i={from:l+d.from,to:l+d.toA,insert:de.of(e.text.slice(d.from,d.toB).split(qn))})}else n&&(!t.hasFocus&&r.facet(Ri)||$l(n,s))&&(n=null);if(!i&&!n)return!1;if((q.mac||q.android)&&i&&i.from==i.to&&i.from==s.head-1&&/^\. ?$/.test(i.insert.toString())&&t.contentDOM.getAttribute("autocorrect")=="off"?(n&&i.insert.length==2&&(n=E.single(n.main.anchor-1,n.main.head-1)),i={from:i.from,to:i.to,insert:de.of([i.insert.toString().replace("."," ")])}):r.doc.lineAt(s.from).toDate.now()-50?i={from:s.from,to:s.to,insert:r.toText(t.inputState.insertingText)}:q.chrome&&i&&i.from==i.to&&i.from==s.head&&i.insert.toString()==` + `&&t.lineWrapping&&(n&&(n=E.single(n.main.anchor-1,n.main.head-1)),i={from:s.from,to:s.to,insert:de.of([" "])}),i)return Nc(t,i,n,o);if(n&&!$l(n,s)){let l=!1,a="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(l=!0),a=t.inputState.lastSelectionOrigin,a=="select.pointer"&&(n=qO(r.facet(to).map(u=>u(t)),n))),t.dispatch({selection:n,scrollIntoView:l,userEvent:a}),!0}else return!1}function Nc(t,e,i,n=-1){if(q.ios&&t.inputState.flushIOSKey(e))return!0;let r=t.state.selection.main;if(q.android&&(e.to==r.to&&(e.from==r.from||e.from==r.from-1&&t.state.sliceDoc(e.from,r.from)==" ")&&e.insert.length==1&&e.insert.lines==2&&ir(t.contentDOM,"Enter",13)||(e.from==r.from-1&&e.to==r.to&&e.insert.length==0||n==8&&e.insert.lengthr.head)&&ir(t.contentDOM,"Backspace",8)||e.from==r.from&&e.to==r.to+1&&e.insert.length==0&&ir(t.contentDOM,"Delete",46)))return!0;let s=e.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let o,l=()=>o||(o=Jw(t,e,i));return t.state.facet(RO).some(a=>a(t,e.from,e.to,s,l))||t.dispatch(l()),!0}function Jw(t,e,i){let n,r=t.state,s=r.selection.main,o=-1;if(e.from==e.to&&e.froms.to){let a=e.fromh(t)),u,a);e.from==c&&(o=c)}if(o>-1)n={changes:e,selection:E.cursor(e.from+e.insert.length,-1)};else if(e.from>=s.from&&e.to<=s.to&&e.to-e.from>=(s.to-s.from)/3&&(!i||i.main.empty&&i.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let a=s.frome.to?r.sliceDoc(e.to,s.to):"";n=r.replaceSelection(t.state.toText(a+e.insert.sliceString(0,void 0,t.state.lineBreak)+u))}else{let a=r.changes(e),u=i&&i.main.to<=a.newLength?i.main:void 0;if(r.selection.ranges.length>1&&(t.inputState.composing>=0||t.inputState.compositionPendingChange)&&e.to<=s.to+10&&e.to>=s.to-10){let c=t.state.sliceDoc(e.from,e.to),h,f=i&&VO(t,i.main.head);if(f){let p=e.insert.length-(e.to-e.from);h={from:f.from,to:f.to-p}}else h=t.state.doc.lineAt(s.head);let d=s.to-e.to;n=r.changeByRange(p=>{if(p.from==s.from&&p.to==s.to)return{changes:a,range:u||p.map(a)};let m=p.to-d,O=m-c.length;if(t.state.sliceDoc(O,m)!=c||m>=h.from&&O<=h.to)return{range:p};let g=r.changes({from:O,to:m,insert:e.insert}),b=p.to-s.to;return{changes:g,range:u?E.range(Math.max(0,u.anchor+b),Math.max(0,u.head+b)):p.map(g)}})}else n={changes:a,selection:u&&r.selection.replaceRange(u)}}let l="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,l+=".compose",t.inputState.compositionFirstChange&&(l+=".start",t.inputState.compositionFirstChange=!1)),r.update(n,{userEvent:l,scrollIntoView:!0})}function NO(t,e,i,n){let r=Math.min(t.length,e.length),s=0;for(;s0&&l>0&&t.charCodeAt(o-1)==e.charCodeAt(l-1);)o--,l--;if(n=="end"){let a=Math.max(0,s-Math.min(o,l));i-=o+a-s}if(o=o?s-i:0;s-=a,l=s+(l-o),o=s}else if(l=l?s-i:0;s-=a,o=s+(o-l),l=s}return{from:s,toA:o,toB:l}}function e3(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:i,anchorOffset:n,focusNode:r,focusOffset:s}=t.observer.selectionRange;return i&&(e.push(new Id(i,n)),(r!=i||s!=n)&&e.push(new Id(r,s))),e}function t3(t,e){if(t.length==0)return null;let i=t[0].pos,n=t.length==2?t[1].pos:i;return i>-1&&n>-1?E.single(i+e,n+e):null}function $l(t,e){return e.head==t.main.head&&e.anchor==t.main.anchor}class i3{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.touchActive=!1,this.lastTouchTime=0,this.lastTouchX=0,this.lastTouchY=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.lastWheelEvent=0,this.pendingIOSKey=void 0,this.lastIOSMomentumScroll=0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.insertingText="",this.insertingTextAt=0,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,q.safari&&e.contentDOM.addEventListener("input",()=>null),q.gecko&&b3(e.contentDOM.ownerDocument)}handleEvent(e){!h3(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||(this.view.updateState!=0?Promise.resolve().then(()=>this.runHandlers(e.type,e)):this.runHandlers(e.type,e))}runHandlers(e,i){let n=this.handlers[e];if(n){for(let r of n.observers)r(this.view,i);for(let r of n.handlers){if(i.defaultPrevented)break;if(r(this.view,i)){i.preventDefault();break}}}}ensureHandlers(e){let i=r3(e),n=this.handlers,r=this.view.contentDOM;for(let s in i)if(s!="scroll"){let o=!i[s].handlers.length,l=n[s];l&&o!=!l.handlers.length&&(r.removeEventListener(s,this.handleEvent),l=null),l||r.addEventListener(s,this.handleEvent,{passive:o})}for(let s in n)s!="scroll"&&!i[s]&&r.removeEventListener(s,this.handleEvent);this.handlers=i}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&e.keyCode!=27&&UO.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),q.android&&q.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;if(q.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&(GO.some(i=>i.keyCode==e.keyCode)&&!e.ctrlKey||s3.indexOf(e.key)>-1&&e.ctrlKey)){let i={ctrlKey:e.ctrlKey,altKey:e.altKey,metaKey:e.metaKey,shiftKey:e.shiftKey};return i.shiftKey&&q.ios&&!/^(off|none)$/.test(this.view.contentDOM.autocapitalize)&&n3(this.view.win)&&(i.shiftKey=!1),this.pendingIOSKey={key:e.key,keyCode:e.keyCode,mods:i},setTimeout(()=>this.flushIOSKey(),250),!0}return e.keyCode!=229&&this.view.observer.forceFlush(),!1}flushIOSKey(e){let i=this.pendingIOSKey;return!i||i.key=="Enter"&&e&&e.from0?!0:q.safari&&!q.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function n3(t){return t.visualViewport?t.visualViewport.height*t.visualViewport.scale/t.document.documentElement.clientHeight<.85:!1}function Xd(t,e){return(i,n)=>{try{return e.call(t,n,i)}catch(r){Rt(i.state,r)}}}function r3(t){let e=Object.create(null);function i(n){return e[n]||(e[n]={observers:[],handlers:[]})}for(let n of t){let r=n.spec,s=r&&r.plugin.domEventHandlers,o=r&&r.plugin.domEventObservers;if(s)for(let l in s){let a=s[l];a&&i(l).handlers.push(Xd(n.value,a))}if(o)for(let l in o){let a=o[l];a&&i(l).observers.push(Xd(n.value,a))}}for(let n in ai)i(n).handlers.push(ai[n]);for(let n in pt)i(n).observers.push(pt[n]);return e}const GO=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],s3="dthko",UO=[16,17,18,20,91,92,224,225],$o=6;function Qo(t){return Math.max(0,t)*.7+8}function o3(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}class l3{constructor(e,i,n,r){this.view=e,this.startEvent=i,this.style=n,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=i,this.scrollParents=vO(e.contentDOM),this.atoms=e.state.facet(to).map(o=>o(e));let s=e.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=i.shiftKey,this.multiple=e.state.facet(fe.allowMultipleSelections)&&a3(e,i),this.dragging=c3(e,i)&&JO(i)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&o3(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let i=0,n=0,r=0,s=0,o=this.view.win.innerWidth,l=this.view.win.innerHeight;this.scrollParents.x&&({left:r,right:o}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:s,bottom:l}=this.scrollParents.y.getBoundingClientRect());let a=Yc(this.view);e.clientX-a.left<=r+$o?i=-Qo(r-e.clientX):e.clientX+a.right>=o-$o&&(i=Qo(e.clientX-o)),e.clientY-a.top<=s+$o?n=-Qo(s-e.clientY):e.clientY+a.bottom>=l-$o&&(n=Qo(e.clientY-l)),this.setScrollSpeed(i,n)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,i){this.scrollSpeed={x:e,y:i},e||i?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:i}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),i&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=i,i=0),(e||i)&&this.view.win.scrollBy(e,i),this.dragging===!1&&this.select(this.lastEvent)}select(e){let{view:i}=this,n=qO(this.atoms,this.style.get(e,this.extend,this.multiple));(this.mustSelect||!n.eq(i.state.selection,this.dragging===!1))&&this.view.dispatch({selection:n,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.transactions.some(i=>i.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}function a3(t,e){let i=t.state.facet(CO);return i.length?i[0](e):q.mac?e.metaKey:e.ctrlKey}function u3(t,e){let i=t.state.facet(TO);return i.length?i[0](e):q.mac?!e.altKey:!e.ctrlKey}function c3(t,e){let{main:i}=t.state.selection;if(i.empty)return!1;let n=As(t.root);if(!n||n.rangeCount==0)return!0;let r=n.getRangeAt(0).getClientRects();for(let s=0;s=e.clientX&&o.top<=e.clientY&&o.bottom>=e.clientY)return!0}return!1}function h3(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let i=e.target,n;i!=t.contentDOM;i=i.parentNode)if(!i||i.nodeType==11||(n=De.get(i))&&n.isWidget()&&!n.isHidden&&n.widget.ignoreEvent(e))return!1;return!0}const ai=Object.create(null),pt=Object.create(null),HO=q.ie&&q.ie_version<15||q.ios&&q.webkit_version<604;function f3(t){let e=t.dom.parentNode;if(!e)return;let i=e.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout(()=>{t.focus(),i.remove(),KO(t,i.value)},50)}function aa(t,e,i){for(let n of t.facet(e))i=n(i,t);return i}function KO(t,e){e=aa(t.state,Bc,e);let{state:i}=t,n,r=1,s=i.toText(e),o=s.lines==i.selection.ranges.length;if(Ku!=null&&i.selection.ranges.every(a=>a.empty)&&Ku==s.toString()){let a=-1;n=i.changeByRange(u=>{let c=i.doc.lineAt(u.from);if(c.from==a)return{range:u};a=c.from;let h=i.toText((o?s.line(r++).text:e)+i.lineBreak);return{changes:{from:c.from,insert:h},range:E.cursor(u.from+h.length)}})}else o?n=i.changeByRange(a=>{let u=s.line(r++);return{changes:{from:a.from,to:a.to,insert:u.text},range:E.cursor(a.from+u.length)}}):n=i.replaceSelection(s);t.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}pt.scroll=t=>{let e=t.inputState;e.lastScrollTop=t.scrollDOM.scrollTop,e.lastScrollLeft=t.scrollDOM.scrollLeft,q.ios&&!e.touchActive&&(e.lastIOSMomentumScroll=Date.now())};pt.wheel=pt.mousewheel=t=>{t.inputState.lastWheelEvent=Date.now()};ai.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),e.keyCode==27&&t.inputState.tabFocusMode!=0&&(t.inputState.tabFocusMode=Date.now()+2e3),!1);pt.touchstart=(t,e)=>{let i=t.inputState,n=e.targetTouches[0];i.touchActive=!0,i.lastTouchTime=Date.now(),n&&(i.lastTouchX=n.clientX,i.lastTouchY=n.clientY),i.setSelectionOrigin("select.pointer")};pt.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")};pt.touchend=(t,e)=>{t.inputState.touchActive=!1};ai.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let i=null;for(let n of t.state.facet(AO))if(i=n(t,e),i)break;if(!i&&e.button==0&&(i=p3(t,e)),i){let n=!t.hasFocus;t.inputState.startMouseSelection(new l3(t,e,i,n)),n&&t.observer.ignore(()=>{yO(t.contentDOM);let s=t.root.activeElement;s&&!s.contains(t.contentDOM)&&s.blur()});let r=t.inputState.mouseSelection;if(r)return r.start(e),r.dragging===!1}else t.inputState.setSelectionOrigin("select.pointer");return!1};function zd(t,e,i,n){if(n==1)return E.cursor(e,i);if(n==2)return Bw(t.state,e,i);{let r=t.docView.lineAt(e,i),s=t.state.doc.lineAt(r?r.posAtEnd:e),o=r?r.posAtStart:s.from,l=r?r.posAtEnd:s.to;return lDate.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(Fd+1)%3:1}function p3(t,e){let i=t.posAndSideAtCoords({x:e.clientX,y:e.clientY},!1),n=JO(e),r=t.state.selection;return{update(s){s.docChanged&&(i.pos=s.changes.mapPos(i.pos),r=r.map(s.changes))},get(s,o,l){let a=t.posAndSideAtCoords({x:s.clientX,y:s.clientY},!1),u,c=zd(t,a.pos,a.assoc,n);if(i.pos!=a.pos&&!o){let h=zd(t,i.pos,i.assoc,n),f=Math.min(h.from,c.from),d=Math.max(h.to,c.to);c=f1&&(u=m3(r,a.pos))?u:l?r.addRange(c):E.create([c])}}}function m3(t,e){for(let i=0;i=e)return E.create(t.ranges.slice(0,i).concat(t.ranges.slice(i+1)),t.mainIndex==i?0:t.mainIndex-(t.mainIndex>i?1:0))}return null}ai.dragstart=(t,e)=>{let{selection:{main:i}}=t.state;if(e.target.draggable){let r=t.docView.tile.nearest(e.target);if(r&&r.isWidget()){let s=r.posAtStart,o=s+r.length;(s>=i.to||o<=i.from)&&(i=E.undirectionalRange(s,o))}}let{inputState:n}=t;return n.mouseSelection&&(n.mouseSelection.dragging=!0),n.draggedContent=i,e.dataTransfer&&(e.dataTransfer.setData("Text",aa(t.state,Vc,t.state.sliceDoc(i.from,i.to))),e.dataTransfer.effectAllowed="copyMove"),!1};ai.dragend=t=>(t.inputState.draggedContent=null,!1);function Vd(t,e,i,n){if(i=aa(t.state,Bc,i),!i)return;let r=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:s}=t.inputState,o=n&&s&&u3(t,e)?{from:s.from,to:s.to}:null,l={from:r,insert:i},a=t.state.changes(o?[o,l]:l);t.focus(),t.dispatch({changes:a,selection:{anchor:a.mapPos(r,-1),head:a.mapPos(r,1)},userEvent:o?"move.drop":"input.drop"}),t.inputState.draggedContent=null}ai.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let i=e.dataTransfer.files;if(i&&i.length){let n=Array(i.length),r=0,s=()=>{++r==i.length&&Vd(t,e,n.filter(o=>o!=null).join(t.state.lineBreak),!1)};for(let o=0;o{/[\x00-\x08\x0e-\x1f]{2}/.test(l.result)||(n[o]=l.result),s()},l.readAsText(i[o])}return!0}else{let n=e.dataTransfer.getData("Text");if(n)return Vd(t,e,n,!0),!0}return!1};ai.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let i=HO?null:e.clipboardData;return i?(KO(t,i.getData("text/plain")||i.getData("text/uri-list")),!0):(f3(t),!1)};function O3(t,e){let i=t.dom.parentNode;if(!i)return;let n=i.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=e,n.focus(),n.selectionEnd=e.length,n.selectionStart=0,setTimeout(()=>{n.remove(),t.focus()},50)}function g3(t){let e=[],i=[],n=!1;for(let r of t.selection.ranges)r.empty||(e.push(t.sliceDoc(r.from,r.to)),i.push(r));if(!e.length){let r=-1;for(let{from:s}of t.selection.ranges){let o=t.doc.lineAt(s);o.number>r&&(e.push(o.text),i.push({from:o.from,to:Math.min(t.doc.length,o.to+1)})),r=o.number}n=!0}return{text:aa(t,Vc,e.join(t.lineBreak)),ranges:i,linewise:n}}let Ku=null;ai.copy=ai.cut=(t,e)=>{if(!cs(t.contentDOM,t.observer.selectionRange))return!1;let{text:i,ranges:n,linewise:r}=g3(t.state);if(!i&&!r)return!1;Ku=r?i:null,e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"});let s=HO?null:e.clipboardData;return s?(s.clearData(),s.setData("text/plain",i),!0):(O3(t,i),!1)};const eg=Xi.define();function tg(t,e){let i=[];for(let n of t.facet(DO)){let r=n(t,e);r&&i.push(r)}return i.length?t.update({effects:i,annotations:eg.of(!0)}):null}function ig(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let i=tg(t.state,e);i?t.dispatch(i):t.update([])}},10)}pt.focus=t=>{t.inputState.lastFocusTime=Date.now(),!t.scrollDOM.scrollTop&&(t.inputState.lastScrollTop||t.inputState.lastScrollLeft)&&(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),ig(t)};pt.blur=t=>{t.observer.clearSelectionRange(),ig(t)};pt.compositionstart=pt.compositionupdate=t=>{t.observer.editContext||(t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0))};pt.compositionend=t=>{t.observer.editContext||(t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionPendingKey=!0,t.inputState.compositionPendingChange=t.observer.pendingRecords().length>0,t.inputState.compositionFirstChange=null,q.chrome&&q.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50))};pt.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};ai.beforeinput=(t,e)=>{var i,n;if((e.inputType=="insertText"||e.inputType=="insertCompositionText")&&(t.inputState.insertingText=e.data,t.inputState.insertingTextAt=Date.now()),e.inputType=="insertReplacementText"&&t.observer.editContext){let s=(i=e.dataTransfer)===null||i===void 0?void 0:i.getData("text/plain"),o=e.getTargetRanges();if(s&&o.length){let l=o[0],a=t.posAtDOM(l.startContainer,l.startOffset),u=t.posAtDOM(l.endContainer,l.endOffset);return Nc(t,{from:a,to:u,insert:t.state.toText(s)},null),!0}}let r;if(q.chrome&&q.android&&(r=GO.find(s=>s.inputType==e.inputType))&&(t.observer.delayAndroidKey(r.key,r.keyCode),r.key=="Backspace"||r.key=="Delete")){let s=((n=window.visualViewport)===null||n===void 0?void 0:n.height)||0;setTimeout(()=>{var o;(((o=window.visualViewport)===null||o===void 0?void 0:o.height)||0)>s+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}return q.ios&&e.inputType=="deleteContentForward"&&t.observer.flushSoon(),q.safari&&e.inputType=="insertText"&&t.inputState.composing>=0&&setTimeout(()=>pt.compositionend(t,e),20),!1};const qd=new Set;function b3(t){qd.has(t)||(qd.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{}))}const Wd=["pre-wrap","normal","pre-line","break-spaces"];let yr=!1;function Yd(){yr=!1}class v3{constructor(e){this.lineWrapping=e,this.doc=de.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,i){let n=this.doc.lineAt(i).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((i-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/Math.max(1,this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return Wd.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let i=!1;for(let n=0;n-1,a=Math.abs(i-this.lineHeight)>.3||this.lineWrapping!=l;if(this.lineWrapping=l,this.lineHeight=i,this.charWidth=n,this.textHeight=r,this.lineLength=s,a){this.heightSamples={};for(let u=0;u0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>nl&&(yr=!0),this.height=e)}replace(e,i,n){return dt.of(n)}decomposeLeft(e,i){i.push(this)}decomposeRight(e,i){i.push(this)}applyChanges(e,i,n,r){let s=this,o=n.doc;for(let l=r.length-1;l>=0;l--){let{fromA:a,toA:u,fromB:c,toB:h}=r[l],f=s.lineAt(a,$e.ByPosNoHeight,n.setDoc(i),0,0),d=f.to>=u?f:s.lineAt(u,$e.ByPosNoHeight,n,0,0);for(h+=d.to-u,u=d.to;l>0&&f.from<=r[l-1].toA;)a=r[l-1].fromA,c=r[l-1].fromB,l--,as*2){let l=e[i-1];l.break?e.splice(--i,1,l.left,null,l.right):e.splice(--i,1,l.left,l.right),n+=1+l.break,r-=l.size}else if(s>r*2){let l=e[n];l.break?e.splice(n,1,l.left,null,l.right):e.splice(n,1,l.left,l.right),n+=2+l.break,s-=l.size}else break;else if(r=s&&o(this.lineAt(0,$e.ByPos,n,r,s))}setMeasuredHeight(e){let i=e.heights[e.index++];i<0?(this.spaceAbove=-i,i=e.heights[e.index++]):this.spaceAbove=0,this.setHeight(i)}updateHeight(e,i=0,n=!1,r){return r&&r.from<=i&&r.more&&this.setMeasuredHeight(r),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Tt extends ng{constructor(e,i,n){super(e,i,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0,this.spaceAbove=n}mainBlock(e,i){return new ri(i,this.length,e+this.spaceAbove,this.height-this.spaceAbove,this.breaks)}replace(e,i,n){let r=n[0];return n.length==1&&(r instanceof Tt||r instanceof Ue&&r.flags&4)&&Math.abs(this.length-r.length)<10?(r instanceof Ue?r=new Tt(r.length,this.height,this.spaceAbove):r.height=this.height,this.outdated||(r.outdated=!1),r):dt.of(n)}updateHeight(e,i=0,n=!1,r){return r&&r.from<=i&&r.more?this.setMeasuredHeight(r):(n||this.outdated)&&(this.spaceAbove=0,this.setHeight(Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight)),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Ue extends dt{constructor(e){super(e,0)}heightMetrics(e,i){let n=e.doc.lineAt(i).number,r=e.doc.lineAt(i+this.length).number,s=r-n+1,o,l=0;if(e.lineWrapping){let a=Math.min(this.height,e.lineHeight*s);o=a/s,this.length>s+1&&(l=(this.height-a)/(this.length-s-1))}else o=this.height/s;return{firstLine:n,lastLine:r,perLine:o,perChar:l}}blockAt(e,i,n,r){let{firstLine:s,lastLine:o,perLine:l,perChar:a}=this.heightMetrics(i,r);if(i.lineWrapping){let u=r+(e0){let s=n[n.length-1];s instanceof Ue?n[n.length-1]=new Ue(s.length+r):n.push(null,new Ue(r-1))}if(e>0){let s=n[0];s instanceof Ue?n[0]=new Ue(e+s.length):n.unshift(new Ue(e-1),null)}return dt.of(n)}decomposeLeft(e,i){i.push(new Ue(e-1),null)}decomposeRight(e,i){i.push(null,new Ue(this.length-e-1))}updateHeight(e,i=0,n=!1,r){let s=i+this.length;if(r&&r.from<=i+this.length&&r.more){let o=[],l=Math.max(i,r.from),a=-1;for(r.from>i&&o.push(new Ue(r.from-i-1).updateHeight(e,i));l<=s&&r.more;){let c=e.doc.lineAt(l).length;o.length&&o.push(null);let h=r.heights[r.index++],f=0;h<0&&(f=-h,h=r.heights[r.index++]),a==-1?a=h:Math.abs(h-a)>=nl&&(a=-2);let d=new Tt(c,h,f);d.outdated=!1,o.push(d),l+=c+1}l<=s&&o.push(null,new Ue(s-l).updateHeight(e,l));let u=dt.of(o);return(a<0||Math.abs(u.height-this.height)>=nl||Math.abs(a-this.heightMetrics(e,i).perLine)>=nl)&&(yr=!0),Ql(this,u)}else(n||this.outdated)&&(this.setHeight(e.heightForGap(i,i+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class k3 extends dt{constructor(e,i,n){super(e.length+i+n.length,e.height+n.height,i|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,i,n,r){let s=n+this.left.height;return el))return u;let c=i==$e.ByPosNoHeight?$e.ByPosNoHeight:$e.ByPos;return a?u.join(this.right.lineAt(l,c,n,o,l)):this.left.lineAt(l,c,n,r,s).join(u)}forEachLine(e,i,n,r,s,o){let l=r+this.left.height,a=s+this.left.length+this.break;if(this.break)e=a&&this.right.forEachLine(e,i,n,l,a,o);else{let u=this.lineAt(a,$e.ByPos,n,r,s);e=e&&u.from<=i&&o(u),i>u.to&&this.right.forEachLine(u.to+1,i,n,l,a,o)}}replace(e,i,n){let r=this.left.length+this.break;if(ithis.left.length)return this.balanced(this.left,this.right.replace(e-r,i-r,n));let s=[];e>0&&this.decomposeLeft(e,s);let o=s.length;for(let l of n)s.push(l);if(e>0&&Nd(s,o-1),i=n&&i.push(null)),e>n&&this.right.decomposeLeft(e-n,i)}decomposeRight(e,i){let n=this.left.length,r=n+this.break;if(e>=r)return this.right.decomposeRight(e-r,i);e2*i.size||i.size>2*e.size?dt.of(this.break?[e,null,i]:[e,i]):(this.left=Ql(this.left,e),this.right=Ql(this.right,i),this.setHeight(e.height+i.height),this.outdated=e.outdated||i.outdated,this.size=e.size+i.size,this.length=e.length+this.break+i.length,this)}updateHeight(e,i=0,n=!1,r){let{left:s,right:o}=this,l=i+s.length+this.break,a=null;return r&&r.from<=i+s.length&&r.more?a=s=s.updateHeight(e,i,n,r):s.updateHeight(e,i,n),r&&r.from<=l+o.length&&r.more?a=o=o.updateHeight(e,l,n,r):o.updateHeight(e,l,n),a?this.balanced(s,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function Nd(t,e){let i,n;t[e]==null&&(i=t[e-1])instanceof Ue&&(n=t[e+1])instanceof Ue&&t.splice(e-1,3,new Ue(i.length+1+n.length))}const S3=5;class Gc{constructor(e,i){this.pos=e,this.oracle=i,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,i){if(this.lineStart>-1){let n=Math.min(i,this.lineEnd),r=this.nodes[this.nodes.length-1];r instanceof Tt?r.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new Tt(n-this.pos,-1,0)),this.writtenTo=n,i>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=i}point(e,i,n){if(e=S3)&&this.addLineDeco(r,s,o)}else i>e&&this.span(e,i);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:i}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=i,this.writtenToe&&this.nodes.push(new Tt(this.pos-e,-1,0)),this.writtenTo=this.pos}blankContent(e,i){let n=new Ue(i-e);return this.oracle.doc.lineAt(e).to==i&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof Tt)return e;let i=new Tt(0,-1,0);return this.nodes.push(i),i}addBlock(e){this.enterLine();let i=e.deco;i&&i.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,i&&i.endSide>0&&(this.covering=e)}addLineDeco(e,i,n){let r=this.ensureLine();r.length+=n,r.collapsed+=n,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=i,this.writtenTo=this.pos=this.pos+n}finish(e){let i=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(i instanceof Tt)&&!this.isCovered?this.nodes.push(new Tt(0,-1,0)):(this.writtenToc.clientHeight||c.scrollWidth>c.clientWidth)&&h.overflow!="visible"){let f=c.getBoundingClientRect();s=Math.max(s,f.left),o=Math.min(o,f.right),l=Math.max(l,f.top),a=Math.min(u==t.parentNode?r.innerHeight:a,f.bottom)}u=h.position=="absolute"||h.position=="fixed"?c.offsetParent:c.parentNode}else if(u.nodeType==11)u=u.host;else break;return{left:s-i.left,right:Math.max(s,o)-i.left,top:l-(i.top+e),bottom:Math.max(l,a)-(i.top+e)}}function _3(t){let e=t.getBoundingClientRect(),i=t.ownerDocument.defaultView||window;return e.left0&&e.top0}function P3(t,e){let i=t.getBoundingClientRect();return{left:0,right:i.right-i.left,top:e,bottom:i.bottom-(i.top+e)}}class Ma{constructor(e,i,n,r){this.from=e,this.to=i,this.size=n,this.displaySize=r}static same(e,i){if(e.length!=i.length)return!1;for(let n=0;ntypeof r!="function"&&r.class=="cm-lineWrapping");this.heightOracle=new v3(n),this.stateDeco=Hd(i),this.heightMap=dt.empty().applyChanges(this.stateDeco,de.empty,this.heightOracle.setDoc(i.doc),[new jt(0,0,0,i.doc.length)]);for(let r=0;r<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());r++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=ve.set(this.lineGaps.map(r=>r.draw(this,!1))),this.scrollParent=e.scrollDOM,this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:i}=this.state.selection;for(let n=0;n<=1;n++){let r=n?i.head:i.anchor;if(!e.some(({from:s,to:o})=>r>=s&&r<=o)){let{from:s,to:o}=this.lineBlockAt(r);e.push(new _o(s,o))}}return this.viewports=e.sort((n,r)=>n.from-r.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?Ud:new Uc(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(es(e,this.scaler))})}update(e,i=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=Hd(this.state);let r=e.changedRanges,s=jt.extendWithRanges(r,w3(n,this.stateDeco,e?e.changes:Fe.empty(this.state.doc.length))),o=this.heightMap.height,l=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollOffset);Yd(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),(this.heightMap.height!=o||yr)&&(e.flags|=2),l?(this.scrollAnchorPos=e.changes.mapPos(l.from,-1),this.scrollAnchorHeight=l.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=o);let a=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(i&&(i.range.heada.to)||!this.viewportIsAppropriate(a))&&(a=this.getViewport(0,i));let u=a.from!=this.viewport.from||a.to!=this.viewport.to;this.viewport=a,e.flags|=this.updateForViewport(),(u||!e.changes.empty||e.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(e.changes),i&&(this.scrollTarget=i),!this.mustEnforceCursorAssoc&&(e.selectionSet||e.focusChanged)&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(MO)&&(this.mustEnforceCursorAssoc=!0)}measure(){let{view:e}=this,i=e.contentDOM,n=window.getComputedStyle(i),r=this.heightOracle,s=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?Ce.RTL:Ce.LTR;let o=this.heightOracle.mustRefreshForWrapping(s)||this.mustMeasureContent==="refresh",l=i.getBoundingClientRect(),a=o||this.mustMeasureContent||this.contentDOMHeight!=l.height;this.contentDOMHeight=l.height,this.mustMeasureContent=!1;let u=0,c=0;if(l.width&&l.height){let{scaleX:v,scaleY:Q}=bO(i,l);(v>.005&&Math.abs(this.scaleX-v)>.005||Q>.005&&Math.abs(this.scaleY-Q)>.005)&&(this.scaleX=v,this.scaleY=Q,u|=16,o=a=!0)}let h=(parseInt(n.paddingTop)||0)*this.scaleY,f=(parseInt(n.paddingBottom)||0)*this.scaleY;(this.paddingTop!=h||this.paddingBottom!=f)&&(this.paddingTop=h,this.paddingBottom=f,u|=18),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(a=!0),this.editorWidth=e.scrollDOM.clientWidth,u|=16);let d=vO(this.view.contentDOM,!1).y;d!=this.scrollParent&&(this.scrollParent=d,this.scrollAnchorHeight=-1,this.scrollOffset=0);let p=this.getScrollOffset();this.scrollOffset!=p&&(this.scrollAnchorHeight=-1,this.scrollOffset=p),this.scrolledToBottom=xO(this.scrollParent||e.win);let m=(this.printing?P3:Q3)(i,this.paddingTop),O=m.top-this.pixelViewport.top,g=m.bottom-this.pixelViewport.bottom;this.pixelViewport=m;let b=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(b!=this.inView&&(this.inView=b,b&&(a=!0)),!this.inView&&!this.scrollTarget&&!_3(e.dom))return 0;let y=l.width;if((this.contentDOMWidth!=y||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=l.width,this.editorHeight=e.scrollDOM.clientHeight,u|=16),a){let v=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(v)&&(o=!0),o||r.lineWrapping&&Math.abs(y-this.contentDOMWidth)>r.charWidth){let{lineHeight:Q,charWidth:P,textHeight:_}=e.docView.measureTextSize();o=Q>0&&r.refresh(s,Q,P,_,Math.max(5,y/P),v),o&&(e.docView.minWidth=0,u|=16)}O>0&&g>0?c=Math.max(O,g):O<0&&g<0&&(c=Math.min(O,g)),Yd();for(let Q of this.viewports){let P=Q.from==this.viewport.from?v:e.docView.measureVisibleLineHeights(Q);this.heightMap=(o?dt.empty().applyChanges(this.stateDeco,de.empty,this.heightOracle,[new jt(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,o,new y3(Q.from,P))}yr&&(u|=2)}let w=!this.viewportIsAppropriate(this.viewport,c)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return w&&(u&2&&(u|=this.updateScaler()),this.viewport=this.getViewport(c,this.scrollTarget),u|=this.updateForViewport()),(u&2||w)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,e)),u|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),u}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,i){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,s=this.heightOracle,{visibleTop:o,visibleBottom:l}=this,a=new _o(r.lineAt(o-n*1e3,$e.ByHeight,s,0,0).from,r.lineAt(l+(1-n)*1e3,$e.ByHeight,s,0,0).to);if(i){let{head:u}=i.range;if(ua.to){let c=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),h=r.lineAt(u,$e.ByPos,s,0,0),f;i.y=="center"?f=(h.top+h.bottom)/2-c/2:i.y=="start"||i.y=="nearest"&&u=l+Math.max(10,Math.min(n,250)))&&r>o-2*1e3&&s>1,o=r<<1;if(this.defaultTextDirection!=Ce.LTR&&!n)return[];let l=[],a=(c,h,f,d)=>{if(h-cc&&gg.from>=f.from&&g.to<=f.to&&Math.abs(g.from-c)g.fromb));if(!O){if(hy.from<=h&&y.to>=h)){let y=i.moveToLineBoundary(E.cursor(h),!1,!0).head;y>c&&(h=y)}let g=this.gapSize(f,c,h,d),b=n||g<2e6?g:2e6;O=new Ma(c,h,g,b)}l.push(O)},u=c=>{if(c.length2e6)for(let Q of e)Q.from>=c.from&&Q.fromc.from&&a(c.from,d,c,h),pi.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(e){let i=this.stateDeco;this.lineGaps.length&&(i=i.concat(this.lineGapDeco));let n=[];be.spans(i,this.viewport.from,this.viewport.to,{span(s,o){n.push({from:s,to:o})},point(){}},20);let r=0;if(n.length!=this.visibleRanges.length)r=12;else for(let s=0;s=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(i=>i.from<=e&&i.to>=e)||es(this.heightMap.lineAt(e,$e.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(i=>i.top<=e&&i.bottom>=e)||es(this.heightMap.lineAt(this.scaler.fromDOM(e),$e.ByHeight,this.heightOracle,0,0),this.scaler)}getScrollOffset(){return(this.scrollParent==this.view.scrollDOM?this.scrollParent.scrollTop:(this.scrollParent?this.scrollParent.getBoundingClientRect().top:0)-this.view.contentDOM.getBoundingClientRect().top)*this.scaleY}scrollAnchorAt(e){let i=this.lineBlockAtHeight(e+8);return i.from>=this.viewport.from||this.viewportLines[0].top-e>200?i:this.viewportLines[0]}elementAtHeight(e){return es(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class _o{constructor(e,i){this.from=e,this.to=i}}function T3(t,e,i){let n=[],r=t,s=0;return be.spans(i,t,e,{span(){},point(o,l){o>r&&(n.push({from:r,to:o}),s+=o-r),r=l}},20),r=1)return e[e.length-1].to;let n=Math.floor(t*i);for(let r=0;;r++){let{from:s,to:o}=e[r],l=o-s;if(n<=l)return s+n;n-=l}}function Co(t,e){let i=0;for(let{from:n,to:r}of t.ranges){if(e<=r){i+=e-n;break}i+=r-n}return i/t.total}function A3(t,e){for(let i of t)if(e(i))return i}const Ud={toDOM(t){return t},fromDOM(t){return t},scale:1,eq(t){return t==this}};function Hd(t){let e=t.facet(sa).filter(n=>typeof n!="function"),i=t.facet(Wc).filter(n=>typeof n!="function");return i.length&&e.push(be.join(i)),e}class Uc{constructor(e,i,n){let r=0,s=0,o=0;this.viewports=n.map(({from:l,to:a})=>{let u=i.lineAt(l,$e.ByPos,e,0,0).top,c=i.lineAt(a,$e.ByPos,e,0,0).bottom;return r+=c-u,{from:l,to:a,top:u,bottom:c,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(i.height-r);for(let l of this.viewports)l.domTop=o+(l.top-s)*this.scale,o=l.domBottom=l.domTop+(l.bottom-l.top),s=l.bottom}toDOM(e){for(let i=0,n=0,r=0;;i++){let s=ii.from==e.viewports[n].from&&i.to==e.viewports[n].to):!1}}function es(t,e){if(e.scale==1)return t;let i=e.toDOM(t.top),n=e.toDOM(t.bottom);return new ri(t.from,t.length,i,n-i,Array.isArray(t._content)?t._content.map(r=>es(r,e)):t._content)}const To=G.define({combine:t=>t.join(" ")}),Ju=G.define({combine:t=>t.indexOf(!0)>-1}),ec=ln.newName(),rg=ln.newName(),sg=ln.newName(),og={"&light":"."+rg,"&dark":"."+sg};function tc(t,e,i){return new ln(e,{finish(n){return/&/.test(n)?n.replace(/&\w*/,r=>{if(r=="&")return t;if(!i||!i[r])throw new RangeError(`Unsupported selector: ${r}`);return i[r]}):t+" "+n}})}const E3=tc("."+ec,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{userSelect:"none",position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#ddd"},".cm-selectionHandle":{backgroundColor:"currentColor",width:"1.5px"},".cm-selectionHandle-start::before, .cm-selectionHandle-end::before":{content:'""',backgroundColor:"inherit",borderRadius:"50%",width:"8px",height:"8px",position:"absolute",left:"-3.25px"},".cm-selectionHandle-start::before":{top:"-8px"},".cm-selectionHandle-end::before":{bottom:"-8px"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",zIndex:200},".cm-gutters-before":{insetInlineStart:0},".cm-gutters-after":{insetInlineEnd:0},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",border:"0px solid #ddd","&.cm-gutters-before":{borderRightWidth:"1px"},"&.cm-gutters-after":{borderLeftWidth:"1px"}},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-dialog":{padding:"2px 19px 4px 6px",position:"relative","& label":{fontSize:"80%"}},".cm-dialog-close":{position:"absolute",top:"3px",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",fontSize:"14px",padding:"0"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top",userSelect:"none"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},og),R3={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Za=q.ie&&q.ie_version<=11;class D3{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new uw,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(i=>{for(let n of i)this.queue.push(n);(q.ie&&q.ie_version<=11||q.ios&&e.composing)&&i.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&q.android&&e.constructor.EDIT_CONTEXT!==!1&&!(q.chrome&&q.chrome_version<126)&&(this.editContext=new M3(e),e.state.facet(Ri)&&(e.contentDOM.editContext=this.editContext.editContext)),Za&&(this.onCharData=i=>{this.queue.push({target:i.target,type:"characterData",oldValue:i.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var i;((i=this.view.docView)===null||i===void 0?void 0:i.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),i.length>0&&i[i.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(i=>{i.length>0&&i[i.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){(e.type=="change"||!e.type)&&!e.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((i,n)=>i!=e[n]))){this.gapIntersection.disconnect();for(let i of e)this.gapIntersection.observe(i);this.gaps=e}}onSelectionChange(e){let i=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,r=this.selectionRange;if(n.state.facet(Ri)?n.root.activeElement!=this.dom:!cs(this.dom,r))return;let s=r.anchorNode&&n.docView.tile.nearest(r.anchorNode);if(s&&s.isWidget()&&s.widget.ignoreEvent(e)){i||(this.selectionChanged=!1);return}(q.ie&&q.ie_version<=11||q.android&&q.chrome)&&!n.state.selection.main.empty&&r.focusNode&&fs(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,i=As(e.root);if(!i)return!1;let n=q.safari&&e.root.nodeType==11&&e.root.activeElement==this.dom&&L3(this.view,i)||i;if(!n||this.selectionRange.eq(n))return!1;let r=cs(this.dom,n);return r&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let s=this.delayedAndroidKey;s&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=s.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&s.force&&ir(this.dom,s.key,s.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(r)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:i,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let i=-1,n=-1,r=!1;for(let s of e){let o=this.readMutation(s);o&&(o.typeOver&&(r=!0),i==-1?{from:i,to:n}=o:(i=Math.min(o.from,i),n=Math.max(o.to,n)))}return{from:i,to:n,typeOver:r}}readChange(){let{from:e,to:i,typeOver:n}=this.processRecords(),r=this.selectionChanged&&cs(this.dom,this.selectionRange);if(e<0&&!r)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let s=new Kw(this.view,e,i,n);return this.view.docView.domChanged={newSel:s.newSel?s.newSel.main:null},s}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let i=this.readChange();if(!i)return this.view.requestMeasure(),!1;let n=this.view.state,r=YO(this.view,i);return this.view.state==n&&(i.domChanged||i.newSel&&!$l(this.view.state.selection,i.newSel.main))&&this.view.update([]),r}readMutation(e){let i=this.view.docView.tile.nearest(e.target);if(!i||i.isWidget())return null;if(i.markDirty(e.type=="attributes"),e.type=="childList"){let n=Kd(i,e.previousSibling||e.target.previousSibling,-1),r=Kd(i,e.nextSibling||e.target.nextSibling,1);return{from:n?i.posAfter(n):i.posAtStart,to:r?i.posBefore(r):i.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:i.posAtStart,to:i.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(Ri)!=e.state.facet(Ri)&&(e.view.contentDOM.editContext=e.state.facet(Ri)?this.editContext.editContext:null))}destroy(){var e,i,n;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(i=this.gapIntersection)===null||i===void 0||i.disconnect(),(n=this.resizeScroll)===null||n===void 0||n.disconnect();for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function Kd(t,e,i){for(;e;){let n=De.get(e);if(n&&n.parent==t)return n;let r=e.parentNode;e=r!=t.dom?r:i>0?e.nextSibling:e.previousSibling}return null}function Jd(t,e){let i=e.startContainer,n=e.startOffset,r=e.endContainer,s=e.endOffset,o=t.docView.domAtPos(t.state.selection.main.anchor,1);return fs(o.node,o.offset,r,s)&&([i,n,r,s]=[r,s,i,n]),{anchorNode:i,anchorOffset:n,focusNode:r,focusOffset:s}}function L3(t,e){if(e.getComposedRanges){let r=e.getComposedRanges(t.root)[0];if(r)return Jd(t,r)}let i=null;function n(r){r.preventDefault(),r.stopImmediatePropagation(),i=r.getTargetRanges()[0]}return t.contentDOM.addEventListener("beforeinput",n,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",n,!0),i?Jd(t,i):null}class M3{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(e.state);let i=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});this.handlers.textupdate=n=>{let r=e.state.selection.main,{anchor:s,head:o}=r,l=this.toEditorPos(n.updateRangeStart),a=this.toEditorPos(n.updateRangeEnd);e.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:n.updateRangeStart,editorBase:l,drifted:!1});let u=a-l>n.text.length;l==this.from&&sthis.to&&(a=s);let c=NO(e.state.sliceDoc(l,a),n.text,(u?r.from:r.to)-l,u?"end":null);if(!c){let f=E.single(this.toEditorPos(n.selectionStart),this.toEditorPos(n.selectionEnd));$l(f,r)||e.dispatch({selection:f,userEvent:"select"});return}let h={from:c.from+l,to:c.toA+l,insert:de.of(n.text.slice(c.from,c.toB).split(` +`))};if((q.mac||q.android)&&h.from==o-1&&/^\. ?$/.test(n.text)&&e.contentDOM.getAttribute("autocorrect")=="off"&&(h={from:l,to:a,insert:de.of([n.text.replace("."," ")])}),this.pendingContextChange=h,!e.state.readOnly){let f=this.to-this.from+(h.to-h.from+h.insert.length);Nc(e,h,E.single(this.toEditorPos(n.selectionStart,f),this.toEditorPos(n.selectionEnd,f)))}this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state)),h.from=0&&!/[\\p{Alphabetic}\\p{Number}_]/.test(i.text.slice(Math.max(0,n.updateRangeStart-1),Math.min(i.text.length,n.updateRangeStart+1)))&&this.handlers.compositionend(n)},this.handlers.characterboundsupdate=n=>{let r=[],s=null;for(let o=this.toEditorPos(n.rangeStart),l=this.toEditorPos(n.rangeEnd);o{let r=[];for(let s of n.getTextFormats()){let o=s.underlineStyle,l=s.underlineThickness;if(!/none/i.test(o)&&!/none/i.test(l)){let a=this.toEditorPos(s.rangeStart),u=this.toEditorPos(s.rangeEnd);if(a{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(e.inputState.composing=-1,e.inputState.compositionFirstChange=null,this.composing){let{drifted:n}=this.composing;this.composing=null,n&&this.reset(e.state)}};for(let n in this.handlers)i.addEventListener(n,this.handlers[n]);this.measureReq={read:n=>{let r=As(n.root);r&&r.rangeCount&&this.editContext.updateSelectionBounds(r.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let i=0,n=!1,r=this.pendingContextChange;return e.changes.iterChanges((s,o,l,a,u)=>{if(n)return;let c=u.length-(o-s);if(r&&o>=r.to)if(r.from==s&&r.to==o&&r.insert.eq(u)){r=this.pendingContextChange=null,i+=c,this.to+=c;return}else r=null,this.revertPending(e.state);if(s+=i,o+=i,o<=this.from)this.from+=c,this.to+=c;else if(sthis.to||this.to-this.from+u.length>3e4){n=!0;return}this.editContext.updateText(this.toContextPos(s),this.toContextPos(o),u.toString()),this.to+=c}i+=c}),r&&!n&&this.revertPending(e.state),!n}update(e){let i=this.pendingContextChange,n=e.startState.selection.main;this.composing&&(this.composing.drifted||!e.changes.touchesRange(n.from,n.to)&&e.transactions.some(r=>!r.isUserEvent("input.type")&&r.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=e.changes.mapPos(this.composing.editorBase)):!this.applyEdits(e)||!this.rangeIsValid(e.state)?(this.pendingContextChange=null,this.reset(e.state)):(e.docChanged||e.selectionSet||i)&&this.setSelection(e.state),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:i}=e.selection.main;this.from=Math.max(0,i-1e4),this.to=Math.min(e.doc.length,i+1e4)}reset(e){this.resetRange(e),this.editContext.updateText(0,this.editContext.text.length,e.doc.sliceString(this.from,this.to)),this.setSelection(e)}revertPending(e){let i=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(i.from),this.toContextPos(i.from+i.insert.length),e.doc.sliceString(i.from,i.to))}setSelection(e){let{main:i}=e.selection,n=this.toContextPos(Math.max(this.from,Math.min(this.to,i.anchor))),r=this.toContextPos(i.head);(this.editContext.selectionStart!=n||this.editContext.selectionEnd!=r)&&this.editContext.updateSelection(n,r)}rangeIsValid(e){let{head:i}=e.selection.main;return!(this.from>0&&i-this.from<500||this.to1e4*3)}toEditorPos(e,i=this.to-this.from){e=Math.min(e,i);let n=this.composing;return n&&n.drifted?n.editorBase+(e-n.contextBase):e+this.from}toContextPos(e){let i=this.composing;return i&&i.drifted?i.contextBase+(e-i.editorBase):e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}}class W{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return!!this.inputState&&this.inputState.composing>0}get compositionStarted(){return!!this.inputState&&this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){var i;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:n}=e;this.dispatchTransactions=e.dispatchTransactions||n&&(r=>r.forEach(s=>n(s,this)))||(r=>this.update(r)),this.dispatch=this.dispatch.bind(this),this._root=e.root||cw(e.parent)||document,this.viewState=new Gd(this,e.state||fe.create(e)),e.scrollTo&&e.scrollTo.is(wo)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Gn).map(r=>new Aa(r));for(let r of this.plugins)r.update(this);this.observer=new D3(this),this.inputState=new i3(this),this.inputState.ensureHandlers(this.plugins),this.docView=new Md(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!((i=document.fonts)===null||i===void 0)&&i.ready&&document.fonts.ready.then(()=>{this.viewState.mustMeasureContent="refresh",this.requestMeasure()})}dispatch(...e){let i=e.length==1&&e[0]instanceof Xe?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(i,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let i=!1,n=!1,r,s=this.state;for(let f of e){if(f.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=f.state}if(this.destroyed){this.viewState.state=s;return}let o=this.hasFocus,l=0,a=null;e.some(f=>f.annotation(eg))?(this.inputState.notifiedFocused=o,l=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,a=tg(s,o),a||(l=1));let u=this.observer.delayedAndroidKey,c=null;if(u?(this.observer.clearDelayedAndroidKey(),c=this.observer.readChange(),(c&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(c=null)):this.observer.clear(),s.facet(fe.phrases)!=this.state.facet(fe.phrases))return this.setState(s);r=kl.create(this,s,e),r.flags|=l;let h=this.viewState.scrollTarget;try{this.updateState=2;for(let f of e){if(h&&(h=h.map(f.changes)),f.scrollIntoView){let{main:d}=f.state.selection,{x:p,y:m}=this.state.facet(W.cursorScrollMargin);h=new nr(d.empty?d:E.cursor(d.head,d.head>d.anchor?-1:1),"nearest","nearest",m,p)}for(let d of f.effects)d.is(wo)&&(h=d.value.clip(this.state))}this.viewState.update(r,h),this.bidiCache=_l.update(this.bidiCache,r.changes),r.empty||(this.updatePlugins(r),this.inputState.update(r)),i=this.docView.update(r),this.state.facet(Jr)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(i,e.some(f=>f.isUserEvent("select.pointer")))}finally{this.updateState=0}if(r.startState.facet(To)!=r.state.facet(To)&&(this.viewState.mustMeasureContent=!0),(i||n||h||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),i&&this.docViewUpdate(),!r.empty)for(let f of this.state.facet(Nu))try{f(r)}catch(d){Rt(this.state,d,"update listener")}(a||c)&&Promise.resolve().then(()=>{a&&this.state==a.startState&&this.dispatch(a),c&&!YO(this,c)&&u.force&&ir(this.contentDOM,u.key,u.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let i=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new Gd(this,e),this.plugins=e.facet(Gn).map(n=>new Aa(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView.destroy(),this.docView=new Md(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}i&&this.focus(),this.requestMeasure()}updatePlugins(e){let i=e.startState.facet(Gn),n=e.state.facet(Gn);if(i!=n){let r=[];for(let s of n){let o=i.indexOf(s);if(o<0)r.push(new Aa(s));else{let l=this.plugins[o];l.mustUpdate=e,r.push(l)}}for(let s of this.plugins)s.mustUpdate!=e&&s.destroy(this);this.plugins=r,this.pluginMap.clear()}else for(let r of this.plugins)r.mustUpdate=e;for(let r=0;r-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let i=null,n=this.viewState.scrollParent,r=this.viewState.getScrollOffset(),{scrollAnchorPos:s,scrollAnchorHeight:o}=this.viewState;Math.abs(r-this.viewState.scrollOffset)>1&&(o=-1),this.viewState.scrollAnchorHeight=-1;try{for(let l=0;;l++){if(o<0)if(xO(n||this.win))s=-1,o=this.viewState.heightMap.height;else{let d=this.viewState.scrollAnchorAt(r);s=d.from,o=d.top}this.updateState=1;let a=this.viewState.measure();if(!a&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(l>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let u=[];a&4||([this.measureRequests,u]=[u,this.measureRequests]);let c=u.map(d=>{try{return d.read(this)}catch(p){return Rt(this.state,p),e0}}),h=kl.create(this,this.state,[]),f=!1;h.flags|=a,i?i.flags|=a:i=h,this.updateState=2,h.empty||(this.updatePlugins(h),this.inputState.update(h),this.updateAttrs(),f=this.docView.update(h),f&&this.docViewUpdate());for(let d=0;d1||p<-1)&&!(q.ios&&this.inputState.lastIOSMomentumScroll>Date.now()-100)&&(n==this.scrollDOM||this.hasFocus||Math.max(this.inputState.lastWheelEvent,this.inputState.lastTouchTime)>Date.now()-100)){r=r+p,n?n.scrollTop+=p:this.win.scrollBy(0,p),o=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(i&&!i.empty)for(let l of this.state.facet(Nu))l(i)}get themeClasses(){return ec+" "+(this.state.facet(Ju)?sg:rg)+" "+this.state.facet(To)}updateAttrs(){let e=t0(this,XO,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),i={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(Ri)?"true":"false",class:"cm-content",style:`${q.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(i["aria-readonly"]="true"),t0(this,qc,i);let n=this.observer.ignore(()=>{let r=Td(this.contentDOM,this.contentAttrs,i),s=Td(this.dom,this.editorAttrs,e);return r||s});return this.editorAttrs=e,this.contentAttrs=i,n}showAnnouncements(e){let i=!0;for(let n of e)for(let r of n.effects)if(r.is(W.announce)){i&&(this.announceDOM.textContent=""),i=!1;let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=r.value}}mountStyles(){this.styleModules=this.state.facet(Jr);let e=this.state.facet(W.cspNonce);ln.mount(this.root,this.styleModules.concat(E3).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let i=0;in.plugin==e)||null),i&&i.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,i,n){return La(this,e,Zd(this,e,i,n))}moveByGroup(e,i){return La(this,e,Zd(this,e,i,n=>Ww(this,e.head,n)))}visualLineSide(e,i){let n=this.bidiSpans(e),r=this.textDirectionAt(e.from),s=n[i?n.length-1:0];return E.cursor(s.side(i,r)+e.from,s.forward(!i,r)?1:-1)}moveToLineBoundary(e,i,n=!0){return qw(this,e,i,n)}moveVertically(e,i,n){return La(this,e,Yw(this,e,i,n))}domAtPos(e,i=1){return this.docView.domAtPos(e,i)}posAtDOM(e,i=0){return this.docView.posFromDOM(e,i)}posAtCoords(e,i=!0){this.readMeasured();let n=Hu(this,e,i);return n&&n.pos}posAndSideAtCoords(e,i=!0){return this.readMeasured(),Hu(this,e,i)}coordsAtPos(e,i=1){this.readMeasured();let n=this.state.doc.lineAt(e),r=this.bidiSpans(n),s=r[xi.find(r,e-n.from,-1,i)];return this.docView.coordsAt(e,i,s.dir==Ce.RTL)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(LO)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>Z3)return _O(e.length);let i=this.textDirectionAt(e.from),n;for(let s of this.bidiCache)if(s.from==e.from&&s.dir==i&&(s.fresh||QO(s.isolates,n=Rd(this,e))))return s.order;n||(n=Rd(this,e));let r=bw(e.text,i,n);return this.bidiCache.push(new _l(e.from,e.to,i,n,!0,r)),r}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||q.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{yO(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,i={}){var n,r,s,o;return wo.of(new nr(typeof e=="number"?E.cursor(e):e,(n=i.y)!==null&&n!==void 0?n:"nearest",(r=i.x)!==null&&r!==void 0?r:"nearest",(s=i.yMargin)!==null&&s!==void 0?s:5,(o=i.xMargin)!==null&&o!==void 0?o:5))}scrollSnapshot(){let{scrollTop:e,scrollLeft:i}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return wo.of(new nr(E.cursor(n.from),"start","start",n.top-e,i,!0))}setTabFocusMode(e){e==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof e=="boolean"?this.inputState.tabFocusMode=e?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return Mt.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return Mt.define(()=>({}),{eventObservers:e})}static theme(e,i){let n=ln.newName(),r=[To.of(n),Jr.of(tc(`.${n}`,e))];return i&&i.dark&&r.push(Ju.of(!0)),r}static baseTheme(e){return Ii.lowest(Jr.of(tc("."+ec,e,og)))}static findFromDOM(e){var i;let n=e.querySelector(".cm-content"),r=n&&De.get(n)||De.get(e);return((i=r==null?void 0:r.root)===null||i===void 0?void 0:i.view)||null}}W.styleModule=Jr;W.inputHandler=RO;W.clipboardInputFilter=Bc;W.clipboardOutputFilter=Vc;W.scrollHandler=ZO;W.focusChangeEffect=DO;W.perLineTextDirection=LO;W.exceptionSink=EO;W.updateListener=Nu;W.editable=Ri;W.mouseSelectionStyle=AO;W.dragMovesSelection=TO;W.clickAddsSelectionRange=CO;W.decorations=sa;W.blockWrappers=zO;W.outerDecorations=Wc;W.atomicRanges=to;W.bidiIsolatedRanges=jO;W.cursorScrollMargin=G.define({combine:t=>{let e=5,i=5;for(let n of t)typeof n=="number"?e=i=n:{x:e,y:i}=n;return{x:e,y:i}}});W.scrollMargins=FO;W.darkTheme=Ju;W.cspNonce=G.define({combine:t=>t.length?t[0]:""});W.contentAttributes=qc;W.editorAttributes=XO;W.lineWrapping=W.contentAttributes.of({class:"cm-lineWrapping"});W.announce=ae.define();const Z3=4096,e0={};class _l{constructor(e,i,n,r,s,o){this.from=e,this.to=i,this.dir=n,this.isolates=r,this.fresh=s,this.order=o}static update(e,i){if(i.empty&&!e.some(s=>s.fresh))return e;let n=[],r=e.length?e[e.length-1].dir:Ce.LTR;for(let s=Math.max(0,e.length-10);s=0;r--){let s=n[r],o=typeof s=="function"?s(t):s;o&&zc(o,i)}return i}const I3=q.mac?"mac":q.windows?"win":q.linux?"linux":"key";function X3(t,e){const i=t.split(/-(?!$)/);let n=i[i.length-1];n=="Space"&&(n=" ");let r,s,o,l;for(let a=0;an.concat(r),[]))),i}function j3(t,e,i){return ag(lg(t.state),e,t,i)}let Ji=null;const F3=4e3;function B3(t,e=I3){let i=Object.create(null),n=Object.create(null),r=(o,l)=>{let a=n[o];if(a==null)n[o]=l;else if(a!=l)throw new Error("Key binding "+o+" is used both as a regular binding and as a multi-stroke prefix")},s=(o,l,a,u,c)=>{var h,f;let d=i[o]||(i[o]=Object.create(null)),p=l.split(/ (?!$)/).map(g=>X3(g,e));for(let g=1;g{let w=Ji={view:y,prefix:b,scope:o};return setTimeout(()=>{Ji==w&&(Ji=null)},F3),!0}]})}let m=p.join(" ");r(m,!1);let O=d[m]||(d[m]={preventDefault:!1,stopPropagation:!1,run:((f=(h=d._any)===null||h===void 0?void 0:h.run)===null||f===void 0?void 0:f.slice())||[]});a&&O.run.push(a),u&&(O.preventDefault=!0),c&&(O.stopPropagation=!0)};for(let o of t){let l=o.scope?o.scope.split(" "):["editor"];if(o.any)for(let u of l){let c=i[u]||(i[u]=Object.create(null));c._any||(c._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:h}=o;for(let f in c)c[f].run.push(d=>h(d,ic))}let a=o[e]||o.key;if(a)for(let u of l)s(u,a,o.run,o.preventDefault,o.stopPropagation),o.shift&&s(u,"Shift-"+a,o.shift,o.preventDefault,o.stopPropagation)}return i}let ic=null;function ag(t,e,i,n){ic=e;let r=nw(e),s=Ni(r,0),o=vn(s)==r.length&&r!=" ",l="",a=!1,u=!1,c=!1;Ji&&Ji.view==i&&Ji.scope==n&&(l=Ji.prefix+" ",UO.indexOf(e.keyCode)<0&&(u=!0,Ji=null));let h=new Set,f=O=>{if(O){for(let g of O.run)if(!h.has(g)&&(h.add(g),g(i)))return O.stopPropagation&&(c=!0),!0;O.preventDefault&&(O.stopPropagation&&(c=!0),u=!0)}return!1},d=t[n],p,m;return d&&(f(d[l+Ao(r,e,!o)])?a=!0:o&&(e.altKey||e.metaKey||e.ctrlKey)&&!(q.windows&&e.ctrlKey&&e.altKey)&&!(q.mac&&e.altKey&&!(e.ctrlKey||e.metaKey))&&(p=an[e.keyCode])&&p!=r?(f(d[l+Ao(p,e,!0)])||e.shiftKey&&(m=Cs[e.keyCode])!=r&&m!=p&&f(d[l+Ao(m,e,!1)]))&&(a=!0):o&&e.shiftKey&&f(d[l+Ao(r,e,!0)])&&(a=!0),!a&&f(d._any)&&(a=!0)),u&&(a=!0),a&&c&&e.stopPropagation(),ic=null,a}class Pn{constructor(e,i,n,r,s){this.className=e,this.left=i,this.top=n,this.width=r,this.height=s}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,i){return i.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,i,n){if(n.empty){let r=e.coordsAtPos(n.head,n.assoc||1);if(!r)return[];let s=ug(e);return[new Pn(i,r.left-s.left,r.top-s.top,null,r.bottom-r.top)]}else return V3(e,i,n)}}function ug(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==Ce.LTR?e.left:e.right-t.scrollDOM.clientWidth*t.scaleX)-t.scrollDOM.scrollLeft*t.scaleX,top:e.top-t.scrollDOM.scrollTop*t.scaleY}}function n0(t,e,i,n){let r=t.coordsAtPos(e,i*2);if(!r)return n;let s=t.dom.getBoundingClientRect(),o=(r.top+r.bottom)/2,l=t.posAtCoords({x:s.left+1,y:o}),a=t.posAtCoords({x:s.right-1,y:o});return l==null||a==null?n:{from:Math.max(n.from,Math.min(l,a)),to:Math.min(n.to,Math.max(l,a))}}function V3(t,e,i){if(i.to<=t.viewport.from||i.from>=t.viewport.to)return[];let n=Math.max(i.from,t.viewport.from),r=Math.min(i.to,t.viewport.to),s=t.textDirection==Ce.LTR,o=t.contentDOM,l=o.getBoundingClientRect(),a=ug(t),u=o.querySelector(".cm-line"),c=u&&window.getComputedStyle(u),h=l.left+(c?parseInt(c.paddingLeft)+Math.min(0,parseInt(c.textIndent)):0),f=l.right-(c?parseInt(c.paddingRight):0),d=Uu(t,n,1),p=Uu(t,r,-1),m=d.type==ft.Text?d:null,O=p.type==ft.Text?p:null;if(m&&(t.lineWrapping||d.widgetLineBreaks)&&(m=n0(t,n,1,m)),O&&(t.lineWrapping||p.widgetLineBreaks)&&(O=n0(t,r,-1,O)),m&&O&&m.from==O.from&&m.to==O.to)return b(y(i.from,i.to,m));{let v=m?y(i.from,null,m):w(d,!1),Q=O?y(null,i.to,O):w(p,!0),P=[];return(m||d).to<(O||p).from-(m&&O?1:0)||d.widgetLineBreaks>1&&v.bottom+t.defaultLineHeight/2T&&F.from=Y)break;ue>B&&I(Math.max(re,B),v==null&&re<=T,Math.min(ue,Y),Q==null&&ue>=M,ee.dir)}if(B=J.to+1,B>=Y)break}return L.length==0&&I(T,v==null,M,Q==null,t.textDirection),{top:_,bottom:R,horizontal:L}}function w(v,Q){let P=l.top+(Q?v.top:v.bottom);return{top:P,bottom:P,horizontal:[]}}}function q3(t,e){return t.constructor==e.constructor&&t.eq(e)}class W3{constructor(e,i){this.view=e,this.layer=i,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),i.above&&this.dom.classList.add("cm-layer-above"),i.class&&this.dom.classList.add(i.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),i.mount&&i.mount(this.dom,e)}update(e){e.startState.facet(rl)!=e.state.facet(rl)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){this.layer.updateOnDocViewUpdate!==!1&&e.requestMeasure(this.measureReq)}setOrder(e){let i=0,n=e.facet(rl);for(;i!q3(i,this.drawn[n]))){let i=this.dom.firstChild,n=0;for(let r of e)r.update&&i&&r.constructor&&this.drawn[n].constructor&&r.update(i,this.drawn[n])?(i=i.nextSibling,n++):this.dom.insertBefore(r.draw(),i);for(;i;){let r=i.nextSibling;i.remove(),i=r}this.drawn=e,q.webkit&&(this.dom.style.display=this.dom.firstChild?"":"none")}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const rl=G.define();function cg(t){return[Mt.define(e=>new W3(e,t)),rl.of(t)]}const xr=G.define({combine(t){return na(t,{cursorBlinkRate:1200,drawRangeCursor:!0,iosSelectionHandles:!0},{cursorBlinkRate:(e,i)=>Math.min(e,i),drawRangeCursor:(e,i)=>e||i})}});function Y3(t={}){return[xr.of(t),N3,G3,U3,MO.of(!0)]}function hg(t){return t.startState.facet(xr)!=t.state.facet(xr)}const N3=cg({above:!0,markers(t){let{state:e}=t,i=e.facet(xr),n=[];for(let r of e.selection.ranges){let s=r==e.selection.main;if(r.empty||i.drawRangeCursor&&!(s&&q.ios&&i.iosSelectionHandles)){let o=s?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",l=r.empty?r:E.cursor(r.head,r.assoc);for(let a of Pn.forRange(t,o,l))n.push(a)}}return n},update(t,e){t.transactions.some(n=>n.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let i=hg(t);return i&&r0(t.state,e),t.docChanged||t.selectionSet||i},mount(t,e){r0(e.state,t)},class:"cm-cursorLayer"});function r0(t,e){e.style.animationDuration=t.facet(xr).cursorBlinkRate+"ms"}const G3=cg({above:!1,markers(t){let e=[],{main:i,ranges:n}=t.state.selection;for(let r of n)if(!r.empty)for(let s of Pn.forRange(t,"cm-selectionBackground",r))e.push(s);if(q.ios&&!i.empty&&t.state.facet(xr).iosSelectionHandles){for(let r of Pn.forRange(t,"cm-selectionHandle cm-selectionHandle-start",E.cursor(i.from,1)))e.push(r);for(let r of Pn.forRange(t,"cm-selectionHandle cm-selectionHandle-end",E.cursor(i.to,1)))e.push(r)}return e},update(t,e){return t.docChanged||t.selectionSet||t.viewportChanged||hg(t)},class:"cm-selectionLayer"}),U3=Ii.highest(W.theme({".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"},caretColor:"transparent !important"},".cm-content":{caretColor:"transparent !important","& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}}));class H3 extends Er{constructor(e){super(),this.content=e}toDOM(e){let i=document.createElement("span");return i.className="cm-placeholder",i.style.pointerEvents="none",i.appendChild(typeof this.content=="string"?document.createTextNode(this.content):typeof this.content=="function"?this.content(e):this.content.cloneNode(!0)),i.setAttribute("aria-hidden","true"),i}coordsAt(e){let i=e.firstChild?hs(e.firstChild):[];if(!i.length)return null;let n=window.getComputedStyle(e.parentNode),r=Es(i[0],n.direction!="rtl"),s=parseInt(n.lineHeight);return r.bottom-r.top>s*1.5?{left:r.left,right:r.right,top:r.top,bottom:r.top+s}:r}ignoreEvent(){return!1}}function K3(t){let e=Mt.fromClass(class{constructor(i){this.view=i,this.placeholder=t?ve.set([ve.widget({widget:new H3(t),side:1}).range(0)]):ve.none}get decorations(){return this.view.state.doc.length?ve.none:this.placeholder}},{decorations:i=>i.decorations});return typeof t=="string"?[e,W.contentAttributes.of({"aria-placeholder":t})]:e}const Eo="-10000px";class J3{constructor(e,i,n,r){this.facet=i,this.createTooltipView=n,this.removeTooltipView=r,this.input=e.state.facet(i),this.tooltips=this.input.filter(o=>o);let s=null;this.tooltipViews=this.tooltips.map(o=>s=n(o,s))}update(e,i){var n;let r=e.state.facet(this.facet),s=r.filter(a=>a);if(r===this.input){for(let a of this.tooltipViews)a.update&&a.update(e);return!1}let o=[],l=i?[]:null;for(let a=0;ai[u]=a),i.length=l.length),this.input=r,this.tooltips=s,this.tooltipViews=o,!0}}function e$(t){let e=t.dom.ownerDocument.documentElement;return{top:0,left:0,bottom:e.clientHeight,right:e.clientWidth}}const Ia=G.define({combine:t=>{var e,i,n;return{position:q.ios?"absolute":((e=t.find(r=>r.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((i=t.find(r=>r.parent))===null||i===void 0?void 0:i.parent)||null,tooltipSpace:((n=t.find(r=>r.tooltipSpace))===null||n===void 0?void 0:n.tooltipSpace)||e$}}}),s0=new WeakMap,fg=Mt.fromClass(class{constructor(t){this.view=t,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(Ia);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new J3(t,dg,(i,n)=>this.createTooltip(i,n),i=>{this.resizeObserver&&this.resizeObserver.unobserve(i.dom),i.dom.remove()}),this.above=this.manager.tooltips.map(i=>!!i.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(i=>{Date.now()>this.lastTransaction-50&&i.length>0&&i[i.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t,this.above);e&&this.observeIntersection();let i=e||t.geometryChanged,n=t.state.facet(Ia);if(n.position!=this.position&&!this.madeAbsolute){this.position=n.position;for(let r of this.manager.tooltipViews)r.dom.style.position=this.position;i=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let r of this.manager.tooltipViews)this.container.appendChild(r.dom);i=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);i&&this.maybeMeasure()}createTooltip(t,e){let i=t.create(this.view),n=e?e.dom:null;if(i.dom.classList.add("cm-tooltip"),t.arrow&&!i.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let r=document.createElement("div");r.className="cm-tooltip-arrow",i.dom.appendChild(r)}return i.dom.style.position=this.position,i.dom.style.top=Eo,i.dom.style.left="0px",this.container.insertBefore(i.dom,n),i.mount&&i.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(i.dom),i}destroy(){var t,e,i;this.view.win.removeEventListener("resize",this.measureSoon);for(let n of this.manager.tooltipViews)n.dom.remove(),(t=n.destroy)===null||t===void 0||t.call(n);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(i=this.intersectionObserver)===null||i===void 0||i.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=1,e=1,i=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:s}=this.manager.tooltipViews[0];if(q.safari){let o=s.getBoundingClientRect();i=Math.abs(o.top+1e4)>1||Math.abs(o.left)>1}else i=!!s.offsetParent&&s.offsetParent!=this.container.ownerDocument.body}if(i||this.position=="absolute")if(this.parent){let s=this.parent.getBoundingClientRect();s.width&&s.height&&(t=s.width/this.parent.offsetWidth,e=s.height/this.parent.offsetHeight)}else({scaleX:t,scaleY:e}=this.view.viewState);let n=this.view.scrollDOM.getBoundingClientRect(),r=Yc(this.view);return{visible:{left:n.left+r.left,top:n.top+r.top,right:n.right-r.right,bottom:n.bottom-r.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((s,o)=>{let l=this.manager.tooltipViews[o];return l.getCoords?l.getCoords(s.pos):this.view.coordsAtPos(s.pos)}),size:this.manager.tooltipViews.map(({dom:s})=>s.getBoundingClientRect()),space:this.view.state.facet(Ia).tooltipSpace(this.view),scaleX:t,scaleY:e,makeAbsolute:i}}writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let l of this.manager.tooltipViews)l.dom.style.position="absolute"}let{visible:i,space:n,scaleX:r,scaleY:s}=t,o=[];for(let l=0;l=Math.min(i.bottom,n.bottom)||h.rightMath.min(i.right,n.right)+.1)){c.style.top=Eo;continue}let d=a.arrow?u.dom.querySelector(".cm-tooltip-arrow"):null,p=d?7:0,m=f.right-f.left,O=(e=s0.get(u))!==null&&e!==void 0?e:f.bottom-f.top,g=u.offset||i$,b=this.view.textDirection==Ce.LTR,y=f.width>n.right-n.left?b?n.left:n.right-f.width:b?Math.max(n.left,Math.min(h.left-(d?14:0)+g.x,n.right-m)):Math.min(Math.max(n.left,h.left-m+(d?14:0)-g.x),n.right-m),w=this.above[l];!a.strictSide&&(w?h.top-O-p-g.yn.bottom)&&w==n.bottom-h.bottom>h.top-n.top&&(w=this.above[l]=!w);let v=(w?h.top-n.top:n.bottom-h.bottom)-p;if(vy&&_.topQ&&(Q=w?_.top-O-2-p:_.bottom+p+2);if(this.position=="absolute"?(c.style.top=(Q-t.parent.top)/s+"px",o0(c,(y-t.parent.left)/r)):(c.style.top=Q/s+"px",o0(c,y/r)),d){let _=h.left+(b?g.x:-g.x)-(y+14-7);d.style.left=_/r+"px"}u.overlap!==!0&&o.push({left:y,top:Q,right:P,bottom:Q+O}),c.classList.toggle("cm-tooltip-above",w),c.classList.toggle("cm-tooltip-below",!w),u.positioned&&u.positioned(t.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=Eo}},{eventObservers:{scroll(){this.maybeMeasure()}}});function o0(t,e){let i=parseInt(t.style.left,10);(isNaN(i)||Math.abs(e-i)>1)&&(t.style.left=e+"px")}const t$=W.baseTheme({".cm-tooltip":{zIndex:500,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),i$={x:0,y:0},dg=G.define({enables:[fg,t$]});function pg(t,e){let i=t.plugin(fg);if(!i)return null;let n=i.manager.tooltips.indexOf(e);return n<0?null:i.manager.tooltipViews[n]}const l0=G.define({combine(t){let e,i;for(let n of t)e=e||n.topContainer,i=i||n.bottomContainer;return{topContainer:e,bottomContainer:i}}});function mg(t,e){let i=t.plugin(Og),n=i?i.specs.indexOf(e):-1;return n>-1?i.panels[n]:null}const Og=Mt.fromClass(class{constructor(t){this.input=t.state.facet(Pl),this.specs=this.input.filter(i=>i),this.panels=this.specs.map(i=>i(t));let e=t.state.facet(l0);this.top=new Ro(t,!0,e.topContainer),this.bottom=new Ro(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(i=>i.top)),this.bottom.sync(this.panels.filter(i=>!i.top));for(let i of this.panels)i.dom.classList.add("cm-panel"),i.mount&&i.mount()}update(t){let e=t.state.facet(l0);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new Ro(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new Ro(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let i=t.state.facet(Pl);if(i!=this.input){let n=i.filter(a=>a),r=[],s=[],o=[],l=[];for(let a of n){let u=this.specs.indexOf(a),c;u<0?(c=a(t.view),l.push(c)):(c=this.panels[u],c.update&&c.update(t)),r.push(c),(c.top?s:o).push(c)}this.specs=n,this.panels=r,this.top.sync(s),this.bottom.sync(o);for(let a of l)a.dom.classList.add("cm-panel"),a.mount&&a.mount()}else for(let n of this.panels)n.update&&n.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>W.scrollMargins.of(e=>{let i=e.plugin(t);return i&&{top:i.top.scrollMargin(),bottom:i.bottom.scrollMargin()}})});class Ro{constructor(e,i,n){this.view=e,this.top=i,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let i of this.panels)i.destroy&&e.indexOf(i)<0&&i.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let i=this.container||this.view.dom;i.insertBefore(this.dom,this.top?i.firstChild:null)}let e=this.dom.firstChild;for(let i of this.panels)if(i.dom.parentNode==this.dom){for(;e!=i.dom;)e=a0(e);e=e.nextSibling}else this.dom.insertBefore(i.dom,e);for(;e;)e=a0(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function a0(t){let e=t.nextSibling;return t.remove(),e}const Pl=G.define({enables:Og});function n$(t,e){let i,n=new Promise(o=>i=o),r=o=>r$(o,e,i);t.state.field(Xa,!1)?t.dispatch({effects:gg.of(r)}):t.dispatch({effects:ae.appendConfig.of(Xa.init(()=>[r]))});let s=bg.of(r);return{close:s,result:n.then(o=>((t.win.queueMicrotask||(a=>t.win.setTimeout(a,10)))(()=>{t.state.field(Xa).indexOf(r)>-1&&t.dispatch({effects:s})}),o))}}const Xa=Yt.define({create(){return[]},update(t,e){for(let i of e.effects)i.is(gg)?t=[i.value].concat(t):i.is(bg)&&(t=t.filter(n=>n!=i.value));return t},provide:t=>Pl.computeN([t],e=>e.field(t))}),gg=ae.define(),bg=ae.define();function r$(t,e,i){let n=e.content?e.content(t,()=>o(null)):null;if(!n){if(n=We("form"),e.input){let l=We("input",e.input);/^(text|password|number|email|tel|url)$/.test(l.type)&&l.classList.add("cm-textfield"),l.name||(l.name="input"),n.appendChild(We("label",(e.label||"")+": ",l))}else n.appendChild(document.createTextNode(e.label||""));n.appendChild(document.createTextNode(" ")),n.appendChild(We("button",{class:"cm-button",type:"submit"},e.submitLabel||"OK"))}let r=n.nodeName=="FORM"?[n]:n.querySelectorAll("form");for(let l=0;l{u.keyCode==27?(u.preventDefault(),o(null)):u.keyCode==13&&(u.preventDefault(),o(a))}),a.addEventListener("submit",u=>{u.preventDefault(),o(a)})}let s=We("div",n,We("button",{onclick:()=>o(null),"aria-label":t.state.phrase("close"),class:"cm-dialog-close",type:"button"},["×"]));e.class&&(s.className=e.class),s.classList.add("cm-dialog");function o(l){s.contains(s.ownerDocument.activeElement)&&t.focus(),i(l)}return{dom:s,top:e.top,mount:()=>{if(e.focus){let l;typeof e.focus=="string"?l=n.querySelector(e.focus):l=n.querySelector("input")||n.querySelector("button"),l&&"select"in l?l.select():l&&"focus"in l&&l.focus()}}}}class kr extends on{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}kr.prototype.elementClass="";kr.prototype.toDOM=void 0;kr.prototype.mapMode=ut.TrackBefore;kr.prototype.startSide=kr.prototype.endSide=-1;kr.prototype.point=!0;const vg=1024;let s$=0;class Ft{constructor(e,i){this.from=e,this.to=i}}class K{constructor(e={}){this.id=s$++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")}),this.combine=e.combine||null}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=ze.match(e)),i=>{let n=e(i);return n===void 0?null:[this,n]}}}K.closedBy=new K({deserialize:t=>t.split(" ")});K.openedBy=new K({deserialize:t=>t.split(" ")});K.group=new K({deserialize:t=>t.split(" ")});K.isolate=new K({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}});K.contextHash=new K({perNode:!0});K.lookAhead=new K({perNode:!0});K.mounted=new K({perNode:!0});class rr{constructor(e,i,n,r=!1){this.tree=e,this.overlay=i,this.parser=n,this.bracketed=r}static get(e){return e&&e.props&&e.props[K.mounted.id]}}const o$=Object.create(null);class ze{constructor(e,i,n,r=0){this.name=e,this.props=i,this.id=n,this.flags=r}static define(e){let i=e.props&&e.props.length?Object.create(null):o$,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),r=new ze(e.name||"",i,e.id,n);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(r)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");i[s[0].id]=s[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let i=this.prop(K.group);return i?i.indexOf(e)>-1:!1}return this.id==e}static match(e){let i=Object.create(null);for(let n in e)for(let r of n.split(" "))i[r]=e[n];return n=>{for(let r=n.prop(K.group),s=-1;s<(r?r.length:0);s++){let o=i[s<0?n.name:r[s]];if(o)return o}}}}ze.none=new ze("",Object.create(null),0,8);class Rr{constructor(e){this.types=e;for(let i=0;i0;for(let a=this.cursor(o|ge.IncludeAnonymous);;){let u=!1;if(a.from<=s&&a.to>=r&&(!l&&a.type.isAnonymous||i(a)!==!1)){if(a.firstChild())continue;u=!0}for(;u&&n&&(l||!a.type.isAnonymous)&&n(a),!a.nextSibling();){if(!a.parent())return;u=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let i in this.props)e.push([+i,this.props[i]]);return e}balance(e={}){return this.children.length<=8?this:Jc(ze.none,this.children,this.positions,0,this.children.length,0,this.length,(i,n,r)=>new se(this.type,i,n,r,this.propValues),e.makeTree||((i,n,r)=>new se(ze.none,i,n,r)))}static build(e){return c$(e)}}se.empty=new se(ze.none,[],[],0);class Hc{constructor(e,i){this.buffer=e,this.index=i}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new Hc(this.buffer,this.index)}}class cn{constructor(e,i,n){this.buffer=e,this.length=i,this.set=n}get type(){return ze.none}toString(){let e=[];for(let i=0;i0));a=o[a+3]);return l}slice(e,i,n){let r=this.buffer,s=new Uint16Array(i-e),o=0;for(let l=e,a=0;l=e&&ie;case 1:return i<=e&&n>e;case 2:return n>e;case 4:return!0}}function Ds(t,e,i,n){for(var r;t.from==t.to||(i<1?t.from>=e:t.from>e)||(i>-1?t.to<=e:t.to0?l.length:-1;e!=u;e+=i){let c=l[e],h=a[e]+o.from,f;if(!(!(s&ge.EnterBracketed&&c instanceof se&&(f=rr.get(c))&&!f.overlay&&f.bracketed&&n>=h&&n<=h+c.length)&&!yg(r,n,h,h+c.length))){if(c instanceof cn){if(s&ge.ExcludeBuffers)continue;let d=c.findChild(0,c.buffer.length,i,n-h,r);if(d>-1)return new ki(new l$(o,c,e,h),null,d)}else if(s&ge.IncludeAnonymous||!c.type.isAnonymous||Kc(c)){let d;if(!(s&ge.IgnoreMounts)&&(d=rr.get(c))&&!d.overlay)return new rt(d.tree,h,e,o);let p=new rt(c,h,e,o);return s&ge.IncludeAnonymous||!p.type.isAnonymous?p:p.nextChild(i<0?c.children.length-1:0,i,n,r,s)}}}if(s&ge.IncludeAnonymous||!o.type.isAnonymous||(o.index>=0?e=o.index+i:e=i<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}prop(e){return this._tree.prop(e)}enter(e,i,n=0){let r;if(!(n&ge.IgnoreOverlays)&&(r=rr.get(this._tree))&&r.overlay){let s=e-this.from,o=n&ge.EnterBracketed&&r.bracketed;for(let{from:l,to:a}of r.overlay)if((i>0||o?l<=s:l=s:a>s))return new rt(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,i,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function c0(t,e,i,n){let r=t.cursor(),s=[];if(!r.firstChild())return s;if(i!=null){for(let o=!1;!o;)if(o=r.type.is(i),!r.nextSibling())return s}for(;;){if(n!=null&&r.type.is(n))return s;if(r.type.is(e)&&s.push(r.node),!r.nextSibling())return n==null?s:[]}}function nc(t,e,i=e.length-1){for(let n=t;i>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[i]&&e[i]!=n.name)return!1;i--}}return!0}class l${constructor(e,i,n,r){this.parent=e,this.buffer=i,this.index=n,this.start=r}}class ki extends xg{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,i,n){super(),this.context=e,this._parent=i,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,i,n){let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],e,i-this.context.start,n);return s<0?null:new ki(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}prop(e){return this.type.prop(e)}enter(e,i,n=0){if(n&ge.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],i>0?1:-1,e-this.context.start,i);return s<0?null:new ki(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,i=e.buffer[this.index+3];return i<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new ki(this.context,this._parent,i):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,i=this._parent?this._parent.index+4:0;return this.index==i?this.externalSibling(-1):new ki(this.context,this._parent,e.findChild(i,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],i=[],{buffer:n}=this.context,r=this.index+4,s=n.buffer[this.index+3];if(s>r){let o=n.buffer[this.index+1];e.push(n.slice(r,s,o)),i.push(0)}return new se(this.type,e,i,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function kg(t){if(!t.length)return null;let e=0,i=t[0];for(let s=1;si.from||o.to=e){let l=new rt(o.tree,o.overlay[0].from+s.from,-1,s);(r||(r=[n])).push(Ds(l,e,i,!1))}}return r?kg(r):n}class Cl{get name(){return this.type.name}constructor(e,i=0){if(this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,this.mode=i&~ge.EnterBracketed,e instanceof rt)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,i){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=i||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return e?e instanceof rt?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,i,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,i,n,this.mode));let{buffer:r}=this.buffer,s=r.findChild(this.index+4,r.buffer[this.index+3],e,i-this.buffer.start,n);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,i,n=this.mode){return this.buffer?n&ge.ExcludeBuffers?!1:this.enterChild(1,e,i):this.yield(this._tree.enter(e,i,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&ge.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&ge.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:i}=this.buffer,n=this.stack.length-1;if(e<0){let r=n<0?0:this.stack[n]+4;if(this.index!=r)return this.yieldBuf(i.findChild(r,this.index,-1,0,4))}else{let r=i.buffer[this.index+3];if(r<(n<0?i.buffer.length:i.buffer[this.stack[n]+3]))return this.yieldBuf(r)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let i,n,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let s=i+e,o=e<0?-1:n._tree.children.length;s!=o;s+=e){let l=n._tree.children[s];if(this.mode&ge.IncludeAnonymous||l instanceof cn||!l.type.isAnonymous||Kc(l))return!1}return!0}move(e,i){if(i&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,i=0){for(;(this.from==this.to||(i<1?this.from>=e:this.from>e)||(i>-1?this.to<=e:this.to=0;){for(let o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;i=o,n=s+1;break e}r=this.stack[--s]}for(let r=n;r=0;s--){if(s<0)return nc(this._tree,e,r);let o=n[i.buffer[this.stack[s]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}function Kc(t){return t.children.some(e=>e instanceof cn||!e.type.isAnonymous||Kc(e))}function c$(t){var e;let{buffer:i,nodeSet:n,maxBufferLength:r=vg,reused:s=[],minRepeatType:o=n.types.length}=t,l=Array.isArray(i)?new Hc(i,i.length):i,a=n.types,u=0,c=0;function h(v,Q,P,_,R,L){let{id:I,start:T,end:M,size:F}=l,B=c,Y=u;if(F<0)if(l.next(),F==-1){let ye=s[I];P.push(ye),_.push(T-v);return}else if(F==-3){u=I;return}else if(F==-4){c=I;return}else throw new RangeError(`Unrecognized record size: ${F}`);let J=a[I],ee,re,ue=T-v;if(M-T<=r&&(re=O(l.pos-Q,R))){let ye=new Uint16Array(re.size-re.skip),Oe=l.pos-re.size,le=ye.length;for(;l.pos>Oe;)le=g(re.start,ye,le);ee=new cn(ye,M-re.start,n),ue=re.start-v}else{let ye=l.pos-F;l.next();let Oe=[],le=[],Se=I>=o?I:-1,et=0,Pi=M;for(;l.pos>ye;)Se>=0&&l.id==Se&&l.size>=0?(l.end<=Pi-r&&(p(Oe,le,T,et,l.end,Pi,Se,B,Y),et=Oe.length,Pi=l.end),l.next()):L>2500?f(T,ye,Oe,le):h(T,ye,Oe,le,Se,L+1);if(Se>=0&&et>0&&et-1&&et>0){let dn=d(J,Y);ee=Jc(J,Oe,le,0,Oe.length,0,M-T,dn,dn)}else ee=m(J,Oe,le,M-T,B-M,Y)}P.push(ee),_.push(ue)}function f(v,Q,P,_){let R=[],L=0,I=-1;for(;l.pos>Q;){let{id:T,start:M,end:F,size:B}=l;if(B>4)l.next();else{if(I>-1&&M=0;F-=3)T[B++]=R[F],T[B++]=R[F+1]-M,T[B++]=R[F+2]-M,T[B++]=B;P.push(new cn(T,R[2]-M,n)),_.push(M-v)}}function d(v,Q){return(P,_,R)=>{let L=0,I=P.length-1,T,M;if(I>=0&&(T=P[I])instanceof se){if(!I&&T.type==v&&T.length==R)return T;(M=T.prop(K.lookAhead))&&(L=_[I]+T.length+M)}return m(v,P,_,R,L,Q)}}function p(v,Q,P,_,R,L,I,T,M){let F=[],B=[];for(;v.length>_;)F.push(v.pop()),B.push(Q.pop()+P-R);v.push(m(n.types[I],F,B,L-R,T-L,M)),Q.push(R-P)}function m(v,Q,P,_,R,L,I){if(L){let T=[K.contextHash,L];I=I?[T].concat(I):[T]}if(R>25){let T=[K.lookAhead,R];I=I?[T].concat(I):[T]}return new se(v,Q,P,_,I)}function O(v,Q){let P=l.fork(),_=0,R=0,L=0,I=P.end-r,T={size:0,start:0,skip:0};e:for(let M=P.pos-v;P.pos>M;){let F=P.size;if(P.id==Q&&F>=0){T.size=_,T.start=R,T.skip=L,L+=4,_+=4,P.next();continue}let B=P.pos-F;if(F<0||B=o?4:0,J=P.start;for(P.next();P.pos>B;){if(P.size<0)if(P.size==-3||P.size==-4)Y+=4;else break e;else P.id>=o&&(Y+=4);P.next()}R=J,_+=F,L+=Y}return(Q<0||_==v)&&(T.size=_,T.start=R,T.skip=L),T.size>4?T:void 0}function g(v,Q,P){let{id:_,start:R,end:L,size:I}=l;if(l.next(),I>=0&&_4){let M=l.pos-(I-4);for(;l.pos>M;)P=g(v,Q,P)}Q[--P]=T,Q[--P]=L-v,Q[--P]=R-v,Q[--P]=_}else I==-3?u=_:I==-4&&(c=_);return P}let b=[],y=[];for(;l.pos>0;)h(t.start||0,t.bufferStart||0,b,y,-1,0);let w=(e=t.length)!==null&&e!==void 0?e:b.length?y[0]+b[0].length:0;return new se(a[t.topID],b.reverse(),y.reverse(),w)}const h0=new WeakMap;function sl(t,e){if(!t.isAnonymous||e instanceof cn||e.type!=t)return 1;let i=h0.get(e);if(i==null){i=1;for(let n of e.children){if(n.type!=t||!(n instanceof se)){i=1;break}i+=sl(t,n)}h0.set(e,i)}return i}function Jc(t,e,i,n,r,s,o,l,a){let u=0;for(let p=n;p=c)break;Q+=P}if(y==w+1){if(Q>c){let P=p[w];d(P.children,P.positions,0,P.children.length,m[w]+b);continue}h.push(p[w])}else{let P=m[y-1]+p[y-1].length-v;h.push(Jc(t,p,m,w,y,v,P,null,a))}f.push(v+b-s)}}return d(e,i,n,r,0),(l||a)(h,f,o)}class Sg{constructor(){this.map=new WeakMap}setBuffer(e,i,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(i,n)}getBuffer(e,i){let n=this.map.get(e);return n&&n.get(i)}set(e,i){e instanceof ki?this.setBuffer(e.context.buffer,e.index,i):e instanceof rt&&this.map.set(e.tree,i)}get(e){return e instanceof ki?this.getBuffer(e.context.buffer,e.index):e instanceof rt?this.map.get(e.tree):void 0}cursorSet(e,i){e.buffer?this.setBuffer(e.buffer.buffer,e.index,i):this.map.set(e.tree,i)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class Li{constructor(e,i,n,r,s=!1,o=!1){this.from=e,this.to=i,this.tree=n,this.offset=r,this.open=(s?1:0)|(o?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,i=[],n=!1){let r=[new Li(0,e.length,e,0,!1,n)];for(let s of i)s.to>e.length&&r.push(s);return r}static applyChanges(e,i,n=128){if(!i.length)return e;let r=[],s=1,o=e.length?e[0]:null;for(let l=0,a=0,u=0;;l++){let c=l=n)for(;o&&o.from=f.from||h<=f.to||u){let d=Math.max(f.from,a)-u,p=Math.min(f.to,h)-u;f=d>=p?null:new Li(d,p,f.tree,f.offset+u,l>0,!!c)}if(f&&r.push(f),o.to>h)break;o=snew Ft(r.from,r.to)):[new Ft(0,0)]:[new Ft(0,e.length)],this.createParse(e,i||[],n)}parse(e,i,n){let r=this.startParse(e,i,n);for(;;){let s=r.advance();if(s)return s}}}class h${constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,i){return this.string.slice(e,i)}}function wg(t){return(e,i,n,r)=>new d$(e,t,i,n,r)}class f0{constructor(e,i,n,r,s,o){this.parser=e,this.parse=i,this.overlay=n,this.bracketed=r,this.target=s,this.from=o}}function d0(t){if(!t.length||t.some(e=>e.from>=e.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(t))}class f${constructor(e,i,n,r,s,o,l,a){this.parser=e,this.predicate=i,this.mounts=n,this.index=r,this.start=s,this.bracketed=o,this.target=l,this.prev=a,this.depth=0,this.ranges=[]}}const rc=new K({perNode:!0});class d${constructor(e,i,n,r,s){this.nest=i,this.input=n,this.fragments=r,this.ranges=s,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let n=this.baseParse.advance();if(!n)return null;if(this.baseParse=null,this.baseTree=n,this.startInner(),this.stoppedAt!=null)for(let r of this.inner)r.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return this.stoppedAt!=null&&(n=new se(n.type,n.children,n.positions,n.length,n.propValues.concat([[rc,this.stoppedAt]]))),n}let e=this.inner[this.innerDone],i=e.parse.advance();if(i){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[K.mounted.id]=new rr(i,e.overlay,e.parser,e.bracketed),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let i=this.innerDone;i=this.stoppedAt)l=!1;else if(e.hasNode(r)){if(i){let u=i.mounts.find(c=>c.frag.from<=r.from&&c.frag.to>=r.to&&c.mount.overlay);if(u)for(let c of u.mount.overlay){let h=c.from+u.pos,f=c.to+u.pos;h>=r.from&&f<=r.to&&!i.ranges.some(d=>d.fromh)&&i.ranges.push({from:h,to:f})}}l=!1}else if(n&&(o=p$(n.ranges,r.from,r.to)))l=o!=2;else if(!r.type.isAnonymous&&(s=this.nest(r,this.input))&&(r.fromnew Ft(h.from-r.from,h.to-r.from)):null,!!s.bracketed,r.tree,c.length?c[0].from:r.from)),s.overlay?c.length&&(n={ranges:c,depth:0,prev:n}):l=!1}}else if(i&&(a=i.predicate(r))&&(a===!0&&(a=new Ft(r.from,r.to)),a.from=0&&i.ranges[u].to==a.from?i.ranges[u]={from:i.ranges[u].from,to:a.to}:i.ranges.push(a)}if(l&&r.firstChild())i&&i.depth++,n&&n.depth++;else for(;!r.nextSibling();){if(!r.parent())break e;if(i&&!--i.depth){let u=O0(this.ranges,i.ranges);u.length&&(d0(u),this.inner.splice(i.index,0,new f0(i.parser,i.parser.startParse(this.input,g0(i.mounts,u),u),i.ranges.map(c=>new Ft(c.from-i.start,c.to-i.start)),i.bracketed,i.target,u[0].from))),i=i.prev}n&&!--n.depth&&(n=n.prev)}}}}function p$(t,e,i){for(let n of t){if(n.from>=i)break;if(n.to>e)return n.from<=e&&n.to>=i?2:1}return 0}function p0(t,e,i,n,r,s){if(e=e&&i.enter(n,1,ge.IgnoreOverlays|ge.ExcludeBuffers)))if(i.to<=e)i.next(!1)||(this.done=!0);else break}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let i=this.cursor.tree;;){if(i==e.tree)return!0;if(i.children.length&&i.positions[0]==0&&i.children[0]instanceof se)i=i.children[0];else break}return!1}}let O$=class{constructor(e){var i;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=(i=n.tree.prop(rc))!==null&&i!==void 0?i:n.to,this.inner=new m0(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let i=this.curFrag=this.fragments[this.fragI];this.curTo=(e=i.tree.prop(rc))!==null&&e!==void 0?e:i.to,this.inner=new m0(i.tree,-i.offset)}}findMounts(e,i){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let s=this.inner.cursor.node;s;s=s.parent){let o=(n=s.tree)===null||n===void 0?void 0:n.prop(K.mounted);if(o&&o.parser==i)for(let l=this.fragI;l=s.to)break;a.tree==this.curFrag.tree&&r.push({frag:a,pos:s.from-a.offset,mount:o})}}}return r}};function O0(t,e){let i=null,n=e;for(let r=1,s=0;r=l)break;a.to<=o||(i||(n=i=e.slice()),a.froml&&i.splice(s+1,0,new Ft(l,a.to))):a.to>l?i[s--]=new Ft(l,a.to):i.splice(s--,1))}}return n}function g$(t,e,i,n){let r=0,s=0,o=!1,l=!1,a=-1e9,u=[];for(;;){let c=r==t.length?1e9:o?t[r].to:t[r].from,h=s==e.length?1e9:l?e[s].to:e[s].from;if(o!=l){let f=Math.max(a,i),d=Math.min(c,h,n);fnew Ft(f.from+n,f.to+n)),h=g$(e,c,a,u);for(let f=0,d=a;;f++){let p=f==h.length,m=p?u:h[f].from;if(m>d&&i.push(new Li(d,m,r.tree,-o,s.from>=d||s.openStart,s.to<=m||s.openEnd)),p)break;d=h[f].to}}else i.push(new Li(a,u,r.tree,-o,s.from>=o||s.openStart,s.to<=l||s.openEnd))}return i}let b$=0;class Et{constructor(e,i,n,r){this.name=e,this.set=i,this.base=n,this.modified=r,this.id=b$++}toString(){let{name:e}=this;for(let i of this.modified)i.name&&(e=`${i.name}(${e})`);return e}static define(e,i){let n=typeof e=="string"?e:"?";if(e instanceof Et&&(i=e),i!=null&&i.base)throw new Error("Can not derive from a modified tag");let r=new Et(n,[],null,[]);if(r.set.push(r),i)for(let s of i.set)r.set.push(s);return r}static defineModifier(e){let i=new Tl(e);return n=>n.modified.indexOf(i)>-1?n:Tl.get(n.base||n,n.modified.concat(i).sort((r,s)=>r.id-s.id))}}let v$=0;class Tl{constructor(e){this.name=e,this.instances=[],this.id=v$++}static get(e,i){if(!i.length)return e;let n=i[0].instances.find(l=>l.base==e&&y$(i,l.modified));if(n)return n;let r=[],s=new Et(e.name,r,e,i);for(let l of i)l.instances.push(s);let o=x$(i);for(let l of e.set)if(!l.modified.length)for(let a of o)r.push(Tl.get(l,a));return s}}function y$(t,e){return t.length==e.length&&t.every((i,n)=>i==e[n])}function x$(t){let e=[[]];for(let i=0;in.length-i.length)}function Dr(t){let e=Object.create(null);for(let i in t){let n=t[i];Array.isArray(n)||(n=[n]);for(let r of i.split(" "))if(r){let s=[],o=2,l=r;for(let h=0;;){if(l=="..."&&h>0&&h+3==r.length){o=1;break}let f=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(l);if(!f)throw new RangeError("Invalid path: "+r);if(s.push(f[0]=="*"?"":f[0][0]=='"'?JSON.parse(f[0]):f[0]),h+=f[0].length,h==r.length)break;let d=r[h++];if(h==r.length&&d=="!"){o=0;break}if(d!="/")throw new RangeError("Invalid path: "+r);l=r.slice(h)}let a=s.length-1,u=s[a];if(!u)throw new RangeError("Invalid path: "+r);let c=new Ls(n,o,a>0?s.slice(0,a):null);e[u]=c.sort(e[u])}}return $g.add(e)}const $g=new K({combine(t,e){let i,n,r;for(;t||e;){if(!t||e&&t.depth>=e.depth?(r=e,e=e.next):(r=t,t=t.next),i&&i.mode==r.mode&&!r.context&&!i.context)continue;let s=new Ls(r.tags,r.mode,r.context);i?i.next=s:n=s,i=s}return n}});class Ls{constructor(e,i,n,r){this.tags=e,this.mode=i,this.context=n,this.next=r}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let o=r;for(let l of s)for(let a of l.set){let u=i[a.id];if(u){o=o?o+" "+u:u;break}}return o},scope:n}}function k$(t,e){let i=null;for(let n of t){let r=n.style(e);r&&(i=i?i+" "+r:r)}return i}function S$(t,e,i,n=0,r=t.length){let s=new w$(n,Array.isArray(e)?e:[e],i);s.highlightRange(t.cursor(),n,r,"",s.highlighters),s.flush(r)}class w${constructor(e,i,n){this.at=e,this.highlighters=i,this.span=n,this.class=""}startSpan(e,i){i!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=i)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,i,n,r,s){let{type:o,from:l,to:a}=e;if(l>=n||a<=i)return;o.isTop&&(s=this.highlighters.filter(d=>!d.scope||d.scope(o)));let u=r,c=$$(e)||Ls.empty,h=k$(s,c.tags);if(h&&(u&&(u+=" "),u+=h,c.mode==1&&(r+=(r?" ":"")+h)),this.startSpan(Math.max(i,l),u),c.opaque)return;let f=e.tree&&e.tree.prop(K.mounted);if(f&&f.overlay){let d=e.node.enter(f.overlay[0].from+l,1),p=this.highlighters.filter(O=>!O.scope||O.scope(f.tree.type)),m=e.firstChild();for(let O=0,g=l;;O++){let b=O=y||!e.nextSibling())););if(!b||y>n)break;g=b.to+l,g>i&&(this.highlightRange(d.cursor(),Math.max(i,b.from+l),Math.min(n,g),"",p),this.startSpan(Math.min(n,g),u))}m&&e.parent()}else if(e.firstChild()){f&&(r="");do if(!(e.to<=i)){if(e.from>=n)break;this.highlightRange(e,i,n,r,s),this.startSpan(Math.min(n,e.to),u)}while(e.nextSibling());e.parent()}}}function $$(t){let e=t.type.prop($g);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}const V=Et.define,Lo=V(),Gi=V(),b0=V(Gi),v0=V(Gi),Ui=V(),Mo=V(Ui),za=V(Ui),mi=V(),On=V(mi),di=V(),pi=V(),sc=V(),Br=V(sc),Zo=V(),k={comment:Lo,lineComment:V(Lo),blockComment:V(Lo),docComment:V(Lo),name:Gi,variableName:V(Gi),typeName:b0,tagName:V(b0),propertyName:v0,attributeName:V(v0),className:V(Gi),labelName:V(Gi),namespace:V(Gi),macroName:V(Gi),literal:Ui,string:Mo,docString:V(Mo),character:V(Mo),attributeValue:V(Mo),number:za,integer:V(za),float:V(za),bool:V(Ui),regexp:V(Ui),escape:V(Ui),color:V(Ui),url:V(Ui),keyword:di,self:V(di),null:V(di),atom:V(di),unit:V(di),modifier:V(di),operatorKeyword:V(di),controlKeyword:V(di),definitionKeyword:V(di),moduleKeyword:V(di),operator:pi,derefOperator:V(pi),arithmeticOperator:V(pi),logicOperator:V(pi),bitwiseOperator:V(pi),compareOperator:V(pi),updateOperator:V(pi),definitionOperator:V(pi),typeOperator:V(pi),controlOperator:V(pi),punctuation:sc,separator:V(sc),bracket:Br,angleBracket:V(Br),squareBracket:V(Br),paren:V(Br),brace:V(Br),content:mi,heading:On,heading1:V(On),heading2:V(On),heading3:V(On),heading4:V(On),heading5:V(On),heading6:V(On),contentSeparator:V(mi),list:V(mi),quote:V(mi),emphasis:V(mi),strong:V(mi),link:V(mi),monospace:V(mi),strikethrough:V(mi),inserted:V(),deleted:V(),changed:V(),invalid:V(),meta:Zo,documentMeta:V(Zo),annotation:V(Zo),processingInstruction:V(Zo),definition:Et.defineModifier("definition"),constant:Et.defineModifier("constant"),function:Et.defineModifier("function"),standard:Et.defineModifier("standard"),local:Et.defineModifier("local"),special:Et.defineModifier("special")};for(let t in k){let e=k[t];e instanceof Et&&(e.name=t)}Qg([{tag:k.link,class:"tok-link"},{tag:k.heading,class:"tok-heading"},{tag:k.emphasis,class:"tok-emphasis"},{tag:k.strong,class:"tok-strong"},{tag:k.keyword,class:"tok-keyword"},{tag:k.atom,class:"tok-atom"},{tag:k.bool,class:"tok-bool"},{tag:k.url,class:"tok-url"},{tag:k.labelName,class:"tok-labelName"},{tag:k.inserted,class:"tok-inserted"},{tag:k.deleted,class:"tok-deleted"},{tag:k.literal,class:"tok-literal"},{tag:k.string,class:"tok-string"},{tag:k.number,class:"tok-number"},{tag:[k.regexp,k.escape,k.special(k.string)],class:"tok-string2"},{tag:k.variableName,class:"tok-variableName"},{tag:k.local(k.variableName),class:"tok-variableName tok-local"},{tag:k.definition(k.variableName),class:"tok-variableName tok-definition"},{tag:k.special(k.variableName),class:"tok-variableName2"},{tag:k.definition(k.propertyName),class:"tok-propertyName tok-definition"},{tag:k.typeName,class:"tok-typeName"},{tag:k.namespace,class:"tok-namespace"},{tag:k.className,class:"tok-className"},{tag:k.macroName,class:"tok-macroName"},{tag:k.propertyName,class:"tok-propertyName"},{tag:k.operator,class:"tok-operator"},{tag:k.comment,class:"tok-comment"},{tag:k.meta,class:"tok-meta"},{tag:k.invalid,class:"tok-invalid"},{tag:k.punctuation,class:"tok-punctuation"}]);var ja;const nn=new K;function ca(t){return G.define({combine:t?e=>e.concat(t):void 0})}const eh=new K;class Dt{constructor(e,i,n=[],r=""){this.data=e,this.name=r,fe.prototype.hasOwnProperty("tree")||Object.defineProperty(fe.prototype,"tree",{get(){return Re(this)}}),this.parser=i,this.extension=[$r.of(this),fe.languageData.of((s,o,l)=>{let a=y0(s,o,l),u=a.type.prop(nn);if(!u)return[];let c=s.facet(u),h=a.type.prop(eh);if(h){let f=a.resolve(o-a.from,l);for(let d of h)if(d.test(f,s)){let p=s.facet(d.facet);return d.type=="replace"?p:p.concat(c)}}return c})].concat(n)}isActiveAt(e,i,n=-1){return y0(e,i,n).type.prop(nn)==this.data}findRegions(e){let i=e.facet($r);if((i==null?void 0:i.data)==this.data)return[{from:0,to:e.doc.length}];if(!i||!i.allowsNesting)return[];let n=[],r=(s,o)=>{if(s.prop(nn)==this.data){n.push({from:o,to:o+s.length});return}let l=s.prop(K.mounted);if(l){if(l.tree.prop(nn)==this.data){if(l.overlay)for(let a of l.overlay)n.push({from:a.from+o,to:a.to+o});else n.push({from:o,to:o+s.length});return}else if(l.overlay){let a=n.length;if(r(l.tree,l.overlay[0].from+o),n.length>a)return}}for(let a=0;an.isTop?i:void 0)]}),e.name)}configure(e,i){return new Sr(this.data,this.parser.configure(e),i||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Re(t){let e=t.field(Dt.state,!1);return e?e.tree:se.empty}class Q${constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,i){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,i):this.string.slice(e-n,i-n)}}let Vr=null;class Dn{constructor(e,i,n=[],r,s,o,l,a){this.parser=e,this.state=i,this.fragments=n,this.tree=r,this.treeLen=s,this.viewport=o,this.skipped=l,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,i,n){return new Dn(e,i,[],se.empty,0,n,[],null)}startParse(){return this.parser.startParse(new Q$(this.state.doc),this.fragments)}work(e,i){return i!=null&&i>=this.state.doc.length&&(i=void 0),this.tree!=se.empty&&this.isDone(i??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let r=Date.now()+e;e=()=>Date.now()>r}for(this.parse||(this.parse=this.startParse()),i!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>i)&&i=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(i=this.parse.advance()););}),this.treeLen=e,this.tree=i,this.fragments=this.withoutTempSkipped(Li.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let i=Vr;Vr=this;try{return e()}finally{Vr=i}}withoutTempSkipped(e){for(let i;i=this.tempSkipped.pop();)e=x0(e,i.from,i.to);return e}changes(e,i){let{fragments:n,tree:r,treeLen:s,viewport:o,skipped:l}=this;if(this.takeTree(),!e.empty){let a=[];if(e.iterChangedRanges((u,c,h,f)=>a.push({fromA:u,toA:c,fromB:h,toB:f})),n=Li.applyChanges(n,a),r=se.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){l=[];for(let u of this.skipped){let c=e.mapPos(u.from,1),h=e.mapPos(u.to,-1);ce.from&&(this.fragments=x0(this.fragments,r,s),this.skipped.splice(n--,1))}return this.skipped.length>=i?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,i){this.skipped.push({from:e,to:i})}static getSkippingParser(e){return new class extends ua{createParse(i,n,r){let s=r[0].from,o=r[r.length-1].to;return{parsedPos:s,advance(){let a=Vr;if(a){for(let u of r)a.tempSkipped.push(u);e&&(a.scheduleOn=a.scheduleOn?Promise.all([a.scheduleOn,e]):e)}return this.parsedPos=o,new se(ze.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let i=this.fragments;return this.treeLen>=e&&i.length&&i[0].from==0&&i[0].to>=e}static get(){return Vr}}function x0(t,e,i){return Li.applyChanges(t,[{fromA:e,toA:i,fromB:e,toB:i}])}class wr{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let i=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),i.viewport.to);return i.work(20,n)||i.takeTree(),new wr(i)}static init(e){let i=Math.min(3e3,e.doc.length),n=Dn.create(e.facet($r).parser,e,{from:0,to:i});return n.work(20,i)||n.takeTree(),new wr(n)}}Dt.state=Yt.define({create:wr.init,update(t,e){for(let i of e.effects)if(i.is(Dt.setState))return i.value;return e.startState.facet($r)!=e.state.facet($r)?wr.init(e.state):t.apply(e)}});let _g=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(_g=t=>{let e=-1,i=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(i):cancelIdleCallback(e)});const Fa=typeof navigator<"u"&&(!((ja=navigator.scheduling)===null||ja===void 0)&&ja.isInputPending)?()=>navigator.scheduling.isInputPending():null,_$=Mt.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let i=this.view.state.field(Dt.state).context;(i.updateViewport(e.view.viewport)||this.view.viewport.to>i.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(i)}scheduleWork(){if(this.working)return;let{state:e}=this.view,i=e.field(Dt.state);(i.tree!=i.context.tree||!i.context.isDone(e.doc.length))&&(this.working=_g(this.work))}work(e){this.working=null;let i=Date.now();if(this.chunkEndr+1e3,a=s.context.work(()=>Fa&&Fa()||Date.now()>o,r+(l?0:1e5));this.chunkBudget-=Date.now()-i,(a||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:Dt.setState.of(new wr(s.context))})),this.chunkBudget>0&&!(a&&!l)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(i=>Rt(this.view.state,i)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),$r=G.define({combine(t){return t.length?t[0]:null},enables:t=>[Dt.state,_$,W.contentAttributes.compute([t],e=>{let i=e.facet(t);return i&&i.name?{"data-language":i.name}:{}})]});class Qr{constructor(e,i=[]){this.language=e,this.support=i,this.extension=[e,i]}}class C{constructor(e,i,n,r,s,o=void 0){this.name=e,this.alias=i,this.extensions=n,this.filename=r,this.loadFunc=s,this.support=o,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:i,support:n}=e;if(!i){if(!n)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");i=()=>Promise.resolve(n)}return new C(e.name,(e.alias||[]).concat(e.name).map(r=>r.toLowerCase()),e.extensions||[],e.filename,i,n)}static matchFilename(e,i){for(let r of e)if(r.filename&&r.filename.test(i))return r;let n=/\.([^.]+)$/.exec(i);if(n){for(let r of e)if(r.extensions.indexOf(n[1])>-1)return r}return null}static matchLanguageName(e,i,n=!0){i=i.toLowerCase();for(let r of e)if(r.alias.some(s=>s==i))return r;if(n)for(let r of e)for(let s of r.alias){let o=i.indexOf(s);if(o>-1&&(s.length>2||!/\w/.test(i[o-1])&&!/\w/.test(i[o+s.length])))return r}return null}}const P$=G.define(),Lr=G.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(i=>i!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function Ln(t){let e=t.facet(Lr);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function Al(t,e){let i="",n=t.tabSize,r=t.facet(Lr)[0];if(r==" "){for(;e>=n;)i+=" ",e-=n;r=" "}for(let s=0;s=e?C$(t,i,e):null}class ha{constructor(e,i={}){this.state=e,this.options=i,this.unit=Ln(e)}lineAt(e,i=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:s}=this.options;return r!=null&&r>=n.from&&r<=n.to?s&&r==e?{text:"",from:e}:(i<0?r-1&&(s+=o-this.countColumn(n,n.search(/\S|$/))),s}countColumn(e,i=e.length){return Mi(e,this.state.tabSize,i)}lineIndent(e,i=1){let{text:n,from:r}=this.lineAt(e,i),s=this.options.overrideIndentation;if(s){let o=s(r);if(o>-1)return o}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Mr=new K;function C$(t,e,i){let n=e.resolveStack(i),r=e.resolveInner(i,-1).resolve(i,0).enterUnfinishedNodesBefore(i);if(r!=n.node){let s=[];for(let o=r;o&&!(o.fromn.node.to||o.from==n.node.from&&o.type==n.node.type);o=o.parent)s.push(o);for(let o=s.length-1;o>=0;o--)n={node:s[o],next:n}}return Cg(n,t,i)}function Cg(t,e,i){for(let n=t;n;n=n.next){let r=A$(n.node);if(r)return r(th.create(e,i,n))}return 0}function T$(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function A$(t){let e=t.type.prop(Mr);if(e)return e;let i=t.firstChild,n;if(i&&(n=i.type.prop(K.closedBy))){let r=t.lastChild,s=r&&n.indexOf(r.name)>-1;return o=>Tg(o,!0,1,void 0,s&&!T$(o)?r.from:void 0)}return t.parent==null?E$:null}function E$(){return 0}class th extends ha{constructor(e,i,n){super(e.state,e.options),this.base=e,this.pos=i,this.context=n}get node(){return this.context.node}static create(e,i,n){return new th(e,i,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let i=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(i.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(R$(n,e))break;i=this.state.doc.lineAt(n.from)}return this.lineIndent(i.from)}continue(){return Cg(this.context.next,this.base,this.pos)}}function R$(t,e){for(let i=e;i;i=i.parent)if(t==i)return!0;return!1}function D$(t){let e=t.node,i=e.childAfter(e.from),n=e.lastChild;if(!i)return null;let r=t.options.simulateBreak,s=t.state.doc.lineAt(i.from),o=r==null||r<=s.from?s.to:Math.min(s.to,r);for(let l=i.to;;){let a=e.childAfter(l);if(!a||a==n)return null;if(!a.type.isSkipped){if(a.from>=o)return null;let u=/^ */.exec(s.text.slice(i.to-s.from))[0].length;return{from:i.from,to:i.to+u}}l=a.to}}function L$({closing:t,align:e=!0,units:i=1}){return n=>Tg(n,e,i,t)}function Tg(t,e,i,n,r){let s=t.textAfter,o=s.match(/^\s*/)[0].length,l=n&&s.slice(o,o+n.length)==n||r==t.pos+o,a=e?D$(t):null;return a?l?t.column(a.from):t.column(a.to):t.baseIndent+(l?0:t.unit*i)}const M$=t=>t.baseIndent;function ol({except:t,units:e=1}={}){return i=>{let n=t&&t.test(i.textAfter);return i.baseIndent+(n?0:e*i.unit)}}const Z$=G.define(),no=new K;function Ag(t){let e=t.firstChild,i=t.lastChild;return e&&e.tol.prop(nn)==o.data:o?l=>l==o:void 0,this.style=Qg(e.map(l=>({tag:l.tag,class:l.class||r(Object.assign({},l,{tag:null}))})),{all:s}).style,this.module=n?new ln(n):null,this.themeType=i.themeType}static define(e,i){return new ro(e,i||{})}}const oc=G.define(),I$=G.define({combine(t){return t.length?[t[0]]:null}});function Ba(t){let e=t.facet(oc);return e.length?e:t.facet(I$)}function Eg(t,e){let i=[z$],n;return t instanceof ro&&(t.module&&i.push(W.styleModule.of(t.module)),n=t.themeType),n?i.push(oc.computeN([W.darkTheme],r=>r.facet(W.darkTheme)==(n=="dark")?[t]:[])):i.push(oc.of(t)),i}class X${constructor(e){this.markCache=Object.create(null),this.tree=Re(e.state),this.decorations=this.buildDeco(e,Ba(e.state)),this.decoratedTo=e.viewport.to}update(e){let i=Re(e.state),n=Ba(e.state),r=n!=Ba(e.startState),{viewport:s}=e.view,o=e.changes.mapPos(this.decoratedTo,1);i.length=s.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=o):(i!=this.tree||e.viewportChanged||r)&&(this.tree=i,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=s.to)}buildDeco(e,i){if(!i||!this.tree.length)return ve.none;let n=new gr;for(let{from:r,to:s}of e.visibleRanges)S$(this.tree,i,(o,l,a)=>{n.add(o,l,this.markCache[a]||(this.markCache[a]=ve.mark({class:a})))},r,s);return n.finish()}}const z$=Ii.high(Mt.fromClass(X$,{decorations:t=>t.decorations})),j$=1e4,F$="()[]{}",Rg=new K;function lc(t,e,i){let n=t.prop(e<0?K.openedBy:K.closedBy);if(n)return n;if(t.name.length==1){let r=i.indexOf(t.name);if(r>-1&&r%2==(e<0?1:0))return[i[r+e]]}return null}function ac(t){let e=t.type.prop(Rg);return e?e(t.node):t}function Un(t,e,i,n={}){let r=n.maxScanDistance||j$,s=n.brackets||F$,o=Re(t),l=o.resolveInner(e,i);for(let a=l;a;a=a.parent){let u=lc(a.type,i,s);if(u&&a.from0?e>=c.from&&ec.from&&e<=c.to))return B$(t,e,i,a,c,u,s)}}return V$(t,e,i,o,l.type,r,s)}function B$(t,e,i,n,r,s,o){let l=n.parent,a={from:r.from,to:r.to},u=0,c=l==null?void 0:l.cursor();if(c&&(i<0?c.childBefore(n.from):c.childAfter(n.to)))do if(i<0?c.to<=n.from:c.from>=n.to){if(u==0&&s.indexOf(c.type.name)>-1&&c.from0)return null;let u={from:i<0?e-1:e,to:i>0?e+1:e},c=t.doc.iterRange(e,i>0?t.doc.length:0),h=0;for(let f=0;!c.next().done&&f<=s;){let d=c.value;i<0&&(f+=d.length);let p=e+f*i;for(let m=i>0?0:d.length-1,O=i>0?d.length:-1;m!=O;m+=i){let g=o.indexOf(d[m]);if(!(g<0||n.resolveInner(p+m,1).type!=r))if(g%2==0==i>0)h++;else{if(h==1)return{start:u,end:{from:p+m,to:p+m+1},matched:g>>1==a>>1};h--}}i>0&&(f+=d.length)}return c.done?{start:u,matched:!1}:null}function k0(t,e,i,n=0,r=0){e==null&&(e=t.search(/[^\s\u00a0]/),e==-1&&(e=t.length));let s=r;for(let o=n;o=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.posi}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let i=this.string.indexOf(e,this.pos);if(i>-1)return this.pos=i,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPosn?o.toLowerCase():o,s=this.string.substr(this.pos,e.length);return r(s)==r(e)?(i!==!1&&(this.pos+=e.length),!0):null}else{let r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&i!==!1&&(this.pos+=r[0].length),r)}}current(){return this.string.slice(this.start,this.pos)}}function q$(t){return{name:t.name||"",token:t.token,blankLine:t.blankLine||(()=>{}),startState:t.startState||(()=>!0),copyState:t.copyState||W$,indent:t.indent||(()=>null),languageData:t.languageData||{},tokenTable:t.tokenTable||rh,mergeTokens:t.mergeTokens!==!1}}function W$(t){if(typeof t!="object")return t;let e={};for(let i in t){let n=t[i];e[i]=n instanceof Array?n.slice():n}return e}const S0=new WeakMap;class ih extends Dt{constructor(e){let i=ca(e.languageData),n=q$(e),r,s=new class extends ua{createParse(o,l,a){return new N$(r,o,l,a)}};super(i,s,[],e.name),this.topNode=H$(i,this),r=this,this.streamParser=n,this.stateAfter=new K({perNode:!0}),this.tokenTable=e.tokenTable?new Ig(n.tokenTable):U$}static define(e){return new ih(e)}getIndent(e){let i,{overrideIndentation:n}=e.options;n&&(i=S0.get(e.state),i!=null&&i1e4)return null;for(;s=n&&i+e.length<=r&&e.prop(t.stateAfter);if(s)return{state:t.streamParser.copyState(s),pos:i+e.length};for(let o=e.children.length-1;o>=0;o--){let l=e.children[o],a=i+e.positions[o],u=l instanceof se&&a=e.length)return e;!r&&i==0&&e.type==t.topNode&&(r=!0);for(let s=e.children.length-1;s>=0;s--){let o=e.positions[s],l=e.children[s],a;if(oi&&nh(t,s.tree,0-s.offset,i,l),u;if(a&&a.pos<=n&&(u=Lg(t,s.tree,i+s.offset,a.pos+s.offset,!1)))return{state:a.state,tree:u}}return{state:t.streamParser.startState(r?Ln(r):4),tree:se.empty}}let N$=class{constructor(e,i,n,r){this.lang=e,this.input=i,this.fragments=n,this.ranges=r,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=r[r.length-1].to;let s=Dn.get(),o=r[0].from,{state:l,tree:a}=Y$(e,n,o,this.to,s==null?void 0:s.state);this.state=l,this.parsedPos=this.chunkStart=o+a.length;for(let u=0;uu.from<=s.viewport.from&&u.to>=s.viewport.from)&&(this.state=this.lang.streamParser.startState(Ln(s.state)),s.skipUntilInView(this.parsedPos,s.viewport.from),this.parsedPos=s.viewport.from),this.moveRangeIndex()}advance(){let e=Dn.get(),i=this.stoppedAt==null?this.to:Math.min(this.to,this.stoppedAt),n=Math.min(i,this.chunkStart+512);for(e&&(n=Math.min(n,e.viewport.to));this.parsedPos=i?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,i),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let i=this.input.chunk(e);if(this.input.lineChunks)i==` +`&&(i="");else{let n=i.indexOf(` +`);n>-1&&(i=i.slice(0,n))}return e+i.length<=this.to?i:i.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,i=this.lineAfter(e),n=e+i.length;for(let r=this.rangeIndex;;){let s=this.ranges[r].to;if(s>=n||(i=i.slice(0,s-(n-i.length)),r++,r==this.ranges.length))break;let o=this.ranges[r].from,l=this.lineAfter(o);i+=l,n=o+l.length}return{line:i,end:n}}skipGapsTo(e,i,n){for(;;){let r=this.ranges[this.rangeIndex].to,s=e+i;if(n>0?r>s:r>=s)break;let o=this.ranges[++this.rangeIndex].from;i+=o-r}return i}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to1){r=this.skipGapsTo(i,r,1),i+=r;let l=this.chunk.length;r=this.skipGapsTo(n,r,-1),n+=r,s+=this.chunk.length-l}let o=this.chunk.length-4;return this.lang.streamParser.mergeTokens&&s==4&&o>=0&&this.chunk[o]==e&&this.chunk[o+2]==i?this.chunk[o+2]=n:this.chunk.push(e,i,n,s),r}parseLine(e){let{line:i,end:n}=this.nextLine(),r=0,{streamParser:s}=this.lang,o=new Dg(i,e?e.state.tabSize:4,e?Ln(e.state):2);if(o.eol())s.blankLine(this.state,o.indentUnit);else for(;!o.eol();){let l=Mg(s.token,o,this.state);if(l&&(r=this.emitToken(this.lang.tokenTable.resolve(l),this.parsedPos+o.start,this.parsedPos+o.pos,r)),o.start>1e4)break}this.parsedPos=n,this.moveRangeIndex(),this.parsedPose.start)return r}throw new Error("Stream parser failed to advance stream.")}const rh=Object.create(null),Ms=[ze.none],G$=new Rr(Ms),w0=[],$0=Object.create(null),Zg=Object.create(null);for(let[t,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])Zg[t]=Xg(rh,e);class Ig{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),Zg)}resolve(e){return e?this.table[e]||(this.table[e]=Xg(this.extra,e)):0}}const U$=new Ig(rh);function Va(t,e){w0.indexOf(t)>-1||(w0.push(t),console.warn(e))}function Xg(t,e){let i=[];for(let l of e.split(" ")){let a=[];for(let u of l.split(".")){let c=t[u]||k[u];c?typeof c=="function"?a.length?a=a.map(c):Va(u,`Modifier ${u} used at start of tag`):a.length?Va(u,`Tag ${u} used as modifier`):a=Array.isArray(c)?c:[c]:Va(u,`Unknown highlighting tag ${u}`)}for(let u of a)i.push(u)}if(!i.length)return 0;let n=e.replace(/ /g,"_"),r=n+" "+i.map(l=>l.id),s=$0[r];if(s)return s.id;let o=$0[r]=ze.define({id:Ms.length,name:n,props:[Dr({[n]:i})]});return Ms.push(o),o.id}function H$(t,e){let i=ze.define({id:Ms.length,name:"Document",props:[nn.add(()=>t),Mr.add(()=>n=>e.getIndent(n))],top:!0});return Ms.push(i),i}Ce.RTL,Ce.LTR;const K$=t=>{let{state:e}=t,i=e.doc.lineAt(e.selection.main.from),n=oh(t.state,i.from);return n.line?J$(t):n.block?tQ(t):!1};function sh(t,e){return({state:i,dispatch:n})=>{if(i.readOnly)return!1;let r=t(e,i);return r?(n(i.update(r)),!0):!1}}const J$=sh(rQ,0),eQ=sh(zg,0),tQ=sh((t,e)=>zg(t,e,nQ(e)),0);function oh(t,e){let i=t.languageDataAt("commentTokens",e,1);return i.length?i[0]:{}}const qr=50;function iQ(t,{open:e,close:i},n,r){let s=t.sliceDoc(n-qr,n),o=t.sliceDoc(r,r+qr),l=/\s*$/.exec(s)[0].length,a=/^\s*/.exec(o)[0].length,u=s.length-l;if(s.slice(u-e.length,u)==e&&o.slice(a,a+i.length)==i)return{open:{pos:n-l,margin:l&&1},close:{pos:r+a,margin:a&&1}};let c,h;r-n<=2*qr?c=h=t.sliceDoc(n,r):(c=t.sliceDoc(n,n+qr),h=t.sliceDoc(r-qr,r));let f=/^\s*/.exec(c)[0].length,d=/\s*$/.exec(h)[0].length,p=h.length-d-i.length;return c.slice(f,f+e.length)==e&&h.slice(p,p+i.length)==i?{open:{pos:n+f+e.length,margin:/\s/.test(c.charAt(f+e.length))?1:0},close:{pos:r-d-i.length,margin:/\s/.test(h.charAt(p-1))?1:0}}:null}function nQ(t){let e=[];for(let i of t.selection.ranges){let n=t.doc.lineAt(i.from),r=i.to<=n.to?n:t.doc.lineAt(i.to);r.from>n.from&&r.from==i.to&&(r=i.to==n.to+1?n:t.doc.lineAt(i.to-1));let s=e.length-1;s>=0&&e[s].to>n.from?e[s].to=r.to:e.push({from:n.from+/^\s*/.exec(n.text)[0].length,to:r.to})}return e}function zg(t,e,i=e.selection.ranges){let n=i.map(s=>oh(e,s.from).block);if(!n.every(s=>s))return null;let r=i.map((s,o)=>iQ(e,n[o],s.from,s.to));if(t!=2&&!r.every(s=>s))return{changes:e.changes(i.map((s,o)=>r[o]?[]:[{from:s.from,insert:n[o].open+" "},{from:s.to,insert:" "+n[o].close}]))};if(t!=1&&r.some(s=>s)){let s=[];for(let o=0,l;or&&(s==o||o>h.from)){r=h.from;let f=/^\s*/.exec(h.text)[0].length,d=f==h.length,p=h.text.slice(f,f+u.length)==u?f:-1;fs.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:l,token:a,indent:u,empty:c,single:h}of n)(h||!c)&&s.push({from:l.from+u,insert:a+" "});let o=e.changes(s);return{changes:o,selection:e.selection.map(o,1)}}else if(t!=1&&n.some(s=>s.comment>=0)){let s=[];for(let{line:o,comment:l,token:a}of n)if(l>=0){let u=o.from+l,c=u+a.length;o.text[c-o.from]==" "&&c++,s.push({from:u,to:c})}return{changes:s}}return null}const uc=Xi.define(),sQ=Xi.define(),oQ=G.define(),jg=G.define({combine(t){return na(t,{minDepth:100,newGroupDelay:500,joinToEvent:(e,i)=>i},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,i)=>(n,r)=>e(n,r)||i(n,r)})}}),Fg=Yt.define({create(){return Si.empty},update(t,e){let i=e.state.facet(jg),n=e.annotation(uc);if(n){let a=vt.fromTransaction(e,n.selection),u=n.side,c=u==0?t.undone:t.done;return a?c=Rl(c,c.length,i.minDepth,a):c=Vg(c,e.startState.selection),new Si(u==0?n.rest:c,u==0?c:n.rest)}let r=e.annotation(sQ);if((r=="full"||r=="before")&&(t=t.isolate()),e.annotation(Xe.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let s=vt.fromTransaction(e),o=e.annotation(Xe.time),l=e.annotation(Xe.userEvent);return s?t=t.addChanges(s,o,l,i,e):e.selection&&(t=t.addSelection(e.startState.selection,o,l,i.newGroupDelay)),(r=="full"||r=="after")&&(t=t.isolate()),t},toJSON(t){return{done:t.done.map(e=>e.toJSON()),undone:t.undone.map(e=>e.toJSON())}},fromJSON(t){return new Si(t.done.map(vt.fromJSON),t.undone.map(vt.fromJSON))}});function Q0(t={}){return[Fg,jg.of(t),W.domEventHandlers({beforeinput(e,i){let n=e.inputType=="historyUndo"?lh:e.inputType=="historyRedo"?El:null;return n?(e.preventDefault(),n(i)):!1}})]}function fa(t,e){return function({state:i,dispatch:n}){if(!e&&i.readOnly)return!1;let r=i.field(Fg,!1);if(!r)return!1;let s=r.pop(t,i,e);return s?(n(s),!0):!1}}const lh=fa(0,!1),El=fa(1,!1),lQ=fa(0,!0),aQ=fa(1,!0);class vt{constructor(e,i,n,r,s){this.changes=e,this.effects=i,this.mapped=n,this.startSelection=r,this.selectionsAfter=s}setSelAfter(e){return new vt(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,i,n;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(i=this.mapped)===null||i===void 0?void 0:i.toJSON(),startSelection:(n=this.startSelection)===null||n===void 0?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(r=>r.toJSON())}}static fromJSON(e){return new vt(e.changes&&Fe.fromJSON(e.changes),[],e.mapped&&$i.fromJSON(e.mapped),e.startSelection&&E.fromJSON(e.startSelection),e.selectionsAfter.map(E.fromJSON))}static fromTransaction(e,i){let n=Bt;for(let r of e.startState.facet(oQ)){let s=r(e);s.length&&(n=n.concat(s))}return!n.length&&e.changes.empty?null:new vt(e.changes.invert(e.startState.doc),n,void 0,i||e.startState.selection,Bt)}static selection(e){return new vt(void 0,Bt,void 0,void 0,e)}}function Rl(t,e,i,n){let r=e+1>i+20?e-i-1:0,s=t.slice(r,e);return s.push(n),s}function uQ(t,e){let i=[],n=!1;return t.iterChangedRanges((r,s)=>i.push(r,s)),e.iterChangedRanges((r,s,o,l)=>{for(let a=0;a=u&&o<=c&&(n=!0)}}),n}function cQ(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((i,n)=>i.empty!=e.ranges[n].empty).length===0}function Bg(t,e){return t.length?e.length?t.concat(e):t:e}const Bt=[],hQ=200;function Vg(t,e){if(t.length){let i=t[t.length-1],n=i.selectionsAfter.slice(Math.max(0,i.selectionsAfter.length-hQ));return n.length&&n[n.length-1].eq(e)?t:(n.push(e),Rl(t,t.length-1,1e9,i.setSelAfter(n)))}else return[vt.selection([e])]}function fQ(t){let e=t[t.length-1],i=t.slice();return i[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),i}function qa(t,e){if(!t.length)return t;let i=t.length,n=Bt;for(;i;){let r=dQ(t[i-1],e,n);if(r.changes&&!r.changes.empty||r.effects.length){let s=t.slice(0,i);return s[i-1]=r,s}else e=r.mapped,i--,n=r.selectionsAfter}return n.length?[vt.selection(n)]:Bt}function dQ(t,e,i){let n=Bg(t.selectionsAfter.length?t.selectionsAfter.map(l=>l.map(e)):Bt,i);if(!t.changes)return vt.selection(n);let r=t.changes.map(e),s=e.mapDesc(t.changes,!0),o=t.mapped?t.mapped.composeDesc(s):s;return new vt(r,ae.mapEffects(t.effects,e),o,t.startSelection.map(s),n)}const pQ=/^(input\.type|delete)($|\.)/;class Si{constructor(e,i,n=0,r=void 0){this.done=e,this.undone=i,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new Si(this.done,this.undone):this}addChanges(e,i,n,r,s){let o=this.done,l=o[o.length-1];return l&&l.changes&&!l.changes.empty&&e.changes&&(!n||pQ.test(n))&&(!l.selectionsAfter.length&&i-this.prevTime0&&i-this.prevTimei.empty?t.moveByChar(i,e):da(i,e))}function st(t){return t.textDirectionAt(t.state.selection.main.head)==Ce.LTR}const Wg=t=>qg(t,!st(t)),Yg=t=>qg(t,st(t));function Ng(t,e){return hi(t,i=>i.empty?t.moveByGroup(i,e):da(i,e))}const OQ=t=>Ng(t,!st(t)),gQ=t=>Ng(t,st(t));function bQ(t,e,i){if(e.type.prop(i))return!0;let n=e.to-e.from;return n&&(n>2||/[^\s,.;:]/.test(t.sliceDoc(e.from,e.to)))||e.firstChild}function pa(t,e,i){let n=Re(t).resolveInner(e.head),r=i?K.closedBy:K.openedBy;for(let a=e.head;;){let u=i?n.childAfter(a):n.childBefore(a);if(!u)break;bQ(t,u,r)?n=u:a=i?u.to:u.from}let s=n.type.prop(r),o,l;return s&&(o=i?Un(t,n.from,1):Un(t,n.to,-1))&&o.matched?l=i?o.end.to:o.end.from:l=i?n.to:n.from,E.cursor(l,i?-1:1)}const vQ=t=>hi(t,e=>pa(t.state,e,!st(t))),yQ=t=>hi(t,e=>pa(t.state,e,st(t)));function Gg(t,e){return hi(t,i=>{if(!i.empty)return da(i,e);let n=t.moveVertically(i,e);return n.head!=i.head?n:t.moveToLineBoundary(i,e)})}const Ug=t=>Gg(t,!1),Hg=t=>Gg(t,!0);function Kg(t){let e=t.scrollDOM.clientHeighto.empty?t.moveVertically(o,e,i.height):da(o,e));if(r.eq(n.selection))return!1;let s;if(i.selfScroll){let o=t.coordsAtPos(n.selection.main.head),l=t.scrollDOM.getBoundingClientRect(),a=l.top+i.marginTop,u=l.bottom-i.marginBottom;o&&o.top>a&&o.bottomJg(t,!1),cc=t=>Jg(t,!0);function fn(t,e,i){let n=t.lineBlockAt(e.head),r=t.moveToLineBoundary(e,i);if(r.head==e.head&&r.head!=(i?n.to:n.from)&&(r=t.moveToLineBoundary(e,i,!1)),!i&&r.head==n.from&&n.length){let s=/^\s*/.exec(t.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;s&&e.head!=n.from+s&&(r=E.cursor(n.from+s))}return r}const xQ=t=>hi(t,e=>fn(t,e,!0)),kQ=t=>hi(t,e=>fn(t,e,!1)),SQ=t=>hi(t,e=>fn(t,e,!st(t))),wQ=t=>hi(t,e=>fn(t,e,st(t))),$Q=t=>hi(t,e=>E.cursor(t.lineBlockAt(e.head).from,1)),QQ=t=>hi(t,e=>E.cursor(t.lineBlockAt(e.head).to,-1));function _Q(t,e,i){let n=!1,r=Zr(t.selection,s=>{let o=Un(t,s.head,-1)||Un(t,s.head,1)||s.head>0&&Un(t,s.head-1,1)||s.head_Q(t,e);function Nt(t,e,i){let n=Zr(t.state.selection,r=>{r.undirectional&&r.head>=r.anchor!=e&&(r=E.range(r.head,r.anchor));let s=i(r);return E.range(r.anchor,s.head,s.goalColumn,s.bidiLevel||void 0,s.assoc)});return n.eq(t.state.selection)?!1:(t.dispatch(ci(t.state,n)),!0)}function e1(t,e){return Nt(t,e,i=>t.moveByChar(i,e))}const t1=t=>e1(t,!st(t)),i1=t=>e1(t,st(t));function n1(t,e){return Nt(t,e,i=>t.moveByGroup(i,e))}const CQ=t=>n1(t,!st(t)),TQ=t=>n1(t,st(t)),AQ=t=>{let e=!st(t);return Nt(t,e,i=>pa(t.state,i,e))},EQ=t=>{let e=st(t);return Nt(t,e,i=>pa(t.state,i,e))};function r1(t,e){return Nt(t,e,i=>t.moveVertically(i,e))}const s1=t=>r1(t,!1),o1=t=>r1(t,!0);function l1(t,e){return Nt(t,e,i=>t.moveVertically(i,e,Kg(t).height))}const P0=t=>l1(t,!1),C0=t=>l1(t,!0),RQ=t=>Nt(t,!0,e=>fn(t,e,!0)),DQ=t=>Nt(t,!1,e=>fn(t,e,!1)),LQ=t=>{let e=!st(t);return Nt(t,e,i=>fn(t,i,e))},MQ=t=>{let e=st(t);return Nt(t,e,i=>fn(t,i,e))},ZQ=t=>Nt(t,!1,e=>E.cursor(t.lineBlockAt(e.head).from)),IQ=t=>Nt(t,!0,e=>E.cursor(t.lineBlockAt(e.head).to)),T0=({state:t,dispatch:e})=>(e(ci(t,{anchor:0})),!0),A0=({state:t,dispatch:e})=>(e(ci(t,{anchor:t.doc.length})),!0),E0=({state:t,dispatch:e})=>(e(ci(t,{anchor:t.selection.main.anchor,head:0})),!0),R0=({state:t,dispatch:e})=>(e(ci(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),XQ=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),zQ=({state:t,dispatch:e})=>{let i=ma(t).map(({from:n,to:r})=>E.range(n,Math.min(r+1,t.doc.length)));return e(t.update({selection:E.create(i),userEvent:"select"})),!0},jQ=({state:t,dispatch:e})=>{let i=Zr(t.selection,n=>{let r=Re(t),s=r.resolveStack(n.from,1);if(n.empty){let o=r.resolveStack(n.from,-1);o.node.from>=s.node.from&&o.node.to<=s.node.to&&(s=o)}for(let o=s;o;o=o.next){let{node:l}=o;if((l.from=n.to||l.to>n.to&&l.from<=n.from)&&o.next)return E.range(l.to,l.from)}return n});return i.eq(t.selection)?!1:(e(ci(t,i)),!0)};function a1(t,e){let{state:i}=t,n=i.selection,r=i.selection.ranges.slice();for(let s of i.selection.ranges){let o=i.doc.lineAt(s.head);if(e?o.to0)for(let l=s;;){let a=t.moveVertically(l,e);if(a.heado.to){r.some(u=>u.head==a.head)||r.push(a);break}else{if(a.head==l.head)break;l=a}}}return r.length==n.ranges.length?!1:(t.dispatch(ci(i,E.create(r,r.length-1))),!0)}const FQ=t=>a1(t,!1),BQ=t=>a1(t,!0),VQ=({state:t,dispatch:e})=>{let i=t.selection,n=null;return i.ranges.length>1?n=E.create([i.main]):i.main.empty||(n=E.create([E.cursor(i.main.head)])),n?(e(ci(t,n)),!0):!1};function so(t,e){if(t.state.readOnly)return!1;let i="delete.selection",{state:n}=t,r=n.changeByRange(s=>{let{from:o,to:l}=s;if(o==l){let a=e(s);ao&&(i="delete.forward",a=Io(t,a,!0)),o=Math.min(o,a),l=Math.max(l,a)}else o=Io(t,o,!1),l=Io(t,l,!0);return o==l?{range:s}:{changes:{from:o,to:l},range:E.cursor(o,or(t)))n.between(e,e,(r,s)=>{re&&(e=i?s:r)});return e}const u1=(t,e,i)=>so(t,n=>{let r=n.from,{state:s}=t,o=s.doc.lineAt(r),l,a;if(i&&!e&&r>o.from&&ru1(t,!1,!0),c1=t=>u1(t,!0,!1),h1=(t,e)=>so(t,i=>{let n=i.head,{state:r}=t,s=r.doc.lineAt(n),o=r.charCategorizer(n);for(let l=null;;){if(n==(e?s.to:s.from)){n==i.head&&s.number!=(e?r.doc.lines:1)&&(n+=e?1:-1);break}let a=Ge(s.text,n-s.from,e)+s.from,u=s.text.slice(Math.min(n,a)-s.from,Math.max(n,a)-s.from),c=o(u);if(l!=null&&c!=l)break;(u!=" "||n!=i.head)&&(l=c),n=a}return n}),f1=t=>h1(t,!1),qQ=t=>h1(t,!0),WQ=t=>so(t,e=>{let i=t.lineBlockAt(e.head).to;return e.headso(t,e=>{let i=t.moveToLineBoundary(e,!1).head;return e.head>i?i:Math.max(0,e.head-1)}),NQ=t=>so(t,e=>{let i=t.moveToLineBoundary(e,!0).head;return e.head{if(t.readOnly)return!1;let i=t.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:de.of(["",""])},range:E.cursor(n.from)}));return e(t.update(i,{scrollIntoView:!0,userEvent:"input"})),!0},UQ=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=t.changeByRange(n=>{if(!n.empty||n.from==0||n.from==t.doc.length)return{range:n};let r=n.from,s=t.doc.lineAt(r),o=r==s.from?r-1:Ge(s.text,r-s.from,!1)+s.from,l=r==s.to?r+1:Ge(s.text,r-s.from,!0)+s.from;return{changes:{from:o,to:l,insert:t.doc.slice(r,l).append(t.doc.slice(o,r))},range:E.cursor(l)}});return i.changes.empty?!1:(e(t.update(i,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function ma(t){let e=[],i=-1;for(let n of t.selection.ranges){let r=t.doc.lineAt(n.from),s=t.doc.lineAt(n.to);if(!n.empty&&n.to==s.from&&(s=t.doc.lineAt(n.to-1)),i>=r.number){let o=e[e.length-1];o.to=s.to,o.ranges.push(n)}else e.push({from:r.from,to:s.to,ranges:[n]});i=s.number+1}return e}function d1(t,e,i){if(t.readOnly)return!1;let n=[],r=[];for(let s of ma(t)){if(i?s.to==t.doc.length:s.from==0)continue;let o=t.doc.lineAt(i?s.to+1:s.from-1),l=o.length+1;if(i){n.push({from:s.to,to:o.to},{from:s.from,insert:o.text+t.lineBreak});for(let a of s.ranges)r.push(E.range(Math.min(t.doc.length,a.anchor+l),Math.min(t.doc.length,a.head+l)))}else{n.push({from:o.from,to:s.from},{from:s.to,insert:t.lineBreak+o.text});for(let a of s.ranges)r.push(E.range(a.anchor-l,a.head-l))}}return n.length?(e(t.update({changes:n,scrollIntoView:!0,selection:E.create(r,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}const HQ=({state:t,dispatch:e})=>d1(t,e,!1),KQ=({state:t,dispatch:e})=>d1(t,e,!0);function p1(t,e,i){if(t.readOnly)return!1;let n=[];for(let s of ma(t))i?n.push({from:s.from,insert:t.doc.slice(s.from,s.to)+t.lineBreak}):n.push({from:s.to,insert:t.lineBreak+t.doc.slice(s.from,s.to)});let r=t.changes(n);return e(t.update({changes:r,selection:t.selection.map(r,i?1:-1),scrollIntoView:!0,userEvent:"input.copyline"})),!0}const JQ=({state:t,dispatch:e})=>p1(t,e,!1),e_=({state:t,dispatch:e})=>p1(t,e,!0),m1=t=>{if(t.state.readOnly)return!1;let{state:e}=t,i=e.changes(ma(e).map(({from:r,to:s})=>(r>0?r--:s{let s;if(t.lineWrapping){let o=t.lineBlockAt(r.head),l=t.coordsAtPos(r.head,r.assoc||1);l&&(s=o.bottom+t.documentTop-l.bottom+t.defaultLineHeight/2)}return t.moveVertically(r,!0,s)}).map(i);return t.dispatch({changes:i,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0};function t_(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let i=Re(t).resolveInner(e),n=i.childBefore(e),r=i.childAfter(e),s;return n&&r&&n.to<=e&&r.from>=e&&(s=n.type.prop(K.closedBy))&&s.indexOf(r.name)>-1&&t.doc.lineAt(n.to).from==t.doc.lineAt(r.from).from&&!/\S/.test(t.sliceDoc(n.to,r.from))?{from:n.to,to:r.from}:null}const D0=O1(!1),i_=O1(!0);function O1(t){return({state:e,dispatch:i})=>{if(e.readOnly)return!1;let n=e.changeByRange(r=>{let{from:s,to:o}=r,l=e.doc.lineAt(s),a=!t&&s==o&&t_(e,s);t&&(s=o=(o<=l.to?l:e.doc.lineAt(o)).to);let u=new ha(e,{simulateBreak:s,simulateDoubleBreak:!!a}),c=Pg(u,s);for(c==null&&(c=Mi(/^\s*/.exec(e.doc.lineAt(s).text)[0],e.tabSize));ol.from&&s{let r=[];for(let o=n.from;o<=n.to;){let l=t.doc.lineAt(o);l.number>i&&(n.empty||n.to>l.from)&&(e(l,r,n),i=l.number),o=l.to+1}let s=t.changes(r);return{changes:r,range:E.range(s.mapPos(n.anchor,1),s.mapPos(n.head,1))}})}const n_=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=Object.create(null),n=new ha(t,{overrideIndentation:s=>{let o=i[s];return o??-1}}),r=ah(t,(s,o,l)=>{let a=Pg(n,s.from);if(a==null)return;/\S/.test(s.text)||(a=0);let u=/^\s*/.exec(s.text)[0],c=Al(t,a);(u!=c||l.fromt.readOnly?!1:(e(t.update(ah(t,(i,n)=>{n.push({from:i.from,insert:t.facet(Lr)})}),{userEvent:"input.indent"})),!0),b1=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(ah(t,(i,n)=>{let r=/^\s*/.exec(i.text)[0];if(!r)return;let s=Mi(r,t.tabSize),o=0,l=Al(t,Math.max(0,s-Ln(t)));for(;o(t.setTabFocusMode(),!0),s_=[{key:"Ctrl-b",run:Wg,shift:t1,preventDefault:!0},{key:"Ctrl-f",run:Yg,shift:i1},{key:"Ctrl-p",run:Ug,shift:s1},{key:"Ctrl-n",run:Hg,shift:o1},{key:"Ctrl-a",run:$Q,shift:ZQ},{key:"Ctrl-e",run:QQ,shift:IQ},{key:"Ctrl-d",run:c1},{key:"Ctrl-h",run:hc},{key:"Ctrl-k",run:WQ},{key:"Ctrl-Alt-h",run:f1},{key:"Ctrl-o",run:GQ},{key:"Ctrl-t",run:UQ},{key:"Ctrl-v",run:cc}],o_=[{key:"ArrowLeft",run:Wg,shift:t1,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:OQ,shift:CQ,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:SQ,shift:LQ,preventDefault:!0},{key:"ArrowRight",run:Yg,shift:i1,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:gQ,shift:TQ,preventDefault:!0},{mac:"Cmd-ArrowRight",run:wQ,shift:MQ,preventDefault:!0},{key:"ArrowUp",run:Ug,shift:s1,preventDefault:!0},{mac:"Cmd-ArrowUp",run:T0,shift:E0},{mac:"Ctrl-ArrowUp",run:_0,shift:P0},{key:"ArrowDown",run:Hg,shift:o1,preventDefault:!0},{mac:"Cmd-ArrowDown",run:A0,shift:R0},{mac:"Ctrl-ArrowDown",run:cc,shift:C0},{key:"PageUp",run:_0,shift:P0},{key:"PageDown",run:cc,shift:C0},{key:"Home",run:kQ,shift:DQ,preventDefault:!0},{key:"Mod-Home",run:T0,shift:E0},{key:"End",run:xQ,shift:RQ,preventDefault:!0},{key:"Mod-End",run:A0,shift:R0},{key:"Enter",run:D0,shift:D0},{key:"Mod-a",run:XQ},{key:"Backspace",run:hc,shift:hc,preventDefault:!0},{key:"Delete",run:c1,preventDefault:!0},{key:"Mod-Backspace",mac:"Alt-Backspace",run:f1,preventDefault:!0},{key:"Mod-Delete",mac:"Alt-Delete",run:qQ,preventDefault:!0},{mac:"Mod-Backspace",run:YQ,preventDefault:!0},{mac:"Mod-Delete",run:NQ,preventDefault:!0}].concat(s_.map(t=>({mac:t.key,run:t.run,shift:t.shift}))),l_=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:vQ,shift:AQ},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:yQ,shift:EQ},{key:"Alt-ArrowUp",run:HQ},{key:"Shift-Alt-ArrowUp",run:JQ},{key:"Alt-ArrowDown",run:KQ},{key:"Shift-Alt-ArrowDown",run:e_},{key:"Mod-Alt-ArrowUp",run:FQ},{key:"Mod-Alt-ArrowDown",run:BQ},{key:"Escape",run:VQ},{key:"Mod-Enter",run:i_},{key:"Alt-l",mac:"Ctrl-l",run:zQ},{key:"Mod-i",run:jQ,preventDefault:!0},{key:"Mod-[",run:b1},{key:"Mod-]",run:g1},{key:"Mod-Alt-\\",run:n_},{key:"Shift-Mod-k",run:m1},{key:"Shift-Mod-\\",run:PQ},{key:"Mod-/",run:K$},{key:"Alt-A",run:eQ},{key:"Ctrl-m",mac:"Shift-Alt-m",run:r_}].concat(o_),a_={key:"Tab",run:g1,shift:b1},L0=typeof String.prototype.normalize=="function"?t=>t.normalize("NFKD"):t=>t;class Zs{constructor(e,i,n=0,r=e.length,s,o){this.test=o,this.value={from:0,to:0,precise:!1},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,r),this.bufferStart=n,this.normalize=s?l=>s(L0(l)):L0,this.query=this.normalize(i)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return Ni(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let i=tO(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=vn(e);let r=this.normalize(i);if(r.length)for(let s=0,o=n,l=!0;;s++){let a=r.charCodeAt(s),u=this.match(a,o,l,this.bufferPos+this.bufferStart,s==r.length-1);if(u)return this.value=u,this;if(s==r.length-1)break;l&&sthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let i=this.matchPos<=this.to&&this.re.exec(this.curLine);if(i){let n=this.curLineStart+i.index,r=n+i[0].length;if(this.matchPos=Dl(this.text,r+(n==r?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,r,i)))return this.value={from:n,to:r,precise:!0,match:i},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=n||r.to<=i){let l=new sr(i,e.sliceString(i,n));return Wa.set(e,l),l}if(r.from==i&&r.to==n)return r;let{text:s,from:o}=r;return o>i&&(s=e.sliceString(i,o)+s,o=i),r.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,i=this.re.exec(this.flat.text);if(i&&!i[0]&&i.index==e&&(this.re.lastIndex=e+1,i=this.re.exec(this.flat.text)),i){let n=this.flat.from+i.index,r=n+i[0].length;if((this.flat.to>=this.to||i.index+i[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,r,i)))return this.value={from:n,to:r,precise:!0,match:i},this.matchPos=Dl(this.text,r+(n==r?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=sr.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(y1.prototype[Symbol.iterator]=x1.prototype[Symbol.iterator]=function(){return this});function u_(t){try{return new RegExp(t,uh),!0}catch{return!1}}function Dl(t,e){if(e>=t.length)return e;let i=t.lineAt(e),n;for(;e=56320&&n<57344;)e++;return e}const c_=t=>{let{state:e}=t,i=String(e.doc.lineAt(t.state.selection.main.head).number),{close:n,result:r}=n$(t,{label:e.phrase("Go to line"),input:{type:"text",name:"line",value:i},focus:!0,submitLabel:e.phrase("go")});return r.then(s=>{let o=s&&/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(s.elements.line.value);if(!o){t.dispatch({effects:n});return}let l=e.doc.lineAt(e.selection.main.head),[,a,u,c,h]=o,f=c?+c.slice(1):0,d=u?+u:l.number;if(u&&h){let O=d/100;a&&(O=O*(a=="-"?-1:1)+l.number/e.doc.lines),d=Math.round(e.doc.lines*O)}else u&&a&&(d=d*(a=="-"?-1:1)+l.number);let p=e.doc.line(Math.max(1,Math.min(e.doc.lines,d))),m=E.cursor(p.from+Math.max(0,Math.min(f,p.length)));t.dispatch({effects:[n,W.scrollIntoView(m.from,{y:"center"})],selection:m})}),!0},h_=({state:t,dispatch:e})=>{let{selection:i}=t,n=E.create(i.ranges.map(r=>t.wordAt(r.head)||E.cursor(r.head)),i.mainIndex);return n.eq(i)?!1:(e(t.update({selection:n})),!0)};function f_(t,e){let{main:i,ranges:n}=t.selection,r=t.wordAt(i.head),s=r&&r.from==i.from&&r.to==i.to;for(let o=!1,l=new Zs(t.doc,e,n[n.length-1].to);;)if(l.next(),l.done){if(o)return null;l=new Zs(t.doc,e,0,Math.max(0,n[n.length-1].from-1)),o=!0}else{if(o&&n.some(a=>a.from==l.value.from))continue;if(s){let a=t.wordAt(l.value.from);if(!a||a.from!=l.value.from||a.to!=l.value.to)continue}return l.value}}const d_=({state:t,dispatch:e})=>{let{ranges:i}=t.selection;if(i.some(s=>s.from===s.to))return h_({state:t,dispatch:e});let n=t.sliceDoc(i[0].from,i[0].to);if(t.selection.ranges.some(s=>t.sliceDoc(s.from,s.to)!=n))return!1;let r=f_(t,n);return r?(e(t.update({selection:t.selection.addRange(E.range(r.from,r.to),!1),effects:W.scrollIntoView(r.to)})),!0):!1},Ir=G.define({combine(t){return na(t,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new __(e),scrollToMatch:e=>W.scrollIntoView(e)})}});class k1{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||u_(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord,this.test=e.test}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(i,n)=>n=="n"?` +`:n=="r"?"\r":n=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord&&this.test==e.test}create(){return this.regexp?new v_(this):new O_(this)}getCursor(e,i=0,n){let r=e.doc?e:fe.create({doc:e});return n==null&&(n=r.doc.length),this.regexp?Yn(this,r,i,n):Wn(this,r,i,n)}}class S1{constructor(e){this.spec=e}}function p_(t,e,i){return(n,r,s,o)=>{if(i&&!i(n,r,s,o))return!1;let l=n>=o&&r<=o+s.length?s.slice(n-o,r-o):e.doc.sliceString(n,r);return t(l,e,n,r)}}function Wn(t,e,i,n){let r;return t.wholeWord&&(r=m_(e.doc,e.charCategorizer(e.selection.main.head))),t.test&&(r=p_(t.test,e,r)),new Zs(e.doc,t.unquoted,i,n,t.caseSensitive?void 0:s=>s.toLowerCase(),r)}function m_(t,e){return(i,n,r,s)=>((s>i||s+r.length=i)return null;r.push(n.value)}return r}highlight(e,i,n,r){let s=Wn(this.spec,e,Math.max(0,i-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}function g_(t,e,i){return(n,r,s)=>(!i||i(n,r,s))&&t(s[0],e,n,r)}function Yn(t,e,i,n){let r;return t.wholeWord&&(r=b_(e.charCategorizer(e.selection.main.head))),t.test&&(r=g_(t.test,e,r)),new y1(e.doc,t.search,{ignoreCase:!t.caseSensitive,test:r},i,n)}function Ll(t,e){return t.slice(Ge(t,e,!1),e)}function Ml(t,e){return t.slice(e,Ge(t,e))}function b_(t){return(e,i,n)=>!n[0].length||(t(Ll(n.input,n.index))!=Je.Word||t(Ml(n.input,n.index))!=Je.Word)&&(t(Ml(n.input,n.index+n[0].length))!=Je.Word||t(Ll(n.input,n.index+n[0].length))!=Je.Word)}class v_ extends S1{nextMatch(e,i,n){let r=Yn(this.spec,e,n,e.doc.length).next();return r.done&&(r=Yn(this.spec,e,0,i).next()),r.done?null:r.value}prevMatchInRange(e,i,n){for(let r=1;;r++){let s=Math.max(i,n-r*1e4),o=Yn(this.spec,e,s,n),l=null;for(;!o.next().done;)l=o.value;if(l&&(s==i||l.from>s+10))return l;if(s==i)return null}}prevMatch(e,i,n){return this.prevMatchInRange(e,0,i)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&]|\d+)/g,(i,n)=>{if(n=="&")return e.match[0];if(n=="$")return"$";for(let r=n.length;r>0;r--){let s=+n.slice(0,r);if(s>0&&s=i)return null;r.push(n.value)}return r}highlight(e,i,n,r){let s=Yn(this.spec,e,Math.max(0,i-250),Math.min(n+250,e.doc.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}const Is=ae.define(),ch=ae.define(),rn=Yt.define({create(t){return new Ya(fc(t).create(),null)},update(t,e){for(let i of e.effects)i.is(Is)?t=new Ya(i.value.create(),t.panel):i.is(ch)&&(t=new Ya(t.query,i.value?hh:null));return t},provide:t=>Pl.from(t,e=>e.panel)});class Ya{constructor(e,i){this.query=e,this.panel=i}}const y_=ve.mark({class:"cm-searchMatch"}),x_=ve.mark({class:"cm-searchMatch cm-searchMatch-selected"}),k_=Mt.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(rn))}update(t){let e=t.state.field(rn);(e!=t.startState.field(rn)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return ve.none;let{view:i}=this,n=new gr;for(let r=0,s=i.visibleRanges,o=s.length;rs[r+1].from-500;)a=s[++r].to;t.highlight(i.state,l,a,(u,c)=>{let h=i.state.selection.ranges.some(f=>f.from==u&&f.to==c);n.add(u,c,h?x_:y_)})}return n.finish()}},{decorations:t=>t.decorations});function oo(t){return e=>{let i=e.state.field(rn,!1);return i&&i.query.spec.valid?t(e,i):Q1(e)}}const Zl=oo((t,{query:e})=>{let{to:i}=t.state.selection.main,n=e.nextMatch(t.state,i,i);if(!n)return!1;let r=E.single(n.from,n.to),s=t.state.facet(Ir);return t.dispatch({selection:r,effects:[fh(t,n),s.scrollToMatch(r.main,t)],userEvent:"select.search"}),$1(t),!0}),Il=oo((t,{query:e})=>{let{state:i}=t,{from:n}=i.selection.main,r=e.prevMatch(i,n,n);if(!r)return!1;let s=E.single(r.from,r.to),o=t.state.facet(Ir);return t.dispatch({selection:s,effects:[fh(t,r),o.scrollToMatch(s.main,t)],userEvent:"select.search"}),$1(t),!0}),S_=oo((t,{query:e})=>{let i=e.matchAll(t.state,1e3);return!i||!i.length?!1:(t.dispatch({selection:E.create(i.map(n=>E.range(n.from,n.to))),userEvent:"select.search.matches"}),!0)}),w_=({state:t,dispatch:e})=>{let i=t.selection;if(i.ranges.length>1||i.main.empty)return!1;let{from:n,to:r}=i.main,s=[],o=0;for(let l=new Zs(t.doc,t.sliceDoc(n,r));!l.next().done;){if(s.length>1e3)return!1;l.value.from==n&&(o=s.length),s.push(E.range(l.value.from,l.value.to))}return e(t.update({selection:E.create(s,o),userEvent:"select.search.matches"})),!0},M0=oo((t,{query:e})=>{let{state:i}=t,{from:n,to:r}=i.selection.main;if(i.readOnly)return!1;let s=e.nextMatch(i,n,n);if(!s)return!1;let o=s,l=[],a,u,c=[];o.precise?o.from==n&&o.to==r&&(u=i.toText(e.getReplacement(o)),l.push({from:o.from,to:o.to,insert:u}),o=e.nextMatch(i,o.from,o.to),c.push(W.announce.of(i.phrase("replaced match on line $",i.doc.lineAt(n).number)+"."))):o=e.nextMatch(i,o.from,o.to);let h=t.state.changes(l);return o&&(a=E.single(o.from,o.to).map(h),c.push(fh(t,o)),c.push(i.facet(Ir).scrollToMatch(a.main,t))),t.dispatch({changes:h,selection:a,effects:c,userEvent:"input.replace"}),!0}),$_=oo((t,{query:e})=>{if(t.state.readOnly)return!1;let i=[];for(let r of e.matchAll(t.state,1e9)){let{from:s,to:o,precise:l}=r;l&&i.push({from:s,to:o,insert:e.getReplacement(r)})}if(!i.length)return!1;let n=t.state.phrase("replaced $ matches",i.length)+".";return t.dispatch({changes:i,effects:W.announce.of(n),userEvent:"input.replace.all"}),!0});function hh(t){return t.state.facet(Ir).createPanel(t)}function fc(t,e){var i,n,r,s,o;let l=t.selection.main,a=l.empty||l.to>l.from+100?"":t.sliceDoc(l.from,l.to);if(e&&!a)return e;let u=t.facet(Ir);return new k1({search:((i=e==null?void 0:e.literal)!==null&&i!==void 0?i:u.literal)?a:a.replace(/\n/g,"\\n"),caseSensitive:(n=e==null?void 0:e.caseSensitive)!==null&&n!==void 0?n:u.caseSensitive,literal:(r=e==null?void 0:e.literal)!==null&&r!==void 0?r:u.literal,regexp:(s=e==null?void 0:e.regexp)!==null&&s!==void 0?s:u.regexp,wholeWord:(o=e==null?void 0:e.wholeWord)!==null&&o!==void 0?o:u.wholeWord})}function w1(t){let e=mg(t,hh);return e&&e.dom.querySelector("[main-field]")}function $1(t){let e=w1(t);e&&e==t.root.activeElement&&e.select()}const Q1=t=>{let e=t.state.field(rn,!1);if(e&&e.panel){let i=w1(t);if(i&&i!=t.root.activeElement){let n=fc(t.state,e.query.spec);n.valid&&t.dispatch({effects:Is.of(n)}),i.focus(),i.select()}}else t.dispatch({effects:[ch.of(!0),e?Is.of(fc(t.state,e.query.spec)):ae.appendConfig.of(C_)]});return!0},_1=t=>{let e=t.state.field(rn,!1);if(!e||!e.panel)return!1;let i=mg(t,hh);return i&&i.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:ch.of(!1)}),!0},Q_=[{key:"Mod-f",run:Q1,scope:"editor search-panel"},{key:"F3",run:Zl,shift:Il,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:Zl,shift:Il,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:_1,scope:"editor search-panel"},{key:"Mod-Shift-l",run:w_},{key:"Mod-Alt-g",run:c_},{key:"Mod-d",run:d_,preventDefault:!0}];class __{constructor(e){this.view=e;let i=this.query=e.state.field(rn).query.spec;this.commit=this.commit.bind(this),this.searchField=We("input",{value:i.search,placeholder:xt(e,"Find"),"aria-label":xt(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=We("input",{value:i.replace,placeholder:xt(e,"Replace"),"aria-label":xt(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=We("input",{type:"checkbox",name:"case",form:"",checked:i.caseSensitive,onchange:this.commit}),this.reField=We("input",{type:"checkbox",name:"re",form:"",checked:i.regexp,onchange:this.commit}),this.wordField=We("input",{type:"checkbox",name:"word",form:"",checked:i.wholeWord,onchange:this.commit});function n(r,s,o){return We("button",{class:"cm-button",name:r,onclick:s,type:"button"},o)}this.dom=We("div",{onkeydown:r=>this.keydown(r),class:"cm-search"},[this.searchField,n("next",()=>Zl(e),[xt(e,"next")]),n("prev",()=>Il(e),[xt(e,"previous")]),n("select",()=>S_(e),[xt(e,"all")]),We("label",null,[this.caseField,xt(e,"match case")]),We("label",null,[this.reField,xt(e,"regexp")]),We("label",null,[this.wordField,xt(e,"by word")]),...e.state.readOnly?[]:[We("br"),this.replaceField,n("replace",()=>M0(e),[xt(e,"replace")]),n("replaceAll",()=>$_(e),[xt(e,"replace all")])],We("button",{name:"close",onclick:()=>_1(e),"aria-label":xt(e,"close"),type:"button"},["×"])])}commit(){let e=new k1({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:Is.of(e)}))}keydown(e){j3(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?Il:Zl)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),M0(this.view))}update(e){for(let i of e.transactions)for(let n of i.effects)n.is(Is)&&!n.value.eq(this.query)&&this.setQuery(n.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(Ir).top}}function xt(t,e){return t.state.phrase(e)}const Xo=30,zo=/[\s\.,:;?!]/;function fh(t,{from:e,to:i}){let n=t.state.doc.lineAt(e),r=t.state.doc.lineAt(i).to,s=Math.max(n.from,e-Xo),o=Math.min(r,i+Xo),l=t.state.sliceDoc(s,o);if(s!=n.from){for(let a=0;al.length-Xo;a--)if(!zo.test(l[a-1])&&zo.test(l[a])){l=l.slice(0,a);break}}return W.announce.of(`${t.state.phrase("current match")}. ${l} ${t.state.phrase("on line")} ${n.number}.`)}const P_=W.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),C_=[rn,Ii.low(k_),P_];class dh{constructor(e,i,n,r){this.state=e,this.pos=i,this.explicit=n,this.view=r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let i=Re(this.state).resolveInner(this.pos,-1);for(;i&&e.indexOf(i.name)<0;)i=i.parent;return i?{from:i.from,to:this.pos,text:this.state.sliceDoc(i.from,this.pos),type:i.type}:null}matchBefore(e){let i=this.state.doc.lineAt(this.pos),n=Math.max(i.from,this.pos-250),r=i.text.slice(n-i.from,this.pos-i.from),s=r.search(C1(e,!1));return s<0?null:{from:n+s,to:this.pos,text:r.slice(s)}}get aborted(){return this.abortListeners==null}addEventListener(e,i,n){e=="abort"&&this.abortListeners&&(this.abortListeners.push(i),n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function Z0(t){let e=Object.keys(t).join(""),i=/\w/.test(e);return i&&(e=e.replace(/\w/g,"")),`[${i?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function T_(t){let e=Object.create(null),i=Object.create(null);for(let{label:r}of t){e[r[0]]=!0;for(let s=1;stypeof r=="string"?{label:r}:r),[i,n]=e.every(r=>/^\w+$/.test(r.label))?[/\w*$/,/\w+$/]:T_(e);return r=>{let s=r.matchBefore(n);return s||r.explicit?{from:s?s.from:r.pos,options:e,validFor:i}:null}}function A_(t,e){return i=>{for(let n=Re(i.state).resolveInner(i.pos,-1);n;n=n.parent){if(t.indexOf(n.name)>-1)return null;if(n.type.isTop)break}return e(i)}}class I0{constructor(e,i,n,r){this.completion=e,this.source=i,this.match=n,this.score=r}}function Cn(t){return t.selection.main.from}function C1(t,e){var i;let{source:n}=t,r=e&&n[0]!="^",s=n[n.length-1]!="$";return!r&&!s?t:new RegExp(`${r?"^":""}(?:${n})${s?"$":""}`,(i=t.flags)!==null&&i!==void 0?i:t.ignoreCase?"i":"")}const ph=Xi.define();function E_(t,e,i,n){let{main:r}=t.selection,s=i-r.from,o=n-r.from;return{...t.changeByRange(l=>{if(l!=r&&i!=n&&t.sliceDoc(l.from+s,l.from+o)!=t.sliceDoc(i,n))return{range:l};let a=t.toText(e);return{changes:{from:l.from+s,to:n==r.from?l.to:l.from+o,insert:a},range:E.cursor(l.from+s+a.length)}}),scrollIntoView:!0,userEvent:"input.complete"}}const X0=new WeakMap;function R_(t){if(!Array.isArray(t))return t;let e=X0.get(t);return e||X0.set(t,e=P1(t)),e}const Xl=ae.define(),Xs=ae.define();class D_{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let i=0;i=48&&v<=57||v>=97&&v<=122?2:v>=65&&v<=90?1:0:(Q=tO(v))!=Q.toLowerCase()?1:Q!=Q.toUpperCase()?2:0;(!b||P==1&&O||w==0&&P!=0)&&(i[h]==v||n[h]==v&&(f=!0)?o[h++]=b:o.length&&(g=!1)),w=P,b+=vn(v)}return h==a&&o[0]==0&&g?this.result(-100+(f?-200:0),o,e):d==a&&p==0?this.ret(-200-e.length+(m==e.length?0:-100),[0,m]):l>-1?this.ret(-700-e.length,[l,l+this.pattern.length]):d==a?this.ret(-900-e.length,[p,m]):h==a?this.result(-100+(f?-200:0)+-700+(g?0:-1100),o,e):i.length==2?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,i,n){let r=[],s=0;for(let o of i){let l=o+(this.astral?vn(Ni(n,o)):1);s&&r[s-1]==o?r[s-1]=l:(r[s++]=o,r[s++]=l)}return this.ret(e-n.length,r)}}class L_{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:M_,filterStrict:!1,compareCompletions:(e,i)=>(e.sortText||e.label).localeCompare(i.sortText||i.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,i)=>e&&i,closeOnBlur:(e,i)=>e&&i,icons:(e,i)=>e&&i,tooltipClass:(e,i)=>n=>z0(e(n),i(n)),optionClass:(e,i)=>n=>z0(e(n),i(n)),addToOptions:(e,i)=>e.concat(i),filterStrict:(e,i)=>e||i})}});function z0(t,e){return t?e?t+" "+e:t:e}function M_(t,e,i,n,r,s){let o=t.textDirection==Ce.RTL,l=o,a=!1,u="top",c,h,f=e.left-r.left,d=r.right-e.right,p=n.right-n.left,m=n.bottom-n.top;if(l&&f=m||b>e.top?c=i.bottom-e.top:(u="bottom",c=e.bottom-i.top)}let O=(e.bottom-e.top)/s.offsetHeight,g=(e.right-e.left)/s.offsetWidth;return{style:`${u}: ${c/O}px; max-width: ${h/g}px`,class:"cm-completionInfo-"+(a?o?"left-narrow":"right-narrow":l?"left":"right")}}const mh=ae.define();function Z_(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(i){let n=document.createElement("div");return n.classList.add("cm-completionIcon"),i.type&&n.classList.add(...i.type.split(/\s+/g).map(r=>"cm-completionIcon-"+r)),n.setAttribute("aria-hidden","true"),n},position:20}),e.push({render(i,n,r,s){let o=document.createElement("span");o.className="cm-completionLabel";let l=i.displayLabel||i.label,a=0;for(let u=0;ua&&o.appendChild(document.createTextNode(l.slice(a,c)));let f=o.appendChild(document.createElement("span"));f.appendChild(document.createTextNode(l.slice(c,h))),f.className="cm-completionMatchedText",a=h}return ai.position-n.position).map(i=>i.render)}function Na(t,e,i){if(t<=i)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let r=Math.floor(e/i);return{from:r*i,to:(r+1)*i}}let n=Math.ceil((t-e)/i);return{from:t-n*i,to:t-(n-1)*i}}class I_{constructor(e,i,n){this.view=e,this.stateField=i,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:a=>this.placeInfo(a),key:this},this.space=null,this.currentClass="";let r=e.state.field(i),{options:s,selected:o}=r.open,l=e.state.facet(Ne);this.optionContent=Z_(l),this.optionClass=l.optionClass,this.tooltipClass=l.tooltipClass,this.range=Na(s.length,o,l.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",a=>{let{options:u}=e.state.field(i).open;for(let c=a.target,h;c&&c!=this.dom;c=c.parentNode)if(c.nodeName=="LI"&&(h=/-(\d+)$/.exec(c.id))&&+h[1]this.list.lastChild.getBoundingClientRect().bottom?this.range.to:null;c!=null&&(e.dispatch({effects:mh.of(c)}),a.preventDefault())}}),this.dom.addEventListener("focusout",a=>{let u=e.state.field(this.stateField,!1);u&&u.tooltip&&e.state.facet(Ne).closeOnBlur&&a.relatedTarget!=e.contentDOM&&e.dispatch({effects:Xs.of(null)})}),this.showOptions(s,r.id)}mount(){this.updateSel()}showOptions(e,i){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,i,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var i;let n=e.state.field(this.stateField),r=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),n!=r){let{options:s,selected:o,disabled:l}=n.open;(!r.open||r.open.options!=s)&&(this.range=Na(s.length,o,e.state.facet(Ne).maxRenderedOptions),this.showOptions(s,n.id)),this.updateSel(),l!=((i=r.open)===null||i===void 0?void 0:i.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!l)}}updateTooltipClass(e){let i=this.tooltipClass(e);if(i!=this.currentClass){for(let n of this.currentClass.split(" "))n&&this.dom.classList.remove(n);for(let n of i.split(" "))n&&this.dom.classList.add(n);this.currentClass=i}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),i=e.open;(i.selected>-1&&i.selected=this.range.to)&&(this.range=Na(i.options.length,i.selected,this.view.state.facet(Ne).maxRenderedOptions),this.showOptions(i.options,e.id));let n=this.updateSelectedOption(i.selected);if(n){this.destroyInfo();let{completion:r}=i.options[i.selected],{info:s}=r;if(!s)return;let o=typeof s=="string"?document.createTextNode(s):s(r);if(!o)return;"then"in o?o.then(l=>{l&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(l,r)}).catch(l=>Rt(this.view.state,l,"completion info")):(this.addInfoPane(o,r),n.setAttribute("aria-describedby",this.info.id))}}addInfoPane(e,i){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",n.id="cm-completionInfo-"+Math.floor(Math.random()*65535).toString(16),e.nodeType!=null)n.appendChild(e),this.infoDestroy=null;else{let{dom:r,destroy:s}=e;n.appendChild(r),this.infoDestroy=s||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let i=null;for(let n=this.list.firstChild,r=this.range.from;n;n=n.nextSibling,r++)n.nodeName!="LI"||!n.id?r--:r==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),i=n):n.hasAttribute("aria-selected")&&(n.removeAttribute("aria-selected"),n.removeAttribute("aria-describedby"));return i&&z_(this.list,i),i}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let i=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),s=this.space;if(!s){let o=this.dom.ownerDocument.documentElement;s={left:0,top:0,right:o.clientWidth,bottom:o.clientHeight}}return r.top>Math.min(s.bottom,i.bottom)-10||r.bottom{o.target==r&&o.preventDefault()});let s=null;for(let o=n.from;on.from||n.from==0))if(s=f,typeof u!="string"&&u.header)r.appendChild(u.header(u));else{let d=r.appendChild(document.createElement("completion-section"));d.textContent=f}}const c=r.appendChild(document.createElement("li"));c.id=i+"-"+o,c.setAttribute("role","option");let h=this.optionClass(l);h&&(c.className=h);for(let f of this.optionContent){let d=f(l,this.view.state,this.view,a);d&&c.appendChild(d)}}return n.from&&r.classList.add("cm-completionListIncompleteTop"),n.tonew I_(i,t,e)}function z_(t,e){let i=t.getBoundingClientRect(),n=e.getBoundingClientRect(),r=i.height/t.offsetHeight;n.topi.bottom&&(t.scrollTop+=(n.bottom-i.bottom)/r)}function j0(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function j_(t,e){let i=[],n=null,r=null,s=c=>{i.push(c);let{section:h}=c.completion;if(h){n||(n=[]);let f=typeof h=="string"?h:h.name;n.some(d=>d.name==f)||n.push(typeof h=="string"?{name:f}:h)}},o=e.facet(Ne);for(let c of t)if(c.hasResult()){let h=c.result.getMatch;if(c.result.filter===!1)for(let f of c.result.options)s(new I0(f,c.source,h?h(f):[],1e9-i.length));else{let f=e.sliceDoc(c.from,c.to),d,p=o.filterStrict?new L_(f):new D_(f);for(let m of c.result.options)if(d=p.match(m.label)){let O=m.displayLabel?h?h(m,d.matched):[]:d.matched,g=d.score+(m.boost||0);if(s(new I0(m,c.source,O,g)),typeof m.section=="object"&&m.section.rank==="dynamic"){let{name:b}=m.section;r||(r=Object.create(null)),r[b]=Math.max(g,r[b]||-1e9)}}}}if(n){let c=Object.create(null),h=0,f=(d,p)=>(d.rank==="dynamic"&&p.rank==="dynamic"?r[p.name]-r[d.name]:0)||(typeof d.rank=="number"?d.rank:1e9)-(typeof p.rank=="number"?p.rank:1e9)||(d.namef.score-h.score||u(h.completion,f.completion))){let h=c.completion;!a||a.label!=h.label||a.detail!=h.detail||a.type!=null&&h.type!=null&&a.type!=h.type||a.apply!=h.apply||a.boost!=h.boost?l.push(c):j0(c.completion)>j0(a)&&(l[l.length-1]=c),a=c.completion}return l}class Hn{constructor(e,i,n,r,s,o){this.options=e,this.attrs=i,this.tooltip=n,this.timestamp=r,this.selected=s,this.disabled=o}setSelected(e,i){return e==this.selected||e>=this.options.length?this:new Hn(this.options,F0(i,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,i,n,r,s,o){if(r&&!o&&e.some(u=>u.isPending))return r.setDisabled();let l=j_(e,i);if(!l.length)return r&&e.some(u=>u.isPending)?r.setDisabled():null;let a=i.facet(Ne).selectOnOpen?0:-1;if(r&&r.selected!=a&&r.selected!=-1){let u=r.options[r.selected].completion;for(let c=0;cc.hasResult()?Math.min(u,c.from):u,1e8),create:Y_,above:s.aboveCursor},r?r.timestamp:Date.now(),a,!1)}map(e){return new Hn(this.options,this.attrs,{...this.tooltip,pos:e.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new Hn(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class zl{constructor(e,i,n){this.active=e,this.id=i,this.open=n}static start(){return new zl(q_,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:i}=e,n=i.facet(Ne),s=(n.override||i.languageDataAt("autocomplete",Cn(i)).map(R_)).map(a=>(this.active.find(c=>c.source==a)||new Vt(a,this.active.some(c=>c.state!=0)?1:0)).update(e,n));s.length==this.active.length&&s.every((a,u)=>a==this.active[u])&&(s=this.active);let o=this.open,l=e.effects.some(a=>a.is(Oh));o&&e.docChanged&&(o=o.map(e.changes)),e.selection||s.some(a=>a.hasResult()&&e.changes.touchesRange(a.from,a.to))||!F_(s,this.active)||l?o=Hn.build(s,i,this.id,o,n,l):o&&o.disabled&&!s.some(a=>a.isPending)&&(o=null),!o&&s.every(a=>!a.isPending)&&s.some(a=>a.hasResult())&&(s=s.map(a=>a.hasResult()?new Vt(a.source,0):a));for(let a of e.effects)a.is(mh)&&(o=o&&o.setSelected(a.value,this.id));return s==this.active&&o==this.open?this:new zl(s,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?B_:V_}}function F_(t,e){if(t==e)return!0;for(let i=0,n=0;;){for(;i-1&&(i["aria-activedescendant"]=t+"-"+e),i}const q_=[];function T1(t,e){if(t.isUserEvent("input.complete")){let n=t.annotation(ph);if(n&&e.activateOnCompletion(n))return 12}let i=t.isUserEvent("input.type");return i&&e.activateOnTyping?5:i?1:t.isUserEvent("delete.backward")?2:t.selection?8:t.docChanged?16:0}class Vt{constructor(e,i,n=!1){this.source=e,this.state=i,this.explicit=n}hasResult(){return!1}get isPending(){return this.state==1}update(e,i){let n=T1(e,i),r=this;(n&8||n&16&&this.touches(e))&&(r=new Vt(r.source,0)),n&4&&r.state==0&&(r=new Vt(this.source,1)),r=r.updateFor(e,n);for(let s of e.effects)if(s.is(Xl))r=new Vt(r.source,1,s.value);else if(s.is(Xs))r=new Vt(r.source,0);else if(s.is(Oh))for(let o of s.value)o.source==r.source&&(r=o);return r}updateFor(e,i){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(Cn(e.state))}}class or extends Vt{constructor(e,i,n,r,s,o){super(e,3,i),this.limit=n,this.result=r,this.from=s,this.to=o}hasResult(){return!0}updateFor(e,i){var n;if(!(i&3))return this.map(e.changes);let r=this.result;r.map&&!e.changes.empty&&(r=r.map(r,e.changes));let s=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),l=Cn(e.state);if(l>o||!r||i&2&&(Cn(e.startState)==this.from||li.map(e))}}),Ot=Yt.define({create(){return zl.start()},update(t,e){return t.update(e)},provide:t=>[dg.from(t,e=>e.tooltip),W.contentAttributes.from(t,e=>e.attrs)]});function gh(t,e){const i=e.completion.apply||e.completion.label;let n=t.state.field(Ot).active.find(r=>r.source==e.source);return n instanceof or?(typeof i=="string"?t.dispatch({...E_(t.state,i,n.from,n.to),annotations:ph.of(e.completion)}):i(t,e.completion,n.from,n.to),!0):!1}const Y_=X_(Ot,gh);function jo(t,e="option"){return i=>{let n=i.state.field(Ot,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp-1?n.open.selected+r*(t?1:-1):t?0:o-1;return l<0?l=e=="page"?0:o-1:l>=o&&(l=e=="page"?o-1:0),i.dispatch({effects:mh.of(l)}),!0}}const N_=t=>{let e=t.state.field(Ot,!1);return t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestampt.state.field(Ot,!1)?(t.dispatch({effects:Xl.of(!0)}),!0):!1,G_=t=>{let e=t.state.field(Ot,!1);return!e||!e.active.some(i=>i.state!=0)?!1:(t.dispatch({effects:Xs.of(null)}),!0)};class U_{constructor(e,i){this.active=e,this.context=i,this.time=Date.now(),this.updates=[],this.done=void 0}}const H_=50,K_=1e3,J_=Mt.fromClass(class{constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let e of t.state.field(Ot).active)e.isPending&&this.startQuery(e)}update(t){let e=t.state.field(Ot),i=t.state.facet(Ne);if(!t.selectionSet&&!t.docChanged&&t.startState.field(Ot)==e)return;let n=t.transactions.some(s=>{let o=T1(s,i);return o&8||(s.selection||s.docChanged)&&!(o&3)});for(let s=0;sH_&&Date.now()-o.time>K_){for(let l of o.context.abortListeners)try{l()}catch(a){Rt(this.view.state,a)}o.context.abortListeners=null,this.running.splice(s--,1)}else o.updates.push(...t.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some(s=>s.effects.some(o=>o.is(Xl)))&&(this.pendingStart=!0);let r=this.pendingStart?50:i.activateOnTypingDelay;if(this.debounceUpdate=e.active.some(s=>s.isPending&&!this.running.some(o=>o.active.source==s.source))?setTimeout(()=>this.startUpdate(),r):-1,this.composing!=0)for(let s of t.transactions)s.isUserEvent("input.type")?this.composing=2:this.composing==2&&s.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=this.view,e=t.field(Ot);for(let i of e.active)i.isPending&&!this.running.some(n=>n.active.source==i.source)&&this.startQuery(i);this.running.length&&e.open&&e.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Ne).updateSyncTime))}startQuery(t){let{state:e}=this.view,i=Cn(e),n=new dh(e,i,t.explicit,this.view),r=new U_(t,n);this.running.push(r),Promise.resolve(t.source(n)).then(s=>{r.context.aborted||(r.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:Xs.of(null)}),Rt(this.view.state,s)})}scheduleAccept(){this.running.every(t=>t.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Ne).updateSyncTime))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],i=this.view.state.facet(Ne),n=this.view.state.field(Ot);for(let r=0;rl.source==s.active.source);if(o&&o.isPending)if(s.done==null){let l=new Vt(s.active.source,0);for(let a of s.updates)l=l.update(a,i);l.isPending||e.push(l)}else this.startQuery(o)}(e.length||n.open&&n.open.disabled)&&this.view.dispatch({effects:Oh.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(Ot,!1);if(e&&e.tooltip&&this.view.state.facet(Ne).closeOnBlur){let i=e.open&&pg(this.view,e.open.tooltip);(!i||!i.dom.contains(t.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:Xs.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:Xl.of(!1)}),20),this.composing=0}}}),eP=typeof navigator=="object"&&/Win/.test(navigator.platform),tP=Ii.highest(W.domEventHandlers({keydown(t,e){let i=e.state.field(Ot,!1);if(!i||!i.open||i.open.disabled||i.open.selected<0||t.key.length>1||t.ctrlKey&&!(eP&&t.altKey)||t.metaKey)return!1;let n=i.open.options[i.open.selected],r=i.active.find(o=>o.source==n.source),s=n.completion.commitCharacters||r.result.commitCharacters;return s&&s.indexOf(t.key)>-1&&gh(e,n),!1}})),A1=W.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center",cursor:"pointer"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class iP{constructor(e,i,n,r){this.field=e,this.line=i,this.from=n,this.to=r}}class bh{constructor(e,i,n){this.field=e,this.from=i,this.to=n}map(e){let i=e.mapPos(this.from,-1,ut.TrackDel),n=e.mapPos(this.to,1,ut.TrackDel);return i==null||n==null?null:new bh(this.field,i,n)}}class vh{constructor(e,i){this.lines=e,this.fieldPositions=i}instantiate(e,i){let n=[],r=[i],s=e.doc.lineAt(i),o=/^\s*/.exec(s.text)[0];for(let a of this.lines){if(n.length){let u=o,c=/^\t*/.exec(a)[0].length;for(let h=0;hnew bh(a.field,r[a.line]+a.from,r[a.line]+a.to));return{text:n,ranges:l}}static parse(e){let i=[],n=[],r=[],s;for(let o of e.split(/\r\n?|\n/)){for(;s=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(o);){let l=s[1]?+s[1]:null,a=s[2]||s[3]||"",u=-1;l===0&&(l=1e9);let c=a.replace(/\\[{}]/g,h=>h[1]);for(let h=0;h=u&&f.field++}for(let h of r)if(h.line==n.length&&h.from>s.index){let f=s[2]?3+(s[1]||"").length:2;h.from-=f,h.to-=f}r.push(new iP(u,n.length,s.index,s.index+c.length)),o=o.slice(0,s.index)+a+o.slice(s.index+s[0].length)}o=o.replace(/\\([{}])/g,(l,a,u)=>{for(let c of r)c.line==n.length&&c.from>u&&(c.from--,c.to--);return a}),n.push(o)}return new vh(n,r)}}let nP=ve.widget({widget:new class extends Er{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),rP=ve.mark({class:"cm-snippetField"});class Xr{constructor(e,i){this.ranges=e,this.active=i,this.deco=ve.set(e.map(n=>(n.from==n.to?nP:rP).range(n.from,n.to)),!0)}map(e){let i=[];for(let n of this.ranges){let r=n.map(e);if(!r)return null;i.push(r)}return new Xr(i,this.active)}selectionInsideField(e){return e.ranges.every(i=>this.ranges.some(n=>n.field==this.active&&n.from<=i.from&&n.to>=i.to))}}const lo=ae.define({map(t,e){return t&&t.map(e)}}),sP=ae.define(),zs=Yt.define({create(){return null},update(t,e){for(let i of e.effects){if(i.is(lo))return i.value;if(i.is(sP)&&t)return new Xr(t.ranges,i.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>W.decorations.from(t,e=>e?e.deco:ve.none)});function yh(t,e){return E.create(t.filter(i=>i.field==e).map(i=>E.range(i.from,i.to)))}function oP(t){let e=vh.parse(t);return(i,n,r,s)=>{let{text:o,ranges:l}=e.instantiate(i.state,r),{main:a}=i.state.selection,u={changes:{from:r,to:s==a.from?a.to:s,insert:de.of(o)},scrollIntoView:!0,annotations:n?[ph.of(n),Xe.userEvent.of("input.complete")]:void 0};if(l.length&&(u.selection=yh(l,0)),l.some(c=>c.field>0)){let c=new Xr(l,0),h=u.effects=[lo.of(c)];i.state.field(zs,!1)===void 0&&h.push(ae.appendConfig.of([zs,hP,fP,A1]))}i.dispatch(i.state.update(u))}}function E1(t){return({state:e,dispatch:i})=>{let n=e.field(zs,!1);if(!n||t<0&&n.active==0)return!1;let r=n.active+t,s=t>0&&!n.ranges.some(o=>o.field==r+t);return i(e.update({selection:yh(n.ranges,r),effects:lo.of(s?null:new Xr(n.ranges,r)),scrollIntoView:!0})),!0}}const lP=({state:t,dispatch:e})=>t.field(zs,!1)?(e(t.update({effects:lo.of(null)})),!0):!1,aP=E1(1),uP=E1(-1),cP=[{key:"Tab",run:aP,shift:uP},{key:"Escape",run:lP}],B0=G.define({combine(t){return t.length?t[0]:cP}}),hP=Ii.highest(io.compute([B0],t=>t.facet(B0)));function mt(t,e){return{...e,apply:oP(t)}}const fP=W.domEventHandlers({mousedown(t,e){let i=e.state.field(zs,!1),n;if(!i||(n=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return!1;let r=i.ranges.find(s=>s.from<=n&&s.to>=n);return!r||r.field==i.active?!1:(e.dispatch({selection:yh(i.ranges,r.field),effects:lo.of(i.ranges.some(s=>s.field>r.field)?new Xr(i.ranges,r.field):null),scrollIntoView:!0}),!0)}}),R1=new class extends on{};R1.startSide=1;R1.endSide=-1;function dP(t={}){return[tP,Ot,Ne.of(t),J_,mP,A1]}const pP=[{key:"Ctrl-Space",run:Ga},{mac:"Alt-`",run:Ga},{mac:"Alt-i",run:Ga},{key:"Escape",run:G_},{key:"ArrowDown",run:jo(!0)},{key:"ArrowUp",run:jo(!1)},{key:"PageDown",run:jo(!0,"page")},{key:"PageUp",run:jo(!1,"page")},{key:"Enter",run:N_}],mP=Ii.highest(io.computeN([Ne],t=>t.facet(Ne).defaultKeymap?[pP]:[]));function D(t){return new Qr(ih.define(t))}function zi(t){return A(()=>import("./index-DzRIYpeT.js"),__vite__mapDeps([0,1,2])).then(e=>e.sql({dialect:e[t]}))}const OP=[C.of({name:"C",extensions:["c","h","ino"],load(){return A(()=>import("./index-BxNkc_ay.js"),__vite__mapDeps([3,1,2])).then(t=>t.cpp())}}),C.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load(){return A(()=>import("./index-BxNkc_ay.js"),__vite__mapDeps([3,1,2])).then(t=>t.cpp())}}),C.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load(){return zi("Cassandra")}}),C.of({name:"CSS",extensions:["css"],load(){return A(()=>Promise.resolve().then(()=>pT),void 0).then(t=>t.css())}}),C.of({name:"Go",extensions:["go"],load(){return A(()=>import("./index-DFIAjitZ.js"),__vite__mapDeps([4,1,2])).then(t=>t.go())}}),C.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load(){return A(()=>Promise.resolve().then(()=>o5),void 0).then(t=>t.html())}}),C.of({name:"Java",extensions:["java"],load(){return A(()=>import("./index-D7OvSAWF.js"),__vite__mapDeps([5,1,2])).then(t=>t.java())}}),C.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load(){return A(()=>Promise.resolve().then(()=>Vo),void 0).then(t=>t.javascript())}}),C.of({name:"Jinja",extensions:["j2","jinja","jinja2"],load(){return A(()=>import("./index-vq5UEcDd.js"),__vite__mapDeps([6,1,2])).then(t=>t.jinja())}}),C.of({name:"JSON",alias:["json5"],extensions:["json","map"],load(){return A(()=>import("./index-CGoqJ_Uf.js"),__vite__mapDeps([7,1,2])).then(t=>t.json())}}),C.of({name:"JSX",extensions:["jsx"],load(){return A(()=>Promise.resolve().then(()=>Vo),void 0).then(t=>t.javascript({jsx:!0}))}}),C.of({name:"LESS",extensions:["less"],load(){return A(()=>import("./index-JhwhwYw5.js"),__vite__mapDeps([8,1,2])).then(t=>t.less())}}),C.of({name:"Liquid",extensions:["liquid"],load(){return A(()=>import("./index-BJHfxRz7.js"),__vite__mapDeps([9,1,2])).then(t=>t.liquid())}}),C.of({name:"MariaDB SQL",load(){return zi("MariaSQL")}}),C.of({name:"Markdown",extensions:["md","markdown","mkd"],load(){return A(()=>Promise.resolve().then(()=>g5),void 0).then(t=>t.markdown())}}),C.of({name:"MS SQL",load(){return zi("MSSQL")}}),C.of({name:"MySQL",load(){return zi("MySQL")}}),C.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load(){return A(()=>import("./index-BkjIwgLN.js"),__vite__mapDeps([10,1,2])).then(t=>t.php())}}),C.of({name:"PLSQL",extensions:["pls"],load(){return zi("PLSQL")}}),C.of({name:"PostgreSQL",load(){return zi("PostgreSQL")}}),C.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load(){return A(()=>import("./index-Dp7iU37E.js"),__vite__mapDeps([11,1,2])).then(t=>t.python())}}),C.of({name:"Rust",extensions:["rs"],load(){return A(()=>import("./index-C6EHVQAI.js"),__vite__mapDeps([12,1,2])).then(t=>t.rust())}}),C.of({name:"Sass",extensions:["sass"],load(){return A(()=>import("./index-DWBG_Y-d.js"),__vite__mapDeps([13,1,2])).then(t=>t.sass({indented:!0}))}}),C.of({name:"SCSS",extensions:["scss"],load(){return A(()=>import("./index-DWBG_Y-d.js"),__vite__mapDeps([13,1,2])).then(t=>t.sass())}}),C.of({name:"SQL",extensions:["sql"],load(){return zi("StandardSQL")}}),C.of({name:"SQLite",load(){return zi("SQLite")}}),C.of({name:"TSX",extensions:["tsx"],load(){return A(()=>Promise.resolve().then(()=>Vo),void 0).then(t=>t.javascript({jsx:!0,typescript:!0}))}}),C.of({name:"TypeScript",alias:["ts"],extensions:["ts","mts","cts"],load(){return A(()=>Promise.resolve().then(()=>Vo),void 0).then(t=>t.javascript({typescript:!0}))}}),C.of({name:"WebAssembly",extensions:["wat","wast"],load(){return A(()=>import("./index-BFioY_nn.js"),__vite__mapDeps([14,1,2])).then(t=>t.wast())}}),C.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load(){return A(()=>import("./index-CWS1UdQw.js"),__vite__mapDeps([15,1,2])).then(t=>t.xml())}}),C.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load(){return A(()=>import("./index-CnqY5EQh.js"),__vite__mapDeps([16,1,2])).then(t=>t.yaml())}}),C.of({name:"APL",extensions:["dyalog","apl"],load(){return A(()=>import("./apl-B4CMkyY2.js"),[]).then(t=>D(t.apl))}}),C.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load(){return A(()=>import("./asciiarmor-Df11BRmG.js"),[]).then(t=>D(t.asciiArmor))}}),C.of({name:"ASN.1",extensions:["asn","asn1"],load(){return A(()=>import("./asn1-EdZsLKOL.js"),[]).then(t=>D(t.asn1({})))}}),C.of({name:"Asterisk",filename:/^extensions\.conf$/i,load(){return A(()=>import("./asterisk-B-8jnY81.js"),[]).then(t=>D(t.asterisk))}}),C.of({name:"Brainfuck",extensions:["b","bf"],load(){return A(()=>import("./brainfuck-C4LP7Hcl.js"),[]).then(t=>D(t.brainfuck))}}),C.of({name:"Cobol",extensions:["cob","cpy"],load(){return A(()=>import("./cobol-CWcv1MsR.js"),[]).then(t=>D(t.cobol))}}),C.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load(){return A(()=>import("./clike-B9uivgTg.js"),[]).then(t=>D(t.csharp))}}),C.of({name:"Clojure",extensions:["clj","cljc","cljx"],load(){return A(()=>import("./clojure-BMjYHr_A.js"),[]).then(t=>D(t.clojure))}}),C.of({name:"ClojureScript",extensions:["cljs"],load(){return A(()=>import("./clojure-BMjYHr_A.js"),[]).then(t=>D(t.clojure))}}),C.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load(){return A(()=>import("./css-BnMrqG3P.js"),[]).then(t=>D(t.gss))}}),C.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load(){return A(()=>import("./cmake-BQqOBYOt.js"),[]).then(t=>D(t.cmake))}}),C.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load(){return A(()=>import("./coffeescript-S37ZYGWr.js"),[]).then(t=>D(t.coffeeScript))}}),C.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load(){return A(()=>import("./commonlisp-DBKNyK5s.js"),[]).then(t=>D(t.commonLisp))}}),C.of({name:"Cypher",extensions:["cyp","cypher"],load(){return A(()=>import("./cypher-C_CwsFkJ.js"),[]).then(t=>D(t.cypher))}}),C.of({name:"Cython",extensions:["pyx","pxd","pxi"],load(){return A(()=>import("./python-BuPzkPfP.js"),[]).then(t=>D(t.cython))}}),C.of({name:"Crystal",extensions:["cr"],load(){return A(()=>import("./crystal-SjHAIU92.js"),[]).then(t=>D(t.crystal))}}),C.of({name:"D",extensions:["d"],load(){return A(()=>import("./d-pRatUO7H.js"),[]).then(t=>D(t.d))}}),C.of({name:"Dart",extensions:["dart"],load(){return A(()=>import("./clike-B9uivgTg.js"),[]).then(t=>D(t.dart))}}),C.of({name:"diff",extensions:["diff","patch"],load(){return A(()=>import("./diff-DbItnlRl.js"),[]).then(t=>D(t.diff))}}),C.of({name:"Dockerfile",filename:/^Dockerfile$/,load(){return A(()=>import("./dockerfile-BKs6k2Af.js"),__vite__mapDeps([17,18])).then(t=>D(t.dockerFile))}}),C.of({name:"DTD",extensions:["dtd"],load(){return A(()=>import("./dtd-DF_7sFjM.js"),[]).then(t=>D(t.dtd))}}),C.of({name:"Dylan",extensions:["dylan","dyl","intr"],load(){return A(()=>import("./dylan-DwRh75JA.js"),[]).then(t=>D(t.dylan))}}),C.of({name:"EBNF",load(){return A(()=>import("./ebnf-CDyGwa7X.js"),[]).then(t=>D(t.ebnf))}}),C.of({name:"ECL",extensions:["ecl"],load(){return A(()=>import("./ecl-Cabwm37j.js"),[]).then(t=>D(t.ecl))}}),C.of({name:"edn",extensions:["edn"],load(){return A(()=>import("./clojure-BMjYHr_A.js"),[]).then(t=>D(t.clojure))}}),C.of({name:"Eiffel",extensions:["e"],load(){return A(()=>import("./eiffel-CnydiIhH.js"),[]).then(t=>D(t.eiffel))}}),C.of({name:"Elm",extensions:["elm"],load(){return A(()=>import("./elm-vLlmbW-K.js"),[]).then(t=>D(t.elm))}}),C.of({name:"Erlang",extensions:["erl"],load(){return A(()=>import("./erlang-BNw1qcRV.js"),[]).then(t=>D(t.erlang))}}),C.of({name:"Esper",load(){return A(()=>import("./sql-D0XecflT.js"),[]).then(t=>D(t.esper))}}),C.of({name:"Factor",extensions:["factor"],load(){return A(()=>import("./factor-kuTfRLto.js"),__vite__mapDeps([19,18])).then(t=>D(t.factor))}}),C.of({name:"FCL",load(){return A(()=>import("./fcl-Kvtd6kyn.js"),[]).then(t=>D(t.fcl))}}),C.of({name:"Forth",extensions:["forth","fth","4th"],load(){return A(()=>import("./forth-Ffai-XNe.js"),[]).then(t=>D(t.forth))}}),C.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load(){return A(()=>import("./fortran-DYz_wnZ1.js"),[]).then(t=>D(t.fortran))}}),C.of({name:"F#",alias:["fsharp"],extensions:["fs"],load(){return A(()=>import("./mllike-CXdrOF99.js"),[]).then(t=>D(t.fSharp))}}),C.of({name:"Gas",extensions:["s"],load(){return A(()=>import("./gas-Bneqetm1.js"),[]).then(t=>D(t.gas))}}),C.of({name:"Gherkin",extensions:["feature"],load(){return A(()=>import("./gherkin-heZmZLOM.js"),[]).then(t=>D(t.gherkin))}}),C.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load(){return A(()=>import("./groovy-D9Dt4D0W.js"),[]).then(t=>D(t.groovy))}}),C.of({name:"Haskell",extensions:["hs"],load(){return A(()=>import("./haskell-Cw1EW3IL.js"),[]).then(t=>D(t.haskell))}}),C.of({name:"Haxe",extensions:["hx"],load(){return A(()=>import("./haxe-H-WmDvRZ.js"),[]).then(t=>D(t.haxe))}}),C.of({name:"HXML",extensions:["hxml"],load(){return A(()=>import("./haxe-H-WmDvRZ.js"),[]).then(t=>D(t.hxml))}}),C.of({name:"HTTP",load(){return A(()=>import("./http-DBlCnlav.js"),[]).then(t=>D(t.http))}}),C.of({name:"IDL",extensions:["pro"],load(){return A(()=>import("./idl-BEugSyMb.js"),[]).then(t=>D(t.idl))}}),C.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load(){return A(()=>import("./javascript-iXu5QeM3.js"),[]).then(t=>D(t.jsonld))}}),C.of({name:"Julia",extensions:["jl"],load(){return A(()=>import("./julia-DuME0IfC.js"),[]).then(t=>D(t.julia))}}),C.of({name:"Kotlin",extensions:["kt","kts"],load(){return A(()=>import("./clike-B9uivgTg.js"),[]).then(t=>D(t.kotlin))}}),C.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load(){return A(()=>import("./livescript-BwQOo05w.js"),[]).then(t=>D(t.liveScript))}}),C.of({name:"Lua",extensions:["lua"],load(){return A(()=>import("./lua-VAEuO923.js"),[]).then(t=>D(t.lua))}}),C.of({name:"mIRC",extensions:["mrc"],load(){return A(()=>import("./mirc-CjQqDB4T.js"),[]).then(t=>D(t.mirc))}}),C.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load(){return A(()=>import("./mathematica-DTrFuWx2.js"),[]).then(t=>D(t.mathematica))}}),C.of({name:"Modelica",extensions:["mo"],load(){return A(()=>import("./modelica-Dc1JOy9r.js"),[]).then(t=>D(t.modelica))}}),C.of({name:"MUMPS",extensions:["mps"],load(){return A(()=>import("./mumps-BT43cFF4.js"),[]).then(t=>D(t.mumps))}}),C.of({name:"Mbox",extensions:["mbox"],load(){return A(()=>import("./mbox-CNhZ1qSd.js"),[]).then(t=>D(t.mbox))}}),C.of({name:"Nginx",filename:/nginx.*\.conf$/i,load(){return A(()=>import("./nginx-DdIZxoE0.js"),[]).then(t=>D(t.nginx))}}),C.of({name:"NSIS",extensions:["nsh","nsi"],load(){return A(()=>import("./nsis-LdVXkNf5.js"),__vite__mapDeps([20,18])).then(t=>D(t.nsis))}}),C.of({name:"NTriples",extensions:["nt","nq"],load(){return A(()=>import("./ntriples-BfvgReVJ.js"),[]).then(t=>D(t.ntriples))}}),C.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load(){return A(()=>import("./clike-B9uivgTg.js"),[]).then(t=>D(t.objectiveC))}}),C.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load(){return A(()=>import("./clike-B9uivgTg.js"),[]).then(t=>D(t.objectiveCpp))}}),C.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load(){return A(()=>import("./mllike-CXdrOF99.js"),[]).then(t=>D(t.oCaml))}}),C.of({name:"Octave",extensions:["m"],load(){return A(()=>import("./octave-Ck1zUtKM.js"),[]).then(t=>D(t.octave))}}),C.of({name:"Oz",extensions:["oz"],load(){return A(()=>import("./oz-BzwKVEFT.js"),[]).then(t=>D(t.oz))}}),C.of({name:"Pascal",extensions:["p","pas"],load(){return A(()=>import("./pascal--L3eBynH.js"),[]).then(t=>D(t.pascal))}}),C.of({name:"Perl",extensions:["pl","pm"],load(){return A(()=>import("./perl-CdXCOZ3F.js"),[]).then(t=>D(t.perl))}}),C.of({name:"Pig",extensions:["pig"],load(){return A(()=>import("./pig-CevX1Tat.js"),[]).then(t=>D(t.pig))}}),C.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load(){return A(()=>import("./powershell-CFHJl5sT.js"),[]).then(t=>D(t.powerShell))}}),C.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load(){return A(()=>import("./properties-C78fOPTZ.js"),[]).then(t=>D(t.properties))}}),C.of({name:"ProtoBuf",extensions:["proto"],load(){return A(()=>import("./protobuf-ChK-085T.js"),[]).then(t=>D(t.protobuf))}}),C.of({name:"Pug",alias:["jade"],extensions:["pug","jade"],load(){return A(()=>import("./pug-DeIclll2.js"),__vite__mapDeps([21,22])).then(t=>D(t.pug))}}),C.of({name:"Puppet",extensions:["pp"],load(){return A(()=>import("./puppet-DMA9R1ak.js"),[]).then(t=>D(t.puppet))}}),C.of({name:"Q",extensions:["q"],load(){return A(()=>import("./q-pXgVlZs6.js"),[]).then(t=>D(t.q))}}),C.of({name:"R",alias:["rscript"],extensions:["r","R"],load(){return A(()=>import("./r-B6wPVr8A.js"),[]).then(t=>D(t.r))}}),C.of({name:"RPM Changes",load(){return A(()=>import("./rpm-CTu-6PCP.js"),[]).then(t=>D(t.rpmChanges))}}),C.of({name:"RPM Spec",extensions:["spec"],load(){return A(()=>import("./rpm-CTu-6PCP.js"),[]).then(t=>D(t.rpmSpec))}}),C.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],filename:/^(Gemfile|Rakefile)$/,load(){return A(()=>import("./ruby-B2Rjki9n.js"),[]).then(t=>D(t.ruby))}}),C.of({name:"SAS",extensions:["sas"],load(){return A(()=>import("./sas-B4kiWyti.js"),[]).then(t=>D(t.sas))}}),C.of({name:"Scala",extensions:["scala"],load(){return A(()=>import("./clike-B9uivgTg.js"),[]).then(t=>D(t.scala))}}),C.of({name:"Scheme",extensions:["scm","ss"],load(){return A(()=>import("./scheme-C41bIUwD.js"),[]).then(t=>D(t.scheme))}}),C.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load(){return A(()=>import("./shell-CjFT_Tl9.js"),[]).then(t=>D(t.shell))}}),C.of({name:"Sieve",extensions:["siv","sieve"],load(){return A(()=>import("./sieve-C3Gn_uJK.js"),[]).then(t=>D(t.sieve))}}),C.of({name:"Smalltalk",extensions:["st"],load(){return A(()=>import("./smalltalk-CnHTOXQT.js"),[]).then(t=>D(t.smalltalk))}}),C.of({name:"Solr",load(){return A(()=>import("./solr-DehyRSwq.js"),[]).then(t=>D(t.solr))}}),C.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load(){return A(()=>import("./mllike-CXdrOF99.js"),[]).then(t=>D(t.sml))}}),C.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load(){return A(()=>import("./sparql-DkYu6x3z.js"),[]).then(t=>D(t.sparql))}}),C.of({name:"Spreadsheet",alias:["excel","formula"],load(){return A(()=>import("./spreadsheet-BCZA_wO0.js"),[]).then(t=>D(t.spreadsheet))}}),C.of({name:"Squirrel",extensions:["nut"],load(){return A(()=>import("./clike-B9uivgTg.js"),[]).then(t=>D(t.squirrel))}}),C.of({name:"Stylus",extensions:["styl"],load(){return A(()=>import("./stylus-B533Al4x.js"),[]).then(t=>D(t.stylus))}}),C.of({name:"Swift",extensions:["swift"],load(){return A(()=>import("./swift-BzpIVaGY.js"),[]).then(t=>D(t.swift))}}),C.of({name:"sTeX",load(){return A(()=>import("./stex-C3f8Ysf7.js"),[]).then(t=>D(t.stex))}}),C.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load(){return A(()=>import("./stex-C3f8Ysf7.js"),[]).then(t=>D(t.stex))}}),C.of({name:"SystemVerilog",extensions:["v","sv","svh"],load(){return A(()=>import("./verilog-C6RDOZhf.js"),[]).then(t=>D(t.verilog))}}),C.of({name:"Tcl",extensions:["tcl"],load(){return A(()=>import("./tcl-DVfN8rqt.js"),[]).then(t=>D(t.tcl))}}),C.of({name:"Textile",extensions:["textile"],load(){return A(()=>import("./textile-CnDTJFAw.js"),[]).then(t=>D(t.textile))}}),C.of({name:"TiddlyWiki",load(){return A(()=>import("./tiddlywiki-DO-Gjzrf.js"),[]).then(t=>D(t.tiddlyWiki))}}),C.of({name:"Tiki wiki",load(){return A(()=>import("./tiki-DGYXhP31.js"),[]).then(t=>D(t.tiki))}}),C.of({name:"TOML",extensions:["toml"],load(){return A(()=>import("./toml-Bm5Em-hy.js"),[]).then(t=>D(t.toml))}}),C.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load(){return A(()=>import("./troff-wAsdV37c.js"),[]).then(t=>D(t.troff))}}),C.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load(){return A(()=>import("./ttcn-CfJYG6tj.js"),[]).then(t=>D(t.ttcn))}}),C.of({name:"TTCN_CFG",extensions:["cfg"],load(){return A(()=>import("./ttcn-cfg-B9xdYoR4.js"),[]).then(t=>D(t.ttcnCfg))}}),C.of({name:"Turtle",extensions:["ttl"],load(){return A(()=>import("./turtle-B1tBg_DP.js"),[]).then(t=>D(t.turtle))}}),C.of({name:"Web IDL",extensions:["webidl"],load(){return A(()=>import("./webidl-ZXfAyPTL.js"),[]).then(t=>D(t.webIDL))}}),C.of({name:"VB.NET",extensions:["vb"],load(){return A(()=>import("./vb-CmGdzxic.js"),[]).then(t=>D(t.vb))}}),C.of({name:"VBScript",extensions:["vbs"],load(){return A(()=>import("./vbscript-BuJXcnF6.js"),[]).then(t=>D(t.vbScript))}}),C.of({name:"Velocity",extensions:["vtl"],load(){return A(()=>import("./velocity-D8B20fx6.js"),[]).then(t=>D(t.velocity))}}),C.of({name:"Verilog",extensions:["v"],load(){return A(()=>import("./verilog-C6RDOZhf.js"),[]).then(t=>D(t.verilog))}}),C.of({name:"VHDL",extensions:["vhd","vhdl"],load(){return A(()=>import("./vhdl-lSbBsy5d.js"),[]).then(t=>D(t.vhdl))}}),C.of({name:"XQuery",extensions:["xy","xquery","xq","xqm","xqy"],load(){return A(()=>import("./xquery-DzFWVndE.js"),[]).then(t=>D(t.xQuery))}}),C.of({name:"Yacas",extensions:["ys"],load(){return A(()=>import("./yacas-BJ4BC0dw.js"),[]).then(t=>D(t.yacas))}}),C.of({name:"Z80",extensions:["z80"],load(){return A(()=>import("./z80-Hz9HOZM7.js"),[]).then(t=>D(t.z80))}}),C.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load(){return A(()=>import("./mscgen-BA5vi2Kp.js"),[]).then(t=>D(t.mscgen))}}),C.of({name:"Xù",extensions:["xu"],load(){return A(()=>import("./mscgen-BA5vi2Kp.js"),[]).then(t=>D(t.xu))}}),C.of({name:"MsGenny",extensions:["msgenny"],load(){return A(()=>import("./mscgen-BA5vi2Kp.js"),[]).then(t=>D(t.msgenny))}}),C.of({name:"Vue",extensions:["vue"],load(){return A(()=>import("./index-BgBN-PsO.js"),__vite__mapDeps([23,1,2])).then(t=>t.vue())}}),C.of({name:"Angular Template",load(){return A(()=>import("./index-Bsb59gf-.js"),__vite__mapDeps([24,1,2])).then(t=>t.angular())}})];class jl{static create(e,i,n,r,s){let o=r+(r<<8)+e+(i<<4)|0;return new jl(e,i,n,o,s,[],[])}constructor(e,i,n,r,s,o,l){this.type=e,this.value=i,this.from=n,this.hash=r,this.end=s,this.children=o,this.positions=l,this.hashProp=[[K.contextHash,r]]}addChild(e,i){e.prop(K.contextHash)!=this.hash&&(e=new se(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(i)}toTree(e,i=this.end){let n=this.children.length-1;return n>=0&&(i=Math.max(i,this.positions[n]+this.children[n].length+this.from)),new se(e.types[this.type],this.children,this.positions,i-this.from).balance({makeTree:(r,s,o)=>new se(ze.none,r,s,o,this.hashProp)})}}var z;(function(t){t[t.Document=1]="Document",t[t.CodeBlock=2]="CodeBlock",t[t.FencedCode=3]="FencedCode",t[t.Blockquote=4]="Blockquote",t[t.HorizontalRule=5]="HorizontalRule",t[t.BulletList=6]="BulletList",t[t.OrderedList=7]="OrderedList",t[t.ListItem=8]="ListItem",t[t.ATXHeading1=9]="ATXHeading1",t[t.ATXHeading2=10]="ATXHeading2",t[t.ATXHeading3=11]="ATXHeading3",t[t.ATXHeading4=12]="ATXHeading4",t[t.ATXHeading5=13]="ATXHeading5",t[t.ATXHeading6=14]="ATXHeading6",t[t.SetextHeading1=15]="SetextHeading1",t[t.SetextHeading2=16]="SetextHeading2",t[t.HTMLBlock=17]="HTMLBlock",t[t.LinkReference=18]="LinkReference",t[t.Paragraph=19]="Paragraph",t[t.CommentBlock=20]="CommentBlock",t[t.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",t[t.Escape=22]="Escape",t[t.Entity=23]="Entity",t[t.HardBreak=24]="HardBreak",t[t.Emphasis=25]="Emphasis",t[t.StrongEmphasis=26]="StrongEmphasis",t[t.Link=27]="Link",t[t.Image=28]="Image",t[t.InlineCode=29]="InlineCode",t[t.HTMLTag=30]="HTMLTag",t[t.Comment=31]="Comment",t[t.ProcessingInstruction=32]="ProcessingInstruction",t[t.Autolink=33]="Autolink",t[t.HeaderMark=34]="HeaderMark",t[t.QuoteMark=35]="QuoteMark",t[t.ListMark=36]="ListMark",t[t.LinkMark=37]="LinkMark",t[t.EmphasisMark=38]="EmphasisMark",t[t.CodeMark=39]="CodeMark",t[t.CodeText=40]="CodeText",t[t.CodeInfo=41]="CodeInfo",t[t.LinkTitle=42]="LinkTitle",t[t.LinkLabel=43]="LinkLabel",t[t.URL=44]="URL"})(z||(z={}));class gP{constructor(e,i){this.start=e,this.content=i,this.marks=[],this.parsers=[]}}class bP{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return ps(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,i=0,n=0){for(let r=i;r=e.stack[i.depth+1].value+i.baseIndent)return!0;if(i.indent>=i.baseIndent+4)return!1;let n=(t.type==z.OrderedList?Sh:kh)(i,e,!1);return n>0&&(t.type!=z.BulletList||xh(i,e,!1)<0)&&i.text.charCodeAt(i.pos+n-1)==t.value}const D1={[z.Blockquote](t,e,i){return i.next!=62?!1:(i.markers.push(he(z.QuoteMark,e.lineStart+i.pos,e.lineStart+i.pos+1)),i.moveBase(i.pos+(Gt(i.text.charCodeAt(i.pos+1))?2:1)),t.end=e.lineStart+i.text.length,!0)},[z.ListItem](t,e,i){return i.indent-1?!1:(i.moveBaseColumn(i.baseIndent+t.value),!0)},[z.OrderedList]:V0,[z.BulletList]:V0,[z.Document](){return!0}};function Gt(t){return t==32||t==9||t==10||t==13}function ps(t,e=0){for(;ei&&Gt(t.charCodeAt(e-1));)e--;return e}function L1(t){if(t.next!=96&&t.next!=126)return-1;let e=t.pos+1;for(;e-1&&t.depth==e.stack.length&&e.parser.leafBlockParsers.indexOf(B1.SetextHeading)>-1||n<3?-1:1}function Z1(t,e){for(let i=t.stack.length-1;i>=0;i--)if(t.stack[i].type==e)return!0;return!1}function kh(t,e,i){return(t.next==45||t.next==43||t.next==42)&&(t.pos==t.text.length-1||Gt(t.text.charCodeAt(t.pos+1)))&&(!i||Z1(e,z.BulletList)||t.skipSpace(t.pos+2)=48&&r<=57;){n++;if(n==t.text.length)return-1;r=t.text.charCodeAt(n)}return n==t.pos||n>t.pos+9||r!=46&&r!=41||nt.pos+1||t.next!=49)?-1:n+1-t.pos}function I1(t){if(t.next!=35)return-1;let e=t.pos+1;for(;e6?-1:i}function X1(t){if(t.next!=45&&t.next!=61||t.indent>=t.baseIndent+4)return-1;let e=t.pos+1;for(;e/,j1=/\?>/,pc=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/i.exec(n);if(s)return t.append(he(z.Comment,i,i+1+s[0].length));let o=/^\?[^]*?\?>/.exec(n);if(o)return t.append(he(z.ProcessingInstruction,i,i+1+o[0].length));let l=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(n);return l?t.append(he(z.HTMLTag,i,i+1+l[0].length)):-1},Emphasis(t,e,i){if(e!=95&&e!=42)return-1;let n=i+1;for(;t.char(n)==e;)n++;let r=t.slice(i-1,i),s=t.slice(n,n+1),o=Fs.test(r),l=Fs.test(s),a=/\s|^$/.test(r),u=/\s|^$/.test(s),c=!u&&(!l||a||o),h=!a&&(!o||u||l),f=c&&(e==42||!h||o),d=h&&(e==42||!c||l);return t.append(new At(e==95?N1:G1,i,n,(f?1:0)|(d?2:0)))},HardBreak(t,e,i){if(e==92&&t.char(i+1)==10)return t.append(he(z.HardBreak,i,i+2));if(e==32){let n=i+1;for(;t.char(n)==32;)n++;if(t.char(n)==10&&n>=i+2)return t.append(he(z.HardBreak,i,n+1))}return-1},Link(t,e,i){return e==91?t.append(new At(xn,i,i+1,1)):-1},Image(t,e,i){return e==33&&t.char(i+1)==91?t.append(new At(Fl,i,i+2,1)):-1},LinkEnd(t,e,i){if(e!=93)return-1;for(let n=t.parts.length-1;n>=0;n--){let r=t.parts[n];if(r instanceof At&&(r.type==xn||r.type==Fl)){if(!r.side||t.skipSpace(r.to)==i&&!/[(\[]/.test(t.slice(i+1,i+2)))return t.parts[n]=null,-1;let s=t.takeContent(n),o=t.parts[n]=wP(t,s,r.type==xn?z.Link:z.Image,r.from,i+1);if(r.type==xn)for(let l=0;le?he(z.URL,e+i,s+i):s==t.length?null:!1}}function H1(t,e,i){let n=t.charCodeAt(e);if(n!=39&&n!=34&&n!=40)return!1;let r=n==40?41:n;for(let s=e+1,o=!1;s=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,i){return this.text.slice(e-this.offset,i-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,i,n,r,s){return this.append(new At(e,i,n,(r?1:0)|(s?2:0)))}get hasOpenLink(){for(let e=this.parts.length-1;e>=0;e--){let i=this.parts[e];if(i instanceof At&&(i.type==xn||i.type==Fl))return!0}return!1}addElement(e){return this.append(e)}resolveMarkers(e){for(let n=e;n=e;a--){let m=this.parts[a];if(m instanceof At&&m.side&1&&m.type==r.type&&!(s&&(r.side&1||m.side&2)&&(m.to-m.from+o)%3==0&&((m.to-m.from)%3||o%3))){l=m;break}}if(!l)continue;let u=r.type.resolve,c=[],h=l.from,f=r.to;if(s){let m=Math.min(2,l.to-l.from,o);h=l.to-m,f=r.from+m,u=m==1?"Emphasis":"StrongEmphasis"}l.type.mark&&c.push(this.elt(l.type.mark,h,l.to));for(let m=a+1;m=0;i--){let n=this.parts[i];if(n instanceof At&&n.type==e&&n.side&1)return i}return null}takeContent(e){let i=this.resolveMarkers(e);return this.parts.length=e,i}getDelimiterAt(e){let i=this.parts[e];return i instanceof At?i:null}skipSpace(e){return ps(this.text,e-this.offset)+this.offset}elt(e,i,n,r){return typeof e=="string"?he(this.parser.getNodeType(e),i,n,r):new Y1(e,i)}}wh.linkStart=xn;wh.imageStart=Fl;function Oc(t,e){if(!e.length)return t;if(!t.length)return e;let i=t.slice(),n=0;for(let r of e){for(;n(e?e-1:0))return!1;if(this.fragmentEnd<0){let s=this.fragment.to;for(;s>0&&this.input.read(s-1,s)!=` +`;)s--;this.fragmentEnd=s?s-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor(),n.firstChild());let r=e+this.fragment.offset;for(;n.to<=r;)if(!n.parent())return!1;for(;;){if(n.from>=r)return this.fragment.from<=i;if(!n.childAfter(r))return!1}}matches(e){let i=this.cursor.tree;return i&&i.prop(K.contextHash)==e}takeNodes(e){let i=this.cursor,n=this.fragment.offset,r=this.fragmentEnd-(this.fragment.openEnd?1:0),s=e.absoluteLineStart,o=s,l=e.block.children.length,a=o,u=l;for(;;){if(i.to-n>r){if(i.type.isAnonymous&&i.firstChild())continue;break}let c=J1(i.from-n,e.ranges);if(i.to-n<=e.ranges[e.rangeI].to)e.addNode(i.tree,c);else{let h=new se(e.parser.nodeSet.types[z.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(h,i.tree),e.addNode(h,c)}if(i.type.is("Block")&&($P.indexOf(i.type.id)<0?(o=i.to-n,l=e.block.children.length):(o=a,l=u),a=i.to-n,u=e.block.children.length),!i.nextSibling())break}for(;e.block.children.length>l;)e.block.children.pop(),e.block.positions.pop();return o-s}};function J1(t,e){let i=t;for(let n=1;nFo[t]),Object.keys(Fo).map(t=>B1[t]),Object.keys(Fo),xP,D1,Object.keys(Ha).map(t=>Ha[t]),Object.keys(Ha),[]);function CP(t,e,i){let n=[];for(let r=t.firstChild,s=e;;r=r.nextSibling){let o=r?r.from:i;if(o>s&&n.push({from:s,to:o}),!r)break;s=r.to}return n}function TP(t){let{codeParser:e,htmlParser:i}=t;return{wrap:wg((r,s)=>{let o=r.type.id;if(e&&(o==z.CodeBlock||o==z.FencedCode)){let l="";if(o==z.FencedCode){let u=r.node.getChild(z.CodeInfo);u&&(l=s.read(u.from,u.to))}let a=e(l);if(a)return{parser:a,overlay:u=>u.type.id==z.CodeText,bracketed:o==z.FencedCode}}else if(i&&(o==z.HTMLBlock||o==z.HTMLTag||o==z.CommentBlock))return{parser:i,overlay:CP(r.node,r.from,r.to)};return null})}}const AP={resolve:"Strikethrough",mark:"StrikethroughMark"},EP={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":k.strikethrough}},{name:"StrikethroughMark",style:k.processingInstruction}],parseInline:[{name:"Strikethrough",parse(t,e,i){if(e!=126||t.char(i+1)!=126||t.char(i+2)==126)return-1;let n=t.slice(i-1,i),r=t.slice(i+2,i+3),s=/\s|^$/.test(n),o=/\s|^$/.test(r),l=Fs.test(n),a=Fs.test(r);return t.addDelimiter(AP,i,i+2,!o&&(!a||s||l),!s&&(!l||o||a))},after:"Emphasis"}]};function ms(t,e,i=0,n,r=0){let s=0,o=!0,l=-1,a=-1,u=!1,c=()=>{n.push(t.elt("TableCell",r+l,r+a,t.parser.parseInline(e.slice(l,a),r+l)))};for(let h=i;h-1)&&s++,o=!1,n&&(l>-1&&c(),n.push(t.elt("TableDelimiter",h+r,h+r+1))),l=a=-1):(u||f!=32&&f!=9)&&(l<0&&(l=h),a=h+1),u=!u&&f==92}return l>-1&&(s++,n&&c()),s}function N0(t,e){for(let i=e;i\s]*\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class G0{constructor(){this.rows=null}nextLine(e,i,n){if(this.rows==null){this.rows=!1;let r;if((i.next==45||i.next==58||i.next==124)&&eb.test(r=i.text.slice(i.pos))){let s=[];ms(e,n.content,0,s,n.start)==ms(e,r,0)&&(this.rows=[e.elt("TableHeader",n.start,n.start+n.content.length,s),e.elt("TableDelimiter",e.lineStart+i.pos,e.lineStart+i.text.length)])}}else if(this.rows){let r=[];ms(e,i.text,i.pos,r,e.lineStart),this.rows.push(e.elt("TableRow",e.lineStart+i.pos,e.lineStart+i.text.length,r))}return!1}finish(e,i){return this.rows?(e.addLeafElement(i,e.elt("Table",i.start,i.start+i.content.length,this.rows)),!0):!1}}const RP={defineNodes:[{name:"Table",block:!0},{name:"TableHeader",style:{"TableHeader/...":k.heading}},"TableRow",{name:"TableCell",style:k.content},{name:"TableDelimiter",style:k.processingInstruction}],parseBlock:[{name:"Table",leaf(t,e){return N0(e.content,0)?new G0:null},endLeaf(t,e,i){if(i.parsers.some(r=>r instanceof G0)||!N0(e.text,e.basePos))return!1;let n=t.peekLine();return eb.test(n)&&ms(t,e.text,e.basePos)==ms(t,n,e.basePos)},before:"SetextHeading"}]};class DP{nextLine(){return!1}finish(e,i){return e.addLeafElement(i,e.elt("Task",i.start,i.start+i.content.length,[e.elt("TaskMarker",i.start,i.start+3),...e.parser.parseInline(i.content.slice(3),i.start+3)])),!0}}const LP={defineNodes:[{name:"Task",block:!0,style:k.list},{name:"TaskMarker",style:k.atom}],parseBlock:[{name:"TaskList",leaf(t,e){return/^\[[ xX]\][ \t]/.test(e.content)&&t.parentType().name=="ListItem"?new DP:null},after:"SetextHeading"}]},U0=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,H0=/[\w-]+(\.[\w-]+)+(:\d+)?(\/[^\s<]*)?/gy,MP=/[\w-]+\.[\w-]+($|[/:])/,K0=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,J0=/\/[a-zA-Z\d@.]+/gy;function ep(t,e,i,n){let r=0;for(let s=e;s-1)return-1;let n=e+i[0].length;for(;;){let r=t[n-1],s;if(/[?!.,:*_~]/.test(r)||r==")"&&ep(t,e,n,")")>ep(t,e,n,"("))n--;else if(r==";"&&(s=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(t.slice(e,n))))n=e+s.index;else break}return n}function tp(t,e){K0.lastIndex=e;let i=K0.exec(t);if(!i)return-1;let n=i[0][i[0].length-1];return n=="_"||n=="-"?-1:e+i[0].length-(n=="."?1:0)}const IP={parseInline:[{name:"Autolink",parse(t,e,i){let n=i-t.offset;if(n&&/\w/.test(t.text[n-1]))return-1;U0.lastIndex=n;let r=U0.exec(t.text),s=-1;if(!r)return-1;if(r[1]||r[2]){if(s=ZP(t.text,n+r[0].length),s>-1&&t.hasOpenLink){let o=/([^\[\]]|\[[^\]]*\])*/.exec(t.text.slice(n,s));s=n+o[0].length}}else r[3]?s=tp(t.text,n):(s=tp(t.text,n+r[0].length),s>-1&&r[0]=="xmpp:"&&(J0.lastIndex=s,r=J0.exec(t.text),r&&(s=r.index+r[0].length)));return s<0?-1:(t.addElement(t.elt("URL",i,s+t.offset)),s+t.offset)}}]},XP=[RP,LP,EP,IP];function tb(t,e,i){return(n,r,s)=>{if(r!=t||n.char(s+1)==t)return-1;let o=[n.elt(i,s,s+1)];for(let l=s+1;li%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,i,n=0){let r=e.parser.context;return new Bl(e,[],i,n,n,0,[],0,r?new np(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,i){this.stack.push(this.state,i,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var i;let n=e>>19,r=e&65535,{parser:s}=this.p,o=this.reducePos=2e3&&!(!((i=this.p.parser.nodeSet.types[r])===null||i===void 0)&&i.isAnonymous)&&(u==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSizea;)this.stack.pop();this.reduceContext(r,u)}storeNode(e,i,n,r=4,s=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&this.buffer[o-4]==0&&this.buffer[o-1]>-1){if(i==n)return;if(this.buffer[o-2]>=i){this.buffer[o-2]=n;return}}}if(!s||this.pos==n)this.buffer.push(e,i,n,r);else{let o=this.buffer.length;if(o>0&&(this.buffer[o-4]!=0||this.buffer[o-1]<0)){let l=!1;for(let a=o;a>0&&this.buffer[a-2]>n;a-=4)if(this.buffer[a-1]>=0){l=!0;break}if(l)for(;o>0&&this.buffer[o-2]>n;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,r>4&&(r-=4)}this.buffer[o]=e,this.buffer[o+1]=i,this.buffer[o+2]=n,this.buffer[o+3]=r}}shift(e,i,n,r){if(e&131072)this.pushState(e&65535,this.pos);else if((e&262144)==0){let s=e,{parser:o}=this.p;this.pos=r;let l=o.stateFlag(s,1);!l&&(r>n||i<=o.maxNode)&&(this.reducePos=r),this.pushState(s,l?n:Math.min(n,this.reducePos)),this.shiftContext(i,n),i<=o.maxNode&&this.buffer.push(i,n,r,4)}else this.pos=r,this.shiftContext(i,n),i<=this.p.parser.maxNode&&this.buffer.push(i,n,r,4)}apply(e,i,n,r){e&65536?this.reduce(e):this.shift(e,i,n,r)}useNode(e,i){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(i,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,i=e.buffer.length;for(i&&e.buffer[i-4]==0&&(i-=4);i>0&&e.buffer[i-2]>e.reducePos;)i-=4;let n=e.buffer.slice(i),r=e.bufferBase+i;for(;e&&r==e.bufferBase;)e=e.parent;return new Bl(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,i){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,i,4),this.storeNode(0,this.pos,i,n?8:4),this.pos=this.reducePos=i,this.score-=190}canShift(e){for(let i=new BP(this);;){let n=this.p.parser.stateSlot(i.state,4)||this.p.parser.hasAction(i.state,e);if(n==0)return!1;if((n&65536)==0)return!0;i.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let i=this.p.parser.nextStates(this.state);if(i.length>8||this.stack.length>=120){let r=[];for(let s=0,o;sa&1&&l==o)||r.push(i[s],o)}i=r}let n=[];for(let r=0;r>19,r=i&65535,s=this.stack.length-n*3;if(s<0||e.getGoto(this.stack[s],r,!1)<0){let o=this.findForcedReduction();if(o==null)return!1;i=o}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(i),!0}findForcedReduction(){let{parser:e}=this.p,i=[],n=(r,s)=>{if(!i.includes(r))return i.push(r),e.allActions(r,o=>{if(!(o&393216))if(o&65536){let l=(o>>19)-s;if(l>1){let a=o&65535,u=this.stack.length-l*3;if(u>=0&&e.getGoto(this.stack[u],a,!1)>=0)return l<<19|65536|a}}else{let l=n(o,s+1);if(l!=null)return l}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let i=0;i0&&this.emitLookAhead()}}class np{constructor(e,i){this.tracker=e,this.context=i,this.hash=e.strict?e.hash(i):0}}class BP{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let i=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let r=this.start.p.parser.getGoto(this.stack[this.base-3],i,!0);this.state=r}}class Vl{constructor(e,i,n){this.stack=e,this.pos=i,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,i=e.bufferBase+e.buffer.length){return new Vl(e,i,i-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new Vl(this.stack,this.pos,this.index)}}function ts(t,e=Uint16Array){if(typeof t!="string")return t;let i=null;for(let n=0,r=0;n=92&&o--,o>=34&&o--;let a=o-32;if(a>=46&&(a-=46,l=!0),s+=a,l)break;s*=46}i?i[r++]=s:i=new e(s)}return i}class ll{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const rp=new ll;class VP{constructor(e,i){this.input=e,this.ranges=i,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=rp,this.rangeIndex=0,this.pos=this.chunkPos=i[0].from,this.range=i[0],this.end=i[i.length-1].to,this.readNext()}resolveOffset(e,i){let n=this.range,r=this.rangeIndex,s=this.pos+e;for(;sn.to:s>=n.to;){if(r==this.ranges.length-1)return null;let o=this.ranges[++r];s+=o.from-n.to,n=o}return s}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,i.from);return this.end}peek(e){let i=this.chunkOff+e,n,r;if(i>=0&&i=this.chunk2Pos&&nl.to&&(this.chunk2=this.chunk2.slice(0,l.to-n)),r=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),r}acceptToken(e,i=0){let n=i?this.resolveOffset(i,-1):this.pos;if(n==null||n=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,i){if(i?(this.token=i,i.start=e,i.lookAhead=e+1,i.value=i.extended=-1):this.token=rp,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&i<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,i-this.chunkPos);if(e>=this.chunk2Pos&&i<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,i-this.chunk2Pos);if(e>=this.range.from&&i<=this.range.to)return this.input.read(e,i);let n="";for(let r of this.ranges){if(r.from>=i)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,i)))}return n}}class lr{constructor(e,i){this.data=e,this.id=i}token(e,i){let{parser:n}=i.p;ib(this.data,e,i,this.id,n.data,n.tokenPrecTable)}}lr.prototype.contextual=lr.prototype.fallback=lr.prototype.extend=!1;class ql{constructor(e,i,n){this.precTable=i,this.elseToken=n,this.data=typeof e=="string"?ts(e):e}token(e,i){let n=e.pos,r=0;for(;;){let s=e.next<0,o=e.resolveOffset(1,1);if(ib(this.data,e,i,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(s||r++,o==null)break;e.reset(o,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}ql.prototype.contextual=lr.prototype.fallback=lr.prototype.extend=!1;class Zt{constructor(e,i={}){this.token=e,this.contextual=!!i.contextual,this.fallback=!!i.fallback,this.extend=!!i.extend}}function ib(t,e,i,n,r,s){let o=0,l=1<0){let p=t[d];if(a.allows(p)&&(e.token.value==-1||e.token.value==p||qP(p,e.token.value,r,s))){e.acceptToken(p);break}}let c=e.next,h=0,f=t[o+2];if(e.next<0&&f>h&&t[u+f*3-3]==65535){o=t[u+f*3-1];continue e}for(;h>1,p=u+d+(d<<1),m=t[p],O=t[p+1]||65536;if(c=O)h=d+1;else{o=t[p+2],e.advance();continue e}}break}}function sp(t,e,i){for(let n=e,r;(r=t[n])!=65535;n++)if(r==i)return n-e;return-1}function qP(t,e,i,n){let r=sp(i,n,e);return r<0||sp(i,n,t)e)&&!n.type.isError)return i<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(t.length,Math.max(n.from+1,e+25));if(i<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return i<0?0:t.length}}class WP{constructor(e,i){this.fragments=e,this.nodeSet=i,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?op(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?op(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=o,null;if(s instanceof se){if(o==e){if(o=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(o),this.index.push(0))}else this.index[i]++,this.nextStart=o+s.length}}}class YP{constructor(e,i){this.stream=i,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(n=>new ll)}getActions(e){let i=0,n=null,{parser:r}=e.p,{tokenizers:s}=r,o=r.stateSlot(e.state,3),l=e.curContext?e.curContext.hash:0,a=0;for(let u=0;uh.end+25&&(a=Math.max(h.lookAhead,a)),h.value!=0)){let f=i;if(h.extended>-1&&(i=this.addActions(e,h.extended,h.end,i)),i=this.addActions(e,h.value,h.end,i),!c.extend&&(n=h,i>f))break}}for(;this.actions.length>i;)this.actions.pop();return a&&e.setLookAhead(a),!n&&e.pos==this.stream.end&&(n=new ll,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,i=this.addActions(e,n.value,n.end,i)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let i=new ll,{pos:n,p:r}=e;return i.start=n,i.end=Math.min(n+1,r.stream.end),i.value=n==r.stream.end?r.parser.eofTerm:0,i}updateCachedToken(e,i,n){let r=this.stream.clipPos(n.pos);if(i.token(this.stream.reset(r,e),n),e.value>-1){let{parser:s}=n.p;for(let o=0;o=0&&n.p.parser.dialect.allows(l>>1)){(l&1)==0?e.value=l>>1:e.extended=l>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,i,n,r){for(let s=0;se.bufferLength*4?new WP(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,i=this.minStackPos,n=this.stacks=[],r,s;if(this.bigReductionCount>300&&e.length==1){let[o]=e;for(;o.forceReduce()&&o.stack.length&&o.stack[o.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;oi)n.push(l);else{if(this.advanceStack(l,n,e))continue;{r||(r=[],s=[]),r.push(l);let a=this.tokens.getMainToken(l);s.push(a.value,a.end)}}break}}if(!n.length){let o=r&&UP(r);if(o)return kt&&console.log("Finish with "+this.stackID(o)),this.stackToTree(o);if(this.parser.strict)throw kt&&r&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+i);this.recovering||(this.recovering=5)}if(this.recovering&&r){let o=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,s,n);if(o)return kt&&console.log("Force-finish "+this.stackID(o)),this.stackToTree(o.forceAll())}if(this.recovering){let o=this.recovering==1?1:this.recovering*3;if(n.length>o)for(n.sort((l,a)=>a.score-l.score);n.length>o;)n.pop();n.some(l=>l.reducePos>i)&&this.recovering--}else if(n.length>1){e:for(let o=0;o500&&u.buffer.length>500)if((l.score-u.score||l.buffer.length-u.buffer.length)>0)n.splice(a--,1);else{n.splice(o--,1);continue e}}}n.length>12&&(n.sort((o,l)=>l.score-o.score),n.splice(12,n.length-12))}this.minStackPos=n[0].pos;for(let o=1;o ":"";if(this.stoppedAt!=null&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let u=e.curContext&&e.curContext.tracker.strict,c=u?e.curContext.hash:0;for(let h=this.fragments.nodeAt(r);h;){let f=this.parser.nodeSet.types[h.type.id]==h.type?s.getGoto(e.state,h.type.id):-1;if(f>-1&&h.length&&(!u||(h.prop(K.contextHash)||0)==c))return e.useNode(h,f),kt&&console.log(o+this.stackID(e)+` (via reuse of ${s.getName(h.type.id)})`),!0;if(!(h instanceof se)||h.children.length==0||h.positions[0]>0)break;let d=h.children[0];if(d instanceof se&&h.positions[0]==0)h=d;else break}}let l=s.stateSlot(e.state,4);if(l>0)return e.reduce(l),kt&&console.log(o+this.stackID(e)+` (via always-reduce ${s.getName(l&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let a=this.tokens.getActions(e);for(let u=0;ur?i.push(p):n.push(p)}return!1}advanceFully(e,i){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return lp(e,i),!0}}runRecovery(e,i,n){let r=null,s=!1;for(let o=0;o ":"";if(l.deadEnd&&(s||(s=!0,l.restart(),kt&&console.log(c+this.stackID(l)+" (restarted)"),this.advanceFully(l,n))))continue;let h=l.split(),f=c;for(let d=0;d<10&&h.forceReduce()&&(kt&&console.log(f+this.stackID(h)+" (via force-reduce)"),!this.advanceFully(h,n));d++)kt&&(f=this.stackID(h)+" -> ");for(let d of l.recoverByInsert(a))kt&&console.log(c+this.stackID(d)+" (via recover-insert)"),this.advanceFully(d,n);this.stream.end>l.pos?(u==l.pos&&(u++,a=0),l.recoverByDelete(a,u),kt&&console.log(c+this.stackID(l)+` (via recover-delete ${this.parser.getName(a)})`),lp(l,n)):(!r||r.scoret;class nb{constructor(e){this.start=e.start,this.shift=e.shift||Ja,this.reduce=e.reduce||Ja,this.reuse=e.reuse||Ja,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class Pr extends ua{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let i=e.nodeNames.split(" ");this.minRepeatTerm=i.length;for(let l=0;le.topRules[l][1]),r=[];for(let l=0;l=0)s(c,a,l[u++]);else{let h=l[u+-c];for(let f=-c;f>0;f--)s(l[u++],a,h);u++}}}this.nodeSet=new Rr(i.map((l,a)=>ze.define({name:a>=this.minRepeatTerm?void 0:l,id:a,props:r[a],top:n.indexOf(a)>-1,error:a==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(a)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=vg;let o=ts(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let l=0;ltypeof l=="number"?new lr(o,l):l),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,i,n){let r=new NP(this,e,i,n);for(let s of this.wrappers)r=s(r,e,i,n);return r}getGoto(e,i,n=!1){let r=this.goto;if(i>=r[0])return-1;for(let s=r[i+1];;){let o=r[s++],l=o&1,a=r[s++];if(l&&n)return a;for(let u=s+(o>>1);s0}validAction(e,i){return!!this.allActions(e,n=>n==i?!0:null)}allActions(e,i){let n=this.stateSlot(e,4),r=n?i(n):void 0;for(let s=this.stateSlot(e,1);r==null;s+=3){if(this.data[s]==65535)if(this.data[s+1]==1)s=Ti(this.data,s+2);else break;r=i(Ti(this.data,s+1))}return r}nextStates(e){let i=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=Ti(this.data,n+2);else break;if((this.data[n+2]&1)==0){let r=this.data[n+1];i.some((s,o)=>o&1&&s==r)||i.push(this.data[n],r)}}return i}configure(e){let i=Object.assign(Object.create(Pr.prototype),this);if(e.props&&(i.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);i.top=n}return e.tokenizers&&(i.tokenizers=this.tokenizers.map(n=>{let r=e.tokenizers.find(s=>s.from==n);return r?r.to:n})),e.specializers&&(i.specializers=this.specializers.slice(),i.specializerSpecs=this.specializerSpecs.map((n,r)=>{let s=e.specializers.find(l=>l.from==n.external);if(!s)return n;let o=Object.assign(Object.assign({},n),{external:s.to});return i.specializers[r]=ap(o),o})),e.contextTracker&&(i.context=e.contextTracker),e.dialect&&(i.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(i.strict=e.strict),e.wrap&&(i.wrappers=i.wrappers.concat(e.wrap)),e.bufferLength!=null&&(i.bufferLength=e.bufferLength),i}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let i=this.dynamicPrecedences;return i==null?0:i[e]||0}parseDialect(e){let i=Object.keys(this.dialects),n=i.map(()=>!1);if(e)for(let s of e.split(" ")){let o=i.indexOf(s);o>=0&&(n[o]=!0)}let r=null;for(let s=0;sn)&&i.p.parser.stateFlag(i.state,2)&&(!e||e.scoret.external(i,n)<<1|e}return t.get}const HP=55,KP=1,JP=56,eC=2,tC=57,iC=3,up=4,nC=5,$h=6,rb=7,sb=8,ob=9,lb=10,rC=11,sC=12,oC=13,eu=58,lC=14,aC=15,cp=59,ab=21,uC=23,ub=24,cC=25,gc=27,cb=28,hC=29,fC=32,dC=35,pC=37,mC=38,OC=0,gC=1,bC={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},vC={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},hp={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function yC(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}let fp=null,dp=null,pp=0;function bc(t,e){let i=t.pos+e;if(pp==i&&dp==t)return fp;let n=t.peek(e),r="";for(;yC(n);)r+=String.fromCharCode(n),n=t.peek(++e);return dp=t,pp=i,fp=r?r.toLowerCase():n==xC||n==kC?void 0:null}const hb=60,Wl=62,Qh=47,xC=63,kC=33,SC=45;function mp(t,e){this.name=t,this.parent=e}const wC=[$h,lb,rb,sb,ob],$C=new nb({start:null,shift(t,e,i,n){return wC.indexOf(e)>-1?new mp(bc(n,1)||"",t):t},reduce(t,e){return e==ab&&t?t.parent:t},reuse(t,e,i,n){let r=e.type.id;return r==$h||r==pC?new mp(bc(n,1)||"",t):t},strict:!1}),QC=new Zt((t,e)=>{if(t.next!=hb){t.next<0&&e.context&&t.acceptToken(eu);return}t.advance();let i=t.next==Qh;i&&t.advance();let n=bc(t,0);if(n===void 0)return;if(!n)return t.acceptToken(i?aC:lC);let r=e.context?e.context.name:null;if(i){if(n==r)return t.acceptToken(rC);if(r&&vC[r])return t.acceptToken(eu,-2);if(e.dialectEnabled(OC))return t.acceptToken(sC);for(let s=e.context;s;s=s.parent)if(s.name==n)return;t.acceptToken(oC)}else{if(n=="script")return t.acceptToken(rb);if(n=="style")return t.acceptToken(sb);if(n=="textarea")return t.acceptToken(ob);if(bC.hasOwnProperty(n))return t.acceptToken(lb);r&&hp[r]&&hp[r][n]?t.acceptToken(eu,-1):t.acceptToken($h)}},{contextual:!0}),_C=new Zt(t=>{for(let e=0,i=0;;i++){if(t.next<0){i&&t.acceptToken(cp);break}if(t.next==SC)e++;else if(t.next==Wl&&e>=2){i>=3&&t.acceptToken(cp,-2);break}else e=0;t.advance()}});function PC(t){for(;t;t=t.parent)if(t.name=="svg"||t.name=="math")return!0;return!1}const CC=new Zt((t,e)=>{if(t.next==Qh&&t.peek(1)==Wl){let i=e.dialectEnabled(gC)||PC(e.context);t.acceptToken(i?nC:up,2)}else t.next==Wl&&t.acceptToken(up,1)});function _h(t,e,i){let n=2+t.length;return new Zt(r=>{for(let s=0,o=0,l=0;;l++){if(r.next<0){l&&r.acceptToken(e);break}if(s==0&&r.next==hb||s==1&&r.next==Qh||s>=2&&so?r.acceptToken(e,-o):r.acceptToken(i,-(o-2));break}else if((r.next==10||r.next==13)&&l){r.acceptToken(e,1);break}else s=o=0;r.advance()}})}const TC=_h("script",HP,KP),AC=_h("style",JP,eC),EC=_h("textarea",tC,iC),RC=Dr({"Text RawText IncompleteTag IncompleteCloseTag":k.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":k.angleBracket,TagName:k.tagName,"MismatchedCloseTag/TagName":[k.tagName,k.invalid],AttributeName:k.attributeName,"AttributeValue UnquotedAttributeValue":k.attributeValue,Is:k.definitionOperator,"EntityReference CharacterReference":k.character,Comment:k.blockComment,ProcessingInst:k.processingInstruction,DoctypeDecl:k.documentMeta}),DC=Pr.deserialize({version:14,states:",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO!jQ#tO'#DRO!oQ#tO'#DTO!tOaO'#CqO#PObO'#CqO#[OdO'#CqO$kO!rO'#CqOOO`'#Cq'#CqO$rO$fO'#DUO$zQ#tO'#DWO%PQ#t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WQOXROYTOZqO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O!eZO~O![rO~P#gO!]sO!fuO~OgvO~OgwO~OS|OT}OiyO~OS!POT}OiyO~OS!ROT}OiyO~OS!TOT}OiyO~OS}OT}OiyO~O!XfOPmX![mX~OP!WO![!XO~O!YiOQpX![pX~OQ!ZO![!XO~O!ZlORsX![sX~OR!]O![!XO~O![!XO~P#gOg!_O~O!]sO!f!aO~OS!bO~OS!cO~Oj!dOShXThXihX~OS!fOT!gOiyO~OS!hOT!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~",goto:"%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:68,context:$C,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,22,31,34,37,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,30,33,36,38,"OpenTag"],["group",-10,14,15,18,19,20,21,40,41,42,43,"Entity",17,"Entity TextContent",-3,29,32,35,"TextContent Entity"],["isolate",-11,22,30,31,33,34,36,37,38,39,42,43,"ltr",-3,27,28,40,""]],propSources:[RC],skippedNodes:[0],repeatNodeCount:9,tokenData:"!]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zblWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOb!R!R7tP;=`<%l7S!Z8OYlWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{iiSlWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbiSlWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VP<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXiSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?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m.from:c.to;if(O>h.to)return{parser:p.parser,overlay:[{from:h.to,to:O}]}}}}if(o&&u==ub){let c=l.node,h;if(h=c.firstChild){let f=o[a.read(h.from,h.to)];if(f)for(let d of f){if(d.tagName&&d.tagName!=Op(c.parent,a))continue;let p=c.lastChild;if(p.type.id==gc){let m=p.from+1,O=p.lastChild,g=p.to-(O&&O.isError?0:1);if(g>m)return{parser:d.parser,overlay:[{from:m,to:g}],bracketed:!0}}else if(p.type.id==cb)return{parser:d.parser,overlay:[{from:p.from,to:p.to}]}}}}return null})}const LC=145,gp=1,MC=146,ZC=147,pb=2,IC=148,XC=3,zC=4,mb=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],jC=58,FC=40,Ob=95,BC=91,al=45,VC=46,qC=35,WC=37,YC=38,NC=92,GC=10,UC=42;function Bs(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}function Ph(t){return t>=48&&t<=57}function bp(t){return Ph(t)||t>=97&&t<=102||t>=65&&t<=70}const gb=(t,e,i)=>(n,r)=>{for(let s=!1,o=0,l=0;;l++){let{next:a}=n;if(Bs(a)||a==al||a==Ob||s&&Ph(a))!s&&(a!=al||l>0)&&(s=!0),o===l&&a==al&&o++,n.advance();else if(a==NC&&n.peek(1)!=GC){if(n.advance(),bp(n.next)){do n.advance();while(bp(n.next));n.next==32&&n.advance()}else n.next>-1&&n.advance();s=!0}else{s&&n.acceptToken(o==2&&r.canShift(pb)?e:a==FC?i:t);break}}},HC=new Zt(gb(MC,pb,ZC),{contextual:!0}),KC=new Zt(gb(IC,XC,zC),{contextual:!0}),JC=new Zt(t=>{if(mb.includes(t.peek(-1))){let{next:e}=t;(Bs(e)||e==Ob||e==qC||e==VC||e==UC||e==BC||e==jC&&Bs(t.peek(1))||e==al||e==YC)&&t.acceptToken(LC)}}),eT=new Zt(t=>{if(!mb.includes(t.peek(-1))){let{next:e}=t;if(e==WC&&(t.advance(),t.acceptToken(gp)),Bs(e)){do t.advance();while(Bs(t.next)||Ph(t.next));t.acceptToken(gp)}}}),tT=Dr({"AtKeyword import charset namespace keyframes media supports font-feature-values":k.definitionKeyword,"from to selector scope MatchFlag":k.keyword,NamespaceName:k.namespace,KeyframeName:k.labelName,KeyframeRangeName:k.operatorKeyword,TagName:k.tagName,ClassName:k.className,PseudoClassName:k.constant(k.className),IdName:k.labelName,"FeatureName PropertyName":k.propertyName,AttributeName:k.attributeName,NumberLiteral:k.number,KeywordQuery:k.keyword,UnaryQueryOp:k.operatorKeyword,"CallTag ValueName FontName":k.atom,VariableName:k.variableName,Callee:k.operatorKeyword,Unit:k.unit,"UniversalSelector NestingSelector":k.definitionOperator,"MatchOp CompareOp":k.compareOperator,"ChildOp SiblingOp, LogicOp":k.logicOperator,BinOp:k.arithmeticOperator,Important:k.modifier,Comment:k.blockComment,ColorLiteral:k.color,"ParenthesizedContent StringLiteral":k.string,":":k.punctuation,"PseudoOp #":k.derefOperator,"; , |":k.separator,"( )":k.paren,"[ ]":k.squareBracket,"{ }":k.brace}),iT={__proto__:null,lang:44,"nth-child":44,"nth-last-child":44,"nth-of-type":44,"nth-last-of-type":44,dir:44,"host-context":44,if:90,url:152,"url-prefix":152,domain:152,regexp:152},nT={__proto__:null,or:104,and:104,not:112,only:112,layer:206},rT={__proto__:null,selector:118,style:124,layer:202},sT={__proto__:null,"@import":198,"@media":210,"@charset":214,"@namespace":218,"@keyframes":224,"@supports":236,"@scope":240,"@font-feature-values":246},oT={__proto__:null,to:243},lT=Pr.deserialize({version:14,states:"MlQYQdOOO#}QdOOP$UO`OOO%OQaO'#CfOOQP'#Ce'#CeO%VQdO'#CgO%[Q`O'#CgO%aQaO'#FnO&XQdO'#CkO&xQaO'#CcO'SQdO'#CnO'_QdO'#EOO'dQdO'#EQO'oQdO'#EXO'oQdO'#E[OOQP'#Fn'#FnO)RQhO'#E}OOQS'#Fm'#FmOOQS'#FQ'#FQQYQdOOO)YQdO'#EbO*iQhO'#Eh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c#dFj#d;'S%j;'S;=`%{<%lO%jbFoU!o`Oy%jz#f%j#f#gGR#g;'S%j;'S;=`%{<%lO%jbGWU!o`Oy%jz#h%j#h#iGj#i;'S%j;'S;=`%{<%lO%jbGoU!o`Oy%jz#T%j#T#UHR#U;'S%j;'S;=`%{<%lO%jbHWU!o`Oy%jz#b%j#b#cHj#c;'S%j;'S;=`%{<%lO%jbHoU!o`Oy%jz#h%j#h#iIR#i;'S%j;'S;=`%{<%lO%jbIYS$pQ!o`Oy%jz;'S%j;'S;=`%{<%lO%jjIkSsYOy%jz;'S%j;'S;=`%{<%lO%jfI|U$cUOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%jjJeSrYOy%jz;'S%j;'S;=`%{<%lO%jfJvU#PQOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%j`K]P;=`<%l%Z",tokenizers:[JC,eT,HC,KC,1,2,3,4,new ql("m~RRYZ[z{a~~g~aO$_~~dP!P!Qg~lO$`~~",28,152)],topRules:{StyleSheet:[0,6],Styles:[1,126]},dynamicPrecedences:{94:1},specialized:[{term:147,get:t=>iT[t]||-1},{term:148,get:t=>nT[t]||-1},{term:4,get:t=>rT[t]||-1},{term:28,get:t=>sT[t]||-1},{term:146,get:t=>oT[t]||-1}],tokenPrec:2405});let iu=null;function nu(){if(!iu&&typeof document=="object"&&document.body){let{style:t}=document.body,e=[],i=new Set;for(let n in t)n!="cssText"&&n!="cssFloat"&&typeof t[n]=="string"&&(/[A-Z]/.test(n)&&(n=n.replace(/[A-Z]/g,r=>"-"+r.toLowerCase())),i.has(n)||(e.push(n),i.add(n)));iu=e.sort().map(n=>({type:"property",label:n,apply:n+": "}))}return iu||[]}const vp=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(t=>({type:"class",label:t})),yp=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(t=>({type:"keyword",label:t})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(t=>({type:"constant",label:t}))),aT=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(t=>({type:"type",label:t})),uT=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supports","@view-transition"].map(t=>({type:"keyword",label:t})),Ci=/^(\w[\w-]*|-\w[\w-]*|)$/,cT=/^-(-[\w-]*)?$/;function hT(t,e){var i;if((t.name=="("||t.type.isError)&&(t=t.parent||t),t.name!="ArgList")return!1;let n=(i=t.parent)===null||i===void 0?void 0:i.firstChild;return(n==null?void 0:n.name)!="Callee"?!1:e.sliceString(n.from,n.to)=="var"}const xp=new Sg,fT=["Declaration"];function dT(t){for(let e=t;;){if(e.type.isTop)return e;if(!(e=e.parent))return t}}function bb(t,e,i){if(e.to-e.from>4096){let n=xp.get(e);if(n)return n;let r=[],s=new Set,o=e.cursor(ge.IncludeAnonymous);if(o.firstChild())do for(let l of bb(t,o.node,i))s.has(l.label)||(s.add(l.label),r.push(l));while(o.nextSibling());return xp.set(e,r),r}else{let n=[],r=new Set;return e.cursor().iterate(s=>{var o;if(i(s)&&s.matchContext(fT)&&((o=s.node.nextSibling)===null||o===void 0?void 0:o.name)==":"){let l=t.sliceString(s.from,s.to);r.has(l)||(r.add(l),n.push({label:l,type:"variable"}))}}),n}}const vb=t=>e=>{let{state:i,pos:n}=e,r=Re(i).resolveInner(n,-1),s=r.type.isError&&r.from==r.to-1&&i.doc.sliceString(r.from,r.to)=="-";if(r.name=="PropertyName"||(s||r.name=="TagName")&&/^(Block|Styles)$/.test(r.resolve(r.to).name))return{from:r.from,options:nu(),validFor:Ci};if(r.name=="ValueName")return{from:r.from,options:yp,validFor:Ci};if(r.name=="PseudoClassName")return{from:r.from,options:vp,validFor:Ci};if(t(r)||(e.explicit||s)&&hT(r,i.doc))return{from:t(r)||s?r.from:n,options:bb(i.doc,dT(r),t),validFor:cT};if(r.name=="TagName"){for(let{parent:a}=r;a;a=a.parent)if(a.name=="Block")return{from:r.from,options:nu(),validFor:Ci};return{from:r.from,options:aT,validFor:Ci}}if(r.name=="AtKeyword")return{from:r.from,options:uT,validFor:Ci};if(!e.explicit)return null;let o=r.resolve(n),l=o.childBefore(n);return l&&l.name==":"&&o.name=="PseudoClassSelector"?{from:n,options:vp,validFor:Ci}:l&&l.name==":"&&o.name=="Declaration"||o.name=="ArgList"?{from:n,options:yp,validFor:Ci}:o.name=="Block"||o.name=="Styles"?{from:n,options:nu(),validFor:Ci}:null},yb=vb(t=>t.name=="VariableName"),Vs=Sr.define({name:"css",parser:lT.configure({props:[Mr.add({Declaration:ol()}),no.add({"Block KeyframeList":Ag})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function xb(){return new Qr(Vs,Vs.data.of({autocomplete:yb}))}const pT=Object.freeze(Object.defineProperty({__proto__:null,css:xb,cssCompletionSource:yb,cssLanguage:Vs,defineCSSCompletionSource:vb},Symbol.toStringTag,{value:"Module"})),mT=316,OT=317,kp=1,gT=2,bT=3,vT=4,yT=318,xT=320,kT=321,ST=5,wT=6,$T=0,vc=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],kb=125,QT=59,yc=47,_T=42,PT=43,CT=45,TT=60,AT=44,ET=63,RT=46,DT=91,LT=new nb({start:!1,shift(t,e){return e==ST||e==wT||e==xT?t:e==kT},strict:!1}),MT=new Zt((t,e)=>{let{next:i}=t;(i==kb||i==-1||e.context)&&t.acceptToken(yT)},{contextual:!0,fallback:!0}),ZT=new Zt((t,e)=>{let{next:i}=t,n;vc.indexOf(i)>-1||i==yc&&((n=t.peek(1))==yc||n==_T)||i!=kb&&i!=QT&&i!=-1&&!e.context&&t.acceptToken(mT)},{contextual:!0}),IT=new Zt((t,e)=>{t.next==DT&&!e.context&&t.acceptToken(OT)},{contextual:!0}),XT=new Zt((t,e)=>{let{next:i}=t;if(i==PT||i==CT){if(t.advance(),i==t.next){t.advance();let n=!e.context&&e.canShift(kp);t.acceptToken(n?kp:gT)}}else i==ET&&t.peek(1)==RT&&(t.advance(),t.advance(),(t.next<48||t.next>57)&&t.acceptToken(bT))},{contextual:!0});function ru(t,e){return t>=65&&t<=90||t>=97&&t<=122||t==95||t>=192||!e&&t>=48&&t<=57}const zT=new Zt((t,e)=>{if(t.next!=TT||!e.dialectEnabled($T)||(t.advance(),t.next==yc))return;let i=0;for(;vc.indexOf(t.next)>-1;)t.advance(),i++;if(ru(t.next,!0)){for(t.advance(),i++;ru(t.next,!1);)t.advance(),i++;for(;vc.indexOf(t.next)>-1;)t.advance(),i++;if(t.next==AT)return;for(let n=0;;n++){if(n==7){if(!ru(t.next,!0))return;break}if(t.next!="extends".charCodeAt(n))break;t.advance(),i++}}t.acceptToken(vT,-i)}),jT=Dr({"get set async static":k.modifier,"for while do if else switch try catch finally return throw break continue default case defer":k.controlKeyword,"in of await yield void typeof delete instanceof as satisfies":k.operatorKeyword,"let var const using function class extends":k.definitionKeyword,"import export from":k.moduleKeyword,"with debugger new":k.keyword,TemplateString:k.special(k.string),super:k.atom,BooleanLiteral:k.bool,this:k.self,null:k.null,Star:k.modifier,VariableName:k.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":k.function(k.variableName),VariableDefinition:k.definition(k.variableName),Label:k.labelName,PropertyName:k.propertyName,PrivatePropertyName:k.special(k.propertyName),"CallExpression/MemberExpression/PropertyName":k.function(k.propertyName),"FunctionDeclaration/VariableDefinition":k.function(k.definition(k.variableName)),"ClassDeclaration/VariableDefinition":k.definition(k.className),"NewExpression/VariableName":k.className,PropertyDefinition:k.definition(k.propertyName),PrivatePropertyDefinition:k.definition(k.special(k.propertyName)),UpdateOp:k.updateOperator,"LineComment Hashbang":k.lineComment,BlockComment:k.blockComment,Number:k.number,String:k.string,Escape:k.escape,ArithOp:k.arithmeticOperator,LogicOp:k.logicOperator,BitOp:k.bitwiseOperator,CompareOp:k.compareOperator,RegExp:k.regexp,Equals:k.definitionOperator,Arrow:k.function(k.punctuation),": Spread":k.punctuation,"( )":k.paren,"[ ]":k.squareBracket,"{ }":k.brace,"InterpolationStart InterpolationEnd":k.special(k.brace),".":k.derefOperator,", ;":k.separator,"@":k.meta,TypeName:k.typeName,TypeDefinition:k.definition(k.typeName),"type enum interface implements namespace module declare":k.definitionKeyword,"abstract global Privacy readonly override":k.modifier,"is keyof unique infer asserts":k.operatorKeyword,JSXAttributeValue:k.attributeValue,JSXText:k.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":k.angleBracket,"JSXIdentifier JSXNameSpacedName":k.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":k.attributeName,"JSXBuiltin/JSXIdentifier":k.standard(k.tagName)}),FT={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,in:52,out:55,const:56,extends:60,this:64,true:72,false:72,null:84,void:88,typeof:92,super:108,new:142,delete:154,yield:163,await:167,class:172,public:235,private:235,protected:235,readonly:237,instanceof:256,satisfies:259,import:292,keyof:349,unique:353,infer:359,asserts:395,is:397,abstract:417,implements:419,type:421,let:424,var:426,using:429,interface:435,enum:439,namespace:445,module:447,declare:451,global:455,defer:471,for:476,of:485,while:488,with:492,do:496,if:500,else:502,switch:506,case:512,try:518,catch:522,finally:526,return:530,throw:534,break:538,continue:542,debugger:546},BT={__proto__:null,async:129,get:131,set:133,declare:195,public:197,private:197,protected:197,static:199,abstract:201,override:203,readonly:209,accessor:211,new:401},VT={__proto__:null,"<":193},qT=Pr.deserialize({version:14,states:"$F|Q%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+oO#@ItO'#DaO.QQlO'#DgO.bQlO'#DrO%[QlO'#DzO0fQlO'#ESOOQ!0Lf'#E['#E[O1PQ`O'#EXOOQO'#Ep'#EpOOQO'#Il'#IlO1XQ`O'#GsO1dQ`O'#EoO1iQ`O'#EoO3hQ!0MxO'#JrO6[Q!0MxO'#JsO6uQ`O'#F]O6zQ,UO'#FtOOQ!0Lf'#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1jS8j5v:[R:[8kQ,[&_R1m,[Q5{1oR8m5{Q1{,fS6]1{8zR8z6_Q1U+rW5h1U5j8a:VQ5j1XQ8a5iR:V8bQ+w&QR1[+wQ2_,xR6m2_YrOXst#dQ&v!ZQ+a%mQ,r&rQ,t&tQ,u&uQ,w&wQ2Y,sS2],x2_R6l2[Q%opQ&z!_Q&}!aQ'P!bQ'R!cQ'q!uQ+`%lQ+l%zQ,Q&XQ,h&mQ-P&|W-p'k's't'wQ-w'oQ0X*nQ1P+mQ1c,PS2O,i,lQ2g-OQ2h-RQ2i-SQ2}-oW3P-r-s-v-xQ5a1QQ5m1_Q5q1eQ6V1uQ6a2QQ6k2ZU6z3O3R3UQ6}3SQ8]5bQ8e5oQ8g5rQ8l5zQ8u6WQ8{6`S9[6{7PQ9^7OQ:W8cQ:b8vQ:g8|Q:n9]Q;U:XQ;]:cQ;a:oQ;l;VR;o;^Q%zyQ'd!iQ'o!uU+m%{%|%}Q-W'VU-k'e'f'gS-o'k'uQ0Q*jS1Q+n+oQ2o-YS2{-l-mQ3S-tS4p0R0UQ5b1RQ6v2uQ6y2|Q7O3TU7{4r4s4vQ9z7}R;O9{S$wi>PR*{%VU%Ui%V>PR0f*yQ$viS(u#v+iS)c$b$cQ)e$dQ*[$xS*e${*YQ*t%OQ*u%QQ+Q%^Q+R%_Q+V%cQ.lPQ=}>XQ>O>YQ>Z>]R>[>^Q+O%]Q.nSR#[WR'Z!el!tQ!r!v!y!z'`'l'm'n-e-u1o5{5}S'V!e-]U*j$|*Z*oS-Y'W'_S0U*k*qQ0^*rQ2u-cQ4v0[R4{0_R({#xQ!fQT-d'`-e]!qQ!r'`-e1o5{Q#p]R'i < TypeParamList in out const TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast < ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate asserts is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration defer ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:380,context:LT,nodeProps:[["isolate",-8,5,6,14,37,39,51,53,55,""],["group",-26,9,17,19,68,207,211,215,216,218,221,224,234,237,243,245,247,249,252,258,264,266,268,270,272,274,275,"Statement",-34,13,14,32,35,36,42,51,54,55,57,62,70,72,76,80,82,84,85,110,111,120,121,136,139,141,142,143,144,145,147,148,167,169,171,"Expression",-23,31,33,37,41,43,45,173,175,177,178,180,181,182,184,185,186,188,189,190,201,203,205,206,"Type",-3,88,103,109,"ClassItem"],["openedBy",23,"<",38,"InterpolationStart",56,"[",60,"{",73,"(",160,"JSXStartCloseTag"],["closedBy",-2,24,168,">",40,"InterpolationEnd",50,"]",61,"}",74,")",165,"JSXEndTag"]],propSources:[jT],skippedNodes:[0,5,6,278],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$i&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$i&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FT[t]||-1},{term:343,get:t=>BT[t]||-1},{term:95,get:t=>VT[t]||-1}],tokenPrec:15201}),Ch=[mt("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),mt("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),mt("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),mt("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),mt("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),mt(`try { + \${} +} catch (\${error}) { + \${} +}`,{label:"try",detail:"/ catch block",type:"keyword"}),mt("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),mt(`if (\${}) { + \${} +} else { + \${} +}`,{label:"if",detail:"/ else block",type:"keyword"}),mt(`class \${name} { + constructor(\${params}) { + \${} + } +}`,{label:"class",detail:"definition",type:"keyword"}),mt('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),mt('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],Sb=Ch.concat([mt("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),mt("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),mt("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),Sp=new Sg,wb=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function Yr(t){return(e,i)=>{let n=e.node.getChild("VariableDefinition");return n&&i(n,t),!0}}const WT=["FunctionDeclaration"],YT={FunctionDeclaration:Yr("function"),ClassDeclaration:Yr("class"),ClassExpression:()=>!0,EnumDeclaration:Yr("constant"),TypeAliasDeclaration:Yr("type"),NamespaceDeclaration:Yr("namespace"),VariableDefinition(t,e){t.matchContext(WT)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null};function $b(t,e){let i=Sp.get(e);if(i)return i;let n=[],r=!0;function s(o,l){let a=t.sliceString(o.from,o.to);n.push({label:a,type:l})}return e.cursor(ge.IncludeAnonymous).iterate(o=>{if(r)r=!1;else if(o.name){let l=YT[o.name];if(l&&l(o,s)||wb.has(o.name))return!1}else if(o.to-o.from>8192){for(let l of $b(t,o.node))n.push(l);return!1}}),Sp.set(e,n),n}const Yl=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,Th=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function Qb(t){let e=Re(t.state).resolveInner(t.pos,-1);if(Th.indexOf(e.name)>-1)return null;let i=e.name=="VariableName"||e.to-e.from<20&&Yl.test(t.state.sliceDoc(e.from,e.to));if(!i&&!t.explicit)return null;let n=[];for(let r=e;r;r=r.parent)wb.has(r.name)&&(n=n.concat($b(t.state.doc,r)));return{options:n,from:i?e.from:t.pos,validFor:Yl}}function su(t,e,i){var n;let r=[];for(;;){let s=e.firstChild,o;if((s==null?void 0:s.name)=="VariableName")return r.push(t(s)),{path:r.reverse(),name:i};if((s==null?void 0:s.name)=="MemberExpression"&&((n=o=s.lastChild)===null||n===void 0?void 0:n.name)=="PropertyName")r.push(t(o)),e=s;else return null}}function _b(t){let e=n=>t.state.doc.sliceString(n.from,n.to),i=Re(t.state).resolveInner(t.pos,-1);return i.name=="PropertyName"?su(e,i.parent,e(i)):(i.name=="."||i.name=="?.")&&i.parent.name=="MemberExpression"?su(e,i.parent,""):Th.indexOf(i.name)>-1?null:i.name=="VariableName"||i.to-i.from<20&&Yl.test(e(i))?{path:[],name:e(i)}:i.name=="MemberExpression"?su(e,i,""):t.explicit?{path:[],name:""}:null}function NT(t,e){let i=t,n=[],r=new Set;for(let s=0;;s++){for(let l of(Object.getOwnPropertyNames||Object.keys)(t)){if(!/^[a-zA-Z_$\xaa-\uffdc][\w$\xaa-\uffdc]*$/.test(l)||r.has(l))continue;r.add(l);let a;try{a=i[l]}catch{continue}n.push({label:l,type:typeof a=="function"?/^[A-Z]/.test(l)?"class":e?"function":"method":e?"variable":"property",boost:-s})}let o=Object.getPrototypeOf(t);if(!o)return n;t=o}}function GT(t){let e=new Map;return i=>{let n=_b(i);if(!n)return null;let r=t;for(let o of n.path)if(r=r[o],!r)return null;let s=e.get(r);return s||e.set(r,s=NT(r,!n.path.length)),{from:i.pos-n.name.length,options:s,validFor:Yl}}}const qt=Sr.define({name:"javascript",parser:qT.configure({props:[Mr.add({IfStatement:ol({except:/^\s*({|else\b)/}),TryStatement:ol({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:M$,SwitchBody:t=>{let e=t.textAfter,i=/^\s*\}/.test(e),n=/^\s*(case|default)\b/.test(e);return t.baseIndent+(i?0:n?1:2)*t.unit},Block:L$({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>null,"Statement Property":ol({except:/^\s*{/}),JSXElement(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},JSXEscape(t){let e=/\s*\}/.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"JSXOpenTag JSXSelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),no.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":Ag,BlockComment(t){return{from:t.from+2,to:t.to-2}},JSXElement(t){let e=t.firstChild;if(!e||e.name=="JSXSelfClosingTag")return null;let i=t.lastChild;return{from:e.to,to:i.type.isError?t.to:i.from}},"JSXSelfClosingTag JSXOpenTag"(t){var e;let i=(e=t.firstChild)===null||e===void 0?void 0:e.nextSibling,n=t.lastChild;return!i||i.type.isError?null:{from:i.to,to:n.type.isError?t.to:n.from}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),Pb={test:t=>/^JSX/.test(t.name),facet:ca({commentTokens:{block:{open:"{/*",close:"*/}"}}})},Ah=qt.configure({dialect:"ts"},"typescript"),Eh=qt.configure({dialect:"jsx",props:[eh.add(t=>t.isTop?[Pb]:void 0)]}),Rh=qt.configure({dialect:"jsx ts",props:[eh.add(t=>t.isTop?[Pb]:void 0)]},"typescript");let Cb=t=>({label:t,type:"keyword"});const Tb="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(Cb),UT=Tb.concat(["declare","implements","private","protected","public"].map(Cb));function Ab(t={}){let e=t.jsx?t.typescript?Rh:Eh:t.typescript?Ah:qt,i=t.typescript?Sb.concat(UT):Ch.concat(Tb);return new Qr(e,[qt.data.of({autocomplete:A_(Th,P1(i))}),qt.data.of({autocomplete:Qb}),t.jsx?Eb:[]])}function HT(t){for(;;){if(t.name=="JSXOpenTag"||t.name=="JSXSelfClosingTag"||t.name=="JSXFragmentTag")return t;if(t.name=="JSXEscape"||!t.parent)return null;t=t.parent}}function wp(t,e,i=t.length){for(let n=e==null?void 0:e.firstChild;n;n=n.nextSibling)if(n.name=="JSXIdentifier"||n.name=="JSXBuiltin"||n.name=="JSXNamespacedName"||n.name=="JSXMemberExpression")return t.sliceString(n.from,Math.min(n.to,i));return""}const KT=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),Eb=W.inputHandler.of((t,e,i,n,r)=>{if((KT?t.composing:t.compositionStarted)||t.state.readOnly||e!=i||n!=">"&&n!="/"||!qt.isActiveAt(t.state,e,-1))return!1;let s=r(),{state:o}=s,l=o.changeByRange(a=>{var u;let{head:c}=a,h=Re(o).resolveInner(c-1,-1),f;if(h.name=="JSXStartTag"&&(h=h.parent),!(o.doc.sliceString(c-1,c)!=n||h.name=="JSXAttributeValue"&&h.to>c)){if(n==">"&&h.name=="JSXFragmentTag")return{range:a,changes:{from:c,insert:""}};if(n=="/"&&h.name=="JSXStartCloseTag"){let d=h.parent,p=d.parent;if(p&&d.from==c-2&&((f=wp(o.doc,p.firstChild,c))||((u=p.firstChild)===null||u===void 0?void 0:u.name)=="JSXFragmentTag")){let m=`${f}>`;return{range:E.cursor(c+m.length,-1),changes:{from:c,insert:m}}}}else if(n==">"){let d=HT(h);if(d&&d.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(o.doc.sliceString(c,c+2))&&(f=wp(o.doc,d,c)))return{range:a,changes:{from:c,insert:``}}}}return{range:a}});return l.changes.empty?!1:(t.dispatch([s,o.update(l,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});function JT(t,e){return e||(e={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},t.getRules().forEach((i,n)=>{var r;!((r=i.meta.docs)===null||r===void 0)&&r.recommended&&(e.rules[n]=2)})),i=>{let{state:n}=i,r=[];for(let{from:s,to:o}of qt.findRegions(n)){let l=n.doc.lineAt(s),a={line:l.number-1,col:s-l.from,pos:s};for(let u of t.verify(n.sliceDoc(s,o),e))r.push(e5(u,n.doc,a))}return r}}function $p(t,e,i,n){return i.line(t+n.line).from+e+(t==1?n.col-1:-1)}function e5(t,e,i){let n=$p(t.line,t.column,e,i),r={from:n,to:t.endLine!=null&&t.endColumn!=1?$p(t.endLine,t.endColumn,e,i):n,message:t.message,source:t.ruleId?"eslint:"+t.ruleId:"eslint",severity:t.severity==1?"warning":"error"};if(t.fix){let{range:s,text:o}=t.fix,l=s[0]+i.pos-n,a=s[1]+i.pos-n;r.actions=[{name:"fix",apply(u,c){u.dispatch({changes:{from:c+l,to:c+a,insert:o},scrollIntoView:!0})}}]}return r}const Vo=Object.freeze(Object.defineProperty({__proto__:null,autoCloseTags:Eb,completionPath:_b,esLint:JT,javascript:Ab,javascriptLanguage:qt,jsxLanguage:Eh,localCompletionSource:Qb,scopeCompletionSource:GT,snippets:Ch,tsxLanguage:Rh,typescriptLanguage:Ah,typescriptSnippets:Sb},Symbol.toStringTag,{value:"Module"})),Nr=["_blank","_self","_top","_parent"],ou=["ascii","utf-8","utf-16","latin1","latin1"],lu=["get","post","put","delete"],au=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],St=["true","false"],N={},t5={a:{attrs:{href:null,ping:null,type:null,media:null,target:Nr,hreflang:null}},abbr:N,address:N,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:N,aside:N,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:N,base:{attrs:{href:null,target:Nr}},bdi:N,bdo:N,blockquote:{attrs:{cite:null}},body:N,br:N,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:au,formmethod:lu,formnovalidate:["novalidate"],formtarget:Nr,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:N,center:N,cite:N,code:N,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:N,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:N,div:N,dl:N,dt:N,em:N,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:N,figure:N,footer:N,form:{attrs:{action:null,name:null,"accept-charset":ou,autocomplete:["on","off"],enctype:au,method:lu,novalidate:["novalidate"],target:Nr}},h1:N,h2:N,h3:N,h4:N,h5:N,h6:N,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:N,hgroup:N,hr:N,html:{attrs:{manifest:null}},i:N,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:au,formmethod:lu,formnovalidate:["novalidate"],formtarget:Nr,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:N,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:N,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:N,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:ou,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:N,noscript:N,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:N,param:{attrs:{name:null,value:null}},pre:N,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:N,rt:N,ruby:N,samp:N,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:ou}},section:N,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:N,source:{attrs:{src:null,type:null,media:null}},span:N,strong:N,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:N,summary:N,sup:N,table:N,tbody:N,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:N,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:N,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:N,time:{attrs:{datetime:null}},title:N,tr:N,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:N,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:N},Rb={accesskey:null,class:null,contenteditable:St,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:St,autocorrect:St,autocapitalize:St,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":St,"aria-autocomplete":["inline","list","both","none"],"aria-busy":St,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":St,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":St,"aria-hidden":St,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":St,"aria-multiselectable":St,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":St,"aria-relevant":null,"aria-required":St,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},Db="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(t=>"on"+t);for(let t of Db)Rb[t]=null;class qs{constructor(e,i){this.tags={...t5,...e},this.globalAttrs={...Rb,...i},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}qs.default=new qs;function Cr(t,e,i=t.length){if(!e)return"";let n=e.firstChild,r=n&&n.getChild("TagName");return r?t.sliceString(r.from,Math.min(r.to,i)):""}function Tr(t,e=!1){for(;t;t=t.parent)if(t.name=="Element")if(e)e=!1;else return t;return null}function Lb(t,e,i){let n=i.tags[Cr(t,Tr(e))];return(n==null?void 0:n.children)||i.allTags}function Dh(t,e){let i=[];for(let n=Tr(e);n&&!n.type.isTop;n=Tr(n.parent)){let r=Cr(t,n);if(r&&n.lastChild.name=="CloseTag")break;r&&i.indexOf(r)<0&&(e.name=="EndTag"||e.from>=n.firstChild.to)&&i.push(r)}return i}const Mb=/^[:\-\.\w\u00b7-\uffff]*$/;function Qp(t,e,i,n,r){let s=/\s*>/.test(t.sliceDoc(r,r+5))?"":">",o=Tr(i,i.name=="StartTag"||i.name=="TagName");return{from:n,to:r,options:Lb(t.doc,o,e).map(l=>({label:l,type:"type"})).concat(Dh(t.doc,i).map((l,a)=>({label:"/"+l,apply:"/"+l+s,type:"type",boost:99-a}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function _p(t,e,i,n){let r=/\s*>/.test(t.sliceDoc(n,n+5))?"":">";return{from:i,to:n,options:Dh(t.doc,e).map((s,o)=>({label:s,apply:s+r,type:"type",boost:99-o})),validFor:Mb}}function i5(t,e,i,n){let r=[],s=0;for(let o of Lb(t.doc,i,e))r.push({label:"<"+o,type:"type"});for(let o of Dh(t.doc,i))r.push({label:"",type:"type",boost:99-s++});return{from:n,to:n,options:r,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function n5(t,e,i,n,r){let s=Tr(i),o=s?e.tags[Cr(t.doc,s)]:null,l=o&&o.attrs?Object.keys(o.attrs):[],a=o&&o.globalAttrs===!1?l:l.length?l.concat(e.globalAttrNames):e.globalAttrNames;return{from:n,to:r,options:a.map(u=>({label:u,type:"property"})),validFor:Mb}}function r5(t,e,i,n,r){var s;let o=(s=i.parent)===null||s===void 0?void 0:s.getChild("AttributeName"),l=[],a;if(o){let u=t.sliceDoc(o.from,o.to),c=e.globalAttrs[u];if(!c){let h=Tr(i),f=h?e.tags[Cr(t.doc,h)]:null;c=(f==null?void 0:f.attrs)&&f.attrs[u]}if(c){let h=t.sliceDoc(n,r).toLowerCase(),f='"',d='"';/^['"]/.test(h)?(a=h[0]=='"'?/^[^"]*$/:/^[^']*$/,f="",d=t.sliceDoc(r,r+1)==h[0]?"":h[0],h=h.slice(1),n++):a=/^[^\s<>='"]*$/;for(let p of c)l.push({label:p,apply:f+p+d,type:"constant"})}}return{from:n,to:r,options:l,validFor:a}}function Zb(t,e){let{state:i,pos:n}=e,r=Re(i).resolveInner(n,-1),s=r.resolve(n);for(let o=n,l;s==r&&(l=r.childBefore(o));){let a=l.lastChild;if(!a||!a.type.isError||a.fromZb(n,r)}const s5=qt.parser.configure({top:"SingleExpression"}),zb=[{tag:"script",attrs:t=>t.type=="text/typescript"||t.lang=="ts",parser:Ah.parser},{tag:"script",attrs:t=>t.type=="text/babel"||t.type=="text/jsx",parser:Eh.parser},{tag:"script",attrs:t=>t.type=="text/typescript-jsx",parser:Rh.parser},{tag:"script",attrs(t){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(t.type)},parser:s5},{tag:"script",attrs(t){return!t.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(t.type)},parser:qt.parser},{tag:"style",attrs(t){return(!t.lang||t.lang=="css")&&(!t.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(t.type))},parser:Vs.parser}],jb=[{name:"style",parser:Vs.parser.configure({top:"Styles"})}].concat(Db.map(t=>({name:t,parser:qt.parser}))),Fb=Sr.define({name:"html",parser:DC.configure({props:[Mr.add({Element(t){let e=/^(\s*)(<\/)?/.exec(t.textAfter);return t.node.to<=t.pos+e[0].length?t.continue():t.lineIndent(t.node.from)+(e[2]?0:t.unit)},"OpenTag CloseTag SelfClosingTag"(t){return t.column(t.node.from)+t.unit},Document(t){if(t.pos+/\s*/.exec(t.textAfter)[0].lengtht.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-_"}}),Os=Fb.configure({wrap:db(zb,jb)});function Bb(t={}){let e="",i;t.matchClosingTags===!1&&(e="noMatch"),t.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(t.nestedLanguages&&t.nestedLanguages.length||t.nestedAttributes&&t.nestedAttributes.length)&&(i=db((t.nestedLanguages||[]).concat(zb),(t.nestedAttributes||[]).concat(jb)));let n=i?Fb.configure({wrap:i,dialect:e}):e?Os.configure({dialect:e}):Os;return new Qr(n,[Os.data.of({autocomplete:Xb(t)}),t.autoCloseTags!==!1?Vb:[],Ab().support,xb().support])}const Pp=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),Vb=W.inputHandler.of((t,e,i,n,r)=>{if(t.composing||t.state.readOnly||e!=i||n!=">"&&n!="/"||!Os.isActiveAt(t.state,e,-1))return!1;let s=r(),{state:o}=s,l=o.changeByRange(a=>{var u,c,h;let f=o.doc.sliceString(a.from-1,a.to)==n,{head:d}=a,p=Re(o).resolveInner(d,-1),m;if(f&&n==">"&&p.name=="EndTag"){let O=p.parent;if(((c=(u=O.parent)===null||u===void 0?void 0:u.lastChild)===null||c===void 0?void 0:c.name)!="CloseTag"&&(m=Cr(o.doc,O.parent,d))&&!Pp.has(m)){let g=d+(o.doc.sliceString(d,d+1)===">"?1:0),b=``;return{range:a,changes:{from:d,to:g,insert:b}}}}else if(f&&n=="/"&&p.name=="IncompleteCloseTag"){let O=p.parent;if(p.from==d-2&&((h=O.lastChild)===null||h===void 0?void 0:h.name)!="CloseTag"&&(m=Cr(o.doc,O,d))&&!Pp.has(m)){let g=d+(o.doc.sliceString(d,d+1)===">"?1:0),b=`${m}>`;return{range:E.cursor(d+b.length,-1),changes:{from:d,to:g,insert:b}}}}return{range:a}});return l.changes.empty?!1:(t.dispatch([s,o.update(l,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),o5=Object.freeze(Object.defineProperty({__proto__:null,autoCloseTags:Vb,html:Bb,htmlCompletionSource:Ib,htmlCompletionSourceWith:Xb,htmlLanguage:Os},Symbol.toStringTag,{value:"Module"})),qb=ca({commentTokens:{block:{open:""}}}),Wb=new K,Yb=PP.configure({props:[no.add(t=>!t.is("Block")||t.is("Document")||xc(t)!=null||l5(t)?void 0:(e,i)=>({from:i.doc.lineAt(e.from).to,to:e.to})),Wb.add(xc),Mr.add({Document:()=>null}),nn.add({Document:qb})]});function xc(t){let e=/^(?:ATX|Setext)Heading(\d)$/.exec(t.name);return e?+e[1]:void 0}function l5(t){return t.name=="OrderedList"||t.name=="BulletList"}function a5(t,e){let i=t;for(;;){let n=i.nextSibling,r;if(!n||(r=xc(n.type))!=null&&r<=e)break;i=n}return i.to}const u5=Z$.of((t,e,i)=>{for(let n=Re(t).resolveInner(i,-1);n&&!(n.fromi)return{from:i,to:s}}return null});function Lh(t){return new Dt(qb,t,[],"markdown")}const Nb=Lh(Yb),c5=Yb.configure([XP,jP,zP,FP,{props:[no.add({Table:(t,e)=>({from:e.doc.lineAt(t.from).to,to:t.to})})]}]),Ws=Lh(c5);function h5(t,e){return i=>{if(i&&t){let n=null;if(i=/\S*/.exec(i)[0],typeof t=="function"?n=t(i):n=C.matchLanguageName(t,i,!0),n instanceof C)return n.support?n.support.language.parser:Dn.getSkippingParser(n.load());if(n)return n.parser}return e?e.parser:null}}class uu{constructor(e,i,n,r,s,o,l){this.node=e,this.from=i,this.to=n,this.spaceBefore=r,this.spaceAfter=s,this.type=o,this.item=l}blank(e,i=!0){let n=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){for(;n.length0;r--)n+=" ";return n+(i?this.spaceAfter:"")}}marker(e,i){let n=this.node.name=="OrderedList"?String(+Ub(this.item,e)[2]+i):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function Gb(t,e){let i=[],n=[];for(let r=t;r;r=r.parent){if(r.name=="FencedCode")return n;(r.name=="ListItem"||r.name=="Blockquote")&&i.push(r)}for(let r=i.length-1;r>=0;r--){let s=i[r],o,l=e.lineAt(s.from),a=s.from-l.from;if(s.name=="Blockquote"&&(o=/^ *>( ?)/.exec(l.text.slice(a))))n.push(new uu(s,a,a+o[0].length,"",o[1],">",null));else if(s.name=="ListItem"&&s.parent.name=="OrderedList"&&(o=/^( *)\d+([.)])( *)/.exec(l.text.slice(a)))){let u=o[3],c=o[0].length;u.length>=4&&(u=u.slice(0,u.length-4),c-=4),n.push(new uu(s.parent,a,a+c,o[1],u,o[2],s))}else if(s.name=="ListItem"&&s.parent.name=="BulletList"&&(o=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(l.text.slice(a)))){let u=o[4],c=o[0].length;u.length>4&&(u=u.slice(0,u.length-4),c-=4);let h=o[2];o[3]&&(h+=o[3].replace(/[xX]/," ")),n.push(new uu(s.parent,a,a+c,o[1],u,h,s))}}return n}function Ub(t,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(t.from,t.from+10))}function cu(t,e,i,n=0){for(let r=-1,s=t;;){if(s.name=="ListItem"){let l=Ub(s,e),a=+l[2];if(r>=0){if(a!=r+1)return;i.push({from:s.from+l[1].length,to:s.from+l[0].length,insert:String(r+2+n)})}r=a}let o=s.nextSibling;if(!o)break;s=o}}function Mh(t,e){let i=/^[ \t]*/.exec(t)[0].length;if(!i||e.facet(Lr)!=" ")return t;let n=Mi(t,4,i),r="";for(let s=n;s>0;)s>=4?(r+=" ",s-=4):(r+=" ",s--);return r+t.slice(i)}const Hb=(t={})=>({state:e,dispatch:i})=>{let n=Re(e),{doc:r}=e,s=null,o=e.changeByRange(l=>{if(!l.empty||!Ws.isActiveAt(e,l.from,-1)&&!Ws.isActiveAt(e,l.from,1))return s={range:l};let a=l.from,u=r.lineAt(a),c=Gb(n.resolveInner(a,-1),r);for(;c.length&&c[c.length-1].from>a-u.from;)c.pop();if(!c.length)return s={range:l};let h=c[c.length-1];if(h.to-h.spaceAfter.length>a-u.from)return s={range:l};let f=a>=h.to-h.spaceAfter.length&&!/\S/.test(u.text.slice(h.to));if(h.item&&f){let g=h.node.firstChild,b=h.node.getChild("ListItem","ListItem");if(g.to>=a||b&&b.to0&&!/[^\s>]/.test(r.lineAt(u.from-1).text)||t.nonTightLists===!1){let y=c.length>1?c[c.length-2]:null,w,v="";y&&y.item?(w=u.from+y.from,v=y.marker(r,1)):w=u.from+(y?y.to:0);let Q=[{from:w,to:a,insert:v}];return h.node.name=="OrderedList"&&cu(h.item,r,Q,-2),y&&y.node.name=="OrderedList"&&cu(y.item,r,Q),{range:E.cursor(w+v.length),changes:Q}}else{let y=Tp(c,e,u);return{range:E.cursor(a+y.length+1),changes:{from:u.from,insert:y+e.lineBreak}}}}if(h.node.name=="Blockquote"&&f&&u.from){let g=r.lineAt(u.from-1),b=/>\s*$/.exec(g.text);if(b&&b.index==h.from){let y=e.changes([{from:g.from+b.index,to:g.to},{from:u.from+h.from,to:u.to}]);return{range:l.map(y),changes:y}}}let d=[];h.node.name=="OrderedList"&&cu(h.item,r,d);let p=h.item&&h.item.from]*/.exec(u.text)[0].length>=h.to)for(let g=0,b=c.length-1;g<=b;g++)m+=g==b&&!p?c[g].marker(r,1):c[g].blank(gu.from&&/\s/.test(u.text.charAt(O-u.from-1));)O--;return m=Mh(m,e),f5(h.node,e.doc)&&(m=Tp(c,e,u)+e.lineBreak+m),d.push({from:O,to:a,insert:e.lineBreak+m}),{range:E.cursor(O+m.length+1),changes:d}});return s?!1:(i(e.update(o,{scrollIntoView:!0,userEvent:"input"})),!0)},Kb=Hb();function Cp(t){return t.name=="QuoteMark"||t.name=="ListMark"}function f5(t,e){if(t.name!="OrderedList"&&t.name!="BulletList")return!1;let i=t.firstChild,n=t.getChild("ListItem","ListItem");if(!n)return!1;let r=e.lineAt(i.to),s=e.lineAt(n.from),o=/^[\s>]*$/.test(r.text);return r.number+(o?0:1){let i=Re(t),n=null,r=t.changeByRange(s=>{let o=s.from,{doc:l}=t;if(s.empty&&Ws.isActiveAt(t,s.from)){let a=l.lineAt(o),u=Gb(d5(i,o),l);if(u.length){let c=u[u.length-1],h=c.to-c.spaceAfter.length+(c.spaceAfter?1:0);if(o-a.from>h&&!/\S/.test(a.text.slice(h,o-a.from)))return{range:E.cursor(a.from+h),changes:{from:a.from+h,to:o}};if(o-a.from==h&&(!c.item||a.from<=c.item.from||!/\S/.test(a.text.slice(0,c.to)))){let f=a.from+c.from;if(c.item&&c.node.from{var i;let{main:n}=e.state.selection;if(n.empty)return!1;let r=(i=t.clipboardData)===null||i===void 0?void 0:i.getData("text/plain");if(!r||!/^(https?:\/\/|mailto:|xmpp:|www\.)/.test(r)||(/^www\./.test(r)&&(r="https://"+r),!Ws.isActiveAt(e.state,n.from,1)))return!1;let s=Re(e.state),o=!1;return s.iterate({from:n.from,to:n.to,enter:l=>{(l.from>n.from||O5.test(l.name))&&(o=!0)},leave:l=>{l.to{const i=ht({props:t,ctx:e},"trigger"),n=ht({props:t,ctx:e});return $("div",{class:[`${x}-toolbar-item`,t.disabled&&`${x}-disabled`],title:t.title,onClick:r=>{var s;t.disabled||((s=t.onClick)==null||s.call(t,r),e.emit("onClick",r))}},[n||i])}}});gs.install=t=>(t.component(gs.name,gs),t);function v5(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!kv(t)}const y5={title:{type:String,default:""},modalTitle:{type:[String,Object],default:""},visible:{type:Boolean,default:void 0},width:{type:String,default:"auto"},height:{type:String,default:"auto"},trigger:{type:[String,Object],default:void 0},onClick:{type:Function,default:void 0},onClose:{type:Function,default:void 0},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function,default:void 0},class:{type:String,default:void 0},style:{type:[Object,String],default:void 0},showMask:{type:Boolean,default:!0},insert:{type:Function,default:void 0},language:{type:String,default:void 0},theme:{type:String,default:void 0},previewTheme:{type:String,default:void 0},codeTheme:{type:String,default:void 0},disabled:{type:Boolean,default:void 0},showToolbarName:{type:Boolean,default:void 0}},bs=Te({name:"ModalToolbar",props:y5,emits:["onClick","onClose","onAdjust"],setup(t,e){return()=>{const i=ht({props:t,ctx:e},"trigger"),n=ht({props:t,ctx:e},"modalTitle"),r=ht({props:t,ctx:e});return $(Gs,null,[$("div",{class:[`${x}-toolbar-item`,t.disabled&&`${x}-disabled`],title:t.title,onClick:()=>{var s;t.disabled||((s=t.onClick)==null||s.call(t),e.emit("onClick"))}},[i]),$(_n,{style:t.style,class:t.class,width:t.width,height:t.height,title:n,visible:t.visible,showMask:t.showMask,onClose:()=>{var s;(s=t.onClose)==null||s.call(t),e.emit("onClose")},showAdjust:t.showAdjust,isFullscreen:t.isFullscreen,onAdjust:s=>{var o;(o=t.onAdjust)==null||o.call(t,s),e.emit("onAdjust",s)}},v5(r)?r:{default:()=>[r]})])}}});bs.install=t=>(t.component(bs.name,bs),t);var x5=Object.defineProperty,k5=(t,e,i)=>e in t?x5(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Fi=(t,e,i)=>k5(t,typeof e!="symbol"?e+"":e,i);const S5=Te({name:`${x}-divider`,setup(){return()=>$("div",{class:`${x}-divider`},null)}}),w5={noPrettier:{type:Boolean},toolbars:{type:Array,default:()=>[]},toolbarsExclude:{type:Array,default:()=>[]},setting:{type:Object,default:()=>({})},screenfull:{type:Object,default:null},screenfullJs:{type:String,default:""},updateSetting:{type:Function,default:()=>{}},tableShape:{type:Array,default:()=>[6,4]},defToolbars:{type:Object},noUploadImg:{type:Boolean},showToolbarName:{type:Boolean},catalogVisible:{type:Boolean},codeTheme:{type:String},insertLinkDirect:{type:Boolean}},$5=t=>{const e=H("editorId"),{editorExtensions:i,editorExtensionsAttrs:n}=Me;let r=i.screenfull.instance;const s=pe(!1),o=u=>{if(!r){X.emit(e,hn,{name:"fullscreen",message:"fullscreen is undefined"});return}r.isEnabled?(s.value=!0,(u===void 0?!r.isFullscreen:u)?r.request():r.exit()):console.error("browser does not support screenfull!")},l=()=>{r&&r.isEnabled&&r.on("change",()=>{(s.value||t.setting.fullscreen)&&(s.value=!1,t.updateSetting("fullscreen"))})},a=()=>{r=window.screenfull,l()};return Ae(()=>{var u;l(),r||zt("script",{...(u=n.screenfull)==null?void 0:u.js,src:i.screenfull.js,id:bt.screenfull,onload:a},"screenfull")}),Ae(()=>{X.on(e,{name:em,callback:o})}),{fullscreenHandler:o}},Q5={tableShape:{type:Array,default:()=>[6,4]},onSelected:{type:Function,default:()=>{}}},_5=Te({name:"TableShape",props:Q5,setup(t){const e=ct({x:-1,y:-1}),i=He(()=>JSON.stringify(t.tableShape)),n=()=>{const s=[...JSON.parse(i.value)];return(!s[2]||s[2]{r.value=n()}),()=>$("div",{class:`${x}-table-shape`,onMouseleave:()=>{r.value=n(),e.x=-1,e.y=-1}},[new Array(r.value[1]).fill("").map((s,o)=>$("div",{class:`${x}-table-shape-row`,key:`table-shape-row-${o}`},[new Array(r.value[0]).fill("").map((l,a)=>$("div",{class:`${x}-table-shape-col`,key:`table-shape-col-${a}`,onMouseenter:()=>{e.x=o,e.y=a,a+1===r.value[0]&&a+1t.tableShape[0]&&r.value[0]--,o+1===r.value[1]&&o+1t.tableShape[1]&&r.value[1]--},onClick:()=>{t.onSelected(e)}},[$("div",{class:[`${x}-table-shape-col-default`,o<=e.x&&a<=e.y&&`${x}-table-shape-col-include`]},null)]))]))])}}),P5={type:{type:String,default:"link"},visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},C5=Te({name:`${x}-modal-link`,props:P5,setup(t){const e=H("usedLanguageText"),i=H("editorId"),n=He(()=>{var s,o;switch(t.type){case"link":return(s=e.value.linkModalTips)==null?void 0:s.linkTitle;case"image":return(o=e.value.linkModalTips)==null?void 0:o.imageTitle;default:return""}}),r=ct({desc:"",url:""});return te(()=>t.visible,s=>{s||setTimeout(()=>{r.desc="",r.url=""},200)}),()=>$(_n,{title:n.value,visible:t.visible,onClose:t.onCancel},{default:()=>{var s,o,l,a,u;return[$("div",{class:`${x}-form-item`},[$("label",{class:`${x}-label`,for:`link-desc-${i}`},[(s=e.value.linkModalTips)==null?void 0:s.descLabel]),$("input",{placeholder:(o=e.value.linkModalTips)==null?void 0:o.descLabelPlaceHolder,class:`${x}-input`,id:`link-desc-${i}`,type:"text",value:r.desc,onChange:c=>{r.desc=c.target.value},autocomplete:"off"},null)]),$("div",{class:`${x}-form-item`},[$("label",{class:`${x}-label`,for:`link-url-${i}`},[(l=e.value.linkModalTips)==null?void 0:l.urlLabel]),$("input",{placeholder:(a=e.value.linkModalTips)==null?void 0:a.urlLabelPlaceHolder,class:`${x}-input`,id:`link-url-${i}`,type:"text",value:r.url,onChange:c=>{r.url=c.target.value},autocomplete:"off"},null)]),$("div",{class:`${x}-form-item`},[$("button",{class:[`${x}-btn`,`${x}-btn-row`],type:"button",onClick:()=>{t.onOk(r),r.desc="",r.url=""}},[(u=e.value.linkModalTips)==null?void 0:u.buttonOK])])]}})}}),T5={visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},A5=Te({name:`${x}-modal-clip`,props:T5,setup(t){const e=H("usedLanguageText"),i=H("editorId"),n=H("rootRef");let r=Me.editorExtensions.cropper.instance;const s=pe(),o=pe(),l=pe(),a=ct({cropperInited:!1,imgSelected:!1,imgSrc:"",isFullscreen:!1});let u=null;te(()=>t.visible,()=>{t.visible&&!a.cropperInited&&(r=r||window.Cropper,s.value.onchange=()=>{if(!r){X.emit(i,hn,{name:"Cropper",message:"Cropper is undefined"});return}const h=s.value.files||[];if(a.imgSelected=!0,(h==null?void 0:h.length)>0){const f=new FileReader;f.onload=d=>{a.imgSrc=d.target.result},f.readAsDataURL(h[0])}})}),te(()=>[a.imgSelected],()=>{l.value.style=""}),te([si(()=>a.isFullscreen),si(()=>a.imgSrc)],()=>{a.imgSrc&&li(()=>{u==null||u.destroy(),l.value.style="",o.value&&(u=new r(o.value,{viewMode:2,preview:n.value.getRootNode().querySelector(`.${x}-clip-preview-target`)}))})});const c=()=>{u.clear(),u.destroy(),u=null,s.value.value="",a.imgSelected=!1,a.imgSrc=""};return()=>{var h;return $(_n,{class:`${x}-modal-clip`,title:(h=e.value.clipModalTips)==null?void 0:h.title,visible:t.visible,onClose:t.onCancel,showAdjust:!0,isFullscreen:a.isFullscreen,onAdjust:f=>{a.isFullscreen=f},width:"668px",height:"421px"},{default:()=>{var f,d,p;return[$("div",{class:`${x}-form-item ${x}-clip`},[$("div",{class:`${x}-clip-main`},[a.imgSelected?$("div",{class:`${x}-clip-cropper`},[$("img",{src:a.imgSrc,ref:o,style:{display:"none"},alt:""},null),$("div",{class:`${x}-clip-delete`,onClick:c},[$(ce,{name:"delete"},null)])]):$("div",{class:`${x}-clip-upload`,onClick:()=>{s.value.click()},role:"button",tabindex:"0","aria-label":(f=e.value.imgTitleItem)==null?void 0:f.upload},[$(ce,{name:"upload"},null)])]),$("div",{class:`${x}-clip-preview`},[$("div",{class:`${x}-clip-preview-target`,ref:l},null)])]),$("div",{class:`${x}-form-item`},[$("button",{class:`${x}-btn`,type:"button",onClick:()=>{if(u){const m=u.getCroppedCanvas();X.emit(i,Hl,[W2(m.toDataURL("image/png"))],t.onOk),c()}}},[((d=e.value.clipModalTips)==null?void 0:d.buttonUpload)||((p=e.value.linkModalTips)==null?void 0:p.buttonOK)])]),$("input",{ref:s,accept:"image/*",type:"file",multiple:!1,style:{display:"none"},"aria-hidden":"true"},null)]}})}}}),E5={type:{type:String,default:"link"},linkVisible:{type:Boolean,default:!1},clipVisible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},R5=Te({name:`${x}-modals`,props:E5,setup(t){return()=>$(Gs,null,[$(C5,{type:t.type,visible:t.linkVisible,onOk:t.onOk,onCancel:t.onCancel},null),$(A5,{visible:t.clipVisible,onOk:t.onOk,onCancel:t.onCancel},null)])}}),D5=Te({name:"MDEditorToolbar",props:w5,setup(t){const e=H("editorId"),i=H("usedLanguageText"),n=H("theme"),r=H("previewTheme"),s=H("language"),o=H("disabled"),{fullscreenHandler:l}=$5(t),a=`${e}-toolbar-wrapper`,u=pe(),c=ct({title:!1,catalog:!1,image:!1,table:!1,mermaid:!1,katex:!1}),h=(b,y)=>{if(o!=null&&o.value)return!1;X.emit(e,xe,b,y)},f=ct({type:"link",linkVisible:!1,clipVisible:!1}),d=pe();Ae(()=>{X.on(e,{name:bu,callback(b){f.type=b,f.linkVisible=!0}})});const p=He(()=>{const b=t.toolbars.filter(Q=>!t.toolbarsExclude.includes(Q)),y=b.indexOf("="),w=y===-1?b:b.slice(0,y+1),v=y===-1?[]:b.slice(y,Number.MAX_SAFE_INTEGER);return[w,v]}),m=pe(),O=()=>{X.emit(e,Hl,Array.from(m.value.files||[])),m.value.value=""};Ae(()=>{m.value.addEventListener("change",O)});const g=b=>{var y,w,v,Q,P,_,R,L,I,T,M,F,B,Y,J,ee,re,ue,ye,Oe,le,Se,et,Pi,dn,pn,ao,uo,In,Xn,co,ho,zn,fo,po,zr,zh,jh,Fh,Bh,Vh,qh,Wh,Yh,Nh,Gh,Uh,Hh,Kh,Jh,ef,tf,nf,rf,sf,of,lf,af,uf,cf,hf,ff,df,pf,mf,Of,gf,bf,vf,yf,xf,kf,Sf,wf,$f,Qf,_f,Pf,Cf,Tf,Af;if(wc.includes(b))switch(b){case"-":return $(S5,null,null);case"bold":return $("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(y=i.value.toolbarTips)==null?void 0:y.bold,onClick:()=>{h("bold")}},[$(ce,{name:"bold"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(w=i.value.toolbarTips)==null?void 0:w.bold])]);case"underline":return $("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(v=i.value.toolbarTips)==null?void 0:v.underline,onClick:()=>{h("underline")}},[$(ce,{name:"underline"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(Q=i.value.toolbarTips)==null?void 0:Q.underline])]);case"italic":return $("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(P=i.value.toolbarTips)==null?void 0:P.italic,onClick:()=>{h("italic")}},[$(ce,{name:"italic"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(_=i.value.toolbarTips)==null?void 0:_.italic])]);case"strikeThrough":return $("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(R=i.value.toolbarTips)==null?void 0:R.strikeThrough,onClick:()=>{h("strikeThrough")}},[$(ce,{name:"strike-through"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(L=i.value.toolbarTips)==null?void 0:L.strikeThrough])]);case"title":return $(Bn,{relative:`#${a}`,visible:c.title,onChange:ie=>{c.title=ie},disabled:o==null?void 0:o.value,overlay:$("ul",{class:`${x}-menu`,onClick:()=>{c.title=!1},role:"menu"},[$("li",{class:`${x}-menu-item ${x}-menu-item-title`,onClick:()=>{h("h1")},role:"menuitem",tabindex:"0"},[(I=i.value.titleItem)==null?void 0:I.h1]),$("li",{class:`${x}-menu-item ${x}-menu-item-title`,onClick:()=>{h("h2")},role:"menuitem",tabindex:"0"},[(T=i.value.titleItem)==null?void 0:T.h2]),$("li",{class:`${x}-menu-item ${x}-menu-item-title`,onClick:()=>{h("h3")},role:"menuitem",tabindex:"0"},[(M=i.value.titleItem)==null?void 0:M.h3]),$("li",{class:`${x}-menu-item ${x}-menu-item-title`,onClick:()=>{h("h4")},role:"menuitem",tabindex:"0"},[(F=i.value.titleItem)==null?void 0:F.h4]),$("li",{class:`${x}-menu-item ${x}-menu-item-title`,onClick:()=>{h("h5")},role:"menuitem",tabindex:"0"},[(B=i.value.titleItem)==null?void 0:B.h5]),$("li",{class:`${x}-menu-item ${x}-menu-item-title`,onClick:()=>{h("h6")},role:"menuitem",tabindex:"0"},[(Y=i.value.titleItem)==null?void 0:Y.h6])])},{default:()=>{var ie,tt;return[$("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(ie=i.value.toolbarTips)==null?void 0:ie.title},[$(ce,{name:"title"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(tt=i.value.toolbarTips)==null?void 0:tt.title])])]}});case"sub":return $("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(J=i.value.toolbarTips)==null?void 0:J.sub,onClick:()=>{h("sub")}},[$(ce,{name:"sub"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(ee=i.value.toolbarTips)==null?void 0:ee.sub])]);case"sup":return $("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(re=i.value.toolbarTips)==null?void 0:re.sup,onClick:()=>{h("sup")}},[$(ce,{name:"sup"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(ue=i.value.toolbarTips)==null?void 0:ue.sup])]);case"quote":return $("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(ye=i.value.toolbarTips)==null?void 0:ye.quote,onClick:()=>{h("quote")}},[$(ce,{name:"quote"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(Oe=i.value.toolbarTips)==null?void 0:Oe.quote])]);case"unorderedList":return $("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(le=i.value.toolbarTips)==null?void 0:le.unorderedList,onClick:()=>{h("unorderedList")}},[$(ce,{name:"unordered-list"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(Se=i.value.toolbarTips)==null?void 0:Se.unorderedList])]);case"orderedList":return $("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(et=i.value.toolbarTips)==null?void 0:et.orderedList,onClick:()=>{h("orderedList")}},[$(ce,{name:"ordered-list"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(Pi=i.value.toolbarTips)==null?void 0:Pi.orderedList])]);case"task":return $("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(dn=i.value.toolbarTips)==null?void 0:dn.task,onClick:()=>{h("task")}},[$(ce,{name:"task"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(pn=i.value.toolbarTips)==null?void 0:pn.task])]);case"codeRow":return $("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(ao=i.value.toolbarTips)==null?void 0:ao.codeRow,onClick:()=>{h("codeRow")}},[$(ce,{name:"code-row"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(uo=i.value.toolbarTips)==null?void 0:uo.codeRow])]);case"code":return $("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(In=i.value.toolbarTips)==null?void 0:In.code,onClick:()=>{h("code")}},[$(ce,{name:"code"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(Xn=i.value.toolbarTips)==null?void 0:Xn.code])]);case"link":return $("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(co=i.value.toolbarTips)==null?void 0:co.link,onClick:()=>{if(o!=null&&o.value)return!1;t.insertLinkDirect?h("link"):(f.type="link",f.linkVisible=!0)}},[$(ce,{name:"link"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(ho=i.value.toolbarTips)==null?void 0:ho.link])]);case"image":return t.noUploadImg?$("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(zn=i.value.toolbarTips)==null?void 0:zn.image,onClick:()=>{if(o!=null&&o.value)return!1;t.insertLinkDirect?h("image"):(f.type="image",f.linkVisible=!0)}},[$(ce,{name:"image"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(fo=i.value.toolbarTips)==null?void 0:fo.image])]):$(Bn,{relative:`#${a}`,visible:c.image,onChange:ie=>{c.image=ie},disabled:o==null?void 0:o.value,overlay:$("ul",{class:`${x}-menu`,onClick:()=>{c.image=!1},role:"menu"},[$("li",{class:`${x}-menu-item ${x}-menu-item-image`,onClick:()=>{t.insertLinkDirect?h("image"):(f.type="image",f.linkVisible=!0)},role:"menuitem",tabindex:"0"},[(po=i.value.imgTitleItem)==null?void 0:po.link]),$("li",{class:`${x}-menu-item ${x}-menu-item-image`,onClick:()=>{m.value.click()},role:"menuitem",tabindex:"0"},[(zr=i.value.imgTitleItem)==null?void 0:zr.upload]),$("li",{class:`${x}-menu-item ${x}-menu-item-image`,onClick:()=>{f.clipVisible=!0},role:"menuitem",tabindex:"0"},[(zh=i.value.imgTitleItem)==null?void 0:zh.clip2upload])])},{default:()=>{var ie,tt;return[$("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(ie=i.value.toolbarTips)==null?void 0:ie.image},[$(ce,{name:"image"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(tt=i.value.toolbarTips)==null?void 0:tt.image])])]}});case"table":return $(Bn,{relative:`#${a}`,visible:c.table,onChange:ie=>{c.table=ie},disabled:o==null?void 0:o.value,key:"bar-table",overlay:$(_5,{tableShape:t.tableShape,onSelected:ie=>{h("table",{selectedShape:ie})}},null)},{default:()=>{var ie,tt;return[$("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(ie=i.value.toolbarTips)==null?void 0:ie.table},[$(ce,{name:"table"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(tt=i.value.toolbarTips)==null?void 0:tt.table])])]}});case"revoke":return $("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(jh=i.value.toolbarTips)==null?void 0:jh.revoke,onClick:()=>{if(o!=null&&o.value)return!1;X.emit(e,tm)}},[$(ce,{name:"revoke"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(Fh=i.value.toolbarTips)==null?void 0:Fh.revoke])]);case"next":return $("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(Bh=i.value.toolbarTips)==null?void 0:Bh.next,onClick:()=>{if(o!=null&&o.value)return!1;X.emit(e,im)}},[$(ce,{name:"next"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(Vh=i.value.toolbarTips)==null?void 0:Vh.next])]);case"save":return $("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(qh=i.value.toolbarTips)==null?void 0:qh.save,onClick:()=>{if(o!=null&&o.value)return!1;X.emit(e,Ul)}},[$(ce,{name:"save"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(Wh=i.value.toolbarTips)==null?void 0:Wh.save])]);case"prettier":return t.noPrettier?"":$("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(Yh=i.value.toolbarTips)==null?void 0:Yh.prettier,onClick:()=>{h("prettier")}},[$(ce,{name:"prettier"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(Nh=i.value.toolbarTips)==null?void 0:Nh.prettier])]);case"pageFullscreen":return!t.setting.fullscreen&&$("div",{class:[`${x}-toolbar-item`,t.setting.pageFullscreen&&`${x}-toolbar-active`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(Gh=i.value.toolbarTips)==null?void 0:Gh.pageFullscreen,onClick:()=>{if(o!=null&&o.value)return!1;t.updateSetting("pageFullscreen")}},[$(ce,{name:t.setting.pageFullscreen?"minimize":"maximize"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(Uh=i.value.toolbarTips)==null?void 0:Uh.pageFullscreen])]);case"fullscreen":return $("div",{class:[`${x}-toolbar-item`,t.setting.fullscreen&&`${x}-toolbar-active`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(Hh=i.value.toolbarTips)==null?void 0:Hh.fullscreen,onClick:()=>{if(o!=null&&o.value)return!1;l()}},[$(ce,{name:t.setting.fullscreen?"fullscreen-exit":"fullscreen"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(Kh=i.value.toolbarTips)==null?void 0:Kh.fullscreen])]);case"preview":return $("div",{class:[`${x}-toolbar-item`,t.setting.preview&&`${x}-toolbar-active`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(Jh=i.value.toolbarTips)==null?void 0:Jh.preview,onClick:()=>{if(o!=null&&o.value)return!1;t.updateSetting("preview")}},[$(ce,{name:"preview"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(ef=i.value.toolbarTips)==null?void 0:ef.preview])]);case"previewOnly":return $("div",{class:[`${x}-toolbar-item`,t.setting.previewOnly&&`${x}-toolbar-active`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(tf=i.value.toolbarTips)==null?void 0:tf.previewOnly,onClick:()=>{if(o!=null&&o.value)return!1;t.updateSetting("previewOnly")}},[$(ce,{name:"preview-only"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(nf=i.value.toolbarTips)==null?void 0:nf.previewOnly])]);case"htmlPreview":return $("div",{class:[`${x}-toolbar-item`,t.setting.htmlPreview&&`${x}-toolbar-active`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(rf=i.value.toolbarTips)==null?void 0:rf.htmlPreview,onClick:()=>{if(o!=null&&o.value)return!1;t.updateSetting("htmlPreview")}},[$(ce,{name:"preview-html"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(sf=i.value.toolbarTips)==null?void 0:sf.htmlPreview])]);case"catalog":return $("div",{class:[`${x}-toolbar-item`,t.catalogVisible&&`${x}-toolbar-active`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(of=i.value.toolbarTips)==null?void 0:of.catalog,onClick:()=>{if(o!=null&&o.value)return!1;X.emit(e,Qc)},key:"bar-catalog"},[$(ce,{name:"catalog"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(lf=i.value.toolbarTips)==null?void 0:lf.catalog])]);case"github":return $("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(af=i.value.toolbarTips)==null?void 0:af.github,onClick:()=>{if(o!=null&&o.value)return!1;$v("https://github.com/imzbf/md-editor-v3")}},[$(ce,{name:"github"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(uf=i.value.toolbarTips)==null?void 0:uf.github])]);case"mermaid":return $(Bn,{relative:`#${a}`,visible:c.mermaid,onChange:ie=>{c.mermaid=ie},disabled:o==null?void 0:o.value,overlay:$("ul",{class:`${x}-menu`,onClick:()=>{c.mermaid=!1},role:"menu"},[$("li",{class:`${x}-menu-item ${x}-menu-item-mermaid`,onClick:()=>{h("flow")},role:"menuitem",tabindex:"0"},[(cf=i.value.mermaid)==null?void 0:cf.flow]),$("li",{class:`${x}-menu-item ${x}-menu-item-mermaid`,onClick:()=>{h("sequence")},role:"menuitem",tabindex:"0"},[(hf=i.value.mermaid)==null?void 0:hf.sequence]),$("li",{class:`${x}-menu-item ${x}-menu-item-mermaid`,onClick:()=>{h("gantt")},role:"menuitem",tabindex:"0"},[(ff=i.value.mermaid)==null?void 0:ff.gantt]),$("li",{class:`${x}-menu-item ${x}-menu-item-mermaid`,onClick:()=>{h("class")},role:"menuitem",tabindex:"0"},[(df=i.value.mermaid)==null?void 0:df.class]),$("li",{class:`${x}-menu-item ${x}-menu-item-mermaid`,onClick:()=>{h("state")},role:"menuitem",tabindex:"0"},[(pf=i.value.mermaid)==null?void 0:pf.state]),$("li",{class:`${x}-menu-item ${x}-menu-item-mermaid`,onClick:()=>{h("pie")},role:"menuitem",tabindex:"0"},[(mf=i.value.mermaid)==null?void 0:mf.pie]),$("li",{class:`${x}-menu-item ${x}-menu-item-mermaid`,onClick:()=>{h("relationship")},role:"menuitem",tabindex:"0"},[(Of=i.value.mermaid)==null?void 0:Of.relationship]),$("li",{class:`${x}-menu-item ${x}-menu-item-mermaid`,onClick:()=>{h("journey")},role:"menuitem",tabindex:"0"},[(gf=i.value.mermaid)==null?void 0:gf.journey])]),key:"bar-mermaid"},{default:()=>{var ie,tt;return[$("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(ie=i.value.toolbarTips)==null?void 0:ie.mermaid},[$(ce,{name:"mermaid"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(tt=i.value.toolbarTips)==null?void 0:tt.mermaid])])]}});case"katex":return $(Bn,{relative:`#${a}`,visible:c.katex,onChange:ie=>{c.katex=ie},disabled:o==null?void 0:o.value,overlay:$("ul",{class:`${x}-menu`,onClick:()=>{c.katex=!1},role:"menu"},[$("li",{class:`${x}-menu-item ${x}-menu-item-katex`,onClick:()=>{h("katexInline")},role:"menuitem",tabindex:"0"},[(bf=i.value.katex)==null?void 0:bf.inline]),$("li",{class:`${x}-menu-item ${x}-menu-item-katex`,onClick:()=>{h("katexBlock")},role:"menuitem",tabindex:"0"},[(vf=i.value.katex)==null?void 0:vf.block])]),key:"bar-katex"},{default:()=>{var ie,tt;return[$("div",{class:[`${x}-toolbar-item`,(o==null?void 0:o.value)&&`${x}-disabled`],title:(ie=i.value.toolbarTips)==null?void 0:ie.katex},[$(ce,{name:"formula"},null),t.showToolbarName&&$("div",{class:`${x}-toolbar-item-name`},[(tt=i.value.toolbarTips)==null?void 0:tt.katex])])]}})}else if(t.defToolbars instanceof Array){const ie=t.defToolbars[b];return ie?ys(ie,{theme:((yf=ie.props)==null?void 0:yf.theme)||n.value,previewTheme:((xf=ie.props)==null?void 0:xf.theme)||r.value,language:((kf=ie.props)==null?void 0:kf.theme)||s.value,codeTheme:((Sf=ie.props)==null?void 0:Sf.codeTheme)||t.codeTheme,disabled:((wf=ie.props)==null?void 0:wf.disabled)||(o==null?void 0:o.value),showToolbarName:(($f=ie.props)==null?void 0:$f.showToolbarName)||t.showToolbarName,insert(ba){X.emit(e,xe,"universal",{generate:ba})}}):""}else if(t.defToolbars&&t.defToolbars.children instanceof Array){const ie=t.defToolbars.children[b];return ie?ys(ie,{theme:((Qf=ie.props)==null?void 0:Qf.theme)||n.value,previewTheme:((_f=ie.props)==null?void 0:_f.theme)||r.value,language:((Pf=ie.props)==null?void 0:Pf.theme)||s.value,codeTheme:((Cf=ie.props)==null?void 0:Cf.codeTheme)||t.codeTheme,disabled:((Tf=ie.props)==null?void 0:Tf.disabled)||(o==null?void 0:o.value),showToolbarName:((Af=ie.props)==null?void 0:Af.showToolbarName)||t.showToolbarName,insert(ba){X.emit(e,xe,"universal",{generate:ba})}}):""}else return""};return te(()=>t.toolbars,()=>{li(()=>{u.value&&_v(u.value)})},{immediate:!0}),()=>{var b;const y=p.value[0].map(v=>g(v)),w=p.value[1].map(v=>g(v));return $(Gs,null,[t.toolbars.length>0&&$("div",{class:`${x}-toolbar-wrapper`,ref:u,id:a},[$("div",{class:[`${x}-toolbar`,t.showToolbarName&&`${x}-stn`]},[$("div",{class:`${x}-toolbar-left`,ref:d},[y]),$("div",{class:`${x}-toolbar-right`},[w])])]),$("label",{for:`${a}_label`,style:{display:"none"},"aria-label":(b=i.value.imgTitleItem)==null?void 0:b.upload},null),$("input",{id:`${a}_label`,ref:m,accept:"image/*",type:"file",multiple:!0,style:{display:"none"}},null),$(R5,{linkVisible:f.linkVisible,clipVisible:f.clipVisible,type:f.type,onCancel:()=>{f.linkVisible=!1,f.clipVisible=!1},onOk:v=>{v&&h(f.type,{desc:v.desc,url:v.url,transform:f.type==="image"}),f.linkVisible=!1,f.clipVisible=!1}},null)])}}}),L5=(t,e,i)=>{const n=H("editorId");let r=()=>{},s=()=>{};const o=()=>{var l;r();const a=(l=i.value)==null?void 0:l.view.contentDOM.getRootNode(),u=a.querySelector(`#${n} .cm-scroller`),c=a.querySelector(`[id="${n}-preview-wrapper"]`),h=a.querySelector(`[id="${n}-html-wrapper"]`);(c||h)&&([s,r]=(c?AS:TS)(u,c||h,i.value),t.scrollAuto&&s())};te([e,si(t.setting,"preview"),si(t.setting,"htmlPreview"),si(t.setting,"fullscreen"),si(t.setting,"pageFullscreen")],()=>{li(o)}),te(()=>t.scrollAuto,l=>{l?s():r()}),te(()=>t.setting.previewOnly,l=>{l?r():s()}),Ae(o)},fu=async(t,e,i)=>{if(/^h[1-6]$/.test(t))return M5(t,e);if(t==="prettier")return await Z5(e,i);switch(t){case"bold":case"underline":case"italic":case"strikeThrough":case"sub":case"sup":case"codeRow":case"katexInline":case"katexBlock":return X5(t,e);case"quote":case"orderedList":case"unorderedList":case"task":return j5(t,e);case"code":return F5(i,e);case"table":return q5(i);case"link":{const{desc:n="",url:r=""}=i,s=`[${n}](${r})`;return{text:s,options:{select:r==="",deviationStart:s.length-r.length-1,deviationEnd:-1}}}case"image":return V5(i);case"flow":case"sequence":case"gantt":case"class":case"state":case"pie":case"relationship":case"journey":return B5(t);case"universal":return W5(e.getSelectedText(),i);default:return{text:"",options:{}}}},M5=(t,e)=>{const i=t.slice(1),n="#".repeat(Number(i)),[r,s,o]=Zh(e,{wholeLine:!0});return{text:`${n} ${r}`,options:{deviationStart:n.length+1,replaceStart:s,replaceEnd:o}}},Z5=async(t,e)=>{var i,n,r;const s=window.prettier||((i=Me.editorExtensions.prettier)==null?void 0:i.prettierInstance),o=[((n=window.prettierPlugins)==null?void 0:n.markdown)||((r=Me.editorExtensions.prettier)==null?void 0:r.parserMarkdownInstance)];return!s||!o[0]?(X.emit(e.editorId,hn,{name:"prettier",message:"prettier is undefined"}),{text:t.getValue(),options:{select:!1,replaceAll:!0}}):{text:await s.format(t.getValue(),{parser:"markdown",plugins:o}),options:{select:!1,replaceAll:!0}}},I5={bold:["**","**",2,-2],underline:["","",3,-4],italic:["*","*",1,-1],strikeThrough:["~~","~~",2,-2],sub:["~","~",1,-1],sup:["^","^",1,-1],codeRow:["`","`",1,-1],katexInline:["$","$",1,-1],katexBlock:[` +$$ +`,` +$$ +`,4,-4]},X5=(t,e)=>{const i=e.getSelectedText(),[n,r,s,o]=I5[t];return{text:`${n}${i}${r}`,options:{deviationStart:s,deviationEnd:o}}},z5={quote:"> ",unorderedList:"- ",orderedList:1,task:"- [ ] "},j5=(t,e)=>{const[i,n,r]=Zh(e,{wholeLine:!0}),s=i.split(` +`),o=z5[t],l=t==="orderedList"?s.map((c,h)=>`${o+h}. ${c}`):s.map(c=>`${o}${c}`),a=t==="orderedList"?"1. ":o.toString(),u=s.length===1?a.length:0;return{text:l.join(` +`),options:{deviationStart:u,replaceStart:n,replaceEnd:r}}},F5=(t,e)=>{const[i,n,r]=Zh(e),s=t.mode||"language",o=` +\`\`\`${s} +${t.text||i||""} +\`\`\` +`;return{text:o,options:{deviationStart:4,deviationEnd:4+s.length-o.length,replaceStart:n,replaceEnd:r}}},B5=t=>({text:` +\`\`\`mermaid +${{flow:`flowchart TD + Start --> Stop`,sequence:`sequenceDiagram + A->>B: hello! + B-->>A: hi!`,gantt:`gantt +title Gantt Chart +dateFormat YYYY-MM-DD`,class:`classDiagram + class Animal`,state:`stateDiagram-v2 + s1 --> s2`,pie:`pie + "Dogs" : 386 + "Cats" : 85 + "Rats" : 15`,relationship:`erDiagram + CAR ||--o{ NAMED-DRIVER : allows`,journey:`journey + title My Journey`,...Me.editorConfig.mermaidTemplate}[t]} +\`\`\` +`,options:{deviationStart:12,deviationEnd:-5}}),V5=t=>{const{desc:e="",url:i="",urls:n}=t;let r="";const s=i===""&&(!n||n instanceof Array&&n.length===0);return n instanceof Array?r=n.reduce((o,l)=>{const{url:a="",alt:u="",title:c=""}=typeof l=="object"?l:{url:l};return o+`![${u}](${a}${c?" '"+c+"'":""}) +`},""):r=`![${e}](${i}) +`,{text:r,options:{select:i==="",deviationStart:s?r.length-i.length-2:r.length,deviationEnd:s?-2:0}}},q5=t=>{const{selectedShape:e={x:1,y:1}}=t,{x:i,y:n}=e;let r=` +| Column`;for(let s=0;s<=n;s++)r+=" |";r+=` +|`;for(let s=0;s<=n;s++)r+=" - |";for(let s=0;s<=i;s++){r+=` +|`;for(let o=0;o<=n;o++)r+=" |"}return r+=` +`,{text:r,options:{deviationStart:3,deviationEnd:10-r.length}}},W5=(t,e)=>{const{generate:i}=e,n=i(t);return{text:n.targetValue,options:{select:n.select??!0,deviationStart:n.deviationStart||0,deviationEnd:n.deviationEnd||0}}},Zh=(t,e={wholeLine:!1})=>{const i=t.view.state,n=i.selection.main;if(n.empty){const r=i.doc.lineAt(n.from);return[i.doc.lineAt(n.from).text,r.from,r.to]}else if(e.wholeLine){const r=i.doc.lineAt(n.from),s=i.doc.lineAt(n.to);return[i.doc.sliceString(r.from,s.to),r.from,s.to]}return[i.doc.sliceString(n.from,n.to),n.from,n.to]},Y5="#e5c07b",Ap="var(--md-color)",N5="#56b6c2",G5="#ffffff",is="var(--md-color)",Ep="#e5c07b",U5="#e5c07b",H5="var(--md-color)",Rp="#d19a66",K5="#c678dd",J5="#21252b",e6="#2c313a",Dp="var(--md-bk-color)",du="var(--md-bk-color)",t6="#ceedfa33",Lp="#528bff",i6=W.theme({"&":{color:is,backgroundColor:Dp},".cm-content":{caretColor:Lp},".cm-cursor, .cm-dropCursor":{borderLeftColor:Lp},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:t6},".cm-panels":{backgroundColor:J5,color:is},".cm-panels.cm-panels-top":{borderBottom:"1px solid var(--md-border-color)"},".cm-panels.cm-panels-bottom":{borderTop:"1px solid var(--md-border-color)"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#ceedfa33"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:Dp,color:is,borderRight:"1px solid",borderColor:"var(--md-border-color)"},".cm-activeLineGutter":{backgroundColor:e6},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"1px solid var(--md-border-color)",backgroundColor:du},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:du,borderBottomColor:du},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{color:is}}},{dark:!0}),n6=ro.define([{tag:k.keyword,color:K5},{tag:[k.name,k.deleted,k.character,k.propertyName,k.macroName],color:Ap},{tag:[k.function(k.variableName),k.labelName],color:U5},{tag:[k.color,k.constant(k.name),k.standard(k.name)],color:Rp},{tag:[k.definition(k.name),k.separator],color:is},{tag:[k.typeName,k.className,k.number,k.changed,k.annotation,k.modifier,k.self,k.namespace],color:Y5},{tag:[k.operator,k.operatorKeyword,k.url,k.escape,k.regexp,k.link,k.special(k.string)],color:N5},{tag:[k.meta,k.comment],color:Ep},{tag:k.strong,fontWeight:"bold"},{tag:k.emphasis,fontStyle:"italic"},{tag:k.strikethrough,textDecoration:"line-through"},{tag:k.link,color:Ep,textDecoration:"underline"},{tag:k.heading,fontWeight:"bold",color:Ap},{tag:[k.atom,k.bool,k.special(k.variableName)],color:Rp},{tag:[k.processingInstruction,k.string,k.inserted],color:H5},{tag:k.invalid,color:G5}]),Mp=[i6,Eg(n6)],r6="#e5c07b",Zp="var(--md-color)",s6="#56b6c2",o6="#fff",ns="#3f4a54",Ip="#2d8cf0",l6="#2d8cf0",a6="#3f4a54",Xp="#d19a66",u6="#c678dd",c6="#f6f6f6",h6="#ceedfa33",zp="var(--md-bk-color)",pu="var(--md-bk-color)",f6="#bad5fa",jp="#3f4a54",d6=W.theme({"&":{color:ns,backgroundColor:zp},".cm-content":{caretColor:jp},".cm-cursor, .cm-dropCursor":{borderLeftColor:jp},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:f6},".cm-panels":{backgroundColor:c6,color:ns},".cm-panels.cm-panels-top":{borderBottom:"1px solid var(--md-border-color)"},".cm-panels.cm-panels-bottom":{borderTop:"1px solid var(--md-border-color)"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#ceedfa33"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:zp,color:ns,borderRight:"1px solid",borderColor:"var(--md-border-color)"},".cm-activeLineGutter":{backgroundColor:h6},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"1px solid var(--md-border-color)",backgroundColor:pu},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:pu,borderBottomColor:pu},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{color:ns}}}),p6=ro.define([{tag:k.keyword,color:u6},{tag:[k.name,k.deleted,k.character,k.propertyName,k.macroName],color:Zp},{tag:[k.function(k.variableName),k.labelName],color:l6},{tag:[k.color,k.constant(k.name),k.standard(k.name)],color:Xp},{tag:[k.definition(k.name),k.separator],color:ns},{tag:[k.typeName,k.className,k.number,k.changed,k.annotation,k.modifier,k.self,k.namespace],color:r6},{tag:[k.operator,k.operatorKeyword,k.url,k.escape,k.regexp,k.link,k.special(k.string)],color:s6},{tag:[k.meta,k.comment],color:Ip},{tag:k.strong,fontWeight:"bold"},{tag:k.emphasis,fontStyle:"italic"},{tag:k.strikethrough,textDecoration:"line-through"},{tag:k.link,color:Ip,textDecoration:"underline"},{tag:k.heading,fontWeight:"bold",color:Zp},{tag:[k.atom,k.bool,k.special(k.variableName)],color:Xp},{tag:[k.processingInstruction,k.string,k.inserted],color:a6},{tag:k.invalid,color:o6}]),Fp=[d6,Eg(p6)],qo=(t,e,i,n,r)=>(s,o,l,a)=>{const u=`${t}${e}${i}${n}`,c=l+o.label.length+(r==="title"?i.length:0);s.dispatch({changes:{from:l,to:a,insert:u},selection:E.create([E.range(l+o.label.length+(r==="title"?1:-e.length),c),E.cursor(c)],1)}),s.focus()},Bp=t=>(e,i,n,r)=>{const s=t.slice(r-n);e.dispatch(e.state.replaceSelection(`${s} `))},Vp=t=>{const e=i=>{const n=i.matchBefore(/^#+|^-\s*\[*\s*\]*|`+|\[|!\[*|^\|\s?\|?|\$\$?|!+\s*\w*/);return n===null||n.from==n.to&&i.explicit?null:{from:n.from,options:[...["h2","h3","h4","h5","h6"].map((r,s)=>{const o=new Array(s+2).fill("#").join("");return{label:o,type:"text",apply:Bp(o)}}),...["unchecked","checked"].map(r=>{const s=r==="checked"?"- [x]":"- [ ]";return{label:s,type:"text",apply:Bp(s)}}),...[["`",""],["```","language"],["```mermaid\n",""]].map(r=>({label:`${r[0]}${r[1]}`,type:"text",apply:qo(r[0],r[1],"",r[0]==="`"?"`":"\n```","type")})),{label:"[]()",type:"text"},{label:"![]()",type:"text"},{label:"| |",type:"text",detail:"table",apply:`| col | col | col | +| - | - | - | +| content | content | content | +| content | content | content |`},{label:"$",type:"text",apply:qo("$","","","$","type")},{label:"$$",type:"text",apply:qo("$$","",` +`,` +$$`,"title")},...["note","abstract","info","tip","success","question","warning","failure","danger","bug","example","quote","hint","caution","error","attention"].map(r=>({label:`!!! ${r}`,type:"text",apply:qo("!!!",` ${r}`," Title",` + +!!!`,"title")}))]}};return dP({override:t?[e,...t]:[e]})},Fn=t=>{const e=new gi;return n=>(e.get(t.state)?t.dispatch({effects:e.reconfigure(n)}):t.dispatch({effects:ae.appendConfig.of(e.of(n))}),!0)};class m6{constructor(e){Fi(this,"view"),Fi(this,"maxLength",Number.MAX_SAFE_INTEGER),Fi(this,"toggleTabSize"),Fi(this,"togglePlaceholder"),Fi(this,"setExtensions"),Fi(this,"toggleDisabled"),Fi(this,"toggleReadOnly"),Fi(this,"toggleMaxlength"),this.view=e,this.toggleTabSize=Fn(this.view),this.togglePlaceholder=Fn(this.view),this.setExtensions=Fn(this.view),this.toggleDisabled=Fn(this.view),this.toggleReadOnly=Fn(this.view),this.toggleMaxlength=Fn(this.view)}getValue(){return this.view.state.doc.toString()}setValue(e,i=0,n=this.view.state.doc.length){this.view.dispatch({changes:{from:i,to:n,insert:e}})}getSelectedText(){const{from:e,to:i}=this.view.state.selection.main;return this.view.state.sliceDoc(e,i)}replaceSelectedText(e,i,n){const r={select:!0,deviationStart:0,deviationEnd:0,replaceAll:!1,replaceStart:-1,replaceEnd:-1,...i};try{if(r.replaceAll){if(this.setValue(e),e.length>this.maxLength)throw new Error("The input text is too long");return}if(this.view.state.doc.length-this.getSelectedText().length+e.length>this.maxLength)throw new Error("The input text is too long");const{from:s}=this.view.state.selection.main;r.replaceStart!==-1?this.view.dispatch({changes:{from:r.replaceStart,to:r.replaceEnd,insert:e}}):this.view.dispatch(this.view.state.replaceSelection(e)),r.select&&this.view.dispatch({selection:{anchor:r.replaceStart===-1?s+r.deviationStart:r.replaceStart+r.deviationStart,head:r.replaceStart===-1?s+e.length+r.deviationEnd:r.replaceStart+e.length+r.deviationEnd}}),this.view.focus()}catch(s){if(s.message==="The input text is too long")X.emit(n,hn,{name:"overlength",message:s.message,data:e});else throw s}}setTabSize(e){this.toggleTabSize([fe.tabSize.of(e),Lr.of(" ".repeat(e))])}setPlaceholder(e){this.togglePlaceholder(K3(e))}focus(e){if(this.view.focus(),!e)return;let i=0,n=0,r=0;switch(e){case"start":break;case"end":{i=n=r=this.getValue().length;break}default:i=e.rangeAnchor||e.cursorPos,n=e.rangeHead||e.cursorPos,r=e.cursorPos}this.view.dispatch({scrollIntoView:!0,selection:E.create([E.range(i,n),E.cursor(r)],1)})}setDisabled(e){this.toggleDisabled([W.editable.of(!e)])}setReadOnly(e){this.toggleReadOnly([fe.readOnly.of(e)])}setMaxLength(e){this.maxLength=e,this.toggleMaxlength([fe.changeFilter.of(i=>i.newDoc.length<=e)])}}const O6=(t,e)=>{const i=H("editorId"),n=s=>{s instanceof Promise?s.then(o=>{X.emit(i,xe,"universal",{generate(){return{targetValue:o}}})}).catch(o=>{console.error(o)}):X.emit(i,xe,"universal",{generate(){return{targetValue:s}}})};return s=>{var o,l,a;if(!s.clipboardData)return;if(s.clipboardData.files.length>0){const{files:m}=s.clipboardData;X.emit(i,Hl,Array.from(m).filter(O=>/image\/.*/.test(O.type))),s.preventDefault();return}const u=s.clipboardData.getData("text/plain"),c=((o=e.value)==null?void 0:o.view.state.selection.main.to)||0,h=((l=e.value)==null?void 0:l.view.state.doc.lineAt(c).from)||0,f=((a=e.value)==null?void 0:a.view.state.doc.sliceString(h,c))||"",d=/!\[.*\]\(\s*$/.test(f),p=/!\[.*\]\((.*)\s?.*\)/.test(u);if(d){const m=t.transformImgUrl(u);n(m),s.preventDefault();return}else if(p){const m=u.match(new RegExp(`(?<=!\\[.*\\]\\()([^)\\s]+)(?=\\s?["']?.*["']?\\))`,"g"));m?Promise.all(m.map(O=>t.transformImgUrl(O))).then(O=>{n(O.reduce((g,b,y)=>g.replace(m[y],b),u))}):n(u),s.preventDefault();return}if(t.autoDetectCode&&s.clipboardData.types.includes("vscode-editor-data")){const m=JSON.parse(s.clipboardData.getData("vscode-editor-data"));X.emit(i,xe,"code",{mode:m.mode,text:s.clipboardData.getData("text/plain")}),s.preventDefault();return}t.maxlength&&u.length+t.modelValue.length>t.maxlength&&X.emit(i,hn,{name:"overlength",message:"The input text is too long",data:u})}},g6=(t,e)=>[{key:"Ctrl-b",mac:"Cmd-b",run:()=>(X.emit(t,xe,"bold"),!0)},{key:"Ctrl-d",mac:"Cmd-d",run:m1,preventDefault:!0},{key:"Ctrl-s",mac:"Cmd-s",run:w=>(X.emit(t,Ul,w.state.doc.toString()),!0),shift:()=>(X.emit(t,xe,"strikeThrough"),!0)},{key:"Ctrl-u",mac:"Cmd-u",preventDefault:!0,run:()=>(X.emit(t,xe,"underline"),!0),shift:()=>(X.emit(t,xe,"unorderedList"),!0)},{key:"Ctrl-i",mac:"Cmd-i",preventDefault:!0,run:()=>(X.emit(t,xe,"italic"),!0),shift:()=>(X.emit(t,bu,"image"),!0)},{key:"Ctrl-1",mac:"Cmd-1",run:()=>(X.emit(t,xe,"h1"),!0)},{key:"Ctrl-2",mac:"Cmd-2",run:()=>(X.emit(t,xe,"h2"),!0)},{key:"Ctrl-3",mac:"Cmd-3",run:()=>(X.emit(t,xe,"h3"),!0)},{key:"Ctrl-4",mac:"Cmd-4",run:()=>(X.emit(t,xe,"h4"),!0)},{key:"Ctrl-5",mac:"Cmd-5",run:()=>(X.emit(t,xe,"h5"),!0)},{key:"Ctrl-6",mac:"Cmd-6",run:()=>(X.emit(t,xe,"h6"),!0)},{key:"Ctrl-ArrowUp",mac:"Cmd-ArrowUp",run:()=>(X.emit(t,xe,"sup"),!0)},{key:"Ctrl-ArrowDown",mac:"Cmd-ArrowDown",run:()=>(X.emit(t,xe,"sub"),!0)},{key:"Ctrl-o",mac:"Cmd-o",run:()=>(X.emit(t,xe,"orderedList"),!0)},{key:"Ctrl-c",mac:"Cmd-c",shift:()=>(X.emit(t,xe,"code"),!0),any(w,v){return(v.ctrlKey||v.metaKey)&&v.altKey&&v.code==="KeyC"?(X.emit(t,xe,"codeRow"),!0):!1}},{key:"Ctrl-l",mac:"Cmd-l",run:()=>(X.emit(t,bu,"link"),!0)},{key:"Ctrl-f",mac:"Cmd-f",shift:()=>e.noPrettier?!1:(X.emit(t,xe,"prettier"),!0)},{any:(w,v)=>(v.ctrlKey||v.metaKey)&&v.altKey&&v.shiftKey&&v.code==="KeyT"?(X.emit(t,xe,"table"),!0):!1},...Q_];W.EDIT_CONTEXT=!1;const b6=t=>{const e=H("tabWidth"),i=H("editorId"),n=H("theme"),r=pe(),s=Tn(),o=pe(!1),l=new gi,a=new gi,u=new gi,c=new gi,h=new gi,f=g6(i,t),d=()=>[...f,...l_,...mQ,a_],m={paste:O6(t,s),blur:t.onBlur,focus:t.onFocus,drop:t.onDrop,compositionstart:()=>{o.value=!0},compositionend:(b,y)=>{o.value=!1,t.updateModelValue(y.state.doc.toString())},input:b=>{t.onInput&&t.onInput(b);const{data:y}=b;t.maxlength&&t.modelValue.length+y.length>t.maxlength&&X.emit(i,hn,{name:"overlength",message:"The input text is too long",data:y})}},O=[io.of(d()),c.of(Q0()),l.of(iv({codeLanguages:OP})),W.lineWrapping,W.updateListener.of(b=>{b.docChanged&&(t.onChange(b.state.doc.toString()),o.value||t.updateModelValue(b.state.doc.toString()))}),h.of(W.domEventHandlers(m)),Y3()],g=()=>{const b=[...O,a.of(n.value==="light"?Fp:Mp),u.of(Vp(t.completions))];return Me.codeMirrorExtensions(n.value,b,d(),{editorId:i})};return Ae(()=>{const b=new W({doc:t.modelValue,parent:r.value,extensions:[g()]}),y=new m6(b);s.value=y,setTimeout(()=>{y.setTabSize(e),y.setDisabled(t.disabled),y.setReadOnly(t.readonly),t.placeholder&&y.setPlaceholder(t.placeholder),typeof t.maxlength=="number"&&y.setMaxLength(t.maxlength),t.autofocus&&b.focus()},0),X.on(i,{name:tm,callback(){lh(b)}}),X.on(i,{name:im,callback(){El(b)}}),X.on(i,{name:xe,async callback(w,v={}){var Q,P;if(w==="image"&&v.transform){const _=t.transformImgUrl(v.url);if(_ instanceof Promise)_.then(async R=>{var L;const{text:I,options:T}=await fu(w,s.value,{...v,url:R});(L=s.value)==null||L.replaceSelectedText(I,T,i)}).catch(R=>{console.error(R)});else{const{text:R,options:L}=await fu(w,s.value,{...v,url:_});(Q=s.value)==null||Q.replaceSelectedText(R,L,i)}}else{const{text:_,options:R}=await fu(w,s.value,v);(P=s.value)==null||P.replaceSelectedText(_,R,i)}}}),X.on(i,{name:rm,callback:Qv(w=>{var v;const Q={...m},P=Object.keys(m);for(const _ in w){const R=_;P.includes(R)?Q[R]=(L,I)=>{w[R](L,I),L.defaultPrevented||m[R](L,I)}:Q[R]=w[R]}(v=s.value)==null||v.view.dispatch({effects:h.reconfigure(W.domEventHandlers(Q))})})}),X.on(i,{name:sm,callback:(w,v)=>{const Q=b.state.doc.line(w);b.dispatch(b.state.update({changes:{from:Q.from,to:Q.to,insert:v}}))}}),X.on(i,{name:om,callback(){X.emit(i,pl,b)}}),X.emit(i,pl,b)}),te(n,()=>{var b;(b=s.value)==null||b.view.dispatch({effects:a.reconfigure(n.value==="light"?Fp:Mp)})},{deep:!0}),te(()=>t.completions,()=>{var b;(b=s.value)==null||b.view.dispatch({effects:u.reconfigure(Vp(t.completions))})},{deep:!0}),te(()=>t.modelValue,()=>{var b,y;((b=s.value)==null?void 0:b.getValue())!==t.modelValue&&((y=s.value)==null||y.setValue(t.modelValue))}),te(()=>t.placeholder,()=>{var b;(b=s.value)==null||b.setPlaceholder(t.placeholder)}),te(()=>t.disabled,()=>{var b;(b=s.value)==null||b.setDisabled(t.disabled)}),te(()=>t.readonly,()=>{var b;(b=s.value)==null||b.setDisabled(t.readonly)}),te(()=>t.maxlength,()=>{var b;t.maxlength&&((b=s.value)==null||b.setMaxLength(t.maxlength))}),{inputWrapperRef:r,codeMirrorUt:s,resetHistory(){var b,y;(b=s.value)==null||b.view.dispatch({effects:c.reconfigure([])}),(y=s.value)==null||y.view.dispatch({effects:c.reconfigure(Q0())})}}},v6=(t,e,i)=>{const n=He(()=>/px$/.test(`${t.inputBoxWidth}`)?"50%":t.inputBoxWidth),r=ct({resizedWidth:n.value}),s=ct({width:n.value}),o=ct({left:n.value,display:"initial"}),l=c=>{var h,f,d;const p=((h=e.value)==null?void 0:h.offsetWidth)||0,m=((f=e.value)==null?void 0:f.getBoundingClientRect().x)||0;let O=c.x-m;O/pp-p*Oo&&(O=p-p*Oo);const g=`${O/p*100}%`;s.width=g,o.left=g,r.resizedWidth=g,(d=t.oninputBoxWidthChange)==null||d.call(t,g)},a=c=>{c.target===i.value&&document.addEventListener("mousemove",l)},u=()=>{document.removeEventListener("mousemove",l)};return te([i],()=>{document.removeEventListener("mousedown",a),document.removeEventListener("mouseup",u),document.addEventListener("mousedown",a),document.addEventListener("mouseup",u)}),Ae(()=>{document.addEventListener("mousedown",a),document.addEventListener("mouseup",u)}),Mn(()=>{document.removeEventListener("mousedown",a),document.removeEventListener("mouseup",u)}),te([n],([c])=>{r.resizedWidth=c,s.width=c,o.left=c}),te([si(t.setting,"htmlPreview"),si(t.setting,"preview"),si(t.setting,"previewOnly")],()=>{t.setting.previewOnly?(s.width="0%",o.display="none"):!t.setting.htmlPreview&&!t.setting.preview?(s.width="100%",o.display="none"):(s.width=r.resizedWidth,o.display="initial")},{immediate:!0}),{inputWrapperStyle:s,resizeOperateStyle:o}},y6=Jp(),x6=Te({name:"MDEditorContent",props:Tk,setup(t,e){const i=H("editorId"),n=pe(""),r=pe(),s=pe(),{inputWrapperRef:o,codeMirrorUt:l,resetHistory:a}=b6(t),{inputWrapperStyle:u,resizeOperateStyle:c}=v6(t,r,s);return L5(t,n,l),e.expose({getSelectedText(){var h;return(h=l.value)==null?void 0:h.getSelectedText()},focus(h){var f;(f=l.value)==null||f.focus(h)},resetHistory:a,getEditorView(){var h;return(h=l.value)==null?void 0:h.view}}),()=>$("div",{class:`${x}-content`},[$("div",{class:`${x}-content-wrapper`,ref:r},[$("div",{class:`${x}-input-wrapper`,style:u,ref:o},null),(t.setting.htmlPreview||t.setting.preview)&&$("div",{class:`${x}-resize-operate`,style:c,ref:s},null),$(Vm,{modelValue:t.modelValue,onChange:t.onChange,setting:t.setting,onHtmlChanged:h=>{n.value=h,t.onHtmlChanged(h)},onGetCatalog:t.onGetCatalog,mdHeadingId:t.mdHeadingId,noMermaid:t.noMermaid,sanitize:t.sanitize,noKatex:t.noKatex,formatCopiedText:t.formatCopiedText,noHighlight:t.noHighlight,noImgZoomIn:t.noImgZoomIn,sanitizeMermaid:t.sanitizeMermaid,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold,onRemount:t.onRemount},null)]),t.catalogVisible&&$(Jn,{theme:t.theme,class:`${x}-catalog-editor ${x}-catalog-${t.catalogLayout}`,editorId:i,mdHeadingId:t.mdHeadingId,key:"internal-catalog",scrollElementOffsetTop:2,syncWith:t.setting.preview?"preview":"editor",onClick:(h,f)=>{var d,p;if(!t.setting.preview&&f.line!==void 0){h.preventDefault();const m=(d=l.value)==null?void 0:d.view;if(m){const O=m.state.doc.line(f.line+1),g=(p=m.lineBlockAt(O.from))==null?void 0:p.top,b=m.scrollDOM;y6(b,g)}}},catalogMaxDepth:t.catalogMaxDepth},null)])}}),k6=Te({props:{modelValue:{type:String,default:""}},setup(t){const e=H("usedLanguageText");return()=>{var i,n;return $("div",{class:`${x}-footer-item`},[$("label",{class:`${x}-footer-label`},[`${(i=e.value.footer)==null?void 0:i.markdownTotal}:`]),$("span",null,[((n=t.modelValue)==null?void 0:n.length)||0])])}}}),S6={checked:{type:Boolean,default:!1},onChange:{type:Function,default:()=>{}},disabled:{type:Boolean,default:void 0}},w6=Te({name:`${x}-checkbox`,props:S6,setup(t){return()=>$("div",{class:[`${x}-checkbox`,t.checked&&`${x}-checkbox-checked`,t.disabled&&`${x}-disabled`],onClick:()=>{t.disabled||t.onChange(!t.checked)}},null)}}),$6={scrollAuto:{type:Boolean},onScrollAutoChange:{type:Function,default:()=>{}}},Q6=Te({props:$6,setup(t){const e=H("usedLanguageText"),i=H("disabled");return()=>{var n;return $("div",{class:[`${x}-footer-item`,(i==null?void 0:i.value)&&`${x}-disabled`]},[$("label",{class:`${x}-footer-label`,onClick:()=>{t.onScrollAutoChange(!t.scrollAuto)}},[(n=e==null?void 0:e.value.footer)==null?void 0:n.scrollAuto]),$(w6,{checked:t.scrollAuto,onChange:t.onScrollAutoChange,disabled:i==null?void 0:i.value},null)])}}}),_6={modelValue:{type:String,default:""},footers:{type:Array,default:[]},scrollAuto:{type:Boolean},noScrollAuto:{type:Boolean},onScrollAutoChange:{type:Function,default:()=>{}},defFooters:{type:Object}},P6=Te({name:"MDEditorFooter",props:_6,setup(t){const e=H("theme"),i=H("language"),n=H("disabled"),r=He(()=>{const o=t.footers.indexOf("="),l=o===-1?t.footers:t.footers.slice(0,o),a=o===-1?[]:t.footers.slice(o,Number.MAX_SAFE_INTEGER);return[l,a]}),s=o=>{var l,a,u,c,h,f;if($c.includes(o))switch(o){case"markdownTotal":return $(k6,{modelValue:t.modelValue},null);case"scrollSwitch":return!t.noScrollAuto&&$(Q6,{scrollAuto:t.scrollAuto,onScrollAutoChange:t.onScrollAutoChange},null)}else if(t.defFooters instanceof Array){const d=t.defFooters[o];return d?ys(d,{theme:((l=d.props)==null?void 0:l.theme)||e.value,language:((a=d.props)==null?void 0:a.language)||i.value,disabled:((u=d.props)==null?void 0:u.disabled)||(n==null?void 0:n.value)}):""}else if(t.defFooters&&t.defFooters.children instanceof Array){const d=t.defFooters.children[o];return d?ys(d,{theme:((c=d.props)==null?void 0:c.theme)||e.value,language:((h=d.props)==null?void 0:h.language)||i.value,disabled:((f=d.props)==null?void 0:f.disabled)||(n==null?void 0:n.value)}):""}else return""};return()=>{const o=r.value[0].map(a=>s(a)),l=r.value[1].map(a=>s(a));return $("div",{class:`${x}-footer`},[$("div",{class:`${x}-footer-left`},[o]),$("div",{class:`${x}-footer-right`},[l])])}}}),ul=Te({name:"MdEditorV3",props:Bk,emits:Vk,setup(t,e){const{noKatex:i,noMermaid:n,noPrettier:r,noUploadImg:s,noHighlight:o}=t,l=ct({scrollAuto:t.scrollAuto}),a=pe(),u=pe(),{editorId:c}=Lk(t,a),[h,f]=Ik(t,e,{editorId:c}),d=Xk(t,{editorId:c});return Dk(t,e,{editorId:c}),Mk(t),Zk(t,e,{editorId:c}),zk(t,e,{editorId:c,catalogVisible:d,setting:h,updateSetting:f,codeRef:u}),Mn(()=>{X.clear(c)}),()=>{const p=ht({props:t,ctx:e},"defToolbars"),m=ht({props:t,ctx:e},"defFooters");return $("div",{id:c,class:[x,t.class,t.theme==="dark"&&`${x}-dark`,h.fullscreen||h.pageFullscreen?`${x}-fullscreen`:""],style:t.style,ref:a},[t.toolbars.length>0&&$(D5,{noPrettier:r,toolbars:t.toolbars,toolbarsExclude:t.toolbarsExclude,setting:h,updateSetting:f,tableShape:t.tableShape,defToolbars:p,noUploadImg:s,showToolbarName:t.showToolbarName,catalogVisible:d.value,codeTheme:t.codeTheme,insertLinkDirect:t.insertLinkDirect},null),$(x6,{ref:u,modelValue:t.modelValue,setting:h,mdHeadingId:t.mdHeadingId,noMermaid:n,noPrettier:r,sanitize:t.sanitize,placeholder:t.placeholder,noKatex:i,scrollAuto:l.scrollAuto,formatCopiedText:t.formatCopiedText,autofocus:t.autoFocus,disabled:t.disabled,readonly:t.readOnly,maxlength:t.maxLength,autoDetectCode:t.autoDetectCode,noHighlight:o,updateModelValue:O=>{e.emit("update:modelValue",O)},onChange:O=>{var g;(g=t.onChange)==null||g.call(t,O),e.emit("onChange",O)},onHtmlChanged:O=>{var g;(g=t.onHtmlChanged)==null||g.call(t,O),e.emit("onHtmlChanged",O)},onGetCatalog:O=>{var g;(g=t.onGetCatalog)==null||g.call(t,O),e.emit("onGetCatalog",O)},onBlur:O=>{var g;(g=t.onBlur)==null||g.call(t,O),e.emit("onBlur",O)},onFocus:O=>{var g;(g=t.onFocus)==null||g.call(t,O),e.emit("onFocus",O)},onInput:O=>{var g;(g=t.onInput)==null||g.call(t,O),e.emit("onInput",O)},completions:t.completions,catalogVisible:d.value,theme:t.theme,noImgZoomIn:t.noImgZoomIn,onDrop:O=>{var g;(g=t.onDrop)==null||g.call(t,O),e.emit("onDrop",O)},inputBoxWidth:t.inputBoxWidth,oninputBoxWidthChange:O=>{var g;(g=t.oninputBoxWidthChange)==null||g.call(t,O),e.emit("oninputBoxWidthChange",O)},sanitizeMermaid:t.sanitizeMermaid,transformImgUrl:t.transformImgUrl,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold,onRemount:()=>{var O;(O=t.onRemount)==null||O.call(t),e.emit("onRemount")},catalogLayout:t.catalogLayout,catalogMaxDepth:t.catalogMaxDepth},null),t.footers.length>0&&$(P6,{modelValue:t.modelValue,footers:t.footers,defFooters:m,noScrollAuto:!h.preview&&!h.htmlPreview||h.previewOnly,scrollAuto:l.scrollAuto,onScrollAutoChange:O=>l.scrollAuto=O},null)])}}});ul.install=t=>(t.component(ul.name,ul),t.use(gs).use(rs).use(bs).use(Jn).use(ls),t);const C6=dl["zh-CN"],T6=dl["en-US"];function A6(t,e){for(var i=0;in[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}const E6={onClick:{type:Function,default:void 0},language:{type:String,default:void 0},theme:{type:String,default:void 0},disabled:{type:Boolean,default:void 0}},cl=Te({name:"NormalFooterToolbar",props:E6,emits:["onClick"],setup(t,e){return()=>{const i=ht({props:t,ctx:e});return $("div",{class:[`${x}-footer-item`,t.disabled&&`${x}-disabled`],onClick:n=>{var r;t.disabled||((r=t.onClick)==null||r.call(t,n),e.emit("onClick",n))}},[i])}}});cl.install=t=>(t.component(cl.name,cl),t);function R6(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var kc={exports:{}},Ee={},Sc={exports:{}},Zn={};function rv(){var t={};return t["align-content"]=!1,t["align-items"]=!1,t["align-self"]=!1,t["alignment-adjust"]=!1,t["alignment-baseline"]=!1,t.all=!1,t["anchor-point"]=!1,t.animation=!1,t["animation-delay"]=!1,t["animation-direction"]=!1,t["animation-duration"]=!1,t["animation-fill-mode"]=!1,t["animation-iteration-count"]=!1,t["animation-name"]=!1,t["animation-play-state"]=!1,t["animation-timing-function"]=!1,t.azimuth=!1,t["backface-visibility"]=!1,t.background=!0,t["background-attachment"]=!0,t["background-clip"]=!0,t["background-color"]=!0,t["background-image"]=!0,t["background-origin"]=!0,t["background-position"]=!0,t["background-repeat"]=!0,t["background-size"]=!0,t["baseline-shift"]=!1,t.binding=!1,t.bleed=!1,t["bookmark-label"]=!1,t["bookmark-level"]=!1,t["bookmark-state"]=!1,t.border=!0,t["border-bottom"]=!0,t["border-bottom-color"]=!0,t["border-bottom-left-radius"]=!0,t["border-bottom-right-radius"]=!0,t["border-bottom-style"]=!0,t["border-bottom-width"]=!0,t["border-collapse"]=!0,t["border-color"]=!0,t["border-image"]=!0,t["border-image-outset"]=!0,t["border-image-repeat"]=!0,t["border-image-slice"]=!0,t["border-image-source"]=!0,t["border-image-width"]=!0,t["border-left"]=!0,t["border-left-color"]=!0,t["border-left-style"]=!0,t["border-left-width"]=!0,t["border-radius"]=!0,t["border-right"]=!0,t["border-right-color"]=!0,t["border-right-style"]=!0,t["border-right-width"]=!0,t["border-spacing"]=!0,t["border-style"]=!0,t["border-top"]=!0,t["border-top-color"]=!0,t["border-top-left-radius"]=!0,t["border-top-right-radius"]=!0,t["border-top-style"]=!0,t["border-top-width"]=!0,t["border-width"]=!0,t.bottom=!1,t["box-decoration-break"]=!0,t["box-shadow"]=!0,t["box-sizing"]=!0,t["box-snap"]=!0,t["box-suppress"]=!0,t["break-after"]=!0,t["break-before"]=!0,t["break-inside"]=!0,t["caption-side"]=!1,t.chains=!1,t.clear=!0,t.clip=!1,t["clip-path"]=!1,t["clip-rule"]=!1,t.color=!0,t["color-interpolation-filters"]=!0,t["column-count"]=!1,t["column-fill"]=!1,t["column-gap"]=!1,t["column-rule"]=!1,t["column-rule-color"]=!1,t["column-rule-style"]=!1,t["column-rule-width"]=!1,t["column-span"]=!1,t["column-width"]=!1,t.columns=!1,t.contain=!1,t.content=!1,t["counter-increment"]=!1,t["counter-reset"]=!1,t["counter-set"]=!1,t.crop=!1,t.cue=!1,t["cue-after"]=!1,t["cue-before"]=!1,t.cursor=!1,t.direction=!1,t.display=!0,t["display-inside"]=!0,t["display-list"]=!0,t["display-outside"]=!0,t["dominant-baseline"]=!1,t.elevation=!1,t["empty-cells"]=!1,t.filter=!1,t.flex=!1,t["flex-basis"]=!1,t["flex-direction"]=!1,t["flex-flow"]=!1,t["flex-grow"]=!1,t["flex-shrink"]=!1,t["flex-wrap"]=!1,t.float=!1,t["float-offset"]=!1,t["flood-color"]=!1,t["flood-opacity"]=!1,t["flow-from"]=!1,t["flow-into"]=!1,t.font=!0,t["font-family"]=!0,t["font-feature-settings"]=!0,t["font-kerning"]=!0,t["font-language-override"]=!0,t["font-size"]=!0,t["font-size-adjust"]=!0,t["font-stretch"]=!0,t["font-style"]=!0,t["font-synthesis"]=!0,t["font-variant"]=!0,t["font-variant-alternates"]=!0,t["font-variant-caps"]=!0,t["font-variant-east-asian"]=!0,t["font-variant-ligatures"]=!0,t["font-variant-numeric"]=!0,t["font-variant-position"]=!0,t["font-weight"]=!0,t.grid=!1,t["grid-area"]=!1,t["grid-auto-columns"]=!1,t["grid-auto-flow"]=!1,t["grid-auto-rows"]=!1,t["grid-column"]=!1,t["grid-column-end"]=!1,t["grid-column-start"]=!1,t["grid-row"]=!1,t["grid-row-end"]=!1,t["grid-row-start"]=!1,t["grid-template"]=!1,t["grid-template-areas"]=!1,t["grid-template-columns"]=!1,t["grid-template-rows"]=!1,t["hanging-punctuation"]=!1,t.height=!0,t.hyphens=!1,t.icon=!1,t["image-orientation"]=!1,t["image-resolution"]=!1,t["ime-mode"]=!1,t["initial-letters"]=!1,t["inline-box-align"]=!1,t["justify-content"]=!1,t["justify-items"]=!1,t["justify-self"]=!1,t.left=!1,t["letter-spacing"]=!0,t["lighting-color"]=!0,t["line-box-contain"]=!1,t["line-break"]=!1,t["line-grid"]=!1,t["line-height"]=!1,t["line-snap"]=!1,t["line-stacking"]=!1,t["line-stacking-ruby"]=!1,t["line-stacking-shift"]=!1,t["line-stacking-strategy"]=!1,t["list-style"]=!0,t["list-style-image"]=!0,t["list-style-position"]=!0,t["list-style-type"]=!0,t.margin=!0,t["margin-bottom"]=!0,t["margin-left"]=!0,t["margin-right"]=!0,t["margin-top"]=!0,t["marker-offset"]=!1,t["marker-side"]=!1,t.marks=!1,t.mask=!1,t["mask-box"]=!1,t["mask-box-outset"]=!1,t["mask-box-repeat"]=!1,t["mask-box-slice"]=!1,t["mask-box-source"]=!1,t["mask-box-width"]=!1,t["mask-clip"]=!1,t["mask-image"]=!1,t["mask-origin"]=!1,t["mask-position"]=!1,t["mask-repeat"]=!1,t["mask-size"]=!1,t["mask-source-type"]=!1,t["mask-type"]=!1,t["max-height"]=!0,t["max-lines"]=!1,t["max-width"]=!0,t["min-height"]=!0,t["min-width"]=!0,t["move-to"]=!1,t["nav-down"]=!1,t["nav-index"]=!1,t["nav-left"]=!1,t["nav-right"]=!1,t["nav-up"]=!1,t["object-fit"]=!1,t["object-position"]=!1,t.opacity=!1,t.order=!1,t.orphans=!1,t.outline=!1,t["outline-color"]=!1,t["outline-offset"]=!1,t["outline-style"]=!1,t["outline-width"]=!1,t.overflow=!1,t["overflow-wrap"]=!1,t["overflow-x"]=!1,t["overflow-y"]=!1,t.padding=!0,t["padding-bottom"]=!0,t["padding-left"]=!0,t["padding-right"]=!0,t["padding-top"]=!0,t.page=!1,t["page-break-after"]=!1,t["page-break-before"]=!1,t["page-break-inside"]=!1,t["page-policy"]=!1,t.pause=!1,t["pause-after"]=!1,t["pause-before"]=!1,t.perspective=!1,t["perspective-origin"]=!1,t.pitch=!1,t["pitch-range"]=!1,t["play-during"]=!1,t.position=!1,t["presentation-level"]=!1,t.quotes=!1,t["region-fragment"]=!1,t.resize=!1,t.rest=!1,t["rest-after"]=!1,t["rest-before"]=!1,t.richness=!1,t.right=!1,t.rotation=!1,t["rotation-point"]=!1,t["ruby-align"]=!1,t["ruby-merge"]=!1,t["ruby-position"]=!1,t["shape-image-threshold"]=!1,t["shape-outside"]=!1,t["shape-margin"]=!1,t.size=!1,t.speak=!1,t["speak-as"]=!1,t["speak-header"]=!1,t["speak-numeral"]=!1,t["speak-punctuation"]=!1,t["speech-rate"]=!1,t.stress=!1,t["string-set"]=!1,t["tab-size"]=!1,t["table-layout"]=!1,t["text-align"]=!0,t["text-align-last"]=!0,t["text-combine-upright"]=!0,t["text-decoration"]=!0,t["text-decoration-color"]=!0,t["text-decoration-line"]=!0,t["text-decoration-skip"]=!0,t["text-decoration-style"]=!0,t["text-emphasis"]=!0,t["text-emphasis-color"]=!0,t["text-emphasis-position"]=!0,t["text-emphasis-style"]=!0,t["text-height"]=!0,t["text-indent"]=!0,t["text-justify"]=!0,t["text-orientation"]=!0,t["text-overflow"]=!0,t["text-shadow"]=!0,t["text-space-collapse"]=!0,t["text-transform"]=!0,t["text-underline-position"]=!0,t["text-wrap"]=!0,t.top=!1,t.transform=!1,t["transform-origin"]=!1,t["transform-style"]=!1,t.transition=!1,t["transition-delay"]=!1,t["transition-duration"]=!1,t["transition-property"]=!1,t["transition-timing-function"]=!1,t["unicode-bidi"]=!1,t["vertical-align"]=!1,t.visibility=!1,t["voice-balance"]=!1,t["voice-duration"]=!1,t["voice-family"]=!1,t["voice-pitch"]=!1,t["voice-range"]=!1,t["voice-rate"]=!1,t["voice-stress"]=!1,t["voice-volume"]=!1,t.volume=!1,t["white-space"]=!1,t.widows=!1,t.width=!0,t["will-change"]=!1,t["word-break"]=!0,t["word-spacing"]=!0,t["word-wrap"]=!0,t["wrap-flow"]=!1,t["wrap-through"]=!1,t["writing-mode"]=!1,t["z-index"]=!1,t}function D6(t,e,i){}function L6(t,e,i){}var M6=/javascript\s*\:/img;function Z6(t,e){return M6.test(e)?"":e}Zn.whiteList=rv();Zn.getDefaultWhiteList=rv;Zn.onAttr=D6;Zn.onIgnoreAttr=L6;Zn.safeAttrValue=Z6;var I6={indexOf:function(t,e){var i,n;if(Array.prototype.indexOf)return t.indexOf(e);for(i=0,n=t.length;i/g,J6=/"/g,e4=/"/g,t4=/&#([a-zA-Z0-9]*);?/gim,i4=/:?/gim,n4=/&newline;?/gim,Yo=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,Wp=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,Yp=/u\s*r\s*l\s*\(.*/gi;function uv(t){return t.replace(J6,""")}function cv(t){return t.replace(e4,'"')}function hv(t){return t.replace(t4,function(i,n){return n[0]==="x"||n[0]==="X"?String.fromCharCode(parseInt(n.substr(1),16)):String.fromCharCode(parseInt(n,10))})}function fv(t){return t.replace(i4,":").replace(n4," ")}function dv(t){for(var e="",i=0,n=t.length;i",n);if(r===-1)break;i=r+3}return e}function l4(t){var e=t.split("");return e=e.filter(function(i){var n=i.charCodeAt(0);return n===127?!1:n<=31?n===10||n===13:!0}),e.join("")}Ee.whiteList=ov();Ee.getDefaultWhiteList=ov;Ee.onTag=W6;Ee.onIgnoreTag=Y6;Ee.onTagAttr=N6;Ee.onIgnoreTagAttr=G6;Ee.safeAttrValue=U6;Ee.escapeHtml=av;Ee.escapeQuote=uv;Ee.unescapeQuote=cv;Ee.escapeHtmlEntities=hv;Ee.escapeDangerHtml5Entities=fv;Ee.clearNonPrintableCharacter=dv;Ee.friendlyAttrValue=pv;Ee.escapeAttrValue=mv;Ee.onIgnoreTagStripAll=r4;Ee.StripTagBody=s4;Ee.stripCommentTag=o4;Ee.stripBlankChar=l4;Ee.attributeWrapSign='"';Ee.cssFilter=lv;Ee.getDefaultCSSWhiteList=q6;var ga={},Hi=Xh;function a4(t){var e=Hi.spaceIndex(t),i;return e===-1?i=t.slice(1,-1):i=t.slice(1,e+1),i=Hi.trim(i).toLowerCase(),i.slice(0,1)==="/"&&(i=i.slice(1)),i.slice(-1)==="/"&&(i=i.slice(0,-1)),i}function u4(t){return t.slice(0,2)===""||l===a-1){n+=i(t.slice(r,s)),c=t.slice(s,l+1),u=a4(c),n+=e(s,n.length,u,c,u4(c)),r=l+1,s=!1;continue}if(h==='"'||h==="'")for(var f=1,d=t.charAt(l-f);d.trim()===""||d==="=";){if(d==="="){o=h;continue e}d=t.charAt(l-++f)}}else if(h===o){o=!1;continue}}return r0;e--){var i=t[e];if(i!==" ")return i==="="?e:-1}}function O4(t){return t[0]==='"'&&t[t.length-1]==='"'||t[0]==="'"&&t[t.length-1]==="'"}function Np(t){return O4(t)?t.substr(1,t.length-2):t}ga.parseTag=c4;ga.parseAttr=f4;var g4=Ih.FilterCSS,It=Ee,Ov=ga,b4=Ov.parseTag,v4=Ov.parseAttr,hl=Xh;function No(t){return t==null}function y4(t){var e=hl.spaceIndex(t);if(e===-1)return{html:"",closing:t[t.length-2]==="/"};t=hl.trim(t.slice(e+1,-1));var i=t[t.length-1]==="/";return i&&(t=hl.trim(t.slice(0,-1))),{html:t,closing:i}}function x4(t){var e={};for(var i in t)e[i]=t[i];return e}function k4(t){var e={};for(var i in t)Array.isArray(t[i])?e[i.toLowerCase()]=t[i].map(function(n){return n.toLowerCase()}):e[i.toLowerCase()]=t[i];return e}function gv(t){t=x4(t||{}),t.stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=It.onIgnoreTagStripAll),t.whiteList||t.allowList?t.whiteList=k4(t.whiteList||t.allowList):t.whiteList=It.whiteList,this.attributeWrapSign=t.singleQuotedAttributeValue===!0?"'":It.attributeWrapSign,t.onTag=t.onTag||It.onTag,t.onTagAttr=t.onTagAttr||It.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||It.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||It.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||It.safeAttrValue,t.escapeHtml=t.escapeHtml||It.escapeHtml,this.options=t,t.css===!1?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new g4(t.css))}gv.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,i=e.options,n=i.whiteList,r=i.onTag,s=i.onIgnoreTag,o=i.onTagAttr,l=i.onIgnoreTagAttr,a=i.safeAttrValue,u=i.escapeHtml,c=e.attributeWrapSign,h=e.cssFilter;i.stripBlankChar&&(t=It.stripBlankChar(t)),i.allowCommentTag||(t=It.stripCommentTag(t));var f=!1;i.stripIgnoreTagBody&&(f=It.StripTagBody(i.stripIgnoreTagBody,s),s=f.onIgnoreTag);var d=b4(t,function(p,m,O,g,b){var y={sourcePosition:p,position:m,isClosing:b,isWhite:Object.prototype.hasOwnProperty.call(n,O)},w=r(O,g,y);if(!No(w))return w;if(y.isWhite){if(y.isClosing)return"";var v=y4(g),Q=n[O],P=v4(v.html,function(_,R){var L=hl.indexOf(Q,_)!==-1,I=o(O,_,R,L);return No(I)?L?(R=a(O,_,R,h),R?_+"="+c+R+c:_):(I=l(O,_,R,L),No(I)?void 0:I):I});return g="<"+O,P&&(g+=" "+P),v.closing&&(g+=" /"),g+=">",g}else return w=s(O,g,y),No(w)?u(g):w},u);return f&&(d=f.remove(d)),d};var S4=gv;(function(t,e){var i=Ee,n=ga,r=S4;function s(l,a){var u=new r(a);return u.process(l)}e=t.exports=s,e.filterXSS=s,e.FilterXSS=r,(function(){for(var l in i)e[l]=i[l];for(var a in n)e[a]=n[a]})(),typeof window<"u"&&(window.filterXSS=t.exports);function o(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}o()&&(self.filterXSS=t.exports)})(kc,kc.exports);var vs=kc.exports;const w4=R6(vs),$4=A6({__proto__:null,default:w4},[vs]),Gp={img:["class"],input:["class","disabled","type","checked"],iframe:["class","width","height","src","title","border","frameborder","framespacing","allow","allowfullscreen"]},Q4=(t,e)=>{const{extendedWhiteList:i={},xss:n={}}=e;let r;if(typeof n=="function")r=new vs.FilterXSS(n($4));else{const s=vs.getDefaultWhiteList();[...Object.keys(i),...Object.keys(Gp)].forEach(l=>{const a=s[l]||[],u=Gp[l]||[],c=i[l]||[];s[l]=[...new Set([...a,...u,...c])]}),r=new vs.FilterXSS({whiteList:s,...n})}t.core.ruler.after("linkify","xss",s=>{for(let o=0;o{u.type==="html_inline"&&(u.content=r.process(u.content))});break}}}})},_4=()=>{Object.keys(bt).forEach(t=>{const e=document.getElementById(bt[t]);e&&e.remove()})},Z4=Object.freeze(Object.defineProperty({__proto__:null,DropdownToolbar:rs,MdCatalog:Jn,MdEditor:ul,MdModal:_n,MdPreview:ls,ModalToolbar:bs,NormalFooterToolbar:cl,NormalToolbar:gs,StrIcon:os,XSSPlugin:Q4,allFooter:$c,allToolbar:wc,clearSideEffects:_4,config:Mv,editorExtensionsAttrs:Lv,en_US:T6,prefix:x,zh_CN:C6},Symbol.toStringTag,{value:"Module"}));export{nb as C,Zt as E,ge as I,Sr as L,Sg as N,Qr as a,A_ as b,ol as c,P1 as d,Pr as e,no as f,Re as g,ql as h,Mr as i,M$ as j,L$ as k,Ag as l,mt as m,W as n,E as o,Bb as p,wg as q,vb as r,Dr as s,k as t,Rg as u,qt as v,Z4 as w}; diff --git a/frontend/dist/assets/index-Dp7iU37E.js b/frontend/dist/assets/index-Dp7iU37E.js new file mode 100644 index 0000000..c502027 --- /dev/null +++ b/frontend/dist/assets/index-Dp7iU37E.js @@ -0,0 +1,3 @@ +import{e as D,E as h,C as L,s as H,t as n,b as B,g as K,a as M,L as OO,i as eO,k as f,f as iO,l as aO,N as nO,I as rO,d as QO,m as d}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const tO=1,Z=194,j=195,oO=196,x=197,dO=198,sO=199,lO=200,TO=2,E=3,u=201,SO=24,pO=25,qO=49,gO=50,PO=55,mO=56,$O=57,hO=59,cO=60,fO=61,XO=62,yO=63,zO=65,WO=238,vO=71,RO=241,kO=242,_O=243,xO=244,uO=245,UO=246,bO=247,VO=248,Y=72,GO=249,wO=250,ZO=251,jO=252,EO=253,YO=254,FO=255,CO=256,JO=73,AO=77,NO=263,IO=112,DO=130,LO=151,HO=152,BO=155,p=10,q=13,k=32,c=9,_=35,KO=40,MO=46,R=123,U=125,F=39,C=34,b=92,Oe=111,ee=120,ie=78,ae=117,ne=85,re=new Set([pO,qO,gO,NO,zO,DO,mO,$O,WO,XO,yO,Y,JO,AO,cO,fO,LO,HO,BO,IO]);function X(O){return O==p||O==q}function y(O){return O>=48&&O<=57||O>=65&&O<=70||O>=97&&O<=102}const Qe=new h((O,e)=>{let i;if(O.next<0)O.acceptToken(sO);else if(e.context.flags&m)X(O.next)&&O.acceptToken(dO,1);else if(((i=O.peek(-1))<0||X(i))&&e.canShift(x)){let a=0;for(;O.next==k||O.next==c;)O.advance(),a++;(O.next==p||O.next==q||O.next==_)&&O.acceptToken(x,-a)}else X(O.next)&&O.acceptToken(oO,1)},{contextual:!0}),te=new h((O,e)=>{let i=e.context;if(i.flags)return;let a=O.peek(-1);if(a==p||a==q){let r=0,Q=0;for(;;){if(O.next==k)r++;else if(O.next==c)r+=8-r%8;else break;O.advance(),Q++}r!=i.indent&&O.next!=p&&O.next!=q&&O.next!=_&&(r[O,e|J])),se=new L({start:oe,reduce(O,e,i,a){return O.flags&m&&re.has(e)||(e==vO||e==Y)&&O.flags&J?O.parent:O},shift(O,e,i,a){return e==Z?new $(O,de(a.read(a.pos,i.pos)),0):e==j?O.parent:e==SO||e==PO||e==hO||e==E?new $(O,0,m):V.has(e)?new $(O,0,V.get(e)|O.flags&m):O},hash(O){return O.hash}}),le=new h(O=>{for(let e=0;e<5;e++){if(O.next!="print".charCodeAt(e))return;O.advance()}if(!/\w/.test(String.fromCharCode(O.next)))for(let e=0;;e++){let i=O.peek(e);if(!(i==k||i==c)){i!=KO&&i!=MO&&i!=p&&i!=q&&i!=_&&O.acceptToken(tO);return}}}),Te=new h((O,e)=>{let{flags:i}=e.context,a=i&s?C:F,r=(i&l)>0,Q=!(i&T),t=(i&S)>0,o=O.pos;for(;!(O.next<0);)if(t&&O.next==R)if(O.peek(1)==R)O.advance(2);else{if(O.pos==o){O.acceptToken(E,1);return}break}else if(Q&&O.next==b){if(O.pos==o){O.advance();let g=O.next;g>=0&&(O.advance(),Se(O,g)),O.acceptToken(TO);return}break}else if(O.next==b&&!Q&&O.peek(1)>-1)O.advance(2);else if(O.next==a&&(!r||O.peek(1)==a&&O.peek(2)==a)){if(O.pos==o){O.acceptToken(u,r?3:1);return}break}else if(O.next==p){if(r)O.advance();else if(O.pos==o){O.acceptToken(u);return}break}else O.advance();O.pos>o&&O.acceptToken(lO)});function Se(O,e){if(e==Oe)for(let i=0;i<2&&O.next>=48&&O.next<=55;i++)O.advance();else if(e==ee)for(let i=0;i<2&&y(O.next);i++)O.advance();else if(e==ae)for(let i=0;i<4&&y(O.next);i++)O.advance();else if(e==ne)for(let i=0;i<8&&y(O.next);i++)O.advance();else if(e==ie&&O.next==R){for(O.advance();O.next>=0&&O.next!=U&&O.next!=F&&O.next!=C&&O.next!=p;)O.advance();O.next==U&&O.advance()}}const pe=H({'async "*" "**" FormatConversion FormatSpec':n.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":n.controlKeyword,"in not and or is del":n.operatorKeyword,"from def class global nonlocal lambda":n.definitionKeyword,import:n.moduleKeyword,"with as print":n.keyword,Boolean:n.bool,None:n.null,VariableName:n.variableName,"CallExpression/VariableName":n.function(n.variableName),"FunctionDefinition/VariableName":n.function(n.definition(n.variableName)),"ClassDefinition/VariableName":n.definition(n.className),PropertyName:n.propertyName,"CallExpression/MemberExpression/PropertyName":n.function(n.propertyName),Comment:n.lineComment,Number:n.number,String:n.string,FormatString:n.special(n.string),Escape:n.escape,UpdateOp:n.updateOperator,"ArithOp!":n.arithmeticOperator,BitOp:n.bitwiseOperator,CompareOp:n.compareOperator,AssignOp:n.definitionOperator,Ellipsis:n.punctuation,At:n.meta,"( )":n.paren,"[ ]":n.squareBracket,"{ }":n.brace,".":n.derefOperator,", ;":n.separator}),qe={__proto__:null,await:44,or:54,and:56,in:60,not:62,is:64,if:70,else:72,lambda:76,yield:94,from:96,async:102,for:104,None:162,True:164,False:164,del:178,pass:182,break:186,continue:190,return:194,raise:202,import:206,as:208,global:212,nonlocal:214,assert:218,type:223,elif:236,while:240,try:246,except:248,finally:250,with:254,def:258,class:268,match:279,case:285},ge=D.deserialize({version:14,states:"##jQ`QeOOP$}OSOOO&WQtO'#HUOOQS'#Co'#CoOOQS'#Cp'#CpO'vQdO'#CnO*UQtO'#HTOOQS'#HU'#HUOOQS'#DU'#DUOOQS'#HT'#HTO*rQdO'#D_O+VQdO'#DfO+gQdO'#DjO+zOWO'#DuO,VOWO'#DvO.[QtO'#GuOOQS'#Gu'#GuO'vQdO'#GtO0ZQtO'#GtOOQS'#Eb'#EbO0rQdO'#EcOOQS'#Gs'#GsO0|QdO'#GrOOQV'#Gr'#GrO1XQdO'#FYOOQS'#G^'#G^O1^QdO'#FXOOQV'#IS'#ISOOQV'#Gq'#GqOOQV'#Fq'#FqQ`QeOOO'vQdO'#CqO1lQdO'#C}O1sQdO'#DRO2RQdO'#HYO2cQtO'#EVO'vQdO'#EWOOQS'#EY'#EYOOQS'#E['#E[OOQS'#E^'#E^O2wQdO'#E`O3_QdO'#EdO3rQdO'#EfO3zQtO'#EfO1XQdO'#EiO0rQdO'#ElO1XQdO'#EnO0rQdO'#EtO0rQdO'#EwO4VQdO'#EyO4^QdO'#FOO4iQdO'#EzO0rQ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lO%Tk!,PV&n`Ow%Twx!,fx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!,mT&n`&iZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To!-Vi&n`&YS%uZOr%TrsNWsw%Twx! vx!Q%T!Q![JU![!c%T!c!dJU!d!eLx!e!hJU!h!i!(`!i!}JU!}#R%T#R#SJU#S#T%T#T#UJU#U#VLx#V#YJU#Y#Z!(`#Z#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUo!.}a&n`&YS%uZOr%Trs)Ysw%Twx.Ux!Q%T!Q![JU![!c%T!c!}JU!}#R%T#R#SJU#S#T%T#T#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUk!0ZT!XZ&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc!0qT!WR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tj!1XV%kQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!1sO!]~k!1zV%jR&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!2fO![~i!2mT%tX&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T",tokenizers:[le,te,Qe,Te,0,1,2,3,4],topRules:{Script:[0,5]},specialized:[{term:221,get:O=>qe[O]||-1}],tokenPrec:7668}),G=new nO,A=new Set(["Script","Body","FunctionDefinition","ClassDefinition","LambdaExpression","ForStatement","MatchClause"]);function P(O){return(e,i,a)=>{if(a)return!1;let r=e.node.getChild("VariableName");return r&&i(r,O),!0}}const Pe={FunctionDefinition:P("function"),ClassDefinition:P("class"),ForStatement(O,e,i){if(i){for(let a=O.node.firstChild;a;a=a.nextSibling)if(a.name=="VariableName")e(a,"variable");else if(a.name=="in")break}},ImportStatement(O,e){var i,a;let{node:r}=O,Q=((i=r.firstChild)===null||i===void 0?void 0:i.name)=="from";for(let t=r.getChild("import");t;t=t.nextSibling)t.name=="VariableName"&&((a=t.nextSibling)===null||a===void 0?void 0:a.name)!="as"&&e(t,Q?"variable":"namespace")},AssignStatement(O,e){for(let i=O.node.firstChild;i;i=i.nextSibling)if(i.name=="VariableName")e(i,"variable");else if(i.name==":"||i.name=="AssignOp")break},ParamList(O,e){for(let i=null,a=O.node.firstChild;a;a=a.nextSibling)a.name=="VariableName"&&(!i||!/\*|AssignOp/.test(i.name))&&e(a,"variable"),i=a},CapturePattern:P("variable"),AsPattern:P("variable"),__proto__:null};function N(O,e){let i=G.get(e);if(i)return i;let a=[],r=!0;function Q(t,o){let g=O.sliceString(t.from,t.to);a.push({label:g,type:o})}return e.cursor(rO.IncludeAnonymous).iterate(t=>{if(t.name){let o=Pe[t.name];if(o&&o(t,Q,r)||!r&&A.has(t.name))return!1;r=!1}else if(t.to-t.from>8192){for(let o of N(O,t.node))a.push(o);return!1}}),G.set(e,a),a}const w=/^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/,I=["String","FormatString","Comment","PropertyName"];function me(O){let e=K(O.state).resolveInner(O.pos,-1);if(I.indexOf(e.name)>-1)return null;let i=e.name=="VariableName"||e.to-e.from<20&&w.test(O.state.sliceDoc(e.from,e.to));if(!i&&!O.explicit)return null;let a=[];for(let r=e;r;r=r.parent)A.has(r.name)&&(a=a.concat(N(O.state.doc,r)));return{options:a,from:i?e.from:O.pos,validFor:w}}const $e=["__annotations__","__builtins__","__debug__","__doc__","__import__","__name__","__loader__","__package__","__spec__","False","None","True"].map(O=>({label:O,type:"constant"})).concat(["ArithmeticError","AssertionError","AttributeError","BaseException","BlockingIOError","BrokenPipeError","BufferError","BytesWarning","ChildProcessError","ConnectionAbortedError","ConnectionError","ConnectionRefusedError","ConnectionResetError","DeprecationWarning","EOFError","Ellipsis","EncodingWarning","EnvironmentError","Exception","FileExistsError","FileNotFoundError","FloatingPointError","FutureWarning","GeneratorExit","IOError","ImportError","ImportWarning","IndentationError","IndexError","InterruptedError","IsADirectoryError","KeyError","KeyboardInterrupt","LookupError","MemoryError","ModuleNotFoundError","NameError","NotADirectoryError","NotImplemented","NotImplementedError","OSError","OverflowError","PendingDeprecationWarning","PermissionError","ProcessLookupError","RecursionError","ReferenceError","ResourceWarning","RuntimeError","RuntimeWarning","StopAsyncIteration","StopIteration","SyntaxError","SyntaxWarning","SystemError","SystemExit","TabError","TimeoutError","TypeError","UnboundLocalError","UnicodeDecodeError","UnicodeEncodeError","UnicodeError","UnicodeTranslateError","UnicodeWarning","UserWarning","ValueError","Warning","ZeroDivisionError"].map(O=>({label:O,type:"type"}))).concat(["bool","bytearray","bytes","classmethod","complex","float","frozenset","int","list","map","memoryview","object","range","set","staticmethod","str","super","tuple","type"].map(O=>({label:O,type:"class"}))).concat(["abs","aiter","all","anext","any","ascii","bin","breakpoint","callable","chr","compile","delattr","dict","dir","divmod","enumerate","eval","exec","exit","filter","format","getattr","globals","hasattr","hash","help","hex","id","input","isinstance","issubclass","iter","len","license","locals","max","min","next","oct","open","ord","pow","print","property","quit","repr","reversed","round","setattr","slice","sorted","sum","vars","zip"].map(O=>({label:O,type:"function"}))),he=[d("def ${name}(${params}):\n ${}",{label:"def",detail:"function",type:"keyword"}),d("for ${name} in ${collection}:\n ${}",{label:"for",detail:"loop",type:"keyword"}),d("while ${}:\n ${}",{label:"while",detail:"loop",type:"keyword"}),d("try:\n ${}\nexcept ${error}:\n ${}",{label:"try",detail:"/ except block",type:"keyword"}),d(`if \${}: + +`,{label:"if",detail:"block",type:"keyword"}),d("if ${}:\n ${}\nelse:\n ${}",{label:"if",detail:"/ else block",type:"keyword"}),d("class ${name}:\n def __init__(self, ${params}):\n ${}",{label:"class",detail:"definition",type:"keyword"}),d("import ${module}",{label:"import",detail:"statement",type:"keyword"}),d("from ${module} import ${names}",{label:"from",detail:"import",type:"keyword"})],ce=B(I,QO($e.concat(he)));function z(O){let{node:e,pos:i}=O,a=O.lineIndent(i,-1),r=null;for(;;){let Q=e.childBefore(i);if(Q)if(Q.name=="Comment")i=Q.from;else if(Q.name=="Body"||Q.name=="MatchBody")O.baseIndentFor(Q)+O.unit<=a&&(r=Q),e=Q;else if(Q.name=="MatchClause")e=Q;else if(Q.type.is("Statement"))e=Q;else break;else break}return r}function W(O,e){let i=O.baseIndentFor(e),a=O.lineAt(O.pos,-1),r=a.from+a.text.length;return/^\s*($|#)/.test(a.text)&&O.node.toi?null:i+O.unit}const v=OO.define({name:"python",parser:ge.configure({props:[eO.add({Body:O=>{var e;let i=/^\s*(#|$)/.test(O.textAfter)&&z(O)||O.node;return(e=W(O,i))!==null&&e!==void 0?e:O.continue()},MatchBody:O=>{var e;let i=z(O);return(e=W(O,i||O.node))!==null&&e!==void 0?e:O.continue()},IfStatement:O=>/^\s*(else:|elif )/.test(O.textAfter)?O.baseIndent:O.continue(),"ForStatement WhileStatement":O=>/^\s*else:/.test(O.textAfter)?O.baseIndent:O.continue(),TryStatement:O=>/^\s*(except[ :]|finally:|else:)/.test(O.textAfter)?O.baseIndent:O.continue(),MatchStatement:O=>/^\s*case /.test(O.textAfter)?O.baseIndent+O.unit:O.continue(),"TupleExpression ComprehensionExpression ParamList ArgList ParenthesizedExpression":f({closing:")"}),"DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression":f({closing:"}"}),"ArrayExpression ArrayComprehensionExpression":f({closing:"]"}),MemberExpression:O=>O.baseIndent+O.unit,"String FormatString":()=>null,Script:O=>{var e;let i=z(O);return(e=i&&W(O,i))!==null&&e!==void 0?e:O.continue()}}),iO.add({"ArrayExpression DictionaryExpression SetExpression TupleExpression":aO,Body:(O,e)=>({from:O.from+1,to:O.to-(O.to==e.doc.length?0:1)}),"String FormatString":(O,e)=>({from:e.doc.lineAt(O.from).to,to:O.to})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["f","fr","rf","r","u","b","br","rb","F","FR","RF","R","U","B","BR","RB"]},commentTokens:{line:"#"},indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:|case\s+[^:]*:?)$/}});function ye(){return new M(v,[v.data.of({autocomplete:me}),v.data.of({autocomplete:ce})])}export{ce as globalCompletion,me as localCompletionSource,ye as python,v as pythonLanguage}; diff --git a/frontend/dist/assets/index-DpY84JwG.js b/frontend/dist/assets/index-DpY84JwG.js index 5e4cddc..c3da767 100644 --- a/frontend/dist/assets/index-DpY84JwG.js +++ b/frontend/dist/assets/index-DpY84JwG.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-DpY84JwG.js import{cg as s,ch as o,ce as h,ci as g,cj as m,ck as v,cl as S,cm as y,cn as P,co as w,cp as b,b as p}from"./index-CD29OCdJ.js";function x(n){return n}function O(n,e,a){switch(a.length){case 0:return n.call(e);case 1:return n.call(e,a[0]);case 2:return n.call(e,a[0],a[1]);case 3:return n.call(e,a[0],a[1],a[2])}return n.apply(e,a)}var T=800,C=16,k=Date.now;function A(n){var e=0,a=0;return function(){var t=k(),r=C-(t-a);if(a=t,r>0){if(++e>=T)return arguments[0]}else e=0;return n.apply(void 0,arguments)}}function H(n){return function(){return n}}var I=s?function(n,e){return s(n,"toString",{configurable:!0,enumerable:!1,value:H(e),writable:!0})}:x,N=A(I),f=Math.max;function F(n,e,a){return e=f(e===void 0?n.length-1:e,0),function(){for(var t=arguments,r=-1,i=f(t.length-e,0),l=Array(i);++r0&&a(u)?e>1?d(u,e-1,a,t,r):m(r,u):t||(r[r.length]=u)}return r}function M(n){var e=n==null?0:n.length;return e?d(n,1):[]}function R(n){return N(F(n,void 0,M),n+"")}function _(n,e){return n!=null&&e in Object(n)}function z(n,e,a){e=v(e,n);for(var t=-1,r=e.length,i=!1;++tK(U,n);export{R as a,d as b,M as f,B as h,x as i,F as o,K as p,N as s,q as u}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-BSbCLbaz.js +import{cg as s,ch as o,ce as h,ci as g,cj as m,ck as v,cl as S,cm as y,cn as P,co as w,cp as b,b as p}from"./index-Ds9AETjS.js";function x(n){return n}function O(n,e,a){switch(a.length){case 0:return n.call(e);case 1:return n.call(e,a[0]);case 2:return n.call(e,a[0],a[1]);case 3:return n.call(e,a[0],a[1],a[2])}return n.apply(e,a)}var T=800,C=16,k=Date.now;function A(n){var e=0,a=0;return function(){var t=k(),r=C-(t-a);if(a=t,r>0){if(++e>=T)return arguments[0]}else e=0;return n.apply(void 0,arguments)}}function H(n){return function(){return n}}var I=s?function(n,e){return s(n,"toString",{configurable:!0,enumerable:!1,value:H(e),writable:!0})}:x,N=A(I),f=Math.max;function F(n,e,a){return e=f(e===void 0?n.length-1:e,0),function(){for(var t=arguments,r=-1,i=f(t.length-e,0),l=Array(i);++r0&&a(u)?e>1?d(u,e-1,a,t,r):m(r,u):t||(r[r.length]=u)}return r}function M(n){var e=n==null?0:n.length;return e?d(n,1):[]}function R(n){return N(F(n,void 0,M),n+"")}function _(n,e){return n!=null&&e in Object(n)}function z(n,e,a){e=v(e,n);for(var t=-1,r=e.length,i=!1;++tK(U,n);export{R as a,d as b,M as f,B as h,x as i,F as o,K as p,N as s,q as u}; +======== +import{cg as s,ch as o,ce as h,ci as g,cj as m,ck as v,cl as S,cm as y,cn as P,co as w,cp as b,b as p}from"./index-CxbBjZKo.js";function x(n){return n}function O(n,e,a){switch(a.length){case 0:return n.call(e);case 1:return n.call(e,a[0]);case 2:return n.call(e,a[0],a[1]);case 3:return n.call(e,a[0],a[1],a[2])}return n.apply(e,a)}var T=800,C=16,k=Date.now;function A(n){var e=0,a=0;return function(){var t=k(),r=C-(t-a);if(a=t,r>0){if(++e>=T)return arguments[0]}else e=0;return n.apply(void 0,arguments)}}function H(n){return function(){return n}}var I=s?function(n,e){return s(n,"toString",{configurable:!0,enumerable:!1,value:H(e),writable:!0})}:x,N=A(I),f=Math.max;function F(n,e,a){return e=f(e===void 0?n.length-1:e,0),function(){for(var t=arguments,r=-1,i=f(t.length-e,0),l=Array(i);++r0&&a(u)?e>1?d(u,e-1,a,t,r):m(r,u):t||(r[r.length]=u)}return r}function M(n){var e=n==null?0:n.length;return e?d(n,1):[]}function R(n){return N(F(n,void 0,M),n+"")}function _(n,e){return n!=null&&e in Object(n)}function z(n,e,a){e=v(e,n);for(var t=-1,r=e.length,i=!1;++tK(U,n);export{R as a,d as b,M as f,B as h,x as i,F as o,K as p,N as s,q as u}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-DxP0p4ch.js diff --git a/frontend/dist/assets/index-DxP0p4ch.js b/frontend/dist/assets/index-DxP0p4ch.js new file mode 100644 index 0000000..0a9351d --- /dev/null +++ b/frontend/dist/assets/index-DxP0p4ch.js @@ -0,0 +1 @@ +import{cg as s,ch as o,ce as h,ci as g,cj as m,ck as v,cl as S,cm as y,cn as P,co as w,cp as b,b as p}from"./index-CxbBjZKo.js";function x(n){return n}function O(n,e,a){switch(a.length){case 0:return n.call(e);case 1:return n.call(e,a[0]);case 2:return n.call(e,a[0],a[1]);case 3:return n.call(e,a[0],a[1],a[2])}return n.apply(e,a)}var T=800,C=16,k=Date.now;function A(n){var e=0,a=0;return function(){var t=k(),r=C-(t-a);if(a=t,r>0){if(++e>=T)return arguments[0]}else e=0;return n.apply(void 0,arguments)}}function H(n){return function(){return n}}var I=s?function(n,e){return s(n,"toString",{configurable:!0,enumerable:!1,value:H(e),writable:!0})}:x,N=A(I),f=Math.max;function F(n,e,a){return e=f(e===void 0?n.length-1:e,0),function(){for(var t=arguments,r=-1,i=f(t.length-e,0),l=Array(i);++r0&&a(u)?e>1?d(u,e-1,a,t,r):m(r,u):t||(r[r.length]=u)}return r}function M(n){var e=n==null?0:n.length;return e?d(n,1):[]}function R(n){return N(F(n,void 0,M),n+"")}function _(n,e){return n!=null&&e in Object(n)}function z(n,e,a){e=v(e,n);for(var t=-1,r=e.length,i=!1;++tK(U,n);export{R as a,d as b,M as f,B as h,x as i,F as o,K as p,N as s,q as u}; diff --git a/frontend/dist/assets/index-DyJEdmgm.js b/frontend/dist/assets/index-DyJEdmgm.js index 253b537..76aaf76 100644 --- a/frontend/dist/assets/index-DyJEdmgm.js +++ b/frontend/dist/assets/index-DyJEdmgm.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-DyJEdmgm.js import{e as W,E as i,C as B,s as U,t as n,a as b,q as E,L as C,i as u,k as v,f as M,l as N}from"./index-DFkjzvE0.js";import"./index-CD29OCdJ.js";const c=63,D=64,j=1,A=2,y=3,H=4,Z=5,F=6,I=7,z=65,K=66,J=8,OO=9,eO=10,aO=11,rO=12,V=13,tO=19,nO=20,oO=29,PO=33,QO=34,sO=47,lO=0,T=1,g=2,d=3,m=4;class s{constructor(e,a,r){this.parent=e,this.depth=a,this.type=r,this.hash=(e?e.hash+e.hash<<8:0)+a+(a<<4)+r}}s.top=new s(null,-1,lO);function X(O,e){for(let a=0,r=e-O.pos-1;;r--,a++){let o=O.peek(r);if(P(o)||o==-1)return a}}function x(O){return O==32||O==9}function P(O){return O==10||O==13}function _(O){return x(O)||P(O)}function l(O){return O<0||_(O)}const cO=new B({start:s.top,reduce(O,e){return O.type==d&&(e==nO||e==QO)?O.parent:O},shift(O,e,a,r){if(e==y)return new s(O,X(r,r.pos),T);if(e==z||e==Z)return new s(O,X(r,r.pos),g);if(e==c)return O.parent;if(e==tO||e==PO)return new s(O,0,d);if(e==V&&O.type==m)return O.parent;if(e==sO){let o=/[1-9]/.exec(r.read(r.pos,a.pos));if(o)return new s(O,O.depth+ +o[0],m)}return O},hash(O){return O.hash}});function f(O,e,a=0){return O.peek(a)==e&&O.peek(a+1)==e&&O.peek(a+2)==e&&l(O.peek(a+3))}const fO=new i((O,e)=>{if(O.next==-1&&e.canShift(D))return O.acceptToken(D);let a=O.peek(-1);if((P(a)||a<0)&&e.context.type!=d){if(f(O,45))if(e.canShift(c))O.acceptToken(c);else return O.acceptToken(j,3);if(f(O,46))if(e.canShift(c))O.acceptToken(c);else return O.acceptToken(A,3);let r=0;for(;O.next==32;)r++,O.advance();(r{if(e.context.type==d){O.next==63&&(O.advance(),l(O.next)&&O.acceptToken(I));return}if(O.next==45)O.advance(),l(O.next)&&O.acceptToken(e.context.type==T&&e.context.depth==X(O,O.pos-1)?H:y);else if(O.next==63)O.advance(),l(O.next)&&O.acceptToken(e.context.type==g&&e.context.depth==X(O,O.pos-1)?F:Z);else{let a=O.pos;for(;;)if(x(O.next)){if(O.pos==a)return;O.advance()}else if(O.next==33)G(O);else if(O.next==38)$(O);else if(O.next==42){$(O);break}else if(O.next==39||O.next==34){if(p(O,!0))break;return}else if(O.next==91||O.next==123){if(!RO(O))return;break}else{w(O,!0,!1,0);break}for(;x(O.next);)O.advance();if(O.next==58){if(O.pos==a&&e.canShift(oO))return;let r=O.peek(1);l(r)&&O.acceptTokenTo(e.context.type==g&&e.context.depth==X(O,a)?K:z,a)}}},{contextual:!0});function dO(O){return O>32&&O<127&&O!=34&&O!=37&&O!=44&&O!=60&&O!=62&&O!=92&&O!=94&&O!=96&&O!=123&&O!=124&&O!=125}function q(O){return O>=48&&O<=57||O>=97&&O<=102||O>=65&&O<=70}function Y(O,e){return O.next==37?(O.advance(),q(O.next)&&O.advance(),q(O.next)&&O.advance(),!0):dO(O.next)||e&&O.next==44?(O.advance(),!0):!1}function G(O){if(O.advance(),O.next==60){for(O.advance();;)if(!Y(O,!0)){O.next==62&&O.advance();break}}else for(;Y(O,!1););}function $(O){for(O.advance();!l(O.next)&&S(O.next)!="f";)O.advance()}function p(O,e){let a=O.next,r=!1,o=O.pos;for(O.advance();;){let t=O.next;if(t<0)break;if(O.advance(),t==a)if(t==39)if(O.next==39)O.advance();else break;else break;else if(t==92&&a==34)O.next>=0&&O.advance();else if(P(t)){if(e)return!1;r=!0}else if(e&&O.pos>=o+1024)return!1}return!r}function RO(O){for(let e=[],a=O.pos+1024;;)if(O.next==91||O.next==123)e.push(O.next),O.advance();else if(O.next==39||O.next==34){if(!p(O,!0))return!1}else if(O.next==93||O.next==125){if(e[e.length-1]!=O.next-2)return!1;if(e.pop(),O.advance(),!e.length)return!0}else{if(O.next<0||O.pos>a||P(O.next))return!1;O.advance()}}const SO="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function S(O){return O<33?"u":O>125?"s":SO[O-33]}function k(O,e){let a=S(O);return a!="u"&&!(e&&a=="f")}function w(O,e,a,r){if(S(O.next)=="s"||(O.next==63||O.next==58||O.next==45)&&k(O.peek(1),a))O.advance();else return!1;let o=O.pos;for(;;){let t=O.next,Q=0,R=r+1;for(;_(t);){if(P(t)){if(e)return!1;R=0}else R++;t=O.peek(++Q)}if(!(t>=0&&(t==58?k(O.peek(Q+1),a):t==35?O.peek(Q-1)!=32:k(t,a)))||!a&&R<=r||R==0&&!a&&(f(O,45,Q)||f(O,46,Q)))break;if(e&&S(t)=="f")return!1;for(let h=Q;h>=0;h--)O.advance();if(e&&O.pos>o+1024)return!1}return!0}const iO=new i((O,e)=>{if(O.next==33)G(O),O.acceptToken(rO);else if(O.next==38||O.next==42){let a=O.next==38?eO:aO;$(O),O.acceptToken(a)}else O.next==39||O.next==34?(p(O,!1),O.acceptToken(OO)):w(O,!1,e.context.type==d,e.context.depth)&&O.acceptToken(J)}),kO=new i((O,e)=>{let a=e.context.type==m?e.context.depth:-1,r=O.pos;O:for(;;){let o=0,t=O.next;for(;t==32;)t=O.peek(++o);if(!o&&(f(O,45,o)||f(O,46,o))||!P(t)&&(a<0&&(a=Math.max(e.context.depth+1,o)),oYAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UO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tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:cO,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[bO],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[fO,XO,iO,kO,0,1],topRules:{Stream:[0,15]},tokenPrec:0}),mO=W.deserialize({version:14,states:"!vOQOPOOO]OPO'#C_OhOPO'#C^OOOO'#Cc'#CcOpOPO'#CaQOOOOOO{OPOOOOOO'#Cb'#CbO!WOPO'#C`O!`OPO,58xOOOO-E6a-E6aOOOO-E6`-E6`OOOO'#C_'#C_OOOO1G.d1G.d",stateData:"!h~OXPOYROWTP~OWVXXRXYRX~OYVOXSP~OXROYROWTX~OXROYROWTP~OYVOXSX~OX[O~OXY~",goto:"vWPPX[beioRUOQQOR]XRXQTTOUQWQRZWSSOURYS",nodeNames:"⚠ Document Frontmatter DashLine FrontmatterContent Body",maxTerm:10,skippedNodes:[0],repeatNodeCount:2,tokenData:"$z~RXOYnYZ!^Z]n]^!^^}n}!O!i!O;'Sn;'S;=`!c<%lOn~qXOYnYZ!^Z]n]^!^^;'Sn;'S;=`!c<%l~n~On~~!^~!cOY~~!fP;=`<%ln~!lZOYnYZ!^Z]n]^!^^}n}!O#_!O;'Sn;'S;=`!c<%l~n~On~~!^~#bZOYnYZ!^Z]n]^!^^}n}!O$T!O;'Sn;'S;=`!c<%l~n~On~~!^~$WXOYnYZ$sZ]n]^$s^;'Sn;'S;=`!c<%l~n~On~~$s~$zOX~Y~",tokenizers:[0],topRules:{Document:[0,1]},tokenPrec:67}),L=C.define({name:"yaml",parser:gO.configure({props:[u.add({Stream:O=>{for(let e=O.node.resolve(O.pos,-1);e&&e.to>=O.pos;e=e.parent){if(e.name=="BlockLiteralContent"&&e.fromO.pos)return null}}return null},FlowMapping:v({closing:"}"}),FlowSequence:v({closing:"]"})}),M.add({"FlowMapping FlowSequence":N,"Item Pair BlockLiteral":(O,e)=>({from:e.doc.lineAt(O.from).to,to:O.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function hO(){return new b(L)}const xO=C.define({name:"yaml-frontmatter",parser:mO.configure({props:[U({DashLine:n.meta})]})});function vO(O){let{language:e,support:a}=O.content instanceof b?O.content:{language:O.content,support:[]};return new b(xO.configure({wrap:E(r=>r.name=="FrontmatterContent"?{parser:L.parser}:r.name=="Body"?{parser:e.parser}:null)}),a)}export{hO as yaml,vO as yamlFrontmatter,L as yamlLanguage}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-z2hfYW_1.js +import{e as W,E as i,C as B,s as U,t as n,a as b,q as E,L as C,i as u,k as v,f as M,l as N}from"./index-Szd58FrA.js";import"./index-Ds9AETjS.js";const c=63,D=64,j=1,A=2,y=3,H=4,Z=5,F=6,I=7,z=65,K=66,J=8,OO=9,eO=10,aO=11,rO=12,V=13,tO=19,nO=20,oO=29,PO=33,QO=34,sO=47,lO=0,T=1,g=2,d=3,m=4;class s{constructor(e,a,r){this.parent=e,this.depth=a,this.type=r,this.hash=(e?e.hash+e.hash<<8:0)+a+(a<<4)+r}}s.top=new s(null,-1,lO);function X(O,e){for(let a=0,r=e-O.pos-1;;r--,a++){let o=O.peek(r);if(P(o)||o==-1)return a}}function x(O){return O==32||O==9}function P(O){return O==10||O==13}function _(O){return x(O)||P(O)}function l(O){return O<0||_(O)}const cO=new B({start:s.top,reduce(O,e){return O.type==d&&(e==nO||e==QO)?O.parent:O},shift(O,e,a,r){if(e==y)return new s(O,X(r,r.pos),T);if(e==z||e==Z)return new s(O,X(r,r.pos),g);if(e==c)return O.parent;if(e==tO||e==PO)return new s(O,0,d);if(e==V&&O.type==m)return O.parent;if(e==sO){let o=/[1-9]/.exec(r.read(r.pos,a.pos));if(o)return new s(O,O.depth+ +o[0],m)}return O},hash(O){return O.hash}});function f(O,e,a=0){return O.peek(a)==e&&O.peek(a+1)==e&&O.peek(a+2)==e&&l(O.peek(a+3))}const fO=new i((O,e)=>{if(O.next==-1&&e.canShift(D))return O.acceptToken(D);let a=O.peek(-1);if((P(a)||a<0)&&e.context.type!=d){if(f(O,45))if(e.canShift(c))O.acceptToken(c);else return O.acceptToken(j,3);if(f(O,46))if(e.canShift(c))O.acceptToken(c);else return O.acceptToken(A,3);let r=0;for(;O.next==32;)r++,O.advance();(r{if(e.context.type==d){O.next==63&&(O.advance(),l(O.next)&&O.acceptToken(I));return}if(O.next==45)O.advance(),l(O.next)&&O.acceptToken(e.context.type==T&&e.context.depth==X(O,O.pos-1)?H:y);else if(O.next==63)O.advance(),l(O.next)&&O.acceptToken(e.context.type==g&&e.context.depth==X(O,O.pos-1)?F:Z);else{let a=O.pos;for(;;)if(x(O.next)){if(O.pos==a)return;O.advance()}else if(O.next==33)G(O);else if(O.next==38)$(O);else if(O.next==42){$(O);break}else if(O.next==39||O.next==34){if(p(O,!0))break;return}else if(O.next==91||O.next==123){if(!RO(O))return;break}else{w(O,!0,!1,0);break}for(;x(O.next);)O.advance();if(O.next==58){if(O.pos==a&&e.canShift(oO))return;let r=O.peek(1);l(r)&&O.acceptTokenTo(e.context.type==g&&e.context.depth==X(O,a)?K:z,a)}}},{contextual:!0});function dO(O){return O>32&&O<127&&O!=34&&O!=37&&O!=44&&O!=60&&O!=62&&O!=92&&O!=94&&O!=96&&O!=123&&O!=124&&O!=125}function q(O){return O>=48&&O<=57||O>=97&&O<=102||O>=65&&O<=70}function Y(O,e){return O.next==37?(O.advance(),q(O.next)&&O.advance(),q(O.next)&&O.advance(),!0):dO(O.next)||e&&O.next==44?(O.advance(),!0):!1}function G(O){if(O.advance(),O.next==60){for(O.advance();;)if(!Y(O,!0)){O.next==62&&O.advance();break}}else for(;Y(O,!1););}function $(O){for(O.advance();!l(O.next)&&S(O.next)!="f";)O.advance()}function p(O,e){let a=O.next,r=!1,o=O.pos;for(O.advance();;){let t=O.next;if(t<0)break;if(O.advance(),t==a)if(t==39)if(O.next==39)O.advance();else break;else break;else if(t==92&&a==34)O.next>=0&&O.advance();else if(P(t)){if(e)return!1;r=!0}else if(e&&O.pos>=o+1024)return!1}return!r}function RO(O){for(let e=[],a=O.pos+1024;;)if(O.next==91||O.next==123)e.push(O.next),O.advance();else if(O.next==39||O.next==34){if(!p(O,!0))return!1}else if(O.next==93||O.next==125){if(e[e.length-1]!=O.next-2)return!1;if(e.pop(),O.advance(),!e.length)return!0}else{if(O.next<0||O.pos>a||P(O.next))return!1;O.advance()}}const SO="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function S(O){return O<33?"u":O>125?"s":SO[O-33]}function k(O,e){let a=S(O);return a!="u"&&!(e&&a=="f")}function w(O,e,a,r){if(S(O.next)=="s"||(O.next==63||O.next==58||O.next==45)&&k(O.peek(1),a))O.advance();else return!1;let o=O.pos;for(;;){let t=O.next,Q=0,R=r+1;for(;_(t);){if(P(t)){if(e)return!1;R=0}else R++;t=O.peek(++Q)}if(!(t>=0&&(t==58?k(O.peek(Q+1),a):t==35?O.peek(Q-1)!=32:k(t,a)))||!a&&R<=r||R==0&&!a&&(f(O,45,Q)||f(O,46,Q)))break;if(e&&S(t)=="f")return!1;for(let h=Q;h>=0;h--)O.advance();if(e&&O.pos>o+1024)return!1}return!0}const iO=new i((O,e)=>{if(O.next==33)G(O),O.acceptToken(rO);else if(O.next==38||O.next==42){let a=O.next==38?eO:aO;$(O),O.acceptToken(a)}else O.next==39||O.next==34?(p(O,!1),O.acceptToken(OO)):w(O,!1,e.context.type==d,e.context.depth)&&O.acceptToken(J)}),kO=new i((O,e)=>{let a=e.context.type==m?e.context.depth:-1,r=O.pos;O:for(;;){let o=0,t=O.next;for(;t==32;)t=O.peek(++o);if(!o&&(f(O,45,o)||f(O,46,o))||!P(t)&&(a<0&&(a=Math.max(e.context.depth+1,o)),oYAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORS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x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:cO,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[bO],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[fO,XO,iO,kO,0,1],topRules:{Stream:[0,15]},tokenPrec:0}),mO=W.deserialize({version:14,states:"!vOQOPOOO]OPO'#C_OhOPO'#C^OOOO'#Cc'#CcOpOPO'#CaQOOOOOO{OPOOOOOO'#Cb'#CbO!WOPO'#C`O!`OPO,58xOOOO-E6a-E6aOOOO-E6`-E6`OOOO'#C_'#C_OOOO1G.d1G.d",stateData:"!h~OXPOYROWTP~OWVXXRXYRX~OYVOXSP~OXROYROWTX~OXROYROWTP~OYVOXSX~OX[O~OXY~",goto:"vWPPX[beioRUOQQOR]XRXQTTOUQWQRZWSSOURYS",nodeNames:"⚠ Document Frontmatter DashLine FrontmatterContent Body",maxTerm:10,skippedNodes:[0],repeatNodeCount:2,tokenData:"$z~RXOYnYZ!^Z]n]^!^^}n}!O!i!O;'Sn;'S;=`!c<%lOn~qXOYnYZ!^Z]n]^!^^;'Sn;'S;=`!c<%l~n~On~~!^~!cOY~~!fP;=`<%ln~!lZOYnYZ!^Z]n]^!^^}n}!O#_!O;'Sn;'S;=`!c<%l~n~On~~!^~#bZOYnYZ!^Z]n]^!^^}n}!O$T!O;'Sn;'S;=`!c<%l~n~On~~!^~$WXOYnYZ$sZ]n]^$s^;'Sn;'S;=`!c<%l~n~On~~$s~$zOX~Y~",tokenizers:[0],topRules:{Document:[0,1]},tokenPrec:67}),L=C.define({name:"yaml",parser:gO.configure({props:[u.add({Stream:O=>{for(let e=O.node.resolve(O.pos,-1);e&&e.to>=O.pos;e=e.parent){if(e.name=="BlockLiteralContent"&&e.fromO.pos)return null}}return null},FlowMapping:v({closing:"}"}),FlowSequence:v({closing:"]"})}),M.add({"FlowMapping FlowSequence":N,"Item Pair BlockLiteral":(O,e)=>({from:e.doc.lineAt(O.from).to,to:O.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function hO(){return new b(L)}const xO=C.define({name:"yaml-frontmatter",parser:mO.configure({props:[U({DashLine:n.meta})]})});function vO(O){let{language:e,support:a}=O.content instanceof b?O.content:{language:O.content,support:[]};return new b(xO.configure({wrap:E(r=>r.name=="FrontmatterContent"?{parser:L.parser}:r.name=="Body"?{parser:e.parser}:null)}),a)}export{hO as yaml,vO as yamlFrontmatter,L as yamlLanguage}; +======== +import{e as W,E as i,C as B,s as U,t as n,a as b,q as E,L as C,i as u,k as v,f as M,l as N}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const c=63,D=64,j=1,A=2,y=3,H=4,Z=5,F=6,I=7,z=65,K=66,J=8,OO=9,eO=10,aO=11,rO=12,V=13,tO=19,nO=20,oO=29,PO=33,QO=34,sO=47,lO=0,T=1,g=2,d=3,m=4;class s{constructor(e,a,r){this.parent=e,this.depth=a,this.type=r,this.hash=(e?e.hash+e.hash<<8:0)+a+(a<<4)+r}}s.top=new s(null,-1,lO);function X(O,e){for(let a=0,r=e-O.pos-1;;r--,a++){let o=O.peek(r);if(P(o)||o==-1)return a}}function x(O){return O==32||O==9}function P(O){return O==10||O==13}function _(O){return x(O)||P(O)}function l(O){return O<0||_(O)}const cO=new B({start:s.top,reduce(O,e){return O.type==d&&(e==nO||e==QO)?O.parent:O},shift(O,e,a,r){if(e==y)return new s(O,X(r,r.pos),T);if(e==z||e==Z)return new s(O,X(r,r.pos),g);if(e==c)return O.parent;if(e==tO||e==PO)return new s(O,0,d);if(e==V&&O.type==m)return O.parent;if(e==sO){let o=/[1-9]/.exec(r.read(r.pos,a.pos));if(o)return new s(O,O.depth+ +o[0],m)}return O},hash(O){return O.hash}});function f(O,e,a=0){return O.peek(a)==e&&O.peek(a+1)==e&&O.peek(a+2)==e&&l(O.peek(a+3))}const fO=new i((O,e)=>{if(O.next==-1&&e.canShift(D))return O.acceptToken(D);let a=O.peek(-1);if((P(a)||a<0)&&e.context.type!=d){if(f(O,45))if(e.canShift(c))O.acceptToken(c);else return O.acceptToken(j,3);if(f(O,46))if(e.canShift(c))O.acceptToken(c);else return O.acceptToken(A,3);let r=0;for(;O.next==32;)r++,O.advance();(r{if(e.context.type==d){O.next==63&&(O.advance(),l(O.next)&&O.acceptToken(I));return}if(O.next==45)O.advance(),l(O.next)&&O.acceptToken(e.context.type==T&&e.context.depth==X(O,O.pos-1)?H:y);else if(O.next==63)O.advance(),l(O.next)&&O.acceptToken(e.context.type==g&&e.context.depth==X(O,O.pos-1)?F:Z);else{let a=O.pos;for(;;)if(x(O.next)){if(O.pos==a)return;O.advance()}else if(O.next==33)G(O);else if(O.next==38)$(O);else if(O.next==42){$(O);break}else if(O.next==39||O.next==34){if(p(O,!0))break;return}else if(O.next==91||O.next==123){if(!RO(O))return;break}else{w(O,!0,!1,0);break}for(;x(O.next);)O.advance();if(O.next==58){if(O.pos==a&&e.canShift(oO))return;let r=O.peek(1);l(r)&&O.acceptTokenTo(e.context.type==g&&e.context.depth==X(O,a)?K:z,a)}}},{contextual:!0});function dO(O){return O>32&&O<127&&O!=34&&O!=37&&O!=44&&O!=60&&O!=62&&O!=92&&O!=94&&O!=96&&O!=123&&O!=124&&O!=125}function q(O){return O>=48&&O<=57||O>=97&&O<=102||O>=65&&O<=70}function Y(O,e){return O.next==37?(O.advance(),q(O.next)&&O.advance(),q(O.next)&&O.advance(),!0):dO(O.next)||e&&O.next==44?(O.advance(),!0):!1}function G(O){if(O.advance(),O.next==60){for(O.advance();;)if(!Y(O,!0)){O.next==62&&O.advance();break}}else for(;Y(O,!1););}function $(O){for(O.advance();!l(O.next)&&S(O.next)!="f";)O.advance()}function p(O,e){let a=O.next,r=!1,o=O.pos;for(O.advance();;){let t=O.next;if(t<0)break;if(O.advance(),t==a)if(t==39)if(O.next==39)O.advance();else break;else break;else if(t==92&&a==34)O.next>=0&&O.advance();else if(P(t)){if(e)return!1;r=!0}else if(e&&O.pos>=o+1024)return!1}return!r}function RO(O){for(let e=[],a=O.pos+1024;;)if(O.next==91||O.next==123)e.push(O.next),O.advance();else if(O.next==39||O.next==34){if(!p(O,!0))return!1}else if(O.next==93||O.next==125){if(e[e.length-1]!=O.next-2)return!1;if(e.pop(),O.advance(),!e.length)return!0}else{if(O.next<0||O.pos>a||P(O.next))return!1;O.advance()}}const SO="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function S(O){return O<33?"u":O>125?"s":SO[O-33]}function k(O,e){let a=S(O);return a!="u"&&!(e&&a=="f")}function w(O,e,a,r){if(S(O.next)=="s"||(O.next==63||O.next==58||O.next==45)&&k(O.peek(1),a))O.advance();else return!1;let o=O.pos;for(;;){let t=O.next,Q=0,R=r+1;for(;_(t);){if(P(t)){if(e)return!1;R=0}else R++;t=O.peek(++Q)}if(!(t>=0&&(t==58?k(O.peek(Q+1),a):t==35?O.peek(Q-1)!=32:k(t,a)))||!a&&R<=r||R==0&&!a&&(f(O,45,Q)||f(O,46,Q)))break;if(e&&S(t)=="f")return!1;for(let h=Q;h>=0;h--)O.advance();if(e&&O.pos>o+1024)return!1}return!0}const iO=new i((O,e)=>{if(O.next==33)G(O),O.acceptToken(rO);else if(O.next==38||O.next==42){let a=O.next==38?eO:aO;$(O),O.acceptToken(a)}else O.next==39||O.next==34?(p(O,!1),O.acceptToken(OO)):w(O,!1,e.context.type==d,e.context.depth)&&O.acceptToken(J)}),kO=new i((O,e)=>{let a=e.context.type==m?e.context.depth:-1,r=O.pos;O:for(;;){let o=0,t=O.next;for(;t==32;)t=O.peek(++o);if(!o&&(f(O,45,o)||f(O,46,o))||!P(t)&&(a<0&&(a=Math.max(e.context.depth+1,o)),oYAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!T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Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:cO,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[bO],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$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:[0],repeatNodeCount:2,tokenData:"$z~RXOYnYZ!^Z]n]^!^^}n}!O!i!O;'Sn;'S;=`!c<%lOn~qXOYnYZ!^Z]n]^!^^;'Sn;'S;=`!c<%l~n~On~~!^~!cOY~~!fP;=`<%ln~!lZOYnYZ!^Z]n]^!^^}n}!O#_!O;'Sn;'S;=`!c<%l~n~On~~!^~#bZOYnYZ!^Z]n]^!^^}n}!O$T!O;'Sn;'S;=`!c<%l~n~On~~!^~$WXOYnYZ$sZ]n]^$s^;'Sn;'S;=`!c<%l~n~On~~$s~$zOX~Y~",tokenizers:[0],topRules:{Document:[0,1]},tokenPrec:67}),L=C.define({name:"yaml",parser:gO.configure({props:[u.add({Stream:O=>{for(let e=O.node.resolve(O.pos,-1);e&&e.to>=O.pos;e=e.parent){if(e.name=="BlockLiteralContent"&&e.fromO.pos)return null}}return null},FlowMapping:v({closing:"}"}),FlowSequence:v({closing:"]"})}),M.add({"FlowMapping FlowSequence":N,"Item Pair BlockLiteral":(O,e)=>({from:e.doc.lineAt(O.from).to,to:O.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function hO(){return new b(L)}const xO=C.define({name:"yaml-frontmatter",parser:mO.configure({props:[U({DashLine:n.meta})]})});function vO(O){let{language:e,support:a}=O.content instanceof b?O.content:{language:O.content,support:[]};return new b(xO.configure({wrap:E(r=>r.name=="FrontmatterContent"?{parser:L.parser}:r.name=="Body"?{parser:e.parser}:null)}),a)}export{hO as yaml,vO as yamlFrontmatter,L as yamlLanguage}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-CnqY5EQh.js diff --git a/frontend/dist/assets/index-DzRIYpeT.js b/frontend/dist/assets/index-DzRIYpeT.js new file mode 100644 index 0000000..1fdc81b --- /dev/null +++ b/frontend/dist/assets/index-DzRIYpeT.js @@ -0,0 +1,2 @@ +import{L as re,a as ae,i as ne,c as ie,f as se,s as oe,t as i,E as le,b as ce,d as de,e as me,g as ue}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const pe=36,X=1,fe=2,b=3,C=4,_e=5,ge=6,he=7,ye=8,be=9,ve=10,ke=11,xe=12,Oe=13,we=14,Qe=15,Ce=16,Se=17,I=18,qe=19,E=20,W=21,R=22,Pe=23,Te=24;function q(t){return t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function ze(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function g(t,e,a){for(let r=!1;;){if(t.next<0)return;if(t.next==e&&!r){t.advance();return}r=a&&!r&&t.next==92,t.advance()}}function je(t,e){e:for(;;){if(t.next<0)return;if(t.next==36){t.advance();for(let a=0;a)".charCodeAt(a);for(;;){if(t.next<0)return;if(t.next==r&&t.peek(1)==39){t.advance(2);return}t.advance()}}function P(t,e){for(;!(t.next!=95&&!q(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function Le(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),g(t,e,!1)}else P(t)}function D(t,e){for(;t.next==48||t.next==49;)t.advance();e&&t.next==e&&t.advance()}function Z(t,e){for(;;){if(t.next==46){if(e)break;e=!0}else if(t.next<48||t.next>57)break;t.advance()}if(t.next==69||t.next==101)for(t.advance(),(t.next==43||t.next==45)&&t.advance();t.next>=48&&t.next<=57;)t.advance()}function N(t){for(;!(t.next<0||t.next==10);)t.advance()}function _(t,e){for(let a=0;a!=&|~^/",specialVar:"?",identifierQuotes:'"',caseInsensitiveIdentifiers:!1,words:M(y,h)};function Be(t,e,a,r){let n={};for(let s in T)n[s]=(t.hasOwnProperty(s)?t:T)[s];return e&&(n.words=M(e,a||"",r)),n}function K(t){return new le(e=>{var a;let{next:r}=e;if(e.advance(),_(r,S)){for(;_(e.next,S);)e.advance();e.acceptToken(pe)}else if(r==36&&t.doubleDollarQuotedStrings){let n=P(e,"");e.next==36&&(e.advance(),je(e,n),e.acceptToken(b))}else if(r==39||r==34&&t.doubleQuotedStrings)g(e,r,t.backslashEscapes),e.acceptToken(b);else if(r==35&&t.hashComments||r==47&&e.next==47&&t.slashComments)N(e),e.acceptToken(X);else if(r==45&&e.next==45&&(!t.spaceAfterDashes||e.peek(1)==32))N(e),e.acceptToken(X);else if(r==47&&e.next==42){e.advance();for(let n=1;;){let s=e.next;if(e.next<0)break;if(e.advance(),s==42&&e.next==47){if(n--,e.advance(),!n)break}else s==47&&e.next==42&&(n++,e.advance())}e.acceptToken(fe)}else if((r==101||r==69)&&e.next==39)e.advance(),g(e,39,!0),e.acceptToken(b);else if((r==110||r==78)&&e.next==39&&t.charSetCasts)e.advance(),g(e,39,t.backslashEscapes),e.acceptToken(b);else if(r==95&&t.charSetCasts)for(let n=0;;n++){if(e.next==39&&n>1){e.advance(),g(e,39,t.backslashEscapes),e.acceptToken(b);break}if(!q(e.next))break;e.advance()}else if(t.plsqlQuotingMechanism&&(r==113||r==81)&&e.next==39&&e.peek(1)>0&&!_(e.peek(1),S)){let n=e.peek(1);e.advance(2),Ue(e,n),e.acceptToken(b)}else if(_(r,t.identifierQuotes)){const n=r==91?93:r;g(e,n,!1),e.acceptToken(qe)}else if(r==40)e.acceptToken(he);else if(r==41)e.acceptToken(ye);else if(r==123)e.acceptToken(be);else if(r==125)e.acceptToken(ve);else if(r==91)e.acceptToken(ke);else if(r==93)e.acceptToken(xe);else if(r==59)e.acceptToken(Oe);else if(t.unquotedBitLiterals&&r==48&&e.next==98)e.advance(),D(e),e.acceptToken(R);else if((r==98||r==66)&&(e.next==39||e.next==34)){const n=e.next;e.advance(),t.treatBitsAsBytes?(g(e,n,t.backslashEscapes),e.acceptToken(Pe)):(D(e,n),e.acceptToken(R))}else if(r==48&&(e.next==120||e.next==88)||(r==120||r==88)&&e.next==39){let n=e.next==39;for(e.advance();ze(e.next);)e.advance();n&&e.next==39&&e.advance(),e.acceptToken(C)}else if(r==46&&e.next>=48&&e.next<=57)Z(e,!0),e.acceptToken(C);else if(r==46)e.acceptToken(we);else if(r>=48&&r<=57)Z(e,!1),e.acceptToken(C);else if(_(r,t.operatorChars)){for(;_(e.next,t.operatorChars);)e.advance();e.acceptToken(Qe)}else if(_(r,t.specialVar))e.next==r&&e.advance(),Le(e),e.acceptToken(Se);else if(r==58||r==44)e.acceptToken(Ce);else if(q(r)){let n=P(e,String.fromCharCode(r));e.acceptToken(e.next==46||e.peek(-n.length-1)==46?I:(a=t.words[n.toLowerCase()])!==null&&a!==void 0?a:I)}})}const F=K(T),Xe=me.deserialize({version:14,states:"%vQ]QQOOO#wQRO'#DSO$OQQO'#CwO%eQQO'#CxO%lQQO'#CyO%sQQO'#CzOOQQ'#DS'#DSOOQQ'#C}'#C}O'UQRO'#C{OOQQ'#Cv'#CvOOQQ'#C|'#C|Q]QQOOQOQQOOO'`QQO'#DOO(xQRO,59cO)PQQO,59cO)UQQO'#DSOOQQ,59d,59dO)cQQO,59dOOQQ,59e,59eO)jQQO,59eOOQQ,59f,59fO)qQQO,59fOOQQ-E6{-E6{OOQQ,59b,59bOOQQ-E6z-E6zOOQQ,59j,59jOOQQ-E6|-E6|O+VQRO1G.}O+^QQO,59cOOQQ1G/O1G/OOOQQ1G/P1G/POOQQ1G/Q1G/QP+kQQO'#C}O+rQQO1G.}O)PQQO,59cO,PQQO'#Cw",stateData:",[~OtOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O^]ORvXSvXTvXUvXVvXXvXZvX]vX_vX`vXavXbvXcvXdvXevXfvXgvXhvX~OsvX~P!jOa_Ob_Oc_O~ORUOSUOTUOUUOVROXSOZTO^tO_UO`UOa`Ob`Oc`OdUOeUOfUOgUOhUO~OWaO~P$ZOYcO~P$ZO[eO~P$ZORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O]hOsoX~P%zOajObjOcjO~O^]ORkaSkaTkaUkaVkaXkaZka]ka_ka`kaakabkackadkaekafkagkahka~Oska~P'kO^]O~OWvXYvX[vX~P!jOWnO~P$ZOYoO~P$ZO[pO~P$ZO^]ORkiSkiTkiUkiVkiXkiZki]ki_ki`kiakibkickidkiekifkigkihki~Oski~P)xOWkaYka[ka~P'kO]hO~P$ZOWkiYki[ki~P)xOasObsOcsO~O",goto:"#hwPPPPPPPPPPPPPPPPPPPPPPPPPPx||||!Y!^!d!xPPP#[TYOZeUORSTWZbdfqT[OZQZORiZSWOZQbRQdSQfTZgWbdfqQ^PWk^lmrQl_Qm`RrseVORSTWZbdfq",nodeNames:"⚠ LineComment BlockComment String Number Bool Null ( ) { } [ ] ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Bits Bytes Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:38,nodeProps:[["isolate",-4,1,2,3,19,""]],skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,F],topRules:{Script:[0,25]},tokenPrec:0});function z(t){let e=t.cursor().moveTo(t.from,-1);for(;/Comment/.test(e.name);)e.moveTo(e.from,-1);return e.node}function x(t,e){let a=t.sliceString(e.from,e.to),r=/^([`'"\[])(.*)([`'"\]])$/.exec(a);return r?r[2]:a}function Q(t){return t&&(t.name=="Identifier"||t.name=="QuotedIdentifier")}function Ie(t,e){if(e.name=="CompositeIdentifier"){let a=[];for(let r=e.firstChild;r;r=r.nextSibling)Q(r)&&a.push(x(t,r));return a}return[x(t,e)]}function V(t,e){for(let a=[];;){if(!e||e.name!=".")return a;let r=z(e);if(!Q(r))return a;a.unshift(x(t,r)),e=z(r)}}function Re(t,e){let a=ue(t).resolveInner(e,-1),r=Ze(t.doc,a);return a.name=="Identifier"||a.name=="QuotedIdentifier"||a.name=="Keyword"?{from:a.from,quoted:a.name=="QuotedIdentifier"?t.doc.sliceString(a.from,a.from+1):null,parents:V(t.doc,z(a)),aliases:r}:a.name=="."?{from:e,quoted:null,parents:V(t.doc,a),aliases:r}:{from:e,quoted:null,parents:[],empty:!0,aliases:r}}const De=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" "));function Ze(t,e){let a;for(let n=e;!a;n=n.parent){if(!n)return null;n.name=="Statement"&&(a=n)}let r=null;for(let n=a.firstChild,s=!1,c=null;n;n=n.nextSibling){let l=n.name=="Keyword"?t.sliceString(n.from,n.to).toLowerCase():null,o=null;if(!s)s=l=="from";else if(l=="as"&&c&&Q(n.nextSibling))o=x(t,n.nextSibling);else{if(l&&De.has(l))break;c&&Q(n)&&(o=x(t,n))}o&&(r||(r=Object.create(null)),r[o]=Ie(t,c)),c=/Identifier$/.test(n.name)?n:null}return r}function Ne(t,e,a){return a.map(r=>({...r,label:r.label[0]==t?r.label:t+r.label+e,apply:void 0}))}const Ve=/^\w*$/,$e=/^[`'"\[]?\w*[`'"\]]?$/;function $(t){return t.self&&typeof t.self.label=="string"}class j{constructor(e,a){this.idQuote=e,this.idCaseInsensitive=a,this.list=[],this.children=void 0}child(e){let a=this.children||(this.children=Object.create(null)),r=a[e];return r||(e&&!this.list.some(n=>n.label==e)&&this.list.push(A(e,"type",this.idQuote,this.idCaseInsensitive)),a[e]=new j(this.idQuote,this.idCaseInsensitive))}maybeChild(e){return this.children?this.children[e]:null}addCompletion(e){let a=this.list.findIndex(r=>r.label==e.label);a>-1?this.list[a]=e:this.list.push(e)}addCompletions(e){for(let a of e)this.addCompletion(typeof a=="string"?A(a,"property",this.idQuote,this.idCaseInsensitive):a)}addNamespace(e){Array.isArray(e)?this.addCompletions(e):$(e)?this.addNamespace(e.children):this.addNamespaceObject(e)}addNamespaceObject(e){for(let a of Object.keys(e)){let r=e[a],n=null,s=a.replace(/\\?\./g,l=>l=="."?"\0":l).split("\0"),c=this;$(r)&&(n=r.self,r=r.children);for(let l=0;l{let{parents:v,from:L,quoted:B,empty:ee,aliases:O}=Re(p.state,p.pos);if(ee&&!p.explicit)return null;O&&v.length==1&&(v=O[v[0]]||v);let d=o;for(let f of v){for(;!d.children||!d.children[f];)if(d==o&&u)d=u;else if(d==u&&r)d=d.child(r);else return null;let k=d.maybeChild(f);if(!k)return null;d=k}let w=d.list;if(d==o&&O&&(w=w.concat(Object.keys(O).map(f=>({label:f,type:"constant"})))),B){let f=B[0],k=G(f),te=p.state.sliceDoc(p.pos,p.pos+1)==k;return{from:L,to:te?p.pos+1:void 0,options:Ne(f,k,w),validFor:$e}}else return{from:L,options:w,validFor:Ve}}}function Ee(t){return t==W?"type":t==E?"keyword":"variable"}function We(t,e,a){let r=Object.keys(t).map(n=>a(e?n.toUpperCase():n,Ee(t[n])));return ce(["QuotedIdentifier","String","LineComment","BlockComment","."],de(r))}let Me=Xe.configure({props:[ne.add({Statement:ie()}),se.add({Statement(t,e){return{from:Math.min(t.from+100,e.doc.lineAt(t.from).to),to:t.to}},BlockComment(t){return{from:t.from+2,to:t.to-2}}}),oe({Keyword:i.keyword,Type:i.typeName,Builtin:i.standard(i.name),Bits:i.number,Bytes:i.string,Bool:i.bool,Null:i.null,Number:i.number,String:i.string,Identifier:i.name,QuotedIdentifier:i.special(i.string),SpecialVar:i.special(i.name),LineComment:i.lineComment,BlockComment:i.blockComment,Operator:i.operator,"Semi Punctuation":i.punctuation,"( )":i.paren,"{ }":i.brace,"[ ]":i.squareBracket})]});class m{constructor(e,a,r){this.dialect=e,this.language=a,this.spec=r}get extension(){return this.language.extension}configureLanguage(e,a){return new m(this.dialect,this.language.configure(e,a),this.spec)}static define(e){let a=Be(e,e.keywords,e.types,e.builtin),r=re.define({name:"sql",parser:Me.configure({tokenizers:[{from:F,to:K(a)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new m(a,r,e)}}function Ke(t,e){return{label:t,type:e,boost:-1}}function Fe(t,e=!1,a){return We(t.dialect.words,e,a||Ke)}function Ge(t){return t.schema?Ae(t.schema,t.tables,t.schemas,t.defaultTable,t.defaultSchema,t.dialect||U):()=>null}function Ye(t){return t.schema?(t.dialect||U).language.data.of({autocomplete:Ge(t)}):[]}function tt(t={}){let e=t.dialect||U;return new ae(e.language,[Ye(t),e.language.data.of({autocomplete:Fe(e,t.upperCaseKeywords,t.keywordCompletion)})])}const U=m.define({}),rt=m.define({charSetCasts:!0,doubleDollarQuotedStrings:!0,operatorChars:"+-*/<>=~!@#%^&|`?",specialVar:"",keywords:y+"abort abs absent access according ada admin aggregate alias also always analyse analyze array_agg array_max_cardinality asensitive assert assignment asymmetric atomic attach attribute attributes avg backward base64 begin_frame begin_partition bernoulli bit_length blocked bom cache called cardinality catalog_name ceil ceiling chain char_length character_length character_set_catalog character_set_name character_set_schema characteristics characters checkpoint class class_origin cluster coalesce cobol collation_catalog collation_name collation_schema collect column_name columns command_function command_function_code comment comments committed concurrently condition_number configuration conflict connection_name constant constraint_catalog constraint_name constraint_schema contains content control conversion convert copy corr cost covar_pop covar_samp csv cume_dist current_catalog current_row current_schema cursor_name database datalink datatype datetime_interval_code datetime_interval_precision db debug defaults defined definer degree delimiter delimiters dense_rank depends derived detach detail dictionary disable discard dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue document dump dynamic_function dynamic_function_code element elsif empty enable encoding encrypted end_frame end_partition endexec enforced enum errcode error event every exclude excluding exclusive exp explain expression extension extract family file filter final first_value flag floor following force foreach fortran forward frame_row freeze fs functions fusion generated granted greatest groups handler header hex hierarchy hint id ignore ilike immediately immutable implementation implicit import include including increment indent index indexes info inherit inherits inline insensitive instance instantiable instead integrity intersection invoker isnull key_member key_type label lag last_value lead leakproof least length library like_regex link listen ln load location lock locked log logged lower mapping matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text min minvalue mod mode more move multiset mumps name namespace nfc nfd nfkc nfkd nil normalize normalized nothing notice notify notnull nowait nth_value ntile nullable nullif nulls number occurrences_regex octet_length octets off offset oids operator options ordering others over overlay overriding owned owner parallel parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partition pascal passing passthrough password percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding prepared print_strict_params procedural procedures program publication query quote raise range rank reassign recheck recovery refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex rename repeatable replace replica requiring reset respect restart restore result_oid returned_cardinality returned_length returned_octet_length returned_sqlstate returning reverse routine_catalog routine_name routine_schema routines row_count row_number rowtype rule scale schema_name schemas scope scope_catalog scope_name scope_schema security selective self sensitive sequence sequences serializable server server_name setof share show simple skip slice snapshot source specific_name sqlcode sqlerror sqrt stable stacked standalone statement statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time table_name tables tablesample tablespace temp template ties token top_level_count transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex trigger_catalog trigger_name trigger_schema trim trim_array truncate trusted type types uescape unbounded uncommitted unencrypted unlink unlisten unlogged unnamed untyped upper uri use_column use_variable user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema vacuum valid validate validator value_of var_pop var_samp varbinary variable_conflict variadic verbose version versioning views volatile warning whitespace width_bucket window within wrapper xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate yes",types:h+"bigint int8 bigserial serial8 varbit bool box bytea cidr circle precision float8 inet int4 json jsonb line lseg macaddr macaddr8 money numeric pg_lsn point polygon float4 int2 smallserial serial2 serial serial4 text timetz timestamptz tsquery tsvector txid_snapshot uuid xml"}),Y="accessible algorithm analyze asensitive authors auto_increment autocommit avg avg_row_length binlog btree cache catalog_name chain change changed checkpoint checksum class_origin client_statistics coalesce code collations columns comment committed completion concurrent consistent contains contributors convert database databases day_hour day_microsecond day_minute day_second delay_key_write delayed delimiter des_key_file dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile enable enclosed ends engine engines enum errors escaped even event events every explain extended fast field fields flush force found_rows fulltext grants handler hash high_priority hosts hour_microsecond hour_minute hour_second ignore ignore_server_ids import index index_statistics infile innodb insensitive insert_method install invoker iterate keys kill linear lines list load lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modify mutex mysql_errno no_write_to_binlog offline offset one online optimize optionally outfile pack_keys parser partition partitions password phase plugin plugins prev processlist profile profiles purge query quick range read_write rebuild recover regexp relaylog remove rename reorganize repair repeatable replace require resume rlike row_format rtree schedule schema_name schemas second_microsecond security sensitive separator serializable server share show slave slow snapshot soname spatial sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result ssl starting starts std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace terminated triggers truncate uncommitted uninstall unlock upgrade use use_frm user_resources user_statistics utc_date utc_time utc_timestamp variables views warnings xa xor year_month zerofill",H=h+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int1 int2 int3 int4 int8 float4 float8 varbinary varcharacter precision datetime unsigned signed",J="charset clear edit ego help nopager notee nowarning pager print prompt quit rehash source status system tee",at=m.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:y+"group_concat "+Y,types:H,builtin:J}),nt=m.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:y+"always generated groupby_concat hard persistent shutdown soft virtual "+Y,types:H,builtin:J});let He="approx_count_distinct approx_percentile_cont approx_percentile_disc avg checksum_agg count count_big grouping grouping_id max min product stdev stdevp sum var varp ai_generate_embeddings ai_generate_chunks cume_dist first_value lag last_value lead percentile_cont percentile_disc percent_rank left_shift right_shift bit_count get_bit set_bit collationproperty tertiary_weights @@datefirst @@dbts @@langid @@language @@lock_timeout @@max_connections @@max_precision @@nestlevel @@options @@remserver @@servername @@servicename @@spid @@textsize @@version cast convert parse try_cast try_convert try_parse asymkey_id asymkeyproperty certproperty cert_id crypt_gen_random decryptbyasymkey decryptbycert decryptbykey decryptbykeyautoasymkey decryptbykeyautocert decryptbypassphrase encryptbyasymkey encryptbycert encryptbykey encryptbypassphrase hashbytes is_objectsigned key_guid key_id key_name signbyasymkey signbycert symkeyproperty verifysignedbycert verifysignedbyasymkey @@cursor_rows @@fetch_status cursor_status datalength ident_current ident_incr ident_seed identity sql_variant_property @@datefirst current_timestamp current_timezone current_timezone_id date_bucket dateadd datediff datediff_big datefromparts datename datepart datetime2fromparts datetimefromparts datetimeoffsetfromparts datetrunc day eomonth getdate getutcdate isdate month smalldatetimefromparts switchoffset sysdatetime sysdatetimeoffset sysutcdatetime timefromparts todatetimeoffset year edit_distance edit_distance_similarity jaro_winkler_distance jaro_winkler_similarity edge_id_from_parts graph_id_from_edge_id graph_id_from_node_id node_id_from_parts object_id_from_edge_id object_id_from_node_id json isjson json_array json_contains json_modify json_object json_path_exists json_query json_value regexp_like regexp_replace regexp_substr regexp_instr regexp_count regexp_matches regexp_split_to_table abs acos asin atan atn2 ceiling cos cot degrees exp floor log log10 pi power radians rand round sign sin sqrt square tan choose greatest iif least @@procid app_name applock_mode applock_test assemblyproperty col_length col_name columnproperty databasepropertyex db_id db_name file_id file_idex file_name filegroup_id filegroup_name filegroupproperty fileproperty filepropertyex fulltextcatalogproperty fulltextserviceproperty index_col indexkey_property indexproperty next value for object_definition object_id object_name object_schema_name objectproperty objectpropertyex original_db_name parsename schema_id schema_name scope_identity serverproperty stats_date type_id type_name typeproperty dense_rank ntile rank row_number publishingservername certenclosed certprivatekey current_user database_principal_id has_dbaccess has_perms_by_name is_member is_rolemember is_srvrolemember loginproperty original_login permissions pwdencrypt pwdcompare session_user sessionproperty suser_id suser_name suser_sid suser_sname system_user user user_id user_name ascii char charindex concat concat_ws difference format left len lower ltrim nchar patindex quotename replace replicate reverse right rtrim soundex space str string_agg string_escape stuff substring translate trim unicode upper $partition @@error @@identity @@pack_received @@rowcount @@trancount binary_checksum checksum compress connectionproperty context_info current_request_id current_transaction_id decompress error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big session_context xact_state @@connections @@cpu_busy @@idle @@io_busy @@pack_sent @@packet_errors @@timeticks @@total_errors @@total_read @@total_write textptr textvalid columns_updated eventdata trigger_nestlevel vector_distance vectorproperty vector_search generate_series opendatasource openjson openquery openrowset openxml predict string_split coalesce nullif apply catch filter force include keep keepfixed modify optimize parameterization parameters partition recompile sequence set";const it=m.define({keywords:y+"add external procedure all fetch public alter file raiserror and fillfactor read any for readtext as foreign reconfigure asc freetext references authorization freetexttable replication backup from restore begin full restrict between function return break goto revert browse grant revoke bulk group right by having rollback cascade holdlock rowcount case identity rowguidcol check identity_insert rule checkpoint identitycol save close if schema clustered in securityaudit coalesce index select collate inner semantickeyphrasetable column insert semanticsimilaritydetailstable commit intersect semanticsimilaritytable compute into session_user constraint is set contains join setuser containstable key shutdown continue kill some convert left statistics create like system_user cross lineno table current load tablesample current_date merge textsize current_time national then current_timestamp nocheck to current_user nonclustered top cursor not tran database null transaction dbcc nullif trigger deallocate of truncate declare off try_convert default offsets tsequal delete on union deny open unique desc opendatasource unpivot disk openquery update distinct openrowset updatetext distributed openxml use double option user drop or values dump order varying else outer view end over waitfor errlvl percent when escape pivot where except plan while exec precision with execute primary within group exists print writetext exit proc noexpand index forceseek forcescan holdlock nolock nowait paglock readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot spatial_window_max_cells tablock tablockx updlock xlock keepidentity keepdefaults ignore_constraints ignore_triggers",types:h+"smalldatetime datetimeoffset datetime2 datetime bigint smallint smallmoney tinyint money real text nvarchar ntext varbinary image hierarchyid uniqueidentifier sql_variant xml",builtin:He,operatorChars:"*+-%<>!=^&|/",specialVar:"@",identifierQuotes:'"['}),st=m.define({keywords:y+"abort analyze attach autoincrement conflict database detach exclusive fail glob ignore index indexed instead isnull notnull offset plan pragma query raise regexp reindex rename replace temp vacuum virtual",types:h+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int2 int8 unsigned signed real",builtin:"auth backup bail changes clone databases dbinfo dump echo eqp explain fullschema headers help import imposter indexes iotrace lint load log mode nullvalue once print prompt quit restore save scanstats separator shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width",operatorChars:"*+-%<>!=&|/~",identifierQuotes:'`"',specialVar:"@:?$"}),ot=m.define({keywords:"add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime infinity NaN",types:h+"ascii bigint blob counter frozen inet list map static text timeuuid tuple uuid varint",slashComments:!0}),lt=m.define({keywords:y+"abort accept access add all alter and any arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body by case cast char_base check close cluster clusters colauth column comment commit compress connected constant constraint crash create current currval cursor data_base database dba deallocate debugoff debugon declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry exception exception_init exchange exclusive exists external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base of off offline on online only option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw rebuild record ref references refresh rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work",builtin:"appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define echo editfile embedded feedback flagger flush heading headsep instance linesize lno loboffset logsource longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar repfooter repheader serveroutput shiftinout show showmode spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout timing trimout trimspool ttitle underline verify version wrap",types:h+"ascii bfile bfilename bigserial bit blob dec long number nvarchar nvarchar2 serial smallint string text uid varchar2 xml",operatorChars:"*/+-%<>!=~",doubleQuotedStrings:!0,charSetCasts:!0,plsqlQuotingMechanism:!0});export{ot as Cassandra,it as MSSQL,nt as MariaSQL,at as MySQL,lt as PLSQL,rt as PostgreSQL,m as SQLDialect,st as SQLite,U as StandardSQL,Fe as keywordCompletionSource,Ge as schemaCompletionSource,tt as sql}; diff --git a/frontend/dist/assets/index-JhwhwYw5.js b/frontend/dist/assets/index-JhwhwYw5.js new file mode 100644 index 0000000..5863c80 --- /dev/null +++ b/frontend/dist/assets/index-JhwhwYw5.js @@ -0,0 +1 @@ +import{a as t,r as i,L as n,i as $,c as y,f as P,l as X,e as m,E as S,s as c,t as O}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const s=110,l=1,f=2,r=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function e(T){return T>=65&&T<=90||T>=97&&T<=122||T>=161}function p(T){return T>=48&&T<=57}const W=new S((T,Q)=>{if(T.next==40){let a=T.peek(-1);(e(a)||p(a)||a==95||a==45)&&T.acceptToken(f,1)}}),d=new S(T=>{if(r.indexOf(T.peek(-1))>-1){let{next:Q}=T;(e(Q)||Q==95||Q==35||Q==46||Q==91||Q==58||Q==45)&&T.acceptToken(s)}}),Z=new S(T=>{if(r.indexOf(T.peek(-1))<0){let{next:Q}=T;if(Q==37&&(T.advance(),T.acceptToken(l)),e(Q)){do T.advance();while(e(T.next));T.acceptToken(l)}}}),w=c({"import charset namespace keyframes media supports when":O.definitionKeyword,"from to selector":O.keyword,NamespaceName:O.namespace,KeyframeName:O.labelName,TagName:O.tagName,ClassName:O.className,PseudoClassName:O.constant(O.className),IdName:O.labelName,"FeatureName PropertyName PropertyVariable":O.propertyName,AttributeName:O.attributeName,NumberLiteral:O.number,KeywordQuery:O.keyword,UnaryQueryOp:O.operatorKeyword,"CallTag ValueName":O.atom,VariableName:O.variableName,"AtKeyword Interpolation":O.special(O.variableName),Callee:O.operatorKeyword,Unit:O.unit,"UniversalSelector NestingSelector":O.definitionOperator,MatchOp:O.compareOperator,"ChildOp SiblingOp, LogicOp":O.logicOperator,BinOp:O.arithmeticOperator,Important:O.modifier,"Comment LineComment":O.blockComment,ColorLiteral:O.color,"ParenthesizedContent StringLiteral":O.string,Escape:O.special(O.string),": ...":O.punctuation,"PseudoOp #":O.derefOperator,"; ,":O.separator,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace}),z={__proto__:null,lang:40,"nth-child":40,"nth-last-child":40,"nth-of-type":40,"nth-last-of-type":40,dir:40,"host-context":40,and:244,or:244,not:74,only:74,url:86,"url-prefix":86,domain:86,regexp:86,when:117,selector:142,from:172,to:174},h={__proto__:null,"@import":126,"@plugin":126,"@media":152,"@charset":156,"@namespace":160,"@keyframes":166,"@supports":178},g=m.deserialize({version:14,states:"@^O!gQWOOO!nQaO'#CeOOQP'#Cd'#CdO$RQWO'#CgO$xQaO'#EaO%cQWO'#CiO%kQWO'#DZO%pQWO'#D^O%uQaO'#DfOOQP'#Es'#EsO'YQWO'#DlO'yQWO'#DyO(QQWO'#D{O(xQWO'#D}O)TQWO'#EQO'bQWO'#EWO)YQ`O'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l!*k<%lO!+vm!.tP;=`<%l!*km!.|Z|`OY!.wYZ%TZw!.wwx!+cxy!.wyz!/oz#O!.w#O#P!1^#P;'S!.w;'S;=`!2e<%lO!.w]!/rWOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W<%lO!/o]!0_RO;'S!/o;'S;=`!0h;=`O!/o]!0kXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!/o<%lO!/o]!1ZP;=`<%l!/om!1cU|`Oy!.wyz!/oz;'S!.w;'S;=`!1u;=`<%l!/o<%lO!.wm!1xXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!.w<%lO!/om!2hP;=`<%l!.w`!2nP;=`<%l$t",tokenizers:[d,Z,W,0,1,2,3,4],topRules:{StyleSheet:[0,5]},specialized:[{term:116,get:T=>z[T]||-1},{term:23,get:T=>h[T]||-1}],tokenPrec:2180}),o=n.define({name:"less",parser:g.configure({props:[$.add({Declaration:y()}),P.add({Block:X})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"@-"}}),u=i(T=>T.name=="VariableName"||T.name=="AtKeyword");function Y(){return new t(o,o.data.of({autocomplete:u}))}export{Y as less,u as lessCompletionSource,o as lessLanguage}; diff --git a/frontend/dist/assets/index-KDgG9oSV.js b/frontend/dist/assets/index-KDgG9oSV.js index 2025a95..f493402 100644 --- a/frontend/dist/assets/index-KDgG9oSV.js +++ b/frontend/dist/assets/index-KDgG9oSV.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-KDgG9oSV.js import{a as O,L as r,i as b,k as s,f as a,l as t,s as P,t as e,e as n}from"./index-DFkjzvE0.js";import"./index-CD29OCdJ.js";const S={__proto__:null,anyref:34,dataref:34,eqref:34,externref:34,i31ref:34,funcref:34,i8:34,i16:34,i32:34,i64:34,f32:34,f64:34},i=n.deserialize({version:14,states:"!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",stateData:"!P~O_OSPOSQOS~OTPOVROXROYROZROaQO~OSUO~P]OSXO~P]O",goto:"xaPPPPPPbPbPPPhPPPrXROPTVQTOQVPTWTVXSOPTV",nodeNames:"⚠ LineComment BlockComment Module ) ( App Identifier Type Keyword Number String",maxTerm:17,nodeProps:[["isolate",-3,1,2,11,""],["openedBy",4,"("],["closedBy",5,")"],["group",-6,6,7,8,9,10,11,"Expression"]],skippedNodes:[0,1,2],repeatNodeCount:1,tokenData:"0o~R^XY}YZ}]^}pq}rs!Stu#pxy'Uyz(e{|(j}!O(j!Q!R(s!R![*p!]!^.^#T#o.{~!SO_~~!VVOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j<%lO!S~!qOZ~~!tRO;'S!S;'S;=`!};=`O!S~#QWOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j;=`<%l!S<%lO!S~#mP;=`<%l!S~#siqr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~%giV~qr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~'ZPT~!]!^'^~'aTO!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~'sVOy'^yz(Yz!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~(_OQ~~(bP;=`<%l'^~(jOS~~(mQ!Q!R(s!R![*p~(xUY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){#l#m+[~)aRY~!Q![)j!g!h){#X#Y){~)oSY~!Q![)j!g!h){#R#S*j#X#Y){~*OR{|*X}!O*X!Q![*_~*[P!Q![*_~*dQY~!Q![*_#R#S*X~*mP!Q![)j~*uTY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){~+XP!Q![*p~+_R!Q![+h!c!i+h#T#Z+h~+mVY~!O!P,S!Q![+h!c!i+h!r!s-P#R#S+[#T#Z+h#d#e-P~,XTY~!Q![,h!c!i,h!r!s-P#T#Z,h#d#e-P~,mUY~!Q![,h!c!i,h!r!s-P#R#S.Q#T#Z,h#d#e-P~-ST{|-c}!O-c!Q![-o!c!i-o#T#Z-o~-fR!Q![-o!c!i-o#T#Z-o~-tSY~!Q![-o!c!i-o#R#S-c#T#Z-o~.TR!Q![,h!c!i,h#T#Z,h~.aP!]!^.d~.iSP~OY.dZ;'S.d;'S;=`.u<%lO.d~.xP;=`<%l.d~/QiX~qr.{st.{tu.{uv.{vw.{wx.{z{.{{|.{}!O.{!O!P.{!P!Q.{!Q![.{![!].{!^!_.{!_!`.{!`!a.{!a!b.{!b!c.{!c!}.{#Q#R.{#R#S.{#S#T.{#T#o.{#p#q.{#r#s.{",tokenizers:[0],topRules:{Module:[0,3]},specialized:[{term:9,get:o=>S[o]||-1}],tokenPrec:0}),Q=r.define({name:"wast",parser:i.configure({props:[b.add({App:s({closing:")",align:!1})}),a.add({App:t,BlockComment(o){return{from:o.from+2,to:o.to-2}}}),P({Keyword:e.keyword,Type:e.typeName,Number:e.number,String:e.string,Identifier:e.variableName,LineComment:e.lineComment,BlockComment:e.blockComment,"( )":e.paren})]}),languageData:{commentTokens:{line:";;",block:{open:"(;",close:";)"}},closeBrackets:{brackets:["(",'"']}}});function l(){return new O(Q)}export{l as wast,Q as wastLanguage}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-CyC5P_4X.js +import{a as O,L as r,i as b,k as s,f as a,l as t,s as P,t as e,e as n}from"./index-Szd58FrA.js";import"./index-Ds9AETjS.js";const S={__proto__:null,anyref:34,dataref:34,eqref:34,externref:34,i31ref:34,funcref:34,i8:34,i16:34,i32:34,i64:34,f32:34,f64:34},i=n.deserialize({version:14,states:"!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",stateData:"!P~O_OSPOSQOS~OTPOVROXROYROZROaQO~OSUO~P]OSXO~P]O",goto:"xaPPPPPPbPbPPPhPPPrXROPTVQTOQVPTWTVXSOPTV",nodeNames:"⚠ LineComment BlockComment Module ) ( App Identifier Type Keyword Number String",maxTerm:17,nodeProps:[["isolate",-3,1,2,11,""],["openedBy",4,"("],["closedBy",5,")"],["group",-6,6,7,8,9,10,11,"Expression"]],skippedNodes:[0,1,2],repeatNodeCount:1,tokenData:"0o~R^XY}YZ}]^}pq}rs!Stu#pxy'Uyz(e{|(j}!O(j!Q!R(s!R![*p!]!^.^#T#o.{~!SO_~~!VVOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j<%lO!S~!qOZ~~!tRO;'S!S;'S;=`!};=`O!S~#QWOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j;=`<%l!S<%lO!S~#mP;=`<%l!S~#siqr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~%giV~qr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~'ZPT~!]!^'^~'aTO!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~'sVOy'^yz(Yz!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~(_OQ~~(bP;=`<%l'^~(jOS~~(mQ!Q!R(s!R![*p~(xUY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){#l#m+[~)aRY~!Q![)j!g!h){#X#Y){~)oSY~!Q![)j!g!h){#R#S*j#X#Y){~*OR{|*X}!O*X!Q![*_~*[P!Q![*_~*dQY~!Q![*_#R#S*X~*mP!Q![)j~*uTY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){~+XP!Q![*p~+_R!Q![+h!c!i+h#T#Z+h~+mVY~!O!P,S!Q![+h!c!i+h!r!s-P#R#S+[#T#Z+h#d#e-P~,XTY~!Q![,h!c!i,h!r!s-P#T#Z,h#d#e-P~,mUY~!Q![,h!c!i,h!r!s-P#R#S.Q#T#Z,h#d#e-P~-ST{|-c}!O-c!Q![-o!c!i-o#T#Z-o~-fR!Q![-o!c!i-o#T#Z-o~-tSY~!Q![-o!c!i-o#R#S-c#T#Z-o~.TR!Q![,h!c!i,h#T#Z,h~.aP!]!^.d~.iSP~OY.dZ;'S.d;'S;=`.u<%lO.d~.xP;=`<%l.d~/QiX~qr.{st.{tu.{uv.{vw.{wx.{z{.{{|.{}!O.{!O!P.{!P!Q.{!Q![.{![!].{!^!_.{!_!`.{!`!a.{!a!b.{!b!c.{!c!}.{#Q#R.{#R#S.{#S#T.{#T#o.{#p#q.{#r#s.{",tokenizers:[0],topRules:{Module:[0,3]},specialized:[{term:9,get:o=>S[o]||-1}],tokenPrec:0}),Q=r.define({name:"wast",parser:i.configure({props:[b.add({App:s({closing:")",align:!1})}),a.add({App:t,BlockComment(o){return{from:o.from+2,to:o.to-2}}}),P({Keyword:e.keyword,Type:e.typeName,Number:e.number,String:e.string,Identifier:e.variableName,LineComment:e.lineComment,BlockComment:e.blockComment,"( )":e.paren})]}),languageData:{commentTokens:{line:";;",block:{open:"(;",close:";)"}},closeBrackets:{brackets:["(",'"']}}});function l(){return new O(Q)}export{l as wast,Q as wastLanguage}; +======== +import{a as O,L as r,i as b,k as s,f as a,l as t,s as P,t as e,e as n}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const S={__proto__:null,anyref:34,dataref:34,eqref:34,externref:34,i31ref:34,funcref:34,i8:34,i16:34,i32:34,i64:34,f32:34,f64:34},i=n.deserialize({version:14,states:"!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",stateData:"!P~O_OSPOSQOS~OTPOVROXROYROZROaQO~OSUO~P]OSXO~P]O",goto:"xaPPPPPPbPbPPPhPPPrXROPTVQTOQVPTWTVXSOPTV",nodeNames:"⚠ LineComment BlockComment Module ) ( App Identifier Type Keyword Number String",maxTerm:17,nodeProps:[["isolate",-3,1,2,11,""],["openedBy",4,"("],["closedBy",5,")"],["group",-6,6,7,8,9,10,11,"Expression"]],skippedNodes:[0,1,2],repeatNodeCount:1,tokenData:"0o~R^XY}YZ}]^}pq}rs!Stu#pxy'Uyz(e{|(j}!O(j!Q!R(s!R![*p!]!^.^#T#o.{~!SO_~~!VVOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j<%lO!S~!qOZ~~!tRO;'S!S;'S;=`!};=`O!S~#QWOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j;=`<%l!S<%lO!S~#mP;=`<%l!S~#siqr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~%giV~qr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~'ZPT~!]!^'^~'aTO!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~'sVOy'^yz(Yz!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~(_OQ~~(bP;=`<%l'^~(jOS~~(mQ!Q!R(s!R![*p~(xUY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){#l#m+[~)aRY~!Q![)j!g!h){#X#Y){~)oSY~!Q![)j!g!h){#R#S*j#X#Y){~*OR{|*X}!O*X!Q![*_~*[P!Q![*_~*dQY~!Q![*_#R#S*X~*mP!Q![)j~*uTY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){~+XP!Q![*p~+_R!Q![+h!c!i+h#T#Z+h~+mVY~!O!P,S!Q![+h!c!i+h!r!s-P#R#S+[#T#Z+h#d#e-P~,XTY~!Q![,h!c!i,h!r!s-P#T#Z,h#d#e-P~,mUY~!Q![,h!c!i,h!r!s-P#R#S.Q#T#Z,h#d#e-P~-ST{|-c}!O-c!Q![-o!c!i-o#T#Z-o~-fR!Q![-o!c!i-o#T#Z-o~-tSY~!Q![-o!c!i-o#R#S-c#T#Z-o~.TR!Q![,h!c!i,h#T#Z,h~.aP!]!^.d~.iSP~OY.dZ;'S.d;'S;=`.u<%lO.d~.xP;=`<%l.d~/QiX~qr.{st.{tu.{uv.{vw.{wx.{z{.{{|.{}!O.{!O!P.{!P!Q.{!Q![.{![!].{!^!_.{!_!`.{!`!a.{!a!b.{!b!c.{!c!}.{#Q#R.{#R#S.{#S#T.{#T#o.{#p#q.{#r#s.{",tokenizers:[0],topRules:{Module:[0,3]},specialized:[{term:9,get:o=>S[o]||-1}],tokenPrec:0}),Q=r.define({name:"wast",parser:i.configure({props:[b.add({App:s({closing:")",align:!1})}),a.add({App:t,BlockComment(o){return{from:o.from+2,to:o.to-2}}}),P({Keyword:e.keyword,Type:e.typeName,Number:e.number,String:e.string,Identifier:e.variableName,LineComment:e.lineComment,BlockComment:e.blockComment,"( )":e.paren})]}),languageData:{commentTokens:{line:";;",block:{open:"(;",close:";)"}},closeBrackets:{brackets:["(",'"']}}});function l(){return new O(Q)}export{l as wast,Q as wastLanguage}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-BFioY_nn.js diff --git a/frontend/dist/assets/index-U3Xsb9c_.js b/frontend/dist/assets/index-U3Xsb9c_.js index 411de14..d361ad9 100644 --- a/frontend/dist/assets/index-U3Xsb9c_.js +++ b/frontend/dist/assets/index-U3Xsb9c_.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-U3Xsb9c_.js import{e as t,E as Z,h as o,s as S,t as e,a as s,L as m,i as d,j as Y,c as a,k as w,f as n,l as V}from"./index-DFkjzvE0.js";import"./index-CD29OCdJ.js";const P=1,l=2,q=3,T=82,z=76,_=117,h=85,c=97,j=122,b=65,p=90,v=95,i=48,U=34,R=40,r=41,W=32,x=62,f=new Z(O=>{if(O.next==z||O.next==h?O.advance():O.next==_&&(O.advance(),O.next==i+8&&O.advance()),O.next!=T||(O.advance(),O.next!=U))return;O.advance();let Q="";for(;O.next!=R;){if(O.next==W||O.next<=13||O.next==r)return;Q+=String.fromCharCode(O.next),O.advance()}for(O.advance();;){if(O.next<0)return O.acceptToken(P);if(O.next==r){let $=!0;for(let X=0;$&&X{if(O.next==x)O.peek(1)==x&&O.acceptToken(l,1);else{let Q=!1,$=0;for(;;$++){if(O.next>=b&&O.next<=p)Q=!0;else{if(O.next>=c&&O.next<=j)return;if(O.next!=v&&!(O.next>=i&&O.next<=i+9))break}O.advance()}Q&&$>1&&O.acceptToken(q)}},{extend:!0}),k=S({"typedef struct union enum class typename decltype auto template operator friend noexcept namespace using requires concept import export module __attribute__ __declspec __based":e.definitionKeyword,"extern MsCallModifier MsPointerModifier extern static register thread_local inline const volatile restrict _Atomic mutable constexpr constinit consteval virtual explicit VirtualSpecifier Access":e.modifier,"if else switch for while do case default return break continue goto throw try catch":e.controlKeyword,"co_return co_yield co_await":e.controlKeyword,"new sizeof delete static_assert":e.operatorKeyword,"NULL nullptr":e.null,this:e.self,"True False":e.bool,"TypeSize PrimitiveType":e.standard(e.typeName),TypeIdentifier:e.typeName,FieldIdentifier:e.propertyName,"CallExpression/FieldExpression/FieldIdentifier":e.function(e.propertyName),"ModuleName/Identifier":e.namespace,PartitionName:e.labelName,StatementIdentifier:e.labelName,"Identifier DestructorName":e.variableName,"CallExpression/Identifier":e.function(e.variableName),"CallExpression/ScopedIdentifier/Identifier":e.function(e.variableName),"FunctionDeclarator/Identifier FunctionDeclarator/DestructorName":e.function(e.definition(e.variableName)),NamespaceIdentifier:e.namespace,OperatorName:e.operator,ArithOp:e.arithmeticOperator,LogicOp:e.logicOperator,BitOp:e.bitwiseOperator,CompareOp:e.compareOperator,AssignOp:e.definitionOperator,UpdateOp:e.updateOperator,LineComment:e.lineComment,BlockComment:e.blockComment,Number:e.number,String:e.string,"RawString SystemLibString":e.special(e.string),CharLiteral:e.character,EscapeSequence:e.escape,"UserDefinedLiteral/Identifier":e.literal,PreprocArg:e.meta,"PreprocDirectiveName #include #ifdef #ifndef #if #define #else #endif #elif":e.processingInstruction,MacroName:e.special(e.name),"( )":e.paren,"[ ]":e.squareBracket,"{ }":e.brace,"< >":e.angleBracket,". ->":e.derefOperator,", ;":e.separator}),u={__proto__:null,bool:36,char:36,int:36,float:36,double:36,void:36,size_t:36,ssize_t:36,intptr_t:36,uintptr_t:36,charptr_t:36,int8_t:36,int16_t:36,int32_t:36,int64_t:36,uint8_t:36,uint16_t:36,uint32_t:36,uint64_t:36,char8_t:36,char16_t:36,char32_t:36,char64_t:36,const:70,volatile:72,restrict:74,_Atomic:76,mutable:78,constexpr:80,constinit:82,consteval:84,struct:88,__declspec:92,final:148,override:148,public:152,private:152,protected:152,virtual:154,extern:160,static:162,register:164,inline:166,thread_local:168,__attribute__:172,__based:178,__restrict:180,__uptr:180,__sptr:180,_unaligned:180,__unaligned:180,noexcept:194,requires:198,TRUE:798,true:798,FALSE:800,false:800,typename:218,class:220,template:234,throw:248,__cdecl:256,__clrcall:256,__stdcall:256,__fastcall:256,__thiscall:256,__vectorcall:256,try:260,catch:264,export:282,import:286,case:296,default:298,if:308,else:314,switch:318,do:322,while:324,for:330,return:334,break:338,continue:342,goto:346,co_return:350,co_yield:354,using:362,typedef:366,namespace:380,new:398,delete:400,co_await:402,concept:406,enum:410,static_assert:414,friend:422,union:424,explicit:430,operator:444,module:456,signed:518,unsigned:518,long:518,short:518,decltype:528,auto:530,sizeof:566,NULL:572,nullptr:586,this:588},G={__proto__:null,"<":767},y={__proto__:null,">":135},E={__proto__:null,operator:388,new:576,delete:582},C=t.deserialize({version:14,states:"$<[Q!QQVOOP'gOUOOO([OWO'#CdO,UQUO'#CgO,`QUO'#FjO-vQbO'#CxO.XQUO'#CxO0WQUO'#KaO0_QUO'#CwO0jOpO'#DvO0rQ!dO'#D]OOQR'#JP'#JPO5[QVO'#GUO5iQUO'#JWOOQQ'#JW'#JWO8}QUO'#KtOxQVO'#IbO!(}QVO'#IdO!?SQUO'#IgO!?ZQVO'#IjP!AQO!LQO'#CaP!A]{,UO'#CbP!6q{,UO'#CbP!Ah{7[O'#CbP!6q{,UO'#CbP!Am{,UO'#CbP!AxOSO'#IzPOOO)CEp)CEpOOOO'#I}'#I}O!BSOWO,59OOOQR,59O,59OO!(}QVO,59VOOQQ,59X,59XOOQR'#Do'#DoO!(}QVO,5;ROOQR,5qOOQR'#IX'#IXOOQR'#IY'#IYOOQR'#IZ'#IZOOQR'#I['#I[O!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!D^QVO,5>zOOQQ,5?W,5?WO!FPQVO'#CjO!IxQUO'#CzOOQQ,59d,59dOOQQ,59c,59cOOQQ,5<},5<}O!JVQ&lO,5=mO!?SQUO,5?RO!LyQVO,5?UO!MQQbO,59dO!M]QVO'#FYOOQQ,5?P,5?PO!MmQVO,59WO!MtO`O,5:bO!MyQbO'#D^O!N[QbO'#KeO!NjQbO,59w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#{#|#}$P$W$Y$[$g$h$m%_%o&S&Y&d&h&z&{'O'Q'R'e'l'm'|(c(e(l)q)w*m*n*q*w*{+]+_+m+o+p,U,W,s,v,|-d-e-h-n.W.X.]/U/X/d/k/t/v/{/}1T1i1j1t1x2S2U2k2n2q3P3U3X3s4Y4]4b4k5d5o5{6i6m6p6r6t7O7Q7V7l7t7w8o8q8w8}9O9]9a9g9i9v9y9z:V:Y:`:b:g:l:pS%bf0p#d%lgnp|#O$i%O%P%U%f%j%k%y&u'w'x(T*_*e*g*y+b,q,{-f-w.O.m.t.v0e1R1S1W1[2g2r5k6q;b;c;d;j;k;l;y;z;{;| MacroName LineComment BlockComment PreprocDirective #include String EscapeSequence SystemLibString Identifier ) ( ArgumentList ConditionalExpression AssignmentExpression CallExpression PrimitiveType FieldExpression FieldIdentifier DestructorName TemplateMethod ScopedFieldIdentifier NamespaceIdentifier TemplateType TypeIdentifier ScopedTypeIdentifier ScopedNamespaceIdentifier :: NamespaceIdentifier TypeIdentifier TemplateArgumentList < TypeDescriptor const volatile restrict _Atomic mutable constexpr constinit consteval StructSpecifier struct MsDeclspecModifier __declspec Attribute AttributeName Identifier AttributeArgs { } [ ] UpdateOp ArithOp ArithOp ArithOp LogicOp BitOp BitOp BitOp CompareOp CompareOp CompareOp > CompareOp BitOp UpdateOp , Number CharLiteral AttributeArgs VirtualSpecifier BaseClassClause Access virtual FieldDeclarationList FieldDeclaration extern static register inline thread_local AttributeSpecifier __attribute__ PointerDeclarator MsBasedModifier __based MsPointerModifier FunctionDeclarator ParameterList ParameterDeclaration PointerDeclarator FunctionDeclarator Noexcept noexcept RequiresClause requires True False ParenthesizedExpression CommaExpression LambdaExpression LambdaCaptureSpecifier TemplateParameterList OptionalParameterDeclaration TypeParameterDeclaration typename class VariadicParameterDeclaration VariadicDeclarator ReferenceDeclarator OptionalTypeParameterDeclaration VariadicTypeParameterDeclaration TemplateTemplateParameterDeclaration template AbstractFunctionDeclarator AbstractPointerDeclarator AbstractArrayDeclarator AbstractParenthesizedDeclarator AbstractReferenceDeclarator ThrowSpecifier throw TrailingReturnType CompoundStatement FunctionDefinition MsCallModifier TryStatement try CatchClause catch LinkageSpecification Declaration InitDeclarator InitializerList InitializerPair SubscriptDesignator FieldDesignator ExportDeclaration export ImportDeclaration import ModuleName PartitionName HeaderName CaseStatement case default LabeledStatement StatementIdentifier ExpressionStatement IfStatement if ConditionClause Declaration else SwitchStatement switch DoStatement do while WhileStatement ForStatement for ReturnStatement return BreakStatement break ContinueStatement continue GotoStatement goto CoReturnStatement co_return CoYieldStatement co_yield AttributeStatement ForRangeLoop AliasDeclaration using TypeDefinition typedef PointerDeclarator FunctionDeclarator ArrayDeclarator ParenthesizedDeclarator ThrowStatement NamespaceDefinition namespace ScopedIdentifier Identifier OperatorName operator ArithOp BitOp CompareOp LogicOp new delete co_await ConceptDefinition concept UsingDeclaration enum StaticAssertDeclaration static_assert ConcatenatedString TemplateDeclaration FriendDeclaration friend union FunctionDefinition ExplicitFunctionSpecifier explicit FieldInitializerList FieldInitializer DefaultMethodClause DeleteMethodClause FunctionDefinition OperatorCast operator TemplateInstantiation FunctionDefinition FunctionDefinition Declaration ModuleDeclaration module RequiresExpression RequirementList SimpleRequirement TypeRequirement CompoundRequirement ReturnTypeRequirement ConstraintConjuction LogicOp ConstraintDisjunction LogicOp ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator TemplateFunction OperatorName StructuredBindingDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator BitfieldClause FunctionDefinition FunctionDefinition Declaration FunctionDefinition Declaration AccessSpecifier UnionSpecifier ClassSpecifier EnumSpecifier SizedTypeSpecifier TypeSize EnumeratorList Enumerator DependentType Decltype decltype auto PlaceholderTypeSpecifier ParameterPackExpansion ParameterPackExpansion FieldIdentifier PointerExpression SubscriptExpression BinaryExpression ArithOp LogicOp LogicOp BitOp UnaryExpression LogicOp BitOp UpdateExpression CastExpression SizeofExpression sizeof CoAwaitExpression CompoundLiteralExpression NULL NewExpression new NewDeclarator DeleteExpression delete ParameterPackExpansion nullptr this UserDefinedLiteral ParamPack #define PreprocArg #if #ifdef #ifndef #else #endif #elif PreprocDirectiveName Macro Program",maxTerm:433,nodeProps:[["group",-35,1,8,11,15,16,17,19,71,72,100,101,102,104,191,208,229,242,243,270,271,272,277,280,281,282,284,285,286,287,290,292,293,294,295,296,"Expression",-13,18,25,26,27,43,255,256,257,258,262,263,265,266,"Type",-19,126,129,147,150,152,153,158,160,163,164,166,168,170,172,174,176,178,179,188,"Statement"],["isolate",-4,4,5,8,10,""],["openedBy",12,"(",52,"{",54,"["],["closedBy",13,")",51,"}",53,"]"]],propSources:[k],skippedNodes:[0,3,4,5,6,7,10,297,298,299,300,301,302,303,304,305,306,308,349,350],repeatNodeCount:43,tokenData:"&AbMfR!UOX$eXY/]YZ5gZ]$e]^1g^p$epq/]qr5}rs8Zst:Ttu$euv!AWvw!Cbwx!Eqxy!Flyz!Gmz{!Hn{|!Iw|}!LX}!O!MY!O!P# m!P!Q#8a!Q!R#@T!R![$'k![!]$@f!]!^$Bn!^!_$Co!_!`%C`!`!a%Dg!a!b%HP!b!c$e!c!n%IQ!n!o%Jl!o!w%IQ!w!x%Jl!x!}%IQ!}#O%Mx#O#P& }#P#Q&3[#Q#R&5a#R#S%IQ#S#T$e#T#i%IQ#i#j&6j#j#o%IQ#o#p&8[#p#q&9]#q#r&;o#r#s&|#Y#o;x#o;'S$e;'S;=`/V<%lO$eGz?Xe)d`(wS'f,U'm<`OY$eZr$ers%dsw$ewx*mx!P$e!P!Q-V!Q![;x![!c$e!c!};x!}#O$e#O#P'b#P#R$e#R#S;x#S#T$e#T#Y;x#Y#Z@j#Z#o;x#o;'S$e;'S;=`/V<%lO$eGz@ue)d`(wS'f,U'm<`OY$eZr$ers%dsw$ewx*mx!P$e!P!Q-V!Q![;x![!c$e!c!};x!}#O$e#O#P'b#P#R$e#R#S;x#S#T$e#T#];x#]#^BW#^#o;x#o;'S$e;'S;=`/V<%lO$eGz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b#P#R$e#R#S&?z#S#T$e#T#o&?z#o;'S$e;'S;=`/V<%lO$e,t&>ie)d`(wS'f,UOX$eXY&>`Zp$epq&>`qr$ers%dsw$ewx*mx!P$e!P!Q-V!Q!c$e!c!}&?z!}#O$e#O#P'b#P#R$e#R#S&?z#S#T$e#T#o&?z#o;'S$e;'S;=`/V<%lO$e,t&@Vc)d`(wSeY'f,UOY$eZr$ers%dsw$ewx*mx!P$e!P!Q-V!Q![&?z![!c$e!c!}&?z!}#O$e#O#P'b#P#R$e#R#S&?z#S#T$e#T#o&?z#o;'S$e;'S;=`/V<%lO$e",tokenizers:[f,g,1,2,3,4,5,6,7,8,9,10,new o("j~RQYZXz{^~^O(s~~aP!P!Qd~iO(t~~",25,356)],topRules:{Program:[0,307]},dynamicPrecedences:{17:1,65:1,87:1,94:1,119:1,184:1,187:-10,240:-10,241:1,244:-1,246:-10,247:1,262:-1,267:2,268:2,306:-10,371:3,425:1,426:3,427:1,428:1},specialized:[{term:362,get:O=>u[O]||-1},{term:33,get:O=>G[O]||-1},{term:66,get:O=>y[O]||-1},{term:369,get:O=>E[O]||-1}],tokenPrec:24852}),F=m.define({name:"cpp",parser:C.configure({props:[d.add({IfStatement:a({except:/^\s*({|else\b)/}),TryStatement:a({except:/^\s*({|catch)\b/}),LabeledStatement:Y,CaseStatement:O=>O.baseIndent+O.unit,BlockComment:()=>null,CompoundStatement:w({closing:"}"}),Statement:a({except:/^{/})}),n.add({"DeclarationList CompoundStatement EnumeratorList FieldDeclarationList InitializerList":V,BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/,closeBrackets:{stringPrefixes:["L","u","U","u8","LR","UR","uR","u8R","R"]}}});function D(){return new s(F)}export{D as cpp,F as cppLanguage}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-DnLkvZhP.js +import{e as t,E as Z,h as o,s as S,t as e,a as s,L as m,i as d,j as Y,c as a,k as w,f as n,l as V}from"./index-Szd58FrA.js";import"./index-Ds9AETjS.js";const P=1,l=2,q=3,T=82,z=76,_=117,h=85,c=97,j=122,b=65,p=90,v=95,i=48,U=34,R=40,r=41,W=32,x=62,f=new Z(O=>{if(O.next==z||O.next==h?O.advance():O.next==_&&(O.advance(),O.next==i+8&&O.advance()),O.next!=T||(O.advance(),O.next!=U))return;O.advance();let Q="";for(;O.next!=R;){if(O.next==W||O.next<=13||O.next==r)return;Q+=String.fromCharCode(O.next),O.advance()}for(O.advance();;){if(O.next<0)return O.acceptToken(P);if(O.next==r){let $=!0;for(let X=0;$&&X{if(O.next==x)O.peek(1)==x&&O.acceptToken(l,1);else{let Q=!1,$=0;for(;;$++){if(O.next>=b&&O.next<=p)Q=!0;else{if(O.next>=c&&O.next<=j)return;if(O.next!=v&&!(O.next>=i&&O.next<=i+9))break}O.advance()}Q&&$>1&&O.acceptToken(q)}},{extend:!0}),k=S({"typedef struct union enum class typename decltype auto template operator friend noexcept namespace using requires concept import export module __attribute__ __declspec __based":e.definitionKeyword,"extern MsCallModifier MsPointerModifier extern static register thread_local inline const volatile restrict _Atomic mutable constexpr constinit consteval virtual explicit VirtualSpecifier Access":e.modifier,"if else switch for while do case default return break continue goto throw try catch":e.controlKeyword,"co_return co_yield co_await":e.controlKeyword,"new sizeof delete static_assert":e.operatorKeyword,"NULL nullptr":e.null,this:e.self,"True False":e.bool,"TypeSize PrimitiveType":e.standard(e.typeName),TypeIdentifier:e.typeName,FieldIdentifier:e.propertyName,"CallExpression/FieldExpression/FieldIdentifier":e.function(e.propertyName),"ModuleName/Identifier":e.namespace,PartitionName:e.labelName,StatementIdentifier:e.labelName,"Identifier DestructorName":e.variableName,"CallExpression/Identifier":e.function(e.variableName),"CallExpression/ScopedIdentifier/Identifier":e.function(e.variableName),"FunctionDeclarator/Identifier FunctionDeclarator/DestructorName":e.function(e.definition(e.variableName)),NamespaceIdentifier:e.namespace,OperatorName:e.operator,ArithOp:e.arithmeticOperator,LogicOp:e.logicOperator,BitOp:e.bitwiseOperator,CompareOp:e.compareOperator,AssignOp:e.definitionOperator,UpdateOp:e.updateOperator,LineComment:e.lineComment,BlockComment:e.blockComment,Number:e.number,String:e.string,"RawString SystemLibString":e.special(e.string),CharLiteral:e.character,EscapeSequence:e.escape,"UserDefinedLiteral/Identifier":e.literal,PreprocArg:e.meta,"PreprocDirectiveName #include #ifdef #ifndef #if #define #else #endif #elif":e.processingInstruction,MacroName:e.special(e.name),"( )":e.paren,"[ ]":e.squareBracket,"{ }":e.brace,"< >":e.angleBracket,". ->":e.derefOperator,", ;":e.separator}),u={__proto__:null,bool:36,char:36,int:36,float:36,double:36,void:36,size_t:36,ssize_t:36,intptr_t:36,uintptr_t:36,charptr_t:36,int8_t:36,int16_t:36,int32_t:36,int64_t:36,uint8_t:36,uint16_t:36,uint32_t:36,uint64_t:36,char8_t:36,char16_t:36,char32_t:36,char64_t:36,const:70,volatile:72,restrict:74,_Atomic:76,mutable:78,constexpr:80,constinit:82,consteval:84,struct:88,__declspec:92,final:148,override:148,public:152,private:152,protected:152,virtual:154,extern:160,static:162,register:164,inline:166,thread_local:168,__attribute__:172,__based:178,__restrict:180,__uptr:180,__sptr:180,_unaligned:180,__unaligned:180,noexcept:194,requires:198,TRUE:798,true:798,FALSE:800,false:800,typename:218,class:220,template:234,throw:248,__cdecl:256,__clrcall:256,__stdcall:256,__fastcall:256,__thiscall:256,__vectorcall:256,try:260,catch:264,export:282,import:286,case:296,default:298,if:308,else:314,switch:318,do:322,while:324,for:330,return:334,break:338,continue:342,goto:346,co_return:350,co_yield:354,using:362,typedef:366,namespace:380,new:398,delete:400,co_await:402,concept:406,enum:410,static_assert:414,friend:422,union:424,explicit:430,operator:444,module:456,signed:518,unsigned:518,long:518,short:518,decltype:528,auto:530,sizeof:566,NULL:572,nullptr:586,this:588},G={__proto__:null,"<":767},y={__proto__:null,">":135},E={__proto__:null,operator:388,new:576,delete:582},C=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w'x(T*_*e*g*y+b,q,{-f-w.O.m.t.v0e1R1S1W1[2g2r5k6q;b;c;d;j;k;l;y;z;{;| MacroName LineComment BlockComment PreprocDirective #include String EscapeSequence SystemLibString Identifier ) ( ArgumentList ConditionalExpression AssignmentExpression CallExpression PrimitiveType FieldExpression FieldIdentifier DestructorName TemplateMethod ScopedFieldIdentifier NamespaceIdentifier TemplateType TypeIdentifier ScopedTypeIdentifier ScopedNamespaceIdentifier :: NamespaceIdentifier TypeIdentifier TemplateArgumentList < TypeDescriptor const volatile restrict _Atomic mutable constexpr constinit consteval StructSpecifier struct MsDeclspecModifier __declspec Attribute AttributeName Identifier AttributeArgs { } [ ] UpdateOp ArithOp ArithOp ArithOp LogicOp BitOp BitOp BitOp CompareOp CompareOp CompareOp > CompareOp BitOp UpdateOp , Number CharLiteral AttributeArgs VirtualSpecifier BaseClassClause Access virtual FieldDeclarationList FieldDeclaration extern static register inline thread_local AttributeSpecifier __attribute__ PointerDeclarator MsBasedModifier __based MsPointerModifier FunctionDeclarator ParameterList ParameterDeclaration PointerDeclarator FunctionDeclarator Noexcept noexcept RequiresClause requires True False ParenthesizedExpression CommaExpression LambdaExpression LambdaCaptureSpecifier TemplateParameterList OptionalParameterDeclaration TypeParameterDeclaration typename class VariadicParameterDeclaration VariadicDeclarator ReferenceDeclarator OptionalTypeParameterDeclaration VariadicTypeParameterDeclaration TemplateTemplateParameterDeclaration template AbstractFunctionDeclarator AbstractPointerDeclarator AbstractArrayDeclarator AbstractParenthesizedDeclarator AbstractReferenceDeclarator ThrowSpecifier throw TrailingReturnType CompoundStatement FunctionDefinition MsCallModifier TryStatement try CatchClause catch LinkageSpecification Declaration InitDeclarator InitializerList InitializerPair SubscriptDesignator FieldDesignator ExportDeclaration export ImportDeclaration import ModuleName PartitionName HeaderName CaseStatement case default LabeledStatement StatementIdentifier ExpressionStatement IfStatement if ConditionClause Declaration else SwitchStatement switch DoStatement do while WhileStatement ForStatement for ReturnStatement return BreakStatement break ContinueStatement continue GotoStatement goto CoReturnStatement co_return CoYieldStatement co_yield AttributeStatement ForRangeLoop AliasDeclaration using TypeDefinition typedef PointerDeclarator FunctionDeclarator ArrayDeclarator ParenthesizedDeclarator ThrowStatement NamespaceDefinition namespace ScopedIdentifier Identifier OperatorName operator ArithOp BitOp CompareOp LogicOp new delete co_await ConceptDefinition concept UsingDeclaration enum StaticAssertDeclaration static_assert ConcatenatedString TemplateDeclaration FriendDeclaration friend union FunctionDefinition ExplicitFunctionSpecifier explicit FieldInitializerList FieldInitializer DefaultMethodClause DeleteMethodClause FunctionDefinition OperatorCast operator TemplateInstantiation FunctionDefinition FunctionDefinition Declaration ModuleDeclaration module RequiresExpression RequirementList SimpleRequirement TypeRequirement CompoundRequirement ReturnTypeRequirement ConstraintConjuction LogicOp ConstraintDisjunction LogicOp ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator TemplateFunction OperatorName StructuredBindingDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator BitfieldClause FunctionDefinition FunctionDefinition Declaration FunctionDefinition Declaration AccessSpecifier UnionSpecifier ClassSpecifier EnumSpecifier SizedTypeSpecifier TypeSize EnumeratorList Enumerator DependentType Decltype decltype auto PlaceholderTypeSpecifier ParameterPackExpansion ParameterPackExpansion FieldIdentifier PointerExpression SubscriptExpression BinaryExpression ArithOp LogicOp LogicOp BitOp UnaryExpression LogicOp BitOp UpdateExpression CastExpression SizeofExpression sizeof CoAwaitExpression CompoundLiteralExpression NULL NewExpression new NewDeclarator DeleteExpression delete ParameterPackExpansion nullptr this UserDefinedLiteral ParamPack #define PreprocArg #if #ifdef #ifndef #else #endif #elif PreprocDirectiveName Macro Program",maxTerm:433,nodeProps:[["group",-35,1,8,11,15,16,17,19,71,72,100,101,102,104,191,208,229,242,243,270,271,272,277,280,281,282,284,285,286,287,290,292,293,294,295,296,"Expression",-13,18,25,26,27,43,255,256,257,258,262,263,265,266,"Type",-19,126,129,147,150,152,153,158,160,163,164,166,168,170,172,174,176,178,179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#P#R$e#R#S&?z#S#T$e#T#o&?z#o;'S$e;'S;=`/V<%lO$e",tokenizers:[f,g,1,2,3,4,5,6,7,8,9,10,new o("j~RQYZXz{^~^O(s~~aP!P!Qd~iO(t~~",25,356)],topRules:{Program:[0,307]},dynamicPrecedences:{17:1,65:1,87:1,94:1,119:1,184:1,187:-10,240:-10,241:1,244:-1,246:-10,247:1,262:-1,267:2,268:2,306:-10,371:3,425:1,426:3,427:1,428:1},specialized:[{term:362,get:O=>u[O]||-1},{term:33,get:O=>G[O]||-1},{term:66,get:O=>y[O]||-1},{term:369,get:O=>E[O]||-1}],tokenPrec:24852}),F=m.define({name:"cpp",parser:C.configure({props:[d.add({IfStatement:a({except:/^\s*({|else\b)/}),TryStatement:a({except:/^\s*({|catch)\b/}),LabeledStatement:Y,CaseStatement:O=>O.baseIndent+O.unit,BlockComment:()=>null,CompoundStatement:w({closing:"}"}),Statement:a({except:/^{/})}),n.add({"DeclarationList CompoundStatement EnumeratorList FieldDeclarationList InitializerList":V,BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/,closeBrackets:{stringPrefixes:["L","u","U","u8","LR","UR","uR","u8R","R"]}}});function D(){return new s(F)}export{D as cpp,F as cppLanguage}; +======== +import{e as t,E as Z,h as o,s as S,t as e,a as s,L as m,i as d,j as Y,c as a,k as w,f as n,l as V}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const P=1,l=2,q=3,T=82,z=76,_=117,h=85,c=97,j=122,b=65,p=90,v=95,i=48,U=34,R=40,r=41,W=32,x=62,f=new Z(O=>{if(O.next==z||O.next==h?O.advance():O.next==_&&(O.advance(),O.next==i+8&&O.advance()),O.next!=T||(O.advance(),O.next!=U))return;O.advance();let Q="";for(;O.next!=R;){if(O.next==W||O.next<=13||O.next==r)return;Q+=String.fromCharCode(O.next),O.advance()}for(O.advance();;){if(O.next<0)return O.acceptToken(P);if(O.next==r){let $=!0;for(let X=0;$&&X{if(O.next==x)O.peek(1)==x&&O.acceptToken(l,1);else{let Q=!1,$=0;for(;;$++){if(O.next>=b&&O.next<=p)Q=!0;else{if(O.next>=c&&O.next<=j)return;if(O.next!=v&&!(O.next>=i&&O.next<=i+9))break}O.advance()}Q&&$>1&&O.acceptToken(q)}},{extend:!0}),k=S({"typedef struct union enum class typename decltype auto template operator friend noexcept namespace using requires concept import export module __attribute__ __declspec __based":e.definitionKeyword,"extern MsCallModifier MsPointerModifier extern static register thread_local inline const volatile restrict _Atomic mutable constexpr constinit consteval virtual explicit VirtualSpecifier Access":e.modifier,"if else switch for while do case default return break continue goto throw try catch":e.controlKeyword,"co_return co_yield co_await":e.controlKeyword,"new sizeof delete static_assert":e.operatorKeyword,"NULL nullptr":e.null,this:e.self,"True False":e.bool,"TypeSize PrimitiveType":e.standard(e.typeName),TypeIdentifier:e.typeName,FieldIdentifier:e.propertyName,"CallExpression/FieldExpression/FieldIdentifier":e.function(e.propertyName),"ModuleName/Identifier":e.namespace,PartitionName:e.labelName,StatementIdentifier:e.labelName,"Identifier DestructorName":e.variableName,"CallExpression/Identifier":e.function(e.variableName),"CallExpression/ScopedIdentifier/Identifier":e.function(e.variableName),"FunctionDeclarator/Identifier FunctionDeclarator/DestructorName":e.function(e.definition(e.variableName)),NamespaceIdentifier:e.namespace,OperatorName:e.operator,ArithOp:e.arithmeticOperator,LogicOp:e.logicOperator,BitOp:e.bitwiseOperator,CompareOp:e.compareOperator,AssignOp:e.definitionOperator,UpdateOp:e.updateOperator,LineComment:e.lineComment,BlockComment:e.blockComment,Number:e.number,String:e.string,"RawString SystemLibString":e.special(e.string),CharLiteral:e.character,EscapeSequence:e.escape,"UserDefinedLiteral/Identifier":e.literal,PreprocArg:e.meta,"PreprocDirectiveName #include #ifdef #ifndef #if #define #else #endif #elif":e.processingInstruction,MacroName:e.special(e.name),"( )":e.paren,"[ ]":e.squareBracket,"{ }":e.brace,"< >":e.angleBracket,". ->":e.derefOperator,", ;":e.separator}),u={__proto__:null,bool:36,char:36,int:36,float:36,double:36,void:36,size_t:36,ssize_t:36,intptr_t:36,uintptr_t:36,charptr_t:36,int8_t:36,int16_t:36,int32_t:36,int64_t:36,uint8_t:36,uint16_t:36,uint32_t:36,uint64_t:36,char8_t:36,char16_t:36,char32_t:36,char64_t:36,const:70,volatile:72,restrict:74,_Atomic:76,mutable:78,constexpr:80,constinit:82,consteval:84,struct:88,__declspec:92,final:148,override:148,public:152,private:152,protected:152,virtual:154,extern:160,static:162,register:164,inline:166,thread_local:168,__attribute__:172,__based:178,__restrict:180,__uptr:180,__sptr:180,_unaligned:180,__unaligned:180,noexcept:194,requires:198,TRUE:798,true:798,FALSE:800,false:800,typename:218,class:220,template:234,throw:248,__cdecl:256,__clrcall:256,__stdcall:256,__fastcall:256,__thiscall:256,__vectorcall:256,try:260,catch:264,export:282,import:286,case:296,default:298,if:308,else:314,switch:318,do:322,while:324,for:330,return:334,break:338,continue:342,goto:346,co_return:350,co_yield:354,using:362,typedef:366,namespace:380,new:398,delete:400,co_await:402,concept:406,enum:410,static_assert:414,friend:422,union:424,explicit:430,operator:444,module:456,signed:518,unsigned:518,long:518,short:518,decltype:528,auto:530,sizeof:566,NULL:572,nullptr:586,this:588},G={__proto__:null,"<":767},y={__proto__:null,">":135},E={__proto__:null,operator:388,new:576,delete:582},C=t.deserialize({version:14,states:"$<[Q!QQVOOP'gOUOOO([OWO'#CdO,UQUO'#CgO,`QUO'#FjO-vQbO'#CxO.XQUO'#CxO0WQUO'#KaO0_QUO'#CwO0jOpO'#DvO0rQ!dO'#D]OOQR'#JP'#JPO5[QVO'#GUO5iQUO'#JWOOQQ'#JW'#JWO8}QUO'#KtOxQVO'#IbO!(}QVO'#IdO!?SQUO'#IgO!?ZQVO'#IjP!AQO!LQO'#CaP!A]{,UO'#CbP!6q{,UO'#CbP!Ah{7[O'#CbP!6q{,UO'#CbP!Am{,UO'#CbP!AxOSO'#IzPOOO)CEp)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8QP%8a%8dQ#dPa(s#b(p(q(r(t/]/_4rR#dP'`mO[aefwx{!W!X!g!k!n!r!s!v!x#X#Y#[#h#k#n#s#t#u#v#w#x#y#z#{#|#}$P$W$Y$[$g$h$m%_%o&S&U&Y&d&h&z&{'O'Q'R'e'l'm'|(c(e(l)q)w*m*n*q*v*w*{+]+_+m+o+p,U,W,s,v,|-d-e-h-n.W.X.]/U/X/d/k/t/v/{/}0p1T1Y1i1j1t1x2S2U2k2n2q3P3U3X3s4Y4]4b4k5d5o5{6i6m6p6r6t7O7Q7V7l7t7w8o8q8w8}9O9]9a9g9i9v9y9z:V:Y:`:b:g:l:pU%qm%r7[Q&o!`Q(p#^d0X*S0U0V0W0Z5X5Y5Z5^8[R7[3_b}Oaewx{!g&U*v&v$k[!W!X!k!n!r!s!v!x#X#Y#[#h#k#n#s#t#u#v#w#x#y#z#{#|#}$P$W$Y$[$g$h$m%_%o&S&Y&d&h&z&{'O'Q'R'e'l'm'|(c(e(l)q)w*m*n*q*w*{+]+_+m+o+p,U,W,s,v,|-d-e-h-n.W.X.]/U/X/d/k/t/v/{/}1T1i1j1t1x2S2U2k2n2q3P3U3X3s4Y4]4b4k5d5o5{6i6m6p6r6t7O7Q7V7l7t7w8o8q8w8}9O9]9a9g9i9v9y9z:V:Y:`:b:g:l:pS%bf0p#d%lgnp|#O$i%O%P%U%f%j%k%y&u'w'x(T*_*e*g*y+b,q,{-f-w.O.m.t.v0e1R1S1W1[2g2r5k6q;b;c;d;j;k;l;y;z;{;| MacroName LineComment BlockComment PreprocDirective #include String EscapeSequence SystemLibString Identifier ) ( ArgumentList ConditionalExpression AssignmentExpression CallExpression PrimitiveType FieldExpression FieldIdentifier DestructorName TemplateMethod ScopedFieldIdentifier NamespaceIdentifier TemplateType TypeIdentifier ScopedTypeIdentifier ScopedNamespaceIdentifier :: NamespaceIdentifier TypeIdentifier TemplateArgumentList < TypeDescriptor const volatile restrict _Atomic mutable constexpr constinit consteval StructSpecifier struct MsDeclspecModifier __declspec Attribute AttributeName Identifier AttributeArgs { } [ ] UpdateOp ArithOp ArithOp ArithOp LogicOp BitOp BitOp BitOp CompareOp CompareOp CompareOp > CompareOp BitOp UpdateOp , Number CharLiteral AttributeArgs VirtualSpecifier BaseClassClause Access virtual FieldDeclarationList FieldDeclaration extern static register inline thread_local AttributeSpecifier __attribute__ PointerDeclarator MsBasedModifier __based MsPointerModifier FunctionDeclarator ParameterList ParameterDeclaration PointerDeclarator FunctionDeclarator Noexcept noexcept RequiresClause requires True False ParenthesizedExpression CommaExpression LambdaExpression LambdaCaptureSpecifier TemplateParameterList OptionalParameterDeclaration TypeParameterDeclaration typename class VariadicParameterDeclaration VariadicDeclarator ReferenceDeclarator OptionalTypeParameterDeclaration VariadicTypeParameterDeclaration TemplateTemplateParameterDeclaration template AbstractFunctionDeclarator AbstractPointerDeclarator AbstractArrayDeclarator AbstractParenthesizedDeclarator AbstractReferenceDeclarator ThrowSpecifier throw TrailingReturnType CompoundStatement FunctionDefinition MsCallModifier TryStatement try CatchClause catch LinkageSpecification Declaration InitDeclarator InitializerList InitializerPair SubscriptDesignator FieldDesignator ExportDeclaration export ImportDeclaration import ModuleName PartitionName HeaderName CaseStatement case default LabeledStatement StatementIdentifier ExpressionStatement IfStatement if ConditionClause Declaration else SwitchStatement switch DoStatement do while WhileStatement ForStatement for ReturnStatement return BreakStatement break ContinueStatement continue GotoStatement goto CoReturnStatement co_return CoYieldStatement co_yield AttributeStatement ForRangeLoop AliasDeclaration using TypeDefinition typedef PointerDeclarator FunctionDeclarator ArrayDeclarator ParenthesizedDeclarator ThrowStatement NamespaceDefinition namespace ScopedIdentifier Identifier OperatorName operator ArithOp BitOp CompareOp LogicOp new delete co_await ConceptDefinition concept UsingDeclaration enum StaticAssertDeclaration static_assert ConcatenatedString TemplateDeclaration FriendDeclaration friend union FunctionDefinition ExplicitFunctionSpecifier explicit FieldInitializerList FieldInitializer DefaultMethodClause DeleteMethodClause FunctionDefinition OperatorCast operator TemplateInstantiation FunctionDefinition FunctionDefinition Declaration ModuleDeclaration module RequiresExpression RequirementList SimpleRequirement TypeRequirement CompoundRequirement ReturnTypeRequirement ConstraintConjuction LogicOp ConstraintDisjunction LogicOp ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator TemplateFunction OperatorName StructuredBindingDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator BitfieldClause FunctionDefinition FunctionDefinition Declaration FunctionDefinition Declaration AccessSpecifier UnionSpecifier ClassSpecifier EnumSpecifier SizedTypeSpecifier TypeSize EnumeratorList Enumerator DependentType Decltype decltype auto PlaceholderTypeSpecifier ParameterPackExpansion ParameterPackExpansion FieldIdentifier PointerExpression SubscriptExpression BinaryExpression ArithOp LogicOp LogicOp BitOp UnaryExpression LogicOp BitOp UpdateExpression CastExpression SizeofExpression sizeof CoAwaitExpression CompoundLiteralExpression NULL NewExpression new NewDeclarator DeleteExpression delete ParameterPackExpansion nullptr this UserDefinedLiteral ParamPack #define PreprocArg #if #ifdef #ifndef #else #endif #elif PreprocDirectiveName Macro Program",maxTerm:433,nodeProps:[["group",-35,1,8,11,15,16,17,19,71,72,100,101,102,104,191,208,229,242,243,270,271,272,277,280,281,282,284,285,286,287,290,292,293,294,295,296,"Expression",-13,18,25,26,27,43,255,256,257,258,262,263,265,266,"Type",-19,126,129,147,150,152,153,158,160,163,164,166,168,170,172,174,176,178,179,188,"Statement"],["isolate",-4,4,5,8,10,""],["openedBy",12,"(",52,"{",54,"["],["closedBy",13,")",51,"}",53,"]"]],propSources:[k],skippedNodes:[0,3,4,5,6,7,10,297,298,299,300,301,302,303,304,305,306,308,349,350],repeatNodeCount:43,tokenData:"&AbMfR!UOX$eXY/]YZ5gZ]$e]^1g^p$epq/]qr5}rs8Zst:Ttu$euv!AWvw!Cbwx!Eqxy!Flyz!Gmz{!Hn{|!Iw|}!LX}!O!MY!O!P# m!P!Q#8a!Q!R#@T!R![$'k![!]$@f!]!^$Bn!^!_$Co!_!`%C`!`!a%Dg!a!b%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V<%lO$eCj$By[)`8O)d`(wS'f,UOY$eZr$ers%dsw$ewx*mx!P$e!P!Q-V!Q#O$e#O#P'b#P;'S$e;'S;=`/V<%lO$eM^$C|aq8O%]#t)d`(wS'f,UOY$ERYZ$FZZr$ERrs$Fxsw$ERwx%4^x!P$ER!P!Q%8|!Q!^$ER!^!_%=a!_!`%?z!`!a%B_!a#O$ER#O#P%.w#P;'S$ER;'S;=`%=Z<%lO$ER3h$E[_)d`(wS'f,UOY$ERYZ$FZZr$ERrs$Fxsw$ERwx%4^x!P$ER!P!Q%8|!Q!`$ER!`!a%p!`!a%{_!g:t)d`(wS'f,UOY$ERYZ$FZZr$ERrs$Fxsw$ERwx%4^x!P$ER!P!Q%8|!Q!`$ER!`!a%`Zp$epq&>`qr$ers%dsw$ewx*mx!P$e!P!Q-V!Q!c$e!c!}&?z!}#O$e#O#P'b#P#R$e#R#S&?z#S#T$e#T#o&?z#o;'S$e;'S;=`/V<%lO$e,t&>ie)d`(wS'f,UOX$eXY&>`Zp$epq&>`qr$ers%dsw$ewx*mx!P$e!P!Q-V!Q!c$e!c!}&?z!}#O$e#O#P'b#P#R$e#R#S&?z#S#T$e#T#o&?z#o;'S$e;'S;=`/V<%lO$e,t&@Vc)d`(wSeY'f,UOY$eZr$ers%dsw$ewx*mx!P$e!P!Q-V!Q![&?z![!c$e!c!}&?z!}#O$e#O#P'b#P#R$e#R#S&?z#S#T$e#T#o&?z#o;'S$e;'S;=`/V<%lO$e",tokenizers:[f,g,1,2,3,4,5,6,7,8,9,10,new o("j~RQYZXz{^~^O(s~~aP!P!Qd~iO(t~~",25,356)],topRules:{Program:[0,307]},dynamicPrecedences:{17:1,65:1,87:1,94:1,119:1,184:1,187:-10,240:-10,241:1,244:-1,246:-10,247:1,262:-1,267:2,268:2,306:-10,371:3,425:1,426:3,427:1,428:1},specialized:[{term:362,get:O=>u[O]||-1},{term:33,get:O=>G[O]||-1},{term:66,get:O=>y[O]||-1},{term:369,get:O=>E[O]||-1}],tokenPrec:24852}),F=m.define({name:"cpp",parser:C.configure({props:[d.add({IfStatement:a({except:/^\s*({|else\b)/}),TryStatement:a({except:/^\s*({|catch)\b/}),LabeledStatement:Y,CaseStatement:O=>O.baseIndent+O.unit,BlockComment:()=>null,CompoundStatement:w({closing:"}"}),Statement:a({except:/^{/})}),n.add({"DeclarationList CompoundStatement EnumeratorList FieldDeclarationList InitializerList":V,BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/,closeBrackets:{stringPrefixes:["L","u","U","u8","LR","UR","uR","u8R","R"]}}});function D(){return new s(F)}export{D as cpp,F as cppLanguage}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-BxNkc_ay.js diff --git a/frontend/dist/assets/index-ZKnv_mga.js b/frontend/dist/assets/index-ZKnv_mga.js new file mode 100644 index 0000000..4d0f2a1 --- /dev/null +++ b/frontend/dist/assets/index-ZKnv_mga.js @@ -0,0 +1 @@ +import{b8 as c}from"./index-CxbBjZKo.js";const s="_RepeatClick",f={beforeMount(t,n){const e=n.value,{interval:d=100,delay:l=600}=c(e)?{}:e;let o,r;const i=()=>c(e)?e():e.handler(),a=()=>{r&&(clearTimeout(r),r=void 0),o&&(clearInterval(o),o=void 0)},u=v=>{v.button===0&&(a(),i(),document.addEventListener("mouseup",a,{once:!0}),r=setTimeout(()=>{o=setInterval(()=>{i()},d)},l))};t[s]={start:u,clear:a},t.addEventListener("mousedown",u)},unmounted(t){if(!t[s])return;const{start:n,clear:e}=t[s];n&&t.removeEventListener("mousedown",n),e&&(e(),document.removeEventListener("mouseup",e)),t[s]=null}};export{f as v}; diff --git a/frontend/dist/assets/index-nU1bUa76.js b/frontend/dist/assets/index-nU1bUa76.js index 0353141..706ba85 100644 --- a/frontend/dist/assets/index-nU1bUa76.js +++ b/frontend/dist/assets/index-nU1bUa76.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-nU1bUa76.js import{d as o,a as d,o as i,e as n,w as l,h as r,Y as p,cS as g,f as m,Z as y,l as f}from"./index-CD29OCdJ.js";var h=o({name:"ElCollapseTransition",__name:"collapse-transition",setup(v){const e=d("collapse-transition"),a=t=>{t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom},s={beforeEnter(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.style.height&&(t.dataset.elExistsHeight=t.style.height),t.style.maxHeight=0,t.style.paddingTop=0,t.style.paddingBottom=0},enter(t){requestAnimationFrame(()=>{t.dataset.oldOverflow=t.style.overflow,t.dataset.elExistsHeight?t.style.maxHeight=t.dataset.elExistsHeight:t.scrollHeight!==0?t.style.maxHeight=`${t.scrollHeight}px`:t.style.maxHeight=0,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom,t.style.overflow="hidden"})},afterEnter(t){t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow},enterCancelled(t){a(t)},beforeLeave(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.dataset.oldOverflow=t.style.overflow,t.style.maxHeight=`${t.scrollHeight}px`,t.style.overflow="hidden"},leave(t){t.scrollHeight!==0&&(t.style.maxHeight=0,t.style.paddingTop=0,t.style.paddingBottom=0)},afterLeave(t){a(t)},leaveCancelled(t){a(t)}};return(t,_)=>(i(),n(y,p({name:m(e).b()},g(s)),{default:l(()=>[r(t.$slots,"default")]),_:3},16,["name"]))}}),c=h;const x=f(c);export{x as E}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-Tr1QMyk2.js +import{d as o,a as d,o as i,e as n,w as l,h as r,Y as p,cS as g,f as m,Z as y,l as f}from"./index-Ds9AETjS.js";var h=o({name:"ElCollapseTransition",__name:"collapse-transition",setup(v){const e=d("collapse-transition"),a=t=>{t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom},s={beforeEnter(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.style.height&&(t.dataset.elExistsHeight=t.style.height),t.style.maxHeight=0,t.style.paddingTop=0,t.style.paddingBottom=0},enter(t){requestAnimationFrame(()=>{t.dataset.oldOverflow=t.style.overflow,t.dataset.elExistsHeight?t.style.maxHeight=t.dataset.elExistsHeight:t.scrollHeight!==0?t.style.maxHeight=`${t.scrollHeight}px`:t.style.maxHeight=0,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom,t.style.overflow="hidden"})},afterEnter(t){t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow},enterCancelled(t){a(t)},beforeLeave(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.dataset.oldOverflow=t.style.overflow,t.style.maxHeight=`${t.scrollHeight}px`,t.style.overflow="hidden"},leave(t){t.scrollHeight!==0&&(t.style.maxHeight=0,t.style.paddingTop=0,t.style.paddingBottom=0)},afterLeave(t){a(t)},leaveCancelled(t){a(t)}};return(t,_)=>(i(),n(y,p({name:m(e).b()},g(s)),{default:l(()=>[r(t.$slots,"default")]),_:3},16,["name"]))}}),c=h;const x=f(c);export{x as E}; +======== +import{d as o,a as d,o as i,e as n,w as l,h as r,Y as p,cS as g,f as m,Z as y,l as f}from"./index-CxbBjZKo.js";var h=o({name:"ElCollapseTransition",__name:"collapse-transition",setup(v){const e=d("collapse-transition"),a=t=>{t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom},s={beforeEnter(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.style.height&&(t.dataset.elExistsHeight=t.style.height),t.style.maxHeight=0,t.style.paddingTop=0,t.style.paddingBottom=0},enter(t){requestAnimationFrame(()=>{t.dataset.oldOverflow=t.style.overflow,t.dataset.elExistsHeight?t.style.maxHeight=t.dataset.elExistsHeight:t.scrollHeight!==0?t.style.maxHeight=`${t.scrollHeight}px`:t.style.maxHeight=0,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom,t.style.overflow="hidden"})},afterEnter(t){t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow},enterCancelled(t){a(t)},beforeLeave(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.dataset.oldOverflow=t.style.overflow,t.style.maxHeight=`${t.scrollHeight}px`,t.style.overflow="hidden"},leave(t){t.scrollHeight!==0&&(t.style.maxHeight=0,t.style.paddingTop=0,t.style.paddingBottom=0)},afterLeave(t){a(t)},leaveCancelled(t){a(t)}};return(t,_)=>(i(),n(y,p({name:m(e).b()},g(s)),{default:l(()=>[r(t.$slots,"default")]),_:3},16,["name"]))}}),c=h;const x=f(c);export{x as E}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-Bp52mKPt.js diff --git a/frontend/dist/assets/index-q7NK9e6A.js b/frontend/dist/assets/index-q7NK9e6A.js index c2480a9..d0bb993 100644 --- a/frontend/dist/assets/index-q7NK9e6A.js +++ b/frontend/dist/assets/index-q7NK9e6A.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-q7NK9e6A.js import{e as G,E as A,C as N,s as I,t as p,n as Y,g as k,o as j,a as U,L as Z,i as B,f as D,u as M}from"./index-DFkjzvE0.js";import"./index-CD29OCdJ.js";const h=1,F=2,L=3,K=4,H=5,J=36,ee=37,te=38,Oe=11,oe=13;function re(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function ne(e){return e==9||e==10||e==13||e==32}let Q=null,V=null,X=0;function W(e,t){let o=e.pos+t;if(V==e&&X==o)return Q;for(;ne(e.peek(t));)t++;let O="";for(;;){let r=e.peek(t);if(!re(r))break;O+=String.fromCharCode(r),t++}return V=e,X=o,Q=O||null}function _(e,t){this.name=e,this.parent=t}const ae=new N({start:null,shift(e,t,o,O){return t==h?new _(W(O,1)||"",e):e},reduce(e,t){return t==Oe&&e?e.parent:e},reuse(e,t,o,O){let r=t.type.id;return r==h||r==oe?new _(W(O,1)||"",e):e},strict:!1}),le=new A((e,t)=>{if(e.next==60){if(e.advance(),e.next==47){e.advance();let o=W(e,0);if(!o)return e.acceptToken(H);if(t.context&&o==t.context.name)return e.acceptToken(F);for(let O=t.context;O;O=O.parent)if(O.name==o)return e.acceptToken(L,-2);e.acceptToken(K)}else if(e.next!=33&&e.next!=63)return e.acceptToken(h)}},{contextual:!0});function y(e,t){return new A(o=>{let O=0,r=t.charCodeAt(0);e:for(;!(o.next<0);o.advance(),O++)if(o.next==r){for(let a=1;a"),ie=y(ee,"?>"),ce=y(te,"]]>"),me=I({Text:p.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":p.angleBracket,TagName:p.tagName,"MismatchedCloseTag/TagName":[p.tagName,p.invalid],AttributeName:p.attributeName,AttributeValue:p.attributeValue,Is:p.definitionOperator,"EntityReference CharacterReference":p.character,Comment:p.blockComment,ProcessingInst:p.processingInstruction,DoctypeDecl:p.documentMeta,Cdata:p.special(p.string)}),$e=G.deserialize({version:14,states:",lOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DT'#DTOOOP'#Cv'#CvQQOaOOOOOW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%lO(ok!$PXaQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qo!$wX[UVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!%mZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!&`!a;'S$q;'S;=`)c<%lO$qk!&kX!RQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!'aZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_#P$q#P#Q!(S#Q;'S$q;'S;=`)c<%lO$qk!(]ZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!)O!a;'S$q;'S;=`)c<%lO$qk!)ZXxQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$q",tokenizers:[le,se,ie,ce,0,1,2,3,4],topRules:{Document:[0,6]},tokenPrec:0});function T(e,t){let o=t&&t.getChild("TagName");return o?e.sliceString(o.from,o.to):""}function P(e,t){let o=t&&t.firstChild;return!o||o.name!="OpenTag"?"":T(e,o)}function Se(e,t,o){let O=t&&t.getChildren("Attribute").find(a=>a.from<=o&&a.to>=o),r=O&&O.getChild("AttributeName");return r?e.sliceString(r.from,r.to):""}function C(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name=="Element")return t;return null}function ge(e,t){var o;let O=k(e).resolveInner(t,-1),r=null;for(let a=O;!r&&a.parent;a=a.parent)(a.name=="OpenTag"||a.name=="CloseTag"||a.name=="SelfClosingTag"||a.name=="MismatchedCloseTag")&&(r=a);if(r&&(r.to>t||r.lastChild.type.isError)){let a=r.parent;if(O.name=="TagName")return r.name=="CloseTag"||r.name=="MismatchedCloseTag"?{type:"closeTag",from:O.from,context:a}:{type:"openTag",from:O.from,context:C(a)};if(O.name=="AttributeName")return{type:"attrName",from:O.from,context:r};if(O.name=="AttributeValue")return{type:"attrValue",from:O.from,context:r};let s=O==r||O.name=="Attribute"?O.childBefore(t):O;return(s==null?void 0:s.name)=="StartTag"?{type:"openTag",from:t,context:C(a)}:(s==null?void 0:s.name)=="StartCloseTag"&&s.to<=t?{type:"closeTag",from:t,context:a}:(s==null?void 0:s.name)=="Is"?{type:"attrValue",from:t,context:r}:s?{type:"attrName",from:t,context:r}:null}else if(O.name=="StartCloseTag")return{type:"closeTag",from:t,context:O.parent};for(;O.parent&&O.to==t&&!(!((o=O.lastChild)===null||o===void 0)&&o.type.isError);)O=O.parent;return O.name=="Element"||O.name=="Text"||O.name=="Document"?{type:"tag",from:t,context:O.name=="Element"?O:C(O)}:null}class ue{constructor(t,o,O){this.attrs=o,this.attrValues=O,this.children=[],this.name=t.name,this.completion=Object.assign(Object.assign({type:"type"},t.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=t.textContent?t.textContent.map(r=>({label:r,type:"text"})):[]}}const b=/^[:\-\.\w\u00b7-\uffff]*$/;function E(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function R(e){return typeof e=="string"?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function pe(e,t){let o=[],O=[],r=Object.create(null);for(let n of t){let $=E(n);o.push($),n.global&&O.push($),n.values&&(r[n.name]=n.values.map(R))}let a=[],s=[],f=Object.create(null);for(let n of e){let $=O,c=r;n.attributes&&($=$.concat(n.attributes.map(l=>typeof l=="string"?o.find(d=>d.label==l)||{label:l,type:"property"}:(l.values&&(c==r&&(c=Object.create(c)),c[l.name]=l.values.map(R)),E(l)))));let u=new ue(n,$,c);f[u.name]=u,a.push(u),n.top&&s.push(u)}s.length||(s=a);for(let n=0;n{var $;let{doc:c}=n.state,u=ge(n.state,n.pos);if(!u||u.type=="tag"&&!n.explicit)return null;let{type:l,from:d,context:S}=u;if(l=="openTag"){let i=s,m=P(c,S);if(m){let g=f[m];i=(g==null?void 0:g.children)||a}return{from:d,options:i.map(g=>g.completion),validFor:b}}else if(l=="closeTag"){let i=P(c,S);return i?{from:d,to:n.pos+(c.sliceString(n.pos,n.pos+1)==">"?1:0),options:[(($=f[i])===null||$===void 0?void 0:$.closeNameCompletion)||{label:i+">",type:"type"}],validFor:b}:null}else if(l=="attrName"){let i=f[T(c,S)];return{from:d,options:(i==null?void 0:i.attrs)||O,validFor:b}}else if(l=="attrValue"){let i=Se(c,S,d);if(!i)return null;let m=f[T(c,S)],g=((m==null?void 0:m.attrValues)||r)[i];return!g||!g.length?null:{from:d,to:n.pos+(c.sliceString(n.pos,n.pos+1)=='"'?1:0),options:g,validFor:/^"[^"]*"?$/}}else if(l=="tag"){let i=P(c,S),m=f[i],g=[],q=S&&S.lastChild;i&&(!q||q.name!="CloseTag"||T(c,q)!=i)&&g.push(m?m.closeCompletion:{label:"",type:"type",boost:2});let v=g.concat(((m==null?void 0:m.children)||(S?a:s)).map(x=>x.openCompletion));if(S&&(m!=null&&m.text.length)){let x=S.firstChild;x.to>n.pos-20&&!/\S/.test(n.state.sliceDoc(x.to,n.pos))&&(v=v.concat(m.text))}return{from:d,options:v,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const w=Z.define({name:"xml",parser:$e.configure({props:[B.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),D.add({Element(e){let t=e.firstChild,o=e.lastChild;return!t||t.name!="OpenTag"?null:{from:t.to,to:o.name=="CloseTag"?o.from:e.to}}}),M.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/$/}});function xe(e={}){let t=[w.data.of({autocomplete:pe(e.elements||[],e.attributes||[])})];return e.autoCloseTags!==!1&&t.push(fe),new U(w,t)}function z(e,t,o=e.length){if(!t)return"";let O=t.firstChild,r=O&&O.getChild("TagName");return r?e.sliceString(r.from,Math.min(r.to,o)):""}const fe=Y.inputHandler.of((e,t,o,O,r)=>{if(e.composing||e.state.readOnly||t!=o||O!=">"&&O!="/"||!w.isActiveAt(e.state,t,-1))return!1;let a=r(),{state:s}=a,f=s.changeByRange(n=>{var $,c,u;let{head:l}=n,d=s.doc.sliceString(l-1,l)==O,S=k(s).resolveInner(l,-1),i;if(d&&O==">"&&S.name=="EndTag"){let m=S.parent;if(((c=($=m.parent)===null||$===void 0?void 0:$.lastChild)===null||c===void 0?void 0:c.name)!="CloseTag"&&(i=z(s.doc,m.parent,l))){let g=l+(s.doc.sliceString(l,l+1)===">"?1:0),q=``;return{range:n,changes:{from:l,to:g,insert:q}}}}else if(d&&O=="/"&&S.name=="StartCloseTag"){let m=S.parent;if(S.from==l-2&&((u=m.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(i=z(s.doc,m,l))){let g=l+(s.doc.sliceString(l,l+1)===">"?1:0),q=`${i}>`;return{range:j.cursor(l+q.length,-1),changes:{from:l,to:g,insert:q}}}}return{range:n}});return f.changes.empty?!1:(e.dispatch([a,s.update(f,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});export{fe as autoCloseTags,pe as completeFromSchema,xe as xml,w as xmlLanguage}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-BcGSNlO6.js +import{e as G,E as A,C as N,s as I,t as p,n as Y,g as k,o as j,a as U,L as Z,i as B,f as D,u as M}from"./index-Szd58FrA.js";import"./index-Ds9AETjS.js";const h=1,F=2,L=3,K=4,H=5,J=36,ee=37,te=38,Oe=11,oe=13;function re(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function ne(e){return e==9||e==10||e==13||e==32}let Q=null,V=null,X=0;function W(e,t){let o=e.pos+t;if(V==e&&X==o)return Q;for(;ne(e.peek(t));)t++;let O="";for(;;){let r=e.peek(t);if(!re(r))break;O+=String.fromCharCode(r),t++}return V=e,X=o,Q=O||null}function _(e,t){this.name=e,this.parent=t}const ae=new N({start:null,shift(e,t,o,O){return t==h?new _(W(O,1)||"",e):e},reduce(e,t){return t==Oe&&e?e.parent:e},reuse(e,t,o,O){let r=t.type.id;return r==h||r==oe?new _(W(O,1)||"",e):e},strict:!1}),le=new A((e,t)=>{if(e.next==60){if(e.advance(),e.next==47){e.advance();let o=W(e,0);if(!o)return e.acceptToken(H);if(t.context&&o==t.context.name)return e.acceptToken(F);for(let O=t.context;O;O=O.parent)if(O.name==o)return e.acceptToken(L,-2);e.acceptToken(K)}else if(e.next!=33&&e.next!=63)return e.acceptToken(h)}},{contextual:!0});function y(e,t){return new A(o=>{let O=0,r=t.charCodeAt(0);e:for(;!(o.next<0);o.advance(),O++)if(o.next==r){for(let a=1;a"),ie=y(ee,"?>"),ce=y(te,"]]>"),me=I({Text:p.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":p.angleBracket,TagName:p.tagName,"MismatchedCloseTag/TagName":[p.tagName,p.invalid],AttributeName:p.attributeName,AttributeValue:p.attributeValue,Is:p.definitionOperator,"EntityReference CharacterReference":p.character,Comment:p.blockComment,ProcessingInst:p.processingInstruction,DoctypeDecl:p.documentMeta,Cdata:p.special(p.string)}),$e=G.deserialize({version:14,states:",lOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DT'#DTOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C|'#C|O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C}'#C}O$dOrO,59^OOOP,59^,59^OOOS'#DO'#DOO$lOtO,59_OOOP,59_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!^!_(o!_!`$q!`!a!&`!a;'S$q;'S;=`)c<%lO$qk!&kX!RQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!'aZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_#P$q#P#Q!(S#Q;'S$q;'S;=`)c<%lO$qk!(]ZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!)O!a;'S$q;'S;=`)c<%lO$qk!)ZXxQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$q",tokenizers:[le,se,ie,ce,0,1,2,3,4],topRules:{Document:[0,6]},tokenPrec:0});function T(e,t){let o=t&&t.getChild("TagName");return o?e.sliceString(o.from,o.to):""}function P(e,t){let o=t&&t.firstChild;return!o||o.name!="OpenTag"?"":T(e,o)}function Se(e,t,o){let O=t&&t.getChildren("Attribute").find(a=>a.from<=o&&a.to>=o),r=O&&O.getChild("AttributeName");return r?e.sliceString(r.from,r.to):""}function C(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name=="Element")return t;return null}function ge(e,t){var o;let O=k(e).resolveInner(t,-1),r=null;for(let a=O;!r&&a.parent;a=a.parent)(a.name=="OpenTag"||a.name=="CloseTag"||a.name=="SelfClosingTag"||a.name=="MismatchedCloseTag")&&(r=a);if(r&&(r.to>t||r.lastChild.type.isError)){let a=r.parent;if(O.name=="TagName")return r.name=="CloseTag"||r.name=="MismatchedCloseTag"?{type:"closeTag",from:O.from,context:a}:{type:"openTag",from:O.from,context:C(a)};if(O.name=="AttributeName")return{type:"attrName",from:O.from,context:r};if(O.name=="AttributeValue")return{type:"attrValue",from:O.from,context:r};let s=O==r||O.name=="Attribute"?O.childBefore(t):O;return(s==null?void 0:s.name)=="StartTag"?{type:"openTag",from:t,context:C(a)}:(s==null?void 0:s.name)=="StartCloseTag"&&s.to<=t?{type:"closeTag",from:t,context:a}:(s==null?void 0:s.name)=="Is"?{type:"attrValue",from:t,context:r}:s?{type:"attrName",from:t,context:r}:null}else if(O.name=="StartCloseTag")return{type:"closeTag",from:t,context:O.parent};for(;O.parent&&O.to==t&&!(!((o=O.lastChild)===null||o===void 0)&&o.type.isError);)O=O.parent;return O.name=="Element"||O.name=="Text"||O.name=="Document"?{type:"tag",from:t,context:O.name=="Element"?O:C(O)}:null}class ue{constructor(t,o,O){this.attrs=o,this.attrValues=O,this.children=[],this.name=t.name,this.completion=Object.assign(Object.assign({type:"type"},t.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=t.textContent?t.textContent.map(r=>({label:r,type:"text"})):[]}}const b=/^[:\-\.\w\u00b7-\uffff]*$/;function E(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function R(e){return typeof e=="string"?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function pe(e,t){let o=[],O=[],r=Object.create(null);for(let n of t){let $=E(n);o.push($),n.global&&O.push($),n.values&&(r[n.name]=n.values.map(R))}let a=[],s=[],f=Object.create(null);for(let n of e){let $=O,c=r;n.attributes&&($=$.concat(n.attributes.map(l=>typeof l=="string"?o.find(d=>d.label==l)||{label:l,type:"property"}:(l.values&&(c==r&&(c=Object.create(c)),c[l.name]=l.values.map(R)),E(l)))));let u=new ue(n,$,c);f[u.name]=u,a.push(u),n.top&&s.push(u)}s.length||(s=a);for(let n=0;n{var $;let{doc:c}=n.state,u=ge(n.state,n.pos);if(!u||u.type=="tag"&&!n.explicit)return null;let{type:l,from:d,context:S}=u;if(l=="openTag"){let i=s,m=P(c,S);if(m){let g=f[m];i=(g==null?void 0:g.children)||a}return{from:d,options:i.map(g=>g.completion),validFor:b}}else if(l=="closeTag"){let i=P(c,S);return i?{from:d,to:n.pos+(c.sliceString(n.pos,n.pos+1)==">"?1:0),options:[(($=f[i])===null||$===void 0?void 0:$.closeNameCompletion)||{label:i+">",type:"type"}],validFor:b}:null}else if(l=="attrName"){let i=f[T(c,S)];return{from:d,options:(i==null?void 0:i.attrs)||O,validFor:b}}else if(l=="attrValue"){let i=Se(c,S,d);if(!i)return null;let m=f[T(c,S)],g=((m==null?void 0:m.attrValues)||r)[i];return!g||!g.length?null:{from:d,to:n.pos+(c.sliceString(n.pos,n.pos+1)=='"'?1:0),options:g,validFor:/^"[^"]*"?$/}}else if(l=="tag"){let i=P(c,S),m=f[i],g=[],q=S&&S.lastChild;i&&(!q||q.name!="CloseTag"||T(c,q)!=i)&&g.push(m?m.closeCompletion:{label:"",type:"type",boost:2});let v=g.concat(((m==null?void 0:m.children)||(S?a:s)).map(x=>x.openCompletion));if(S&&(m!=null&&m.text.length)){let x=S.firstChild;x.to>n.pos-20&&!/\S/.test(n.state.sliceDoc(x.to,n.pos))&&(v=v.concat(m.text))}return{from:d,options:v,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const w=Z.define({name:"xml",parser:$e.configure({props:[B.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),D.add({Element(e){let t=e.firstChild,o=e.lastChild;return!t||t.name!="OpenTag"?null:{from:t.to,to:o.name=="CloseTag"?o.from:e.to}}}),M.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/$/}});function xe(e={}){let t=[w.data.of({autocomplete:pe(e.elements||[],e.attributes||[])})];return e.autoCloseTags!==!1&&t.push(fe),new U(w,t)}function z(e,t,o=e.length){if(!t)return"";let O=t.firstChild,r=O&&O.getChild("TagName");return r?e.sliceString(r.from,Math.min(r.to,o)):""}const fe=Y.inputHandler.of((e,t,o,O,r)=>{if(e.composing||e.state.readOnly||t!=o||O!=">"&&O!="/"||!w.isActiveAt(e.state,t,-1))return!1;let a=r(),{state:s}=a,f=s.changeByRange(n=>{var $,c,u;let{head:l}=n,d=s.doc.sliceString(l-1,l)==O,S=k(s).resolveInner(l,-1),i;if(d&&O==">"&&S.name=="EndTag"){let m=S.parent;if(((c=($=m.parent)===null||$===void 0?void 0:$.lastChild)===null||c===void 0?void 0:c.name)!="CloseTag"&&(i=z(s.doc,m.parent,l))){let g=l+(s.doc.sliceString(l,l+1)===">"?1:0),q=``;return{range:n,changes:{from:l,to:g,insert:q}}}}else if(d&&O=="/"&&S.name=="StartCloseTag"){let m=S.parent;if(S.from==l-2&&((u=m.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(i=z(s.doc,m,l))){let g=l+(s.doc.sliceString(l,l+1)===">"?1:0),q=`${i}>`;return{range:j.cursor(l+q.length,-1),changes:{from:l,to:g,insert:q}}}}return{range:n}});return f.changes.empty?!1:(e.dispatch([a,s.update(f,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});export{fe as autoCloseTags,pe as completeFromSchema,xe as xml,w as xmlLanguage}; +======== +import{e as G,E as A,C as N,s as I,t as p,n as Y,g as k,o as j,a as U,L as Z,i as B,f as D,u as M}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const h=1,F=2,L=3,K=4,H=5,J=36,ee=37,te=38,Oe=11,oe=13;function re(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function ne(e){return e==9||e==10||e==13||e==32}let Q=null,V=null,X=0;function W(e,t){let o=e.pos+t;if(V==e&&X==o)return Q;for(;ne(e.peek(t));)t++;let O="";for(;;){let r=e.peek(t);if(!re(r))break;O+=String.fromCharCode(r),t++}return V=e,X=o,Q=O||null}function _(e,t){this.name=e,this.parent=t}const ae=new N({start:null,shift(e,t,o,O){return t==h?new _(W(O,1)||"",e):e},reduce(e,t){return t==Oe&&e?e.parent:e},reuse(e,t,o,O){let r=t.type.id;return r==h||r==oe?new _(W(O,1)||"",e):e},strict:!1}),le=new A((e,t)=>{if(e.next==60){if(e.advance(),e.next==47){e.advance();let o=W(e,0);if(!o)return e.acceptToken(H);if(t.context&&o==t.context.name)return e.acceptToken(F);for(let O=t.context;O;O=O.parent)if(O.name==o)return e.acceptToken(L,-2);e.acceptToken(K)}else if(e.next!=33&&e.next!=63)return e.acceptToken(h)}},{contextual:!0});function y(e,t){return new A(o=>{let O=0,r=t.charCodeAt(0);e:for(;!(o.next<0);o.advance(),O++)if(o.next==r){for(let a=1;a"),ie=y(ee,"?>"),ce=y(te,"]]>"),me=I({Text:p.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":p.angleBracket,TagName:p.tagName,"MismatchedCloseTag/TagName":[p.tagName,p.invalid],AttributeName:p.attributeName,AttributeValue:p.attributeValue,Is:p.definitionOperator,"EntityReference CharacterReference":p.character,Comment:p.blockComment,ProcessingInst:p.processingInstruction,DoctypeDecl:p.documentMeta,Cdata:p.special(p.string)}),$e=G.deserialize({version:14,states:",lOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DT'#DTOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C|'#C|O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C}'#C}O$dOrO,59^OOOP,59^,59^OOOS'#DO'#DOO$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6z-E6zOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6{-E6{OOOP1G.x1G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!_(o!_!`$q!`!a!)O!a;'S$q;'S;=`)c<%lO$qk!)ZXxQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$q",tokenizers:[le,se,ie,ce,0,1,2,3,4],topRules:{Document:[0,6]},tokenPrec:0});function T(e,t){let o=t&&t.getChild("TagName");return o?e.sliceString(o.from,o.to):""}function P(e,t){let o=t&&t.firstChild;return!o||o.name!="OpenTag"?"":T(e,o)}function Se(e,t,o){let O=t&&t.getChildren("Attribute").find(a=>a.from<=o&&a.to>=o),r=O&&O.getChild("AttributeName");return r?e.sliceString(r.from,r.to):""}function C(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name=="Element")return t;return null}function ge(e,t){var o;let O=k(e).resolveInner(t,-1),r=null;for(let a=O;!r&&a.parent;a=a.parent)(a.name=="OpenTag"||a.name=="CloseTag"||a.name=="SelfClosingTag"||a.name=="MismatchedCloseTag")&&(r=a);if(r&&(r.to>t||r.lastChild.type.isError)){let a=r.parent;if(O.name=="TagName")return r.name=="CloseTag"||r.name=="MismatchedCloseTag"?{type:"closeTag",from:O.from,context:a}:{type:"openTag",from:O.from,context:C(a)};if(O.name=="AttributeName")return{type:"attrName",from:O.from,context:r};if(O.name=="AttributeValue")return{type:"attrValue",from:O.from,context:r};let s=O==r||O.name=="Attribute"?O.childBefore(t):O;return(s==null?void 0:s.name)=="StartTag"?{type:"openTag",from:t,context:C(a)}:(s==null?void 0:s.name)=="StartCloseTag"&&s.to<=t?{type:"closeTag",from:t,context:a}:(s==null?void 0:s.name)=="Is"?{type:"attrValue",from:t,context:r}:s?{type:"attrName",from:t,context:r}:null}else if(O.name=="StartCloseTag")return{type:"closeTag",from:t,context:O.parent};for(;O.parent&&O.to==t&&!(!((o=O.lastChild)===null||o===void 0)&&o.type.isError);)O=O.parent;return O.name=="Element"||O.name=="Text"||O.name=="Document"?{type:"tag",from:t,context:O.name=="Element"?O:C(O)}:null}class ue{constructor(t,o,O){this.attrs=o,this.attrValues=O,this.children=[],this.name=t.name,this.completion=Object.assign(Object.assign({type:"type"},t.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=t.textContent?t.textContent.map(r=>({label:r,type:"text"})):[]}}const b=/^[:\-\.\w\u00b7-\uffff]*$/;function E(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function R(e){return typeof e=="string"?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function pe(e,t){let o=[],O=[],r=Object.create(null);for(let n of t){let $=E(n);o.push($),n.global&&O.push($),n.values&&(r[n.name]=n.values.map(R))}let a=[],s=[],f=Object.create(null);for(let n of e){let $=O,c=r;n.attributes&&($=$.concat(n.attributes.map(l=>typeof l=="string"?o.find(d=>d.label==l)||{label:l,type:"property"}:(l.values&&(c==r&&(c=Object.create(c)),c[l.name]=l.values.map(R)),E(l)))));let u=new ue(n,$,c);f[u.name]=u,a.push(u),n.top&&s.push(u)}s.length||(s=a);for(let n=0;n{var $;let{doc:c}=n.state,u=ge(n.state,n.pos);if(!u||u.type=="tag"&&!n.explicit)return null;let{type:l,from:d,context:S}=u;if(l=="openTag"){let i=s,m=P(c,S);if(m){let g=f[m];i=(g==null?void 0:g.children)||a}return{from:d,options:i.map(g=>g.completion),validFor:b}}else if(l=="closeTag"){let i=P(c,S);return i?{from:d,to:n.pos+(c.sliceString(n.pos,n.pos+1)==">"?1:0),options:[(($=f[i])===null||$===void 0?void 0:$.closeNameCompletion)||{label:i+">",type:"type"}],validFor:b}:null}else if(l=="attrName"){let i=f[T(c,S)];return{from:d,options:(i==null?void 0:i.attrs)||O,validFor:b}}else if(l=="attrValue"){let i=Se(c,S,d);if(!i)return null;let m=f[T(c,S)],g=((m==null?void 0:m.attrValues)||r)[i];return!g||!g.length?null:{from:d,to:n.pos+(c.sliceString(n.pos,n.pos+1)=='"'?1:0),options:g,validFor:/^"[^"]*"?$/}}else if(l=="tag"){let i=P(c,S),m=f[i],g=[],q=S&&S.lastChild;i&&(!q||q.name!="CloseTag"||T(c,q)!=i)&&g.push(m?m.closeCompletion:{label:"",type:"type",boost:2});let v=g.concat(((m==null?void 0:m.children)||(S?a:s)).map(x=>x.openCompletion));if(S&&(m!=null&&m.text.length)){let x=S.firstChild;x.to>n.pos-20&&!/\S/.test(n.state.sliceDoc(x.to,n.pos))&&(v=v.concat(m.text))}return{from:d,options:v,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const w=Z.define({name:"xml",parser:$e.configure({props:[B.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),D.add({Element(e){let t=e.firstChild,o=e.lastChild;return!t||t.name!="OpenTag"?null:{from:t.to,to:o.name=="CloseTag"?o.from:e.to}}}),M.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/$/}});function xe(e={}){let t=[w.data.of({autocomplete:pe(e.elements||[],e.attributes||[])})];return e.autoCloseTags!==!1&&t.push(fe),new U(w,t)}function z(e,t,o=e.length){if(!t)return"";let O=t.firstChild,r=O&&O.getChild("TagName");return r?e.sliceString(r.from,Math.min(r.to,o)):""}const fe=Y.inputHandler.of((e,t,o,O,r)=>{if(e.composing||e.state.readOnly||t!=o||O!=">"&&O!="/"||!w.isActiveAt(e.state,t,-1))return!1;let a=r(),{state:s}=a,f=s.changeByRange(n=>{var $,c,u;let{head:l}=n,d=s.doc.sliceString(l-1,l)==O,S=k(s).resolveInner(l,-1),i;if(d&&O==">"&&S.name=="EndTag"){let m=S.parent;if(((c=($=m.parent)===null||$===void 0?void 0:$.lastChild)===null||c===void 0?void 0:c.name)!="CloseTag"&&(i=z(s.doc,m.parent,l))){let g=l+(s.doc.sliceString(l,l+1)===">"?1:0),q=``;return{range:n,changes:{from:l,to:g,insert:q}}}}else if(d&&O=="/"&&S.name=="StartCloseTag"){let m=S.parent;if(S.from==l-2&&((u=m.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(i=z(s.doc,m,l))){let g=l+(s.doc.sliceString(l,l+1)===">"?1:0),q=`${i}>`;return{range:j.cursor(l+q.length,-1),changes:{from:l,to:g,insert:q}}}}return{range:n}});return f.changes.empty?!1:(e.dispatch([a,s.update(f,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});export{fe as autoCloseTags,pe as completeFromSchema,xe as xml,w as xmlLanguage}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-CWS1UdQw.js diff --git a/frontend/dist/assets/index-roSlfP_P.js b/frontend/dist/assets/index-roSlfP_P.js index 6f42206..f474e04 100644 --- a/frontend/dist/assets/index-roSlfP_P.js +++ b/frontend/dist/assets/index-roSlfP_P.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-roSlfP_P.js import{aB as v,C as b,a as m,D as h,bK as C,$ as w,_ as k,bL as M,a0 as g,j as x,aU as c,d as E,s as O,h as d,I as S,b as T,R as i}from"./index-CD29OCdJ.js";import{g as B}from"./scroll-D-TPweuo.js";const Y=(e,t={})=>{v(e)||b("[useLockscreen]","You need to pass a ref param to this function");const s=t.ns||m("popup"),a=x(()=>s.bm("parent","hidden"));let l=0,n=!1,o="0",u=!1;const r=()=>{u||(u=!0,setTimeout(()=>{typeof document>"u"||n&&document&&(document.body.style.width=o,g(document.body,a.value))},200))};h(e,f=>{if(!f){r();return}u=!1,n=!w(document.body,a.value),n&&(o=document.body.style.width,k(document.body,a.value)),l=B(s.namespace.value);const y=document.documentElement.clientHeight0&&(y||p==="scroll")&&n&&(document.body.style.width=`calc(100% - ${l}px)`)}),C(()=>r())},I=e=>{if(!e)return{onClick:c,onMousedown:c,onMouseup:c};let t=!1,s=!1;return{onClick:o=>{t&&s&&e(o),t=s=!1},onMousedown:o=>{t=o.target===o.currentTarget},onMouseup:o=>{s=o.target===o.currentTarget}}},z=T({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:i([String,Array,Object])},zIndex:{type:i([String,Number])}}),H={click:e=>e instanceof MouseEvent},L="overlay";var N=E({name:"ElOverlay",props:z,emits:H,setup(e,{slots:t,emit:s}){const a=m(L),l=r=>{s("click",r)},{onClick:n,onMousedown:o,onMouseup:u}=I(e.customMaskEvent?void 0:l);return()=>e.mask?O("div",{class:[a.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:n,onMousedown:o,onMouseup:u},[d(t,"default")],14,["onClick","onMouseup","onMousedown"]):S("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[d(t,"default")])}});const j=N;export{j as E,I as a,Y as u}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-RtwaMutE.js +import{aB as v,C as b,a as m,D as h,bK as C,$ as w,_ as k,bL as M,a0 as g,j as x,aU as c,d as E,s as O,h as d,I as S,b as T,R as i}from"./index-Ds9AETjS.js";import{g as B}from"./scroll-DVmMv0d9.js";const Y=(e,t={})=>{v(e)||b("[useLockscreen]","You need to pass a ref param to this function");const s=t.ns||m("popup"),a=x(()=>s.bm("parent","hidden"));let l=0,n=!1,o="0",u=!1;const r=()=>{u||(u=!0,setTimeout(()=>{typeof document>"u"||n&&document&&(document.body.style.width=o,g(document.body,a.value))},200))};h(e,f=>{if(!f){r();return}u=!1,n=!w(document.body,a.value),n&&(o=document.body.style.width,k(document.body,a.value)),l=B(s.namespace.value);const y=document.documentElement.clientHeight0&&(y||p==="scroll")&&n&&(document.body.style.width=`calc(100% - ${l}px)`)}),C(()=>r())},I=e=>{if(!e)return{onClick:c,onMousedown:c,onMouseup:c};let t=!1,s=!1;return{onClick:o=>{t&&s&&e(o),t=s=!1},onMousedown:o=>{t=o.target===o.currentTarget},onMouseup:o=>{s=o.target===o.currentTarget}}},z=T({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:i([String,Array,Object])},zIndex:{type:i([String,Number])}}),H={click:e=>e instanceof MouseEvent},L="overlay";var N=E({name:"ElOverlay",props:z,emits:H,setup(e,{slots:t,emit:s}){const a=m(L),l=r=>{s("click",r)},{onClick:n,onMousedown:o,onMouseup:u}=I(e.customMaskEvent?void 0:l);return()=>e.mask?O("div",{class:[a.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:n,onMousedown:o,onMouseup:u},[d(t,"default")],14,["onClick","onMouseup","onMousedown"]):S("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[d(t,"default")])}});const j=N;export{j as E,I as a,Y as u}; +======== +import{aB as v,C as b,a as m,D as h,bK as C,$ as w,_ as k,bL as M,a0 as g,j as x,aU as c,d as E,s as O,h as d,I as S,b as T,R as i}from"./index-CxbBjZKo.js";import{g as B}from"./scroll-Dvb2mTx8.js";const Y=(e,t={})=>{v(e)||b("[useLockscreen]","You need to pass a ref param to this function");const s=t.ns||m("popup"),a=x(()=>s.bm("parent","hidden"));let l=0,n=!1,o="0",u=!1;const r=()=>{u||(u=!0,setTimeout(()=>{typeof document>"u"||n&&document&&(document.body.style.width=o,g(document.body,a.value))},200))};h(e,f=>{if(!f){r();return}u=!1,n=!w(document.body,a.value),n&&(o=document.body.style.width,k(document.body,a.value)),l=B(s.namespace.value);const y=document.documentElement.clientHeight0&&(y||p==="scroll")&&n&&(document.body.style.width=`calc(100% - ${l}px)`)}),C(()=>r())},I=e=>{if(!e)return{onClick:c,onMousedown:c,onMouseup:c};let t=!1,s=!1;return{onClick:o=>{t&&s&&e(o),t=s=!1},onMousedown:o=>{t=o.target===o.currentTarget},onMouseup:o=>{s=o.target===o.currentTarget}}},z=T({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:i([String,Array,Object])},zIndex:{type:i([String,Number])}}),H={click:e=>e instanceof MouseEvent},L="overlay";var N=E({name:"ElOverlay",props:z,emits:H,setup(e,{slots:t,emit:s}){const a=m(L),l=r=>{s("click",r)},{onClick:n,onMousedown:o,onMouseup:u}=I(e.customMaskEvent?void 0:l);return()=>e.mask?O("div",{class:[a.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:n,onMousedown:o,onMouseup:u},[d(t,"default")],14,["onClick","onMouseup","onMousedown"]):S("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[d(t,"default")])}});const j=N;export{j as E,I as a,Y as u}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-36LucyXi.js diff --git a/frontend/dist/assets/index-sBiRi5wE.js b/frontend/dist/assets/index-sBiRi5wE.js index cda7e6f..efa18e3 100644 --- a/frontend/dist/assets/index-sBiRi5wE.js +++ b/frontend/dist/assets/index-sBiRi5wE.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/index-sBiRi5wE.js import{b8 as c}from"./index-CD29OCdJ.js";const s="_RepeatClick",f={beforeMount(t,n){const e=n.value,{interval:d=100,delay:l=600}=c(e)?{}:e;let o,r;const i=()=>c(e)?e():e.handler(),a=()=>{r&&(clearTimeout(r),r=void 0),o&&(clearInterval(o),o=void 0)},u=v=>{v.button===0&&(a(),i(),document.addEventListener("mouseup",a,{once:!0}),r=setTimeout(()=>{o=setInterval(()=>{i()},d)},l))};t[s]={start:u,clear:a},t.addEventListener("mousedown",u)},unmounted(t){if(!t[s])return;const{start:n,clear:e}=t[s];n&&t.removeEventListener("mousedown",n),e&&(e(),document.removeEventListener("mouseup",e)),t[s]=null}};export{f as v}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-2LOSO4Pw.js +import{b8 as c}from"./index-Ds9AETjS.js";const s="_RepeatClick",f={beforeMount(t,n){const e=n.value,{interval:d=100,delay:l=600}=c(e)?{}:e;let o,r;const i=()=>c(e)?e():e.handler(),a=()=>{r&&(clearTimeout(r),r=void 0),o&&(clearInterval(o),o=void 0)},u=v=>{v.button===0&&(a(),i(),document.addEventListener("mouseup",a,{once:!0}),r=setTimeout(()=>{o=setInterval(()=>{i()},d)},l))};t[s]={start:u,clear:a},t.addEventListener("mousedown",u)},unmounted(t){if(!t[s])return;const{start:n,clear:e}=t[s];n&&t.removeEventListener("mousedown",n),e&&(e(),document.removeEventListener("mouseup",e)),t[s]=null}};export{f as v}; +======== +import{b8 as c}from"./index-CxbBjZKo.js";const s="_RepeatClick",f={beforeMount(t,n){const e=n.value,{interval:d=100,delay:l=600}=c(e)?{}:e;let o,r;const i=()=>c(e)?e():e.handler(),a=()=>{r&&(clearTimeout(r),r=void 0),o&&(clearInterval(o),o=void 0)},u=v=>{v.button===0&&(a(),i(),document.addEventListener("mouseup",a,{once:!0}),r=setTimeout(()=>{o=setInterval(()=>{i()},d)},l))};t[s]={start:u,clear:a},t.addEventListener("mousedown",u)},unmounted(t){if(!t[s])return;const{start:n,clear:e}=t[s];n&&t.removeEventListener("mousedown",n),e&&(e(),document.removeEventListener("mouseup",e)),t[s]=null}};export{f as v}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/index-ZKnv_mga.js diff --git a/frontend/dist/assets/index-vq5UEcDd.js b/frontend/dist/assets/index-vq5UEcDd.js new file mode 100644 index 0000000..493952d --- /dev/null +++ b/frontend/dist/assets/index-vq5UEcDd.js @@ -0,0 +1 @@ +import{n as d,o as g,a as v,p as m,q as u,g as x,L as G,s as b,t as a,i as Z,k as R,f as h,e as k,E as f,h as w}from"./index-DlqR5_tk.js";import"./index-CxbBjZKo.js";const X=1,T=2,y=3,U=155,z=4,j=156;function Y(O){return O>=65&&O<=90||O>=97&&O<=122}const E=new f(O=>{let i=O.pos;for(;;){let{next:t}=O;if(t<0)break;if(t==123){let r=O.peek(1);if(r==123){if(O.pos>i)break;O.acceptToken(X,2);return}else if(r==35){if(O.pos>i)break;O.acceptToken(T,2);return}else if(r==37){if(O.pos>i)break;let e=2,P=2;for(;;){let Q=O.peek(e);if(Q==32||Q==10)++e;else if(Q==35)for(++e;;){let o=O.peek(e);if(o<0||o==10)break;e++}else if(Q==45&&P==2)P=++e;else{O.acceptToken(y,P);return}}}}if(O.advance(),t==10)break}O.pos>i&&O.acceptToken(U)});function _(O,i,t){return new f(r=>{let e=r.pos;for(;;){let{next:P}=r;if(P==123&&r.peek(1)==37){let Q=2;for(;;Q++){let n=r.peek(Q);if(n!=32&&n!=10)break}let o="";for(;;Q++){let n=r.peek(Q);if(!Y(n))break;o+=String.fromCharCode(n)}if(o==O){if(r.pos>e)break;r.acceptToken(t,2);break}}else if(P<0)break;if(r.advance(),P==10)break}r.pos>e&&r.acceptToken(i)})}const W=_("endraw",j,z),V={__proto__:null,in:38,is:40,and:46,or:48,not:52,if:78,else:80,true:98,false:98,self:100,super:102,loop:104,recursive:136,scoped:160,required:162,as:256,import:260,ignore:268,missing:270,with:272,without:274,context:276},q={__proto__:null,if:112,elif:118,else:122,endif:126,for:132,endfor:140,raw:146,endraw:152,block:158,endblock:166,macro:172,endmacro:182,call:188,endcall:192,filter:198,endfilter:202,set:208,endset:212,trans:218,pluralize:222,endtrans:226,with:232,endwith:236,autoescape:242,endautoescape:246,import:254,from:258,include:266},F=k.deserialize({version:14,states:"!*dQVOPOOOOOP'#F`'#F`OeOTO'#CbOvQSO'#CdO!kOPO'#DcO!yOPO'#DnO#XOQO'#DuO#^OPO'#D{O#lOPO'#ESO#zOPO'#E[O$YOPO'#EaO$hOPO'#EfO$vOPO'#EkO%UOPO'#ErO%dOPO'#EwOOOP'#F|'#F|O%rQWO'#E|O&sO#tO'#F]OOOP'#Fq'#FqOOOP'#F_'#F_QVOPOOOOOP-E9^-E9^OOQO'#Ce'#CeO'sQSO,59OO'zQSO'#DWO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ral NumberLiteral and or NotExpression not FilterExpression FilterOp FilterName FilterCall ) ( ArgumentList NamedArgument AssignOp , NamedArgument ConditionalExpression if else CallExpression ArrayExpression TupleExpression ParenthesizedExpression DictExpression Entry : Entry BooleanLiteral self super loop IfStatement Tag TagName if %} Tag elif Tag else EndTag endif ForStatement Tag for Definition recursive EndTag endfor RawStatement Tag raw RawText EndTag endraw BlockStatement Tag block scoped required EndTag endblock MacroStatement Tag macro ParamList OptionalParameter OptionalParameter EndTag endmacro CallStatement Tag call EndTag endcall FilterStatement Tag filter EndTag endfilter SetStatement Tag set EndTag endset TransStatement Tag trans Tag pluralize EndTag endtrans WithStatement Tag with EndTag endwith AutoescapeStatement Tag autoescape EndTag endautoescape Tag Tag Tag import as from import ImportItem Tag include ignore missing with without context Comment #}",maxTerm:173,nodeProps:[["closedBy",1,"}}",2,"#}",-2,3,4,"%}",32,")"],["openedBy",7,"{{",31,"(",57,"{%",140,"{#"],["group",-18,9,10,13,14,21,22,25,27,38,41,42,43,44,45,49,50,51,52,"Expression",-11,53,64,71,77,84,92,97,102,107,114,119,"Statement"]],skippedNodes:[0],repeatNodeCount:13,tokenData:".|~RqXY#YYZ#Y]^#Ypq#Yqr#krs#vuv&nwx&{xy)nyz)sz{)x{|*V|}+|}!O,R!O!P,g!P!Q,o!Q![+h![!],w!^!_,|!_!`-U!`!a,|!c!}-^!}#O.U#P#Q.Z#R#S-^#T#o-^#o#p.`#p#q.e#q#r.j#r#s.w%W;'S-^;'S;:j.O<%lO-^~#_S$d~XY#YYZ#Y]^#Ypq#Y~#nP!_!`#q~#vOb~~#yWOY#vZr#vrs$cs#O#v#O#P$h#P;'S#v;'S;=`%x<%lO#v~$hOe~~$kYOY#vYZ#vZr#vrs%Zs#O#v#O#P$h#P;'S#v;'S;=`&O;=`<%l#v<%lO#v~%`We~OY#vZr#vrs$cs#O#v#O#P$h#P;'S#v;'S;=`%x<%lO#v~%{P;=`<%l#v~&RXOY#vZr#vrs$cs#O#v#O#P$h#P;'S#v;'S;=`%x;=`<%l#v<%lO#v~&sP`~#q#r&v~&{O!Z~~'OWOY&{Zw&{wx$cx#O&{#O#P'h#P;'S&{;'S;=`(x<%lO&{~'kYOY&{YZ&{Zw&{wx(Zx#O&{#O#P'h#P;'S&{;'S;=`)O;=`<%l&{<%lO&{~(`We~OY&{Zw&{wx$cx#O&{#O#P'h#P;'S&{;'S;=`(x<%lO&{~({P;=`<%l&{~)RXOY&{Zw&{wx$cx#O&{#O#P'h#P;'S&{;'S;=`(x;=`<%l&{<%lO&{~)sOp~~)xOo~~)}P`~z{*Q~*VO`~~*[Qa~!O!P*b!Q![+h~*eP!Q![*h~*mSf~!Q![*h!g!h*y#R#S*h#X#Y*y~*|R{|+V}!O+V!Q![+]~+YP!Q![+]~+bQf~!Q![+]#R#S+]~+mTf~!O!P*b!Q![+h!g!h*y#R#S+h#X#Y*y~,ROt~~,WRa~uv,a!O!P*b!Q![+h~,dP#q#r&v~,lPZ~!Q![*h~,tP`~!P!Q*Q~,|O!P~~-RPb~!_!`#q~-ZPs~!_!`#q!`-iVm`[p!XS$gY!Q![-^!c!}-^#R#S-^#T#o-^%W;'S-^;'S;:j.O<%lO-^!`.RP;=`<%l-^~.ZO$i~~.`O$h~~.eO$n~~.jOl~^.oP$m[#q#r.rQ.wOVQ~.|O_~",tokenizers:[E,W,1,2,3,4,5,new w("b~RPstU~XP#q#r[~aO$Q~~",17,173)],topRules:{Template:[0,5]},specialized:[{term:161,get:O=>V[O]||-1},{term:55,get:O=>q[O]||-1}],tokenPrec:3602});function S(O,i){return O.split(" ").map(t=>({label:t,type:i}))}const N=S("abs attr batch capitalize center default dictsort escape filesizeformat first float forceescape format groupby indent int items join last length list lower map max min pprint random reject rejectattr replace reverse round safe select selectattr slice sort string striptags sum title tojson trim truncate unique upper urlencode urlize wordcount wordwrap xmlattr","function"),C=S("boolean callable defined divisibleby eq escaped even filter float ge gt in integer iterable le lower lt mapping ne none number odd sameas sequence string test undefined upper range lipsum dict joiner namespace","function"),D=S("loop super self true false varargs kwargs caller name arguments catch_kwargs catch_varargs caller","keyword"),l=C.concat(D),$=S("raw endraw filter endfilter trans pluralize endtrans with endwith autoescape endautoescape if elif else endif for endfor call endcall block endblock set endset macro endmacro import include break continue debug do extends","keyword");function A(O){var i;let{state:t,pos:r}=O,e=x(t).resolveInner(r,-1).enterUnfinishedNodesBefore(r),P=((i=e.childBefore(r))===null||i===void 0?void 0:i.name)||e.name;if(e.name=="FilterName")return{type:"filter",node:e};if(O.explicit&&(P=="FilterOp"||P=="filter"))return{type:"filter"};if(e.name=="TagName")return{type:"tag",node:e};if(O.explicit&&P=="{%")return{type:"tag"};if(e.name=="PropertyName"&&e.parent.name=="MemberExpression")return{type:"prop",node:e,target:e.parent};if(e.name=="."&&e.parent.name=="MemberExpression")return{type:"prop",target:e.parent};if(e.name=="MemberExpression"&&P==".")return{type:"prop",target:e};if(e.name=="VariableName")return{type:"expr",from:e.from};if(e.name=="Comment"||e.name=="StringLiteral"||e.name=="NumberLiteral")return null;let Q=O.matchBefore(/[\w\u00c0-\uffff]+$/);return Q?{type:"expr",from:Q.from}:O.explicit?{type:"expr"}:null}function L(O,i,t,r){let e=[];for(;;){let P=i.getChild("Expression");if(!P)return[];if(P.name=="VariableName"){e.unshift(O.sliceDoc(P.from,P.to));break}else if(P.name=="MemberExpression"){let Q=P.getChild("PropertyName");Q&&e.unshift(O.sliceDoc(Q.from,Q.to)),i=P}else return[]}return r(e,O,t)}function I(O={}){let i=O.tags?O.tags.concat($):$,t=O.variables?O.variables.concat(l):l,{properties:r}=O;return e=>{var P;let Q=A(e);if(!Q)return null;let o=(P=Q.from)!==null&&P!==void 0?P:Q.node?Q.node.from:e.pos,n;return Q.type=="filter"?n=N:Q.type=="tag"?n=i:Q.type=="expr"?n=t:n=r?L(e.state,Q.target,e,r):[],n.length?{options:n,from:o,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const H=d.inputHandler.of((O,i,t,r)=>r!="%"||i!=t||O.state.doc.sliceString(i-1,t+1)!="{}"?!1:(O.dispatch(O.state.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:"%%"},range:g.cursor(e.from+1)})),{scrollIntoView:!0,userEvent:"input.type"}),!0));function p(O){return i=>{let t=O.test(i.textAfter);return i.lineIndent(i.node.from)+(t?0:i.unit)}}const B=G.define({name:"jinja",parser:F.configure({props:[b({"TagName raw endraw filter endfilter as trans pluralize endtrans with endwith autoescape endautoescape":a.keyword,"required scoped recursive with without context ignore missing":a.modifier,self:a.self,"loop super":a.standard(a.variableName),"if elif else endif for endfor call endcall":a.controlKeyword,"block endblock set endset macro endmacro import from include":a.definitionKeyword,"Comment/...":a.blockComment,VariableName:a.variableName,Definition:a.definition(a.variableName),PropertyName:a.propertyName,FilterName:a.special(a.variableName),ArithOp:a.arithmeticOperator,AssignOp:a.definitionOperator,"not and or":a.logicOperator,CompareOp:a.compareOperator,"in is":a.operatorKeyword,"FilterOp ConcatOp":a.operator,StringLiteral:a.string,NumberLiteral:a.number,BooleanLiteral:a.bool,"{% %} {# #} {{ }} { }":a.brace,"( )":a.paren,".":a.derefOperator,": , .":a.punctuation}),Z.add({Tag:R({closing:"%}"}),"IfStatement ForStatement":p(/^\s*(\{%-?\s*)?(endif|endfor|else|elif)\b/),Statement:p(/^\s*(\{%-?\s*)?end\w/)}),h.add({"Statement Comment"(O){let i=O.firstChild,t=O.lastChild;return!i||i.name!="Tag"&&i.name!="{#"?null:{from:i.to,to:t.name=="EndTag"||t.name=="#}"?t.from:O.to}}})]}),languageData:{indentOnInput:/^\s*{%-?\s*(?:end|elif|else)$/}}),s=m();function c(O){return B.configure({wrap:u(i=>i.type.isTop?{parser:O.parser,overlay:t=>t.name=="Text"||t.name=="RawText"}:null)},"jinja")}const J=c(s.language);function OO(O={}){let i=O.base||s,t=i.language==s.language?J:c(i.language);return new v(t,[i.support,t.data.of({autocomplete:I(O)}),i.language.data.of({closeBrackets:{brackets:["{"]}}),H])}export{H as closePercentBrace,OO as jinja,I as jinjaCompletionSource,J as jinjaLanguage}; diff --git a/frontend/dist/assets/index-zJ9bqPrh.js b/frontend/dist/assets/index-zJ9bqPrh.js new file mode 100644 index 0000000..9e77551 --- /dev/null +++ b/frontend/dist/assets/index-zJ9bqPrh.js @@ -0,0 +1 @@ +import{aK as Je,j as d,N as wt,c4 as St,J as Ie,b as Ct,i as Ee,bQ as _e,aS as It,R as L,a5 as Et,bq as Nt,bZ as et,ak as je,d as zt,bR as Mt,bF as Pt,a as Ue,aQ as Ne,a7 as kt,D as ce,G as Vt,P as H,H as Tt,a9 as Lt,o as c,c as P,g as v,M as ze,n as h,f as o,h as ee,q as D,e as E,w as j,r as U,E as W,Y as We,aL as de,aU as K,al as fe,aa as ve,y as Y,bt as Rt,a3 as Ke,c5 as Bt,c6 as Ot,c7 as $t,a8 as Ft,l as At}from"./index-CxbBjZKo.js";import{U as pe,C as Ye,I as Me,r as Gt,c as Xe}from"./raf-Bjl8yy5U.js";import{u as Ht,a as Dt}from"./index-C4wGR5UT.js";import{b as jt,d as Ut,e as Wt,c as Kt}from"./index-D23K2h6y.js";import{u as Yt}from"./index-DxP0p4ch.js";const Xt=["class","style"],qt=/^on[A-Z]/,Qt=(e={})=>{const{excludeListeners:r=!1,excludeKeys:I}=e,t=d(()=>((I==null?void 0:I.value)||[]).concat(Xt)),l=wt();return l?d(()=>{var u;return St(Object.entries((u=l.proxy)==null?void 0:u.$attrs).filter(([p])=>!t.value.includes(p)&&!(r&&qt.test(p))))}):(Je("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),d(()=>({})))};function Zt(e){let r;function I(){if(e.value==null)return;const{selectionStart:l,selectionEnd:u,value:p}=e.value;l==null||u==null||(r={selectionStart:l,selectionEnd:u,value:p,beforeTxt:p.slice(0,Math.max(0,l)),afterTxt:p.slice(Math.max(0,u))})}function t(){if(e.value==null||r==null)return;const{value:l}=e.value,{beforeTxt:u,afterTxt:p,selectionStart:g}=r;if(u==null||p==null||g==null)return;let N=l.length;if(l.endsWith(p))N=l.length-p.length;else if(l.startsWith(u))N=u.length;else{const R=u[g-1],b=l.indexOf(R,g-1);b!==-1&&(N=b+1)}e.value.setSelectionRange(N,N)}return[I,t]}const Jt=Ct({id:{type:String,default:void 0},size:It,disabled:{type:Boolean,default:void 0},modelValue:{type:L([String,Number,Object]),default:""},modelModifiers:{type:L(Object),default:()=>({})},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:L(String),default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:L([Boolean,Object]),default:!1},autocomplete:{type:L(String),default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,clearIcon:{type:Ee,default:_e},showPassword:Boolean,showWordLimit:Boolean,wordLimitPosition:{type:String,values:["inside","outside"],default:"inside"},suffixIcon:{type:Ee},prefixIcon:{type:Ee},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:L([Object,Array,String,Boolean]),default:()=>Et({})},countGraphemes:{type:L(Function)},autofocus:Boolean,rows:{type:Number,default:2},...Yt(["ariaLabel"]),inputmode:{type:L(String),default:void 0},name:String}),_t={[pe]:e=>Ie(e),input:e=>Ie(e),change:(e,r)=>Ie(e)&&(r instanceof Event||r===void 0),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:e=>e===void 0||e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent};Nt(_e);let y;const ea={height:"0",visibility:"hidden",overflow:et()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},ta=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],qe=e=>{const r=Number.parseFloat(e);return Number.isNaN(r)?e:r};function aa(e){const r=window.getComputedStyle(e),I=r.getPropertyValue("box-sizing"),t=Number.parseFloat(r.getPropertyValue("padding-bottom"))+Number.parseFloat(r.getPropertyValue("padding-top")),l=Number.parseFloat(r.getPropertyValue("border-bottom-width"))+Number.parseFloat(r.getPropertyValue("border-top-width"));return{contextStyle:ta.map(u=>[u,r.getPropertyValue(u)]),paddingSize:t,borderSize:l,boxSizing:I}}function Qe(e,r=1,I){var b;if(!y){y=document.createElement("textarea");let f=document.body;!et()&&e.parentNode&&(f=e.parentNode),f.appendChild(y)}const{paddingSize:t,borderSize:l,boxSizing:u,contextStyle:p}=aa(e);p.forEach(([f,m])=>y==null?void 0:y.style.setProperty(f,m)),Object.entries(ea).forEach(([f,m])=>y==null?void 0:y.style.setProperty(f,m,"important")),y.value=e.value||e.placeholder||"";let g=y.scrollHeight;const N={};u==="border-box"?g=g+l:u==="content-box"&&(g=g-t),y.value="";const R=y.scrollHeight-t;if(je(r)){let f=R*r;u==="border-box"&&(f=f+t+l),g=Math.max(f,g),N.minHeight=`${f}px`}if(je(I)){let f=R*I;u==="border-box"&&(f=f+t+l),g=Math.min(f,g)}return N.height=`${g}px`,(b=y.parentNode)==null||b.removeChild(y),y=void 0,N}const oa=["id","name","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","role","inputmode"],na=["id","name","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","role","inputmode"],Ze="ElInput";var sa=zt({name:Ze,inheritAttrs:!1,__name:"input",props:Jt,emits:_t,setup(e,{expose:r,emit:I}){const t=e,l=I,u=Mt(),p=Pt(),g=d(()=>[t.type==="textarea"?X.b():i.b(),i.m(tt.value),i.is("disabled",B.value),i.is("exceed",st.value),{[i.b("group")]:p.prepend||p.append,[i.m("prefix")]:p.prefix||t.prefixIcon,[i.m("suffix")]:p.suffix||t.suffixIcon||t.clearable||t.showPassword,[i.bm("suffix","password-clear")]:ne.value&&ge.value,[i.b("hidden")]:t.type==="hidden"},u.class]),N=d(()=>[i.e("wrapper"),i.is("focus",he.value)]),R=Qt(),b=d(()=>{var a;return(a=t.maxlength)==null?void 0:a.toString()}),{form:f,formItem:m}=jt(),{inputId:Pe}=Ut(t,{formItemContext:m}),tt=Wt(),B=Kt(),i=Ue("input"),X=Ue("textarea"),te=Ne(),M=Ne(),me=Y(!1),O=Y(!1),ke=Y(),Ve=Y(),ae=Ne(t.inputStyle),q=Y(""),oe=Y(),w=d(()=>te.value||M.value),{wrapperRef:at,isFocused:he,handleFocus:Te,handleBlur:Le}=Ht(w,{disabled:B,afterBlur(){var a;t.validateEvent&&((a=m==null?void 0:m.validate)==null||a.call(m,"blur").catch(K))}}),Re=d(()=>(f==null?void 0:f.statusIcon)??!1),Q=d(()=>(m==null?void 0:m.validateState)||""),Be=d(()=>Q.value&&Bt[Q.value]),ot=d(()=>O.value?Ot:$t),nt=d(()=>[u.style]),Oe=d(()=>[t.inputStyle,ae.value,{resize:t.resize},oe.value?{height:oe.value}:void 0]),k=d(()=>Ft(t.modelValue)?"":String(t.modelValue)),ye=d(()=>t.clearable&&!B.value&&!t.readonly),ne=d(()=>ye.value&&!!k.value&&(he.value||me.value)),ge=d(()=>t.showPassword&&!B.value&&!!k.value),$=d(()=>t.showWordLimit&&!!b.value&&(t.type==="text"||t.type==="textarea")&&!B.value&&!t.readonly&&!t.showPassword),be=d(()=>t.countGraphemes&&t.showWordLimit?t.countGraphemes(k.value):k.value.length),st=d(()=>!!$.value&&be.value>Number(b.value)),it=d(()=>!!p.suffix||!!t.suffixIcon||t.clearable||t.showPassword||$.value||!!Q.value&&Re.value),lt=d(()=>!!Object.keys(t.modelModifiers).length),[rt,ut]=Zt(te);let F;kt(M,a=>{if(ct(),!$.value&&!ye.value||t.resize!=="both"&&t.resize!=="horizontal")return;const{width:n}=a[0].target.getBoundingClientRect(),s=()=>{F=void 0,ke.value={right:`calc(100% - ${n-10}px)`},Ve.value={right:`calc(100% - ${n-11}px)`}};F&&Xe(F),F=Gt(s)});const Z=()=>{const{type:a,autosize:n}=t;if(!(!Rt||a!=="textarea"||!M.value))if(n){const s=Ke(n)?n.minRows:void 0,S=Ke(n)?n.maxRows:void 0,C=Qe(M.value,s,S);ae.value={overflowY:"hidden",...C},H(()=>{M.value.offsetHeight,ae.value=C})}else ae.value={minHeight:Qe(M.value).minHeight}},ct=(a=>{let n=!1;return()=>{var s;if(n||!t.autosize){t.resize!=="none"&&setTimeout(()=>{var S;oe.value=(S=M.value)==null?void 0:S.style.height});return}((s=M.value)==null?void 0:s.offsetParent)!==null&&(setTimeout(a),n=!0)}})(Z),A=()=>{const a=w.value,n=t.formatter?t.formatter(k.value):k.value;!a||a.value===n||t.type==="file"||(a.value=n)},$e=a=>{const{trim:n,number:s}=t.modelModifiers;return n&&(a=a.trim()),s&&(a=`${qe(a)}`),t.formatter&&t.parser&&(a=t.parser(a)),a},xe=async a=>{if(Ae.value)return;const{lazy:n}=t.modelModifiers;let{value:s}=a.target,S=!1;if(n){l(Me,s);return}if(s=$e(s),t.countGraphemes&&b.value!=null){const C=Number(b.value),re=t.countGraphemes(s),G=t.countGraphemes(q.value);if(re>C&&re>G)if(G>C)s=q.value,S=!0;else{const V=q.value,z=s;let x=0;for(;xx&&J>x&&V[T-1]===z[J-1];)T--,J--;const yt=z.slice(0,x),gt=V.slice(x,T),He=z.slice(x,J),bt=z.slice(J),xt=G-t.countGraphemes(gt),Se=Math.max(0,C-xt);let _="";if(Se>0)if(typeof Intl<"u"&&"Segmenter"in Intl){const Ce=new Intl.Segmenter(void 0,{granularity:"grapheme"});for(const{segment:ue}of Ce.segment(He)){const De=_+ue;if(t.countGraphemes(De)>Se)break;_=De}}else for(const Ce of Array.from(He)){const ue=_+Ce;if(t.countGraphemes(ue)>Se)break;_=ue}s=yt+_+bt,S=!0}}if(String(s)===k.value){if(t.formatter||S){const C=a.target,re=C.value,G=C.selectionStart,V=C.selectionEnd;if(A(),S&&w.value&&G!=null&&V!=null){const z=w.value.value,x=re.slice(Math.max(0,V));let T=Math.min(G,z.length);x&&z.endsWith(x)&&(T=z.length-x.length),w.value.setSelectionRange(T,T)}}return}q.value=s,rt(),l(pe,s),l(Me,s),await H(),(t.formatter&&t.parser||!lt.value)&&A(),ut()},Fe=async a=>{let{value:n}=a.target;n=$e(n),t.modelModifiers.lazy&&l(pe,n),l(Ye,n,a),await H(),A()},{isComposing:Ae,handleCompositionStart:se,handleCompositionUpdate:ie,handleCompositionEnd:le}=Dt({emit:l,afterComposition:xe}),dt=()=>{O.value=!O.value},ft=()=>{var a;return(a=w.value)==null?void 0:a.focus()},vt=()=>{var a;return(a=w.value)==null?void 0:a.blur()},pt=a=>{me.value=!1,l("mouseleave",a)},mt=a=>{me.value=!0,l("mouseenter",a)},Ge=a=>{l("keydown",a)},ht=()=>{var a;(a=w.value)==null||a.select()},we=a=>{l(pe,""),l(Ye,""),l("clear",a),l(Me,"")};return ce(()=>t.modelValue,()=>{var a;H(()=>{Z(),t.autosize&&(oe.value=void 0)}),t.validateEvent&&((a=m==null?void 0:m.validate)==null||a.call(m,"change").catch(K))}),ce(()=>k.value,a=>{q.value=a},{immediate:!0}),ce(k,a=>{if(!w.value)return;const{trim:n,number:s}=t.modelModifiers,S=w.value.value,C=(s||t.type==="number")&&!/^0\d/.test(S)?`${qe(S)}`:S;C!==a&&(document.activeElement===w.value&&w.value.type!=="range"&&n&&C.trim()===a||A())}),ce(()=>t.type,async()=>{await H(),A(),Z()}),Vt(()=>{!t.formatter&&t.parser&&Je(Ze,"If you set the parser, you also need to set the formatter."),A(),H(Z)}),Tt(()=>{F&&Xe(F)}),r({input:te,textarea:M,ref:w,textareaStyle:Oe,autosize:Lt(t,"autosize"),isComposing:Ae,passwordVisible:O,focus:ft,blur:vt,select:ht,clear:we,resizeTextarea:Z}),(a,n)=>(c(),P("div",{class:h([g.value,{[o(i).bm("group","append")]:a.$slots.append,[o(i).bm("group","prepend")]:a.$slots.prepend}]),style:fe(nt.value),onMouseenter:mt,onMouseleave:pt},[v(" input "),e.type!=="textarea"?(c(),P(ze,{key:0},[v(" prepend slot "),a.$slots.prepend?(c(),P("div",{key:0,class:h(o(i).be("group","prepend"))},[ee(a.$slots,"prepend")],2)):v("v-if",!0),D("div",{ref_key:"wrapperRef",ref:at,class:h(N.value)},[v(" prefix slot "),a.$slots.prefix||e.prefixIcon?(c(),P("span",{key:0,class:h(o(i).e("prefix"))},[D("span",{class:h(o(i).e("prefix-inner"))},[ee(a.$slots,"prefix"),e.prefixIcon?(c(),E(o(W),{key:0,class:h(o(i).e("icon"))},{default:j(()=>[(c(),E(U(e.prefixIcon)))]),_:1},8,["class"])):v("v-if",!0)],2)],2)):v("v-if",!0),D("input",We({id:o(Pe),ref_key:"input",ref:te,class:o(i).e("inner")},o(R),{name:e.name,minlength:e.countGraphemes?void 0:e.minlength,maxlength:e.countGraphemes?void 0:b.value,type:e.showPassword?O.value?"text":"password":e.type,disabled:o(B),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.ariaLabel,placeholder:e.placeholder,style:e.inputStyle,form:e.form,autofocus:e.autofocus,role:e.containerRole,inputmode:e.inputmode,onCompositionstart:n[0]||(n[0]=(...s)=>o(se)&&o(se)(...s)),onCompositionupdate:n[1]||(n[1]=(...s)=>o(ie)&&o(ie)(...s)),onCompositionend:n[2]||(n[2]=(...s)=>o(le)&&o(le)(...s)),onInput:xe,onChange:Fe,onKeydown:Ge}),null,16,oa),v(" suffix slot "),it.value?(c(),P("span",{key:1,class:h(o(i).e("suffix"))},[D("span",{class:h(o(i).e("suffix-inner"))},[ye.value?(c(),E(o(W),{key:0,class:h([o(i).e("icon"),o(i).e("clear")]),style:fe({visibility:ne.value?"visible":"hidden"}),onMousedown:de(o(K),["prevent"]),onClick:we},{default:j(()=>[(c(),E(U(e.clearIcon)))]),_:1},8,["class","style","onMousedown"])):v("v-if",!0),!ne.value||!ge.value||!$.value?(c(),P(ze,{key:1},[ee(a.$slots,"suffix"),e.suffixIcon?(c(),E(o(W),{key:0,class:h(o(i).e("icon"))},{default:j(()=>[(c(),E(U(e.suffixIcon)))]),_:1},8,["class"])):v("v-if",!0)],64)):v("v-if",!0),ge.value?(c(),E(o(W),{key:2,class:h([o(i).e("icon"),o(i).e("password")]),onClick:dt,onMousedown:de(o(K),["prevent"]),onMouseup:de(o(K),["prevent"])},{default:j(()=>[ee(a.$slots,"password-icon",{visible:O.value},()=>[(c(),E(U(ot.value)))])]),_:3},8,["class","onMousedown","onMouseup"])):v("v-if",!0),$.value?(c(),P("span",{key:3,class:h([o(i).e("count"),o(i).is("outside",e.wordLimitPosition==="outside")])},[D("span",{class:h(o(i).e("count-inner"))},ve(be.value)+" / "+ve(b.value),3)],2)):v("v-if",!0),Q.value&&Be.value&&Re.value?(c(),E(o(W),{key:4,class:h([o(i).e("icon"),o(i).e("validateIcon"),o(i).is("loading",Q.value==="validating")])},{default:j(()=>[(c(),E(U(Be.value)))]),_:1},8,["class"])):v("v-if",!0)],2)],2)):v("v-if",!0)],2),v(" append slot "),a.$slots.append?(c(),P("div",{key:1,class:h(o(i).be("group","append"))},[ee(a.$slots,"append")],2)):v("v-if",!0)],64)):(c(),P(ze,{key:1},[v(" textarea "),D("textarea",We({id:o(Pe),ref_key:"textarea",ref:M,class:[o(X).e("inner"),o(i).is("focus",o(he)),o(X).is("clearable",e.clearable)]},o(R),{name:e.name,minlength:e.countGraphemes?void 0:e.minlength,maxlength:e.countGraphemes?void 0:b.value,tabindex:e.tabindex,disabled:o(B),readonly:e.readonly,autocomplete:e.autocomplete,style:Oe.value,"aria-label":e.ariaLabel,placeholder:e.placeholder,form:e.form,autofocus:e.autofocus,rows:e.rows,role:e.containerRole,inputmode:e.inputmode,onCompositionstart:n[3]||(n[3]=(...s)=>o(se)&&o(se)(...s)),onCompositionupdate:n[4]||(n[4]=(...s)=>o(ie)&&o(ie)(...s)),onCompositionend:n[5]||(n[5]=(...s)=>o(le)&&o(le)(...s)),onInput:xe,onFocus:n[6]||(n[6]=(...s)=>o(Te)&&o(Te)(...s)),onBlur:n[7]||(n[7]=(...s)=>o(Le)&&o(Le)(...s)),onChange:Fe,onKeydown:Ge}),null,16,na),ne.value?(c(),E(o(W),{key:0,class:h([o(X).e("icon"),o(X).e("clear")]),style:fe(Ve.value),onMousedown:de(o(K),["prevent"]),onClick:we},{default:j(()=>[(c(),E(U(e.clearIcon)))]),_:1},8,["class","style","onMousedown"])):v("v-if",!0),$.value?(c(),P("span",{key:1,style:fe(ke.value),class:h([o(i).e("count"),o(i).is("outside",e.wordLimitPosition==="outside")])},ve(be.value)+" / "+ve(b.value),7)):v("v-if",!0)],64))],38))}}),ia=sa;const va=At(ia);export{va as E,Qt as u}; diff --git a/frontend/dist/assets/install-SWGc2FUJ.js b/frontend/dist/assets/install-SWGc2FUJ.js index e486c8e..cbdb361 100644 --- a/frontend/dist/assets/install-SWGc2FUJ.js +++ b/frontend/dist/assets/install-SWGc2FUJ.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/install-SWGc2FUJ.js import{_ as J,J as Bt,a1 as tt,aN as it,O as wt,K as Xt,r as qt,aU as Jt,aV as $t,Y,$ as jt,X as Ct,a8 as lt,aW as Qt,aM as Kt,a7 as vt,a9 as Ot,ad as nt,a3 as K,aX as ht,aY as Yt,aa as zt,W as xt,aZ as te,a_ as ee,U as st,s as x,R as Rt,u as q,a$ as ae,b0 as ft,ah as Vt,b1 as ct,ak as re,b2 as gt,d as mt,ae as pt,b3 as yt,a4 as et,b4 as bt,aQ as at,az as ie,b5 as ne,a0 as oe,E as Gt,b6 as le,b7 as se,af as ue,b8 as ve,b9 as he,S as St,ba as dt,bb as fe,bc as _t,ac as ce,v as ge,aj as me}from"./install-qcIyCJ5C.js";var pe=(function(l){J(a,l);function a(){var t=l!==null&&l.apply(this,arguments)||this;return t.type=a.type,t.hasSymbolVisual=!0,t}return a.prototype.getInitialData=function(t){return Bt(null,this,{useEncodeDefaulter:!0})},a.prototype.getLegendIcon=function(t){var e=new tt,o=it("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(o),o.setStyle(t.lineStyle);var r=this.getData().getVisual("symbol"),i=this.getData().getVisual("symbolRotate"),n=r==="none"?"circle":r,u=t.itemHeight*.8,s=it(n,(t.itemWidth-u)/2,(t.itemHeight-u)/2,u,u,t.itemStyle.fill);e.add(s),s.setStyle(t.itemStyle);var h=t.iconRotate==="inherit"?i:t.iconRotate||0;return s.rotation=h*Math.PI/180,s.setOrigin([t.itemWidth/2,t.itemHeight/2]),n.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill=wt.color.neutral00,s.style.lineWidth=2),e},a.type="series.line",a.dependencies=["grid","polar"],a.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:6,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1,triggerEvent:!1},a})(Xt),ut=(function(l){J(a,l);function a(t,e,o,r){var i=l.call(this)||this;return i.updateData(t,e,o,r),i}return a.prototype._createSymbol=function(t,e,o,r,i,n){this.removeAll();var u=it(t,-1,-1,2,2,null,n);u.attr({z2:qt(i,100),culling:!0,scaleX:r[0]/2,scaleY:r[1]/2}),u.drift=ye,this._symbolType=t,this.add(u)},a.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},a.prototype.getSymbolType=function(){return this._symbolType},a.prototype.getSymbolPath=function(){return this.childAt(0)},a.prototype.highlight=function(){Jt(this.childAt(0))},a.prototype.downplay=function(){$t(this.childAt(0))},a.prototype.setZ=function(t,e){var o=this.childAt(0);o.zlevel=t,o.z=e},a.prototype.setDraggable=function(t,e){var o=this.childAt(0);o.draggable=t,o.cursor=!e&&t?"move":o.cursor},a.prototype.updateData=function(t,e,o,r){this.silent=!1;var i=t.getItemVisual(e,"symbol")||"circle",n=t.hostModel,u=a.getSymbolSize(t,e),s=a.getSymbolZ2(t,e),h=i!==this._symbolType,v=r&&r.disableAnimation;if(h){var c=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(i,t,e,u,s,c)}else{var f=this.childAt(0);f.silent=!1;var g={scaleX:u[0]/2,scaleY:u[1]/2};v?f.attr(g):Y(f,g,n,e),jt(f)}if(this._updateCommon(t,e,u,o,r),h){var f=this.childAt(0);if(!v){var g={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:f.style.opacity}};f.scaleX=f.scaleY=0,f.style.opacity=0,Ct(f,g,n,e)}}v&&this.childAt(0).stopAnimation("leave")},a.prototype._updateCommon=function(t,e,o,r,i){var n=this.childAt(0),u=t.hostModel,s,h,v,c,f,g,m,S,p;if(r&&(s=r.emphasisItemStyle,h=r.blurItemStyle,v=r.selectItemStyle,c=r.focus,f=r.blurScope,m=r.labelStatesModels,S=r.hoverScale,p=r.cursorStyle,g=r.emphasisDisabled),!r||t.hasItemOption){var y=r&&r.itemModel?r.itemModel:t.getItemModel(e),b=y.getModel("emphasis");s=b.getModel("itemStyle").getItemStyle(),v=y.getModel(["select","itemStyle"]).getItemStyle(),h=y.getModel(["blur","itemStyle"]).getItemStyle(),c=b.get("focus"),f=b.get("blurScope"),g=b.get("disabled"),m=lt(y),S=b.getShallow("scale"),p=y.getShallow("cursor")}var I=t.getItemVisual(e,"symbolRotate");n.attr("rotation",(I||0)*Math.PI/180||0);var D=Qt(t.getItemVisual(e,"symbolOffset"),o);D&&(n.x=D[0],n.y=D[1]),p&&n.attr("cursor",p);var _=t.getItemVisual(e,"style"),d=_.fill;if(n instanceof Kt){var k=n.style;n.useStyle(vt({image:k.image,x:k.x,y:k.y,width:k.width,height:k.height},_))}else n.__isEmptyBrush?n.useStyle(vt({},_)):n.useStyle(_),n.style.decal=null,n.setColor(d,i&&i.symbolInnerColor),n.style.strokeNoScale=!0;var A=t.getItemVisual(e,"liftZ"),E=this._z2;A!=null?E==null&&(this._z2=n.z2,n.z2+=A):E!=null&&(n.z2=E,this._z2=null);var L=i&&i.useNameLabel;Ot(n,m,{labelFetcher:u,labelDataIndex:e,defaultText:P,inheritColor:d,defaultOpacity:_.opacity});function P(O){return L?t.getName(O):zt(t,O)}this._sizeX=o[0]/2,this._sizeY=o[1]/2;var T=n.ensureState("emphasis");T.style=s,n.ensureState("select").style=v,n.ensureState("blur").style=h;var R=S==null||S===!0?Math.max(1.1,3/this._sizeY):isFinite(S)&&S>0?+S:1;T.scaleX=this._sizeX*R,T.scaleY=this._sizeY*R,this.setSymbolScale(1),nt(this,c,f,g)},a.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},a.prototype.fadeOut=function(t,e,o){var r=this.childAt(0),i=K(this).dataIndex,n=o&&o.animation;if(this.silent=r.silent=!0,o&&o.fadeLabel){var u=r.getTextContent();u&&ht(u,{style:{opacity:0}},e,{dataIndex:i,removeOpt:n,cb:function(){r.removeTextContent()}})}else r.removeTextContent();ht(r,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:i,cb:t,removeOpt:n})},a.getSymbolSize=function(t,e){return Yt(t.getItemVisual(e,"symbolSize"))},a.getSymbolZ2=function(t,e){return t.getItemVisual(e,"z2")},a})(tt);function ye(l,a){this.parent.drift(l,a)}function Q(l,a,t,e){return a&&!isNaN(a[0])&&!isNaN(a[1])&&!(e&&e.isIgnore&&e.isIgnore(t))&&!(e&&e.clipShape&&!e.clipShape.contain(a[0],a[1]))&&l.getItemVisual(t,"symbol")!=="none"}function Dt(l){return l!=null&&!ee(l)&&(l={isIgnore:l}),l||{}}function It(l){var a=l.hostModel,t=a.getModel("emphasis");return{emphasisItemStyle:t.getModel("itemStyle").getItemStyle(),blurItemStyle:a.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:a.getModel(["select","itemStyle"]).getItemStyle(),focus:t.get("focus"),blurScope:t.get("blurScope"),emphasisDisabled:t.get("disabled"),hoverScale:t.get("scale"),labelStatesModels:lt(a),cursorStyle:a.get("cursor")}}function Et(l,a,t,e,o,r,i){var n=new l(a,t,e,o);return n.setPosition(r),a.setItemGraphicEl(t,n),i.add(n),n}var be=(function(){function l(a){this.group=new tt,this._SymbolCtor=a||ut}return l.prototype.updateData=function(a,t){this._progressiveEls=null,t=Dt(t);var e=this.group,o=a.hostModel,r=this._data,i=this._SymbolCtor,n=t.disableAnimation,u=this._seriesScope=It(a),s={disableAnimation:n},h=t.getSymbolPoint||function(v){return a.getItemLayout(v)};r||e.removeAll(),a.diff(r).add(function(v){var c=h(v);Q(a,c,v,t)&&Et(i,a,v,u,s,c,e)}).update(function(v,c){var f=r.getItemGraphicEl(c),g=h(v);if(!Q(a,g,v,t)){e.remove(f);return}var m=a.getItemVisual(v,"symbol")||"circle",S=f&&f.getSymbolType&&f.getSymbolType();if(!f||S&&S!==m)e.remove(f),f=new i(a,v,u,s),f.setPosition(g);else{f.updateData(a,v,u,s);var p={x:g[0],y:g[1]};n?f.attr(p):Y(f,p,o)}e.add(f),a.setItemGraphicEl(v,f)}).remove(function(v){var c=r.getItemGraphicEl(v);c&&c.fadeOut(function(){e.remove(c)},o)}).execute(),this._getSymbolPoint=h,this._data=a},l.prototype.updateLayout=function(a){var t=this._data;if(t)for(var e=this,o=t.getStore(),r=0,i=o.count();r0?t=e[0]:e[1]<0&&(t=e[1]),t}function Nt(l,a,t,e){var o=NaN;l.stacked&&(o=t.get(t.getCalculationInfo("stackedOverDimension"),e)),isNaN(o)&&(o=l.valueStart);var r=l.baseDataOffset,i=[];return i[r]=t.get(l.baseDim,e),i[1-r]=o,a.dataToPoint(i)}function V(l,a){return!isFinite(l)||!isFinite(a)}function de(l,a){var t=[];return a.diff(l).add(function(e){t.push({cmd:"+",idx:e})}).update(function(e,o){t.push({cmd:"=",idx:o,idx1:e})}).remove(function(e){t.push({cmd:"-",idx:e})}).execute(),t}function _e(l,a,t,e,o,r,i,n){for(var u=de(l,a),s=[],h=[],v=[],c=[],f=[],g=[],m=[],S=Ft(o,a,i),p=l.getLayout("points")||[],y=a.getLayout("points")||[],b=0;b=o||m<0)break;if(V(p,y)){if(u){m+=r;continue}break}if(m===t)l[r>0?"moveTo":"lineTo"](p,y),v=p,c=y;else{var b=p-s,I=y-h;if(b*b+I*I<.5){m+=r;continue}if(i>0){for(var D=m+r,_=a[D*2],d=a[D*2+1];_===p&&d===y&&S=e||V(_,d))f=p,g=y;else{E=_-s,L=d-h;var R=p-s,O=_-p,z=y-h,M=d-y,w=void 0,C=void 0;if(n==="x"){w=Math.abs(R),C=Math.abs(O);var H=E>0?1:-1;f=p-H*w*i,g=y,P=p+H*C*i,T=y}else if(n==="y"){w=Math.abs(z),C=Math.abs(M);var U=L>0?1:-1;f=p,g=y-U*w*i,P=p,T=y+U*C*i}else w=Math.sqrt(R*R+z*z),C=Math.sqrt(O*O+M*M),A=C/(C+w),f=p-E*i*(1-A),g=y-L*i*(1-A),P=p+E*i*A,T=y+L*i*A,P=W(P,Z(_,p)),T=W(T,Z(d,y)),P=Z(P,W(_,p)),T=Z(T,W(d,y)),E=P-p,L=T-y,f=p-E*w/C,g=y-L*w/C,f=W(f,Z(s,p)),g=W(g,Z(h,y)),f=Z(f,W(s,p)),g=Z(g,W(h,y)),E=p-f,L=y-g,P=p+E*C/w,T=y+L*C/w}l.bezierCurveTo(v,c,f,g,p,y),v=P,c=T}else l.lineTo(p,y)}s=p,h=y,m+=r}return S}var Mt=(function(){function l(){this.smooth=0,this.smoothConstraint=!0}return l})(),De=(function(l){J(a,l);function a(t){var e=l.call(this,t)||this;return e.type="ec-polyline",e}return a.prototype.getDefaultStyle=function(){return{stroke:wt.color.neutral99,fill:null}},a.prototype.getDefaultShape=function(){return new Mt},a.prototype.buildPath=function(t,e){var o=e.points,r=0,i=o.length/2;if(e.connectNulls){for(;i>0&&V(o[i*2-2],o[i*2-1]);i--);for(;r=0){var I=s?(g-u)*b+u:(f-n)*b+n;return s?[t,I]:[I,t]}n=f,u=g;break;case i.C:f=r[v++],g=r[v++],m=r[v++],S=r[v++],p=r[v++],y=r[v++];var D=s?ft(n,f,m,p,t,h):ft(u,g,S,y,t,h);if(D>0)for(var _=0;_=0){var I=s?ct(u,g,S,y,d):ct(n,f,m,p,d);return s?[t,I]:[I,t]}}n=p,u=y;break}}},a})(Vt),Ie=(function(l){J(a,l);function a(){return l!==null&&l.apply(this,arguments)||this}return a})(Mt),Ee=(function(l){J(a,l);function a(t){var e=l.call(this,t)||this;return e.type="ec-polygon",e}return a.prototype.getDefaultShape=function(){return new Ie},a.prototype.buildPath=function(t,e){var o=e.points,r=e.stackedOnPoints,i=0,n=o.length/2,u=e.smoothMonotone;if(e.connectNulls){for(;n>0&&V(o[n*2-2],o[n*2-1]);n--);for(;ia){r?t.push(i(r,u,a)):o&&t.push(i(o,u,0),i(o,u,a));break}else o&&(t.push(i(o,u,0)),o=null),t.push(u),r=u}return t}function Le(l,a,t){var e=l.getVisual("visualMeta");if(!(!e||!e.length||!l.count())&&a.type==="cartesian2d"){for(var o,r,i=e.length-1;i>=0;i--){var n=l.getDimensionInfo(e[i].dimension);if(o=n&&n.coordDim,o==="x"||o==="y"){r=e[i];break}}if(r){var u=a.getAxis(o),s=st(r.stops,function(b){return{coord:u.toGlobalCoord(u.dataToCoord(b.value)),color:b.color}}),h=s.length,v=r.outerColors.slice();h&&s[0].coord>s[h-1].coord&&(s.reverse(),v.reverse());var c=Ae(s,o==="x"?t.getWidth():t.getHeight()),f=c.length;if(!f&&h)return s[0].coord<0?v[1]?v[1]:s[h-1].color:v[0]?v[0]:s[0].color;var g=10,m=c[0].coord-g,S=c[f-1].coord+g,p=S-m;if(p<.001)return"transparent";Gt(c,function(b){b.offset=(b.coord-m)/p}),c.push({offset:f?c[f-1].offset:.5,color:v[1]||"transparent"}),c.unshift({offset:f?c[0].offset:.5,color:v[0]||"transparent"});var y=new se(0,0,0,0,c,!0);return y[o]=m,y[o+"2"]=S,y}}}function ke(l,a,t){var e=l.get("showAllSymbol"),o=e==="auto";if(!(e&&!o)){var r=t.getAxesByScale("ordinal")[0];if(r&&!(o&&Te(r,a))){var i=a.mapDimension(r.dim),n={};return Gt(r.getViewLabels(),function(u){u.tick.offInterval||(n[le(r.scale,u.tick)]=1)}),function(u){return!n.hasOwnProperty(a.get(i,u))}}}}function Te(l,a){var t=l.getExtent(),e=Math.abs(t[1]-t[0])/l.scale.count();isNaN(e)&&(e=0);for(var o=a.count(),r=Math.max(1,Math.round(o/5)),i=0;ie)return!1;return!0}function we(l){for(var a=l.length/2;a>0&&V(l[a*2-2],l[a*2-1]);a--);return a-1}function Tt(l,a){return[l[a*2],l[a*2+1]]}function Ce(l,a,t){for(var e=l.length/2,o=t==="x"?0:1,r,i,n=0,u=-1,s=0;s=a||r>=a&&i<=a){u=s;break}n=s,r=i}return{range:[n,u],t:(a-r)/(i-r)}}function Ht(l){if(l.get(["endLabel","show"]))return!0;for(var a=0;a0&&t.get(["emphasis","lineStyle","width"])==="bolder"){var C=g.getState("emphasis").style;C.lineWidth=+g.style.lineWidth+1}K(g).seriesIndex=t.seriesIndex,nt(g,z,M,w);var H=kt(t.get("smooth")),U=t.get("smoothMonotone");if(g.setShape({smooth:H,smoothMonotone:U,connectNulls:d}),m){var $=n.getCalculationInfo("stackedOnSeries"),G=0;m.useStyle(mt(s.getAreaStyle(),{fill:P,opacity:.7,lineJoin:"bevel",decal:n.getVisual("style").decal})),$&&(G=kt($.get("smooth"))),m.setShape({smooth:H,stackedOnSmooth:G,smoothMonotone:U,connectNulls:d}),pt(m,t,"areaStyle"),K(m).seriesIndex=t.seriesIndex,nt(m,z,M,w)}var F=this._changePolyState;n.eachItemGraphicEl(function(N){N&&(N.onHoverStateChange=F)}),this._polyline.onHoverStateChange=F,this._data=n,this._coordSys=r,this._stackedOnPoints=D,this._points=h,this._step=E,this._valueOrigin=b;var X=t.get("triggerEvent"),j=t.get("triggerLineEvent"),Ut=j===!0||X===!0||X==="line",Wt=j===!0||X===!0||X==="area";this.packEventData(t,g,Ut),m&&this.packEventData(t,m,Wt)},a.prototype.packEventData=function(t,e,o){K(e).eventData=o?{componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line",selfType:e===this._polygon?"area":"line"}:null},a.prototype.highlight=function(t,e,o,r){var i=t.getData(),n=yt(i,r);if(this._changePolyState("emphasis"),!(n instanceof Array)&&n!=null&&n>=0){var u=i.getLayout("points"),s=i.getItemGraphicEl(n);if(!s){var h=u[n*2],v=u[n*2+1];if(V(h,v)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(h,v))return;var c=t.get("zlevel")||0,f=t.get("z")||0;s=new ut(i,n),s.x=h,s.y=v,s.setZ(c,f);var g=s.getSymbolPath().getTextContent();g&&(g.zlevel=c,g.z=f,g.z2=this._polyline.z2+1),s.__temp=!0,i.setItemGraphicEl(n,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else et.prototype.highlight.call(this,t,e,o,r)},a.prototype.downplay=function(t,e,o,r){var i=t.getData(),n=yt(i,r);if(this._changePolyState("normal"),n!=null&&n>=0){var u=i.getItemGraphicEl(n);u&&(u.__temp?(i.setItemGraphicEl(n,null),this.group.remove(u)):u.downplay())}else et.prototype.downplay.call(this,t,e,o,r)},a.prototype._changePolyState=function(t){var e=this._polygon;bt(this._polyline,t),e&&bt(e,t)},a.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new De({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},a.prototype._newPolygon=function(t,e){var o=this._polygon;return o&&this._lineGroup.remove(o),o=new Ee({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(o),this._polygon=o,o},a.prototype._initSymbolLabelAnimation=function(t,e,o){var r,i,n=e.getBaseAxis(),u=n.inverse;e.type==="cartesian2d"?(r=n.isHorizontal(),i=!1):e.type==="polar"&&(r=n.dim==="angle",i=!0);var s=t.hostModel,h=s.get("animationDuration");at(h)&&(h=h(null));var v=s.get("animationDelay")||0,c=at(v)?v(null):v;t.eachItemGraphicEl(function(f,g){var m=f;if(m){var S=[f.x,f.y],p=void 0,y=void 0,b=void 0;if(o)if(i){var I=o,D=e.pointToCoord(S);r?(p=I.startAngle,y=I.endAngle,b=-D[1]/180*Math.PI):(p=I.r0,y=I.r,b=D[0])}else{var _=o;r?(p=_.x,y=_.x+_.width,b=f.x):(p=_.y+_.height,y=_.y,b=f.y)}var d=y===p?0:(b-p)/(y-p);u&&(d=1-d);var k=at(v)?v(g):h*d+c,A=m.getSymbolPath(),E=A.getTextContent();m.attr({scaleX:0,scaleY:0}),m.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:k}),E&&E.animateFrom({style:{opacity:0}},{duration:300,delay:k}),A.disableLabelAnimation=!0}})},a.prototype._initOrUpdateEndLabel=function(t,e,o){var r=t.getModel("endLabel");if(Ht(t)){var i=t.getData(),n=this._polyline,u=i.getLayout("points");if(!u){n.removeTextContent(),this._endLabel=null;return}var s=this._endLabel;s||(s=this._endLabel=new ie({z2:200}),s.ignoreClip=!0,n.setTextContent(this._endLabel),n.disableLabelAnimation=!0);var h=we(u);h>=0&&(Ot(n,lt(t,"endLabel"),{inheritColor:o,labelFetcher:t,labelDataIndex:h,defaultText:function(v,c,f){return f!=null?ce(i,f):zt(i,v)},enableTextSetter:!0},Oe(r,e)),n.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},a.prototype._endLabelOnDuring=function(t,e,o,r,i,n,u){var s=this._endLabel,h=this._polyline;if(s){t<1&&r.originalX==null&&(r.originalX=s.x,r.originalY=s.y);var v=o.getLayout("points"),c=o.hostModel,f=c.get("connectNulls"),g=n.get("precision"),m=n.get("distance")||0,S=u.getBaseAxis(),p=S.isHorizontal(),y=S.inverse,b=e.shape,I=y?p?b.x:b.y+b.height:p?b.x+b.width:b.y,D=(p?m:0)*(y?-1:1),_=(p?0:-m)*(y?-1:1),d=p?"x":"y",k=Ce(v,I,d),A=k.range,E=A[1]-A[0],L=void 0;if(E>=1){if(E>1&&!f){var P=Tt(v,A[0]);s.attr({x:P[0]+D,y:P[1]+_}),i&&(L=c.getRawValue(A[0]))}else{var P=h.getPointOn(I,d);P&&s.attr({x:P[0]+D,y:P[1]+_});var T=c.getRawValue(A[0]),R=c.getRawValue(A[1]);i&&(L=ne(o,g,T,R,k.t))}r.lastFrameIndex=A[0]}else{var O=t===1||r.lastFrameIndex>0?A[0]:0,P=Tt(v,O);i&&(L=c.getRawValue(O)),s.attr({x:P[0]+D,y:P[1]+_})}if(i){var z=oe(s);typeof z.setLabelText=="function"&&z.setLabelText(L)}}},a.prototype._doUpdateAnimation=function(t,e,o,r,i,n,u){var s=this._polyline,h=this._polygon,v=t.hostModel,c=_e(this._data,t,this._stackedOnPoints,e,this._coordSys,o,this._valueOrigin),f=c.current,g=c.stackedOnCurrent,m=c.next,S=c.stackedOnNext;if(i&&(g=B(c.stackedOnCurrent,c.current,o,i,u),f=B(c.current,null,o,i,u),S=B(c.stackedOnNext,c.next,o,i,u),m=B(c.next,null,o,i,u)),Lt(f,m)>3e3||h&&Lt(g,S)>3e3){s.stopAnimation(),s.setShape({points:m}),h&&(h.stopAnimation(),h.setShape({points:m,stackedOnPoints:S}));return}s.shape.__points=c.current,s.shape.points=f;var p={shape:{points:m}};c.current!==f&&(p.shape.__points=c.next),s.stopAnimation(),Y(s,p,v),h&&(h.setShape({points:f,stackedOnPoints:g}),h.stopAnimation(),Y(h,{shape:{stackedOnPoints:S}},v),s.shape.points!==h.shape.points&&(h.shape.points=s.shape.points));for(var y=[],b=c.status,I=0;I-1&&(s.style.stroke=s.style.fill,s.style.fill=wt.color.neutral00,s.style.lineWidth=2),e},a.type="series.line",a.dependencies=["grid","polar"],a.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:6,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1,triggerEvent:!1},a})(Xt),ut=(function(l){J(a,l);function a(t,e,o,r){var i=l.call(this)||this;return i.updateData(t,e,o,r),i}return a.prototype._createSymbol=function(t,e,o,r,i,n){this.removeAll();var u=it(t,-1,-1,2,2,null,n);u.attr({z2:qt(i,100),culling:!0,scaleX:r[0]/2,scaleY:r[1]/2}),u.drift=ye,this._symbolType=t,this.add(u)},a.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},a.prototype.getSymbolType=function(){return this._symbolType},a.prototype.getSymbolPath=function(){return this.childAt(0)},a.prototype.highlight=function(){Jt(this.childAt(0))},a.prototype.downplay=function(){$t(this.childAt(0))},a.prototype.setZ=function(t,e){var o=this.childAt(0);o.zlevel=t,o.z=e},a.prototype.setDraggable=function(t,e){var o=this.childAt(0);o.draggable=t,o.cursor=!e&&t?"move":o.cursor},a.prototype.updateData=function(t,e,o,r){this.silent=!1;var i=t.getItemVisual(e,"symbol")||"circle",n=t.hostModel,u=a.getSymbolSize(t,e),s=a.getSymbolZ2(t,e),h=i!==this._symbolType,v=r&&r.disableAnimation;if(h){var c=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(i,t,e,u,s,c)}else{var f=this.childAt(0);f.silent=!1;var g={scaleX:u[0]/2,scaleY:u[1]/2};v?f.attr(g):Y(f,g,n,e),jt(f)}if(this._updateCommon(t,e,u,o,r),h){var f=this.childAt(0);if(!v){var g={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:f.style.opacity}};f.scaleX=f.scaleY=0,f.style.opacity=0,Ct(f,g,n,e)}}v&&this.childAt(0).stopAnimation("leave")},a.prototype._updateCommon=function(t,e,o,r,i){var n=this.childAt(0),u=t.hostModel,s,h,v,c,f,g,m,S,p;if(r&&(s=r.emphasisItemStyle,h=r.blurItemStyle,v=r.selectItemStyle,c=r.focus,f=r.blurScope,m=r.labelStatesModels,S=r.hoverScale,p=r.cursorStyle,g=r.emphasisDisabled),!r||t.hasItemOption){var y=r&&r.itemModel?r.itemModel:t.getItemModel(e),b=y.getModel("emphasis");s=b.getModel("itemStyle").getItemStyle(),v=y.getModel(["select","itemStyle"]).getItemStyle(),h=y.getModel(["blur","itemStyle"]).getItemStyle(),c=b.get("focus"),f=b.get("blurScope"),g=b.get("disabled"),m=lt(y),S=b.getShallow("scale"),p=y.getShallow("cursor")}var I=t.getItemVisual(e,"symbolRotate");n.attr("rotation",(I||0)*Math.PI/180||0);var D=Qt(t.getItemVisual(e,"symbolOffset"),o);D&&(n.x=D[0],n.y=D[1]),p&&n.attr("cursor",p);var _=t.getItemVisual(e,"style"),d=_.fill;if(n instanceof Kt){var k=n.style;n.useStyle(vt({image:k.image,x:k.x,y:k.y,width:k.width,height:k.height},_))}else n.__isEmptyBrush?n.useStyle(vt({},_)):n.useStyle(_),n.style.decal=null,n.setColor(d,i&&i.symbolInnerColor),n.style.strokeNoScale=!0;var A=t.getItemVisual(e,"liftZ"),E=this._z2;A!=null?E==null&&(this._z2=n.z2,n.z2+=A):E!=null&&(n.z2=E,this._z2=null);var L=i&&i.useNameLabel;Ot(n,m,{labelFetcher:u,labelDataIndex:e,defaultText:P,inheritColor:d,defaultOpacity:_.opacity});function P(O){return L?t.getName(O):zt(t,O)}this._sizeX=o[0]/2,this._sizeY=o[1]/2;var T=n.ensureState("emphasis");T.style=s,n.ensureState("select").style=v,n.ensureState("blur").style=h;var R=S==null||S===!0?Math.max(1.1,3/this._sizeY):isFinite(S)&&S>0?+S:1;T.scaleX=this._sizeX*R,T.scaleY=this._sizeY*R,this.setSymbolScale(1),nt(this,c,f,g)},a.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},a.prototype.fadeOut=function(t,e,o){var r=this.childAt(0),i=K(this).dataIndex,n=o&&o.animation;if(this.silent=r.silent=!0,o&&o.fadeLabel){var u=r.getTextContent();u&&ht(u,{style:{opacity:0}},e,{dataIndex:i,removeOpt:n,cb:function(){r.removeTextContent()}})}else r.removeTextContent();ht(r,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:i,cb:t,removeOpt:n})},a.getSymbolSize=function(t,e){return Yt(t.getItemVisual(e,"symbolSize"))},a.getSymbolZ2=function(t,e){return t.getItemVisual(e,"z2")},a})(tt);function ye(l,a){this.parent.drift(l,a)}function Q(l,a,t,e){return a&&!isNaN(a[0])&&!isNaN(a[1])&&!(e&&e.isIgnore&&e.isIgnore(t))&&!(e&&e.clipShape&&!e.clipShape.contain(a[0],a[1]))&&l.getItemVisual(t,"symbol")!=="none"}function Dt(l){return l!=null&&!ee(l)&&(l={isIgnore:l}),l||{}}function It(l){var a=l.hostModel,t=a.getModel("emphasis");return{emphasisItemStyle:t.getModel("itemStyle").getItemStyle(),blurItemStyle:a.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:a.getModel(["select","itemStyle"]).getItemStyle(),focus:t.get("focus"),blurScope:t.get("blurScope"),emphasisDisabled:t.get("disabled"),hoverScale:t.get("scale"),labelStatesModels:lt(a),cursorStyle:a.get("cursor")}}function Et(l,a,t,e,o,r,i){var n=new l(a,t,e,o);return n.setPosition(r),a.setItemGraphicEl(t,n),i.add(n),n}var be=(function(){function l(a){this.group=new tt,this._SymbolCtor=a||ut}return l.prototype.updateData=function(a,t){this._progressiveEls=null,t=Dt(t);var e=this.group,o=a.hostModel,r=this._data,i=this._SymbolCtor,n=t.disableAnimation,u=this._seriesScope=It(a),s={disableAnimation:n},h=t.getSymbolPoint||function(v){return a.getItemLayout(v)};r||e.removeAll(),a.diff(r).add(function(v){var c=h(v);Q(a,c,v,t)&&Et(i,a,v,u,s,c,e)}).update(function(v,c){var f=r.getItemGraphicEl(c),g=h(v);if(!Q(a,g,v,t)){e.remove(f);return}var m=a.getItemVisual(v,"symbol")||"circle",S=f&&f.getSymbolType&&f.getSymbolType();if(!f||S&&S!==m)e.remove(f),f=new i(a,v,u,s),f.setPosition(g);else{f.updateData(a,v,u,s);var p={x:g[0],y:g[1]};n?f.attr(p):Y(f,p,o)}e.add(f),a.setItemGraphicEl(v,f)}).remove(function(v){var c=r.getItemGraphicEl(v);c&&c.fadeOut(function(){e.remove(c)},o)}).execute(),this._getSymbolPoint=h,this._data=a},l.prototype.updateLayout=function(a){var t=this._data;if(t)for(var e=this,o=t.getStore(),r=0,i=o.count();r0?t=e[0]:e[1]<0&&(t=e[1]),t}function Nt(l,a,t,e){var o=NaN;l.stacked&&(o=t.get(t.getCalculationInfo("stackedOverDimension"),e)),isNaN(o)&&(o=l.valueStart);var r=l.baseDataOffset,i=[];return i[r]=t.get(l.baseDim,e),i[1-r]=o,a.dataToPoint(i)}function V(l,a){return!isFinite(l)||!isFinite(a)}function de(l,a){var t=[];return a.diff(l).add(function(e){t.push({cmd:"+",idx:e})}).update(function(e,o){t.push({cmd:"=",idx:o,idx1:e})}).remove(function(e){t.push({cmd:"-",idx:e})}).execute(),t}function _e(l,a,t,e,o,r,i,n){for(var u=de(l,a),s=[],h=[],v=[],c=[],f=[],g=[],m=[],S=Ft(o,a,i),p=l.getLayout("points")||[],y=a.getLayout("points")||[],b=0;b=o||m<0)break;if(V(p,y)){if(u){m+=r;continue}break}if(m===t)l[r>0?"moveTo":"lineTo"](p,y),v=p,c=y;else{var b=p-s,I=y-h;if(b*b+I*I<.5){m+=r;continue}if(i>0){for(var D=m+r,_=a[D*2],d=a[D*2+1];_===p&&d===y&&S=e||V(_,d))f=p,g=y;else{E=_-s,L=d-h;var R=p-s,O=_-p,z=y-h,M=d-y,w=void 0,C=void 0;if(n==="x"){w=Math.abs(R),C=Math.abs(O);var H=E>0?1:-1;f=p-H*w*i,g=y,P=p+H*C*i,T=y}else if(n==="y"){w=Math.abs(z),C=Math.abs(M);var U=L>0?1:-1;f=p,g=y-U*w*i,P=p,T=y+U*C*i}else w=Math.sqrt(R*R+z*z),C=Math.sqrt(O*O+M*M),A=C/(C+w),f=p-E*i*(1-A),g=y-L*i*(1-A),P=p+E*i*A,T=y+L*i*A,P=W(P,Z(_,p)),T=W(T,Z(d,y)),P=Z(P,W(_,p)),T=Z(T,W(d,y)),E=P-p,L=T-y,f=p-E*w/C,g=y-L*w/C,f=W(f,Z(s,p)),g=W(g,Z(h,y)),f=Z(f,W(s,p)),g=Z(g,W(h,y)),E=p-f,L=y-g,P=p+E*C/w,T=y+L*C/w}l.bezierCurveTo(v,c,f,g,p,y),v=P,c=T}else l.lineTo(p,y)}s=p,h=y,m+=r}return S}var Mt=(function(){function l(){this.smooth=0,this.smoothConstraint=!0}return l})(),De=(function(l){J(a,l);function a(t){var e=l.call(this,t)||this;return e.type="ec-polyline",e}return a.prototype.getDefaultStyle=function(){return{stroke:wt.color.neutral99,fill:null}},a.prototype.getDefaultShape=function(){return new Mt},a.prototype.buildPath=function(t,e){var o=e.points,r=0,i=o.length/2;if(e.connectNulls){for(;i>0&&V(o[i*2-2],o[i*2-1]);i--);for(;r=0){var I=s?(g-u)*b+u:(f-n)*b+n;return s?[t,I]:[I,t]}n=f,u=g;break;case i.C:f=r[v++],g=r[v++],m=r[v++],S=r[v++],p=r[v++],y=r[v++];var D=s?ft(n,f,m,p,t,h):ft(u,g,S,y,t,h);if(D>0)for(var _=0;_=0){var I=s?ct(u,g,S,y,d):ct(n,f,m,p,d);return s?[t,I]:[I,t]}}n=p,u=y;break}}},a})(Vt),Ie=(function(l){J(a,l);function a(){return l!==null&&l.apply(this,arguments)||this}return a})(Mt),Ee=(function(l){J(a,l);function a(t){var e=l.call(this,t)||this;return e.type="ec-polygon",e}return a.prototype.getDefaultShape=function(){return new Ie},a.prototype.buildPath=function(t,e){var o=e.points,r=e.stackedOnPoints,i=0,n=o.length/2,u=e.smoothMonotone;if(e.connectNulls){for(;n>0&&V(o[n*2-2],o[n*2-1]);n--);for(;ia){r?t.push(i(r,u,a)):o&&t.push(i(o,u,0),i(o,u,a));break}else o&&(t.push(i(o,u,0)),o=null),t.push(u),r=u}return t}function Le(l,a,t){var e=l.getVisual("visualMeta");if(!(!e||!e.length||!l.count())&&a.type==="cartesian2d"){for(var o,r,i=e.length-1;i>=0;i--){var n=l.getDimensionInfo(e[i].dimension);if(o=n&&n.coordDim,o==="x"||o==="y"){r=e[i];break}}if(r){var u=a.getAxis(o),s=st(r.stops,function(b){return{coord:u.toGlobalCoord(u.dataToCoord(b.value)),color:b.color}}),h=s.length,v=r.outerColors.slice();h&&s[0].coord>s[h-1].coord&&(s.reverse(),v.reverse());var c=Ae(s,o==="x"?t.getWidth():t.getHeight()),f=c.length;if(!f&&h)return s[0].coord<0?v[1]?v[1]:s[h-1].color:v[0]?v[0]:s[0].color;var g=10,m=c[0].coord-g,S=c[f-1].coord+g,p=S-m;if(p<.001)return"transparent";Gt(c,function(b){b.offset=(b.coord-m)/p}),c.push({offset:f?c[f-1].offset:.5,color:v[1]||"transparent"}),c.unshift({offset:f?c[0].offset:.5,color:v[0]||"transparent"});var y=new se(0,0,0,0,c,!0);return y[o]=m,y[o+"2"]=S,y}}}function ke(l,a,t){var e=l.get("showAllSymbol"),o=e==="auto";if(!(e&&!o)){var r=t.getAxesByScale("ordinal")[0];if(r&&!(o&&Te(r,a))){var i=a.mapDimension(r.dim),n={};return Gt(r.getViewLabels(),function(u){u.tick.offInterval||(n[le(r.scale,u.tick)]=1)}),function(u){return!n.hasOwnProperty(a.get(i,u))}}}}function Te(l,a){var t=l.getExtent(),e=Math.abs(t[1]-t[0])/l.scale.count();isNaN(e)&&(e=0);for(var o=a.count(),r=Math.max(1,Math.round(o/5)),i=0;ie)return!1;return!0}function we(l){for(var a=l.length/2;a>0&&V(l[a*2-2],l[a*2-1]);a--);return a-1}function Tt(l,a){return[l[a*2],l[a*2+1]]}function Ce(l,a,t){for(var e=l.length/2,o=t==="x"?0:1,r,i,n=0,u=-1,s=0;s=a||r>=a&&i<=a){u=s;break}n=s,r=i}return{range:[n,u],t:(a-r)/(i-r)}}function Ht(l){if(l.get(["endLabel","show"]))return!0;for(var a=0;a0&&t.get(["emphasis","lineStyle","width"])==="bolder"){var C=g.getState("emphasis").style;C.lineWidth=+g.style.lineWidth+1}K(g).seriesIndex=t.seriesIndex,nt(g,z,M,w);var H=kt(t.get("smooth")),U=t.get("smoothMonotone");if(g.setShape({smooth:H,smoothMonotone:U,connectNulls:d}),m){var $=n.getCalculationInfo("stackedOnSeries"),G=0;m.useStyle(mt(s.getAreaStyle(),{fill:P,opacity:.7,lineJoin:"bevel",decal:n.getVisual("style").decal})),$&&(G=kt($.get("smooth"))),m.setShape({smooth:H,stackedOnSmooth:G,smoothMonotone:U,connectNulls:d}),pt(m,t,"areaStyle"),K(m).seriesIndex=t.seriesIndex,nt(m,z,M,w)}var F=this._changePolyState;n.eachItemGraphicEl(function(N){N&&(N.onHoverStateChange=F)}),this._polyline.onHoverStateChange=F,this._data=n,this._coordSys=r,this._stackedOnPoints=D,this._points=h,this._step=E,this._valueOrigin=b;var X=t.get("triggerEvent"),j=t.get("triggerLineEvent"),Ut=j===!0||X===!0||X==="line",Wt=j===!0||X===!0||X==="area";this.packEventData(t,g,Ut),m&&this.packEventData(t,m,Wt)},a.prototype.packEventData=function(t,e,o){K(e).eventData=o?{componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line",selfType:e===this._polygon?"area":"line"}:null},a.prototype.highlight=function(t,e,o,r){var i=t.getData(),n=yt(i,r);if(this._changePolyState("emphasis"),!(n instanceof Array)&&n!=null&&n>=0){var u=i.getLayout("points"),s=i.getItemGraphicEl(n);if(!s){var h=u[n*2],v=u[n*2+1];if(V(h,v)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(h,v))return;var c=t.get("zlevel")||0,f=t.get("z")||0;s=new ut(i,n),s.x=h,s.y=v,s.setZ(c,f);var g=s.getSymbolPath().getTextContent();g&&(g.zlevel=c,g.z=f,g.z2=this._polyline.z2+1),s.__temp=!0,i.setItemGraphicEl(n,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else et.prototype.highlight.call(this,t,e,o,r)},a.prototype.downplay=function(t,e,o,r){var i=t.getData(),n=yt(i,r);if(this._changePolyState("normal"),n!=null&&n>=0){var u=i.getItemGraphicEl(n);u&&(u.__temp?(i.setItemGraphicEl(n,null),this.group.remove(u)):u.downplay())}else et.prototype.downplay.call(this,t,e,o,r)},a.prototype._changePolyState=function(t){var e=this._polygon;bt(this._polyline,t),e&&bt(e,t)},a.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new De({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},a.prototype._newPolygon=function(t,e){var o=this._polygon;return o&&this._lineGroup.remove(o),o=new Ee({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(o),this._polygon=o,o},a.prototype._initSymbolLabelAnimation=function(t,e,o){var r,i,n=e.getBaseAxis(),u=n.inverse;e.type==="cartesian2d"?(r=n.isHorizontal(),i=!1):e.type==="polar"&&(r=n.dim==="angle",i=!0);var s=t.hostModel,h=s.get("animationDuration");at(h)&&(h=h(null));var v=s.get("animationDelay")||0,c=at(v)?v(null):v;t.eachItemGraphicEl(function(f,g){var m=f;if(m){var S=[f.x,f.y],p=void 0,y=void 0,b=void 0;if(o)if(i){var I=o,D=e.pointToCoord(S);r?(p=I.startAngle,y=I.endAngle,b=-D[1]/180*Math.PI):(p=I.r0,y=I.r,b=D[0])}else{var _=o;r?(p=_.x,y=_.x+_.width,b=f.x):(p=_.y+_.height,y=_.y,b=f.y)}var d=y===p?0:(b-p)/(y-p);u&&(d=1-d);var k=at(v)?v(g):h*d+c,A=m.getSymbolPath(),E=A.getTextContent();m.attr({scaleX:0,scaleY:0}),m.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:k}),E&&E.animateFrom({style:{opacity:0}},{duration:300,delay:k}),A.disableLabelAnimation=!0}})},a.prototype._initOrUpdateEndLabel=function(t,e,o){var r=t.getModel("endLabel");if(Ht(t)){var i=t.getData(),n=this._polyline,u=i.getLayout("points");if(!u){n.removeTextContent(),this._endLabel=null;return}var s=this._endLabel;s||(s=this._endLabel=new ie({z2:200}),s.ignoreClip=!0,n.setTextContent(this._endLabel),n.disableLabelAnimation=!0);var h=we(u);h>=0&&(Ot(n,lt(t,"endLabel"),{inheritColor:o,labelFetcher:t,labelDataIndex:h,defaultText:function(v,c,f){return f!=null?ce(i,f):zt(i,v)},enableTextSetter:!0},Oe(r,e)),n.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},a.prototype._endLabelOnDuring=function(t,e,o,r,i,n,u){var s=this._endLabel,h=this._polyline;if(s){t<1&&r.originalX==null&&(r.originalX=s.x,r.originalY=s.y);var v=o.getLayout("points"),c=o.hostModel,f=c.get("connectNulls"),g=n.get("precision"),m=n.get("distance")||0,S=u.getBaseAxis(),p=S.isHorizontal(),y=S.inverse,b=e.shape,I=y?p?b.x:b.y+b.height:p?b.x+b.width:b.y,D=(p?m:0)*(y?-1:1),_=(p?0:-m)*(y?-1:1),d=p?"x":"y",k=Ce(v,I,d),A=k.range,E=A[1]-A[0],L=void 0;if(E>=1){if(E>1&&!f){var P=Tt(v,A[0]);s.attr({x:P[0]+D,y:P[1]+_}),i&&(L=c.getRawValue(A[0]))}else{var P=h.getPointOn(I,d);P&&s.attr({x:P[0]+D,y:P[1]+_});var T=c.getRawValue(A[0]),R=c.getRawValue(A[1]);i&&(L=ne(o,g,T,R,k.t))}r.lastFrameIndex=A[0]}else{var O=t===1||r.lastFrameIndex>0?A[0]:0,P=Tt(v,O);i&&(L=c.getRawValue(O)),s.attr({x:P[0]+D,y:P[1]+_})}if(i){var z=oe(s);typeof z.setLabelText=="function"&&z.setLabelText(L)}}},a.prototype._doUpdateAnimation=function(t,e,o,r,i,n,u){var s=this._polyline,h=this._polygon,v=t.hostModel,c=_e(this._data,t,this._stackedOnPoints,e,this._coordSys,o,this._valueOrigin),f=c.current,g=c.stackedOnCurrent,m=c.next,S=c.stackedOnNext;if(i&&(g=B(c.stackedOnCurrent,c.current,o,i,u),f=B(c.current,null,o,i,u),S=B(c.stackedOnNext,c.next,o,i,u),m=B(c.next,null,o,i,u)),Lt(f,m)>3e3||h&&Lt(g,S)>3e3){s.stopAnimation(),s.setShape({points:m}),h&&(h.stopAnimation(),h.setShape({points:m,stackedOnPoints:S}));return}s.shape.__points=c.current,s.shape.points=f;var p={shape:{points:m}};c.current!==f&&(p.shape.__points=c.next),s.stopAnimation(),Y(s,p,v),h&&(h.setShape({points:f,stackedOnPoints:g}),h.stopAnimation(),Y(h,{shape:{stackedOnPoints:S}},v),s.shape.points!==h.shape.points&&(h.shape.points=s.shape.points));for(var y=[],b=c.status,I=0;I-1&&(s.style.stroke=s.style.fill,s.style.fill=wt.color.neutral00,s.style.lineWidth=2),e},a.type="series.line",a.dependencies=["grid","polar"],a.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:6,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1,triggerEvent:!1},a})(Xt),ut=(function(l){J(a,l);function a(t,e,o,r){var i=l.call(this)||this;return i.updateData(t,e,o,r),i}return a.prototype._createSymbol=function(t,e,o,r,i,n){this.removeAll();var u=it(t,-1,-1,2,2,null,n);u.attr({z2:qt(i,100),culling:!0,scaleX:r[0]/2,scaleY:r[1]/2}),u.drift=ye,this._symbolType=t,this.add(u)},a.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},a.prototype.getSymbolType=function(){return this._symbolType},a.prototype.getSymbolPath=function(){return this.childAt(0)},a.prototype.highlight=function(){Jt(this.childAt(0))},a.prototype.downplay=function(){$t(this.childAt(0))},a.prototype.setZ=function(t,e){var o=this.childAt(0);o.zlevel=t,o.z=e},a.prototype.setDraggable=function(t,e){var o=this.childAt(0);o.draggable=t,o.cursor=!e&&t?"move":o.cursor},a.prototype.updateData=function(t,e,o,r){this.silent=!1;var i=t.getItemVisual(e,"symbol")||"circle",n=t.hostModel,u=a.getSymbolSize(t,e),s=a.getSymbolZ2(t,e),h=i!==this._symbolType,v=r&&r.disableAnimation;if(h){var c=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(i,t,e,u,s,c)}else{var f=this.childAt(0);f.silent=!1;var g={scaleX:u[0]/2,scaleY:u[1]/2};v?f.attr(g):Y(f,g,n,e),jt(f)}if(this._updateCommon(t,e,u,o,r),h){var f=this.childAt(0);if(!v){var g={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:f.style.opacity}};f.scaleX=f.scaleY=0,f.style.opacity=0,Ct(f,g,n,e)}}v&&this.childAt(0).stopAnimation("leave")},a.prototype._updateCommon=function(t,e,o,r,i){var n=this.childAt(0),u=t.hostModel,s,h,v,c,f,g,m,S,p;if(r&&(s=r.emphasisItemStyle,h=r.blurItemStyle,v=r.selectItemStyle,c=r.focus,f=r.blurScope,m=r.labelStatesModels,S=r.hoverScale,p=r.cursorStyle,g=r.emphasisDisabled),!r||t.hasItemOption){var y=r&&r.itemModel?r.itemModel:t.getItemModel(e),b=y.getModel("emphasis");s=b.getModel("itemStyle").getItemStyle(),v=y.getModel(["select","itemStyle"]).getItemStyle(),h=y.getModel(["blur","itemStyle"]).getItemStyle(),c=b.get("focus"),f=b.get("blurScope"),g=b.get("disabled"),m=lt(y),S=b.getShallow("scale"),p=y.getShallow("cursor")}var I=t.getItemVisual(e,"symbolRotate");n.attr("rotation",(I||0)*Math.PI/180||0);var D=Qt(t.getItemVisual(e,"symbolOffset"),o);D&&(n.x=D[0],n.y=D[1]),p&&n.attr("cursor",p);var _=t.getItemVisual(e,"style"),d=_.fill;if(n instanceof Kt){var k=n.style;n.useStyle(vt({image:k.image,x:k.x,y:k.y,width:k.width,height:k.height},_))}else n.__isEmptyBrush?n.useStyle(vt({},_)):n.useStyle(_),n.style.decal=null,n.setColor(d,i&&i.symbolInnerColor),n.style.strokeNoScale=!0;var A=t.getItemVisual(e,"liftZ"),E=this._z2;A!=null?E==null&&(this._z2=n.z2,n.z2+=A):E!=null&&(n.z2=E,this._z2=null);var L=i&&i.useNameLabel;Ot(n,m,{labelFetcher:u,labelDataIndex:e,defaultText:P,inheritColor:d,defaultOpacity:_.opacity});function P(O){return L?t.getName(O):zt(t,O)}this._sizeX=o[0]/2,this._sizeY=o[1]/2;var T=n.ensureState("emphasis");T.style=s,n.ensureState("select").style=v,n.ensureState("blur").style=h;var R=S==null||S===!0?Math.max(1.1,3/this._sizeY):isFinite(S)&&S>0?+S:1;T.scaleX=this._sizeX*R,T.scaleY=this._sizeY*R,this.setSymbolScale(1),nt(this,c,f,g)},a.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},a.prototype.fadeOut=function(t,e,o){var r=this.childAt(0),i=K(this).dataIndex,n=o&&o.animation;if(this.silent=r.silent=!0,o&&o.fadeLabel){var u=r.getTextContent();u&&ht(u,{style:{opacity:0}},e,{dataIndex:i,removeOpt:n,cb:function(){r.removeTextContent()}})}else r.removeTextContent();ht(r,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:i,cb:t,removeOpt:n})},a.getSymbolSize=function(t,e){return Yt(t.getItemVisual(e,"symbolSize"))},a.getSymbolZ2=function(t,e){return t.getItemVisual(e,"z2")},a})(tt);function ye(l,a){this.parent.drift(l,a)}function Q(l,a,t,e){return a&&!isNaN(a[0])&&!isNaN(a[1])&&!(e&&e.isIgnore&&e.isIgnore(t))&&!(e&&e.clipShape&&!e.clipShape.contain(a[0],a[1]))&&l.getItemVisual(t,"symbol")!=="none"}function Dt(l){return l!=null&&!ee(l)&&(l={isIgnore:l}),l||{}}function It(l){var a=l.hostModel,t=a.getModel("emphasis");return{emphasisItemStyle:t.getModel("itemStyle").getItemStyle(),blurItemStyle:a.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:a.getModel(["select","itemStyle"]).getItemStyle(),focus:t.get("focus"),blurScope:t.get("blurScope"),emphasisDisabled:t.get("disabled"),hoverScale:t.get("scale"),labelStatesModels:lt(a),cursorStyle:a.get("cursor")}}function Et(l,a,t,e,o,r,i){var n=new l(a,t,e,o);return n.setPosition(r),a.setItemGraphicEl(t,n),i.add(n),n}var be=(function(){function l(a){this.group=new tt,this._SymbolCtor=a||ut}return l.prototype.updateData=function(a,t){this._progressiveEls=null,t=Dt(t);var e=this.group,o=a.hostModel,r=this._data,i=this._SymbolCtor,n=t.disableAnimation,u=this._seriesScope=It(a),s={disableAnimation:n},h=t.getSymbolPoint||function(v){return a.getItemLayout(v)};r||e.removeAll(),a.diff(r).add(function(v){var c=h(v);Q(a,c,v,t)&&Et(i,a,v,u,s,c,e)}).update(function(v,c){var f=r.getItemGraphicEl(c),g=h(v);if(!Q(a,g,v,t)){e.remove(f);return}var m=a.getItemVisual(v,"symbol")||"circle",S=f&&f.getSymbolType&&f.getSymbolType();if(!f||S&&S!==m)e.remove(f),f=new i(a,v,u,s),f.setPosition(g);else{f.updateData(a,v,u,s);var p={x:g[0],y:g[1]};n?f.attr(p):Y(f,p,o)}e.add(f),a.setItemGraphicEl(v,f)}).remove(function(v){var c=r.getItemGraphicEl(v);c&&c.fadeOut(function(){e.remove(c)},o)}).execute(),this._getSymbolPoint=h,this._data=a},l.prototype.updateLayout=function(a){var t=this._data;if(t)for(var e=this,o=t.getStore(),r=0,i=o.count();r0?t=e[0]:e[1]<0&&(t=e[1]),t}function Nt(l,a,t,e){var o=NaN;l.stacked&&(o=t.get(t.getCalculationInfo("stackedOverDimension"),e)),isNaN(o)&&(o=l.valueStart);var r=l.baseDataOffset,i=[];return i[r]=t.get(l.baseDim,e),i[1-r]=o,a.dataToPoint(i)}function V(l,a){return!isFinite(l)||!isFinite(a)}function de(l,a){var t=[];return a.diff(l).add(function(e){t.push({cmd:"+",idx:e})}).update(function(e,o){t.push({cmd:"=",idx:o,idx1:e})}).remove(function(e){t.push({cmd:"-",idx:e})}).execute(),t}function _e(l,a,t,e,o,r,i,n){for(var u=de(l,a),s=[],h=[],v=[],c=[],f=[],g=[],m=[],S=Ft(o,a,i),p=l.getLayout("points")||[],y=a.getLayout("points")||[],b=0;b=o||m<0)break;if(V(p,y)){if(u){m+=r;continue}break}if(m===t)l[r>0?"moveTo":"lineTo"](p,y),v=p,c=y;else{var b=p-s,I=y-h;if(b*b+I*I<.5){m+=r;continue}if(i>0){for(var D=m+r,_=a[D*2],d=a[D*2+1];_===p&&d===y&&S=e||V(_,d))f=p,g=y;else{E=_-s,L=d-h;var R=p-s,O=_-p,z=y-h,M=d-y,w=void 0,C=void 0;if(n==="x"){w=Math.abs(R),C=Math.abs(O);var H=E>0?1:-1;f=p-H*w*i,g=y,P=p+H*C*i,T=y}else if(n==="y"){w=Math.abs(z),C=Math.abs(M);var U=L>0?1:-1;f=p,g=y-U*w*i,P=p,T=y+U*C*i}else w=Math.sqrt(R*R+z*z),C=Math.sqrt(O*O+M*M),A=C/(C+w),f=p-E*i*(1-A),g=y-L*i*(1-A),P=p+E*i*A,T=y+L*i*A,P=W(P,Z(_,p)),T=W(T,Z(d,y)),P=Z(P,W(_,p)),T=Z(T,W(d,y)),E=P-p,L=T-y,f=p-E*w/C,g=y-L*w/C,f=W(f,Z(s,p)),g=W(g,Z(h,y)),f=Z(f,W(s,p)),g=Z(g,W(h,y)),E=p-f,L=y-g,P=p+E*C/w,T=y+L*C/w}l.bezierCurveTo(v,c,f,g,p,y),v=P,c=T}else l.lineTo(p,y)}s=p,h=y,m+=r}return S}var Mt=(function(){function l(){this.smooth=0,this.smoothConstraint=!0}return l})(),De=(function(l){J(a,l);function a(t){var e=l.call(this,t)||this;return e.type="ec-polyline",e}return a.prototype.getDefaultStyle=function(){return{stroke:wt.color.neutral99,fill:null}},a.prototype.getDefaultShape=function(){return new Mt},a.prototype.buildPath=function(t,e){var o=e.points,r=0,i=o.length/2;if(e.connectNulls){for(;i>0&&V(o[i*2-2],o[i*2-1]);i--);for(;r=0){var I=s?(g-u)*b+u:(f-n)*b+n;return s?[t,I]:[I,t]}n=f,u=g;break;case i.C:f=r[v++],g=r[v++],m=r[v++],S=r[v++],p=r[v++],y=r[v++];var D=s?ft(n,f,m,p,t,h):ft(u,g,S,y,t,h);if(D>0)for(var _=0;_=0){var I=s?ct(u,g,S,y,d):ct(n,f,m,p,d);return s?[t,I]:[I,t]}}n=p,u=y;break}}},a})(Vt),Ie=(function(l){J(a,l);function a(){return l!==null&&l.apply(this,arguments)||this}return a})(Mt),Ee=(function(l){J(a,l);function a(t){var e=l.call(this,t)||this;return e.type="ec-polygon",e}return a.prototype.getDefaultShape=function(){return new Ie},a.prototype.buildPath=function(t,e){var o=e.points,r=e.stackedOnPoints,i=0,n=o.length/2,u=e.smoothMonotone;if(e.connectNulls){for(;n>0&&V(o[n*2-2],o[n*2-1]);n--);for(;ia){r?t.push(i(r,u,a)):o&&t.push(i(o,u,0),i(o,u,a));break}else o&&(t.push(i(o,u,0)),o=null),t.push(u),r=u}return t}function Le(l,a,t){var e=l.getVisual("visualMeta");if(!(!e||!e.length||!l.count())&&a.type==="cartesian2d"){for(var o,r,i=e.length-1;i>=0;i--){var n=l.getDimensionInfo(e[i].dimension);if(o=n&&n.coordDim,o==="x"||o==="y"){r=e[i];break}}if(r){var u=a.getAxis(o),s=st(r.stops,function(b){return{coord:u.toGlobalCoord(u.dataToCoord(b.value)),color:b.color}}),h=s.length,v=r.outerColors.slice();h&&s[0].coord>s[h-1].coord&&(s.reverse(),v.reverse());var c=Ae(s,o==="x"?t.getWidth():t.getHeight()),f=c.length;if(!f&&h)return s[0].coord<0?v[1]?v[1]:s[h-1].color:v[0]?v[0]:s[0].color;var g=10,m=c[0].coord-g,S=c[f-1].coord+g,p=S-m;if(p<.001)return"transparent";Gt(c,function(b){b.offset=(b.coord-m)/p}),c.push({offset:f?c[f-1].offset:.5,color:v[1]||"transparent"}),c.unshift({offset:f?c[0].offset:.5,color:v[0]||"transparent"});var y=new se(0,0,0,0,c,!0);return y[o]=m,y[o+"2"]=S,y}}}function ke(l,a,t){var e=l.get("showAllSymbol"),o=e==="auto";if(!(e&&!o)){var r=t.getAxesByScale("ordinal")[0];if(r&&!(o&&Te(r,a))){var i=a.mapDimension(r.dim),n={};return Gt(r.getViewLabels(),function(u){u.tick.offInterval||(n[le(r.scale,u.tick)]=1)}),function(u){return!n.hasOwnProperty(a.get(i,u))}}}}function Te(l,a){var t=l.getExtent(),e=Math.abs(t[1]-t[0])/l.scale.count();isNaN(e)&&(e=0);for(var o=a.count(),r=Math.max(1,Math.round(o/5)),i=0;ie)return!1;return!0}function we(l){for(var a=l.length/2;a>0&&V(l[a*2-2],l[a*2-1]);a--);return a-1}function Tt(l,a){return[l[a*2],l[a*2+1]]}function Ce(l,a,t){for(var e=l.length/2,o=t==="x"?0:1,r,i,n=0,u=-1,s=0;s=a||r>=a&&i<=a){u=s;break}n=s,r=i}return{range:[n,u],t:(a-r)/(i-r)}}function Ht(l){if(l.get(["endLabel","show"]))return!0;for(var a=0;a0&&t.get(["emphasis","lineStyle","width"])==="bolder"){var C=g.getState("emphasis").style;C.lineWidth=+g.style.lineWidth+1}K(g).seriesIndex=t.seriesIndex,nt(g,z,M,w);var H=kt(t.get("smooth")),U=t.get("smoothMonotone");if(g.setShape({smooth:H,smoothMonotone:U,connectNulls:d}),m){var $=n.getCalculationInfo("stackedOnSeries"),G=0;m.useStyle(mt(s.getAreaStyle(),{fill:P,opacity:.7,lineJoin:"bevel",decal:n.getVisual("style").decal})),$&&(G=kt($.get("smooth"))),m.setShape({smooth:H,stackedOnSmooth:G,smoothMonotone:U,connectNulls:d}),pt(m,t,"areaStyle"),K(m).seriesIndex=t.seriesIndex,nt(m,z,M,w)}var F=this._changePolyState;n.eachItemGraphicEl(function(N){N&&(N.onHoverStateChange=F)}),this._polyline.onHoverStateChange=F,this._data=n,this._coordSys=r,this._stackedOnPoints=D,this._points=h,this._step=E,this._valueOrigin=b;var X=t.get("triggerEvent"),j=t.get("triggerLineEvent"),Ut=j===!0||X===!0||X==="line",Wt=j===!0||X===!0||X==="area";this.packEventData(t,g,Ut),m&&this.packEventData(t,m,Wt)},a.prototype.packEventData=function(t,e,o){K(e).eventData=o?{componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line",selfType:e===this._polygon?"area":"line"}:null},a.prototype.highlight=function(t,e,o,r){var i=t.getData(),n=yt(i,r);if(this._changePolyState("emphasis"),!(n instanceof Array)&&n!=null&&n>=0){var u=i.getLayout("points"),s=i.getItemGraphicEl(n);if(!s){var h=u[n*2],v=u[n*2+1];if(V(h,v)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(h,v))return;var c=t.get("zlevel")||0,f=t.get("z")||0;s=new ut(i,n),s.x=h,s.y=v,s.setZ(c,f);var g=s.getSymbolPath().getTextContent();g&&(g.zlevel=c,g.z=f,g.z2=this._polyline.z2+1),s.__temp=!0,i.setItemGraphicEl(n,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else et.prototype.highlight.call(this,t,e,o,r)},a.prototype.downplay=function(t,e,o,r){var i=t.getData(),n=yt(i,r);if(this._changePolyState("normal"),n!=null&&n>=0){var u=i.getItemGraphicEl(n);u&&(u.__temp?(i.setItemGraphicEl(n,null),this.group.remove(u)):u.downplay())}else et.prototype.downplay.call(this,t,e,o,r)},a.prototype._changePolyState=function(t){var e=this._polygon;bt(this._polyline,t),e&&bt(e,t)},a.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new De({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},a.prototype._newPolygon=function(t,e){var o=this._polygon;return o&&this._lineGroup.remove(o),o=new Ee({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(o),this._polygon=o,o},a.prototype._initSymbolLabelAnimation=function(t,e,o){var r,i,n=e.getBaseAxis(),u=n.inverse;e.type==="cartesian2d"?(r=n.isHorizontal(),i=!1):e.type==="polar"&&(r=n.dim==="angle",i=!0);var s=t.hostModel,h=s.get("animationDuration");at(h)&&(h=h(null));var v=s.get("animationDelay")||0,c=at(v)?v(null):v;t.eachItemGraphicEl(function(f,g){var m=f;if(m){var S=[f.x,f.y],p=void 0,y=void 0,b=void 0;if(o)if(i){var I=o,D=e.pointToCoord(S);r?(p=I.startAngle,y=I.endAngle,b=-D[1]/180*Math.PI):(p=I.r0,y=I.r,b=D[0])}else{var _=o;r?(p=_.x,y=_.x+_.width,b=f.x):(p=_.y+_.height,y=_.y,b=f.y)}var d=y===p?0:(b-p)/(y-p);u&&(d=1-d);var k=at(v)?v(g):h*d+c,A=m.getSymbolPath(),E=A.getTextContent();m.attr({scaleX:0,scaleY:0}),m.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:k}),E&&E.animateFrom({style:{opacity:0}},{duration:300,delay:k}),A.disableLabelAnimation=!0}})},a.prototype._initOrUpdateEndLabel=function(t,e,o){var r=t.getModel("endLabel");if(Ht(t)){var i=t.getData(),n=this._polyline,u=i.getLayout("points");if(!u){n.removeTextContent(),this._endLabel=null;return}var s=this._endLabel;s||(s=this._endLabel=new ie({z2:200}),s.ignoreClip=!0,n.setTextContent(this._endLabel),n.disableLabelAnimation=!0);var h=we(u);h>=0&&(Ot(n,lt(t,"endLabel"),{inheritColor:o,labelFetcher:t,labelDataIndex:h,defaultText:function(v,c,f){return f!=null?ce(i,f):zt(i,v)},enableTextSetter:!0},Oe(r,e)),n.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},a.prototype._endLabelOnDuring=function(t,e,o,r,i,n,u){var s=this._endLabel,h=this._polyline;if(s){t<1&&r.originalX==null&&(r.originalX=s.x,r.originalY=s.y);var v=o.getLayout("points"),c=o.hostModel,f=c.get("connectNulls"),g=n.get("precision"),m=n.get("distance")||0,S=u.getBaseAxis(),p=S.isHorizontal(),y=S.inverse,b=e.shape,I=y?p?b.x:b.y+b.height:p?b.x+b.width:b.y,D=(p?m:0)*(y?-1:1),_=(p?0:-m)*(y?-1:1),d=p?"x":"y",k=Ce(v,I,d),A=k.range,E=A[1]-A[0],L=void 0;if(E>=1){if(E>1&&!f){var P=Tt(v,A[0]);s.attr({x:P[0]+D,y:P[1]+_}),i&&(L=c.getRawValue(A[0]))}else{var P=h.getPointOn(I,d);P&&s.attr({x:P[0]+D,y:P[1]+_});var T=c.getRawValue(A[0]),R=c.getRawValue(A[1]);i&&(L=ne(o,g,T,R,k.t))}r.lastFrameIndex=A[0]}else{var O=t===1||r.lastFrameIndex>0?A[0]:0,P=Tt(v,O);i&&(L=c.getRawValue(O)),s.attr({x:P[0]+D,y:P[1]+_})}if(i){var z=oe(s);typeof z.setLabelText=="function"&&z.setLabelText(L)}}},a.prototype._doUpdateAnimation=function(t,e,o,r,i,n,u){var s=this._polyline,h=this._polygon,v=t.hostModel,c=_e(this._data,t,this._stackedOnPoints,e,this._coordSys,o,this._valueOrigin),f=c.current,g=c.stackedOnCurrent,m=c.next,S=c.stackedOnNext;if(i&&(g=B(c.stackedOnCurrent,c.current,o,i,u),f=B(c.current,null,o,i,u),S=B(c.stackedOnNext,c.next,o,i,u),m=B(c.next,null,o,i,u)),Lt(f,m)>3e3||h&&Lt(g,S)>3e3){s.stopAnimation(),s.setShape({points:m}),h&&(h.stopAnimation(),h.setShape({points:m,stackedOnPoints:S}));return}s.shape.__points=c.current,s.shape.points=f;var p={shape:{points:m}};c.current!==f&&(p.shape.__points=c.next),s.stopAnimation(),Y(s,p,v),h&&(h.setShape({points:f,stackedOnPoints:g}),h.stopAnimation(),Y(h,{shape:{stackedOnPoints:S}},v),s.shape.points!==h.shape.points&&(h.shape.points=s.shape.points));for(var y=[],b=c.status,I=0;I>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/install-yQKxYHXo.js diff --git a/frontend/dist/assets/install-i_dmuKuk.js b/frontend/dist/assets/install-i_dmuKuk.js new file mode 100644 index 0000000..1a6ba16 --- /dev/null +++ b/frontend/dist/assets/install-i_dmuKuk.js @@ -0,0 +1,41 @@ +var p_=Object.defineProperty;var g_=(e,t,r)=>t in e?p_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var cc=(e,t,r)=>g_(e,typeof t!="symbol"?t+"":t,r);import{d as m_,aV as y_,D as yo,a1 as tg,G as eg,H as __,I as _l,aQ as Sl,j as Pi,P as S_,bz as T_,ah as w_,B as _o,c_ as Ks,bg as x_,bW as So}from"./index-CxbBjZKo.js";/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var Tl=function(e,t){return Tl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Tl(e,t)};function z(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Tl(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var b_=(function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e})(),C_=(function(){function e(){this.browser=new b_,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return e})(),K=new C_;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(K.wxa=!0,K.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?K.worker=!0:!K.hasGlobalWindow||"Deno"in window||typeof navigator<"u"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Node.js")>-1?(K.node=!0,K.svgSupported=!0):M_(navigator.userAgent,K);function M_(e,t){var r=t.browser,n=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),a=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);n&&(r.firefox=!0,r.version=n[1]),i&&(r.ie=!0,r.version=i[1]),a&&(r.edge=!0,r.version=a[1],r.newEdge=+a[1].split(".")[0]>18),o&&(r.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,t.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11);var s=t.domSupported=typeof document<"u";if(s){var u=document.documentElement.style;t.transform3dSupported=(r.ie&&"transition"in u||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in u)&&!("OTransition"in u),t.transformSupported=t.transform3dSupported||r.ie&&+r.version>=9}}var Gf=12,D_="sans-serif",Sr=Gf+"px "+D_,A_=20,L_=100,I_="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function P_(e){var t={};if(typeof JSON>"u")return t;for(var r=0;r=0)s=o*r.length;else for(var u=0;u=B_&&(Qs=0),Qs++}function Yf(){for(var e=[],t=0;t>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[u]+":0",i[l]+":0",n[1-u]+":auto",i[1-l]+":auto",""].join("!important;"),e.appendChild(o),r.push(o)}return t.clearMarkers=function(){b(r,function(f){f.parentNode&&f.parentNode.removeChild(f)})},r}function a1(e,t,r){for(var n=r?"invTrans":"trans",i=t[n],a=t.srcCoords,o=[],s=[],u=!0,l=0;l<4;l++){var f=e[l].getBoundingClientRect(),h=2*l,c=f.left,v=f.top;o.push(c,v),u=u&&a&&c===a[h]&&v===a[h+1],s.push(e[l].offsetLeft,e[l].offsetTop)}return u&&i?i:(t.srcCoords=o,t[n]=r?gc(s,o):gc(o,s))}function ug(e){return e.nodeName.toUpperCase()==="CANVAS"}var o1=/([&<>"'])/g,s1={"&":"&","<":"<",">":">",'"':""","'":"'"};function Yt(e){return e==null?"":(e+"").replace(o1,function(t,r){return s1[r]})}var u1=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,eu=[],l1=K.browser.firefox&&+K.browser.version.split(".")[0]<39;function Dl(e,t,r,n){return r=r||{},n?mc(e,t,r):l1&&t.layerX!=null&&t.layerX!==t.offsetX?(r.zrX=t.layerX,r.zrY=t.layerY):t.offsetX!=null?(r.zrX=t.offsetX,r.zrY=t.offsetY):mc(e,t,r),r}function mc(e,t,r){if(K.domSupported&&e.getBoundingClientRect){var n=t.clientX,i=t.clientY;if(ug(e)){var a=e.getBoundingClientRect();r.zrX=n-a.left,r.zrY=i-a.top;return}else if(Ml(eu,e,n,i)){r.zrX=eu[0],r.zrY=eu[1];return}}r.zrX=r.zrY=0}function $f(e){return e||window.event}function le(e,t,r){if(t=$f(t),t.zrX!=null)return t;var n=t.type,i=n&&n.indexOf("touch")>=0;if(i){var o=n!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&Dl(e,o,t,r)}else{Dl(e,t,t,r);var a=f1(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&u1.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function f1(e){var t=e.wheelDelta;if(t)return t;var r=e.deltaX,n=e.deltaY;if(r==null||n==null)return t;var i=Math.abs(n!==0?n:r),a=n>0?-1:n<0?1:r>0?-1:1;return 3*i*a}function h1(e,t,r,n){e.addEventListener(t,r,n)}function c1(e,t,r,n){e.removeEventListener(t,r,n)}var lg=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function M2(e){return e.which===2||e.which===3}var v1=(function(){function e(){this._track=[]}return e.prototype.recognize=function(t,r,n){return this._doTrack(t,r,n),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,r,n){var i=t.touches;if(i){for(var a={points:[],touches:[],target:r,event:t},o=0,s=i.length;o1&&n&&n.length>1){var a=yc(n)/yc(i);!isFinite(a)&&(a=1),t.pinchScale=a;var o=d1(n);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:e[0].target,event:t}}}}};function Be(){return[1,0,0,1,0,0]}function ma(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function qf(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function Vi(e,t,r){var n=t[0]*r[0]+t[2]*r[1],i=t[1]*r[0]+t[3]*r[1],a=t[0]*r[2]+t[2]*r[3],o=t[1]*r[2]+t[3]*r[3],s=t[0]*r[4]+t[2]*r[5]+t[4],u=t[1]*r[4]+t[3]*r[5]+t[5];return e[0]=n,e[1]=i,e[2]=a,e[3]=o,e[4]=s,e[5]=u,e}function Al(e,t,r){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+r[0],e[5]=t[5]+r[1],e}function Kf(e,t,r,n){n===void 0&&(n=[0,0]);var i=t[0],a=t[2],o=t[4],s=t[1],u=t[3],l=t[5],f=Math.sin(r),h=Math.cos(r);return e[0]=i*h+s*f,e[1]=-i*f+s*h,e[2]=a*h+u*f,e[3]=-a*f+h*u,e[4]=h*(o-n[0])+f*(l-n[1])+n[0],e[5]=h*(l-n[1])-f*(o-n[0])+n[1],e}function p1(e,t,r){var n=r[0],i=r[1];return e[0]=t[0]*n,e[1]=t[1]*i,e[2]=t[2]*n,e[3]=t[3]*i,e[4]=t[4]*n,e[5]=t[5]*i,e}function ya(e,t){var r=t[0],n=t[2],i=t[4],a=t[1],o=t[3],s=t[5],u=r*o-a*n;return u?(u=1/u,e[0]=o*u,e[1]=-a*u,e[2]=-n*u,e[3]=r*u,e[4]=(n*s-o*i)*u,e[5]=(a*i-r*s)*u,e):null}var ct=(function(){function e(t,r){this.x=t||0,this.y=r||0}return e.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(t,r){return this.x=t,this.y=r,this},e.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},e.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},e.prototype.scale=function(t){this.x*=t,this.y*=t},e.prototype.scaleAndAdd=function(t,r){this.x+=t.x*r,this.y+=t.y*r},e.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},e.prototype.dot=function(t){return this.x*t.x+this.y*t.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},e.prototype.distance=function(t){var r=this.x-t.x,n=this.y-t.y;return Math.sqrt(r*r+n*n)},e.prototype.distanceSquare=function(t){var r=this.x-t.x,n=this.y-t.y;return r*r+n*n},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(t){if(t){var r=this.x,n=this.y;return this.x=t[0]*r+t[2]*n+t[4],this.y=t[1]*r+t[3]*n+t[5],this}},e.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},e.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},e.set=function(t,r,n){t.x=r,t.y=n},e.copy=function(t,r){t.x=r.x,t.y=r.y},e.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.lenSquare=function(t){return t.x*t.x+t.y*t.y},e.dot=function(t,r){return t.x*r.x+t.y*r.y},e.add=function(t,r,n){t.x=r.x+n.x,t.y=r.y+n.y},e.sub=function(t,r,n){t.x=r.x-n.x,t.y=r.y-n.y},e.scale=function(t,r,n){t.x=r.x*n,t.y=r.y*n},e.scaleAndAdd=function(t,r,n,i){t.x=r.x+n.x*i,t.y=r.y+n.y*i},e.lerp=function(t,r,n,i){var a=1-i;t.x=a*r.x+i*n.x,t.y=a*r.y+i*n.y},e})(),jr=Math.min,Fn=Math.max,Ll=Math.abs,_c=["x","y"],g1=["width","height"],Dr=new ct,Ar=new ct,Lr=new ct,Ir=new ct,te=fg(),Ei=te.minTv,Il=te.maxTv,Gi=[0,0],Z=(function(){function e(t,r,n,i){nu(this,t,r,n,i)}return e.set=function(t,r,n,i,a){return i<0&&(r=r+i,i=-i),a<0&&(n=n+a,a=-a),t.x=r,t.y=n,t.width=i,t.height=a,t},e.prototype.union=function(t){var r=jr(t.x,this.x),n=jr(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Fn(t.x+t.width,this.x+this.width)-r:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Fn(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=r,this.y=n},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){return m1(Be(),this,t)},e.prototype.intersect=function(t,r,n){return e.intersect(this,t,r,n)},e.intersect=function(t,r,n,i){n&&ct.set(n,0,0);var a=i&&i.outIntersectRect||null,o=i&&i.clamp;if(a&&(a.x=a.y=a.width=a.height=NaN),!t||!r)return!1;t instanceof e||(t=nu(y1,t.x,t.y,t.width,t.height)),r instanceof e||(r=nu(_1,r.x,r.y,r.width,r.height));var s=!!n;te.reset(i,s);var u=te.touchThreshold,l=t.x+u,f=t.x+t.width-u,h=t.y+u,c=t.y+t.height-u,v=r.x+u,d=r.x+r.width-u,g=r.y+u,p=r.y+r.height-u;if(l>f||h>c||v>d||g>p)return!1;var m=!(f=t.x&&r<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},e.prototype.contain=function(t,r){return e.contain(this,t,r)},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){Sc(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return this.width===0||this.height===0},e.create=function(t){return new e(t?t.x:0,t?t.y:0,t?t.width:0,t?t.height:0)},e.copy=function(t,r){return t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height,t},e.applyTransform=function(t,r,n){if(!n){t!==r&&Sc(t,r);return}if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var i=n[0],a=n[3],o=n[4],s=n[5];t.x=r.x*i+o,t.y=r.y*a+s,t.width=r.width*i,t.height=r.height*a,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}Dr.x=Lr.x=r.x,Dr.y=Ir.y=r.y,Ar.x=Ir.x=r.x+r.width,Ar.y=Lr.y=r.y+r.height,Dr.transform(n),Ir.transform(n),Ar.transform(n),Lr.transform(n),t.x=jr(Dr.x,Ar.x,Lr.x,Ir.x),t.y=jr(Dr.y,Ar.y,Lr.y,Ir.y);var u=Fn(Dr.x,Ar.x,Lr.x,Ir.x),l=Fn(Dr.y,Ar.y,Lr.y,Ir.y);t.width=u-t.x,t.height=l-t.y},e.calculateTransform=function(t,r,n){var i=n.width/r.width,a=n.height/r.height;return t=ma(t||[]),Al(t,t,js(iu,-r.x,-r.y)),p1(t,t,js(iu,i,a)),Al(t,t,js(iu,n.x,n.y)),t},e})();Z.create;var nu=Z.set,Sc=Z.copy,m1=Z.calculateTransform;Z.applyTransform;Z.contain;var y1=new Z(0,0,0,0),_1=new Z(0,0,0,0),iu=[];function Tc(e,t,r,n,i,a,o,s){var u=Ll(t-r),l=Ll(n-e),f=jr(u,l),h=_c[i],c=_c[1-i],v=g1[i];t=l||!te.bidirectional)&&(Ei[h]=-l,Ei[c]=0,te.useDir&&te.calcDirMTV())))}function fg(){var e=0,t=new ct,r=new ct,n={minTv:new ct,maxTv:new ct,useDir:!1,dirMinTv:new ct,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(a,o){n.touchThreshold=0,a&&a.touchThreshold!=null&&(n.touchThreshold=Fn(0,a.touchThreshold)),n.negativeSize=!1,o&&(n.minTv.set(1/0,1/0),n.maxTv.set(0,0),n.useDir=!1,a&&a.direction!=null&&(n.useDir=!0,n.dirMinTv.copy(n.minTv),r.copy(n.minTv),e=a.direction,n.bidirectional=a.bidirectional==null||!!a.bidirectional,n.bidirectional||t.set(Math.cos(e),Math.sin(e))))},calcDirMTV:function(){var a=n.minTv,o=n.dirMinTv,s=a.y*a.y+a.x*a.x,u=Math.sin(e),l=Math.cos(e),f=u*a.y+l*a.x;if(i(f)){i(a.x)&&i(a.y)&&o.set(0,0);return}if(r.x=s*l/f,r.y=s*u/f,i(r.x)&&i(r.y)){o.set(0,0);return}(n.bidirectional||t.dot(r)>0)&&r.len()=0;h--){var c=a[h];c!==i&&!c.ignore&&!c.ignoreCoarsePointer&&(!c.parent||!c.parent.ignoreCoarsePointer)&&(au.copy(c.getBoundingRect()),c.transform&&au.applyTransform(c.transform),au.intersect(f)&&s.push(c))}if(s.length)for(var v=4,d=Math.PI/12,g=Math.PI*2,p=0;p4)return;this._downPoint=null}this.dispatchToElement(a,e,t)}});function b1(e,t,r){if(e[e.rectHover?"rectContain":"contain"](t,r)){for(var n=e,i=void 0,a=!1;n;){if(n.ignoreClip&&(a=!0),!a){var o=n.getClipPath();if(o&&!o.contain(t,r))return!1}n.silent&&(i=!0);var s=n.__hostTarget;n=s?n.ignoreHostSilent?null:s:n.parent}return i?hg:!0}return!1}function wc(e,t,r,n,i){for(var a=e.length-1;a>=0;a--){var o=e[a],s=void 0;if(o!==i&&!o.ignore&&(s=b1(o,r,n))&&(!t.topTarget&&(t.topTarget=o),s!==hg)){t.target=o;break}}}function vg(e,t,r){var n=e.painter;return t<0||t>n.getWidth()||r<0||r>n.getHeight()}var dg=32,vi=7;function C1(e){for(var t=0;e>=dg;)t|=e&1,e>>=1;return e+t}function xc(e,t,r,n){var i=t+1;if(i===r)return 1;if(n(e[i++],e[t])<0){for(;i=0;)i++;return i-t}function M1(e,t,r){for(r--;t>>1,i(a,e[u])<0?s=u:o=u+1;var l=n-o;switch(l){case 3:e[o+3]=e[o+2];case 2:e[o+2]=e[o+1];case 1:e[o+1]=e[o];break;default:for(;l>0;)e[o+l]=e[o+l-1],l--}e[o]=a}}function ou(e,t,r,n,i,a){var o=0,s=0,u=1;if(a(e,t[r+i])>0){for(s=n-i;u0;)o=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s),o+=i,u+=i}else{for(s=i+1;us&&(u=s);var l=o;o=i-u,u=i-l}for(o++;o>>1);a(e,t[r+f])>0?o=f+1:u=f}return u}function su(e,t,r,n,i,a){var o=0,s=0,u=1;if(a(e,t[r+i])<0){for(s=i+1;us&&(u=s);var l=o;o=i-u,u=i-l}else{for(s=n-i;u=0;)o=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s),o+=i,u+=i}for(o++;o>>1);a(e,t[r+f])<0?u=f:o=f+1}return u}function D1(e,t){var r=vi,n,i,a=0,o=[];n=[],i=[];function s(v,d){n[a]=v,i[a]=d,a+=1}function u(){for(;a>1;){var v=a-2;if(v>=1&&i[v-1]<=i[v]+i[v+1]||v>=2&&i[v-2]<=i[v]+i[v-1])i[v-1]i[v+1])break;f(v)}}function l(){for(;a>1;){var v=a-2;v>0&&i[v-1]=vi||x>=vi);if(D)break;T<0&&(T=0),T+=2}if(r=T,r<1&&(r=1),d===1){for(m=0;m=0;m--)e[w+m]=e[T+m];e[S]=o[_];return}for(var x=r;;){var D=0,M=0,C=!1;do if(t(o[_],e[y])<0){if(e[S--]=e[y--],D++,M=0,--d===0){C=!0;break}}else if(e[S--]=o[_--],M++,D=0,--p===1){C=!0;break}while((D|M)=0;m--)e[w+m]=e[T+m];if(d===0){C=!0;break}}if(e[S--]=o[_--],--p===1){C=!0;break}if(M=p-ou(e[y],o,0,p,p-1,t),M!==0){for(S-=M,_-=M,p-=M,w=S+1,T=_+1,m=0;m=vi||M>=vi);if(C)break;x<0&&(x=0),x+=2}if(r=x,r<1&&(r=1),p===1){for(S-=d,y-=d,w=S+1,T=y+1,m=d-1;m>=0;m--)e[w+m]=e[T+m];e[S]=o[_]}else{if(p===0)throw new Error;for(T=S-(p-1),m=0;ms&&(u=s),bc(e,r,r+u,r+a,t),a=u}o.pushRun(r,a),o.mergeRuns(),i-=a,r+=a}while(i!==0);o.forceMergeRuns()}}var $t=1,Ri=2,On=4,Cc=!1;function uu(){Cc||(Cc=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Mc(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var A1=(function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Mc}return e.prototype.traverse=function(t,r){for(var n=0;n=0&&this._roots.splice(i,1)},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e})(),Uo;Uo=K.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};var Ui={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:Math.pow(1024,e-1)},exponentialOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),-(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)))},elasticOut:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},elasticInOut:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),(e*=2)<1?-.5*(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)):r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-Ui.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?Ui.bounceIn(e*2)*.5:Ui.bounceOut(e*2-1)*.5+.5}},La=Math.pow,gr=Math.sqrt,Wo=1e-8,pg=1e-4,Dc=gr(3),Ia=1/3,Re=oi(),ce=oi(),Wn=oi();function vr(e){return e>-Wo&&eWo||e<-Wo}function Vt(e,t,r,n,i){var a=1-i;return a*a*(a*e+3*i*t)+i*i*(i*n+3*a*r)}function Ac(e,t,r,n,i){var a=1-i;return 3*(((t-e)*a+2*(r-t)*i)*a+(n-r)*i*i)}function mg(e,t,r,n,i,a){var o=n+3*(t-r)-e,s=3*(r-t*2+e),u=3*(t-e),l=e-i,f=s*s-3*o*u,h=s*u-9*o*l,c=u*u-3*s*l,v=0;if(vr(f)&&vr(h))if(vr(s))a[0]=0;else{var d=-u/s;d>=0&&d<=1&&(a[v++]=d)}else{var g=h*h-4*f*c;if(vr(g)){var p=h/f,d=-s/o+p,m=-p/2;d>=0&&d<=1&&(a[v++]=d),m>=0&&m<=1&&(a[v++]=m)}else if(g>0){var y=gr(g),_=f*s+1.5*o*(-h+y),S=f*s+1.5*o*(-h-y);_<0?_=-La(-_,Ia):_=La(_,Ia),S<0?S=-La(-S,Ia):S=La(S,Ia);var d=(-s-(_+S))/(3*o);d>=0&&d<=1&&(a[v++]=d)}else{var T=(2*f*s-3*o*h)/(2*gr(f*f*f)),w=Math.acos(T)/3,x=gr(f),D=Math.cos(w),d=(-s-2*x*D)/(3*o),m=(-s+x*(D+Dc*Math.sin(w)))/(3*o),M=(-s+x*(D-Dc*Math.sin(w)))/(3*o);d>=0&&d<=1&&(a[v++]=d),m>=0&&m<=1&&(a[v++]=m),M>=0&&M<=1&&(a[v++]=M)}}return v}function yg(e,t,r,n,i){var a=6*r-12*t+6*e,o=9*t+3*n-3*e-9*r,s=3*t-3*e,u=0;if(vr(o)){if(gg(a)){var l=-s/a;l>=0&&l<=1&&(i[u++]=l)}}else{var f=a*a-4*o*s;if(vr(f))i[0]=-a/(2*o);else if(f>0){var h=gr(f),l=(-a+h)/(2*o),c=(-a-h)/(2*o);l>=0&&l<=1&&(i[u++]=l),c>=0&&c<=1&&(i[u++]=c)}}return u}function Yo(e,t,r,n,i,a){var o=(t-e)*i+e,s=(r-t)*i+t,u=(n-r)*i+r,l=(s-o)*i+o,f=(u-s)*i+s,h=(f-l)*i+l;a[0]=e,a[1]=o,a[2]=l,a[3]=h,a[4]=h,a[5]=f,a[6]=u,a[7]=n}function L1(e,t,r,n,i,a,o,s,u,l,f){var h,c=.005,v=1/0,d,g,p,m;Re[0]=u,Re[1]=l;for(var y=0;y<1;y+=.05)ce[0]=Vt(e,r,i,o,y),ce[1]=Vt(t,n,a,s,y),p=Un(Re,ce),p=0&&p=0&&l<=1&&(i[u++]=l)}}else{var f=o*o-4*a*s;if(vr(f)){var l=-o/(2*a);l>=0&&l<=1&&(i[u++]=l)}else if(f>0){var h=gr(f),l=(-o+h)/(2*a),c=(-o-h)/(2*a);l>=0&&l<=1&&(i[u++]=l),c>=0&&c<=1&&(i[u++]=c)}}return u}function _g(e,t,r){var n=e+r-2*t;return n===0?.5:(e-t)/n}function Xo(e,t,r,n,i){var a=(t-e)*n+e,o=(r-t)*n+t,s=(o-a)*n+a;i[0]=e,i[1]=a,i[2]=s,i[3]=s,i[4]=o,i[5]=r}function E1(e,t,r,n,i,a,o,s,u){var l,f=.005,h=1/0;Re[0]=o,Re[1]=s;for(var c=0;c<1;c+=.05){ce[0]=Xt(e,r,i,c),ce[1]=Xt(t,n,a,c);var v=Un(Re,ce);v=0&&v=1?1:mg(0,n,a,1,u,s)&&Vt(0,i,o,1,s[0])}}}var k1=(function(){function e(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Nt,this.ondestroy=t.ondestroy||Nt,this.onrestart=t.onrestart||Nt,t.easing&&this.setEasing(t.easing)}return e.prototype.step=function(t,r){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=r;return}var n=this._life,i=t-this._startTime-this._pausedTime,a=i/n;a<0&&(a=0),a=Math.min(a,1);var o=this.easingFunc,s=o?o(a):a;if(this.onframe(s),a===1)if(this.loop){var u=i%n;this._startTime=t-u,this._pausedTime=0,this.onrestart()}else return!0;return!1},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(t){this.easing=t,this.easingFunc=j(t)?t:Ui[t]||Sg(t)},e})(),Tg=(function(){function e(t){this.value=t}return e})(),B1=(function(){function e(){this._len=0}return e.prototype.insert=function(t){var r=new Tg(t);return this.insertEntry(r),r},e.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.prototype.remove=function(t){var r=t.prev,n=t.next;r?r.next=n:this.head=n,n?n.prev=r:this.tail=r,t.next=t.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e})(),qn=(function(){function e(t){this._list=new B1,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,r){var n=this._list,i=this._map,a=null;if(i[t]==null){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var u=n.head;n.remove(u),delete i[u.key],a=u.value,this._lastRemovedEntry=u}s?s.value=r:s=new Tg(r),s.key=t,n.insertEntry(s),i[t]=s}return a},e.prototype.get=function(t){var r=this._map[t],n=this._list;if(r!=null)return r!==n.tail&&(n.remove(r),n.insertEntry(r)),r.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e})(),Ic={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function mr(e){return e=Math.round(e),e<0?0:e>255?255:e}function Pl(e){return e<0?0:e>1?1:e}function lu(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?mr(parseFloat(t)/100*255):mr(parseInt(t,10))}function rn(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?Pl(parseFloat(t)/100):Pl(parseFloat(t))}function fu(e,t,r){return r<0?r+=1:r>1&&(r-=1),r*6<1?e+(t-e)*r*6:r*2<1?t:r*3<2?e+(t-e)*(2/3-r)*6:e}function Pa(e,t,r){return e+(t-e)*r}function se(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=n,e[3]=i,e}function El(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var wg=new qn(20),Ea=null;function _n(e,t){Ea&&El(Ea,t),Ea=wg.put(e,Ea||t.slice())}function Ne(e,t){if(e){t=t||[];var r=wg.get(e);if(r)return El(t,r);e=e+"";var n=e.replace(/ /g,"").toLowerCase();if(n in Ic)return El(t,Ic[n]),_n(e,t),t;var i=n.length;if(n.charAt(0)==="#"){if(i===4||i===5){var a=parseInt(n.slice(1,4),16);if(!(a>=0&&a<=4095)){se(t,0,0,0,1);return}return se(t,(a&3840)>>4|(a&3840)>>8,a&240|(a&240)>>4,a&15|(a&15)<<4,i===5?parseInt(n.slice(4),16)/15:1),_n(e,t),t}else if(i===7||i===9){var a=parseInt(n.slice(1,7),16);if(!(a>=0&&a<=16777215)){se(t,0,0,0,1);return}return se(t,(a&16711680)>>16,(a&65280)>>8,a&255,i===9?parseInt(n.slice(7),16)/255:1),_n(e,t),t}return}var o=n.indexOf("("),s=n.indexOf(")");if(o!==-1&&s+1===i){var u=n.substr(0,o),l=n.substr(o+1,s-(o+1)).split(","),f=1;switch(u){case"rgba":if(l.length!==4)return l.length===3?se(t,+l[0],+l[1],+l[2],1):se(t,0,0,0,1);f=rn(l.pop());case"rgb":if(l.length>=3)return se(t,lu(l[0]),lu(l[1]),lu(l[2]),l.length===3?f:rn(l[3])),_n(e,t),t;se(t,0,0,0,1);return;case"hsla":if(l.length!==4){se(t,0,0,0,1);return}return l[3]=rn(l[3]),Rl(l,t),_n(e,t),t;case"hsl":if(l.length!==3){se(t,0,0,0,1);return}return Rl(l,t),_n(e,t),t;default:return}}se(t,0,0,0,1)}}function Rl(e,t){var r=(parseFloat(e[0])%360+360)%360/360,n=rn(e[1]),i=rn(e[2]),a=i<=.5?i*(n+1):i+n-i*n,o=i*2-a;return t=t||[],se(t,mr(fu(o,a,r+1/3)*255),mr(fu(o,a,r)*255),mr(fu(o,a,r-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function N1(e){if(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(t,r,n),a=Math.max(t,r,n),o=a-i,s=(a+i)/2,u,l;if(o===0)u=0,l=0;else{s<.5?l=o/(a+i):l=o/(2-a-i);var f=((a-t)/6+o/2)/o,h=((a-r)/6+o/2)/o,c=((a-n)/6+o/2)/o;t===a?u=c-h:r===a?u=1/3+f-c:n===a&&(u=2/3+h-f),u<0&&(u+=1),u>1&&(u-=1)}var v=[u*360,l,s];return e[3]!=null&&v.push(e[3]),v}}function Pc(e,t){var r=Ne(e);if(r){for(var n=0;n<3;n++)r[n]=r[n]*(1-t)|0,r[n]>255?r[n]=255:r[n]<0&&(r[n]=0);return _a(r,r.length===4?"rgba":"rgb")}}function D2(e,t,r){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var n=e*(t.length-1),i=Math.floor(n),a=Math.ceil(n),o=Ne(t[i]),s=Ne(t[a]),u=n-i,l=_a([mr(Pa(o[0],s[0],u)),mr(Pa(o[1],s[1],u)),mr(Pa(o[2],s[2],u)),Pl(Pa(o[3],s[3],u))],"rgba");return r?{color:l,leftIndex:i,rightIndex:a,value:n}:l}}function Ol(e,t,r,n){var i=Ne(e);if(e)return i=N1(i),r!=null&&(i[1]=rn(j(r)?r(i[1]):r)),n!=null&&(i[2]=rn(j(n)?n(i[2]):n)),_a(Rl(i),"rgba")}function _a(e,t){if(!(!e||!e.length)){var r=e[0]+","+e[1]+","+e[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(r+=","+e[3]),t+"("+r+")"}}function Zo(e,t){var r=Ne(e);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*t:0}var Ec=new qn(100);function Rc(e){if(F(e)){var t=Ec.get(e);return t||(t=Pc(e,-.1),Ec.put(e,t)),t}else if(Ts(e)){var r=k({},e);return r.colorStops=Y(e.colorStops,function(n){return{offset:n.offset,color:Pc(n.color,-.1)}}),r}return e}function F1(e){return e.type==="linear"}function z1(e){return e.type==="radial"}(function(){return typeof Buffer<"u"&&typeof Buffer.from=="function"?function(e){return Buffer.from(e).toString("base64")}:typeof btoa=="function"&&typeof unescape=="function"&&typeof encodeURIComponent=="function"?function(e){return btoa(unescape(encodeURIComponent(e)))}:function(e){return null}})();var kl=Array.prototype.slice;function je(e,t,r){return(t-e)*r+e}function hu(e,t,r,n){for(var i=t.length,a=0;an?t:e,a=Math.min(r,n),o=i[a-1]||{color:[0,0,0,0],offset:0},s=a;so;if(s)n.length=o;else for(var u=a;u=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,r,n){this._needsSort=!0;var i=this.keyframes,a=i.length,o=!1,s=kc,u=r;if(Kt(r)){var l=U1(r);s=l,(l===1&&!Tt(r[0])||l===2&&!Tt(r[0][0]))&&(o=!0)}else if(Tt(r)&&!ea(r))s=Oa;else if(F(r))if(!isNaN(+r))s=Oa;else{var f=Ne(r);f&&(u=f,s=Oi)}else if(Ts(r)){var h=k({},u);h.colorStops=Y(r.colorStops,function(v){return{offset:v.offset,color:Ne(v.color)}}),F1(r)?s=Bl:z1(r)&&(s=Nl),u=h}a===0?this.valType=s:(s!==this.valType||s===kc)&&(o=!0),this.discrete=this.discrete||o;var c={time:t,value:u,rawValue:r,percent:0};return n&&(c.easing=n,c.easingFunc=j(n)?n:Ui[n]||Sg(n)),i.push(c),c},e.prototype.prepare=function(t,r){var n=this.keyframes;this._needsSort&&n.sort(function(g,p){return g.time-p.time});for(var i=this.valType,a=n.length,o=n[a-1],s=this.discrete,u=ka(i),l=Bc(i),f=0;f=0&&!(o[f].percent<=r);f--);f=c(f,s-2)}else{for(f=h;fr);f++);f=c(f-1,s-2)}d=o[f+1],v=o[f]}if(v&&d){this._lastFr=f,this._lastFrP=r;var p=d.percent-v.percent,m=p===0?1:c((r-v.percent)/p,1);d.easingFunc&&(m=d.easingFunc(m));var y=n?this._additiveValue:l?di:t[u];if((ka(a)||l)&&!y&&(y=this._additiveValue=[]),this.discrete)t[u]=m<1?v.rawValue:d.rawValue;else if(ka(a))a===bo?hu(y,v[i],d[i],m):H1(y,v[i],d[i],m);else if(Bc(a)){var _=v[i],S=d[i],T=a===Bl;t[u]={type:T?"linear":"radial",x:je(_.x,S.x,m),y:je(_.y,S.y,m),colorStops:Y(_.colorStops,function(x,D){var M=S.colorStops[D];return{offset:je(x.offset,M.offset,m),color:xo(hu([],x.color,M.color,m))}}),global:S.global},T?(t[u].x2=je(_.x2,S.x2,m),t[u].y2=je(_.y2,S.y2,m)):t[u].r=je(_.r,S.r,m)}else if(l)hu(y,v[i],d[i],m),n||(t[u]=xo(y));else{var w=je(v[i],d[i],m);n?this._additiveValue=w:t[u]=w}n&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var r=this.valType,n=this.propName,i=this._additiveValue;r===Oa?t[n]=t[n]+i:r===Oi?(Ne(t[n],di),Ra(di,di,i,1),t[n]=xo(di)):r===bo?Ra(t[n],t[n],i,1):r===xg&&Oc(t[n],t[n],i,1)},e})(),Qf=(function(){function e(t,r,n,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=r,r&&i){Yf("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=n}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(t){this._target=t},e.prototype.when=function(t,r,n){return this.whenWithKeys(t,r,gt(r),n)},e.prototype.whenWithKeys=function(t,r,n,i){for(var a=this._tracks,o=0;o0&&u.addKeyframe(0,wo(l),i),this._trackKeys.push(s)}u.addKeyframe(t,wo(r[s]),i)}return this._maxTime=Math.max(this._maxTime,t),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var r=t.length,n=0;n0)){this._started=1;for(var r=this,n=[],i=this._maxTime||0,a=0;a1){var s=o.pop();a.addKeyframe(s.time,t[i]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},e})();function zn(){return new Date().getTime()}var Y1=(function(e){z(t,e);function t(r){var n=e.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,r=r||{},n.stage=r.stage||{},n}return t.prototype.addClip=function(r){r.animation&&this.removeClip(r),this._head?(this._tail.next=r,r.prev=this._tail,r.next=null,this._tail=r):this._head=this._tail=r,r.animation=this},t.prototype.addAnimator=function(r){r.animation=this;var n=r.getClip();n&&this.addClip(n)},t.prototype.removeClip=function(r){if(r.animation){var n=r.prev,i=r.next;n?n.next=i:this._head=i,i?i.prev=n:this._tail=n,r.next=r.prev=r.animation=null}},t.prototype.removeAnimator=function(r){var n=r.getClip();n&&this.removeClip(n),r.animation=null},t.prototype.update=function(r){for(var n=zn()-this._pausedTime,i=n-this._time,a=this._head;a;){var o=a.next,s=a.step(n,i);s&&(a.ondestroy(),this.removeClip(a)),a=o}this._time=n,r||(this.trigger("frame",i),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var r=this;this._running=!0;function n(){r._running&&(Uo(n),!r._paused&&r.update())}Uo(n)},t.prototype.start=function(){this._running||(this._time=zn(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=zn(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=zn()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var r=this._head;r;){var n=r.next;r.prev=r.next=r.animation=null,r=n}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(r,n){n=n||{},this.start();var i=new Qf(r,n.loop);return this.addAnimator(i),i},t})(Ye),X1=300,cu=K.domSupported,vu=(function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=Y(e,function(i){var a=i.replace("mouse","pointer");return r.hasOwnProperty(a)?a:i});return{mouse:e,touch:t,pointer:n}})(),Nc={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},Fc=!1;function Fl(e){var t=e.pointerType;return t==="pen"||t==="touch"}function Z1(e){e.touching=!0,e.touchTimer!=null&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)}function du(e){e&&(e.zrByTouch=!0)}function $1(e,t){return le(e.dom,new q1(e,t),!0)}function bg(e,t){for(var r=t,n=!1;r&&r.nodeType!==9&&!(n=r.domBelongToZr||r!==t&&r===e.painterRoot);)r=r.parentNode;return n}var q1=(function(){function e(t,r){this.stopPropagation=Nt,this.stopImmediatePropagation=Nt,this.preventDefault=Nt,this.type=r.type,this.target=this.currentTarget=t.dom,this.pointerType=r.pointerType,this.clientX=r.clientX,this.clientY=r.clientY}return e})(),we={mousedown:function(e){e=le(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=le(this.dom,e);var t=this.__mayPointerCapture;t&&(e.zrX!==t[0]||e.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=le(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=le(this.dom,e);var t=e.toElement||e.relatedTarget;bg(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){Fc=!0,e=le(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){Fc||(e=le(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=le(this.dom,e),du(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),we.mousemove.call(this,e),we.mousedown.call(this,e)},touchmove:function(e){e=le(this.dom,e),du(e),this.handler.processGesture(e,"change"),we.mousemove.call(this,e)},touchend:function(e){e=le(this.dom,e),du(e),this.handler.processGesture(e,"end"),we.mouseup.call(this,e),+new Date-+this.__lastTouchMomentVc||e<-Vc}var Er=[],Sn=[],gu=Be(),mu=Math.abs,Sa=(function(){function e(){}return e.prototype.getLocalTransform=function(t){return tS(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return Pr(this.rotation)||Pr(this.x)||Pr(this.y)||Pr(this.scaleX-1)||Pr(this.scaleY-1)||Pr(this.skewX)||Pr(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,r=this.needLocalTransform(),n=this.transform;if(!(r||t)){n&&(Hc(n),this.invTransform=null);return}n=n||Be(),r?this.getLocalTransform(n):Hc(n),t&&(r?Vi(n,t,n):qf(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n),this.invTransform=this.invTransform||Be(),ya(this.invTransform,n)},e.prototype._resolveGlobalScaleRatio=function(t){var r=this.globalScaleRatio;if(r!=null&&r!==1){this.getGlobalScale(Er);var n=Er[0]<0?-1:1,i=Er[1]<0?-1:1,a=((Er[0]-n)*r+n)/Er[0]||0,o=((Er[1]-i)*r+i)/Er[1]||0;t[0]*=a,t[1]*=a,t[2]*=o,t[3]*=o}},e.prototype.getComputedTransform=function(){for(var t=this,r=[];t;)r.push(t),t=t.parent;for(;t=r.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var r=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),a=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(a),r=Math.sqrt(r),this.skewX=a,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=r,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,r=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||Be(),Vi(Sn,t.invTransform,r),r=Sn);var n=this.originX,i=this.originY;(n||i)&&(gu[4]=n,gu[5]=i,Vi(Sn,r,gu),Sn[4]-=n,Sn[5]-=i,r=Sn),this.setLocalTransform(r)}},e.prototype.getGlobalScale=function(t){var r=this.transform;return t=t||[],r?(t[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),t[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(t[0]=-t[0]),r[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,r){var n=[t,r],i=this.invTransform;return i&&ye(n,n,i),n},e.prototype.transformCoordToGlobal=function(t,r){var n=[t,r],i=this.transform;return i&&ye(n,n,i),n},e.prototype.getLineScale=function(){var t=this.transform;return t&&mu(t[0]-1)>1e-10&&mu(t[3]-1)>1e-10?Math.sqrt(mu(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){qo(this,t)},e.getLocalTransform=function(t,r){r=r||[];var n=t.originX||0,i=t.originY||0,a=t.scaleX,o=t.scaleY,s=t.anchorX,u=t.anchorY,l=t.rotation||0,f=t.x,h=t.y,c=t.skewX?Math.tan(t.skewX):0,v=t.skewY?Math.tan(-t.skewY):0;if(n||i||s||u){var d=n+s,g=i+u;r[4]=-d*a-c*g*o,r[5]=-g*o-v*d*a}else r[4]=r[5]=0;return r[0]=a,r[3]=o,r[1]=v*a,r[2]=c*o,l&&Kf(r,r,l),r[4]+=n+f,r[5]+=i+h,r},e.initDefaultProps=(function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0})(),e})(),tS=Sa.getLocalTransform,xs=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function qo(e,t){return N_(e,t,xs)}function Fe(e){Ba||(Ba=new qn(100)),e=e||Sr;var t=Ba.get(e);return t||(t={font:e,strWidthCache:new qn(500),asciiWidthMap:null,asciiWidthMapTried:!1,stWideCharWidth:ee.measureText("国",e).width,asciiCharWidth:ee.measureText("a",e).width},Ba.put(e,t)),t}var Ba;function eS(e){if(!(yu>=Gc)){e=e||Sr;for(var t=[],r=+new Date,n=0;n<=127;n++)t[n]=ee.measureText(String.fromCharCode(n),e).width;var i=+new Date-r;return i>16?yu=Gc:i>2&&yu++,t}}var yu=0,Gc=5;function Mg(e,t){return e.asciiWidthMapTried||(e.asciiWidthMap=eS(e.font),e.asciiWidthMapTried=!0),0<=t&&t<=127?e.asciiWidthMap!=null?e.asciiWidthMap[t]:e.asciiCharWidth:e.stWideCharWidth}function ze(e,t){var r=e.strWidthCache,n=r.get(t);return n==null&&(n=ee.measureText(t,e.font).width,r.put(t,n)),n}function Uc(e,t,r,n){var i=ze(Fe(t),e),a=bs(t),o=Kn(0,i,r),s=nn(0,a,n),u=new Z(o,s,i,a);return u}function Dg(e,t,r,n){var i=((e||"")+"").split(` +`),a=i.length;if(a===1)return Uc(i[0],t,r,n);for(var o=new Z(0,0,0,0),s=0;s=0?parseFloat(e)/100*t:parseFloat(e):e}function Ag(e,t,r){var n=t.position||"inside",i=t.distance!=null?t.distance:5,a=r.height,o=r.width,s=a/2,u=r.x,l=r.y,f="left",h="top";if(n instanceof Array)u+=Qn(n[0],r.width),l+=Qn(n[1],r.height),f=null,h=null;else switch(n){case"left":u-=i,l+=s,f="right",h="middle";break;case"right":u+=i+o,l+=s,h="middle";break;case"top":u+=o/2,l-=i,f="center",h="bottom";break;case"bottom":u+=o/2,l+=a+i,f="center";break;case"inside":u+=o/2,l+=s,f="center",h="middle";break;case"insideLeft":u+=i,l+=s,h="middle";break;case"insideRight":u+=o-i,l+=s,f="right",h="middle";break;case"insideTop":u+=o/2,l+=i,f="center";break;case"insideBottom":u+=o/2,l+=a-i,f="center",h="bottom";break;case"insideTopLeft":u+=i,l+=i;break;case"insideTopRight":u+=o-i,l+=i,f="right";break;case"insideBottomLeft":u+=i,l+=a-i,h="bottom";break;case"insideBottomRight":u+=o-i,l+=a-i,f="right",h="bottom";break}return e=e||{},e.x=u,e.y=l,e.align=f,e.verticalAlign=h,e}var _u="__zr_normal__",Su=xs.concat(["ignore"]),rS=Tr(xs,function(e,t){return e[t]=!0,e},{ignore:!1}),Tn={},nS=new Z(0,0,0,0),Na=[],Mo=0,Cs=1,Ms=(function(){function e(t){this.id=ig(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,r,n){switch(this.draggable){case"horizontal":r=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=r,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var r=this._textContent;if(r&&(!r.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,a=r.innerTransformable,o=void 0,s=void 0,u=!1;a.parent=i?this:null;var l=!1;a.copyTransform(r);var f=n.position!=null,h=n.autoOverflowArea,c=void 0;if((h||f)&&(c=nS,n.layoutRect?c.copy(n.layoutRect):c.copy(this.getBoundingRect()),i||c.applyTransform(this.transform)),f){this.calculateTextPosition?this.calculateTextPosition(Tn,n,c):Ag(Tn,n,c),a.x=Tn.x,a.y=Tn.y,o=Tn.align,s=Tn.verticalAlign;var v=n.origin;if(v&&n.rotation!=null){var d=void 0,g=void 0;v==="center"?(d=c.width*.5,g=c.height*.5):(d=Qn(v[0],c.width),g=Qn(v[1],c.height)),l=!0,a.originX=-a.x+d+(i?0:c.x),a.originY=-a.y+g+(i?0:c.y)}}n.rotation!=null&&(a.rotation=n.rotation);var p=n.offset;p&&(a.x+=p[0],a.y+=p[1],l||(a.originX=-p[0],a.originY=-p[1]));var m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(h){var y=m.overflowRect=m.overflowRect||new Z(0,0,0,0);a.getLocalTransform(Na),ya(Na,Na),Z.copy(y,c),y.applyTransform(Na)}else m.overflowRect=null;var _=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,S=void 0,T=void 0,w=void 0;_&&this.canBeInsideText()?(S=n.insideFill,T=n.insideStroke,(S==null||S==="auto")&&(S=this.getInsideTextFill()),(T==null||T==="auto")&&(T=this.getInsideTextStroke(S),w=!0)):(S=n.outsideFill,T=n.outsideStroke,(S==null||S==="auto")&&(S=this.getOutsideFill()),(T==null||T==="auto")&&(T=this.getOutsideStroke(S),w=!0)),S=S||"#000",(S!==m.fill||T!==m.stroke||w!==m.autoStroke||o!==m.align||s!==m.verticalAlign)&&(u=!0,m.fill=S,m.stroke=T,m.autoStroke=w,m.align=o,m.verticalAlign=s,r.setDefaultTextStyle(m)),r.__dirty|=$t,u&&r.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Gl:Vl},e.prototype.getOutsideStroke=function(t){var r=this.__zr&&this.__zr.getBackgroundColor(),n=typeof r=="string"&&Ne(r);n||(n=[255,255,255,1]);for(var i=n[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(a?0:255)*(1-i);return n[3]=1,_a(n,"rgba")},e.prototype.traverse=function(t,r){},e.prototype.attrKV=function(t,r){t==="textConfig"?this.setTextConfig(r):t==="textContent"?this.setTextContent(r):t==="clipPath"?this.setClipPath(r):t==="extra"?(this.extra=this.extra||{},k(this.extra,r)):this[t]=r},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,r){if(typeof t=="string")this.attrKV(t,r);else if(H(t))for(var n=t,i=gt(n),a=0;a0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var r=this.states;return r[t]||(r[t]={}),r[t]},e.prototype.clearStates=function(t){this.useState(_u,!1,t)},e.prototype.useState=function(t,r,n,i){var a=t===_u,o=this.hasState();if(!(!o&&a)){var s=this.currentStates,u=this.stateTransition;if(!(st(s,t)>=0&&(r||s.length===1))){var l;if(this.stateProxy&&!a&&(l=this.stateProxy(t)),l||(l=this.states&&this.states[t]),!l&&!a){Yf("State "+t+" not exists.");return}a||this.saveCurrentToNormalState(l);var f=this._textContent,h=Wc(this,f,l,i);h&&!this.__inHover&&(this.__inHover=h),this._applyStateObj(t,l,this._normalState,r,Xc(this,n,u),u);var c=this._textGuide;return f&&f.useState(t,r,n,!!h),c&&c.useState(t,r,n,!!h),a?(this.currentStates=[],this._normalState={}):r?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!h&&this.__inHover&&(this.__inHover=Mo,this.__dirty&=~$t),l}}},e.prototype.useStates=function(t,r,n){if(!t.length)this.clearStates();else{var i=[],a=this.currentStates,o=t.length,s=o===a.length;if(s){for(var u=0;u=0){var n=this.currentStates.slice();n.splice(r,1),this.useStates(n)}},e.prototype.replaceState=function(t,r,n){var i=this.currentStates.slice(),a=st(i,t),o=st(i,r)>=0;a>=0?o?i.splice(a,1):i[a]=r:n&&!o&&i.push(r),this.useStates(i)},e.prototype.toggleState=function(t,r){r?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var r={},n,i=0;i=0&&a.splice(o,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,r){for(var n=this.animators,i=n.length,a=[],o=0;o0&&r.during&&a[0].during(function(d,g){r.during(g)});for(var c=0;c0||i.force&&!o.length){var D=void 0,M=void 0,C=void 0;if(s){M={},c&&(D={});for(var S=0;S<_;S++){var m=g[S];M[m]=r[m],c?D[m]=n[m]:r[m]=n[m]}}else if(c){C={};for(var S=0;S<_;S++){var m=g[S];C[m]=wo(r[m]),aS(r,n,m)}}var T=new Qf(r,!1,!1,h?kt(d,function(I){return I.targetName===t}):null);T.targetName=t,i.scope&&(T.scope=i.scope),c&&D&&T.whenWithKeys(0,D,g),C&&T.whenWithKeys(0,C,g),T.whenWithKeys(l??500,s?M:n,g).delay(f||0),e.addAnimator(T,t),o.push(T)}}function Wc(e,t,r,n){return!(r&&r.hoverLayer||n)||Yc(e)||t&&Yc(t)?Mo:Cs}function Yc(e){return e.type==="text"||e.type==="tspan"}function Xc(e,t,r){return!t&&!e.__inHover&&r&&r.duration>0}var re=(function(e){z(t,e);function t(r){var n=e.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(r),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(r){return this._children[r]},t.prototype.childOfName=function(r){for(var n=this._children,i=0;i=0&&(i.splice(a,0,r),this._doAdd(r))}return this},t.prototype.replace=function(r,n){var i=st(this._children,r);return i>=0&&this.replaceAt(n,i),this},t.prototype.replaceAt=function(r,n){var i=this._children,a=i[n];if(r&&r!==this&&r.parent!==this&&r!==a){i[n]=r,a.parent=null;var o=this.__zr;o&&a.removeSelfFromZr(o),this._doAdd(r)}return this},t.prototype._doAdd=function(r){r.parent&&r.parent.remove(r),r.parent=this;var n=this.__zr;n&&n!==r.__zr&&r.addSelfToZr(n),n&&n.refresh()},t.prototype.remove=function(r){var n=this.__zr,i=this._children,a=st(i,r);return a<0?this:(i.splice(a,1),r.parent=null,n&&r.removeSelfFromZr(n),n&&n.refresh(),this)},t.prototype.removeAll=function(){for(var r=this._children,n=this.__zr,i=0;i0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||this._refresh({animUpdate:!1,refresh:!1,refreshHover:!0})},e.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,r){if(!this._disposed)return this.handler.findHover(t,r)},e.prototype.on=function(t,r,n){return this._disposed||this.handler.on(t,r,n),this},e.prototype.off=function(t,r){this._disposed||this.handler.off(t,r)},e.prototype.trigger=function(t,r){this._disposed||this.handler.trigger(t,r)},e.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),r=0;r0){if(e<=i)return o;if(e>=a)return s}else{if(e>=i)return o;if(e<=a)return s}else{if(e===i)return o;if(e===a)return s}return(e-i)/u*l+o}var Bt=pS;function pS(e,t,r){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return Wl(e,t,r)}function Wl(e,t,r){return F(e)?gS(e)?parseFloat(e)/100*t+(r||0):parseFloat(e):e==null?NaN:+e}function gS(e){return!!cS(e).match(/%$/)}function at(e,t,r){return isNaN(t)?r?""+e:+e:(t=ne(ht(0,t),Pg),e=(+e).toFixed(t),r?e:+e)}function Eg(e){return e.sort(function(t,r){return t-r}),e}function dr(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,r=0;r<15;r++,t*=10)if(er(e*t)/t===e)return r}return mS(e)}function mS(e){var t=e.toString().toLowerCase(),r=t.indexOf("e"),n=r>0?+t.slice(r+1):0,i=r>0?r:t.length,a=t.indexOf("."),o=a<0?0:i-1-a;return ht(0,o-n)}function yS(e,t,r){var n=Lt(e[1]-e[0]);if(!isFinite(n)||n===0)return NaN;var i=ra(2*Lt(r||1)*Lt(n))/Ul,a=ra(Lt(t))/Ul,o=ht(0,Ta(-i+a));return isFinite(o)||(o=NaN),o}function L2(e,t){var r=Tr(e,function(v,d){return v+(isNaN(d)?0:d)},0);if(r===0)return[];for(var n=dn(10,t),i=Y(e,function(v){return(isNaN(v)?0:v)/r*n*100}),a=n*100,o=Y(i,function(v){return ln(v)}),s=Tr(o,function(v,d){return v+d},0),u=Y(i,function(v,d){return v-o[d]});sl&&(l=u[h],f=h);++o[f],u[f]=0,++s}return Y(o,function(v){return v/n})}function _S(e,t){var r=ht(dr(e),dr(t)),n=e+t;return r>Pg?n:at(n,r)}var Kc=dn(2,53)-1;function Rg(e){var t=vS*2;return(e%t+t)%t}function Ko(e){return e>-$c&&e<$c}var SS=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function si(e){if(e instanceof Date)return e;if(F(e)){var t=SS.exec(e);if(!t)return new Date(NaN);if(t[8]){var r=+t[4]||0;return t[8].toUpperCase()!=="Z"&&(r-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,r,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}else return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}else if(e==null)return new Date(NaN);return new Date(er(e))}function Og(e){return dn(10,jf(e))}function jf(e){if(e===0)return 0;var t=ln(ra(e)/Ul);return e/dn(10,t)>=10&&t++,t}var kg=2;function Jf(e,t){var r=jf(e),n=dn(10,r),i=e/n,a;return t===kg?a=1:t?i<1.5?a=1:i<2.5?a=2:i<4?a=3:i<7?a=5:a=10:i<1?a=1:i<2?a=2:i<3?a=3:i<5?a=5:a=10,e=a*n,at(e,-r)}function Qo(e){var t=parseFloat(e);return t==e&&(t!==0||!F(e)||e.indexOf("x")<=0)?t:NaN}function TS(e){return!isNaN(Qo(e))}function th(){return er(dS()*9)}function Bg(e,t){return t===0?e:Bg(t,e%t)}function Qc(e,t){return e==null?t:t==null?e:e*t/Bg(e,t)}function Ge(e){return e!=null&&isFinite(e)}var wS="[ECharts] ",xS=typeof console<"u"&&console.warn&&console.log;function bS(e,t,r){xS&&console[e](wS+t)}function Ng(e,t){bS("error",e)}function Zt(e){throw new Error(e)}function jc(e,t,r){return(t-e)*r+e}var Fg="series\0",CS="\0_ec_\0";function Ut(e){return e instanceof Array?e:e==null?[]:[e]}function Jc(e,t,r){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var n=0,i=r.length;ne[1]&&(e[1]=t))}function Vg(e,t){rr(t)&&te[1]&&(e[1]=t)}function GS(e,t){jn(t[0],t[1])&&(t[0]e[1]&&(e[1]=t[1]))}function rr(e){return e!=null&&isFinite(e)}function jn(e,t){return rr(e)&&rr(t)&&e<=t}function US(e){var t=e[1]-e[0];return isFinite(t)&&t>=0}function WS(e){jn(e[0],e[1])&&e[0]>e[1]&&(e[0]=e[1])}function YS(){var e="__ec_once_"+XS++;return function(t,r){qt(t,e)||(t[e]=1,r())}}var XS=th();function nh(e,t,r){var n=W(),i=0;b(e,function(a){var o=t(a),s=n.get(o)||0;r&&r(a,s),!s&&!r&&(e[i++]=a),n.set(o,s+1)}),r||(e.length=i)}function ZS(e){return e.value+""}function $S(e){return e+""}function P2(e,t){return G(t,!0)?e.seriesIndex+2:0}function qS(e,t,r){var n=e.getData().count();return{progressiveRender:r.progressiveEnabled&&t.incrementalPrepareRender&&n>=r.threshold,large:e.get("large")&&n>=e.get("largeThreshold"),modDataCount:e.get("progressiveChunkMode")==="mod"?e.getData().count():null}}function E2(e,t){return{seriesType:e,overallReset:t}}function ih(e){return{overallReset:e}}var KS=".",Rr="___EC__COMPONENT__CONTAINER___",Ug="___EC__EXTENDED_CLASS___";function ke(e){var t={main:"",sub:""};if(e){var r=e.split(KS);t.main=r[0]||"",t.sub=r[1]||""}return t}function QS(e){tr(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function jS(e){return!!(e&&e[Ug])}function ah(e,t){e.$constructor=e,e.extend=function(r){var n=this,i;return JS(n)?i=(function(a){z(o,a);function o(){return a.apply(this,arguments)||this}return o})(n):(i=function(){(r.$constructor||n).apply(this,arguments)},F_(i,this)),k(i.prototype,r),i[Ug]=!0,i.extend=this.extend,i.superCall=rT,i.superApply=nT,i.superClass=n,i}}function JS(e){return j(e)&&/^class\s/.test(Function.prototype.toString.call(e))}function Wg(e,t){e.extend=t.extend}var tT=Math.round(Math.random()*10);function eT(e){var t=["__\0is_clz",tT++].join("_");e.prototype[t]=!0,e.isInstance=function(r){return!!(r&&r[t])}}function rT(e,t){for(var r=[],n=2;n=0||a&&st(a,u)<0)){var l=n.getShallow(u,t);l!=null&&(o[e[s][0]]=l)}}return o}}var iT=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],aT=ia(iT),oT=(function(){function e(){}return e.prototype.getAreaStyle=function(t,r){return aT(this,t,r)},e})(),Yl=new qn(50);function sT(e){if(typeof e=="string"){var t=Yl.get(e);return t&&t.image}else return e}function Yg(e,t,r,n,i){if(e)if(typeof e=="string"){if(t&&t.__zrImageSrc===e||!r)return t;var a=Yl.get(e),o={hostEl:r,cb:n,cbPayload:i};return a?(t=a.image,!As(t)&&a.pending.push(o)):(t=ee.loadImage(e,ev,ev),t.__zrImageSrc=e,Yl.put(e,t.__cachedImgObj={image:t,pending:[o]})),t}else return e;else return t}function ev(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t=s;l++)u-=s;var f=ze(o,r);return f>u&&(r="",f=0),u=e-f,i.ellipsis=r,i.ellipsisWidth=f,i.contentWidth=u,i.containerWidth=e,i}function Zg(e,t,r){var n=r.containerWidth,i=r.contentWidth,a=r.fontMeasureInfo;if(!n){e.textLine="",e.isTruncated=!1;return}var o=ze(a,t);if(o<=n){e.textLine=t,e.isTruncated=!1;return}for(var s=0;;s++){if(o<=i||s>=r.maxIterations){t+=r.ellipsis;break}var u=s===0?lT(t,i,a):o>0?Math.floor(t.length*i/o):0;t=t.substr(0,u),o=ze(a,t)}t===""&&(t=r.placeholder),e.textLine=t,e.isTruncated=!0}function lT(e,t,r){for(var n=0,i=0,a=e.length;ip&&v){var _=Math.floor(p/c);d=d||m.length>_,m=m.slice(0,_),y=m.length*c}if(i&&f&&g!=null)for(var S=Xg(g,l,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),T={},w=0;wd&&Cu(a,o.substring(d,p),t,v),Cu(a,g[2],t,v,g[1]),d=bu.lastIndex}dh){var $=a.lines.length;I>0?(M.tokens=M.tokens.slice(0,I),x(M,A,C),a.lines=a.lines.slice(0,D+1)):a.lines=a.lines.slice(0,D),a.isTruncated=a.isTruncated||a.lines.length<$;break t}var J=P.width,q=J==null||J==="auto";if(typeof J=="string"&&J.charAt(J.length-1)==="%")L.percentWidth=J,m.push(L),L.contentWidth=ze(Fe(N),L.text);else{if(q){var tt=P.backgroundColor,et=tt&&tt.image;et&&(et=sT(et),As(et)&&(L.width=Math.max(L.width,et.width*X/et.height)))}var V=S&&f!=null?f-A:null;V!=null&&V0&&d+n.accumWidth>n.width&&(f=t.split(` +`),l=!0),n.accumWidth=d}else{var g=$g(t,u,n.width,n.breakAll,n.accumWidth);n.accumWidth=g.accumWidth+v,h=g.linesWidths,f=g.lines}}f||(f=t.split(` +`));for(var p=Fe(u),m=0;m=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var pT=Tr(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function gT(e){return dT(e)?!!pT[e]:!0}function $g(e,t,r,n,i){for(var a=[],o=[],s="",u="",l=0,f=0,h=Fe(t),c=0;cr:i+f+d>r){f?(s||u)&&(g?(s||(s=u,u="",l=0,f=l),a.push(s),o.push(f-l),u+=v,l+=d,s="",f=l):(u&&(s+=u,u="",l=0),a.push(s),o.push(f),s=v,f=d)):g?(a.push(u),o.push(l),u=v,l=d):(a.push(v),o.push(d));continue}f+=d,g?(u+=v,l+=d):(u&&(s+=u,u="",l=0),s+=v)}return u&&(s+=u),s&&(a.push(s),o.push(f)),a.length===1&&(f+=i),{accumWidth:f,lines:a,linesWidths:o}}function nv(e,t,r,n,i,a){if(e.baseX=r,e.baseY=n,e.outerWidth=e.outerHeight=null,!!t){var o=t.width*2,s=t.height*2;Z.set(iv,Kn(r,o,i),nn(n,s,a),o,s),Z.intersect(t,iv,null,av);var u=av.outIntersectRect;e.outerWidth=u.width,e.outerHeight=u.height,e.baseX=Kn(u.x,u.width,i,!0),e.baseY=nn(u.y,u.height,a,!0)}}var iv=new Z(0,0,0,0),av={outIntersectRect:{},clamp:!0};function oh(e){return e!=null?e+="":e=""}function mT(e){var t=oh(e.text),r=e.font,n=ze(Fe(r),t),i=bs(r);return Xl(e,n,i,null)}function Xl(e,t,r,n){var i=new Z(Kn(e.x||0,t,e.textAlign),nn(e.y||0,r,e.textBaseline),t,r),a=n??(qg(e)?e.lineWidth:0);return a>0&&(i.x-=a/2,i.y-=a/2,i.width+=a,i.height+=a),i}function qg(e){var t=e.stroke;return t!=null&&t!=="none"&&e.lineWidth>0}var Zl="__zr_style_"+Math.round(Math.random()*10),an={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Ls={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};an[Zl]=!0;var ov=["z","z2","invisible"],yT=["invisible"],Ca=(function(e){z(t,e);function t(r){return e.call(this,r)||this}return t.prototype._init=function(r){for(var n=gt(r),i=0;i1e-4){s[0]=e-r,s[1]=t-n,u[0]=e+r,u[1]=t+n;return}if(Fa[0]=Lu(i)*r+e,Fa[1]=Au(i)*n+t,za[0]=Lu(a)*r+e,za[1]=Au(a)*n+t,l(s,Fa,za),f(u,Fa,za),i=i%Or,i<0&&(i=i+Or),a=a%Or,a<0&&(a=a+Or),i>a&&!o?a+=Or:ii&&(Ha[0]=Lu(v)*r+e,Ha[1]=Au(v)*n+t,l(s,Ha,s),f(u,Ha,u))}var ot={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},kr=[],Br=[],De=[],ir=[],Ae=[],Le=[],Iu=Math.min,Pu=Math.max,Nr=Math.cos,Fr=Math.sin,$e=Math.abs,$l=Math.PI,fr=$l*2,Eu=typeof Float32Array<"u",pi=[];function Ru(e){var t=Math.round(e/$l*1e8)/1e8;return t%2*$l}function xT(e,t){var r=Ru(e[0]);r<0&&(r+=fr);var n=r-e[0],i=e[1];i+=n,!t&&i-r>=fr?i=r+fr:t&&r-i>=fr?i=r-fr:!t&&r>i?i=r+(fr-Ru(r-i)):t&&r0&&(this._ux=$e(n/$o/t)||0,this._uy=$e(n/$o/r)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,r){return this._drawPendingPt(),this.addData(ot.M,t,r),this._ctx&&this._ctx.moveTo(t,r),this._x0=t,this._y0=r,this._xi=t,this._yi=r,this},e.prototype.lineTo=function(t,r){var n=$e(t-this._xi),i=$e(r-this._yi),a=n>this._ux||i>this._uy;if(this.addData(ot.L,t,r),this._ctx&&a&&this._ctx.lineTo(t,r),a)this._xi=t,this._yi=r,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=r,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,r,n,i,a,o){return this._drawPendingPt(),this.addData(ot.C,t,r,n,i,a,o),this._ctx&&this._ctx.bezierCurveTo(t,r,n,i,a,o),this._xi=a,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,r,n,i){return this._drawPendingPt(),this.addData(ot.Q,t,r,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,r,n,i),this._xi=n,this._yi=i,this},e.prototype.arc=function(t,r,n,i,a,o){this._drawPendingPt(),pi[0]=i,pi[1]=a,xT(pi,o),i=pi[0],a=pi[1];var s=a-i;return this.addData(ot.A,t,r,n,n,i,s,0,o?0:1),this._ctx&&this._ctx.arc(t,r,n,i,a,o),this._xi=Nr(a)*n+t,this._yi=Fr(a)*n+r,this},e.prototype.arcTo=function(t,r,n,i,a){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,r,n,i,a),this},e.prototype.rect=function(t,r,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,r,n,i),this.addData(ot.R,t,r,n,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(ot.Z);var t=this._ctx,r=this._x0,n=this._y0;return t&&t.closePath(),this._xi=r,this._yi=n,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){if(this._saveData){var r=t.length;!(this.data&&this.data.length===r)&&Eu&&(this.data=new Float32Array(r));for(var n=0;n0&&o))for(var s=0;sf.length&&(this._expandData(),f=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],r=0;r11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){De[0]=De[1]=Ae[0]=Ae[1]=Number.MAX_VALUE,ir[0]=ir[1]=Le[0]=Le[1]=-Number.MAX_VALUE;var t=this.data,r=0,n=0,i=0,a=0,o;for(o=0;on||$e(_)>i||c===r-1)&&(g=Math.sqrt(y*y+_*_),a=p,o=m);break}case ot.C:{var S=t[c++],T=t[c++],p=t[c++],m=t[c++],w=t[c++],x=t[c++];g=I1(a,o,S,T,p,m,w,x,10),a=w,o=x;break}case ot.Q:{var S=t[c++],T=t[c++],p=t[c++],m=t[c++];g=R1(a,o,S,T,p,m,10),a=p,o=m;break}case ot.A:var D=t[c++],M=t[c++],C=t[c++],A=t[c++],I=t[c++],L=t[c++],P=L+I;c+=1,d&&(s=Nr(I)*C+D,u=Fr(I)*A+M),g=Pu(C,A)*Iu(fr,Math.abs(L)),a=Nr(P)*C+D,o=Fr(P)*A+M;break;case ot.R:{s=a=t[c++],u=o=t[c++];var E=t[c++],R=t[c++];g=E*2+R*2;break}case ot.Z:{var y=s-a,_=u-o;g=Math.sqrt(y*y+_*_),a=s,o=u;break}}g>=0&&(l[h++]=g,f+=g)}return this._pathLen=f,f},e.prototype.rebuildPath=function(t,r){var n=this.data,i=this._ux,a=this._uy,o=this._len,s,u,l,f,h,c,v=r<1,d,g,p=0,m=0,y,_=0,S,T;if(!(v&&(this._pathSegLen||this._calculateLength(),d=this._pathSegLen,g=this._pathLen,y=r*g,!y)))t:for(var w=0;w0&&(t.lineTo(S,T),_=0),x){case ot.M:s=l=n[w++],u=f=n[w++],t.moveTo(l,f);break;case ot.L:{h=n[w++],c=n[w++];var M=$e(h-l),C=$e(c-f);if(M>i||C>a){if(v){var A=d[m++];if(p+A>y){var I=(y-p)/A;t.lineTo(l*(1-I)+h*I,f*(1-I)+c*I);break t}p+=A}t.lineTo(h,c),l=h,f=c,_=0}else{var L=M*M+C*C;L>_&&(S=h,T=c,_=L)}break}case ot.C:{var P=n[w++],E=n[w++],R=n[w++],N=n[w++],X=n[w++],$=n[w++];if(v){var A=d[m++];if(p+A>y){var I=(y-p)/A;Yo(l,P,R,X,I,kr),Yo(f,E,N,$,I,Br),t.bezierCurveTo(kr[1],Br[1],kr[2],Br[2],kr[3],Br[3]);break t}p+=A}t.bezierCurveTo(P,E,R,N,X,$),l=X,f=$;break}case ot.Q:{var P=n[w++],E=n[w++],R=n[w++],N=n[w++];if(v){var A=d[m++];if(p+A>y){var I=(y-p)/A;Xo(l,P,R,I,kr),Xo(f,E,N,I,Br),t.quadraticCurveTo(kr[1],Br[1],kr[2],Br[2]);break t}p+=A}t.quadraticCurveTo(P,E,R,N),l=R,f=N;break}case ot.A:var J=n[w++],q=n[w++],tt=n[w++],et=n[w++],V=n[w++],it=n[w++],ut=n[w++],jt=!n[w++],Ze=tt>et?tt:et,Jt=$e(tt-et)>.001,It=V+it,Q=!1;if(v){var A=d[m++];p+A>y&&(It=V+it*(y-p)/A,Q=!0),p+=A}if(Jt&&t.ellipse?t.ellipse(J,q,tt,et,ut,V,It,jt):t.arc(J,q,Ze,V,It,jt),Q)break t;D&&(s=Nr(V)*tt+J,u=Fr(V)*et+q),l=Nr(It)*tt+J,f=Fr(It)*et+q;break;case ot.R:s=l=n[w],u=f=n[w+1],h=n[w++],c=n[w++];var nt=n[w++],Mr=n[w++];if(v){var A=d[m++];if(p+A>y){var zt=y-p;t.moveTo(h,c),t.lineTo(h+Iu(zt,nt),c),zt-=nt,zt>0&&t.lineTo(h+nt,c+Iu(zt,Mr)),zt-=Mr,zt>0&&t.lineTo(h+Pu(nt-zt,0),c+Mr),zt-=nt,zt>0&&t.lineTo(h,c+Pu(Mr-zt,0));break t}p+=A}t.rect(h,c,nt,Mr);break;case ot.Z:if(v){var A=d[m++];if(p+A>y){var I=(y-p)/A;t.lineTo(l*(1-I)+s*I,f*(1-I)+u*I);break t}p+=A}t.closePath(),l=s,f=u}}},e.prototype.clone=function(){var t=new e,r=this.data;return t.data=r.slice?r.slice():Array.prototype.slice.call(r),t._len=this._len,t},e.prototype.canSave=function(){return!!this._saveData},e.CMD=ot,e.initDefaultProps=(function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0})(),e})();function wn(e,t,r,n,i,a,o){if(i===0)return!1;var s=i,u=0,l=e;if(o>t+s&&o>n+s||oe+s&&a>r+s||at+h&&f>n+h&&f>a+h&&f>s+h||fe+h&&l>r+h&&l>i+h&&l>o+h||lt+l&&u>n+l&&u>a+l||ue+l&&s>r+l&&s>i+l||sr||f+li&&(i+=gi);var c=Math.atan2(u,s);return c<0&&(c+=gi),c>=n&&c<=i||c+gi>=n&&c+gi<=i}function zr(e,t,r,n,i,a){if(a>t&&a>n||ai?s:0}var ar=Jn.CMD,Hr=Math.PI*2,DT=1e-4;function AT(e,t){return Math.abs(e-t)t&&l>n&&l>a&&l>s||l1&<(),v=Vt(t,n,a,s,he[0]),c>1&&(d=Vt(t,n,a,s,he[1]))),c===2?pt&&s>n&&s>a||s=0&&l<=1){for(var f=0,h=Xt(t,n,a,l),c=0;cr||s<-r)return 0;var u=Math.sqrt(r*r-s*s);Ht[0]=-u,Ht[1]=u;var l=Math.abs(n-i);if(l<1e-4)return 0;if(l>=Hr-1e-4){n=0,i=Hr;var f=a?1:-1;return o>=Ht[0]+e&&o<=Ht[1]+e?f:0}if(n>i){var h=n;n=i,i=h}n<0&&(n+=Hr,i+=Hr);for(var c=0,v=0;v<2;v++){var d=Ht[v];if(d+e>o){var g=Math.atan2(s,d),f=a?1:-1;g<0&&(g=Hr+g),(g>=n&&g<=i||g+Hr>=n&&g+Hr<=i)&&(g>Math.PI/2&&g1&&(r||(s+=zr(u,l,f,h,n,i))),p&&(u=a[d],l=a[d+1],f=u,h=l),g){case ar.M:f=a[d++],h=a[d++],u=f,l=h;break;case ar.L:if(r){if(wn(u,l,a[d],a[d+1],t,n,i))return!0}else s+=zr(u,l,a[d],a[d+1],n,i)||0;u=a[d++],l=a[d++];break;case ar.C:if(r){if(bT(u,l,a[d++],a[d++],a[d++],a[d++],a[d],a[d+1],t,n,i))return!0}else s+=IT(u,l,a[d++],a[d++],a[d++],a[d++],a[d],a[d+1],n,i)||0;u=a[d++],l=a[d++];break;case ar.Q:if(r){if(CT(u,l,a[d++],a[d++],a[d],a[d+1],t,n,i))return!0}else s+=PT(u,l,a[d++],a[d++],a[d],a[d+1],n,i)||0;u=a[d++],l=a[d++];break;case ar.A:var m=a[d++],y=a[d++],_=a[d++],S=a[d++],T=a[d++],w=a[d++];d+=1;var x=!!(1-a[d++]);c=Math.cos(T)*_+m,v=Math.sin(T)*S+y,p?(f=c,h=v):s+=zr(u,l,c,v,n,i);var D=(n-m)*S/_+m;if(r){if(MT(m,y,S,T,T+w,x,t,D,i))return!0}else s+=ET(m,y,S,T,T+w,x,D,i);u=Math.cos(T+w)*_+m,l=Math.sin(T+w)*S+y;break;case ar.R:f=u=a[d++],h=l=a[d++];var M=a[d++],C=a[d++];if(c=f+M,v=h+C,r){if(wn(f,h,c,h,t,n,i)||wn(c,h,c,v,t,n,i)||wn(c,v,f,v,t,n,i)||wn(f,v,f,h,t,n,i))return!0}else s+=zr(c,h,c,v,n,i),s+=zr(f,v,f,h,n,i);break;case ar.Z:if(r){if(wn(u,l,f,h,t,n,i))return!0}else s+=zr(u,l,f,h,n,i);u=f,l=h;break}}return!r&&!AT(l,h)&&(s+=zr(u,l,f,h,n,i)||0),s!==0}function RT(e,t,r){return Kg(e,0,!1,t,r)}function OT(e,t,r,n){return Kg(e,t,!0,r,n)}var Qg=pt({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},an),kT={style:pt({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Ls.style)},Ou=xs.concat(["invisible","culling","z","z2","zlevel","parent"]),mt=(function(e){z(t,e);function t(r){return e.call(this,r)||this}return t.prototype.update=function(){var r=this;e.prototype.update.call(this);var n=this.style;if(n.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(u){r.buildPath(u,r.shape)}),i.silent=!0;var a=i.style;for(var o in n)a[o]!==n[o]&&(a[o]=n[o]);a.fill=n.fill?n.decal:null,a.decal=null,a.shadowColor=null,n.strokeFirst&&(a.stroke=null);for(var s=0;s.5?Vl:n>.2?J1:Gl}else if(r)return Gl}return Vl},t.prototype.getInsideTextStroke=function(r){var n=this.style.fill;if(F(n)){var i=this.__zr,a=!!(i&&i.isDarkMode()),o=Zo(r,0)0))},t.prototype.hasFill=function(){var r=this.style,n=r.fill;return n!=null&&n!=="none"},t.prototype.getBoundingRect=function(){var r=this._rect,n=this.style,i=!r;if(i){var a=!1;this.path||(a=!0,this.createPathProxy());var o=this.path;(a||this.__dirty&On)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),r=o.getBoundingRect()}if(this._rect=r,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=r.clone());if(this.__dirty||i){s.copy(r);var u=n.strokeNoScale?this.getLineScale():1,l=n.lineWidth;if(!this.hasFill()){var f=this.strokeContainThreshold;l=Math.max(l,f??4)}u>1e-10&&(s.width+=l/u,s.height+=l/u,s.x-=l/u/2,s.y-=l/u/2)}return s}return r},t.prototype.contain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect(),o=this.style;if(r=i[0],n=i[1],a.contain(r,n)){var s=this.path;if(this.hasStroke()){var u=o.lineWidth,l=o.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(this.hasFill()||(u=Math.max(u,this.strokeContainThreshold)),OT(s,u/l,r,n)))return!0}if(this.hasFill())return RT(s,r,n)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=On,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(r){return this.animate("shape",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():r==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(r,n){r==="shape"?this.setShape(n):e.prototype.attrKV.call(this,r,n)},t.prototype.setShape=function(r,n){var i=this.shape;return i||(i=this.shape={}),typeof r=="string"?i[r]=n:k(i,r),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&On)},t.prototype.createStyle=function(r){return ws(Qg,r)},t.prototype._innerSaveToNormal=function(r){e.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.shape&&!n.shape&&(n.shape=k({},this.shape))},t.prototype._applyStateObj=function(r,n,i,a,o,s){if(e.prototype._applyStateObj.call(this,r,n,i,a,o,s),this.__inHover!==Cs){var u=!(n&&a),l;if(n&&n.shape?o?a?l=n.shape:(l=k({},i.shape),k(l,n.shape)):(l=k({},a?this.shape:i.shape),k(l,n.shape)):u&&(l=i.shape),l)if(o){this.shape=k({},this.shape);for(var f={},h=gt(l),c=0;ci&&(h=s+u,s*=i/h,u*=i/h),l+f>i&&(h=l+f,l*=i/h,f*=i/h),u+l>a&&(h=u+l,u*=a/h,l*=a/h),s+f>a&&(h=s+f,s*=a/h,f*=a/h),e.moveTo(r+s,n),e.lineTo(r+i-u,n),u!==0&&e.arc(r+i-u,n+u,u,-Math.PI/2,0),e.lineTo(r+i,n+a-l),l!==0&&e.arc(r+i-l,n+a-l,l,0,Math.PI/2),e.lineTo(r+f,n+a),f!==0&&e.arc(r+f,n+a-f,f,Math.PI/2,Math.PI),e.lineTo(r,n+s),s!==0&&e.arc(r+s,n+s,s,Math.PI,Math.PI*1.5),e.closePath()}var Hn=Math.round;function jg(e,t,r){if(t){var n=t.x1,i=t.x2,a=t.y1,o=t.y2;e.x1=n,e.x2=i,e.y1=a,e.y2=o;var s=r&&r.lineWidth;return s&&(Hn(n*2)===Hn(i*2)&&(e.x1=e.x2=Jr(n,s,!0)),Hn(a*2)===Hn(o*2)&&(e.y1=e.y2=Jr(a,s,!0))),e}}function Jg(e,t,r){if(t){var n=t.x,i=t.y,a=t.width,o=t.height;e.x=n,e.y=i,e.width=a,e.height=o;var s=r&&r.lineWidth;return s&&(e.x=Jr(n,s,!0),e.y=Jr(i,s,!0),e.width=Math.max(Jr(n+a,s,!1)-e.x,a===0?0:1),e.height=Math.max(Jr(i+o,s,!1)-e.y,o===0?0:1)),e}}function Jr(e,t,r){if(!t)return e;var n=Hn(e*2);return(n+Hn(t))%2===0?n/2:(n+(r?1:-1))/2}var VT=(function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e})(),GT={},Mt=(function(e){z(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new VT},t.prototype.buildPath=function(r,n){var i,a,o,s;if(this.subPixelOptimize){var u=Jg(GT,n,this.style);i=u.x,a=u.y,o=u.width,s=u.height,u.r=n.r,n=u}else i=n.x,a=n.y,o=n.width,s=n.height;n.r?HT(r,n):r.rect(i,a,o,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t})(mt);Mt.prototype.type="rect";var hv={fill:"#000"},cv=2,Ie={},UT={style:pt({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Ls.style)},ie=(function(e){z(t,e);function t(r){var n=e.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=hv,n.attr(r),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var r=0;r0,I=0;I=0&&(P=w[L],P.align==="right");)this._placeToken(P,r,D,m,I,"right",_),M-=P.width,I-=P.width,L--;for(A+=(f-(A-p)-(y-I)-M)/2;C<=L;)P=w[C],this._placeToken(P,r,D,m,A+P.width/2,"center",_),A+=P.width,C++;m+=D}},t.prototype._placeToken=function(r,n,i,a,o,s,u){var l=n.rich[r.styleName]||{};l.text=r.text;var f=r.verticalAlign,h=a+i/2;f==="top"?h=a+r.height/2:f==="bottom"&&(h=a+i-r.height/2);var c=!r.isLineHolder&&ku(l);c&&this._renderBackground(l,n,s==="right"?o-r.width:s==="center"?o-r.width/2:o,h-r.height/2,r.width,r.height);var v=!!l.backgroundColor,d=r.textPadding;d&&(o=yv(o,s,d),h-=r.height/2-d[0]-r.innerHeight/2);var g=this._getOrCreateChild(jo),p=g.createStyle();g.useStyle(p);var m=this._defaultStyle,y=!1,_=0,S=!1,T=mv("fill"in l?l.fill:"fill"in n?n.fill:(y=!0,m.fill)),w=gv("stroke"in l?l.stroke:"stroke"in n?n.stroke:!v&&!u&&(!m.autoStroke||y)?(_=cv,S=!0,m.stroke):null),x=l.textShadowBlur>0||n.textShadowBlur>0;p.text=r.text,p.x=o,p.y=h,x&&(p.shadowBlur=l.textShadowBlur||n.textShadowBlur||0,p.shadowColor=l.textShadowColor||n.textShadowColor||"transparent",p.shadowOffsetX=l.textShadowOffsetX||n.textShadowOffsetX||0,p.shadowOffsetY=l.textShadowOffsetY||n.textShadowOffsetY||0),p.textAlign=s,p.textBaseline="middle",p.font=r.font||Sr,p.opacity=Gn(l.opacity,n.opacity,1),dv(p,l),w&&(p.lineWidth=Gn(l.lineWidth,n.lineWidth,_),p.lineDash=G(l.lineDash,n.lineDash),p.lineDashOffset=n.lineDashOffset||0,p.stroke=w),T&&(p.fill=T),g.setBoundingRect(Xl(p,r.contentWidth,r.contentHeight,S?0:null))},t.prototype._renderBackground=function(r,n,i,a,o,s){var u=r.backgroundColor,l=r.borderWidth,f=r.borderColor,h=u&&u.image,c=u&&!h,v=r.borderRadius,d=this,g,p;if(c||r.lineHeight||l&&f){g=this._getOrCreateChild(Mt),g.useStyle(g.createStyle()),g.style.fill=null;var m=g.shape;m.x=i,m.y=a,m.width=o,m.height=s,m.r=v,g.dirtyShape()}if(c){var y=g.style;y.fill=u||null,y.fillOpacity=G(r.fillOpacity,1)}else if(h){p=this._getOrCreateChild(pn),p.onload=function(){d.dirtyStyle()};var _=p.style;_.image=u.image,_.x=i,_.y=a,_.width=o,_.height=s}if(l&&f){var y=g.style;y.lineWidth=l,y.stroke=f,y.strokeOpacity=G(r.strokeOpacity,1),y.lineDash=r.borderDash,y.lineDashOffset=r.borderDashOffset||0,g.strokeContainThreshold=0,g.hasFill()&&g.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2)}var S=(g||p).style;S.shadowBlur=r.shadowBlur||0,S.shadowColor=r.shadowColor||"transparent",S.shadowOffsetX=r.shadowOffsetX||0,S.shadowOffsetY=r.shadowOffsetY||0,S.opacity=Gn(r.opacity,n.opacity,1)},t.makeFont=function(r){var n="";return ZT(r)&&(n=[r.fontStyle,r.fontWeight,XT(r.fontSize),r.fontFamily||"sans-serif"].join(" ")),n&&Oe(n)||r.textFont||r.font},t})(Ca),WT={left:!0,right:1,center:1},YT={top:1,bottom:1,middle:1},vv=["fontStyle","fontWeight","fontSize","fontFamily"];function XT(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?Gf+"px":e+"px"}function dv(e,t){for(var r=0;r=0,a=!1;if(e instanceof mt){var o=im(e),s=i&&o.selectFill||o.normalFill,u=i&&o.selectStroke||o.normalStroke;if(xn(s)||xn(u)){n=n||{};var l=n.style||{};l.fill==="inherit"?(a=!0,n=k({},n),l=k({},l),l.fill=s):!xn(l.fill)&&xn(s)?(a=!0,n=k({},n),l=k({},l),l.fill=Rc(s)):!xn(l.stroke)&&xn(u)&&(a||(n=k({},n),l=k({},l)),l.stroke=Rc(u)),n.style=l}}if(n&&n.z2==null){a||(n=k({},n));var f=e.z2EmphasisLift;n.z2=e.z2+(f??jT)}return n}function iw(e,t,r){if(r&&r.z2==null){r=k({},r);var n=e.z2SelectLift;r.z2=e.z2+(n??JT)}return r}function aw(e,t,r){var n=st(e.currentStates,t)>=0,i=e.style.opacity,a=n?null:rw(e,["opacity"],t,{opacity:1});r=r||{};var o=r.style||{};return o.opacity==null&&(r=k({},r),o=k({opacity:n?i:a.opacity*.1},o),r.style=o),r}function Bu(e,t){var r=this.states[e];if(this.style){if(e==="emphasis")return nw(this,e,t,r);if(e==="blur")return aw(this,e,r);if(e==="select")return iw(this,e,r)}return r}function ow(e){e.stateProxy=Bu;var t=e.getTextContent(),r=e.getTextGuideLine();t&&(t.stateProxy=Bu),r&&(r.stateProxy=Bu)}function bv(e,t){!hm(e,t)&&!e.__highByOuter&&nr(e,am)}function Cv(e,t){!hm(e,t)&&!e.__highByOuter&&nr(e,om)}function Kl(e,t){e.__highByOuter|=1<<(t||0),nr(e,am)}function Ql(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&nr(e,om)}function sw(e){nr(e,fh)}function um(e){nr(e,sm)}function lm(e){nr(e,tw)}function fm(e){nr(e,ew)}function hm(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function cm(e){var t=e.getModel(),r=[],n=[];t.eachComponent(function(i,a){var o=sh(a),s=QT(e,a),u=i==="series";!u&&n.push(s),o.isBlured&&(s.group.traverse(function(l){sm(l)}),u&&r.push(a)),o.isBlured=!1}),b(n,function(i){i&&i.toggleBlurSeries&&i.toggleBlurSeries(r,!1,t)})}function jl(e,t,r,n){var i=n.getModel();r=r||"coordinateSystem";function a(l,f){for(var h=0;h0){var s={dataIndex:o,seriesIndex:r.seriesIndex};a!=null&&(s.dataType=a),t.push(s)}})}),t}function tf(e,t,r){vm(e,!0),nr(e,ow),dw(e,t,r)}function vw(e){vm(e,!1)}function O2(e,t,r,n){n?vw(e):tf(e,t,r)}function dw(e,t,r){var n=yt(e);t!=null?(n.focus=t,n.blurScope=r):n.focus&&(n.focus=null)}var Dv=["emphasis","blur","select"],pw={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function k2(e,t,r,n){r=r||"itemStyle";for(var i=0;i1&&(o*=Nu(d),s*=Nu(d));var g=(i===a?-1:1)*Nu((o*o*(s*s)-o*o*(v*v)-s*s*(c*c))/(o*o*(v*v)+s*s*(c*c)))||0,p=g*o*v/s,m=g*-s*c/o,y=(e+r)/2+Ua(h)*p-Ga(h)*m,_=(t+n)/2+Ga(h)*p+Ua(h)*m,S=Pv([1,0],[(c-p)/o,(v-m)/s]),T=[(c-p)/o,(v-m)/s],w=[(-1*c-p)/o,(-1*v-m)/s],x=Pv(T,w);if(nf(T,w)<=-1&&(x=mi),nf(T,w)>=1&&(x=0),x<0){var D=Math.round(x/mi*1e6)/1e6;x=mi*2+D%2*mi}f.addData(l,y,_,o,s,S,x,h,a)}var Tw=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,ww=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function xw(e){var t=new Jn;if(!e)return t;var r=0,n=0,i=r,a=n,o,s=Jn.CMD,u=e.match(Tw);if(!u)return t;for(var l=0;lP*P+E*E&&(D=C,M=A),{cx:D,cy:M,x0:-f,y0:-h,x1:D*(i/T-1),y1:M*(i/T-1)}}function Pw(e){var t;if(B(e)){var r=e.length;if(!r)return e;r===1?t=[e[0],e[0],0,0]:r===2?t=[e[0],e[0],e[1],e[1]]:r===3?t=e.concat(e[2]):t=e}else t=[e,e,e,e];return t}function Ew(e,t){var r,n=ki(t.r,0),i=ki(t.r0||0,0),a=n>0,o=i>0;if(!(!a&&!o)){if(a||(n=i,i=0),i>n){var s=n;n=i,i=s}var u=t.startAngle,l=t.endAngle;if(!(isNaN(u)||isNaN(l))){var f=t.cx,h=t.cy,c=!!t.clockwise,v=Rv(l-u),d=v>Fu&&v%Fu;if(d>Te&&(v=d),!(n>Te))e.moveTo(f,h);else if(v>Fu-Te)e.moveTo(f+n*Cn(u),h+n*Vr(u)),e.arc(f,h,n,u,l,!c),i>Te&&(e.moveTo(f+i*Cn(l),h+i*Vr(l)),e.arc(f,h,i,l,u,c));else{var g=void 0,p=void 0,m=void 0,y=void 0,_=void 0,S=void 0,T=void 0,w=void 0,x=void 0,D=void 0,M=void 0,C=void 0,A=void 0,I=void 0,L=void 0,P=void 0,E=n*Cn(u),R=n*Vr(u),N=i*Cn(l),X=i*Vr(l),$=v>Te;if($){var J=t.cornerRadius;J&&(r=Pw(J),g=r[0],p=r[1],m=r[2],y=r[3]);var q=Rv(n-i)/2;if(_=Pe(q,m),S=Pe(q,y),T=Pe(q,g),w=Pe(q,p),M=x=ki(_,S),C=D=ki(T,w),(x>Te||D>Te)&&(A=n*Cn(l),I=n*Vr(l),L=i*Cn(u),P=i*Vr(u),vTe){var Jt=Pe(m,M),It=Pe(y,M),Q=Wa(L,P,E,R,n,Jt,c),nt=Wa(A,I,N,X,n,It,c);e.moveTo(f+Q.cx+Q.x0,h+Q.cy+Q.y0),M0&&e.arc(f+Q.cx,h+Q.cy,Jt,Et(Q.y0,Q.x0),Et(Q.y1,Q.x1),!c),e.arc(f,h,n,Et(Q.cy+Q.y1,Q.cx+Q.x1),Et(nt.cy+nt.y1,nt.cx+nt.x1),!c),It>0&&e.arc(f+nt.cx,h+nt.cy,It,Et(nt.y1,nt.x1),Et(nt.y0,nt.x0),!c))}else e.moveTo(f+E,h+R),e.arc(f,h,n,u,l,!c);if(!(i>Te)||!$)e.lineTo(f+N,h+X);else if(C>Te){var Jt=Pe(g,C),It=Pe(p,C),Q=Wa(N,X,A,I,i,-It,c),nt=Wa(E,R,L,P,i,-Jt,c);e.lineTo(f+Q.cx+Q.x0,h+Q.cy+Q.y0),C0&&e.arc(f+Q.cx,h+Q.cy,It,Et(Q.y0,Q.x0),Et(Q.y1,Q.x1),!c),e.arc(f,h,i,Et(Q.cy+Q.y1,Q.cx+Q.x1),Et(nt.cy+nt.y1,nt.cx+nt.x1),c),Jt>0&&e.arc(f+nt.cx,h+nt.cy,Jt,Et(nt.y1,nt.x1),Et(nt.y0,nt.x0),!c))}else e.lineTo(f+N,h+X),e.arc(f,h,i,l,u,c)}e.closePath()}}}var Rw=(function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return e})(),Os=(function(e){z(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new Rw},t.prototype.buildPath=function(r,n){Ew(r,n)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t})(mt);Os.prototype.type="sector";var Ow=(function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e})(),vh=(function(e){z(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new Ow},t.prototype.buildPath=function(r,n){var i=n.cx,a=n.cy,o=Math.PI*2;r.moveTo(i+n.r,a),r.arc(i,a,n.r,0,o,!1),r.moveTo(i+n.r0,a),r.arc(i,a,n.r0,0,o,!0)},t})(mt);vh.prototype.type="ring";function kw(e,t,r,n){var i=[],a=[],o=[],s=[],u,l,f,h;if(n){f=[1/0,1/0],h=[-1/0,-1/0];for(var c=0,v=e.length;c=2){if(n){var a=kw(i,n,r,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var o=i.length,s=0;s<(r?o:o-1);s++){var u=a[s*2],l=a[s*2+1],f=i[(s+1)%o];e.bezierCurveTo(u[0],u[1],l[0],l[1],f[0],f[1])}}else{e.moveTo(i[0][0],i[0][1]);for(var s=1,h=i.length;sUr[1]){if(a=!1,At.negativeSize||n)return a;var u=Ya(Ur[0]-Gr[1]),l=Ya(Gr[0]-Ur[1]);zu(u,l)>Za.len()&&(u=l||!At.bidirectional)&&(ct.scale(Xa,s,-l*i),At.useDir&&At.calcDirMTV()))}}return a},e.prototype._getProjMinMaxOnAxis=function(t,r,n){for(var i=this._axes[t],a=this._origin,o=r[0].dot(i)+a[t],s=o,u=o,l=1;l0){var h=f.duration,c=f.delay,v=f.easing,d={duration:h,delay:c||0,easing:v,done:a,force:!!a||!!o,setToFinal:!l,scope:e,during:o};s?t.animateFrom(r,d):t.animateTo(r,d)}else t.stopAnimation(),!s&&t.attr(r),o&&o(1),a&&a()}function Ma(e,t,r,n,i,a){mh("update",e,t,r,n,i,a)}function Bs(e,t,r,n,i,a){mh("enter",e,t,r,n,i,a)}function Xi(e){if(!e.__zr)return!0;for(var t=0;tLt(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function Bv(e){return!e.isGroup}function lx(e){return e.shape!=null}function Lm(e,t,r){if(!e||!t)return;function n(o){var s={};return o.traverse(function(u){Bv(u)&&u.anid&&(s[u.anid]=u)}),s}function i(o){var s={x:o.x,y:o.y,rotation:o.rotation};return lx(o)&&(s.shape=rt(o.shape)),s}var a=n(e);t.traverse(function(o){if(Bv(o)&&o.anid){var s=a[o.anid];if(s){var u=i(o);o.attr(i(s)),Ma(o,u,r,yt(o).dataIndex)}}})}function fx(e,t){return Y(e,function(r){var n=r[0];n=ht(n,t.x),n=ne(n,t.x+t.width);var i=r[1];return i=ht(i,t.y),i=ne(i,t.y+t.height),[n,i]})}function hx(e,t){var r=ht(e.x,t.x),n=ne(e.x+e.width,t.x+t.width),i=ht(e.y,t.y),a=ne(e.y+e.height,t.y+t.height);if(n>=r&&a>=i)return{x:r,y:i,width:n-r,height:a-i}}function Sh(e,t,r){var n=k({rectHover:!0},t),i=n.style={strokeNoScale:!0};if(r=r||{x:-1,y:-1,width:2,height:2},e)return e.indexOf("image://")===0?(i.image=e.slice(8),pt(i,r),new pn(n)):yh(e.replace("path://",""),n,r,"center")}function cx(e,t,r,n,i){for(var a=0,o=i[i.length-1];a1)return!1;var p=Hu(v,d,f,h)/c;return!(p<0||p>1)}function Hu(e,t,r,n){return e*n-r*t}function vx(e){return e<=1e-6&&e>=-1e-6}function es(e,t,r,n,i){return t==null||(Tt(t)?dt[0]=dt[1]=dt[2]=dt[3]=t:(dt[0]=t[0],dt[1]=t[1],dt[2]=t[2],dt[3]=t[3]),n&&(dt[0]=ht(0,dt[0]),dt[1]=ht(0,dt[1]),dt[2]=ht(0,dt[2]),dt[3]=ht(0,dt[3])),r&&(dt[0]=-dt[0],dt[1]=-dt[1],dt[2]=-dt[2],dt[3]=-dt[3]),Nv(e,dt,"x","width",3,1,i&&i[0]||0),Nv(e,dt,"y","height",0,2,i&&i[1]||0)),e}var dt=[0,0,0,0];function Nv(e,t,r,n,i,a,o){var s=t[a]+t[i],u=e[n];e[n]+=s,o=ht(0,ne(o,u)),e[n]=0?-t[i]:t[a]>=0?u+t[a]:Lt(s)>1e-8?(u-o)*t[i]/s:0):e[r]-=t[i]}function Ns(e){var t=e.itemTooltipOption,r=e.componentModel,n=e.itemName,i=F(t)?{formatter:t}:t,a=r.mainType,o=r.componentIndex,s={componentType:a,name:n,$vars:["name"]};s[a+"Index"]=o;var u=e.formatterParamsExtra;u&&b(gt(u),function(f){qt(s,f)||(s[f]=u[f],s.$vars.push(f))});var l=yt(e.el);l.componentMainType=a,l.componentIndex=o,l.tooltipConfig={name:n,option:pt({content:n,encodeHTMLContent:!0,formatterParams:s},i)}}function of(e,t){var r;e.isGroup&&(r=t(e)),r||e.traverse(t)}function Pm(e,t){if(e)if(B(e))for(var r=0;rt&&(t=o),ot&&(r=t=0),{min:r,max:t}}function Rm(e,t,r){Om(e,t,r,-1/0)}function Om(e,t,r,n){if(e.ignoreModelZ)return n;var i=e.getTextContent(),a=e.getTextGuideLine(),o=e.isGroup;if(o)for(var s=e.childrenRef(),u=0;u=0&&s.push(u)}),s}}function Rx(e,t){return lt(lt({},e,!0),t,!0)}const Ox={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},kx={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var rs="ZH",bh="EN",Yn=bh,Io={},Ch={},Fm=K.domSupported?(function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage||Yn).toUpperCase();return e.indexOf(rs)>-1?rs:Yn})():Yn;function zm(e,t){e=e.toUpperCase(),Ch[e]=new St(t),Io[e]=t}function Bx(e){if(F(e)){var t=Io[e.toUpperCase()]||{};return e===rs||e===bh?rt(t):lt(rt(t),rt(Io[Yn]),!1)}else return lt(rt(e),rt(Io[Yn]),!1)}function Nx(e){return Ch[e]}function Fx(){return Ch[Yn]}zm(bh,Ox);zm(rs,kx);var zx=null;function Hs(){return zx}function Hm(e,t){t.breakOption;var r=t.breakParsed;return r}function Mh(e){var t=e.brk;return t?t.breaks:[]}function ns(e){var t=e.brk;return t?t.hasBreaks():!1}var Dh=1e3,Ah=Dh*60,Zi=Ah*60,ge=Zi*24,Uv=ge*365,Hx={year:/({yyyy}|{yy})/,month:/({MMMM}|{MMM}|{MM}|{M})/,day:/({dd}|{d})/,hour:/({HH}|{H}|{hh}|{h})/,minute:/({mm}|{m})/,second:/({ss}|{s})/,millisecond:/({SSS}|{S})/},Po={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}"},Vx="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}",qa="{yyyy}-{MM}-{dd}",Wv={year:"{yyyy}",month:"{yyyy}-{MM}",day:qa,hour:qa+" "+Po.hour,minute:qa+" "+Po.minute,second:qa+" "+Po.second,millisecond:Vx},sn=["year","month","day","hour","minute","second","millisecond"],Gx=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Ux(e){return!F(e)&&!j(e)?Wx(e):e}function Wx(e){e=e||{};var t={},r=!0;return b(sn,function(n){r&&(r=e[n]==null)}),b(sn,function(n,i){var a=e[n];t[n]={};for(var o=null,s=i;s>=0;s--){var u=sn[s],l=H(a)&&!B(a)?a[u]:a,f=void 0;B(l)?(f=l.slice(),o=f[0]||""):F(l)?(o=l,f=[o]):(o==null?o=Po[n]:Hx[u].test(o)||(o=t[u][u][0]+" "+o),f=[o],r&&(f[1]="{primary|"+o+"}")),t[n][u]=f}}),t}function or(e,t){return e+="","0000".substr(0,t-e.length)+e}function $i(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function Yx(e){return e===$i(e)}function Xx(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function Vs(e,t,r,n){var i=si(e),a=i[Vm(r)](),o=i[Lh(r)]()+1,s=Math.floor((o-1)/3)+1,u=i[Ih(r)](),l=i["get"+(r?"UTC":"")+"Day"](),f=i[Ph(r)](),h=(f-1)%12+1,c=i[Eh(r)](),v=i[Rh(r)](),d=i[Oh(r)](),g=f>=12?"pm":"am",p=g.toUpperCase(),m=n instanceof St?n:Nx(n||Fm)||Fx(),y=m.getModel("time"),_=y.get("month"),S=y.get("monthAbbr"),T=y.get("dayOfWeek"),w=y.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,g+"").replace(/{A}/g,p+"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,or(a%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,_[o-1]).replace(/{MMM}/g,S[o-1]).replace(/{MM}/g,or(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,or(u,2)).replace(/{d}/g,u+"").replace(/{eeee}/g,T[l]).replace(/{ee}/g,w[l]).replace(/{e}/g,l+"").replace(/{HH}/g,or(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,or(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,or(c,2)).replace(/{m}/g,c+"").replace(/{ss}/g,or(v,2)).replace(/{s}/g,v+"").replace(/{SSS}/g,or(d,3)).replace(/{S}/g,d+"")}function Zx(e,t,r,n,i){var a=null;if(F(r))a=r;else if(j(r)){var o={time:e.time,level:e.time?e.time.level:0},s=Hs();s&&s.makeAxisLabelFormatterParamBreak(o,e.break),a=r(e.value,t,o)}else{var u=e.time;if(u){var l=r[u.lowerTimeUnit][u.upperTimeUnit];a=l[Math.min(u.level,l.length-1)]||""}else{var f=Eo(e.value,i);a=r[f][f][0]}}return Vs(new Date(e.value),a,i,n)}function Eo(e,t){var r=si(e),n=r[Lh(t)]()+1,i=r[Ih(t)](),a=r[Ph(t)](),o=r[Eh(t)](),s=r[Rh(t)](),u=r[Oh(t)](),l=u===0,f=l&&s===0,h=f&&o===0,c=h&&a===0,v=c&&i===1,d=v&&n===1;return d?"year":v?"month":c?"day":h?"hour":f?"minute":l?"second":"millisecond"}function uf(e,t,r){switch(t){case"year":e[Gm(r)](0);case"month":e[Um(r)](1);case"day":e[Wm(r)](0);case"hour":e[Ym(r)](0);case"minute":e[Xm(r)](0);case"second":e[Zm(r)](0)}return e}function Vm(e){return e?"getUTCFullYear":"getFullYear"}function Lh(e){return e?"getUTCMonth":"getMonth"}function Ih(e){return e?"getUTCDate":"getDate"}function Ph(e){return e?"getUTCHours":"getHours"}function Eh(e){return e?"getUTCMinutes":"getMinutes"}function Rh(e){return e?"getUTCSeconds":"getSeconds"}function Oh(e){return e?"getUTCMilliseconds":"getMilliseconds"}function $x(e){return e?"setUTCFullYear":"setFullYear"}function Gm(e){return e?"setUTCMonth":"setMonth"}function Um(e){return e?"setUTCDate":"setDate"}function Wm(e){return e?"setUTCHours":"setHours"}function Ym(e){return e?"setUTCMinutes":"setMinutes"}function Xm(e){return e?"setUTCSeconds":"setSeconds"}function Zm(e){return e?"setUTCMilliseconds":"setMilliseconds"}function $m(e){if(!TS(e))return F(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function qm(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(r,n){return n.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var Gs=Zf;function lf(e,t,r){var n="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(f){return f&&Oe(f)?f:"-"}function a(f){return Ge(f)}var o=t==="time",s=e instanceof Date;if(o||s){var u=o?si(e):e;if(isNaN(+u)){if(s)return"-"}else return Vs(u,n,r)}if(t==="ordinal")return wl(e)?i(e):Tt(e)&&a(e)?e+"":"-";var l=Qo(e);return a(l)?$m(l):wl(e)?i(e):typeof e=="boolean"?e+"":"-"}var Yv=["a","b","c","d","e","f","g"],Uu=function(e,t){return"{"+e+(t??"")+"}"};function Km(e,t,r){B(t)||(t=[t]);var n=t.length;if(!n)return"";for(var i=t[0].$vars||[],a=0;a':'';var o=r.markerId||"markerX";return{renderMode:a,content:"{"+o+"|} ",style:i==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}}function sa(e,t){return t=t||"transparent",F(e)?e:H(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}var Ro={},Wu={},kh=(function(){function e(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}return e.prototype.create=function(t,r){this._nonSeriesBoxMasterList=n(Ro),this._normalMasterList=n(Wu);function n(i,a){var o=[];return b(i,function(s,u){var l=s.create(t,r);o=o.concat(l||[])}),o}},e.prototype.update=function(t,r){b(this._normalMasterList,function(n){n.update&&n.update(t,r)})},e.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},e.register=function(t,r){if(t==="matrix"||t==="calendar"){Ro[t]=r;return}Wu[t]=r},e.get=function(t){return Wu[t]||Ro[t]},e})();function Kx(e){return!!Ro[e]}var Qx=1,Qm=2;function H2(e){jm.set(e.fullType,{getCoord2:void 0}).getCoord2=e.getCoord2}var jm=W();function Jm(e){var t=e.getShallow("coord",!0),r=Qx;if(t==null){var n=jm.get(e.type);n&&n.getCoord2&&(r=Qm,t=n.getCoord2(e))}return{coord:t,from:r}}var Xn=0,Oo=1,jx=2;function Jx(e,t){var r=e.getShallow("coordinateSystem"),n=e.getShallow("coordinateSystemUsage",!0),i=Xn;if(r){var a=e.mainType==="series";n==null&&(n=a?"data":"box"),n==="data"?(i=Oo,a||(i=Xn)):n==="box"&&(i=jx,!a&&!Kx(r)&&(i=Xn))}return{coordSysType:r,kind:i}}function tb(e){var t=e.targetModel,r=e.coordSysType,n=e.coordSysProvider,i=e.isDefaultDataCoordSys,a=Jx(t),o=a.kind,s=a.coordSysType;if(i&&o!==Oo&&(o=Oo,s=r),o===Xn||s!==r)return Xn;var u=n(r,t);return u?(o===Oo?t.coordinateSystem=u:t.boxCoordinateSystem=u,o):Xn}var ko=b,eb=["left","right","top","bottom","width","height"],Ka=[["width","left","right"],["height","top","bottom"]];function Bh(e,t,r,n,i){var a=0,o=0;n==null&&(n=1/0),i==null&&(i=1/0);var s=0;t.eachChild(function(u,l){var f=u.getBoundingRect(),h=t.childAt(l+1),c=h&&h.getBoundingRect(),v,d;if(e==="horizontal"){var g=f.width+(c?-c.x+f.x:0);v=a+g,v>n||u.newline?(a=0,v=g,o+=s+r,s=f.height):s=Math.max(s,f.height)}else{var p=f.height+(c?-c.y+f.y:0);d=o+p,d>i||u.newline?(a+=s+r,o=0,d=p,s=f.width):s=Math.max(s,f.width)}u.newline||(u.x=a,u.y=o,u.markRedraw(),e==="horizontal"?a=v+r:o=d+r)})}var qi=Bh;Ct(Bh,"vertical");Ct(Bh,"horizontal");function rb(e,t){return{left:e.getShallow("left",t),top:e.getShallow("top",t),right:e.getShallow("right",t),bottom:e.getShallow("bottom",t),width:e.getShallow("width",t),height:e.getShallow("height",t)}}function nb(e,t){var r=Nh(e,t,{enableLayoutOnlyByCenter:!0}),n=e.getBoxLayoutParams(),i,a;if(r.type===Ni.point)a=r.refPoint,i=fn(n,{width:t.getWidth(),height:t.getHeight()});else{var o=e.get("center"),s=B(o)?o:[o,o];i=fn(n,r.refContainer),a=r.boxCoordFrom===Qm?r.refPoint:[Bt(s[0],i.width)+i.x,Bt(s[1],i.height)+i.y]}return{viewRect:i,center:a}}function V2(e,t){var r=nb(e,t),n=r.viewRect,i=r.center,a=e.get("radius");B(a)||(a=[0,a]);var o=Bt(n.width,t.getWidth()),s=Bt(n.height,t.getHeight()),u=Math.min(o,s),l=Bt(a[0],u/2),f=Bt(a[1],u/2);return{cx:i[0],cy:i[1],r0:l,r:f,viewRect:n}}function fn(e,t,r){r=Gs(r||0);var n=t.width,i=t.height,a=Bt(e.left,n),o=Bt(e.top,i),s=Bt(e.right,n),u=Bt(e.bottom,i),l=Bt(e.width,n),f=Bt(e.height,i),h=r[2]+r[0],c=r[1]+r[3],v=e.aspect;switch(isNaN(l)&&(l=n-s-c-a),isNaN(f)&&(f=i-u-h-o),v!=null&&(isNaN(l)&&isNaN(f)&&(v>n/i?l=n*.8:f=i*.8),isNaN(l)&&(l=v*f),isNaN(f)&&(f=l/v)),isNaN(a)&&(a=n-s-l-c),isNaN(o)&&(o=i-u-f-h),e.left||e.right){case"center":a=n/2-l/2-r[3];break;case"right":a=n-l-c;break}switch(e.top||e.bottom){case"middle":case"center":o=i/2-f/2-r[0];break;case"bottom":o=i-f-h;break}a=a||0,o=o||0,isNaN(l)&&(l=n-c-a-(s||0)),isNaN(f)&&(f=i-h-o-(u||0));var d=new Z((t.x||0)+a+r[3],(t.y||0)+o+r[0],l,f);return d.margin=r,d}var Ni={rect:1,point:2};function Nh(e,t,r){var n,i,a,o=e.boxCoordinateSystem,s;if(o){var u=Jm(e),l=u.coord,f=u.from;if(o.dataToLayout){a=Ni.rect,s=f;var h=o.dataToLayout(l);n=h.contentRect||h.rect}else r&&r.enableLayoutOnlyByCenter&&o.dataToPoint&&(a=Ni.point,s=f,i=o.dataToPoint(l))}return a==null&&(a=Ni.rect),a===Ni.rect&&(n||(n={x:0,y:0,width:t.getWidth(),height:t.getHeight()}),i=[n.x+n.width/2,n.y+n.height/2]),{type:a,refContainer:n,refPoint:i,boxCoordFrom:s}}function ua(e){var t=e.layoutMode||e.constructor.layoutMode;return H(t)?t:t?{type:t}:null}function br(e,t,r){var n=r&&r.ignoreSize;!B(n)&&(n=[n,n]);var i=o(Ka[0],0),a=o(Ka[1],1);u(Ka[0],e,i),u(Ka[1],e,a);function o(l,f){var h={},c=0,v={},d=0,g=2;if(ko(l,function(y){v[y]=e[y]}),ko(l,function(y){qt(t,y)&&(h[y]=v[y]=t[y]),s(h,y)&&c++,s(v,y)&&d++}),n[f])return s(t,l[1])?v[l[2]]=null:s(t,l[2])&&(v[l[1]]=null),v;if(d===g||!c)return v;if(c>=g)return h;for(var p=0;p=0;u--)s=lt(s,i[u],!0);n.defaultOption=s}return n.defaultOption},t.prototype.getReferringComponents=function(r,n){var i=r+"Index",a=r+"Id";return ba(this.ecModel,r,{index:this.get(i,!0),id:this.get(a,!0)},n)},t.prototype.getBoxLayoutParams=function(){return rb(this,!1)},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(r){this.option.zlevel=r},t.protoInitialize=(function(){var r=t.prototype;r.type="component",r.id="",r.name="",r.mainType="",r.subType="",r.componentIndex=0})(),t})(St);Wg(ft,St);Ds(ft);Px(ft);Ex(ft,ob);function ob(e){var t=[];return b(ft.getClassesByMainType(e),function(r){t=t.concat(r.dependencies||r.prototype.dependencies||[])}),t=Y(t,function(r){return ke(r).main}),e!=="dataset"&&st(t,"dataset")<=0&&t.unshift("dataset"),t}var U={color:{},darkColor:{},size:{}},wt=U.color={theme:["#5070dd","#b6d634","#505372","#ff994d","#0ca8df","#ffd10a","#fb628b","#785db0","#3fbe95"],neutral00:"#fff",neutral05:"#f4f7fd",neutral10:"#e8ebf0",neutral15:"#dbdee4",neutral20:"#cfd2d7",neutral25:"#c3c5cb",neutral30:"#b7b9be",neutral35:"#aaacb2",neutral40:"#9ea0a5",neutral45:"#929399",neutral50:"#86878c",neutral55:"#797b7f",neutral60:"#6d6e73",neutral65:"#616266",neutral70:"#54555a",neutral75:"#48494d",neutral80:"#3c3c41",neutral85:"#303034",neutral90:"#232328",neutral95:"#17171b",neutral99:"#000",accent05:"#eff1f9",accent10:"#e0e4f2",accent15:"#d0d6ec",accent20:"#c0c9e6",accent25:"#b1bbdf",accent30:"#a1aed9",accent35:"#91a0d3",accent40:"#8292cc",accent45:"#7285c6",accent50:"#6578ba",accent55:"#5c6da9",accent60:"#536298",accent65:"#4a5787",accent70:"#404c76",accent75:"#374165",accent80:"#2e3654",accent85:"#252b43",accent90:"#1b2032",accent95:"#121521",transparent:"rgba(0,0,0,0)",highlight:"rgba(255,231,130,0.8)"};k(wt,{primary:wt.neutral80,secondary:wt.neutral70,tertiary:wt.neutral60,quaternary:wt.neutral50,disabled:wt.neutral20,border:wt.neutral30,borderTint:wt.neutral20,borderShade:wt.neutral40,background:wt.neutral05,backgroundTint:"rgba(234,237,245,0.5)",backgroundTransparent:"rgba(255,255,255,0)",backgroundShade:wt.neutral10,shadow:"rgba(0,0,0,0.2)",shadowTint:"rgba(129,130,136,0.2)",axisLine:wt.neutral70,axisLineTint:wt.neutral40,axisTick:wt.neutral70,axisTickMinor:wt.neutral60,axisLabel:wt.neutral70,axisSplitLine:wt.neutral15,axisMinorSplitLine:wt.neutral05});for(var Wr in wt)if(wt.hasOwnProperty(Wr)){var Xv=wt[Wr];Wr==="theme"?U.darkColor.theme=wt.theme.slice():Wr==="highlight"?U.darkColor.highlight="rgba(255,231,130,0.4)":Wr.indexOf("accent")===0?U.darkColor[Wr]=Ol(Xv,null,function(e){return e*.5},function(e){return Math.min(1,1.3-e)}):U.darkColor[Wr]=Ol(Xv,null,function(e){return e*.9},function(e){return 1-Math.pow(e,1.5)})}U.size={xxs:2,xs:5,s:10,m:15,l:20,xl:30,xxl:40,xxxl:50};var ty="";typeof navigator<"u"&&(ty=navigator.platform||"");var Mn="rgba(0, 0, 0, 0.2)",ey=U.color.theme[0],sb=Ol(ey,null,null,.9);const ry={darkMode:"auto",colorBy:"series",color:U.color.theme,gradientColor:[sb,ey],aria:{decal:{decals:[{color:Mn,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Mn,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Mn,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Mn,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Mn,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Mn,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:ty.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var Pt={Must:1,Might:2,Not:3},ny=vt();function ub(e){ny(e).datasetMap=W()}function lb(e,t,r){var n={},i=Fh(t);if(!i||!e)return n;var a=[],o=[],s=t.ecModel,u=ny(s).datasetMap,l=i.uid+"_"+r.seriesLayoutBy,f,h;e=e.slice(),b(e,function(g,p){var m=H(g)?g:e[p]={name:g};m.type==="ordinal"&&f==null&&(f=p,h=d(m)),n[m.name]=[]});var c=u.get(l)||u.set(l,{categoryWayDim:h,valueWayDim:0});b(e,function(g,p){var m=g.name,y=d(g);if(f==null){var _=c.valueWayDim;v(n[m],_,y),v(o,_,y),c.valueWayDim+=y}else if(f===p)v(n[m],0,y),v(a,0,y);else{var _=c.categoryWayDim;v(n[m],_,y),v(o,_,y),c.categoryWayDim+=y}});function v(g,p,m){for(var y=0;yt)return e[n];return e[r-1]}function db(e,t,r,n,i,a,o){a=a||e;var s=t(a),u=s.paletteIdx||0,l=s.paletteNameMap=s.paletteNameMap||{};if(l.hasOwnProperty(i))return l[i];var f=o==null||!n?r:vb(n,o);if(f=f||r,!(!f||!f.length)){var h=f[u];return i&&(l[i]=h),s.paletteIdx=(u+1)%f.length,h}}function pb(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var Qa,yi,$v,qv="\0_ec_inner",gb=1,Hh=(function(e){z(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(r,n,i,a,o,s){a=a||{},this.option=null,this._theme=new St(a),this._locale=new St(o),this._optionManager=s},t.prototype.setOption=function(r,n,i){var a=jv(n);this._optionManager.setOption(r,i,a),this._resetOption(null,a)},t.prototype.resetOption=function(r,n){return this._resetOption(r,jv(n))},t.prototype._resetOption=function(r,n){var i=!1,a=this._optionManager;if(!r||r==="recreate"){var o=a.mountOption(r==="recreate");!this.option||r==="recreate"?$v(this,o):(this.restoreData(),this._mergeOption(o,n)),i=!0}if((r==="timeline"||r==="media")&&this.restoreData(),!r||r==="recreate"||r==="timeline"){var s=a.getTimelineOption(this);s&&(i=!0,this._mergeOption(s,n))}if(!r||r==="recreate"||r==="media"){var u=a.getMediaOption(this);u.length&&b(u,function(l){i=!0,this._mergeOption(l,n)},this)}return i},t.prototype.mergeOption=function(r){this._mergeOption(r,null)},t.prototype._mergeOption=function(r,n){var i=this.option,a=this._componentsMap,o=this._componentsCount,s=[],u=W(),l=n&&n.replaceMergeMainTypeMap;ub(this),b(r,function(h,c){h!=null&&(ft.hasClass(c)?c&&(s.push(c),u.set(c,!0)):i[c]=i[c]==null?rt(h):lt(i[c],h,!0))}),l&&l.each(function(h,c){ft.hasClass(c)&&!u.get(c)&&(s.push(c),u.set(c,!0))}),ft.topologicalTravel(s,ft.getAllClassMainTypes(),f,this);function f(h){var c=cb(this,h,Ut(r[h])),v=a.get(h),d=v?l&&l.get(h)?"replaceMerge":"normalMerge":"replaceAll",g=DS(v,c,d);OS(g,h,ft),i[h]=null,a.set(h,null),o.set(h,0);var p=[],m=[],y=0,_;b(g,function(S,T){var w=S.existing,x=S.newOption;if(!x)w&&(w.mergeOption({},this),w.optionUpdated({},!1));else{var D=h==="series",M=ft.getClass(h,S.keyInfo.subType,!D);if(!M)return;if(h==="tooltip"){if(_)return;_=!0}if(w&&w.constructor===M)w.name=S.keyInfo.name,w.mergeOption(x,this),w.optionUpdated(x,!1);else{var C=k({componentIndex:T},S.keyInfo);w=new M(x,this,this,C),k(w,C),S.brandNew&&(w.__requireNewView=!0),w.init(x,this,this),w.optionUpdated(null,!0)}}w?(p.push(w.option),m.push(w),y++):(p.push(void 0),m.push(void 0))},this),i[h]=p,a.set(h,m),o.set(h,y),h==="series"&&Qa(this)}this._seriesIndices||Qa(this)},t.prototype.getOption=function(){var r=rt(this.option);return b(r,function(n,i){if(ft.hasClass(i)){for(var a=Ut(n),o=a.length,s=!1,u=o-1;u>=0;u--)a[u]&&!na(a[u])?s=!0:(a[u]=null,!s&&o--);a.length=o,r[i]=a}}),delete r[qv],r},t.prototype.setTheme=function(r){this._theme=new St(r),this._resetOption("recreate",null)},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(r){this._payload=r},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(r,n){var i=this._componentsMap.get(r);if(i){var a=i[n||0];if(a)return a;if(n==null){for(var o=0;o=t:r==="max"?e<=t:e===t}function bb(e,t){return e.join(",")===t.join(",")}var Se=b,la=H,Jv=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Yu(e){var t=e&&e.itemStyle;if(t)for(var r=0,n=Jv.length;r0?r[o-1].seriesModel:null)}),Ob(r)}})}function Ob(e){b(e,function(t,r){var n=[],i=[NaN,NaN],a=[t.stackResultDimension,t.stackedOverDimension],o=t.data,s=t.isStackedByIndex,u=t.seriesModel.get("stackStrategy")||"samesign";o.modify(a,function(l,f,h){var c=o.get(t.stackedDimension,h);if(isNaN(c))return i;var v,d;s?d=o.getRawIndex(h):v=o.get(t.stackedByDimension,h);for(var g=NaN,p=r-1;p>=0;p--){var m=e[p];if(s||(d=m.data.rawIndexOf(m.stackedByDimension,v)),d>=0){var y=m.data.getByRawIndex(m.stackResultDimension,d);if(u==="all"||u==="positive"&&y>0||u==="negative"&&y<0||u==="samesign"&&c>=0&&y>0||u==="samesign"&&c<=0&&y<0){c=_S(c,y),g=y;break}}}return n[0]=c,n[1]=g,n})})}var Us=(function(){function e(t){this.data=t.data||(t.sourceFormat===be?{}:[]),this.sourceFormat=t.sourceFormat||rm,this.seriesLayoutBy=t.seriesLayoutBy||Ve,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var r=this.dimensionsDefine=t.dimensionsDefine;if(r)for(var n=0;ng&&(g=_)}v[0]=d,v[1]=g}},i=function(){return this._data?this._data.length/this._dimSize:0};od=(t={},t[Ft+"_"+Ve]={pure:!0,appendData:a},t[Ft+"_"+gn]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[_e]={pure:!0,appendData:a},t[be]={pure:!0,appendData:function(o){var s=this._data;b(o,function(u,l){for(var f=s[l]||(s[l]=[]),h=0;h<(u||[]).length;h++)f.push(u[h])})}},t[ae]={appendData:a},t[yr]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},t);function a(o){for(var s=0;s=0&&(g=o.interpolatedValue[p])}return g!=null?g+"":""})}},e.prototype.getRawValue=function(t,r){return ri(this.getData(r),t)},e.prototype.formatTooltip=function(t,r,n){},e})();function fd(e){var t,r;return H(e)?e.type&&(r=e):t=e,{text:t,frag:r}}function Ki(e){return new Ub(e)}var Ub=(function(){function e(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return e.prototype.perform=function(t){var r=this._upstream,n=t&&t.skip;if(this._dirty&&r){var i=this.context;i.data=i.outputData=r.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var a;this._plan&&!n&&(a=this._plan(this.context));var o=f(this._modBy),s=this._modDataCount||0,u=f(t&&t.modBy),l=t&&t.modDataCount||0;(o!==u||s!==l)&&(a="reset");function f(y){return!(y>=1)&&(y=1),y}var h;(this._dirty||a==="reset")&&(this._dirty=!1,h=this._doReset(n)),this._modBy=u,this._modDataCount=l;var c=t&&t.step;if(r?this._dueEnd=r._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var v=this._dueIndex,d=Math.min(c!=null?this._dueIndex+c:1/0,this._dueEnd);if(!n&&(h||v1&&n>0?s:o}};return a;function o(){return t=e?null:ui?-this._resultLT:0},e})();function Yb(e){var t="",r=-1/0,n=-1/0,i=1/0,a=1/0;return e&&(e.g!=null&&(t+="G"+e.g,r=e.g),e.ge!=null&&(t+="GE"+e.ge,n=e.ge),e.l!=null&&(t+="L"+e.l,i=e.l),e.le!=null&&(t+="LE"+e.le,a=e.le)),{key:t,g:r,ge:n,l:i,le:a}}function Xb(e,t){return t>e.g&&t>=e.ge&&t65535?rC:nC}function iC(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function vd(e,t,r,n,i){var a=my[r||"float"];if(i){var o=e[t],s=o&&o.length;if(s!==n){for(var u=new a(n),l=0;lp[1]&&(p[1]=g)}return this._rawCount=this._count=u,{start:s,end:u}},e.prototype._initDataFromProvider=function(t,r,n){for(var i=this._provider,a=this._chunks,o=this._dimensions,s=o.length,u=this._rawExtent,l=Y(o,function(y){return y.property}),f=0;fm[1]&&(m[1]=p)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=r,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(t,r){if(!(r>=0&&r=0&&r=this._rawCount||t<0)return-1;if(!this._indices)return t;var r=this._indices,n=r[t];if(n!=null&&nt)a=o-1;else return o}return-1},e.prototype.getIndices=function(){var t,r=this._indices;if(r){var n=r.constructor,i=this._count;if(n===Array){t=new n(i);for(var a=0;a=h&&y<=c||isNaN(y))&&(u[l++]=g),g++}d=!0}else if(a===2){for(var p=v[i[0]],_=v[i[1]],S=t[i[1]][0],T=t[i[1]][1],m=0;m=h&&y<=c||isNaN(y))&&(w>=S&&w<=T||isNaN(w))&&(u[l++]=g),g++}d=!0}}if(!d)if(a===1)for(var m=0;m=h&&y<=c||isNaN(y))&&(u[l++]=x)}else for(var m=0;mt[C][1])&&(D=!1)}D&&(u[l++]=r.getRawIndex(m))}return lm[1]&&(m[1]=p)}}}},e.prototype.lttbDownSample=function(t,r){var n=this.clone([t],!0),i=n._chunks,a=i[t],o=this.count(),s=0,u=Math.floor(1/r),l=this.getRawIndex(0),f,h,c,v=new(Dn(this._rawCount))(Math.min((Math.ceil(o/u)+2)*2,o));v[s++]=l;for(var d=1;df&&(f=h,c=S)}A>0&&As&&(g=s-f);for(var p=0;pd&&(d=y,v=f+p)}var _=this.getRawIndex(h),S=this.getRawIndex(v);hf-d&&(u=f-d,s.length=u);for(var g=0;gh[1]&&(h[1]=m),c[v++]=y}return a._count=v,a._indices=c,a._updateGetRawIdx(),a},e.prototype.each=function(t,r){if(this._count)for(var n=t.length,i=this._chunks,a=0,o=this.count();av&&(v=p))}return u[f]=[c,v]},e.prototype.getRawDataItem=function(t){var r=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(r);for(var n=[],i=this._chunks,a=0;a=0?this._indices[t]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=(function(){function t(r,n,i,a){return Bo(r[a],this._dimensions[a])}$u={arrayRows:t,objectRows:function(r,n,i,a){return Bo(r[n],this._dimensions[a])},keyedColumns:t,original:function(r,n,i,a){var o=r&&(r.value==null?r:r.value);return Bo(o instanceof Array?o[a]:o,this._dimensions[a])},typedArray:function(r,n,i,a){return r[a]}}})(),e})(),aC=(function(){function e(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(t,r){this._sourceList=t,this._upstreamSignList=r,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,r=this._getUpstreamSourceManagers(),n=!!r.length,i,a;if(Ja(t)){var o=t,s=void 0,u=void 0,l=void 0;if(n){var f=r[0];f.prepareSource(),l=f.getSource(),s=l.data,u=l.sourceFormat,a=[f._getVersionSign()]}else s=o.get("data",!0),u=Qt(s)?yr:ae,a=[];var h=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},v=G(h.seriesLayoutBy,c.seriesLayoutBy)||null,d=G(h.sourceHeader,c.sourceHeader),g=G(h.dimensions,c.dimensions),p=v!==c.seriesLayoutBy||!!d!=!!c.sourceHeader||g;i=p?[ff(s,{seriesLayoutBy:v,sourceHeader:d,dimensions:g},u)]:[]}else{var m=t;if(n){var y=this._applyTransform(r);i=y.sourceList,a=y.upstreamSignList}else{var _=m.get("source",!0);i=[ff(_,this._getSourceMetaRawOption(),null)],a=[]}}this._setLocalSource(i,a)},e.prototype._applyTransform=function(t){var r=this._sourceHost,n=r.get("transform",!0),i=r.get("fromTransformResult",!0);if(i!=null){var a="";t.length!==1&&dd(a)}var o,s=[],u=[];return b(t,function(l){l.prepareSource();var f=l.getSource(i||0),h="";i!=null&&!f&&dd(h),s.push(f),u.push(l._getVersionSign())}),n?o=tC(n,s,{datasetIndex:r.componentIndex}):i!=null&&(o=[kb(s[0])]),{sourceList:o,upstreamSignList:u}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),r=0;r1||r>0&&!e.noHeader;return b(e.blocks,function(i){var a=Ty(i);a>=t&&(t=a+ +(n&&(!a||cf(i)&&!i.noHeader)))}),t}return 0}function lC(e,t,r,n){var i=t.noHeader,a=hC(Ty(t)),o=[],s=t.blocks||[];tr(!s||B(s)),s=s||[];var u=e.orderMode;if(t.sortBlocks&&u){s=s.slice();var l={valueAsc:"asc",valueDesc:"desc"};if(qt(l,u)){var f=new Wb(l[u],null);s.sort(function(g,p){return f.evaluate(g.sortParam,p.sortParam)})}else u==="seriesDesc"&&s.reverse()}b(s,function(g,p){var m=t.valueFormatter,y=Sy(g)(m?k(k({},e),{valueFormatter:m}):e,g,p>0?a.html:0,n);y!=null&&o.push(y)});var h=e.renderMode==="richText"?o.join(a.richText):vf(n,o.join(""),i?r:a.html);if(i)return h;var c=lf(t.header,"ordinal",e.useUTC),v=_y(n,e.renderMode).nameStyle,d=yy(n);return e.renderMode==="richText"?wy(e,c,v)+a.richText+h:vf(n,'
    '+Yt(c)+"
    "+h,r)}function fC(e,t,r,n){var i=e.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,u=t.name,l=e.useUTC,f=t.valueFormatter||e.valueFormatter||function(S){return S=B(S)?S:[S],Y(S,function(T,w){return lf(T,B(v)?v[w]:v,l)})};if(!(a&&o)){var h=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||U.color.secondary,i),c=a?"":lf(u,"ordinal",l),v=t.valueType,d=o?[]:f(t.value,t.rawDataIndex),g=!s||!a,p=!s&&a,m=_y(n,i),y=m.nameStyle,_=m.valueStyle;return i==="richText"?(s?"":h)+(a?"":wy(e,c,y))+(o?"":dC(e,d,g,p,_)):vf(n,(s?"":h)+(a?"":cC(c,!s,y))+(o?"":vC(d,g,p,_)),r)}}function pd(e,t,r,n,i,a){if(e){var o=Sy(e),s={useUTC:i,renderMode:r,orderMode:n,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(s,e,0,a)}}function hC(e){return{html:sC[e],richText:uC[e]}}function vf(e,t,r){var n='
    ',i="margin: "+r+"px 0 0",a=yy(e);return'
    '+t+n+"
    "}function cC(e,t,r){var n=t?"margin-left:2px":"";return''+Yt(e)+""}function vC(e,t,r,n){var i=r?"10px":"20px",a=t?"float:right;margin-left:"+i:"";return e=B(e)?e:[e],''+Y(e,function(o){return Yt(o)}).join("  ")+""}function wy(e,t,r){return e.markupStyleCreator.wrapRichTextStyle(t,r)}function dC(e,t,r,n,i){var a=[i],o=n?10:20;return r&&a.push({padding:[0,0,0,o],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(B(t)?t.join(" "):t,a)}function pC(e,t){var r=e.getData().getItemVisual(t,"style"),n=r[e.visualDrawType];return sa(n)}function xy(e,t){var r=e.get("padding");return r??(t==="richText"?[8,10]:10)}var qu=(function(){function e(){this.richTextStyles={},this._nextStyleNameId=th()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,r,n){var i=n==="richText"?this._generateStyleName():null,a=qx({color:r,type:t,renderMode:n,markerId:i});return F(a)?a:(this.richTextStyles[i]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(t,r){var n={};B(r)?b(r,function(a){return k(n,a)}):k(n,r);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},e})();function gC(e){var t=e.series,r=e.dataIndex,n=e.multipleSeries,i=t.getData(),a=i.mapDimensionsAll("defaultedTooltip"),o=a.length,s=t.getRawValue(r),u=B(s),l=pC(t,r),f,h,c,v;if(o>1||u&&!o){var d=mC(s,t,r,a,l);f=d.inlineValues,h=d.inlineValueTypes,c=d.blocks,v=d.inlineValues[0]}else if(o){var g=i.getDimensionInfo(a[0]);v=f=ri(i,r,a[0]),h=g.type}else v=f=u?s[0]:s;var p=eh(t),m=p&&t.name||"",y=i.getName(r),_=n?m:y;return fa("section",{header:m,noHeader:n||!p,sortParam:v,blocks:[fa("nameValue",{markerType:"item",markerColor:l,name:_,noName:!Oe(_),value:f,valueType:h,rawDataIndex:i.getRawIndex(r)})].concat(c||[])})}function mC(e,t,r,n,i){var a=t.getData(),o=Tr(e,function(h,c,v){var d=a.getDimensionInfo(v);return h=h||d&&d.tooltip!==!1&&d.displayName!=null},!1),s=[],u=[],l=[];n.length?b(n,function(h){f(ri(a,r,h),h)}):b(e,f);function f(h,c){var v=a.getDimensionInfo(c);!v||v.otherDims.tooltip===!1||(o?l.push(fa("nameValue",{markerType:"subItem",markerColor:i,name:v.displayName,value:h,valueType:v.type})):(s.push(h),u.push(v.type)))}return{inlineValues:s,inlineValueTypes:u,blocks:l}}var sr=vt();function to(e,t){return e.getName(t)||e.getId(t)}var yC="__universalTransitionEnabled",hn=(function(e){z(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r._selectedDataIndicesMap={},r}return t.prototype.init=function(r,n,i){this.seriesIndex=this.componentIndex,this.dataTask=Ki({count:SC,reset:TC}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(r,i);var a=sr(this).sourceManager=new aC(this);a.prepareSource();var o=this.getInitialData(r,i);md(o,this),this.dataTask.context.data=o,sr(this).dataBeforeProcessed=o,gd(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(r,n){var i=ua(this),a=i?Da(r):{},o=this.subType;ft.hasClass(o)&&(o+="Series"),lt(r,n.getTheme().get(this.subType)),lt(r,this.getDefaultOption()),Jc(r,"label",["show"]),this.fillDataTextStyle(r.data),i&&br(r,a,i)},t.prototype.mergeOption=function(r,n){r=lt(this.option,r,!0),this.fillDataTextStyle(r.data);var i=ua(this);i&&br(this.option,r,i);var a=sr(this).sourceManager;a.dirty(),a.prepareSource();var o=this.getInitialData(r,n);md(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,sr(this).dataBeforeProcessed=o,gd(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(r){if(r&&!Qt(r))for(var n=["show"],i=0;i=0&&c<0)&&(h=T,c=S,v=0),S===c&&(f[v++]=p))}return f.length=v,f},t.prototype.formatTooltip=function(r,n,i){return gC({series:this,dataIndex:r,multipleSeries:n})},t.prototype.isAnimationEnabled=function(){var r=this.ecModel;if(K.node&&!(r&&r.ssr))return!1;var n=this.getShallow("animation");return n&&this.getData().count()>this.getShallow("animationThreshold")&&(n=!1),!!n},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(r,n,i){var a=this.ecModel,o=zh.prototype.getColorFromPalette.call(this,r,n,i);return o||(o=a.getColorFromPalette(r,n,i)),o},t.prototype.coordDimToDataDim=function(r){return this.getRawData().mapDimensionsAll(r)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(r,n){this._innerSelect(this.getData(n),r)},t.prototype.unselect=function(r,n){var i=this.option.selectedMap;if(i){var a=this.option.selectedMode,o=this.getData(n);if(a==="series"||i==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s=0&&i.push(o)}return i},t.prototype.isSelected=function(r,n){var i=this.option.selectedMap;if(!i)return!1;var a=this.getData(n);return(i==="all"||i[to(a,r)])&&!a.getItemModel(r).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[yC])return!0;var r=this.option.universalTransition;return r?r===!0?!0:r&&r.enabled:!1},t.prototype._innerSelect=function(r,n){var i,a,o=this.option,s=o.selectedMode,u=n.length;if(!(!s||!u)){if(s==="series")o.selectedMap="all";else if(s==="multiple"){H(o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,f=0;f0&&this._innerSelect(r,n)}},t.registerClass=function(r){return ft.registerClass(r)},t.protoInitialize=(function(){var r=t.prototype;r.type="series.__base__",r.seriesIndex=0,r.ignoreStyleOnData=!1,r.hasSymbolVisual=!1,r.defaultSymbol="circle",r.visualStyleAccessPath="itemStyle",r.visualDrawType="fill"})(),t})(ft);We(hn,Gb);We(hn,zh);Wg(hn,ft);function gd(e){var t=e.name;eh(e)||(e.name=_C(e)||t)}function _C(e){var t=e.getRawData(),r=t.mapDimensionsAll("seriesName"),n=[];return b(r,function(i){var a=t.getDimensionInfo(i);a.displayName&&n.push(a.displayName)}),n.join(" ")}function SC(e){return e.model.getRawData().count()}function TC(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),wC}function wC(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function md(e,t){b(Y_(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(r){e.wrapMethod(r,Ct(xC,t))})}function xC(e,t){var r=df(e);return r&&r.setOutputEnd((t||this).count()),t}function df(e){var t=(e.ecModel||{}).scheduler,r=t&&t.getPipeline(e.uid);if(r){var n=r.currentTask;if(n){var i=n.agentStubMap;i&&(n=i.get(e.uid))}return n}}var Ue=(function(){function e(){this.group=new re,this.uid=zs("viewComponent")}return e.prototype.init=function(t,r){},e.prototype.render=function(t,r,n,i){},e.prototype.dispose=function(t,r){},e.prototype.updateView=function(t,r,n,i){},e.prototype.updateLayout=function(t,r,n,i){},e.prototype.updateVisual=function(t,r,n,i){},e.prototype.toggleBlurSeries=function(t,r,n){},e.prototype.eachRendered=function(t){var r=this.group;r&&r.traverse(t)},e})();ah(Ue);Ds(Ue);function bC(){var e=vt();return function(t){var r=e(t),n=t.pipelineContext,i=!!r.large,a=!!r.progressiveRender,o=r.large=!!(n&&n.large),s=r.progressiveRender=!!(n&&n.progressiveRender);return(i!==o||a!==s)&&"reset"}}var by=vt(),CC=bC(),un=(function(){function e(){this.group=new re,this.uid=zs("viewChart"),this.renderTask=Ki({plan:MC,reset:DC}),this.renderTask.context={view:this}}return e.prototype.init=function(t,r){},e.prototype.render=function(t,r,n,i){},e.prototype.highlight=function(t,r,n,i){var a=t.getData(i&&i.dataType);a&&_d(a,i,"emphasis")},e.prototype.downplay=function(t,r,n,i){var a=t.getData(i&&i.dataType);a&&_d(a,i,"normal")},e.prototype.remove=function(t,r){this.group.removeAll()},e.prototype.dispose=function(t,r){},e.prototype.updateView=function(t,r,n,i){this.render(t,r,n,i)},e.prototype.updateVisual=function(t,r,n,i){this.render(t,r,n,i)},e.prototype.eachRendered=function(t){Pm(this.group,t)},e.markUpdateMethod=function(t,r){by(t).updateMethod=r},e.protoInitialize=(function(){var t=e.prototype;t.type="chart"})(),e})();function yd(e,t,r){e&&ef(e)&&(t==="emphasis"?Kl:Ql)(e,r)}function _d(e,t,r){var n=xa(e,t),i=t&&t.highlightKey!=null?gw(t.highlightKey):null;n!=null?b(Ut(n),function(a){yd(e.getItemGraphicEl(a),r,i)}):e.eachItemGraphicEl(function(a){yd(a,r,i)})}ah(un);Ds(un);function MC(e){return CC(e.model)}function DC(e){var t=e.model,r=e.ecModel,n=e.api,i=e.payload,a=t.pipelineContext.progressiveRender,o=e.view,s=i&&by(i).updateMethod,u=a?"incrementalPrepareRender":s&&o[s]?s:"render";return u!=="render"&&o[u](t,r,n,i),AC[u]}var AC={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},is="\0__throttleOriginMethod",Sd="\0__throttleRate",Td="\0__throttleType";function Wh(e,t,r){var n,i=0,a=0,o=null,s,u,l,f;t=t||0;function h(){a=new Date().getTime(),o=null,e.apply(u,l||[])}var c=function(){for(var v=[],d=0;d=0?h():o=setTimeout(h,-s),i=n};return c.clear=function(){o&&(clearTimeout(o),o=null)},c.debounceNextCall=function(v){f=v},c}function Cy(e,t,r,n){var i=e[t];if(i){var a=i[is]||i,o=i[Td],s=i[Sd];if(s!==r||o!==n){if(r==null||!n)return e[t]=a;i=e[t]=Wh(a,r,n==="debounce"),i[is]=a,i[Td]=n,i[Sd]=r}return i}}function pf(e,t){var r=e[t];r&&r[is]&&(r.clear&&r.clear(),e[t]=r[is])}var wd=vt(),xd={itemStyle:ia(Nm,!0),lineStyle:ia(Bm,!0)},LC={lineStyle:"stroke",itemStyle:"fill"};function My(e,t){var r=e.visualStyleMapper||xd[t];return r||(console.warn("Unknown style type '"+t+"'."),xd.itemStyle)}function Dy(e,t){var r=e.visualDrawType||LC[t];return r||(console.warn("Unknown style type '"+t+"'."),"fill")}var IC={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var r=e.getData(),n=e.visualStyleAccessPath||"itemStyle",i=e.getModel(n),a=My(e,n),o=a(i),s=i.getShallow("decal");s&&(r.setVisual("decal",s),s.dirty=!0);var u=Dy(e,n),l=o[u],f=j(l)?l:null,h=o.fill==="auto"||o.stroke==="auto";if(!o[u]||f||h){var c=e.getColorFromPalette(e.name,null,t.getSeriesCount());o[u]||(o[u]=c,r.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||j(o.fill)?c:o.fill,o.stroke=o.stroke==="auto"||j(o.stroke)?c:o.stroke}if(r.setVisual("style",o),r.setVisual("drawType",u),!t.isSeriesFiltered(e)&&f)return r.setVisual("colorFromPalette",!1),{dataEach:function(v,d){var g=e.getDataParams(d),p=k({},o);p[u]=f(g),v.setItemVisual(d,"style",p)}}}},Si=new St,PC={createOnAllSeries:!0,reset:function(e,t){if(!e.ignoreStyleOnData){var r=e.getData(),n=e.visualStyleAccessPath||"itemStyle",i=My(e,n),a=r.getVisual("drawType");return{dataEach:r.hasItemOption?function(o,s){var u=o.getRawDataItem(s);if(u&&u[n]){Si.option=u[n];var l=i(Si),f=o.ensureUniqueItemVisual(s,"style");k(f,l),Si.option.decal&&(o.setItemVisual(s,"decal",Si.option.decal),Si.option.decal.dirty=!0),a in l&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},EC={performRawSeries:!0,overallReset:function(e){var t=W();e.eachSeries(function(r){if(!r.isColorBySeries()){var n=r.type+"-"+r.getColorBy();wd(r).scope=t.get(n)||t.set(n,{})}}),e.eachSeries(function(r){if(!r.isColorBySeries()){var n=r.getRawData(),i={},a=r.getData(),o=wd(r).scope,s=r.visualStyleAccessPath||"itemStyle",u=Dy(r,s);a.each(function(l){var f=a.getRawIndex(l);i[f]=l}),n.each(function(l){var f=i[l],h=a.getItemVisual(f,"colorFromPalette");if(h){var c=a.ensureUniqueItemVisual(f,"style"),v=n.getName(l)||l+"",d=n.count();c[u]=r.getColorFromPalette(v,o,d)}})}})}},eo=Math.PI;function RC(e,t){t=t||{},pt(t,{text:"loading",textColor:U.color.primary,fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255,255,255,0.8)",showSpinner:!0,color:U.color.theme[0],spinnerRadius:10,lineWidth:5,zlevel:0});var r=new re,n=new Mt({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});r.add(n);var i=new ie({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),a=new Mt({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});r.add(a);var o;return t.showSpinner&&(o=new ks({shape:{startAngle:-eo/2,endAngle:-eo/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),o.animateShape(!0).when(1e3,{endAngle:eo*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:eo*3/2}).delay(300).start("circularInOut"),r.add(o)),r.resize=function(){var s=i.getBoundingRect().width,u=t.showSpinner?t.spinnerRadius:0,l=(e.getWidth()-u*2-(t.showSpinner&&s?10:0)-s)/2-(t.showSpinner&&s?0:5+s/2)+(t.showSpinner?0:s/2)+(s?0:u),f=e.getHeight()/2;t.showSpinner&&o.setShape({cx:l,cy:f}),a.setShape({x:l-u,y:f-u,width:u*2,height:u*2}),n.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},r.resize(),r}var Ay=(function(){function e(t,r,n,i){this._stageTaskMap=W(),this.ecInstance=t,this.api=r,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return e.prototype.restoreData=function(t,r){t.restoreData(r),this._stageTaskMap.each(function(n){var i=n.overallTask;i&&i.dirty()})},e.prototype.getPerformArgs=function(t,r){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,a=!r&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex,o=a?n.step:null,s=i&&i.modDataCount,u=s!=null?Math.ceil(s/o):null;return{step:o,modBy:u,modDataCount:s}}},e.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},e.prototype.updateStreamModes=function(t,r){var n=this._pipelineMap.get(t.uid),i=t.__preparePipelineContext?t.__preparePipelineContext(r,n):qS(t,r,n);t.pipelineContext=n.context=i},e.prototype.restorePipelines=function(t,r){var n=this,i=n._pipelineMap=W();r.eachSeries(function(a){var o=t.painter.type==="canvas"&&a.getProgressive(),s=a.uid;i.set(s,{id:s,head:null,tail:null,threshold:a.getProgressiveThreshold(),progressiveEnabled:o&&!(a.preventIncremental&&a.preventIncremental()),blockIndex:-1,step:Math.round(o||700),count:0}),n._pipe(a,a.dataTask)})},e.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,r=this.api.getModel(),n=this.api;b(this._allHandlers,function(i){var a=t.get(i.uid)||t.set(i.uid,{}),o="";tr(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,a,r,n),i.overallReset&&this._createOverallStageTask(i,a,r,n)},this)},e.prototype.prepareView=function(t,r,n,i){var a=t.renderTask,o=a.context;o.model=r,o.ecModel=n,o.api=i,a.__block=!t.incrementalPrepareRender,this._pipe(r,a)},e.prototype.performDataProcessorTasks=function(t,r){this._performStageTasks(this._dataProcessorHandlers,t,r,{block:!0})},e.prototype.performVisualTasks=function(t,r,n){this._performStageTasks(this._visualHandlers,t,r,n)},e.prototype._performStageTasks=function(t,r,n,i){i=i||{};var a=!1,o=this;b(t,function(u,l){if(!(i.visualType&&i.visualType!==u.visualType)){var f=o._stageTaskMap.get(u.uid),h=f.seriesTaskMap,c=f.overallTask;if(c){var v,d=c.agentStubMap;d.each(function(p){s(i,p)&&(p.dirty(),v=!0)}),v&&c.dirty(),o.updatePayload(c,n);var g=o.getPerformArgs(c,i.block);d.each(function(p){p.perform(g)}),c.perform(g)&&(a=!0)}else h&&h.each(function(p,m){s(i,p)&&p.dirty();var y=o.getPerformArgs(p,i.block);y.skip=!u.performRawSeries&&r.isSeriesFiltered(p.context.model),o.updatePayload(p,n),p.perform(y)&&(a=!0)})}});function s(u,l){return u.setDirty&&(!u.dirtyMap||u.dirtyMap.get(l.__pipeline.id))}this.unfinished=a||this.unfinished},e.prototype.performSeriesTasks=function(t){var r;t.eachSeries(function(n){r=n.dataTask.perform()||r}),this.unfinished=r||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(t){var r=t.tail;do{if(r.__block){t.blockIndex=r.__idxInPipeline;break}r=r.getUpstream()}while(r)})},e.prototype.updatePayload=function(t,r){r!=="remain"&&(t.context.payload=r)},e.prototype._createSeriesStageTask=function(t,r,n,i){var a=this,o=r.seriesTaskMap,s=r.seriesTaskMap=W(),u=t.seriesType,l=t.getTargetSeries;t.createOnAllSeries?n.eachRawSeries(f):u?n.eachRawSeriesByType(u,f):l&&l(n,i).each(f);function f(h){var c=h.uid,v=s.set(c,o&&o.get(c)||Ki({plan:FC,reset:zC,count:VC}));v.context={model:h,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:a},a._pipe(h,v)}},e.prototype._createOverallStageTask=function(t,r,n,i){var a=this,o=r.overallTask=r.overallTask||Ki({reset:OC});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:a};var s=o.agentStubMap,u=o.agentStubMap=W(),l=t.seriesType,f=t.getTargetSeries,h=t.dirtyOnOverallProgress,c=!1,v="";tr(!t.createOnAllSeries,v),l?n.eachRawSeriesByType(l,d):f?f(n,i).each(d):b(n.getSeries(),d);function d(g){var p=g.uid,m=u.set(p,s&&s.get(p)||(c=!0,Ki({reset:kC,onDirty:NC})));m.context={model:g,dirtyOnOverallProgress:h},m.agent=o,m.__block=h,a._pipe(g,m)}c&&o.dirty()},e.prototype._pipe=function(t,r){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=r),i.tail&&i.tail.pipe(r),i.tail=r,r.__idxInPipeline=i.count++,r.__pipeline=i},e.wrapStageHandler=function(t,r){return j(t)&&(t={overallReset:t,seriesType:GC(t)}),t.uid=zs("stageHandler"),r&&(t.visualType=r),t},e})();function OC(e){e.overallReset(e.ecModel,e.api,e.payload)}function kC(e){return e.dirtyOnOverallProgress&&BC}function BC(){this.agent.dirty(),this.getDownstream().dirty()}function NC(){this.agent&&this.agent.dirty()}function FC(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function zC(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=Ut(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?Y(t,function(r,n){return Ly(n)}):HC}var HC=Ly(0);function Ly(e){return function(t,r){var n=r.data,i=r.resetDefines[e];if(i&&i.dataEach)for(var a=t.start;a0&&v===l.length-c.length){var d=l.slice(0,v);d!=="data"&&(r.mainType=d,r[c.toLowerCase()]=u,f=!0)}}s.hasOwnProperty(l)&&(n[l]=u,f=!0),f||(i[l]=u)})}return{cptQuery:r,dataQuery:n,otherQuery:i}},e.prototype.filter=function(t,r){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,a=n.packedEvent,o=n.model,s=n.view;if(!o||!s)return!0;var u=r.cptQuery,l=r.dataQuery;return f(u,o,"mainType")&&f(u,o,"subType")&&f(u,o,"index","componentIndex")&&f(u,o,"name")&&f(u,o,"id")&&f(l,a,"name")&&f(l,a,"dataIndex")&&f(l,a,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,r.otherQuery,i,a));function f(h,c,v,d){return h[v]==null||c[d||v]===h[v]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e})(),gf=["symbol","symbolSize","symbolRotate","symbolOffset"],Md=gf.concat(["symbolKeepAspect"]),WC={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var r=e.getData();if(e.legendIcon&&r.setVisual("legendIcon",e.legendIcon),!e.hasSymbolVisual)return;for(var n={},i={},a=!1,o=0;o=0&&tn(u)?u:.5;var l=e.createRadialGradient(o,s,0,o,s,u);return l}function yf(e,t,r){for(var n=t.type==="radial"?vM(e,t,r):cM(e,t,r),i=t.colorStops,a=0;a0)?null:e==="dashed"?[4*t,2*t]:e==="dotted"?[t]:Tt(e)?[e]:B(e)?e:null}function Oy(e){var t=e.style,r=t.lineDash&&t.lineWidth>0&&pM(t.lineDash,t.lineWidth),n=t.lineDashOffset;if(r){var i=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;i&&i!==1&&(r=Y(r,function(a){return a/i}),n/=i)}return[r,n]}var gM=new Jn(!0);function os(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function Dd(e){return typeof e=="string"&&e!=="none"}function ss(e){var t=e.fill;return t!=null&&t!=="none"}function Ad(e,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var r=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=r}else e.fill()}function Ld(e,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var r=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=r}else e.stroke()}function _f(e,t,r){var n=Yg(t.image,t.__image,r);if(As(n)){var i=e.createPattern(n,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(t.x||0,t.y||0),a.rotateSelf(0,0,(t.rotation||0)*X_),a.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(a)}return i}}function mM(e,t,r,n,i){var a,o=os(r),s=ss(r),u=r.strokePercent,l=u<1,f=!t.path;(!t.silent||l)&&f&&t.createPathProxy();var h=t.path||gM,c=t.__dirty;if(!n){var v=r.fill,d=r.stroke,g=s&&!!v.colorStops,p=o&&!!d.colorStops,m=s&&!!v.image,y=o&&!!d.image,_=void 0,S=void 0,T=void 0,w=void 0,x=void 0;(g||p)&&(x=t.getBoundingRect()),g&&(_=c?yf(e,v,x):t.__canvasFillGradient,t.__canvasFillGradient=_),p&&(S=c?yf(e,d,x):t.__canvasStrokeGradient,t.__canvasStrokeGradient=S),m&&(T=c||!t.__canvasFillPattern?_f(e,v,t):t.__canvasFillPattern,t.__canvasFillPattern=T),y&&(w=c||!t.__canvasStrokePattern?_f(e,d,t):t.__canvasStrokePattern,t.__canvasStrokePattern=w),g?e.fillStyle=_:m&&(T?e.fillStyle=T:s=!1),p?e.strokeStyle=S:y&&(w?e.strokeStyle=w:o=!1)}var D=t.getGlobalScale();h.setScale(D[0],D[1],t.segmentIgnoreThreshold);var M,C;e.setLineDash&&r.lineDash&&(a=Oy(t),M=a[0],C=a[1]);var A=!0;(f||c&On)&&(h.setDPR(e.dpr),l?h.setContext(null):(h.setContext(e),A=!1),h.reset(),t.buildPath(h,t.shape,n),h.toStatic(),t.pathUpdated()),A&&h.rebuildPath(e,l?u:1),M&&(e.setLineDash(M),e.lineDashOffset=C),n?(i.batchFill=s,i.batchStroke=o):r.strokeFirst?(o&&Ld(e,r),s&&Ad(e,r)):(s&&Ad(e,r),o&&Ld(e,r)),M&&e.setLineDash([])}function yM(e,t,r){var n=t.__image=Yg(r.image,t.__image,t,t.onload);if(!(!n||!As(n))){var i=r.x||0,a=r.y||0,o=t.getWidth(),s=t.getHeight(),u=n.width/n.height;if(o==null&&s!=null?o=s*u:s==null&&o!=null?s=o/u:o==null&&s==null&&(o=n.width,s=n.height),r.sWidth&&r.sHeight){var l=r.sx||0,f=r.sy||0;e.drawImage(n,l,f,r.sWidth,r.sHeight,i,a,o,s)}else if(r.sx&&r.sy){var l=r.sx,f=r.sy,h=o-l,c=s-f;e.drawImage(n,l,f,h,c,i,a,o,s)}else e.drawImage(n,i,a,o,s)}}function _M(e,t,r){var n,i=r.text;if(i!=null&&(i+=""),i){e.font=r.font||Sr,e.textAlign=r.textAlign,e.textBaseline=r.textBaseline;var a=void 0,o=void 0;e.setLineDash&&r.lineDash&&(n=Oy(t),a=n[0],o=n[1]),a&&(e.setLineDash(a),e.lineDashOffset=o),r.strokeFirst?(os(r)&&e.strokeText(i,r.x,r.y),ss(r)&&e.fillText(i,r.x,r.y)):(ss(r)&&e.fillText(i,r.x,r.y),os(r)&&e.strokeText(i,r.x,r.y)),a&&e.setLineDash([])}}var Id=["shadowBlur","shadowOffsetX","shadowOffsetY"],Pd=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function ky(e,t,r,n,i){var a=!1;if(!n&&(r=r||{},t===r))return!1;if(n||t.opacity!==r.opacity){Gt(e,i),a=!0;var o=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(o)?an.opacity:o}(n||t.blend!==r.blend)&&(a||(Gt(e,i),a=!0),e.globalCompositeOperation=t.blend||an.blend);for(var s=0;s0&&r.unfinished);r.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(r,n,i){if(!this[bt]){if(this._disposed){this.id;return}var a,o,s;if(H(n)&&(i=n.lazyUpdate,a=n.silent,o=n.replaceMerge,s=n.transition,n=n.notMerge),this[bt]=!0,Pn(this),!this._model||n){var u=new Sb(this._api),l=this._theme,f=this._model=new Hh;f.scheduler=this._scheduler,f.ssr=this._ssr,f.init(null,null,null,l,this._locale,u)}this._model.setOption(r,{replaceMerge:o},bf);var h={seriesTransition:s,optionChanged:!0};if(i)this[Dt]={silent:a,updateParams:h},this[bt]=!1,this.getZr().wakeUp();else{try{qr(this),Ke.update.call(this,null,h)}catch(c){throw this[Dt]=null,this[bt]=!1,c}this._ssr||this._zr.flush(),this[Dt]=null,this[bt]=!1,Ln.call(this,a),In.call(this,a)}}},t.prototype.setTheme=function(r,n){if(!this[bt]){if(this._disposed){this.id;return}var i=this._model;if(i){var a=n&&n.silent,o=null;this[Dt]&&(a==null&&(a=this[Dt].silent),o=this[Dt].updateParams,this[Dt]=null),this[bt]=!0,Pn(this);try{this._updateTheme(r),i.setTheme(this._theme),qr(this),Ke.update.call(this,{type:"setTheme"},o)}catch(s){throw this[bt]=!1,s}this[bt]=!1,Ln.call(this,a),In.call(this,a)}}},t.prototype._updateTheme=function(r){F(r)&&(r=Qy[r]),r&&(r=rt(r),r&&sy(r,!0),this._theme=r)},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||K.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(r){return this.renderToCanvas(r)},t.prototype.renderToCanvas=function(r){r=r||{};var n=this._zr.painter;return n.getRenderedCanvas({backgroundColor:r.backgroundColor||this._model.get("backgroundColor"),pixelRatio:r.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(r){r=r||{};var n=this._zr.painter;return n.renderToString({useViewBox:r.useViewBox})},t.prototype.getSvgDataURL=function(){var r=this._zr,n=r.storage.getDisplayList();return b(n,function(i){i.stopAnimation(null,!0)}),r.painter.toDataURL()},t.prototype.getDataURL=function(r){if(this._disposed){this.id;return}r=r||{};var n=r.excludeComponents,i=this._model,a=[],o=this;b(n,function(u){i.eachComponent({mainType:u},function(l){var f=o._componentsMap[l.__viewId];f.group.ignore||(a.push(f),f.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(r).toDataURL("image/"+(r&&r.type||"png"));return b(a,function(u){u.group.ignore=!1}),s},t.prototype.getConnectedDataURL=function(r){if(this._disposed){this.id;return}var n=r.type==="svg",i=this.group,a=Math.min,o=Math.max,s=1/0;if(Zd[i]){var u=s,l=s,f=-s,h=-s,c=[],v=r&&r.pixelRatio||this.getDevicePixelRatio();b(Qi,function(_,S){if(_.group===i){var T=n?_.getZr().painter.getSvgDom().innerHTML:_.renderToCanvas(rt(r)),w=_.getDom().getBoundingClientRect();u=a(w.left,u),l=a(w.top,l),f=o(w.right,f),h=o(w.bottom,h),c.push({dom:T,left:w.left,top:w.top})}}),u*=v,l*=v,f*=v,h*=v;var d=f-u,g=h-l,p=ee.createCanvas(),m=Zc(p,{renderer:n?"svg":"canvas"});if(m.resize({width:d,height:g}),n){var y="";return b(c,function(_){var S=_.left-u,T=_.top-l;y+=''+_.dom+""}),m.painter.getSvgRoot().innerHTML=y,r.connectedBackgroundColor&&m.painter.setBackgroundColor(r.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}else return r.connectedBackgroundColor&&m.add(new Mt({shape:{x:0,y:0,width:d,height:g},style:{fill:r.connectedBackgroundColor}})),b(c,function(_){var S=new pn({style:{x:_.left*v-u,y:_.top*v-l,image:_.dom}});m.add(S)}),m.refreshImmediately(),p.toDataURL("image/"+(r&&r.type||"png"))}else return this.getDataURL(r)},t.prototype.convertToPixel=function(r,n,i){return oo(this,"convertToPixel",r,n,i)},t.prototype.convertToLayout=function(r,n,i){return oo(this,"convertToLayout",r,n,i)},t.prototype.convertFromPixel=function(r,n,i){return oo(this,"convertFromPixel",r,n,i)},t.prototype.containPixel=function(r,n){if(this._disposed){this.id;return}var i=this._model,a,o=xu(i,r);return b(o,function(s,u){u.indexOf("Models")>=0&&b(s,function(l){var f=l.coordinateSystem;if(f&&f.containPoint)a=a||!!f.containPoint(n);else if(u==="seriesModels"){var h=this._chartsMap[l.__viewId];h&&h.containPoint&&(a=a||h.containPoint(n,l))}},this)},this),!!a},t.prototype.getVisual=function(r,n){var i=this._model,a=xu(i,r,{defaultMainType:"series"}),o=a.seriesModel,s=o.getData(),u=a.hasOwnProperty("dataIndexInside")?a.dataIndexInside:a.hasOwnProperty("dataIndex")?s.indexOfRawIndex(a.dataIndex):null;return u!=null?XC(s,u,n):ZC(s,n)},t.prototype.getViewOfComponentModel=function(r){return this._componentsMap[r.__viewId]},t.prototype.getViewOfSeriesModel=function(r){return this._chartsMap[r.__viewId]},t.prototype._initEvents=function(){var r=this;b(UM,function(i){var a=function(o){var s=r.getModel(),u=o.target,l,f=i==="globalout";if(f?l={}:u&&zi(u,function(g){var p=yt(g);if(p&&p.dataIndex!=null){var m=p.dataModel||s.getSeriesByIndex(p.seriesIndex);return l=m&&m.getDataParams(p.dataIndex,p.dataType,u)||{},!0}else if(p.eventData)return l=k({},p.eventData),!0},!0),l){var h=l.componentType,c=l.componentIndex;(h==="markLine"||h==="markPoint"||h==="markArea")&&(h="series",c=l.seriesIndex);var v=h&&c!=null&&s.getComponent(h,c),d=v&&r[v.mainType==="series"?"_chartsMap":"_componentsMap"][v.__viewId];l.event=o,l.type=i,r._$eventProcessor.eventInfo={targetEl:u,packedEvent:l,model:v,view:d},r.trigger(i,l)}};a.zrEventfulCallAtLast=!0,r._zr.on(i,a,r)});var n=this._messageCenter;b(wf,function(i,a){n.on(a,function(o){r.trigger(a,o)})}),$C(n,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var r=this.getDom();r&&Hg(this.getDom(),$h,"");var n=this,i=n._api,a=n._model;b(n._componentsViews,function(o){o.dispose(a,i)}),b(n._chartsViews,function(o){o.dispose(a,i)}),n._zr.dispose(),n._dom=n._model=n._chartsMap=n._componentsMap=n._chartsViews=n._componentsViews=n._scheduler=n._api=n._zr=n._throttledZrFlush=n._theme=n._coordSysMgr=n._messageCenter=null,delete Qi[n.id]},t.prototype.resize=function(r){if(!this[bt]){if(this._disposed){this.id;return}this._zr.resize(r);var n=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!n){var i=n.resetOption("media"),a=r&&r.silent;this[Dt]&&(a==null&&(a=this[Dt].silent),i=!0,this[Dt]=null),this[bt]=!0,Pn(this);try{i&&qr(this),Ke.update.call(this,{type:"resize",animation:k({duration:0},r&&r.animation)})}catch(o){throw this[bt]=!1,o}this[bt]=!1,Ln.call(this,a),In.call(this,a)}}},t.prototype.showLoading=function(r,n){if(this._disposed){this.id;return}if(H(r)&&(n=r,r=""),r=r||"default",this.hideLoading(),!!Cf[r]){var i=Cf[r](this._api,n),a=this._zr;this._loadingFX=i,a.add(i)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(r){var n=k({},r);return n.type=Tf[r.type],n},t.prototype.dispatchAction=function(r,n){if(this._disposed){this.id;return}if(H(n)||(n={silent:!!n}),!!us[r.type]&&this._model){if(this[bt]){this._pendingActions.push(r);return}var i=n.silent;el.call(this,r,i);var a=n.flush;a?this._zr.flush():a!==!1&&K.browser.weChat&&this._throttledZrFlush(),Ln.call(this,i),In.call(this,i)}},t.prototype.updateLabelLayout=function(){ue.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(r){if(this._disposed){this.id;return}var n=r.seriesIndex,i=this.getModel(),a=i.getSeriesByIndex(n);a.appendData(r),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=(function(){qr=function(h){QC(h._model);var c=h._scheduler;c.restorePipelines(h._zr,h._model),c.prepareStageTasks(),Ju(h,!0),Ju(h,!1),c.plan()},Ju=function(h,c){for(var v=h._model,d=h._scheduler,g=c?h._componentsViews:h._chartsViews,p=c?h._componentsMap:h._chartsMap,m=h._zr,y=h._api,_=0;_G(c.get("hoverLayerThreshold"),ry.hoverLayerThreshold)&&!K.node&&!K.worker;(h._usingTHL||p)&&(c.eachSeries(function(m){if(!m.preventUsingHoverLayer){var y=h._chartsMap[m.__viewId];y.__alive&&y.eachRendered(function(_){var S=_.states.emphasis;S&&S.hoverLayer!==Cm&&(S.hoverLayer=p?bm:xm)})}}),h._usingTHL=p)}}function s(h,c){var v=h.get("blendMode")||null;c.eachRendered(function(d){d.isGroup||(d.style.blend=v)})}function u(h,c){if(!h.preventAutoZ){var v=Em(h);c.eachRendered(function(d){return Rm(d,v.z,v.zlevel),!0})}}function l(h,c){c.eachRendered(function(v){if(!Xi(v)){var d=v.getTextContent(),g=v.getTextGuideLine();v.stateTransition&&(v.stateTransition=null),d&&d.stateTransition&&(d.stateTransition=null),g&&g.stateTransition&&(g.stateTransition=null),v.hasState()?(v.prevStates=v.currentStates,v.clearStates()):v.prevStates&&(v.prevStates=null)}})}function f(h,c){var v=h.getModel("stateAnimation"),d=h.isAnimationEnabled(),g=v.get("duration"),p=g>0?{duration:g,delay:v.get("delay"),easing:v.get("easing")}:null;c.eachRendered(function(m){if(m.states&&m.states.emphasis){if(Xi(m))return;if(m instanceof mt&&mw(m),m.__dirty){var y=m.prevStates;y&&m.useStates(y)}if(d){m.stateTransition=p;var _=m.getTextContent(),S=m.getTextGuideLine();_&&(_.stateTransition=p),S&&(S.stateTransition=p)}m.__dirty&&a(m)}})}Yd=function(h){return new((function(c){z(v,c);function v(){return c!==null&&c.apply(this,arguments)||this}return v.prototype.getCoordinateSystems=function(){return h._coordSysMgr.getCoordinateSystems()},v.prototype.getComponentByElement=function(d){for(;d;){var g=d.__ecComponentInfo;if(g!=null)return h._model.getComponent(g.mainType,g.index);d=d.parent}},v.prototype.enterEmphasis=function(d,g){Kl(d,g),oe(h)},v.prototype.leaveEmphasis=function(d,g){Ql(d,g),oe(h)},v.prototype.enterBlur=function(d){sw(d),oe(h)},v.prototype.leaveBlur=function(d){um(d),oe(h)},v.prototype.enterSelect=function(d){lm(d),oe(h)},v.prototype.leaveSelect=function(d){fm(d),oe(h)},v.prototype.getModel=function(){return h.getModel()},v.prototype.getViewOfComponentModel=function(d){return h.getViewOfComponentModel(d)},v.prototype.getViewOfSeriesModel=function(d){return h.getViewOfSeriesModel(d)},v.prototype.getECUpdateCycleVersion=function(){return h[io]},v.prototype.usingTHL=function(){return h._usingTHL},v})(nm))(h)},qy=function(h){function c(v,d){for(var g=0;g=0)){$d.push(r);var o=Ay.wrapStageHandler(r,i);o.__prio=t,o.__raw=r,e.push(o)}}function e0(e,t){Cf[e]=t}function QM(e,t,r){var n=KC("registerMap");n&&n(e,t,r)}var jM=Jb;mn(Xh,IC);mn(Ys,PC);mn(Ys,EC);mn(Xh,WC);mn(Ys,YC);mn(Uy,DM);Jy(sy);t0(PM,Eb);e0("default",RC);fi({type:on,event:on,update:on},Nt);fi({type:Ao,event:Ao,update:Ao},Nt);fi({type:Jo,event:lh,update:Jo,action:Nt,refineEvent:Qh,publishNonRefinedEvent:!0});fi({type:ql,event:lh,update:ql,action:Nt,refineEvent:Qh,publishNonRefinedEvent:!0});fi({type:ts,event:lh,update:ts,action:Nt,refineEvent:Qh,publishNonRefinedEvent:!0});function Qh(e,t,r,n){return{eventContent:{selected:cw(r),isFromClick:t.isFromClick||!1}}}jy("default",{});jy("dark",Ey);function wi(e){return e==null?0:e.length||1}function qd(e){return e}var JM=(function(){function e(t,r,n,i,a,o){this._old=t,this._new=r,this._oldKeyGetter=n||qd,this._newKeyGetter=i||qd,this.context=a,this._diffModeMultiple=o==="multiple"}return e.prototype.add=function(t){return this._add=t,this},e.prototype.update=function(t){return this._update=t,this},e.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},e.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},e.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},e.prototype.remove=function(t){return this._remove=t,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var t=this._old,r=this._new,n={},i=new Array(t.length),a=new Array(r.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(r,n,a,"_newKeyGetter");for(var o=0;o1){var f=u.shift();u.length===1&&(n[s]=u[0]),this._update&&this._update(f,o)}else l===1?(n[s]=null,this._update&&this._update(u,o)):this._remove&&this._remove(o)}this._performRestAdd(a,n)},e.prototype._executeMultiple=function(){var t=this._old,r=this._new,n={},i={},a=[],o=[];this._initIndexMap(t,n,a,"_oldKeyGetter"),this._initIndexMap(r,i,o,"_newKeyGetter");for(var s=0;s1&&c===1)this._updateManyToOne&&this._updateManyToOne(f,l),i[u]=null;else if(h===1&&c>1)this._updateOneToMany&&this._updateOneToMany(f,l),i[u]=null;else if(h===1&&c===1)this._update&&this._update(f,l),i[u]=null;else if(h>1&&c>1)this._updateManyToMany&&this._updateManyToMany(f,l),i[u]=null;else if(h>1)for(var v=0;v1)for(var s=0;s30}var xi=H,ur=Y,oD=typeof Int32Array>"u"?Array:Int32Array,sD="e\0\0",Kd=-1,uD=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],lD=["_approximateExtent"],Qd,uo,bi,Ci,il,Mi,al,fD=(function(){function e(t,r){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var n,i=!1;n0(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var a={},o=[],s={},u=!1,l={},f=0;f=r)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var a=this._nameList,o=this._idList,s=i.getSource().sourceFormat,u=s===ae;if(u&&!i.pure)for(var l=[],f=t;f0},e.prototype.ensureUniqueItemVisual=function(t,r){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var a=i[r];return a==null&&(a=this.getVisual(r),B(a)?a=a.slice():xi(a)&&(a=k({},a)),i[r]=a),a},e.prototype.setItemVisual=function(t,r,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,xi(r)?k(i,r):i[r]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(t,r){xi(t)?k(this._layout,t):this._layout[t]=r},e.prototype.getLayout=function(t){return this._layout[t]},e.prototype.getItemLayout=function(t){return this._itemLayouts[t]},e.prototype.setItemLayout=function(t,r,n){this._itemLayouts[t]=n?k(this._itemLayouts[t]||{},r):r},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(t,r){var n=this.hostModel&&this.hostModel.seriesIndex;qT(n,this.dataType,t,r),this._graphicEls[t]=r},e.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},e.prototype.eachItemGraphicEl=function(t,r){b(this._graphicEls,function(n,i){n&&t&&t.call(r,n,i)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:ur(this.dimensions,this._getDimInfo,this),this.hostModel)),il(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(t,r){var n=this[t];j(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var i=n.apply(this,arguments);return r.apply(this,[i].concat(Xf(arguments)))})},e.internalField=(function(){Qd=function(t){var r=t._invertedIndicesMap;b(r,function(n,i){var a=t._dimInfos[i],o=a.ordinalMeta,s=t._store;if(o){n=r[i]=new oD(o.categories.length);for(var u=0;u1&&(u+="__ec__"+f),i[r]=u}}})(),e})();function hD(e,t){Vh(e)||(e=uy(e)),t=t||{};var r=t.coordDimensions||[],n=t.dimensionsDefine||e.dimensionsDefine||[],i=W(),a=[],o=cD(e,r,n,t.dimensionsCount),s=t.canOmitUnusedDimensions&&a0(o),u=n===e.dimensionsDefine,l=u?i0(e):jh(n),f=t.encodeDefine;!f&&t.encodeDefaulter&&(f=t.encodeDefaulter(e,o));for(var h=W(f),c=new gy(o),v=0;v0&&(M.name=M.name+(C-1))}),new r0({source:e,dimensions:a,fullDimensionCount:o,dimensionOmitted:s})}function cD(e,t,r,n){var i=Math.max(e.dimensionsDetectedCount||1,t.length,r.length,n||0);return b(t,function(a){var o;H(a)&&(o=a.dimsDef)&&(i=Math.max(i,o.length))}),i}function vD(e,t,r){if(r||t.hasKey(e)){for(var n=0;t.hasKey(e+n);)n++;e+=n}return t.set(e,!0),e}var dD=(function(){function e(t){this.coordSysDims=[],this.axisMap=W(),this.categoryAxisMap=W(),this.coordSysName=t}return e})();function pD(e){var t=e.get("coordinateSystem"),r=new dD(t),n=gD[t];if(n)return n(e,r,r.axisMap,r.categoryAxisMap),r}var gD={cartesian2d:function(e,t,r,n){var i=e.getReferringComponents("xAxis",pe).models[0],a=e.getReferringComponents("yAxis",pe).models[0];t.coordSysDims=["x","y"],r.set("x",i),r.set("y",a),En(i)&&(n.set("x",i),t.firstCategoryDimIndex=0),En(a)&&(n.set("y",a),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,r,n){var i=e.getReferringComponents("singleAxis",pe).models[0];t.coordSysDims=["single"],r.set("single",i),En(i)&&(n.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,r,n){var i=e.getReferringComponents("polar",pe).models[0],a=i.findAxisModel("radiusAxis"),o=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],r.set("radius",a),r.set("angle",o),En(a)&&(n.set("radius",a),t.firstCategoryDimIndex=0),En(o)&&(n.set("angle",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(e,t,r,n){t.coordSysDims=["lng","lat"]},parallel:function(e,t,r,n){var i=e.ecModel,a=i.getComponent("parallel",e.get("parallelIndex")),o=t.coordSysDims=a.dimensions.slice();b(a.parallelAxisIndex,function(s,u){var l=i.getComponent("parallelAxis",s),f=o[u];r.set(f,l),En(l)&&(n.set(f,l),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=u))})},matrix:function(e,t,r,n){var i=e.getReferringComponents("matrix",pe).models[0];t.coordSysDims=["x","y"];var a=i.getDimensionModel("x"),o=i.getDimensionModel("y");r.set("x",a),r.set("y",o),n.set("x",a),n.set("y",o)}};function En(e){return e.get("type")==="category"}function mD(e,t,r){r=r||{};var n=r.byIndex,i=r.stackedCoordDimension,a,o,s;yD(t)?a=t:(o=t.schema,a=o.dimensions,s=t.store);var u=!!(e&&e.get("stack")),l,f,h,c,v=!0;function d(S){return S.type!=="ordinal"&&S.type!=="time"}if(b(a,function(S,T){F(S)&&(a[T]=S={name:S}),d(S)||(v=!1)}),b(a,function(S,T){u&&!S.isExtraCoord&&(!n&&!l&&S.ordinalMeta&&(l=S),!f&&d(S)&&(!v||S.coordDim!=="x"&&S.coordDim!=="angle")&&(!i||i===S.coordDim)&&(f=S))}),f&&!n&&!l&&(n=!0),f){h="__\0ecstackresult_"+e.id,c="__\0ecstackedover_"+e.id,l&&(l.createInvertedIndices=!0);var g=f.coordDim,p=f.type,m=0;b(a,function(S){S.coordDim===g&&m++});var y={name:h,coordDim:g,coordDimIndex:m,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},_={name:c,coordDim:c,coordDimIndex:m+1,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};o?(s&&(y.storeDimIndex=s.ensureCalculationDimension(c,p),_.storeDimIndex=s.ensureCalculationDimension(h,p)),o.appendCalculationDimension(y),o.appendCalculationDimension(_)):(a.push(y),a.push(_))}return{stackedDimension:f&&f.name,stackedByDimension:l&&l.name,isStackedByIndex:n,stackedOverDimension:c,stackResultDimension:h}}function yD(e){return!n0(e.schema)}function _D(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function SD(e,t){return _D(e,t)?e.getCalculationInfo("stackResultDimension"):t}function TD(e,t){var r=e.get("coordinateSystem"),n=kh.get(r),i;return t&&t.coordSysDims&&(i=Y(t.coordSysDims,function(a){var o={name:a},s=t.axisMap.get(a);if(s){var u=s.get("type");o.type=rD(u)}return o})),i||(i=n&&(n.getDimensionsInfo?n.getDimensionsInfo():n.dimensions.slice())||["x","y"]),i}function wD(e,t,r){var n,i;return r&&b(e,function(a,o){var s=a.coordDim,u=r.categoryAxisMap.get(s);u&&(n==null&&(n=o),a.ordinalMeta=u.getOrdinalMeta(),t&&(a.createInvertedIndices=!0)),a.otherDims.itemName!=null&&(i=!0)}),!i&&n!=null&&(e[n].otherDims.itemName=0),n}function Y2(e,t,r){r=r||{};var n=t.getSourceManager(),i,a=!1;i=n.getSource(),a=i.sourceFormat===ae;var o=pD(t),s=TD(t,o),u=r.useEncodeDefaulter,l=j(u)?u:u?Ct(lb,s,t):null,f={coordDimensions:s,generateCoord:r.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:l,canOmitUnusedDimensions:!a},h=hD(i,f),c=wD(h.dimensions,r.createInvertedIndices,o),v=a?null:n.getSharedDataStore(h),d=mD(t,{schema:h,store:v}),g=new fD(h,t);g.setCalculationInfo(d);var p=c!=null&&xD(i)?function(m,y,_,S){return S===c?_:this.defaultDimValueGetter(m,y,_,S)}:null;return g.hasItemOption=!1,g.initData(a?i:v,null,p),g}function xD(e){if(e.sourceFormat===ae){var t=bD(e.data||[]);return!B(wa(t))}}function bD(e){for(var t=0;t=t[0]&&e<=t[1]},getExtent:function(){return this._extents[me].slice()},getExtentUnsafe:function(e){return this._extents[e]},setExtent:function(e,t){jd(this._extents,me,e,t)},setExtent2:function(e,t,r){var n=this._extents;n[e]||(n[e]=n[me].slice()),jd(n,e,t,r)},freeze:function(){}};function jd(e,t,r,n){jn(r,n)&&(e[t][0]=r,e[t][1]=n)}function l0(e){return cs(e)||ni(e)}function cs(e){return e.type==="interval"}function tc(e){return e.type==="time"}function ni(e){return e.type==="log"}function Xe(e){return e.type==="ordinal"}function ED(e){var t=jf(e),r=dn(10,t),n=er(e/r);return n?n===2?n=3:n===3?n=5:n*=2:n=1,at(n*r,-t)}function cn(e){return dr(e)+2}function lo(e,t){return ra(e)/ra(t)}function ol(e,t,r){var n=r&&r.lookup;if(n){for(var i=0;i1&&a/o>2&&(i=Math.round(Math.ceil(i/o)*o)),i!==n[0]&&u(n[0],!0,!0);for(var s=i;s<=n[1];s+=o)u(s,!1,s===n[0]||s===n[1]);s-o!==n[1]&&u(n[1],!0,!0);function u(l,f,h){r({value:l,offInterval:f},h)}}var c0=(function(e){z(t,e);function t(r){var n=e.call(this)||this;n.type="ordinal",n.parse=t.parse,s0(n,t.decoratedMethods);var i=r.ordinalMeta;i||(i=new Mf({})),B(i)&&(i=new Mf({categories:Y(i,function(o){return H(o)?o.value:o})})),n._ordinalMeta=i;var a=Jh(null,null,r.extent||[0,i.categories.length-1]);return n._mapper=a.mapper,u0(n),n}return t.parse=function(r){return r==null?r=NaN:F(r)?(r=this._ordinalMeta.getOrdinal(r),r==null&&(r=NaN)):r=er(r),r},t.prototype.getTicks=function(){var r=[];return h0(this,0,function(n){r.push(n)}),r},t.prototype.getMinorTicks=function(r){},t.prototype.setSortInfo=function(r){if(r==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var n=r.ordinalNumbers,i=this._ordinalNumbersByTick=[],a=this._ticksByOrdinalNumber=[],o=0,s=this._ordinalMeta.categories.length,u=ne(s,n.length);o=0&&r=0&&r=0&&ro[0]&&go[1]||!isFinite(g)||!isFinite(o[1]))break}else{if(p>d)break;g=ne(g,o[1]),p===d&&(g=o[1])}if(h.push({value:g}),g=at(g+i,s),l){var m=l.calcNiceTickMultiple(g,v);m>=0&&(g=at(g+m*i,s))}if(h.length>0&&g===h[h.length-1].value)break;if(h.length>c)return[]}var y=h.length?h[h.length-1].value:o[1];return a[1]>y&&h.push({value:r.expandToNicedExtent?at(y+i,s):a[1]}),h},t.prototype.getMinorTicks=function(r){return rc(this,r,Mh(this),this._cfg.interval)},t.prototype.getLabel=function(r,n){if(r==null)return"";var i=n&&n.precision;i==null?i=dr(r.value)||0:i==="auto"&&(i=this._cfg.intervalPrecision);var a=at(r.value,i,!0);return $m(a)},t.type="interval",t})(Me);Me.registerClass($n);var OD=function(e,t,r,n){for(;r>>1;e[i][1]16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function ND(e){var t=30*ge;return e/=t,e>6?6:e>3?3:e>2?2:1}function FD(e){return e/=Zi,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function Jd(e,t){return e/=t?Ah:Dh,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function zD(e){return ht(Jf(e,!0),1)}function HD(e,t,r){var n=Math.max(0,st(sn,t)-1);return uf(new Date(e),sn[n],r).getTime()}function VD(e,t){var r=new Date(0);r[e](1);var n=r.getTime();r[e](1+t);var i=r.getTime()-n;return function(a,o){return Math.max(0,Math.round((o-a)/i))}}function GD(e,t,r,n,i,a){var o=3e3,s=Gx,u=0;function l(R,N,X,$,J,q,tt){for(var et=VD(J,R),V=N,it=new Date(V);Vo));)if(it[J](it[$]()+R),V=it.getTime(),a){var ut=a.calcNiceTickMultiple(V,et);ut>0&&(it[J](it[$]()+ut*R),V=it.getTime())}tt.push({value:V,notAdd:V>n[1]})}function f(R,N,X){var $=[],J=!N.length;if(!kD($i(R),n[0],n[1],r)){J&&(N=[{value:HD(n[0],R,r)},{value:n[1]}]);for(var q=0;q=n[0]&&tt<=n[1]&&l(V,tt,et,it,ut,jt,$),R==="year"&&X.length>1&&q===0&&X.unshift({value:X[0].value-V})}}for(var q=0;q<$.length;q++)X.push($[q])}}for(var h=[],c=[],v=0,d=0,g=0;g=n[0]&&S<=n[1]&&v++)}var T=i/t;if(v>T*1.5&&d>T/1.5||(h.push(y),v>T||e===s[g]))break}c=[]}}}for(var w=kt(Y(h,function(R){return kt(R,function(N){return N.value>=n[0]&&N.value<=n[1]&&!N.notAdd})}),function(R){return R.length>0}),x=w.length-1,D=[],g=0;gn[0])&&D.unshift({value:n[0],time:{level:0,upperTimeUnit:P,lowerTimeUnit:P},notNice:!0}),(!L||L.values&&(a=s);var u=fo.length,l=Math.min(OD(fo,a,0,u),u-1),f=fo[l][1],h=fo[Math.max(l-1,0)][0];e.setTimeInterval({approxInterval:a,interval:f,minLevelUnit:h})};Me.registerClass(v0);var ho=0,co=1,d0=(function(e){z(t,e);function t(r){var n=e.call(this)||this;n.type="log",n.parse=$n.parse,n.base=r.logBase||10;var i=[],a=[];n._lookup={from:i,to:a},i[ho]=i[co]=a[ho]=a[co]=NaN,s0(n,t.mapperMethods),r.breakOption;var o={};return n.powStub=new $n({breakParsed:o.original}),n.intervalStub=new $n({breakParsed:o.transformed}),u0(n,n.intervalStub),n}return t.prototype.getTicks=function(r){var n=this.base,i=this.powStub,a=this.intervalStub,o=a.getExtent(),s=i.getExtent(),u={lookup:{from:o,to:s}};return Y(a.getTicks(r||{}),function(l){var f=l.value,h=ol(f,n,u),c;return{value:h,break:c}},this)},t.prototype.getMinorTicks=function(r){return rc(this,r,Mh(this.powStub),this.intervalStub.getConfig().interval)},t.prototype.getLabel=function(r,n){return this.intervalStub.getLabel(r,n)},t.type="log",t.mapperMethods={needTransform:function(){return!0},normalize:function(r){return this.intervalStub.normalize(lo(r,this.base))},scale:function(r){return ol(this.intervalStub.scale(r),this.base,null)},transformIn:function(r,n){return r=lo(r,this.base),n&&n.depth===fs?r:this.intervalStub.transformIn(r,n)},transformOut:function(r,n){var i=n?n.depth:null;return tp.depth=i,ep.lookup=this._lookup,ol(i===fs?r:this.intervalStub.transformOut(r,tp),this.base,ep)},contain:function(r){return this.powStub.contain(r)},setExtent:function(r,n){this.setExtent2(me,r,n)},setExtent2:function(r,n,i){if(!(!jn(n,i)||n<=0||i<=0)){var a=rp,o=rp;if(r===me){var s=this._lookup;a=s.to,o=s.from}this.powStub.setExtent2(r,a[ho]=n,a[co]=i);var u=this.base;this.intervalStub.setExtent2(r,o[ho]=lo(n,u),o[co]=lo(i,u))}},getFilter:function(){return{g:0}},sanitize:function(r,n){return jn(n[0],n[1])&&Ge(r)&&r<=0&&(r=n[0]),r},getDefaultStartValue:function(){return 1},getExtent:function(){return this.powStub.getExtent()},getExtentUnsafe:function(r,n){return n===null?this.powStub.getExtentUnsafe(r,null):this.intervalStub.getExtentUnsafe(r,n)}},t})(Me);Me.registerClass(d0);var tp={},ep={},rp=[],p0={value:1,category:1,time:1,log:1},g0=vt();function WD(e){var t=e.get("type");return(t==null||!qt(p0,t)&&!Me.getClass(t))&&(t="value"),t}function YD(e,t,r){var n;switch(t){case"category":return new c0({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:Ee()});case"time":return new v0({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC"),breakOption:n});case"log":return new d0({logBase:e.get("logBase"),breakOption:n});case"value":return new $n({breakOption:n});default:return new(Me.getClass(t)||$n)({})}}function XD(e,t,r){var n=e.getExtentUnsafe(me,null),i=n[0],a=n[1];return jn(i,a)?i===t||a===t?$D:it?ZD:Df:Df}var ZD=1,$D=2,Df=3;function qD(e){g0(e).noOnMyZero=!0}function KD(e){return g0(e).noOnMyZero}function Zs(e){var t=e.getLabelModel().get("formatter");if(e.type==="time"){var r=Ux(t);return function(i,a){return e.scale.getFormattedLabel(i,a,r)}}else{if(F(t))return function(i){var a=e.scale.getLabel(i),o=t.replace("{value}",a??"");return o};if(j(t)){if(e.type==="category")return function(i,a){return t(vs(e,i),i.value-e.scale.getExtent()[0],null)};var n=Hs();return function(i,a){var o=null;return n&&(o=n.makeAxisLabelFormatterParamBreak(o,i.break)),t(vs(e,i),a,o)}}else return function(i){return e.scale.getLabel(i)}}}function vs(e,t){var r=e.scale;return Xe(r)?r.getLabel(t):t.value}function nc(e){var t=e.get("interval");return t??"auto"}function QD(e){return e.type==="category"&&nc(e.getLabelModel())===0}function jD(e,t){var r={};return b(e.mapDimensionsAll(t),function(n){r[SD(e,n)]=!0}),gt(r)}function ii(e){return e==="middle"||e==="center"}function da(e){return e.getShallow("show")}function JD(e,t,r){var n=e.get("breaks",!0);n==null}function m0(e,t,r,n,i,a){var o=ni(e),s=o?e.intervalStub:e;if(s.setExtent(n[0],n[1]),o){var u=e.powStub,l={depth:fs},f=e.transformOut(n[0],l),h=e.transformOut(n[1],l),c=RD(r,n);t[0]&&!c[0]&&(f=i[0]),t[1]&&!c[1]&&(h=i[1]),u.setExtent(f,h)}s.setConfig(a)}function $s(e,t){return Xe(e)?e.getRawOrdinalNumber(t.value):t.value}function y0(e,t){return Xe(e)&&!!t.get("boundaryGap")}var tA=(function(){function e(){}return e.prototype.needIncludeZero=function(){return!this.option.scale},e.prototype.getCoordSysModel=function(){},e})(),eA=YS(),np="|&",hi=vt(),rA=-2,X2=-1,nA=vt();function _0(e,t){var r=e.model,n=hi(li(r.ecModel)).keyed,i=n&&n.get(t);return i&&i.get(r.uid)}function iA(e,t){return T0(_0(e,t))}function aA(e,t){var r=[];return S0(e.model.ecModel,function(n){for(var i=0;i0&&h[1]>0&&!c[0]&&(h[0]=0),h[0]<0&&h[1]<0&&!c[1]&&(h[1]=0));var S=!1;h[0]>h[1]&&(h.reverse(),S=!0);var T=Di(t,r.get("startValue",!0)),w=T!=null;!Ge(T)&&i&&(T=t.getDefaultStartValue?t.getDefaultStartValue():0),Ge(T)&&(w||!y||_)&&(Th[1]&&!c[1]&&(h[1]=T,c[1]=!0));var x=this._i={scale:t,dataMM:f,noZoomEffMM:h,zoomMM:[],fixMM:c,zoomFixMM:[!1,!1],startValue:T,isBlank:m,incl0:_,tggAxInv:S,ctnShp:a};ap(x,h)}return e.prototype.makeNoZoom=function(){return this._i.noZoomEffMM.slice()},e.prototype.makeFinal=function(){var t=this._i,r=t.zoomMM,n=t.noZoomEffMM,i=t.zoomFixMM,a=t.fixMM,o={fixMM:a,zoomFixMM:i,isBlank:t.isBlank,incl0:t.incl0,tggAxInv:t.tggAxInv,ctnShp:t.ctnShp,effMM:n.slice()},s=o.effMM;return r[0]!=null&&(s[0]=r[0],a[0]=i[0]=!0),r[1]!=null&&(s[1]=r[1],a[1]=i[1]=!0),ap(t,s),o},e.prototype.makeRenderInfo=function(){return{startValue:this._i.startValue}},e.prototype.setZoomMM=function(t,r){this._i.zoomMM[t]=r},e})();function ap(e,t){var r=e.scale,n=e.dataMM;r.sanitize&&(t[0]=r.sanitize(t[0],n),t[1]=r.sanitize(t[1],n),WS(t))}function Di(e,t){return t==null?null:ea(t)?NaN:e.parse(t)}function hA(e,t){var r;if(Xe(e))r=[0,0];else{var n=t.get("boundaryGap");typeof n=="boolean"&&(n=null),r=B(n)?n:[n,n]}return[op(r[0]),op(r[1])]}function op(e){return Qn(typeof e=="boolean"?0:e,1)||0}function M0(e){var t=uA(e.scale);return t.extent||(t.extent=Ee()),t}function cA(e,t){M0(e).dimIdxInCoord=t.get(e.dim)}function vA(e,t){var r=e.scale,n=e.model,i=e.dim;r.rawExtentInfo||dA(r,e,i,n,t)}function dA(e,t,r,n,i){var a=M0(t),o=a.extent,s=!1;oA(t,function(f){if(f.boxCoordinateSystem){var h=Jm(f).coord,c=a.dimIdxInCoord;if(c>=0){if(B(h)){var v=h[c];v!=null&&!B(v)&&VS(o,e.parse(v))}}}else if(f.coordinateSystem){var d=f.getData();if(d){var g=e.getFilter?e.getFilter():null;b(jD(d,r),function(p){GS(o,d.getApproximateExtent(p,g))})}f.__requireStartValue&&f.__requireStartValue(t)&&(s=!0)}});var u=gA(e,t,n),l=new C0(e,n,o,s,u);D0(e,l,i),a.extent=null}function pA(e,t){var r=e.scale;D0(r,new C0(r,e.model,t,!1,!1),fA)}function D0(e,t,r){e.rawExtentInfo=t,t.from=r}function j2(e,t){ic.set(e,t)}var ic=W();function A0(e,t,r,n,i){e.rawExtentInfo||pA({scale:e,model:t},Ee());var a=e.rawExtentInfo.makeFinal(),o=a.effMM;return e.setExtent(o[0],o[1]),e.setBlank(a.isBlank),n&&a.tggAxInv&&r&&!r.get("legacyMinMaxDontInverseAxis")&&(n.inverse=!n.inverse),a}function gA(e,t,r){var n=y0(e,r),i=r.get("containShape",!0);if(i==null&&!n&&(i=!0),!i)return!1;var a=!1;return x0(t,function(o){a=!!ic.get(o)||a}),a}function mA(e,t,r,n){if(r.ctnShp){var i;if(x0(e,function(s){var u=ic.get(s);if(u){var l=u(e,n);l&&(i=i||[0,0],Vg(i,l[0]),Gg(i,l[1]),qD(e))}}),!!i){var a=t.getExtent();if(Xe(t))e.onBand||t.setExtent2(ca,ne(a[0],a[0]+i[0]),ht(a[1],a[1]+i[1]));else{var o=a.slice();r.zoomFixMM[0]||(o[0]=ne(o[0],t.transformOut(t.transformIn(o[0],null)+i[0],null))),r.zoomFixMM[1]||(o[1]=ht(o[1],t.transformOut(t.transformIn(o[1],null)+i[1],null))),(o[0]a[1])&&t.setExtent2(ca,o[0],o[1])}}}}function sp(e,t){var r=ni(e),n=r?e.intervalStub:e,i=t.fixMinMax||[],a=r?e.getExtent():null,o=n.getExtent(),s=f0(o,i,t.rawExtentResult);n.setExtent(s[0],s[1]),s=n.getExtent();var u=r?_A(n,t):yA(n,t),l=u.intervalPrecision,f=u.interval,h=t.userInterval;h!=null&&(u.interval=h,u.intervalPrecision=cn(h)),i[0]||(s[0]=at(ln(s[0]/f)*f,l)),i[1]||(s[1]=at(Ta(s[1]/f)*f,l)),h!=null&&(u.niceExtent=s.slice()),m0(e,i,o,s,a,u)}function yA(e,t){var r=ec(t.splitNumber,5),n=Xs(e),i=t.minInterval,a=t.maxInterval,o=Jf(n/r,!0);i!=null&&oa&&(o=a);var s=cn(o),u=e.getExtent(),l=[at(Ta(u[0]/o)*o,s),at(ln(u[1]/o)*o,s)];return{interval:o,intervalPrecision:s,niceExtent:l}}function _A(e,t){var r=ec(t.splitNumber,10),n=e.getExtent(),i=Xs(e),a=ht(Og(i),1),o=r/i*a;o<=.5&&(a*=10);var s=cn(a),u=[at(Ta(n[0]/a)*a,s),at(ln(n[1]/a)*a,s)];return{intervalPrecision:s,interval:a,niceExtent:u}}function up(e){var t=e.scale,r=e.model,n=r.axis,i=r.ecModel;SA(t,r,n,i)}function SA(e,t,r,n,i){var a=A0(e,t,n,r),o=cs(e)||tc(e);TA(e,{splitNumber:t.get("splitNumber"),fixMinMax:a.fixMM,userInterval:t.get("interval"),minInterval:o?t.get("minInterval"):null,maxInterval:o?t.get("maxInterval"):null,rawExtentResult:a}),r&&n&&mA(r,e,a,n)}function TA(e,t){wA[e.type](e,t)}var wA={interval:sp,log:sp,time:UD,ordinal:Nt},lp=[],xA={registerPreprocessor:Jy,registerProcessor:t0,registerPostInit:ZM,registerPostUpdate:$M,registerUpdateLifecycle:qh,registerAction:fi,registerCoordinateSystem:qM,registerLayout:KM,registerVisual:mn,registerTransform:jM,registerLoading:e0,registerMap:QM,registerImpl:qC,PRIORITY:HM,ComponentModel:ft,ComponentView:Ue,SeriesModel:hn,ChartView:un,registerComponentModel:function(e){ft.registerClass(e)},registerComponentView:function(e){Ue.registerClass(e)},registerSeriesModel:function(e){hn.registerClass(e)},registerChartView:function(e){un.registerClass(e)},registerCustomSeries:function(e,t){},registerSubTypeDefaulter:function(e,t){ft.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){hS(e,t)}};function vn(e){if(B(e)){b(e,function(t){vn(t)});return}st(lp,e)>=0||(lp.push(e),j(e)&&(e={install:e}),e.install(xA))}var bA=vt(),ji=vt(),xe={estimate:1,determine:2};function ds(e){return{out:{noPxChangeTryDetermine:[]},kind:e}}function CA(e,t){var r=e.getLabelModel().get("customValues");if(r){var n=e.scale;return{labels:Y(L0(r,n),function(i,a){return{formattedLabel:Zs(e)(i,a),rawLabel:n.getLabel(i),tick:i}})}}return e.type==="category"?DA(e,t):LA(e)}function MA(e,t,r){var n=e.scale,i=e.getTickModel().get("customValues");return i?{ticks:L0(i,n)}:e.type==="category"?AA(e,t):{ticks:n.getTicks(r)}}function L0(e,t){var r=t.getExtent(),n=[];return b(e,function(i){i=t.parse(i),i>=r[0]&&i<=r[1]&&n.push(i)}),nh(n,$S,null),Eg(n),Y(n,function(i){return{value:i}})}function DA(e,t){var r=e.getLabelModel(),n=I0(e,r,t);return!r.get("show")||e.scale.isBlank()?{labels:[]}:n}function I0(e,t,r){var n=PA(e),i=nc(t),a=r.kind===xe.estimate;if(!a){var o=E0(n,i);if(o)return o}var s,u;j(i)?s=ps(e,i,!1):(u=i==="auto"?EA(e,r):i,s=ps(e,u,!1));var l={labels:s,labelCategoryInterval:u};return a?r.out.noPxChangeTryDetermine.push(function(){return If(n,i,l),!0}):If(n,i,l),l}function AA(e,t){var r=IA(e),n=nc(t),i=E0(r,n);if(i)return i;var a,o;if((!t.get("show")||e.scale.isBlank())&&(a=[]),j(n))a=ps(e,n,!0);else if(n==="auto"){var s=I0(e,e.getLabelModel(),ds(xe.determine));o=s.labelCategoryInterval,a=Y(s.labels,function(u){return u.tick})}else o=n,a=ps(e,o,!0);return If(r,n,{ticks:a,tickCategoryInterval:o})}function LA(e){var t=e.scale.getTicks(),r=Zs(e);return{labels:Y(t,function(n,i){return{formattedLabel:r(n,i),rawLabel:e.scale.getLabel(n),tick:n}})}}var IA=P0("axisTick"),PA=P0("axisLabel");function P0(e){return function(r){return ji(r)[e]||(ji(r)[e]={list:[]})}}function E0(e,t){for(var r=0;rf&&(l=Math.max(1,Math.floor(u/f)));for(var h=s[0],c=e.dataToCoord(h+1)-e.dataToCoord(h),v=Math.abs(c*Math.cos(a)),d=Math.abs(c*Math.sin(a)),g=0,p=0;h<=s[1];h+=l){var m=0,y=0,_=Dg(i({value:h}),n.font,"center","top");m=_.width*1.3,y=_.height*1.3,g=Math.max(g,m,7),p=Math.max(p,y,7)}var S=g/v,T=p/d;isNaN(S)&&(S=1/0),isNaN(T)&&(T=1/0);var w=Math.max(0,Math.floor(Math.min(S,T)));if(r===xe.estimate)return t.out.noPxChangeTryDetermine.push(_t(OA,null,e,w,u)),w;var x=R0(e,w,u);return x??w}function OA(e,t,r){return R0(e,t,r)==null}function R0(e,t,r){var n=bA(e.model),i=e.getExtent(),a=n.lastAutoInterval,o=n.lastTickCount;if(a!=null&&o!=null&&Math.abs(a-t)<=1&&Math.abs(o-r)<=1&&a>t&&n.axisExtent0===i[0]&&n.axisExtent1===i[1])return a;n.lastTickCount=r,n.lastAutoInterval=t,n.axisExtent0=i[0],n.axisExtent1=i[1]}function kA(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function ps(e,t,r){var n=Zs(e),i=e.scale,a=[],o=j(t);return h0(i,o?0:t,function(s,u){var l=i.getLabel(s);if(o){var f=!!t(s.value,l);if(s.offInterval=!f,!f&&!u)return}a.push(r?s:{formattedLabel:n(s),rawLabel:l,tick:s})}),a}var BA=.8;function qs(e,t){t=t||{};var r={w:NaN,w2:NaN},n=e.scale,i=t.fromStat,a=t.min,o=LD(n);Ge(o)||(o=NaN);var s=e.getExtent(),u=Lt(s[1]-s[0]);return Xe(n)?NA(r,e,o,u):i&&FA(r,e,o,u,i),a!=null&&(r.w=Ge(r.w)?ht(a,r.w):a),r}function NA(e,t,r,n){var i=t.onBand,a=r+(i?1:0);a===0&&(a=1),e.w=n/a,!i&&r&&n&&(e.w2=e.w*r/n)}function FA(e,t,r,n,i){var a=!1,o=-1/0;b(i.key?[iA(t,i.key)]:aA(t,i.sers||[]),function(s){var u=s.liPosMinGap;u!=null&&(u>0?(u>o&&(o=u),a=!1):u===rA&&(a=!0))}),Ge(r)&&r>0&&Ge(o)?(e.w=n/r*o,e.w2=o):a&&(e.w=n*BA,e.w2=e.w*r/n)}var fp=[0,1],zA=(function(){function e(t,r,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=r,this._extent=n||[0,0]}return e.prototype.contain=function(t){var r=this._extent,n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return t>=n&&t<=i},e.prototype.containData=function(t){return this.scale.contain(this.scale.parse(t))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(t,r){var n=this._extent;n[0]=t,n[1]=r},e.prototype.dataToCoord=function(t,r){var n=this.scale;return t=n.normalize(n.parse(t)),qc(t,fp,hp(this),r)},e.prototype.coordToData=function(t,r){var n=qc(t,hp(this),fp,r);return this.scale.scale(n)},e.prototype.pointToData=function(t,r){},e.prototype.getTicksCoords=function(t){t=t||{};var r=t.tickModel||this.getTickModel(),n=MA(this,r,{breakTicks:t.breakTicks,pruneByBreak:t.pruneByBreak}),i=Y(n.ticks,function(s){return{coord:this.dataToCoord($s(this.scale,s)),tick:s}},this),a=r.get("alignWithLabel"),o=HA(this,i,a);return Y(i,function(s){return{coord:s.coord,tickValue:s.tick.value,onBand:o}})},e.prototype.getMinorTicksCoords=function(){if(Xe(this.scale))return[];var t=this.model.getModel("minorTick"),r=t.get("splitNumber");r>0&&r<100||(r=5);var n=this.scale.getMinorTicks(r),i=Y(n,function(a){return Y(a,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return i},e.prototype.getViewLabels=function(t){return t=t||ds(xe.determine),CA(this,t).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){return qs(this,{min:1}).w},e.prototype.calculateCategoryInterval=function(t){return t=t||ds(xe.determine),RA(this,t)},e})();function hp(e){var t=e.getExtent();if(e.onBand){var r=t[1]-t[0],n=r/e.scale.count()/2;t[0]+=n,t[1]-=n}return t}function HA(e,t,r){var n=t.length;if(!e.onBand||r||!n)return!1;var i=qs(e).w;if(!i)return!1;b(t,function(s){s.coord-=i/2});var a=e.scale.getExtent(),o=t[n-1];return o.tick.offInterval&&t.pop(),t.push({coord:o.coord+i,tick:{value:a[1]+1}}),!0}var cp=["label","labelLine","layoutOption","priority","defaultAttr","marginForce","minMarginForce","marginDefault","suggestIgnore"],VA=1,gs=2,O0=VA|gs;function ms(e,t,r){r=r||O0,t?e.dirty|=r:e.dirty&=~r}function k0(e,t){return t=t||O0,e.dirty==null||!!(e.dirty&t)}function Cr(e){if(e)return k0(e)&&GA(e,e.label,e),e}function GA(e,t,r){var n=t.getComputedTransform();e.transform=wh(e.transform,n);var i=e.localRect=oa(e.localRect,t.getBoundingRect()),a=t.style,o=a.margin,s=r&&r.marginForce,u=r&&r.minMarginForce,l=r&&r.marginDefault,f=a.__marginType;f==null&&l&&(o=l,f=Vn.textMargin);for(var h=0;h<4;h++)sl[h]=f===Vn.minMargin&&u&&u[h]!=null?u[h]:s&&s[h]!=null?s[h]:o?o[h]:0;f===Vn.textMargin&&es(i,sl,!1,!1);var c=e.rect=oa(e.rect,i);return n&&c.applyTransform(n),f===Vn.minMargin&&es(c,sl,!1,!1),e.axisAligned=Th(n),(e.label=e.label||{}).ignore=t.ignore,ms(e,!1),ms(e,!0,gs),e}var sl=[0,0,0,0];function UA(e,t,r){return e.transform=wh(e.transform,r),e.localRect=oa(e.localRect,t),e.rect=oa(e.rect,t),r&&e.rect.applyTransform(r),e.axisAligned=Th(r),e.obb=void 0,(e.label=e.label||{}).ignore=!1,e}function WA(e,t){if(e){e.label.x+=t.x,e.label.y+=t.y,e.label.markRedraw();var r=e.transform;r&&(r[4]+=t.x,r[5]+=t.y);var n=e.rect;n&&(n.x+=t.x,n.y+=t.y);var i=e.obb;i&&i.fromBoundingRect(e.localRect,r)}}function vp(e,t){for(var r=0;r0){S(C*M,0,a);var A=C+x;A<0&&T(-A*M,1)}else T(-x*M,1)}}function S(x,D,M){x!==0&&(f=!0);for(var C=D;C0)for(var A=0;A0;A--){var E=M[A-1]*P;S(-E,A,a)}}}function w(x){var D=x<0?-1:1;x=Math.abs(x);for(var M=Math.ceil(x/(a-1)),C=0;C0?S(M,0,C+1):S(-M,a-C-1,a),x-=M,x<=0)return}return f}function YA(e){var t=[];e.sort(function(l,f){return(f.suggestIgnore?1:0)-(l.suggestIgnore?1:0)||f.priority-l.priority});function r(l){if(!l.ignore){var f=l.ensureState("emphasis");f.ignore==null&&(f.ignore=!1)}l.ignore=!0}for(var n=0;n(r[n]=t(n),r),{})}function $A(e,t,r){yo([r,e,t],([n,i,a],o,s)=>{let u=null;if(n&&i&&a){const{offsetWidth:l,offsetHeight:f}=n,{throttle:h=100,onResize:c}=a===!0?{}:a;let v=!1;const d=()=>{i.resize(),c==null||c()},g=h?Wh(d,h):d;u=new ResizeObserver(()=>{!v&&(v=!0,n.offsetWidth===l&&n.offsetHeight===f)||n.offsetWidth===0||n.offsetHeight===0||g()}),u.observe(n)}s(()=>{u&&(u.disconnect(),u=null)})})}const qA={autoresize:[Boolean,Object]},KA=Symbol();function QA(e,t,r){const n=_o(KA,{}),i=Pi(()=>({...So(n),...r==null?void 0:r.value}));tg(()=>{const a=e.value;a&&(t.value?a.showLoading(i.value):a.hideLoading())})}const jA={loading:Boolean,loadingOptions:Object};function B0(){return typeof window<"u"&&typeof document<"u"}const JA=/^on[^a-z]/,N0=e=>JA.test(e);function tL(e){const t={};for(const r in e)N0(r)||(t[r]=e[r]);return t}function eL(e){const t=Number(e);return Number.isInteger(t)&&t>=0&&te===t||e.startsWith(t+"-"))}function iL(e,t){const r=B0()?document.createElement("div"):void 0,n=Ks({}),i=Ks({}),a=Ks({}),o=Sl(!1),s=()=>o.value&&r?_l(x_,{to:r},Object.entries(e).filter(([h])=>ul(h)).map(([h,c])=>{const v=h;return _l("div",{ref:d=>{d instanceof HTMLElement&&(n[v]=d)},style:{display:"contents"}},i[v]?c==null?void 0:c(a[v]):void 0)})):void 0;function u(h){return h!==null&&typeof h=="object"&&!Array.isArray(h)}function l(h){const c={...h},v=(d,g)=>{const p=d[g];if(Array.isArray(p))return d[g]=[...p],d[g];if(u(p))return d[g]={...p},d[g];if(p===void 0)return d[g]=eL(g)?[]:{},d[g]};return Object.keys(e).filter(d=>ul(d)).forEach(d=>{const[g,...p]=d.split("-"),m=z0[g];if(!m)return;const y=[...p,...m];if(y.length===0)return;let _=c;for(let S=0;S(i[d]=!0,a[d]=S,n[d])}),c}let f=[];return T_(()=>{const h=Object.keys(e).filter(ul);rL(h,f)||(f.forEach(c=>{h.includes(c)||(delete a[c],delete i[c],delete n[c])}),f=h,t())}),eg(()=>{o.value=!0}),w_(()=>{r==null||r.remove()}),{teleportedSlots:s,patchOption:l}}let lr=null;const Pf="x-vue-echarts";function aL(){if(lr!=null)return lr;const e=globalThis.customElements;if(!B0()||!(e!=null&&e.get))return lr=!1,lr;if(!e.get(Pf))try{class t extends HTMLElement{constructor(){super(...arguments);cc(this,"__dispose",null)}disconnectedCallback(){this.__dispose&&(this.__dispose(),this.__dispose=null)}}e.define(Pf,t)}catch{return lr=!1,lr}return lr=!0,lr}function oL(e){if(!F0(e))return;const t=e.id;if(typeof t=="string")return t;if(typeof t=="number"&&Number.isFinite(t))return String(t)}function pp(e){const t=e,r=Array.isArray(t.options)?t.options.length:0,n=Array.isArray(t.media)?t.media.length:0,i=Object.create(null),a=[],o=[];for(const s of Object.keys(t)){if(s==="options"||s==="media")continue;const u=t[s];if(Array.isArray(u)){const l=u,f=new Set;let h=0;for(let c=0;c0?Array.from(f).sort():[],noIdCount:h}}else F0(u)?a.push(s):u!==void 0&&o.push(s)}return a.length>1&&a.sort(),o.length>1&&o.sort(),{optionsLength:r,mediaLength:n,arrays:i,objects:a,scalars:o}}function gp(e,t){if(e.length===0)return[];if(t.length===0)return e.slice();const r=new Set(t),n=[];for(let i=0;i0)return{option:t,signature:r,plan:{notMerge:!0}};const n=new Set,i=new Map,a=gp(e.objects,r.objects);for(let l=0;l0||f.noIdCount>0)&&(i.set(l,[]),n.add(l));continue}if(sL(f.idsSorted,h.idsSorted)){n.add(l);continue}h.noIdCount0){const l={...t};i.forEach((f,h)=>{l[h]=f}),o=l,s=pp(o)}const u=n.size>0?Array.from(n).sort():void 0;return{option:o,signature:s,plan:u?{notMerge:!1,replaceMerge:u}:{notMerge:!1}}}var mp=`x-vue-echarts{display:block;width:100%;height:100%;min-width:0;} +x-vue-echarts>:first-child,x-vue-echarts>:first-child>canvas{border-radius:inherit;} +`;if(typeof document<"u")if(Array.isArray(document.adoptedStyleSheets)&&"replaceSync"in CSSStyleSheet.prototype){const e=new CSSStyleSheet;e.replaceSync(mp),document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}else{const e=document.createElement("style");e.textContent=mp,document.head.appendChild(e)}const lL=aL(),fL=Symbol(),hL=Symbol(),cL=Symbol();var vL=m_({name:"Echarts",inheritAttrs:!1,props:{option:Object,theme:{type:[Object,String]},initOptions:Object,updateOptions:Object,group:String,manualUpdate:Boolean,...qA,...jA},emits:{},slots:Object,setup(e,{attrs:t,expose:r,slots:n}){const i=Sl(),a=Sl(),o=_o(fL,null),s=_o(hL,null),u=_o(cL,null),{autoresize:l,manualUpdate:f,loading:h,loadingOptions:c}=y_(e),v=Pi(()=>e.theme||So(o)),d=Pi(()=>e.initOptions||So(s)||void 0),g=Pi(()=>e.updateOptions||So(u)),p=Pi(()=>tL(t)),m={},y=new Map,{teleportedSlots:_,patchOption:S}=iL(n,()=>{!f.value&&e.option&&a.value&&x(a.value,e.option)});let T;function w(I){const L={},P=((I==null?void 0:I.replaceMerge)??[]).filter(E=>E!=null);return P.length>0&&(L.replaceMerge=[...new Set(P)]),(I==null?void 0:I.notMerge)!==void 0&&(L.notMerge=I.notMerge),L}function x(I,L,P,E=!1){const R=S(L);if(E){I.setOption(R,P??{}),T=void 0;return}if(g.value){const $=P??g.value;I.setOption(R,$),T=void 0;return}const N=uL(T,R),X=w(N.plan);I.setOption(N.option,X),T=N.signature}Object.keys(t).filter(I=>N0(I)).forEach(I=>{if(I.indexOf("Native:")===2){const R=`on${I.charAt(9).toUpperCase()}${I.slice(10)}`;m[R]=t[I];return}let L=I.charAt(2).toLowerCase()+I.slice(3),P;L.indexOf("zr:")===0&&(P=!0,L=L.substring(3));let E;L.substring(L.length-4)==="Once"&&(E=!0,L=L.substring(0,L.length-4)),y.set({event:L,zr:P,once:E},t[I])});function D(){if(!i.value)return;const I=a.value=YM(i.value,v.value,d.value);e.group&&(I.group=e.group),y.forEach((E,{zr:R,once:N,event:X})=>{if(!E)return;const $=R?I.getZr():I;if(N){const J=E;let q=!1;E=(...tt)=>{q||(q=!0,J(...tt),$.off(X,E))}}$.on(X,E)});function L(){I&&!I.isDisposed()&&I.resize()}function P(){const{option:E}=e;if(f.value){E&&x(I,E,void 0,!0);return}E&&x(I,E)}l.value?S_(()=>{L(),P()}):P()}const M=(I,L,P)=>{if(!e.manualUpdate)return;const E=typeof L=="boolean"?{notMerge:L,lazyUpdate:P}:L;a.value&&x(a.value,I,E??void 0,!0)};function C(){a.value&&(a.value.dispose(),a.value=void 0),T=void 0}yo(()=>e.option,I=>{if(!I){T=void 0;return}f.value||a.value&&x(a.value,I)},{deep:!0}),yo([f,d],()=>{C(),D()},{deep:!0}),yo(v,I=>{var L;(L=a.value)==null||L.setTheme(I||{})},{deep:!0}),tg(()=>{e.group&&a.value&&(a.value.group=e.group)});const A=ZA(a);return QA(a,h,c),$A(a,l,i),eg(()=>{D()}),__(()=>{lL&&i.value?i.value.__dispose=C:C()}),r({setOption:M,root:i,chart:a,...A}),(()=>_l(Pf,{...p.value,...m,ref:i,class:["echarts",p.value.class]},_()))}}),tP=vL;function yp(e,t,r){var n=ee.createCanvas(),i=t.getWidth(),a=t.getHeight(),o=n.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=i+"px",o.height=a+"px",n.setAttribute("data-zr-dom-id",e)),n.width=i*r,n.height=a*r,n}function ll(e){return!e.__cursors.get(Tm)}function _p(e){var t=e.__cursors.get(Tm);return{startIdx:t?t.startIdx:0,endIdx:t?t.endIdx:0}}var H0=(function(e){z(t,e);function t(r,n,i){var a=e.call(this)||this;a.motionBlur=!1,a.lastFrameAlpha=.7,a.dpr=1,a.virtual=!1,a.config={},a.zlevel=0,a.zlevel2=Lo,a.maxRepaintRectCount=5,a.__dirty=!0,a.__firstTimePaint=!0,a.__prevIdx={startIdx:0,endIdx:0};var o;i=i||$o,typeof r=="string"?o=yp(r,n,i):H(r)&&(o=r,r=o.id),a.id=r,a.dom=o;var s=o.style;return s&&(sg(o),o.onselectstart=function(){return!1},s.padding="0",s.margin="0",s.borderWidth="0"),a.painter=n,a.dpr=i,a}return t.prototype.afterBrush=function(){this.__prevIdx=_p(this)},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var r=this.dpr;this.domBack=yp("back-"+this.id,this.painter,r),this.ctxBack=this.domBack.getContext("2d"),r!==1&&this.ctxBack.scale(r,r)},t.prototype.createRepaintRects=function(r,n,i,a){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var o=[],s=this.maxRepaintRectCount,u=!1,l=new Z(0,0,0,0);function f(S){if(!(!S.isFinite()||S.isZero()))if(o.length===0){var T=new Z(0,0,0,0);T.copy(S),o.push(T)}else{for(var w=!1,x=1/0,D=0,M=0;M=s)}}for(var h=_p(this),c=h.startIdx;c=0)&&(o=!0)}),!(!o&&!a.__dirty)){var s=n._opts.useDirtyRect&&!ll(a)?a.createRepaintRects(t,r,n._width,n._height):null,u=n._i.layerStack[0],l=!0;if(a.__dirty){l=!1,a.__dirty=!1;var f=a.zlevel===u.zl&&a.zlevel2===u.zl2?n._backgroundColor:null;a.clear(!1,f,s)}vo(a,function(h){var c=n._paintPerCursor(a,h,t,s,l);i=i&&c})}},po),K.wxa&&Rt(this._i,function(a){a&&a.ctx&&a.ctx.draw&&a.ctx.draw()}),i},e.prototype._paintPerCursor=function(t,r,n,i,a){var o=t.ctx;if(i)if(!i.length)r.drawIdx=r.endIdx;else for(var s=this.dpr,u=0;u=r.endIdx},e.prototype._paintPerCursorInRect=function(t,r,n,i,a){for(var o={inHover:!1,allClipped:!1,prevEl:null,viewWidth:this._width,viewHeight:this._height,beforeBrushParam:{contentRetained:a}},s=t.ctx,u=ll(t),l=u&&ee.getTime(),f=r.drawIdx,h=r.notClearIdx,c=h>=0?Math.min(h,f):f;c15){c++;break}}}}Zn(s,o),r.drawIdx=Math.max(c,f)},e.prototype.getLayer=function(t,r){return this._ensureLayer(t,0,r)},e.prototype._ensureLayer=function(t,r,n){r=r||0;var i=this._singleCanvas;i&&!this._needsManuallyCompositing&&(t=Kr,r=0);var a=cl(this._i,t)[r];return a||(a=Tp("zr_"+t+"."+r,this,t,r),this._layerConfig[t]&<(a,this._layerConfig[t],!0),(n||i&&t!==Kr)&&(a.virtual=!0),this._insertLayer(a,t,r,!1),a.initContext()),a},e.prototype.insertLayer=function(t,r){this._insertLayer(r,t,0,!1)},e.prototype._insertLayer=function(t,r,n,i){var a=this._i,o=a.layers,s=a.layerStack,u=this._domRoot,l=null;if(!(o[r]&&o[r][n])&&pL(t)){for(var f=s.length,h=0;h0&&(l=cl(a,s[h-1].zl)[s[h-1].zl2]),s.splice(h,0,{zl:r,zl2:n}),cl(a,r)[n]=t,!i&&!t.virtual)if(l){var c=l.dom;c.nextSibling?u.insertBefore(t.dom,c.nextSibling):u.appendChild(t.dom)}else u.firstChild?u.insertBefore(t.dom,u.firstChild):u.appendChild(t.dom);t.painter||(t.painter=this)}},e.prototype.eachLayer=function(t,r){return Rt(this._i,function(n,i){t.call(r,n,i)})},e.prototype.eachBuiltinLayer=function(t,r){return Rt(this._i,function(n,i){t.call(r,n,i)},Ji)},e.prototype.eachOtherLayer=function(t,r){return Rt(this._i,function(n,i){t.call(r,n,i)},Ef)},e.prototype.getLayers=function(){var t={};return Rt(this._i,function(r,n,i){t[r.id]=r}),t},e.prototype._updateLayerStatus=function(t,r){var n=this;if(n._singleCanvas)for(var i=1;i=0;_--){var S=y.get(m[_]);if(!S.used)p.__dirty=!0,y.removeKey(m[_]),m.splice(_,1);else{var T=S.endIdxNew;(ll(p)?T=0;i--){var a=r[i];if(a.zl===t){var o=n[t][a.zl2];if(o.__builtin__)continue;if(r.splice(i,1),n[t][a.zl2]=void 0,!o.virtual){var s=o.dom.parentNode;s&&s.removeChild(o.dom)}}}},e.prototype.resize=function(t,r){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,a=this.root;t!=null&&(i.width=t),r!=null&&(i.height=r),t=no(a,0,i),r=no(a,1,i),n.style.display="",(this._width!==t||r!==this._height)&&(n.style.width=t+"px",n.style.height=r+"px",Rt(this._i,function(o){o.resize(t,r)}),this.refresh({paintAll:!0})),this._width=t,this._height=r}else{if(t==null||r==null)return;this._width=t,this._height=r,this._ensureLayer(Kr).resize(t,r)}return this},e.prototype.clearLayer=function(t){b(this._i.layers[t],function(r){r&&!r.__builtin__&&r.clear()})},e.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._i=null},e.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._i.layers[Kr][0].dom;var r=new H0("image",this,t.pixelRatio||this.dpr);r.initContext(),r.clear(!1,t.backgroundColor||this._backgroundColor);var n=r.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=r.dom.width,a=r.dom.height;Rt(this._i,function(h){h.__builtin__?n.drawImage(h.dom,0,0,i,a):h.renderToCanvas&&(n.save(),h.renderToCanvas(n),n.restore())})}else{for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height,beforeBrushParam:{}},s=this.storage.getDisplayList(!0),u=0,l=s.length;u=0&&n.push(t[a])}return n.join(" ")}var SL=typeof Float32Array!==ui?Float32Array:void 0,iP=typeof Float64Array!==ui?Float64Array:void 0;function aP(e){return TL({ctor:SL},e).arr}function TL(e,t){var r=e.arr,n=e.ctor;if(t>Kc&&(t=Kc),!r||e.typed&&r.lengtht&&(t=e[r]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,r=0;r10&&o.type==="cartesian2d"&&a){var u=o.getBaseAxis(),l=o.getOtherAxis(u),f=u.getExtent(),h=n.getDevicePixelRatio(),c=Math.abs(f[1]-f[0])*(h||1),v=Math.round(s/c);if(isFinite(v)&&v>1){a==="lttb"?t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/v)):a==="minmax"&&t.setData(i.minmaxDownSample(i.mapDimension(l.dim),1/v));var d=void 0;F(a)?d=bL[a]:j(a)&&(d=a),d&&t.setData(i.downSample(i.mapDimension(l.dim),1/v,d,CL))}}}}}var ML=(function(e){z(t,e);function t(r,n,i,a,o){var s=e.call(this,r,n,i)||this;return s.index=0,s.type=a||"value",s.position=o||"bottom",s}return t.prototype.isHorizontal=function(){var r=this.position;return r==="top"||r==="bottom"},t.prototype.getGlobalExtent=function(r){var n=this.getExtent();return n[0]=this.toGlobalCoord(n[0]),n[1]=this.toGlobalCoord(n[1]),r&&n[0]>n[1]&&n.reverse(),n},t.prototype.pointToData=function(r,n){return this.coordToData(this.toLocalCoord(r[this.dim==="x"?0:1]),n)},t.prototype.setCategorySortInfo=function(r){if(this.type!=="category")return!1;this.model.option.categorySortInfo=r,this.scale.setSortInfo(r)},t})(zA),DL=null;function AL(){return DL}var LL="expandAxisBreak",pr=Math.PI,IL=[[1,2,1,2],[5,3,5,3],[8,3,8,3]],PL=[[0,1,0,1],[0,3,0,3],[0,3,0,3]],ai=vt(),U0=vt(),W0=(function(){function e(t){this.recordMap={},this.resolveAxisNameOverlap=t}return e.prototype.ensureRecord=function(t){var r=t.axis.dim,n=t.componentIndex,i=this.recordMap,a=i[r]||(i[r]=[]);return a[n]||(a[n]={ready:{}})},e})();function EL(e,t,r,n){var i=r.axis,a=t.ensureRecord(r),o=[],s,u=oc(e.axisName)&&ii(e.nameLocation);b(n,function(d){var g=Cr(d);if(!(!g||g.label.ignore)){o.push(g);var p=a.transGroup;u&&(p.transform?ya(Ai,p.transform):ma(Ai),g.transform&&Vi(Ai,Ai,g.transform),Z.copy(go,g.localRect),go.applyTransform(Ai),s?s.union(go):Z.copy(s=new Z(0,0,0,0),go))}});var l=Math.abs(a.dirVec.x)>.1?"x":"y",f=a.transGroup[l];if(o.sort(function(d,g){return Math.abs(d.label[l]-f)-Math.abs(g.label[l]-f)}),u&&s){var h=i.getExtent(),c=Math.min(h[0],h[1]),v=Math.max(h[0],h[1])-c;s.union(new Z(c,0,v,1))}a.stOccupiedRect=s,a.labelInfoList=o}var Ai=Be(),go=new Z(0,0,0,0),Y0=function(e,t,r,n,i,a){if(ii(e.nameLocation)){var o=a.stOccupiedRect;o&&X0(UA({},o,a.transGroup.transform),n,i)}else Z0(a.labelInfoList,a.dirVec,n,i)};function X0(e,t,r){var n=new ct;ac(e,t,n,{direction:Math.atan2(r.y,r.x),bidirectional:!1,touchThreshold:.05})&&WA(t,n)}function Z0(e,t,r,n){for(var i=ct.dot(n,t)>=0,a=0,o=e.length;a0?"top":"bottom",a="center"):Ko(i-pr)?(o=n>0?"bottom":"top",a="center"):(o="middle",i>0&&i0?"right":"left":a=n>0?"left":"right"),{rotation:i,textAlign:a,textVerticalAlign:o}},e.makeAxisEventDataBase=function(t){var r={componentType:t.mainType,componentIndex:t.componentIndex};return r[t.mainType+"Index"]=t.componentIndex,r},e.isLabelSilent=function(t){var r=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||r&&r.show)},e})(),RL=["axisLine","axisTickLabelEstimate","axisTickLabelDetermine","axisName"],OL={axisLine:function(e,t,r,n,i,a,o){var s=n.get(["axisLine","show"]);if(s==="auto"&&(s=!0,e.raw.axisLineAutoShow!=null&&(s=!!e.raw.axisLineAutoShow)),!!s){var u=n.axis.getExtent(),l=a.transform,f=[u[0],0],h=[u[1],0],c=f[0]>h[0];l&&(ye(f,f,l),ye(h,h,l));var v=k({lineCap:"round"},n.getModel(["axisLine","lineStyle"]).getLineStyle()),d={strokeContainThreshold:e.raw.strokeContainThreshold||5,silent:!0,z2:1,style:v};if(n.get(["axisLine","breakLine"])&&ns(n.axis.scale))AL().buildAxisBreakLine(n,i,a,d);else{var g=new xr(k({shape:{x1:f[0],y1:f[1],x2:h[0],y2:h[1]}},d));aa(g.shape,g.style.lineWidth),g.anid="line",i.add(g)}var p=n.get(["axisLine","symbol"]);if(p!=null){var m=n.get(["axisLine","symbolSize"]);F(p)&&(p=[p,p]),(F(m)||Tt(m))&&(m=[m,m]);var y=hM(n.get(["axisLine","symbolOffset"])||0,m),_=m[0],S=m[1];b([{rotate:e.rotation+Math.PI/2,offset:y[0],r:0},{rotate:e.rotation-Math.PI/2,offset:y[1],r:Math.sqrt((f[0]-h[0])*(f[0]-h[0])+(f[1]-h[1])*(f[1]-h[1]))}],function(T,w){if(p[w]!=="none"&&p[w]!=null){var x=Yh(p[w],-_/2,-S/2,_,S,v.stroke,!0),D=T.r+T.offset,M=c?h:f;x.attr({rotation:T.rotate,x:M[0]+D*Math.cos(e.rotation),y:M[1]-D*Math.sin(e.rotation),silent:!0,z2:11}),i.add(x)}})}}},axisTickLabelEstimate:function(e,t,r,n,i,a,o,s){var u=xp(t,i,s);u&&wp(e,t,r,n,i,a,o,xe.estimate)},axisTickLabelDetermine:function(e,t,r,n,i,a,o,s){var u=xp(t,i,s);u&&wp(e,t,r,n,i,a,o,xe.determine);var l=FL(e,i,a,n);NL(e,t.labelLayoutList,l),zL(e,i,a,n,e.tickDirection)},axisName:function(e,t,r,n,i,a,o,s){var u=r.ensureRecord(n);t.nameEl&&(i.remove(t.nameEl),t.nameEl=u.nameLayout=u.nameLocation=null);var l=e.axisName;if(oc(l)){var f=e.nameLocation,h=e.nameDirection,c=n.getModel("nameTextStyle"),v=n.get("nameGap")||0,d=n.axis.getExtent(),g=n.axis.inverse?-1:1,p=new ct(0,0),m=new ct(0,0);f==="start"?(p.x=d[0]-g*v,m.x=-g):f==="end"?(p.x=d[1]+g*v,m.x=g):(p.x=(d[0]+d[1])/2,p.y=e.labelOffset+h*v,m.y=h);var y=Be();m.transform(Kf(y,y,e.rotation));var _=n.get("nameRotate");_!=null&&(_=_*pr/180);var S,T;ii(f)?S=_r.innerTextLayout(e.rotation,_??e.rotation,h):(S=kL(e.rotation,f,_||0,d),T=e.raw.axisNameAvailableWidth,T!=null&&(T=Math.abs(T/Math.sin(S.rotation)),!isFinite(T)&&(T=null)));var w=c.getFont(),x=n.get("nameTruncate",!0)||{},D=x.ellipsis,M=Vo(e.raw.nameTruncateMaxWidth,x.maxWidth,T),C=s.nameMarginLevel||0,A=new ie({x:p.x,y:p.y,rotation:S.rotation,silent:_r.isLabelSilent(n),style:ei(c,{text:l,font:w,overflow:"truncate",width:M,ellipsis:D,fill:c.getTextColor()||n.get(["axisLine","lineStyle","color"]),align:c.get("align")||S.textAlign,verticalAlign:c.get("verticalAlign")||S.textVerticalAlign}),z2:1});if(Ns({el:A,componentModel:n,itemName:l}),A.__fullText=l,A.anid="name",n.get("triggerEvent")){var I=_r.makeAxisEventDataBase(n);I.targetType="axisName",I.name=l,yt(A).eventData=I}a.add(A),A.updateTransform(),t.nameEl=A;var L=u.nameLayout=Cr({label:A,priority:A.z2,defaultAttr:{ignore:A.ignore},marginDefault:ii(f)?IL[C]:PL[C]});if(u.nameLocation=f,i.add(A),A.decomposeTransform(),e.shouldNameMoveOverlap&&L){var P=r.ensureRecord(n);r.resolveAxisNameOverlap(e,r,n,L,m,P)}}}};function wp(e,t,r,n,i,a,o,s){q0(t)||HL(e,t,i,s,n,o);var u=t.labelLayoutList;VL(e,n,u,a),e.rotation;var l=e.optionHideOverlap;BL(n,u,l),l&&YA(kt(u,function(f){return f&&!f.label.ignore})),EL(e,r,n,u)}function kL(e,t,r,n){var i=Rg(r-e),a,o,s=n[0]>n[1],u=t==="start"&&!s||t!=="start"&&s;return Ko(i-pr/2)?(o=u?"bottom":"top",a="center"):Ko(i-pr*1.5)?(o=u?"top":"bottom",a="center"):(o="middle",ipr/2?a=u?"left":"right":a=u?"right":"left"),{rotation:i,textAlign:a,textVerticalAlign:o}}function BL(e,t,r){var n=e.axis,i=e.get(["axisLabel","customValues"]);if(QD(n))return;function a(l,f,h){var c=Cr(t[f]),v=Cr(t[h]),d=n.scale;if(!(!c||!v)){if(l==null){if(!r&&i)return;var g=ai(c.label).labelInfo.tick;if(tc(d)&&g.notNice||Xe(d)&&g.offInterval){kn(c.label);return}}if(l===!1||c.suggestIgnore){kn(c.label);return}if(v.suggestIgnore){kn(v.label);return}var p=.1;if(!r){var m=[0,0,0,0];c=vp({marginForce:m},c),v=vp({marginForce:m},v)}ac(c,v,null,{touchThreshold:p})&&kn(l?v.label:c.label)}}var o=e.get(["axisLabel","showMinLabel"]),s=e.get(["axisLabel","showMaxLabel"]),u=t.length;a(o,0,1),a(s,u-1,u-2)}function NL(e,t,r){e.showMinorTicks||b(t,function(n){if(n&&n.label.ignore)for(var i=0;i=x[1])return!0})):S[1]?(M=x[1],P(function(){if(X(),L=at(I-C*d,A),E(),D<=x[0])return!0})):P(function(){L=at(Ta(x[0]/C)*C,A),I=at(ln(x[1]/C)*C,A);var tt=er((I-L)/C);if(tt<=d){var et=d-tt,V=void 0,it=i.incl0||a;if(it&&x[0]===0)V=[0,et];else if(it&&x[1]===0)V=[et,0];else{var ut=ln(et/2);V=et%2===0?[ut,ut]:D+M=x[1])return!0}})}m0(r,S,w,[D,M],T,{interval:C,intervalCount:d,intervalPrecision:A,niceExtent:[L,I]})}var Dp=[[3,1],[0,2]],eI=(function(){function e(t,r,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=zo,this._initCartesian(t,r,n),this.model=t}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(t,r){var n=this._axesMap;b(this._axesList,function(o){vA(o,lA);var s=o.scale;Xe(s)&&s.setSortInfo(o.model.get("categorySortInfo"))});function i(o){for(var s=gt(o),u=[],l=s.length-1;l>=0;l--){var f=o[+s[l]];f.__alignTo?u.push(f):up(f)}b(u,function(h){nI(h,h.__alignTo)?up(h):tI(h,h.__alignTo.scale)})}i(n.x),i(n.y);var a={};b(n.x,function(o){Ap(n,"y",o,a)}),b(n.y,function(o){Ap(n,"x",o,a)}),this.resize(this.model,r)},e.prototype.resize=function(t,r,n){var i=Nh(t,r),a=this._rect=fn(t.getBoxLayoutParams(),i.refContainer),o=this._axesMap,s=this._coordsList,u=t.get("containLabel");if(j0(o,a),!n){var l=aI(a,s,o,u,r),f=void 0;if(u)f=Ep(a.clone(),"axisLabel",null,a,o,l,i);else{var h=oI(t,a,i),c=h.outerBoundsRect,v=h.parsedOuterBoundsContain,d=h.outerBoundsClamp;c&&(f=Ep(c,v,d,a,o,l,i))}J0(a,o,xe.determine,null,f,i),b(this._coordsList,function(g){g.calcAffineTransform()})}},e.prototype.getAxis=function(t,r){var n=this._axesMap[t];if(n!=null)return n[r||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(t,r){if(t!=null&&r!=null){var n="x"+t+"y"+r;return this._coordsMap[n]}H(t)&&(r=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,a=this._coordsList;i=0;i--){var a=e[+t[i]];l0(a.scale)&&JD(a.model,a.type)==null&&(a.model.get("alignTicks")&&a.model.get("interval")==null?n.push(a):r=a)}r||(r=n.pop()),r&&b(n,function(o){o.__alignTo=r})}function nI(e,t){return ns(e.scale)||ns(t.scale)||t.scale.getTicks().length<2}function iI(e,t){var r=e.getExtent(),n=r[0]+r[1];e.toGlobalCoord=e.dim==="x"?function(i){return i+t}:function(i){return n-i+t},e.toLocalCoord=e.dim==="x"?function(i){return i-t}:function(i){return n-i+t}}function j0(e,t){b(e.x,function(r){return Pp(r,t.x,t.width)}),b(e.y,function(r){return Pp(r,t.y,t.height)})}function Pp(e,t,r){var n=[0,r],i=e.inverse?1:0;e.setExtent(n[i],n[1-i]),iI(e,t)}function Ep(e,t,r,n,i,a,o){J0(n,i,xe.estimate,t,!1,o);var s=[0,0,0,0];l(0),l(1),f(n,0,NaN),f(n,1,NaN);var u=z_(s,function(c){return c>0})==null;return es(n,s,!0,!0,r),j0(i,n),u;function l(c){b(i[cr[c]],function(v){if(da(v.model)){var d=a.ensureRecord(v.model),g=d.labelInfoList;if(g)for(var p=0;p0&&!ea(v)&&v>1e-4&&(c/=v),c}}function aI(e,t,r,n,i){var a=new W0(sI);return b(r,function(o){return b(o,function(s){if(da(s.model)){var u=!n;s.axisBuilder=YL(e,t,s.model,i,a,u)}})}),a}function J0(e,t,r,n,i,a){var o=r===xe.determine;b(t,function(l){return b(l,function(f){da(f.model)&&(XL(f.axisBuilder,e,f.model),f.axisBuilder.build(o?{axisTickLabelDetermine:!0}:{axisTickLabelEstimate:!0},{noPxChange:i}))})});var s={x:0,y:0};u(0),u(1);function u(l){s[cr[1-l]]=e[ti[l]]<=a.refContainer[ti[l]]*.5?0:1-l===1?2:1}b(t,function(l,f){return b(l,function(h){da(h.model)&&((n==="all"||o)&&h.axisBuilder.build({axisName:!0},{nameMarginLevel:s[f]}),o&&h.axisBuilder.build({axisLine:!0}))})})}function oI(e,t,r){var n,i=e.get("outerBoundsMode",!0);i==="same"?n=t.clone():(i==null||i==="auto")&&(n=fn(e.get("outerBounds",!0)||K0,r.refContainer));var a=e.get("outerBoundsContain",!0),o;a==null||a==="auto"||st(["all","axisLabel"],a)<0?o="all":o=a;var s=[Wl(G(e.get("outerBoundsClampWidth",!0),_s[0]),t.width),Wl(G(e.get("outerBoundsClampHeight",!0),_s[1]),t.height)];return{outerBoundsRect:n,parsedOuterBoundsContain:o,outerBoundsClamp:s}}var sI=function(e,t,r,n,i,a){var o=r.axis.dim==="x"?"y":"x";Y0(e,t,r,n,i,a),ii(e.nameLocation)||b(t.recordMap[o],function(s){s&&s.labelInfoList&&s.dirVec&&Z0(s.labelInfoList,s.dirVec,n,i)})};function uI(e,t){var r={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return lI(r,e,t),r.seriesInvolved&&hI(r,e),r}function lI(e,t,r){var n=t.getComponent("tooltip"),i=t.getComponent("axisPointer"),a=i.get("link",!0)||[],o=[];b(r.getCoordinateSystems(),function(s){if(!s.axisPointerEnabled)return;var u=pa(s.model),l=e.coordSysAxesInfo[u]={};e.coordSysMap[u]=s;var f=s.model,h=f.getModel("tooltip",n);if(b(s.getAxes(),Ct(g,!1,null)),s.getTooltipAxes&&n&&h.get("show")){var c=h.get("trigger")==="axis",v=h.get(["axisPointer","type"])==="cross",d=s.getTooltipAxes(h.get(["axisPointer","axis"]));(c||v)&&b(d.baseAxes,Ct(g,v?"cross":!0,c)),v&&b(d.otherAxes,Ct(g,"cross",!1))}function g(p,m,y){var _=y.model.getModel("axisPointer",i),S=_.get("show");if(!(!S||S==="auto"&&!p&&!kf(_))){m==null&&(m=_.get("triggerTooltip")),_=p?fI(y,h,i,t,p,m):_;var T=_.get("snap"),w=_.get("triggerEmphasis"),x=pa(y.model),D=m||T||y.type==="category",M=e.axesInfo[x]={key:x,axis:y,coordSys:s,axisPointerModel:_,triggerTooltip:m,triggerEmphasis:w,involveSeries:D,snap:T,useHandle:kf(_),seriesModels:[],linkGroup:null};l[x]=M,e.seriesInvolved=e.seriesInvolved||D;var C=cI(a,y);if(C!=null){var A=o[C]||(o[C]={axesInfo:{}});A.axesInfo[x]=M,A.mapper=a[C].mapper,M.linkGroup=A}}}})}function fI(e,t,r,n,i,a){var o=t.getModel("axisPointer"),s=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],u={};b(s,function(c){u[c]=rt(o.get(c))}),u.snap=e.type!=="category"&&!!a,o.get("type")==="cross"&&(u.type="line");var l=u.label||(u.label={});if(l.show==null&&(l.show=!1),i==="cross"){var f=o.get(["label","show"]);if(l.show=f??!0,!a){var h=u.lineStyle=o.get("crossStyle");h&&pt(l,h.textStyle)}}return e.model.getModel("axisPointer",new St(u,r,n))}function hI(e,t){t.eachSeries(function(r){var n=r.coordinateSystem,i=r.get(["tooltip","trigger"],!0),a=r.get(["tooltip","show"],!0);!n||!n.model||i==="none"||i===!1||i==="item"||a===!1||r.get(["axisPointer","show"],!0)===!1||b(e.coordSysAxesInfo[pa(n.model)],function(o){var s=o.axis;n.getAxis(s.dim)===s&&(o.seriesModels.push(r),o.seriesDataCount==null&&(o.seriesDataCount=0),o.seriesDataCount+=r.getData().count())})})}function cI(e,t){for(var r=t.model,n=t.dim,i=0;i=0||e===t}function vI(e){var t=uc(e);if(t){var r=t.axisPointerModel,n=t.axis.scale,i=r.option,a=r.get("status"),o=r.get("value");o!=null&&(o=n.parse(o));var s=kf(r);a==null&&(i.status=s?"show":"hide");var u=n.getExtent();(o==null||o>u[1])&&(o=u[1]),os)return!0;if(o){var u=uc(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/u>s}return!1}return n===!0},e.prototype.makeElOption=function(t,r,n,i,a){},e.prototype.createPointerEl=function(t,r,n,i){var a=r.pointer;if(a){var o=Qr(t).pointerEl=new yx[a.type](kp(r.pointer));t.add(o)}},e.prototype.createLabelEl=function(t,r,n,i){if(r.label){var a=Qr(t).labelEl=new ie(kp(r.label));t.add(a),Np(a,i)}},e.prototype.updatePointerEl=function(t,r,n){var i=Qr(t).pointerEl;i&&r.pointer&&(i.setStyle(r.pointer.style),n(i,{shape:r.pointer.shape}))},e.prototype.updateLabelEl=function(t,r,n,i){var a=Qr(t).labelEl;a&&(a.setStyle(r.label.style),n(a,{x:r.label.x,y:r.label.y}),Np(a,i))},e.prototype._renderHandle=function(t){if(!(this._dragging||!this.updateHandleTransform)){var r=this._axisPointerModel,n=this._api.getZr(),i=this._handle,a=r.getModel("handle"),o=r.get("status");if(!a.get("show")||!o||o==="hide"){i&&n.remove(i),this._handle=null;return}var s;this._handle||(s=!0,i=this._handle=Sh(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(l){lg(l.event)},onmousedown:dl(this._onHandleDragMove,this,0,0),drift:dl(this._onHandleDragMove,this),ondragend:dl(this._onHandleDragEnd,this)}),n.add(i)),Fp(i,r,!1),i.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var u=a.get("size");B(u)||(u=[u,u]),i.scaleX=u[0]/2,i.scaleY=u[1]/2,Cy(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,s)}},e.prototype._moveHandleToValue=function(t,r){Bp(this._axisPointerModel,!r&&this._moveAnimation,this._handle,pl(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(t,r){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(pl(n),[t,r],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(pl(i)),Qr(n).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var r=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:r.cursorPoint[0],y:r.cursorPoint[1],tooltipOption:r.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var r=this._axisPointerModel.get("value");this._moveHandleToValue(r),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var r=t.getZr(),n=this._group,i=this._handle;r&&n&&(this._lastGraphicKey=null,n&&r.remove(n),i&&r.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),pf(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(t,r,n){return n=n||0,{x:t[n],y:t[1-n],width:r[n],height:r[1-n]}},e})();function Bp(e,t,r,n){n_(Qr(r).lastProp,n)||(Qr(r).lastProp=n,t?Ma(r,n,e):(r.stopAnimation(),r.attr(n)))}function n_(e,t){if(H(e)&&H(t)){var r=!0;return b(t,function(n,i){r=r&&n_(e[i],n)}),!!r}else return e===t}function Np(e,t){e[t.get(["label","show"])?"show":"hide"]()}function pl(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function Fp(e,t,r){var n=t.get("z"),i=t.get("zlevel");e&&e.traverse(function(a){a.type!=="group"&&(n!=null&&(a.z=n),i!=null&&(a.zlevel=i),a.silent=r)})}function xI(e){var t=e.get("type"),r=e.getModel(t+"Style"),n;return t==="line"?(n=r.getLineStyle(),n.fill=null):t==="shadow"&&(n=r.getAreaStyle(),n.stroke=null),n}function bI(e,t,r,n,i){var a=r.get("value"),o=i_(a,t.axis,t.ecModel,r.get("seriesDataIndices"),{precision:r.get(["label","precision"]),formatter:r.get(["label","formatter"])}),s=r.getModel("label"),u=Gs(s.get("padding")||0),l=s.getFont(),f=Dg(o,l),h=i.position,c=f.width+u[1]+u[3],v=f.height+u[0]+u[2],d=i.align;d==="right"&&(h[0]-=c),d==="center"&&(h[0]-=c/2);var g=i.verticalAlign;g==="bottom"&&(h[1]-=v),g==="middle"&&(h[1]-=v/2),CI(h,c,v,n);var p=s.get("backgroundColor");(!p||p==="auto")&&(p=t.get(["axisLine","lineStyle","color"])),e.label={x:h[0],y:h[1],style:ei(s,{text:o,font:l,fill:s.getTextColor(),padding:u,backgroundColor:p}),z2:10}}function CI(e,t,r,n){var i=n.getWidth(),a=n.getHeight();e[0]=Math.min(e[0]+t,i)-t,e[1]=Math.min(e[1]+r,a)-r,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function i_(e,t,r,n,i){e=t.scale.parse(e);var a=t.scale.getLabel({value:e},{precision:i.precision}),o=i.formatter;if(o){var s={value:vs(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};b(n,function(u){var l=r.getSeriesByIndex(u.seriesIndex),f=u.dataIndexInside,h=l&&l.getDataParams(f);h&&s.seriesData.push(h)}),F(o)?a=o.replace("{value}",a):j(o)&&(a=o(s))}return a}function a_(e,t,r){var n=Be();return Kf(n,n,r.rotation),Al(n,n,r.position),_h([e.dataToCoord(t),(r.labelOffset||0)+(r.labelDirection||1)*(r.labelMargin||0)],n)}function MI(e,t,r,n,i,a){var o=_r.innerTextLayout(r.rotation,0,r.labelDirection);r.labelMargin=i.get(["label","margin"]),bI(t,n,i,a,{position:a_(n.axis,e,r),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function DI(e,t,r){return r=r||0,{x1:e[r],y1:e[1-r],x2:t[r],y2:t[1-r]}}function AI(e,t,r){return r=r||0,{x:e[r],y:e[1-r],width:t[r],height:t[1-r]}}function LI(e,t,r){return qs(e,{fromStat:{sers:Y(t,function(n){return r.getSeriesByIndex(n.seriesIndex)})},min:1}).w}function II(e,t,r){return[ht(ne(t[0],t[1]),e-r/2),ne(e+r/2,ht(t[0],t[1]))]}var PI=(function(e){z(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(r,n,i,a,o){var s=i.axis,u=s.grid,l=a.get("type"),f=s.getGlobalExtent(),h=zp(u,s).getOtherAxis(s).getGlobalExtent(),c=s.toGlobalCoord(s.dataToCoord(n,!0));if(l&&l!=="none"){var v=xI(a),d=EI[l](s,c,f,h,a.get("seriesDataIndices"),a.ecModel);d.style=v,r.graphicKey=d.type,r.pointer=d}var g=ys(u.getRect(),i);MI(n,r,g,i,a,o)},t.prototype.getHandleTransform=function(r,n,i){var a=ys(n.axis.grid.getRect(),n,{labelInside:!1});a.labelMargin=i.get(["handle","margin"]);var o=a_(n.axis,r,a);return{x:o[0],y:o[1],rotation:a.rotation+(a.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(r,n,i,a){var o=i.axis,s=o.grid,u=o.getGlobalExtent(!0),l=zp(s,o).getOtherAxis(o).getGlobalExtent(),f=o.dim==="x"?0:1,h=[r.x,r.y];h[f]+=n[f],h[f]=ne(u[1],h[f]),h[f]=ht(u[0],h[f]);var c=(l[1]+l[0])/2,v=[c,c];v[f]=h[f];var d=[{verticalAlign:"middle"},{align:"center"}];return{x:h[0],y:h[1],rotation:r.rotation,cursorPoint:v,tooltipOption:d[f]}},t})(wI);function zp(e,t){var r={};return r[t.dim+"AxisIndex"]=t.index,e.getCartesian(r)}var EI={line:function(e,t,r,n){var i=DI([t,n[0]],[t,n[1]],Hp(e));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(e,t,r,n,i,a){var o=LI(e,i,a),s=n[1]-n[0],u=II(t,r,o),l=u[0],f=u[1];return{type:"Rect",shape:AI([l,n[0]],[f-l,s],Hp(e))}}};function Hp(e){return e.dim==="x"?0:1}var RI=(function(e){z(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:U.color.border,width:1,type:"dashed"},shadowStyle:{color:U.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:U.color.neutral00,padding:[5,7,5,7],backgroundColor:U.color.accent60,borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:U.color.accent40,throttle:40}},t})(ft),Je=vt(),OI=b;function o_(e,t,r){if(!K.node){var n=t.getZr();Je(n).records||(Je(n).records={}),kI(n,t);var i=Je(n).records[e]||(Je(n).records[e]={});i.handler=r}}function kI(e,t){if(Je(e).initialized)return;Je(e).initialized=!0,r("click",Ct(gl,"click")),r("mousemove",Ct(gl,"mousemove")),r("mousewheel",Ct(gl,"mousewheel")),r("globalout",NI);function r(n,i){e.on(n,function(a){var o=FI(t);OI(Je(e).records,function(s){s&&i(s,a,o.dispatchAction)}),BI(o.pendings,t)})}}function BI(e,t){var r=e.showTip.length,n=e.hideTip.length,i;r?i=e.showTip[r-1]:n&&(i=e.hideTip[n-1]),i&&(i.dispatchAction=null,t.dispatchAction(i))}function NI(e,t,r){e.handler("leave",null,r)}function gl(e,t,r,n){t.handler(e,r,n)}function FI(e){var t={showTip:[],hideTip:[]},r=function(n){var i=t[n.type];i?i.push(n):(n.dispatchAction=r,e.dispatchAction(n))};return{dispatchAction:r,pendings:t}}function Nf(e,t){if(!K.node){var r=t.getZr(),n=(Je(r).records||{})[e];n&&(Je(r).records[e]=null)}}var zI=(function(e){z(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i){var a=n.getComponent("tooltip"),o=r.get("triggerOn")||a&&a.get("triggerOn")||"mousemove|click|mousewheel";o_("axisPointer",i,function(s,u,l){o!=="none"&&(s==="leave"||o.indexOf(s)>=0)&&l({type:"updateAxisPointer",currTrigger:s,x:u&&u.offsetX,y:u&&u.offsetY})})},t.prototype.remove=function(r,n){Nf("axisPointer",n)},t.prototype.dispose=function(r,n){Nf("axisPointer",n)},t.type="axisPointer",t})(Ue);function s_(e,t){var r=[],n=e.seriesIndex,i;if(n==null||!(i=t.getSeriesByIndex(n)))return{point:[]};var a=i.getData(),o=xa(a,e);if(o==null||o<0||B(o))return{point:[]};var s=a.getItemGraphicEl(o),u=i.coordinateSystem;if(i.getTooltipPosition)r=i.getTooltipPosition(o)||[];else if(u&&u.dataToPoint)if(e.isStacked){var l=u.getBaseAxis(),f=u.getOtherAxis(l),h=f.dim,c=l.dim,v=h==="x"||h==="radius"?1:0,d=a.mapDimension(c),g=[];g[v]=a.get(d,o),g[1-v]=a.get(a.getCalculationInfo("stackResultDimension"),o),r=u.dataToPoint(g)||[]}else r=u.dataToPoint(a.getValues(Y(u.dimensions,function(m){return a.mapDimension(m)}),o))||[];else if(s){var p=s.getBoundingRect().clone();p.applyTransform(s.transform),r=[p.x+p.width/2,p.y+p.height/2]}return{point:r,el:s}}var Vp=vt();function HI(e,t,r){var n=e.currTrigger,i=[e.x,e.y],a=e,o=e.dispatchAction||_t(r.dispatchAction,r),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){Ho(i)&&(i=s_({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},t).point);var u=Ho(i),l=a.axesInfo,f=s.axesInfo,h=n==="leave"||Ho(i),c={},v={},d={list:[],map:{}},g={showPointer:Ct(GI,v),showTooltip:Ct(UI,d)};b(s.coordSysMap,function(m,y){var _=u||m.containPoint(i);b(s.coordSysAxesInfo[y],function(S,T){var w=S.axis,x=ZI(l,S);if(!h&&_&&(!l||x)){var D=x&&x.value;D==null&&!u&&(D=w.pointToData(i)),D!=null&&Gp(S,D,g,!1,c)}})});var p={};return b(f,function(m,y){var _=m.linkGroup;_&&!v[y]&&b(_.axesInfo,function(S,T){var w=v[T];if(S!==m&&w){var x=w.value;_.mapper&&(x=m.axis.scale.parse(_.mapper(x,Up(S),Up(m)))),p[m.key]=x}})}),b(p,function(m,y){Gp(f[y],m,g,!0,c)}),WI(v,f,c),YI(d,i,e,o),XI(f,o,r),c}}function Gp(e,t,r,n,i){var a=e.axis;if(!(a.scale.isBlank()||!a.containData(t))){if(!e.involveSeries){r.showPointer(e,t);return}var o=VI(t,e),s=o.payloadBatch,u=o.snapToValue;s[0]&&i.seriesIndex==null&&k(i,s[0]),!n&&e.snap&&a.containData(u)&&u!=null&&(t=u),r.showPointer(e,t,s),r.showTooltip(e,o,u)}}function VI(e,t){var r=t.axis,n=r.dim,i=e,a=[],o=Number.MAX_VALUE,s=-1;return b(t.seriesModels,function(u,l){var f=u.getData().mapDimensionsAll(n),h,c;if(u.getAxisTooltipData){var v=u.getAxisTooltipData(f,e,r);c=v.dataIndices,h=v.nestestValue}else{if(c=u.indicesOfNearest(n,f[0],e,r.type==="category"?.5:null),!c.length)return;h=u.getData().get(f[0],c[0])}if(Ge(h)){var d=e-h,g=Math.abs(d);g<=o&&((g=0&&s<0)&&(o=g,s=d,i=h,a.length=0),b(c,function(p){a.push({seriesIndex:u.seriesIndex,dataIndexInside:p,dataIndex:u.getData().getRawIndex(p)})}))}}),{payloadBatch:a,snapToValue:i}}function GI(e,t,r,n){e[t.key]={value:r,payloadBatch:n}}function UI(e,t,r,n){var i=r.payloadBatch,a=t.axis,o=a.model,s=t.axisPointerModel;if(!(!t.triggerTooltip||!i.length)){var u=t.coordSys.model,l=pa(u),f=e.map[l];f||(f=e.map[l]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},e.list.push(f)),f.dataByAxis.push({axisDim:a.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:n,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function WI(e,t,r){var n=r.axesInfo=[];b(t,function(i,a){var o=i.axisPointerModel.option,s=e[a];s?(!i.useHandle&&(o.status="show"),o.value=s.value,o.seriesDataIndices=(s.payloadBatch||[]).slice()):!i.useHandle&&(o.status="hide"),o.status==="show"&&n.push({axisDim:i.axis.dim,axisIndex:i.axis.model.componentIndex,value:o.value})})}function YI(e,t,r,n){if(Ho(t)||!e.list.length){n({type:"hideTip"});return}var i=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:r.tooltipOption,position:r.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:e.list})}function XI(e,t,r){var n=r.getZr(),i="axisPointerLastHighlights",a=Vp(n)[i]||{},o=Vp(n)[i]={};b(e,function(f,h){var c=f.axisPointerModel.option;c.status==="show"&&f.triggerEmphasis&&b(c.seriesDataIndices,function(v){o[v.seriesIndex+"|"+v.dataIndex]=v})});var s=[],u=[];function l(f){return{seriesIndex:f.seriesIndex,dataIndex:f.dataIndex}}b(a,function(f,h){!o[h]&&u.push(l(f))}),b(o,function(f,h){!a[h]&&s.push(l(f))}),u.length&&r.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:u}),s.length&&r.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function ZI(e,t){for(var r=0;r<(e||[]).length;r++){var n=e[r];if(t.axis.dim===n.axisDim&&t.axis.model.componentIndex===n.axisIndex)return n}}function Up(e){var t=e.axis.model,r={},n=r.axisDim=e.axis.dim;return r.axisIndex=r[n+"AxisIndex"]=t.componentIndex,r.axisName=r[n+"AxisName"]=t.name,r.axisId=r[n+"AxisId"]=t.id,r}function Ho(e){return!e||e[0]==null||isNaN(e[0])||e[1]==null||isNaN(e[1])}function u_(e){t_.registerAxisPointerClass("CartesianAxisPointer",PI),e.registerComponentModel(RI),e.registerComponentView(zI),e.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var r=t.axisPointer.link;r&&!B(r)&&(t.axisPointer.link=[r])}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,{overallReset:function(t,r){t.getComponent("axisPointer").coordSysAxesInfo=uI(t,r)}}),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},HI)}function fP(e){vn(TI),vn(u_)}function $I(e,t){var r=Gs(t.get("padding")),n=t.getItemStyle(["color","opacity"]);n.fill=t.get("backgroundColor");var i=new Mt({shape:{x:e.x-r[3],y:e.y-r[0],width:e.width+r[1]+r[3],height:e.height+r[0]+r[2],r:t.get("borderRadius")},style:n,silent:!0,z2:-1});return i}var qI=(function(e){z(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click|mousewheel",alwaysShowContent:!1,renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,displayTransition:!0,enterable:!1,backgroundColor:U.color.neutral00,shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,defaultBorderColor:U.color.border,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:U.color.borderShade,width:1,type:"dashed",textStyle:{}}},textStyle:{color:U.color.tertiary,fontSize:14}},t})(ft);function l_(e){var t=e.get("confine");return t!=null?!!t:e.get("renderMode")==="richText"}function f_(e){if(K.domSupported){for(var t=document.documentElement.style,r=0,n=e.length;r-1?(s+="top:50%",u+="translateY(-50%) rotate("+(l=a==="left"?-225:-45)+"deg)"):(s+="left:50%",u+="translateX(-50%) rotate("+(l=a==="top"?225:45)+"deg)");var f=l*Math.PI/180,h=o+i,c=h*Math.abs(Math.cos(f))+h*Math.abs(Math.sin(f)),v=Math.round(((c-Math.SQRT2*i)/2+Math.SQRT2*i-(c-h)/2)*100)/100;s+=";"+a+":-"+v+"px";var d=t+" solid "+i+"px;",g=["position:absolute;width:"+o+"px;height:"+o+"px;z-index:-1;",s+";"+u+";","border-bottom:"+d,"border-right:"+d,"background-color:"+n+";"];return'
    '}function r2(e,t,r){var n="cubic-bezier(0.23,1,0.32,1)",i="",a="";return r&&(i=" "+e/2+"s "+n,a="opacity"+i+",visibility"+i),t||(i=" "+e+"s "+n,a+=(a.length?",":"")+(K.transformSupported?""+lc+i:",left"+i+",top"+i)),jI+":"+a}function Wp(e,t,r){var n=e.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!K.transformSupported)return r?"top:"+i+";left:"+n+";":[["top",i],["left",n]];var a=K.transform3dSupported,o="translate"+(a?"3d":"")+"("+n+","+i+(a?",0":"")+")";return r?"top:0;left:0;"+lc+":"+o+";":[["top",0],["left",0],[h_,o]]}function n2(e){var t=[],r=e.get("fontSize"),n=e.getTextColor();n&&t.push("color:"+n),t.push("font:"+e.getFont());var i=G(e.get("lineHeight"),Math.round(r*3/2));r&&t.push("line-height:"+i+"px");var a=e.get("textShadowColor"),o=e.get("textShadowBlur")||0,s=e.get("textShadowOffsetX")||0,u=e.get("textShadowOffsetY")||0;return a&&o&&t.push("text-shadow:"+s+"px "+u+"px "+o+"px "+a),b(["decoration","align"],function(l){var f=e.get(l);f&&t.push("text-"+l+":"+f)}),t.join(";")}function i2(e,t,r,n){var i=[],a=e.get("transitionDuration"),o=e.get("backgroundColor"),s=e.get("shadowBlur"),u=e.get("shadowColor"),l=e.get("shadowOffsetX"),f=e.get("shadowOffsetY"),h=e.getModel("textStyle"),c=xy(e,"html"),v=l+"px "+f+"px "+s+"px "+u;return i.push("box-shadow:"+v),t&&a>0&&i.push(r2(a,r,n)),o&&i.push("background-color:"+o),b(["width","color","radius"],function(d){var g="border-"+d,p=qm(g),m=e.get(p);m!=null&&i.push(g+":"+m+(d==="color"?"":"px"))}),i.push(n2(h)),c!=null&&i.push("padding:"+Gs(c).join("px ")+"px"),i.join(";")+";"}function Yp(e,t,r,n,i){var a=t&&t.painter;if(r){var o=a&&a.getViewportRoot();o&&r1(e,o,r,n,i)}else{e[0]=n,e[1]=i;var s=a&&a.getViewportRootOffset();s&&(e[0]+=s.offsetLeft,e[1]+=s.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var a2=(function(){function e(t,r){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,K.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),a=r.appendTo,o=a&&(F(a)?document.querySelector(a):ta(a)?a:j(a)&&a(t.getDom()));Yp(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,this._container=o;var s=this;n.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},n.onmousemove=function(u){if(u=u||window.event,!s._enterable){var l=i.handler,f=i.painter.getViewportRoot();le(f,u,!0),l.dispatch("mousemove",u)}},n.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return e.prototype.update=function(t){if(!this._container){var r=this._api.getDom(),n=QI(r,"position"),i=r.style;i.position!=="absolute"&&n!=="absolute"&&(i.position="relative")}var a=t.get("alwaysShowContent");a&&this._moveIfResized(),this._alwaysShowContent=a,this._enableDisplayTransition=t.get("displayTransition")&&t.get("transitionDuration")>0,this.el.className=t.get("className")||""},e.prototype.show=function(t,r){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,a=this._styleCoord;n.innerHTML?i.cssText=JI+i2(t,!this._firstShow,this._longHide,this._enableDisplayTransition)+Wp(a[0],a[1],!0)+("border-color:"+sa(r)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(t,r,n,i,a){var o=this.el;if(t==null){o.innerHTML="";return}var s="";if(F(a)&&n.get("trigger")==="item"&&!l_(n)&&(s=e2(n,i,a)),F(t))o.innerHTML=t+s;else if(t){o.innerHTML="",B(t)||(t=[t]);for(var u=0;u=0?this._tryShow(a,o):i==="leave"&&this._hide(o))},this))},t.prototype._keepShow=function(){var r=this._tooltipModel,n=this._ecModel,i=this._api,a=r.get("triggerOn");if(r.get("trigger")!=="axis"&&(this._lastDataByCoordSys=null,this._cbParamsList=null),this._lastX!=null&&this._lastY!=null&&a!=="none"&&a!=="click"){var o=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!i.isDisposed()&&o.manuallyShowTip(r,n,i,{x:o._lastX,y:o._lastY,dataByCoordSys:o._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(r,n,i,a){if(!(a.from===this.uid||K.node||!i.getDom())){var o=$p(a,i);this._ticket="";var s=a.dataByCoordSys,u=c2(a,n,i);if(u){var l=u.el.getBoundingRect().clone();l.applyTransform(u.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:u.el,position:a.position,positionDefault:"bottom"},o)}else if(a.tooltip&&a.x!=null&&a.y!=null){var f=s2;f.x=a.x,f.y=a.y,f.update(),yt(f).tooltipConfig={name:null,option:a.tooltip},this._tryShow({offsetX:a.x,offsetY:a.y,target:f},o)}else if(s)this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,dataByCoordSys:s,tooltipOption:a.tooltipOption},o);else if(a.seriesIndex!=null){if(this._manuallyAxisShowTip(r,n,i,a))return;var h=s_(a,n),c=h.point[0],v=h.point[1];c!=null&&v!=null&&this._tryShow({offsetX:c,offsetY:v,target:h.el,position:a.position,positionDefault:"bottom"},o)}else a.x!=null&&a.y!=null&&(i.dispatchAction({type:"updateAxisPointer",x:a.x,y:a.y}),this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,target:i.getZr().findHover(a.x,a.y).target},o))}},t.prototype.manuallyHideTip=function(r,n,i,a){var o=this._tooltipContent;this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,this._cbParamsList=null,a.from!==this.uid&&this._hide($p(a,i))},t.prototype._manuallyAxisShowTip=function(r,n,i,a){var o=a.seriesIndex,s=a.dataIndex,u=n.getComponent("axisPointer").coordSysAxesInfo;if(!(o==null||s==null||u==null)){var l=n.getSeriesByIndex(o);if(l){var f=l.getData(),h=Li([f.getItemModel(s),l,(l.coordinateSystem||{}).model],this._tooltipModel);if(h.get("trigger")==="axis")return i.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:s,position:a.position}),!0}}},t.prototype._tryShow=function(r,n){var i=r.target,a=this._tooltipModel;if(a){this._lastX=r.offsetX,this._lastY=r.offsetY;var o=r.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,r);else if(i){var s=yt(i);if(s.ssrType==="legend")return;this._lastDataByCoordSys=null,this._cbParamsList=null;var u,l;zi(i,function(f){if(f.tooltipDisabled)return u=l=null,!0;u||l||(yt(f).dataIndex!=null?u=f:yt(f).tooltipConfig!=null&&(l=f))},!0),u?this._showSeriesItemTooltip(r,u,n):l?this._showComponentItemTooltip(r,l,n):this._hide(n)}else this._lastDataByCoordSys=null,this._cbParamsList=null,this._hide(n)}},t.prototype._showOrMove=function(r,n){var i=r.get("showDelay");n=_t(n,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(n,i):n()},t.prototype._showAxisTooltip=function(r,n){var i=this._ecModel,a=this._tooltipModel,o=[n.offsetX,n.offsetY],s=Li([n.tooltipOption],a),u=this._renderMode,l=[],f=fa("section",{blocks:[],noHeader:!0}),h=[],c=new qu;b(r,function(y){b(y.dataByAxis,function(_){var S=i.getComponent(_.axisDim+"Axis",_.axisIndex),T=_.value,w=S.axis,x=w.scale.parse(T);if(!(!S||T==null)){var D=i_(T,w,i,_.seriesDataIndices,_.valueLabelOpt),M=fa("section",{header:D,noHeader:!Oe(D),sortBlocks:!0,blocks:[]});f.blocks.push(M),b(_.seriesDataIndices,function(C){var A=i.getSeriesByIndex(C.seriesIndex),I=C.dataIndexInside,L=A.getDataParams(I);if(!(L.dataIndex<0)){L.axisDim=_.axisDim,L.axisIndex=_.axisIndex,L.axisType=_.axisType,L.axisId=_.axisId,L.axisValue=vs(S.axis,{value:x}),L.axisValueLabel=D,L.marker=c.makeTooltipMarker("item",sa(L.color),u);var P=fd(A.formatTooltip(I,!0,null)),E=P.frag;if(E){var R=Li([A],a).get("valueFormatter");M.blocks.push(R?k({valueFormatter:R},E):E)}P.text&&h.push(P.text),l.push(L)}})}})}),f.blocks.reverse(),h.reverse();var v=n.position,d=s.get("order"),g=pd(f,c,u,d,i.get("useUTC"),s.get("textStyle"));g&&h.unshift(g);var p=u==="richText"?` + +`:"
    ",m=h.join(p);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(r,l)?this._updatePosition(s,v,o[0],o[1],this._tooltipContent,l):this._showTooltipContent(s,m,l,Math.random()+"",o[0],o[1],v,null,c)})},t.prototype._showSeriesItemTooltip=function(r,n,i){var a=this._ecModel,o=yt(n),s=o.seriesIndex,u=a.getSeriesByIndex(s),l=o.dataModel||u,f=o.dataIndex,h=o.dataType,c=l.getData(h),v=this._renderMode,d=r.positionDefault,g=Li([c.getItemModel(f),l,u&&(u.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),p=g.get("trigger");if(!(p!=null&&p!=="item")){var m=l.getDataParams(f,h),y=new qu;m.marker=y.makeTooltipMarker("item",sa(m.color),v);var _=fd(l.formatTooltip(f,!1,h)),S=g.get("order"),T=g.get("valueFormatter"),w=_.frag,x=w?pd(T?k({valueFormatter:T},w):w,y,v,S,a.get("useUTC"),g.get("textStyle")):_.text,D="item_"+l.name+"_"+f;this._showOrMove(g,function(){this._showTooltipContent(g,x,m,D,r.offsetX,r.offsetY,r.position,r.target,y)}),i({type:"showTip",dataIndexInside:f,dataIndex:c.getRawIndex(f),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(r,n,i){var a=this._renderMode==="html",o=yt(n),s=o.tooltipConfig,u=s.option||{},l=u.encodeHTMLContent;if(F(u)){var f=u;u={content:f,formatter:f},l=!0}l&&a&&u.content&&(u=rt(u),u.content=Yt(u.content));var h=[u],c=this._ecModel.getComponent(o.componentMainType,o.componentIndex);c&&h.push(c),h.push({formatter:u.content});var v=r.positionDefault,d=Li(h,this._tooltipModel,v?{position:v}:null),g=d.get("content"),p=Math.random()+"",m=new qu;this._showOrMove(d,function(){var y=rt(d.get("formatterParams")||{});this._showTooltipContent(d,g,y,p,r.offsetX,r.offsetY,r.position,n,m)}),i({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(r,n,i,a,o,s,u,l,f){if(this._ticket="",!(!r.get("showContent")||!r.get("show"))){var h=this._tooltipContent;h.setEnterable(r.get("enterable"));var c=r.get("formatter");u=u||r.get("position");var v=n,d=this._getNearestPoint([o,s],i,r.get("trigger"),r.get("borderColor"),r.get("defaultBorderColor",!0)),g=d.color;if(c)if(F(c)){var p=r.ecModel.get("useUTC"),m=B(i)?i[0]:i,y=m&&m.axisType&&m.axisType.indexOf("time")>=0;v=c,y&&(v=Vs(m.axisValue,v,p)),v=Km(v,i,!0)}else if(j(c)){var _=_t(function(S,T){S===this._ticket&&(h.setContent(T,f,r,g,u),this._updatePosition(r,u,o,s,h,i,l))},this);this._ticket=a,v=c(i,a,_)}else v=c;h.setContent(v,f,r,g,u),h.show(r,g),this._updatePosition(r,u,o,s,h,i,l)}},t.prototype._getNearestPoint=function(r,n,i,a,o){if(i==="axis"||B(n))return{color:a||o};if(!B(n))return{color:a||n.color||n.borderColor}},t.prototype._updatePosition=function(r,n,i,a,o,s,u){var l=this._api.getWidth(),f=this._api.getHeight();n=n||r.get("position");var h=o.getSize(),c=r.get("align"),v=r.get("verticalAlign"),d=u&&u.getBoundingRect().clone();if(u&&d.applyTransform(u.transform),j(n)&&(n=n([i,a],s,o.el,d,{viewSize:[l,f],contentSize:h.slice()})),B(n))i=Bt(n[0],l),a=Bt(n[1],f);else if(H(n)){var g=n;g.width=h[0],g.height=h[1];var p=fn(g,{width:l,height:f});i=p.x,a=p.y,c=null,v=null}else if(F(n)&&u){var m=h2(n,d,h,r.get("borderWidth"));i=m[0],a=m[1]}else{var m=l2(i,a,o,l,f,c?null:20,v?null:20);i=m[0],a=m[1]}if(c&&(i-=qp(c)?h[0]/2:c==="right"?h[0]:0),v&&(a-=qp(v)?h[1]/2:v==="bottom"?h[1]:0),l_(r)){var m=f2(i,a,o,l,f);i=m[0],a=m[1]}o.moveTo(i,a)},t.prototype._updateContentNotChangedOnAxis=function(r,n){var i=this._lastDataByCoordSys,a=this._cbParamsList,o=!!i&&i.length===r.length;return o&&b(i,function(s,u){var l=s.dataByAxis||[],f=r[u]||{},h=f.dataByAxis||[];o=o&&l.length===h.length,o&&b(l,function(c,v){var d=h[v]||{},g=c.seriesDataIndices||[],p=d.seriesDataIndices||[];o=o&&c.value===d.value&&c.axisType===d.axisType&&c.axisId===d.axisId&&g.length===p.length,o&&b(g,function(m,y){var _=p[y];o=o&&m.seriesIndex===_.seriesIndex&&m.dataIndex===_.dataIndex}),a&&b(c.seriesDataIndices,function(m){var y=m.seriesIndex,_=n[y],S=a[y];_&&S&&S.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=r,this._cbParamsList=n,!!o},t.prototype._hide=function(r){this._lastDataByCoordSys=null,this._cbParamsList=null,r({type:"hideTip",from:this.uid})},t.prototype.dispose=function(r,n){K.node||!n.getDom()||(pf(this,"_updatePosition"),this._tooltipContent.dispose(),Nf("itemTooltip",n),this._tooltipContent=null,this._tooltipModel=null,this._lastDataByCoordSys=null,this._cbParamsList=null)},t.type="tooltip",t})(Ue);function Li(e,t,r){var n=t.ecModel,i;r?(i=new St(r,n,n),i=new St(t.option,i,n)):i=t;for(var a=e.length-1;a>=0;a--){var o=e[a];o&&(o instanceof St&&(o=o.get("tooltip",!0)),F(o)&&(o={formatter:o}),o&&(i=new St(o,i,n)))}return i}function $p(e,t){return e.dispatchAction||_t(t.dispatchAction,t)}function l2(e,t,r,n,i,a,o){var s=r.getSize(),u=s[0],l=s[1];return a!=null&&(e+u+a+2>n?e-=u+a:e+=a),o!=null&&(t+l+o>i?t-=l+o:t+=o),[e,t]}function f2(e,t,r,n,i){var a=r.getSize(),o=a[0],s=a[1];return e=Math.min(e+o,n)-o,t=Math.min(t+s,i)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function h2(e,t,r,n){var i=r[0],a=r[1],o=Math.ceil(Math.SQRT2*n)+8,s=0,u=0,l=t.width,f=t.height;switch(e){case"inside":s=t.x+l/2-i/2,u=t.y+f/2-a/2;break;case"top":s=t.x+l/2-i/2,u=t.y-a-o;break;case"bottom":s=t.x+l/2-i/2,u=t.y+f+o;break;case"left":s=t.x-i-o,u=t.y+f/2-a/2;break;case"right":s=t.x+l+o,u=t.y+f/2-a/2}return[s,u]}function qp(e){return e==="center"||e==="middle"}function c2(e,t,r){var n=rh(e).queryOptionMap,i=n.keys()[0];if(!(!i||i==="series")){var a=ba(t,i,n.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),o=a.models[0];if(o){var s=r.getViewOfComponentModel(o),u;if(s.group.traverse(function(l){var f=yt(l).tooltipConfig;if(f&&f.name===e.name)return u=l,!0}),u)return{componentMainType:i,componentIndex:o.componentIndex,el:u}}}}function hP(e){vn(u_),e.registerComponentModel(qI),e.registerComponentView(u2),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},Nt),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},Nt)}var v2=function(e,t){if(t==="all")return{type:"all",title:e.getLocaleModel().get(["legend","selector","all"])};if(t==="inverse")return{type:"inverse",title:e.getLocaleModel().get(["legend","selector","inverse"])}},Ff=(function(e){z(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.layoutMode={type:"box",ignoreSize:!0},r}return t.prototype.init=function(r,n,i){this.mergeDefaultAndTheme(r,i),r.selected=r.selected||{},this._updateSelector(r)},t.prototype.mergeOption=function(r,n){e.prototype.mergeOption.call(this,r,n),this._updateSelector(r)},t.prototype._updateSelector=function(r){var n=r.selector,i=this.ecModel;n===!0&&(n=r.selector=["all","inverse"]),B(n)&&b(n,function(a,o){F(a)&&(a={type:a}),n[o]=lt(a,v2(i,a.type))})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var r=this._data;if(r[0]&&this.get("selectedMode")==="single"){for(var n=!1,i=0;i=0},t.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",bottom:U.size.m,align:"auto",backgroundColor:U.color.transparent,borderColor:U.color.border,borderRadius:0,borderWidth:0,padding:5,itemGap:8,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:U.color.disabled,inactiveBorderColor:U.color.disabled,inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:U.color.disabled,inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:U.color.secondary},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:U.color.tertiary,borderWidth:1,borderColor:U.color.border},emphasis:{selectorLabel:{show:!0,color:U.color.quaternary}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1},triggerEvent:!1},t})(ft),Rn=Ct,zf=b,mo=re,v_=(function(e){z(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.newlineDisabled=!1,r}return t.prototype.init=function(){this.group.add(this._contentGroup=new mo),this.group.add(this._selectorGroup=new mo),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(r,n,i){var a=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!r.get("show",!0)){var o=r.get("align"),s=r.get("orient");(!o||o==="auto")&&(o=r.get("left")==="right"&&s==="vertical"?"right":"left");var u=r.get("selector",!0),l=r.get("selectorPosition",!0);u&&(!l||l==="auto")&&(l=s==="horizontal"?"end":"start"),this.renderInner(o,r,n,i,u,s,l);var f=Nh(r,i).refContainer,h=r.getBoxLayoutParams(),c=r.get("padding"),v=fn(h,f,c),d=this.layoutInner(r,o,v,a,u,l),g=fn(pt({width:d.width,height:d.height},h),f,c);this.group.x=g.x-d.x,this.group.y=g.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=$I(d,r))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(r,n,i,a,o,s,u){var l=this.getContentGroup(),f=W(),h=n.get("selectedMode"),c=n.get("triggerEvent"),v=[];i.eachRawSeries(function(d){!d.get("legendHoverLink")&&v.push(d.id)}),zf(n.getData(),function(d,g){var p=this,m=d.get("name");if(!this.newlineDisabled&&(m===""||m===` +`)){var y=new mo;y.newline=!0,l.add(y);return}var _=i.getSeriesByName(m)[0];if(!f.get(m))if(_){var S=_.getData(),T=S.getVisual("legendLineStyle")||{},w=S.getVisual("legendIcon"),x=S.getVisual("style"),D=this._createItem(_,m,g,d,n,r,T,x,w,h,a);D.on("click",Rn(Kp,m,null,a,v)).on("mouseover",Rn(Hf,_.name,null,a,v)).on("mouseout",Rn(Vf,_.name,null,a,v)),i.ssr&&D.eachChild(function(M){var C=yt(M);C.seriesIndex=_.seriesIndex,C.dataIndex=g,C.ssrType="legend"}),c&&D.eachChild(function(M){p.packEventData(M,n,_,g,m)}),f.set(m,!0)}else i.eachRawSeries(function(M){var C=this;if(!f.get(m)&&M.legendVisualProvider){var A=M.legendVisualProvider;if(!A.containName(m))return;var I=A.indexOfName(m),L=A.getItemVisual(I,"style"),P=A.getItemVisual(I,"legendIcon"),E=Ne(L.fill);E&&E[3]===0&&(E[3]=.2,L=k(k({},L),{fill:_a(E,"rgba")}));var R=this._createItem(M,m,g,d,n,r,{},L,P,h,a);R.on("click",Rn(Kp,null,m,a,v)).on("mouseover",Rn(Hf,null,m,a,v)).on("mouseout",Rn(Vf,null,m,a,v)),i.ssr&&R.eachChild(function(N){var X=yt(N);X.seriesIndex=M.seriesIndex,X.dataIndex=g,X.ssrType="legend"}),c&&R.eachChild(function(N){C.packEventData(N,n,M,g,m)}),f.set(m,!0)}},this)},this),o&&this._createSelector(o,n,a,s,u)},t.prototype.packEventData=function(r,n,i,a,o){var s={componentType:"legend",componentIndex:n.componentIndex,dataIndex:a,value:o,seriesIndex:i.seriesIndex};yt(r).eventData=s},t.prototype._createSelector=function(r,n,i,a,o){var s=this.getSelectorGroup();zf(r,function(l){var f=l.type,h=new ie({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:f==="all"?"legendAllSelect":"legendInverseSelect",legendId:n.id})}});s.add(h);var c=n.getModel("selectorLabel"),v=n.getModel(["emphasis","selectorLabel"]);_x(h,{normal:c,emphasis:v},{defaultText:l.title}),tf(h)})},t.prototype._createItem=function(r,n,i,a,o,s,u,l,f,h,c){var v=r.visualDrawType,d=o.get("itemWidth"),g=o.get("itemHeight"),p=o.isSelected(n),m=a.get("symbolRotate"),y=a.get("symbolKeepAspect"),_=a.get("icon");f=_||f||"roundRect";var S=d2(f,a,u,l,v,p,c),T=new mo,w=a.getModel("textStyle");if(j(r.getLegendIcon)&&(!_||_==="inherit"))T.add(r.getLegendIcon({itemWidth:d,itemHeight:g,icon:f,iconRotate:m,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:y}));else{var x=_==="inherit"&&r.getData().getVisual("symbol")?m==="inherit"?r.getData().getVisual("symbolRotate"):m:0;T.add(p2({itemWidth:d,itemHeight:g,icon:f,iconRotate:x,itemStyle:S.itemStyle,symbolKeepAspect:y}))}var D=s==="left"?d+5:-5,M=s,C=o.get("formatter"),A=n;F(C)&&C?A=C.replace("{name}",n??""):j(C)&&(A=C(n));var I=p?w.getTextColor():a.get("inactiveColor");T.add(new ie({style:ei(w,{text:A,x:D,y:g/2,fill:I,align:M,verticalAlign:"middle"},{inheritColor:I})}));var L=new Mt({shape:T.getBoundingRect(),style:{fill:"transparent"}}),P=a.getModel("tooltip");return P.get("show")&&Ns({el:L,componentModel:o,itemName:n,itemTooltipOption:P.option}),T.add(L),T.eachChild(function(E){E.silent=!0}),L.silent=!h,this.getContentGroup().add(T),tf(T),T.__legendDataIndex=i,T},t.prototype.layoutInner=function(r,n,i,a,o,s){var u=this.getContentGroup(),l=this.getSelectorGroup();qi(r.get("orient"),u,r.get("itemGap"),i.width,i.height);var f=u.getBoundingRect(),h=[-f.x,-f.y];if(l.markRedraw(),u.markRedraw(),o){qi("horizontal",l,r.get("selectorItemGap",!0));var c=l.getBoundingRect(),v=[-c.x,-c.y],d=r.get("selectorButtonGap",!0),g=r.getOrient().index,p=g===0?"width":"height",m=g===0?"height":"width",y=g===0?"y":"x";s==="end"?v[g]+=f[p]+d:h[g]+=c[p]+d,v[1-g]+=f[m]/2-c[m]/2,l.x=v[0],l.y=v[1],u.x=h[0],u.y=h[1];var _={x:0,y:0};return _[p]=f[p]+d+c[p],_[m]=Math.max(f[m],c[m]),_[y]=Math.min(0,c[y]+v[1-g]),_}else return u.x=h[0],u.y=h[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t})(Ue);function d2(e,t,r,n,i,a,o){function s(p,m){p.lineWidth==="auto"&&(p.lineWidth=m.lineWidth>0?2:0),zf(p,function(y,_){p[_]==="inherit"&&(p[_]=m[_])})}var u=t.getModel("itemStyle"),l=u.getItemStyle(),f=e.lastIndexOf("empty",0)===0?"fill":"stroke",h=u.getShallow("decal");l.decal=!h||h==="inherit"?n.decal:Sf(h,o),l.fill==="inherit"&&(l.fill=n[i]),l.stroke==="inherit"&&(l.stroke=n[f]),l.opacity==="inherit"&&(l.opacity=(i==="fill"?n:r).opacity),s(l,n);var c=t.getModel("lineStyle"),v=c.getLineStyle();if(s(v,r),l.fill==="auto"&&(l.fill=n.fill),l.stroke==="auto"&&(l.stroke=n.fill),v.stroke==="auto"&&(v.stroke=n.fill),!a){var d=t.get("inactiveBorderWidth"),g=l[f];l.lineWidth=d==="auto"?n.lineWidth>0&&g?2:0:l.lineWidth,l.fill=t.get("inactiveColor"),l.stroke=t.get("inactiveBorderColor"),v.stroke=c.get("inactiveColor"),v.lineWidth=c.get("inactiveWidth")}return{itemStyle:l,lineStyle:v}}function p2(e){var t=e.icon||"roundRect",r=Yh(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return r.setStyle(e.itemStyle),r.rotation=(e.iconRotate||0)*Math.PI/180,r.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(r.style.stroke=r.style.fill,r.style.fill=U.color.neutral00,r.style.lineWidth=2),r}function Kp(e,t,r,n){Vf(e,t,r,n),r.dispatchAction({type:"legendToggleSelect",name:e??t}),Hf(e,t,r,n)}function Hf(e,t,r,n){r.usingTHL()||r.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:n})}function Vf(e,t,r,n){r.usingTHL()||r.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:n})}function Ii(e,t,r){var n=e==="allSelect"||e==="inverseSelect",i={},a=[];r.eachComponent({mainType:"legend",query:t},function(s){n?s[e]():s[e](t.name),Qp(s,i),a.push(s.componentIndex)});var o={};return r.eachComponent("legend",function(s){b(i,function(u,l){s[u?"select":"unSelect"](l)}),Qp(s,o)}),n?{selected:o,legendIndex:a}:{name:t.name,selected:o}}function Qp(e,t){var r=t||{};return b(e.getData(),function(n){var i=n.get("name");if(!(i===` +`||i==="")){var a=e.isSelected(i);qt(r,i)?r[i]=r[i]&&a:r[i]=a}}),r}function g2(e){e.registerAction("legendToggleSelect","legendselectchanged",Ct(Ii,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",Ct(Ii,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",Ct(Ii,"inverseSelect")),e.registerAction("legendSelect","legendselected",Ct(Ii,"select")),e.registerAction("legendUnSelect","legendunselected",Ct(Ii,"unSelect"))}var m2=ih(y2);function y2(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries(function(r){for(var n=0;ni[o],p=[-v.x,-v.y];n||(p[a]=f[l]);var m=[0,0],y=[-d.x,-d.y],_=G(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(g){var S=r.get("pageButtonPosition",!0);S==="end"?y[a]+=i[o]-d[o]:m[a]+=d[o]+_}y[1-a]+=v[s]/2-d[s]/2,f.setPosition(p),h.setPosition(m),c.setPosition(y);var T={x:0,y:0};if(T[o]=g?i[o]:v[o],T[s]=Math.max(v[s],d[s]),T[u]=Math.min(0,d[u]+y[1-a]),h.__rectSize=i[o],g){var w={x:0,y:0};w[o]=Math.max(i[o]-d[o]-_,0),w[s]=T[s],h.setClipPath(new Mt({shape:w})),h.__rectSize=w[o]}else c.eachChild(function(D){D.attr({invisible:!0,silent:!0})});var x=this._getPageInfo(r);return x.pageIndex!=null&&Ma(f,{x:x.contentPosition[0],y:x.contentPosition[1]},g?r:null),this._updatePageInfoView(r,x),T},t.prototype._pageGo=function(r,n,i){var a=this._getPageInfo(n)[r];a!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:a,legendId:n.id})},t.prototype._updatePageInfoView=function(r,n){var i=this._controllerGroup;b(["pagePrev","pageNext"],function(f){var h=f+"DataIndex",c=n[h]!=null,v=i.childOfName(f);v&&(v.setStyle("fill",c?r.get("pageIconColor",!0):r.get("pageIconInactiveColor",!0)),v.cursor=c?"pointer":"default")});var a=i.childOfName("pageText"),o=r.get("pageFormatter"),s=n.pageIndex,u=s!=null?s+1:0,l=n.pageCount;a&&o&&a.setStyle("text",F(o)?o.replace("{current}",u==null?"":u+"").replace("{total}",l==null?"":l+""):o({current:u,total:l}))},t.prototype._getPageInfo=function(r){var n=r.get("scrollDataIndex",!0),i=this.getContentGroup(),a=this._containerGroup.__rectSize,o=r.getOrient().index,s=ml[o],u=yl[o],l=this._findTargetItemIndex(n),f=i.children(),h=f[l],c=f.length,v=c?1:0,d={contentPosition:[i.x,i.y],pageCount:v,pageIndex:v-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return d;var g=S(h);d.contentPosition[o]=-g.s;for(var p=l+1,m=g,y=g,_=null;p<=c;++p)_=S(f[p]),(!_&&y.e>m.s+a||_&&!T(_,m.s))&&(y.i>m.i?m=y:m=_,m&&(d.pageNextDataIndex==null&&(d.pageNextDataIndex=m.i),++d.pageCount)),y=_;for(var p=l-1,m=g,y=g,_=null;p>=-1;--p)_=S(f[p]),(!_||!T(y,_.s))&&m.i=x&&w.s<=x+a}},t.prototype._findTargetItemIndex=function(r){if(!this._showController)return 0;var n,i=this.getContentGroup(),a;return i.eachChild(function(o,s){var u=o.__legendDataIndex;a==null&&u!=null&&(a=s),u===r&&(n=s)}),n??a},t.type="legend.scroll",t})(v_);function T2(e){e.registerAction("legendScroll","legendscroll",function(t,r){var n=t.scrollDataIndex;n!=null&&r.eachComponent({mainType:"legend",subType:"scroll",query:t},function(i){i.setScrollDataIndex(n)})})}function w2(e){vn(d_),e.registerComponentModel(_2),e.registerComponentView(S2),T2(e)}function cP(e){vn(d_),vn(w2)}export{B2 as $,np as A,Bt as B,Fo as C,wv as D,b as E,iP as F,qt as G,ne as H,ht as I,Y2 as J,hn as K,X2 as L,qS as M,Rx as N,U as O,ct as P,Ag as Q,Tt as R,wr as S,B as T,Y as U,Qn as V,Pm as W,Bs as X,Ma as Y,Jw as Z,z as _,ph as a,Jn as a$,xh as a0,re as a1,oP as a2,yt as a3,un as a4,Os as a5,Mt as a6,k as a7,N2 as a8,_x as a9,Gn as aA,U2 as aB,vn as aC,eP as aD,fP as aE,hP as aF,cP as aG,tP as aH,xr as aI,at as aJ,ei as aK,qT as aL,pn as aM,Yh as aN,z2 as aO,F as aP,j as aQ,A2 as aR,hD as aS,fD as aT,Kl as aU,Ql as aV,hM as aW,wm as aX,W2 as aY,Cm as aZ,H as a_,rP as aa,F2 as ab,nP as ac,O2 as ad,k2 as ae,sP as af,P2 as ag,mt as ah,Wh as ai,uP as aj,_t as ak,Ct as al,G2 as am,L2 as an,Jc as ao,vt as ap,H2 as aq,Z as ar,GA as as,J2 as at,E2 as au,V2 as av,xT as aw,qc as ax,rt as ay,ie as az,j_ as b,mg as b0,Vt as b1,sa as b2,xa as b3,R2 as b4,HS as b5,$s as b6,Uw as b7,wL as b8,xL as b9,Nh as bA,Da as bB,fn as bC,mf as bD,tf as bE,sx as bF,ux as bG,_h as bH,dh as bI,VS as ba,D2 as bb,Ee as bc,fi as bd,Nt as be,Em as bf,M2 as bg,lg as bh,Ye as bi,_S as bj,JC as bk,st as bl,lt as bm,I2 as bn,pe as bo,ft as bp,Ue as bq,WS as br,tc as bs,yS as bt,Ta as bu,ln as bv,vA as bw,Q2 as bx,Cy as by,pf as bz,q2 as c,pt as d,W as e,Eg as f,w0 as g,Xb as h,Ge as i,rA as j,Xe as k,C2 as l,qs as m,K2 as n,$2 as o,Yb as p,lP as q,G as r,_D as s,TL as t,aP as u,bC as v,YS as w,j2 as x,Z2 as y,Lt as z}; diff --git a/frontend/dist/assets/install-qcIyCJ5C.js b/frontend/dist/assets/install-qcIyCJ5C.js index 7f2180a..0b7d0b0 100644 --- a/frontend/dist/assets/install-qcIyCJ5C.js +++ b/frontend/dist/assets/install-qcIyCJ5C.js @@ -1,4 +1,10 @@ +<<<<<<<< HEAD:frontend/dist/assets/install-qcIyCJ5C.js var p_=Object.defineProperty;var g_=(e,t,r)=>t in e?p_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var cc=(e,t,r)=>g_(e,typeof t!="symbol"?t+"":t,r);import{d as m_,aV as y_,D as yo,a1 as tg,G as eg,H as __,I as _l,aT as Sl,j as Pi,P as S_,bz as T_,ah as w_,B as _o,c_ as Ks,bg as x_,bW as So}from"./index-CD29OCdJ.js";/*! ***************************************************************************** +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/install-Dw0-DbLK.js +var p_=Object.defineProperty;var g_=(e,t,r)=>t in e?p_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var cc=(e,t,r)=>g_(e,typeof t!="symbol"?t+"":t,r);import{d as m_,aV as y_,D as yo,a1 as tg,G as eg,H as __,I as _l,aT as Sl,j as Pi,P as S_,bz as T_,ah as w_,B as _o,c_ as Ks,bg as x_,bW as So}from"./index-Ds9AETjS.js";/*! ***************************************************************************** +======== +var p_=Object.defineProperty;var g_=(e,t,r)=>t in e?p_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var cc=(e,t,r)=>g_(e,typeof t!="symbol"?t+"":t,r);import{d as m_,aV as y_,D as yo,a1 as tg,G as eg,H as __,I as _l,aQ as Sl,j as Pi,P as S_,bz as T_,ah as w_,B as _o,c_ as Ks,bg as x_,bW as So}from"./index-CxbBjZKo.js";/*! ***************************************************************************** +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/install-i_dmuKuk.js Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any diff --git a/frontend/dist/assets/install-yQKxYHXo.js b/frontend/dist/assets/install-yQKxYHXo.js new file mode 100644 index 0000000..4dd0558 --- /dev/null +++ b/frontend/dist/assets/install-yQKxYHXo.js @@ -0,0 +1 @@ +import{_ as J,J as Bt,a1 as tt,aN as it,O as wt,K as Xt,r as qt,aU as Jt,aV as $t,Y,$ as jt,X as Ct,a8 as lt,aW as Qt,aM as Kt,a7 as vt,a9 as Ot,ad as nt,a3 as K,aX as ht,aY as Yt,aa as zt,W as xt,aZ as te,a_ as ee,U as st,s as x,R as Rt,u as q,a$ as ae,b0 as ft,ah as Vt,b1 as ct,ak as re,b2 as gt,d as mt,ae as pt,b3 as yt,a4 as et,b4 as bt,aQ as at,az as ie,b5 as ne,a0 as oe,E as Gt,b6 as le,b7 as se,af as ue,b8 as ve,b9 as he,S as St,ba as dt,bb as fe,bc as _t,ac as ce,v as ge,aj as me}from"./install-i_dmuKuk.js";var pe=(function(l){J(a,l);function a(){var t=l!==null&&l.apply(this,arguments)||this;return t.type=a.type,t.hasSymbolVisual=!0,t}return a.prototype.getInitialData=function(t){return Bt(null,this,{useEncodeDefaulter:!0})},a.prototype.getLegendIcon=function(t){var e=new tt,o=it("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(o),o.setStyle(t.lineStyle);var r=this.getData().getVisual("symbol"),i=this.getData().getVisual("symbolRotate"),n=r==="none"?"circle":r,u=t.itemHeight*.8,s=it(n,(t.itemWidth-u)/2,(t.itemHeight-u)/2,u,u,t.itemStyle.fill);e.add(s),s.setStyle(t.itemStyle);var h=t.iconRotate==="inherit"?i:t.iconRotate||0;return s.rotation=h*Math.PI/180,s.setOrigin([t.itemWidth/2,t.itemHeight/2]),n.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill=wt.color.neutral00,s.style.lineWidth=2),e},a.type="series.line",a.dependencies=["grid","polar"],a.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:6,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1,triggerEvent:!1},a})(Xt),ut=(function(l){J(a,l);function a(t,e,o,r){var i=l.call(this)||this;return i.updateData(t,e,o,r),i}return a.prototype._createSymbol=function(t,e,o,r,i,n){this.removeAll();var u=it(t,-1,-1,2,2,null,n);u.attr({z2:qt(i,100),culling:!0,scaleX:r[0]/2,scaleY:r[1]/2}),u.drift=ye,this._symbolType=t,this.add(u)},a.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},a.prototype.getSymbolType=function(){return this._symbolType},a.prototype.getSymbolPath=function(){return this.childAt(0)},a.prototype.highlight=function(){Jt(this.childAt(0))},a.prototype.downplay=function(){$t(this.childAt(0))},a.prototype.setZ=function(t,e){var o=this.childAt(0);o.zlevel=t,o.z=e},a.prototype.setDraggable=function(t,e){var o=this.childAt(0);o.draggable=t,o.cursor=!e&&t?"move":o.cursor},a.prototype.updateData=function(t,e,o,r){this.silent=!1;var i=t.getItemVisual(e,"symbol")||"circle",n=t.hostModel,u=a.getSymbolSize(t,e),s=a.getSymbolZ2(t,e),h=i!==this._symbolType,v=r&&r.disableAnimation;if(h){var c=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(i,t,e,u,s,c)}else{var f=this.childAt(0);f.silent=!1;var g={scaleX:u[0]/2,scaleY:u[1]/2};v?f.attr(g):Y(f,g,n,e),jt(f)}if(this._updateCommon(t,e,u,o,r),h){var f=this.childAt(0);if(!v){var g={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:f.style.opacity}};f.scaleX=f.scaleY=0,f.style.opacity=0,Ct(f,g,n,e)}}v&&this.childAt(0).stopAnimation("leave")},a.prototype._updateCommon=function(t,e,o,r,i){var n=this.childAt(0),u=t.hostModel,s,h,v,c,f,g,m,S,p;if(r&&(s=r.emphasisItemStyle,h=r.blurItemStyle,v=r.selectItemStyle,c=r.focus,f=r.blurScope,m=r.labelStatesModels,S=r.hoverScale,p=r.cursorStyle,g=r.emphasisDisabled),!r||t.hasItemOption){var y=r&&r.itemModel?r.itemModel:t.getItemModel(e),b=y.getModel("emphasis");s=b.getModel("itemStyle").getItemStyle(),v=y.getModel(["select","itemStyle"]).getItemStyle(),h=y.getModel(["blur","itemStyle"]).getItemStyle(),c=b.get("focus"),f=b.get("blurScope"),g=b.get("disabled"),m=lt(y),S=b.getShallow("scale"),p=y.getShallow("cursor")}var I=t.getItemVisual(e,"symbolRotate");n.attr("rotation",(I||0)*Math.PI/180||0);var D=Qt(t.getItemVisual(e,"symbolOffset"),o);D&&(n.x=D[0],n.y=D[1]),p&&n.attr("cursor",p);var _=t.getItemVisual(e,"style"),d=_.fill;if(n instanceof Kt){var k=n.style;n.useStyle(vt({image:k.image,x:k.x,y:k.y,width:k.width,height:k.height},_))}else n.__isEmptyBrush?n.useStyle(vt({},_)):n.useStyle(_),n.style.decal=null,n.setColor(d,i&&i.symbolInnerColor),n.style.strokeNoScale=!0;var A=t.getItemVisual(e,"liftZ"),E=this._z2;A!=null?E==null&&(this._z2=n.z2,n.z2+=A):E!=null&&(n.z2=E,this._z2=null);var L=i&&i.useNameLabel;Ot(n,m,{labelFetcher:u,labelDataIndex:e,defaultText:P,inheritColor:d,defaultOpacity:_.opacity});function P(O){return L?t.getName(O):zt(t,O)}this._sizeX=o[0]/2,this._sizeY=o[1]/2;var T=n.ensureState("emphasis");T.style=s,n.ensureState("select").style=v,n.ensureState("blur").style=h;var R=S==null||S===!0?Math.max(1.1,3/this._sizeY):isFinite(S)&&S>0?+S:1;T.scaleX=this._sizeX*R,T.scaleY=this._sizeY*R,this.setSymbolScale(1),nt(this,c,f,g)},a.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},a.prototype.fadeOut=function(t,e,o){var r=this.childAt(0),i=K(this).dataIndex,n=o&&o.animation;if(this.silent=r.silent=!0,o&&o.fadeLabel){var u=r.getTextContent();u&&ht(u,{style:{opacity:0}},e,{dataIndex:i,removeOpt:n,cb:function(){r.removeTextContent()}})}else r.removeTextContent();ht(r,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:i,cb:t,removeOpt:n})},a.getSymbolSize=function(t,e){return Yt(t.getItemVisual(e,"symbolSize"))},a.getSymbolZ2=function(t,e){return t.getItemVisual(e,"z2")},a})(tt);function ye(l,a){this.parent.drift(l,a)}function Q(l,a,t,e){return a&&!isNaN(a[0])&&!isNaN(a[1])&&!(e&&e.isIgnore&&e.isIgnore(t))&&!(e&&e.clipShape&&!e.clipShape.contain(a[0],a[1]))&&l.getItemVisual(t,"symbol")!=="none"}function Dt(l){return l!=null&&!ee(l)&&(l={isIgnore:l}),l||{}}function It(l){var a=l.hostModel,t=a.getModel("emphasis");return{emphasisItemStyle:t.getModel("itemStyle").getItemStyle(),blurItemStyle:a.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:a.getModel(["select","itemStyle"]).getItemStyle(),focus:t.get("focus"),blurScope:t.get("blurScope"),emphasisDisabled:t.get("disabled"),hoverScale:t.get("scale"),labelStatesModels:lt(a),cursorStyle:a.get("cursor")}}function Et(l,a,t,e,o,r,i){var n=new l(a,t,e,o);return n.setPosition(r),a.setItemGraphicEl(t,n),i.add(n),n}var be=(function(){function l(a){this.group=new tt,this._SymbolCtor=a||ut}return l.prototype.updateData=function(a,t){this._progressiveEls=null,t=Dt(t);var e=this.group,o=a.hostModel,r=this._data,i=this._SymbolCtor,n=t.disableAnimation,u=this._seriesScope=It(a),s={disableAnimation:n},h=t.getSymbolPoint||function(v){return a.getItemLayout(v)};r||e.removeAll(),a.diff(r).add(function(v){var c=h(v);Q(a,c,v,t)&&Et(i,a,v,u,s,c,e)}).update(function(v,c){var f=r.getItemGraphicEl(c),g=h(v);if(!Q(a,g,v,t)){e.remove(f);return}var m=a.getItemVisual(v,"symbol")||"circle",S=f&&f.getSymbolType&&f.getSymbolType();if(!f||S&&S!==m)e.remove(f),f=new i(a,v,u,s),f.setPosition(g);else{f.updateData(a,v,u,s);var p={x:g[0],y:g[1]};n?f.attr(p):Y(f,p,o)}e.add(f),a.setItemGraphicEl(v,f)}).remove(function(v){var c=r.getItemGraphicEl(v);c&&c.fadeOut(function(){e.remove(c)},o)}).execute(),this._getSymbolPoint=h,this._data=a},l.prototype.updateLayout=function(a){var t=this._data;if(t)for(var e=this,o=t.getStore(),r=0,i=o.count();r0?t=e[0]:e[1]<0&&(t=e[1]),t}function Nt(l,a,t,e){var o=NaN;l.stacked&&(o=t.get(t.getCalculationInfo("stackedOverDimension"),e)),isNaN(o)&&(o=l.valueStart);var r=l.baseDataOffset,i=[];return i[r]=t.get(l.baseDim,e),i[1-r]=o,a.dataToPoint(i)}function V(l,a){return!isFinite(l)||!isFinite(a)}function de(l,a){var t=[];return a.diff(l).add(function(e){t.push({cmd:"+",idx:e})}).update(function(e,o){t.push({cmd:"=",idx:o,idx1:e})}).remove(function(e){t.push({cmd:"-",idx:e})}).execute(),t}function _e(l,a,t,e,o,r,i,n){for(var u=de(l,a),s=[],h=[],v=[],c=[],f=[],g=[],m=[],S=Ft(o,a,i),p=l.getLayout("points")||[],y=a.getLayout("points")||[],b=0;b=o||m<0)break;if(V(p,y)){if(u){m+=r;continue}break}if(m===t)l[r>0?"moveTo":"lineTo"](p,y),v=p,c=y;else{var b=p-s,I=y-h;if(b*b+I*I<.5){m+=r;continue}if(i>0){for(var D=m+r,_=a[D*2],d=a[D*2+1];_===p&&d===y&&S=e||V(_,d))f=p,g=y;else{E=_-s,L=d-h;var R=p-s,O=_-p,z=y-h,M=d-y,w=void 0,C=void 0;if(n==="x"){w=Math.abs(R),C=Math.abs(O);var H=E>0?1:-1;f=p-H*w*i,g=y,P=p+H*C*i,T=y}else if(n==="y"){w=Math.abs(z),C=Math.abs(M);var U=L>0?1:-1;f=p,g=y-U*w*i,P=p,T=y+U*C*i}else w=Math.sqrt(R*R+z*z),C=Math.sqrt(O*O+M*M),A=C/(C+w),f=p-E*i*(1-A),g=y-L*i*(1-A),P=p+E*i*A,T=y+L*i*A,P=W(P,Z(_,p)),T=W(T,Z(d,y)),P=Z(P,W(_,p)),T=Z(T,W(d,y)),E=P-p,L=T-y,f=p-E*w/C,g=y-L*w/C,f=W(f,Z(s,p)),g=W(g,Z(h,y)),f=Z(f,W(s,p)),g=Z(g,W(h,y)),E=p-f,L=y-g,P=p+E*C/w,T=y+L*C/w}l.bezierCurveTo(v,c,f,g,p,y),v=P,c=T}else l.lineTo(p,y)}s=p,h=y,m+=r}return S}var Mt=(function(){function l(){this.smooth=0,this.smoothConstraint=!0}return l})(),De=(function(l){J(a,l);function a(t){var e=l.call(this,t)||this;return e.type="ec-polyline",e}return a.prototype.getDefaultStyle=function(){return{stroke:wt.color.neutral99,fill:null}},a.prototype.getDefaultShape=function(){return new Mt},a.prototype.buildPath=function(t,e){var o=e.points,r=0,i=o.length/2;if(e.connectNulls){for(;i>0&&V(o[i*2-2],o[i*2-1]);i--);for(;r=0){var I=s?(g-u)*b+u:(f-n)*b+n;return s?[t,I]:[I,t]}n=f,u=g;break;case i.C:f=r[v++],g=r[v++],m=r[v++],S=r[v++],p=r[v++],y=r[v++];var D=s?ft(n,f,m,p,t,h):ft(u,g,S,y,t,h);if(D>0)for(var _=0;_=0){var I=s?ct(u,g,S,y,d):ct(n,f,m,p,d);return s?[t,I]:[I,t]}}n=p,u=y;break}}},a})(Vt),Ie=(function(l){J(a,l);function a(){return l!==null&&l.apply(this,arguments)||this}return a})(Mt),Ee=(function(l){J(a,l);function a(t){var e=l.call(this,t)||this;return e.type="ec-polygon",e}return a.prototype.getDefaultShape=function(){return new Ie},a.prototype.buildPath=function(t,e){var o=e.points,r=e.stackedOnPoints,i=0,n=o.length/2,u=e.smoothMonotone;if(e.connectNulls){for(;n>0&&V(o[n*2-2],o[n*2-1]);n--);for(;ia){r?t.push(i(r,u,a)):o&&t.push(i(o,u,0),i(o,u,a));break}else o&&(t.push(i(o,u,0)),o=null),t.push(u),r=u}return t}function Le(l,a,t){var e=l.getVisual("visualMeta");if(!(!e||!e.length||!l.count())&&a.type==="cartesian2d"){for(var o,r,i=e.length-1;i>=0;i--){var n=l.getDimensionInfo(e[i].dimension);if(o=n&&n.coordDim,o==="x"||o==="y"){r=e[i];break}}if(r){var u=a.getAxis(o),s=st(r.stops,function(b){return{coord:u.toGlobalCoord(u.dataToCoord(b.value)),color:b.color}}),h=s.length,v=r.outerColors.slice();h&&s[0].coord>s[h-1].coord&&(s.reverse(),v.reverse());var c=Ae(s,o==="x"?t.getWidth():t.getHeight()),f=c.length;if(!f&&h)return s[0].coord<0?v[1]?v[1]:s[h-1].color:v[0]?v[0]:s[0].color;var g=10,m=c[0].coord-g,S=c[f-1].coord+g,p=S-m;if(p<.001)return"transparent";Gt(c,function(b){b.offset=(b.coord-m)/p}),c.push({offset:f?c[f-1].offset:.5,color:v[1]||"transparent"}),c.unshift({offset:f?c[0].offset:.5,color:v[0]||"transparent"});var y=new se(0,0,0,0,c,!0);return y[o]=m,y[o+"2"]=S,y}}}function ke(l,a,t){var e=l.get("showAllSymbol"),o=e==="auto";if(!(e&&!o)){var r=t.getAxesByScale("ordinal")[0];if(r&&!(o&&Te(r,a))){var i=a.mapDimension(r.dim),n={};return Gt(r.getViewLabels(),function(u){u.tick.offInterval||(n[le(r.scale,u.tick)]=1)}),function(u){return!n.hasOwnProperty(a.get(i,u))}}}}function Te(l,a){var t=l.getExtent(),e=Math.abs(t[1]-t[0])/l.scale.count();isNaN(e)&&(e=0);for(var o=a.count(),r=Math.max(1,Math.round(o/5)),i=0;ie)return!1;return!0}function we(l){for(var a=l.length/2;a>0&&V(l[a*2-2],l[a*2-1]);a--);return a-1}function Tt(l,a){return[l[a*2],l[a*2+1]]}function Ce(l,a,t){for(var e=l.length/2,o=t==="x"?0:1,r,i,n=0,u=-1,s=0;s=a||r>=a&&i<=a){u=s;break}n=s,r=i}return{range:[n,u],t:(a-r)/(i-r)}}function Ht(l){if(l.get(["endLabel","show"]))return!0;for(var a=0;a0&&t.get(["emphasis","lineStyle","width"])==="bolder"){var C=g.getState("emphasis").style;C.lineWidth=+g.style.lineWidth+1}K(g).seriesIndex=t.seriesIndex,nt(g,z,M,w);var H=kt(t.get("smooth")),U=t.get("smoothMonotone");if(g.setShape({smooth:H,smoothMonotone:U,connectNulls:d}),m){var $=n.getCalculationInfo("stackedOnSeries"),G=0;m.useStyle(mt(s.getAreaStyle(),{fill:P,opacity:.7,lineJoin:"bevel",decal:n.getVisual("style").decal})),$&&(G=kt($.get("smooth"))),m.setShape({smooth:H,stackedOnSmooth:G,smoothMonotone:U,connectNulls:d}),pt(m,t,"areaStyle"),K(m).seriesIndex=t.seriesIndex,nt(m,z,M,w)}var F=this._changePolyState;n.eachItemGraphicEl(function(N){N&&(N.onHoverStateChange=F)}),this._polyline.onHoverStateChange=F,this._data=n,this._coordSys=r,this._stackedOnPoints=D,this._points=h,this._step=E,this._valueOrigin=b;var X=t.get("triggerEvent"),j=t.get("triggerLineEvent"),Ut=j===!0||X===!0||X==="line",Wt=j===!0||X===!0||X==="area";this.packEventData(t,g,Ut),m&&this.packEventData(t,m,Wt)},a.prototype.packEventData=function(t,e,o){K(e).eventData=o?{componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line",selfType:e===this._polygon?"area":"line"}:null},a.prototype.highlight=function(t,e,o,r){var i=t.getData(),n=yt(i,r);if(this._changePolyState("emphasis"),!(n instanceof Array)&&n!=null&&n>=0){var u=i.getLayout("points"),s=i.getItemGraphicEl(n);if(!s){var h=u[n*2],v=u[n*2+1];if(V(h,v)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(h,v))return;var c=t.get("zlevel")||0,f=t.get("z")||0;s=new ut(i,n),s.x=h,s.y=v,s.setZ(c,f);var g=s.getSymbolPath().getTextContent();g&&(g.zlevel=c,g.z=f,g.z2=this._polyline.z2+1),s.__temp=!0,i.setItemGraphicEl(n,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else et.prototype.highlight.call(this,t,e,o,r)},a.prototype.downplay=function(t,e,o,r){var i=t.getData(),n=yt(i,r);if(this._changePolyState("normal"),n!=null&&n>=0){var u=i.getItemGraphicEl(n);u&&(u.__temp?(i.setItemGraphicEl(n,null),this.group.remove(u)):u.downplay())}else et.prototype.downplay.call(this,t,e,o,r)},a.prototype._changePolyState=function(t){var e=this._polygon;bt(this._polyline,t),e&&bt(e,t)},a.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new De({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},a.prototype._newPolygon=function(t,e){var o=this._polygon;return o&&this._lineGroup.remove(o),o=new Ee({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(o),this._polygon=o,o},a.prototype._initSymbolLabelAnimation=function(t,e,o){var r,i,n=e.getBaseAxis(),u=n.inverse;e.type==="cartesian2d"?(r=n.isHorizontal(),i=!1):e.type==="polar"&&(r=n.dim==="angle",i=!0);var s=t.hostModel,h=s.get("animationDuration");at(h)&&(h=h(null));var v=s.get("animationDelay")||0,c=at(v)?v(null):v;t.eachItemGraphicEl(function(f,g){var m=f;if(m){var S=[f.x,f.y],p=void 0,y=void 0,b=void 0;if(o)if(i){var I=o,D=e.pointToCoord(S);r?(p=I.startAngle,y=I.endAngle,b=-D[1]/180*Math.PI):(p=I.r0,y=I.r,b=D[0])}else{var _=o;r?(p=_.x,y=_.x+_.width,b=f.x):(p=_.y+_.height,y=_.y,b=f.y)}var d=y===p?0:(b-p)/(y-p);u&&(d=1-d);var k=at(v)?v(g):h*d+c,A=m.getSymbolPath(),E=A.getTextContent();m.attr({scaleX:0,scaleY:0}),m.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:k}),E&&E.animateFrom({style:{opacity:0}},{duration:300,delay:k}),A.disableLabelAnimation=!0}})},a.prototype._initOrUpdateEndLabel=function(t,e,o){var r=t.getModel("endLabel");if(Ht(t)){var i=t.getData(),n=this._polyline,u=i.getLayout("points");if(!u){n.removeTextContent(),this._endLabel=null;return}var s=this._endLabel;s||(s=this._endLabel=new ie({z2:200}),s.ignoreClip=!0,n.setTextContent(this._endLabel),n.disableLabelAnimation=!0);var h=we(u);h>=0&&(Ot(n,lt(t,"endLabel"),{inheritColor:o,labelFetcher:t,labelDataIndex:h,defaultText:function(v,c,f){return f!=null?ce(i,f):zt(i,v)},enableTextSetter:!0},Oe(r,e)),n.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},a.prototype._endLabelOnDuring=function(t,e,o,r,i,n,u){var s=this._endLabel,h=this._polyline;if(s){t<1&&r.originalX==null&&(r.originalX=s.x,r.originalY=s.y);var v=o.getLayout("points"),c=o.hostModel,f=c.get("connectNulls"),g=n.get("precision"),m=n.get("distance")||0,S=u.getBaseAxis(),p=S.isHorizontal(),y=S.inverse,b=e.shape,I=y?p?b.x:b.y+b.height:p?b.x+b.width:b.y,D=(p?m:0)*(y?-1:1),_=(p?0:-m)*(y?-1:1),d=p?"x":"y",k=Ce(v,I,d),A=k.range,E=A[1]-A[0],L=void 0;if(E>=1){if(E>1&&!f){var P=Tt(v,A[0]);s.attr({x:P[0]+D,y:P[1]+_}),i&&(L=c.getRawValue(A[0]))}else{var P=h.getPointOn(I,d);P&&s.attr({x:P[0]+D,y:P[1]+_});var T=c.getRawValue(A[0]),R=c.getRawValue(A[1]);i&&(L=ne(o,g,T,R,k.t))}r.lastFrameIndex=A[0]}else{var O=t===1||r.lastFrameIndex>0?A[0]:0,P=Tt(v,O);i&&(L=c.getRawValue(O)),s.attr({x:P[0]+D,y:P[1]+_})}if(i){var z=oe(s);typeof z.setLabelText=="function"&&z.setLabelText(L)}}},a.prototype._doUpdateAnimation=function(t,e,o,r,i,n,u){var s=this._polyline,h=this._polygon,v=t.hostModel,c=_e(this._data,t,this._stackedOnPoints,e,this._coordSys,o,this._valueOrigin),f=c.current,g=c.stackedOnCurrent,m=c.next,S=c.stackedOnNext;if(i&&(g=B(c.stackedOnCurrent,c.current,o,i,u),f=B(c.current,null,o,i,u),S=B(c.stackedOnNext,c.next,o,i,u),m=B(c.next,null,o,i,u)),Lt(f,m)>3e3||h&&Lt(g,S)>3e3){s.stopAnimation(),s.setShape({points:m}),h&&(h.stopAnimation(),h.setShape({points:m,stackedOnPoints:S}));return}s.shape.__points=c.current,s.shape.points=f;var p={shape:{points:m}};c.current!==f&&(p.shape.__points=c.next),s.stopAnimation(),Y(s,p,v),h&&(h.setShape({points:f,stackedOnPoints:g}),h.stopAnimation(),Y(h,{shape:{stackedOnPoints:S}},v),s.shape.points!==h.shape.points&&(h.shape.points=s.shape.points));for(var y=[],b=c.status,I=0;In("/log-files",{date:t}),e=t=>n("/log-content",{file:t}),i=()=>n("/training-log-files"),s=t=>n("/training-log-content",{file:t});export{e as a,s as b,i as c,g}; diff --git a/frontend/dist/assets/log-zu0oGQLa.js b/frontend/dist/assets/log-zu0oGQLa.js index 895b81f..e259c76 100644 --- a/frontend/dist/assets/log-zu0oGQLa.js +++ b/frontend/dist/assets/log-zu0oGQLa.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/log-zu0oGQLa.js import{aF as n}from"./index-CD29OCdJ.js";const g=t=>n("/log-files",{date:t}),e=t=>n("/log-content",{file:t}),i=()=>n("/training-log-files"),s=t=>n("/training-log-content",{file:t});export{e as a,s as b,i as c,g}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/log-Cy7JR5af.js +import{aF as n}from"./index-Ds9AETjS.js";const g=t=>n("/log-files",{date:t}),e=t=>n("/log-content",{file:t}),i=()=>n("/training-log-files"),s=t=>n("/training-log-content",{file:t});export{e as a,s as b,i as c,g}; +======== +import{aF as n}from"./index-CxbBjZKo.js";const g=t=>n("/log-files",{date:t}),e=t=>n("/log-content",{file:t}),i=()=>n("/training-log-files"),s=t=>n("/training-log-content",{file:t});export{e as a,s as b,i as c,g}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/log-jDwH_n_V.js diff --git a/frontend/dist/assets/model-B9dq9fy6.js b/frontend/dist/assets/model-B9dq9fy6.js new file mode 100644 index 0000000..ce53e14 --- /dev/null +++ b/frontend/dist/assets/model-B9dq9fy6.js @@ -0,0 +1 @@ +import{aF as a,aH as m,aG as d,aI as l}from"./index-CxbBjZKo.js";const t=()=>a("/model-manage"),n=e=>a(`/model-manage/${e}`),g=()=>a("/model-manage/local-models"),c=()=>a("/model-manage/trained-models"),r=e=>d("/model-manage",e),M=(e,o)=>m(`/model-manage/${e}`,o),p=e=>l(`/model-manage/${e}`),i=(e,o="merged")=>l(`/model-manage/trained-models/${e}`,{type:o}),$=e=>d("/model-manage/merge",e),u=e=>`/modelTF/model-manage/trained-models/${encodeURIComponent(e)}/export`;export{c as a,i as b,n as c,p as d,u as e,g as f,t as g,r as h,$ as m,M as u}; diff --git a/frontend/dist/assets/models-OcIATFUq.js b/frontend/dist/assets/models-OcIATFUq.js index 4e64832..d23454e 100644 --- a/frontend/dist/assets/models-OcIATFUq.js +++ b/frontend/dist/assets/models-OcIATFUq.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/models-OcIATFUq.js import{ae as o,y as i}from"./index-CD29OCdJ.js";import{g as f}from"./model-e1J4FzWC.js";const g=o("models",()=>{const n=i([]),a=i(!1);let t=null;async function l(e=!1){if(!(a.value&&!e))return t&&!e||(t=(async()=>{try{n.value=await f()||[],a.value=!0}catch{n.value=[]}finally{t=null}})()),t}function s(e){if(!e)return"-";const u=n.value.find(r=>r.id==e||r.id===String(e)||r.id===Number(e));return u?u.name:`模型${e}`}return{list:n,loaded:a,load:l,getModelName:s}});export{g as u}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/models-a1fp9IUS.js +import{ae as o,y as i}from"./index-Ds9AETjS.js";import{g as f}from"./model-cWd9CDtT.js";const g=o("models",()=>{const n=i([]),a=i(!1);let t=null;async function l(e=!1){if(!(a.value&&!e))return t&&!e||(t=(async()=>{try{n.value=await f()||[],a.value=!0}catch{n.value=[]}finally{t=null}})()),t}function s(e){if(!e)return"-";const u=n.value.find(r=>r.id==e||r.id===String(e)||r.id===Number(e));return u?u.name:`模型${e}`}return{list:n,loaded:a,load:l,getModelName:s}});export{g as u}; +======== +import{ae as o,y as i}from"./index-CxbBjZKo.js";import{g as f}from"./model-B9dq9fy6.js";const g=o("models",()=>{const n=i([]),a=i(!1);let t=null;async function l(e=!1){if(!(a.value&&!e))return t&&!e||(t=(async()=>{try{n.value=await f()||[],a.value=!0}catch{n.value=[]}finally{t=null}})()),t}function s(e){if(!e)return"-";const u=n.value.find(r=>r.id==e||r.id===String(e)||r.id===Number(e));return u?u.name:`模型${e}`}return{list:n,loaded:a,load:l,getModelName:s}});export{g as u}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/models-WwcwjK0u.js diff --git a/frontend/dist/assets/models-WwcwjK0u.js b/frontend/dist/assets/models-WwcwjK0u.js new file mode 100644 index 0000000..f40607a --- /dev/null +++ b/frontend/dist/assets/models-WwcwjK0u.js @@ -0,0 +1 @@ +import{ae as o,y as i}from"./index-CxbBjZKo.js";import{g as f}from"./model-B9dq9fy6.js";const g=o("models",()=>{const n=i([]),a=i(!1);let t=null;async function l(e=!1){if(!(a.value&&!e))return t&&!e||(t=(async()=>{try{n.value=await f()||[],a.value=!0}catch{n.value=[]}finally{t=null}})()),t}function s(e){if(!e)return"-";const u=n.value.find(r=>r.id==e||r.id===String(e)||r.id===Number(e));return u?u.name:`模型${e}`}return{list:n,loaded:a,load:l,getModelName:s}});export{g as u}; diff --git a/frontend/dist/assets/omit-9H73Nvwk.js b/frontend/dist/assets/omit-9H73Nvwk.js index ee7ef0e..de9977e 100644 --- a/frontend/dist/assets/omit-9H73Nvwk.js +++ b/frontend/dist/assets/omit-9H73Nvwk.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/omit-9H73Nvwk.js import{co as f,ck as u,cl as i,cq as s,cr as a}from"./index-CD29OCdJ.js";import{c,g as _,b as g}from"./_baseClone-Blem5BWg.js";import{a as v}from"./index-DpY84JwG.js";function O(r,e,n){var o=-1,l=r.length;e<0&&(e=-e>l?0:l+e),n=n>l?l:n,n<0&&(n+=l),l=e>n?0:n-e>>>0,e>>>=0;for(var t=Array(l);++o1),t}),c(r,_(r),n),o&&(n=g(n,E|b|h,C));for(var l=e.length;l--;)w(n,e[l]);return n});export{G as o}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/omit-BzI1MV_K.js +import{co as f,ck as u,cl as i,cq as s,cr as a}from"./index-Ds9AETjS.js";import{c,g as _,b as g}from"./_baseClone-CZxxnGCv.js";import{a as v}from"./index-BSbCLbaz.js";function O(r,e,n){var o=-1,l=r.length;e<0&&(e=-e>l?0:l+e),n=n>l?l:n,n<0&&(n+=l),l=e>n?0:n-e>>>0,e>>>=0;for(var t=Array(l);++o1),t}),c(r,_(r),n),o&&(n=g(n,E|b|h,C));for(var l=e.length;l--;)w(n,e[l]);return n});export{G as o}; +======== +import{co as f,ck as u,cl as i,cq as s,cr as a}from"./index-CxbBjZKo.js";import{c,g as _,b as g}from"./_baseClone-B6d4qZbo.js";import{a as v}from"./index-DxP0p4ch.js";function O(r,e,n){var o=-1,l=r.length;e<0&&(e=-e>l?0:l+e),n=n>l?l:n,n<0&&(n+=l),l=e>n?0:n-e>>>0,e>>>=0;for(var t=Array(l);++o1),t}),c(r,_(r),n),o&&(n=g(n,E|b|h,C));for(var l=e.length;l--;)w(n,e[l]);return n});export{G as o}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/omit-CbHF-OEy.js diff --git a/frontend/dist/assets/omit-CbHF-OEy.js b/frontend/dist/assets/omit-CbHF-OEy.js new file mode 100644 index 0000000..f0e0d76 --- /dev/null +++ b/frontend/dist/assets/omit-CbHF-OEy.js @@ -0,0 +1 @@ +import{co as f,ck as u,cl as i,cq as s,cr as a}from"./index-CxbBjZKo.js";import{c,g as _,b as g}from"./_baseClone-B6d4qZbo.js";import{a as v}from"./index-DxP0p4ch.js";function O(r,e,n){var o=-1,l=r.length;e<0&&(e=-e>l?0:l+e),n=n>l?l:n,n<0&&(n+=l),l=e>n?0:n-e>>>0,e>>>=0;for(var t=Array(l);++o1),t}),c(r,_(r),n),o&&(n=g(n,E|b|h,C));for(var l=e.length;l--;)w(n,e[l]);return n});export{G as o}; diff --git a/frontend/dist/assets/pdf.worker.min-DEtVeC4l.mjs b/frontend/dist/assets/pdf.worker.min-DEtVeC4l.mjs new file mode 100644 index 0000000..493ec6a --- /dev/null +++ b/frontend/dist/assets/pdf.worker.min-DEtVeC4l.mjs @@ -0,0 +1,29 @@ +/** + * @licstart The following is the entire license notice for the + * JavaScript code in this page + * + * Copyright 2024 Mozilla Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * @licend The above is the entire license notice for the + * JavaScript code in this page + */ +/** + * pdfjsVersion = 6.1.200 + * pdfjsBuild = 6353acefe + */ +const e=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type),t=[1/0,1/0,-1/0,-1/0],a=new Float32Array(t),n=[.001,0,0,.001,0,0],s=1.35,r=.35,i=.25925925925925924,o="http://www.w3.org/2000/svg",l=1,f=2,c=4,h=8,u=16,m=64,p=128,d=256,g="pdfjs_internal_editor_",b=3,w=9,j=13,k=15,y=101,q={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},v=1,S=2,x=3,C=0,F=4,T=1,O=2,R=3,H={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26,RICHMEDIA:27},D="Group",M="R",N=0,_=4,E=1,z=2,L=4,U=16,X=32,W=128,K=512,G=1,V=2,$=4096,Y=8192,J=32768,Q=65536,Z=131072,ee=1048576,te=2097152,ae=8388608,ne=16777216,se=1,re=2,ie=3,oe=4,le=5,fe={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},ce={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},he={O:"PageOpen",C:"PageClose"},ue=1,me=5,pe=1,de=2,ge=3,be=4,we=5,je=6,ke=7,ye=8,qe=9,ve=10,Se=11,Ae=12,xe=13,Ce=14,Ie=15,Fe=16,Te=17,Oe=18,Re=19,He=20,Be=21,De=22,Me=23,Ne=24,Pe=25,_e=26,Ee=27,ze=28,Le=29,Ue=30,Xe=31,We=32,Ke=33,Ge=34,Ve=35,$e=36,Ye=37,Je=38,Qe=39,Ze=40,et=41,tt=42,at=43,nt=44,st=45,rt=46,it=47,ot=48,lt=49,ft=50,ct=51,ht=52,ut=53,mt=54,pt=55,dt=56,gt=57,bt=58,wt=59,jt=60,kt=61,yt=62,qt=63,vt=64,St=65,At=66,xt=67,Ct=68,It=69,Ft=70,Tt=71,Ot=72,Rt=73,Ht=74,Bt=75,Dt=76,Mt=77,Nt=80,Pt=81,_t=83,Et=84,zt=85,Lt=86,Ut=87,Xt=88,Wt=89,Kt=90,Gt=91,Vt=92,$t=93,Yt=94,Jt=0,Qt=1,Zt=2,ea=3,ta=4,aa=1,na=2;let sa=ue;function getVerbosityLevel(){return sa}function info(e){sa>=me&&console.info(`Info: ${e}`)}function warn(e){sa>=ue&&console.warn(`Warning: ${e}`)}function unreachable(e){throw new Error(e)}function assert(e,t){e||unreachable(t)}function createValidAbsoluteUrl(e,t=null,a=null){if(!e)return null;if(a&&"string"==typeof e){if(a.addDefaultProtocol&&e.startsWith("www.")){const t=e.match(/\./g);t?.length>=2&&(e=`http://${e}`)}if(a.tryConvertEncoding)try{e=stringToUTF8String(e)}catch{}}const n=t?URL.parse(e,t):URL.parse(e);return function _isValidProtocol(e){switch(e?.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(n)?n:null}function shadow(e,t,a,n=!1){Object.defineProperty(e,t,{value:a,enumerable:!n,configurable:!0,writable:!1});return a}const ra=function BaseExceptionClosure(){function BaseException(e,t){this.message=e;this.name=t}BaseException.prototype=new Error;BaseException.constructor=BaseException;return BaseException}();class PasswordException extends ra{constructor(e,t){super(e,"PasswordException");this.code=t}}class UnknownErrorException extends ra{constructor(e,t){super(e,"UnknownErrorException");this.details=t}}class InvalidPDFException extends ra{constructor(e){super(e,"InvalidPDFException")}}class ResponseException extends ra{constructor(e,t,a){super(e,"ResponseException");this.status=t;this.missing=a}}class FormatError extends ra{constructor(e){super(e,"FormatError")}}class AbortException extends ra{constructor(e){super(e,"AbortException")}}function bytesToString(e){"object"==typeof e&&void 0!==e?.length||unreachable("Invalid argument for bytesToString");const t=e.length,a=8192;if(te.toString(16).padStart(2,"0")))}static makeHexColor(e,t,a){return`#${this.hexNums[e]}${this.hexNums[t]}${this.hexNums[a]}`}static transform(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}static multiplyByDOMMatrix(e,t){return[e[0]*t.a+e[2]*t.b,e[1]*t.a+e[3]*t.b,e[0]*t.c+e[2]*t.d,e[1]*t.c+e[3]*t.d,e[0]*t.e+e[2]*t.f+e[4],e[1]*t.e+e[3]*t.f+e[5]]}static applyTransform(e,t,a=0){const n=e[a],s=e[a+1];e[a]=n*t[0]+s*t[2]+t[4];e[a+1]=n*t[1]+s*t[3]+t[5]}static applyTransformToBezier(e,t,a=0){const n=t[0],s=t[1],r=t[2],i=t[3],o=t[4],l=t[5];for(let t=0;t<6;t+=2){const f=e[a+t],c=e[a+t+1];e[a+t]=f*n+c*r+o;e[a+t+1]=f*s+c*i+l}}static applyInverseTransform(e,t){const a=e[0],n=e[1],s=t[0]*t[3]-t[1]*t[2];e[0]=(a*t[3]-n*t[2]+t[2]*t[5]-t[4]*t[3])/s;e[1]=(-a*t[1]+n*t[0]+t[4]*t[1]-t[5]*t[0])/s}static axialAlignedBoundingBox(e,t,a){const n=t[0],s=t[1],r=t[2],i=t[3],o=t[4],l=t[5],f=e[0],c=e[1],h=e[2],u=e[3];let m=n*f+o,p=m,d=n*h+o,g=d,b=i*c+l,w=b,j=i*u+l,k=j;if(0!==s||0!==r){const e=s*f,t=s*h,a=r*c,n=r*u;m+=a;g+=a;d+=n;p+=n;b+=e;k+=e;j+=t;w+=t}a[0]=Math.min(a[0],m,d,p,g);a[1]=Math.min(a[1],b,j,w,k);a[2]=Math.max(a[2],m,d,p,g);a[3]=Math.max(a[3],b,j,w,k)}static inverseTransform(e){const t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}static singularValueDecompose2dScale(e,t){const a=e[0],n=e[1],s=e[2],r=e[3],i=a**2+n**2,o=a*s+n*r,l=s**2+r**2,f=(i+l)/2,c=Math.sqrt(f**2-(i*l-o**2));t[0]=Math.sqrt(f+c||1);t[1]=Math.sqrt(f-c||1)}static normalizeRect(e){const t=e.slice(0);if(e[0]>e[2]){t[0]=e[2];t[2]=e[0]}if(e[1]>e[3]){t[1]=e[3];t[3]=e[1]}return t}static intersect(e,t){const a=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),n=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));if(a>n)return null;const s=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),r=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3]));return s>r?null:[a,s,n,r]}static pointBoundingBox(e,t,a){a[0]=Math.min(a[0],e);a[1]=Math.min(a[1],t);a[2]=Math.max(a[2],e);a[3]=Math.max(a[3],t)}static rectBoundingBox(e,t,a,n,s){s[0]=Math.min(s[0],e,a);s[1]=Math.min(s[1],t,n);s[2]=Math.max(s[2],e,a);s[3]=Math.max(s[3],t,n)}static#e(e,t,a,n,s,r,i,o,l,f){if(l<=0||l>=1)return;const c=1-l,h=l*l,u=h*l,m=c*(c*(c*e+3*l*t)+3*h*a)+u*n,p=c*(c*(c*s+3*l*r)+3*h*i)+u*o;f[0]=Math.min(f[0],m);f[1]=Math.min(f[1],p);f[2]=Math.max(f[2],m);f[3]=Math.max(f[3],p)}static#t(e,t,a,n,s,r,i,o,l,f,c,h){if(Math.abs(l)<1e-12){Math.abs(f)>=1e-12&&this.#e(e,t,a,n,s,r,i,o,-c/f,h);return}const u=f**2-4*c*l;if(u<0)return;const m=Math.sqrt(u),p=2*l;this.#e(e,t,a,n,s,r,i,o,(-f+m)/p,h);this.#e(e,t,a,n,s,r,i,o,(-f-m)/p,h)}static bezierBoundingBox(e,t,a,n,s,r,i,o,l){l[0]=Math.min(l[0],e,i);l[1]=Math.min(l[1],t,o);l[2]=Math.max(l[2],e,i);l[3]=Math.max(l[3],t,o);this.#t(e,a,s,i,t,n,r,o,3*(3*(a-s)-e+i),6*(e-2*a+s),3*(a-e),l);this.#t(e,a,s,i,t,n,r,o,3*(3*(n-r)-t+o),6*(t-2*n+r),3*(n-t),l)}}function stringToUTF8String(e){return decodeURIComponent(escape(e))}function utf8StringToString(e){return unescape(encodeURIComponent(e))}function isArrayEqual(e,t){if(e.length!==t.length)return!1;for(let a=0,n=e.length;a[],makeMap=()=>new Map,makeObj=()=>Object.create(null),la=Symbol("CIRCULAR_REF"),fa=Symbol("EOF");let ca=Object.create(null),ha=Object.create(null),ua=Object.create(null);class Name{constructor(e){this.name=e}static get(e){return ha[e]||=new Name(e)}}class Cmd{constructor(e){this.cmd=e}static get(e){return ca[e]||=new Cmd(e)}}const ma=function nonSerializableClosure(){return ma};class Dict{__nonSerializable__=ma;#a=new Map;objId=null;suppressEncryption=!1;xref;constructor(e=null){this.xref=e}assignXref(e){this.xref=e}get size(){return this.#a.size}#n(e,t,a,n){let s=this.#a.get(t);if(void 0===s&&void 0!==a){s=this.#a.get(a);void 0===s&&void 0!==n&&(s=this.#a.get(n))}return s instanceof Ref&&this.xref?e?this.xref.fetchAsync(s,this.suppressEncryption):this.xref.fetch(s,this.suppressEncryption):s}get(e,t,a){return this.#n(!1,e,t,a)}async getAsync(e,t,a){return this.#n(!0,e,t,a)}getArray(e,t,a){let n=this.#n(!1,e,t,a);if(Array.isArray(n)){n=n.slice();for(let e=0,t=n.length;e{unreachable("Should not call `set` on the empty dictionary.")};return shadow(this,"empty",e)}static merge({xref:e,dictArray:t,mergeSubDicts:a=!1}){const n=new Dict(e),s=new Map;for(const e of t)if(e instanceof Dict)for(const[t,n]of e.getRawEntries()){const e=s.getOrInsertComputed(t,makeArr);(!e.length||a&&n instanceof Dict)&&e.push(n)}for(const[t,a]of s){if(1===a.length||!(a[0]instanceof Dict)){n.set(t,a[0]);continue}const s=new Dict(e);for(const e of a)for(const[t,a]of e.getRawEntries())s.setIfNotExists(t,a);s.size>0&&n.set(t,s)}s.clear();return n.size>0?n:Dict.empty}clone(){const e=new Dict(this.xref);for(const[t,a]of this.#a)e.set(t,a);return e}delete(e){this.#a.delete(e)}}class Ref{constructor(e,t){this.num=e;this.gen=t}toString(){return 0===this.gen?`${this.num}R`:`${this.num}R${this.gen}`}static fromString(e){const t=ua[e];if(t)return t;const a=/^(\d+)R(\d*)$/.exec(e);return a&&"0"!==a[1]?ua[e]=new Ref(parseInt(a[1],10),a[2]?parseInt(a[2],10):0):null}static get(e,t){const a=0===t?`${e}R`:`${e}R${t}`;return ua[a]||=new Ref(e,t)}}class RefSet{constructor(e=null){this._set=new Set(e?._set)}has(e){return this._set.has(e.toString())}put(e){this._set.add(e.toString())}remove(e){this._set.delete(e.toString())}[Symbol.iterator](){return this._set.values()}clear(){this._set.clear()}}class RefSetCache{_map=new Map;get size(){return this._map.size}get(e){return this._map.get(e.toString())}has(e){return this._map.has(e.toString())}put(e,t){this._map.set(e.toString(),t)}putAlias(e,t){this._map.set(e.toString(),this.get(t))}[Symbol.iterator](){return this._map.values()}clear(){this._map.clear()}*values(){yield*this._map.values()}*items(){for(const[e,t]of this._map)yield[Ref.fromString(e),t]}*keys(){for(const e of this._map.keys())yield Ref.fromString(e)}}function isName(e,t){return e instanceof Name&&(void 0===t||e.name===t)}function isCmd(e,t){return e instanceof Cmd&&(void 0===t||e.cmd===t)}function isDict(e,t){return e instanceof Dict&&(void 0===t||isName(e.get("Type"),t))}function isRefsEqual(e,t){return e.num===t.num&&e.gen===t.gen}class BaseStream{get length(){unreachable("Abstract getter `length` accessed")}get isEmpty(){unreachable("Abstract getter `isEmpty` accessed")}get isDataLoaded(){return shadow(this,"isDataLoaded",!0)}getByte(){unreachable("Abstract method `getByte` called")}getBytes(e){unreachable("Abstract method `getBytes` called")}async getImageData(e,t){return this.getBytes(e,t)}async asyncGetBytes(){unreachable("Abstract method `asyncGetBytes` called")}get isAsync(){return!1}get isAsyncDecoder(){return!1}get isImageStream(){return!1}get canAsyncDecodeImageFromBuffer(){return!1}async getTransferableImage(){return null}peekByte(){const e=this.getByte();-1!==e&&this.pos--;return e}peekBytes(e){const t=this.getBytes(e);this.pos-=t.length;return t}getUint16(){const e=this.getByte(),t=this.getByte();return-1===e||-1===t?-1:(e<<8)+t}getInt32(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()}getByteRange(e,t){unreachable("Abstract method `getByteRange` called")}getString(e){return bytesToString(this.getBytes(e))}skip(e){this.pos+=e||1}reset(){unreachable("Abstract method `reset` called")}moveStart(){unreachable("Abstract method `moveStart` called")}makeSubStream(e,t,a=null){unreachable("Abstract method `makeSubStream` called")}clone(){unreachable("Abstract method `clone` called")}getBaseStreams(){return null}getOriginalStream(){return this.stream?.getOriginalStream()||this}}function stringToAsciiOrUTF16BE(e){return null==e||function isAscii(e){return"string"==typeof e&&(!e||/^[\x00-\x7F]*$/.test(e))}(e)?e:stringToUTF16String(e,!0)}function stringToUTF16HexString(e){const t=[];for(let a=0,n=e.length;a>8&255],Util.hexNums[255&n])}return t.join("")}function stringToUTF16String(e,t=!1){const a=[];t&&a.push("þÿ");for(let t=0,n=e.length;t>8&255),String.fromCharCode(255&n))}return a.join("")}const pa=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function stringToPDFString(e,t=!1){if(e[0]>="ï"){let a;if("þ"===e[0]&&"ÿ"===e[1]){a="utf-16be";e.length%2==1&&(e=e.slice(0,-1))}else if("ÿ"===e[0]&&"þ"===e[1]){a="utf-16le";e.length%2==1&&(e=e.slice(0,-1))}else"ï"===e[0]&&"»"===e[1]&&"¿"===e[2]&&(a="utf-8");if(a)try{const n=new TextDecoder(a,{fatal:!0}),s=stringToBytes(e),r=n.decode(s);return t||!r.includes("")?r:r.replaceAll(/\x1b[^\x1b]*(?:\x1b|$)/g,"")}catch(e){warn(`stringToPDFString: "${e}".`)}}const a=[];for(let n=0,s=e.length;n0,"The number should be a positive integer.");const a="M".repeat(e/1e3|0)+ka[e%1e3/100|0]+ka[10+(e%100/10|0)]+ka[20+e%10];return t?a.toLowerCase():a}function isWhiteSpace(e){return 32===e||9===e||13===e||10===e}function isNumberArray(e,t){return Array.isArray(e)?(null===t||e.length===t)&&e.every(e=>"number"==typeof e):ArrayBuffer.isView(e)&&!(e instanceof BigInt64Array||e instanceof BigUint64Array)&&(null===t||e.length===t)}function lookupMatrix(e,t){return isNumberArray(e,6)?e:t}function lookupRect(e,t){return isNumberArray(e,4)?e:t}function lookupNormalRect(e,t){return isNumberArray(e,4)?Util.normalizeRect(e):t}function parseXFAPath(e){const t=/(.+)\[(\d+)\]$/;return e.split(".").map(e=>{const a=e.match(t);return a?{name:a[1],pos:parseInt(a[2],10)}:{name:e,pos:0}})}function escapePDFName(e){const t=[];let a=0;for(let n=0,s=e.length;n126||35===s||40===s||41===s||60===s||62===s||91===s||93===s||123===s||125===s||47===s||37===s){a"\n"===e?"\\n":"\r"===e?"\\r":`\\${e}`)}function _collectJS(e,t,a,n){if(!e)return;let s=null;if(e instanceof Ref){if(n.has(e))return;s=e;n.put(s);e=t.fetch(e)}if(Array.isArray(e))for(const s of e)_collectJS(s,t,a,n);else if(e instanceof Dict){if(isName(e.get("S"),"JavaScript")){const t=e.get("JS");let n;t instanceof BaseStream?n=t.getString():"string"==typeof t&&(n=t);n&&=stringToPDFString(n,!0).replaceAll("\0","");n&&a.push(n.trim())}_collectJS(e.getRaw("Next"),t,a,n)}s&&n.remove(s)}function collectActions(e,t,a){const n=Object.create(null),s=getInheritableProperty({dict:t,key:"AA",stopWhenFound:!1});if(s)for(let t=s.length-1;t>=0;t--){const r=s[t];if(r instanceof Dict)for(const[t,s]of r.getRawEntries()){const r=a[t];if(!r)continue;const i=[];_collectJS(s,e,i,new RefSet);i.length>0&&(n[r]=i)}}if(t.has("A")){const a=[];_collectJS(t.get("A"),e,a,new RefSet);a.length>0&&(n.Action=a)}return objectSize(n)>0?n:null}const ya={60:"<",62:">",38:"&",34:""",39:"'"};function*codePointIter(e){for(let t=0,a=e.length;t55295&&(a<57344||a>65533)&&t++;yield a}}function encodeToXmlString(e){const t=[];let a=0;for(let n=0,s=e.length;n55295&&(s<57344||s>65533)&&n++;a=n+1}}if(0===t.length)return e;a: ${e}.`);return!1}return!0}function validateCSSFont(e){const t=new Set(["100","200","300","400","500","600","700","800","900","1000","normal","bold","bolder","lighter"]),{fontFamily:a,fontWeight:n,italicAngle:s}=e;if(!validateFontName(a,!0))return!1;const r=n?n.toString():"";e.fontWeight=t.has(r)?r:"400";const i=parseFloat(s);e.italicAngle=isNaN(i)||i<-90||i>90?"14":s.toString();return!0}function recoverJsURL(e){const t=new RegExp("^\\s*("+["app.launchURL","window.open","xfa.host.gotoURL"].join("|").replaceAll(".","\\.")+")\\((?:'|\")([^'\"]*)(?:'|\")(?:,\\s*(\\w+)\\)|\\))","i").exec(e);return t?.[2]?{url:t[2],newWindow:"app.launchURL"===t[1]&&"true"===t[3]}:null}function numberToString(e){if(Number.isInteger(e))return e.toString();const t=Math.round(100*e);return t%100==0?(t/100).toString():t%10==0?e.toFixed(1):e.toFixed(2)}function getNewAnnotationsMap(e){if(!e)return null;const t=new Map;for(const[a,n]of e)a.startsWith(g)&&t.getOrInsertComputed(n.pageIndex,makeArr).push(n);return t.size>0?t:null}function getModificationDate(e=new Date){e instanceof Date||(e=new Date(e));return[e.getUTCFullYear().toString(),(e.getUTCMonth()+1).toString().padStart(2,"0"),e.getUTCDate().toString().padStart(2,"0"),e.getUTCHours().toString().padStart(2,"0"),e.getUTCMinutes().toString().padStart(2,"0"),e.getUTCSeconds().toString().padStart(2,"0")].join("")}function getRotationMatrix(e,t,a){switch(e){case 90:return[0,1,-1,0,t,0];case 180:return[-1,0,0,-1,t,a];case 270:return[0,-1,1,0,0,a];default:throw new Error("Invalid rotation")}}function getSizeInBytes(e){return Math.ceil(Math.ceil(Math.log2(1+e))/8)}class QCMS{static#s=null;static _memory=null;static _mustAddAlpha=!1;static _destBuffer=null;static _destOffset=0;static _destLength=0;static _cssColor="";static _makeHexColor=null;static get _memoryArray(){const e=this.#s;return e?.byteLength?e:this.#s=new Uint8Array(this._memory.buffer)}}const qa=Object.freeze({RGB8:0,0:"RGB8",RGBA8:1,1:"RGBA8",BGRA8:2,2:"BGRA8",Gray8:3,3:"Gray8",GrayA8:4,4:"GrayA8",CMYK:5,5:"CMYK"}),va=Object.freeze({Perceptual:0,0:"Perceptual",RelativeColorimetric:1,1:"RelativeColorimetric",Saturation:2,2:"Saturation",AbsoluteColorimetric:3,3:"AbsoluteColorimetric"});function __wbg_get_imports(){return{__proto__:null,"./qcms_bg.js":{__proto__:null,__wbg___wbindgen_throw_6b64449b9b9ed33c:function(e,t){throw new Error(function getStringFromWasm0(e,t){return function decodeText(e,t){Ca+=t;if(Ca>=xa){Aa=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});Aa.decode();Ca=t}return Aa.decode(getUint8ArrayMemory0().subarray(e,e+t))}(e>>>=0,t)}(e,t))},__wbg_copy_result_0d15f3bf9d9012ae:function(e,t){!function copy_result(e,t){const{_mustAddAlpha:a,_destBuffer:n,_destOffset:s,_destLength:r,_memoryArray:i}=QCMS;if(t!==r)if(a)for(let a=e,r=e+t,o=s;a>>0,t>>>0)},__wbg_copy_rgb_0106d9d9464fce43:function(e){!function copy_rgb(e){const{_destBuffer:t,_destOffset:a,_memoryArray:n}=QCMS;t[a]=n[e];t[a+1]=n[e+1];t[a+2]=n[e+2]}(e>>>0)},__wbg_make_cssRGB_8e24b34f71f5363e:function(e){!function make_cssRGB(e){const{_memoryArray:t}=QCMS;QCMS._cssColor=QCMS._makeHexColor(t[e],t[e+1],t[e+2])}(e>>>0)},__wbindgen_init_externref_table:function(){const e=Fa.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0);e.set(t+0,void 0);e.set(t+1,null);e.set(t+2,!0);e.set(t+3,!1)}}}}let Sa=null;function getUint8ArrayMemory0(){null!==Sa&&0!==Sa.byteLength||(Sa=new Uint8Array(Fa.memory.buffer));return Sa}function passArray8ToWasm0(e,t){const a=t(1*e.length,1)>>>0;getUint8ArrayMemory0().set(e,a/1);Ta=e.length;return a}let Aa=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});Aa.decode();const xa=2146435072;let Ca=0;let Ia,Fa,Ta=0;function __wbg_finalize_init(e,t){Fa=e.exports;Ia=t;Sa=null;Fa.__wbindgen_start();return Fa}function MathClamp(e,t,a){return Math.min(Math.max(e,t),a)}function isDefaultDecodeHelper(e,t){if(!Array.isArray(e))return!0;const a=e.length;if(at){info("Truncating too long decode map.");e.length=t}return!1}class ColorSpace{static#r=new Uint8ClampedArray(3);constructor(e,t){this.name=e;this.numComps=t}getRgb(e,t,a=new Uint8ClampedArray(3)){this.getRgbItem(e,t,a,0);return a}getRgbHex(e,t){const a=this.getRgb(e,t,ColorSpace.#r);return Util.makeHexColor(a[0],a[1],a[2])}getRgbItem(e,t,a,n){unreachable("Should not call ColorSpace.getRgbItem")}getRgbBuffer(e,t,a,n,s,r,i){unreachable("Should not call ColorSpace.getRgbBuffer")}getOutputLength(e,t){unreachable("Should not call ColorSpace.getOutputLength")}isPassthrough(e){return!1}isDefaultDecode(e,t){return ColorSpace.isDefaultDecode(e,this.numComps)}fillRgb(e,t,a,n,s,r,i,o,l){const f=t*a;let c=null;const h=1<h&&"DeviceGray"!==this.name&&"DeviceRGB"!==this.name){const t=i<=8?new Uint8Array(h):new Uint16Array(h);for(let e=0;e=.99554525?1:MathClamp(1.055*e**(1/2.4)-.055,0,1)}#j(e){return e<0?-this.#j(-e):e>8?((e+16)/116)**3:e*CalRGBCS.#p}#k(e,t,a){if(0===e[0]&&0===e[1]&&0===e[2]){a[0]=t[0];a[1]=t[1];a[2]=t[2];return}const n=this.#j(0),s=(1-n)/(1-this.#j(e[0])),r=1-s,i=(1-n)/(1-this.#j(e[1])),o=1-i,l=(1-n)/(1-this.#j(e[2])),f=1-l;a[0]=t[0]*s+r;a[1]=t[1]*i+o;a[2]=t[2]*l+f}#y(e,t,a){if(1===e[0]&&1===e[2]){a[0]=t[0];a[1]=t[1];a[2]=t[2];return}const n=a;this.#d(CalRGBCS.#o,t,n);const s=CalRGBCS.#h;this.#g(e,n,s);this.#d(CalRGBCS.#l,s,a)}#q(e,t,a){const n=a;this.#d(CalRGBCS.#o,t,n);const s=CalRGBCS.#h;this.#b(e,n,s);this.#d(CalRGBCS.#l,s,a)}#i(e,t,a,n,s){const r=MathClamp(e[t]*s,0,1),i=MathClamp(e[t+1]*s,0,1),o=MathClamp(e[t+2]*s,0,1),l=1===r?1:r**this.GR,f=1===i?1:i**this.GG,c=1===o?1:o**this.GB,h=this.MXA*l+this.MXB*f+this.MXC*c,u=this.MYA*l+this.MYB*f+this.MYC*c,m=this.MZA*l+this.MZB*f+this.MZC*c,p=CalRGBCS.#u;p[0]=h;p[1]=u;p[2]=m;const d=CalRGBCS.#m;this.#y(this.whitePoint,p,d);const g=CalRGBCS.#u;this.#k(this.blackPoint,d,g);const b=CalRGBCS.#m;this.#q(CalRGBCS.#c,g,b);const w=CalRGBCS.#u;this.#d(CalRGBCS.#f,b,w);a[n]=255*this.#w(w[0]);a[n+1]=255*this.#w(w[1]);a[n+2]=255*this.#w(w[2])}getRgbItem(e,t,a,n){this.#i(e,t,a,n,1)}getRgbBuffer(e,t,a,n,s,r,i){const o=1/((1<this.amax||this.bmin>this.bmax){info("Invalid Range, falling back to defaults");this.amin=-100;this.amax=100;this.bmin=-100;this.bmax=100}}#v(e){return e>=6/29?e**3:108/841*(e-4/29)}#S(e,t,a,n){return a+e*(n-a)/t}#i(e,t,a,n,s){let r=e[t],i=e[t+1],o=e[t+2];if(!1!==a){r=this.#S(r,a,0,100);i=this.#S(i,a,this.amin,this.amax);o=this.#S(o,a,this.bmin,this.bmax)}i>this.amax?i=this.amax:ithis.bmax?o=this.bmax:ofunction qcms_convert_one(e,t,a){Fa.qcms_convert_one(e,t,a)}(this.#A,255*e[t],a);break;case 3:n=qa.RGB8;this.#x=(e,t,a)=>function qcms_convert_three(e,t,a,n,s){Fa.qcms_convert_three(e,t,a,n,s)}(this.#A,255*e[t],255*e[t+1],255*e[t+2],a);break;case 4:n=qa.CMYK;this.#x=(e,t,a)=>function qcms_convert_four(e,t,a,n,s,r){Fa.qcms_convert_four(e,t,a,n,s,r)}(this.#A,255*e[t],255*e[t+1],255*e[t+2],255*e[t+3],a);break;default:throw new Error(`Unsupported number of components: ${a}`)}this.#A=function qcms_transformer_from_memory(e,t,a){const n=passArray8ToWasm0(e,Fa.__wbindgen_malloc),s=Ta;return Fa.qcms_transformer_from_memory(n,s,t,a)>>>0}(e,n,va.Perceptual);if(!this.#A)throw new Error("Failed to create ICC color space");IccColorSpace.#F||=new FinalizationRegistry(e=>{!function qcms_drop_transformer(e){Fa.qcms_drop_transformer(e)}(e)});IccColorSpace.#F.register(this,this.#A)}getRgbHex(e,t){this.#x(e,t,!0);return QCMS._cssColor}getRgbItem(e,t,a,n){QCMS._destBuffer=a;QCMS._destOffset=n;QCMS._destLength=3;this.#x(e,t,!1);QCMS._destBuffer=null}getRgbBuffer(e,t,a,n,s,r,i){e=e.subarray(t,t+a*this.numComps);if(8!==r){const t=255/((1<=this.end?-1:this.bytes[this.pos++]}getBytes(e){const t=this.pos,a=e?Math.min(t+e,this.end):this.end;this.pos=a;return this.bytes.subarray(t,a)}getByteRange(e,t){e<0&&(e=0);t>this.end&&(t=this.end);return this.bytes.subarray(e,t)}reset(){this.pos=this.start}moveStart(){this.start=this.pos}makeSubStream(e,t,a=null){return new Stream(this.bytes.buffer,e,t,a)}clone(){return new Stream(this.bytes.buffer,this.start,this.length,this.dict?.clone())}}class StringStream extends Stream{constructor(e,t=null){super(stringToBytes(e),NaN,NaN,t)}}class NullStream extends Stream{constructor(){super(new Uint8Array(0))}}class ChunkedStream extends Stream{progressiveDataLength=0;_lastSuccessfulEnsureByteChunk=-1;_loadedChunks=new Set;constructor(e,t,a){super(new Uint8Array(e),0,e,null);this.chunkSize=t;this.numChunks=Math.ceil(e/t);this.manager=a}getMissingChunks(){const e=[];for(let t=0,a=this.numChunks;t=this.end?this.numChunks:Math.floor(t/this.chunkSize);for(let e=a;ethis.numChunks)&&t!==this._lastSuccessfulEnsureByteChunk){if(!this._loadedChunks.has(t))throw new MissingDataException(e,e+1);this._lastSuccessfulEnsureByteChunk=t}}ensureRange(e,t){if(e>=t)return;if(t<=this.progressiveDataLength)return;const a=Math.floor(e/this.chunkSize);if(a>this.numChunks)return;const n=Math.min(Math.floor((t-1)/this.chunkSize)+1,this.numChunks);for(let s=a;s=this.end)return-1;e>=this.progressiveDataLength&&this.ensureByte(e);return this.bytes[this.pos++]}getBytes(e){const t=this.pos,a=e?Math.min(t+e,this.end):this.end;a>this.progressiveDataLength&&this.ensureRange(t,a);this.pos=a;return this.bytes.subarray(t,a)}getByteRange(e,t){e<0&&(e=0);t>this.end&&(t=this.end);t>this.progressiveDataLength&&this.ensureRange(e,t);return this.bytes.subarray(e,t)}makeSubStream(e,t,a=null){t?e+t>this.progressiveDataLength&&this.ensureRange(e,e+t):e>=this.progressiveDataLength&&this.ensureByte(e);function ChunkedStreamSubstream(){}ChunkedStreamSubstream.prototype=Object.create(this);ChunkedStreamSubstream.prototype.getMissingChunks=function(){const e=this.chunkSize,t=Math.floor(this.start/e),a=Math.floor((this.end-1)/e)+1,n=[];for(let e=t;e{s.push(e);return[]}).push(t)}if(s.length>0){const e=this.groupChunks(s);for(const t of e){const e=t.beginChunk*this.chunkSize,a=Math.min(t.endChunk*this.chunkSize,this.length);this.sendRequest(e,a).catch(n.reject)}}return n.promise.catch(e=>{if(!this.#O)throw e})}getStream(){return this.stream}requestRange(e,t){t=Math.min(t,this.length);const a=this.getBeginChunk(e),n=this.getEndChunk(t),s=[];for(let e=a;ee-t);return this._requestChunks(t)}groupChunks(e){const t=[];let a=-1,n=-1;for(let s=0,r=e.length;s=0&&n+1!==r){t.push({beginChunk:a,endChunk:n+1});a=r}s+1===e.length&&t.push({beginChunk:a,endChunk:r+1});n=r}return t}onReceiveData(e){const{chunkSize:t,length:a,stream:n}=this,s=e.chunk,r=void 0===e.begin,i=r?n.progressiveDataLength:e.begin,o=i+s.byteLength,l=Math.floor(i/t),f=o0||c.push(a)}}}if(!this.disableAutoFetch&&0===this._requestsByChunk.size){let e;if(1===n.numChunksLoaded){const t=n.numChunks-1;n.hasChunk(t)||(e=t)}else e=n.nextEmptyChunk(f);Number.isInteger(e)&&this._requestChunks([e])}for(const e of c){const t=this._promisesByRequest.get(e);this._promisesByRequest.delete(e);t.resolve()}this.msgHandler.send("DocProgress",{loaded:MathClamp(n.numChunksLoaded*t,n.progressiveDataLength,a),total:a})}getBeginChunk(e){return Math.floor(e/this.chunkSize)}getEndChunk(e){return Math.floor((e-1)/this.chunkSize)+1}abort(e){this.#O=!0;this.pdfStream?.cancelAllRequests(e);for(const t of this._promisesByRequest.values())t.reject(e);this.#R.reject(e)}}function convertToRGBA(e){switch(e.kind){case T:return convertBlackAndWhiteToRGBA(e);case O:return function convertRGBToRGBA({src:e,srcPos:t=0,dest:a,destPos:n=0,width:s,height:r}){let i=0;const o=s*r*3,l=o>>2,f=new Uint32Array(e.buffer,t,l),c=FeatureTest.isLittleEndian?4278190080:255;if(FeatureTest.isLittleEndian){for(;i>>24|t<<8|c;a[n+2]=t>>>16|s<<16|c;a[n+3]=s>>>8|c}for(let s=4*i,r=t+o;s>>8|c;a[n+2]=t<<16|s>>>16|c;a[n+3]=s<<8|c}for(let s=4*i,r=t+o;s>3,h=7&n,u=l^f,m=e.length;a=new Uint32Array(a.buffer);let p=0;for(let n=0;n>7&1)&u;a[p+1]=l^-(n>>6&1)&u;a[p+2]=l^-(n>>5&1)&u;a[p+3]=l^-(n>>4&1)&u;a[p+4]=l^-(n>>3&1)&u;a[p+5]=l^-(n>>2&1)&u;a[p+6]=l^-(n>>1&1)&u;a[p+7]=l^-(1&n)&u}if(0===h)continue;const n=t>7-e&1)&u}return{srcPos:t,destPos:p}}class ImageResizer{static#H=2048;static#B=FeatureTest.isImageDecoderSupported;constructor(e,t){this._imgData=e;this._isMask=t}static get canUseImageDecoder(){return shadow(this,"canUseImageDecoder",this.#B?ImageDecoder.isTypeSupported("image/bmp"):Promise.resolve(!1))}static needsToBeResized(e,t){if(e<=this.#H&&t<=this.#H)return!1;const{MAX_DIM:a}=this;if(e>a||t>a)return!0;const n=e*t;if(this._hasMaxArea)return n>this.MAX_AREA;if(n(this.MAX_AREA=this.#H**2)}static getReducePowerForJPX(e,t,a){const n=e*t,s=2**30/(4*a);if(!this.needsToBeResized(e,t))return n>s?Math.ceil(Math.log2(n/s)):0;const{MAX_DIM:r,MAX_AREA:i}=this,o=Math.max(e/r,t/r,Math.sqrt(n/Math.min(s,i)));return Math.ceil(Math.log2(o))}static get MAX_DIM(){return shadow(this,"MAX_DIM",this._guessMax(2048,32768,0,1))}static get MAX_AREA(){this._hasMaxArea=!0;return shadow(this,"MAX_AREA",this._guessMax(this.#H,this.MAX_DIM,128,0)**2)}static set MAX_AREA(e){if(e>=0){this._hasMaxArea=!0;shadow(this,"MAX_AREA",e)}}static setOptions({canvasMaxAreaInBytes:e=-1,isImageDecoderSupported:t=!1}){this._hasMaxArea||(this.MAX_AREA=e>>2);this.#B=t}static _areGoodDims(e,t){try{const a=new OffscreenCanvas(e,t),n=a.getContext("2d");n.fillRect(0,0,1,1);const s=n.getImageData(0,0,1,1).data[3];a.width=a.height=1;return 0!==s}catch{return!1}}static _guessMax(e,t,a,n){for(;e+a+1ga){const e=this.#D();if(e)return e}const n=this._encodeBMP();let s,r;if(await ImageResizer.canUseImageDecoder){s=new ImageDecoder({data:n,type:"image/bmp",preferAnimation:!1,transfer:[n.buffer]});r=s.decode().catch(e=>{warn(`BMP image decoding failed: ${e}`);return createImageBitmap(new Blob([this._encodeBMP().buffer],{type:"image/bmp"}))}).finally(()=>{s.close()})}else r=createImageBitmap(new Blob([n.buffer],{type:"image/bmp"}));const{MAX_AREA:i,MAX_DIM:o}=ImageResizer,l=Math.max(t/o,a/o,Math.sqrt(t*a/i)),f=Math.max(l,2),c=Math.round(10*(l+1.25))/10/f,h=Math.floor(Math.log2(c)),u=new Array(h+2).fill(2);u[0]=f;u.splice(-1,1,c/(1<>i,l=n>>i;let f,c=n;try{f=new Uint8Array(r)}catch{let e=Math.floor(Math.log2(r+1));for(;;)try{f=new Uint8Array(2**e-1);break}catch{e-=1}c=Math.floor((2**e-1)/(4*a));const t=a*c*4;t>i;e>3,i=a+3&-4;if(a!==i){const e=new Uint8Array(i*t);let n=0;for(let r=0,o=t*a;rs&&(n=s)}else{for(;!this.eof;)this.readBlock(t);n=this.bufferLength}this.pos=n;return this.buffer.subarray(a,n)}async getImageData(e,t){if(!this.canAsyncDecodeImageFromBuffer)return this.isAsyncDecoder?this.decodeImage(null,e,t):this.getBytes(e,t);const a=await this.stream.asyncGetBytes();return this.decodeImage(a,e,t)}async asyncGetBytesFromDecompressionStream(e){this.stream.reset();const t=this.stream.isAsync?await this.stream.asyncGetBytes():this.stream.getBytes();try{const{readable:a,writable:n}=new DecompressionStream(e),s=n.getWriter();await s.ready;s.write(t).then(async()=>{await s.ready;await s.close()}).catch(()=>{});const r=[];let i=0;for await(const e of a){r.push(e);i+=e.byteLength}const o=new Uint8Array(i);let l=0;for(const e of r){o.set(e,l);l+=e.byteLength}return{decompressed:o,compressed:t}}catch{return{decompressed:null,compressed:t}}}reset(){this.pos=0}makeSubStream(e,t,a=null){if(void 0===t)for(;!this.eof;)this.readBlock();else{const a=e+t;for(;this.bufferLength<=a&&!this.eof;)this.readBlock()}return new Stream(this.buffer,e,t,a)}clone(){for(;!this.eof;)this.readBlock();return new Stream(this.buffer,0,this.bufferLength,this.dict?.clone())}getBaseStreams(){return this.stream?this.stream.getBaseStreams():null}}class StreamsSequenceStream extends DecodeStream{constructor(e,t=null){e=e.filter(e=>e instanceof BaseStream&&!e.isImageStream);let a=0;for(const t of e)a+=t instanceof DecodeStream?t._rawMinBufferLength:t.length;super(a);this.streams=e;this._onError=t}readBlock(){const e=this.streams;if(0===e.length){this.eof=!0;return}const t=e.shift();let a;try{a=t.getBytes()}catch(e){if(this._onError){this._onError(e,t.dict?.objId);return}throw e}const n=this.bufferLength,s=n+a.length;this.ensureBuffer(s).set(a,n);this.bufferLength=s}getBaseStreams(){const e=[];for(const t of this.streams){const a=t.getBaseStreams();a&&e.push(...a)}return e.length>0?e:null}}class ColorSpaceUtils{static parse({cs:e,xref:t,resources:a=null,pdfFunctionFactory:n,globalColorSpaceCache:s,localColorSpaceCache:r,asyncIfNotCached:i=!1}){const o={xref:t,resources:a,pdfFunctionFactory:n,globalColorSpaceCache:s,localColorSpaceCache:r};let l,f,c;if(e instanceof Ref){f=e;const a=s.getByRef(f)||r.getByRef(f);if(a)return a;e=t.fetch(e)}if(e instanceof Name){l=e.name;const t=r.getByName(l);if(t)return t}try{c=this.#M(e,o)}catch(e){if(i&&!(e instanceof MissingDataException))return Promise.reject(e);throw e}if(l||f){r.set(l,f,c);f&&s.set(null,f,c)}return i?Promise.resolve(c):c}static#N(e,t){const{globalColorSpaceCache:a}=t;let n;if(e instanceof Ref){n=e;const t=a.getByRef(n);if(t)return t}const s=this.#M(e,t);n&&a.set(null,n,s);return s}static#M(e,t){const{xref:a,resources:n,pdfFunctionFactory:s,globalColorSpaceCache:r}=t;if((e=a.fetchIfRef(e))instanceof Name)switch(e.name){case"G":case"DeviceGray":return this.gray;case"RGB":case"DeviceRGB":return this.rgb;case"DeviceRGBA":return this.rgba;case"CMYK":case"DeviceCMYK":return this.cmyk;case"Pattern":return new PatternCS(null);default:if(n instanceof Dict){const a=n.get("ColorSpace");if(a instanceof Dict){const n=a.get(e.name);if(n){if(n instanceof Name)return this.#M(n,t);e=n;break}}}warn(`Unrecognized ColorSpace: ${e.name}`);return this.gray}if(Array.isArray(e)){const n=a.fetchIfRef(e[0]).name;let i,o,l,f,c,h;switch(n){case"G":case"DeviceGray":return this.gray;case"RGB":case"DeviceRGB":return this.rgb;case"CMYK":case"DeviceCMYK":return this.cmyk;case"CalGray":i=a.fetchIfRef(e[1]);f=i.getArray("WhitePoint");c=i.getArray("BlackPoint");h=i.get("Gamma");return new CalGrayCS(f,c,h);case"CalRGB":i=a.fetchIfRef(e[1]);f=i.getArray("WhitePoint");c=i.getArray("BlackPoint");h=i.getArray("Gamma");const u=i.getArray("Matrix");return new CalRGBCS(f,c,h,u);case"ICCBased":const m=e[1]instanceof Ref;if(m){const t=r.getByRef(e[1]);if(t)return t}const p=a.fetchIfRef(e[1]),d=p.dict;o=d.get("N");if(IccColorSpace.isUsable)try{const t=new IccColorSpace(p.getBytes(),"ICCBased",o);m&&r.set(null,e[1],t);return t}catch(t){if(t instanceof MissingDataException)throw t;warn(`ICCBased color space (${e[1]}): "${t}".`)}const g=d.getRaw("Alternate");if(g){const e=this.#N(g,t);if(e.numComps===o)return e;warn("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(1===o)return this.gray;if(3===o)return this.rgb;if(4===o)return this.cmyk;break;case"Pattern":l=e[1]||null;l&&(l=this.#N(l,t));return new PatternCS(l);case"I":case"Indexed":l=this.#N(e[1],t);const b=MathClamp(a.fetchIfRef(e[2]),0,255),w=a.fetchIfRef(e[3]);return new IndexedCS(l,b,w);case"Separation":case"DeviceN":const j=a.fetchIfRef(e[1]);o=Array.isArray(j)?j.length:1;l=this.#N(e[2],t);const k=s.create(e[3]);return new AlternateCS(o,l,k);case"Lab":i=a.fetchIfRef(e[1]);f=i.getArray("WhitePoint");c=i.getArray("BlackPoint");const y=i.getArray("Range");return new LabCS(f,c,y);default:warn(`Unimplemented ColorSpace object: ${n}`);return this.gray}}warn(`Unrecognized ColorSpace object: ${e}`);return this.gray}static get gray(){return shadow(this,"gray",new DeviceGrayCS)}static get rgb(){return shadow(this,"rgb",new DeviceRgbCS)}static get rgba(){return shadow(this,"rgba",new DeviceRgbaCS)}static get cmyk(){if(CmykICCBasedCS.isUsable)try{return shadow(this,"cmyk",new CmykICCBasedCS)}catch{warn("CMYK fallback: DeviceCMYK")}return shadow(this,"cmyk",new DeviceCmykCS)}}class JpegError extends ra{constructor(e){super(e,"JpegError")}}class DNLMarkerError extends ra{constructor(e,t){super(e,"DNLMarkerError");this.scanLines=t}}class EOIMarkerError extends ra{constructor(e){super(e,"EOIMarkerError")}}const Ra=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),Ha=4017,Ba=799,Da=3406,Ma=2276,Na=1567,Pa=3784,_a=5793,Ea=2896;function buildHuffmanTable(e,t){let a,n,s=0,r=16;for(;r>0&&!e[r-1];)r--;const i=[{children:[],index:0}];let o,l=i[0];for(a=0;a0;)l=i.pop();l.index++;i.push(l);for(;i.length<=a;){i.push(o={children:[],index:0});l.children[l.index]=o.children;l=o}s++}if(a+10){d--;return p>>d&1}p=e[a++];if(255===p){const s=e[a++];if(s){if(220===s&&c){a+=2;const e=t.getUint16(a);a+=2;if(e>0&&e!==n.scanLines)throw new DNLMarkerError("Found DNL marker (0xFFDC) while parsing scan data",e)}else if(217===s){if(c){const e=j*(8===n.precision?8:0);if(e>0&&Math.round(n.scanLines/e)>=5)throw new DNLMarkerError("Found EOI marker (0xFFD9) while parsing scan data, possibly caused by incorrect `scanLines` parameter",e)}throw new EOIMarkerError("Found EOI marker (0xFFD9) while parsing scan data")}throw new JpegError(`unexpected marker ${(p<<8|s).toString(16)}`)}}d=7;return p>>>7}function decodeHuffman(e){let t=e;for(;;){t=t[readBit()];switch(typeof t){case"number":return t;case"object":continue}throw new JpegError("invalid huffman sequence")}}function receive(e){let t=0;for(;e>0;){t=t<<1|readBit();e--}return t}function receiveAndExtend(e){if(1===e)return 1===readBit()?1:-1;const t=receive(e);return t>=1<0){g--;return}let a=i;const n=o;for(;a<=n;){const n=decodeHuffman(e.huffmanTableAC),s=15&n,r=n>>4;if(0===s){if(r<15){g=receive(r)+(1<>4;if(0===s)if(l<15){g=receive(l)+(1<>4;if(0===n){if(r<15)break;s+=16;continue}s+=r;const i=Ra[s];e.blockData[t+i]=receiveAndExtend(n);s++}};let F,T=0;const O=1===k?s[0].blocksPerLine*s[0].blocksPerColumn:h*n.mcusPerColumn;let R,H;for(;T<=O;){const n=r?Math.min(O-T,r):O;if(n>0){for(q=0;q0?"unexpected":"excessive"} MCU data, current marker is: ${F.invalid}`);a=F.offset}if(!(F.marker>=65488&&F.marker<=65495))break;a+=2}return a-m}function quantizeAndInverse(e,t,a){const n=e.quantizationTable,s=e.blockData;let r,i,o,l,f,c,h,u,m,p,d,g,b,w,j,k,y;if(!n)throw new JpegError("missing required Quantization Table.");for(let e=0;e<64;e+=8){m=s[t+e];p=s[t+e+1];d=s[t+e+2];g=s[t+e+3];b=s[t+e+4];w=s[t+e+5];j=s[t+e+6];k=s[t+e+7];m*=n[e];if(0!==(p|d|g|b|w|j|k)){p*=n[e+1];d*=n[e+2];g*=n[e+3];b*=n[e+4];w*=n[e+5];j*=n[e+6];k*=n[e+7];r=_a*m+128>>8;i=_a*b+128>>8;o=d;l=j;f=Ea*(p-k)+128>>8;u=Ea*(p+k)+128>>8;c=g<<4;h=w<<4;r=r+i+1>>1;i=r-i;y=o*Pa+l*Na+128>>8;o=o*Na-l*Pa+128>>8;l=y;f=f+h+1>>1;h=f-h;u=u+c+1>>1;c=u-c;r=r+l+1>>1;l=r-l;i=i+o+1>>1;o=i-o;y=f*Ma+u*Da+2048>>12;f=f*Da-u*Ma+2048>>12;u=y;y=c*Ba+h*Ha+2048>>12;c=c*Ha-h*Ba+2048>>12;h=y;a[e]=r+u;a[e+7]=r-u;a[e+1]=i+h;a[e+6]=i-h;a[e+2]=o+c;a[e+5]=o-c;a[e+3]=l+f;a[e+4]=l-f}else{y=_a*m+512>>10;a[e]=y;a[e+1]=y;a[e+2]=y;a[e+3]=y;a[e+4]=y;a[e+5]=y;a[e+6]=y;a[e+7]=y}}for(let e=0;e<8;++e){m=a[e];p=a[e+8];d=a[e+16];g=a[e+24];b=a[e+32];w=a[e+40];j=a[e+48];k=a[e+56];if(0!==(p|d|g|b|w|j|k)){r=_a*m+2048>>12;i=_a*b+2048>>12;o=d;l=j;f=Ea*(p-k)+2048>>12;u=Ea*(p+k)+2048>>12;c=g;h=w;r=4112+(r+i+1>>1);i=r-i;y=o*Pa+l*Na+2048>>12;o=o*Na-l*Pa+2048>>12;l=y;f=f+h+1>>1;h=f-h;u=u+c+1>>1;c=u-c;r=r+l+1>>1;l=r-l;i=i+o+1>>1;o=i-o;y=f*Ma+u*Da+2048>>12;f=f*Da-u*Ma+2048>>12;u=y;y=c*Ba+h*Ha+2048>>12;c=c*Ha-h*Ba+2048>>12;h=y;m=r+u;k=r-u;p=i+h;j=i-h;d=o+c;w=o-c;g=l+f;b=l-f;m<16?m=0:m>=4080?m=255:m>>=4;p<16?p=0:p>=4080?p=255:p>>=4;d<16?d=0:d>=4080?d=255:d>>=4;g<16?g=0:g>=4080?g=255:g>>=4;b<16?b=0:b>=4080?b=255:b>>=4;w<16?w=0:w>=4080?w=255:w>>=4;j<16?j=0:j>=4080?j=255:j>>=4;k<16?k=0:k>=4080?k=255:k>>=4;s[t+e]=m;s[t+e+8]=p;s[t+e+16]=d;s[t+e+24]=g;s[t+e+32]=b;s[t+e+40]=w;s[t+e+48]=j;s[t+e+56]=k}else{y=_a*m+8192>>14;y=y<-2040?0:y>=2024?255:y+2056>>4;s[t+e]=y;s[t+e+8]=y;s[t+e+16]=y;s[t+e+24]=y;s[t+e+32]=y;s[t+e+40]=y;s[t+e+48]=y;s[t+e+56]=y}}}function buildComponentData(e,t){const a=t.blocksPerLine,n=t.blocksPerColumn,s=new Int16Array(64);for(let e=0;e=s)return null;const i=t.getUint16(a);if(i>=65472&&i<=65534)return{invalid:null,marker:i,offset:a};let o=t.getUint16(r);for(;!(o>=65472&&o<=65534);){if(++r>=s)return null;o=t.getUint16(r)}return{invalid:i.toString(16),marker:o,offset:r}}function prepareComponents(e){const t=Math.ceil(e.samplesPerLine/8/e.maxH),a=Math.ceil(e.scanLines/8/e.maxV);for(const n of e.components){const s=Math.ceil(Math.ceil(e.samplesPerLine/8)*n.h/e.maxH),r=Math.ceil(Math.ceil(e.scanLines/8)*n.v/e.maxV),i=t*n.h,o=64*(a*n.v)*(i+1);n.blockData=new Int16Array(o);n.blocksPerLine=s;n.blocksPerColumn=r}e.mcusPerLine=t;e.mcusPerColumn=a}function readDataBlock(e,t,a){const n=t.getUint16(a);let s=(a+=2)+n-2;const r=findNextFileMarker(e,t,s,a);if(r?.invalid){warn("readDataBlock - incorrect length, current marker is: "+r.invalid);s=r.offset}const i=e.subarray(a,s);return{appData:i,oldOffset:a,newOffset:a+i.length}}function skipData(e,t,a){const n=t.getUint16(a),s=(a+=2)+n-2,r=findNextFileMarker(e,t,s,a);return r?.invalid?r.offset:s}class JpegImage{constructor({decodeTransform:e=null,colorTransform:t=-1}={}){this._decodeTransform=e;this._colorTransform=t}static canUseImageDecoder(e,t=-1){const a=new DataView(e.buffer,e.byteOffset,e.byteLength);let n=null,s=0,r=null,i=a.getUint16(s);s+=2;if(65496!==i)throw new JpegError("SOI not found");i=a.getUint16(s);s+=2;e:for(;65497!==i;){switch(i){case 65505:const{appData:t,oldOffset:o,newOffset:l}=readDataBlock(e,a,s);s=l;if(69===t[0]&&120===t[1]&&105===t[2]&&102===t[3]&&0===t[4]&&0===t[5]){if(n)throw new JpegError("Duplicate EXIF-blocks found.");n={exifStart:o+6,exifEnd:l}}i=a.getUint16(s);s+=2;continue;case 65472:case 65473:case 65474:r=e[s+7];break e;case 65535:255!==e[s]&&s--}s=skipData(e,a,s);i=a.getUint16(s);s+=2}return 4===r||3===r&&0===t?null:n||{}}parse(e,{dnlScanLines:t=null}={}){const a=new DataView(e.buffer,e.byteOffset,e.byteLength),n=e.length-1;let s,r,i=0,o=null,l=null,f=0;const c=[],h=[],u=[];let m=a.getUint16(i);i+=2;if(65496!==m)throw new JpegError("SOI not found");m=a.getUint16(i);i+=2;e:for(;65497!==m;){let p,d,g;switch(m){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:const{appData:b,newOffset:w}=readDataBlock(e,a,i);i=w;65504===m&&74===b[0]&&70===b[1]&&73===b[2]&&70===b[3]&&0===b[4]&&(o={version:{major:b[5],minor:b[6]},densityUnits:b[7],xDensity:b[8]<<8|b[9],yDensity:b[10]<<8|b[11],thumbWidth:b[12],thumbHeight:b[13],thumbData:b.subarray(14,14+3*b[12]*b[13])});65518===m&&65===b[0]&&100===b[1]&&111===b[2]&&98===b[3]&&101===b[4]&&(l={version:b[5]<<8|b[6],flags0:b[7]<<8|b[8],flags1:b[9]<<8|b[10],transformCode:b[11]});break;case 65499:const j=a.getUint16(i);i+=2;const k=j+i-2;let y;for(;i>4){if(t>>4!=1)throw new JpegError("DQT - invalid table spec");for(d=0;d<64;d++){y=Ra[d];n[y]=a.getUint16(i);i+=2}}else for(d=0;d<64;d++){y=Ra[d];n[y]=e[i++]}c[15&t]=n}break;case 65472:case 65473:case 65474:if(s)throw new JpegError("Only single frame JPEGs supported");i+=2;s={};s.extended=65473===m;s.progressive=65474===m;s.precision=e[i++];const q=a.getUint16(i);i+=2;s.scanLines=t||q;s.samplesPerLine=a.getUint16(i);i+=2;s.components=[];s.componentIds={};const v=e[i++];let S=0,x=0;for(p=0;p>4,n=15&e[i+1];S>4?h:u)[15&t]=buildHuffmanTable(a,s)}break;case 65501:i+=2;r=a.getUint16(i);i+=2;break;case 65498:const F=1===++f&&!t;i+=2;const T=e[i++],O=[];for(p=0;p>4];n.huffmanTableAC=h[15&r];O.push(n)}const R=e[i++],H=e[i++],D=e[i++];try{i+=decodeScan(e,a,i,s,O,r,R,H,D>>4,15&D,F)}catch(t){if(t instanceof DNLMarkerError){warn(`${t.message} -- attempting to re-parse the JPEG image.`);return this.parse(e,{dnlScanLines:t.scanLines})}if(t instanceof EOIMarkerError){warn(`${t.message} -- ignoring the rest of the image data.`);break e}throw t}break;case 65500:i+=4;break;case 65535:255!==e[i]&&i--;break;default:const M=findNextFileMarker(e,a,i-2,i-3);if(M?.invalid){warn("JpegImage.parse - unexpected data, current marker is: "+M.invalid);i=M.offset;break}if(!M||i>=n){warn("JpegImage.parse - reached the end of the image data without finding an EOI marker (0xFFD9).");break e}throw new JpegError("JpegImage.parse - unknown marker: "+m.toString(16))}if(i>8)+v[m+1];return j}get _isColorConversionNeeded(){return this.adobe?!!this.adobe.transformCode:3===this.numComponents?0!==this._colorTransform&&(82!==this.components[0].index||71!==this.components[1].index||66!==this.components[2].index):1===this._colorTransform}_convertYccToRgb(e){let t,a,n;for(let s=0,r=e.length;s4)throw new JpegError("Unsupported color mode");const r=this.#P(e,t,s);if(1===this.numComponents&&(a||n)){const e=r.length*(a?4:3),t=new Uint8ClampedArray(e);let n=0;if(a)!function grayToRGBA(e,t){if(FeatureTest.isLittleEndian)for(let a=0,n=e.length;a0&&(e=e.subarray(t));break}return e}decodeImage(e){if(this.eof)return this.buffer;e=this.#_(e||this.bytes);const t=new JpegImage(this.jpegOptions);t.parse(e);const a=t.getData({width:this.drawWidth,height:this.drawHeight,forceRGBA:this.forceRGBA,forceRGB:this.forceRGB});this.buffer=a;this.bufferLength=a.length;this.eof=!0;return this.buffer}get canAsyncDecodeImageFromBuffer(){return this.stream.isAsync}async getTransferableImage(){if(!await JpegStream.canUseImageDecoder)return null;const e=this.jpegOptions;if(e.decodeTransform)return null;let t;try{const a=this.canAsyncDecodeImageFromBuffer&&await this.stream.asyncGetBytes()||this.bytes;if(!a)return null;let n=this.#_(a);const s=JpegImage.canUseImageDecoder(n,e.colorTransform);if(!s)return null;if(s.exifStart){n=n.slice();n.fill(0,s.exifStart,s.exifEnd)}t=new ImageDecoder({data:n,type:"image/jpeg",preferAnimation:!1});return(await t.decode()).image}catch(e){warn(`getTransferableImage - failed: "${e}".`);return null}finally{t?.close()}}get isImageStream(){return!0}}function addState(e,t,a,n,s){let r=e;for(let e=0,a=t.length-1;e1e3){f=Math.max(f,u);m+=h+2;u=0;h=0}c.push({transform:t,x:u,y:m,w:a.width,h:a.height});u+=a.width+2;h=Math.max(h,a.height)}const p=Math.max(f,u)+1,d=m+h+1,g=new Uint8Array(p*d*4),b=p<<2;for(let e=0;e=0;){t[r-4]=t[r];t[r-3]=t[r+1];t[r-2]=t[r+2];t[r-1]=t[r+3];t[r+a]=t[r+a-4];t[r+a+1]=t[r+a-3];t[r+a+2]=t[r+a-2];t[r+a+3]=t[r+a-1];r-=b}}const w={width:p,height:d};if(e.isOffscreenCanvasSupported){const e=new OffscreenCanvas(p,d);e.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(g.buffer),p,d),0,0);w.bitmap=e.transferToImageBitmap();w.data=null}else{w.kind=R;w.data=g}a.splice(r,4*l,Ut);n.splice(r,4*l,[w,c]);return r+1});addState(za,[ve,Ae,_t,Se],null,function iterateImageMaskGroup(e,t){const a=e.fnArray,n=(t-(e.iCurr-3))%4;switch(n){case 0:return a[t]===ve;case 1:return a[t]===Ae;case 2:return a[t]===_t;case 3:return a[t]===Se}throw new Error(`iterateImageMaskGroup - invalid pos: ${n}`)},function foundImageMaskGroup(e,t){const a=e.fnArray,n=e.argsArray,s=e.iCurr,r=s-3,i=s-2,o=s-1;let l=Math.floor((t-r)/4);if(l<10)return t-(t-r)%4;let f,c,h=!1;const u=n[o][0],m=n[i][0],p=n[i][1],d=n[i][2],g=n[i][3];if(p===d){h=!0;f=i+4;let e=o+4;for(let t=1;t=4&&a[r-4]===a[i]&&a[r-3]===a[o]&&a[r-2]===a[l]&&a[r-1]===a[f]&&n[r-4][0]===c&&n[r-4][1]===h){u++;m-=5}let p=m+4;for(let e=1;e{const t=e.argsArray,a=t[e.iCurr-1][0];if(a!==He&&a!==Be&&a!==Ne&&a!==Pe&&a!==_e&&a!==Ee)return!0;const n=t[e.iCurr-2];return 1===n[0]&&0===n[1]&&0===n[2]&&1===n[3]},()=>!1,(e,t)=>{const{fnArray:n,argsArray:s}=e,r=e.iCurr,i=r-3,o=r-2,l=s[r-1],f=s[o],[,[c],h]=l;if(h){const e=a.slice();Util.axialAlignedBoundingBox(h,f,e);h.set(e);for(let e=0,t=c.length;e=a)break}n=(n||za)[e[t]];if(n&&!Array.isArray(n)){r.iCurr=t;t++;if(!n.checkFn||(0,n.checkFn)(r)){s=n;n=null}else n=null}else t++}this.state=n;this.match=s;this.lastProcessed=t}flush(){for(;this.match;){const e=this.queue.fnArray.length;this.lastProcessed=(0,this.match.processFn)(this.context,e);this.match=null;this.state=null;this._optimize()}}reset(){this.state=null;this.match=null;this.lastProcessed=0}}class OperatorList{static CHUNK_SIZE=1e3;static CHUNK_SIZE_ABOUT=this.CHUNK_SIZE-5;static isOffscreenCanvasSupported=!1;constructor(e=0,t){this._streamSink=t;this.fnArray=[];this.argsArray=[];this.optimizer=!t||e&d?new NullOptimizer(this):new QueueOptimizer(this);this.dependencies=new Set;this._totalLength=0;this.weight=0;this._resolved=t?null:Promise.resolve()}static setOptions({isOffscreenCanvasSupported:e}){this.isOffscreenCanvasSupported=e}get length(){return this.argsArray.length}get ready(){return this._resolved||this._streamSink.ready}get totalLength(){return this._totalLength+this.length}addOp(e,t){this.optimizer.push(e,t);this.weight++;this._streamSink&&(this.weight>=OperatorList.CHUNK_SIZE||this.weight>=OperatorList.CHUNK_SIZE_ABOUT&&(e===Se||e===We))&&this.flush()}addImageOps(e,t,a,n=!1){if(n){this.addOp(ve);this.addOp(qe,[[["SMask",!1]]])}void 0!==a&&this.addOp(Ft,["OC",a]);this.addOp(e,t);void 0!==a&&this.addOp(Tt,[]);n&&this.addOp(Se)}addDependency(e){if(!this.dependencies.has(e)){this.dependencies.add(e);this.addOp(pe,[e])}}addDependencies(e){for(const t of e)this.addDependency(t)}addOpList(e){if(e instanceof OperatorList){for(const t of e.dependencies)this.dependencies.add(t);for(let t=0,a=e.length;t"boolean"==typeof e)})(m,2)&&([h,u]=m);this.extendStart=h;this.extendEnd=u;const p=e.getRaw("Function"),d=n.create(p,!0),g=(f-l)/840,b=this.colorStops=[];if(l>=f||g<=0){info("Bad shading domain.");return}const w=new Float32Array(o.numComps),j=new Float32Array(1);let k=0;j[0]=l;d(j,0,w,0);const y=new Uint8ClampedArray(3);o.getRgb(w,0,y);let[q,v,S]=y;b.push([0,Util.makeHexColor(q,v,S)]);let x=1;j[0]=l+g;d(j,0,w,0);o.getRgb(w,0,y);let[C,F,T]=y,O=C-q+1,R=F-v+1,H=T-S+1,D=C-q-1,M=F-v-1,N=T-S-1;for(let e=2;e<840;e++){j[0]=l+e*g;d(j,0,w,0);o.getRgb(w,0,y);const[t,a,n]=y,s=e-k;O=Math.min(O,(t-q+1)/s);R=Math.min(R,(a-v+1)/s);H=Math.min(H,(n-S+1)/s);D=Math.max(D,(t-q-1)/s);M=Math.max(M,(a-v-1)/s);N=Math.max(N,(n-S-1)/s);if(!(D<=O&&M<=R&&N<=H)){const e=Util.makeHexColor(C,F,T);b.push([x/840,e]);O=t-C+1;R=a-F+1;H=n-T+1;D=t-C-1;M=a-F-1;N=n-T-1;k=x;q=C;v=F;S=T}x=e;C=t;F=a;T=n}b.push([1,Util.makeHexColor(C,F,T)]);const _=e.has("Background")?o.getRgbHex(e.get("Background"),0):"transparent";if(!h){b.unshift([0,_]);b[1][0]+=BaseShading.SMALL_NUMBER}if(!u){b.at(-1)[0]-=BaseShading.SMALL_NUMBER;b.push([1,_])}this.colorStops=b}getIR(){const{coordsArr:e,shadingType:t}=this;let a,n,s,r,i;if(t===Ua){n=[e[0],e[1]];s=[e[2],e[3]];r=null;i=null;a="axial"}else if(t===Xa){n=[e[0],e[1]];s=[e[3],e[4]];r=e[2];i=e[5];a="radial"}else unreachable(`getPattern type unknown: ${t}`);return["RadialAxial",a,this.bbox,this.colorStops,n,s,r,i]}}function buildMeshVertexData(e,t,a){let n=0;for(const e of a)if(e.type===v)n+=e.coords.length;else if(e.type===S){const t=e.verticesPerRow;n+=(Math.floor(e.coords.length/t)-1)*(t-1)*6}const s=new Float32Array(2*n),r=new Uint8Array(4*n);let i=0,o=0;const addVertex=(a,n)=>{s[i++]=e[2*a];s[i++]=e[2*a+1];r[o++]=t[4*n];r[o++]=t[4*n+1];r[o++]=t[4*n+2];o++};for(const e of a){const t=e.coords,a=e.colors;if(e.type===v)for(let e=0,n=t.length;e0)return!0;const e=this.stream.getByte();if(e<0)return!1;this.buffer=e;this.bufferLength=8;return!0}readBits(e){const{stream:t}=this;let{buffer:a,bufferLength:n}=this;if(32===e){if(0===n)return t.getInt32()>>>0;a=a<<24|t.getByte()<<16|t.getByte()<<8|t.getByte();const e=t.getByte();this.buffer=e&(1<>n)>>>0}if(8===e&&0===n)return t.getByte();for(;n>n}align(){this.buffer=0;this.bufferLength=0}readFlag(){return this.readBits(this.context.bitsPerFlag)}readCoordinate(){const{bitsPerCoordinate:e,decode:t}=this.context,a=this.readBits(e),n=this.readBits(e),s=e<32?1/((1<i?i:t;a=a>o?o:a;n=n>>0}function hexToStr(e,t){return 1===t?String.fromCharCode(e[0],e[1]):3===t?String.fromCharCode(e[0],e[1],e[2],e[3]):String.fromCharCode(...e.subarray(0,t+1))}function addHex(e,t,a){let n=0;for(let s=a;s>=0;s--){n+=e[s]+t[s];e[s]=255&n;n>>=8}}function incHex(e,t){let a=1;for(let n=t;n>=0&&a>0;n--){a+=e[n];e[n]=255&a;a>>=8}}const Ya=16;class BinaryCMapStream extends Stream{tmpBuf=new Uint8Array(19);constructor(e){super(e,0,e.length,null)}readNumber(){let e,t=0;do{const a=this.getByte();if(a<0)throw new FormatError("unexpected EOF in bcmap");e=!(128&a);t=t<<7|127&a}while(!e);return t}readSigned(){const e=this.readNumber();return 1&e?~(e>>>1):e>>>1}readHex(e,t){e.set(this.getBytes(t+1))}readHexNumber(e,t){let a;const n=this.tmpBuf;let s=0;do{const e=this.getByte();if(e<0)throw new FormatError("unexpected EOF in bcmap");a=!(128&e);n[s++]=127&e}while(!a);let r=t,i=0,o=0;for(;r>=0;){for(;o<8&&n.length>0;){i|=n[--s]<>=8;o-=8}}readHexSigned(e,t){this.readHexNumber(e,t);const a=1&e[t]?255:0;let n=0;for(let s=0;s<=t;s++){n=(1&n)<<8|e[s];e[s]=n>>1^a}}readString(){const e=this.readNumber(),t=new Array(e);for(let a=0;a=0;){const e=u>>5;if(7===e){switch(31&u){case 0:n.readString();break;case 1:r=n.readString()}continue}const a=!!(16&u),s=15&u;if(s+1>Ya)throw new Error("BinaryCMapReader.process: Invalid dataSize.");const m=1,p=n.readNumber();switch(e){case 0:n.readHex(i,s);n.readHexNumber(o,s);addHex(o,i,s);t.addCodespaceRange(s+1,hexToInt(i,s),hexToInt(o,s));for(let e=1;e=0;--s){n[a+s]=255&i;i>>=8}}}}class AsciiHexStream extends DecodeStream{constructor(e,t){t&&(t*=.5);super(t);this.stream=e;this.dict=e.dict;this.firstDigit=-1}readBlock(){const e=this.stream.getBytes(8e3);if(!e.length){this.eof=!0;return}const t=e.length+1>>1,a=this.ensureBuffer(this.bufferLength+t);let n=this.bufferLength,s=this.firstDigit;for(const t of e){let e;if(t>=48&&t<=57)e=15&t;else{if(!(t>=65&&t<=70||t>=97&&t<=102)){if(62===t){this.eof=!0;break}continue}e=9+(15&t)}if(s<0)s=e;else{a[n++]=s<<4|e;s=-1}}if(s>=0&&this.eof){a[n++]=s<<4;s=-1}this.firstDigit=s;this.bufferLength=n}}let Ja=(()=>{const e=Int32Array.from([256,402,436,468,500,534,566,598,630,662,694,726,758,790,822,854,886,920,952,984,1016,1048,1080]),t=Int32Array.from([1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15]),a=Int32Array.from([0,3,2,1,0,0,0,0,0,0,3,3,3,3,3,3]),n=Int32Array.from([0,0,0,0,-1,1,-2,2,-3,3,-1,1,-2,2,-3,3]),s=Int32Array.from([131072,131076,131075,196610,131072,131076,131075,262145,131072,131076,131075,196610,131072,131076,131075,262149]),r=Int32Array.from([1,5,9,13,17,25,33,41,49,65,81,97,113,145,177,209,241,305,369,497,753,1265,2289,4337,8433,16625]),i=Int32Array.from([2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,7,8,9,10,11,12,13,24]),o=Int16Array.from([0,0,0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,7,8,9,10,12,14,24]),l=Int16Array.from([0,0,0,0,0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,7,8,9,10,24]),f=new Int16Array(2816);!function unpackCommandLookupTable(e){const t=new Int32Array(24),a=new Int32Array(24);a[0]=2;for(let e=0;e<23;++e){t[e+1]=t[e]+(1<>6,r=-4;if(s>=2){s-=2;r=0}const i=(170064>>2*s&3)<<3|n>>3&7,f=(156228>>2*s&3)<<3|7&n,c=a[f],h=r+Math.min(c,5)-2,u=4*n;e[u]=o[i]|l[f]<<8;e[u+1]=t[i];e[u+2]=a[f];e[u+3]=h}}(f);function log2floor(e){let t=-1,a=16,n=e;for(;a>0;){let e=n>>a;if(0!==e){t+=a;n=e}a>>=1}return t+n}function calculateDistanceAlphabetSize(e,t,a){return 16+t+2*(a<>a),r=log2floor(s)-1;return((r-1<<1|s>>r&1)-1<=16){e.accumulator32=e.shortBuffer[e.halfOffset++]<<16|e.accumulator32>>>16;e.bitOffset-=16}if(0!==readFewBits(e,1)){const t=readFewBits(e,3);return 0===t?1:readFewBits(e,t)+(1<>>a.bitOffset;n+=255&s;const r=e[n]>>16,i=65535&e[n];if(r<=8){a.bitOffset+=r;return i}n+=i;n+=(s&(1<>>8;a.bitOffset+=8+(e[n]>>16);return 65535&e[n]}function readBlockLength(e,t,a){if(a.bitOffset>=16){a.accumulator32=a.shortBuffer[a.halfOffset++]<<16|a.accumulator32>>>16;a.bitOffset-=16}const n=readSymbol(e,t,a),s=i[n];if(a.bitOffset>=16){a.accumulator32=a.shortBuffer[a.halfOffset++]<<16|a.accumulator32>>>16;a.bitOffset-=16}return r[n]+(s<=16?readFewBits(a,s):readManyBits(a,s))}function moveToFront(e,t){let a=t;const n=e[a];for(;a>0;){e[a]=e[a-1];a--}e[0]=n}function readSimpleHuffmanCode(e,t,a,n,s){const r=new Int32Array(t),i=new Int32Array(4),o=1+log2floor(e-1),l=readFewBits(s,2)+1;for(let e=0;e=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}const a=readFewBits(s,o);if(a>=t)return makeError(s,-15);i[e]=a}const f=function checkDupes(e,t,a){for(let n=0;n=16){i.accumulator32=i.shortBuffer[i.halfOffset++]<<16|i.accumulator32>>>16;i.bitOffset-=16}const n=i.accumulator32>>>i.bitOffset&15;i.bitOffset+=s[n]>>16;const r=65535&s[n];l[a]=r;if(0!==r){f-=32>>r;c++;if(f<=0)break}}if(0!==f&&1!==c)return makeError(i,-4);const h=function readHuffmanCodeLengths(e,t,a,n){let s=0,r=8,i=0,o=0,l=32768;const f=new Int32Array(33);buildHuffmanTable(f,f.length-1,5,e,18);for(;s0;){if(n.halfOffset>2030){const e=readMoreInput(n);if(e<0)return e}if(n.bitOffset>=16){n.accumulator32=n.shortBuffer[n.halfOffset++]<<16|n.accumulator32>>>16;n.bitOffset-=16}const e=n.accumulator32>>>n.bitOffset&31;n.bitOffset+=f[e]>>16;const c=65535&f[e];if(c<16){i=0;a[s++]=c;if(0!==c){r=c;l-=32768>>c}}else{const e=c-14;let f=0;16===c&&(f=r);if(o!==f){i=0;o=f}const h=i;if(i>0){i-=2;i<<=e}if(n.bitOffset>=16){n.accumulator32=n.shortBuffer[n.halfOffset++]<<16|n.accumulator32>>>16;n.bitOffset-=16}i+=readFewBits(n,e)+3;const u=i-h;if(s+u>t)return makeError(n,-2);for(let e=0;e2030){const e=readMoreInput(s);if(e<0)return e}if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}const r=readFewBits(s,2);return 1===r?readSimpleHuffmanCode(e,t,a,n,s):readComplexHuffmanCode(t,r,a,n,s)}function decodeContextMap(t,a,n){let s;if(n.halfOffset>2030){s=readMoreInput(n);if(s<0)return s}const r=decodeVarLenUnsignedByte(n)+1;if(1===r){a.fill(0,0,t);return r}if(n.bitOffset>=16){n.accumulator32=n.shortBuffer[n.halfOffset++]<<16|n.accumulator32>>>16;n.bitOffset-=16}let i=0;0!==readFewBits(n,1)&&(i=readFewBits(n,4)+1);const o=r+i,l=e[o+31>>5],f=new Int32Array(l+1),c=f.length-1;s=readHuffmanCode(o,o,f,c,n);if(s<0)return s;let h=0;for(;h2030){s=readMoreInput(n);if(s<0)return s}if(n.bitOffset>=16){n.accumulator32=n.shortBuffer[n.halfOffset++]<<16|n.accumulator32>>>16;n.bitOffset-=16}const e=readSymbol(f,c,n);if(0===e){a[h]=0;h++}else if(e<=i){if(n.bitOffset>=16){n.accumulator32=n.shortBuffer[n.halfOffset++]<<16|n.accumulator32>>>16;n.bitOffset-=16}let s=(1<=t)return makeError(n,-3);a[h]=0;h++;s--}}else{a[h]=e-i;h++}}if(n.bitOffset>=16){n.accumulator32=n.shortBuffer[n.halfOffset++]<<16|n.accumulator32>>>16;n.bitOffset-=16}1===readFewBits(n,1)&&function inverseMoveToFrontTransform(e,t){const a=new Int32Array(256);for(let e=0;e<256;++e)a[e]=e;for(let n=0;n=16){e.accumulator32=e.shortBuffer[e.halfOffset++]<<16|e.accumulator32>>>16;e.bitOffset-=16}let r=readSymbol(e.blockTrees,2*t,e);const i=readBlockLength(e.blockTrees,2*t+1,e);1===r?r=n[s+1]+1:0===r?r=n[s]:r-=2;r>=a&&(r-=a);n[s]=n[s+1];n[s+1]=r;return i}function decodeLiteralBlockSwitch(e){e.literalBlockLength=decodeBlockTypeAndLength(e,0,e.numLiteralBlockTypes);const t=e.rings[5];e.contextMapSlice=t<<6;e.literalTreeIdx=255&e.contextMap[e.contextMapSlice];const a=e.contextModes[t];e.contextLookupOffset1=a<<9;e.contextLookupOffset2=e.contextLookupOffset1+256}function decodeCommandBlockSwitch(e){e.commandBlockLength=decodeBlockTypeAndLength(e,1,e.numCommandBlockTypes);e.commandTreeIdx=e.rings[7]}function decodeDistanceBlockSwitch(e){e.distanceBlockLength=decodeBlockTypeAndLength(e,2,e.numDistanceBlockTypes);e.distContextMapSlice=e.rings[9]<<2}function readNextMetablockHeader(e){if(0!==e.inputEnd){e.nextRunningState=10;e.runningState=12;return 0}e.literalTreeGroup=new Int32Array(0);e.commandTreeGroup=new Int32Array(0);e.distanceTreeGroup=new Int32Array(0);let t;if(e.halfOffset>2030){t=readMoreInput(e);if(t<0)return t}t=function decodeMetaBlockLength(e){if(e.bitOffset>=16){e.accumulator32=e.shortBuffer[e.halfOffset++]<<16|e.accumulator32>>>16;e.bitOffset-=16}e.inputEnd=readFewBits(e,1);e.metaBlockLength=0;e.isUncompressed=0;e.isMetadata=0;if(0!==e.inputEnd&&0!==readFewBits(e,1))return 0;const t=readFewBits(e,2)+4;if(7===t){e.isMetadata=1;if(0!==readFewBits(e,1))return makeError(e,-6);const t=readFewBits(e,2);if(0===t)return 0;for(let a=0;a=16){e.accumulator32=e.shortBuffer[e.halfOffset++]<<16|e.accumulator32>>>16;e.bitOffset-=16}const n=readFewBits(e,8);if(0===n&&a+1===t&&t>1)return makeError(e,-8);e.metaBlockLength+=n<<8*a}}else for(let a=0;a=16){e.accumulator32=e.shortBuffer[e.halfOffset++]<<16|e.accumulator32>>>16;e.bitOffset-=16}const n=readFewBits(e,4);if(0===n&&a+1===t&&t>4)return makeError(e,-8);e.metaBlockLength+=n<<4*a}e.metaBlockLength++;0===e.inputEnd&&(e.isUncompressed=readFewBits(e,1));return 0}(e);if(t<0)return t;if(0===e.metaBlockLength&&0===e.isMetadata)return 0;if(0!==e.isUncompressed||0!==e.isMetadata){t=jumpToByteBoundary(e);if(t<0)return t;0===e.isMetadata?e.runningState=6:e.runningState=5}else e.runningState=3;if(0!==e.isMetadata)return 0;e.expectedTotalSize+=e.metaBlockLength;e.expectedTotalSize>1<<30&&(e.expectedTotalSize=1<<30);e.ringBufferSizee.expectedTotalSize){const a=e.expectedTotalSize;for(;t>>1>a;)t>>=1;0===e.inputEnd&&t<16384&&e.maxRingBufferSize>=16384&&(t=16384)}if(t<=e.ringBufferSize)return;const a=new Int8Array(t+37),n=e.ringBuffer;0!==n.length&&a.set(n.subarray(0,e.ringBufferSize),0);e.ringBuffer=a;e.ringBufferSize=t}(e);return 0}function readMetablockPartition(e,t,a){let n=e.blockTrees[2*t];if(a<=1){e.blockTrees[2*t+1]=n;e.blockTrees[2*t+2]=n;return 1<<28}const s=a+2;let r=readHuffmanCode(s,s,e.blockTrees,2*t,e);if(r<0)return r;n+=r;e.blockTrees[2*t+1]=n;r=readHuffmanCode(26,26,e.blockTrees,2*t+1,e);if(r<0)return r;n+=r;e.blockTrees[2*t+2]=n;return readBlockLength(e.blockTrees,2*t+1,e)}function readMetablockHuffmanCodesAndContextMaps(e){e.numLiteralBlockTypes=decodeVarLenUnsignedByte(e)+1;let t=readMetablockPartition(e,0,e.numLiteralBlockTypes);if(t<0)return t;e.literalBlockLength=t;e.numCommandBlockTypes=decodeVarLenUnsignedByte(e)+1;t=readMetablockPartition(e,1,e.numCommandBlockTypes);if(t<0)return t;e.commandBlockLength=t;e.numDistanceBlockTypes=decodeVarLenUnsignedByte(e)+1;t=readMetablockPartition(e,2,e.numDistanceBlockTypes);if(t<0)return t;e.distanceBlockLength=t;if(e.halfOffset>2030){t=readMoreInput(e);if(t<0)return t}if(e.bitOffset>=16){e.accumulator32=e.shortBuffer[e.halfOffset++]<<16|e.accumulator32>>>16;e.bitOffset-=16}e.distancePostfixBits=readFewBits(e,2);e.numDirectDistanceCodes=readFewBits(e,4)<=16){e.accumulator32=e.shortBuffer[e.halfOffset++]<<16|e.accumulator32>>>16;e.bitOffset-=16}e.contextModes[a]=readFewBits(e,2);a++}if(e.halfOffset>2030){t=readMoreInput(e);if(t<0)return t}}const n=e.numLiteralBlockTypes<<6;e.contextMap=new Int8Array(n);t=decodeContextMap(n,e.contextMap,e);if(t<0)return t;const s=t;e.trivialLiteralContext=1;for(let t=0;t>6){e.trivialLiteralContext=0;break}e.distContextMap=new Int8Array(e.numDistanceBlockTypes<<2);t=decodeContextMap(e.numDistanceBlockTypes<<2,e.distContextMap,e);if(t<0)return t;const r=t;e.literalTreeGroup=new Int32Array(huffmanTreeGroupAllocSize(256,s));t=decodeHuffmanTreeGroup(256,256,s,e,e.literalTreeGroup);if(t<0)return t;e.commandTreeGroup=new Int32Array(huffmanTreeGroupAllocSize(704,e.numCommandBlockTypes));t=decodeHuffmanTreeGroup(704,704,e.numCommandBlockTypes,e,e.commandTreeGroup);if(t<0)return t;let i=calculateDistanceAlphabetSize(e.distancePostfixBits,e.numDirectDistanceCodes,24),o=i;if(1===e.isLargeWindow){i=calculateDistanceAlphabetSize(e.distancePostfixBits,e.numDirectDistanceCodes,62);t=calculateDistanceAlphabetLimit(e,2147483644,e.distancePostfixBits,e.numDirectDistanceCodes);if(t<0)return t;o=t}e.distanceTreeGroup=new Int32Array(huffmanTreeGroupAllocSize(o,r));t=decodeHuffmanTreeGroup(i,o,r,e,e.distanceTreeGroup);if(t<0)return t;!function calculateDistanceLut(e,t){const a=e.distExtraBits,n=e.distOffset,s=e.distancePostfixBits,r=e.numDirectDistanceCodes,i=1<>>e.bitOffset;e.bitOffset+=8;r--}if(0===r)return 0;const i=Math.min(halfAvailable(e),r>>1);if(i>0){const a=e.halfOffset<<1,n=i<<1;t.set(e.byteBuffer.subarray(a,a+n),s);s+=n;r-=n;e.halfOffset+=i}if(0===r)return 0;if(halfAvailable(e)>0){if(e.bitOffset>=16){e.accumulator32=e.shortBuffer[e.halfOffset++]<<16|e.accumulator32>>>16;e.bitOffset-=16}for(;0!==r;){t[s++]=e.accumulator32>>>e.bitOffset;e.bitOffset+=8;r--}return checkHealth(e,0)}for(;r>0;){const a=readInput(e,t,s,r);if(a<-1)return a;if(a<=0)return makeError(e,-16);s+=a;r-=a}return 0}(e,t,e.pos,n);if(a<0)return a;e.metaBlockLength-=n;e.pos+=n;if(e.pos===e.ringBufferSize){e.nextRunningState=6;e.runningState=12;return 0}a=reload(e);if(a<0)return a;e.runningState=2;return 0}function writeRingBuffer(e){const t=Math.min(e.outputLength-e.outputUsed,e.ringBufferBytesReady-e.ringBufferBytesWritten);if(0!==t){e.output.set(e.ringBuffer.subarray(e.ringBufferBytesWritten,e.ringBufferBytesWritten+t),e.outputOffset+e.outputUsed);e.outputUsed+=t;e.ringBufferBytesWritten+=t}return e.outputUsed>5]}function decodeHuffmanTreeGroup(e,t,a,n,s){let r=a;for(let i=0;i2147483644)return makeError(e,-9);const a=e.distance-e.maxDistance-1-e.cdTotalSize;if(a<0){const t=function initializeCompoundDictionaryCopy(e,t,a){-1===e.cdBlockBits&&function initializeCompoundDictionary(e){e.cdBlockMap=new Int8Array(256);let t=8;for(;e.cdTotalSize-1>>t;)t++;t-=8;e.cdBlockBits=t;let a=0,n=0;for(;a>t]=n;a+=1<>e.cdBlockBits];for(;t>=e.cdChunkOffsets[n+1];)n++;if(e.cdTotalSize>t+a)return makeError(e,-9);e.distRbIdx=e.distRbIdx+1&3;e.rings[e.distRbIdx]=e.distance;e.metaBlockLength-=a;e.cdBrIndex=n;e.cdBrOffset=t-e.cdChunkOffsets[n];e.cdBrLength=a;e.cdBrCopied=0;return 0}(e,-a-1,e.copyLength);if(t<0)return t;e.runningState=14}else{const n=u,s=e.copyLength;if(s>31)return makeError(e,-9);const r=p[s];if(0===r)return makeError(e,-9);let i=m[s];const o=a>>r;i+=(a&(1<=l.numTransforms)return makeError(e,-9);const f=function transformDictionaryWord(e,t,a,n,s,r,i){let o=t;const l=r.triplets,f=r.prefixSuffixStorage,c=r.prefixSuffixHeads,h=3*i,u=l[h],m=l[h+1],p=l[h+2];let d=c[u];const g=c[u+1];let b=c[p];const w=c[p+1];let j=m-11,k=m;(j<1||j>9)&&(j=0);(k<1||k>9)&&(k=0);for(;d!==g;)e[o++]=f[d++];let y=s;j>y&&(j=y);let q=n+j;y-=j;y-=k;let v=y;for(;v>0;){e[o++]=a[q++];v--}if(10===m||11===m){let t=o-y;10===m&&(y=1);for(;y>0;){const a=255&e[t];if(a<192){a>=97&&a<=122&&(e[t]=32^e[t]);t+=1;y-=1}else if(a<224){e[t+1]=32^e[t+1];t+=2;y-=2}else{e[t+2]=5^e[t+2];t+=3;y-=3}}}else if(21===m||22===m){let t=o-y;const a=r.params[i];let n=16777216-(32768&a)+(32767&a);for(;y>0;){let a=1;const s=255&e[t];if(s<128){n+=s;e[t]=127&n}else if(s<192);else if(s<224)if(y>=2){const r=e[t+1];n+=63&r|(31&s)<<6;e[t]=192|n>>6&31;e[t+1]=192&r|63&n;a=2}else a=y;else if(s<240)if(y>=3){const r=e[t+1],i=e[t+2];n+=63&i|(63&r)<<6|(15&s)<<12;e[t]=224|n>>12&15;e[t+1]=192&r|n>>6&63;e[t+2]=192&i|63&n;a=3}else a=y;else if(s<248)if(y>=4){const r=e[t+1],i=e[t+2],o=e[t+3];n+=63&o|(63&i)<<6|(63&r)<<12|(7&s)<<18;e[t]=240|n>>18&7;e[t+1]=192&r|n>>12&63;e[t+2]=192&i|n>>6&63;e[t+3]=192&o|63&n;a=4}else a=y;t+=a;y-=a;21===m&&(y=0)}}for(;b!==w;)e[o++]=f[b++];return o-t}(e.ringBuffer,e.pos,n,i,s,l,o);e.pos+=f;e.metaBlockLength-=f;if(e.pos>=t){e.nextRunningState=4;e.runningState=12;return 0}e.runningState=4}return 0}function copyFromCompoundDictionary(e,t){let a=e.pos;const n=a;for(;e.cdBrLength!==e.cdBrCopied;){const n=t-a,s=e.cdChunkOffsets[e.cdBrIndex+1]-e.cdChunkOffsets[e.cdBrIndex]-e.cdBrOffset;let r=e.cdBrLength-e.cdBrCopied;r>s&&(r=s);r>n&&(r=n);e.ringBuffer.set(e.cdChunks[e.cdBrIndex].subarray(e.cdBrOffset,e.cdBrOffset+r),a);a+=r;e.cdBrOffset+=r;e.cdBrCopied+=r;if(r===s){e.cdBrIndex++;e.cdBrOffset=0}if(a>=t)break}return a-n}function decompress(e){let t;if(0===e.runningState)return makeError(e,-25);if(e.runningState<0)return makeError(e,-28);if(11===e.runningState)return makeError(e,-22);if(1===e.runningState){const t=function decodeWindowBits(e){const t=e.isLargeWindow;e.isLargeWindow=0;if(e.bitOffset>=16){e.accumulator32=e.shortBuffer[e.halfOffset++]<<16|e.accumulator32>>>16;e.bitOffset-=16}if(0===readFewBits(e,1))return 16;let a=readFewBits(e,3);if(0!==a)return 17+a;a=readFewBits(e,3);if(0!==a){if(1===a){if(0===t)return-1;e.isLargeWindow=1;if(1===readFewBits(e,1))return-1;a=readFewBits(e,6);return a<10||a>30?-1:a}return 8+a}return 17}(e);if(-1===t)return makeError(e,-11);e.maxRingBufferSize=1<2030){t=readMoreInput(e);if(t<0)return t}0===e.commandBlockLength&&decodeCommandBlockSwitch(e);e.commandBlockLength--;if(e.bitOffset>=16){e.accumulator32=e.shortBuffer[e.halfOffset++]<<16|e.accumulator32>>>16;e.bitOffset-=16}const o=readSymbol(e.commandTreeGroup,e.commandTreeIdx,e)<<2,l=f[o],c=f[o+1],u=f[o+2];e.distanceCode=f[o+3];if(e.bitOffset>=16){e.accumulator32=e.shortBuffer[e.halfOffset++]<<16|e.accumulator32>>>16;e.bitOffset-=16}const m=255&l;e.insertLength=c+(m<=16?readFewBits(e,m):readManyBits(e,m));if(e.bitOffset>=16){e.accumulator32=e.shortBuffer[e.halfOffset++]<<16|e.accumulator32>>>16;e.bitOffset-=16}const p=l>>8;e.copyLength=u+(p<=16?readFewBits(e,p):readManyBits(e,p));e.j=0;e.runningState=7;continue;case 7:if(0!==e.trivialLiteralContext)for(;e.j2030){t=readMoreInput(e);if(t<0)return t}0===e.literalBlockLength&&decodeLiteralBlockSwitch(e);e.literalBlockLength--;if(e.bitOffset>=16){e.accumulator32=e.shortBuffer[e.halfOffset++]<<16|e.accumulator32>>>16;e.bitOffset-=16}i[e.pos]=readSymbol(e.literalTreeGroup,e.literalTreeIdx,e);e.pos++;e.j++;if(e.pos>=s){e.nextRunningState=7;e.runningState=12;break}}else{let a=255&i[e.pos-1&r],n=255&i[e.pos-2&r];for(;e.j2030){t=readMoreInput(e);if(t<0)return t}0===e.literalBlockLength&&decodeLiteralBlockSwitch(e);const r=h[e.contextLookupOffset1+a]|h[e.contextLookupOffset2+n],o=255&e.contextMap[e.contextMapSlice+r];e.literalBlockLength--;n=a;if(e.bitOffset>=16){e.accumulator32=e.shortBuffer[e.halfOffset++]<<16|e.accumulator32>>>16;e.bitOffset-=16}a=readSymbol(e.literalTreeGroup,o,e);i[e.pos]=a;e.pos++;e.j++;if(e.pos>=s){e.nextRunningState=7;e.runningState=12;break}}}if(7!==e.runningState)continue;e.metaBlockLength-=e.insertLength;if(e.metaBlockLength<=0){e.runningState=4;continue}let d=e.distanceCode;if(d<0)e.distance=e.rings[e.distRbIdx];else{if(e.halfOffset>2030){t=readMoreInput(e);if(t<0)return t}0===e.distanceBlockLength&&decodeDistanceBlockSwitch(e);e.distanceBlockLength--;if(e.bitOffset>=16){e.accumulator32=e.shortBuffer[e.halfOffset++]<<16|e.accumulator32>>>16;e.bitOffset-=16}const s=255&e.distContextMap[e.distContextMapSlice+d];d=readSymbol(e.distanceTreeGroup,s,e);if(d<16){const t=e.distRbIdx+a[d]&3;e.distance=e.rings[t]+n[d];if(e.distance<0)return makeError(e,-12)}else{const t=e.distExtraBits[d];let a;if(e.bitOffset+t<=32)a=readFewBits(e,t);else{if(e.bitOffset>=16){e.accumulator32=e.shortBuffer[e.halfOffset++]<<16|e.accumulator32>>>16;e.bitOffset-=16}a=t<=16?readFewBits(e,t):readManyBits(e,t)}e.distance=e.distOffset[d]+(a<e.maxDistance){e.runningState=9;continue}if(d>0){e.distRbIdx=e.distRbIdx+1&3;e.rings[e.distRbIdx]=e.distance}if(e.copyLength>e.metaBlockLength)return makeError(e,-9);e.j=0;e.runningState=8;continue;case 8:let g=e.pos-e.distance&r,b=e.pos;const w=e.copyLength-e.j,j=g+w,k=b+w;if(jb&&k>g){const e=w+3>>2;for(let t=0;t=s){e.nextRunningState=8;e.runningState=12;break}}8===e.runningState&&(e.runningState=4);continue;case 9:t=doUseDictionary(e,s);if(t<0)return t;continue;case 14:e.pos+=copyFromCompoundDictionary(e,s);if(e.pos>=s){e.nextRunningState=14;e.runningState=12;return 2}e.runningState=4;continue;case 5:for(;e.metaBlockLength>0;){if(e.halfOffset>2030){t=readMoreInput(e);if(t<0)return t}if(e.bitOffset>=16){e.accumulator32=e.shortBuffer[e.halfOffset++]<<16|e.accumulator32>>>16;e.bitOffset-=16}readFewBits(e,8);e.metaBlockLength--}e.runningState=2;continue;case 6:t=copyUncompressedData(e);if(t<0)return t;continue;case 12:e.ringBufferBytesReady=Math.min(e.pos,e.ringBufferSize);e.runningState=13;continue;case 13:t=writeRingBuffer(e);if(0!==t)return t;e.pos>=e.maxBackwardDistance&&(e.maxDistance=e.maxBackwardDistance);if(e.pos>=e.ringBufferSize){e.pos>e.ringBufferSize&&i.copyWithin(0,e.ringBufferSize,e.pos);e.pos=e.pos&r;e.ringBufferBytesWritten=0}e.runningState=e.nextRunningState;continue;default:return makeError(e,-28)}if(10!==e.runningState)return makeError(e,-29);if(e.metaBlockLength<0)return makeError(e,-10);t=jumpToByteBoundary(e);if(0!==t)return t;t=checkHealth(e,1);return 0!==t?t:1}const c=new function Transforms(e,t,a){this.numTransforms=0;this.triplets=new Int32Array(0);this.prefixSuffixStorage=new Int8Array(0);this.prefixSuffixHeads=new Int32Array(0);this.params=new Int16Array(0);this.numTransforms=e;this.triplets=new Int32Array(3*e);this.params=new Int16Array(e);this.prefixSuffixStorage=new Int8Array(t);this.prefixSuffixHeads=new Int32Array(a+1)}(121,167,50);!function unpackTransforms(e,t,a,n,s){const r=toUtf8Runes(n),i=r.length;let o=1,l=0;for(let a=0;a#\n#]# for # a # that #. # with #\'# from # by #. The # on # as # is #ing #\n\t#:#ed #(# at #ly #="# of the #. This #,# not #er #al #=\'#ful #ive #less #est #ize #ous #'," !! ! , *! &! \" ! ) * * - ! # ! #!*! + ,$ ! - % . / # 0 1 . \" 2 3!* 4% ! # / 5 6 7 8 0 1 & $ 9 + : ; < ' != > ?! 4 @ 4 2 & A *# ( B C& ) % ) !*# *-% A +! *. D! %' & E *6 F G% ! *A *% H! D I!+! J!+ K +- *4! A L!*4 M N +6 O!*% +.! K *G P +%( ! G *D +D Q +# *K!*G!+D!+# +G +A +4!+% +K!+4!*D!+K!*K");function getNextKey(e,t){let a=1<>=1;return(e&a-1)+a}function replicateValue(e,t,a,n,s){let r=n;for(;r>0;){r-=a;e[t+r]=s}}function nextTableBitSize(e,t,a){let n=t,s=1<0;){replicateValue(e,r+u,p,c,t<<16|i[m++]);u=getNextKey(u,t);o[t]--}}const d=h-1;let g=-1,b=r;p=1;for(let t=a+1;t<=15;++t){p<<=1;for(;o[t]>0;){if((u&d)!==g){b+=c;f=nextTableBitSize(o,t,a);c=1<>a),p,c,t-a<<16|i[m++]);u=getNextKey(u,t);o[t]--}}return h}function readMoreInput(e){if(0!==e.endOfStreamReached)return halfAvailable(e)>=-2?0:makeError(e,-16);const t=e.halfOffset<<1;let a=4096-t;e.byteBuffer.copyWithin(0,t,4096);e.halfOffset=0;for(;a<4096;){const t=4096-a,n=readInput(e,e.byteBuffer,a,t);if(n<-1)return n;if(n<=0){e.endOfStreamReached=1;e.tailBytes=a;a+=1;break}a+=n}!function bytesToNibbles(e,t){const a=e.byteBuffer,n=t>>1,s=e.shortBuffer;for(let e=0;e>3)-4;return a>e.tailBytes?makeError(e,-13):0!==t&&a!==e.tailBytes?makeError(e,-17):0}function readFewBits(e,t){const a=e.accumulator32>>>e.bitOffset&(1<>>16;e.bitOffset-=16;return a|readFewBits(e,t-16)<<16}function prepare(e){if(e.halfOffset>2030){const t=readMoreInput(e);if(0!==t)return t}let t=checkHealth(e,0);if(0!==t)return t;e.accumulator32=e.shortBuffer[e.halfOffset++]<<16|e.accumulator32>>>16;e.bitOffset-=16;e.accumulator32=e.shortBuffer[e.halfOffset++]<<16|e.accumulator32>>>16;e.bitOffset-=16;return 0}function reload(e){return 32===e.bitOffset?prepare(e):0}function jumpToByteBoundary(e){const t=32-e.bitOffset&7;if(0!==t){if(0!==readFewBits(e,t))return makeError(e,-5)}return 0}function halfAvailable(e){let t=2048;0!==e.endOfStreamReached&&(t=e.tailBytes+1>>1);return t-e.halfOffset}const h=new Int32Array(2048);!function unpackLookupTable(e,t,a){for(let t=0;t<256;++t){e[t]=63&t;e[512+t]=t>>2;e[1792+t]=2+(t>>6)}for(let a=0;a<128;++a)e[1024+a]=4*(t.charCodeAt(a)-32);for(let t=0;t<64;++t){e[1152+t]=1&t;e[1216+t]=2+(1&t)}let n=1280;for(let t=0;t<19;++t){const s=3&t,r=a.charCodeAt(t)-32;for(let t=0;t>1;for(let e=0;e!pfwp6s{8-ip<73s{je#+pllmpfbwmlmfwvafyfqlpfmwqffgeb`wjmwldjewkbqn2;s{`bnfkjooalogyllnuljgfbpzqjmdejoosfbhjmjw`lpw0s{8ib`hwbdpajwpqloofgjwhmftmfbq?"..dqltIPLMgvwzMbnfpbofzlv#olwpsbjmibyy`logfzfpejpkttt-qjphwbapsqfu23s{qjpf16s{Aovfgjmd033/abooelqgfbqmtjogal{-ebjqob`hufqpsbjqivmfwf`kje+"sj`hfujo\'+! tbqnolqgglfpsvoo/333jgfbgqbtkvdfpslwevmgavqmkqfe`foohfzpwj`hklvqolppevfo21s{pvjwgfboQPP!bdfgdqfzDFW!fbpfbjnpdjqobjgp;s{8mbuzdqjgwjsp :::tbqpobgz`bqp*8#~sksolpfmvooubpwtjmgQPP#tfbqqfozaffmpbnfgvhfmbpb`bsftjpkdvoeW109kjwppolwdbwfhj`haovqwkfz26s{$$*8*8!=npjftjmpajqgplqwafwbpffhW2;9lqgpwqffnboo53s{ebqnlupalzpX3^-$*8!SLPWafbqhjgp*8~~nbqzwfmg+VH*rvbgyk9\n.pjy....sqls$*8ojewW2:9uj`fbmgzgfaw=QPPsllomf`haoltW259gllqfuboW249ofwpebjolqbosloomlub`lopdfmf#lxplewqlnfwjooqlpp?k0=slvqebgfsjmh?wq=njmj*"+njmfyk9abqpkfbq33*8njoh#..=jqlmeqfggjphtfmwpljosvwp,ip,klozW119JPAMW139bgbnpffp?k1=iplm$/#$`lmwW129#QPPollsbpjbnllm?,s=plvoOJMFelqw`bqwW279?k2=;3s{"..?:s{8W379njhf975Ymj`fjm`kZlqhqj`fyk9\b$**8svqfnbdfsbqbwlmfalmg904Y\\le\\$^*8333/yk9\vwbmhzbqgaltoavpk965YIbub03s{\t~\t&@0&907YifeeF[SJ`bpkujpbdloepmltyk9rvfq-`pppj`hnfbwnjm-ajmggfookjqfsj`pqfmw905YKWWS.132elwltloeFMG#{al{967YALGZgj`h8\t~\tf{jw906Yubqpafbw$~*8gjfw:::8bmmf~~?,Xj^-Obmdhn.^tjqfwlzpbggppfbobof{8\t\n~f`klmjmf-lqd336*wlmziftppbmgofdpqlle333*#133tjmfdfbqgldpallwdbqz`vwpwzofwfnswjlm-{no`l`hdbmd\'+$-63s{Sk-Gnjp`bobmolbmgfphnjofqzbmvmj{gjp`*8~\tgvpw`ojs*-\t\t43s{.133GUGp4^=?wbsfgfnlj((*tbdffvqlskjolswpklofEBRpbpjm.15WobapsfwpVQO#avoh`llh8~\tKFBGX3^*baaqivbm+2:;ofpkwtjm?,j=plmzdvzpev`hsjsf.\t"331*mgltX2^8X^8\tOld#pbow\t\n\nabmdwqjnabwk*x\t33s{\t~*8hl9\0effpbg=p9,,#X^8wloosovd+*x\tx\t#-ip$133sgvboalbw-ISD*8\t~rvlw*8\t\t$*8\t\t~1327132613251324132;132:13131312131113101317131613151314131;131:130313021301130013071306130513041320132113221323133:133;133413351336133713301331133213332:::2::;2::42::52::62::72::02::12::22::32:;:2:;;2:;42:;52:;62:;72:;02:;12:;22:;32:4:2:4;2:442:452:462:472:402:412:422:432:5:2:5;2:542:552:562:572:502:512:522:532:6:2:6;2:642:652:662:672:602:612:622:632333231720:73333::::`lnln/Mpfpwffpwbsfqlwlglkb`f`bgbb/]lajfmg/Abbp/Aujgb`bpllwqlelqlplollwqb`vbogjilpjgldqbmwjslwfnbgfafbodlrv/Efpwlmbgbwqfpsl`l`bpbabilwlgbpjmlbdvbsvfpvmlpbmwfgj`fovjpfoobnbzlylmbbnlqsjpllaqb`oj`foolgjlpklqb`bpj<[<\\!sbqhpnlvpfNlpw#---?,bnlmdaqbjmalgz#mlmf8abpfg`bqqzgqbewqfefqsbdf\\klnf-nfwfqgfobzgqfbnsqlufiljmw?,wq=gqvdp?"..#bsqjojgfboboofmf{b`welqwk`lgfpoldj`Ujft#pffnpaobmhslqwp#+133pbufg\\ojmhdlbopdqbmwdqffhklnfpqjmdpqbwfg03s{8tklpfsbqpf+*8!#Aol`hojmv{ilmfpsj{fo$*8!=*8je+.ofewgbujgklqpfEl`vpqbjpfal{fpWqb`hfnfmw?,fn=abq!=-pq`>wltfqbow>!`baofkfmqz17s{8pfwvsjwbozpkbqsnjmlqwbpwftbmwpwkjp-qfpfwtkffodjqop,`pp,233&8`ovappwveeajaofulwfp#2333hlqfb~*8\tabmgprvfvf>#x~8;3s{8`hjmdx\t\n\nbkfbg`ol`hjqjpkojhf#qbwjlpwbwpElqn!zbkll*X3^8Balvwejmgp?,k2=gfavdwbphpVQO#>`foop~*+*821s{8sqjnfwfoopwvqmp3{533-isd!psbjmafb`kwb{fpnj`qlbmdfo..=?,djewppwfuf.ojmhalgz-~*8\t\nnlvmw#+2::EBR?,qldfqeqbmh@obpp1;s{8effgp?k2=?p`lwwwfpwp11s{8gqjmh*##oftjppkboo 30:8#elq#olufgtbpwf33s{8ib9npjnlm?elmwqfsoznffwpvmwfq`kfbswjdkwAqbmg*#">#gqfpp`ojspqllnplmhfznlajonbjm-Mbnf#sobwfevmmzwqffp`ln,!2-isdtnlgfsbqbnPWBQWofew#jggfm/#132*8\t~\telqn-ujqvp`kbjqwqbmptlqpwSbdfpjwjlmsbw`k?"..\tl.`b`ejqnpwlvqp/333#bpjbmj((*xbglaf$*X3^jg>23alwk8nfmv#-1-nj-smd!hfujm`lb`k@kjogaqv`f1-isdVQO*(-isdpvjwfpoj`fkbqqz213!#ptffwwq=\tmbnf>gjfdlsbdf#ptjpp..=\t\t eee8!=Old-`ln!wqfbwpkffw*#%%#27s{8poffsmwfmwejofgib9ojg>!`Mbnf!tlqpfpklwp.al{.gfowb\t%ow8afbqp97;Y?gbwb.qvqbo?,b=#psfmgabhfqpklsp>#!!8sks!=`wjlm20s{8aqjbmkfoolpjyf>l>&1E#iljmnbzaf?jnd#jnd!=/#eipjnd!#!*X3^NWlsAWzsf!mftozGbmph`yf`kwqbjohmltp?,k6=ebr!=yk.`m23*8\t.2!*8wzsf>aovfpwqvozgbujp-ip$8=\t?"pwffo#zlv#k1=\telqn#ifpvp233&#nfmv-\t\n\ttbofpqjphpvnfmwggjmda.ojhwfb`kdje!#ufdbpgbmphffpwjpkrjspvlnjplaqfgfpgffmwqfwlglpsvfgfb/]lpfpw/Mwjfmfkbpwblwqlpsbqwfglmgfmvfulkb`fqelqnbnjpnlnfilqnvmglbrv/Ag/Abpp/_olbzvgbef`kbwlgbpwbmwlnfmlpgbwlplwqbppjwjlnv`klbklqbovdbqnbzlqfpwlpklqbpwfmfqbmwfpelwlpfpwbpsb/Apmvfubpbovgelqlpnfgjlrvjfmnfpfpslgfq`kjofpfq/Muf`fpgf`jqilp/Efpwbqufmwbdqvslkf`klfoolpwfmdlbnjdl`lpbpmjufodfmwfnjpnbbjqfpivojlwfnbpkb`jbebulqivmjlojaqfsvmwlavfmlbvwlqbaqjoavfmbwf{wlnbqylpbafqojpwbovfdl`/_nlfmfqlivfdlsfq/Vkbafqfpwlzmvm`bnvifqubolqevfqbojaqldvpwbjdvboulwlp`bplpdv/Absvfglplnlpbujplvpwfggfafmml`kfavp`bebowbfvqlppfqjfgj`kl`vqpl`obuf`bpbpof/_msobylobqdllaqbpujpwbbslzlivmwlwqbwbujpwl`qfbq`bnslkfnlp`jm`l`bqdlsjplplqgfmkb`fm/Mqfbgjp`lsfgql`fq`bsvfgbsbsfonfmlq/Vwjo`obqlilqdf`boofslmfqwbqgfmbgjfnbq`bpjdvffoobppjdol`l`kfnlwlpnbgqf`obpfqfpwlmj/]lrvfgbsbpbqabm`lkjilpujbifsbaol/Epwfujfmfqfjmlgfibqelmgl`bmbomlqwfofwqb`bvpbwlnbqnbmlpovmfpbvwlpujoobufmglsfpbqwjslpwfmdbnbq`loofubsbgqfvmjglubnlpylmbpbnalpabmgbnbqjbbavplnv`kbpvajqqjlibujujqdqbgl`kj`bboo/Ailufmgj`kbfpwbmwbofppbojqpvfolsfplpejmfpoobnbavp`l/Epwboofdbmfdqlsobybkvnlqsbdbqivmwbglaofjpobpalopbab/]lkbaobov`kb/mqfbgj`fmivdbqmlwbpuboofboo/M`bqdbglolqbabilfpw/Edvpwlnfmwfnbqjlejqnb`lpwlej`kbsobwbkldbqbqwfpofzfpbrvfonvpflabpfpsl`lpnjwbg`jfol`kj`lnjfgldbmbqpbmwlfwbsbgfafpsobzbqfgfppjfwf`lqwf`lqfbgvgbpgfpflujfilgfpfbbdvbp%rvlw8glnbjm`lnnlmpwbwvpfufmwpnbpwfqpzpwfnb`wjlmabmmfqqfnlufp`qloovsgbwfdolabonfgjvnejowfqmvnafq`kbmdfqfpvowsvaoj`p`qffm`kllpfmlqnbowqbufojppvfpplvq`fwbqdfwpsqjmdnlgvofnlajofptjw`ksklwlpalqgfqqfdjlmjwpfoepl`jbob`wjuf`lovnmqf`lqgelooltwjwof=fjwkfqofmdwkebnjozeqjfmgobzlvwbvwklq`qfbwfqfujftpvnnfqpfqufqsobzfgsobzfqf{sbmgsloj`zelqnbwglvaofsljmwppfqjfpsfqplmojujmdgfpjdmnlmwkpelq`fpvmjrvftfjdkwsflsoffmfqdzmbwvqfpfbq`kejdvqfkbujmd`vpwlnleepfwofwwfqtjmgltpvanjwqfmgfqdqlvspvsolbgkfbowknfwklgujgflpp`klloevwvqfpkbgltgfabwfubovfpLaif`wlwkfqpqjdkwpofbdvf`kqlnfpjnsofmlwj`fpkbqfgfmgjmdpfbplmqfslqwlmojmfprvbqfavwwlmjnbdfpfmbaofnlujmdobwfpwtjmwfqEqbm`fsfqjlgpwqlmdqfsfbwOlmglmgfwbjoelqnfggfnbmgpf`vqfsbppfgwlddofsob`fpgfuj`fpwbwj``jwjfppwqfbnzfooltbwwb`hpwqffweojdkwkjggfmjmel!=lsfmfgvpfevouboofz`bvpfpofbgfqpf`qfwpf`lmggbnbdfpslqwpf{`fswqbwjmdpjdmfgwkjmdpfeef`wejfogppwbwfpleej`fujpvbofgjwlqulovnfQfslqwnvpfvnnlujfpsbqfmwb``fppnlpwoznlwkfq!#jg>!nbqhfwdqlvmg`kbm`fpvqufzafelqfpznalonlnfmwpsff`knlwjlmjmpjgfnbwwfq@fmwfqlaif`wf{jpwpnjggofFvqlsfdqltwkofdb`znbmmfqfmlvdk`bqffqbmptfqlqjdjmslqwbo`ojfmwpfof`wqbmgln`olpfgwlsj`p`lnjmdebwkfqlswjlmpjnsozqbjpfgfp`bsf`klpfm`kvq`kgfejmfqfbplm`lqmfqlvwsvwnfnlqzjeqbnfsloj`fnlgfopMvnafqgvqjmdleefqppwzofphjoofgojpwfg`boofgpjoufqnbqdjmgfofwfafwwfqaqltpfojnjwpDolabopjmdoftjgdfw`fmwfqavgdfwmltqbs`qfgjw`objnpfmdjmfpbefwz`klj`fpsjqjw.pwzofpsqfbgnbhjmdmffgfgqvppjbsofbpff{wfmwP`qjswaqlhfmbooltp`kbqdfgjujgfeb`wlqnfnafq.abpfgwkflqz`lmejdbqlvmgtlqhfgkfosfg@kvq`kjnsb`wpklvogbotbzpoldl!#alwwlnojpw!=*xubq#sqfej{lqbmdfKfbgfq-svpk+`lvsofdbqgfmaqjgdfobvm`kQfujftwbhjmdujpjlmojwwofgbwjmdAvwwlmafbvwzwkfnfpelqdlwPfbq`kbm`klqbonlpwolbgfg@kbmdfqfwvqmpwqjmdqfolbgNlajofjm`lnfpvssozPlvq`flqgfqpujftfg%maps8`lvqpfBalvw#jpobmg?kwno#`llhjfmbnf>!bnbylmnlgfqmbguj`fjm?,b=9#Wkf#gjboldklvpfpAFDJM#Nf{j`lpwbqwp`fmwqfkfjdkwbggjmdJpobmgbppfwpFnsjqfP`kllofeelqwgjqf`wmfbqoznbmvboPfof`w-\t\tLmfiljmfgnfmv!=SkjojsbtbqgpkbmgofjnslqwLeej`fqfdbqgphjoopmbwjlmPslqwpgfdqfftffhoz#+f-d-afkjmggl`wlqolddfgvmjwfg?,a=?,afdjmpsobmwpbppjpwbqwjpwjppvfg033s{`bmbgbbdfm`zp`kfnfqfnbjmAqbyjopbnsofoldl!=afzlmg.p`bofb``fswpfqufgnbqjmfEllwfq`bnfqb?,k2=\t\\elqn!ofbufppwqfpp!#,=\t-dje!#lmolbgolbgfqL{elqgpjpwfqpvqujuojpwfmefnbofGfpjdmpjyf>!bssfbowf{w!=ofufopwkbmhpkjdkfqelq`fgbmjnbobmzlmfBeqj`bbdqffgqf`fmwSflsof?aq#,=tlmgfqsqj`fpwvqmfg#x~8nbjm!=jmojmfpvmgbztqbs!=ebjofg`fmpvpnjmvwfafb`lmrvlwfp263s{fpwbwfqfnlwffnbjo!ojmhfgqjdkw8pjdmboelqnbo2-kwnopjdmvssqjm`feolbw9-smd!#elqvn-B``fppsbsfqpplvmgpf{wfmgKfjdkwpojgfqVWE.;!%bns8#Afelqf-#TjwkpwvgjlltmfqpnbmbdfsqlejwiRvfqzbmmvbosbqbnpalvdkwebnlvpdlldofolmdfqj((*#xjpqbfopbzjmdgf`jgfklnf!=kfbgfqfmpvqfaqbm`ksjf`fpaol`h8pwbwfgwls!=?qb`jmdqfpjyf..%dw8sb`jwzpf{vboavqfbv-isd!#23/333lawbjmwjwofpbnlvmw/#Jm`-`lnfgznfmv!#ozqj`pwlgbz-jmgffg`lvmwz\\oldl-EbnjozollhfgNbqhfwopf#jeSobzfqwvqhfz*8ubq#elqfpwdjujmdfqqlqpGlnbjm~fopfxjmpfqwAold?,ellwfqoldjm-ebpwfqbdfmwp?algz#23s{#3sqbdnbeqjgbzivmjlqgloobqsob`fg`lufqpsovdjm6/333#sbdf!=alpwlm-wfpw+bubwbqwfpwfg\\`lvmwelqvnpp`kfnbjmgf{/ejoofgpkbqfpqfbgfqbofqw+bssfbqPvanjwojmf!=algz!=\t)#WkfWklvdkpffjmdifqpfzMftp?,ufqjezf{sfqwjmivqztjgwk>@llhjfPWBQW#b`qlpp\\jnbdfwkqfbgmbwjufsl`hfwal{!=\tPzpwfn#Gbujg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leqf`fwjfqqbf.nbjoubqjbpelqnbpevwvqllaifwlpfdvjqqjfpdlmlqnbpnjpnlp/Vmj`l`bnjmlpjwjlpqby/_mgfajglsqvfabwlofglwfm/Abifp/Vpfpsfql`l`jmblqjdfmwjfmgb`jfmwl`/Mgjykbaobqpfq/Abobwjmbevfqybfpwjoldvfqqbfmwqbq/E{jwlo/_sfybdfmgbu/Agflfujwbqsbdjmbnfwqlpibujfqsbgqfpe/M`jo`bafyb/Mqfbppbojgbfmu/Alibs/_mbavplpajfmfpwf{wlpoofubqsvfgbmevfqwf`ln/Vm`obpfpkvnbmlwfmjglajoablvmjgbgfpw/Mpfgjwbq`qfbgl2%bns8Kjpwlqz#>#mft#@fmwqbovsgbwfgPsf`jboMfwtlqhqfrvjqf`lnnfmwtbqmjmd@loofdfwlloabqqfnbjmpaf`bvpffof`wfgGfvwp`kejmbm`ftlqhfqprvj`hozafwtffmf{b`wozpfwwjmdgjpfbpfPl`jfwztfbslmpf{kjajw%ow8"..@lmwqlo`obppfp`lufqfglvwojmfbwwb`hpgfuj`fp+tjmgltsvqslpfwjwof>!Nlajof#hjoojmdpkltjmdJwbojbmgqlssfgkfbujozfeef`wp.2$^*8\t`lmejqn@vqqfmwbgubm`fpkbqjmdlsfmjmdgqbtjmdajoojlmlqgfqfgDfqnbmzqfobwfg?,elqn=jm`ovgftkfwkfqgfejmfgP`jfm`f`bwboldBqwj`ofavwwlmpobqdfpwvmjelqnilvqmfzpjgfabq@kj`bdlklojgbzDfmfqbosbppbdf/%rvlw8bmjnbwfeffojmdbqqjufgsbppjmdmbwvqboqlvdkoz-\t\tWkf#avw#mlwgfmpjwzAqjwbjm@kjmfpfob`h#lewqjavwfJqfobmg!#gbwb.eb`wlqpqf`fjufwkbw#jpOjaqbqzkvpabmgjm#eb`wbeebjqp@kbqofpqbgj`boaqlvdkwejmgjmdobmgjmd9obmd>!qfwvqm#ofbgfqpsobmmfgsqfnjvnsb`hbdfBnfqj`bFgjwjlm^%rvlw8Nfppbdfmffg#wlubovf>!`lnsof{ollhjmdpwbwjlmafojfufpnboofq.nlajofqf`lqgptbmw#wlhjmg#leEjqfel{zlv#bqfpjnjobqpwvgjfgnb{jnvnkfbgjmdqbsjgoz`ojnbwfhjmdglnfnfqdfgbnlvmwpelvmgfgsjlmffqelqnvobgzmbpwzklt#wl#Pvsslqwqfufmvff`lmlnzQfpvowpaqlwkfqplogjfqobqdfoz`boojmd-%rvlw8B``lvmwFgtbqg#pfdnfmwQlafqw#feelqwpSb`jej`ofbqmfgvs#tjwkkfjdkw9tf#kbufBmdfofpmbwjlmp\\pfbq`kbssojfgb`rvjqfnbppjufdqbmwfg9#ebopfwqfbwfgajddfpwafmfejwgqjujmdPwvgjfpnjmjnvnsfqkbspnlqmjmdpfoojmdjp#vpfgqfufqpfubqjbmw#qlof>!njppjmdb`kjfufsqlnlwfpwvgfmwplnflmff{wqfnfqfpwlqfalwwln9fuloufgboo#wkfpjwfnbsfmdojpktbz#wl##Bvdvpwpznalop@lnsbmznbwwfqpnvpj`bobdbjmpwpfqujmd~*+*8\tsbznfmwwqlvaof`lm`fsw`lnsbqfsbqfmwpsobzfqpqfdjlmpnlmjwlq#$$Wkf#tjmmjmdf{solqfbgbswfgDboofqzsqlgv`fbajojwzfmkbm`f`bqffqp*-#Wkf#`loof`wPfbq`k#bm`jfmwf{jpwfgellwfq#kbmgofqsqjmwfg`lmplofFbpwfqmf{slqwptjmgltp@kbmmfojoofdbomfvwqbopvddfpw\\kfbgfqpjdmjmd-kwno!=pfwwofgtfpwfqm`bvpjmd.tfahjw`objnfgIvpwj`f`kbswfquj`wjnpWklnbp#nlyjoobsqlnjpfsbqwjfpfgjwjlmlvwpjgf9ebopf/kvmgqfgLoznsj`\\avwwlmbvwklqpqfb`kfg`kqlmj`gfnbmgppf`lmgpsqlwf`wbglswfgsqfsbqfmfjwkfqdqfbwozdqfbwfqlufqboojnsqluf`lnnbmgpsf`jbopfbq`k-tlqpkjsevmgjmdwklvdkwkjdkfpwjmpwfbgvwjojwzrvbqwfq@vowvqfwfpwjmd`ofbqozf{slpfgAqltpfqojafqbo~#`bw`kSqlif`wf{bnsofkjgf+*8EolqjgbbmptfqpbooltfgFnsfqlqgfefmpfpfqjlvpeqffglnPfufqbo.avwwlmEvqwkfqlvw#le#">#mvoowqbjmfgGfmnbqhuljg+3*,boo-ipsqfufmwQfrvfpwPwfskfm\t\tTkfm#lapfquf?,k1=\tNlgfqm#sqlujgf!#bow>!alqgfqp-\t\tElq#\t\tNbmz#bqwjpwpsltfqfgsfqelqnej`wjlmwzsf#lenfgj`bowj`hfwplsslpfg@lvm`jotjwmfppivpwj`fDflqdf#Afodjvn---?,b=wtjwwfqmlwbaoztbjwjmdtbqebqf#Lwkfq#qbmhjmdskqbpfpnfmwjlmpvqujufp`klobq?,s=\t#@lvmwqzjdmlqfgolpp#leivpw#bpDflqdjbpwqbmdf?kfbg=?pwlssfg2$^*8\tjpobmgpmlwbaofalqgfq9ojpw#le`bqqjfg233/333?,k0=\t#pfufqboaf`lnfppfof`w#tfggjmd33-kwnonlmbq`klee#wkfwfb`kfqkjdkoz#ajloldzojef#lelq#fufmqjpf#le%qbrvl8sovplmfkvmwjmd+wklvdkGlvdobpiljmjmd`jq`ofpElq#wkfBm`jfmwUjfwmbnufkj`ofpv`k#bp`qzpwboubovf#>Tjmgltpfmilzfgb#pnboobppvnfg?b#jg>!elqfjdm#Boo#qjklt#wkfGjpsobzqfwjqfgkltfufqkjggfm8abwwofppffhjmd`bajmfwtbp#mlwollh#bw`lmgv`wdfw#wkfIbmvbqzkbssfmpwvqmjmdb9klufqLmojmf#Eqfm`k#ob`hjmdwzsj`bof{wqb`wfmfnjfpfufm#jedfmfqbwgf`jgfgbqf#mlw,pfbq`kafojfep.jnbdf9ol`bwfgpwbwj`-oldjm!=`lmufqwujlofmwfmwfqfgejqpw!=`jq`vjwEjmobmg`kfnjpwpkf#tbp23s{8!=bp#pv`kgjujgfg?,psbm=tjoo#afojmf#leb#dqfbwnzpwfq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pB`bgfnz\t\n\n?"..Gbmjfo#ajmgjmdaol`h!=jnslpfgvwjojyfBaqbkbn+f{`fswxtjgwk9svwwjmd*-kwno+#X^8\tGBWBX#)hjw`kfmnlvmwfgb`wvbo#gjbof`wnbjmoz#\\aobmh$jmpwboof{sfqwpje+wzsfJw#bopl%`lsz8#!=Wfqnpalqm#jmLswjlmpfbpwfqmwbohjmd`lm`fqmdbjmfg#lmdljmdivpwjez`qjwj`peb`wlqzjwp#ltmbppbvowjmujwfgobpwjmdkjp#ltmkqfe>!,!#qfo>!gfufols`lm`fqwgjbdqbngloobqp`ovpwfqsksbo`lklo*8~*+*8vpjmd#b=?psbm=ufppfopqfujuboBggqfppbnbwfvqbmgqljgboofdfgjoomfpptbohjmd`fmwfqprvbojeznbw`kfpvmjejfgf{wjm`wGfefmpfgjfg#jm\t\n?"..#`vpwlnpojmhjmdOjwwof#Allh#lefufmjmdnjm-iptfbqjmdBoo#Qjd8\t~*+*8qbjpjmd#Bopl/#`qv`jbobalvw!=gf`obqf..=\t?p`ejqfel{bp#nv`kbssojfpjmgf{/#p/#avw#wzsf#>#\t\t?"..wltbqgpQf`lqgpSqjubwfElqfjdmSqfnjfq`klj`fpUjqwvboqfwvqmp@lnnfmwSltfqfgjmojmf8slufqwz`kbnafqOjujmd#ulovnfpBmwklmzoldjm!#QfobwfgF`lmlnzqfb`kfp`vwwjmddqbujwzojef#jm@kbswfq.pkbgltMlwbaof?,wg=\t#qfwvqmpwbgjvntjgdfwpubqzjmdwqbufopkfog#aztkl#bqftlqh#jmeb`vowzbmdvobqtkl#kbgbjqslqwwltm#le\t\tPlnf#$`oj`h$`kbqdfphfztlqgjw#tjoo`jwz#le+wkjp*8Bmgqft#vmjrvf#`kf`hfglq#nlqf033s{8#qfwvqm8qpjlm>!sovdjmptjwkjm#kfqpfoePwbwjlmEfgfqboufmwvqfsvaojpkpfmw#wlwfmpjlmb`wqfpp`lnf#wlejmdfqpGvhf#lesflsof/f{soljwtkbw#jpkbqnlmzb#nbilq!9!kwwsjm#kjp#nfmv!=\tnlmwkozleej`fq`lvm`jodbjmjmdfufm#jmPvnnbqzgbwf#leolzbowzejwmfppbmg#tbpfnsfqlqpvsqfnfPf`lmg#kfbqjmdQvppjbmolmdfpwBoafqwbobwfqbopfw#le#pnboo!=-bssfmggl#tjwkefgfqboabmh#leafmfbwkGfpsjwf@bsjwbodqlvmgp*/#bmg#sfq`fmwjw#eqln`olpjmd`lmwbjmJmpwfbgejewffmbp#tfoo-zbkll-qfpslmgejdkwfqlap`vqfqfeof`wlqdbmj`>#Nbwk-fgjwjmdlmojmf#sbggjmdb#tkloflmfqqlqzfbq#lefmg#le#abqqjfqtkfm#jwkfbgfq#klnf#leqfpvnfgqfmbnfgpwqlmd=kfbwjmdqfwbjmp`olvgeqtbz#le#Nbq`k#2hmltjmdjm#sbqwAfwtffmofpplmp`olpfpwujqwvboojmhp!=`qlppfgFMG#..=ebnlvp#btbqgfgOj`fmpfKfbowk#ebjqoz#tfbowkznjmjnboBeqj`bm`lnsfwfobafo!=pjmdjmdebqnfqpAqbpjo*gjp`vppqfsob`fDqfdlqzelmw#`lsvqpvfgbssfbqpnbhf#vsqlvmgfgalwk#leaol`hfgpbt#wkfleej`fp`lolvqpje+gl`vtkfm#kffmelq`fsvpk+evBvdvpw#VWE.;!=Ebmwbpzjm#nlpwjmivqfgVpvboozebqnjmd`olpvqflaif`w#gfefm`fvpf#le#Nfgj`bo?algz=\tfujgfmwaf#vpfghfz@lgfpj{wffmJpobnj` 333333fmwjqf#tjgfoz#b`wjuf#+wzsflelmf#`bm`lolq#>psfbhfqf{wfmgpSkzpj`pwfqqbjm?walgz=evmfqboujftjmdnjggof#`qj`hfwsqlskfwpkjewfggl`wlqpQvppfoo#wbqdfw`lnsb`wbodfaqbpl`jbo.avoh#lenbm#bmg?,wg=\t#kf#ofew*-ubo+*ebopf*8oldj`boabmhjmdklnf#wlmbnjmd#Bqjylmb`qfgjwp*8\t~*8\telvmgfqjm#wvqm@loojmpafelqf#Avw#wkf`kbqdfgWjwof!=@bswbjmpsfoofgdlggfppWbd#..=Bggjmd9avw#tbpQf`fmw#sbwjfmwab`h#jm>ebopf%Ojm`lomtf#hmlt@lvmwfqIvgbjpnp`qjsw#bowfqfg$^*8\t##kbp#wkfvm`ofbqFufmw$/alwk#jmmlw#boo\t\t?"..#sob`jmdkbqg#wl#`fmwfqplqw#le`ojfmwppwqffwpAfqmbqgbppfqwpwfmg#wlebmwbpzgltm#jmkbqalvqEqffglniftfoqz,balvw--pfbq`kofdfmgpjp#nbgfnlgfqm#lmoz#lmlmoz#wljnbdf!#ojmfbq#sbjmwfqbmg#mlwqbqfoz#b`qlmzngfojufqpklqwfq33%bns8bp#nbmztjgwk>!,)#?"X@wjwof#>le#wkf#oltfpw#sj`hfg#fp`bsfgvpfp#lesflsofp#Svaoj`Nbwwkftwb`wj`pgbnbdfgtbz#elqobtp#lefbpz#wl#tjmgltpwqlmd##pjnsof~`bw`k+pfufmwkjmelal{tfmw#wlsbjmwfg`jwjyfmJ#glm$wqfwqfbw-#Plnf#tt-!*8\talnajmdnbjowl9nbgf#jm-#Nbmz#`bqqjfpx~8tjtlqh#lepzmlmzngfefbwpebulqfglswj`bosbdfWqbvmofpp#pfmgjmdofew!=?`lnP`lqBoo#wkfiRvfqz-wlvqjpw@obppj`ebopf!#Tjokfonpvavqapdfmvjmfajpklsp-psojw+dolabo#elooltpalgz#lemlnjmbo@lmwb`wpf`vobqofew#wl`kjfeoz.kjggfm.abmmfq?,oj=\t\t-#Tkfm#jm#alwkgjpnjppF{solqfbotbzp#ujb#wkfpsb/]lotfoebqfqvojmd#bqqbmdf`bswbjmkjp#plmqvof#lekf#wllhjwpfoe/>3%bns8+`boofgpbnsofpwl#nbhf`ln,sbdNbqwjm#Hfmmfgzb``fswpevoo#lekbmgofgAfpjgfp,,..=?,baof#wlwbqdfwpfppfm`fkjn#wl#jwp#az#`lnnlm-njmfqbowl#wbhftbzp#wlp-lqd,obgujpfgsfmbowzpjnsof9je#wkfzOfwwfqpb#pklqwKfqafqwpwqjhfp#dqlvsp-ofmdwkeojdkwplufqobspoltoz#ofppfq#pl`jbo#?,s=\t\n\njw#jmwlqbmhfg#qbwf#levo=\t##bwwfnswsbjq#lenbhf#jwHlmwbhwBmwlmjlkbujmd#qbwjmdp#b`wjufpwqfbnpwqbssfg!*-`pp+klpwjofofbg#wlojwwof#dqlvsp/Sj`wvqf..=\t\t#qltp>!#laif`wjmufqpf?ellwfq@vpwlnU=?_,p`qploujmd@kbnafqpobufqztlvmgfgtkfqfbp">#$vmgelq#boosbqwoz#.qjdkw9Bqbajbmab`hfg#`fmwvqzvmjw#lenlajof.Fvqlsf/jp#klnfqjph#legfpjqfg@ojmwlm`lpw#lebdf#le#af`lnf#mlmf#les%rvlw8Njggof#fbg$*X3@qjwj`ppwvgjlp=%`lsz8dqlvs!=bppfnaonbhjmd#sqfppfgtjgdfw-sp9!#<#qfavjowaz#plnfElqnfq#fgjwlqpgfobzfg@bmlmj`kbg#wkfsvpkjmd`obpp>!avw#bqfsbqwjboAbazolmalwwln#`bqqjfq@lnnbmgjwp#vpfBp#tjwk`lvqpfpb#wkjqggfmlwfpbopl#jmKlvpwlm13s{8!=b``vpfgglvaof#dlbo#leEbnlvp#*-ajmg+sqjfpwp#Lmojmfjm#Ivozpw#(#!d`lmpvowgf`jnbokfosevoqfujufgjp#ufqzq$($jswolpjmd#efnbofpjp#boplpwqjmdpgbzp#lebqqjuboevwvqf#?laif`welq`jmdPwqjmd+!#,=\t\n\nkfqf#jpfm`lgfg-##Wkf#aboollmglmf#az,`lnnlmad`lolqobt#le#Jmgjbmbbuljgfgavw#wkf1s{#0s{irvfqz-bewfq#bsloj`z-nfm#bmgellwfq.>#wqvf8elq#vpfp`qffm-Jmgjbm#jnbdf#>ebnjoz/kwws9,,#%maps8gqjufqpfwfqmbopbnf#bpmlwj`fgujftfqp~*+*8\t#jp#nlqfpfbplmpelqnfq#wkf#mftjp#ivpw`lmpfmw#Pfbq`kt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bg#Ebnjoz#b#nfbmplvw#wkfelqvnp-ellwbdf!=Nlajo@ofnfmwp!#jg>!bp#kjdkjmwfmpf..=?"..efnbof#jp#pffmjnsojfgpfw#wkfb#pwbwfbmg#kjpebpwfpwafpjgfpavwwlm\\alvmgfg!=?jnd#Jmelal{fufmwp/b#zlvmdbmg#bqfMbwjuf#`kfbsfqWjnflvwbmg#kbpfmdjmfptlm#wkf+nlpwozqjdkw9#ejmg#b#.alwwlnSqjm`f#bqfb#lenlqf#lepfbq`k\\mbwvqf/ofdboozsfqjlg/obmg#lelq#tjwkjmgv`fgsqlujmdnjppjofol`boozBdbjmpwwkf#tbzh%rvlw8s{8!=\tsvpkfg#babmglmmvnfqbo@fqwbjmJm#wkjpnlqf#jmlq#plnfmbnf#jpbmg/#jm`qltmfgJPAM#3.`qfbwfpL`wlafqnbz#mlw`fmwfq#obwf#jmGfefm`ffmb`wfgtjpk#wlaqlbgoz`llojmdlmolbg>jw-#Wkfqf`lufqNfnafqpkfjdkw#bppvnfp?kwno=\tsflsof-jm#lmf#>tjmgltellwfq\\b#dllg#qfhobnblwkfqp/wl#wkjp\\`llhjfsbmfo!=Olmglm/gfejmfp`qvpkfgabswjpn`lbpwbopwbwvp#wjwof!#nluf#wlolpw#jmafwwfq#jnsojfpqjuboqzpfqufqp#PzpwfnSfqkbspfp#bmg#`lmwfmgeoltjmdobpwfg#qjpf#jmDfmfpjpujft#leqjpjmd#pffn#wlavw#jm#ab`hjmdkf#tjoodjufm#bdjujmd#`jwjfp-eolt#le#Obwfq#boo#avwKjdktbzlmoz#azpjdm#lekf#glfpgjeefqpabwwfqz%bns8obpjmdofpwkqfbwpjmwfdfqwbhf#lmqfevpfg`boofg#>VP%bnsPff#wkfmbwjufpaz#wkjppzpwfn-kfbg#le9klufq/ofpajbmpvqmbnfbmg#boo`lnnlm,kfbgfq\\\\sbqbnpKbqubqg,sj{fo-qfnlubopl#olmdqlof#leiljmwozphzp`qbVmj`lgfaq#,=\tBwobmwbmv`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vpwqzpfquj`fpnbwfqjbosqlgv`wpy.jmgf{9`lnnfmwpplewtbqf`lnsofwf`bofmgbqsobwelqnbqwj`ofpqfrvjqfgnlufnfmwrvfpwjlmavjogjmdslojwj`pslppjaofqfojdjlmskzpj`boeffgab`hqfdjpwfqsj`wvqfpgjpbaofgsqlwl`lobvgjfm`fpfwwjmdpb`wjujwzfofnfmwpofbqmjmdbmzwkjmdbapwqb`wsqldqfpplufqujftnbdbyjmff`lmlnj`wqbjmjmdsqfppvqfubqjlvp#?pwqlmd=sqlsfqwzpklssjmdwldfwkfqbgubm`fgafkbujlqgltmolbgefbwvqfgellwaboopfof`wfgObmdvbdfgjpwbm`fqfnfnafqwqb`hjmdsbpptlqgnlgjejfgpwvgfmwpgjqf`wozejdkwjmdmlqwkfqmgbwbabpfefpwjuboaqfbhjmdol`bwjlmjmwfqmfwgqlsgltmsqb`wj`ffujgfm`fevm`wjlmnbqqjbdfqfpslmpfsqlaofnpmfdbwjufsqldqbnpbmbozpjpqfofbpfgabmmfq!=svq`kbpfsloj`jfpqfdjlmbo`qfbwjufbqdvnfmwallhnbqhqfefqqfq`kfnj`bogjujpjlm`booab`hpfsbqbwfsqlif`wp`lmeoj`wkbqgtbqfjmwfqfpwgfojufqznlvmwbjmlawbjmfg>#ebopf8elq+ubq#b``fswfg`bsb`jwz`lnsvwfqjgfmwjwzbjq`qbewfnsolzfgsqlslpfgglnfpwj`jm`ovgfpsqlujgfgklpsjwboufqwj`bo`loobspfbssqlb`ksbqwmfqpoldl!=?bgbvdkwfqbvwklq!#`vowvqboebnjojfp,jnbdfp,bppfnaozsltfqevowfb`kjmdejmjpkfggjpwqj`w`qjwj`bo`dj.ajm,svqslpfpqfrvjqfpfof`wjlmaf`lnjmdsqlujgfpb`bgfnj`f{fq`jpfb`wvbooznfgj`jmf`lmpwbmwb``jgfmwNbdbyjmfgl`vnfmwpwbqwjmdalwwln!=lapfqufg9#%rvlw8f{wfmgfgsqfujlvpPlewtbqf`vpwlnfqgf`jpjlmpwqfmdwkgfwbjofgpojdkwozsobmmjmdwf{wbqfb`vqqfm`zfufqzlmfpwqbjdkwwqbmpefqslpjwjufsqlgv`fgkfqjwbdfpkjssjmdbaplovwfqf`fjufgqfofubmwavwwlm!#ujlofm`fbmztkfqfafmfejwpobvm`kfgqf`fmwozboojbm`felooltfgnvowjsofavoofwjmjm`ovgfgl``vqqfgjmwfqmbo\'+wkjp*-qfsvaoj`=?wq=?wg`lmdqfppqf`lqgfgvowjnbwfplovwjlm?vo#jg>!gjp`lufqKlnf?,b=tfapjwfpmfwtlqhpbowklvdkfmwjqfoznfnlqjbonfppbdfp`lmwjmvfb`wjuf!=plnftkbwuj`wlqjbTfpwfqm##wjwof>!Ol`bwjlm`lmwqb`wujpjwlqpGltmolbgtjwklvw#qjdkw!=\tnfbpvqfptjgwk#>#ubqjbaofjmuloufgujqdjmjbmlqnboozkbssfmfgb``lvmwppwbmgjmdmbwjlmboQfdjpwfqsqfsbqfg`lmwqlopb``vqbwfajqwkgbzpwqbwfdzleej`jbodqbskj`p`qjnjmboslppjaoz`lmpvnfqSfqplmbopsfbhjmdubojgbwfb`kjfufg-isd!#,=nb`kjmfp?,k1=\t##hfztlqgpeqjfmgozaqlwkfqp`lnajmfglqjdjmbo`lnslpfgf{sf`wfgbgfrvbwfsbhjpwbmeloolt!#ubovbaof?,obafo=qfobwjufaqjmdjmdjm`qfbpfdlufqmlqsovdjmp,Ojpw#le#Kfbgfq!=!#mbnf>!#+%rvlw8dqbgvbwf?,kfbg=\t`lnnfq`fnbobzpjbgjqf`wlqnbjmwbjm8kfjdkw9p`kfgvof`kbmdjmdab`h#wl#`bwkloj`sbwwfqmp`lolq9# dqfbwfpwpvssojfpqfojbaof?,vo=\t\n\n?pfof`w#`jwjyfmp`olwkjmdtbw`kjmd?oj#jg>!psf`jej``bqqzjmdpfmwfm`f?`fmwfq=`lmwqbpwwkjmhjmd`bw`k+f*plvwkfqmNj`kbfo#nfq`kbmw`bqlvpfosbggjmd9jmwfqjlq-psojw+!ojybwjlmL`wlafq#*xqfwvqmjnsqlufg..%dw8\t\t`lufqbdf`kbjqnbm-smd!#,=pvaif`wpQj`kbqg#tkbwfufqsqlabaozqf`lufqzabpfabooivgdnfmw`lmmf`w--`pp!#,=#tfapjwfqfslqwfggfebvow!,=?,b=\tfof`wqj`p`lwobmg`qfbwjlmrvbmwjwz-#JPAM#3gjg#mlw#jmpwbm`f.pfbq`k.!#obmd>!psfbhfqp@lnsvwfq`lmwbjmpbq`kjufpnjmjpwfqqfb`wjlmgjp`lvmwJwbojbml`qjwfqjbpwqlmdoz9#$kwws9$p`qjsw$`lufqjmdleefqjmdbssfbqfgAqjwjpk#jgfmwjezEb`fallhmvnfqlvpufkj`ofp`lm`fqmpBnfqj`bmkbmgojmdgju#jg>!Tjoojbn#sqlujgfq\\`lmwfmwb``vqb`zpf`wjlm#bmgfqplmeof{jaof@bwfdlqzobtqfm`f?p`qjsw=obzlvw>!bssqlufg#nb{jnvnkfbgfq!=?,wbaof=Pfquj`fpkbnjowlm`vqqfmw#`bmbgjbm`kbmmfop,wkfnfp,,bqwj`oflswjlmboslqwvdboubovf>!!jmwfqubotjqfofppfmwjwofgbdfm`jfpPfbq`k!#nfbpvqfgwklvpbmgpsfmgjmd%kfoojs8mft#Gbwf!#pjyf>!sbdfMbnfnjggof!#!#,=?,b=kjggfm!=pfrvfm`fsfqplmbolufqeoltlsjmjlmpjoojmljpojmhp!=\t\n?wjwof=ufqpjlmppbwvqgbzwfqnjmbojwfnsqlsfmdjmffqpf`wjlmpgfpjdmfqsqlslpbo>!ebopf!Fpsb/]loqfofbpfppvanjw!#fq%rvlw8bggjwjlmpznswlnplqjfmwfgqfplvq`fqjdkw!=?sofbpvqfpwbwjlmpkjpwlqz-ofbujmd##alqgfq>`lmwfmwp`fmwfq!=-\t\tPlnf#gjqf`wfgpvjwbaofavodbqjb-pklt+*8gfpjdmfgDfmfqbo#`lm`fswpF{bnsofptjoojbnpLqjdjmbo!=?psbm=pfbq`k!=lsfqbwlqqfrvfpwpb#%rvlw8booltjmdGl`vnfmwqfujpjlm-#\t\tWkf#zlvqpfoe@lmwb`w#nj`kjdbmFmdojpk#`lovnajbsqjlqjwzsqjmwjmdgqjmhjmdeb`jojwzqfwvqmfg@lmwfmw#leej`fqpQvppjbm#dfmfqbwf.;;6:.2!jmgj`bwfebnjojbq#rvbojwznbqdjm93#`lmwfmwujftslqw`lmwb`wp.wjwof!=slqwbaof-ofmdwk#fojdjaofjmuloufpbwobmwj`lmolbg>!gfebvow-pvssojfgsbznfmwpdolppbqz\t\tBewfq#dvjgbm`f?,wg=?wgfm`lgjmdnjggof!=`bnf#wl#gjpsobzpp`lwwjpkilmbwkbmnbilqjwztjgdfwp-`ojmj`bowkbjobmgwfb`kfqp?kfbg=\t\nbeef`wfgpvsslqwpsljmwfq8wlPwqjmd?,pnboo=lhobklnbtjoo#af#jmufpwlq3!#bow>!klojgbzpQfplvq`foj`fmpfg#+tkj`k#-#Bewfq#`lmpjgfqujpjwjmdf{solqfqsqjnbqz#pfbq`k!#bmgqljg!rvj`hoz#nffwjmdpfpwjnbwf8qfwvqm#8`lolq9 #kfjdkw>bssqlubo/#%rvlw8#`kf`hfg-njm-ip!nbdmfwj`=?,b=?,kelqf`bpw-#Tkjof#wkvqpgbzgufqwjpf%fb`vwf8kbp@obppfubovbwflqgfqjmdf{jpwjmdsbwjfmwp#Lmojmf#`lolqbglLswjlmp!`bnsafoo?"..#fmg?,psbm=??aq#,=\t\\slsvspp`jfm`fp/%rvlw8#rvbojwz#Tjmgltp#bppjdmfgkfjdkw9#?a#`obppof%rvlw8#ubovf>!#@lnsbmzf{bnsofp?jeqbnf#afojfufpsqfpfmwpnbqpkboosbqw#le#sqlsfqoz*-\t\tWkf#wb{lmlnznv`k#le#?,psbm=\t!#gbwb.pqwvdv/Fpp`qlooWl#sqlif`w?kfbg=\tbwwlqmfzfnskbpjppslmplqpebm`zal{tlqog$p#tjogojef`kf`hfg>pfppjlmpsqldqbnns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qdfpwj/_mborvjofqpjpwfnbp`jfm`jbp`lnsofwlufqpj/_m`lnsofwbfpwvgjlps/Vaoj`blaifwjulboj`bmwfavp`bglq`bmwjgbgfmwqbgbpb``jlmfpbq`kjulppvsfqjlqnbzlq/Abbofnbmjbevm`j/_m/Vowjnlpkb`jfmglbrvfoolpfgj`j/_mefqmbmglbnajfmwfeb`fallhmvfpwqbp`ojfmwfpsql`fplpabpwbmwfsqfpfmwbqfslqwbq`lmdqfplsvaoj`bq`lnfq`jl`lmwqbwli/_ufmfpgjpwqjwlw/E`mj`b`lmivmwlfmfqd/Abwqbabibqbpwvqjbpqf`jfmwfvwjojybqalofw/Ampboubglq`lqqf`wbwqbabilpsqjnfqlpmfdl`jlpojafqwbggfwboofpsbmwboobsq/_{jnlbonfq/Abbmjnbofprvj/Emfp`lqby/_mpf``j/_mavp`bmglls`jlmfpf{wfqjlq`lm`fswlwlgbu/Abdbofq/Abfp`qjajqnfgj`jmboj`fm`jb`lmpvowbbpsf`wlp`q/Awj`bg/_obqfpivpwj`jbgfafq/Mmsfq/Alglmf`fpjwbnbmwfmfqsfrvf/]lqf`jajgbwqjavmbowfmfqjef`bm`j/_m`bmbqjbpgfp`bqdbgjufqplpnboolq`bqfrvjfqfw/E`mj`lgfafq/Abujujfmgbejmbmybpbgfobmwfevm`jlmb`lmpfilpgje/A`jo`jvgbgfpbmwjdvbpbubmybgbw/Eqnjmlvmjgbgfpp/Mm`kfy`bnsb/]bplewlmj`qfujpwbp`lmwjfmfpf`wlqfpnlnfmwlpeb`vowbg`q/Egjwlgjufqpbppvsvfpwleb`wlqfppfdvmglpsfrvf/]b<_!?,pfof`w=Bvpwqbojb!#`obpp>!pjwvbwjlmbvwklqjwzelooltjmdsqjnbqjozlsfqbwjlm`kboofmdfgfufolsfgbmlmznlvpevm`wjlm#evm`wjlmp`lnsbmjfppwqv`wvqfbdqffnfmw!#wjwof>!slwfmwjbofgv`bwjlmbqdvnfmwppf`lmgbqz`lszqjdkwobmdvbdfpf{`ovpjuf`lmgjwjlm?,elqn=\tpwbwfnfmwbwwfmwjlmAjldqbskz~#fopf#x\tplovwjlmptkfm#wkf#Bmbozwj`pwfnsobwfpgbmdfqlvppbwfoojwfgl`vnfmwpsvaojpkfqjnslqwbmwsqlwlwzsfjmeovfm`f%qbrvl8?,feef`wjufdfmfqboozwqbmpelqnafbvwjevowqbmpslqwlqdbmjyfgsvaojpkfgsqlnjmfmwvmwjo#wkfwkvnambjoMbwjlmbo#-el`vp+*8lufq#wkf#njdqbwjlmbmmlvm`fgellwfq!=\tf{`fswjlmofpp#wkbmf{sfmpjufelqnbwjlmeqbnftlqhwfqqjwlqzmgj`bwjlm`vqqfmwoz`obppMbnf`qjwj`jpnwqbgjwjlmfopftkfqfBof{bmgfqbssljmwfgnbwfqjbopaqlbg`bpwnfmwjlmfgbeejojbwf?,lswjlm=wqfbwnfmwgjeefqfmw,gfebvow-Sqfpjgfmwlm`oj`h>!ajldqbskzlwkfqtjpfsfqnbmfmwEqbm/KbjpKlooztllgf{sbmpjlmpwbmgbqgp?,pwzof=\tqfgv`wjlmGf`fnafq#sqfefqqfg@bnaqjgdflsslmfmwpAvpjmfpp#`lmevpjlm=\t?wjwof=sqfpfmwfgf{sobjmfgglfp#mlw#tlqogtjgfjmwfqeb`fslpjwjlmpmftpsbsfq?,wbaof=\tnlvmwbjmpojhf#wkf#fppfmwjboejmbm`jbopfof`wjlmb`wjlm>!,babmglmfgFgv`bwjlmsbqpfJmw+pwbajojwzvmbaof#wl?,wjwof=\tqfobwjlmpMlwf#wkbwfeej`jfmwsfqelqnfgwtl#zfbqpPjm`f#wkfwkfqfelqftqbssfq!=bowfqmbwfjm`qfbpfgAbwwof#lesfq`fjufgwqzjmd#wlmf`fppbqzslqwqbzfgfof`wjlmpFojybafwk?,jeqbnf=gjp`lufqzjmpvqbm`fp-ofmdwk8ofdfmgbqzDfldqbskz`bmgjgbwf`lqslqbwfplnfwjnfppfquj`fp-jmkfqjwfg?,pwqlmd=@lnnvmjwzqfojdjlvpol`bwjlmp@lnnjwwffavjogjmdpwkf#tlqogml#olmdfqafdjmmjmdqfefqfm`f`bmmlw#afeqfrvfm`zwzsj`boozjmwl#wkf#qfobwjuf8qf`lqgjmdsqfpjgfmwjmjwjboozwf`kmjrvfwkf#lwkfqjw#`bm#aff{jpwfm`fvmgfqojmfwkjp#wjnfwfofsklmfjwfnp`lsfsqb`wj`fpbgubmwbdf*8qfwvqm#Elq#lwkfqsqlujgjmdgfnl`qb`zalwk#wkf#f{wfmpjufpveefqjmdpvsslqwfg`lnsvwfqp#evm`wjlmsqb`wj`bopbjg#wkbwjw#nbz#afFmdojpk?,eqln#wkf#p`kfgvofggltmolbgp?,obafo=\tpvpsf`wfgnbqdjm9#3psjqjwvbo?,kfbg=\t\tnj`qlplewdqbgvboozgjp`vppfgkf#af`bnff{f`vwjufirvfqz-ipklvpfklog`lmejqnfgsvq`kbpfgojwfqboozgfpwqlzfgvs#wl#wkfubqjbwjlmqfnbjmjmdjw#jp#mlw`fmwvqjfpIbsbmfpf#bnlmd#wkf`lnsofwfgbodlqjwknjmwfqfpwpqfafoojlmvmgfejmfgfm`lvqbdfqfpjybaofjmuloujmdpfmpjwjufvmjufqpbosqlujpjlm+bowklvdkefbwvqjmd`lmgv`wfg*/#tkj`k#`lmwjmvfg.kfbgfq!=Efaqvbqz#mvnfqlvp#lufqeolt9`lnslmfmweqbdnfmwpf{`foofmw`lopsbm>!wf`kmj`bomfbq#wkf#Bgubm`fg#plvq`f#lef{sqfppfgKlmd#Hlmd#Eb`fallhnvowjsof#nf`kbmjpnfofubwjlmleefmpjuf?,elqn=\t\npslmplqfggl`vnfmw-lq#%rvlw8wkfqf#bqfwklpf#tklnlufnfmwpsql`fppfpgjeej`vowpvanjwwfgqf`lnnfmg`lmujm`fgsqlnlwjmd!#tjgwk>!-qfsob`f+`obppj`bo`lbojwjlmkjp#ejqpwgf`jpjlmpbppjpwbmwjmgj`bwfgfulovwjlm.tqbssfq!fmlvdk#wlbolmd#wkfgfojufqfg..=\t?"..Bnfqj`bm#sqlwf`wfgMlufnafq#?,pwzof=?evqmjwvqfJmwfqmfw##lmaovq>!pvpsfmgfgqf`jsjfmwabpfg#lm#Nlqflufq/balojpkfg`loof`wfgtfqf#nbgffnlwjlmbofnfqdfm`zmbqqbwjufbgul`bwfps{8alqgfq`lnnjwwfggjq>!owq!fnsolzffpqfpfbq`k-#pfof`wfgpv``fpplq`vpwlnfqpgjpsobzfgPfswfnafqbgg@obpp+Eb`fallh#pvddfpwfgbmg#obwfqlsfqbwjmdfobalqbwfPlnfwjnfpJmpwjwvwf`fqwbjmozjmpwboofgelooltfqpIfqvpbofnwkfz#kbuf`lnsvwjmddfmfqbwfgsqlujm`fpdvbqbmwffbqajwqbqzqf`ldmjyftbmwfg#wls{8tjgwk9wkflqz#leafkbujlvqTkjof#wkffpwjnbwfgafdbm#wl#jw#af`bnfnbdmjwvgfnvpw#kbufnlqf#wkbmGjqf`wlqzf{wfmpjlmpf`qfwbqzmbwvqboozl``vqqjmdubqjbaofpdjufm#wkfsobwelqn-?,obafo=?ebjofg#wl`lnslvmgphjmgp#le#pl`jfwjfpbolmdpjgf#..%dw8\t\tplvwktfpwwkf#qjdkwqbgjbwjlmnbz#kbuf#vmfp`bsf+pslhfm#jm!#kqfe>!,sqldqbnnflmoz#wkf#`lnf#eqlngjqf`wlqzavqjfg#jmb#pjnjobqwkfz#tfqf?,elmw=?,Mlqtfdjbmpsf`jejfgsqlgv`jmdsbppfmdfq+mft#Gbwfwfnslqbqzej`wjlmboBewfq#wkffrvbwjlmpgltmolbg-qfdvobqozgfufolsfqbaluf#wkfojmhfg#wlskfmlnfmbsfqjlg#lewllowjs!=pvapwbm`fbvwlnbwj`bpsf`w#leBnlmd#wkf`lmmf`wfgfpwjnbwfpBjq#Elq`fpzpwfn#lelaif`wjufjnnfgjbwfnbhjmd#jwsbjmwjmdp`lmrvfqfgbqf#pwjoosql`fgvqfdqltwk#lekfbgfg#azFvqlsfbm#gjujpjlmpnlof`vofpeqbm`kjpfjmwfmwjlmbwwqb`wfg`kjogkllgbopl#vpfggfgj`bwfgpjmdbslqfgfdqff#leebwkfq#le`lmeoj`wp?,b=?,s=\t`bnf#eqlntfqf#vpfgmlwf#wkbwqf`fjujmdF{f`vwjuffufm#nlqfb``fpp#wl`lnnbmgfqSlojwj`bonvpj`jbmpgfoj`jlvpsqjplmfqpbgufmw#leVWE.;!#,=?"X@GBWBX!=@lmwb`wPlvwkfqm#ad`lolq>!pfqjfp#le-#Jw#tbp#jm#Fvqlsfsfqnjwwfgubojgbwf-bssfbqjmdleej`jboppfqjlvpoz.obmdvbdfjmjwjbwfgf{wfmgjmdolmd.wfqnjmeobwjlmpv`k#wkbwdfw@llhjfnbqhfg#az?,avwwlm=jnsofnfmwavw#jw#jpjm`qfbpfpgltm#wkf#qfrvjqjmdgfsfmgfmw..=\t?"..#jmwfqujftTjwk#wkf#`lsjfp#le`lmpfmpvptbp#avjowUfmfyvfob+elqnfqozwkf#pwbwfsfqplmmfopwqbwfdj`ebulvq#lejmufmwjlmTjhjsfgjb`lmwjmfmwujqwvbooztkj`k#tbpsqjm`jsof@lnsofwf#jgfmwj`bopklt#wkbwsqjnjwjufbtbz#eqlnnlof`vobqsqf`jpfozgjpploufgVmgfq#wkfufqpjlm>!=%maps8?,Jw#jp#wkf#Wkjp#jp#tjoo#kbuflqdbmjpnpplnf#wjnfEqjfgqj`ktbp#ejqpwwkf#lmoz#eb`w#wkbwelqn#jg>!sqf`fgjmdWf`kmj`boskzpj`jpwl``vqp#jmmbujdbwlqpf`wjlm!=psbm#jg>!plvdkw#wlafolt#wkfpvqujujmd~?,pwzof=kjp#gfbwkbp#jm#wkf`bvpfg#azsbqwjboozf{jpwjmd#vpjmd#wkftbp#djufmb#ojpw#leofufop#lemlwjlm#leLeej`jbo#gjpnjppfgp`jfmwjpwqfpfnaofpgvsoj`bwff{solpjufqf`lufqfgboo#lwkfqdboofqjfpxsbggjmd9sflsof#leqfdjlm#leb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f#hmltm`jwjfp#jmb``fpphfz`lmgfnmfgbopl#kbufpfquj`fp/ebnjoz#leP`kllo#le`lmufqwfgmbwvqf#le#obmdvbdfnjmjpwfqp?,laif`w=wkfqf#jp#b#slsvobqpfrvfm`fpbgul`bwfgWkfz#tfqfbmz#lwkfqol`bwjlm>fmwfq#wkfnv`k#nlqfqfeof`wfgtbp#mbnfglqjdjmbo#b#wzsj`botkfm#wkfzfmdjmffqp`lvog#mlwqfpjgfmwptfgmfpgbzwkf#wkjqg#sqlgv`wpIbmvbqz#1tkbw#wkfzb#`fqwbjmqfb`wjlmpsql`fpplqbewfq#kjpwkf#obpw#`lmwbjmfg!=?,gju=\t?,b=?,wg=gfsfmg#lmpfbq`k!=\tsjf`fp#le`lnsfwjmdQfefqfm`fwfmmfppfftkj`k#kbp#ufqpjlm>?,psbm=#??,kfbgfq=djufp#wkfkjpwlqjbmubovf>!!=sbggjmd93ujft#wkbwwldfwkfq/wkf#nlpw#tbp#elvmgpvapfw#lebwwb`h#lm`kjogqfm/sljmwp#lesfqplmbo#slpjwjlm9boofdfgoz@ofufobmgtbp#obwfqbmg#bewfqbqf#djufmtbp#pwjoop`qloojmdgfpjdm#lenbhfp#wkfnv`k#ofppBnfqj`bmp-\t\tBewfq#/#avw#wkfNvpfvn#leolvjpjbmb+eqln#wkfnjmmfplwbsbqwj`ofpb#sql`fppGlnjmj`bmulovnf#leqfwvqmjmdgfefmpjuf33s{qjdknbgf#eqlnnlvpflufq!#pwzof>!pwbwfp#le+tkj`k#jp`lmwjmvfpEqbm`jp`lavjogjmd#tjwklvw#btjwk#plnftkl#tlvogb#elqn#leb#sbqw#leafelqf#jwhmltm#bp##Pfquj`fpol`bwjlm#bmg#lewfmnfbpvqjmdbmg#jw#jpsbsfqab`hubovfp#le\t?wjwof=>#tjmglt-gfwfqnjmffq%rvlw8#sobzfg#azbmg#fbqoz?,`fmwfq=eqln#wkjpwkf#wkqffsltfq#bmgle#%rvlw8jmmfqKWNO?b#kqfe>!z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qbwnlpskfqf#lmel`vp>!?elqn#jg>!sql`fppjmdwkjp-ubovfdfmfqbwjlm@lmefqfm`fpvapfrvfmwtfoo.hmltmubqjbwjlmpqfsvwbwjlmskfmlnfmlmgjp`jsojmfoldl-smd!#+gl`vnfmw/alvmgbqjfpf{sqfppjlmpfwwofnfmwAb`hdqlvmglvw#le#wkffmwfqsqjpf+!kwwsp9!#vmfp`bsf+!sbpptlqg!#gfnl`qbwj`?b#kqfe>!,tqbssfq!=\tnfnafqpkjsojmdvjpwj`s{8sbggjmdskjolplskzbppjpwbm`fvmjufqpjwzeb`jojwjfpqf`ldmjyfgsqfefqfm`fje#+wzsflenbjmwbjmfgul`bavobqzkzslwkfpjp-pvanjw+*8%bns8maps8bmmlwbwjlmafkjmg#wkfElvmgbwjlmsvaojpkfq!bppvnswjlmjmwqlgv`fg`lqqvswjlmp`jfmwjpwpf{soj`jwozjmpwfbg#legjnfmpjlmp#lm@oj`h>!`lmpjgfqfggfsbqwnfmwl``vsbwjlmpllm#bewfqjmufpwnfmwsqlmlvm`fgjgfmwjejfgf{sfqjnfmwNbmbdfnfmwdfldqbskj`!#kfjdkw>!ojmh#qfo>!-qfsob`f+,gfsqfppjlm`lmefqfm`fsvmjpknfmwfojnjmbwfgqfpjpwbm`fbgbswbwjlmlsslpjwjlmtfoo#hmltmpvssofnfmwgfwfqnjmfgk2#`obpp>!3s{8nbqdjmnf`kbmj`bopwbwjpwj`p`fofaqbwfgDlufqmnfmw\t\tGvqjmd#wgfufolsfqpbqwjej`jbofrvjubofmwlqjdjmbwfg@lnnjppjlmbwwb`knfmw?psbm#jg>!wkfqf#tfqfMfgfqobmgpafzlmg#wkfqfdjpwfqfgilvqmbojpweqfrvfmwozboo#le#wkfobmd>!fm!#?,pwzof=\tbaplovwf8#pvsslqwjmdf{wqfnfoz#nbjmpwqfbn?,pwqlmd=#slsvobqjwzfnsolznfmw?,wbaof=\t#`lopsbm>!?,elqn=\t##`lmufqpjlmbalvw#wkf#?,s=?,gju=jmwfdqbwfg!#obmd>!fmSlqwvdvfpfpvapwjwvwfjmgjujgvbojnslppjaofnvowjnfgjbbonlpw#boos{#plojg# bsbqw#eqlnpvaif`w#wljm#Fmdojpk`qjwj`jyfgf{`fsw#elqdvjgfojmfplqjdjmboozqfnbqhbaofwkf#pf`lmgk1#`obpp>!?b#wjwof>!+jm`ovgjmdsbqbnfwfqpsqlkjajwfg>#!kwws9,,gj`wjlmbqzsfq`fswjlmqfulovwjlmelvmgbwjlms{8kfjdkw9pv``fppevopvsslqwfqpnjoofmmjvnkjp#ebwkfqwkf#%rvlw8ml.qfsfbw8`lnnfq`jbojmgvpwqjbofm`lvqbdfgbnlvmw#le#vmleej`jbofeej`jfm`zQfefqfm`fp`llqgjmbwfgjp`objnfqf{sfgjwjlmgfufolsjmd`bo`vobwfgpjnsojejfgofdjwjnbwfpvapwqjmd+3!#`obpp>!`lnsofwfozjoovpwqbwfejuf#zfbqpjmpwqvnfmwSvaojpkjmd2!#`obpp>!spz`kloldz`lmejgfm`fmvnafq#le#bapfm`f#leel`vpfg#lmiljmfg#wkfpwqv`wvqfpsqfujlvpoz=?,jeqbnf=lm`f#bdbjmavw#qbwkfqjnnjdqbmwple#`lvqpf/b#dqlvs#leOjwfqbwvqfVmojhf#wkf?,b=%maps8\tevm`wjlm#jw#tbp#wkf@lmufmwjlmbvwlnlajofSqlwfpwbmwbddqfppjufbewfq#wkf#Pjnjobqoz/!#,=?,gju=`loof`wjlm\tevm`wjlmujpjajojwzwkf#vpf#leulovmwffqpbwwqb`wjlmvmgfq#wkf#wkqfbwfmfg)?"X@GBWBXjnslqwbm`fjm#dfmfqbowkf#obwwfq?,elqn=\t?,-jmgf{Le+$j#>#38#j#?gjeefqfm`fgfulwfg#wlwqbgjwjlmppfbq`k#elqvowjnbwfozwlvqmbnfmwbwwqjavwfppl.`boofg#~\t?,pwzof=fubovbwjlmfnskbpjyfgb``fppjaof?,pf`wjlm=pv``fppjlmbolmd#tjwkNfbmtkjof/jmgvpwqjfp?,b=?aq#,=kbp#af`lnfbpsf`wp#leWfofujpjlmpveej`jfmwabphfwabooalwk#pjgfp`lmwjmvjmdbm#bqwj`of?jnd#bow>!bgufmwvqfpkjp#nlwkfqnbm`kfpwfqsqjm`jsofpsbqwj`vobq`lnnfmwbqzfeef`wp#legf`jgfg#wl!=?pwqlmd=svaojpkfqpIlvqmbo#legjeej`vowzeb`jojwbwfb``fswbaofpwzof-`pp!\nevm`wjlm#jmmlubwjlm=@lszqjdkwpjwvbwjlmptlvog#kbufavpjmfppfpGj`wjlmbqzpwbwfnfmwplewfm#vpfgsfqpjpwfmwjm#Ibmvbqz`lnsqjpjmd?,wjwof=\t\ngjsolnbwj``lmwbjmjmdsfqelqnjmdf{wfmpjlmpnbz#mlw#af`lm`fsw#le#lm`oj`h>!Jw#jp#boplejmbm`jbo#nbhjmd#wkfOv{fnalvqdbggjwjlmbobqf#`boofgfmdbdfg#jm!p`qjsw!*8avw#jw#tbpfof`wqlmj`lmpvanjw>!\t?"..#Fmg#fof`wqj`boleej`jboozpvddfpwjlmwls#le#wkfvmojhf#wkfBvpwqbojbmLqjdjmboozqfefqfm`fp\t?,kfbg=\tqf`ldmjpfgjmjwjbojyfojnjwfg#wlBof{bmgqjbqfwjqfnfmwBgufmwvqfpelvq#zfbqp\t\t%ow8"..#jm`qfbpjmdgf`lqbwjlmk0#`obpp>!lqjdjmp#lelaojdbwjlmqfdvobwjlm`obppjejfg+evm`wjlm+bgubmwbdfpafjmd#wkf#kjpwlqjbmp?abpf#kqfeqfsfbwfgoztjoojmd#wl`lnsbqbaofgfpjdmbwfgmlnjmbwjlmevm`wjlmbojmpjgf#wkfqfufobwjlmfmg#le#wkfp#elq#wkf#bvwklqjyfgqfevpfg#wlwbhf#sob`fbvwlmlnlvp`lnsqlnjpfslojwj`bo#qfpwbvqbmwwtl#le#wkfEfaqvbqz#1rvbojwz#leptelaif`w-vmgfqpwbmgmfbqoz#bootqjwwfm#azjmwfqujftp!#tjgwk>!2tjwkgqbtboeolbw9ofewjp#vpvbooz`bmgjgbwfpmftpsbsfqpnzpwfqjlvpGfsbqwnfmwafpw#hmltmsbqojbnfmwpvssqfppfg`lmufmjfmwqfnfnafqfggjeefqfmw#pzpwfnbwj`kbp#ofg#wlsqlsbdbmgb`lmwqloofgjmeovfm`fp`fqfnlmjbosql`objnfgSqlwf`wjlmoj#`obpp>!P`jfmwjej``obpp>!ml.wqbgfnbqhpnlqf#wkbm#tjgfpsqfbgOjafqbwjlmwllh#sob`fgbz#le#wkfbp#olmd#bpjnsqjplmfgBggjwjlmbo\t?kfbg=\t?nObalqbwlqzMlufnafq#1f{`fswjlmpJmgvpwqjboubqjfwz#leeolbw9#ofeGvqjmd#wkfbppfppnfmwkbuf#affm#gfbop#tjwkPwbwjpwj`pl``vqqfm`f,vo=?,gju=`ofbqej{!=wkf#svaoj`nbmz#zfbqptkj`k#tfqflufq#wjnf/pzmlmznlvp`lmwfmw!=\tsqfpvnbaozkjp#ebnjozvpfqBdfmw-vmf{sf`wfgjm`ovgjmd#`kboofmdfgb#njmlqjwzvmgfejmfg!afolmdp#wlwbhfm#eqlnjm#L`wlafqslpjwjlm9#pbjg#wl#afqfojdjlvp#Efgfqbwjlm#qltpsbm>!lmoz#b#eftnfbmw#wkbwofg#wl#wkf..=\t?gju#?ejfogpfw=Bq`kajpkls#`obpp>!mlafjmd#vpfgbssqlb`kfpsqjujofdfpmlp`qjsw=\tqfpvowp#jmnbz#af#wkfFbpwfq#fddnf`kbmjpnpqfbplmbaofSlsvobwjlm@loof`wjlmpfof`wfg!=mlp`qjsw=,jmgf{-sksbqqjubo#le.ippgh$**8nbmbdfg#wljm`lnsofwf`bpvbowjfp`lnsofwjlm@kqjpwjbmpPfswfnafq#bqjwknfwj`sql`fgvqfpnjdkw#kbufSqlgv`wjlmjw#bssfbqpSkjolplskzeqjfmgpkjsofbgjmd#wldjujmd#wkfwltbqg#wkfdvbqbmwffggl`vnfmwfg`lolq9 333ujgfl#dbnf`lnnjppj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qj`bokbg#affm#bgfejmjwjufjmdqfgjfmwbwwfmgbm`f@fmwfq#elqsqlnjmfm`fqfbgzPwbwfpwqbwfdjfpavw#jm#wkfbp#sbqw#le`lmpwjwvwf`objn#wkbwobalqbwlqz`lnsbwjaofebjovqf#le/#pv`k#bp#afdbm#tjwkvpjmd#wkf#wl#sqlujgfefbwvqf#leeqln#tkj`k,!#`obpp>!dfloldj`bopfufqbo#legfojafqbwfjnslqwbmw#klogp#wkbwjmd%rvlw8#ubojdm>wlswkf#Dfqnbmlvwpjgf#lemfdlwjbwfgkjp#`bqffqpfsbqbwjlmjg>!pfbq`ktbp#`boofgwkf#elvqwkqf`qfbwjlmlwkfq#wkbmsqfufmwjlmtkjof#wkf#fgv`bwjlm/`lmmf`wjmdb``vqbwfoztfqf#avjowtbp#hjoofgbdqffnfmwpnv`k#nlqf#Gvf#wl#wkftjgwk9#233plnf#lwkfqHjmdgln#lewkf#fmwjqfebnlvp#elqwl#`lmmf`wlaif`wjufpwkf#Eqfm`ksflsof#bmgefbwvqfg!=jp#pbjg#wlpwqv`wvqboqfefqfmgvnnlpw#lewfmb#pfsbqbwf.=\t?gju#jg#Leej`jbo#tlqogtjgf-bqjb.obafowkf#sobmfwbmg#jw#tbpg!#ubovf>!ollhjmd#bwafmfej`jbobqf#jm#wkfnlmjwlqjmdqfslqwfgozwkf#nlgfqmtlqhjmd#lmbooltfg#wltkfqf#wkf#jmmlubwjuf?,b=?,gju=plvmgwqb`hpfbq`kElqnwfmg#wl#afjmsvw#jg>!lsfmjmd#leqfpwqj`wfgbglswfg#azbggqfppjmdwkfloldjbmnfwklgp#leubqjbmw#le@kqjpwjbm#ufqz#obqdfbvwlnlwjufaz#ebq#wkfqbmdf#eqlnsvqpvjw#leeloolt#wkfaqlvdkw#wljm#Fmdobmgbdqff#wkbwb``vpfg#le`lnfp#eqlnsqfufmwjmdgju#pwzof>kjp#lq#kfqwqfnfmglvpeqffgln#le`lm`fqmjmd3#2fn#2fn8Abphfwaboo,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lnsfwjwjlmsob`fklogfqujpjajojwz9`lszqjdkw!=3!#kfjdkw>!fufm#wklvdkqfsob`fnfmwgfpwjmbwjlm@lqslqbwjlm?vo#`obpp>!Bppl`jbwjlmjmgjujgvbopsfqpsf`wjufpfwWjnflvw+vqo+kwws9,,nbwkfnbwj`pnbqdjm.wls9fufmwvbooz#gfp`qjswjlm*#ml.qfsfbw`loof`wjlmp-ISDwkvnasbqwj`jsbwf,kfbg=?algzeolbw9ofew8?oj#`obpp>!kvmgqfgp#le\t\tKltfufq/#`lnslpjwjlm`ofbq9alwk8`llsfqbwjlmtjwkjm#wkf#obafo#elq>!alqgfq.wls9Mft#Yfbobmgqf`lnnfmgfgsklwldqbskzjmwfqfpwjmd%ow8pvs%dw8`lmwqlufqpzMfwkfqobmgpbowfqmbwjufnb{ofmdwk>!ptjwyfqobmgGfufolsnfmwfppfmwjbooz\t\tBowklvdk#?,wf{wbqfb=wkvmgfqajqgqfsqfpfmwfg%bns8mgbpk8psf`vobwjlm`lnnvmjwjfpofdjpobwjlmfof`wqlmj`p\t\n?gju#jg>!joovpwqbwfgfmdjmffqjmdwfqqjwlqjfpbvwklqjwjfpgjpwqjavwfg5!#kfjdkw>!pbmp.pfqje8`bsbaof#le#gjpbssfbqfgjmwfqb`wjufollhjmd#elqjw#tlvog#afBedkbmjpwbmtbp#`qfbwfgNbwk-eollq+pvqqlvmgjmd`bm#bopl#aflapfqubwjlmnbjmwfmbm`ffm`lvmwfqfg?k1#`obpp>!nlqf#qf`fmwjw#kbp#affmjmubpjlm#le*-dfwWjnf+*evmgbnfmwboGfpsjwf#wkf!=?gju#jg>!jmpsjqbwjlmf{bnjmbwjlmsqfsbqbwjlmf{sobmbwjlm?jmsvw#jg>!?,b=?,psbm=ufqpjlmp#lejmpwqvnfmwpafelqf#wkf##>#$kwws9,,Gfp`qjswjlmqfobwjufoz#-pvapwqjmd+fb`k#le#wkff{sfqjnfmwpjmeovfmwjbojmwfdqbwjlmnbmz#sflsofgvf#wl#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bh#lejm#wkf#sbpwelooltjmd#b#{nomp9ld>!=?b#`obpp>!`obpp>!wf{w@lmufqpjlm#nbz#af#vpfgnbmveb`wvqfbewfq#afjmd`ofbqej{!=\trvfpwjlm#letbp#fof`wfgwl#af`lnf#baf`bvpf#le#plnf#sflsofjmpsjqfg#azpv``fppevo#b#wjnf#tkfmnlqf#`lnnlmbnlmdpw#wkfbm#leej`jbotjgwk9233&8wf`kmloldz/tbp#bglswfgwl#hffs#wkfpfwwofnfmwpojuf#ajqwkpjmgf{-kwno!@lmmf`wj`vwbppjdmfg#wl%bns8wjnfp8b``lvmw#elqbojdm>qjdkwwkf#`lnsbmzbotbzp#affmqfwvqmfg#wljmuloufnfmwAf`bvpf#wkfwkjp#sfqjlg!#mbnf>!r!#`lmejmfg#wlb#qfpvow#leubovf>!!#,=jp#b`wvboozFmujqlmnfmw\t?,kfbg=\t@lmufqpfoz/=\t?gju#jg>!3!#tjgwk>!2jp#sqlabaozkbuf#af`lnf`lmwqloojmdwkf#sqlaofn`jwjyfmp#leslojwj`jbmpqfb`kfg#wkfbp#fbqoz#bp9mlmf8#lufq?wbaof#`fooubojgjwz#legjqf`woz#wllmnlvpfgltmtkfqf#jw#jptkfm#jw#tbpnfnafqp#le#qfobwjlm#wlb``lnnlgbwfbolmd#tjwk#Jm#wkf#obwfwkf#Fmdojpkgfoj`jlvp!=wkjp#jp#mlwwkf#sqfpfmwje#wkfz#bqfbmg#ejmboozb#nbwwfq#le\t\n?,gju=\t\t?,p`qjsw=ebpwfq#wkbmnbilqjwz#lebewfq#tkj`k`lnsbqbwjufwl#nbjmwbjmjnsqluf#wkfbtbqgfg#wkffq!#`obpp>!eqbnfalqgfqqfpwlqbwjlmjm#wkf#pbnfbmbozpjp#lewkfjq#ejqpwGvqjmd#wkf#`lmwjmfmwbopfrvfm`f#leevm`wjlm+*xelmw.pjyf9#tlqh#lm#wkf?,p`qjsw=\t?afdjmp#tjwkibubp`qjsw9`lmpwjwvfmwtbp#elvmgfgfrvjojaqjvnbppvnf#wkbwjp#djufm#azmffgp#wl#af`llqgjmbwfpwkf#ubqjlvpbqf#sbqw#lelmoz#jm#wkfpf`wjlmp#lejp#b#`lnnlmwkflqjfp#legjp`lufqjfpbppl`jbwjlmfgdf#le#wkfpwqfmdwk#leslpjwjlm#jmsqfpfmw.gbzvmjufqpboozwl#elqn#wkfavw#jmpwfbg`lqslqbwjlmbwwb`kfg#wljp#`lnnlmozqfbplmp#elq#%rvlw8wkf#`bm#af#nbgftbp#baof#wltkj`k#nfbmpavw#gjg#mlwlmNlvpfLufqbp#slppjaoflsfqbwfg#az`lnjmd#eqlnwkf#sqjnbqzbggjwjlm#leelq#pfufqbowqbmpefqqfgb#sfqjlg#lebqf#baof#wlkltfufq/#jwpklvog#kbufnv`k#obqdfq\t\n?,p`qjsw=bglswfg#wkfsqlsfqwz#legjqf`wfg#azfeef`wjufoztbp#aqlvdkw`kjogqfm#leSqldqbnnjmdolmdfq#wkbmnbmvp`qjswptbq#bdbjmpwaz#nfbmp#lebmg#nlpw#lepjnjobq#wl#sqlsqjfwbqzlqjdjmbwjmdsqfpwjdjlvpdqbnnbwj`bof{sfqjfm`f-wl#nbhf#wkfJw#tbp#bopljp#elvmg#jm`lnsfwjwlqpjm#wkf#V-P-qfsob`f#wkfaqlvdkw#wkf`bo`vobwjlmeboo#le#wkfwkf#dfmfqbosqb`wj`boozjm#klmlq#leqfofbpfg#jmqfpjgfmwjbobmg#plnf#lehjmd#le#wkfqfb`wjlm#wl2pw#Fbqo#le`vowvqf#bmgsqjm`jsbooz?,wjwof=\t##wkfz#`bm#afab`h#wl#wkfplnf#le#kjpf{slpvqf#wlbqf#pjnjobqelqn#le#wkfbggEbulqjwf`jwjyfmpkjssbqw#jm#wkfsflsof#tjwkjm#sqb`wj`fwl#`lmwjmvf%bns8njmvp8bssqlufg#az#wkf#ejqpw#booltfg#wkfbmg#elq#wkfevm`wjlmjmdsobzjmd#wkfplovwjlm#wlkfjdkw>!3!#jm#kjp#allhnlqf#wkbm#belooltp#wkf`qfbwfg#wkfsqfpfm`f#jm%maps8?,wg=mbwjlmbojpwwkf#jgfb#leb#`kbqb`wfqtfqf#elq`fg#`obpp>!awmgbzp#le#wkfefbwvqfg#jmpkltjmd#wkfjmwfqfpw#jmjm#sob`f#lewvqm#le#wkfwkf#kfbg#leOlqg#le#wkfslojwj`boozkbp#jwp#ltmFgv`bwjlmbobssqlubo#leplnf#le#wkffb`k#lwkfq/afkbujlq#lebmg#af`bvpfbmg#bmlwkfqbssfbqfg#lmqf`lqgfg#jmaob`h%rvlw8nbz#jm`ovgfwkf#tlqog$p`bm#ofbg#wlqfefqp#wl#balqgfq>!3!#dlufqmnfmw#tjmmjmd#wkfqfpvowfg#jm#tkjof#wkf#Tbpkjmdwlm/wkf#pvaif`w`jwz#jm#wkf=?,gju=\t\n\nqfeof`w#wkfwl#`lnsofwfaf`bnf#nlqfqbgjlb`wjufqfif`wfg#aztjwklvw#bmzkjp#ebwkfq/tkj`k#`lvog`lsz#le#wkfwl#jmgj`bwfb#slojwj`bob``lvmwp#le`lmpwjwvwfptlqhfg#tjwkfq?,b=?,oj=le#kjp#ojefb``lnsbmjfg`ojfmwTjgwksqfufmw#wkfOfdjpobwjufgjeefqfmwozwldfwkfq#jmkbp#pfufqboelq#bmlwkfqwf{w#le#wkfelvmgfg#wkff#tjwk#wkf#jp#vpfg#elq`kbmdfg#wkfvpvbooz#wkfsob`f#tkfqftkfqfbp#wkf=#?b#kqfe>!!=?b#kqfe>!wkfnpfoufp/bowklvdk#kfwkbw#`bm#afwqbgjwjlmboqlof#le#wkfbp#b#qfpvowqfnluf@kjoggfpjdmfg#aztfpw#le#wkfPlnf#sflsofsqlgv`wjlm/pjgf#le#wkfmftpofwwfqpvpfg#az#wkfgltm#wl#wkfb``fswfg#azojuf#jm#wkfbwwfnswp#wllvwpjgf#wkfeqfrvfm`jfpKltfufq/#jmsqldqbnnfqpbw#ofbpw#jmbssql{jnbwfbowklvdk#jwtbp#sbqw#l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jwjfpalgz=?,kwno=jp#`vqqfmwozboskbafwj`bojp#plnfwjnfpwzsf>!jnbdf,nbmz#le#wkf#eolt9kjggfm8bubjobaof#jmgfp`qjaf#wkff{jpwfm`f#leboo#lufq#wkfwkf#Jmwfqmfw\n?vo#`obpp>!jmpwboobwjlmmfjdkalqkllgbqnfg#elq`fpqfgv`jmd#wkf`lmwjmvfp#wlMlmfwkfofpp/wfnsfqbwvqfp\t\n\n?b#kqfe>!`olpf#wl#wkff{bnsofp#le#jp#balvw#wkf+pff#afolt*-!#jg>!pfbq`ksqlefppjlmbojp#bubjobaofwkf#leej`jbo\n\n?,p`qjsw=\t\t\n\n?gju#jg>!b``fofqbwjlmwkqlvdk#wkf#Kboo#le#Ebnfgfp`qjswjlmpwqbmpobwjlmpjmwfqefqfm`f#wzsf>$wf{w,qf`fmw#zfbqpjm#wkf#tlqogufqz#slsvobqxab`hdqlvmg9wqbgjwjlmbo#plnf#le#wkf#`lmmf`wfg#wlf{soljwbwjlmfnfqdfm`f#le`lmpwjwvwjlmB#Kjpwlqz#lepjdmjej`bmw#nbmveb`wvqfgf{sf`wbwjlmp=?mlp`qjsw=?`bm#af#elvmgaf`bvpf#wkf#kbp#mlw#affmmfjdkalvqjmdtjwklvw#wkf#bggfg#wl#wkf\n?oj#`obpp>!jmpwqvnfmwboPlujfw#Vmjlmb`hmltofgdfgtkj`k#`bm#afmbnf#elq#wkfbwwfmwjlm#wlbwwfnswp#wl#gfufolsnfmwpJm#eb`w/#wkf?oj#`obpp>!bjnsoj`bwjlmppvjwbaof#elqnv`k#le#wkf#`lolmjybwjlmsqfpjgfmwjbo`bm`foAvaaof#Jmelqnbwjlmnlpw#le#wkf#jp#gfp`qjafgqfpw#le#wkf#nlqf#lq#ofppjm#PfswfnafqJmwfoojdfm`fpq`>!kwws9,,s{8#kfjdkw9#bubjobaof#wlnbmveb`wvqfqkvnbm#qjdkwpojmh#kqfe>!,bubjobajojwzsqlslqwjlmbolvwpjgf#wkf#bpwqlml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@lmpfqubwjlm`lmpjpwfg#leqfefq#wl#wkfab`h#wl#wkf#`pp!#nfgjb>!Sflsof#eqln#bubjobaof#lmsqlufg#wl#afpvddfpwjlmp!tbp#hmltm#bpubqjfwjfp#leojhfoz#wl#af`lnsqjpfg#lepvsslqw#wkf#kbmgp#le#wkf`lvsofg#tjwk`lmmf`w#bmg#alqgfq9mlmf8sfqelqnbm`fpafelqf#afjmdobwfq#af`bnf`bo`vobwjlmplewfm#`boofgqfpjgfmwp#lenfbmjmd#wkbw=?oj#`obpp>!fujgfm`f#elqf{sobmbwjlmpfmujqlmnfmwp!=?,b=?,gju=tkj`k#booltpJmwqlgv`wjlmgfufolsfg#azb#tjgf#qbmdflm#afkboe#leubojdm>!wls!sqjm`jsof#lebw#wkf#wjnf/?,mlp`qjsw=pbjg#wl#kbufjm#wkf#ejqpwtkjof#lwkfqpkzslwkfwj`boskjolplskfqpsltfq#le#wkf`lmwbjmfg#jmsfqelqnfg#azjmbajojwz#wltfqf#tqjwwfmpsbm#pwzof>!jmsvw#mbnf>!wkf#rvfpwjlmjmwfmgfg#elqqfif`wjlm#lejnsojfp#wkbwjmufmwfg#wkfwkf#pwbmgbqgtbp#sqlabaozojmh#afwtffmsqlefpplq#lejmwfqb`wjlmp`kbmdjmd#wkfJmgjbm#L`fbm#`obpp>!obpwtlqhjmd#tjwk$kwws9,,ttt-zfbqp#afelqfWkjp#tbp#wkfqf`qfbwjlmbofmwfqjmd#wkfnfbpvqfnfmwpbm#f{wqfnfozubovf#le#wkfpwbqw#le#wkf\t?,p`qjsw=\t\tbm#feelqw#wljm`qfbpf#wkfwl#wkf#plvwkpsb`jmd>!3!=pveej`jfmwozwkf#Fvqlsfbm`lmufqwfg#wl`ofbqWjnflvwgjg#mlw#kbuf`lmpfrvfmwozelq#wkf#mf{wf{wfmpjlm#lef`lmlnj`#bmgbowklvdk#wkfbqf#sqlgv`fgbmg#tjwk#wkfjmpveej`jfmwdjufm#az#wkfpwbwjmd#wkbwf{sfmgjwvqfp?,psbm=?,b=\twklvdkw#wkbwlm#wkf#abpjp`foosbggjmd>jnbdf#le#wkfqfwvqmjmd#wljmelqnbwjlm/pfsbqbwfg#azbppbppjmbwfgp!#`lmwfmw>!bvwklqjwz#lemlqwktfpwfqm?,gju=\t?gju#!=?,gju=\t##`lmpvowbwjlm`lnnvmjwz#lewkf#mbwjlmbojw#pklvog#afsbqwj`jsbmwp#bojdm>!ofewwkf#dqfbwfpwpfof`wjlm#lepvsfqmbwvqbogfsfmgfmw#lmjp#nfmwjlmfgbooltjmd#wkftbp#jmufmwfgb``lnsbmzjmdkjp#sfqplmbobubjobaof#bwpwvgz#le#wkflm#wkf#lwkfqf{f`vwjlm#leKvnbm#Qjdkwpwfqnp#le#wkfbppl`jbwjlmpqfpfbq`k#bmgpv``ffgfg#azgfefbwfg#wkfbmg#eqln#wkfavw#wkfz#bqf`lnnbmgfq#lepwbwf#le#wkfzfbqp#le#bdfwkf#pwvgz#le?vo#`obpp>!psob`f#jm#wkftkfqf#kf#tbp?oj#`obpp>!ewkfqf#bqf#mltkj`k#af`bnfkf#svaojpkfgf{sqfppfg#jmwl#tkj`k#wkf`lnnjppjlmfqelmw.tfjdkw9wfqqjwlqz#lef{wfmpjlmp!=Qlnbm#Fnsjqffrvbo#wl#wkfJm#`lmwqbpw/kltfufq/#bmgjp#wzsj`boozbmg#kjp#tjef+bopl#`boofg=?vo#`obpp>!feef`wjufoz#fuloufg#jmwlpffn#wl#kbuftkj`k#jp#wkfwkfqf#tbp#mlbm#f{`foofmwboo#le#wkfpfgfp`qjafg#azJm#sqb`wj`f/aqlbg`bpwjmd`kbqdfg#tjwkqfeof`wfg#jmpvaif`wfg#wlnjojwbqz#bmgwl#wkf#sljmwf`lmlnj`boozpfwWbqdfwjmdbqf#b`wvboozuj`wlqz#lufq+*8?,p`qjsw=`lmwjmvlvpozqfrvjqfg#elqfulovwjlmbqzbm#feef`wjufmlqwk#le#wkf/#tkj`k#tbp#eqlmw#le#wkflq#lwkf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.ofew9Elq#f{bnsof/#njp`foobmflvp%ow8,nbwk%dw8spz`kloldj`bojm#sbqwj`vobqfbq`k!#wzsf>!elqn#nfwklg>!bp#lsslpfg#wlPvsqfnf#@lvqwl``bpjlmbooz#Bggjwjlmbooz/Mlqwk#Bnfqj`bs{8ab`hdqlvmglsslqwvmjwjfpFmwfqwbjmnfmw-wlOltfq@bpf+nbmveb`wvqjmdsqlefppjlmbo#`lnajmfg#tjwkElq#jmpwbm`f/`lmpjpwjmd#le!#nb{ofmdwk>!qfwvqm#ebopf8`lmp`jlvpmfppNfgjwfqqbmfbmf{wqblqgjmbqzbppbppjmbwjlmpvapfrvfmwoz#avwwlm#wzsf>!wkf#mvnafq#lewkf#lqjdjmbo#`lnsqfkfmpjufqfefqp#wl#wkf?,vo=\t?,gju=\tskjolplskj`bool`bwjlm-kqfetbp#svaojpkfgPbm#Eqbm`jp`l+evm`wjlm+*x\t?gju#jg>!nbjmplskjpwj`bwfgnbwkfnbwj`bo#,kfbg=\t?algzpvddfpwp#wkbwgl`vnfmwbwjlm`lm`fmwqbwjlmqfobwjlmpkjspnbz#kbuf#affm+elq#f{bnsof/Wkjp#bqwj`of#jm#plnf#`bpfpsbqwp#le#wkf#gfejmjwjlm#leDqfbw#Aqjwbjm#`foosbggjmd>frvjubofmw#wlsob`fklogfq>!8#elmw.pjyf9#ivpwjej`bwjlmafojfufg#wkbwpveefqfg#eqlnbwwfnswfg#wl#ofbgfq#le#wkf`qjsw!#pq`>!,+evm`wjlm+*#xbqf#bubjobaof\t\n?ojmh#qfo>!#pq`>$kwws9,,jmwfqfpwfg#jm`lmufmwjlmbo#!#bow>!!#,=?,bqf#dfmfqboozkbp#bopl#affmnlpw#slsvobq#`lqqfpslmgjmd`qfgjwfg#tjwkwzof>!alqgfq9?,b=?,psbm=?,-dje!#tjgwk>!?jeqbnf#pq`>!wbaof#`obpp>!jmojmf.aol`h8b``lqgjmd#wl#wldfwkfq#tjwkbssql{jnbwfozsbqojbnfmwbqznlqf#bmg#nlqfgjpsobz9mlmf8wqbgjwjlmboozsqfglnjmbmwoz%maps8%maps8%maps8?,psbm=#`foopsb`jmd>?jmsvw#mbnf>!lq!#`lmwfmw>!`lmwqlufqpjbosqlsfqwz>!ld9,{.pkl`htbuf.gfnlmpwqbwjlmpvqqlvmgfg#azMfufqwkfofpp/tbp#wkf#ejqpw`lmpjgfqbaof#Bowklvdk#wkf#`loobalqbwjlmpklvog#mlw#afsqlslqwjlm#le?psbm#pwzof>!hmltm#bp#wkf#pklqwoz#bewfqelq#jmpwbm`f/gfp`qjafg#bp#,kfbg=\t?algz#pwbqwjmd#tjwkjm`qfbpjmdoz#wkf#eb`w#wkbwgjp`vppjlm#lenjggof#le#wkfbm#jmgjujgvbogjeej`vow#wl#sljmw#le#ujftklnlpf{vbojwzb``fswbm`f#le?,psbm=?,gju=nbmveb`wvqfqplqjdjm#le#wkf`lnnlmoz#vpfgjnslqwbm`f#legfmlnjmbwjlmpab`hdqlvmg9# ofmdwk#le#wkfgfwfqnjmbwjlmb#pjdmjej`bmw!#alqgfq>!3!=qfulovwjlmbqzsqjm`jsofp#lejp#`lmpjgfqfgtbp#gfufolsfgJmgl.Fvqlsfbmuvomfqbaof#wlsqlslmfmwp#lebqf#plnfwjnfp`olpfq#wl#wkfMft#Zlqh#@jwz#mbnf>!pfbq`kbwwqjavwfg#wl`lvqpf#le#wkfnbwkfnbwj`jbmaz#wkf#fmg#lebw#wkf#fmg#le!#alqgfq>!3!#wf`kmloldj`bo-qfnluf@obpp+aqbm`k#le#wkffujgfm`f#wkbw"Xfmgje^..=\tJmpwjwvwf#le#jmwl#b#pjmdofqfpsf`wjufoz-bmg#wkfqfelqfsqlsfqwjfp#lejp#ol`bwfg#jmplnf#le#tkj`kWkfqf#jp#bopl`lmwjmvfg#wl#bssfbqbm`f#le#%bns8mgbpk8#gfp`qjafp#wkf`lmpjgfqbwjlmbvwklq#le#wkfjmgfsfmgfmwozfrvjssfg#tjwkglfp#mlw#kbuf?,b=?b#kqfe>!`lmevpfg#tjwk?ojmh#kqfe>!,bw#wkf#bdf#lebssfbq#jm#wkfWkfpf#jm`ovgfqfdbqgofpp#le`lvog#af#vpfg#pwzof>%rvlw8pfufqbo#wjnfpqfsqfpfmw#wkfalgz=\t?,kwno=wklvdkw#wl#afslsvobwjlm#leslppjajojwjfpsfq`fmwbdf#leb``fpp#wl#wkfbm#bwwfnsw#wlsqlgv`wjlm#leirvfqz,irvfqzwtl#gjeefqfmwafolmd#wl#wkffpwbaojpknfmwqfsob`jmd#wkfgfp`qjswjlm!#gfwfqnjmf#wkfbubjobaof#elqB``lqgjmd#wl#tjgf#qbmdf#le\n?gju#`obpp>!nlqf#`lnnlmozlqdbmjpbwjlmpevm`wjlmbojwztbp#`lnsofwfg#%bns8ngbpk8#sbqwj`jsbwjlmwkf#`kbqb`wfqbm#bggjwjlmbobssfbqp#wl#afeb`w#wkbw#wkfbm#f{bnsof#lepjdmjej`bmwozlmnlvpflufq>!af`bvpf#wkfz#bpzm`#>#wqvf8sqlaofnp#tjwkpffnp#wl#kbufwkf#qfpvow#le#pq`>!kwws9,,ebnjojbq#tjwkslppfppjlm#leevm`wjlm#+*#xwllh#sob`f#jmbmg#plnfwjnfppvapwbmwjbooz?psbm=?,psbm=jp#lewfm#vpfgjm#bm#bwwfnswdqfbw#gfbo#leFmujqlmnfmwbopv``fppevooz#ujqwvbooz#boo13wk#`fmwvqz/sqlefppjlmbopmf`fppbqz#wl#gfwfqnjmfg#az`lnsbwjajojwzaf`bvpf#jw#jpGj`wjlmbqz#lenlgjej`bwjlmpWkf#elooltjmdnbz#qfefq#wl9@lmpfrvfmwoz/Jmwfqmbwjlmbobowklvdk#plnfwkbw#tlvog#aftlqog$p#ejqpw`obppjejfg#bpalwwln#le#wkf+sbqwj`vobqozbojdm>!ofew!#nlpw#`lnnlmozabpjp#elq#wkfelvmgbwjlm#le`lmwqjavwjlmpslsvobqjwz#le`fmwfq#le#wkfwl#qfgv`f#wkfivqjpgj`wjlmp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zpbqf#`vqqfmwozf{sqfppjlm#leskjolplskz#leelq#nlqf#wkbm`jujojybwjlmplm#wkf#jpobmgpfof`wfgJmgf{`bm#qfpvow#jm!#ubovf>!!#,=wkf#pwqv`wvqf#,=?,b=?,gju=Nbmz#le#wkfpf`bvpfg#az#wkfle#wkf#Vmjwfgpsbm#`obpp>!n`bm#af#wqb`fgjp#qfobwfg#wlaf`bnf#lmf#lejp#eqfrvfmwozojujmd#jm#wkfwkflqfwj`boozElooltjmd#wkfQfulovwjlmbqzdlufqmnfmw#jmjp#gfwfqnjmfgwkf#slojwj`bojmwqlgv`fg#jmpveej`jfmw#wlgfp`qjswjlm!=pklqw#pwlqjfppfsbqbwjlm#lebp#wl#tkfwkfqhmltm#elq#jwptbp#jmjwjboozgjpsobz9aol`hjp#bm#f{bnsofwkf#sqjm`jsbo`lmpjpwp#le#bqf`ldmjyfg#bp,algz=?,kwno=b#pvapwbmwjboqf`lmpwqv`wfgkfbg#le#pwbwfqfpjpwbm`f#wlvmgfqdqbgvbwfWkfqf#bqf#wtldqbujwbwjlmbobqf#gfp`qjafgjmwfmwjlmboozpfqufg#bp#wkf`obpp>!kfbgfqlsslpjwjlm#wlevmgbnfmwboozglnjmbwfg#wkfbmg#wkf#lwkfqboojbm`f#tjwktbp#elq`fg#wlqfpsf`wjufoz/bmg#slojwj`bojm#pvsslqw#lesflsof#jm#wkf13wk#`fmwvqz-bmg#svaojpkfgolbg@kbqwafbwwl#vmgfqpwbmgnfnafq#pwbwfpfmujqlmnfmwboejqpw#kboe#le`lvmwqjfp#bmgbq`kjwf`wvqboaf#`lmpjgfqfg`kbqb`wfqjyfg`ofbqJmwfqubobvwklqjwbwjufEfgfqbwjlm#letbp#pv``ffgfgbmg#wkfqf#bqfb#`lmpfrvfm`fwkf#Sqfpjgfmwbopl#jm`ovgfgeqff#plewtbqfpv``fppjlm#legfufolsfg#wkftbp#gfpwqlzfgbtbz#eqln#wkf8\t?,p`qjsw=\t?bowklvdk#wkfzelooltfg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wkf#qfufbofg#wkbw#wkfwfofujpjlm#pfqjfp!#qfo>!mleloolt!=#wbqdfw>!\\aobmh!=`objnjmd#wkbw#wkfkwws&0B&1E&1Ettt-nbmjefpwbwjlmp#leSqjnf#Njmjpwfq#lejmeovfm`fg#az#wkf`obpp>!`ofbqej{!=,gju=\t?,gju=\t\twkqff.gjnfmpjlmbo@kvq`k#le#Fmdobmgle#Mlqwk#@bqlojmbprvbqf#hjolnfwqfp-bggFufmwOjpwfmfqgjpwjm`w#eqln#wkf`lnnlmoz#hmltm#bpSklmfwj`#Boskbafwgf`obqfg#wkbw#wkf`lmwqloofg#az#wkfAfmibnjm#Eqbmhojmqlof.sobzjmd#dbnfwkf#Vmjufqpjwz#lejm#Tfpwfqm#Fvqlsfsfqplmbo#`lnsvwfqSqlif`w#Dvwfmafqdqfdbqgofpp#le#wkfkbp#affm#sqlslpfgwldfwkfq#tjwk#wkf=?,oj=?oj#`obpp>!jm#plnf#`lvmwqjfpnjm-ip!=?,p`qjsw=le#wkf#slsvobwjlmleej`jbo#obmdvbdf?jnd#pq`>!jnbdfp,jgfmwjejfg#az#wkfmbwvqbo#qfplvq`fp`obppjej`bwjlm#le`bm#af#`lmpjgfqfgrvbmwvn#nf`kbmj`pMfufqwkfofpp/#wkfnjoojlm#zfbqp#bdl?,algz=\t?,kwno="y"W"W"["Q"U"V"@\twbhf#bgubmwbdf#lebmg/#b``lqgjmd#wlbwwqjavwfg#wl#wkfNj`qlplew#Tjmgltpwkf#ejqpw#`fmwvqzvmgfq#wkf#`lmwqlogju#`obpp>!kfbgfqpklqwoz#bewfq#wkfmlwbaof#f{`fswjlmwfmp#le#wklvpbmgppfufqbo#gjeefqfmwbqlvmg#wkf#tlqog-qfb`kjmd#njojwbqzjplobwfg#eqln#wkflsslpjwjlm#wl#wkfwkf#Log#WfpwbnfmwBeqj`bm#Bnfqj`bmpjmpfqwfg#jmwl#wkfpfsbqbwf#eqln#wkfnfwqlslojwbm#bqfbnbhfp#jw#slppjaof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&B&N&.&P&@&2&.&W&M&%Լ„(,(<&,&Ϛ&ᣇ&-&,(%&(&%&(Ļ0&X&D&&j&'&J&(&.&B&3&Z&R&h&3&E&E&<Æ-͠ỳ&%8?&@&,&Z&@&0&J&,&^&x&_&6&C&6&Cܬ⨥&f&-&-&-&-&,&J&2&8&z&8&C&Y&8&-&d&ṸÌ-&7&1&F&7&t&W&7&I&.&.&^&=ྜ᧓&8(>&/&/&ݻ')'ၥ')'%@/&0&%оী*&*@&CԽהɴ׫4෗ܚӑ6඄&/Ÿ̃Z&*%ɆϿ&Ĵ&1¨ҴŴ",g,"AAAAKKLLKKKKKJJIHHIHHGGFF");!function setData(e,t){const a=m,n=p;for(let e=0;e=0)return t;e.runningState>=0&&(e.runningState=t);throw new Error("Brotli error code: "+t)}return function decode(e,t){let a=new State;a.input=new InputStream(e);initState(a);if(t){let e=t.customDictionary;e&&function attachDictionaryChunk(e,t){if(1!==e.runningState)return makeError(e,-24);if(0===e.cdNumChunks){e.cdChunks=new Array(16);e.cdChunkOffsets=new Int32Array(16);e.cdBlockBits=-1}if(15===e.cdNumChunks)return makeError(e,-27);e.cdChunks[e.cdNumChunks]=t;e.cdNumChunks++;e.cdTotalSize+=t.length;e.cdChunkOffsets[e.cdNumChunks]=e.cdTotalSize;return 0}(a,e)}let n=0,s=[];for(;;){let e=new Int8Array(16384);s.push(e);a.output=e;a.outputOffset=0;a.outputLength=16384;a.outputUsed=0;decompress(a);n+=a.outputUsed;if(a.outputUsed<16384)break}!function close(e){if(0===e.runningState)return makeError(e,-25);e.runningState>0&&(e.runningState=11);return 0}(a);!function closeInput(e){e.input=new InputStream(new Int8Array(0))}(a);let r=new Int8Array(n),i=0;for(let e=0;e{throw t},a=import.meta.url;try{new URL(".",a).href}catch{}0;console.log.bind(console);var n,s,r,i,o,l=console.error.bind(console),f=!1,c=!1;function updateMemoryViews(){var e=u.buffer;i=new Int8Array(e);new Int16Array(e);o=new Uint8Array(e);new Uint16Array(e);new Int32Array(e);new Uint32Array(e);new Float32Array(e);new Float64Array(e);new BigInt64Array(e);new BigUint64Array(e)}class ExitStatus{name="ExitStatus";constructor(e){this.message=`Program terminated with exit(${e})`;this.status=e}}var h,u,callRuntimeCallbacks=e=>{for(;e.length>0;)e.shift()(t)},m=[],addOnPostRun=e=>m.push(e),p=[],addOnPreRun=e=>p.push(e),d=!0,g=0,b={},handleException=e=>{if(e instanceof ExitStatus||"unwind"==e)return n;quit_(0,e)},keepRuntimeAlive=()=>d||g>0,_proc_exit=e=>{n=e;if(!keepRuntimeAlive()){t.onExit?.(e);f=!0}quit_(0,new ExitStatus(e))},_exit=(e,t)=>{n=e;_proc_exit(e)},callUserCallback=e=>{if(!f)try{return e()}catch(e){handleException(e)}finally{(()=>{if(!keepRuntimeAlive())try{_exit(n)}catch(e){handleException(e)}})()}},alignMemory=(e,t)=>Math.ceil(e/t)*t,growMemory=e=>{var t=(e-u.buffer.byteLength+65535)/65536|0;try{u.grow(t);updateMemoryViews();return 1}catch(e){}};t.noExitRuntime&&(d=t.noExitRuntime);t.print&&t.print;t.printErr&&(l=t.printErr);t.wasmBinary&&t.wasmBinary;t.arguments&&t.arguments;t.thisProgram&&t.thisProgram;if(t.preInit){"function"==typeof t.preInit&&(t.preInit=[t.preInit]);for(;t.preInit.length>0;)t.preInit.shift()()}t.writeArrayToMemory=(e,t)=>{i.set(e,t)};var w,j={e:()=>function abort(e){t.onAbort?.(e);l(e="Aborted("+e+")");f=!0;e+=". Build with -sASSERTIONS for more info.";var a=new WebAssembly.RuntimeError(e);r?.(a);throw a}(""),b:()=>{d=!1;g=0},c:(e,t)=>{if(b[e]){clearTimeout(b[e].id);delete b[e]}if(!t)return 0;var a=setTimeout(()=>{delete b[e];callUserCallback(()=>h(e,performance.now()))},t);b[e]={id:a,timeout_ms:t};return 0},g:function _createImageData(e){t.imageData=new Uint8Array(e)},d:e=>{var t=o.length,a=2147483648;if((e>>>=0)>a)return!1;for(var n=1;n<=4;n*=2){var s=t*(1+.2/n);s=Math.min(s,e+100663296);var r=Math.min(a,alignMemory(Math.max(e,s),65536));if(growMemory(r))return!0}return!1},a:_proc_exit,h:function _setImageData(e,a,n,s){if(n===a){t.imageData=new Uint8ClampedArray(o.subarray(e,e+n*s));return}const r=a*s,i=t.imageData=new Uint8ClampedArray(r);for(let t=e,s=0;s{t.instantiateWasm(e,(e,t)=>{a(receiveInstance(e))})})}();!function run(){!function preRun(){if(t.preRun){"function"==typeof t.preRun&&(t.preRun=[t.preRun]);for(;t.preRun.length;)addOnPreRun(t.preRun.shift())}callRuntimeCallbacks(p)}();function doRun(){t.calledRun=!0;if(!f){!function initRuntime(){c=!0;w.j()}();s?.(t);t.onRuntimeInitialized?.();!function postRun(){if(t.postRun){"function"==typeof t.postRun&&(t.postRun=[t.postRun]);for(;t.postRun.length;)addOnPostRun(t.postRun.shift())}callRuntimeCallbacks(m)}()}}if(t.setStatus){t.setStatus("Running...");setTimeout(()=>{setTimeout(()=>t.setStatus(""),1);doRun()},1)}else doRun()}();return c?t:new Promise((e,t)=>{s=e;r=t})};class WasmImage{static#U=null;static#X=new Set;static#C=!0;static#W=!0;static#I=null;#K=null;#G=null;_filename=null;_noWasmFilename=null;static setOptions({handler:e,useWasm:t,useWorkerFetch:a,wasmUrl:n}){WasmImage.#C=t;WasmImage.#W=a;WasmImage.#I=n;a||(WasmImage.#U=e)}static get instance(){unreachable("Abstract getter `instance` accessed")}static cleanup(){for(const e of WasmImage.#X)e.#G=null}constructor(e=!1){e&&WasmImage.#X.add(this)}async#V(e){let t=null;try{t=(await import( +/*webpackIgnore: true*/ +/*@vite-ignore*/ +`${WasmImage.#I}${this._noWasmFilename}`)).default()}catch(e){warn(`#getJsModule: ${e}`)}e(t)}async#$(e,t,a){try{this.#K||(WasmImage.#W?this.#K=await fetchBinaryData(`${WasmImage.#I}${this._filename}`):this.#K=await WasmImage.#U.sendWithPromise("FetchBinaryData",{kind:"wasmUrl",filename:this._filename}));return a((await WebAssembly.instantiate(this.#K,t)).instance)}catch(t){warn(`#instantiateWasm: ${t}`);this.#V(e);return null}}_getModule(e){if(!this.#G){const{promise:t,resolve:a}=Promise.withResolvers(),n=[t];WasmImage.#C?n.push(e({warn,instantiateWasm:this.#$.bind(this,a)})):this.#V(a);this.#G=Promise.race(n)}return this.#G}async decode(e,t){unreachable("Abstract method `decode` called")}}class Jbig2Error extends ra{constructor(e){super(e,"Jbig2Error")}}class JBig2CCITTFaxImage extends WasmImage{_filename="jbig2.wasm";_noWasmFilename="jbig2_nowasm_fallback.js";static get instance(){return shadow(this,"instance",new JBig2CCITTFaxImage(!0))}async decode(e,t,a,n,s){const r=await this._getModule(Qa);if(!r)throw new Jbig2Error("JBig2 failed to initialize");let i,o;try{const l=e.length;i=r._malloc(l);r.writeArrayToMemory(e,i);if(s)r._ccitt_decode(i,l,t,a,s.K,s.EndOfLine?1:0,s.EncodedByteAlign?1:0,s.BlackIs1?1:0,s.Columns,s.Rows);else{const e=n?n.length:0;if(e>0){o=r._malloc(e);r.writeArrayToMemory(n,o)}r._jbig2_decode(i,l,t,a,o,e)}if(!r.imageData)throw new Jbig2Error("Unknown error");const{imageData:f}=r;r.imageData=null;return f}finally{i&&r._free(i);o&&r._free(o)}}}class CCITTFaxStream extends DecodeStream{constructor(e,t,a){super(t);this.stream=e;this.maybeLength=t;this.dict=e.dict;a instanceof Dict||(a=Dict.empty);this.params={K:a.get("K")||0,EndOfLine:!!a.get("EndOfLine"),EncodedByteAlign:!!a.get("EncodedByteAlign"),Columns:a.get("Columns")||1728,Rows:a.get("Rows")||0,EndOfBlock:!!(a.get("EndOfBlock")??1),BlackIs1:!!a.get("BlackIs1")}}get bytes(){return shadow(this,"bytes",this.stream.getBytes(this.maybeLength))}get isImageStream(){return!0}get isAsyncDecoder(){return!0}async decodeImage(e,t,a){if(this.eof)return this.buffer;e||(e=this.stream.isAsync&&await this.stream.asyncGetBytes()||this.bytes);this.buffer=await JBig2CCITTFaxImage.instance.decode(e,this.dict.get("W","Width"),this.dict.get("H","Height"),null,this.params);this.bufferLength=this.buffer.length;this.eof=!0;return this.buffer}}const Za=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),en=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),tn=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),an=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],nn=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];class FlateStream extends DecodeStream{#L=!0;constructor(e,t){super(t);this.stream=e;this.dict=e.dict;const a=e.getByte(),n=e.getByte();if(-1===a||-1===n)throw new FormatError(`Invalid header in flate stream: ${a}, ${n}`);if(8!=(15&a))throw new FormatError(`Unknown compression method in flate stream: ${a}, ${n}`);if(((a<<8)+n)%31!=0)throw new FormatError(`Bad FCHECK in flate stream: ${a}, ${n}`);if(32&n)throw new FormatError(`FDICT bit set in flate stream: ${a}, ${n}`);this.codeSize=0;this.codeBuf=0}async getImageData(e,t){const a=await this.asyncGetBytes();return a?a.length<=e?a:a.subarray(0,e):this.getBytes(e)}async asyncGetBytes(){const{decompressed:e,compressed:t}=await this.asyncGetBytesFromDecompressionStream("deflate");if(e)return e;this.#L=!1;this.stream=new Stream(t,2,t.length,this.stream.dict);this.reset();return null}get isAsync(){return this.#L}getBits(e){const t=this.stream;let a,n=this.codeSize,s=this.codeBuf;for(;n>e;this.codeSize=n-=e;return a}getCode(e){const t=this.stream,a=e[0],n=e[1];let s,r=this.codeSize,i=this.codeBuf;for(;r>16,f=65535&o;if(l<1||r>l;this.codeSize=r-l;return f}generateHuffmanTable(e){const t=e.length;let a,n=0;for(a=0;an&&(n=e[a]);const s=1<>=1}for(a=e;a>=1;if(0===t){let t;if(-1===(t=n.getByte())){this.#Y("Bad block header in flate stream");return}let a=t;if(-1===(t=n.getByte())){this.#Y("Bad block header in flate stream");return}a|=t<<8;if(-1===(t=n.getByte())){this.#Y("Bad block header in flate stream");return}let s=t;if(-1===(t=n.getByte())){this.#Y("Bad block header in flate stream");return}s|=t<<8;if(s!==(65535&~a)&&(0!==a||0!==s))throw new FormatError("Bad uncompressed block length in flate stream");this.codeBuf=0;this.codeSize=0;const r=this.bufferLength,i=r+a;e=this.ensureBuffer(i);this.bufferLength=i;if(0===a)-1===n.peekByte()&&(this.eof=!0);else{const t=n.getBytes(a);e.set(t,r);t.length0;)c[o++]=m}s=this.generateHuffmanTable(c.subarray(0,e));r=this.generateHuffmanTable(c.subarray(e,f))}}e=this.buffer;let i=e?e.length:0,o=this.bufferLength;for(;;){let t=this.getCode(s);if(t<256){if(o+1>=i){e=this.ensureBuffer(o+1);i=e.length}e[o++]=t;continue}if(256===t){this.bufferLength=o;return}t-=257;t=en[t];let n=t>>16;n>0&&(n=this.getBits(n));a=(65535&t)+n;t=this.getCode(r);t=tn[t];n=t>>16;n>0&&(n=this.getBits(n));const l=(65535&t)+n;if(o+a>=i){e=this.ensureBuffer(o+a);i=e.length}for(let t=0;t=9&&151===e[0]&&74===e[1]&&66===e[2]&&50===e[3]&&13===e[4]&&10===e[5]&&26===e[6]&&10===e[7]){const t=2&e[8]?9:13;return e.subarray(t)}return e}async decodeImage(e,t,a){if(this.eof)return this.buffer;e=Jbig2Stream.stripFileHeader(e||this.bytes);let n=null;if(this.params instanceof Dict){const e=this.params.get("JBIG2Globals");e instanceof BaseStream&&(n=Jbig2Stream.stripFileHeader(e.getBytes()))}this.buffer=await JBig2CCITTFaxImage.instance.decode(e,this.dict.get("Width"),this.dict.get("Height"),n);this.bufferLength=this.buffer.length;this.eof=!0;return this.buffer}get canAsyncDecodeImageFromBuffer(){return this.stream.isAsync}}const sn=async function OpenJPEG(e={}){var t=e,a="./this.program",quit_=(e,t)=>{throw t},n=import.meta.url;try{new URL(".",n).href}catch{}0;var s,r,i,o,l,f,c,h=console.log.bind(console),u=console.error.bind(console),m=!1,p=!1;function updateMemoryViews(){var e=g.buffer;l=new Int8Array(e);new Int16Array(e);c=new Uint8Array(e);new Uint16Array(e);o=new Int32Array(e);f=new Uint32Array(e);new Float32Array(e);new Float64Array(e);new BigInt64Array(e);new BigUint64Array(e)}class ExitStatus{name="ExitStatus";constructor(e){this.message=`Program terminated with exit(${e})`;this.status=e}}var d,g,callRuntimeCallbacks=e=>{for(;e.length>0;)e.shift()(t)},b=[],addOnPostRun=e=>b.push(e),w=[],addOnPreRun=e=>w.push(e),j=!0,k=0,y={},handleException=e=>{if(e instanceof ExitStatus||"unwind"==e)return s;quit_(0,e)},keepRuntimeAlive=()=>j||k>0,_proc_exit=e=>{s=e;if(!keepRuntimeAlive()){t.onExit?.(e);m=!0}quit_(0,new ExitStatus(e))},_exit=(e,t)=>{s=e;_proc_exit(e)},callUserCallback=e=>{if(!m)try{return e()}catch(e){handleException(e)}finally{(()=>{if(!keepRuntimeAlive())try{_exit(s)}catch(e){handleException(e)}})()}},alignMemory=(e,t)=>Math.ceil(e/t)*t,growMemory=e=>{var t=(e-g.buffer.byteLength+65535)/65536|0;try{g.grow(t);updateMemoryViews();return 1}catch(e){}},q={},getEnvStrings=()=>{if(!getEnvStrings.strings){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(globalThis.navigator?.language??"C").replace("-","_")+".UTF-8",_:a||"./this.program"};for(var t in q)void 0===q[t]?delete e[t]:e[t]=q[t];var n=[];for(var t in e)n.push(`${t}=${e[t]}`);getEnvStrings.strings=n}return getEnvStrings.strings},stringToUTF8=(e,t,a)=>((e,t,a,n)=>{if(!(n>0))return 0;for(var s=a,r=a+n-1,i=0;i=r)break;t[a++]=o}else if(o<=2047){if(a+1>=r)break;t[a++]=192|o>>6;t[a++]=128|63&o}else if(o<=65535){if(a+2>=r)break;t[a++]=224|o>>12;t[a++]=128|o>>6&63;t[a++]=128|63&o}else{if(a+3>=r)break;t[a++]=240|o>>18;t[a++]=128|o>>12&63;t[a++]=128|o>>6&63;t[a++]=128|63&o;i++}}t[a]=0;return a-s})(e,c,t,a),lengthBytesUTF8=e=>{for(var t=0,a=0;a=55296&&n<=57343){t+=4;++a}else t+=3}return t},v=[null,[],[]],S=globalThis.TextDecoder&&new TextDecoder,UTF8ArrayToString=(e,t=0,a,n)=>{var s=((e,t,a,n)=>{var s=t+a;if(n)return s;for(;e[t]&&!(t>=s);)++t;return t})(e,t,a,n);if(s-t>16&&e.buffer&&S)return S.decode(e.subarray(t,s));for(var r="";t>10,56320|1023&f)}}else r+=String.fromCharCode((31&i)<<6|o)}else r+=String.fromCharCode(i)}return r},printChar=(e,t)=>{var a=v[e];if(0===t||10===t){(1===e?h:u)(UTF8ArrayToString(a));a.length=0}else a.push(t)},UTF8ToString=(e,t,a)=>e?UTF8ArrayToString(c,e,t,a):"";t.noExitRuntime&&(j=t.noExitRuntime);t.print&&(h=t.print);t.printErr&&(u=t.printErr);t.wasmBinary&&t.wasmBinary;t.arguments&&t.arguments;t.thisProgram&&(a=t.thisProgram);if(t.preInit){"function"==typeof t.preInit&&(t.preInit=[t.preInit]);for(;t.preInit.length>0;)t.preInit.shift()()}t.writeArrayToMemory=(e,t)=>{l.set(e,t)};var x,C={m:()=>function abort(e){t.onAbort?.(e);u(e=`Aborted(${e})`);m=!0;e+=". Build with -sASSERTIONS for more info.";var a=new WebAssembly.RuntimeError(e);i?.(a);throw a}(""),l:()=>{j=!1;k=0},i:(e,t)=>{if(y[e]){clearTimeout(y[e].id);delete y[e]}if(!t)return 0;var a=setTimeout(()=>{delete y[e];callUserCallback(()=>d(e,performance.now()))},t);y[e]={id:a,timeout_ms:t};return 0},f:function _copy_pixels_1(e,a){e>>=2;const n=t.imageData=new Uint8ClampedArray(a),s=o.subarray(e,e+a);n.set(s)},e:function _copy_pixels_3(e,a,n,s){e>>=2;a>>=2;n>>=2;const r=t.imageData=new Uint8ClampedArray(3*s),i=o.subarray(e,e+s),l=o.subarray(a,a+s),f=o.subarray(n,n+s);for(let e=0;e>=2;a>>=2;n>>=2;s>>=2;const i=t.imageData=new Uint8ClampedArray(4*r),l=o.subarray(e,e+r),f=o.subarray(a,a+r),c=o.subarray(n,n+r),h=o.subarray(s,s+r);for(let e=0;e{var t=c.length,a=2147483648;if((e>>>=0)>a)return!1;for(var n=1;n<=4;n*=2){var s=t*(1+.2/n);s=Math.min(s,e+100663296);var r=Math.min(a,alignMemory(Math.max(e,s),65536));if(growMemory(r))return!0}return!1},o:(e,t)=>{var a=0,n=0;for(var s of getEnvStrings()){var r=t+a;f[e+n>>2]=r;a+=stringToUTF8(s,r,1/0)+1;n+=4}return 0},p:(e,t)=>{var a=getEnvStrings();f[e>>2]=a.length;var n=0;for(var s of a)n+=lengthBytesUTF8(s)+1;f[t>>2]=n;return 0},n:function _fd_seek(e,t,a,n){t=(s=t)<-9007199254740992||s>9007199254740992?NaN:Number(s);var s;return 70},b:(e,t,a,n)=>{for(var s=0,r=0;r>2],o=f[t+4>>2];t+=8;for(var l=0;l>2]=s;return 0},q:function _gray_to_rgba(e,a){e>>=2;const n=t.imageData=new Uint8ClampedArray(4*a),s=o.subarray(e,e+a);for(let e=0;e>=2;a>>=2;const s=t.imageData=new Uint8ClampedArray(4*n),r=o.subarray(e,e+n),i=o.subarray(a,a+n);for(let e=0;e>=2;a>>=2;n>>=2;const r=t.imageData=new Uint8ClampedArray(4*s),i=o.subarray(e,e+s),l=o.subarray(a,a+s),f=o.subarray(n,n+s);for(let e=0;e{t.instantiateWasm(e,(e,t)=>{a(receiveInstance(e))})})}();!function run(){!function preRun(){if(t.preRun){"function"==typeof t.preRun&&(t.preRun=[t.preRun]);for(;t.preRun.length;)addOnPreRun(t.preRun.shift())}callRuntimeCallbacks(w)}();function doRun(){t.calledRun=!0;if(!m){!function initRuntime(){p=!0;x.s()}();r?.(t);t.onRuntimeInitialized?.();!function postRun(){if(t.postRun){"function"==typeof t.postRun&&(t.postRun=[t.postRun]);for(;t.postRun.length;)addOnPostRun(t.postRun.shift())}callRuntimeCallbacks(b)}()}}if(t.setStatus){t.setStatus("Running...");setTimeout(()=>{setTimeout(()=>t.setStatus(""),1);doRun()},1)}else doRun()}();return p?t:new Promise((e,t)=>{r=e;i=t})};class JpxError extends ra{constructor(e){super(e,"JpxError")}}class JpxImage extends WasmImage{_filename="openjpeg.wasm";_noWasmFilename="openjpeg_nowasm_fallback.js";static get instance(){return shadow(this,"instance",new JpxImage(!0))}async decode(e,{numComponents:t=4,isIndexedColormap:a=!1,smaskInData:n=!1,reducePower:s=0}={}){const r=await this._getModule(sn);if(!r)throw new JpxError("OpenJPEG failed to initialize");let i;try{const o=e.length;i=r._malloc(o);r.writeArrayToMemory(e,i);if(r._jp2_decode(i,o,t>0?t:0,!!a,!!n,s)){const{errorMessages:e}=r;if(e){delete r.errorMessages;throw new JpxError(e)}throw new JpxError("Unknown error")}const{imageData:l}=r;r.imageData=null;return l}finally{i&&r._free(i)}}static parseImageProperties(e){let t=e.getByte();for(;t>=0;){const a=t;t=e.getByte();if(65361===(a<<8|t)){e.skip(4);const t=e.getInt32()>>>0,a=e.getInt32()>>>0,n=e.getInt32()>>>0,s=e.getInt32()>>>0;e.skip(16);return{width:t-n,height:a-s,bitsPerComponent:8,componentsCount:e.getUint16()}}}throw new JpxError("No size marker found in JPX stream")}}class JpxStream extends DecodeStream{constructor(e,t){super(t);this.stream=e;this.dict=e.dict;this.maybeLength=t}get bytes(){return shadow(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(e){}get isAsyncDecoder(){return!0}async decodeImage(e,t,a){if(this.eof)return this.buffer;e||=this.bytes;this.buffer=await JpxImage.instance.decode(e,a);this.bufferLength=this.buffer.length;this.eof=!0;return this.buffer}get canAsyncDecodeImageFromBuffer(){return this.stream.isAsync}get isImageStream(){return!0}}class LZWStream extends DecodeStream{constructor(e,t,a){super(t);this.stream=e;this.dict=e.dict;this.cachedData=0;this.bitsCached=0;const n=4096,s={earlyChange:a,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(n),dictionaryLengths:new Uint16Array(n),dictionaryPrevCodes:new Uint16Array(n),currentSequence:new Uint8Array(n),currentSequenceLength:0};for(let e=0;e<256;++e){s.dictionaryValues[e]=e;s.dictionaryLengths[e]=1}this.lzwState=s}readBits(e){let t=this.bitsCached,a=this.cachedData;for(;t>>t&(1<0;if(e<256){u[0]=e;m=1}else{if(!(e>=258)){if(256===e){c=9;i=258;m=0;continue}this.eof=!0;delete this.lzwState;break}if(e=0;t--){u[t]=o[a];a=f[a]}}else u[m++]=u[0]}if(s){f[i]=h;l[i]=l[h]+1;o[i]=u[0];i++;c=i+r&i+r-1?c:0|Math.min(Math.log(i+r)/.6931471805599453+1,12)}h=e;p+=m;if(n15))throw new FormatError(`Unsupported predictor: ${n}`);this.readBlock=2===n?this.readBlockTiff:this.readBlockPng;this.stream=e;this.dict=e.dict;const s=this.colors=a.get("Colors")||1,r=this.bits=a.get("BPC","BitsPerComponent")||8,i=this.columns=a.get("Columns")||1;this.pixBytes=s*r+7>>3;this.rowBytes=i*s*r+7>>3;return this}readBlockTiff(){const e=this.rowBytes,t=this.bufferLength,a=this.ensureBuffer(t+e),n=this.bits,s=this.colors,r=this.stream.getBytes(e);this.eof=!r.length;if(this.eof)return;let i,o=0,l=0,f=0,c=0,h=t;if(1===n&&1===s)for(i=0;i>1;e^=e>>2;e^=e>>4;o=(1&e)<<7;a[h++]=e}else if(8===n){for(i=0;i>8&255;a[h++]=255&e}}else{const e=new Uint8Array(s+1),h=(1<>f-n)&h;f-=n;l=l<=8){a[m++]=l>>c-8&255;c-=8}}c>0&&(a[m++]=(l<<8-c)+(o&(1<<8-c)-1))}this.bufferLength+=e}readBlockPng(){const e=this.rowBytes,t=this.pixBytes,a=this.stream.getByte(),n=this.stream.getBytes(e);this.eof=!n.length;if(this.eof)return;const s=this.bufferLength,r=this.ensureBuffer(s+e);let i=r.subarray(s-e,s);0===i.length&&(i=new Uint8Array(e));let o,l,f,c=s;switch(a){case 0:for(o=0;o>1)+n[o];for(;o>1)+n[o]&255;c++}break;case 4:for(o=0;o0){const e=this.stream.getBytes(n);t.set(e,a);a+=n}}else{n=257-n;t=this.ensureBuffer(a+n+1);t.fill(e[1],a,a+n);a+=n}this.bufferLength=a}}class Parser{constructor({lexer:e,xref:t,allowStreams:a=!1,recoveryMode:n=!1}){this.lexer=e;this.xref=t;this.allowStreams=a;this.recoveryMode=n;this.imageCache=Object.create(null);this._imageId=0;this.refill()}refill(){this.buf1=this.lexer.getObj();this.buf2=this.lexer.getObj()}shift(){if(this.buf2 instanceof Cmd&&"ID"===this.buf2.cmd){this.buf1=this.buf2;this.buf2=null}else{this.buf1=this.buf2;this.buf2=this.lexer.getObj()}}tryShift(){try{this.shift();return!0}catch(e){if(e instanceof MissingDataException)throw e;return!1}}getObj(e=null){const t=this.buf1;this.shift();if(t instanceof Cmd)switch(t.cmd){case"BI":return this.makeInlineImage(e);case"[":const a=[];for(;!isCmd(this.buf1,"]")&&this.buf1!==fa;)a.push(this.getObj(e));if(this.buf1===fa){if(this.recoveryMode)return a;throw new ParserEOFException("End of file inside array.")}this.shift();return a;case"<<":const n=new Dict(this.xref);for(;!isCmd(this.buf1,">>")&&this.buf1!==fa;){if(!(this.buf1 instanceof Name)){info("Malformed dictionary: key must be a name object");this.shift();continue}const t=this.buf1.name;this.shift();if(this.buf1===fa)break;n.set(t,this.getObj(e))}if(this.buf1===fa){if(this.recoveryMode)return n;throw new ParserEOFException("End of file inside dictionary.")}if(isCmd(this.buf2,"stream"))return this.allowStreams?this.makeStream(n,e):n;this.shift();return n;default:return t}if(Number.isInteger(t)){if(Number.isInteger(this.buf1)&&isCmd(this.buf2,"R")){const e=Ref.get(t,this.buf1);this.shift();this.shift();return e}return t}return"string"==typeof t&&e?e.decryptString(t):t}findDefaultInlineStreamEnd(e){const{knownCommands:t}=this.lexer,a=e.pos;let n,s,r=0;for(;-1!==(n=e.getByte());)if(0===r)r=69===n?1:0;else if(1===r)r=73===n?2:0;else if(32===n||10===n||13===n){s=e.pos;const a=e.peekBytes(15),i=a.length;if(0===i)break;for(let e=0;e127))){r=0;break}}if(2!==r)continue;if(!t){warn("findDefaultInlineStreamEnd - `lexer.knownCommands` is undefined.");continue}const o=new Lexer(new Stream(e.peekBytes(75)),t);o._hexStringWarn=()=>{};let l=0;for(;;){const e=o.getObj();if(e===fa){r=0;break}if(e instanceof Cmd){const a=t[e.cmd];if(!a){r=0;break}if(a.variableArgs?l<=a.numArgs:l===a.numArgs)break;l=0;continue}l++}if(2===r)break}else r=0;if(-1===n){warn("findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker");if(s){warn('... trying to recover by using the last "EI" occurrence.');e.skip(-(e.pos-s))}}let i=4;e.skip(-i);n=e.peekByte();e.skip(i);isWhiteSpace(n)||i--;return e.pos-i-a}findDCTDecodeInlineStreamEnd(e){const t=e.pos;let a,n,s=!1;for(;-1!==(a=e.getByte());)if(255===a){switch(e.getByte()){case 0:break;case 255:e.skip(-1);break;case 217:s=!0;break;case 192:case 193:case 194:case 195:case 197:case 198:case 199:case 201:case 202:case 203:case 205:case 206:case 207:case 196:case 204:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:n=e.getUint16();n>2?e.skip(n-2):e.skip(-2)}if(s)break}const r=e.pos-t;if(-1===a){warn("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead.");e.skip(-r);return this.findDefaultInlineStreamEnd(e)}this.inlineStreamSkipEI(e);return r}findASCII85DecodeInlineStreamEnd(e){const t=e.pos;let a;for(;-1!==(a=e.getByte());)if(126===a){const t=e.pos;a=e.peekByte();for(;isWhiteSpace(a);){e.skip();a=e.peekByte()}if(62===a){e.skip();break}if(e.pos>t){const t=e.peekBytes(2);if(69===t[0]&&73===t[1])break}}const n=e.pos-t;if(-1===a){warn("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead.");e.skip(-n);return this.findDefaultInlineStreamEnd(e)}this.inlineStreamSkipEI(e);return n}findASCIIHexDecodeInlineStreamEnd(e){const t=e.pos;let a;for(;-1!==(a=e.getByte())&&62!==a;);const n=e.pos-t;if(-1===a){warn("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead.");e.skip(-n);return this.findDefaultInlineStreamEnd(e)}this.inlineStreamSkipEI(e);return n}inlineStreamSkipEI(e){let t,a=0;for(;-1!==(t=e.getByte());)if(0===a)a=69===t?1:0;else if(1===a)a=73===t?2:0;else if(2===a)break}makeInlineImage(e){const t=this.lexer,a=t.stream,n=Object.create(null);let s;for(;!isCmd(this.buf1,"ID")&&this.buf1!==fa;){if(!(this.buf1 instanceof Name))throw new FormatError("Dictionary key must be a name object");const t=this.buf1.name;this.shift();if(this.buf1===fa)break;n[t]=this.getObj(e)}-1!==t.beginInlineImagePos&&(s=a.pos-t.beginInlineImagePos);const r=this.#J(n.F||n.Filter);let i;if(r instanceof Name)i=r.name;else if(Array.isArray(r)){const e=this.#J(r[0]);e instanceof Name&&(i=e.name)}const o=a.pos;let l,f;switch(i){case"DCT":case"DCTDecode":l=this.findDCTDecodeInlineStreamEnd(a);break;case"A85":case"ASCII85Decode":l=this.findASCII85DecodeInlineStreamEnd(a);break;case"AHx":case"ASCIIHexDecode":l=this.findASCIIHexDecodeInlineStreamEnd(a);break;default:l=this.findDefaultInlineStreamEnd(a)}if(l<1e3&&s>0){const e=a.pos;a.pos=t.beginInlineImagePos;f=function getInlineImageCacheKey(e){const t=[],a=e.length;let n=0;for(;n=n){let n=!1;for(const e of s){const t=e.length;let s=0;for(;s=r){n=!0;break}if(s>=t){if(isWhiteSpace(i[l+o+s])){info(`Found "${bytesToString([...a,...e])}" when searching for endstream command.`);n=!0}break}}if(n){t.pos+=l;return t.pos-e}}l++}t.pos+=o}return-1}makeStream(e,t){const a=this.lexer;let n=a.stream;a.skipToNextLine();const s=n.pos-1;let r=e.get("Length");if(!Number.isInteger(r)){info(`Bad length "${r&&r.toString()}" in stream.`);r=0}n.pos=s+r;a.nextChar();if(this.tryShift()&&isCmd(this.buf2,"endstream"))this.shift();else{r=this.#Z(s);if(r<0)throw new FormatError("Missing endstream command.");a.nextChar();this.shift();this.shift()}this.shift();n=n.makeSubStream(s,r,e);const i=e.get("F","Filter");t&&!this.#Q(i)&&(n=t.createStream(n,r));n=this.filter(n,e,r,t);n.dict=e;return n}filter(e,t,a,n=null){let s=t.get("F","Filter"),r=t.get("DP","DecodeParms");if(s instanceof Name){Array.isArray(r)&&warn("/DecodeParms should not be an Array, when /Filter is a Name.");return this.makeFilter(e,s.name,a,r,n)}let i=a;if(Array.isArray(s)){const t=s,a=r;for(let o=0,l=t.length;o=48&&e<=57?15&e:e>=65&&e<=70||e>=97&&e<=102?9+(15&e):-1}class Lexer{constructor(e,t=null){this.stream=e;this.nextChar();this.strBuf=[];this.knownCommands=t;this._hexStringNumWarn=0;this.beginInlineImagePos=-1}nextChar(){return this.currentChar=this.stream.getByte()}peekChar(){return this.stream.peekByte()}getNumber(){let e=this.currentChar,t=0,a=1;if(45===e){a=-1;e=this.nextChar();45===e&&(e=this.nextChar())}else 43===e&&(e=this.nextChar());if(10===e||13===e)do{e=this.nextChar()}while(10===e||13===e);if(46===e){t=10;e=this.nextChar()}if(e<48||e>57){const t=`Invalid number: ${String.fromCharCode(e)} (charCode ${e})`;if(isWhiteSpace(e)||40===e||60===e||-1===e){info(`Lexer.getNumber - "${t}".`);return 0}throw new FormatError(t)}let n=e-48;for(;(e=this.nextChar())>=0;)if(e>=48&&e<=57){0!==t&&(t*=10);n=10*n+(e-48)}else if(46===e){if(0!==t)break;t=1}else{if(45!==e)break;warn("Badly formatted number: minus sign in the middle")}0!==t&&(n/=t);return a*n}getString(){let e=1,t=!1;const a=this.strBuf;a.length=0;let n=this.nextChar();for(;;){let s=!1;switch(0|n){case-1:warn("Unterminated string");t=!0;break;case 40:++e;a.push("(");break;case 41:if(0===--e){this.nextChar();t=!0}else a.push(")");break;case 92:n=this.nextChar();switch(n){case-1:warn("Unterminated string");t=!0;break;case 110:a.push("\n");break;case 114:a.push("\r");break;case 116:a.push("\t");break;case 98:a.push("\b");break;case 102:a.push("\f");break;case 92:case 40:case 41:a.push(String.fromCharCode(n));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:let e=15&n;n=this.nextChar();s=!0;if(n>=48&&n<=55){e=(e<<3)+(15&n);n=this.nextChar();if(n>=48&&n<=55){s=!1;e=(e<<3)+(15&n)}}a.push(String.fromCharCode(e));break;case 13:10===this.peekChar()&&this.nextChar();break;case 10:break;default:a.push(String.fromCharCode(n))}break;default:a.push(String.fromCharCode(n))}if(t)break;s||(n=this.nextChar())}return a.join("")}getName(){let e,t;const a=this.strBuf;a.length=0;for(;(e=this.nextChar())>=0&&!rn[e];)if(35===e){e=this.nextChar();if(rn[e]){warn("Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number.");a.push("#");break}const n=toHexDigit(e);if(-1!==n){t=e;e=this.nextChar();const s=toHexDigit(e);if(-1===s){warn(`Lexer_getName: Illegal digit (${String.fromCharCode(e)}) in hexadecimal number.`);a.push("#",String.fromCharCode(t));if(rn[e])break;a.push(String.fromCharCode(e));continue}a.push(String.fromCharCode(n<<4|s))}else a.push("#",String.fromCharCode(e))}else a.push(String.fromCharCode(e));a.length>127&&warn(`Name token is longer than allowed by the spec: ${a.length}`);return Name.get(a.join(""))}_hexStringWarn(e){5!==this._hexStringNumWarn++?this._hexStringNumWarn>5||warn(`getHexString - ignoring invalid character: ${e}`):warn("getHexString - ignoring additional invalid characters.")}getHexString(){const e=this.strBuf;e.length=0;let t=this.currentChar,a=-1,n=-1;this._hexStringNumWarn=0;for(;;){if(t<0){warn("Unterminated hex string");break}if(62===t){this.nextChar();break}if(1!==rn[t]){n=toHexDigit(t);if(-1===n)this._hexStringWarn(t);else if(-1===a)a=n;else{e.push(String.fromCharCode(a<<4|n));a=-1}t=this.nextChar()}else t=this.nextChar()}-1!==a&&e.push(String.fromCharCode(a<<4));return e.join("")}getObj(){let e=!1,t=this.currentChar;for(;;){if(t<0)return fa;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(1!==rn[t])break;t=this.nextChar()}switch(0|t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return this.getNumber();case 40:return this.getString();case 47:return this.getName();case 91:this.nextChar();return Cmd.get("[");case 93:this.nextChar();return Cmd.get("]");case 60:t=this.nextChar();if(60===t){this.nextChar();return Cmd.get("<<")}return this.getHexString();case 62:t=this.nextChar();if(62===t){this.nextChar();return Cmd.get(">>")}return Cmd.get(">");case 123:this.nextChar();return Cmd.get("{");case 125:this.nextChar();return Cmd.get("}");case 41:this.nextChar();throw new FormatError(`Illegal character: ${t}`)}let a=String.fromCharCode(t);if(t<32||t>127){const e=this.peekChar();if(e>=32&&e<=127){this.nextChar();return Cmd.get(a)}}const n=this.knownCommands;let s=void 0!==n?.[a];for(;(t=this.nextChar())>=0&&!rn[t];){const e=a+String.fromCharCode(t);if(s&&void 0===n[e])break;if(128===a.length)throw new FormatError(`Command token too long: ${a.length}`);a=e;s=void 0!==n?.[a]}if("true"===a)return!0;if("false"===a)return!1;if("null"===a)return null;"BI"===a&&(this.beginInlineImagePos=this.stream.pos);return Cmd.get(a)}skipToNextLine(){let e=this.currentChar;for(;e>=0;){if(13===e){e=this.nextChar();10===e&&this.nextChar();break}if(10===e){this.nextChar();break}e=this.nextChar()}}}class Linearization{static create(e){function getInt(e,t,a=!1){const n=e.get(t);if(Number.isInteger(n)&&(a?n>=0:n>0))return n;throw new Error(`The "${t}" parameter in the linearization dictionary is invalid.`)}const t=new Parser({lexer:new Lexer(e),xref:null}),a=t.getObj(),n=t.getObj(),s=t.getObj(),r=t.getObj();let i,o;if(!(Number.isInteger(a)&&Number.isInteger(n)&&isCmd(s,"obj")&&r instanceof Dict&&"number"==typeof(i=r.get("Linearized"))&&i>0))return null;if((o=getInt(r,"L"))!==e.length)throw new Error('The "L" parameter in the linearization dictionary does not equal the stream length.');return{length:o,hints:function getHints(e){const t=e.get("H");let a;if(Array.isArray(t)&&(2===(a=t.length)||4===a)){for(let e=0;e0))throw new Error(`Hint (${e}) in the linearization dictionary is invalid.`)}return t}throw new Error("Hint array in the linearization dictionary is invalid.")}(r),objectNumberFirst:getInt(r,"O"),endFirst:getInt(r,"E"),numPages:getInt(r,"N"),mainXRefEntriesOffset:getInt(r,"T"),pageFirst:r.has("P")?getInt(r,"P",!0):0}}}const on=["Adobe-GB1-UCS2","Adobe-CNS1-UCS2","Adobe-Japan1-UCS2","Adobe-Korea1-UCS2","78-EUC-H","78-EUC-V","78-H","78-RKSJ-H","78-RKSJ-V","78-V","78ms-RKSJ-H","78ms-RKSJ-V","83pv-RKSJ-H","90ms-RKSJ-H","90ms-RKSJ-V","90msp-RKSJ-H","90msp-RKSJ-V","90pv-RKSJ-H","90pv-RKSJ-V","Add-H","Add-RKSJ-H","Add-RKSJ-V","Add-V","Adobe-CNS1-0","Adobe-CNS1-1","Adobe-CNS1-2","Adobe-CNS1-3","Adobe-CNS1-4","Adobe-CNS1-5","Adobe-CNS1-6","Adobe-GB1-0","Adobe-GB1-1","Adobe-GB1-2","Adobe-GB1-3","Adobe-GB1-4","Adobe-GB1-5","Adobe-Japan1-0","Adobe-Japan1-1","Adobe-Japan1-2","Adobe-Japan1-3","Adobe-Japan1-4","Adobe-Japan1-5","Adobe-Japan1-6","Adobe-Korea1-0","Adobe-Korea1-1","Adobe-Korea1-2","B5-H","B5-V","B5pc-H","B5pc-V","CNS-EUC-H","CNS-EUC-V","CNS1-H","CNS1-V","CNS2-H","CNS2-V","ETHK-B5-H","ETHK-B5-V","ETen-B5-H","ETen-B5-V","ETenms-B5-H","ETenms-B5-V","EUC-H","EUC-V","Ext-H","Ext-RKSJ-H","Ext-RKSJ-V","Ext-V","GB-EUC-H","GB-EUC-V","GB-H","GB-V","GBK-EUC-H","GBK-EUC-V","GBK2K-H","GBK2K-V","GBKp-EUC-H","GBKp-EUC-V","GBT-EUC-H","GBT-EUC-V","GBT-H","GBT-V","GBTpc-EUC-H","GBTpc-EUC-V","GBpc-EUC-H","GBpc-EUC-V","H","HKdla-B5-H","HKdla-B5-V","HKdlb-B5-H","HKdlb-B5-V","HKgccs-B5-H","HKgccs-B5-V","HKm314-B5-H","HKm314-B5-V","HKm471-B5-H","HKm471-B5-V","HKscs-B5-H","HKscs-B5-V","Hankaku","Hiragana","KSC-EUC-H","KSC-EUC-V","KSC-H","KSC-Johab-H","KSC-Johab-V","KSC-V","KSCms-UHC-H","KSCms-UHC-HW-H","KSCms-UHC-HW-V","KSCms-UHC-V","KSCpc-EUC-H","KSCpc-EUC-V","Katakana","NWP-H","NWP-V","RKSJ-H","RKSJ-V","Roman","UniCNS-UCS2-H","UniCNS-UCS2-V","UniCNS-UTF16-H","UniCNS-UTF16-V","UniCNS-UTF32-H","UniCNS-UTF32-V","UniCNS-UTF8-H","UniCNS-UTF8-V","UniGB-UCS2-H","UniGB-UCS2-V","UniGB-UTF16-H","UniGB-UTF16-V","UniGB-UTF32-H","UniGB-UTF32-V","UniGB-UTF8-H","UniGB-UTF8-V","UniJIS-UCS2-H","UniJIS-UCS2-HW-H","UniJIS-UCS2-HW-V","UniJIS-UCS2-V","UniJIS-UTF16-H","UniJIS-UTF16-V","UniJIS-UTF32-H","UniJIS-UTF32-V","UniJIS-UTF8-H","UniJIS-UTF8-V","UniJIS2004-UTF16-H","UniJIS2004-UTF16-V","UniJIS2004-UTF32-H","UniJIS2004-UTF32-V","UniJIS2004-UTF8-H","UniJIS2004-UTF8-V","UniJISPro-UCS2-HW-V","UniJISPro-UCS2-V","UniJISPro-UTF8-V","UniJISX0213-UTF32-H","UniJISX0213-UTF32-V","UniJISX02132004-UTF32-H","UniJISX02132004-UTF32-V","UniKS-UCS2-H","UniKS-UCS2-V","UniKS-UTF16-H","UniKS-UTF16-V","UniKS-UTF32-H","UniKS-UTF32-V","UniKS-UTF8-H","UniKS-UTF8-V","V","WP-Symbol"],ln=2**24-1;class CMap{constructor(e=!1){this.codespaceRanges=[[],[],[],[]];this.numCodespaceRanges=0;this._map=[];this.name="";this.vertical=!1;this.useCMap=null;this.builtInCMap=e}addCodespaceRange(e,t,a){this.codespaceRanges[e-1].push(t,a);this.numCodespaceRanges++}mapCidRange(e,t,a){if(t-e>ln)throw new Error("mapCidRange - ignoring data above MAX_MAP_RANGE.");for(;e<=t;)this._map[e++]=a++}mapBfRange(e,t,a){if(t-e>ln)throw new Error("mapBfRange - ignoring data above MAX_MAP_RANGE.");const n=a.length-1;for(;e<=t;){this._map[e++]=a;const t=a.charCodeAt(n)+1;t>255?a=a.substring(0,n-1)+String.fromCharCode(a.charCodeAt(n-1)+1)+"\0":a=a.substring(0,n)+String.fromCharCode(t)}}mapBfRangeToArray(e,t,a){if(t-e>ln)throw new Error("mapBfRangeToArray - ignoring data above MAX_MAP_RANGE.");const n=a.length;let s=0;for(;e<=t&&s>>0;const i=s[r];for(let e=0,t=i.length;e=t&&n<=s){a.charcode=n;a.length=r+1;return}}}a.charcode=0;a.length=1}getCharCodeLength(e){const t=this.codespaceRanges;for(let a=0,n=t.length;a=s&&e<=r)return a+1}}return 1}get length(){return this._map.length}get isIdentityCMap(){if("Identity-H"!==this.name&&"Identity-V"!==this.name)return!1;if(65536!==this._map.length)return!1;for(let e=0;e<65536;e++)if(this._map[e]!==e)return!1;return!0}}class IdentityCMap extends CMap{constructor(e,t){super();this.vertical=e;this.addCodespaceRange(t,0,65535)}mapCidRange(e,t,a){unreachable("should not call mapCidRange")}mapBfRange(e,t,a){unreachable("should not call mapBfRange")}mapBfRangeToArray(e,t,a){unreachable("should not call mapBfRangeToArray")}mapOne(e,t){unreachable("should not call mapCidOne")}lookup(e){return Number.isInteger(e)&&e<=65535?e:void 0}contains(e){return Number.isInteger(e)&&e<=65535}forEach(e){for(let t=0;t<=65535;t++)e(t,t)}charCodeOf(e){return Number.isInteger(e)&&e<=65535?e:-1}getMap(){const e=new Array(65536);for(let t=0;t<=65535;t++)e[t]=t;return e}get length(){return 65536}get isIdentityCMap(){unreachable("should not access .isIdentityCMap")}}function strToInt(e){let t=0;for(let a=0;a>>0}function expectString(e){if("string"!=typeof e)throw new FormatError("Malformed CMap: expected string.")}function expectInt(e){if(!Number.isInteger(e))throw new FormatError("Malformed CMap: expected int.")}function parseBfChar(e,t){for(;;){let a=t.getObj();if(a===fa)break;if(isCmd(a,"endbfchar"))return;expectString(a);const n=strToInt(a);a=t.getObj();expectString(a);const s=a;e.mapOne(n,s)}}function parseBfRange(e,t){for(;;){let a=t.getObj();if(a===fa)break;if(isCmd(a,"endbfrange"))return;expectString(a);const n=strToInt(a);a=t.getObj();expectString(a);const s=strToInt(a);a=t.getObj();if(Number.isInteger(a)||"string"==typeof a){const t=Number.isInteger(a)?String.fromCharCode(a):a;e.mapBfRange(n,s,t)}else{if(!isCmd(a,"["))break;{a=t.getObj();const r=[];for(;!isCmd(a,"]")&&a!==fa;){r.push(a);a=t.getObj()}e.mapBfRangeToArray(n,s,r)}}}throw new FormatError("Invalid bf range.")}function parseCidChar(e,t){for(;;){let a=t.getObj();if(a===fa)break;if(isCmd(a,"endcidchar"))return;expectString(a);const n=strToInt(a);a=t.getObj();expectInt(a);const s=a;e.mapOne(n,s)}}function parseCidRange(e,t){for(;;){let a=t.getObj();if(a===fa)break;if(isCmd(a,"endcidrange"))return;expectString(a);const n=strToInt(a);a=t.getObj();expectString(a);const s=strToInt(a);a=t.getObj();expectInt(a);const r=a;e.mapCidRange(n,s,r)}}function parseCodespaceRange(e,t){for(;;){let a=t.getObj();if(a===fa)break;if(isCmd(a,"endcodespacerange"))return;if("string"!=typeof a)break;const n=strToInt(a);a=t.getObj();if("string"!=typeof a)break;const s=strToInt(a);e.addCodespaceRange(a.length,n,s)}throw new FormatError("Invalid codespace range.")}function parseWMode(e,t){const a=t.getObj();Number.isInteger(a)&&(e.vertical=!!a)}function parseCMapName(e,t){const a=t.getObj();a instanceof Name&&(e.name=a.name)}async function parseCMap(e,t,a,n){let s,r;e:for(;;)try{const a=t.getObj();if(a===fa)break;if(a instanceof Name){"WMode"===a.name?parseWMode(e,t):"CMapName"===a.name&&parseCMapName(e,t);s=a}else if(a instanceof Cmd)switch(a.cmd){case"endcmap":break e;case"usecmap":s instanceof Name&&(r=s.name);break;case"begincodespacerange":parseCodespaceRange(e,t);break;case"beginbfchar":parseBfChar(e,t);break;case"begincidchar":parseCidChar(e,t);break;case"beginbfrange":parseBfRange(e,t);break;case"begincidrange":parseCidRange(e,t)}}catch(e){if(e instanceof MissingDataException)throw e;warn("Invalid cMap data: "+e);continue}!n&&r&&(n=r);return n?extendCMap(e,a,n):e}async function extendCMap(e,t,a){e.useCMap=await createBuiltInCMap(a,t);if(0===e.numCodespaceRanges){const t=e.useCMap.codespaceRanges;for(let a=0;aextendCMap(s,t,e));const r=new Lexer(new Stream(a));return parseCMap(s,r,t,null)}class CMapFactory{static async create({encoding:e,fetchBuiltInCMap:t,useCMap:a}){if(e instanceof Name)return createBuiltInCMap(e.name,t);if(e instanceof BaseStream){if(e.isAsync){const t=await e.asyncGetBytes();t&&(e=new Stream(t,0,t.length,e.dict))}const n=await parseCMap(new CMap,new Lexer(e),t,a);return n.isIdentityCMap?createBuiltInCMap(n.name,t):n}throw new Error("Encoding required.")}}class CSS_FONT_INFO{static strings=["fontFamily","fontWeight","italicAngle"]}class SYSTEM_FONT_INFO{static strings=["css","loadedName","baseFontName","src"]}class FONT_INFO{static bools=["black","bold","disableFontFace","fontExtraProperties","isInvalidPDFjsFont","isType3Font","italic","missingFile","remeasure","vertical"];static numbers=["ascent","defaultWidth","descent"];static strings=["fallbackName","loadedName","mimetype","name"];static OFFSET_NUMBERS=Math.ceil(2*this.bools.length/8);static OFFSET_BBOX=this.OFFSET_NUMBERS+8*this.numbers.length;static OFFSET_FONT_MATRIX=this.OFFSET_BBOX+1+8;static OFFSET_DEFAULT_VMETRICS=this.OFFSET_FONT_MATRIX+1+48;static OFFSET_STRINGS=this.OFFSET_DEFAULT_VMETRICS+1+6}class PATTERN_INFO{static KIND=0;static HAS_BBOX=1;static HAS_BACKGROUND=2;static SHADING_TYPE=3;static N_COORD=4;static N_COLOR=8;static N_STOP=12;static N_FIGURES=16}function compileFontInfo(e){const t=e.systemFontInfo?function compileSystemFontInfo(e){const t=new TextEncoder,a={};let n=0;for(const s of SYSTEM_FONT_INFO.strings){const r=t.encode(e[s]);a[s]=r;n+=4+r.length}n+=4;let s,r,i=1+n;if(e.style){s=t.encode(e.style.style);r=t.encode(e.style.weight);i+=4+s.length+4+r.length}const o=new ArrayBuffer(i),l=new Uint8Array(o),f=new DataView(o);let c=0;f.setUint8(c++,e.guessFallback?1:0);f.setUint32(c,0);c+=4;n=0;for(const e of SYSTEM_FONT_INFO.strings){const t=a[e],s=t.length;n+=4+s;f.setUint32(c,s);l.set(t,c+4);c+=4+s}f.setUint32(c-n-4,n);if(e.style){f.setUint32(c,s.length);l.set(s,c+4);c+=4+s.length;f.setUint32(c,r.length);l.set(r,c+4);c+=4+r.length}assert(c<=o.byteLength,"compileSystemFontInfo: Buffer overflow");return o.transferToFixedLength(c)}(e.systemFontInfo):null,a=e.cssFontInfo?function compileCssFontInfo(e){const t=new TextEncoder,a={};let n=0;for(const s of CSS_FONT_INFO.strings){const r=t.encode(e[s]);a[s]=r;n+=4+r.length}const s=new ArrayBuffer(n),r=new Uint8Array(s),i=new DataView(s);let o=0;for(const e of CSS_FONT_INFO.strings){const t=a[e],n=t.length;i.setUint32(o,n);r.set(t,o+4);o+=4+n}assert(o===s.byteLength,"compileCssFontInfo: Buffer overflow");return s}(e.cssFontInfo):null,n=new TextEncoder,s={};let r=0;for(const t of FONT_INFO.strings){s[t]=n.encode(e[t]);r+=4+s[t].length}const i=FONT_INFO.OFFSET_STRINGS+4+r+4+(t?.byteLength??0)+4+(a?.byteLength??0)+4+(e.data?.length??0),o=new ArrayBuffer(i),l=new Uint8Array(o),f=new DataView(o);let c=0;const h=FONT_INFO.bools.length;let u=0,m=0;for(let t=0;t=5&&t<=7))return-1;n=e.substring(1)}if(n===n.toUpperCase()){a=parseInt(n,16);if(a>=0)return a}}return-1}const jn=[[0,127],[128,255],[256,383],[384,591],[592,687,7424,7551,7552,7615],[688,767,42752,42783],[768,879,7616,7679],[880,1023],[11392,11519],[1024,1279,1280,1327,11744,11775,42560,42655],[1328,1423],[1424,1535],[42240,42559],[1536,1791,1872,1919],[1984,2047],[2304,2431],[2432,2559],[2560,2687],[2688,2815],[2816,2943],[2944,3071],[3072,3199],[3200,3327],[3328,3455],[3584,3711],[3712,3839],[4256,4351,11520,11567],[6912,7039],[4352,4607],[7680,7935,11360,11391,42784,43007],[7936,8191],[8192,8303,11776,11903],[8304,8351],[8352,8399],[8400,8447],[8448,8527],[8528,8591],[8592,8703,10224,10239,10496,10623,11008,11263],[8704,8959,10752,11007,10176,10223,10624,10751],[8960,9215],[9216,9279],[9280,9311],[9312,9471],[9472,9599],[9600,9631],[9632,9727],[9728,9983],[9984,10175],[12288,12351],[12352,12447],[12448,12543,12784,12799],[12544,12591,12704,12735],[12592,12687],[43072,43135],[12800,13055],[13056,13311],[44032,55215],[55296,57343],[67840,67871],[19968,40959,11904,12031,12032,12255,12272,12287,13312,19903,131072,173791,12688,12703],[57344,63743],[12736,12783,63744,64255,194560,195103],[64256,64335],[64336,65023],[65056,65071],[65040,65055],[65104,65135],[65136,65279],[65280,65519],[65520,65535],[3840,4095],[1792,1871],[1920,1983],[3456,3583],[4096,4255],[4608,4991,4992,5023,11648,11743],[5024,5119],[5120,5759],[5760,5791],[5792,5887],[6016,6143],[6144,6319],[10240,10495],[40960,42127],[5888,5919,5920,5951,5952,5983,5984,6015],[66304,66351],[66352,66383],[66560,66639],[118784,119039,119040,119295,119296,119375],[119808,120831],[1044480,1048573],[65024,65039,917760,917999],[917504,917631],[6400,6479],[6480,6527],[6528,6623],[6656,6687],[11264,11359],[11568,11647],[19904,19967],[43008,43055],[65536,65663,65664,65791,65792,65855],[65856,65935],[66432,66463],[66464,66527],[66640,66687],[66688,66735],[67584,67647],[68096,68191],[119552,119647],[73728,74751,74752,74879],[119648,119679],[7040,7103],[7168,7247],[7248,7295],[43136,43231],[43264,43311],[43312,43359],[43520,43615],[65936,65999],[66e3,66047],[66208,66271,66176,66207,67872,67903],[127024,127135,126976,127023]];function getUnicodeRangeFor(e,t=-1){if(-1!==t){const a=jn[t];for(let n=0,s=a.length;n=a[n]&&e<=a[n+1])return t}for(let t=0,a=jn.length;t=a[n]&&e<=a[n+1])return t}return-1}const kn=/^(\s)|(\p{Mn})|(\p{Cf})$/u,yn=new Map;const qn=!0,vn=1,Sn=2,An=4,xn=32,Cn=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];function recoverGlyphName(e,t){if(void 0!==t[e])return e;const a=getUnicodeForGlyph(e,t);if(-1!==a)for(const e in t)if(t[e]===a)return e;info("Unable to recover a standard glyph name for: "+e);return e}function type1FontGlyphMapping(e,t,a){const n=Object.create(null);let s,r,i;const o=!!(e.flags&An);if(e.isInternalFont){i=t;for(r=0;r=0?s:0}}else if(e.baseEncodingName){i=getEncoding(e.baseEncodingName);for(r=0;r=0?s:0}}else if(o)for(r in t)n[r]=t[r];else{i=un;for(r=0;r=0?s:0}}const l=e.differences;let f;if(l)for(r in l){const e=l[r];s=a.indexOf(e);if(-1===s){f||(f=gn());const t=recoverGlyphName(e,f);t!==e&&(s=a.indexOf(t))}n[r]=s>=0?s:0}return n}function normalizeFontName(e){return e.replaceAll(/[,_]/g,"-").replaceAll(/\s/g,"")}const In=getLookupTableFactory(e=>{e[8211]=65074;e[8212]=65073;e[8229]=65072;e[8230]=65049;e[12289]=65041;e[12290]=65042;e[12296]=65087;e[12297]=65088;e[12298]=65085;e[12299]=65086;e[12300]=65089;e[12301]=65090;e[12302]=65091;e[12303]=65092;e[12304]=65083;e[12305]=65084;e[12308]=65081;e[12309]=65082;e[12310]=65047;e[12311]=65048;e[65103]=65076;e[65281]=65045;e[65288]=65077;e[65289]=65078;e[65292]=65040;e[65306]=65043;e[65307]=65044;e[65311]=65046;e[65339]=65095;e[65341]=65096;e[65343]=65075;e[65371]=65079;e[65373]=65080});const Fn=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron"],Tn=[".notdef","space","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],On=[".notdef","space","dollaroldstyle","dollarsuperior","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","hyphensuperior","colonmonetary","onefitted","rupiah","centoldstyle","figuredash","hypheninferior","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior"];class DataBuilder{#ee;#te=1024;#ae=!1;#ne=0;#se;constructor({exactLength:e=0,minLength:t=0}){this.#ae=!!e;this.#re(e||t)}#re(e){if(this.#ae)this.#te=e;else for(;this.#tethis.#te&&this.#re(t);this.#ee.set(e,this.#ne);this.#ne=t}setInt16(e){const t=this.#ne+2;!this.#ae&&t>this.#te&&this.#re(t);this.#se.setInt16(this.#ne,e);this.#ne=t}setSafeInt16(e){const t=this.#ne+2;!this.#ae&&t>this.#te&&this.#re(t);this.#se.setInt16(this.#ne,MathClamp(e,-32768,32767));this.#ne=t}setInt32(e){const t=this.#ne+4;!this.#ae&&t>this.#te&&this.#re(t);this.#se.setInt32(this.#ne,e);this.#ne=t}}function looksLikeUnsigned16BitNegative(e){return e>32767&&e<=65535}function recoverSigned16BitBBox(e,t=!1){return Util.normalizeRect(e.map((e,a)=>(!t||a<2)&&looksLikeUnsigned16BitNegative(e)?e-65536:e))}const Rn=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"],Hn=391,Bn=.039625,Dn=[null,{id:"hstem",min:2,stackClearing:!0,stem:!0},null,{id:"vstem",min:2,stackClearing:!0,stem:!0},{id:"vmoveto",min:1,stackClearing:!0},{id:"rlineto",min:2,resetStack:!0},{id:"hlineto",min:1,resetStack:!0},{id:"vlineto",min:1,resetStack:!0},{id:"rrcurveto",min:6,resetStack:!0},null,{id:"callsubr",min:1},{id:"return",min:0},null,null,{id:"endchar",min:0,stackClearing:!0},null,null,null,{id:"hstemhm",min:2,stackClearing:!0,stem:!0},{id:"hintmask",min:0,stackClearing:!0},{id:"cntrmask",min:0,stackClearing:!0},{id:"rmoveto",min:2,stackClearing:!0},{id:"hmoveto",min:1,stackClearing:!0},{id:"vstemhm",min:2,stackClearing:!0,stem:!0},{id:"rcurveline",min:8,resetStack:!0},{id:"rlinecurve",min:8,resetStack:!0},{id:"vvcurveto",min:4,resetStack:!0},{id:"hhcurveto",min:4,resetStack:!0},null,{id:"callgsubr",min:1},{id:"vhcurveto",min:4,resetStack:!0},{id:"hvcurveto",min:4,resetStack:!0}],Mn=[null,null,null,{id:"and",min:2,stackDelta:-1},{id:"or",min:2,stackDelta:-1},{id:"not",min:1,stackDelta:0},null,null,null,{id:"abs",min:1,stackDelta:0},{id:"add",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]+e[t-1]}},{id:"sub",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]-e[t-1]}},{id:"div",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]/e[t-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn(e,t){e[t-1]=-e[t-1]}},{id:"eq",min:2,stackDelta:-1},null,null,{id:"drop",min:1,stackDelta:-1},null,{id:"put",min:2,stackDelta:-2},{id:"get",min:1,stackDelta:0},{id:"ifelse",min:4,stackDelta:-3},{id:"random",min:0,stackDelta:1},{id:"mul",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]*e[t-1]}},null,{id:"sqrt",min:1,stackDelta:0},{id:"dup",min:1,stackDelta:1},{id:"exch",min:2,stackDelta:0},{id:"index",min:2,stackDelta:0},{id:"roll",min:3,stackDelta:-2},null,null,null,{id:"hflex",min:7,resetStack:!0},{id:"flex",min:13,resetStack:!0},{id:"hflex1",min:9,resetStack:!0},{id:"flex1",min:11,resetStack:!0}];class CFFParser{constructor(e,t,a){this.bytes=e.getBytes();this.properties=t;this.seacAnalysisEnabled=!!a}parse(){const e=this.properties,t=new CFF(this.bytes.length);this.cff=t;const a=this.parseHeader(),n=this.parseIndex(a.endPos),s=this.parseIndex(n.endPos),r=this.parseIndex(s.endPos),i=this.parseIndex(r.endPos),o=this.parseDict(s.obj.get(0)),l=this.createDict(CFFTopDict,o,t.strings);t.header=a.obj;t.names=this.parseNameIndex(n.obj);t.strings=this.parseStringIndex(r.obj);t.topDict=l;t.globalSubrIndex=i.obj;this.parsePrivateDict(t.topDict);t.isCIDFont=l.hasName("ROS");const f=l.getByName("CharStrings"),c=this.parseIndex(f).obj;t.charStringCount=c.count;const h=l.getByName("FontMatrix");h&&(e.fontMatrix=h);let u=l.getByName("FontBBox");const m=e.bbox?.some(e=>0!==e)?recoverSigned16BitBBox(e.bbox):null,p=u?.slice(0,2).some(looksLikeUnsigned16BitNegative),d=u?.some(looksLikeUnsigned16BitNegative);if(u?.every(e=>0===e)&&m){u=m;l.setByName("FontBBox",u)}else if(d){const t=recoverSigned16BitBBox(u),a=m&&e.bbox.some(e=>e<0)&&!e.bbox.some(looksLikeUnsigned16BitNegative)&&isArrayEqual(t,m);if(a||p){u=a?t:recoverSigned16BitBBox(u,!0);l.setByName("FontBBox",u)}}if(u?.some(e=>0!==e)){e.ascent=Math.max(u[3],u[1]);e.descent=Math.min(u[1],u[3]);e.ascentScaled=!0}let g,b;if(t.isCIDFont){const e=this.parseIndex(l.getByName("FDArray")).obj;for(let a=0,n=e.count;a=t)throw new FormatError("Invalid CFF header");if(0!==a){info("cff data is shifted");e=e.subarray(a);this.bytes=e}const n=e[0],s=e[1],r=e[2],i=e[3];return{obj:new CFFHeader(n,s,r,i),endPos:r}}parseDict(e){const t=new DataView(e.buffer,e.byteOffset,e.bytesLength);let a=0;function parseOperand(){let n=e[a++];if(30===n)return function parseFloatOperand(){let t="";const n=15,s=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],r=e.length;for(;a>4,o=15&r;if(i===n)break;t+=s[i];if(o===n)break;t+=s[o]}return parseFloat(t)}();if(28===n){n=t.getInt16(a);a+=2;return n}if(29===n){n=t.getInt32(a);a+=4;return n}if(n>=32&&n<=246)return n-139;if(n>=247&&n<=250)return 256*(n-247)+e[a++]+108;if(n>=251&&n<=254)return-256*(n-251)-e[a++]-108;warn(`CFFParser.parseDict: "${n}" is a reserved command.`);return NaN}let n=[];const s=[];a=0;const r=e.length;for(;a10)return!1;const s=new DataView(t.buffer,t.byteOffset,t.bytesLength);let r=e.stackSize;const i=e.stack;let o=t.length;for(let l=0;l=4){r-=4;if(this.seacAnalysisEnabled){e.seac=i.slice(r,r+4);return!1}}c=Dn[f]}else if(f>=32&&f<=246){i[r]=f-139;r++}else if(f>=247&&f<=254){i[r]=f<251?(f-247<<8)+t[l]+108:-(f-251<<8)-t[l]-108;l++;r++}else if(255===f){i[r]=s.getInt32(l)/65536;l+=4;r++}else if(19===f||20===f){e.hints+=r>>1;if(0===e.hints){t.copyWithin(l-1,l,-1);l-=1;o-=1;continue}l+=e.hints+7>>3;r%=2;c=Dn[f]}else{if(10===f||29===f){const t=10===f?a:n;if(!t){c=Dn[f];warn("Missing subrsIndex for "+c.id);return!1}let s=32768;t.count<1240?s=107:t.count<33900&&(s=1131);const o=i[--r]+s;if(o<0||o>=t.count||isNaN(o)){c=Dn[f];warn("Out of bounds subrIndex for "+c.id);return!1}e.stackSize=r;e.callDepth++;if(!this.parseCharString(e,t.get(o),a,n))return!1;e.callDepth--;r=e.stackSize;continue}if(11===f){e.stackSize=r;return!0}if(0===f&&l===t.length){t[l-1]=14;c=Dn[14]}else{if(9===f){t.copyWithin(l-1,l,-1);l-=1;o-=1;continue}c=Dn[f]}}if(c){if(c.stem){e.hints+=r>>1;if(3===f||23===f)e.hasVStems=!0;else if(e.hasVStems&&(1===f||18===f)){warn("CFF stem hints are in wrong order");t[l-1]=1===f?3:23}}if(r=2&&c.stem?r%=2:r>1&&warn("Found too many parameters for stack-clearing command");r>0&&(e.width=i[r-1])}if("stackDelta"in c){"stackFn"in c&&c.stackFn(i,r);r+=c.stackDelta}else(c.stackClearing||c.resetStack)&&(r=0)}}o=s.length){warn("Invalid fd index for glyph index.");h=!1}if(h){m=s[e].privateDict;u=m.subrsIndex}}else t&&(u=t);h&&(h=this.parseCharString(c,l,u,a));if(null!==c.width){const e=m.getByName("nominalWidthX");o[f]=e+c.width}else{const e=m.getByName("defaultWidthX");o[f]=e}null!==c.seac&&(i[f]=c.seac);h||e.set(f,new Uint8Array([14]))}return{charStrings:e,seacs:i,widths:o}}emptyPrivateDictionary(e){const t=this.createDict(CFFPrivateDict,[],e.strings);e.setByKey(18,[0,0]);e.privateDict=t}parsePrivateDict(e){if(!e.hasName("Private")){this.emptyPrivateDictionary(e);return}const t=e.getByName("Private");if(!Array.isArray(t)||2!==t.length){e.removeByName("Private");return}const a=t[0],n=t[1];if(0===a||n>=this.bytes.length){this.emptyPrivateDictionary(e);return}if(n+a>this.bytes.length)throw new FormatError("CFF Private DICT extends past end of font");const s=n+a,r=this.bytes.subarray(n,s),i=this.parseDict(r),o=this.createDict(CFFPrivateDict,i,e.strings);e.privateDict=o;const l=o.getByName("BlueScale"),f=o.getByName("BlueShift"),c=o.getByName("BlueFuzz"),h=o.getByName("ExpansionFactor");if(0===l&&0===f&&0===c&&0===h){o.setByName("BlueScale",Bn);o.setByName("BlueShift",7);o.setByName("BlueFuzz",1)}0===h&&o.setByName("ExpansionFactor",.06);if(l>0){let e=0;for(const t of[o.getByName("BlueValues"),o.getByName("OtherBlues")])if(t)for(let a=1;ae&&(e=t[a]);if(e>0){const t=1e5,a=.5/e,n=MathClamp(l,a<=Bn?Math.ceil(a*t)/t:-1/0,Math.floor(t/e)/t);n!==l&&o.setByName("BlueScale",n)}}if(!o.getByName("Subrs"))return;const u=o.getByName("Subrs"),m=n+u;if(0===u||m>=this.bytes.length){this.emptyPrivateDictionary(e);return}const p=this.parseIndex(m);o.subrsIndex=p.obj}parseCharsets(e,t,a,n){if(0===e)return new CFFCharset(!0,_n.ISO_ADOBE,Fn);if(1===e)return new CFFCharset(!0,_n.EXPERT,Tn);if(2===e)return new CFFCharset(!0,_n.EXPERT_SUBSET,On);const{bytes:s}=this,r=s[e++],i=[n?0:".notdef"];let o,l,f;t-=1;switch(r){case 0:for(f=0;f=65535){warn("Not enough space in charstrings to duplicate first glyph.");return}const e=this.charStrings.get(0);this.charStrings.add(e);this.isCIDFont&&this.fdSelect.fdSelect.push(this.fdSelect.fdSelect[0])}hasGlyphId(e){if(e<0||e>=this.charStrings.count)return!1;return this.charStrings.get(e).length>0}}class CFFHeader{constructor(e,t,a,n){this.major=e;this.minor=t;this.hdrSize=a;this.offSize=n}}class CFFStrings{strings=[];get(e){return e>=0&&e<=390?Rn[e]:e-Hn<=this.strings.length?this.strings[e-Hn]:Rn[0]}getSID(e){let t=Rn.indexOf(e);if(-1!==t)return t;t=this.strings.indexOf(e);return-1!==t?t+Hn:-1}add(e){this.strings.push(e)}get count(){return this.strings.length}}class CFFIndex{objects=[];length=0;add(e){this.length+=e.length;this.objects.push(e)}set(e,t){this.length+=t.length-this.objects[e].length;this.objects[e]=t}get(e){return this.objects[e]}get count(){return this.objects.length}}class CFFDict{constructor(e,t){this.keyToNameMap=e.keyToNameMap;this.nameToKeyMap=e.nameToKeyMap;this.defaults=e.defaults;this.types=e.types;this.opcodes=e.opcodes;this.order=e.order;this.strings=t;this.values=Object.create(null)}setByKey(e,t){if(!(e in this.keyToNameMap))return!1;if(0===t.length)return!0;for(const a of t)if(isNaN(a)){warn(`Invalid CFFDict value: "${t}" for key "${e}".`);return!0}const a=this.types[e];"num"!==a&&"sid"!==a&&"offset"!==a||(t=t[0]);this.values[e]=t;return!0}setByName(e,t){if(!(e in this.nameToKeyMap))throw new FormatError(`Invalid dictionary name "${e}"`);this.values[this.nameToKeyMap[e]]=t}hasName(e){return this.nameToKeyMap[e]in this.values}getByName(e){if(!(e in this.nameToKeyMap))throw new FormatError(`Invalid dictionary name ${e}"`);const t=this.nameToKeyMap[e];return t in this.values?this.values[t]:this.defaults[t]}removeByName(e){delete this.values[this.nameToKeyMap[e]]}static createTables(e){const t={keyToNameMap:{},nameToKeyMap:{},defaults:{},types:{},opcodes:{},order:[]};for(const a of e){const e=Array.isArray(a[0])?(a[0][0]<<8)+a[0][1]:a[0];t.keyToNameMap[e]=a[1];t.nameToKeyMap[a[1]]=e;t.types[e]=a[2];t.defaults[e]=a[3];t.opcodes[e]=Array.isArray(a[0])?a[0]:[a[0]];t.order.push(e)}return t}}const Nn=[[[12,30],"ROS",["sid","sid","num"],null],[[12,20],"SyntheticBase","num",null],[0,"version","sid",null],[1,"Notice","sid",null],[[12,0],"Copyright","sid",null],[2,"FullName","sid",null],[3,"FamilyName","sid",null],[4,"Weight","sid",null],[[12,1],"isFixedPitch","num",0],[[12,2],"ItalicAngle","num",0],[[12,3],"UnderlinePosition","num",-100],[[12,4],"UnderlineThickness","num",50],[[12,5],"PaintType","num",0],[[12,6],"CharstringType","num",2],[[12,7],"FontMatrix",["num","num","num","num","num","num"],[.001,0,0,.001,0,0]],[13,"UniqueID","num",null],[5,"FontBBox",["num","num","num","num"],[0,0,0,0]],[[12,8],"StrokeWidth","num",0],[14,"XUID","array",null],[15,"charset","offset",0],[16,"Encoding","offset",0],[17,"CharStrings","offset",0],[18,"Private",["offset","offset"],null],[[12,21],"PostScript","sid",null],[[12,22],"BaseFontName","sid",null],[[12,23],"BaseFontBlend","delta",null],[[12,31],"CIDFontVersion","num",0],[[12,32],"CIDFontRevision","num",0],[[12,33],"CIDFontType","num",0],[[12,34],"CIDCount","num",8720],[[12,35],"UIDBase","num",null],[[12,37],"FDSelect","offset",null],[[12,36],"FDArray","offset",null],[[12,38],"FontName","sid",null]];class CFFTopDict extends CFFDict{static get tables(){return shadow(this,"tables",this.createTables(Nn))}constructor(e){super(CFFTopDict.tables,e);this.privateDict=null}}const Pn=[[6,"BlueValues","delta",null],[7,"OtherBlues","delta",null],[8,"FamilyBlues","delta",null],[9,"FamilyOtherBlues","delta",null],[[12,9],"BlueScale","num",Bn],[[12,10],"BlueShift","num",7],[[12,11],"BlueFuzz","num",1],[10,"StdHW","num",null],[11,"StdVW","num",null],[[12,12],"StemSnapH","delta",null],[[12,13],"StemSnapV","delta",null],[[12,14],"ForceBold","num",0],[[12,17],"LanguageGroup","num",0],[[12,18],"ExpansionFactor","num",.06],[[12,19],"initialRandomSeed","num",0],[20,"defaultWidthX","num",0],[21,"nominalWidthX","num",0],[19,"Subrs","offset",null]];class CFFPrivateDict extends CFFDict{static get tables(){return shadow(this,"tables",this.createTables(Pn))}constructor(e){super(CFFPrivateDict.tables,e);this.subrsIndex=null}}const _n={ISO_ADOBE:0,EXPERT:1,EXPERT_SUBSET:2};class CFFCharset{constructor(e,t,a){this.predefined=e;this.format=t;this.charset=a}}class CFFEncoding{constructor(e,t,a,n){this.predefined=e;this.format=t;this.encoding=a;this.raw=n}}class CFFFDSelect{constructor(e,t){this.format=e;this.fdSelect=t}getFDIndex(e){return e<0||e>=this.fdSelect.length?-1:this.fdSelect[e]}}class CFFOffsetTracker{offsets=Object.create(null);isTracking(e){return e in this.offsets}track(e,t){if(e in this.offsets)throw new FormatError(`Already tracking location of ${e}`);this.offsets[e]=t}offset(e){for(const t in this.offsets)this.offsets[t]+=e}setEntryLocation(e,t,a){if(!(e in this.offsets))throw new FormatError(`Not tracking location of ${e}`);const n=a.data,s=this.offsets[e];for(let e=0,a=t.length;e>24&255;n[i]=f>>16&255;n[o]=f>>8&255;n[l]=255&f}}}class CFFCompiler{constructor(e){this.cff=e}compile(){const e=this.cff,t=new DataBuilder({minLength:e.rawFileLength}),a=this.compileHeader(e.header);t.setArray(a);const n=this.compileNameIndex(e.names);t.setArray(n);if(e.isCIDFont&&e.topDict.hasName("FontMatrix")){const t=e.topDict.getByName("FontMatrix");e.topDict.removeByName("FontMatrix");for(const a of e.fdArray){let e=t.slice(0);a.hasName("FontMatrix")&&(e=Util.transform(e,a.getByName("FontMatrix")));a.setByName("FontMatrix",e)}}const s=e.topDict.getByName("XUID");s?.length>16&&e.topDict.removeByName("XUID");e.topDict.setByName("charset",0);let r=this.compileTopDicts([e.topDict],t.length,e.isCIDFont);t.setArray(r.output);const i=r.trackers[0],o=this.compileStringIndex(e.strings.strings);t.setArray(o);const l=this.compileIndex(e.globalSubrIndex);t.setArray(l);if(e.encoding&&e.topDict.hasName("Encoding"))if(e.encoding.predefined)i.setEntryLocation("Encoding",[e.encoding.format],t);else{const a=this.compileEncoding(e.encoding);i.setEntryLocation("Encoding",[t.length],t);t.setArray(a)}const f=this.compileCharset(e.charset,e.charStrings.count,e.strings,e.isCIDFont);i.setEntryLocation("charset",[t.length],t);t.setArray(f);const c=this.compileCharStrings(e.charStrings);i.setEntryLocation("CharStrings",[t.length],t);t.setArray(c);if(e.isCIDFont){i.setEntryLocation("FDSelect",[t.length],t);const a=this.compileFDSelect(e.fdSelect);t.setArray(a);r=this.compileTopDicts(e.fdArray,t.length,!0);i.setEntryLocation("FDArray",[t.length],t);t.setArray(r.output);const n=r.trackers;this.compilePrivateDicts(e.fdArray,n,t)}this.compilePrivateDicts([e.topDict],[i],t);t.setArray([0]);return t.data}encodeNumber(e){return Number.isInteger(e)?this.encodeInteger(e):this.encodeFloat(e)}static get EncodeFloatRegExp(){return shadow(this,"EncodeFloatRegExp",/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/)}encodeFloat(e){let t=e.toString();const a=CFFCompiler.EncodeFloatRegExp.exec(t);if(a){const n=parseFloat("1e"+((a[2]?+a[2]:0)+a[1].length));t=(Math.round(e*n)/n).toString()}let n,s,r="";for(n=0,s=t.length;n=-107&&e<=107?[e+139]:e>=108&&e<=1131?[247+((e-=108)>>8),255&e]:e>=-1131&&e<=-108?[251+((e=-e-108)>>8),255&e]:e>=-32768&&e<=32767?[28,e>>8&255,255&e]:[29,e>>24&255,e>>16&255,e>>8&255,255&e];return t}compileHeader(e){return[e.major,e.minor,4,e.offSize]}compileNameIndex(e){const t=new CFFIndex;for(const a of e){const e=Math.min(a.length,127);let n=new Array(e);for(let t=0;t"~"||"["===e||"]"===e||"("===e||")"===e||"{"===e||"}"===e||"<"===e||">"===e||"/"===e||"%"===e)&&(e="_");n[t]=e}n=n.join("");""===n&&(n="Bad_Font_Name");t.add(stringToBytes(n))}return this.compileIndex(t)}compileTopDicts(e,t,a){const n=[];let s=new CFFIndex;for(const r of e){if(a){r.removeByName("CIDFontVersion");r.removeByName("CIDFontRevision");r.removeByName("CIDFontType");r.removeByName("CIDCount");r.removeByName("UIDBase")}const e=new CFFOffsetTracker,i=this.compileDict(r,e);n.push(e);s.add(i);e.offset(t)}s=this.compileIndex(s,n);return{trackers:n,output:s}}compilePrivateDicts(e,t,a){for(let n=0,s=e.length;n>8&255,255&e])}else{s=new Uint8Array(1+2*r);let t=0;const n=e.charset.length;let i=!1;for(let r=1;r>8&255;s[r+1]=255&o}}return s}compileEncoding(e){return e.raw}compileFDSelect(e){const t=e.format;let a,n;switch(t){case 0:a=new Uint8Array(1+e.fdSelect.length);a[0]=t;a.set(e.fdSelect,1);break;case 3:const s=0;let r=e.fdSelect[0];const i=[t,0,0,s>>8&255,255&s,r];for(n=1;n>8&255,255&n,t);r=t}}const o=(i.length-3)/3;i[1]=o>>8&255;i[2]=255&o;i.push(n>>8&255,255&n);a=new Uint8Array(i)}return a}compileIndex(e,t=[]){const a=e.objects,n=a.length;if(0===n)return new Uint8Array(2);let s,r,i=1;for(s=0;s>8&255;o[l++]=255&n;o[l++]=r;let f=1;for(s=0;s>8&255;o[l++]=255&f}else if(3===r){o[l++]=f>>16&255;o[l++]=f>>8&255;o[l++]=255&f}else{o[l++]=f>>>24&255;o[l++]=f>>16&255;o[l++]=f>>8&255;o[l++]=255&f}a[s]&&(f+=a[s].length)}for(s=0;se.getSize()+3&-4))}write(){const e=this.getSize(),t=new DataView(new ArrayBuffer(e)),a=e>131070,n=a?4:2,s=new DataView(new ArrayBuffer((this.glyphs.length+1)*n));a?s.setUint32(0,0):s.setUint16(0,0);let r=0,i=0;for(const e of this.glyphs){r+=e.write(r,t);r=r+3&-4;i+=n;a?s.setUint32(i,r):s.setUint16(i,r>>1)}return{isLocationLong:a,loca:new Uint8Array(s.buffer),glyf:new Uint8Array(t.buffer)}}scale(e){for(let t=0,a=this.glyphs.length;te.getSize()));return this.header.getSize()+e}write(e,t){if(!this.header)return 0;const a=e;e+=this.header.write(e,t);if(this.simple)e+=this.simple.write(e,t);else for(const a of this.composites)e+=a.write(e,t);return e-a}scale(e){if(!this.header)return;const t=(this.header.xMin+this.header.xMax)/2;this.header.scale(t,e);if(this.simple)this.simple.scale(t,e);else for(const a of this.composites)a.scale(t,e)}}class GlyphHeader{constructor({numberOfContours:e,xMin:t,yMin:a,xMax:n,yMax:s}){this.numberOfContours=e;this.xMin=t;this.yMin=a;this.xMax=n;this.yMax=s}static parse(e,t){return[$n,new GlyphHeader({numberOfContours:t.getInt16(e),xMin:t.getInt16(e+2),yMin:t.getInt16(e+4),xMax:t.getInt16(e+6),yMax:t.getInt16(e+8)})]}getSize(){return $n}write(e,t){t.setInt16(e,this.numberOfContours);t.setInt16(e+2,this.xMin);t.setInt16(e+4,this.yMin);t.setInt16(e+6,this.xMax);t.setInt16(e+8,this.yMax);return $n}scale(e,t){this.xMin=Math.round(e+(this.xMin-e)*t);this.xMax=Math.round(e+(this.xMax-e)*t)}}class Contour{constructor({flags:e,xCoordinates:t,yCoordinates:a}){this.xCoordinates=t;this.yCoordinates=a;this.flags=e}}class SimpleGlyph{constructor({contours:e,instructions:t}){this.contours=e;this.instructions=t}static parse(e,t,a){const n=[];for(let s=0;s255?e+=2:o>0&&(e+=1);t=r;o=Math.abs(i-a);o>255?e+=2:o>0&&(e+=1);a=i}}return e}write(e,t){const a=e,n=[],s=[],r=[];let i=0,o=0;for(const a of this.contours){for(let e=0,t=a.xCoordinates.length;e=0?18:2;n.push(e)}else n.push(f)}i=l;const c=a.yCoordinates[e];f=c-o;if(0===f){t|=32;s.push(0)}else{const e=Math.abs(f);if(e<=255){t|=f>=0?36:4;s.push(e)}else s.push(f)}o=c;r.push(t)}t.setUint16(e,n.length-1);e+=2}t.setUint16(e,this.instructions.length);e+=2;if(this.instructions.length){new Uint8Array(t.buffer,0,t.buffer.byteLength).set(this.instructions,e);e+=this.instructions.length}for(const a of r)t.setUint8(e++,a);for(let a=0,s=n.length;a=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(e+=2):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(e+=2);return e}write(e,t){const a=e;2&this.flags?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(this.flags|=1):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(this.flags|=1);t.setUint16(e,this.flags);t.setUint16(e+2,this.glyphIndex);e+=4;if(1&this.flags){if(2&this.flags){t.setInt16(e,this.argument1);t.setInt16(e+2,this.argument2)}else{t.setUint16(e,this.argument1);t.setUint16(e+2,this.argument2)}e+=4}else{t.setUint8(e,this.argument1);t.setUint8(e+1,this.argument2);e+=2}if(this.flags&Vn){t.setUint16(e,this.instructions.length);e+=2;if(this.instructions.length){new Uint8Array(t.buffer,0,t.buffer.byteLength).set(this.instructions,e);e+=this.instructions.length}}return e-a}scale(e,t){}}class ToUnicodeMap{constructor(e=[]){this._map=e}get length(){return this._map.length}forEach(e){for(const t in this._map)e(t,this._map[t].codePointAt(0))}has(e){return void 0!==this._map[e]}get(e){return this._map[e]}charCodeOf(e){const t=this._map;if(t.length<=65536)return t.indexOf(e);for(const a in t)if(t[a]===e)return 0|a;return-1}amend(e){for(const t in e)this._map[t]=e[t]}}class IdentityToUnicodeMap{constructor(e,t){this.firstChar=e;this.lastChar=t}get length(){return this.lastChar+1-this.firstChar}forEach(e){for(let t=this.firstChar,a=this.lastChar;t<=a;t++)e(t,t)}has(e){return this.firstChar<=e&&e<=this.lastChar}get(e){if(this.firstChar<=e&&e<=this.lastChar)return String.fromCharCode(e)}charCodeOf(e){return Number.isInteger(e)&&e>=this.firstChar&&e<=this.lastChar?e:-1}amend(e){unreachable("Should not call amend()")}}class CFFFont{constructor(e,t){this.properties=t;const a=new CFFParser(e,t,qn);this.cff=a.parse();this.cff.duplicateFirstGlyph();const n=new CFFCompiler(this.cff);this.seacs=this.cff.seacs;try{this.data=n.compile()}catch(a){warn(`Failed to compile font "${t.loadedName}": "${a}".`);e.reset();this.data=e.getBytes()}this._createBuiltInEncoding()}get numGlyphs(){return this.cff.charStrings.count}getCharset(){return this.cff.charset.charset}getGlyphMapping(){const e=this.cff,t=this.properties,{cidToGidMap:a,cMap:n}=t,s=e.charset.charset;let r,i;if(t.composite){let t,o;if(a?.length>0){t=Object.create(null);for(let e=0,n=a.length;e=0){const n=a[t];n&&(s[e]=n)}}s.length>0&&(this.properties.builtInEncoding=s)}}function getFloat214(e,t){return e.getInt16(t)/16384}function getSubroutineBias(e){const t=e.length;return t>=33900?32768:t<1240?107:1131}function parseCmap(e,t,a){const n=new DataView(e.buffer,e.byteOffset,e.byteLength),s=1===n.getUint16(t+2)?n.getUint32(t+8):n.getUint32(t+16),r=n.getUint16(t+s);let i,o,l;if(4===r){const e=n.getUint16(t+s+6)>>1;o=t+s+14;i=[];for(l=0;l>1;a0;)h.push({flags:o})}for(a=0;a>1;j=!0;break;case 4:i+=s.pop();moveTo(r,i);j=!0;break;case 5:for(;s.length>0;){r+=s.shift();i+=s.shift();lineTo(r,i)}break;case 6:for(;s.length>0;){r+=s.shift();lineTo(r,i);if(0===s.length)break;i+=s.shift();lineTo(r,i)}break;case 7:for(;s.length>0;){i+=s.shift();lineTo(r,i);if(0===s.length)break;r+=s.shift();lineTo(r,i)}break;case 8:for(;s.length>0;){c=r+s.shift();u=i+s.shift();h=c+s.shift();m=u+s.shift();r=h+s.shift();i=m+s.shift();bezierCurveTo(c,u,h,m,r,i)}break;case 10:b=s.pop();w=null;if(a.isCFFCIDFont){const e=a.fdSelect.getFDIndex(n);if(e>=0&&eMath.abs(i-t)?r+=s.shift():i+=s.shift();bezierCurveTo(c,u,h,m,r,i);break;default:throw new FormatError(`unknown operator: 12 ${k}`)}break;case 14:if(s.length>=4){const e=s.pop(),n=s.pop();i=s.pop();r=s.pop();t.save();t.translate(r,i);let o=lookupCmap(a.cmap,String.fromCharCode(a.glyphNameMap[un[e]]));compileCharString(a.glyphs[o.glyphId],t,a,o.glyphId);t.restore();o=lookupCmap(a.cmap,String.fromCharCode(a.glyphNameMap[un[n]]));compileCharString(a.glyphs[o.glyphId],t,a,o.glyphId)}return;case 19:case 20:o+=s.length>>1;f+=o+7>>3;j=!0;break;case 21:i+=s.pop();r+=s.pop();moveTo(r,i);j=!0;break;case 22:r+=s.pop();moveTo(r,i);j=!0;break;case 24:for(;s.length>2;){c=r+s.shift();u=i+s.shift();h=c+s.shift();m=u+s.shift();r=h+s.shift();i=m+s.shift();bezierCurveTo(c,u,h,m,r,i)}r+=s.shift();i+=s.shift();lineTo(r,i);break;case 25:for(;s.length>6;){r+=s.shift();i+=s.shift();lineTo(r,i)}c=r+s.shift();u=i+s.shift();h=c+s.shift();m=u+s.shift();r=h+s.shift();i=m+s.shift();bezierCurveTo(c,u,h,m,r,i);break;case 26:s.length%2&&(r+=s.shift());for(;s.length>0;){c=r;u=i+s.shift();h=c+s.shift();m=u+s.shift();r=h;i=m+s.shift();bezierCurveTo(c,u,h,m,r,i)}break;case 27:s.length%2&&(i+=s.shift());for(;s.length>0;){c=r+s.shift();u=i;h=c+s.shift();m=u+s.shift();r=h+s.shift();i=m;bezierCurveTo(c,u,h,m,r,i)}break;case 28:s.push(l.getInt16(f));f+=2;break;case 29:b=s.pop()+a.gsubrsBias;w=a.gsubrs[b];w&&parse(w);break;case 30:for(;s.length>0;){c=r;u=i+s.shift();h=c+s.shift();m=u+s.shift();r=h+s.shift();i=m+(1===s.length?s.shift():0);bezierCurveTo(c,u,h,m,r,i);if(0===s.length)break;c=r+s.shift();u=i;h=c+s.shift();m=u+s.shift();i=m+s.shift();r=h+(1===s.length?s.shift():0);bezierCurveTo(c,u,h,m,r,i)}break;case 31:for(;s.length>0;){c=r+s.shift();u=i;h=c+s.shift();m=u+s.shift();i=m+s.shift();r=h+(1===s.length?s.shift():0);bezierCurveTo(c,u,h,m,r,i);if(0===s.length)break;c=r;u=i+s.shift();h=c+s.shift();m=u+s.shift();r=h+s.shift();i=m+(1===s.length?s.shift():0);bezierCurveTo(c,u,h,m,r,i)}break;default:if(k<32)throw new FormatError(`unknown operator: ${k}`);if(k<247)s.push(k-139);else if(k<251)s.push(256*(k-247)+e[f++]+108);else if(k<255)s.push(256*-(k-251)-e[f++]-108);else{s.push(l.getInt32(f)/65536);f+=4}}j&&(s.length=0)}}(e)}class Commands{cmds=[];transformStack=[];currentTransform=[1,0,0,1,0,0];add(e,t){if(t){const{currentTransform:a}=this;for(let e=0,n=t.length;e=0&&ee.getUint32(t)}else{s=2;r=(e,t)=>2*e.getUint16(t)}const i=[];let o=r(n,0);for(let a=s;aa;){a<<=1;n++}const s=a*t;return{range:s,entry:n,rangeShift:t*e-s}}toArray(){let e=this.sfnt;const t=this.#ie,a=[...t.keys()].sort(),n=a.length;let s=12+16*n;const r=[s];for(let e=0;e>>0;r.push(s)}const i=new Uint8Array(s),o=new DataView(i.buffer);for(let e=0;e>>0}o.setInt32(s+4,l);o.setInt32(s+8,r[e]);o.setInt32(s+12,t.get(n).length);s+=16}this.#ie.clear();return i}addTable(e,t){if(this.#ie.has(e))throw new Error(`Table ${e} already exists`);this.#ie.set(e,t)}}const Qn=[4],Zn=[5],es=[6],ts=[7],as=[8],ns=[12,35],ss=[14],rs=[21],is=[22],os=[30],ls=[31];class Type1CharString{width=0;lsb=0;flexing=!1;output=[];stack=[];convert(e,t,a){const n=e.length;let s,r,i,o=!1;for(let l=0;ln)return!0;const s=n-e;for(let e=s;e>8&255,255&t);else{t=65536*t|0;this.output.push(255,t>>24&255,t>>16&255,t>>8&255,255&t)}}this.output.push(...t);a?this.stack.splice(s,e):this.stack.length=0;return!1}}function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function decrypt(e,t,a){if(a>=e.length)return new Uint8Array(0);let n,s,r=0|t;for(n=0;n>8;r=52845*(t+r)+22719&65535}return o}function isSpecial(e){return 47===e||91===e||93===e||123===e||125===e||40===e||41===e}class Type1Parser{constructor(e,t,a){if(t){const t=e.getBytes(),a=!((isHexDigit(t[0])||isWhiteSpace(t[0]))&&isHexDigit(t[1])&&isHexDigit(t[2])&&isHexDigit(t[3])&&isHexDigit(t[4])&&isHexDigit(t[5])&&isHexDigit(t[6])&&isHexDigit(t[7]));e=new Stream(a?decrypt(t,55665,4):function decryptAscii(e,t,a){let n=0|t;const s=e.length,r=new Uint8Array(s>>>1);let i,o;for(i=0,o=0;i>8;n=52845*(e+n)+22719&65535}}return r.slice(a,o)}(t,55665,4))}this.seacAnalysisEnabled=!!a;this.stream=e;this.nextChar()}readNumberArray(){this.getToken();const e=[];for(;;){const t=this.getToken();if(null===t||"]"===t||"}"===t)break;e.push(parseFloat(t||0))}return e}readNumber(){const e=this.getToken();return parseFloat(e||0)}readInt(){const e=this.getToken();return 0|parseInt(e||0,10)}readBoolean(){return"true"===this.getToken()?1:0}nextChar(){return this.currentChar=this.stream.getByte()}prevChar(){this.stream.skip(-2);return this.currentChar=this.stream.getByte()}getToken(){let e=!1,t=this.currentChar;for(;;){if(-1===t)return null;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(!isWhiteSpace(t))break;t=this.nextChar()}if(isSpecial(t)){this.nextChar();return String.fromCharCode(t)}let a="";do{a+=String.fromCharCode(t);t=this.nextChar()}while(t>=0&&!isWhiteSpace(t)&&!isSpecial(t));return a}readCharStrings(e,t){return-1===t?e:decrypt(e,4330,t)}extractFontProgram(e){const t=this.stream,a=[],n=[],s=new Map([["lenIV",4]]),r={subrs:[],charstrings:[],properties:{privateData:s}};let i,o,l,f,c=!1,h=!1;for(;null!==(i=this.getToken());)if("/"===i){i=this.getToken();switch(i){case"CharStrings":if(h)break;h=!0;this.getToken();this.getToken();this.getToken();this.getToken();for(;;){i=this.getToken();if(null===i||"end"===i)break;if("/"!==i)continue;const e=this.getToken();o=this.readInt();this.getToken();l=o>0?t.getBytes(o):new Uint8Array(0);f=s.get("lenIV");const a=this.readCharStrings(l,f);this.nextChar();i=this.getToken();"noaccess"===i?this.getToken():"/"===i&&this.prevChar();n.push({glyph:e,encoded:a})}break;case"Subrs":if(c)break;c=!0;this.readInt();this.getToken();for(;"dup"===this.getToken();){const e=this.readInt();o=this.readInt();this.getToken();l=o>0?t.getBytes(o):new Uint8Array(0);f=s.get("lenIV");const n=this.readCharStrings(l,f);this.nextChar();i=this.getToken();"noaccess"===i&&this.getToken();a[e]=n}break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":const e=this.readNumberArray();e.length>0&&e.length,0;break;case"StemSnapH":case"StemSnapV":s.set(i,this.readNumberArray());break;case"StdHW":case"StdVW":s.set(i,this.readNumberArray()[0]);break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":s.set(i,this.readNumber());break;case"ExpansionFactor":s.set(i,this.readNumber()||.06);break;case"ForceBold":s.set(i,this.readBoolean())}}for(const{encoded:t,glyph:s}of n){const n=new Type1CharString,i={glyphName:s,charstring:n.convert(t,a,this.seacAnalysisEnabled)?[14]:n.output,width:n.width,lsb:n.lsb,seac:n.seac};".notdef"===s?r.charstrings.unshift(i):r.charstrings.push(i);if(e.builtInEncoding){const t=e.builtInEncoding.indexOf(s);t>-1&&void 0===e.widths[t]&&t>=e.firstChar&&t<=e.lastChar&&(e.widths[t]=n.width)}}return r}extractCidKeyedFontProgram(e){const t=this.stream,a=new Map([["lenIV",4]]),n={subrs:[],charstrings:[],properties:{privateData:a}};let s=0,r=-1,i=1,o=0,l=-1,f=0,c=0,h=0,u=!1,m=!1;const p=[];function rememberToken(e){p.push(e);p.length>4&&p.shift()}let d;for(;null!==(d=this.getToken());){if("StartData"===d){const e=p.at(-3),t=p.at(-1);if("("!==p.at(-4)||")"!==p.at(-2)||"Binary"!==e&&"Hex"!==e||!/^\d+$/.test(t))return null;h=parseInt(t,10);if(h<=0)return null;u="Hex"===e;m=!0;break}rememberToken(d);if("/"===d){d=this.getToken();rememberToken(d);switch(d){case"FontMatrix":e.fontMatrix=this.readNumberArray();break;case"FontBBox":const t=this.readNumberArray();e.ascent=Math.max(t[3],t[1]);e.descent=Math.min(t[1],t[3]);e.ascentScaled=!0;break;case"CIDCount":s=this.readInt();break;case"CIDMapOffset":r=this.readInt();break;case"FDBytes":i=this.readInt();break;case"GDBytes":o=this.readInt();break;case"SubrMapOffset":l=this.readInt();break;case"SDBytes":f=this.readInt();break;case"SubrCount":c=this.readInt();break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":this.readNumberArray();break;case"StemSnapH":case"StemSnapV":a.set(d,this.readNumberArray());break;case"StdHW":case"StdVW":a.set(d,this.readNumberArray()[0]);break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":a.set(d,this.readNumber());break;case"ExpansionFactor":a.set(d,this.readNumber()||.06);break;case"ForceBold":a.set(d,this.readBoolean())}}}if(!m||s<=0||r<0||i<0||i>4||o<1||o>4)return null;const g=t.end-t.pos;if(h>g)if(u){if(h>2*g)return null}else h=g;let b=t.getBytes(u?void 0:h);if(u){const e=new Uint8Array(h);let t=-1,a=0;for(let n=0,s=b.length;n>>0}if(r+(s+1)*j>b.length||c>0&&(l<0||f<1||f>4||l+(c+1)*f>b.length))return null;if(i>0)for(let e=0;e0){const e=new Array(c+1);for(let t=0;t<=c;t++)e[t]=readUint(l+t*f,f);for(let t=0;tb.length||nq&&t<=b.length){const e=this.readCharStrings(b.subarray(q,t),w),n=new Type1CharString,s=n.convert(e,k,this.seacAnalysisEnabled);y.push({glyphName:a,charstring:s?[14]:n.output,width:n.width,lsb:n.lsb,seac:n.seac})}else{const e=y[0];y.push({glyphName:a,charstring:e?.charstring.slice()||[139,14],width:e?.width||0,lsb:e?.lsb||0})}q=t}n.subrs=k;n.charstrings=y;return n}extractFontHeader(e){let t;for(;null!==(t=this.getToken());)if("/"===t){t=this.getToken();switch(t){case"FontMatrix":const a=this.readNumberArray();e.fontMatrix=a;break;case"Encoding":const n=this.getToken();let s;if(/^\d+$/.test(n)){s=[];const e=0|parseInt(n,10);this.getToken();for(let a=0;a=s){i+=a;for(;i=0&&(n[e]=s)}}return type1FontGlyphMapping(e,n,a)}hasGlyphId(e){if(e<0||e>=this.numGlyphs)return!1;if(0===e)return!0;return this.charstrings[e-1].charstring.length>0}getSeacs(e){const t=[];for(let a=0,n=e.length;a0;e--)t[e]-=t[e-1];h.setByName(e,t)}r.topDict.privateDict=h;const m=new CFFIndex;for(const e of n)m.add(e);h.subrsIndex=m;return new CFFCompiler(r).compile()}}const fs=[[57344,63743],[1048576,1114109]],cs=1e3,hs=["ascent","bbox","black","bold","cssFontInfo","data","defaultVMetrics","defaultWidth","descent","disableFontFace","fallbackName","fontExtraProperties","fontMatrix","isInvalidPDFjsFont","isType3Font","italic","loadedName","mimetype","missingFile","name","remeasure","systemFontInfo","vertical"],us=["cMap","composite","defaultEncoding","differences","isMonospace","isSerifFont","isSymbolicFont","seacMap","subtype","toFontChar","toUnicode","type","vmetrics","widths"];function adjustWidths(e){if(!e.fontMatrix)return;if(e.fontMatrix[0]===n[0])return;const t=.001/e.fontMatrix[0],a=e.widths;for(const e in a)a[e]*=t;e.defaultWidth*=t}function amendFallbackToUnicode(e){if(!e.fallbackToUnicode)return;if(e.toUnicode instanceof IdentityToUnicodeMap)return;const t=[];for(const a in e.fallbackToUnicode)e.toUnicode.has(a)||(t[a]=e.fallbackToUnicode[a]);t.length>0&&e.toUnicode.amend(t)}class fonts_Glyph{constructor(e,t,a,n,s,r,i,o,l){this.originalCharCode=e;this.fontChar=t;this.unicode=a;this.accent=n;this.width=s;this.vmetric=r;this.operatorListId=i;this.isSpace=o;this.isInFont=l}get category(){return shadow(this,"category",function getCharUnicodeCategory(e){const t=yn.get(e);if(t)return t;const a=e.match(kn),n={isWhitespace:!!a?.[1],isZeroWidthDiacritic:!!a?.[2],isInvisibleFormatMark:!!a?.[3]};yn.set(e,n);return n}(this.unicode),!0)}}function int16(e,t){return(e<<8)+t}function writeSignedInt16(e,t,a){e[t+1]=a;e[t]=a>>>8}function signedInt16(e,t){const a=(e<<8)+t;return 32768&a?a-65536:a}function writeUint32(e,t,a){e[t+3]=255&a;e[t+2]=a>>>8;e[t+1]=a>>>16;e[t]=a>>>24}function isTrueTypeCollectionFile(e){return"ttcf"===bytesToString(e.peekBytes(4))}function getFontFileType(e,{type:t,subtype:a,composite:n}){let s,r;if(function isTrueTypeFile(e){const t=bytesToString(e.peekBytes(4));return"\0\0\0"===t||"true"===t}(e)||isTrueTypeCollectionFile(e))s=n?"CIDFontType2":"TrueType";else if(function isOpenTypeFile(e){return"OTTO"===bytesToString(e.peekBytes(4))}(e))s=n?"CIDFontType2":"OpenType";else if(function isType1File(e){const t=e.peekBytes(2);return 37===t[0]&&33===t[1]||128===t[0]&&1===t[1]}(e))s=n?"CIDFontType0":"MMType1"===t?"MMType1":"Type1";else if(function isCFFFile(e){const t=e.peekBytes(4);return t[0]>=1&&t[3]>=1&&t[3]<=4}(e))if(n){s="CIDFontType0";r="CIDFontType0C"}else{s="MMType1"===t?"MMType1":"Type1";r="Type1C"}else{warn("getFontFileType: Unable to detect correct font file Type/Subtype.");s=t;r=a}return[s,r]}function applyStandardFontGlyphMap(e,t){for(const a in t)e[+a]=t[a]}function buildToFontChar(e,t,a){const n=[];let s;for(let a=0,r=e.length;afs[0][0]<=e&&e<=fs[0][1]||fs[1][0]<=e&&e<=fs[1][1];let h=null;for(const u in e){let m=e[u];if(!t(m))continue;if(f>c){l++;if(l>=fs.length){warn("Ran out of space in font private use area.");break}f=fs[l][0];c=fs[l][1]}const p=f++;0===m&&(m=a);let d=n.get(u);if("string"==typeof d)if(1===d.length)d=d.codePointAt(0);else{if(!h){h=new Map;for(let e=64256;e<=64335;e++){const t=String.fromCharCode(e).normalize("NFKD");t.length>1&&h.set(t,e)}}d=h.get(d)||d.codePointAt(0)}if(d&&!isInPrivateArea(d)&&!o.has(m)){r.set(d,m);o.add(m)}s[p]=m;i[u]=p}return{toFontChar:i,charCodeToGlyphId:s,toUnicodeExtraMap:r,nextAvailableFontCharCode:f}}function createCmapTable(e,t,a){const n=function getRanges(e,t,a){const n=[];for(const t in e)e[t]>=a||n.push({fontCharCode:0|t,glyphId:e[t]});if(t)for(const[e,s]of t)s>=a||n.push({fontCharCode:e,glyphId:s});0===n.length&&n.push({fontCharCode:0,glyphId:0});n.sort((e,t)=>e.fontCharCode-t.fontCharCode);const s=[],r=n.length;for(let e=0;e65535;let r,i,o,l;for(r=n.length-1;r>=0&&!(n[r][0]<=65535);--r);const f=r+1;n[r][0]<65535&&65535===n[r][1]&&(n[r][1]=65534);const c=n[r][1]<65535?1:0,h=f+c,u=OpenTypeFileBuilder.getSearchParams(h,2),m=2*f+2*c,p=new DataBuilder({exactLength:m}),d=new DataBuilder({exactLength:m}),g=new DataBuilder({exactLength:m}),b=new DataBuilder({exactLength:m}),w=new DataBuilder({});let j=0,k=!1;for(r=0,i=f;r65535){k=!0;b.skip(2)}else b.setInt16(n);for(o=0,l=a.length;o0){d.setArray([255,255]);p.setArray([255,255]);g.setArray([0,1]);b.skip(2)}const y=new DataBuilder({exactLength:12+p.length+d.length+g.length+b.length+w.length});y.skip(2);y.setInt16(2*h);y.setInt16(u.range);y.setInt16(u.entry);y.setInt16(u.rangeShift);y.setArray(d.data);y.skip(2);y.setArray(p.data);y.setArray(g.data);y.setArray(b.data);y.setArray(w.data);const q=!k&&y.length+4<=65535,v=s||!q,S=(q?1:0)+(v?1:0);let x=null,C=null;if(v){x=new DataBuilder({});for(const e of n){let t=e[0];const a=e[2];let n=a[0];for(o=1,l=a.length;oe||!o)&&(o=e);l 123 are reserved for internal usage");i|=1<65535&&(l=65535)}else{o=0;l=255}const c=e.bbox||[0,0,0,0],h=a.unitsPerEm||(e.fontMatrix?1/Math.max(...e.fontMatrix.slice(0,4).map(Math.abs)):1e3),u=e.ascentScaled?1:h/cs,m=a.ascent||Math.round(u*(e.ascent||c[3]));let p=a.descent||Math.round(u*(e.descent||c[1]));p>0&&e.descent>0&&c[1]<0&&(p=-p);const d=a.yMax||m,g=-a.yMin||-p,b=new DataBuilder({exactLength:96});b.setArray([0,3]);b.setArray([2,36]);b.setArray([1,244]);b.setArray([0,5]);b.skip(2);b.setArray([2,138]);b.setArray([2,187]);b.skip(2);b.setArray([0,140]);b.setArray([2,138]);b.setArray([2,187]);b.skip(2);b.setArray([1,223]);b.setArray([0,49]);b.setArray([1,2]);b.skip(2);b.setArray([0,0,6,e.fixedPitch?9:0,0,0,0,0,0,0]);b.setInt32(n);b.setInt32(s);b.setInt32(r);b.setInt32(i);b.setArray([42,50,49,42]);b.setInt16(e.italicAngle?1:0);b.setInt16(o||e.firstChar);b.setInt16(l||e.lastChar);b.setInt16(m);b.setInt16(p);b.setArray([0,100]);b.setInt16(d);b.setInt16(g);b.skip(8);b.setInt16(e.xHeight);b.setInt16(e.capHeight);b.skip(2);b.setInt16(o||e.firstChar);b.setArray([0,3]);return b.data}function createPostTable(e){const t=new DataBuilder({exactLength:32});t.setArray([0,3,0,0]);t.setInt32(Math.floor(65536*e.italicAngle));t.skip(4);t.setInt32(e.fixedPitch?1:0);t.skip(16);return t.data}function createPostscriptName(e){return e.replaceAll(/[^\x21-\x7E]|[[\](){}<>/%]/g,"").slice(0,63)}function createNameTable(e,t){t||=[[],[]];const a=[t[0][0]||"Original licence",t[0][1]||e,t[0][2]||"Unknown",t[0][3]||"uniqueID",t[0][4]||e,t[0][5]||"Version 0.11",t[0][6]||createPostscriptName(e),t[0][7]||"Unknown",t[0][8]||"Unknown",t[0][9]||"Unknown"],n=a.map(e=>stringToBytes(e)),s=new Array(a.length);let r,i,o,l,f;for(r=0,i=a.length;re.length))+Math.sumPrecise(n.map(e=>e.length))+Math.sumPrecise(s.map(e=>e.length))});b.skip(2);b.setInt16(g);b.setInt16(12*g+6);for(const e of p)b.setArray(e);for(const e of n)b.setArray(e);for(const e of s)b.setArray(e);return b.data}class Font{#ce=new Map;#he=new Map;charProcOperatorList;constructor(e,t,a,n){this.name=e;this.psName=null;this.mimetype=null;this.disableFontFace=n.disableFontFace;this.fontExtraProperties=n.fontExtraProperties;this.loadedName=a.loadedName;this.isType3Font=a.isType3Font;this.missingFile=!1;this.cssFontInfo=a.cssFontInfo;let s=!!(a.flags&Sn);if(!s&&!a.isSimulatedFlags){const t=En(),a=Ln(),n=Un();for(const r of e.split("+")){let e=normalizeFontName(r);e=t[e]||a[e]||e;e=e.split("-",1)[0];if(n[e]){s=!0;break}}}this.isSerifFont=s;this.isSymbolicFont=!!(a.flags&An);this.isMonospace=!!(a.flags&vn);let{type:r,subtype:i}=a;this.type=r;this.subtype=i;this.systemFontInfo=a.systemFontInfo;const o=e.match(/^InvalidPDFjsFont_(.*)_\d+$/);this.isInvalidPDFjsFont=!!o;this.isInvalidPDFjsFont?this.fallbackName=o[1]:this.isMonospace?this.fallbackName="monospace":this.isSerifFont?this.fallbackName="serif":this.fallbackName="sans-serif";if(this.systemFontInfo?.guessFallback){this.systemFontInfo.guessFallback=!1;this.systemFontInfo.css+=`,${this.fallbackName}`}this.differences=a.differences;this.widths=a.widths;this.defaultWidth=a.defaultWidth;this.composite=a.composite;this.cMap=a.cMap;this.capHeight=a.capHeight/cs;this.ascent=a.ascent/cs;this.descent=a.descent/cs;this.lineHeight=this.ascent-this.descent;this.fontMatrix=a.fontMatrix;this.bbox=a.bbox;this.defaultEncoding=a.defaultEncoding;this.toUnicode=a.toUnicode;this.toFontChar=[];if("Type3"===a.type){for(let e=0;e<256;e++)this.toFontChar[e]=this.differences[e]||a.defaultEncoding[e];return}this.cidEncoding=a.cidEncoding||"";this.vertical=!!a.vertical;if(this.vertical){this.vmetrics=a.vmetrics;this.defaultVMetrics=a.defaultVMetrics}if(!t||t.isEmpty){t&&warn('Font file is empty in "'+e+'" ('+this.loadedName+")");this.fallbackToSystemFont(a);return}[r,i]=getFontFileType(t,a);r===this.type&&i===this.subtype||info(`Inconsistent font file Type/SubType, expected: ${this.type}/${this.subtype} but found: ${r}/${i}.`);let l;try{switch(r){case"MMType1":info("MMType1 font ("+e+"), falling back to Type1.");case"Type1":case"CIDFontType0":this.mimetype="font/opentype";const n="Type1C"===i||"CIDFontType0C"===i?new CFFFont(t,a):new Type1Font(e,t,a);adjustWidths(a);l=this.convert(e,n,a);break;case"OpenType":case"TrueType":case"CIDFontType2":this.mimetype="font/opentype";l=this.checkAndRepair(e,t,a);adjustWidths(a);this.isOpenType&&(r="OpenType");break;default:throw new FormatError(`Font ${r} is not supported`)}}catch(e){warn(e);this.fallbackToSystemFont(a);return}amendFallbackToUnicode(a);this.data=l;this.type=r;this.subtype=i;this.fontMatrix=a.fontMatrix;this.widths=a.widths;this.defaultWidth=a.defaultWidth;this.toUnicode=a.toUnicode;this.seacMap=a.seacMap}get renderer(){return shadow(this,"renderer",FontRendererFactory.create(this,qn))}#ue(e){const t=Object.create(null);for(const a of e){const e=this[a];void 0!==e&&(t[a]=e)}return t}exportData(){return{buffer:compileFontInfo(this.#ue(hs)),charProcOperatorList:this.charProcOperatorList,extra:this.fontExtraProperties?this.#ue(us):void 0}}fallbackToSystemFont(e){this.missingFile=!0;const{name:t,type:a}=this;let n=normalizeFontName(t);const s=En(),r=Ln(),i=!!s[n],o=!(!r[n]||!s[r[n]]);n=s[n]||r[n]||n;const l=Jn()[n];if(l){isNaN(this.ascent)&&(this.ascent=l.ascent/cs);isNaN(this.descent)&&(this.descent=l.descent/cs);isNaN(this.capHeight)&&(this.capHeight=l.capHeight/cs)}this.bold=/bold/i.test(n);this.italic=/oblique|italic/i.test(n);this.black=/Black/.test(t);const f=/Narrow/.test(t);this.remeasure=(!i||f)&&Object.keys(this.widths).length>0;if((i||o)&&"CIDFontType2"===a&&this.cidEncoding.startsWith("Identity-")){const a=e.cidToGidMap,n=[];applyStandardFontGlyphMap(n,Wn());/Arial-?Black/i.test(t)?applyStandardFontGlyphMap(n,Kn()):/Calibri/i.test(t)&&applyStandardFontGlyphMap(n,Gn());if(a){for(const e in n){const t=n[e];void 0!==a[t]&&(n[+e]=a[t])}a.length!==this.toUnicode.length&&e.hasIncludedToUnicodeMap&&this.toUnicode instanceof IdentityToUnicodeMap&&this.toUnicode.forEach(function(e,t){const s=n[e];void 0===a[s]&&(n[+e]=t)})}this.toUnicode instanceof IdentityToUnicodeMap||this.toUnicode.forEach(function(e,t){n[+e]=t});this.toFontChar=n;this.toUnicode=new ToUnicodeMap(n)}else if(/Symbol/i.test(n))this.toFontChar=buildToFontChar(pn,gn(),this.differences);else if(/Dingbats/i.test(n))this.toFontChar=buildToFontChar(dn,bn(),this.differences);else if(i||o){const e=buildToFontChar(this.defaultEncoding,gn(),this.differences);"CIDFontType2"!==a||this.cidEncoding.startsWith("Identity-")||this.toUnicode instanceof IdentityToUnicodeMap||this.toUnicode.forEach(function(t,a){e[+t]=a});this.toFontChar=e}else{const e=gn(),a=[];this.toUnicode.forEach((t,n)=>{if(!this.composite){const a=getUnicodeForGlyph(this.differences[t]||this.defaultEncoding[t],e);-1!==a&&(n=a)}a[+t]=n});this.composite&&this.toUnicode instanceof IdentityToUnicodeMap&&/Tahoma|Verdana/i.test(t)&&applyStandardFontGlyphMap(a,Wn());this.toFontChar=a}amendFallbackToUnicode(e);this.loadedName=n.split("-",1)[0]}checkAndRepair(e,t,a){const n=["OS/2","cmap","head","hhea","hmtx","maxp","name","post","loca","glyf","fpgm","prep","cvt ","CFF "];function readTables(e,t){const a=Object.create(null);a["OS/2"]=null;a.cmap=null;a.head=null;a.hhea=null;a.hmtx=null;a.maxp=null;a.name=null;a.post=null;for(let s=0;s>>0,n=e.getInt32()>>>0,s=e.getInt32()>>>0,r=e.pos;e.pos=e.start||0;e.skip(n);const i=e.getBytes(s);e.pos=r;if("head"===t){i[8]=i[9]=i[10]=i[11]=0;i[17]|=32}return{tag:t,checksum:a,length:s,offset:n,data:i,view:"CFF "===t?null:new DataView(i.buffer,i.byteOffset,i.byteLength)}}function readOpenTypeHeader(e){return{version:e.getString(4),numTables:e.getUint16(),searchRange:e.getUint16(),entrySelector:e.getUint16(),rangeShift:e.getUint16()}}function sanitizeGlyph(e,t,a,n,s,r){const i={length:0,sizeOfInstructions:0};if(t<0||t>=e.length||a>e.length||a-t<=12)return i;const o=e.subarray(t,a),l=signedInt16(o[2],o[3]),f=signedInt16(o[4],o[5]),c=signedInt16(o[6],o[7]),h=signedInt16(o[8],o[9]);if(l>c){writeSignedInt16(o,2,c);writeSignedInt16(o,6,l)}if(f>h){writeSignedInt16(o,4,h);writeSignedInt16(o,8,f)}const u=signedInt16(o[0],o[1]);if(u<0){if(u<-1)return i;n.set(o,s);i.length=o.length;return i}let m,p=10,d=0;for(m=0;mo.length)return i;if(!r&&b>0){n.set(o.subarray(0,g),s);n.set([0,0],s+g);n.set(o.subarray(w,k),s+g+2);k-=b;o.length-k>3&&(k=k+3&-4);i.length=k;return i}if(o.length-k>3){k=k+3&-4;n.set(o.subarray(0,k),s);i.length=k;return i}n.set(o,s);i.length=o.length;return i}function readNameTable(e){const a=(t.start||0)+e.offset;t.pos=a;const n=[[],[]],s=[],r=e.length,i=a+r;if(0!==t.getUint16()||r<6)return[n,s];const o=t.getUint16(),l=t.getUint16();let f,c;for(f=0;fi)continue;t.pos=r;const o=e.name;if(e.encoding){let a="";for(let n=0,s=e.length;n0&&(f+=e-1)}}else{if(g||w){warn("TT: nested FDEFs not allowed");d=!0}g=!0;h=f;i=u.pop();t.functionsDefined[i]={data:l,i:f}}else if(!g&&!w){i=u.at(-1);if(isNaN(i))info("TT: CALL empty stack (or invalid entry).");else{t.functionsUsed[i]=!0;if(i in t.functionsStackDeltas){const e=u.length+t.functionsStackDeltas[i];if(e<0){warn("TT: CALL invalid functions stack delta.");t.hintsValid=!1;return}u.length=e}else if(i in t.functionsDefined&&!p.includes(i)){m.push({data:l,i:f,stackTop:u.length-1});p.push(i);o=t.functionsDefined[i];if(!o){warn("TT: CALL non-existent function");t.hintsValid=!1;return}l=o.data;f=o.i}}}if(!g&&!w){let t=0;e<=142?t=s[e]:e>=192&&e<=223?t=-1:e>=224&&(t=-2);if(e>=113&&e<=117){n=u.pop();isNaN(n)||(t=2*-n)}for(;t<0&&u.length>0;){u.pop();t++}for(;t>0;){u.push(NaN);t--}}}t.tooComplexToFollowFunctions=d;const j=[l];f>l.length&&j.push(new Uint8Array(f-l.length));if(h>c){warn("TT: complementing a missing function tail");j.push(new Uint8Array([34,45]))}!function foldTTTable(e,t){if(t.length>1){let a,n,s=0;for(a=0,n=t.length;a>>0,r=[];for(let t=0;t>>0);const i={ttcTag:t,majorVersion:a,minorVersion:n,numFonts:s,offsetTable:r};switch(a){case 1:return i;case 2:i.dsigTag=e.getInt32()>>>0;i.dsigLength=e.getInt32()>>>0;i.dsigOffset=e.getInt32()>>>0;return i}throw new FormatError(`Invalid TrueType Collection majorVersion: ${a}.`)}(e),s=t.split("+");let r;for(let i=0;i=32))throw new FormatError('"maxp" table has a wrong version number');c=65536}writeUint32(i.maxp.data,0,c)}let u=int16(i.head.data[50],i.head.data[51]);if(i.loca){const e=u?4*(h+1):2*(h+1);if(i.loca.length!==e){warn("Incorrect 'loca' table length -- attempting to fix it.");const a=Object.values(i).filter(Boolean).sort((e,t)=>e.offset-t.offset),n=a.indexOf(i.loca),s=a[n+1]||null;if(s&&i.loca.offset+e>8&255;o[a+1]=255&n;writeSignedInt16(o,a+2,Math.round(e[t]*signedInt16(o[a+2],o[a+3])))}}let m=h+1,p=!0;if(m>65535){p=!1;m=h;warn("Not enough space in glyfs to duplicate first glyph.")}let d=0,g=0;if(c>=65536&&i.maxp.length>=32){t.pos+=8;if(t.getUint16()>2){i.maxp.data[14]=0;i.maxp.data[15]=2}t.pos+=4;d=t.getUint16();t.pos+=4;g=t.getUint16()}else if(o&&20480===c){const e=new Uint8Array(32);writeUint32(e,0,65536);e[4]=h>>8&255;e[5]=255&h;e.fill(255,6,14);e[15]=2;e[28]=255;e[29]=255;e[31]=16;i.maxp.data=e;i.maxp.length=32;c=65536}i.maxp.data[4]=m>>8;i.maxp.data[5]=255&m;const b=function sanitizeTTPrograms(e,t,a,n){const s={functionsDefined:[],functionsUsed:[],functionsStackDeltas:[],tooComplexToFollowFunctions:!1,hintsValid:!0};e&&sanitizeTTProgram(e,s);t&&sanitizeTTProgram(t,s);e&&function checkInvalidFunctions(e,t){if(!e.tooComplexToFollowFunctions)if(e.functionsDefined.length>t){warn("TT: more functions defined than expected");e.hintsValid=!1}else for(let a=0,n=e.functionsUsed.length;at){warn("TT: invalid function id: "+a);e.hintsValid=!1;return}if(e.functionsUsed[a]&&!e.functionsDefined[a]){warn("TT: undefined function: "+a);e.hintsValid=!1;return}}}(s,n);if(a&&1&a.length){const e=new Uint8Array(a.length+1);e.set(a.data);a.data=e}return s.hintsValid}(i.fpgm,i.prep,i["cvt "],d);if(!b){delete i.fpgm;delete i.prep;delete i["cvt "]}!function sanitizeMetrics(e,t,a,n,s,r){if(!t){a&&(a.data=null);return}e.pos=(e.start||0)+t.offset;e.pos+=4;e.pos+=2;e.pos+=2;e.pos+=2;e.pos+=2;e.pos+=2;e.pos+=2;e.pos+=2;e.pos+=2;e.pos+=2;const i=e.getUint16();e.pos+=8;e.pos+=2;let o=e.getUint16();if(0!==i){if(!(2&int16(n.data[44],n.data[45]))){t.data[22]=0;t.data[23]=0}}if(o>s){info(`The numOfMetrics (${o}) should not be greater than the numGlyphs (${s}).`);o=s;t.data[34]=(65280&o)>>8;t.data[35]=255&o}const l=s-o-(a.length-4*o>>1);if(l>0){const e=new Uint8Array(a.length+2*l);e.set(a.data);if(r){e[a.length]=a.data[2];e[a.length+1]=a.data[3]}a.data=e}}(t,i.hhea,i.hmtx,i.head,m,p);if(!i.head)throw new FormatError('Required "head" table is not found');!function sanitizeHead(e,t,a){const{data:n,view:s}=e,r=s.getInt32(0);if(r>>16!=1){info("Attempting to fix invalid version in head table: "+r);s.setInt32(0,65536)}const i=signedInt16(n[50],n[51]);if(i<0||i>1){info("Attempting to fix invalid indexToLocFormat in head table: "+i);const e=t+1;if(a===e<<1){n[50]=0;n[51]=0}else{if(a!==e<<2)throw new FormatError("Could not fix indexToLocFormat: "+i);n[50]=0;n[51]=1}}}(i.head,h,o?i.loca.length:0);let w=Object.create(null);if(o){const e=function sanitizeGlyphLocations(e,t,a,n,s,r,i){let o,l,f;if(n){o=4;l=function fontItemDecodeLong(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};f=function fontItemEncodeLong(e,t,a){e[t]=a>>>24&255;e[t+1]=a>>16&255;e[t+2]=a>>8&255;e[t+3]=255&a}}else{o=2;l=function fontItemDecode(e,t){return e[t]<<9|e[t+1]<<1};f=function fontItemEncode(e,t,a){e[t]=a>>9&255;e[t+1]=a>>1&255}}const c=r?a+1:a,h=o*(1+c),u=new Uint8Array(h);u.set(e.data.subarray(0,h));e.data=u;const m=t.data,p=m.length,d=new Uint8Array(p);let g,b;const w=[];for(g=0,b=0;gp&&(e=p);w.push({index:g,offset:e,endOffset:0})}w.sort((e,t)=>e.offset-t.offset);for(g=0;ge.index-t.index);for(g=0;g=0)continue;const i=[];let o=a+$n;for(;o+4<=r;){const e=n.getUint16(o),t=n.getUint16(o+2);let a=4+(1&e?4:2);8&e?a+=2:64&e?a+=4:128&e&&(a+=8);i.push({gid:t,offset:o,size:a,flags:e});o+=a;if(!(32&e))break}i.length&&(s[e]=i)}const r=new Uint8Array(a),i=new Map;for(let e=0;e0;){const e=t.at(-1),n=s[e.node];if(!n||e.idx>=n.length){r[e.node]=2;t.pop();continue}const o=e.idx++,l=n[o].gid;if(l>=a||2===r[l])continue;if(0===r[l]){r[l]=1;t.push({node:l,idx:0});continue}let f=i.get(e.node);if(!f){f=new Set;i.set(e.node,f)}f.add(o)}}const o=new Set;for(const[a,r]of i){const i=s[a],l=[];for(let e=0;ei&&(i=e.sizeOfInstructions);q+=t;f(u,b,q)}if(0===q){const e=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(g=0,b=o;ga+q)t.data=d.subarray(0,a+q);else{t.data=new Uint8Array(a+q);t.data.set(d.subarray(0,q))}t.data.set(d.subarray(0,a),q);f(e.data,u.length-o,q+a)}else t.data=d.subarray(0,q);return{missingGlyphs:y,maxSizeOfInstructions:i}}(i.loca,i.glyf,h,u,b,p,g);w=e.missingGlyphs;if(c>=65536&&i.maxp.length>=32){i.maxp.data[26]=e.maxSizeOfInstructions>>8;i.maxp.data[27]=255&e.maxSizeOfInstructions}}if(!i.hhea)throw new FormatError('Required "hhea" table is not found');if(0===i.hhea.data[10]&&0===i.hhea.data[11]){i.hhea.data[10]=255;i.hhea.data[11]=255}const j={unitsPerEm:int16(i.head.data[18],i.head.data[19]),yMax:signedInt16(i.head.data[42],i.head.data[43]),yMin:signedInt16(i.head.data[38],i.head.data[39]),ascent:signedInt16(i.hhea.data[4],i.hhea.data[5]),descent:signedInt16(i.hhea.data[6],i.hhea.data[7]),lineGap:signedInt16(i.hhea.data[8],i.hhea.data[9])};this.ascent=j.ascent/j.unitsPerEm;this.descent=j.descent/j.unitsPerEm;this.lineGap=j.lineGap/j.unitsPerEm;if(this.cssFontInfo?.lineHeight){this.lineHeight=this.cssFontInfo.metrics.lineHeight;this.lineGap=this.cssFontInfo.metrics.lineGap}else this.lineHeight=this.ascent-this.descent+this.lineGap;i.post&&function readPostScriptTable(e,a,n){const s=(t.start||0)+e.offset;t.pos=s;const r=s+e.length,i=t.getInt32();t.skip(28);let o,l,f=!0;switch(i){case 65536:o=Cn;break;case 131072:const e=t.getUint16();if(e!==n){f=!1;break}const s=[];for(l=0;l=32768){f=!1;break}s.push(e)}if(!f)break;const c=[];for(;t.pos65535)throw new FormatError("Max size of CID is 65,535");let s=-1;t?s=n:void 0!==e[n]&&(s=e[n]);s>=0&&s>>0;let c=!1;if(o?.platformId!==s||o?.encodingId!==r){if(0!==s||0!==r&&1!==r&&3!==r)if(1===s&&0===r)c=!0;else if(3!==s||1!==r||!n&&o){if(a&&3===s&&0===r){c=!0;let a=!0;if(e>3;e.push(n);a=Math.max(n,a)}const n=[];for(let e=0;e<=a;e++)n.push({firstCode:t.getUint16(),entryCount:t.getUint16(),idDelta:signedInt16(t.getByte(),t.getByte()),idRangePos:t.pos+t.getUint16()});for(let a=0;a<256;a++)if(0===e[a]){t.pos=n[0].idRangePos+2*a;m=t.getUint16();h.push({charCode:a,glyphId:m})}else{const s=n[e[a]];for(u=0;u>1;t.skip(6);const a=[];let n;for(n=0;n>1)-(e-n);s.offsetIndex=i;o=Math.max(o,i+s.end-s.start+1)}else s.offsetIndex=-1}const l=[];for(u=0;u>>0;for(u=0;u>>0,a=t.getInt32()>>>0;let n=t.getInt32()>>>0;for(let t=e;t<=a;t++)h.push({charCode:t,glyphId:n++})}}}const p=[],d=new Set;for(const e of h){const{charCode:t}=e;if(!d.has(t)){d.add(t);p.push(e)}}return{platformId:o.platformId,encodingId:o.encodingId,mappings:p.sort((e,t)=>e.charCode-t.charCode),hasShortCmap:c}}(i.cmap,t,this.isSymbolicFont,a.hasEncoding),n=e.platformId,s=e.encodingId,r=e.mappings;let o=[],l=!1;!a.hasEncoding||"MacRomanEncoding"!==a.baseEncodingName&&"WinAnsiEncoding"!==a.baseEncodingName||(o=getEncoding(a.baseEncodingName));if(a.hasEncoding&&!this.isSymbolicFont&&(3===n&&1===s||1===n&&0===s)){const e=gn();for(let t=0;t<256;t++){let i;i=void 0!==this.differences[t]?this.differences[t]:o.length&&""!==o[t]?o[t]:un[t];if(!i)continue;const l=recoverGlyphName(i,e);let f;3===n&&1===s?f=e[l]:1===n&&0===s&&(f=hn.indexOf(l));if(void 0===f){if(!a.glyphNames&&a.hasIncludedToUnicodeMap&&!(this.toUnicode instanceof IdentityToUnicodeMap)){const e=this.toUnicode.get(t);e&&(f=e.codePointAt(0))}if(void 0===f)continue}for(const e of r)if(e.charCode===f){k[t]=e.glyphId;break}}}else if(0===n){for(const e of r)k[e.charCode]=e.glyphId;l=!0}else if(3===n&&0===s)for(const e of r){let t=e.charCode;t>=61440&&t<=61695&&(t&=255);k[t]=e.glyphId}else for(const e of r)k[e.charCode]=e.glyphId;if(a.glyphNames&&(o.length||this.differences.length))for(let e=0;e<256;++e){if(!l&&void 0!==k[e])continue;const t=this.differences[e]||o[e];if(!t)continue;const n=a.glyphNames.indexOf(t);n>0&&hasGlyph(n)&&(k[e]=n)}!a.isInternalFont&&void 0===k[0]&&hasGlyph(0)&&(k[0]=0)}0===k.length&&(k[0]=0);const y=p?m-1:0;if(!a.cssFontInfo){const e=adjustMapping(k,hasGlyph,y,this.toUnicode);this.toFontChar=e.toFontChar;i.cmap={tag:"cmap",data:createCmapTable(e.charCodeToGlyphId,e.toUnicodeExtraMap,m)};i["OS/2"]&&function validateOS2Table(e,t){t.pos=(t.start||0)+e.offset;const a=t.getUint16(),n=[78,86,96,96,96,100][a];if(void 0===n||e.lengtht.getUint16())return!1;t.skip(6);if(0===t.getUint16())return!1;e.data[8]=e.data[9]=0;return!0}(i["OS/2"],t)||(i["OS/2"]={tag:"OS/2",data:createOS2Table(a,e.charCodeToGlyphId,j)})}if(i.name){const[t,n]=readNameTable(i.name);i.name.data=createNameTable(e,t);this.psName=t[0][6]||null;a.composite||function adjustTrueTypeToUnicode(e,t,a){if(e.isInternalFont)return;if(e.hasIncludedToUnicodeMap)return;if(e.hasEncoding)return;if(e.toUnicode instanceof IdentityToUnicodeMap)return;if(!t)return;if(0===a.length)return;if(e.defaultEncoding===mn)return;for(const e of a)if(!isWinNameRecord(e))return;const n=mn,s=[],r=gn();for(const e in n){const t=n[e];if(""===t)continue;const a=r[t];void 0!==a&&(s[e]=String.fromCharCode(a))}s.length>0&&e.toUnicode.amend(s)}(a,this.isSymbolicFont,n)}else i.name={tag:"name",data:createNameTable(this.name)};const q=new OpenTypeFileBuilder(r.version);for(const e in i)q.addTable(e,i[e].data);return q.toArray()}convert(e,t,a){a.fixedPitch=!1;a.builtInEncoding&&function adjustType1ToUnicode(e,t){if(e.isInternalFont)return;if(e.hasIncludedToUnicodeMap)return;if(t===e.defaultEncoding)return;if(e.toUnicode instanceof IdentityToUnicodeMap)return;const a=[],n=gn();for(const s in t){if(e.hasEncoding&&(e.baseEncodingName||void 0!==e.differences[s]))continue;const r=getUnicodeForGlyph(t[s],n);-1!==r&&(a[s]=String.fromCharCode(r))}a.length>0&&e.toUnicode.amend(a)}(a,a.builtInEncoding);const s=t instanceof CFFFont?t.numGlyphs-1:1,r=t.getGlyphMapping(a);let i=null,o=r,l=null;if(!a.cssFontInfo){i=adjustMapping(r,t.hasGlyphId.bind(t),s,this.toUnicode);this.toFontChar=i.toFontChar;o=i.charCodeToGlyphId;l=i.toUnicodeExtraMap}const f=t.numGlyphs;function getCharCodes(e,t){let a=null;for(const n in e)t===e[n]&&(a||=[]).push(0|n);return a}function createCharCode(e,t){for(const a in e)if(t===e[a])return 0|a;i.charCodeToGlyphId[i.nextAvailableFontCharCode]=t;return i.nextAvailableFontCharCode++}const c=t.seacs;if(i&&c?.length){const e=a.fontMatrix||n,s=t.getCharset(),o=Object.create(null);for(let t in c){t|=0;const a=c[t],n=un[a[2]],l=un[a[3]],f=s.indexOf(n),h=s.indexOf(l);if(f<0||h<0)continue;const u={x:a[0]*e[0]+a[1]*e[2]+e[4],y:a[0]*e[1]+a[1]*e[3]+e[5]},m=getCharCodes(r,t);if(m)for(const e of m){const t=i.charCodeToGlyphId,a=createCharCode(t,f),n=createCharCode(t,h);o[e]={baseFontCharCode:a,accentFontCharCode:n,accentOffset:u}}}a.seacMap=o}const h=a.fontMatrix?1/Math.max(...a.fontMatrix.slice(0,4).map(Math.abs)):1e3,u=new OpenTypeFileBuilder("OTTO");u.addTable("CFF ",t.data);u.addTable("OS/2",createOS2Table(a,o));u.addTable("cmap",createCmapTable(o,l,f));u.addTable("head",function fontTableHead(){const e=[0,0,0,0,158,11,126,39],t=new DataBuilder({exactLength:54});t.setArray([0,1,0,0]);t.setArray([0,0,16,0]);t.skip(4);t.setArray([95,15,60,245]);t.skip(2);t.setSafeInt16(h);t.setArray(e);t.setArray(e);t.skip(2);t.setSafeInt16(a.descent);t.setArray([15,255]);t.setSafeInt16(a.ascent);t.setInt16(a.italicAngle?2:0);t.setArray([0,17]);t.skip(6);return t.data}());u.addTable("hhea",function fontTableHhea(){const e=new DataBuilder({exactLength:36});e.setArray([0,1,0,0]);e.setSafeInt16(a.ascent);e.setSafeInt16(a.descent);e.skip(2);e.setArray([255,255]);e.skip(6);e.setSafeInt16(a.capHeight);e.setSafeInt16(Math.tan(a.italicAngle)*a.xHeight);e.skip(12);e.setInt16(f);return e.data}());u.addTable("hmtx",function fontTableHmtx(){const e=t.charstrings,a=t.cff?.widths??null,n=new DataBuilder({exactLength:4*f});n.skip(4);for(let t=1,s=f;t=65520&&e<=65535?0:e>=62976&&e<=63743?wn()[e]||e:173===e?45:e}(a)}this.isType3Font&&(s=a);let c=null;if(this.seacMap?.[e]){f=!0;const t=this.seacMap[e];a=t.baseFontCharCode;c={fontChar:String.fromCodePoint(t.accentFontCharCode),offset:t.accentOffset}}let h="";"number"==typeof a&&(a<=1114111?h=String.fromCodePoint(a):warn(`charToGlyph - invalid fontCharCode: ${a}`));if(this.missingFile&&this.vertical&&1===h.length){const e=In()[h.charCodeAt(0)];e&&(h=l=String.fromCharCode(e))}r=new fonts_Glyph(e,h,l,c,n,o,s,t,f);this.#he.set(e,r);return r}charsToGlyphs(e){let t=this.#ce.get(e);if(t)return t;t=[];if(this.cMap){const a=Object.create(null),n=e.length;let s=0;for(;st.length%2==1,n=this.toUnicode instanceof IdentityToUnicodeMap?e=>this.toUnicode.charCodeOf(e):e=>this.toUnicode.charCodeOf(String.fromCodePoint(e));for(let s=0,r=e.length;s55295&&(r<57344||r>65533)&&s++;if(this.toUnicode){const e=n(r);if(-1!==e){if(hasCurrentBufErrors()){t.push(a.join(""));a.length=0}for(let t=(this.cMap?this.cMap.getCharCodeLength(e):1)-1;t>=0;t--)a.push(String.fromCharCode(e>>8*t&255));continue}}if(!hasCurrentBufErrors()){t.push(a.join(""));a.length=0}a.push(String.fromCodePoint(r))}t.push(a.join(""));return t}}class ErrorFont{constructor(e){this.error=e;this.loadedName="g_font_error";this.missingFile=!0}charsToGlyphs(){return[]}encodeString(e){return[e]}exportData(){return{error:this.error}}}const ms=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.54657,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.73293,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.9121,.86943,.79795,.88198,.77958,.70864,.81055,.90399,.88653,.96017,.82577,.77892,.78257,.97507,1.54657,.97507,.85284,.89552,.90176,.88762,.8785,.75241,.8785,.90518,.95015,.77618,.8785,.88401,.91916,.86304,.88401,.91488,.8785,.8801,.8785,.8785,.91343,.7173,1.04106,.8785,.85075,.95794,.82616,.85162,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.12401,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.73293,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.9121,.86943,.86943,.86943,.86943,.86943,.85284,.87508,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.88762,.88762,.88762,.88762,.88762,.88762,.8715,.75241,.90518,.90518,.90518,.90518,.88401,.88401,.88401,.88401,.8785,.8785,.8801,.8801,.8801,.8801,.8801,.90747,.89049,.8785,.8785,.8785,.8785,.85162,.8785,.85162,.83908,.88762,.83908,.88762,.83908,.88762,.73293,.75241,.73293,.75241,.73293,.75241,.73293,.75241,.87289,.83016,.88506,.93125,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.81921,.77618,.81921,.77618,.81921,.77618,1,1,.87356,.8785,.91075,.89608,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76229,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.79468,.91926,.88175,.70823,.94903,.9121,.8785,1,1,.9121,.8785,.87802,.88656,.8785,.86943,.8801,.86943,.8801,.86943,.8801,.87402,.89291,.77958,.91343,1,1,.77958,.91343,.70864,.7173,.70864,.7173,.70864,.7173,.70864,.7173,1,1,.81055,.75841,.81055,1.06452,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.96017,.95794,.77892,.85162,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.88762,.77539,.8715,.87508,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70674,.98387,.94721,1.33431,1.45894,.95161,1.06303,.83908,.80352,.57184,.6965,.56289,.82001,.56029,.81235,1.02988,.83908,.7762,.68156,.80367,.73133,.78257,.87356,.86943,.95958,.75727,.89019,1.04924,.9121,.7648,.86943,.87356,.79795,.78275,.81055,.77892,.9762,.82577,.99819,.84896,.95958,.77892,.96108,1.01407,.89049,1.02988,.94211,.96108,.8936,.84021,.87842,.96399,.79109,.89049,1.00813,1.02988,.86077,.87445,.92099,.84723,.86513,.8801,.75638,.85714,.78216,.79586,.87965,.94211,.97747,.78287,.97926,.84971,1.02988,.94211,.8801,.94211,.84971,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90264,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.90518,1,1,1,1,1,1,1,1,1,1,1,1,.90548,1,1,1,1,1,1,.96017,.95794,.96017,.95794,.96017,.95794,.77892,.85162,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.92794,.87012,.87012,.87012,.89552,.89552,1.42259,.71143,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.93835,.83406,.91133,.84107,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90527,1.81055,.90527,1.81055,1.31006,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],ps={lineHeight:1.2207,lineGap:.2207},ds=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.56239,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.71805,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.90872,.85938,.79795,.87068,.77958,.69766,.81055,.90399,.88653,.96068,.82577,.77892,.78257,.97507,1.529,.97507,.85284,.89552,.90176,.94908,.86411,.74012,.86411,.88323,.95015,.86411,.86331,.88401,.91916,.86304,.88401,.9039,.86331,.86331,.86411,.86411,.90464,.70852,1.04106,.86331,.84372,.95794,.82616,.84548,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.19129,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.71805,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.90872,.85938,.85938,.85938,.85938,.85938,.85284,.87068,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.94908,.94908,.94908,.94908,.94908,.94908,.85887,.74012,.88323,.88323,.88323,.88323,.88401,.88401,.88401,.88401,.8785,.86331,.86331,.86331,.86331,.86331,.86331,.90747,.89049,.86331,.86331,.86331,.86331,.84548,.86411,.84548,.83908,.94908,.83908,.94908,.83908,.94908,.71805,.74012,.71805,.74012,.71805,.74012,.71805,.74012,.87289,.79538,.88506,.92726,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.81921,.86411,.81921,.86411,.81921,.86411,1,1,.87356,.86331,.91075,.8777,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76467,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.77312,.91926,.88175,.70823,.94903,.90872,.86331,1,1,.90872,.86331,.86906,.88116,.86331,.85938,.86331,.85938,.86331,.85938,.86331,.87402,.86549,.77958,.90464,1,1,.77958,.90464,.69766,.70852,.69766,.70852,.69766,.70852,.69766,.70852,1,1,.81055,.75841,.81055,1.06452,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.96068,.95794,.77892,.84548,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.94908,.77539,.85887,.87068,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70088,.98387,.94721,1.33431,1.45894,.95161,1.48387,.83908,.80352,.57118,.6965,.56347,.79179,.55853,.80346,1.02988,.83908,.7762,.67174,.86036,.73133,.78257,.87356,.86441,.95958,.75727,.89019,1.04924,.90872,.74889,.85938,.87891,.79795,.7957,.81055,.77892,.97447,.82577,.97466,.87179,.95958,.77892,.94252,.95612,.8753,1.02988,.92733,.94252,.87411,.84021,.8728,.95612,.74081,.8753,1.02189,1.02988,.84814,.87445,.91822,.84723,.85668,.86331,.81344,.87581,.76422,.82046,.96057,.92733,.99375,.78022,.95452,.86015,1.02988,.92733,.86331,.92733,.86015,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90631,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.88323,1,1,1,1,1,1,1,1,1,1,1,1,.85174,1,1,1,1,1,1,.96068,.95794,.96068,.95794,.96068,.95794,.77892,.84548,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.89807,.87012,.87012,.87012,.89552,.89552,1.42259,.71094,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.92972,.83406,.91133,.83326,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90616,1.81055,.90527,1.81055,1.3107,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],gs={lineHeight:1.2207,lineGap:.2207},bs=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39543,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.72346,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89249,.84118,.77452,.85374,.75186,.67789,.79776,.88844,.85066,.94309,.77818,.7306,.76659,1.10369,1.38313,1.10369,1.06139,.89552,.8739,.9245,.9245,.83203,.9245,.85865,1.09842,.9245,.9245,1.03297,1.07692,.90918,1.03297,.94959,.9245,.92274,.9245,.9245,1.02933,.77832,1.20562,.9245,.8916,.98986,.86621,.89453,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.16359,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.72346,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89249,.84118,.84118,.84118,.84118,.84118,.85284,.84557,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.9245,.9245,.9245,.9245,.9245,.9245,.84843,.83203,.85865,.85865,.85865,.85865,.82601,.82601,.82601,.82601,.94469,.9245,.92274,.92274,.92274,.92274,.92274,.90747,.86651,.9245,.9245,.9245,.9245,.89453,.9245,.89453,.8675,.9245,.8675,.9245,.8675,.9245,.72346,.83203,.72346,.83203,.72346,.83203,.72346,.83203,.85193,.8875,.86477,.99034,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.81105,.9245,.81105,.9245,.81105,.9245,1,1,.86275,.9245,.90872,.93591,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77896,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.9375,.98156,.93407,.77261,1.11429,.89249,.9245,1,1,.89249,.9245,.92534,.86698,.9245,.84118,.92274,.84118,.92274,.84118,.92274,.8667,.86291,.75186,1.02933,1,1,.75186,1.02933,.67789,.77832,.67789,.77832,.67789,.77832,.67789,.77832,1,1,.79776,.97655,.79776,1.23023,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.94309,.98986,.7306,.89453,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.9245,.76318,.84843,.84557,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67009,.96334,.93695,1.35191,1.40909,.95161,1.48387,.8675,.90861,.6192,.7363,.64824,.82411,.56321,.85696,1.23516,.8675,.81552,.7286,.84134,.73206,.76659,.86275,.84369,.90685,.77892,.85871,1.02638,.89249,.75828,.84118,.85984,.77452,.76466,.79776,.7306,.90782,.77818,.903,.87291,.90685,.7306,.99058,1.03667,.94635,1.23516,.9849,.99058,.92393,.8916,.942,1.03667,.75026,.94635,1.0297,1.23516,.90918,.94048,.98217,.89746,.84153,.92274,.82507,.88832,.84438,.88178,1.03525,.9849,1.00225,.78086,.97248,.89404,1.23516,.9849,.92274,.9849,.89404,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.89693,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.85865,1,1,1,1,1,1,1,1,1,1,1,1,.90933,1,1,1,1,1,1,.94309,.98986,.94309,.98986,.94309,.98986,.7306,.89453,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.68994,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.97858,.82616,.91133,.83437,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90572,1.81055,.90749,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85284,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],ws={lineHeight:1.2207,lineGap:.2207},js=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39016,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.73834,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89385,.85122,.77452,.86503,.75186,.68887,.79776,.88844,.85066,.94258,.77818,.7306,.76659,1.10369,1.39016,1.10369,1.06139,.89552,.8739,.86128,.94469,.8457,.94469,.89464,1.09842,.84636,.94469,1.03297,1.07692,.90918,1.03297,.95897,.94469,.9482,.94469,.94469,1.04692,.78223,1.20562,.94469,.90332,.98986,.86621,.90527,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.08707,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.73834,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89385,.85122,.85122,.85122,.85122,.85122,.85284,.85311,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.86128,.86128,.86128,.86128,.86128,.86128,.8693,.8457,.89464,.89464,.89464,.89464,.82601,.82601,.82601,.82601,.94469,.94469,.9482,.9482,.9482,.9482,.9482,.90747,.86651,.94469,.94469,.94469,.94469,.90527,.94469,.90527,.8675,.86128,.8675,.86128,.8675,.86128,.73834,.8457,.73834,.8457,.73834,.8457,.73834,.8457,.85193,.92454,.86477,.9921,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.81105,.84636,.81105,.84636,.81105,.84636,1,1,.86275,.94469,.90872,.95786,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77741,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.90452,.98156,1.11842,.77261,1.11429,.89385,.94469,1,1,.89385,.94469,.95877,.86901,.94469,.85122,.9482,.85122,.9482,.85122,.9482,.8667,.90016,.75186,1.04692,1,1,.75186,1.04692,.68887,.78223,.68887,.78223,.68887,.78223,.68887,.78223,1,1,.79776,.92188,.79776,1.23023,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.94258,.98986,.7306,.90527,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.86128,.76318,.8693,.85311,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67742,.96334,.93695,1.35191,1.40909,.95161,1.48387,.86686,.90861,.62267,.74359,.65649,.85498,.56963,.88254,1.23516,.8675,.81552,.75443,.84503,.73206,.76659,.86275,.85122,.90685,.77892,.85746,1.02638,.89385,.75657,.85122,.86275,.77452,.74171,.79776,.7306,.95165,.77818,.89772,.88831,.90685,.7306,.98142,1.02191,.96576,1.23516,.99018,.98142,.9236,.89258,.94035,1.02191,.78848,.96576,.9561,1.23516,.90918,.92578,.95424,.89746,.83969,.9482,.80113,.89442,.85208,.86155,.98022,.99018,1.00452,.81209,.99247,.89181,1.23516,.99018,.9482,.99018,.89181,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.88844,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.89464,1,1,1,1,1,1,1,1,1,1,1,1,.96766,1,1,1,1,1,1,.94258,.98986,.94258,.98986,.94258,.98986,.7306,.90527,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.69043,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.99331,.82616,.91133,.84286,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90527,1.81055,.90527,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1.07185,.99413,.96334,1.08065,1,1,1,1,1,1,1,1,1,1,1],ks={lineHeight:1.2207,lineGap:.2207},ys=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.03374,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.00042,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.03828,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00034,.99977,1,.99997,1.00026,1.00078,1.00036,.99973,1.00013,1.0006,.99977,.99977,.99988,.85148,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,1.00069,1.00022,.99977,1.00001,.99984,1.00026,1.00001,1.00024,1.00001,.9999,1,1.0006,1.00001,1.00041,.99962,1.00026,1.0006,.99995,1.00041,.99942,.99973,.99927,1.00082,.99902,1.00026,1.00087,1.0006,1.00069,.99973,.99867,.99973,.9993,1.00026,1.00049,1.00056,1,.99988,.99935,.99995,.99954,1.00055,.99945,1.00032,1.0006,.99995,1.00026,.99995,1.00032,1.00001,1.00008,.99971,1.00019,.9994,1.00001,1.0006,1.00044,.99973,1.00023,1.00047,1,.99942,.99561,.99989,1.00035,.99977,1.00035,.99977,1.00019,.99944,1.00001,1.00021,.99926,1.00035,1.00035,.99942,1.00048,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.99989,1.00057,1.00001,.99936,1.00052,1.00012,.99996,1.00043,1,1.00035,.9994,.99976,1.00035,.99973,1.00052,1.00041,1.00119,1.00037,.99973,1.00002,.99986,1.00041,1.00041,.99902,.9996,1.00034,.99999,1.00026,.99999,1.00026,.99973,1.00052,.99973,1,.99973,1.00041,1.00075,.9994,1.0003,.99999,1,1.00041,.99955,1,.99915,.99973,.99973,1.00026,1.00119,.99955,.99973,1.0006,.99911,1.0006,1.00026,.99972,1.00026,.99902,1.00041,.99973,.99999,1,1,1.00038,1.0005,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,1.00047,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],qs={lineHeight:1.2,lineGap:.2},vs=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.0044,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99971,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.01011,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99977,1,1,1.00026,.99969,.99972,.99981,.9998,1.0006,.99977,.99977,1.00022,.91155,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,.99966,1.00022,1.00032,1.00001,.99944,1.00026,1.00001,.99968,1.00001,1.00047,1,1.0006,1.00001,.99981,1.00101,1.00026,1.0006,.99948,.99981,1.00064,.99973,.99942,1.00101,1.00061,1.00026,1.00069,1.0006,1.00014,.99973,1.01322,.99973,1.00065,1.00026,1.00012,.99923,1,1.00064,1.00076,.99948,1.00055,1.00063,1.00007,.99943,1.0006,.99948,1.00026,.99948,.99943,1.00001,1.00001,1.00029,1.00038,1.00035,1.00001,1.0006,1.0006,.99973,.99978,1.00001,1.00057,.99989,.99967,.99964,.99967,.99977,.99999,.99977,1.00038,.99977,1.00001,.99973,1.00066,.99967,.99967,1.00041,.99998,.99999,.99977,1.00022,.99967,1.00001,.99977,1.00026,.99964,1.00031,1.00001,.99999,.99999,1,1.00023,1,1,.99999,1.00035,1.00001,.99999,.99973,.99977,.99999,1.00058,.99973,.99973,.99955,.9995,1.00026,1.00026,1.00032,.99989,1.00034,.99999,1.00026,1.00026,1.00026,.99973,.45998,.99973,1.00026,.99973,1.00001,.99999,.99982,.99994,.99996,1,1.00042,1.00044,1.00029,1.00023,.99973,.99973,1.00026,.99949,1.00002,.99973,1.0006,1.0006,1.0006,.99975,1.00026,1.00026,1.00032,.98685,.99973,1.00026,1,1,.99966,1.00044,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1,.99973,.99971,.99978,1,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00098,1,1,1,1.00049,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],Ss={lineHeight:1.35,lineGap:.2},As=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.0288,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,.99946,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.06311,.99973,1.00024,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,1.00041,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.89547,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00001,1,1.00054,.99977,1.00084,1.00007,.99973,1.00013,.99924,1.00001,1.00001,.99945,.91221,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00001,.99999,.99977,.99933,1.00022,1.00054,1.00001,1.00065,1.00026,1.00001,1.0001,1.00001,1.00052,1,1.0006,1.00001,.99945,.99897,.99968,.99924,1.00036,.99945,.99949,1,1.0006,.99897,.99918,.99968,.99911,.99924,1,.99962,1.01487,1,1.0005,.99973,1.00012,1.00043,1,.99995,.99994,1.00036,.99947,1.00019,1.00063,1.00025,.99924,1.00036,.99973,1.00036,1.00025,1.00001,1.00001,1.00027,1.0001,1.00068,1.00001,1.0006,1.0006,1,1.00008,.99957,.99972,.9994,.99954,.99975,1.00051,1.00001,1.00019,1.00001,1.0001,.99986,1.00001,1.00001,1.00038,.99954,.99954,.9994,1.00066,.99999,.99977,1.00022,1.00054,1.00001,.99977,1.00026,.99975,1.0001,1.00001,.99993,.9995,.99955,1.00016,.99978,.99974,1.00019,1.00022,.99955,1.00053,.99973,1.00089,1.00005,.99967,1.00048,.99973,1.00002,1.00034,.99973,.99973,.99964,1.00006,1.00066,.99947,.99973,.98894,.99973,1,.44898,1,.99946,1,1.00039,1.00082,.99991,.99991,.99985,1.00022,1.00023,1.00061,1.00006,.99966,.99973,.99973,.99973,1.00019,1.0008,1,.99924,.99924,.99924,.99983,1.00044,.99973,.99964,.98332,1,.99973,1,1,.99962,.99895,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,1.00423,.99925,.99999,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00049,1,1.00245,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,1.00003,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],xs={lineHeight:1.35,lineGap:.2},Cs=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.04596,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,1.00019,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.02572,.99973,1.00005,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,.99999,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.84533,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99928,1,.99977,1.00013,1.00055,.99947,.99945,.99941,.99924,1.00001,1.00001,1.0004,.91621,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00005,.99999,.99977,1.00015,1.00022,.99977,1.00001,.99973,1.00026,1.00001,1.00019,1.00001,.99946,1,1.0006,1.00001,.99978,1.00045,.99973,.99924,1.00023,.99978,.99966,1,1.00065,1.00045,1.00019,.99973,.99973,.99924,1,1,.96499,1,1.00055,.99973,1.00008,1.00027,1,.9997,.99995,1.00023,.99933,1.00019,1.00015,1.00031,.99924,1.00023,.99973,1.00023,1.00031,1.00001,.99928,1.00029,1.00092,1.00035,1.00001,1.0006,1.0006,1,.99988,.99975,1,1.00082,.99561,.9996,1.00035,1.00001,.99962,1.00001,1.00092,.99964,1.00001,.99963,.99999,1.00035,1.00035,1.00082,.99962,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.9996,.99967,1.00001,1.00034,1.00074,1.00054,1.00053,1.00063,.99971,.99962,1.00035,.99975,.99977,.99973,1.00043,.99953,1.0007,.99915,.99973,1.00008,.99892,1.00073,1.00073,1.00114,.99915,1.00073,.99955,.99973,1.00092,.99973,1,.99998,1,1.0003,1,1.00043,1.00001,.99969,1.0003,1,1.00035,1.00001,.9995,1,1.00092,.99973,.99973,.99973,1.0007,.9995,1,.99924,1.0006,.99924,.99972,1.00062,.99973,1.00114,1.00073,1,.99955,1,1,1.00047,.99968,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,.99925,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],Is={lineHeight:1.2,lineGap:.2},Fs=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,719,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,785,556,556,278,722,556,556,611,278,611,278,611,385,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,465,722,333,853,906,474,825,927,838,278,722,722,601,719,667,611,722,778,278,722,667,833,722,644,778,722,667,600,611,667,821,667,809,802,278,667,615,451,611,278,582,615,610,556,606,475,460,611,541,278,558,556,612,556,445,611,766,619,520,684,446,582,715,576,753,845,278,582,611,582,845,667,669,885,567,711,667,278,276,556,1094,1062,875,610,722,622,719,722,719,722,567,712,667,904,626,719,719,610,702,833,722,778,719,667,722,611,622,854,667,730,703,1005,1019,870,979,719,711,1031,719,556,618,615,417,635,556,709,497,615,615,500,635,740,604,611,604,611,556,490,556,875,556,615,581,833,844,729,854,615,552,854,583,556,556,611,417,552,556,278,281,278,969,906,611,500,615,556,604,778,611,487,447,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1094,556,885,489,1115,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333],Ts=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],Os=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,740,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,782,556,556,278,722,556,556,611,278,611,278,611,396,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,333,722,333,854,906,473,844,930,847,278,722,722,610,671,667,611,722,778,278,722,667,833,722,657,778,718,667,590,611,667,822,667,829,781,278,667,620,479,611,278,591,620,621,556,610,479,492,611,558,278,566,556,603,556,450,611,712,605,532,664,409,591,704,578,773,834,278,591,611,591,834,667,667,886,614,719,667,278,278,556,1094,1042,854,622,719,677,719,722,708,722,614,722,667,927,643,719,719,615,687,833,722,778,719,667,722,611,677,781,667,729,708,979,989,854,1e3,708,719,1042,729,556,619,604,534,618,556,736,510,611,611,507,622,740,604,611,611,611,556,889,556,885,556,646,583,889,935,707,854,594,552,865,589,556,556,611,469,563,556,278,278,278,969,906,611,507,619,556,611,778,611,575,467,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1104,556,885,516,1146,1e3,768,600,834,834,834,834,999,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333],Rs=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],Hs=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,625,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,733,444,500,222,667,500,500,556,222,556,222,556,281,556,400,556,222,722,556,722,556,722,556,615,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,354,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,789,846,389,794,865,775,222,667,667,570,671,667,611,722,778,278,667,667,833,722,648,778,725,667,600,611,667,837,667,831,761,278,667,570,439,555,222,550,570,571,500,556,439,463,555,542,222,500,492,548,500,447,556,670,573,486,603,374,550,652,546,728,779,222,550,556,550,779,667,667,843,544,708,667,278,278,500,1066,982,844,589,715,639,724,667,651,667,544,704,667,917,614,715,715,589,686,833,722,778,725,667,722,611,639,795,667,727,673,920,923,805,886,651,694,1022,682,556,562,522,493,553,556,688,465,556,556,472,564,686,550,556,556,556,500,833,500,835,500,572,518,830,851,621,736,526,492,752,534,556,556,556,378,496,500,222,222,222,910,828,556,472,565,500,556,778,556,492,339,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1083,1e3,768,600,834,834,834,834,1e3,500,998,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,584,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285],Bs=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],Ds=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,615,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,735,444,500,222,667,500,500,556,222,556,222,556,292,556,334,556,222,722,556,722,556,722,556,604,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,375,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,784,838,384,774,855,752,222,667,667,551,668,667,611,722,778,278,667,668,833,722,650,778,722,667,618,611,667,798,667,835,748,278,667,578,446,556,222,547,578,575,500,557,446,441,556,556,222,500,500,576,500,448,556,690,569,482,617,395,547,648,525,713,781,222,547,556,547,781,667,667,865,542,719,667,278,278,500,1057,1010,854,583,722,635,719,667,656,667,542,677,667,923,604,719,719,583,656,833,722,778,719,667,722,611,635,760,667,740,667,917,938,792,885,656,719,1010,722,556,573,531,365,583,556,669,458,559,559,438,583,688,552,556,542,556,500,458,500,823,500,573,521,802,823,625,719,521,510,750,542,556,556,556,365,510,500,222,278,222,906,812,556,438,559,500,552,778,556,489,411,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1073,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285],Ms=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],Ns=[1.36898,1,1,.72706,.80479,.83734,.98894,.99793,.9897,.93884,.86209,.94292,.94292,1.16661,1.02058,.93582,.96694,.93582,1.19137,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.78076,.78076,1.02058,1.02058,1.02058,.72851,.78966,.90838,.83637,.82391,.96376,.80061,.86275,.8768,.95407,1.0258,.73901,.85022,.83655,1.0156,.95546,.92179,.87107,.92179,.82114,.8096,.89713,.94438,.95353,.94083,.91905,.90406,.9446,.94292,1.18777,.94292,1.02058,.89903,.90088,.94938,.97898,.81093,.97571,.94938,1.024,.9577,.95933,.98621,1.0474,.97455,.98981,.9672,.95933,.9446,.97898,.97407,.97646,.78036,1.10208,.95442,.95298,.97579,.9332,.94039,.938,.80687,1.01149,.80687,1.02058,.80479,.99793,.99793,.99793,.99793,1.01149,1.00872,.90088,.91882,1.0213,.8361,1.02058,.62295,.54324,.89022,1.08595,1,1,.90088,1,.97455,.93582,.90088,1,1.05686,.8361,.99642,.99642,.99642,.72851,.90838,.90838,.90838,.90838,.90838,.90838,.868,.82391,.80061,.80061,.80061,.80061,1.0258,1.0258,1.0258,1.0258,.97484,.95546,.92179,.92179,.92179,.92179,.92179,1.02058,.92179,.94438,.94438,.94438,.94438,.90406,.86958,.98225,.94938,.94938,.94938,.94938,.94938,.94938,.9031,.81093,.94938,.94938,.94938,.94938,.98621,.98621,.98621,.98621,.93969,.95933,.9446,.9446,.9446,.9446,.9446,1.08595,.9446,.95442,.95442,.95442,.95442,.94039,.97898,.94039,.90838,.94938,.90838,.94938,.90838,.94938,.82391,.81093,.82391,.81093,.82391,.81093,.82391,.81093,.96376,.84313,.97484,.97571,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.8768,.9577,.8768,.9577,.8768,.9577,1,1,.95407,.95933,.97069,.95933,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,.887,1.01591,.73901,1.0474,1,1,.97455,.83655,.98981,1,1,.83655,.73977,.83655,.73903,.84638,1.033,.95546,.95933,1,1,.95546,.95933,.8271,.95417,.95933,.92179,.9446,.92179,.9446,.92179,.9446,.936,.91964,.82114,.97646,1,1,.82114,.97646,.8096,.78036,.8096,.78036,1,1,.8096,.78036,1,1,.89713,.77452,.89713,1.10208,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94083,.97579,.90406,.94039,.90406,.9446,.938,.9446,.938,.9446,.938,1,.99793,.90838,.94938,.868,.9031,.92179,.9446,1,1,.89713,1.10208,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90989,.9358,.91945,.83181,.75261,.87992,.82976,.96034,.83689,.97268,1.0078,.90838,.83637,.8019,.90157,.80061,.9446,.95407,.92436,1.0258,.85022,.97153,1.0156,.95546,.89192,.92179,.92361,.87107,.96318,.89713,.93704,.95638,.91905,.91709,.92796,1.0258,.93704,.94836,1.0373,.95933,1.0078,.95871,.94836,.96174,.92601,.9498,.98607,.95776,.95933,1.05453,1.0078,.98275,.9314,.95617,.91701,1.05993,.9446,.78367,.9553,1,.86832,1.0128,.95871,.99394,.87548,.96361,.86774,1.0078,.95871,.9446,.95871,.86774,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.94083,.97579,.94083,.97579,.94083,.97579,.90406,.94039,.96694,1,.89903,1,1,1,.93582,.93582,.93582,1,.908,.908,.918,.94219,.94219,.96544,1,1.285,1,1,.81079,.81079,1,1,.74854,1,1,1,1,.99793,1,1,1,.65,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.17173,1,.80535,.76169,1.02058,1.0732,1.05486,1,1,1.30692,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.16161,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],_s={lineHeight:1.2,lineGap:.2},Es=[1.36898,1,1,.66227,.80779,.81625,.97276,.97276,.97733,.92222,.83266,.94292,.94292,1.16148,1.02058,.93582,.96694,.93582,1.17337,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.78076,.78076,1.02058,1.02058,1.02058,.71541,.76813,.85576,.80591,.80729,.94299,.77512,.83655,.86523,.92222,.98621,.71743,.81698,.79726,.98558,.92222,.90637,.83809,.90637,.80729,.76463,.86275,.90699,.91605,.9154,.85308,.85458,.90531,.94292,1.21296,.94292,1.02058,.89903,1.18616,.99613,.91677,.78216,.91677,.90083,.98796,.9135,.92168,.95381,.98981,.95298,.95381,.93459,.92168,.91513,.92004,.91677,.95077,.748,1.04502,.91677,.92061,.94236,.89544,.89364,.9,.80687,.8578,.80687,1.02058,.80779,.97276,.97276,.97276,.97276,.8578,.99973,1.18616,.91339,1.08074,.82891,1.02058,.55509,.71526,.89022,1.08595,1,1,1.18616,1,.96736,.93582,1.18616,1,1.04864,.82711,.99043,.99043,.99043,.71541,.85576,.85576,.85576,.85576,.85576,.85576,.845,.80729,.77512,.77512,.77512,.77512,.98621,.98621,.98621,.98621,.95961,.92222,.90637,.90637,.90637,.90637,.90637,1.02058,.90251,.90699,.90699,.90699,.90699,.85458,.83659,.94951,.99613,.99613,.99613,.99613,.99613,.99613,.85811,.78216,.90083,.90083,.90083,.90083,.95381,.95381,.95381,.95381,.9135,.92168,.91513,.91513,.91513,.91513,.91513,1.08595,.91677,.91677,.91677,.91677,.91677,.89364,.92332,.89364,.85576,.99613,.85576,.99613,.85576,.99613,.80729,.78216,.80729,.78216,.80729,.78216,.80729,.78216,.94299,.76783,.95961,.91677,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.86523,.9135,.86523,.9135,.86523,.9135,1,1,.92222,.92168,.92222,.92168,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.86036,.97096,.71743,.98981,1,1,.95298,.79726,.95381,1,1,.79726,.6894,.79726,.74321,.81691,1.0006,.92222,.92168,1,1,.92222,.92168,.79464,.92098,.92168,.90637,.91513,.90637,.91513,.90637,.91513,.909,.87514,.80729,.95077,1,1,.80729,.95077,.76463,.748,.76463,.748,1,1,.76463,.748,1,1,.86275,.72651,.86275,1.04502,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.9154,.94236,.85458,.89364,.85458,.90531,.9,.90531,.9,.90531,.9,1,.97276,.85576,.99613,.845,.85811,.90251,.91677,1,1,.86275,1.04502,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.00899,1.30628,.85576,.80178,.66862,.7927,.69323,.88127,.72459,.89711,.95381,.85576,.80591,.7805,.94729,.77512,.90531,.92222,.90637,.98621,.81698,.92655,.98558,.92222,.85359,.90637,.90976,.83809,.94523,.86275,.83509,.93157,.85308,.83392,.92346,.98621,.83509,.92886,.91324,.92168,.95381,.90646,.92886,.90557,.86847,.90276,.91324,.86842,.92168,.99531,.95381,.9224,.85408,.92699,.86847,1.0051,.91513,.80487,.93481,1,.88159,1.05214,.90646,.97355,.81539,.89398,.85923,.95381,.90646,.91513,.90646,.85923,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.9154,.94236,.9154,.94236,.9154,.94236,.85458,.89364,.96694,1,.89903,1,1,1,.91782,.91782,.91782,1,.896,.896,.896,.9332,.9332,.95973,1,1.26,1,1,.80479,.80178,1,1,.85633,1,1,1,1,.97276,1,1,1,.698,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.14542,1,.79199,.78694,1.02058,1.03493,1.05486,1,1,1.23026,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.20006,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],zs={lineHeight:1.2,lineGap:.2},Ls=[1.36898,1,1,.65507,.84943,.85639,.88465,.88465,.86936,.88307,.86948,.85283,.85283,1.06383,1.02058,.75945,.9219,.75945,1.17337,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.75945,.75945,1.02058,1.02058,1.02058,.69046,.70926,.85158,.77812,.76852,.89591,.70466,.76125,.80094,.86822,.83864,.728,.77212,.79475,.93637,.87514,.8588,.76013,.8588,.72421,.69866,.77598,.85991,.80811,.87832,.78112,.77512,.8562,1.0222,1.18417,1.0222,1.27014,.89903,1.15012,.93859,.94399,.846,.94399,.81453,1.0186,.94219,.96017,1.03075,1.02175,.912,1.03075,.96998,.96017,.93859,.94399,.94399,.95493,.746,1.12658,.94578,.91,.979,.882,.882,.83,.85034,.83537,.85034,1.02058,.70869,.88465,.88465,.88465,.88465,.83537,.90083,1.15012,.9161,.94565,.73541,1.02058,.53609,.69353,.79519,1.08595,1,1,1.15012,1,.91974,.75945,1.15012,1,.9446,.73361,.9005,.9005,.9005,.62864,.85158,.85158,.85158,.85158,.85158,.85158,.773,.76852,.70466,.70466,.70466,.70466,.83864,.83864,.83864,.83864,.90561,.87514,.8588,.8588,.8588,.8588,.8588,1.02058,.85751,.85991,.85991,.85991,.85991,.77512,.76013,.88075,.93859,.93859,.93859,.93859,.93859,.93859,.8075,.846,.81453,.81453,.81453,.81453,.82424,.82424,.82424,.82424,.9278,.96017,.93859,.93859,.93859,.93859,.93859,1.08595,.8562,.94578,.94578,.94578,.94578,.882,.94578,.882,.85158,.93859,.85158,.93859,.85158,.93859,.76852,.846,.76852,.846,.76852,.846,.76852,.846,.89591,.8544,.90561,.94399,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.80094,.94219,.80094,.94219,.80094,.94219,1,1,.86822,.96017,.86822,.96017,.83864,.82424,.83864,.82424,.83864,.82424,.83864,1.03075,.83864,.82424,.81402,1.02738,.728,1.02175,1,1,.912,.79475,1.03075,1,1,.79475,.83911,.79475,.66266,.80553,1.06676,.87514,.96017,1,1,.87514,.96017,.86865,.87396,.96017,.8588,.93859,.8588,.93859,.8588,.93859,.867,.84759,.72421,.95493,1,1,.72421,.95493,.69866,.746,.69866,.746,1,1,.69866,.746,1,1,.77598,.88417,.77598,1.12658,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.87832,.979,.77512,.882,.77512,.8562,.83,.8562,.83,.8562,.83,1,.88465,.85158,.93859,.773,.8075,.85751,.8562,1,1,.77598,1.12658,1.15012,1.15012,1.15012,1.15012,1.15012,1.15313,1.15012,1.15012,1.15012,1.08106,1.03901,.85158,.77025,.62264,.7646,.65351,.86026,.69461,.89947,1.03075,.85158,.77812,.76449,.88836,.70466,.8562,.86822,.8588,.83864,.77212,.85308,.93637,.87514,.82352,.8588,.85701,.76013,.89058,.77598,.8156,.82565,.78112,.77899,.89386,.83864,.8156,.9486,.92388,.96186,1.03075,.91123,.9486,.93298,.878,.93942,.92388,.84596,.96186,.95119,1.03075,.922,.88787,.95829,.88,.93559,.93859,.78815,.93758,1,.89217,1.03737,.91123,.93969,.77487,.85769,.86799,1.03075,.91123,.93859,.91123,.86799,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87832,.979,.87832,.979,.87832,.979,.77512,.882,.9219,1,.89903,1,1,1,.87321,.87321,.87321,1,1.027,1.027,1.027,.86847,.86847,.79121,1,1.124,1,1,.73572,.73572,1,1,.85034,1,1,1,1,.88465,1,1,1,.669,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.04828,1,.74948,.75187,1.02058,.98391,1.02119,1,1,1.06233,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05233,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],Us={lineHeight:1.2,lineGap:.2},Xs=[1.36898,1,1,.76305,.82784,.94935,.89364,.92241,.89073,.90706,.98472,.85283,.85283,1.0664,1.02058,.74505,.9219,.74505,1.23456,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.74505,.74505,1.02058,1.02058,1.02058,.73002,.72601,.91755,.8126,.80314,.92222,.73764,.79726,.83051,.90284,.86023,.74,.8126,.84869,.96518,.91115,.8858,.79761,.8858,.74498,.73914,.81363,.89591,.83659,.89633,.85608,.8111,.90531,1.0222,1.22736,1.0222,1.27014,.89903,.90088,.86667,1.0231,.896,1.01411,.90083,1.05099,1.00512,.99793,1.05326,1.09377,.938,1.06226,1.00119,.99793,.98714,1.0231,1.01231,.98196,.792,1.19137,.99074,.962,1.01915,.926,.942,.856,.85034,.92006,.85034,1.02058,.69067,.92241,.92241,.92241,.92241,.92006,.9332,.90088,.91882,.93484,.75339,1.02058,.56866,.54324,.79519,1.08595,1,1,.90088,1,.95325,.74505,.90088,1,.97198,.75339,.91009,.91009,.91009,.66466,.91755,.91755,.91755,.91755,.91755,.91755,.788,.80314,.73764,.73764,.73764,.73764,.86023,.86023,.86023,.86023,.92915,.91115,.8858,.8858,.8858,.8858,.8858,1.02058,.8858,.89591,.89591,.89591,.89591,.8111,.79611,.89713,.86667,.86667,.86667,.86667,.86667,.86667,.86936,.896,.90083,.90083,.90083,.90083,.84224,.84224,.84224,.84224,.97276,.99793,.98714,.98714,.98714,.98714,.98714,1.08595,.89876,.99074,.99074,.99074,.99074,.942,1.0231,.942,.91755,.86667,.91755,.86667,.91755,.86667,.80314,.896,.80314,.896,.80314,.896,.80314,.896,.92222,.93372,.92915,1.01411,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.83051,1.00512,.83051,1.00512,.83051,1.00512,1,1,.90284,.99793,.90976,.99793,.86023,.84224,.86023,.84224,.86023,.84224,.86023,1.05326,.86023,.84224,.82873,1.07469,.74,1.09377,1,1,.938,.84869,1.06226,1,1,.84869,.83704,.84869,.81441,.85588,1.08927,.91115,.99793,1,1,.91115,.99793,.91887,.90991,.99793,.8858,.98714,.8858,.98714,.8858,.98714,.894,.91434,.74498,.98196,1,1,.74498,.98196,.73914,.792,.73914,.792,1,1,.73914,.792,1,1,.81363,.904,.81363,1.19137,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89633,1.01915,.8111,.942,.8111,.90531,.856,.90531,.856,.90531,.856,1,.92241,.91755,.86667,.788,.86936,.8858,.89876,1,1,.81363,1.19137,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90388,1.03901,.92138,.78105,.7154,.86169,.80513,.94007,.82528,.98612,1.06226,.91755,.8126,.81884,.92819,.73764,.90531,.90284,.8858,.86023,.8126,.91172,.96518,.91115,.83089,.8858,.87791,.79761,.89297,.81363,.88157,.89992,.85608,.81992,.94307,.86023,.88157,.95308,.98699,.99793,1.06226,.95817,.95308,.97358,.928,.98088,.98699,.92761,.99793,.96017,1.06226,.986,.944,.95978,.938,.96705,.98714,.80442,.98972,1,.89762,1.04552,.95817,.99007,.87064,.91879,.88888,1.06226,.95817,.98714,.95817,.88888,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.89633,1.01915,.89633,1.01915,.89633,1.01915,.8111,.942,.9219,1,.89903,1,1,1,.93173,.93173,.93173,1,1.06304,1.06304,1.06904,.89903,.89903,.80549,1,1.156,1,1,.76575,.76575,1,1,.72458,1,1,1,1,.92241,1,1,1,.619,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.07257,1,.74705,.71119,1.02058,1.024,1.02119,1,1,1.1536,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05638,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],Ws={lineHeight:1.2,lineGap:.2},Ks=[1.76738,1,1,.99297,.9824,1.04016,1.06497,1.03424,.97529,1.17647,1.23203,1.1085,1.1085,1.16939,1.2107,.9754,1.21408,.9754,1.59578,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,.81378,.81378,1.2107,1.2107,1.2107,.71703,.97847,.97363,.88776,.8641,1.02096,.79795,.85132,.914,1.06085,1.1406,.8007,.89858,.83693,1.14889,1.09398,.97489,.92094,.97489,.90399,.84041,.95923,1.00135,1,1.06467,.98243,.90996,.99361,1.1085,1.56942,1.1085,1.2107,.74627,.94282,.96752,1.01519,.86304,1.01359,.97278,1.15103,1.01359,.98561,1.02285,1.02285,1.00527,1.02285,1.0302,.99041,1.0008,1.01519,1.01359,1.02258,.79104,1.16862,.99041,.97454,1.02511,.99298,.96752,.95801,.94856,1.16579,.94856,1.2107,.9824,1.03424,1.03424,1,1.03424,1.16579,.8727,1.3871,1.18622,1.10818,1.04478,1.2107,1.18622,.75155,.94994,1.28826,1.21408,1.21408,.91056,1,.91572,.9754,.64663,1.18328,1.24866,1.04478,1.14169,1.15749,1.17389,.71703,.97363,.97363,.97363,.97363,.97363,.97363,.93506,.8641,.79795,.79795,.79795,.79795,1.1406,1.1406,1.1406,1.1406,1.02096,1.09398,.97426,.97426,.97426,.97426,.97426,1.2107,.97489,1.00135,1.00135,1.00135,1.00135,.90996,.92094,1.02798,.96752,.96752,.96752,.96752,.96752,.96752,.93136,.86304,.97278,.97278,.97278,.97278,1.02285,1.02285,1.02285,1.02285,.97122,.99041,1,1,1,1,1,1.28826,1.0008,.99041,.99041,.99041,.99041,.96752,1.01519,.96752,.97363,.96752,.97363,.96752,.97363,.96752,.8641,.86304,.8641,.86304,.8641,.86304,.8641,.86304,1.02096,1.03057,1.02096,1.03517,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.914,1.01359,.914,1.01359,.914,1.01359,1,1,1.06085,.98561,1.06085,1.00879,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,.97138,1.08692,.8007,1.02285,1,1,1.00527,.83693,1.02285,1,1,.83693,.9455,.83693,.90418,.83693,1.13005,1.09398,.99041,1,1,1.09398,.99041,.96692,1.09251,.99041,.97489,1.0008,.97489,1.0008,.97489,1.0008,.93994,.97931,.90399,1.02258,1,1,.90399,1.02258,.84041,.79104,.84041,.79104,.84041,.79104,.84041,.79104,1,1,.95923,1.07034,.95923,1.16862,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.06467,1.02511,.90996,.96752,.90996,.99361,.95801,.99361,.95801,.99361,.95801,1.07733,1.03424,.97363,.96752,.93506,.93136,.97489,1.0008,1,1,.95923,1.16862,1.15103,1.15103,1.01173,1.03959,.75953,.81378,.79912,1.15103,1.21994,.95161,.87815,1.01149,.81525,.7676,.98167,1.01134,1.02546,.84097,1.03089,1.18102,.97363,.88776,.85134,.97826,.79795,.99361,1.06085,.97489,1.1406,.89858,1.0388,1.14889,1.09398,.86039,.97489,1.0595,.92094,.94793,.95923,.90996,.99346,.98243,1.02112,.95493,1.1406,.90996,1.03574,1.02597,1.0008,1.18102,1.06628,1.03574,1.0192,1.01932,1.00886,.97531,1.0106,1.0008,1.13189,1.18102,1.02277,.98683,1.0016,.99561,1.07237,1.0008,.90434,.99921,.93803,.8965,1.23085,1.06628,1.04983,.96268,1.0499,.98439,1.18102,1.06628,1.0008,1.06628,.98439,.79795,1,1,1,1,1,1,1,1,1,1,1,1,1.09466,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.97278,1,1,1,1,1,1,1,1,1,1,1,1,1.02065,1,1,1,1,1,1,1.06467,1.02511,1.06467,1.02511,1.06467,1.02511,.90996,.96752,1,1.21408,.89903,1,1,.75155,1.04394,1.04394,1.04394,1.04394,.98633,.98633,.98633,.73047,.73047,1.20642,.91211,1.25635,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.12454,.93503,1.03424,1.19687,1.03424,1,1,1,.771,1,1,1.15749,1.15749,1.15749,1.10948,.86279,.94434,.86279,.94434,.86182,1,1,1.16897,1,.96085,.90137,1.2107,1.18416,1.13973,.69825,.9716,2.10339,1.29004,1.29004,1.21172,1.29004,1.29004,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18874,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.09193,1.09193,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],Gs={lineHeight:1.33008,lineGap:0},Vs=[1.76738,1,1,.98946,1.03959,1.04016,1.02809,1.036,.97639,1.10953,1.23203,1.11144,1.11144,1.16939,1.21237,.9754,1.21261,.9754,1.59754,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,.81378,.81378,1.21237,1.21237,1.21237,.73541,.97847,.97363,.89723,.87897,1.0426,.79429,.85292,.91149,1.05815,1.1406,.79631,.90128,.83853,1.04396,1.10615,.97552,.94436,.97552,.88641,.80527,.96083,1.00135,1,1.06777,.9817,.91142,.99361,1.11144,1.57293,1.11144,1.21237,.74627,1.31818,1.06585,.97042,.83055,.97042,.93503,1.1261,.97042,.97922,1.14236,.94552,1.01054,1.14236,1.02471,.97922,.94165,.97042,.97042,1.0276,.78929,1.1261,.97922,.95874,1.02197,.98507,.96752,.97168,.95107,1.16579,.95107,1.21237,1.03959,1.036,1.036,1,1.036,1.16579,.87357,1.31818,1.18754,1.26781,1.05356,1.21237,1.18622,.79487,.94994,1.29004,1.24047,1.24047,1.31818,1,.91484,.9754,1.31818,1.1349,1.24866,1.05356,1.13934,1.15574,1.17389,.73541,.97363,.97363,.97363,.97363,.97363,.97363,.94385,.87897,.79429,.79429,.79429,.79429,1.1406,1.1406,1.1406,1.1406,1.0426,1.10615,.97552,.97552,.97552,.97552,.97552,1.21237,.97552,1.00135,1.00135,1.00135,1.00135,.91142,.94436,.98721,1.06585,1.06585,1.06585,1.06585,1.06585,1.06585,.96705,.83055,.93503,.93503,.93503,.93503,1.14236,1.14236,1.14236,1.14236,.93125,.97922,.94165,.94165,.94165,.94165,.94165,1.29004,.94165,.97922,.97922,.97922,.97922,.96752,.97042,.96752,.97363,1.06585,.97363,1.06585,.97363,1.06585,.87897,.83055,.87897,.83055,.87897,.83055,.87897,.83055,1.0426,1.0033,1.0426,.97042,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.91149,.97042,.91149,.97042,.91149,.97042,1,1,1.05815,.97922,1.05815,.97922,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,.97441,1.04302,.79631,1.01582,1,1,1.01054,.83853,1.14236,1,1,.83853,1.09125,.83853,.90418,.83853,1.19508,1.10615,.97922,1,1,1.10615,.97922,1.01034,1.10466,.97922,.97552,.94165,.97552,.94165,.97552,.94165,.91602,.91981,.88641,1.0276,1,1,.88641,1.0276,.80527,.78929,.80527,.78929,.80527,.78929,.80527,.78929,1,1,.96083,1.05403,.95923,1.16862,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.06777,1.02197,.91142,.96752,.91142,.99361,.97168,.99361,.97168,.99361,.97168,1.23199,1.036,.97363,1.06585,.94385,.96705,.97552,.94165,1,1,.96083,1.1261,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,.95161,1.27126,1.00811,.83284,.77702,.99137,.95253,1.0347,.86142,1.07205,1.14236,.97363,.89723,.86869,1.09818,.79429,.99361,1.05815,.97552,1.1406,.90128,1.06662,1.04396,1.10615,.84918,.97552,1.04694,.94436,.98015,.96083,.91142,1.00356,.9817,1.01945,.98999,1.1406,.91142,1.04961,.9898,1.00639,1.14236,1.07514,1.04961,.99607,1.02897,1.008,.9898,.95134,1.00639,1.11121,1.14236,1.00518,.97981,1.02186,1,1.08578,.94165,.99314,.98387,.93028,.93377,1.35125,1.07514,1.10687,.93491,1.04232,1.00351,1.14236,1.07514,.94165,1.07514,1.00351,.79429,1,1,1,1,1,1,1,1,1,1,1,1,1.09097,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.93503,1,1,1,1,1,1,1,1,1,1,1,1,.96609,1,1,1,1,1,1,1.06777,1.02197,1.06777,1.02197,1.06777,1.02197,.91142,.96752,1,1.21261,.89903,1,1,.75155,1.04745,1.04745,1.04745,1.04394,.98633,.98633,.98633,.72959,.72959,1.20502,.91406,1.26514,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.09125,.93327,1.03336,1.16541,1.036,1,1,1,.771,1,1,1.15574,1.15574,1.15574,1.15574,.86364,.94434,.86279,.94434,.86224,1,1,1.16798,1,.96085,.90068,1.21237,1.18416,1.13904,.69825,.9716,2.10339,1.29004,1.29004,1.21339,1.29004,1.29004,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18775,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.13269,1.13269,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],$s={lineHeight:1.33008,lineGap:0},Ys=[1.76738,1,1,.98946,1.14763,1.05365,1.06234,.96927,.92586,1.15373,1.18414,.91349,.91349,1.07403,1.17308,.78383,1.20088,.78383,1.42531,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78383,.78383,1.17308,1.17308,1.17308,.77349,.94565,.94729,.85944,.88506,.9858,.74817,.80016,.88449,.98039,.95782,.69238,.89898,.83231,.98183,1.03989,.96924,.86237,.96924,.80595,.74524,.86091,.95402,.94143,.98448,.8858,.83089,.93285,1.0949,1.39016,1.0949,1.45994,.74627,1.04839,.97454,.97454,.87207,.97454,.87533,1.06151,.97454,1.00176,1.16484,1.08132,.98047,1.16484,1.02989,1.01054,.96225,.97454,.97454,1.06598,.79004,1.16344,1.00351,.94629,.9973,.91016,.96777,.9043,.91082,.92481,.91082,1.17308,.95748,.96927,.96927,1,.96927,.92481,.80597,1.04839,1.23393,1.1781,.9245,1.17308,1.20808,.63218,.94261,1.24822,1.09971,1.09971,1.04839,1,.85273,.78032,1.04839,1.09971,1.22326,.9245,1.09836,1.13525,1.15222,.70424,.94729,.94729,.94729,.94729,.94729,.94729,.85498,.88506,.74817,.74817,.74817,.74817,.95782,.95782,.95782,.95782,.9858,1.03989,.96924,.96924,.96924,.96924,.96924,1.17308,.96924,.95402,.95402,.95402,.95402,.83089,.86237,.88409,.97454,.97454,.97454,.97454,.97454,.97454,.92916,.87207,.87533,.87533,.87533,.87533,.93146,.93146,.93146,.93146,.93854,1.01054,.96225,.96225,.96225,.96225,.96225,1.24822,.8761,1.00351,1.00351,1.00351,1.00351,.96777,.97454,.96777,.94729,.97454,.94729,.97454,.94729,.97454,.88506,.87207,.88506,.87207,.88506,.87207,.88506,.87207,.9858,.95391,.9858,.97454,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.88449,.97454,.88449,.97454,.88449,.97454,1,1,.98039,1.00176,.98039,1.00176,.95782,.93146,.95782,.93146,.95782,.93146,.95782,1.16484,.95782,.93146,.84421,1.12761,.69238,1.08132,1,1,.98047,.83231,1.16484,1,1,.84723,1.04861,.84723,.78755,.83231,1.23736,1.03989,1.01054,1,1,1.03989,1.01054,.9857,1.03849,1.01054,.96924,.96225,.96924,.96225,.96924,.96225,.92383,.90171,.80595,1.06598,1,1,.80595,1.06598,.74524,.79004,.74524,.79004,.74524,.79004,.74524,.79004,1,1,.86091,1.02759,.85771,1.16344,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.98448,.9973,.83089,.96777,.83089,.93285,.9043,.93285,.9043,.93285,.9043,1.31868,.96927,.94729,.97454,.85498,.92916,.96924,.8761,1,1,.86091,1.16344,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,.81965,.81965,.94729,.78032,.71022,.90883,.84171,.99877,.77596,1.05734,1.2,.94729,.85944,.82791,.9607,.74817,.93285,.98039,.96924,.95782,.89898,.98316,.98183,1.03989,.78614,.96924,.97642,.86237,.86075,.86091,.83089,.90082,.8858,.97296,1.01284,.95782,.83089,1.0976,1.04,1.03342,1.2,1.0675,1.0976,.98205,1.03809,1.05097,1.04,.95364,1.03342,1.05401,1.2,1.02148,1.0119,1.04724,1.0127,1.02732,.96225,.8965,.97783,.93574,.94818,1.30679,1.0675,1.11826,.99821,1.0557,1.0326,1.2,1.0675,.96225,1.0675,1.0326,.74817,1,1,1,1,1,1,1,1,1,1,1,1,1.03754,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87533,1,1,1,1,1,1,1,1,1,1,1,1,.98705,1,1,1,1,1,1,.98448,.9973,.98448,.9973,.98448,.9973,.83089,.96777,1,1.20088,.89903,1,1,.75155,.94945,.94945,.94945,.94945,1.12317,1.12317,1.12317,.67603,.67603,1.15621,.73584,1.21191,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87709,.96927,1.01473,.96927,1,1,1,.77295,1,1,1.09836,1.09836,1.09836,1.01522,.86321,.94434,.8649,.94434,.86182,1,1,1.083,1,.91578,.86438,1.17308,1.18416,1.14589,.69825,.97622,1.96791,1.24822,1.24822,1.17308,1.24822,1.24822,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.17984,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10742,1.10742,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],Js={lineHeight:1.33008,lineGap:0},Qs=[1.76738,1,1,.98594,1.02285,1.10454,1.06234,.96927,.92037,1.19985,1.2046,.90616,.90616,1.07152,1.1714,.78032,1.20088,.78032,1.40246,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78032,.78032,1.1714,1.1714,1.1714,.80597,.94084,.96706,.85944,.85734,.97093,.75842,.79936,.88198,.9831,.95782,.71387,.86969,.84636,1.07796,1.03584,.96924,.83968,.96924,.82826,.79649,.85771,.95132,.93119,.98965,.88433,.8287,.93365,1.08612,1.3638,1.08612,1.45786,.74627,.80499,.91484,1.05707,.92383,1.05882,.9403,1.12654,1.05882,1.01756,1.09011,1.09011,.99414,1.09011,1.034,1.01756,1.05356,1.05707,1.05882,1.04399,.84863,1.21968,1.01756,.95801,1.00068,.91797,.96777,.9043,.90351,.92105,.90351,1.1714,.85337,.96927,.96927,.99912,.96927,.92105,.80597,1.2434,1.20808,1.05937,.90957,1.1714,1.20808,.75155,.94261,1.24644,1.09971,1.09971,.84751,1,.85273,.78032,.61584,1.05425,1.17914,.90957,1.08665,1.11593,1.14169,.73381,.96706,.96706,.96706,.96706,.96706,.96706,.86035,.85734,.75842,.75842,.75842,.75842,.95782,.95782,.95782,.95782,.97093,1.03584,.96924,.96924,.96924,.96924,.96924,1.1714,.96924,.95132,.95132,.95132,.95132,.8287,.83968,.89049,.91484,.91484,.91484,.91484,.91484,.91484,.93575,.92383,.9403,.9403,.9403,.9403,.8717,.8717,.8717,.8717,1.00527,1.01756,1.05356,1.05356,1.05356,1.05356,1.05356,1.24644,.95923,1.01756,1.01756,1.01756,1.01756,.96777,1.05707,.96777,.96706,.91484,.96706,.91484,.96706,.91484,.85734,.92383,.85734,.92383,.85734,.92383,.85734,.92383,.97093,1.0969,.97093,1.05882,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.88198,1.05882,.88198,1.05882,.88198,1.05882,1,1,.9831,1.01756,.9831,1.01756,.95782,.8717,.95782,.8717,.95782,.8717,.95782,1.09011,.95782,.8717,.84784,1.11551,.71387,1.09011,1,1,.99414,.84636,1.09011,1,1,.84636,1.0536,.84636,.94298,.84636,1.23297,1.03584,1.01756,1,1,1.03584,1.01756,1.00323,1.03444,1.01756,.96924,1.05356,.96924,1.05356,.96924,1.05356,.93066,.98293,.82826,1.04399,1,1,.82826,1.04399,.79649,.84863,.79649,.84863,.79649,.84863,.79649,.84863,1,1,.85771,1.17318,.85771,1.21968,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.98965,1.00068,.8287,.96777,.8287,.93365,.9043,.93365,.9043,.93365,.9043,1.08571,.96927,.96706,.91484,.86035,.93575,.96924,.95923,1,1,.85771,1.21968,1.11437,1.11437,.93109,.91202,.60411,.84164,.55572,1.01173,.97361,.81818,.81818,.96635,.78032,.72727,.92366,.98601,1.03405,.77968,1.09799,1.2,.96706,.85944,.85638,.96491,.75842,.93365,.9831,.96924,.95782,.86969,.94152,1.07796,1.03584,.78437,.96924,.98715,.83968,.83491,.85771,.8287,.94492,.88433,.9287,1.0098,.95782,.8287,1.0625,.98248,1.03424,1.2,1.01071,1.0625,.95246,1.03809,1.04912,.98248,1.00221,1.03424,1.05443,1.2,1.04785,.99609,1.00169,1.05176,.99346,1.05356,.9087,1.03004,.95542,.93117,1.23362,1.01071,1.07831,1.02512,1.05205,1.03502,1.2,1.01071,1.05356,1.01071,1.03502,.75842,1,1,1,1,1,1,1,1,1,1,1,1,1.03719,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.9403,1,1,1,1,1,1,1,1,1,1,1,1,1.04021,1,1,1,1,1,1,.98965,1.00068,.98965,1.00068,.98965,1.00068,.8287,.96777,1,1.20088,.89903,1,1,.75155,1.03077,1.03077,1.03077,1.03077,1.13196,1.13196,1.13196,.67428,.67428,1.16039,.73291,1.20996,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87796,.96927,1.01518,.96927,1,1,1,.77295,1,1,1.10539,1.10539,1.11358,1.06967,.86279,.94434,.86279,.94434,.86182,1,1,1.083,1,.91578,.86507,1.1714,1.18416,1.14589,.69825,.97622,1.9697,1.24822,1.24822,1.17238,1.24822,1.24822,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18083,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10938,1.10938,1,1,1,1.05425,1.09971,1.09971,1.09971,1,1,1,1,1,1,1,1,1,1,1],Zs={lineHeight:1.33008,lineGap:0},er=getLookupTableFactory(function(e){e["MyriadPro-Regular"]=e["PdfJS-Fallback-Regular"]={name:"LiberationSans-Regular",factors:Xs,baseWidths:Ds,baseMapping:Ms,metrics:Ws};e["MyriadPro-Bold"]=e["PdfJS-Fallback-Bold"]={name:"LiberationSans-Bold",factors:Ns,baseWidths:Fs,baseMapping:Ts,metrics:_s};e["MyriadPro-It"]=e["MyriadPro-Italic"]=e["PdfJS-Fallback-Italic"]={name:"LiberationSans-Italic",factors:Ls,baseWidths:Hs,baseMapping:Bs,metrics:Us};e["MyriadPro-BoldIt"]=e["MyriadPro-BoldItalic"]=e["PdfJS-Fallback-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:Es,baseWidths:Os,baseMapping:Rs,metrics:zs};e.ArialMT=e.Arial=e["Arial-Regular"]={name:"LiberationSans-Regular",baseWidths:Ds,baseMapping:Ms};e["Arial-BoldMT"]=e["Arial-Bold"]={name:"LiberationSans-Bold",baseWidths:Fs,baseMapping:Ts};e["Arial-ItalicMT"]=e["Arial-Italic"]={name:"LiberationSans-Italic",baseWidths:Hs,baseMapping:Bs};e["Arial-BoldItalicMT"]=e["Arial-BoldItalic"]={name:"LiberationSans-BoldItalic",baseWidths:Os,baseMapping:Rs};e["Calibri-Regular"]={name:"LiberationSans-Regular",factors:js,baseWidths:Ds,baseMapping:Ms,metrics:ks};e["Calibri-Bold"]={name:"LiberationSans-Bold",factors:ms,baseWidths:Fs,baseMapping:Ts,metrics:ps};e["Calibri-Italic"]={name:"LiberationSans-Italic",factors:bs,baseWidths:Hs,baseMapping:Bs,metrics:ws};e["Calibri-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:ds,baseWidths:Os,baseMapping:Rs,metrics:gs};e["Segoeui-Regular"]={name:"LiberationSans-Regular",factors:Qs,baseWidths:Ds,baseMapping:Ms,metrics:Zs};e["Segoeui-Bold"]={name:"LiberationSans-Bold",factors:Ks,baseWidths:Fs,baseMapping:Ts,metrics:Gs};e["Segoeui-Italic"]={name:"LiberationSans-Italic",factors:Ys,baseWidths:Hs,baseMapping:Bs,metrics:Js};e["Segoeui-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:Vs,baseWidths:Os,baseMapping:Rs,metrics:$s};e["Helvetica-Regular"]=e.Helvetica={name:"LiberationSans-Regular",factors:Cs,baseWidths:Ds,baseMapping:Ms,metrics:Is};e["Helvetica-Bold"]={name:"LiberationSans-Bold",factors:ys,baseWidths:Fs,baseMapping:Ts,metrics:qs};e["Helvetica-Italic"]={name:"LiberationSans-Italic",factors:As,baseWidths:Hs,baseMapping:Bs,metrics:xs};e["Helvetica-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:vs,baseWidths:Os,baseMapping:Rs,metrics:Ss}});function getXfaFontName(e){const t=normalizeFontName(e);return er()[t]}function getXfaFontDict(e){const t=function getXfaFontWidths(e){const t=getXfaFontName(e);if(!t)return null;const{baseWidths:a,baseMapping:n,factors:s}=t,r=s?a.map((e,t)=>e*s[t]):a;let i,o=-2;const l=[];for(const[e,t]of n.map((e,t)=>[e,t]).sort(([e],[t])=>e-t))if(-1!==e)if(e===o+1){i.push(r[t]);o+=1}else{o=e;i=[r[t]];l.push(e,i)}return l}(e),a=new Dict(null);a.set("BaseFont",Name.get(e));a.set("Type",Name.get("Font"));a.set("Subtype",Name.get("CIDFontType2"));a.set("Encoding",Name.get("Identity-H"));a.set("CIDToGIDMap",Name.get("Identity"));a.set("W",t);a.set("FirstChar",t[0]);a.set("LastChar",t.at(-2)+t.at(-1).length-1);const n=new Dict(null);a.set("FontDescriptor",n);const s=new Dict(null);s.set("Ordering","Identity");s.set("Registry","Adobe");s.set("Supplement",0);a.set("CIDSystemInfo",s);return a}const tr={number:0,lbrace:1,rbrace:2,true:3,false:4,add:5,sub:6,mul:7,div:8,idiv:9,mod:10,exp:11,eq:12,ne:13,gt:14,ge:15,lt:16,le:17,and:18,or:19,xor:20,bitshift:21,abs:22,neg:23,ceiling:24,floor:25,round:26,truncate:27,not:28,sqrt:29,sin:30,cos:31,ln:32,log:33,atan:34,cvi:35,cvr:36,dup:37,exch:38,pop:39,copy:40,index:41,roll:42,if:43,ifelse:44,eof:45,min:46,max:47};class Token{constructor(e,t=null){this.id=e;this.value=t}}class lexer_Lexer{static#me=null;static#pe=null;static#de(){const e=Object.create(null),t=Object.create(null);for(const[a,n]of Object.entries(tr)){if("number"===a)continue;const s=n>=tr.true&&n<=tr.ifelse,r=new Token(n,s?a:null);e[a]=r;s&&(t[a]=r)}this.#me=e;this.#pe=t}constructor(e){lexer_Lexer.#me||lexer_Lexer.#de();this.data=e;this.pos=0;this.len=e.length;this._numberPattern=/[+-]?(?:\d+\.?\d*|\.\d+)(?:e[+-]?\d+)?/iy;this._identifierPattern=/[a-z]+/y}_skipComment(){const e=this.data.indexOf("\n",this.pos),t=this.data.indexOf("\r",this.pos),a=Math.min(e<0?this.len:e,t<0?this.len:t);this.pos=Math.min(a+1,this.len)}_getNumber(){this._numberPattern.lastIndex=this.pos;const e=this._numberPattern.exec(this.data);if(!e)return new Token(tr.number,0);const t=parseFloat(e[0]);if(!Number.isFinite(t))return new Token(tr.number,0);this.pos=this._numberPattern.lastIndex;return new Token(tr.number,t)}_getOperator(){this._identifierPattern.lastIndex=this.pos;const e=this._identifierPattern.exec(this.data);if(!e)return new Token(tr.number,0);this.pos=this._identifierPattern.lastIndex;const t=e[0],a=lexer_Lexer.#pe[t];return a||new Token(tr.number,0)}next(){for(;this.pos=48&&e<=57){this.pos--;return this._getNumber()}if(e>=97&&e<=122){this.pos--;return this._getOperator()}return new Token(tr.number,0)}}return lexer_Lexer.#me.eof}}const ar=0,nr=1,sr=2,rr=0,ir=1,or=2,lr=3,fr=4,cr=5,hr=6,ur=7,mr=8,pr=9,dr=10;class PsNode{constructor(e){this.type=e}}class PsProgram extends PsNode{constructor(e){super(rr);this.body=e}}class PsBlock extends PsNode{constructor(e){super(ir);this.instructions=e}}class PsNumber extends PsNode{constructor(e){super(or);this.value=e}}class PsOperator extends PsNode{constructor(e){super(lr);this.op=e}}class PsIf extends PsNode{constructor(e){super(fr);this.then=e}}class PsIfElse extends PsNode{constructor(e,t){super(cr);this.then=e;this.otherwise=t}}class PsArgNode extends PsNode{constructor(e){super(hr);this.index=e;this.valueType=ar}}class PsConstNode extends PsNode{constructor(e){super(ur);this.value=e;this.valueType="boolean"==typeof e?nr:ar}}class PsUnaryNode extends PsNode{constructor(e,t,a=sr){super(mr);this.op=e;this.operand=t;this.valueType=a}}class PsBinaryNode extends PsNode{constructor(e,t,a,n=sr){super(pr);this.op=e;this.first=t;this.second=a;this.valueType=n}}class PsTernaryNode extends PsNode{constructor(e,t,a,n=sr){super(dr);this.cond=e;this.then=t;this.otherwise=a;this.valueType=n}}class ast_Parser{constructor(e){this.lexer=e;this._token=null}static _isRegularOperator(e){return e>=tr.true&&egr)return null;const a=[];for(let e=0;e{if(!e||e.type===hr||e.type===ur)return;const a=t.get(e)??0;t.set(e,a+1);if(!(a>0))switch(e.type){case mr:visit(e.operand);break;case pr:visit(e.first);visit(e.second);break;case dr:visit(e.cond);visit(e.then);visit(e.otherwise)}};for(const t of e)visit(t);for(const[e,a]of t)if(a>1){e.shared=!0;e.sharedCount=a}}_evalBlock(e,t){this._evalBlockFrom(e.instructions,0,t)}_evalBlockFrom(e,t,a){for(let n=t;ngr&&(this._failed=!0);break;case lr:this._evalOp(t.op,a);break;case fr:{if(a.length<1){this._failed=!0;break}const s=a.pop(),r=a.slice();this._evalBlock(t.then,a);if(this._failed)break;if(a.length===r.length)for(let e=0;er.length){if(s.type===ur){if(!s.value){a.length=0;a.push(...r)}break}const t=a.slice();this._evalBlockFrom(e,n+1,t);if(this._failed)break;const i=r;this._evalBlockFrom(e,n+1,i);if(this._failed)break;if(t.length!==i.length){const e=new PsConstNode(0);for(;t.lengthgr&&(this._failed=!0);break;case tr.false:t.push(new PsConstNode(!1));t.length>gr&&(this._failed=!0);break;case tr.dup:if(t.length<1){this._failed=!0;break}t.push(t.at(-1));t.length>gr&&(this._failed=!0);break;case tr.exch:{if(t.length<2){this._failed=!0;break}const e=t.pop(),a=t.pop();t.push(e,a);break}case tr.pop:if(t.length<1){this._failed=!0;break}t.pop();break;case tr.copy:{if(t.length<1){this._failed=!0;break}const e=t.pop();if(e.type===ur){const a=0|e.value;if(0===a);else if(a<0||a>t.length)this._failed=!0;else{t.push(...t.slice(-a));t.length>gr&&(this._failed=!0)}}else this._failed=!0;break}case tr.index:{if(t.length<1){this._failed=!0;break}const e=t.pop();if(e.type===ur){const a=0|e.value;a<0||a>=t.length?this._failed=!0:t.push(t.at(-a-1))}else this._failed=!0;break}case tr.roll:{if(t.length<2){this._failed=!0;break}const e=t.pop(),a=t.pop();if(a.type===ur&&e.type===ur){const n=0|a.value;if(0===n);else if(n<0||n>t.length)this._failed=!0;else{const a=((0|e.value)%n+n)%n;if(a>0){const e=t.splice(-n,n);t.push(...e.slice(n-a),...e.slice(0,n-a))}}}else this._failed=!0;break}default:this._failed=!0}}_makeBinary(e,t,a){if(t.type===ur&&a.type===ur){const n=function _evalBinaryConst(e,t,a){switch(e){case tr.add:return t+a;case tr.sub:return t-a;case tr.mul:return t*a;case tr.div:return 0!==a?t/a:0;case tr.idiv:return 0!==a?Math.trunc(t/a):0;case tr.mod:return 0!==a?t-Math.trunc(t/a)*a:0;case tr.exp:{const e=t**a;return Number.isFinite(e)?e:void 0}case tr.atan:{let e=Math.atan2(t,a)*(180/Math.PI);e<0&&(e+=360);return e}case tr.eq:return t===a;case tr.ne:return t!==a;case tr.gt:return t>a;case tr.ge:return t>=a;case tr.lt:return t=0?t<>-a|0;case tr.min:return Math.min(t,a);case tr.max:return Math.max(t,a);default:return}}(e,a.value,t.value);if(void 0!==n)return new PsConstNode(n)}if(_nodesEqual(t,a))switch(e){case tr.sub:return new PsConstNode(0);case tr.xor:return new PsConstNode(t.valueType!==nr&&0);case tr.and:case tr.or:case tr.min:case tr.max:return t;case tr.eq:case tr.ge:case tr.le:return new PsConstNode(!0);case tr.ne:case tr.gt:case tr.lt:return new PsConstNode(!1)}if(t.type===ur){const n=t.value;switch(e){case tr.add:case tr.sub:if(0===n)return a;break;case tr.mul:if(1===n)return a;if(0===n)return t;if(-1===n)return this._makeUnary(tr.neg,a);break;case tr.div:if(0!==n)return this._makeBinary(tr.mul,new PsConstNode(1/n),a);break;case tr.idiv:if(1===n)return a;break;case tr.exp:if(1===n)return a;if(-1===n)return this._makeBinary(tr.div,a,new PsConstNode(1));if(.5===n)return this._makeUnary(tr.sqrt,a);if(.25===n){const e=this._makeUnary(tr.sqrt,a);return this._makeUnary(tr.sqrt,e)}if(2===n)return this._makeBinary(tr.mul,a,a);if(3===n)return this._makeBinary(tr.mul,this._makeBinary(tr.mul,a,a),a);if(4===n){const e=this._makeBinary(tr.mul,a,a);return this._makeBinary(tr.mul,e,e)}if(0===n)return new PsConstNode(1);break;case tr.and:if(!0===n)return a;if(!1===n)return t;break;case tr.or:if(!1===n)return a;if(!0===n)return t;break;case tr.min:if(a.type===pr&&a.op===tr.max&&a.first.type===ur&&a.first.value>=n)return t;break;case tr.max:if(a.type===pr&&a.op===tr.min&&a.first.type===ur&&a.first.value<=n)return t}}if(a.type===ur){const n=a.value;switch(e){case tr.add:if(0===n)return t;break;case tr.sub:if(0===n)return this._makeUnary(tr.neg,t);break;case tr.mul:if(1===n)return t;if(0===n)return a;if(-1===n)return this._makeUnary(tr.neg,t);break;case tr.and:if(!0===n)return t;if(!1===n)return a;break;case tr.or:if(!1===n)return t;if(!0===n)return a}}return new PsBinaryNode(e,t,a,function _binaryValueType(e,t,a){switch(e){case tr.eq:case tr.ne:case tr.gt:case tr.ge:case tr.lt:case tr.le:return nr;case tr.and:case tr.or:case tr.xor:return t===a&&t!==sr?t:sr;default:return ar}}(e,t.valueType,a.valueType))}_makeUnary(e,t){if(t.type===ur){const a=function _evalUnaryConst(e,t){switch(e){case tr.abs:return Math.abs(t);case tr.neg:return-t;case tr.ceiling:return Math.ceil(t);case tr.floor:return Math.floor(t);case tr.round:return Math.round(t);case tr.truncate:return Math.trunc(t);case tr.sqrt:{const e=Math.sqrt(t);return Number.isFinite(e)?e:void 0}case tr.sin:return Math.sin(t%360*Math.PI/180);case tr.cos:return Math.cos(t%360*Math.PI/180);case tr.ln:{const e=Math.log(t);return Number.isFinite(e)?e:void 0}case tr.log:{const e=Math.log10(t);return Number.isFinite(e)?e:void 0}case tr.cvi:return Math.trunc(t);case tr.cvr:return t;case tr.not:return"boolean"==typeof t?!t:~t;default:return}}(e,t.value);if(void 0!==a)return new PsConstNode(a)}if(e===tr.not&&t.type===pr){const e=PSStackToTree.#je.get(t.op);if(void 0!==e)return new PsBinaryNode(e,t.first,t.second,nr)}if(e===tr.neg&&t.type===pr&&t.op===tr.sub)return this._makeBinary(tr.sub,t.second,t.first);if(t.type===mr){if(e===tr.neg&&t.op===tr.neg||e===tr.not&&t.op===tr.not)return t.operand;if(e===tr.abs&&t.op===tr.neg)return this._makeUnary(tr.abs,t.operand);if(PSStackToTree.#we.has(e)&&e===t.op)return t}return new PsUnaryNode(e,t,function _unaryValueType(e,t){return e===tr.not?t:ar}(e,t.valueType))}_makeTernary(e,t,a){if(e.type===ur)return e.value?t:a;if(_nodesEqual(t,a))return t;if(t.type===ur&&a.type===ur){if(!0===t.value&&!1===a.value)return e;if(!1===t.value&&!0===a.value)return this._makeUnary(tr.not,e)}if(e.type===pr){const{op:n,first:s,second:r}=e;if(n===tr.gt||n===tr.ge){if(_nodesEqual(t,s)&&_nodesEqual(a,r))return this._makeBinary(tr.min,s,r);if(_nodesEqual(t,r)&&_nodesEqual(a,s))return this._makeBinary(tr.max,s,r)}else if(n===tr.lt||n===tr.le){if(_nodesEqual(t,s)&&_nodesEqual(a,r))return this._makeBinary(tr.max,s,r);if(_nodesEqual(t,r)&&_nodesEqual(a,s))return this._makeBinary(tr.min,s,r)}}return new PsTernaryNode(e,t,a,t.valueType===a.valueType?t.valueType:sr)}}const br=0,wr=1,jr=2,kr=3,yr=4,qr=5,vr=6,Sr=7,Ar=8,xr=9,Cr=10,Ir=11,Fr=12,Tr=13,Or=14,Rr=15,Hr=16,Dr=17,Mr=18,Nr=19,Pr=20,_r=21,Er=22,zr=23,Lr=24,Ur=25,Xr=26,Wr=27,Kr=28,Gr=29,Vr=30,$r=31,Yr=32,Jr=33,Qr=34,Zr=35,ei=36,ti=37,ai=38,ni=39,si=40,ri=Math.PI/180,ii=180/Math.PI;class PsJsCompiler{static#qe=new Float64Array(64);static#ve=new Float64Array(64);constructor(e,t){this.nIn=e.length>>1;this.nOut=t.length>>1;this.range=t;this.ir=[];this._tmpMap=new Map;this._nextTmp=0}_compileNode(e){if(e.shared){const t=this._tmpMap.get(e);if(void 0!==t){this.ir.push(si,t);return!0}if(!this._compileNodeImpl(e))return!1;const a=this._nextTmp++;this._tmpMap.set(e,a);this.ir.push(ni,a);return!0}return this._compileNodeImpl(e)}_compileNodeImpl(e){switch(e.type){case hr:this.ir.push(br,e.index);return!0;case ur:{const t=e.value;this.ir.push(wr,"boolean"==typeof t?Number(t):t);return!0}case mr:return this._compileUnary(e);case pr:return this._compileBinary(e);case dr:return this._compileTernary(e);default:return!1}}_compileUnary(e){const{op:t,operand:a,valueType:n}=e;if(t===tr.cvr)return this._compileNode(a);if(!this._compileNode(a))return!1;switch(t){case tr.abs:this.ir.push(qr);break;case tr.neg:this.ir.push(vr);break;case tr.ceiling:this.ir.push(Sr);break;case tr.floor:this.ir.push(Ar);break;case tr.round:this.ir.push(xr);break;case tr.truncate:this.ir.push(Cr);break;case tr.sqrt:this.ir.push(Tr);break;case tr.sin:this.ir.push(Or);break;case tr.cos:this.ir.push(Rr);break;case tr.ln:this.ir.push(Hr);break;case tr.log:this.ir.push(Dr);break;case tr.cvi:this.ir.push(Mr);break;case tr.not:if(n===nr)this.ir.push(Ir);else{if(n!==ar)return!1;this.ir.push(Fr)}break;default:return!1}return!0}_compileBinary(e){const{op:t,first:a,second:n}=e;if(t===tr.bitshift){if(a.type!==ur||!Number.isInteger(a.value))return!1;if(!this._compileNode(n))return!1;this.ir.push(Nr,a.value);return!0}if(!this._compileNode(n))return!1;if(!this._compileNode(a))return!1;switch(t){case tr.add:this.ir.push(Pr);break;case tr.sub:this.ir.push(_r);break;case tr.mul:this.ir.push(Er);break;case tr.div:this.ir.push(zr);break;case tr.idiv:this.ir.push(Lr);break;case tr.mod:this.ir.push(Ur);break;case tr.exp:this.ir.push(Xr);break;case tr.eq:this.ir.push(Wr);break;case tr.ne:this.ir.push(Kr);break;case tr.gt:this.ir.push(Gr);break;case tr.ge:this.ir.push(Vr);break;case tr.lt:this.ir.push($r);break;case tr.le:this.ir.push(Yr);break;case tr.and:this.ir.push(Jr);break;case tr.or:this.ir.push(Qr);break;case tr.xor:this.ir.push(Zr);break;case tr.atan:this.ir.push(ei);break;case tr.min:this.ir.push(ti);break;case tr.max:this.ir.push(ai);break;default:return!1}return!0}_compileTernary(e){if(!this._compileNode(e.cond))return!1;this.ir.push(kr,0);const t=this.ir.length-1;if(!this._compileNode(e.then))return!1;this.ir.push(yr,0);const a=this.ir.length-1;this.ir[t]=this.ir.length;if(!this._compileNode(e.otherwise))return!1;this.ir[a]=this.ir.length;return!0}compile(e){const t=(new PSStackToTree).evaluate(e,this.nIn);if(!t||t.length0?a<>-t:a;break}case Pr:{const e=l[--i];l[i-1]+=e;break}case _r:{const e=l[--i];l[i-1]-=e;break}case Er:{const e=l[--i];l[i-1]*=e;break}case zr:{const e=l[--i];l[i-1]=0!==e?l[i-1]/e:0;break}case Lr:{const e=l[--i];l[i-1]=0!==e?Math.trunc(l[i-1]/e):0;break}case Ur:{const e=l[--i];l[i-1]=0!==e?l[i-1]%e:0;break}case Xr:{const e=l[--i];l[i-1]**=e;break}case Wr:{const e=l[--i];l[i-1]=l[i-1]===e?1:0;break}case Kr:{const e=l[--i];l[i-1]=l[i-1]!==e?1:0;break}case Gr:{const e=l[--i];l[i-1]=l[i-1]>e?1:0;break}case Vr:{const e=l[--i];l[i-1]=l[i-1]>=e?1:0;break}case $r:{const e=l[--i];l[i-1]=l[i-1]e?1:0;break}case tr.ge:{const e=t[--this.#Se];t[this.#Se-1]=t[this.#Se-1]>=e?1:0;break}case tr.lt:{const e=t[--this.#Se];t[this.#Se-1]=t[this.#Se-1]0?a<>-e;break}case tr.min:{const e=t[--this.#Se];t[this.#Se-1]=Math.min(t[this.#Se-1],e);break}case tr.max:{const e=t[--this.#Se];t[this.#Se-1]=Math.max(t[this.#Se-1],e);break}case tr.dup:this.#Ae(t[this.#Se-1]);break;case tr.exch:{const e=t[--this.#Se],a=t[--this.#Se];this.#Ae(e);this.#Ae(a);break}case tr.pop:this.#Se--;break;case tr.copy:{const e=Math.trunc(t[--this.#Se]),a=this.#Se-e;for(let n=0;n1&&0!==e){const n=(e%a+a)%a;if(0!==n){const e=this.#Se-a,s=t.slice(e,this.#Se);for(let r=0;r>1,s=a.length>>1,{instructions:r}=e.body;return(e,t,i,o)=>{this.#Se=0;for(let a=0;a=0?this.#qe[l+e]:0;i[o+e]=MathClamp(a[2*e+1],a[2*e],t)}}}}const oi={if:4,else:5,end:11,select:27,call:16,local_get:32,local_set:33,local_tee:34,i32_const:65,i32_eqz:69,i32_and:113,i32_or:114,i32_xor:115,i32_shl:116,i32_shr_s:117,i32_trunc_f64_s:170,f64_const:68,f64_eq:97,f64_ne:98,f64_lt:99,f64_gt:100,f64_le:101,f64_ge:102,f64_abs:153,f64_neg:154,f64_ceil:155,f64_floor:156,f64_trunc:157,f64_nearest:158,f64_sqrt:159,f64_add:160,f64_sub:161,f64_mul:162,f64_div:163,f64_min:164,f64_max:165,f64_convert_i32_s:183,f64_store:57},li=124,fi=1,ci=2,hi=3,ui=5,mi=7,pi=10;function unsignedLEB128(e){const t=[];do{let a=127&e;0!==(e>>>=7)&&(a|=128);t.push(a)}while(0!==e);return t}function encodeASCIIString(e){return[...unsignedLEB128(e.length),...Array.from(e,e=>e.charCodeAt(0))]}function section(e,t){return[e,...unsignedLEB128(t.length),...t]}function vec(e){const t=unsignedLEB128(e.length);for(const a of e)if("number"!=typeof a)for(const e of a)t.push(e);else t.push(a);return t}const di=[["sin","Math","sin",[li],[li]],["cos","Math","cos",[li],[li]],["atan2","Math","atan2",[li,li],[li]],["log","Math","log",[li],[li]],["log10","Math","log10",[li],[li]],["pow","Math","pow",[li,li],[li]]],gi={Math:Object.fromEntries(di.map(([e])=>[e,Math[e]]))};class PsWasmCompiler{static#Ie=!1;static#Fe=null;static#Te=null;static#Oe=0;static#Re=0;static#He=null;static#Be=null;static#De=null;static#Me=null;static#Ne=null;static#Pe=null;static#_e=null;static#Ee=null;static#ke(){this.#Fe=new Map([[tr.eq,oi.f64_eq],[tr.ne,oi.f64_ne],[tr.lt,oi.f64_lt],[tr.le,oi.f64_le],[tr.gt,oi.f64_gt],[tr.ge,oi.f64_ge]]);this.#Te=Object.create(null);for(let e=0;e[96,...vec(e),...vec(t)]);this.#Be=new Uint8Array(section(ci,vec(di.map(([,e,t],a)=>[...encodeASCIIString(e),...encodeASCIIString(t),0,...unsignedLEB128(a+1)]))));this.#De=new Uint8Array(section(hi,vec([[0]])));this.#Me=new Uint8Array(section(ui,vec([[0,1]])));this.#Ne=new Uint8Array(section(mi,vec([[...encodeASCIIString("fn"),0,...unsignedLEB128(di.length)],[...encodeASCIIString("mem"),2,0]])));this.#Pe=new Uint8Array([0,97,115,109,1,0,0,0]);const e=new ArrayBuffer(8);this.#_e=new DataView(e);this.#Ee=new Uint8Array(e);this.#Ie=!0}constructor(e,t){PsWasmCompiler.#Ie||PsWasmCompiler.#ke();this._nIn=e.length>>1;this._nOut=t.length>>1;this._range=t;this._code=[];this._nextLocal=this._nIn;this._freeLocals=[];this._sharedLocals=new Map}_allocLocal(){return this._freeLocals.pop()??this._nextLocal++}_releaseLocal(e){this._freeLocals.push(e)}_emitULEB128(e){do{let t=127&e;0!==(e>>>=7)&&(t|=128);this._code.push(t)}while(0!==e)}_emitF64Const(e){this._code.push(oi.f64_const);PsWasmCompiler.#_e.setFloat64(0,e,!0);for(let e=0;e<8;e++)this._code.push(PsWasmCompiler.#Ee[e])}_emitLocalGet(e){this._code.push(oi.local_get);this._emitULEB128(e)}_emitLocalSet(e){this._code.push(oi.local_set);this._emitULEB128(e)}_emitLocalTee(e){this._code.push(oi.local_tee);this._emitULEB128(e)}_compileNode(e){if(e.shared){const t=this._sharedLocals.get(e);if(void 0!==t){this._emitLocalGet(t.local);0===--t.remaining&&this._releaseLocal(t.local);return!0}if(!this._compileNodeImpl(e))return!1;const a=this._allocLocal();this._sharedLocals.set(e,{local:a,remaining:e.sharedCount-1});this._emitLocalTee(a);return!0}return this._compileNodeImpl(e)}_compileNodeImpl(e){switch(e.type){case hr:this._emitLocalGet(e.index);return!0;case ur:{let t=e.value;"boolean"==typeof t&&(t=t?1:0);this._emitF64Const(t);return!0}case mr:return this._compileUnaryNode(e);case pr:return this._compileBinaryNode(e);case dr:return this._compileTernaryNode(e);default:return!1}}_compileSinCosNode(e){const t=this._allocLocal();try{if(!this._compileNode(e.operand))return!1;const a=this._code;this._emitLocalSet(t);this._emitLocalGet(t);this._emitLocalGet(t);this._emitF64Const(360);a.push(oi.f64_div,oi.f64_trunc);this._emitF64Const(360);a.push(oi.f64_mul,oi.f64_sub);this._emitF64Const(PsWasmCompiler.#Oe);a.push(oi.f64_mul,oi.call);this._emitULEB128(PsWasmCompiler.#Te[e.op===tr.sin?"sin":"cos"]);return!0}finally{this._releaseLocal(t)}}_compileUnaryNode(e){const t=this._code;if(e.op===tr.sin||e.op===tr.cos)return this._compileSinCosNode(e);if(e.op===tr.not){if(e.valueType===nr){if(!this._compileNodeAsBoolI32(e.operand))return!1;t.push(oi.i32_eqz,oi.f64_convert_i32_s);return!0}if(e.valueType===ar){if(!this._compileNode(e.operand))return!1;t.push(oi.i32_trunc_f64_s,oi.i32_const,127,oi.i32_xor,oi.f64_convert_i32_s);return!0}return!1}if(!this._compileNode(e.operand))return!1;switch(e.op){case tr.abs:t.push(oi.f64_abs);break;case tr.neg:t.push(oi.f64_neg);break;case tr.sqrt:t.push(oi.f64_sqrt);break;case tr.floor:t.push(oi.f64_floor);break;case tr.ceiling:t.push(oi.f64_ceil);break;case tr.round:this._emitF64Const(.5);t.push(oi.f64_add,oi.f64_floor);break;case tr.truncate:t.push(oi.f64_trunc);break;case tr.cvi:t.push(oi.i32_trunc_f64_s,oi.f64_convert_i32_s);break;case tr.cvr:break;case tr.ln:t.push(oi.call);this._emitULEB128(PsWasmCompiler.#Te.log);break;case tr.log:t.push(oi.call);this._emitULEB128(PsWasmCompiler.#Te.log10);break;default:return!1}return!0}_compileSafeDivNode(e,t){const a=this._allocLocal();try{if(!this._compileNode(t))return!1;if(!this._compileNode(e))return!1;const n=this._code;this._emitLocalTee(a);n.push(oi.f64_div);this._emitF64Const(0);this._emitLocalGet(a);this._emitF64Const(0);n.push(oi.f64_ne,oi.select);return!0}finally{this._releaseLocal(a)}}_compileSafeIdivNode(e,t){const a=this._allocLocal();try{if(!this._compileNode(t))return!1;if(!this._compileNode(e))return!1;const n=this._code;this._emitLocalTee(a);n.push(oi.f64_div,oi.f64_trunc);this._emitF64Const(0);this._emitLocalGet(a);this._emitF64Const(0);n.push(oi.f64_ne,oi.select);return!0}finally{this._releaseLocal(a)}}_compileBitshiftNode(e,t){if(e.type!==ur||!Number.isInteger(e.value))return!1;if(!this._compileNode(t))return!1;const a=this._code;a.push(oi.i32_trunc_f64_s);const n=e.value;if(n>0){a.push(oi.i32_const);this._emitULEB128(n);a.push(oi.i32_shl)}else if(n<0){a.push(oi.i32_const);this._emitULEB128(-n);a.push(oi.i32_shr_s)}a.push(oi.f64_convert_i32_s);return!0}_compileModNode(e,t){if(e.type===ur&&0===e.value){if(!this._compileNode(t))return!1;this._code.push(oi.drop);this._emitF64Const(0);return!0}const a=this._allocLocal();try{if(!this._compileNode(t))return!1;this._emitLocalTee(a);const n=this._code;if(e.type===ur){this._emitLocalGet(a);this._emitF64Const(e.value);n.push(oi.f64_div,oi.f64_trunc);this._emitF64Const(e.value);n.push(oi.f64_mul,oi.f64_sub)}else{const t=this._allocLocal();try{if(!this._compileNode(e))return!1;this._emitLocalSet(t);this._emitLocalGet(a);this._emitLocalGet(t);n.push(oi.f64_div,oi.f64_trunc);this._emitLocalGet(t);n.push(oi.f64_mul,oi.f64_sub);this._emitF64Const(0);this._emitLocalGet(t);this._emitF64Const(0);n.push(oi.f64_ne,oi.select)}finally{this._releaseLocal(t)}}return!0}finally{this._releaseLocal(a)}}_compileAtanNode(e,t){const a=this._allocLocal();try{if(!this._compileNode(t))return!1;if(!this._compileNode(e))return!1;const n=this._code;n.push(oi.call);this._emitULEB128(PsWasmCompiler.#Te.atan2);this._emitF64Const(PsWasmCompiler.#Re);n.push(oi.f64_mul);this._emitLocalTee(a);this._emitF64Const(0);n.push(oi.f64_lt,oi.if,li);this._emitLocalGet(a);this._emitF64Const(360);n.push(oi.f64_add,oi.else);this._emitLocalGet(a);n.push(oi.end);return!0}finally{this._releaseLocal(a)}}_compileBitwiseNode(e,t,a){if(!this._compileBitwiseOperandI32(a))return!1;if(!this._compileBitwiseOperandI32(t))return!1;const n=this._code;switch(e){case tr.and:n.push(oi.i32_and);break;case tr.or:n.push(oi.i32_or);break;case tr.xor:n.push(oi.i32_xor);break;default:return!1}n.push(oi.f64_convert_i32_s);return!0}_compileBitwiseOperandI32(e){if(e.valueType===nr)return this._compileNodeAsBoolI32(e);if(!this._compileNode(e))return!1;this._code.push(oi.i32_trunc_f64_s);return!0}_compileStandardBinaryNode(e,t,a){if(t!==a||t.type===hr||t.type===ur||t.shared){if(!this._compileNode(a))return!1;if(!this._compileNode(t))return!1}else{const e=this._allocLocal();try{if(!this._compileNode(t))return!1;this._emitLocalTee(e);this._emitLocalGet(e)}finally{this._releaseLocal(e)}}const n=this._code;switch(e){case tr.add:n.push(oi.f64_add);break;case tr.sub:n.push(oi.f64_sub);break;case tr.mul:n.push(oi.f64_mul);break;case tr.exp:n.push(oi.call);this._emitULEB128(PsWasmCompiler.#Te.pow);break;case tr.eq:n.push(oi.f64_eq,oi.f64_convert_i32_s);break;case tr.ne:n.push(oi.f64_ne,oi.f64_convert_i32_s);break;case tr.lt:n.push(oi.f64_lt,oi.f64_convert_i32_s);break;case tr.le:n.push(oi.f64_le,oi.f64_convert_i32_s);break;case tr.gt:n.push(oi.f64_gt,oi.f64_convert_i32_s);break;case tr.ge:n.push(oi.f64_ge,oi.f64_convert_i32_s);break;case tr.min:n.push(oi.f64_min);break;case tr.max:n.push(oi.f64_max);break;default:return!1}return!0}_compileBinaryNode(e){const{op:t,first:a,second:n}=e;return t===tr.bitshift?this._compileBitshiftNode(a,n):t===tr.div?this._compileSafeDivNode(a,n):t===tr.idiv?this._compileSafeIdivNode(a,n):t===tr.mod?this._compileModNode(a,n):t===tr.atan?this._compileAtanNode(a,n):t===tr.and||t===tr.or||t===tr.xor?this._compileBitwiseNode(t,a,n):this._compileStandardBinaryNode(t,a,n)}_compileNodeAsBoolI32(e){if(e.type===pr){const t=PsWasmCompiler.#Fe.get(e.op);if(void 0!==t){if(!this._compileNode(e.second))return!1;if(!this._compileNode(e.first))return!1;this._code.push(t);return!0}if(e.valueType===nr&&(e.op===tr.and||e.op===tr.or||e.op===tr.xor)){if(!this._compileNodeAsBoolI32(e.second))return!1;if(!this._compileNodeAsBoolI32(e.first))return!1;switch(e.op){case tr.and:this._code.push(oi.i32_and);break;case tr.or:this._code.push(oi.i32_or);break;case tr.xor:this._code.push(oi.i32_xor)}return!0}}if(e.type===mr&&e.op===tr.not&&e.valueType===nr){if(!this._compileNodeAsBoolI32(e.operand))return!1;this._code.push(oi.i32_eqz);return!0}if(!this._compileNode(e))return!1;if(e.valueType===nr)this._code.push(oi.i32_trunc_f64_s);else{this._emitF64Const(0);this._code.push(oi.f64_ne)}return!0}_compileTernaryNode(e){if(!this._compileNodeAsBoolI32(e.cond))return!1;this._code.push(oi.if,li);if(!this._compileNode(e.then))return!1;this._code.push(oi.else);if(!this._compileNode(e.otherwise))return!1;this._code.push(oi.end);return!0}compile(e){const t=(new PSStackToTree).evaluate(e,this._nIn);if(!t||t.length0?[[...unsignedLEB128(s),li]]:[]),l=o.length+a.length,f=new Uint8Array(section(pi,vec([[...unsignedLEB128(l),...o,...a]]))),c=PsWasmCompiler.#Pe,h=PsWasmCompiler.#Be,u=PsWasmCompiler.#De,m=PsWasmCompiler.#Me,p=PsWasmCompiler.#Ne,d=c.length+i.length+h.length+u.length+m.length+p.length+f.length,g=new Uint8Array(d);let b=0;g.set(c,b);b+=c.length;g.set(i,b);b+=i.length;g.set(h,b);b+=h.length;g.set(u,b);b+=u.length;g.set(m,b);b+=m.length;g.set(p,b);b+=p.length;g.set(f,b);return g}}function buildPostScriptWasmFunction(e,t,a){const n=function compilePostScriptToWasm(e,t,a){return new PsWasmCompiler(t,a).compile(parsePostScriptFunction(e))}(e,t,a);if(!n)return null;try{return function _makeWrapper(e,t,a){const{fn:n,mem:s}=e,r=new Float64Array(s.buffer,0,a);let i;switch(a){case 1:i=(e,t)=>{e[t]=r[0]};break;case 2:i=(e,t)=>{e[t]=r[0];e[t+1]=r[1]};break;case 3:i=(e,t)=>{e[t]=r[0];e[t+1]=r[1];e[t+2]=r[2]};break;case 4:i=(e,t)=>{e[t]=r[0];e[t+1]=r[1];e[t+2]=r[2];e[t+3]=r[3]};break;default:i=(e,t)=>{for(let n=0;n{n(e[t]);i(a,s)};case 2:return(e,t,a,s)=>{n(e[t],e[t+1]);i(a,s)};case 3:return(e,t,a,s)=>{n(e[t],e[t+1],e[t+2]);i(a,s)};case 4:return(e,t,a,s)=>{n(e[t],e[t+1],e[t+2],e[t+3]);i(a,s)};default:{const e=new Float64Array(t);return(a,s,r,o)=>{for(let n=0;n>1,a.length>>1)}catch{return null}}class BaseLocalCache{constructor(e){this._onlyRefs=!0===e?.onlyRefs;if(!this._onlyRefs){this._nameRefMap=new Map;this._imageMap=new Map}this._imageCache=new RefSetCache}getByName(e){this._onlyRefs&&unreachable("Should not call `getByName` method.");const t=this._nameRefMap.get(e);return t?this.getByRef(t):this._imageMap.get(e)||null}getByRef(e){return this._imageCache.get(e)||null}set(e,t,a){unreachable("Abstract method `set` called.")}}class LocalImageCache extends BaseLocalCache{set(e,t=null,a){if("string"!=typeof e)throw new Error('LocalImageCache.set - expected "name" argument.');if(t){if(this._imageCache.has(t))return;this._nameRefMap.set(e,t);this._imageCache.put(t,a)}else this._imageMap.has(e)||this._imageMap.set(e,a)}}class LocalColorSpaceCache extends BaseLocalCache{set(e=null,t=null,a){if("string"!=typeof e&&!t)throw new Error('LocalColorSpaceCache.set - expected "name" and/or "ref" argument.');if(t){if(this._imageCache.has(t))return;null!==e&&this._nameRefMap.set(e,t);this._imageCache.put(t,a)}else this._imageMap.has(e)||this._imageMap.set(e,a)}}class LocalFunctionCache extends BaseLocalCache{constructor(e){super({onlyRefs:!0})}set(e=null,t,a){if(!t)throw new Error('LocalFunctionCache.set - expected "ref" argument.');this._imageCache.has(t)||this._imageCache.put(t,a)}}class LocalGStateCache extends BaseLocalCache{set(e,t=null,a){if("string"!=typeof e)throw new Error('LocalGStateCache.set - expected "name" argument.');if(t){if(this._imageCache.has(t))return;this._nameRefMap.set(e,t);this._imageCache.put(t,a)}else this._imageMap.has(e)||this._imageMap.set(e,a)}}class LocalTilingPatternCache extends BaseLocalCache{constructor(e){super({onlyRefs:!0})}set(e=null,t,a){if(!t)throw new Error('LocalTilingPatternCache.set - expected "ref" argument.');this._imageCache.has(t)||this._imageCache.put(t,a)}}class RegionalImageCache extends BaseLocalCache{constructor(e){super({onlyRefs:!0})}set(e=null,t,a){if(!t)throw new Error('RegionalImageCache.set - expected "ref" argument.');this._imageCache.has(t)||this._imageCache.put(t,a)}}class GlobalColorSpaceCache extends BaseLocalCache{constructor(e){super({onlyRefs:!0})}set(e=null,t,a){if(!t)throw new Error('GlobalColorSpaceCache.set - expected "ref" argument.');this._imageCache.has(t)||this._imageCache.put(t,a)}clear(){this._imageCache.clear()}}class GlobalImageCache{static NUM_PAGES_THRESHOLD=2;static MIN_IMAGES_TO_CACHE=10;static MAX_BYTE_SIZE=5e7;#ze=new RefSet;constructor(){this._refCache=new RefSetCache;this._imageCache=new RefSetCache}get#Le(){let e=0;for(const t of this._imageCache)e+=t.byteSize;return e}get#Ue(){return!(this._imageCache.size+e):null}class PDFFunction{static getSampleArray(e,t,a,n){let s=t;for(const t of e)s*=t;const r=new Array(s);let i=0,o=0;const l=1/(2**a-1),f=n.getBytes((s*a+7)/8);let c=0;for(let e=0;e>i)*l;o&=(1<0?r[h-1]:a[0],m=h{PsJsCompiler.execute(r,e,t,a,n)}:PSStackBasedInterpreter.build(s,t,a)}(r,n,s)}}function isPDFFunction(e){let t;if(e instanceof Dict)t=e;else{if(!(e instanceof BaseStream))return!1;t=e.dict}return t.has("FunctionType")}function textSinkWrapper(e){const t=e?null:Promise.resolve();return{enqueueInvoked:!1,enqueue(t,a){this.enqueueInvoked=!0;e?.enqueue(t,a)},get desiredSize(){return e?.desiredSize??100},get ready(){return e?.ready??t}}}function _parseVisibilityExpression(e,t,a,n){if(++a>10){warn("Visibility expression is too deeply nested");return}const s=t.length,r=e.fetchIfRef(t[0]);if(!(s<2)&&r instanceof Name){switch(r.name){case"And":case"Or":case"Not":n.push(r.name);break;default:warn(`Invalid operator ${r.name} in visibility expression`);return}for(let r=1;r0)return{type:"OCMD",expression:a}}const a=n.get("OCGs");if(Array.isArray(a)||a instanceof Dict){const e=[];if(Array.isArray(a))for(const t of a)e.push(t.toString());else e.push(a.objId);const t=n.get("P");return{type:s,ids:e,policy:t instanceof Name?t.name:null,expression:null}}if(a instanceof Ref)return{type:s,id:a.toString()}}return null}const yi=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","BN","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"],qi=["AN","AN","AN","AN","AN","AN","ON","ON","AL","ET","ET","AL","CS","AL","ON","ON","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","ON","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","ON","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL"];function isOdd(e){return!!(1&e)}function isEven(e){return!(1&e)}function findUnequal(e,t,a){let n,s;for(n=t,s=e.length;n4){n=!0;t=0}else{n=!1;t=1}const l=[];for(r=0;r=0&&"ET"===Si[e];--e)Si[e]="EN";for(let e=r+1;e=0;e--){const a=Si[e];if("L"===a){t="L";break}if("R"===a||"EN"===a||"AN"===a){t="R";break}}let a=h;for(let t=e;tp&&isOdd(p)&&(g=p)}for(p=d;p>=g;--p){let e=-1;for(r=0,i=l.length;r=0){reverseValues(vi,e,r);e=-1}}else e<0&&(e=r);e>=0&&reverseValues(vi,e,l.length)}for(r=0,i=vi.length;r"!==e||(vi[r]="")}return createBidiText(vi.join(""),n)}const Ai={style:"normal",weight:"normal"},xi={style:"normal",weight:"500"},Ci={style:"normal",weight:"bold"},Ii={style:"italic",weight:"normal"},Fi={style:"italic",weight:"bold"},Ti=new Map([["Times-Roman",{local:["Times New Roman","Times-Roman","Times","Liberation Serif","Nimbus Roman","Nimbus Roman L","Tinos","Thorndale","TeX Gyre Termes","FreeSerif","Linux Libertine O","Libertinus Serif","PT Astra Serif","DejaVu Serif","Bitstream Vera Serif","Ubuntu"],style:Ai,ultimate:"serif"}],["Times-Bold",{alias:"Times-Roman",style:Ci,ultimate:"serif"}],["Times-Italic",{alias:"Times-Roman",style:Ii,ultimate:"serif"}],["Times-BoldItalic",{alias:"Times-Roman",style:Fi,ultimate:"serif"}],["Helvetica",{local:["Helvetica","Helvetica Neue","Arial","Arial Nova","Liberation Sans","Arimo","Nimbus Sans","Nimbus Sans L","A030","TeX Gyre Heros","FreeSans","DejaVu Sans","Albany","Bitstream Vera Sans","Arial Unicode MS","Microsoft Sans Serif","Apple Symbols","Cantarell"],path:"LiberationSans-Regular.ttf",style:Ai,ultimate:"sans-serif"}],["Helvetica-Bold",{alias:"Helvetica",path:"LiberationSans-Bold.ttf",style:Ci,ultimate:"sans-serif"}],["Helvetica-Oblique",{alias:"Helvetica",path:"LiberationSans-Italic.ttf",style:Ii,ultimate:"sans-serif"}],["Helvetica-BoldOblique",{alias:"Helvetica",path:"LiberationSans-BoldItalic.ttf",style:Fi,ultimate:"sans-serif"}],["Courier",{local:["Courier","Courier New","Liberation Mono","Nimbus Mono","Nimbus Mono L","Cousine","Cumberland","TeX Gyre Cursor","FreeMono","Linux Libertine Mono O","Libertinus Mono"],style:Ai,ultimate:"monospace"}],["Courier-Bold",{alias:"Courier",style:Ci,ultimate:"monospace"}],["Courier-Oblique",{alias:"Courier",style:Ii,ultimate:"monospace"}],["Courier-BoldOblique",{alias:"Courier",style:Fi,ultimate:"monospace"}],["ArialBlack",{local:["Arial Black"],style:{style:"normal",weight:"900"},fallback:"Helvetica-Bold"}],["ArialBlack-Bold",{alias:"ArialBlack"}],["ArialBlack-Italic",{alias:"ArialBlack",style:{style:"italic",weight:"900"},fallback:"Helvetica-BoldOblique"}],["ArialBlack-BoldItalic",{alias:"ArialBlack-Italic"}],["ArialNarrow",{local:["Arial Narrow","Liberation Sans Narrow","Helvetica Condensed","Nimbus Sans Narrow","TeX Gyre Heros Cn"],style:Ai,fallback:"Helvetica"}],["ArialNarrow-Bold",{alias:"ArialNarrow",style:Ci,fallback:"Helvetica-Bold"}],["ArialNarrow-Italic",{alias:"ArialNarrow",style:Ii,fallback:"Helvetica-Oblique"}],["ArialNarrow-BoldItalic",{alias:"ArialNarrow",style:Fi,fallback:"Helvetica-BoldOblique"}],["Calibri",{local:["Calibri","Carlito"],style:Ai,fallback:"Helvetica"}],["Calibri-Bold",{alias:"Calibri",style:Ci,fallback:"Helvetica-Bold"}],["Calibri-Italic",{alias:"Calibri",style:Ii,fallback:"Helvetica-Oblique"}],["Calibri-BoldItalic",{alias:"Calibri",style:Fi,fallback:"Helvetica-BoldOblique"}],["Wingdings",{local:["Wingdings","URW Dingbats"],style:Ai}],["Wingdings-Regular",{alias:"Wingdings"}],["Wingdings-Bold",{alias:"Wingdings"}],["ËÎÌå",{local:["SimSun","SimSun Regular","NSimSun"],style:Ai,ultimate:"serif"}],["ºÚÌå",{local:["SimHei","SimHei Regular"],style:Ai,ultimate:"sans-serif"}],["¿¬Ìå",{local:["KaiTi","SimKai","SimKai Regular"],style:Ai,ultimate:"sans-serif"}],["·ÂËÎ",{local:["FangSong","SimFang","SimFang Regular"],style:Ai,ultimate:"serif"}],["¿¬Ìå_GB2312",{alias:"¿¬Ìå"}],["·ÂËÎ_GB2312",{alias:"·ÂËÎ"}],["Á¥Êé",{local:["SimLi","SimLi Regular"],style:Ai,ultimate:"serif"}],["ÐÂËÎ",{alias:"ËÎÌå"}],["HeiseiMin-W3",{local:["Hiragino Mincho ProN","Hiragino Mincho Pro","Yu Mincho","YuMincho","Source Han Serif JP","Noto Serif JP","Noto Serif CJK JP","IPAexMincho","IPAMincho","Takao Mincho","MS Mincho","MS PMincho"],style:Ai,ultimate:"serif"}],["HeiseiKakuGo-W5",{local:["Hiragino Kaku Gothic ProN","Hiragino Kaku Gothic Pro","Hiragino Sans","Yu Gothic","YuGothic","Source Han Sans JP","Noto Sans JP","Noto Sans CJK JP","IPAexGothic","IPAGothic","Takao Gothic","Meiryo","MS Gothic","MS PGothic"],style:xi,ultimate:"sans-serif"}],["HeiseiMin-W3-Acro",{alias:"HeiseiMin-W3"}],["HeiseiKakuGo-W5-Acro",{alias:"HeiseiKakuGo-W5"}],["KozMinPro-Regular",{alias:"HeiseiMin-W3"}],["KozMinProVI-Regular",{alias:"HeiseiMin-W3"}],["KozMinPr6N-Regular",{alias:"HeiseiMin-W3"}],["KozGoPro-Regular",{alias:"HeiseiKakuGo-W5"}],["KozGoProVI-Regular",{alias:"HeiseiKakuGo-W5"}],["KozGoPr6N-Regular",{alias:"HeiseiKakuGo-W5"}],["STSong-Light",{local:["STSong","Songti SC","Source Han Serif SC","Source Han Serif CN","Noto Serif SC","Noto Serif CJK SC","AR PL UMing CN","SimSun","NSimSun"],style:Ai,ultimate:"serif"}],["STHeiti-Regular",{local:["STHeiti","Heiti SC","PingFang SC","Source Han Sans SC","Source Han Sans CN","Noto Sans SC","Noto Sans CJK SC","Microsoft YaHei","SimHei","WenQuanYi Zen Hei"],style:Ai,ultimate:"sans-serif"}],["STSongStd-Light",{alias:"STSong-Light"}],["AdobeSongStd-Light",{alias:"STSong-Light"}],["AdobeHeitiStd-Regular",{alias:"STHeiti-Regular"}],["AdobeKaitiStd-Regular",{alias:"¿¬Ìå"}],["AdobeFangsongStd-Regular",{alias:"·ÂËÎ"}],["MSung-Light",{local:["Songti TC","LiSong Pro","Source Han Serif TC","Source Han Serif TW","Noto Serif TC","Noto Serif CJK TC","AR PL UMing TW","PMingLiU","MingLiU","MingLiU_HKSCS"],style:Ai,ultimate:"serif"}],["MHei-Medium",{local:["Heiti TC","STHeiti","Source Han Sans TC","Source Han Sans TW","Noto Sans TC","Noto Sans CJK TC","PingFang TC","Microsoft JhengHei"],style:xi,ultimate:"sans-serif"}],["MSungStd-Light",{alias:"MSung-Light"}],["AdobeMingStd-Light",{alias:"MSung-Light"}],["HYSMyeongJo-Medium",{local:["AppleMyungjo","Source Han Serif KR","Noto Serif KR","Noto Serif CJK KR","Nanum Myeongjo","Batang"],style:xi,ultimate:"serif"}],["HYGoThic-Medium",{local:["Apple SD Gothic Neo","AppleGothic","Source Han Sans KR","Noto Sans KR","Noto Sans CJK KR","Nanum Gothic","Malgun Gothic","Dotum","Gulim"],style:xi,ultimate:"sans-serif"}],["HYSMyeongJoStd-Medium",{alias:"HYSMyeongJo-Medium"}],["AdobeMyungjoStd-Medium",{alias:"HYSMyeongJo-Medium"}],["HYGoThic-Bold",{alias:"HYGoThic-Medium",style:Ci}],["AdobeGothicStd-Bold",{alias:"HYGoThic-Medium",style:Ci}]]),Oi=new Map([["Arial-Black","ArialBlack"]]);function getFamilyName(e){const t=new Set(["thin","extralight","ultralight","demilight","semilight","light","book","regular","normal","medium","demibold","semibold","bold","extrabold","ultrabold","black","heavy","extrablack","ultrablack","roman","italic","oblique","ultracondensed","extracondensed","condensed","semicondensed","normal","semiexpanded","expanded","extraexpanded","ultraexpanded","bolditalic"]);return e.split(/[- ,+]+/g).filter(e=>!t.has(e.toLowerCase())).join(" ")}function generateFont({alias:e,local:t,path:a,fallback:n,style:s,ultimate:r},i,o,l=!0,f=!0,c=""){const h={style:null,ultimate:null};if(t){const e=c?` ${c}`:"";for(const a of t)i.push(`local(${a}${e})`)}if(e){const t=Ti.get(e),r=c||function getStyleToAppend(e){switch(e){case Ci:return"Bold";case Ii:return"Italic";case Fi:return"Bold Italic";default:if("bold"===e?.weight)return"Bold";if("italic"===e?.style)return"Italic"}return""}(s);Object.assign(h,generateFont(t,i,o,l&&!n,f&&!a,r))}s&&(h.style=s);r&&(h.ultimate=r);if(l&&n){const e=Ti.get(n),{ultimate:t}=generateFont(e,i,o,l,f&&!a,c);h.ultimate||=t}f&&a&&o&&i.push(`url(${o}${a})`);return h}function getFontSubstitution(e,t,a,n,s,r){if(n.startsWith("InvalidPDFjsFont_"))return null;"TrueType"!==r&&"Type1"!==r||!/^[A-Z]{6}\+/.test(n)||(n=n.slice(7));const i=n=normalizeFontName(n);let o=e.get(i);if(o)return o;let l=Ti.get(n);if(!l)for(const[e,t]of Oi)if(n.startsWith(e)){n=`${t}${n.substring(e.length)}`;l=Ti.get(n);break}let f=!1;if(!l){l=Ti.get(s);f=!0}const c=`${t.getDocId()}_s${t.createFontId()}`;if(!l){if(!validateFontName(n)){warn(`Cannot substitute the font because of its name: ${n}`);e.set(i,null);return null}const t=/bold/i.test(n),a=/oblique|italic/i.test(n),s=t&&a&&Fi||t&&Ci||a&&Ii||Ai;o={css:`"${getFamilyName(n)}",${c}`,guessFallback:!0,loadedName:c,baseFontName:n,src:`local(${n})`,style:s};e.set(i,o);return o}const h=[];f&&validateFontName(n)&&h.push(`local(${n})`);const{style:u,ultimate:m}=generateFont(l,h,a),p=null===m,d=p?"":`,${m}`;o={css:`"${getFamilyName(n)}",${c}${d}`,guessFallback:p,loadedName:c,baseFontName:n,src:h.join(","),style:u};e.set(i,o);return o}const Ri=3285377520,Hi=4294901760,Bi=65535;class MurmurHash3_64{constructor(e){this.h1=e?4294967295&e:Ri;this.h2=e?4294967295&e:Ri}update(e){let t,a;if("string"==typeof e){t=new Uint8Array(2*e.length);a=0;for(let n=0,s=e.length;n>>8;t[a++]=255&s}}}else{if(!ArrayBuffer.isView(e))throw new Error("Invalid data format, must be a string or TypedArray.");t=e.slice();a=t.byteLength}const n=a>>2,s=a-4*n,r=new Uint32Array(t.buffer,0,n);let i=0,o=0,l=this.h1,f=this.h2;const c=3432918353,h=461845907,u=11601,m=13715;for(let e=0;e>>17;i=i*h&Hi|i*m&Bi;l^=i;l=l<<13|l>>>19;l=5*l+3864292196}else{o=r[e];o=o*c&Hi|o*u&Bi;o=o<<15|o>>>17;o=o*h&Hi|o*m&Bi;f^=o;f=f<<13|f>>>19;f=5*f+3864292196}i=0;switch(s){case 3:i^=t[4*n+2]<<16;case 2:i^=t[4*n+1]<<8;case 1:i^=t[4*n];i=i*c&Hi|i*u&Bi;i=i<<15|i>>>17;i=i*h&Hi|i*m&Bi;1&n?l^=i:f^=i}this.h1=l;this.h2=f}hexdigest(){let e=this.h1,t=this.h2;e^=t>>>1;e=3981806797*e&Hi|36045*e&Bi;t=4283543511*t&Hi|(2950163797*(t<<16|e>>>16)&Hi)>>>16;e^=t>>>1;e=444984403*e&Hi|60499*e&Bi;t=3301882366*t&Hi|(3120437893*(t<<16|e>>>16)&Hi)>>>16;e^=t>>>1;return(e>>>0).toString(16).padStart(8,"0")+(t>>>0).toString(16).padStart(8,"0")}}class PDFImage{constructor({xref:e,res:t,image:a,isInline:n=!1,smask:s=null,mask:r=null,isMask:i=!1,pdfFunctionFactory:o,globalColorSpaceCache:l,localColorSpaceCache:f}){this.image=a;const c=a.dict,h=c.get("F","Filter");let u;if(h instanceof Name)u=h.name;else if(Array.isArray(h)){const t=e.fetchIfRef(h[0]);t instanceof Name&&(u=t.name)}switch(u){case"JPXDecode":({width:a.width,height:a.height,componentsCount:a.numComps,bitsPerComponent:a.bitsPerComponent}=JpxImage.parseImageProperties(a.stream));a.stream.reset();const e=ImageResizer.getReducePowerForJPX(a.width,a.height,a.numComps);this.jpxDecoderOptions={numComponents:0,isIndexedColormap:!1,smaskInData:c.has("SMaskInData"),reducePower:e};if(e){const t=2**e;a.width=Math.ceil(a.width/t);a.height=Math.ceil(a.height/t)}break;case"JBIG2Decode":a.bitsPerComponent=1;a.numComps=1}let m=c.get("W","Width"),p=c.get("H","Height");if(Number.isInteger(a.width)&&a.width>0&&Number.isInteger(a.height)&&a.height>0&&(a.width!==m||a.height!==p)){warn("PDFImage - using the Width/Height of the image data, rather than the image dictionary.");m=a.width;p=a.height}else{const e="number"==typeof m&&m>0,t="number"==typeof p&&p>0;if(!e||!t){if(!a.fallbackDims)throw new FormatError(`Invalid image width: ${m} or height: ${p}`);warn("PDFImage - using the Width/Height of the parent image, for SMask/Mask data.");e||(m=a.fallbackDims.width);t||(p=a.fallbackDims.height)}}this.width=m;this.height=p;this.interpolate=c.get("I","Interpolate");this.imageMask=c.get("IM","ImageMask")||!1;this.matte=c.get("Matte")||!1;let d=a.bitsPerComponent;if(!d){d=c.get("BPC","BitsPerComponent");if(!d){if(!this.imageMask)throw new FormatError(`Bits per component missing in image: ${this.imageMask}`);d=1}}this.bpc=d;if(this.imageMask)this.numComps=1;else{let s=c.getRaw("CS")||c.getRaw("ColorSpace");const r=!!s;if(r)this.jpxDecoderOptions?.smaskInData&&(s=Name.get("DeviceRGBA"));else if(this.jpxDecoderOptions)s=Name.get("DeviceRGBA");else switch(a.numComps){case 1:s=Name.get("DeviceGray");break;case 3:s=Name.get("DeviceRGB");break;case 4:s=Name.get("DeviceCMYK");break;default:throw new Error(`Images with ${a.numComps} color components not supported.`)}this.colorSpace=ColorSpaceUtils.parse({cs:s,xref:e,resources:n?t:null,pdfFunctionFactory:o,globalColorSpaceCache:l,localColorSpaceCache:f});this.numComps=this.colorSpace.numComps;if(this.jpxDecoderOptions){this.jpxDecoderOptions.numComponents=r?this.numComps:0;this.jpxDecoderOptions.isIndexedColormap="Indexed"===this.colorSpace.name}}this.decode=c.getArray("D","Decode");this.needsDecode=!1;if(this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode,d)||i&&!ColorSpace.isDefaultDecode(this.decode,1))){this.needsDecode=!0;const e=(1<0,l=(n+7>>3)*s,f=await e.getImageData(l),c=1===n&&1===s&&o===(0===f.length||!!(128&f[0]));if(c)return{isSingleOpaquePixel:c};if(t){if(ImageResizer.needsToBeResized(n,s)){const e=new Uint8ClampedArray(n*s*4);convertBlackAndWhiteToRGBA({src:f,dest:e,width:n,height:s,nonBlackColor:0,inverseDecode:o});return ImageResizer.createImage({kind:R,data:e,width:n,height:s,interpolate:r})}const e=new OffscreenCanvas(n,s),t=e.getContext("2d"),a=t.createImageData(n,s);convertBlackAndWhiteToRGBA({src:f,dest:a.data,width:n,height:s,nonBlackColor:0,inverseDecode:o});t.putImageData(a,0,0);return{data:null,width:n,height:s,interpolate:r,bitmap:e.transferToImageBitmap()}}const h=f.byteLength;let u;if(e instanceof DecodeStream&&(!o||l===h))u=f;else if(o){u=new Uint8Array(l);u.set(f);u.fill(255,h)}else u=new Uint8Array(f);if(o)for(let e=0;e>7&1;i[u+1]=h>>6&1;i[u+2]=h>>5&1;i[u+3]=h>>4&1;i[u+4]=h>>3&1;i[u+5]=h>>2&1;i[u+6]=h>>1&1;i[u+7]=1&h;u+=8}if(u>=1}}}}else{let a=0;h=0;for(u=0,c=r;u>n;s<0?s=0:s>f&&(s=f);i[u]=s;h&=(1<this.smask.fillGrayBuffer(e,{...n,destWidth:t,destHeight:a});else if(this.mask)if(this.mask instanceof PDFImage)r=(e,n)=>this.mask.fillGrayBuffer(e,{...n,invertOutput:!0,destWidth:t,destHeight:a});else{if(!Array.isArray(this.mask))throw new FormatError("Unknown mask format.");r=(e,{maxRows:a,offset:n,stride:r})=>{for(let i=0,o=t*a;ithis.mask[r+1]){t=255;break}}e[i*r+n]=t}}}else r=(e,{maxRows:a,offset:n,stride:s})=>{for(let r=0,i=t*a;r>3,c=t&&ImageResizer.needsToBeResized(a,n);if(!this.smask&&!this.mask&&"DeviceRGBA"===this.colorSpace.name){s.kind=R;const e=s.data=await this.getImageBytes(o*i*4,{internal:t&&c});return t?c?ImageResizer.createImage(s,!1):this.createBitmap(R,a,n,e):s}if(!e){let e;"DeviceGray"===this.colorSpace.name&&1===l?e=T:"DeviceRGB"!==this.colorSpace.name||8!==l||this.needsDecode||(e=O);if(e&&!this.smask&&!this.mask&&a===i&&n===o){const r=await this.#Xe(i,o);if(r)return r;const l=await this.getImageBytes(o*f,{internal:t&&c});if(t)return c?ImageResizer.createImage({data:l,kind:e,width:a,height:n,interpolate:this.interpolate},this.needsDecode):this.createBitmap(e,i,o,l);s.kind=e;s.data=l;if(this.needsDecode){assert(e===T,"PDFImage.createImageData: The image must be grayscale.");const t=s.data;for(let e=0,a=t.length;e>3,u=await this.getImageBytes(f*h,{internal:!0}),m=this.getComponents(u),p=t??l,d=a??f,g=p!==l||d!==f,b=void 0===s?d:Math.min(d,s);let w=l,j=0,k=null;if(g){w=p;j=f/d;const e=l/p;k=new Uint32Array(p);for(let t=0;t0&&n[0].count++}class TimeSlotManager{static TIME_SLOT_DURATION_MS=20;static CHECK_TIME_EVERY=100;constructor(){this.reset()}check(){if(++this.checked!isFinite(e))&&(m=null);l.has("OC")&&(h=await this.parseMarkedContentProps(l.get("OC"),e));void 0!==h&&n.addOp(Ft,["OC",h]);const p=l.get("Group");let d;const g=[f&&new Float32Array(f),!p&&m||null],b=l.get("Resources");if(p){u={matrix:f,bbox:m,smask:a,isolated:!1,knockout:!1,needsIsolation:!1,hasSoftMask:!1,isGray:!1};let t=null;if(isName(p.get("S"),"Transparency")){u.isolated=p.get("I")||!1;u.knockout=p.get("K")||!1;if(p.has("CS")){const a=this._getColorSpace(p.getRaw("CS"),e,i);t=a instanceof ColorSpace?a:await this._handleColorSpace(a)}}u.isGray=1===t?.numComps;if(a?.backdrop){t||=ColorSpaceUtils.rgb;a.backdrop=t.getRgbHex(a.backdrop,0)}else"Luminosity"===a?.subtype&&(a.backdrop="#000000");d=new CheckedOperatorList}else{d=n;n.addOp(Ht,g)}await this.getOperatorList({stream:t,task:s,resources:b instanceof Dict?b:e,operatorList:d,initialState:r,prevRefs:o});if(p){u.needsIsolation=d.needsIsolation||!!a;u.hasSoftMask=d.hasSoftMask||!!a;n.addOp(Dt,[u]);n.addOp(Ht,g);n.addOpList(d);n.addOp(Bt,[]);n.addOp(Mt,[u])}else n.addOp(Bt,[]);void 0!==h&&n.addOp(Tt,[])}_sendImgData(e,t,a=!1){const n=t?[t.bitmap||t.data.buffer]:null;return this.parsingType3Font||a?this.handler.send("commonobj",[e,"Image",t],n):this.handler.send("obj",[e,this.pageIndex,"Image",t],n)}async buildPaintImageXObject({resources:e,image:t,isInline:a=!1,operatorList:n,cacheKey:s,localImageCache:r,localColorSpaceCache:i}){const{maxImageSize:o,ignoreErrors:l,isOffscreenCanvasSupported:f}=this.options,{dict:c}=t,h=c.objId,u=c.get("W","Width"),m=c.get("H","Height");if(!u||"number"!=typeof u||!m||"number"!=typeof m){warn("Image dimensions are missing, or not numbers.");return}if(-1!==o&&u*m>o){const e="Image exceeded maximum allowed size and was removed.";if(!l)throw new Error(e);warn(e);return}let p;c.has("OC")&&(p=await this.parseMarkedContentProps(c.get("OC"),e));let d,g,b;if(c.get("IM","ImageMask")||!1){d=await PDFImage.createMask({image:t,isOffscreenCanvasSupported:f&&!this.parsingType3Font});if(d.isSingleOpaquePixel){g=Kt;b=[];n.addImageOps(g,b,p);if(s){const e={fn:g,args:b,optionalContent:p};r.set(s,h,e);h&&this._regionalImageCache.set(null,h,e)}return}if(this.parsingType3Font){b=function compileType3Glyph({data:e,width:t,height:a}){if(t>1e3||a>1e3)return null;const n=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),s=t+1,r=new Uint8Array(s*(a+1));let i,o,l;const f=t+7&-8,c=new Uint8Array(f*a);let h=0;for(const t of e){let e=128;for(;e>0;){c[h++]=t&e?0:255;e>>=1}}let u=0;h=0;if(0!==c[h]){r[0]=1;++u}for(o=1;o>2)+(c[h+1]?4:0)+(c[h-f+1]?8:0);if(n[e]){r[l+o]=n[e];++u}h++}if(c[h-f]!==c[h]){r[l+o]=c[h]?2:4;++u}if(u>1e3)return null}h=f*(a-1);l=i*s;if(0!==c[h]){r[l]=8;++u}for(o=1;o1e3)return null;const m=new Int32Array([0,s,-1,0,-s,0,0,0,1]),p=[],{a:d,b:g,c:b,d:w,e:j,f:k}=(new DOMMatrix).scaleSelf(1/t,-1/a).translateSelf(0,-a);for(i=0;u&&i<=a;i++){let e=i*s;const a=e+t;for(;e>4;r[e]&=f>>2|f<<2}n=e%s;o=e/s|0;p.push(Qt,d*n+b*o+j,g*n+w*o+k);r[e]||--u}while(l!==e);--i}return[Yt,[new Float32Array(p)],new Float32Array([0,0,t,a])]}(d);if(b){n.addImageOps(Gt,b,p);return}warn("Cannot compile Type3 glyph.");n.addImageOps(_t,[d],p);return}const e=`mask_${this.idFactory.createObjId()}`;n.addDependency(e);d.dataLen=d.bitmap?d.width*d.height*4:d.data.length;this._sendImgData(e,d);g=_t;b=[{data:e,width:d.width,height:d.height,interpolate:d.interpolate,count:1}];n.addImageOps(g,b,p);if(s){const t={objId:e,fn:g,args:b,optionalContent:p};r.set(s,h,t);h&&this._regionalImageCache.set(null,h,t)}return}const w=c.has("SMask")||c.has("Mask");if(a&&u+m<200&&!w){try{const s=new PDFImage({xref:this.xref,res:e,image:t,isInline:a,pdfFunctionFactory:this._pdfFunctionFactory,globalColorSpaceCache:this.globalColorSpaceCache,localColorSpaceCache:i});d=await s.createImageData(!0,!1);n.addImageOps(Lt,[d],p)}catch(e){const t=`Unable to decode inline image: "${e}".`;if(!l)throw new Error(t);warn(t)}return}let j=`img_${this.idFactory.createObjId()}`,k=!1,y=null;if(this.parsingType3Font)j=`${this.idFactory.getDocId()}_type3_${j}`;else if(s&&h){k=this.globalImageCache.shouldCache(h,this.pageIndex);if(k){assert(!a,"Cannot cache an inline image globally.");j=`${this.idFactory.getDocId()}_${j}`}}n.addDependency(j);g=zt;b=[j,u,m];n.addImageOps(g,b,p,w);if(k){y={objId:j,fn:g,args:b,optionalContent:p,hasMask:w,byteSize:0};if(this.globalImageCache.hasDecodeFailed(h)){this.globalImageCache.setData(h,y);this._sendImgData(j,null,k);return}if(u*m>25e4||w){const e=await this.handler.sendWithPromise("commonobj",[j,"CopyLocalImage",{imageRef:h}]);if(e){this.globalImageCache.setData(h,y);this.globalImageCache.addByteSize(h,e);return}}}PDFImage.buildImage({xref:this.xref,res:e,image:t,isInline:a,pdfFunctionFactory:this._pdfFunctionFactory,globalColorSpaceCache:this.globalColorSpaceCache,localColorSpaceCache:i}).then(async e=>{d=await e.createImageData(!1,f);d.dataLen=d.bitmap?d.width*d.height*4:d.data.length;d.ref=h;k&&this.globalImageCache.addByteSize(h,d.dataLen);return this._sendImgData(j,d,k)}).catch(e=>{warn(`Unable to decode image "${j}": "${e}".`);h&&this.globalImageCache.addDecodeFailed(h);return this._sendImgData(j,null,k)});if(s){const e={objId:j,fn:g,args:b,optionalContent:p,hasMask:w};r.set(s,h,e);if(h){this._regionalImageCache.set(null,h,e);if(k){assert(y,"The global cache-data must be available.");this.globalImageCache.setData(h,y)}}}}handleSMask(e,t,a,n,s,r,i){const o=e.get("G"),l={subtype:e.get("S").name,backdrop:e.get("BC")},f=e.get("TR");if(isPDFFunction(f)){const e=this._pdfFunctionFactory.create(f),t=new Uint8Array(256),a=new Float32Array(1);for(let n=0;n<256;n++){a[0]=n/255;e(a,0,a,0);t[n]=255*a[0]|0}l.transferMap=t}return this.buildFormXObject(t,o,l,a,n,s.state.clone({newPath:!0}),r,i)}handleTransferFunction(e){let t;if(Array.isArray(e)){t=e;e.length>1&&e.every(t=>t===e[0])&&(t=[e[0]])}else{if(!isPDFFunction(e))return null;t=[e]}const a=[];let n=0,s=0;for(const e of t){const t=this.xref.fetchIfRef(e);n++;if(isName(t,"Identity")){a.push(null);continue}if(!isPDFFunction(t))return null;const r=this._pdfFunctionFactory.create(t),i=new Uint8Array(256),o=new Float32Array(1);for(let e=0;e<256;e++){o[0]=e/255;r(o,0,o,0);i[e]=255*o[0]|0}a.push(i);s++}return 1!==n&&4!==n||0===s?null:a}handleTilingType(e,t,a,n,s,r,i,o,l){const f=new CheckedOperatorList,c=Dict.merge({xref:this.xref,dictArray:[s.get("Resources"),a]});return this.getOperatorList({stream:n,task:i,resources:c,operatorList:f,prevRefs:l}).then(function(){const a=f.getIR(),{needsIsolation:n}=f,i=getTilingPatternIR(a,s,t,n);r.addDependencies(f.dependencies);r.addOp(e,i);s.objId&&o.set(null,s.objId,{operatorListIR:a,needsIsolation:n,dict:s})}).catch(e=>{if(!(e instanceof AbortException)){if(!this.options.ignoreErrors)throw e;warn(`handleTilingType - ignoring pattern: "${e}".`)}})}async handleSetFont(e,t,a,n,s,r,i=null,o=null,l=null){const f=t?.[0]instanceof Name?t[0].name:null,c=await this.loadFont(f,a,e,s,i,o,l);c.font.isType3Font&&n.addDependencies(c.type3Dependencies);r.font=c.font;c.send(this.handler);return c.loadedName}handleText(e,t){const a=t.font,n=a.charsToGlyphs(e);if(a.data){(!!(t.textRenderingMode&F)||"Pattern"===t.fillColorSpace.name||"Pattern"===t.strokeColorSpace.name||a.disableFontFace)&&PartialEvaluator.buildFontPaths(a,n,this.handler,this.options)}return n}ensureStateFont(e){if(e.font)return;const t=new FormatError("Missing setFont (Tf) operator before text rendering operator.");if(!this.options.ignoreErrors)throw t;warn(`ensureStateFont: "${t}".`)}async setGState({resources:e,gState:t,operatorList:a,cacheKey:n,task:s,stateManager:r,localGStateCache:i,localColorSpaceCache:o,seenRefs:l}){const f=t.objId;let c=!0;const h=[];let u=Promise.resolve();for(const[n,i]of t)switch(n){case"Type":break;case"LW":if("number"!=typeof i){warn(`Invalid LW (line width): ${i}`);break}h.push([n,Math.abs(i)]);break;case"LC":case"LJ":case"ML":case"D":case"RI":case"FL":case"CA":case"ca":h.push([n,i]);break;case"Font":c=!1;u=u.then(()=>this.handleSetFont(e,null,i[0],a,s,r.state,null,null,l).then(function(e){a.addDependency(e);h.push([n,[e,i[1]]])}));break;case"BM":h.push([n,normalizeBlendMode(i)]);break;case"SMask":if(isName(i,"None")){h.push([n,!1]);break}if(i instanceof Dict){c=!1;u=u.then(()=>this.handleSMask(i,e,a,s,r,o,l));h.push([n,!0])}else warn("Unsupported SMask type");break;case"TR":case"TR2":{if("TR"===n&&t.has("TR2"))break;const e=this.handleTransferFunction(i);h.push(["TR",e]);break}case"OP":case"op":case"OPM":case"BG":case"BG2":case"UCR":case"UCR2":case"HT":case"SM":case"SA":case"AIS":case"TK":info("graphic state operator "+n);break;default:info("Unknown graphic state operator "+n)}await u;h.length>0&&a.addOp(qe,[h]);c&&i.set(n,f,h)}loadFont(e,t,a,n,s=null,r=null,i=null){const errorFont=async()=>new TranslatedFont({loadedName:"g_font_error",font:new ErrorFont(`Font "${e}" is not available.`),dict:t});let o;if(t)t instanceof Ref&&(o=t);else{const t=a.get("Font");t&&(o=t.getRaw(e))}if(o){if(this.type3FontRefs?.has(o))return errorFont();if(this.fontCache.has(o))return this.fontCache.get(o);try{t=this.xref.fetchIfRef(o)}catch(e){warn(`loadFont - lookup failed: "${e}".`)}}if(!(t instanceof Dict)){if(!this.options.ignoreErrors&&!this.parsingType3Font){warn(`Font "${e}" is not available.`);return errorFont()}warn(`Font "${e}" is not available -- attempting to fallback to a default font.`);t=s||PartialEvaluator.fallbackFontDict}if(t.cacheKey&&this.fontCache.has(t.cacheKey))return this.fontCache.get(t.cacheKey);const{promise:l,resolve:f}=Promise.withResolvers();let c;try{c=this.preEvaluateFont(t);c.cssFontInfo=r}catch(e){warn(`loadFont - preEvaluateFont failed: "${e}".`);return errorFont()}const{descriptor:h,hash:u}=c,m=o instanceof Ref;let p;if(u&&h instanceof Dict){const e=h.fontAliases||=Object.create(null);if(e[u]){const t=e[u].aliasRef;if(m&&t&&this.fontCache.has(t)){this.fontCache.putAlias(o,t);return this.fontCache.get(o)}}else e[u]={fontID:this.idFactory.createFontId()};m&&(e[u].aliasRef=o);p=e[u].fontID}else p=this.idFactory.createFontId();assert(p?.startsWith("f"),'The "fontID" must be (correctly) defined.');if(m)this.fontCache.put(o,l);else{t.cacheKey=`cacheKey_${p}`;this.fontCache.put(t.cacheKey,l)}t.loadedName=`${this.idFactory.getDocId()}_${p}`;this.translateFont(c).then(async e=>{const s=new TranslatedFont({loadedName:t.loadedName,font:e,dict:t});if(e.isType3Font)try{await s.loadType3Data(this,a,n,i)}catch(e){throw new Error(`Type3 font load error: ${e}`)}f(s)}).catch(e=>{warn(`loadFont - translateFont failed: "${e}".`);f(new TranslatedFont({loadedName:t.loadedName,font:new ErrorFont(e?.message),dict:t}))});return l}buildPath(e,t,a){const{pathMinMax:n,pathBuffer:s}=a;switch(0|e){case Re:{const e=a.currentPointX=t[0],r=a.currentPointY=t[1],i=t[2],o=t[3],l=e+i,f=r+o;0===i||0===o?s.push(Jt,e,r,Qt,l,f,ta):s.push(Jt,e,r,Qt,l,r,Qt,l,f,Qt,e,f,ta);Util.rectBoundingBox(e,r,l,f,n);break}case xe:{const e=a.currentPointX=t[0],r=a.currentPointY=t[1];s.push(Jt,e,r);Util.pointBoundingBox(e,r,n);break}case Ce:{const e=a.currentPointX=t[0],r=a.currentPointY=t[1];s.push(Qt,e,r);Util.pointBoundingBox(e,r,n);break}case Ie:{const e=a.currentPointX,r=a.currentPointY,[i,o,l,f,c,h]=t;a.currentPointX=c;a.currentPointY=h;s.push(Zt,i,o,l,f,c,h);Util.bezierBoundingBox(e,r,i,o,l,f,c,h,n);break}case Fe:{const e=a.currentPointX,r=a.currentPointY,[i,o,l,f]=t;a.currentPointX=l;a.currentPointY=f;s.push(Zt,e,r,i,o,l,f);Util.bezierBoundingBox(e,r,e,r,i,o,l,f,n);break}case Te:{const e=a.currentPointX,r=a.currentPointY,[i,o,l,f]=t;a.currentPointX=l;a.currentPointY=f;s.push(Zt,i,o,l,f,l,f);Util.bezierBoundingBox(e,r,i,o,l,f,l,f,n);break}case Oe:s.push(ta)}}_getColorSpace(e,t,a){return ColorSpaceUtils.parse({cs:e,xref:this.xref,resources:t,pdfFunctionFactory:this._pdfFunctionFactory,globalColorSpaceCache:this.globalColorSpaceCache,localColorSpaceCache:a,asyncIfNotCached:!0})}async _handleColorSpace(e){try{return await e}catch(e){if(e instanceof AbortException)return null;if(this.options.ignoreErrors){warn(`_handleColorSpace - ignoring ColorSpace: "${e}".`);return null}throw e}}parseShading({shading:e,resources:t,localColorSpaceCache:a,localShadingPatternCache:n}){let s,r=n.get(e);if(r)return r;try{s=Pattern.parseShading(e,this.xref,t,this._pdfFunctionFactory,this.globalColorSpaceCache,a).getIR()}catch(t){if(t instanceof AbortException)return null;if(this.options.ignoreErrors){warn(`parseShading - ignoring shading: "${t}".`);n.set(e,null);return null}throw t}r=`pattern_${this.idFactory.createObjId()}`;this.parsingType3Font&&(r=`${this.idFactory.getDocId()}_type3_${r}`);n.set(e,r);if(this.parsingType3Font){const e=function compilePatternInfo(e){let t,a=null,n=[],s=[],r=[],i=null,o=null;switch(e[0]){case"RadialAxial":t="axial"===e[1]?1:2;a=e[2];r=e[3];1===t?n.push(...e[4],...e[5]):n.push(e[4][0],e[4][1],e[6],e[5][0],e[5][1],e[7]);break;case"Mesh":t=3;i=e[1];n=e[2];s=e[3];a=e[6];o=e[7];break;default:throw new Error(`Unsupported pattern type: ${e[0]}`)}const l=Math.floor(n.length/2),f=Math.floor(s.length/4),c=r.length,h=new ArrayBuffer(20+8*l+4*f+8*c+(a?16:0)+(o?3:0)),u=new DataView(h),m=new Uint8Array(h);u.setUint8(PATTERN_INFO.KIND,t);u.setUint8(PATTERN_INFO.HAS_BBOX,a?1:0);u.setUint8(PATTERN_INFO.HAS_BACKGROUND,o?1:0);u.setUint8(PATTERN_INFO.SHADING_TYPE,i);u.setUint32(PATTERN_INFO.N_COORD,l,!0);u.setUint32(PATTERN_INFO.N_COLOR,f,!0);u.setUint32(PATTERN_INFO.N_STOP,c,!0);u.setUint32(PATTERN_INFO.N_FIGURES,0,!0);let p=20;new Float32Array(h,p,2*l).set(n);p+=8*l;m.set(s,p);p+=4*f;for(const[e,t]of r){u.setFloat32(p,e,!0);p+=4;u.setUint32(p,parseInt(t.slice(1),16),!0);p+=4}if(a)for(const e of a){u.setFloat32(p,e,!0);p+=4}o&&m.set(o,p);return h}(s);this.handler.send("commonobj",[r,"Pattern",e],[e])}else this.handler.send("obj",[r,this.pageIndex,"Pattern",s]);return r}handleColorN(e,t,a,n,s,r,i,o,l,f,c){const h=a.pop();if(h instanceof Name){const u=s.getRaw(h.name),m=u instanceof Ref&&l.getByRef(u);if(m)try{const s=n.base?n.base.getRgbHex(a,0):null,r=getTilingPatternIR(m.operatorListIR,m.dict,s,m.needsIsolation);e.addOp(t,r);return}catch{}const p=this.xref.fetchIfRef(u);if(p){const s=p instanceof BaseStream?p.dict:p,h=s.get("PatternType");if(h===Mi){const o=n.base?n.base.getRgbHex(a,0):null;return this.handleTilingType(t,o,r,p,s,e,i,l,c)}if(h===Ni){const a=s.get("Shading"),n=this.parseShading({shading:a,resources:r,localColorSpaceCache:o,localShadingPatternCache:f});if(n){const a=lookupMatrix(s.getArray("Matrix"),null);e.addOp(t,["Shading",n,a])}return}throw new FormatError(`Unknown PatternType: ${h}`)}}throw new FormatError(`Unknown PatternName: ${h}`)}async parseMarkedContentProps(e,t){return parseMarkedContentProps(this.xref,e,t)}async getOperatorList({stream:e,task:a,resources:n,operatorList:s,initialState:r=null,fallbackFontDict:i=null,prevRefs:o=null}){if(e.isAsync){const t=await e.asyncGetBytes();t&&(e=new Stream(t,0,t.length,e.dict))}const l=e.dict?.objId,f=new RefSet(o);if(l){if(o?.has(l))throw new Error(`getOperatorList - ignoring circular reference: ${l}`);f.put(l)}n||=Dict.empty;r||=new EvalState;if(!s)throw new Error('getOperatorList: missing "operatorList" parameter');const c=this,h=this.xref,u=new LocalImageCache,m=new LocalColorSpaceCache,p=new LocalGStateCache,d=new LocalTilingPatternCache,g=new Map,b=n.get("XObject")||Dict.empty,w=n.get("Pattern")||Dict.empty,j=new StateManager(r),k=new EvaluatorPreprocessor(e,h,j),y=new TimeSlotManager;function closePendingRestoreOPS(e){for(let e=0,t=k.savedStatesDepth;e{j.state.fillColorSpace=e||ColorSpaceUtils.gray}));return}case ft:{const t=c._getColorSpace(e[0],n,m);if(t instanceof ColorSpace){j.state.strokeColorSpace=t;continue}next(c._handleColorSpace(t).then(e=>{j.state.strokeColorSpace=e||ColorSpaceUtils.gray}));return}case mt:S=j.state.fillColorSpace;e=[S.getRgbHex(e,0)];r=wt;break;case ht:S=j.state.strokeColorSpace;e=[S.getRgbHex(e,0)];r=bt;break;case gt:j.state.fillColorSpace=ColorSpaceUtils.gray;e=[ColorSpaceUtils.gray.getRgbHex(e,0)];r=wt;break;case dt:j.state.strokeColorSpace=ColorSpaceUtils.gray;e=[ColorSpaceUtils.gray.getRgbHex(e,0)];r=bt;break;case kt:j.state.fillColorSpace=ColorSpaceUtils.cmyk;e=[ColorSpaceUtils.cmyk.getRgbHex(e,0)];r=wt;break;case jt:j.state.strokeColorSpace=ColorSpaceUtils.cmyk;e=[ColorSpaceUtils.cmyk.getRgbHex(e,0)];r=bt;break;case wt:j.state.fillColorSpace=ColorSpaceUtils.rgb;e=[ColorSpaceUtils.rgb.getRgbHex(e,0)];break;case bt:j.state.strokeColorSpace=ColorSpaceUtils.rgb;e=[ColorSpaceUtils.rgb.getRgbHex(e,0)];break;case pt:S=j.state.patternFillColorSpace;if(!S){if(isNumberArray(e,null)){e=[ColorSpaceUtils.gray.getRgbHex(e,0)];r=wt;break}e=[];r=$t;break}if("Pattern"===S.name){next(c.handleColorN(s,pt,e,S,w,n,a,m,d,g,f));return}e=[S.getRgbHex(e,0)];r=wt;break;case ut:S=j.state.patternStrokeColorSpace;if(!S){if(isNumberArray(e,null)){e=[ColorSpaceUtils.gray.getRgbHex(e,0)];r=bt;break}e=[];r=Vt;break}if("Pattern"===S.name){next(c.handleColorN(s,ut,e,S,w,n,a,m,d,g,f));return}e=[S.getRgbHex(e,0)];r=bt;break;case yt:let F;try{const t=n.get("Shading");if(!t)throw new FormatError("No shading resource found");F=t.get(e[0].name);if(!F)throw new FormatError("No shading object found")}catch(e){if(e instanceof AbortException)continue;if(c.options.ignoreErrors){warn(`getOperatorList - ignoring Shading: "${e}".`);continue}throw e}const T=c.parseShading({shading:F,resources:n,localColorSpaceCache:m,localShadingPatternCache:g});if(!T)continue;e=[T];r=yt;break;case qe:C=e[0]instanceof Name;x=e[0].name;if(C){const t=p.getByName(x);if(t){t.length>0&&s.addOp(qe,[t]);e=null;continue}}next(new Promise(function(e,t){if(!C)throw new FormatError("GState must be referred to by name.");const r=n.get("ExtGState");if(!(r instanceof Dict))throw new FormatError("ExtGState should be a dictionary.");const i=r.get(x);if(!(i instanceof Dict))throw new FormatError("GState should be a dictionary.");c.setGState({resources:n,gState:i,operatorList:s,cacheKey:x,task:a,stateManager:j,localGStateCache:p,localColorSpaceCache:m,seenRefs:f}).then(e,t)}).catch(function(e){if(!(e instanceof AbortException)){if(!c.options.ignoreErrors)throw e;warn(`getOperatorList - ignoring ExtGState: "${e}".`)}}));return;case de:{const[t]=e;if("number"!=typeof t){warn(`Invalid setLineWidth: ${t}`);continue}e[0]=Math.abs(t);break}case je:{const t=e[1];if("number"!=typeof t){warn(`Invalid setDash: ${t}`);continue}const a=e[0];if(!Array.isArray(a)){warn(`Invalid setDash: ${a}`);continue}a.some(e=>"number"!=typeof e)&&(e[0]=a.filter(e=>"number"==typeof e));break}case xe:case Ce:case Ie:case Fe:case Te:case Oe:case Re:c.buildPath(r,e,j.state);continue;case He:case Be:case De:case Me:case Ne:case Pe:case _e:case Ee:case ze:{const{state:{pathBuffer:e,pathMinMax:a}}=j;r!==Be&&r!==_e&&r!==Ee||e.push(ta);if(0===e.length)s.addOp(Gt,[r,[null],null]);else{s.addOp(Gt,[r,[new Float32Array(e)],a.slice()]);e.length=0;a.set(t,0)}continue}case tt:s.addOp(r,[new Float32Array(e)]);continue;case xt:case Ct:case Ot:case Rt:continue;case Ft:if(!(e[0]instanceof Name)){warn(`Expected name for beginMarkedContentProps arg0=${e[0]}`);s.addOp(Ft,["OC",null]);continue}if("OC"===e[0].name){next(c.parseMarkedContentProps(e[1],n).then(e=>{s.addOp(Ft,["OC",e])}).catch(e=>{if(!(e instanceof AbortException)){if(!c.options.ignoreErrors)throw e;warn(`getOperatorList - ignoring beginMarkedContentProps: "${e}".`);s.addOp(Ft,["OC",null])}}));return}e=[e[0].name,e[1]instanceof Dict?e[1].get("MCID"):null];break;default:if(null!==e){for(q=0,v=e.length;q{if(!(e instanceof AbortException)){if(!this.options.ignoreErrors)throw e;warn(`getOperatorList - ignoring errors during "${a.name}" task: "${e}".`);closePendingRestoreOPS()}})}async getTextContent({stream:e,task:t,resources:a,stateManager:s=null,includeMarkedContent:r=!1,sink:i,seenStyles:o=new Set,viewBox:l,lang:f=null,markedContentData:c=null,disableNormalization:h=!1,keepWhiteSpace:u=!1,prevRefs:m=null,intersector:p=null}){if(e.isAsync){const t=await e.asyncGetBytes();t&&(e=new Stream(t,0,t.length,e.dict))}i??=textSinkWrapper(null);const d=e.dict?.objId,g=new RefSet(m);if(d){if(m?.has(d))throw new Error(`getTextContent - ignoring circular reference: ${d}`);g.put(d)}a||=Dict.empty;s||=new StateManager(new TextState);r&&(c||={level:0});const b={items:[],styles:Object.create(null),lang:f},w={initialized:!1,str:[],totalWidth:0,totalHeight:0,width:0,height:0,vertical:!1,prevTransform:null,prevTextRise:0,textAdvanceScale:0,spaceInFlowMin:0,spaceInFlowMax:0,trackingSpaceMin:1/0,negativeSpaceMax:-1/0,notASpace:-1/0,transform:null,fontName:null,hasEOL:!1},j=[" "," "];let k=0;function saveLastChar(e){const t=(k+1)%2,a=" "!==j[k]&&" "===j[t];j[k]=e;k=t;return!u&&a}function shouldAddWhitepsace(){return!u&&" "!==j[k]&&" "===j[(k+1)%2]}function resetLastChars(){j[0]=j[1]=" ";k=0}const y=this,q=this.xref,v=[];let S=null;const x=new LocalImageCache,C=new LocalGStateCache,F=new EvaluatorPreprocessor(e,q,s);let T,O;function pushWhitespace({width:e=0,height:t=0,transform:a=w.prevTransform,fontName:n=w.fontName}){p?.addExtraChar(" ");b.items.push({str:" ",dir:"ltr",width:e,height:t,transform:a,fontName:n,hasEOL:!1})}function getCurrentTextTransform(){const e=T.font,t=[T.fontSize*T.textHScale,0,0,T.fontSize,0,T.textRise];if(e.isType3Font&&(T.fontSize<=1||e.isCharBBox)&&!isArrayEqual(T.fontMatrix,n)){const a=e.bbox[3]-e.bbox[1];a>0&&(t[3]*=a*T.fontMatrix[3])}return Util.transform(T.ctm,Util.transform(T.textMatrix,t))}function ensureTextContentItem(){if(w.initialized)return w;const{font:e,loadedName:t}=T;if(!o.has(t)){o.add(t);b.styles[t]={fontFamily:e.fallbackName,ascent:e.ascent,descent:e.descent,vertical:e.vertical};if(y.options.fontExtraProperties&&e.systemFontInfo){const a=b.styles[t];a.fontSubstitution=e.systemFontInfo.css;a.fontSubstitutionLoadedName=e.systemFontInfo.loadedName}}w.fontName=t;const a=w.transform=getCurrentTextTransform();if(e.vertical){w.width=w.totalWidth=Math.hypot(a[0],a[1]);w.height=w.totalHeight=0;w.vertical=!0}else{w.width=w.totalWidth=0;w.height=w.totalHeight=Math.hypot(a[2],a[3]);w.vertical=!1}const n=Math.hypot(T.textLineMatrix[0],T.textLineMatrix[1]),s=Math.hypot(T.ctm[0],T.ctm[1]);w.textAdvanceScale=s*n;const{fontSize:r}=T;w.trackingSpaceMin=.102*r;w.notASpace=.03*r;w.negativeSpaceMax=-.2*r;w.spaceInFlowMin=.102*r;w.spaceInFlowMax=.6*r;w.hasEOL=!1;w.initialized=!0;return w}function updateAdvanceScale(){if(!w.initialized)return;const e=Math.hypot(T.textLineMatrix[0],T.textLineMatrix[1]),t=Math.hypot(T.ctm[0],T.ctm[1])*e;if(t!==w.textAdvanceScale){if(w.vertical){w.totalHeight+=w.height*w.textAdvanceScale;w.height=0}else{w.totalWidth+=w.width*w.textAdvanceScale;w.width=0}w.textAdvanceScale=t}}function runBidiTransform(e){let t=e.str.join("");h||(t=function normalizeUnicode(e){if(!ia){ia=/([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu;oa=new Map([["ſt","ſt"]])}return e.replaceAll(ia,(e,t,a)=>t?t.normalize("NFKC"):oa.get(a))}(t));const a=bidi(t,-1,e.vertical);return{str:a.str,dir:a.dir,width:Math.abs(e.totalWidth),height:Math.abs(e.totalHeight),transform:e.transform,fontName:e.fontName,hasEOL:e.hasEOL}}async function handleSetFont(e,s){const r=await y.loadFont(e,s,a,t,null,null,g);T.loadedName=r.loadedName;T.font=r.font;T.fontMatrix=r.font.fontMatrix||n}function applyInverseRotation(e,t,a){const n=Math.hypot(a[0],a[1]);return[(a[0]*e+a[1]*t)/n,(a[2]*e+a[3]*t)/n]}function compareWithLastPosition(e){const t=getCurrentTextTransform();let a=t[4],n=t[5];if(T.font?.vertical){if(al[2]||n+el[3])return!1}else if(a+el[2]||nl[3])return!1;if(!T.font||!w.prevTransform)return!0;let s=w.prevTransform[4],r=w.prevTransform[5];if(s===a&&r===n)return!0;let i=-1;t[0]&&0===t[1]&&0===t[2]?i=t[0]>0?0:180:t[1]&&0===t[0]&&0===t[3]&&(i=t[1]>0?90:270);switch(i){case 0:break;case 90:[a,n]=[n,a];[s,r]=[r,s];break;case 180:[a,n,s,r]=[-a,-n,-s,-r];break;case 270:[a,n]=[-n,-a];[s,r]=[-r,-s];break;default:[a,n]=applyInverseRotation(a,n,t);[s,r]=applyInverseRotation(s,r,w.prevTransform)}if(T.font.vertical){const e=(r-n)/w.textAdvanceScale,t=a-s,i=Math.sign(w.height||w.totalHeight);if(e.5*w.width){appendEOL();return!0}resetLastChars();flushTextContentItem();return!0}if(Math.abs(t)>w.width){appendEOL();return!0}e<=i*w.notASpace&&resetLastChars();if(e<=i*w.trackingSpaceMin)if(shouldAddWhitepsace()){resetLastChars();flushTextContentItem();pushWhitespace({height:Math.abs(e)})}else w.height+=e;else if(!addFakeSpaces(e,w.prevTransform,i))if(0===w.str.length){resetLastChars();pushWhitespace({height:Math.abs(e)})}else w.height+=e;Math.abs(t)>.25*w.width&&flushTextContentItem();return!0}const o=(a-s)/w.textAdvanceScale,f=n-r,c=Math.sign(w.width||w.totalWidth);if(o.5*w.height){appendEOL();return!0}resetLastChars();flushTextContentItem();return!0}const h=T.textRise-w.prevTextRise,u=0===h?f:f-t[3]/T.fontSize*h;if(Math.abs(u)>w.height){appendEOL();return!0}o<=c*w.notASpace&&resetLastChars();if(o<=c*w.trackingSpaceMin)if(shouldAddWhitepsace()){resetLastChars();flushTextContentItem();pushWhitespace({width:Math.abs(o)})}else w.width+=o;else if(!addFakeSpaces(o,w.prevTransform,c))if(0===w.str.length){resetLastChars();pushWhitespace({width:Math.abs(o)})}else w.width+=o;Math.abs(f)>.25*w.height&&flushTextContentItem();return!0}function buildTextContentItem({chars:e,extraSpacing:t}){if(O!==T&&(O.fontSize!==T.fontSize||O.fontName!==T.fontName&&(O.font.name!==T.font.name||O.font.vertical!==T.font.vertical))){flushTextContentItem();O=T.clone()}const a=T.font,n=a.vertical?-T.charSpacing:T.charSpacing;if(!e){const e=n+t;e&&(a.vertical?T.translateTextMatrix(0,-e):T.translateTextMatrix(e*T.textHScale,0));u&&compareWithLastPosition(0);return}const s=a.charsToGlyphs(e),r=T.fontMatrix[0]*T.fontSize;for(let e=0,i=s.length;e0){const e=v.join("");v.length=0;buildTextContentItem({chars:e,extraSpacing:0})}break;case nt:if(!s.state.font){y.ensureStateFont(s.state);continue}buildTextContentItem({chars:j[0],extraSpacing:0});break;case rt:if(!s.state.font){y.ensureStateFont(s.state);continue}T.carriageReturn();buildTextContentItem({chars:j[0],extraSpacing:0});break;case it:if(!s.state.font){y.ensureStateFont(s.state);continue}T.wordSpacing=j[0];T.charSpacing=j[1];T.carriageReturn();buildTextContentItem({chars:j[2],extraSpacing:0});break;case At:flushTextContentItem();S??=a.get("XObject")||Dict.empty;w=j[0]instanceof Name;d=j[0].name;if(w&&x.getByName(d))break;next(new Promise(function(e,n){if(!w)throw new FormatError("XObject must be referred to by name.");let m=S.getRaw(d);if(m instanceof Ref){if(x.getByRef(m)){e();return}if(y.globalImageCache.getData(m,y.pageIndex)){e();return}m=q.fetch(m)}if(!(m instanceof BaseStream))throw new FormatError("XObject should be a stream");const{dict:p}=m,b=p.get("Subtype");if(!(b instanceof Name))throw new FormatError("XObject should have a Name subtype");if("Form"!==b.name){x.set(d,p.objId,!0);e();return}const j=s.state.clone(),k=new StateManager(j),v=lookupMatrix(p.getArray("Matrix"),null);v&&k.transform(v);const C=p.get("Resources");enqueueChunk();const F=textSinkWrapper(i);y.getTextContent({stream:m,task:t,resources:C instanceof Dict?C:a,stateManager:k,includeMarkedContent:r,sink:F,seenStyles:o,viewBox:l,lang:f,markedContentData:c,disableNormalization:h,keepWhiteSpace:u,prevRefs:g}).then(function(){F.enqueueInvoked||x.set(d,p.objId,!0);e()},n)}).catch(function(e){if(!(e instanceof AbortException)){if(!y.options.ignoreErrors)throw e;warn(`getTextContent - ignoring XObject: "${e}".`)}}));return;case qe:w=j[0]instanceof Name;d=j[0].name;if(w&&C.getByName(d))break;next(new Promise(function(e,t){if(!w)throw new FormatError("GState must be referred to by name.");const n=a.get("ExtGState");if(!(n instanceof Dict))throw new FormatError("ExtGState should be a dictionary.");const s=n.get(d);if(!(s instanceof Dict))throw new FormatError("GState should be a dictionary.");const r=s.get("Font");if(r){flushTextContentItem();T.fontName=null;T.fontSize=r[1];handleSetFont(null,r[0]).then(e,t)}else{C.set(d,s.objId,!0);e()}}).catch(function(e){if(!(e instanceof AbortException)){if(!y.options.ignoreErrors)throw e;warn(`getTextContent - ignoring ExtGState: "${e}".`)}}));return;case It:flushTextContentItem();if(r){c.level++;b.items.push({type:"beginMarkedContent",tag:j[0]instanceof Name?j[0].name:null})}break;case Ft:flushTextContentItem();if(r){c.level++;const e=j[1]instanceof Dict?j[1].get("MCID"):null;b.items.push({type:"beginMarkedContentProps",id:Number.isInteger(e)?`${y.idFactory.getPageObjId()}_mc${e}`:null,tag:j[0]instanceof Name?j[0].name:null})}break;case Tt:flushTextContentItem();if(r){if(0===c.level)break;c.level--;b.items.push({type:"endMarkedContent"})}}if(b.items.length>=i.desiredSize){p=!0;break}}if(p)next(Pi);else{flushTextContentItem();enqueueChunk();e()}}).catch(e=>{if(!(e instanceof AbortException)){if(!this.options.ignoreErrors)throw e;warn(`getTextContent - ignoring errors during "${t.name}" task: "${e}".`);flushTextContentItem();enqueueChunk()}})}async extractDataStructures(e,t){const a=this.xref;let n;const s=this.readToUnicode(t.toUnicode);if(t.composite){const a=e.get("CIDSystemInfo");a instanceof Dict&&!t.cidSystemInfo&&(t.cidSystemInfo={registry:stringToPDFString(a.get("Registry")),ordering:stringToPDFString(a.get("Ordering")),supplement:a.get("Supplement")});try{const t=e.get("CIDToGIDMap");t instanceof BaseStream&&(n=t.getBytes())}catch(e){if(!this.options.ignoreErrors)throw e;warn(`extractDataStructures - ignoring CIDToGIDMap data: "${e}".`)}}const r=[];let i,o=null;if(e.has("Encoding")){i=e.get("Encoding");if(i instanceof Dict){o=i.get("BaseEncoding");o=o instanceof Name?o.name:null;if(i.has("Differences")){const e=i.get("Differences");let t=0;for(const n of e){const e=a.fetchIfRef(n);if("number"==typeof e)t=e;else{if(!(e instanceof Name))throw new FormatError(`Invalid entry in 'Differences' array: ${e}`);r[t++]=e.name}}}}else if(i instanceof Name)o=i.name;else{const e="Encoding is not a Name nor a Dict";if(!this.options.ignoreErrors)throw new FormatError(e);warn(e)}"MacRomanEncoding"!==o&&"MacExpertEncoding"!==o&&"WinAnsiEncoding"!==o&&(o=null)}const l=!t.file||t.isInternalFont,f=Xn()[t.name];o&&l&&f&&(o=null);if("WinAnsiEncoding"===o&&l&&t.name?.charCodeAt(0)>=183){const e=t.name;if(["ËÎÌå","ºÚÌå","¿¬Ìå","·ÂËÎ","¿¬Ìå_GB2312","·ÂËÎ_GB2312","Á¥Êé","ÐÂËÎ","·ÂËÎÌå","С±êËÎ"].includes(e)){o=null;t.defaultEncoding="Adobe-GB1-UCS2";t.composite=!0;t.cidEncoding=Name.get("GBK-EUC-H");const e=await CMapFactory.create({encoding:t.cidEncoding,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});t.cMap=e;t.vertical=t.cMap.vertical;t.cidSystemInfo={registry:"Adobe",ordering:"GB1",supplement:0}}}if(o)t.defaultEncoding=getEncoding(o);else{let e=!!(t.flags&An);const a=!!(t.flags&xn);if("TrueType"===t.type&&e&&a&&0!==r.length){t.flags&=~An;e=!1}i=un;"TrueType"!==t.type||a||(i=mn);if(e||f){i=hn;l&&(/Symbol/i.test(t.name)?i=pn:/Dingbats/i.test(t.name)?i=dn:/Wingdings/i.test(t.name)&&(i=mn))}t.defaultEncoding=i}t.differences=r;t.baseEncodingName=o;t.hasEncoding=!!o||r.length>0;t.dict=e;t.toUnicode=await s;const c=await this.buildToUnicode(t);t.toUnicode=c;n&&(t.cidToGidMap=this.readCidToGidMap(n,c));return t}_simpleFontToUnicode(e,t=!1){assert(!e.composite,"Must be a simple font.");const a=[],n=e.defaultEncoding.slice(),s=e.baseEncodingName,r=e.differences;for(const e in r){const t=r[e];".notdef"!==t&&(n[e]=t)}const i=gn();for(const r in n){let o=n[r];if(""===o)continue;let l=i[o];if(void 0!==l){a[r]=String.fromCharCode(l);continue}let f=0;switch(o[0]){case"G":3===o.length&&(f=parseInt(o.substring(1),16));break;case"g":5===o.length&&(f=parseInt(o.substring(1),16));break;case"C":case"c":if(o.length>=3&&o.length<=4){const a=o.substring(1);if(t){f=parseInt(a,16);break}f=+a;if(Number.isNaN(f)&&Number.isInteger(parseInt(a,16)))return this._simpleFontToUnicode(e,!0)}break;case"u":l=getUnicodeForGlyph(o,i);-1!==l&&(f=l);break;default:switch(o){case"f_h":case"f_t":case"T_h":a[r]=o.replaceAll("_","");continue}}if(f>0&&f<=1114111&&Number.isInteger(f)){if(s&&f===+r){const e=getEncoding(s);if(e&&(o=e[r])){a[r]=String.fromCharCode(i[o]);continue}}a[r]=String.fromCodePoint(f)}}return a}async buildToUnicode(e){e.hasIncludedToUnicodeMap=e.toUnicode?.length>0;if(e.hasIncludedToUnicodeMap){!e.composite&&e.hasEncoding&&(e.fallbackToUnicode=this._simpleFontToUnicode(e));return e.toUnicode}if(!e.composite)return new ToUnicodeMap(this._simpleFontToUnicode(e));if(e.composite&&(e.cMap.builtInCMap&&!(e.cMap instanceof IdentityCMap)||"Adobe"===e.cidSystemInfo?.registry&&("GB1"===e.cidSystemInfo.ordering||"CNS1"===e.cidSystemInfo.ordering||"Japan1"===e.cidSystemInfo.ordering||"Korea1"===e.cidSystemInfo.ordering))){const{registry:t,ordering:a}=e.cidSystemInfo,n=Name.get(`${t}-${a}-UCS2`),s=await CMapFactory.create({encoding:n,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}),r=[],i=[];e.cMap.forEach(function(e,t){if(t>65535)throw new FormatError("Max size of CID is 65,535");const a=s.lookup(t);if(a){i.length=0;for(let e=0,t=a.length;e>1;(0!==s||t.has(r))&&(a[r]=s)}return a}extractWidths(e,t,a){const n=this.xref;let s=[],r=0;const i=[];let o;if(a.composite){const t=e.get("DW");r="number"==typeof t?Math.ceil(t):1e3;const l=e.get("W");if(Array.isArray(l))for(let e=0,t=l.length;e{const t=f.get(e),s=new OperatorList;return i.getOperatorList({stream:t,task:a,resources:c,operatorList:s,prevRefs:n}).then(()=>{switch(s.fnArray[0]){case lt:this.#Ge(s,w);break;case ot:w||this.#Ve(s)}h[e]=s.getIR();for(const e of s.dependencies)r.add(e)}).catch(function(t){warn(`Type3 font resource "${e}" is not available.`);const a=new OperatorList;h[e]=a.getIR()})});this.#Ke=l.then(()=>{s.charProcOperatorList=h;if(this._bbox){s.isCharBBox=!0;s.bbox=this._bbox}});return this.#Ke}#Ge(e,a=NaN){const n=Util.normalizeRect(e.argsArray[0].slice(2)),s=n[2]-n[0],r=n[3]-n[1],i=Math.hypot(s,r);if(0===s||0===r){e.fnArray.splice(0,1);e.argsArray.splice(0,1)}else if(0===a||Math.round(i/a)>=10){this._bbox??=t.slice();Util.rectBoundingBox(...n,this._bbox)}let o=0,l=e.length;for(;o=xe&&r<=ze;if(s.variableArgs)o>i&&info(`Command ${n}: expected [0, ${i}] args, but received ${o} args.`);else{if(o!==i){const e=this.nonProcessedArgs;for(;o>i;){e.push(t.shift());o--}for(;oEvaluatorPreprocessor.MAX_INVALID_PATH_OPS)throw new FormatError(`Invalid ${e}`);warn(`Skipping ${e}`);null!==t&&(t.length=0);continue}}this.preprocessCommand(r,t);e.fn=r;e.args=t;return!0}if(a===fa)return!1;if(null!==a){null===t&&(t=[]);t.push(a);if(t.length>33)throw new FormatError("Too many arguments")}}}preprocessCommand(e,t){switch(0|e){case ve:this.stateManager.save();break;case Se:this.stateManager.restore();break;case Ae:this.stateManager.transform(t)}}}class DefaultAppearanceEvaluator extends EvaluatorPreprocessor{constructor(e){super(new StringStream(e))}parse(){const e={fn:0,args:[]},t={fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3)};try{for(;;){e.args.length=0;if(!this.read(e))break;if(0!==this.savedStatesDepth)continue;const{fn:a,args:n}=e;switch(0|a){case Ye:const[e,a]=n;e instanceof Name&&(t.fontName=e.name);"number"==typeof a&&a>0&&(t.fontSize=a);break;case wt:ColorSpaceUtils.rgb.getRgbItem(n,0,t.fontColor,0);break;case gt:ColorSpaceUtils.gray.getRgbItem(n,0,t.fontColor,0);break;case kt:ColorSpaceUtils.cmyk.getRgbItem(n,0,t.fontColor,0)}}}catch(e){warn(`parseDefaultAppearance - ignoring errors: "${e}".`)}return t}}function parseDefaultAppearance(e){return new DefaultAppearanceEvaluator(e).parse()}class AppearanceStreamEvaluator extends EvaluatorPreprocessor{constructor(e,t,a){super(e);this.stream=e;this.xref=t;this.globalColorSpaceCache=a;this.resources=e.dict?.get("Resources")}parse(){const e={fn:0,args:[]};let t={scaleFactor:1,fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3),fillColorSpace:ColorSpaceUtils.gray},a=!1;const n=[];try{for(;;){e.args.length=0;if(a||!this.read(e))break;const{fn:s,args:r}=e;switch(0|s){case ve:n.push({scaleFactor:t.scaleFactor,fontSize:t.fontSize,fontName:t.fontName,fontColor:t.fontColor.slice(),fillColorSpace:t.fillColorSpace});break;case Se:t=n.pop()||t;break;case tt:t.scaleFactor*=Math.hypot(r[0],r[1]);break;case Ye:const[e,s]=r;e instanceof Name&&(t.fontName=e.name);"number"==typeof s&&s>0&&(t.fontSize=s*t.scaleFactor);break;case ct:t.fillColorSpace=ColorSpaceUtils.parse({cs:r[0],xref:this.xref,resources:this.resources,pdfFunctionFactory:this._pdfFunctionFactory,globalColorSpaceCache:this.globalColorSpaceCache,localColorSpaceCache:this._localColorSpaceCache});break;case mt:t.fillColorSpace.getRgbItem(r,0,t.fontColor,0);break;case wt:ColorSpaceUtils.rgb.getRgbItem(r,0,t.fontColor,0);break;case gt:ColorSpaceUtils.gray.getRgbItem(r,0,t.fontColor,0);break;case kt:ColorSpaceUtils.cmyk.getRgbItem(r,0,t.fontColor,0);break;case nt:case st:case rt:case it:a=!0}}}catch(e){warn(`parseAppearanceStream - ignoring errors: "${e}".`)}this.stream.reset();delete t.scaleFactor;delete t.fillColorSpace;return t}get _localColorSpaceCache(){return shadow(this,"_localColorSpaceCache",new LocalColorSpaceCache)}get _pdfFunctionFactory(){return shadow(this,"_pdfFunctionFactory",new PDFFunctionFactory({xref:this.xref}))}}function getPdfColor(e,t){if(e[0]===e[1]&&e[1]===e[2]){return`${numberToString(e[0]/255)} ${t?"g":"G"}`}return Array.from(e,e=>numberToString(e/255)).join(" ")+" "+(t?"rg":"RG")}class FakeUnicodeFont{static#$e=1;constructor(e,t){this.xref=e;this.widths=null;this.firstChar=1/0;this.lastChar=-1/0;this.fontFamily=t;const a=new OffscreenCanvas(1,1);this.ctxMeasure=a.getContext("2d",{willReadFrequently:!0});this.fontName=Name.get(`InvalidPDFjsFont_${t}_${FakeUnicodeFont.#$e++}`)}get fontDescriptorRef(){if(!FakeUnicodeFont._fontDescriptorRef){const e=new Dict(this.xref);e.setIfName("Type","FontDescriptor");e.set("FontName",this.fontName);e.set("FontFamily","MyriadPro Regular");e.set("FontBBox",[0,0,0,0]);e.setIfName("FontStretch","Normal");e.set("FontWeight",400);e.set("ItalicAngle",0);FakeUnicodeFont._fontDescriptorRef=this.xref.getNewPersistentRef(e)}return FakeUnicodeFont._fontDescriptorRef}get descendantFontRef(){const e=new Dict(this.xref);e.set("BaseFont",this.fontName);e.setIfName("Type","Font");e.setIfName("Subtype","CIDFontType0");e.setIfName("CIDToGIDMap","Identity");e.set("FirstChar",this.firstChar);e.set("LastChar",this.lastChar);e.set("FontDescriptor",this.fontDescriptorRef);e.set("DW",1e3);const t=[],a=[...this.widths].sort();let n=null,s=null;for(const[e,r]of a)if(n)if(e===n+s.length)s.push(r);else{t.push(n,s);n=e;s=[r]}else{n=e;s=[r]}n&&t.push(n,s);e.set("W",t);const r=new Dict(this.xref);r.set("Ordering","Identity");r.set("Registry","Adobe");r.set("Supplement",0);e.set("CIDSystemInfo",r);return this.xref.getNewPersistentRef(e)}get baseFontRef(){const e=new Dict(this.xref);e.set("BaseFont",this.fontName);e.setIfName("Type","Font");e.setIfName("Subtype","Type0");e.setIfName("Encoding","Identity-H");e.set("DescendantFonts",[this.descendantFontRef]);e.setIfName("ToUnicode","Identity-H");return this.xref.getNewPersistentRef(e)}get resources(){const e=new Dict(this.xref),t=new Dict(this.xref);t.set(this.fontName.name,this.baseFontRef);e.set("Font",t);return e}_createContext(){this.widths=new Map;this.ctxMeasure.font=`1000px ${this.fontFamily}`;return this.ctxMeasure}createFontResources(e){const t=this._createContext();for(const a of e.split(/\r\n?|\n/))for(const e of a.split("")){const a=e.charCodeAt(0);if(this.widths.has(a))continue;const n=t.measureText(e),s=Math.ceil(n.width);this.widths.set(a,s);this.firstChar=Math.min(a,this.firstChar);this.lastChar=Math.max(a,this.lastChar)}return this.resources}static getFirstPositionInfo(e,t,a){const[n,i,o,l]=e;let f=o-n,c=l-i;t%180!=0&&([f,c]=[c,f]);const h=s*a;return{coords:[0,c+r*a-h],bbox:[0,0,f,c],matrix:0!==t?getRotationMatrix(t,c,h):void 0}}createAppearance(e,t,a,n,i,o){const l=this._createContext(),f=[];let c=-1/0;for(const t of e.split(/\r\n?|\n/)){f.push(t);const e=l.measureText(t).width;c=Math.max(c,e);for(const e of codePointIter(t)){const t=String.fromCodePoint(e);let a=this.widths.get(e);if(void 0===a){const n=l.measureText(t);a=Math.ceil(n.width);this.widths.set(e,a);this.firstChar=Math.min(e,this.firstChar);this.lastChar=Math.max(e,this.lastChar)}}}c*=n/1e3;const[h,u,m,p]=t;let d=m-h,g=p-u;a%180!=0&&([d,g]=[g,d]);const b=c>d?d/c:1;let w=1;const j=s*n,k=r*n,y=j*f.length;y>g&&(w=g/y);const q=n*Math.min(b,w),v=["q",`0 0 ${numberToString(d)} ${numberToString(g)} re W n`,"BT",`1 0 0 1 0 ${numberToString(g+k)} Tm 0 Tc ${getPdfColor(i,!0)}`,`/${this.fontName.name} ${numberToString(q)} Tf`],{resources:S}=this;if(1!==(o="number"==typeof o&&o>=0&&o<=1?o:1)){v.push("/R0 gs");const e=new Dict(this.xref),t=new Dict(this.xref);t.set("ca",o);t.set("CA",o);t.setIfName("Type","ExtGState");e.set("R0",t);S.set("ExtGState",e)}const x=numberToString(j);for(const e of f)v.push(`0 -${x} Td <${stringToUTF16HexString(e)}> Tj`);v.push("ET","Q");const C=v.join("\n"),F=new Dict(this.xref);F.setIfName("Subtype","Form");F.setIfName("Type","XObject");F.set("BBox",[0,0,d,g]);F.set("Length",C.length);F.set("Resources",S);if(a){const e=getRotationMatrix(a,d,g);F.set("Matrix",e)}return new StringStream(C,F)}}const _i=["m/d","m/d/yy","mm/dd/yy","mm/yy","d-mmm","d-mmm-yy","dd-mmm-yy","yy-mm-dd","mmm-yy","mmmm-yy","mmm d, yyyy","mmmm d, yyyy","m/d/yy h:MM tt","m/d/yy HH:MM"],Ei=["HH:MM","h:MM tt","HH:MM:ss","h:MM:ss tt"];class NameOrNumberTree{constructor(e,t,a){this.root=e;this.xref=t;this._type=a}getAll(e=!1){const t=new Map;if(!this.root)return t;const a=this.xref,n=new RefSet;this.root instanceof Ref&&n.put(this.root);const s=[this.root];for(const r of s){const i=a.fetchIfRef(r);if(!(i instanceof Dict))continue;if(i.has("Kids")){const e=i.get("Kids");if(!Array.isArray(e))continue;for(const t of e){if(t instanceof Ref){if(n.has(t))throw new FormatError(`Duplicate entry in "${this._type}" tree.`);n.put(t)}s.push(t)}continue}const o=i.get(this._type);if(Array.isArray(o))for(let n=0,s=o.length;n10){warn(`Search depth limit reached for "${this._type}" tree.`);return null}const s=a.get("Kids");if(!Array.isArray(s))return null;let r=0,i=s.length-1;for(;r<=i;){const n=r+i>>1,o=t.fetchIfRef(s[n]),l=o.get("Limits");if(et.fetchIfRef(l[1]))){a=o;break}r=n+1}}if(r>i)return null}const s=a.get(this._type);if(Array.isArray(s)){let a=0,n=s.length-2;for(;a<=n;){const r=a+n>>1,i=r+(1&r),o=t.fetchIfRef(s[i]);if(eo))return s[i+1];a=i+2}}}return null}get(e){return this.xref.fetchIfRef(this.getRaw(e))}}class NameTree extends NameOrNumberTree{constructor(e,t){super(e,t,"Names")}}class NumberTree extends NameOrNumberTree{constructor(e,t){super(e,t,"Nums")}}function clearGlobalCaches(){!function clearPatternCaches(){$a=Object.create(null)}();!function clearPrimitiveCaches(){ca=Object.create(null);ha=Object.create(null);ua=Object.create(null)}();!function clearUnicodeCaches(){yn.clear()}();WasmImage.cleanup()}class FileSpec{constructor(e){if(e instanceof Dict){this.root=e;e.has("FS")&&(this.fs=e.get("FS"));e.has("RF")&&warn("Related file specifications are not supported")}}get filename(){const e=FileSpec.pickPlatformItem(this.root);return e&&"string"==typeof e?stringToPDFString(e,!0).replaceAll("\\\\","\\").replaceAll("\\/","/").replaceAll("\\","/"):""}get description(){const e=this.root?.get("Desc");return e&&"string"==typeof e?stringToPDFString(e):""}get serializable(){const{filename:e,description:t}=this;return{rawFilename:e,filename:(a=e,a.substring(a.lastIndexOf("/")+1))||"unnamed",description:t};var a}static pickPlatformItem(e,t=!1){if(e instanceof Dict)for(const a of["UF","F","Unix","Mac","DOS"])if(e.has(a))return t?e.getRaw(a):e.get(a);return null}static hasEmbeddedFile(e){return this.pickPlatformItem(e.get("EF"))instanceof BaseStream}static readContent(e){if(!(e instanceof Dict))return null;const t=this.pickPlatformItem(e.get("EF"));if(!(t instanceof BaseStream)){warn("Embedded file specification points to non-existing/invalid content");return null}return this.readStreamContent(t)}static readStreamContent(e){const t=e.dict?.xref?.encrypt;if(null===t?.encryptionKey)throw new PasswordException("No password given",aa);return e.getBytes()}}const zi=0,Xi=-2,Wi=-3,Ki=-4,Gi=-5,Vi=-6,$i=-9;function isWhitespace(e,t){const a=e[t];return" "===a||"\n"===a||"\r"===a||"\t"===a}class XMLParserBase{static get _entityRegex(){return shadow(this,"_entityRegex",/&(?:#x([^;]+)|#([^;]+)|([^;]+));/g)}_resolveEntities(e){return e.replaceAll(XMLParserBase._entityRegex,(e,t,a,n)=>{if(t)return String.fromCodePoint(parseInt(t,16));if(a)return String.fromCodePoint(parseInt(a,10));switch(n){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"';case"apos":return"'"}return this.onResolveEntity(n)})}_parseContent(e,t){const a=[];let n=t;function skipWs(){for(;n"!==e[n]&&"/"!==e[n];)++n;const s=e.substring(t,n);skipWs();for(;n"!==e[n]&&"/"!==e[n]&&"?"!==e[n];){skipWs();let t="",s="";for(;n"!==e[a]&&"?"!==e[a]&&"/"!==e[a];)++a;const n=e.substring(t,a);!function skipWs(){for(;a"!==e[a+1]);)++a;return{name:n,value:e.substring(s,a),parsed:a-t}}parseXml(e){let t=0;for(;t",a);if(t<0){this.onError($i);return}this.onEndElement(e.substring(a,t));a=t+1;break;case"?":++a;const n=this._parseProcessingInstruction(e,a);if("?>"!==e.substring(a+n.parsed,a+n.parsed+2)){this.onError(Wi);return}this.onPi(n.name,n.value);a+=n.parsed+2;break;case"!":if("--"===e.substring(a+1,a+3)){t=e.indexOf("--\x3e",a+3);if(t<0){this.onError(Gi);return}this.onComment(e.substring(a+3,t));a=t+3}else if("[CDATA["===e.substring(a+1,a+8)){t=e.indexOf("]]>",a+8);if(t<0){this.onError(Xi);return}this.onCdata(e.substring(a+8,t));a=t+3}else{if("DOCTYPE"!==e.substring(a+1,a+8)){this.onError(Vi);return}{const n=e.indexOf("[",a+8);let s=!1;t=e.indexOf(">",a+8);if(t<0){this.onError(Ki);return}if(n>0&&t>n){t=e.indexOf("]>",a+8);if(t<0){this.onError(Ki);return}s=!0}const r=e.substring(a+8,t+(s?1:0));this.onDoctype(r);a=t+(s?2:1)}}break;default:const s=this._parseContent(e,a);if(null===s){this.onError(Vi);return}let r=!1;if("/>"===e.substring(a+s.parsed,a+s.parsed+2))r=!0;else if(">"!==e.substring(a+s.parsed,a+s.parsed+1)){this.onError($i);return}this.onBeginElement(s.name,s.attributes,r);a+=s.parsed+(r?2:1)}}else{for(;ae.textContent).join(""):this.nodeValue||""}get children(){return this.childNodes||[]}hasChildNodes(){return this.childNodes?.length>0}searchNode(e,t){if(t>=e.length)return this;const a=e[t];if(a.name.startsWith("#")&&t0){n.push([s,0]);s=s.childNodes[0]}else{if(0===n.length)return null;for(;0!==n.length;){const[e,t]=n.pop(),a=t+1;if(a");for(const t of this.childNodes)t.dump(e);e.push(``)}else this.nodeValue?e.push(`>${encodeToXmlString(this.nodeValue)}`):e.push("/>")}else e.push(encodeToXmlString(this.nodeValue))}}class SimpleXMLParser extends XMLParserBase{constructor({hasAttributes:e=!1,lowerCaseName:t=!1}){super();this._currentFragment=null;this._stack=null;this._errorCode=zi;this._hasAttributes=e;this._lowerCaseName=t}parseFromString(e){this._currentFragment=[];this._stack=[];this._errorCode=zi;this.parseXml(e);if(this._errorCode!==zi)return;const[t]=this._currentFragment;return t?{documentElement:t}:void 0}onText(e){if(function isWhitespaceString(e){for(let t=0,a=e.length;t\\376\\377([^<]+)/g,function(e,t){const a=t.replaceAll(/\\([0-3])([0-7])([0-7])/g,function(e,t,a,n){return String.fromCharCode(64*t+8*a+1*n)}).replaceAll(/&(amp|apos|gt|lt|quot);/g,function(e,t){switch(t){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw new Error(`_repair: ${t} isn't defined.`)}),n=[">"];for(let e=0,t=a.length;e=32&&t<127&&60!==t&&62!==t&&38!==t?n.push(String.fromCharCode(t)):n.push("&#x"+(65536+t).toString(16).substring(1)+";")}return n.join("")})}_getSequence(e){const t=e.nodeName;return"rdf:bag"!==t&&"rdf:seq"!==t&&"rdf:alt"!==t?null:e.childNodes.filter(e=>"rdf:li"===e.nodeName)}_parseArray(e){if(!e.hasChildNodes())return;const[t]=e.childNodes,a=this._getSequence(t)||[];this._metadataMap.set(e.nodeName,a.map(e=>e.textContent.trim()))}_parse(e){let t=e.documentElement;if("rdf:rdf"!==t.nodeName){t=t.firstChild;for(;t&&"rdf:rdf"!==t.nodeName;)t=t.nextSibling}if(t&&"rdf:rdf"===t.nodeName&&t.hasChildNodes())for(const e of t.childNodes)if("rdf:description"===e.nodeName)for(const t of e.childNodes){const e=t.nodeName;switch(e){case"#text":continue;case"dc:creator":case"dc:subject":this._parseArray(t);continue}this._metadataMap.set(e,t.textContent.trim())}}get serializable(){return{parsedData:this._metadataMap,rawData:this._data}}}const Yi=1,Ji=2,Qi=3,Zi=4,eo=5;class StructTreeRoot{kidRefToPosition=void 0;parentTree=null;roleMap=new Map;structParentIds=null;constructor(e,t,a){this.xref=e;this.dict=t;this.ref=a instanceof Ref?a:null;const n=t.get("RoleMap");if(n instanceof Dict)for(const[e,t]of n)t instanceof Name&&this.roleMap.set(e,t.name);const s=t.getRaw("ParentTree");s&&(this.parentTree=new NumberTree(s,e))}getKidPosition(e){if(void 0===this.kidRefToPosition){const e=this.dict.get("K");if(Array.isArray(e)){const t=this.kidRefToPosition=new Map;for(let a=0,n=e.length;a=0||(e.parentTreeId=a++);i=!1}}if(i){for(const e of t.values())for(const t of e){delete t.parentTreeId;delete t.structTreeParent}return!1}return!0}async updateStructureTree({newAnnotationsByPage:e,pdfManager:t,changes:a}){const{ref:n,xref:s}=this,r=this.dict.clone(),i=new RefSetCache;i.put(n,r);let o,l=r.getRaw("ParentTree");if(l instanceof Ref)o=s.fetch(l);else{o=l;l=s.getNewTemporaryRef();r.set("ParentTree",l)}o=o.clone();i.put(l,o);let f=o.getRaw("Nums"),c=null;if(f instanceof Ref){c=f;f=s.fetch(c)}f=f.slice();c||o.set("Nums",f);const h=await StructTreeRoot.#Je({newAnnotationsByPage:e,structTreeRootRef:n,structTreeRoot:this,kids:null,nums:f,xref:s,pdfManager:t,changes:a,cache:i});if(-1!==h){r.set("ParentTreeNextKey",h);c&&i.put(c,f);for(const[e,t]of i.items())a.put(e,{data:t})}}static async#Je({newAnnotationsByPage:e,structTreeRootRef:t,structTreeRoot:a,kids:n,nums:s,xref:r,pdfManager:i,changes:o,cache:l}){const f=Name.get("OBJR");let c,h=-1;for(const[u,m]of e){const e=await i.getPage(u),{ref:p}=e,d=p instanceof Ref;for(const{accessibilityData:i,ref:g,parentTreeId:b,structTreeParent:w}of m){if(!i?.type)continue;const{structParent:m}=i;if(a&&Number.isInteger(m)&&m>=0){let t=(c||=new Map).get(u);if(void 0===t){t=new StructTreePage(a,e.pageDict).collectObjects(p);c.set(u,t)}const n=t?.get(m);if(n){const e=r.fetch(n).clone();StructTreeRoot.#Ze(e,i);o.put(n,{data:e});continue}}h=Math.max(h,b);const j=r.getNewTemporaryRef(),k=new Dict(r);StructTreeRoot.#Ze(k,i);await this.#et({structTreeParent:w,tagDict:k,newTagRef:j,structTreeRootRef:t,fallbackKids:n,xref:r,cache:l});const y=new Dict(r);k.set("K",y);y.set("Type",f);d&&y.set("Pg",p);y.set("Obj",g);l.put(j,k);s.push(b,j)}}return h+1}static#Ze(e,{type:t,title:a,lang:n,alt:s,expanded:r,actualText:i}){e.set("S",Name.get(t));a&&e.set("T",stringToAsciiOrUTF16BE(a));n&&e.set("Lang",stringToAsciiOrUTF16BE(n));s&&e.set("Alt",stringToAsciiOrUTF16BE(s));r&&e.set("E",stringToAsciiOrUTF16BE(r));i&&e.set("ActualText",stringToAsciiOrUTF16BE(i))}static#Qe({elements:e,xref:t,pageDict:a,numberTree:n}){const s=new Map;for(const t of e)if(t.structTreeParentId){const e=parseInt(t.structTreeParentId.split("_mc")[1],10);s.getOrInsertComputed(e,makeArr).push(t)}const r=a.get("StructParents");if(!Number.isInteger(r))return;const i=n.get(r),updateElement=(e,a,n)=>{const r=s.get(e);if(r){const e=a.getRaw("P"),s=t.fetchIfRef(e);if(e instanceof Ref&&s instanceof Dict){const e={ref:n,dict:a};for(const t of r)t.structTreeParent=e}return!0}return!1};for(const e of i){if(!(e instanceof Ref))continue;const a=t.fetch(e),n=a.get("K");if(Number.isInteger(n))updateElement(n,a,e);else if(Array.isArray(n))for(let s of n){s=t.fetchIfRef(s);if(Number.isInteger(s)&&updateElement(s,a,e))break;if(!(s instanceof Dict))continue;if(!isName(s.get("Type"),"MCR"))break;const n=s.get("MCID");if(Number.isInteger(n)&&updateElement(n,a,e))break}}}static async#et({structTreeParent:e,tagDict:t,newTagRef:a,structTreeRootRef:n,fallbackKids:s,xref:r,cache:i}){let o,l=null;if(e){({ref:l}=e);o=e.dict.getRaw("P")||n}else o=n;t.set("P",o);const f=r.fetchIfRef(o);if(!f){s.push(a);return}let c=i.get(o);if(!c){c=f.clone();i.put(o,c)}const h=c.getRaw("K");let u=h instanceof Ref?i.get(h):null;if(!u){u=r.fetchIfRef(h);u=Array.isArray(u)?u.slice():[h];const e=r.getNewTemporaryRef();c.set("K",e);i.put(e,u)}const m=u.indexOf(l);u.splice(m>=0?m+1:u.length,0,a)}}class StructElementNode{constructor(e,t){this.tree=e;this.xref=e.xref;this.dict=t;this.kids=[];this.parseKids()}get role(){const e=this.dict.get("S"),t=e instanceof Name?e.name:"",{root:a}=this.tree;return a.roleMap.get(t)??t}get mathML(){let e=this.dict.get("AF")||[];Array.isArray(e)||(e=[e]);for(let t of e){t=this.xref.fetchIfRef(t);if(!isDict(t,"Filespec")||!isName(t.get("AFRelationship"),"Supplement"))continue;const e=FileSpec.pickPlatformItem(t.get("EF"));if(e instanceof BaseStream&&isDict(e.dict,"EmbeddedFile")&&isName(e.dict.get("Subtype"),"application/mathml+xml"))return stringToUTF8String(e.getString())}const t=this.dict.get("A");if(t instanceof Dict){if(isName(t.get("O"),"MSFT_Office")){const e=t.get("MSFT_MathML");return e?stringToPDFString(e):null}}return null}parseKids(){let e=null;const t=this.dict.getRaw("Pg");t instanceof Ref&&(e=t.toString());const a=this.dict.get("K");if(Array.isArray(a))for(const t of a){const a=this.parseKid(e,this.xref.fetchIfRef(t));a&&this.kids.push(a)}else{const t=this.parseKid(e,a);t&&this.kids.push(t)}}parseKid(e,t){if(Number.isInteger(t))return this.tree.pageDict.objId!==e?null:new StructElement({type:Yi,mcid:t,pageObjId:e});if(!(t instanceof Dict))return null;const a=t.getRaw("Pg");a instanceof Ref&&(e=a.toString());const n=t.get("Type")instanceof Name?t.get("Type").name:null;if("MCR"===n){if(this.tree.pageDict.objId!==e)return null;const a=t.getRaw("Stm");return new StructElement({type:Ji,refObjId:a instanceof Ref?a.toString():null,pageObjId:e,mcid:t.get("MCID")})}if("OBJR"===n){if(this.tree.pageDict.objId!==e)return null;const a=t.getRaw("Obj");return new StructElement({type:Qi,refObjId:a instanceof Ref?a.toString():null,pageObjId:e})}return new StructElement({type:eo,dict:t})}}class StructElement{constructor({type:e,dict:t=null,mcid:a=null,pageObjId:n=null,refObjId:s=null}){this.type=e;this.dict=t;this.mcid=a;this.pageObjId=n;this.refObjId=s;this.parentNode=null}}class StructTreePage{constructor(e,t){this.root=e;this.xref=e?.xref??null;this.rootDict=e?.dict??null;this.pageDict=t;this.nodes=[]}collectObjects(e){if(!(this.root&&this.rootDict&&e instanceof Ref))return null;const t=this.rootDict.get("ParentTree");if(!t)return null;const a=this.root.structParentIds?.get(e);if(!a)return null;const n=new Map,s=new NumberTree(t,this.xref);for(const[e]of a){const t=s.getRaw(e);t instanceof Ref&&n.set(e,t)}return n}parse(e){if(!(this.root&&this.rootDict&&e instanceof Ref))return;const{parentTree:t}=this.root;if(!t)return;const a=this.pageDict.get("StructParents"),n=this.root.structParentIds?.get(e);if(!Number.isInteger(a)&&!n)return;const s=new Map;if(Number.isInteger(a)){const e=t.get(a);if(Array.isArray(e))for(const t of e)t instanceof Ref&&this.addNode(this.xref.fetch(t),s)}if(n)for(const[e,a]of n){const n=t.get(e);if(n){const e=this.addNode(this.xref.fetchIfRef(n),s);1===e?.kids?.length&&e.kids[0].type===Qi&&(e.kids[0].type=a)}}}addNode(e,t,a=0){if(a>40){warn("StructTree MAX_DEPTH reached.");return null}if(!(e instanceof Dict))return null;if(t.has(e))return t.get(e);const n=new StructElementNode(this,e);t.set(e,n);switch(n.role){case"L":case"LBody":case"LI":case"Table":case"THead":case"TBody":case"TFoot":case"TR":for(const e of n.kids)e.type===eo&&this.addNode(e.dict,t,a-1)}const s=e.get("P");if(!(s instanceof Dict)||isName(s.get("Type"),"StructTreeRoot")){this.addTopLevelNode(e,n)||t.delete(e);return n}const r=this.addNode(s,t,a+1);if(!r)return n;let i=!1;for(const t of r.kids)if(t.type===eo&&t.dict===e){t.parentNode=n;i=!0}i||t.delete(e);return n}addTopLevelNode(e,t){const a=this.root.getKidPosition(e.objId);if(isNaN(a))return!1;-1!==a&&(this.nodes[a]=t);return!0}get serializable(){function nodeToSerializable(e,t,a=0){if(a>40){warn("StructTree too deep to be fully serialized.");return}const n=Object.create(null);n.role=e.role;n.children=[];t.children.push(n);let s=e.dict.get("Alt");"string"!=typeof s&&(s=e.dict.get("ActualText"));"string"==typeof s&&(n.alt=stringToPDFString(s));if("Formula"===n.role)try{const{mathML:t}=e;t&&(n.mathML=t)}catch(e){if(e instanceof MissingDataException)throw e;warn(`Ignoring mathML: "${e}".`)}const r=e.dict.get("A");if(r instanceof Dict){const e=lookupNormalRect(r.getArray("BBox"),null);if(e)n.bbox=e;else{const e=r.get("Width"),t=r.get("Height");"number"==typeof e&&e>0&&"number"==typeof t&&t>0&&(n.bbox=[0,0,e,t])}}const i=e.dict.get("Lang");"string"==typeof i&&(n.lang=stringToPDFString(i));for(const t of e.kids){const e=t.type===eo?t.parentNode:null;e?nodeToSerializable(e,n,a+1):t.type===Yi||t.type===Ji?n.children.push({type:"content",id:`p${t.pageObjId}_mc${t.mcid}`}):t.type===Qi?n.children.push({type:"object",id:t.refObjId}):t.type===Zi&&n.children.push({type:"annotation",id:`pdfjs_internal_id_${t.refObjId}`})}}const e=Object.create(null);e.children=[];e.role="Root";for(const t of this.nodes)t&&nodeToSerializable(t,e);return e}}const to=function _isValidExplicitDest(e,t,a){if(!Array.isArray(a)||a.length<2)return!1;const[n,s,...r]=a;if(!e(n)&&!Number.isInteger(n))return!1;if(!t(s))return!1;const i=r.length;let o=!0;switch(s.name){case"XYZ":if(i<2||i>3)return!1;break;case"Fit":case"FitB":return 0===i;case"FitH":case"FitBH":case"FitV":case"FitBV":if(i>1)return!1;break;case"FitR":if(4!==i)return!1;o=!1;break;default:return!1}for(const e of r)if(!("number"==typeof e||o&&null===e))return!1;return!0}.bind(null,e=>e instanceof Ref,isName);function fetchDest(e){e instanceof Dict&&(e=e.get("D"));return to(e)?e:null}function fetchRemoteDest(e){let t=e.get("D");if(t){t instanceof Name&&(t=t.name);if("string"==typeof t)return stringToPDFString(t,!0);if(to(t))return JSON.stringify(t)}return null}class Catalog{#tt=null;#at=new RefSetCache;#nt=new Map;#st=null;builtInCMapCache=new Map;fontCache=new RefSetCache;globalColorSpaceCache=new GlobalColorSpaceCache;globalImageCache=new GlobalImageCache;nonBlendModesSet=new RefSet;pageDictCache=new RefSetCache;pageIndexCache=new RefSetCache;pageKidsCountCache=new RefSetCache;standardFontDataCache=new Map;systemFontCache=new Map;constructor(e,t){this.pdfManager=e;this.xref=t;this.#st=t.getCatalogObj();if(!(this.#st instanceof Dict))throw new FormatError("Catalog object is not a dictionary.");this.toplevelPagesDict}cloneDict(){return this.#st.clone()}getAttachmentIdForAnnotation(e){let t=this.#at.get(e);if(t)return t;const a=`attachmentRef:${e.toString()}`;t=a;let n=1;for(;this.#nt.has(t)||this.attachments?.has(t);)t=`${a}-${n++}`;this.#at.put(e,t);this.#nt.set(t,e);return t}get version(){const e=this.#st.get("Version");if(e instanceof Name){if(da.test(e.name))return shadow(this,"version",e.name);warn(`Invalid PDF catalog version: ${e.name}`)}return shadow(this,"version",null)}get lang(){const e=this.#st.get("Lang");return shadow(this,"lang",e&&"string"==typeof e?stringToPDFString(e):null)}get needsRendering(){const e=this.#st.get("NeedsRendering");return shadow(this,"needsRendering","boolean"==typeof e&&e)}get collection(){let e=null;try{const t=this.#st.get("Collection");t instanceof Dict&&t.size>0&&(e=t)}catch(e){if(e instanceof MissingDataException)throw e;info("Cannot fetch Collection entry; assuming no collection is present.")}return shadow(this,"collection",e)}get acroForm(){let e=null;try{const t=this.#st.get("AcroForm");t instanceof Dict&&t.size>0&&(e=t)}catch(e){if(e instanceof MissingDataException)throw e;info("Cannot fetch AcroForm entry; assuming no forms are present.")}return shadow(this,"acroForm",e)}get acroFormRef(){const e=this.#st.getRaw("AcroForm");return shadow(this,"acroFormRef",e instanceof Ref?e:null)}get metadata(){const e=this.#st.getRaw("Metadata");if(!(e instanceof Ref))return shadow(this,"metadata",null);let t=null;try{const a=this.xref.fetch(e,!this.xref.encrypt?.encryptMetadata);if(a instanceof BaseStream&&isDict(a.dict,"Metadata")&&isName(a.dict.get("Subtype"),"XML")){const e=stringToUTF8String(a.getString());e&&(t=new MetadataParser(e).serializable)}}catch(e){if(e instanceof MissingDataException)throw e;info(`Skipping invalid Metadata: "${e}".`)}return shadow(this,"metadata",t)}get markInfo(){let e=null;try{e=this.#rt()}catch(e){if(e instanceof MissingDataException)throw e;warn("Unable to read mark info.")}return shadow(this,"markInfo",e)}#rt(){const e=this.#st.get("MarkInfo");if(!(e instanceof Dict))return null;const t={Marked:!1,UserProperties:!1,Suspects:!1};for(const a in t){const n=e.get(a);"boolean"==typeof n&&(t[a]=n)}return t}get hasStructTree(){return this.#st.has("StructTreeRoot")}get structTreeRoot(){let e=null;try{e=this.#it()}catch(e){if(e instanceof MissingDataException)throw e;warn("Unable read to structTreeRoot info.")}return shadow(this,"structTreeRoot",e)}#it(){const e=this.#st.getRaw("StructTreeRoot"),t=this.xref.fetchIfRef(e);return t instanceof Dict?new StructTreeRoot(this.xref,t,e):null}get toplevelPagesDict(){const e=this.#st.get("Pages");if(!(e instanceof Dict))throw new FormatError("Invalid top-level pages dictionary.");return shadow(this,"toplevelPagesDict",e)}get documentOutline(){let e=null;try{e=this.#ot()}catch(e){if(e instanceof MissingDataException)throw e;warn("Unable to read document outline.")}return shadow(this,"documentOutline",e)}#ot(e={}){let t=this.#st.get("Outlines");if(!(t instanceof Dict))return null;t=t.getRaw("First");if(!(t instanceof Ref))return null;const a={items:[]},n=[{obj:t,parent:a}],s=new RefSet;s.put(t);const r=this.xref,i=new Uint8ClampedArray(3);for(;n.length>0;){const a=n.shift(),o=r.fetchIfRef(a.obj);if(null===o)continue;o.has("Title")||warn("Invalid outline item encountered.");const l={url:null,dest:null,action:null};Catalog.parseDestDictionary({destDict:o,resultObj:l,docBaseUrl:this.baseUrl,docAttachments:this.attachments});const f=o.get("Title"),c=o.get("F")||0,h=o.getArray("C"),u=o.get("Count");let m=i;!isNumberArray(h,3)||0===h[0]&&0===h[1]&&0===h[2]||(m=ColorSpaceUtils.rgb.getRgb(h,0));const p={action:l.action,attachmentId:l.attachmentId,attachment:l.attachment,dest:l.dest,url:l.url,unsafeUrl:l.unsafeUrl,newWindow:l.newWindow,setOCGState:l.setOCGState,title:"string"==typeof f?stringToPDFString(f):"",color:m,count:Number.isInteger(u)?u:void 0,bold:!!(2&c),italic:!!(1&c),items:[]};e.keepRawDict&&(p.rawDict=o);a.parent.items.push(p);t=o.getRaw("First");if(t instanceof Ref&&!s.has(t)){n.push({obj:t,parent:p});s.put(t)}t=o.getRaw("Next");if(t instanceof Ref&&!s.has(t)){n.push({obj:t,parent:a.parent});s.put(t)}}return a.items.length>0?a.items:null}get documentOutlineForEditor(){let e=null;try{e=this.#ot({keepRawDict:!0})}catch(e){if(e instanceof MissingDataException)throw e;warn("Unable to read document outline.")}return shadow(this,"documentOutlineForEditor",e)}get permissions(){let e=null;try{e=this.#lt()}catch(e){if(e instanceof MissingDataException)throw e;warn("Unable to read permissions.")}return shadow(this,"permissions",e)}#lt(){const e=this.xref.trailer.get("Encrypt");if(!(e instanceof Dict))return null;let t=e.get("P");if("number"!=typeof t)return null;t+=2**32;const a=[];for(const e in q){const n=q[e];t&n&&a.push(n)}return a}get optionalContentConfig(){let e=null;try{const t=this.#st.get("OCProperties");if(!t)return shadow(this,"optionalContentConfig",null);const a=t.get("D");if(!a)return shadow(this,"optionalContentConfig",null);const n=t.get("OCGs");if(!Array.isArray(n))return shadow(this,"optionalContentConfig",null);const s=new RefSetCache;for(const e of n)e instanceof Ref&&!s.has(e)&&s.put(e,this.#ft(e));e=this.#ct(a,s)}catch(e){if(e instanceof MissingDataException)throw e;warn(`Unable to read optional content config: ${e}`)}return shadow(this,"optionalContentConfig",e)}#ft(e){const t=this.xref.fetch(e),a={id:e.toString(),name:null,intent:null,usage:{print:null,view:null},rbGroups:[]},n=t.get("Name");"string"==typeof n&&(a.name=stringToPDFString(n));let s=t.getArray("Intent");Array.isArray(s)||(s=[s]);s.every(e=>e instanceof Name)&&(a.intent=s.map(e=>e.name));const r=t.get("Usage");if(!(r instanceof Dict))return a;const i=a.usage,o=r.get("Print");if(o instanceof Dict){const e=o.get("PrintState");if(e instanceof Name)switch(e.name){case"ON":case"OFF":i.print={printState:e.name}}}const l=r.get("View");if(l instanceof Dict){const e=l.get("ViewState");if(e instanceof Name)switch(e.name){case"ON":case"OFF":i.view={viewState:e.name}}}return a}#ct(e,t){function parseOnOff(e){const a=[];if(Array.isArray(e))for(const n of e)n instanceof Ref&&t.has(n)&&a.push(n.toString());return a}function parseOrder(e,a=0){if(!Array.isArray(e))return null;const s=[];for(const r of e){if(r instanceof Ref&&t.has(r)){n.put(r);s.push(r.toString());continue}const e=parseNestedOrder(r,a);e&&s.push(e)}if(a>0)return s;const r=[];for(const[e]of t.items())n.has(e)||r.push(e.toString());r.length&&s.push({name:null,order:r});return s}function parseNestedOrder(e,t){if(++t>s){warn("parseNestedOrder - reached MAX_NESTED_LEVELS.");return null}const n=a.fetchIfRef(e);if(!Array.isArray(n))return null;const r=a.fetchIfRef(n[0]);if("string"!=typeof r)return null;const i=parseOrder(n.slice(1),t);return i?.length?{name:stringToPDFString(r),order:i}:null}const a=this.xref,n=new RefSet,s=10;!function parseRBGroups(e){if(Array.isArray(e))for(const n of e){const e=a.fetchIfRef(n);if(!Array.isArray(e)||!e.length)continue;const s=new Set;for(const a of e)if(a instanceof Ref&&t.has(a)&&!s.has(a.toString())){s.add(a.toString());t.get(a).rbGroups.push(s)}}}(e.get("RBGroups"));return{name:"string"==typeof e.get("Name")?stringToPDFString(e.get("Name")):null,creator:"string"==typeof e.get("Creator")?stringToPDFString(e.get("Creator")):null,baseState:e.get("BaseState")instanceof Name?e.get("BaseState").name:null,on:parseOnOff(e.get("ON")),off:parseOnOff(e.get("OFF")),order:parseOrder(e.get("Order")),groups:[...t]}}setActualNumPages(e=null){this.#tt=e}get hasActualNumPages(){return null!==this.#tt}get _pagesCount(){const e=this.toplevelPagesDict.get("Count");if(!Number.isInteger(e))throw new FormatError("Page count in top-level pages dictionary is not an integer.");return shadow(this,"_pagesCount",e)}get numPages(){return this.#tt??this._pagesCount}get destinations(){const e=this.#ht(),t=Object.create(null);for(const a of e)if(a instanceof NameTree)for(const[e,n]of a.getAll()){const a=fetchDest(n);a&&(t[stringToPDFString(e,!0)]=a)}else if(a instanceof Dict)for(const[e,n]of a){const a=fetchDest(n);a&&(t[stringToPDFString(e,!0)]||=a)}return shadow(this,"destinations",t)}getDestination(e){if(Object.hasOwn(this,"destinations"))return this.destinations[e]??null;const t=this.#ht();for(const a of t)if(a instanceof NameTree||a instanceof Dict){const t=fetchDest(a.get(e));if(t)return t}if(t.length){const t=this.destinations[e];if(t)return t}return null}#ht(){const e=this.#st.get("Names"),t=[];e?.has("Dests")&&t.push(new NameTree(e.getRaw("Dests"),this.xref));this.#st.has("Dests")&&t.push(this.#st.get("Dests"));return t}get rawPageLabels(){const e=this.#st.getRaw("PageLabels");if(!e)return null;return new NumberTree(e,this.xref).getAll()}get pageLabels(){let e=null;try{e=this.#ut()}catch(e){if(e instanceof MissingDataException)throw e;warn("Unable to read page labels.")}return shadow(this,"pageLabels",e)}#ut(){const e=this.rawPageLabels;if(!e)return null;const t=new Array(this.numPages);let a=null,n="",s="",r=1;for(let i=0,o=this.numPages;i=1))throw new FormatError("Invalid start in PageLabel dictionary.");r=e}else r=1}switch(a){case"D":s=r;break;case"R":case"r":s=toRomanNumerals(r,"r"===a);break;case"A":case"a":const e=26,t="a"===a?97:65,n=r-1;s=String.fromCharCode(t+n%e).repeat(Math.floor(n/e)+1);break;default:if(a)throw new FormatError(`Invalid style "${a}" in PageLabel dictionary.`);s=""}t[i]=n+s;r++}return t}get pageLayout(){const e=this.#st.get("PageLayout");let t="";if(e instanceof Name)switch(e.name){case"SinglePage":case"OneColumn":case"TwoColumnLeft":case"TwoColumnRight":case"TwoPageLeft":case"TwoPageRight":t=e.name}return shadow(this,"pageLayout",t)}get pageMode(){const e=this.#st.get("PageMode");let t="UseNone";if(e instanceof Name)switch(e.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"FullScreen":case"UseOC":case"UseAttachments":t=e.name}return shadow(this,"pageMode",t)}get viewerPreferences(){const e=this.#st.get("ViewerPreferences");if(!(e instanceof Dict))return shadow(this,"viewerPreferences",null);let t=null;for(const[a,n]of e){let e;switch(a){case"HideToolbar":case"HideMenubar":case"HideWindowUI":case"FitWindow":case"CenterWindow":case"DisplayDocTitle":case"PickTrayByPDFSize":"boolean"==typeof n&&(e=n);break;case"NonFullScreenPageMode":if(n instanceof Name)switch(n.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"UseOC":e=n.name;break;default:e="UseNone"}break;case"Direction":if(n instanceof Name)switch(n.name){case"L2R":case"R2L":e=n.name;break;default:e="L2R"}break;case"ViewArea":case"ViewClip":case"PrintArea":case"PrintClip":if(n instanceof Name)switch(n.name){case"MediaBox":case"CropBox":case"BleedBox":case"TrimBox":case"ArtBox":e=n.name;break;default:e="CropBox"}break;case"PrintScaling":if(n instanceof Name)switch(n.name){case"None":case"AppDefault":e=n.name;break;default:e="AppDefault"}break;case"Duplex":if(n instanceof Name)switch(n.name){case"Simplex":case"DuplexFlipShortEdge":case"DuplexFlipLongEdge":e=n.name;break;default:e="None"}break;case"PrintPageRange":if(Array.isArray(n)&&n.length%2==0){n.every((e,t,a)=>Number.isInteger(e)&&e>0&&(0===t||e>=a[t-1])&&e<=this.numPages)&&(e=n)}break;case"NumCopies":Number.isInteger(n)&&n>0&&(e=n);break;default:warn(`Ignoring non-standard key in ViewerPreferences: ${a}.`);continue}if(void 0!==e){t??=Object.create(null);t[a]=e}else warn(`Bad value, for key "${a}", in ViewerPreferences: ${n}.`)}return shadow(this,"viewerPreferences",t)}get openAction(){const e=this.#st.get("OpenAction"),t=Object.create(null);if(e instanceof Dict){const a=new Dict(this.xref);a.set("A",e);const n={url:null,dest:null,action:null};Catalog.parseDestDictionary({destDict:a,resultObj:n});Array.isArray(n.dest)?t.dest=n.dest:n.action&&(t.action=n.action)}else to(e)&&(t.dest=e);return shadow(this,"openAction",objectSize(t)>0?t:null)}get attachments(){const e=this.#st.get("Names");let t=null;if(e instanceof Dict&&e.has("EmbeddedFiles")){const a=new NameTree(e.getRaw("EmbeddedFiles"),this.xref);for(const[e,n]of a.getAll())(t??=new Map).set(stringToPDFString(e,!0),new FileSpec(n).serializable)}return shadow(this,"attachments",t)}#mt(e){const t=this.#st.get("Names");if(t instanceof Dict&&t.has("EmbeddedFiles")){const a=new NameTree(t.getRaw("EmbeddedFiles"),this.xref);for(const[t,n]of a.getAll())if(stringToPDFString(t,!0)===e)return FileSpec.readContent(n)}}attachmentContent(e){const t=this.#mt(e);if(void 0!==t)return t;const a=this.#nt.get(e);if(a){const e=this.xref.fetch(a);return e instanceof BaseStream?FileSpec.readStreamContent(e):e instanceof Dict?FileSpec.readContent(e):null}return null}get rawEmbeddedFiles(){const e=this.#st.get("Names");if(!(e instanceof Dict&&e.has("EmbeddedFiles")))return null;return new NameTree(e.getRaw("EmbeddedFiles"),this.xref).getAll(!0)}get xfaImages(){const e=this.#st.get("Names");let t=null;if(e instanceof Dict&&e.has("XFAImages")){const a=new NameTree(e.getRaw("XFAImages"),this.xref);for(const[e,n]of a.getAll())if(n instanceof BaseStream){t??=new Map;t.set(stringToPDFString(e,!0),n.getBytes())}}return shadow(this,"xfaImages",t)}#pt(){const e=this.#st.get("Names");let t=null;function appendIfJavaScriptDict(e,a){if(!(a instanceof Dict))return;if(!isName(a.get("S"),"JavaScript"))return;let n=a.get("JS");if(n instanceof BaseStream)n=n.getString();else if("string"!=typeof n)return;n=stringToPDFString(n,!0).replaceAll("\0","");n&&(t||=new Map).set(e,n)}if(e instanceof Dict&&e.has("JavaScript")){const t=new NameTree(e.getRaw("JavaScript"),this.xref);for(const[e,a]of t.getAll())appendIfJavaScriptDict(stringToPDFString(e,!0),a)}const a=this.#st.get("OpenAction");a&&appendIfJavaScriptDict("OpenAction",a);return t}get jsActions(){const e=this.#pt();let t=collectActions(this.xref,this.#st,ce);if(e){t||=Object.create(null);for(const[a,n]of e)a in t?t[a].push(n):t[a]=[n]}return shadow(this,"jsActions",t)}async cleanup(e=!1){clearGlobalCaches();this.globalColorSpaceCache.clear();this.globalImageCache.clear(e);this.pageKidsCountCache.clear();this.pageIndexCache.clear();this.pageDictCache.clear();this.nonBlendModesSet.clear();for(const{dict:e}of await Promise.all(this.fontCache))delete e.cacheKey;this.fontCache.clear();this.builtInCMapCache.clear();this.standardFontDataCache.clear();this.systemFontCache.clear()}async getPageDict(e){const t=[this.toplevelPagesDict],a=new RefSet,n=this.#st.getRaw("Pages");n instanceof Ref&&a.put(n);const s=this.xref,r=this.pageKidsCountCache,i=this.pageIndexCache,o=this.pageDictCache;let l=0;for(;t.length;){const n=t.pop();if(n instanceof Ref){const f=r.get(n);if(f>=0&&l+f<=e){l+=f;continue}if(a.has(n))throw new FormatError("Pages tree contains circular reference.");a.put(n);const c=await(o.get(n)||s.fetchAsync(n));if(c instanceof Dict){let t=c.getRaw("Type");t instanceof Ref&&(t=await s.fetchAsync(t));if(isName(t,"Page")||!c.has("Kids")){r.has(n)||r.put(n,1);i.has(n)||i.put(n,l);if(l===e)return[c,n];l++;continue}}t.push(c);continue}if(!(n instanceof Dict))throw new FormatError("Page dictionary kid reference points to wrong type of object.");const{objId:f}=n;let c=n.getRaw("Count");c instanceof Ref&&(c=await s.fetchAsync(c));if(Number.isInteger(c)&&c>=0){f&&!r.has(f)&&r.put(f,c);if(l+c<=e){l+=c;continue}}let h=n.getRaw("Kids");h instanceof Ref&&(h=await s.fetchAsync(h));if(!Array.isArray(h)){let t=n.getRaw("Type");t instanceof Ref&&(t=await s.fetchAsync(t));if(isName(t,"Page")||!n.has("Kids")){if(l===e)return[n,null];l++;continue}throw new FormatError("Page dictionary kids object is not an array.")}for(let e=h.length-1;e>=0;e--){const a=h[e];t.push(a);n===this.toplevelPagesDict&&a instanceof Ref&&!o.has(a)&&o.put(a,s.fetchAsync(a))}}throw new Error(`Page index ${e} not found.`)}async getAllPageDicts(e=!1){const{ignoreErrors:t}=this.pdfManager.evaluatorOptions,a=[{currentNode:this.toplevelPagesDict,posInKids:0}],n=new RefSet,s=this.#st.getRaw("Pages");s instanceof Ref&&n.put(s);const r=new Map,i=this.xref,o=this.pageIndexCache;let l=0;function addPageDict(e,t){t&&!o.has(t)&&o.put(t,l);r.set(l++,[e,t])}function addPageError(a){if(a instanceof XRefEntryException&&!e)throw a;if(e&&t&&0===l){warn(`getAllPageDicts - Skipping invalid first page: "${a}".`);a=Dict.empty}r.set(l++,[a,null])}for(;a.length>0;){const e=a.at(-1),{currentNode:t,posInKids:s}=e;let r=t.getRaw("Kids");if(r instanceof Ref)try{r=await i.fetchAsync(r)}catch(e){addPageError(e);break}if(!Array.isArray(r)){let e=t.getRaw("Type");if(e instanceof Ref)try{e=await i.fetchAsync(e)}catch(e){addPageError(e);break}if(isName(e,"Page")||!t.has("Kids")){addPageDict(t,null);break}addPageError(new FormatError("Page dictionary kids object is not an array."));break}if(s>=r.length){a.pop();continue}const o=r[s];let l;if(o instanceof Ref){if(n.has(o)){addPageError(new FormatError("Pages tree contains circular reference."));break}n.put(o);try{l=await i.fetchAsync(o)}catch(e){addPageError(e);break}}else l=o;if(!(l instanceof Dict)){addPageError(new FormatError("Page dictionary kid reference points to wrong type of object."));break}let f=l.getRaw("Type");if(f instanceof Ref)try{f=await i.fetchAsync(f)}catch(e){addPageError(e);break}isName(f,"Page")||!l.has("Kids")?addPageDict(l,o instanceof Ref?o:null):a.push({currentNode:l,posInKids:0});e.posInKids++}return r}async getPageIndex(e){const t=this.pageIndexCache.get(e);if(void 0!==t)return t;const a=this.xref;let n=0,s=e;for(;;){const t=await a.fetchAsync(s);if(isRefsEqual(s,e)&&!isDict(t,"Page")&&!(t instanceof Dict&&!t.has("Type")&&t.has("Contents")))throw new FormatError("The reference does not point to a /Page dictionary.");if(!t)break;if(!(t instanceof Dict))throw new FormatError("Node must be a dictionary.");const r=t.getRaw("Parent"),i=await t.getAsync("Parent");if(!i)break;if(!(i instanceof Dict))throw new FormatError("Parent must be a dictionary.");const o=await i.getAsync("Kids");if(!o)break;if(!Array.isArray(o))throw new FormatError("Kids must be an array.");const l=[];let f=!1;for(const e of o){if(!(e instanceof Ref))throw new FormatError("Kid must be a reference.");if(isRefsEqual(e,s)){f=!0;break}l.push(a.fetchAsync(e).then(e=>{if(!(e instanceof Dict))throw new FormatError("Kid node must be a dictionary.");if(e.has("Count")){const t=e.get("Count");if(Number.isInteger(t)&&t>=0){n+=t;return}throw new FormatError("Count must be a (positive) integer.")}n++}))}if(!f)throw new FormatError("Kid reference not found in parent's kids.");await Promise.all(l);s=r}this.pageIndexCache.put(e,n);return n}get baseUrl(){const e=this.#st.get("URI");if(e instanceof Dict){const t=e.get("Base");if("string"==typeof t){const e=createValidAbsoluteUrl(t,null,{tryConvertEncoding:!0});if(e)return shadow(this,"baseUrl",e.href)}}return shadow(this,"baseUrl",this.pdfManager.docBaseUrl)}static#dt(e,t){const a=e.fetchIfRef(t);if(!(a instanceof Dict))return null;let n=null;const s=a.getRaw("Pg");s instanceof Ref&&(n=s);if(!n){const t=[a];for(;t.length>0&&!n;){const a=t.shift().get("K");let s;if(Array.isArray(a))s=a;else{if(!a)continue;s=[a]}for(const a of s){const s=e.fetchIfRef(a);if(!(s instanceof Dict))continue;const r=s.getRaw("Pg");if(r instanceof Ref){n=r;break}t.push(s)}}}if(!n){const t=40;let s=a;for(let a=0;a=n?e[s-n]:0,h=t>0?e[o+r]:0,u=t>0&&r>=n?e[o+r-n]:0;i[0][r]=f;i[1][r]=f-c&255;i[2][r]=f-h&255;i[3][r]=f-(c+h>>1)&255;i[4][r]=f-paethPredictor(c,h,u)&255;for(let e=0;e<5;e++){const t=i[e][r];l[e]+=t<128?t:256-t}}let f=0;for(let e=1;e<5;e++)l[e]{try{await a.ready;await a.write(e);await a.ready;await a.close()}catch(e){await a.abort(e).catch(()=>{});throw e}})(),[s]=await Promise.all([new Response(t.readable).bytes(),n.then(()=>null)]);return s}(n)}catch{}if(!r)return createRawImage(e,n);n.setIfName("Filter","FlateDecode");const i=new Dict(n.xref);i.set("Predictor",15);i.set("Columns",t);i.set("Colors",s);i.set("BitsPerComponent",8);n.set("DecodeParms",i);return createRawImage(r,n)}async function createImage(e,t,{closeBitmap:a=!1}={}){const{width:n,height:s}=e;if(!Number.isInteger(n)||!Number.isInteger(s)||n<=0||s<=0){a&&e.close?.();throw new Error(`createImage: invalid bitmap dimensions ${n}x${s}`)}const r=new OffscreenCanvas(n,s),i=r.getContext("2d",{alpha:!0,willReadFrequently:!0});let o;try{i.drawImage(e,0,0);o=i.getImageData(0,0,n,s).data}finally{a&&e.close?.()}const l=new Uint32Array(o.buffer,o.byteOffset,o.byteLength>>2),f=FeatureTest.isLittleEndian,c=f?16777215:4294967040,h=new Set;let u=!1,m=!0;for(let e=0,t=l.length;e>>24:255&t)){u=!0;break}if(m){h.add((t&c)>>>0);if(h.size>16384){m=!1;h.clear()}}}u&&(m=!0);const p=createImageDict(t,n,s,"DeviceRGB");let d,g=null;if(m){const e=new Uint8Array(n*s*3);for(let t=0,a=0,n=o.length;te.bytes()).then(e=>createRawImage(e,p))}let b=Promise.resolve(null),w=null;if(u){const e=new Uint8Array(l.length);if(f)for(let t=0,a=l.length;t>>24;else for(let t=0,a=l.length;te.startsWith("http://www.xfa.org/schema/xci/")},connectionSet:{id:1,check:e=>e.startsWith("http://www.xfa.org/schema/xfa-connection-set/")},datasets:{id:2,check:e=>e.startsWith("http://www.xfa.org/schema/xfa-data/")},form:{id:3,check:e=>e.startsWith("http://www.xfa.org/schema/xfa-form/")},localeSet:{id:4,check:e=>e.startsWith("http://www.xfa.org/schema/xfa-locale-set/")},pdf:{id:5,check:e=>"http://ns.adobe.com/xdp/pdf/"===e},signature:{id:6,check:e=>"http://www.w3.org/2000/09/xmldsig#"===e},sourceSet:{id:7,check:e=>e.startsWith("http://www.xfa.org/schema/xfa-source-set/")},stylesheet:{id:8,check:e=>"http://www.w3.org/1999/XSL/Transform"===e},template:{id:9,check:e=>e.startsWith("http://www.xfa.org/schema/xfa-template/")},xdc:{id:10,check:e=>e.startsWith("http://www.xfa.org/schema/xdc/")},xdp:{id:11,check:e=>"http://ns.adobe.com/xdp/"===e},xfdf:{id:12,check:e=>"http://ns.adobe.com/xfdf/"===e},xhtml:{id:13,check:e=>"http://www.w3.org/1999/xhtml"===e},xmpmeta:{id:14,check:e=>"http://ns.adobe.com/xmpmeta/"===e}},kl={pt:e=>e,cm:e=>e/2.54*72,mm:e=>e/25.4*72,in:e=>72*e,px:e=>e},yl=/([+-]?\d+\.?\d*)(.*)/;function stripQuotes(e){return e.startsWith("'")||e.startsWith('"')?e.slice(1,-1):e}function getInteger({data:e,defaultValue:t,validate:a}){if(!e)return t;e=e.trim();const n=parseInt(e,10);return!isNaN(n)&&a(n)?n:t}function getFloat({data:e,defaultValue:t,validate:a}){if(!e)return t;e=e.trim();const n=parseFloat(e);return!isNaN(n)&&a(n)?n:t}function getKeyword({data:e,defaultValue:t,validate:a}){return e&&a(e=e.trim())?e:t}function getStringOption(e,t){return getKeyword({data:e,defaultValue:t[0],validate:e=>t.includes(e)})}function getMeasurement(e,t="0"){t||="0";if(!e)return getMeasurement(t);const a=e.trim().match(yl);if(!a)return getMeasurement(t);const[,n,s]=a,r=parseFloat(n);if(isNaN(r))return getMeasurement(t);if(0===r)return 0;const i=kl[s];return i?i(r):r}function getRatio(e){if(!e)return{num:1,den:1};const t=e.split(":",2).map(e=>parseFloat(e.trim())).filter(e=>!isNaN(e));1===t.length&&t.push(1);if(0===t.length)return{num:1,den:1};const[a,n]=t;return{num:a,den:n}}function getRelevant(e){return e?e.trim().split(/\s+/).map(e=>({excluded:"-"===e[0],viewname:e.substring(1)})):[]}class HTMLResult{static get FAILURE(){return shadow(this,"FAILURE",new HTMLResult(!1,null,null,null))}static get EMPTY(){return shadow(this,"EMPTY",new HTMLResult(!0,null,null,null))}constructor(e,t,a,n){this.success=e;this.html=t;this.bbox=a;this.breakNode=n}isBreak(){return!!this.breakNode}static breakNode(e){return new HTMLResult(!1,null,null,e)}static success(e,t=null){return new HTMLResult(!0,e,t,null)}}class FontFinder{constructor(e){this.fonts=new Map;this.cache=new Map;this.warned=new Set;this.defaultFont=null;this.add(e)}add(e,t=null){for(const t of e)this.addPdfFont(t);for(const e of this.fonts.values())e.regular||(e.regular=e.italic||e.bold||e.bolditalic);if(!t||0===t.size)return;const a=this.fonts.get("PdfJS-Fallback-PdfJS-XFA");for(const e of t)this.fonts.set(e,a)}addPdfFont(e){const t=e.cssFontInfo,a=t.fontFamily,n=this.fonts.getOrInsertComputed(a,makeObj);this.defaultFont??=n;let s="";const r=parseFloat(t.fontWeight);0!==parseFloat(t.italicAngle)?s=r>=700?"bolditalic":"italic":r>=700&&(s="bold");if(!s){(e.name.includes("Bold")||e.psName?.includes("Bold"))&&(s="bold");(e.name.includes("Italic")||e.name.endsWith("It")||e.psName?.includes("Italic")||e.psName?.endsWith("It"))&&(s+="italic")}s||(s="regular");n[s]=e}getDefault(){return this.defaultFont}find(e,t=!0){let a=this.fonts.get(e)||this.cache.get(e);if(a)return a;const n=/[,\-_ ]|bolditalic|bold|italic|regular|it/gi;let s=e.replaceAll(n,"");a=this.fonts.get(s);if(a){this.cache.set(e,a);return a}s=s.toLowerCase();const r=[];for(const[e,t]of this.fonts)e.replaceAll(n,"").toLowerCase().startsWith(s)&&r.push(t);if(0===r.length)for(const e of this.fonts.values())e.regular.name?.replaceAll(n,"").toLowerCase().startsWith(s)&&r.push(e);if(0===r.length){s=s.replaceAll(/psmt|mt/gi,"");for(const[e,t]of this.fonts)e.replaceAll(n,"").toLowerCase().startsWith(s)&&r.push(t)}if(0===r.length)for(const e of this.fonts.values())e.regular.name?.replaceAll(n,"").toLowerCase().startsWith(s)&&r.push(e);if(r.length>=1){1!==r.length&&t&&warn(`XFA - Too many choices to guess the correct font: ${e}`);this.cache.set(e,r[0]);return r[0]}if(t&&!this.warned.has(e)){this.warned.add(e);warn(`XFA - Cannot find the font: ${e}`)}return null}}function selectFont(e,t){return"italic"===e.posture?"bold"===e.weight?t.bolditalic:t.italic:"bold"===e.weight?t.bold:t.regular}class FontInfo{constructor(e,t,a,n){this.lineHeight=a;this.paraMargin=t||{top:0,bottom:0,left:0,right:0};if(!e){[this.pdfFont,this.xfaFont]=this.defaultFont(n);return}this.xfaFont={typeface:e.typeface,posture:e.posture,weight:e.weight,size:e.size,letterSpacing:e.letterSpacing};const s=n.find(e.typeface);if(s){this.pdfFont=selectFont(e,s);this.pdfFont||([this.pdfFont,this.xfaFont]=this.defaultFont(n))}else[this.pdfFont,this.xfaFont]=this.defaultFont(n)}defaultFont(e){const t=e.find("Helvetica",!1)||e.find("Myriad Pro",!1)||e.find("Arial",!1)||e.getDefault();if(t?.regular){const e=t.regular;return[e,{typeface:e.cssFontInfo.fontFamily,posture:"normal",weight:"normal",size:10,letterSpacing:0}]}return[null,{typeface:"Courier",posture:"normal",weight:"normal",size:10,letterSpacing:0}]}}class FontSelector{constructor(e,t,a,n){this.fontFinder=n;this.stack=[new FontInfo(e,t,a,n)]}pushData(e,t,a){const n=this.stack.at(-1);for(const t of["typeface","posture","weight","size","letterSpacing"])e[t]||=n.xfaFont[t];for(const e of["top","bottom","left","right"])isNaN(t[e])&&(t[e]=n.paraMargin[e]);const s=new FontInfo(e,t,a||n.lineHeight,this.fontFinder);s.pdfFont||=n.pdfFont;this.stack.push(s)}popFont(){this.stack.pop()}topFont(){return this.stack.at(-1)}}class TextMeasure{constructor(e,t,a,n){this.glyphs=[];this.fontSelector=new FontSelector(e,t,a,n);this.extraHeight=0}pushData(e,t,a){this.fontSelector.pushData(e,t,a)}popFont(e){return this.fontSelector.popFont()}addPara(){const e=this.fontSelector.topFont();this.extraHeight+=e.paraMargin.top+e.paraMargin.bottom}addString(e){if(!e)return;const t=this.fontSelector.topFont(),a=t.xfaFont.size;if(t.pdfFont){const n=t.xfaFont.letterSpacing,s=t.pdfFont,r=s.lineHeight||1.2,i=t.lineHeight||Math.max(1.2,r)*a,o=r-(void 0===s.lineGap?.2:s.lineGap),l=Math.max(1,o)*a,f=a/1e3,c=s.defaultWidth||s.charsToGlyphs(" ")[0].width;for(const t of e.split(/[\u2029\n]/)){const e=s.encodeString(t).join(""),a=s.charsToGlyphs(e);for(const e of a){const t=e.width||c;this.glyphs.push([t*f+n,i,l,e.unicode,!1])}this.glyphs.push([0,0,0,"\n",!0])}this.glyphs.pop();return}for(const t of e.split(/[\u2029\n]/)){for(const e of t.split(""))this.glyphs.push([a,1.2*a,a,e,!1]);this.glyphs.push([0,0,0,"\n",!0])}this.glyphs.pop()}compute(e){let t=-1,a=0,n=0,s=0,r=0,i=0,o=!1,l=!0;for(let f=0,c=this.glyphs.length;fe){n=Math.max(n,r);r=0;s+=i;i=g;t=-1;a=0;o=!0;l=!1}else{i=Math.max(g,i);a=r;r+=c;t=f}else if(r+c>e){s+=i;i=g;if(-1!==t){f=t;n=Math.max(n,a);r=0;t=-1;a=0}else{n=Math.max(n,r);r=c}o=!0;l=!1}else{r+=c;i=Math.max(g,i)}}n=Math.max(n,r);s+=i+this.extraHeight;return{width:1.02*n,height:s,isBroken:o}}}const ql=/^[^.[]+/,vl=/^[^\]]+/,Sl=0,Al=1,xl=2,Cl=3,Il=4,Fl=new Map([["$data",(e,t)=>e.datasets?e.datasets.data:e],["$record",(e,t)=>(e.datasets?e.datasets.data:e)[Co]()[0]],["$template",(e,t)=>e.template],["$connectionSet",(e,t)=>e.connectionSet],["$form",(e,t)=>e.form],["$layout",(e,t)=>e.layout],["$host",(e,t)=>e.host],["$dataWindow",(e,t)=>e.dataWindow],["$event",(e,t)=>e.event],["!",(e,t)=>e.datasets],["$xfa",(e,t)=>e],["xfa",(e,t)=>e],["$",(e,t)=>t]]),Tl=new WeakMap;function parseIndex(e){return"*"===(e=e.trim())?1/0:parseInt(e,10)||0}function parseExpression(e,t,a=!0){let n=e.match(ql);if(!n)return null;let[s]=n;const r=[{name:s,cacheName:"."+s,index:0,js:null,formCalc:null,operator:Sl}];let i=s.length;for(;i0&&c.push(e)}if(0===c.length&&!o&&0===l){const a=t[Ro]();if(!(t=a))return null;l=-1;e=[t];continue}e=isFinite(f)?c.filter(e=>fe[f]):c.flat()}return 0===e.length?null:e}function createDataNode(e,t,a){const n=parseExpression(a);if(!n)return null;if(n.some(e=>e.operator===Al))return null;const s=Fl.get(n[0].name);let r=0;if(s){e=s(e,t);r=1}else e=t||e;for(let t=n.length;re[ul]()).join("")}get[Bl](){const e=Object.getPrototypeOf(this);if(!e._attributes){const t=e._attributes=new Set;for(const e of Object.getOwnPropertyNames(this)){if(null===this[e]||this[e]instanceof XFAObject||this[e]instanceof XFAObjectArray)break;t.add(e)}}return shadow(this,Bl,e._attributes)}[Lo](e){let t=this;for(;t;){if(t===e)return!0;t=t[Ro]()}return!1}[Ro](){return this[Kl]}[Oo](){return this[Ro]()}[Co](e=null){return e?this[e]:this[Dl]}[mo](){const e=Object.create(null);this[ho]&&(e.$content=this[ho]);for(const t of Object.getOwnPropertyNames(this)){const a=this[t];null!==a&&(a instanceof XFAObject?e[t]=a[mo]():a instanceof XFAObjectArray?a.isEmpty()||(e[t]=a.dump()):e[t]=a)}return e}[gl](){return null}[pl](){return HTMLResult.EMPTY}*[Io](){for(const e of this[Co]())yield e}*[_l](e,t){for(const a of this[Io]())if(!e||t===e.has(a[Yo])){const e=this[ko](),t=a[pl](e);t.success||(this[po].failingNode=a);yield t}}[bo](){return null}[no](e,t){this[po].children.push(e)}[ko](){}[ro]({filter:e=null,include:t=!0}){if(this[po].generator){const e=this[ko](),t=this[po].failingNode[pl](e);if(!t.success)return t;t.html&&this[no](t.html,t.bbox);delete this[po].failingNode}else this[po].generator=this[_l](e,t);for(;;){const e=this[po].generator.next();if(e.done)break;const t=e.value;if(!t.success)return t;t.html&&this[no](t.html,t.bbox)}this[po].generator=null;return HTMLResult.EMPTY}[fl](e){this[Vl]=new Set(Object.keys(e))}[zl](e){const t=this[Bl],a=this[Vl];return[...e].filter(e=>t.has(e)&&!a.has(e))}[il](e,t=new Set){for(const a of this[Dl])a[Gl](e,t)}[Gl](e,t){const a=this[El](e,t);a?this[Rl](a,e,t):this[il](e,t)}[El](e,t){const{use:a,usehref:n}=this;if(!a&&!n)return null;let s=null,r=null,i=null,o=a;if(n){o=n;n.startsWith("#som(")&&n.endsWith(")")?r=n.slice(5,-1):n.startsWith(".#som(")&&n.endsWith(")")?r=n.slice(6,-1):n.startsWith("#")?i=n.slice(1):n.startsWith(".#")&&(i=n.slice(2))}else a.startsWith("#")?i=a.slice(1):r=a;this.use=this.usehref="";if(i)s=e.get(i);else{s=searchNode(e.get(rl),this,r,!0,!1);s&&(s=s[0])}if(!s){warn(`XFA - Invalid prototype reference: ${o}.`);return null}if(s[Yo]!==this[Yo]){warn(`XFA - Incompatible prototype: ${s[Yo]} !== ${this[Yo]}.`);return null}if(t.has(s)){warn("XFA - Cycle detected in prototypes use.");return null}t.add(s);const l=s[El](e,t);l&&s[Rl](l,e,t);s[il](e,t);t.delete(s);return s}[Rl](e,t,a){if(a.has(e)){warn("XFA - Cycle detected in prototypes use.");return}!this[ho]&&e[ho]&&(this[ho]=e[ho]);new Set(a).add(e);for(const t of this[zl](e[Vl])){this[t]=e[t];this[Vl]&&this[Vl].add(t)}for(const n of Object.getOwnPropertyNames(this)){if(this[Bl].has(n))continue;const s=this[n],r=e[n];if(s instanceof XFAObjectArray){for(const e of s[Dl])e[Gl](t,a);for(let n=s[Dl].length,i=r[Dl].length;nXFAObject[Ml](e)):"object"==typeof e&&null!==e?Object.assign({},e):e}[fo](){const e=Object.create(Object.getPrototypeOf(this));for(const t of Object.getOwnPropertySymbols(this))try{e[t]=this[t]}catch{shadow(e,t,this[t])}e[bl]=`${e[Yo]}${Yl++}`;e[Dl]=[];for(const t of Object.getOwnPropertyNames(this)){if(this[Bl].has(t)){e[t]=XFAObject[Ml](this[t]);continue}const a=this[t];e[t]=a instanceof XFAObjectArray?new XFAObjectArray(a[Xl]):null}for(const t of this[Dl]){const a=t[Yo],n=t[fo]();e[Dl].push(n);n[Kl]=e;null===e[a]?e[a]=n:e[a][Dl].push(n)}return e}[Co](e=null){return e?this[Dl].filter(t=>t[Yo]===e):this[Dl]}[yo](e){return this[e]}[qo](e,t,a=!0){return Array.from(this[vo](e,t,a))}*[vo](e,t,a=!0){if("parent"!==e){for(const a of this[Dl]){a[Yo]===e&&(yield a);a.name===e&&(yield a);(t||a[Ko]())&&(yield*a[vo](e,t,!1))}a&&this[Bl].has(e)&&(yield new XFAAttribute(this,e,this[e]))}else yield this[Kl]}}class XFAObjectArray{constructor(e=1/0){this[Xl]=e;this[Dl]=[]}get isXFAObject(){return!1}get isXFAObjectArray(){return!0}push(e){if(this[Dl].length<=this[Xl]){this[Dl].push(e);return!0}warn(`XFA - node "${e[Yo]}" accepts no more than ${this[Xl]} children`);return!1}isEmpty(){return 0===this[Dl].length}dump(){return 1===this[Dl].length?this[Dl][0][mo]():this[Dl].map(e=>e[mo]())}[fo](){const e=new XFAObjectArray(this[Xl]);e[Dl]=this[Dl].map(e=>e[fo]());return e}get children(){return this[Dl]}clear(){this[Dl].length=0}}class XFAAttribute{constructor(e,t,a){this[Kl]=e;this[Yo]=t;this[ho]=a;this[co]=!1;this[bl]="attribute"+Yl++}[Ro](){return this[Kl]}[zo](){return!0}[So](){return this[ho].trim()}[cl](e){e=e.value||"";this[ho]=e.toString()}[ul](){return this[ho]}[Lo](e){return this[Kl]===e||this[Kl][Lo](e)}}class XmlObject extends XFAObject{constructor(e,t,a={}){super(e,t);this[ho]="";this[Nl]=null;if("#text"!==t){const e=new Map;this[Hl]=e;for(const[t,n]of Object.entries(a))e.set(t,new XFAAttribute(this,t,n));if(Object.hasOwn(a,Jo)){const e=a[Jo].xfa.dataNode;void 0!==e&&("dataGroup"===e?this[Nl]=!1:"dataValue"===e&&(this[Nl]=!0))}}this[co]=!1}[dl](e){const t=this[Yo];if("#text"===t){e.push(encodeToXmlString(this[ho]));return}const a=utf8StringToString(t),n=this[$o]===Jl?"xfa:":"";e.push(`<${n}${a}`);for(const[t,a]of this[Hl]){const n=utf8StringToString(t);e.push(` ${n}="${encodeToXmlString(a[ho])}"`)}null!==this[Nl]&&(this[Nl]?e.push(' xfa:dataNode="dataValue"'):e.push(' xfa:dataNode="dataGroup"'));if(this[ho]||0!==this[Dl].length){e.push(">");if(this[ho])"string"==typeof this[ho]?e.push(encodeToXmlString(this[ho])):this[ho][dl](e);else for(const t of this[Dl])t[dl](e);e.push(``)}else e.push("/>")}[Qo](e){if(this[ho]){const e=new XmlObject(this[$o],"#text");this[so](e);e[ho]=this[ho];this[ho]=""}this[so](e);return!0}[el](e){this[ho]+=e}[go](){if(this[ho]&&this[Dl].length>0){const e=new XmlObject(this[$o],"#text");this[so](e);e[ho]=this[ho];delete this[ho]}}[pl](){return"#text"===this[Yo]?HTMLResult.success({name:"#text",value:this[ho]}):HTMLResult.EMPTY}[Co](e=null){return e?this[Dl].filter(t=>t[Yo]===e):this[Dl]}[jo](){return this[Hl]}[yo](e){const t=this[Hl].get(e);return void 0!==t?t:this[Co](e)}*[vo](e,t){const a=this[Hl].get(e);a&&(yield a);for(const a of this[Dl]){a[Yo]===e&&(yield a);t&&(yield*a[vo](e,t))}}*[wo](e,t){const a=this[Hl].get(e);!a||t&&a[co]||(yield a);for(const a of this[Dl])yield*a[wo](e,t)}*[xo](e,t,a){for(const n of this[Dl]){n[Yo]!==e||a&&n[co]||(yield n);t&&(yield*n[xo](e,t,a))}}[zo](){return null===this[Nl]?0===this[Dl].length||this[Dl][0][$o]===jl.xhtml.id:this[Nl]}[So](){return null===this[Nl]?0===this[Dl].length?this[ho].trim():this[Dl][0][$o]===jl.xhtml.id?this[Dl][0][ul]().trim():null:this[ho].trim()}[cl](e){e=e.value||"";this[ho]=e.toString()}[mo](e=!1){const t=Object.create(null);e&&(t.$ns=this[$o]);this[ho]&&(t.$content=this[ho]);t.$name=this[Yo];t.children=[];for(const a of this[Dl])t.children.push(a[mo](e));t.attributes=Object.create(null);for(const[e,a]of this[Hl])t.attributes[e]=a[ho];return t}}class ContentObject extends XFAObject{constructor(e,t){super(e,t);this[ho]=""}[el](e){this[ho]+=e}[go](){}}class OptionObject extends ContentObject{constructor(e,t,a){super(e,t);this[Wl]=a}[go](){this[ho]=getKeyword({data:this[ho],defaultValue:this[Wl][0],validate:e=>this[Wl].includes(e)})}[io](e){super[io](e);delete this[Wl]}}class StringObject extends ContentObject{[go](){this[ho]=this[ho].trim()}}class IntegerObject extends ContentObject{constructor(e,t,a,n){super(e,t);this[Pl]=a;this[$l]=n}[go](){this[ho]=getInteger({data:this[ho],defaultValue:this[Pl],validate:this[$l]})}[io](e){super[io](e);delete this[Pl];delete this[$l]}}class Option01 extends IntegerObject{constructor(e,t){super(e,t,0,e=>1===e)}}class Option10 extends IntegerObject{constructor(e,t){super(e,t,1,e=>0===e)}}function measureToString(e){return"string"==typeof e?"0px":Number.isInteger(e)?`${e}px`:`${e.toFixed(2)}px`}const Ql={anchorType(e,t){const a=e[Oo]();if(a&&(!a.layout||"position"===a.layout)){"transform"in t||(t.transform="");switch(e.anchorType){case"bottomCenter":t.transform+="translate(-50%, -100%)";break;case"bottomLeft":t.transform+="translate(0,-100%)";break;case"bottomRight":t.transform+="translate(-100%,-100%)";break;case"middleCenter":t.transform+="translate(-50%,-50%)";break;case"middleLeft":t.transform+="translate(0,-50%)";break;case"middleRight":t.transform+="translate(-100%,-50%)";break;case"topCenter":t.transform+="translate(-50%,0)";break;case"topRight":t.transform+="translate(-100%,0)"}}},dimensions(e,t){const a=e[Oo]();let n=e.w;const s=e.h;if(a.layout?.includes("row")){const t=a[po],s=e.colSpan;let r;if(-1===s){r=Math.sumPrecise(t.columnWidths.slice(t.currentColumn));t.currentColumn=0}else{r=Math.sumPrecise(t.columnWidths.slice(t.currentColumn,t.currentColumn+s));t.currentColumn=(t.currentColumn+e.colSpan)%t.columnWidths.length}isNaN(r)||(n=e.w=r)}t.width=""!==n?measureToString(n):"auto";t.height=""!==s?measureToString(s):"auto"},position(e,t){const a=e[Oo]();if(!a?.layout||"position"===a.layout){t.position="absolute";t.left=measureToString(e.x);t.top=measureToString(e.y)}},rotate(e,t){if(e.rotate){"transform"in t||(t.transform="");t.transform+=`rotate(-${e.rotate}deg)`;t.transformOrigin="top left"}},presence(e,t){switch(e.presence){case"invisible":t.visibility="hidden";break;case"hidden":case"inactive":t.display="none"}},hAlign(e,t){if("para"===e[Yo])switch(e.hAlign){case"justifyAll":t.textAlign="justify-all";break;case"radix":t.textAlign="left";break;default:t.textAlign=e.hAlign}else switch(e.hAlign){case"left":t.alignSelf="start";break;case"center":t.alignSelf="center";break;case"right":t.alignSelf="end"}},margin(e,t){e.margin&&(t.margin=e.margin[gl]().margin)}};function setMinMaxDimensions(e,t){if("position"===e[Oo]().layout){e.minW>0&&(t.minWidth=measureToString(e.minW));e.maxW>0&&(t.maxWidth=measureToString(e.maxW));e.minH>0&&(t.minHeight=measureToString(e.minH));e.maxH>0&&(t.maxHeight=measureToString(e.maxH))}}function layoutText(e,t,a,n,s,r){const i=new TextMeasure(t,a,n,s);"string"==typeof e?i.addString(e):e[tl](i);return i.compute(r)}function layoutNode(e,t){let a=null,n=null,s=!1;if((!e.w||!e.h)&&e.value){let r=0,i=0;if(e.margin){r=e.margin.leftInset+e.margin.rightInset;i=e.margin.topInset+e.margin.bottomInset}let o=null,l=null;if(e.para){l=Object.create(null);o=""===e.para.lineHeight?null:e.para.lineHeight;l.top=""===e.para.spaceAbove?0:e.para.spaceAbove;l.bottom=""===e.para.spaceBelow?0:e.para.spaceBelow;l.left=""===e.para.marginLeft?0:e.para.marginLeft;l.right=""===e.para.marginRight?0:e.para.marginRight}let f=e.font;if(!f){const t=e[Ho]();let a=e[Ro]();for(;a&&a!==t;){if(a.font){f=a.font;break}a=a[Ro]()}}const c=(e.w||t.width)-r,h=e[Bo].fontFinder;if(e.value.exData&&e.value.exData[ho]&&"text/html"===e.value.exData.contentType){const t=layoutText(e.value.exData[ho],f,l,o,h,c);n=t.width;a=t.height;s=t.isBroken}else{const t=e.value[ul]();if(t){const e=layoutText(t,f,l,o,h,c);n=e.width;a=e.height;s=e.isBroken}}null===n||e.w||(n+=r);null===a||e.h||(a+=i)}return{w:n,h:a,isBroken:s}}function computeBbox(e,t,a){let n;if(""!==e.w&&""!==e.h)n=[e.x,e.y,e.w,e.h];else{if(!a)return null;let s=e.w;if(""===s){if(0===e.maxW){const t=e[Oo]();s="position"===t.layout&&""!==t.w?0:e.minW}else s=Math.min(e.maxW,a.width);t.attributes.style.width=measureToString(s)}let r=e.h;if(""===r){if(0===e.maxH){const t=e[Oo]();r="position"===t.layout&&""!==t.h?0:e.minH}else r=Math.min(e.maxH,a.height);t.attributes.style.height=measureToString(r)}n=[e.x,e.y,s,r]}return n}function fixDimensions(e){const t=e[Oo]();if(t.layout?.includes("row")){const a=t[po],n=e.colSpan;let s;s=-1===n?Math.sumPrecise(a.columnWidths.slice(a.currentColumn)):Math.sumPrecise(a.columnWidths.slice(a.currentColumn,a.currentColumn+n));isNaN(s)||(e.w=s)}t.layout&&"position"!==t.layout&&(e.x=e.y=0);"table"===e.layout&&""===e.w&&Array.isArray(e.columnWidths)&&(e.w=Math.sumPrecise(e.columnWidths))}function layoutClass(e){switch(e.layout){case"position":default:return"xfaPosition";case"lr-tb":return"xfaLrTb";case"rl-row":return"xfaRlRow";case"rl-tb":return"xfaRlTb";case"row":return"xfaRow";case"table":return"xfaTable";case"tb":return"xfaTb"}}function toStyle(e,...t){const a=Object.create(null);for(const n of t){const t=e[n];if(null!==t)if(Object.hasOwn(Ql,n))Ql[n](e,a);else if(t instanceof XFAObject){const e=t[gl]();e?Object.assign(a,e):warn(`(DEBUG) - XFA - style for ${n} not implemented yet`)}}return a}function createWrapper(e,t){const{attributes:a}=t,{style:n}=a,s={name:"div",attributes:{class:["xfaWrapper"],style:Object.create(null)},children:[]};a.class.push("xfaWrapped");if(e.border){const{widths:a,insets:r}=e.border[po];let i,o,l=r[0],f=r[3];const c=r[0]+r[2],h=r[1]+r[3];switch(e.border.hand){case"even":l-=a[0]/2;f-=a[3]/2;i=`calc(100% + ${(a[1]+a[3])/2-h}px)`;o=`calc(100% + ${(a[0]+a[2])/2-c}px)`;break;case"left":l-=a[0];f-=a[3];i=`calc(100% + ${a[1]+a[3]-h}px)`;o=`calc(100% + ${a[0]+a[2]-c}px)`;break;case"right":i=h?`calc(100% - ${h}px)`:"100%";o=c?`calc(100% - ${c}px)`:"100%"}const u=["xfaBorder"];isPrintOnly(e.border)&&u.push("xfaPrintOnly");const m={name:"div",attributes:{class:u,style:{top:`${l}px`,left:`${f}px`,width:i,height:o}},children:[]};for(const e of["border","borderWidth","borderColor","borderRadius","borderStyle"])if(void 0!==n[e]){m.attributes.style[e]=n[e];delete n[e]}s.children.push(m,t)}else s.children.push(t);for(const e of["background","backgroundClip","top","left","width","height","minWidth","minHeight","maxWidth","maxHeight","transform","transformOrigin","visibility"])if(void 0!==n[e]){s.attributes.style[e]=n[e];delete n[e]}s.attributes.style.position="absolute"===n.position?"absolute":"relative";delete n.position;if(n.alignSelf){s.attributes.style.alignSelf=n.alignSelf;delete n.alignSelf}return s}function fixTextIndent(e){const t=getMeasurement(e.textIndent,"0px");if(t>=0)return;const a="padding"+("left"===("right"===e.textAlign?"right":"left")?"Left":"Right"),n=getMeasurement(e[a],"0px");e[a]=n-t+"px"}function setAccess(e,t){switch(e.access){case"nonInteractive":t.push("xfaNonInteractive");break;case"readOnly":t.push("xfaReadOnly");break;case"protected":t.push("xfaDisabled")}}function isPrintOnly(e){return e.relevant.length>0&&!e.relevant[0].excluded&&"print"===e.relevant[0].viewname}function getCurrentPara(e){const t=e[Ho]()[po].paraStack;return t.length?t.at(-1):null}function setPara(e,t,a){if(a.attributes.class?.includes("xfaRich")){if(t){""===e.h&&(t.height="auto");""===e.w&&(t.width="auto")}const n=getCurrentPara(e);if(n){const e=a.attributes.style;e.display="flex";e.flexDirection="column";switch(n.vAlign){case"top":e.justifyContent="start";break;case"bottom":e.justifyContent="end";break;case"middle":e.justifyContent="center"}const t=n[gl]();for(const[a,n]of Object.entries(t))a in e||(e[a]=n)}}}function setFontFamily(e,t,a,n){if(!a){delete n.fontFamily;return}const s=stripQuotes(e.typeface);n.fontFamily=`"${s}"`;const r=a.find(s);if(r){const{fontFamily:a}=r.regular.cssFontInfo;a!==s&&(n.fontFamily=`"${a}"`);const i=getCurrentPara(t);if(i&&""!==i.lineHeight)return;if(n.lineHeight)return;const o=selectFont(e,r);o&&(n.lineHeight=Math.max(1.2,o.lineHeight))}}function fixURL(e){const t=createValidAbsoluteUrl(e,null,{addDefaultProtocol:!0,tryConvertEncoding:!0});return t?t.href:null}function createLine(e,t){return{name:"div",attributes:{class:["lr-tb"===e.layout?"xfaLr":"xfaRl"]},children:t}}function flushHTML(e){if(!e[po])return null;const t={name:"div",attributes:e[po].attributes,children:e[po].children};if(e[po].failingNode){const a=e[po].failingNode[bo]();a&&(e.layout.endsWith("-tb")?t.children.push(createLine(e,[a])):t.children.push(a))}return 0===t.children.length?null:t}function addHTML(e,t,a){const n=e[po],s=n.availableSpace,[r,i,o,l]=a;switch(e.layout){case"position":n.width=Math.max(n.width,r+o);n.height=Math.max(n.height,i+l);n.children.push(t);break;case"lr-tb":case"rl-tb":if(!n.line||1===n.attempt){n.line=createLine(e,[]);n.children.push(n.line);n.numberInLine=0}n.numberInLine+=1;n.line.children.push(t);if(0===n.attempt){n.currentWidth+=o;n.height=Math.max(n.height,n.prevHeight+l)}else{n.currentWidth=o;n.prevHeight=n.height;n.height+=l;n.attempt=0}n.width=Math.max(n.width,n.currentWidth);break;case"rl-row":case"row":{n.children.push(t);n.width+=o;n.height=Math.max(n.height,l);const e=measureToString(n.height);for(const t of n.children)t.attributes.style.height=e;break}case"table":case"tb":n.width=MathClamp(o,n.width,s.width);n.height+=l;n.children.push(t)}}function getAvailableSpace(e){const t=e[po].availableSpace,a=e.margin?e.margin.topInset+e.margin.bottomInset:0,n=e.margin?e.margin.leftInset+e.margin.rightInset:0;switch(e.layout){case"lr-tb":case"rl-tb":return 0===e[po].attempt?{width:t.width-n-e[po].currentWidth,height:t.height-a-e[po].prevHeight}:{width:t.width-n,height:t.height-a-e[po].height};case"rl-row":case"row":return{width:Math.sumPrecise(e[po].columnWidths.slice(e[po].currentColumn)),height:t.height-n};case"table":case"tb":return{width:t.width-n,height:t.height-a-e[po].height};default:return t}}function checkDimensions(e,t){if(null===e[Ho]()[po].firstUnsplittable)return!0;if(0===e.w||0===e.h)return!0;const a=e[Oo](),n=a[po]?.attempt||0,[,s,r,i]=function getTransformedBBox(e){let t,a,n=""===e.w?NaN:e.w,s=""===e.h?NaN:e.h,[r,i]=[0,0];switch(e.anchorType||""){case"bottomCenter":[r,i]=[n/2,s];break;case"bottomLeft":[r,i]=[0,s];break;case"bottomRight":[r,i]=[n,s];break;case"middleCenter":[r,i]=[n/2,s/2];break;case"middleLeft":[r,i]=[0,s/2];break;case"middleRight":[r,i]=[n,s/2];break;case"topCenter":[r,i]=[n/2,0];break;case"topRight":[r,i]=[n,0]}switch(e.rotate||0){case 0:[t,a]=[-r,-i];break;case 90:[t,a]=[-i,r];[n,s]=[s,-n];break;case 180:[t,a]=[r,i];[n,s]=[-n,-s];break;case 270:[t,a]=[i,-r];[n,s]=[-s,n]}return[e.x+t+Math.min(0,n),e.y+a+Math.min(0,s),Math.abs(n),Math.abs(s)]}(e);switch(a.layout){case"lr-tb":case"rl-tb":return 0===n?e[Ho]()[po].noLayoutFailure?""!==e.w?Math.round(r-t.width)<=2:t.width>2:!(""!==e.h&&Math.round(i-t.height)>2)&&(""!==e.w?Math.round(r-t.width)<=2||0===a[po].numberInLine&&t.height>2:t.width>2):!!e[Ho]()[po].noLayoutFailure||!(""!==e.h&&Math.round(i-t.height)>2)&&((""===e.w||Math.round(r-t.width)<=2||!a[Wo]())&&t.height>2);case"table":case"tb":return!!e[Ho]()[po].noLayoutFailure||(""===e.h||e[Xo]()?(""===e.w||Math.round(r-t.width)<=2||!a[Wo]())&&t.height>2:Math.round(i-t.height)<=2);case"position":if(e[Ho]()[po].noLayoutFailure)return!0;if(""===e.h||Math.round(i+s-t.height)<=2)return!0;return i+s>e[Ho]()[po].currentContentArea.h;case"rl-row":case"row":return!!e[Ho]()[po].noLayoutFailure||(""===e.h||Math.round(i-t.height)<=2);default:return!0}}const Zl=jl.template.id,ef=/^H(\d+)$/,tf=new Set(["image/gif","image/jpeg","image/jpg","image/pjpeg","image/png","image/apng","image/x-png","image/bmp","image/x-ms-bmp","image/tiff","image/tif","application/octet-stream"]),af=[[[66,77],"image/bmp"],[[255,216,255],"image/jpeg"],[[73,73,42,0],"image/tiff"],[[77,77,0,42],"image/tiff"],[[71,73,70,56,57,97],"image/gif"],[[137,80,78,71,13,10,26,10],"image/png"]];function getBorderDims(e){if(!e||!e.border)return{w:0,h:0};const t=e.border[Ao]();return t?{w:t.widths[0]+t.widths[2]+t.insets[0]+t.insets[2],h:t.widths[1]+t.widths[3]+t.insets[1]+t.insets[3]}:{w:0,h:0}}function hasMargin(e){return e.margin&&(e.margin.topInset||e.margin.rightInset||e.margin.bottomInset||e.margin.leftInset)}function _setValue(e,t){if(!e.value){const t=new Value({});e[so](t);e.value=t}e.value[cl](t)}function*getContainedChildren(e){for(const t of e[Co]())t instanceof SubformSet?yield*t[Io]():yield t}function isRequired(e){return"error"===e.validate?.nullTest}function setTabIndex(e){for(;e;){if(!e.traversal){e[hl]=e[Ro]()[hl];return}if(e[hl])return;let t=null;for(const a of e.traversal[Co]())if("next"===a.operation){t=a;break}if(!t||!t.ref){e[hl]=e[Ro]()[hl];return}const a=e[Ho]();e[hl]=++a[hl];const n=a[ol](t.ref,e);if(!n)return;e=n[0]}}function applyAssist(e,t){const a=e.assist;if(a){const e=a[pl]();e&&(t.title=e);const n=a.role.match(ef);if(n){const e="heading",a=n[1];t.role=e;t["aria-level"]=a}}if("table"===e.layout)t.role="table";else if("row"===e.layout)t.role="row";else{const a=e[Ro]();"row"===a.layout&&(t.role="TH"===a.assist?.role?"columnheader":"cell")}}function ariaLabel(e){if(!e.assist)return null;const t=e.assist;return t.speak&&""!==t.speak[ho]?t.speak[ho]:t.toolTip?t.toolTip[ho]:null}function valueToHtml(e){return HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:Object.create(null)},children:[{name:"span",attributes:{style:Object.create(null)},value:e}]})}function setFirstUnsplittable(e){const t=e[Ho]();if(null===t[po].firstUnsplittable){t[po].firstUnsplittable=e;t[po].noLayoutFailure=!0}}function unsetFirstUnsplittable(e){const t=e[Ho]();t[po].firstUnsplittable===e&&(t[po].noLayoutFailure=!1)}function handleBreak(e){if(e[po])return!1;e[po]=Object.create(null);if("auto"===e.targetType)return!1;const t=e[Ho]();let a=null;if(e.target){a=t[ol](e.target,e[Ro]());if(!a)return!1;a=a[0]}const{currentPageArea:n,currentContentArea:s}=t[po];if("pageArea"===e.targetType){a instanceof PageArea||(a=null);if(e.startNew){e[po].target=a||n;return!0}if(a&&a!==n){e[po].target=a;return!0}return!1}a instanceof ContentArea||(a=null);const r=a&&a[Ro]();let i,o=r;if(e.startNew)if(a){const e=r.contentArea.children,t=e.indexOf(s),n=e.indexOf(a);-1!==t&&te;n[po].noLayoutFailure=!0;const i=t[pl](a);e[no](i.html,i.bbox);n[po].noLayoutFailure=s;t[Oo]=r}class AppearanceFilter extends StringObject{constructor(e){super(Zl,"appearanceFilter");this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||""}}class Arc extends XFAObject{constructor(e){super(Zl,"arc",!0);this.circular=getInteger({data:e.circular,defaultValue:0,validate:e=>1===e});this.hand=getStringOption(e.hand,["even","left","right"]);this.id=e.id||"";this.startAngle=getFloat({data:e.startAngle,defaultValue:0,validate:e=>!0});this.sweepAngle=getFloat({data:e.sweepAngle,defaultValue:360,validate:e=>!0});this.use=e.use||"";this.usehref=e.usehref||"";this.edge=null;this.fill=null}[pl](){const e=this.edge||new Edge({}),t=e[gl](),a=Object.create(null);"visible"===this.fill?.presence?Object.assign(a,this.fill[gl]()):a.fill="transparent";a.strokeWidth=measureToString("visible"===e.presence?e.thickness:0);a.stroke=t.color;let n;const s={xmlns:o,style:{width:"100%",height:"100%",overflow:"visible"}};if(360===this.sweepAngle)n={name:"ellipse",attributes:{xmlns:o,cx:"50%",cy:"50%",rx:"50%",ry:"50%",style:a}};else{const e=this.startAngle*Math.PI/180,t=this.sweepAngle*Math.PI/180,r=this.sweepAngle>180?1:0,[i,l,f,c]=[50*(1+Math.cos(e)),50*(1-Math.sin(e)),50*(1+Math.cos(e+t)),50*(1-Math.sin(e+t))];n={name:"path",attributes:{xmlns:o,d:`M ${i} ${l} A 50 50 0 ${r} 0 ${f} ${c}`,vectorEffect:"non-scaling-stroke",style:a}};Object.assign(s,{viewBox:"0 0 100 100",preserveAspectRatio:"none"})}const r={name:"svg",children:[n],attributes:s};if(hasMargin(this[Ro]()[Ro]()))return HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[r]});r.attributes.style.position="absolute";return HTMLResult.success(r)}}class Area extends XFAObject{constructor(e){super(Zl,"area",!0);this.colSpan=getInteger({data:e.colSpan,defaultValue:1,validate:e=>e>=1||-1===e});this.id=e.id||"";this.name=e.name||"";this.relevant=getRelevant(e.relevant);this.use=e.use||"";this.usehref=e.usehref||"";this.x=getMeasurement(e.x,"0pt");this.y=getMeasurement(e.y,"0pt");this.desc=null;this.extras=null;this.area=new XFAObjectArray;this.draw=new XFAObjectArray;this.exObject=new XFAObjectArray;this.exclGroup=new XFAObjectArray;this.field=new XFAObjectArray;this.subform=new XFAObjectArray;this.subformSet=new XFAObjectArray}*[Io](){yield*getContainedChildren(this)}[Ko](){return!0}[Eo](){return!0}[no](e,t){const[a,n,s,r]=t;this[po].width=Math.max(this[po].width,a+s);this[po].height=Math.max(this[po].height,n+r);this[po].children.push(e)}[ko](){return this[po].availableSpace}[pl](e){const t=toStyle(this,"position"),a={style:t,id:this[bl],class:["xfaArea"]};isPrintOnly(this)&&a.class.push("xfaPrintOnly");this.name&&(a.xfaName=this.name);const n=[];this[po]={children:n,width:0,height:0,availableSpace:e};const s=this[ro]({filter:new Set(["area","draw","field","exclGroup","subform","subformSet"]),include:!0});if(!s.success){if(s.isBreak())return s;delete this[po];return HTMLResult.FAILURE}t.width=measureToString(this[po].width);t.height=measureToString(this[po].height);const r={name:"div",attributes:a,children:n},i=[this.x,this.y,this[po].width,this[po].height];delete this[po];return HTMLResult.success(r,i)}}class Assist extends XFAObject{constructor(e){super(Zl,"assist",!0);this.id=e.id||"";this.role=e.role||"";this.use=e.use||"";this.usehref=e.usehref||"";this.speak=null;this.toolTip=null}[pl](){return this.toolTip?.[ho]||null}}class Barcode extends XFAObject{constructor(e){super(Zl,"barcode",!0);this.charEncoding=getKeyword({data:e.charEncoding?e.charEncoding.toLowerCase():"",defaultValue:"",validate:e=>["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(e)||e.match(/iso-8859-\d{2}/)});this.checksum=getStringOption(e.checksum,["none","1mod10","1mod10_1mod11","2mod10","auto"]);this.dataColumnCount=getInteger({data:e.dataColumnCount,defaultValue:-1,validate:e=>e>=0});this.dataLength=getInteger({data:e.dataLength,defaultValue:-1,validate:e=>e>=0});this.dataPrep=getStringOption(e.dataPrep,["none","flateCompress"]);this.dataRowCount=getInteger({data:e.dataRowCount,defaultValue:-1,validate:e=>e>=0});this.endChar=e.endChar||"";this.errorCorrectionLevel=getInteger({data:e.errorCorrectionLevel,defaultValue:-1,validate:e=>e>=0&&e<=8});this.id=e.id||"";this.moduleHeight=getMeasurement(e.moduleHeight,"5mm");this.moduleWidth=getMeasurement(e.moduleWidth,"0.25mm");this.printCheckDigit=getInteger({data:e.printCheckDigit,defaultValue:0,validate:e=>1===e});this.rowColumnRatio=getRatio(e.rowColumnRatio);this.startChar=e.startChar||"";this.textLocation=getStringOption(e.textLocation,["below","above","aboveEmbedded","belowEmbedded","none"]);this.truncate=getInteger({data:e.truncate,defaultValue:0,validate:e=>1===e});this.type=getStringOption(e.type?e.type.toLowerCase():"",["aztec","codabar","code2of5industrial","code2of5interleaved","code2of5matrix","code2of5standard","code3of9","code3of9extended","code11","code49","code93","code128","code128a","code128b","code128c","code128sscc","datamatrix","ean8","ean8add2","ean8add5","ean13","ean13add2","ean13add5","ean13pwcd","fim","logmars","maxicode","msi","pdf417","pdf417macro","plessey","postauscust2","postauscust3","postausreplypaid","postausstandard","postukrm4scc","postusdpbc","postusimb","postusstandard","postus5zip","qrcode","rfid","rss14","rss14expanded","rss14limited","rss14stacked","rss14stackedomni","rss14truncated","telepen","ucc128","ucc128random","ucc128sscc","upca","upcaadd2","upcaadd5","upcapwcd","upce","upceadd2","upceadd5","upcean2","upcean5","upsmaxicode"]);this.upsMode=getStringOption(e.upsMode,["usCarrier","internationalCarrier","secureSymbol","standardSymbol"]);this.use=e.use||"";this.usehref=e.usehref||"";this.wideNarrowRatio=getRatio(e.wideNarrowRatio);this.encrypt=null;this.extras=null}}class Bind extends XFAObject{constructor(e){super(Zl,"bind",!0);this.match=getStringOption(e.match,["once","dataRef","global","none"]);this.ref=e.ref||"";this.picture=null}}class BindItems extends XFAObject{constructor(e){super(Zl,"bindItems");this.connection=e.connection||"";this.labelRef=e.labelRef||"";this.ref=e.ref||"";this.valueRef=e.valueRef||""}}class Bookend extends XFAObject{constructor(e){super(Zl,"bookend");this.id=e.id||"";this.leader=e.leader||"";this.trailer=e.trailer||"";this.use=e.use||"";this.usehref=e.usehref||""}}class BooleanElement extends Option01{constructor(e){super(Zl,"boolean");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}[pl](e){return valueToHtml(1===this[ho]?"1":"0")}}class Border extends XFAObject{constructor(e){super(Zl,"border",!0);this.break=getStringOption(e.break,["close","open"]);this.hand=getStringOption(e.hand,["even","left","right"]);this.id=e.id||"";this.presence=getStringOption(e.presence,["visible","hidden","inactive","invisible"]);this.relevant=getRelevant(e.relevant);this.use=e.use||"";this.usehref=e.usehref||"";this.corner=new XFAObjectArray(4);this.edge=new XFAObjectArray(4);this.extras=null;this.fill=null;this.margin=null}[Ao](){if(!this[po]){const e=this.edge.children.slice();if(e.length<4){const t=e.at(-1)||new Edge({});for(let a=e.length;a<4;a++)e.push(t)}const t=e.map(e=>e.thickness),a=[0,0,0,0];if(this.margin){a[0]=this.margin.topInset;a[1]=this.margin.rightInset;a[2]=this.margin.bottomInset;a[3]=this.margin.leftInset}this[po]={widths:t,insets:a,edges:e}}return this[po]}[gl](){const{edges:e}=this[Ao](),t=e.map(e=>{const t=e[gl]();t.color||="#000000";return t}),a=Object.create(null);this.margin&&Object.assign(a,this.margin[gl]());"visible"===this.fill?.presence&&Object.assign(a,this.fill[gl]());if(this.corner.children.some(e=>0!==e.radius)){const e=this.corner.children.map(e=>e[gl]());if(2===e.length||3===e.length){const t=e.at(-1);for(let a=e.length;a<4;a++)e.push(t)}a.borderRadius=e.map(e=>e.radius).join(" ")}switch(this.presence){case"invisible":case"hidden":a.borderStyle="";break;case"inactive":a.borderStyle="none";break;default:a.borderStyle=t.map(e=>e.style).join(" ")}a.borderWidth=t.map(e=>e.width).join(" ");a.borderColor=t.map(e=>e.color).join(" ");return a}}class Break extends XFAObject{constructor(e){super(Zl,"break",!0);this.after=getStringOption(e.after,["auto","contentArea","pageArea","pageEven","pageOdd"]);this.afterTarget=e.afterTarget||"";this.before=getStringOption(e.before,["auto","contentArea","pageArea","pageEven","pageOdd"]);this.beforeTarget=e.beforeTarget||"";this.bookendLeader=e.bookendLeader||"";this.bookendTrailer=e.bookendTrailer||"";this.id=e.id||"";this.overflowLeader=e.overflowLeader||"";this.overflowTarget=e.overflowTarget||"";this.overflowTrailer=e.overflowTrailer||"";this.startNew=getInteger({data:e.startNew,defaultValue:0,validate:e=>1===e});this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null}}class BreakAfter extends XFAObject{constructor(e){super(Zl,"breakAfter",!0);this.id=e.id||"";this.leader=e.leader||"";this.startNew=getInteger({data:e.startNew,defaultValue:0,validate:e=>1===e});this.target=e.target||"";this.targetType=getStringOption(e.targetType,["auto","contentArea","pageArea"]);this.trailer=e.trailer||"";this.use=e.use||"";this.usehref=e.usehref||"";this.script=null}}class BreakBefore extends XFAObject{constructor(e){super(Zl,"breakBefore",!0);this.id=e.id||"";this.leader=e.leader||"";this.startNew=getInteger({data:e.startNew,defaultValue:0,validate:e=>1===e});this.target=e.target||"";this.targetType=getStringOption(e.targetType,["auto","contentArea","pageArea"]);this.trailer=e.trailer||"";this.use=e.use||"";this.usehref=e.usehref||"";this.script=null}[pl](e){this[po]={};return HTMLResult.FAILURE}}class Button extends XFAObject{constructor(e){super(Zl,"button",!0);this.highlight=getStringOption(e.highlight,["inverted","none","outline","push"]);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null}[pl](e){const t=this[Ro]()[Ro](),a={name:"button",attributes:{id:this[bl],class:["xfaButton"],style:{}},children:[]};for(const e of t.event.children){if("click"!==e.activity||!e.script)continue;const t=recoverJsURL(e.script[ho]);if(!t)continue;const n=fixURL(t.url);n&&a.children.push({name:"a",attributes:{id:"link"+this[bl],href:n,newWindow:t.newWindow,class:["xfaLink"],style:{}},children:[]})}return HTMLResult.success(a)}}class Calculate extends XFAObject{constructor(e){super(Zl,"calculate",!0);this.id=e.id||"";this.override=getStringOption(e.override,["disabled","error","ignore","warning"]);this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null;this.message=null;this.script=null}}class Caption extends XFAObject{constructor(e){super(Zl,"caption",!0);this.id=e.id||"";this.placement=getStringOption(e.placement,["left","bottom","inline","right","top"]);this.presence=getStringOption(e.presence,["visible","hidden","inactive","invisible"]);this.reserve=Math.ceil(getMeasurement(e.reserve));this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null;this.font=null;this.margin=null;this.para=null;this.value=null}[cl](e){_setValue(this,e)}[Ao](e){if(!this[po]){let{width:t,height:a}=e;switch(this.placement){case"left":case"right":case"inline":t=this.reserve<=0?t:this.reserve;break;case"top":case"bottom":a=this.reserve<=0?a:this.reserve}this[po]=layoutNode(this,{width:t,height:a})}return this[po]}[pl](e){if(!this.value)return HTMLResult.EMPTY;this[nl]();const t=this.value[pl](e).html;if(!t){this[al]();return HTMLResult.EMPTY}const a=this.reserve;if(this.reserve<=0){const{w:t,h:a}=this[Ao](e);switch(this.placement){case"left":case"right":case"inline":this.reserve=t;break;case"top":case"bottom":this.reserve=a}}const n=[];"string"==typeof t?n.push({name:"#text",value:t}):n.push(t);const s=toStyle(this,"font","margin","visibility");switch(this.placement){case"left":case"right":this.reserve>0&&(s.width=measureToString(this.reserve));break;case"top":case"bottom":this.reserve>0&&(s.height=measureToString(this.reserve))}setPara(this,null,t);this[al]();this.reserve=a;return HTMLResult.success({name:"div",attributes:{style:s,class:["xfaCaption"]},children:n})}}class Certificate extends StringObject{constructor(e){super(Zl,"certificate");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}}class Certificates extends XFAObject{constructor(e){super(Zl,"certificates",!0);this.credentialServerPolicy=getStringOption(e.credentialServerPolicy,["optional","required"]);this.id=e.id||"";this.url=e.url||"";this.urlPolicy=e.urlPolicy||"";this.use=e.use||"";this.usehref=e.usehref||"";this.encryption=null;this.issuers=null;this.keyUsage=null;this.oids=null;this.signing=null;this.subjectDNs=null}}class CheckButton extends XFAObject{constructor(e){super(Zl,"checkButton",!0);this.id=e.id||"";this.mark=getStringOption(e.mark,["default","check","circle","cross","diamond","square","star"]);this.shape=getStringOption(e.shape,["square","round"]);this.size=getMeasurement(e.size,"10pt");this.use=e.use||"";this.usehref=e.usehref||"";this.border=null;this.extras=null;this.margin=null}[pl](e){const t=toStyle(this,"margin"),a=measureToString(this.size);t.width=t.height=a;let n,s,r;const i=this[Ro]()[Ro](),o=i.items.children.length&&i.items.children[0][pl]().html||[],l={on:(void 0!==o[0]?o[0]:"on").toString(),off:(void 0!==o[1]?o[1]:"off").toString()},f=(i.value?.[ul]()||"off")===l.on||void 0,c=i[Oo](),h=i[bl];let u;if(c instanceof ExclGroup){r=c[bl];n="radio";s="xfaRadio";u=c[uo]?.[bl]||c[bl]}else{n="checkbox";s="xfaCheckbox";u=i[uo]?.[bl]||i[bl]}const m={name:"input",attributes:{class:[s],style:t,fieldId:h,dataId:u,type:n,checked:f,xfaOn:l.on,xfaOff:l.off,"aria-label":ariaLabel(i),"aria-required":!1}};r&&(m.attributes.name=r);if(isRequired(i)){m.attributes["aria-required"]=!0;m.attributes.required=!0}return HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[m]})}}class ChoiceList extends XFAObject{constructor(e){super(Zl,"choiceList",!0);this.commitOn=getStringOption(e.commitOn,["select","exit"]);this.id=e.id||"";this.open=getStringOption(e.open,["userControl","always","multiSelect","onEntry"]);this.textEntry=getInteger({data:e.textEntry,defaultValue:0,validate:e=>1===e});this.use=e.use||"";this.usehref=e.usehref||"";this.border=null;this.extras=null;this.margin=null}[pl](e){const t=toStyle(this,"border","margin"),a=this[Ro]()[Ro](),n={fontSize:`calc(${a.font?.size||10}px * var(--total-scale-factor))`},s=[];if(a.items.children.length>0){const e=a.items;let t=0,r=0;if(2===e.children.length){t=e.children[0].save;r=1-t}const i=e.children[t][pl]().html,o=e.children[r][pl]().html;let l=!1;const f=a.value?.[ul]()||"";for(let e=0,t=i.length;eMathClamp(parseInt(e.trim(),10),0,255)).map(e=>isNaN(e)?0:e);if(r.length<3)return{r:a,g:n,b:s};[a,n,s]=r;return{r:a,g:n,b:s}}(e.value):"";this.extras=null}[Do](){return!1}[gl](){return this.value?Util.makeHexColor(this.value.r,this.value.g,this.value.b):null}}class Comb extends XFAObject{constructor(e){super(Zl,"comb");this.id=e.id||"";this.numberOfCells=getInteger({data:e.numberOfCells,defaultValue:0,validate:e=>e>=0});this.use=e.use||"";this.usehref=e.usehref||""}}class Connect extends XFAObject{constructor(e){super(Zl,"connect",!0);this.connection=e.connection||"";this.id=e.id||"";this.ref=e.ref||"";this.usage=getStringOption(e.usage,["exportAndImport","exportOnly","importOnly"]);this.use=e.use||"";this.usehref=e.usehref||"";this.picture=null}}class ContentArea extends XFAObject{constructor(e){super(Zl,"contentArea",!0);this.h=getMeasurement(e.h);this.id=e.id||"";this.name=e.name||"";this.relevant=getRelevant(e.relevant);this.use=e.use||"";this.usehref=e.usehref||"";this.w=getMeasurement(e.w);this.x=getMeasurement(e.x,"0pt");this.y=getMeasurement(e.y,"0pt");this.desc=null;this.extras=null}[pl](e){const t={left:measureToString(this.x),top:measureToString(this.y),width:measureToString(this.w),height:measureToString(this.h)},a=["xfaContentarea"];isPrintOnly(this)&&a.push("xfaPrintOnly");return HTMLResult.success({name:"div",children:[],attributes:{style:t,class:a,id:this[bl]}})}}class Corner extends XFAObject{constructor(e){super(Zl,"corner",!0);this.id=e.id||"";this.inverted=getInteger({data:e.inverted,defaultValue:0,validate:e=>1===e});this.join=getStringOption(e.join,["square","round"]);this.presence=getStringOption(e.presence,["visible","hidden","inactive","invisible"]);this.radius=getMeasurement(e.radius);this.stroke=getStringOption(e.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]);this.thickness=getMeasurement(e.thickness,"0.5pt");this.use=e.use||"";this.usehref=e.usehref||"";this.color=null;this.extras=null}[gl](){const e=toStyle(this,"visibility");e.radius=measureToString("square"===this.join?0:this.radius);return e}}class DateElement extends ContentObject{constructor(e){super(Zl,"date");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}[go](){const e=this[ho].trim();this[ho]=e?new Date(e):null}[pl](e){return valueToHtml(this[ho]?this[ho].toString():"")}}class DateTime extends ContentObject{constructor(e){super(Zl,"dateTime");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}[go](){const e=this[ho].trim();this[ho]=e?new Date(e):null}[pl](e){return valueToHtml(this[ho]?this[ho].toString():"")}}class DateTimeEdit extends XFAObject{constructor(e){super(Zl,"dateTimeEdit",!0);this.hScrollPolicy=getStringOption(e.hScrollPolicy,["auto","off","on"]);this.id=e.id||"";this.picker=getStringOption(e.picker,["host","none"]);this.use=e.use||"";this.usehref=e.usehref||"";this.border=null;this.comb=null;this.extras=null;this.margin=null}[pl](e){const t=toStyle(this,"border","font","margin"),a=this[Ro]()[Ro](),n={name:"input",attributes:{type:"text",fieldId:a[bl],dataId:a[uo]?.[bl]||a[bl],class:["xfaTextfield"],style:t,"aria-label":ariaLabel(a),"aria-required":!1}};if(isRequired(a)){n.attributes["aria-required"]=!0;n.attributes.required=!0}return HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[n]})}}class Decimal extends ContentObject{constructor(e){super(Zl,"decimal");this.fracDigits=getInteger({data:e.fracDigits,defaultValue:2,validate:e=>!0});this.id=e.id||"";this.leadDigits=getInteger({data:e.leadDigits,defaultValue:-1,validate:e=>!0});this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}[go](){const e=parseFloat(this[ho].trim());this[ho]=isNaN(e)?null:e}[pl](e){return valueToHtml(null!==this[ho]?this[ho].toString():"")}}class DefaultUi extends XFAObject{constructor(e){super(Zl,"defaultUi",!0);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null}}class Desc extends XFAObject{constructor(e){super(Zl,"desc",!0);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.boolean=new XFAObjectArray;this.date=new XFAObjectArray;this.dateTime=new XFAObjectArray;this.decimal=new XFAObjectArray;this.exData=new XFAObjectArray;this.float=new XFAObjectArray;this.image=new XFAObjectArray;this.integer=new XFAObjectArray;this.text=new XFAObjectArray;this.time=new XFAObjectArray}}class DigestMethod extends OptionObject{constructor(e){super(Zl,"digestMethod",["","SHA1","SHA256","SHA512","RIPEMD160"]);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||""}}class DigestMethods extends XFAObject{constructor(e){super(Zl,"digestMethods",!0);this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||"";this.digestMethod=new XFAObjectArray}}class Draw extends XFAObject{constructor(e){super(Zl,"draw",!0);this.anchorType=getStringOption(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]);this.colSpan=getInteger({data:e.colSpan,defaultValue:1,validate:e=>e>=1||-1===e});this.h=e.h?getMeasurement(e.h):"";this.hAlign=getStringOption(e.hAlign,["left","center","justify","justifyAll","radix","right"]);this.id=e.id||"";this.locale=e.locale||"";this.maxH=getMeasurement(e.maxH,"0pt");this.maxW=getMeasurement(e.maxW,"0pt");this.minH=getMeasurement(e.minH,"0pt");this.minW=getMeasurement(e.minW,"0pt");this.name=e.name||"";this.presence=getStringOption(e.presence,["visible","hidden","inactive","invisible"]);this.relevant=getRelevant(e.relevant);this.rotate=getInteger({data:e.rotate,defaultValue:0,validate:e=>e%90==0});this.use=e.use||"";this.usehref=e.usehref||"";this.w=e.w?getMeasurement(e.w):"";this.x=getMeasurement(e.x,"0pt");this.y=getMeasurement(e.y,"0pt");this.assist=null;this.border=null;this.caption=null;this.desc=null;this.extras=null;this.font=null;this.keep=null;this.margin=null;this.para=null;this.traversal=null;this.ui=null;this.value=null;this.setProperty=new XFAObjectArray}[cl](e){_setValue(this,e)}[pl](e){setTabIndex(this);if("hidden"===this.presence||"inactive"===this.presence)return HTMLResult.EMPTY;fixDimensions(this);this[nl]();const t=this.w,a=this.h,{w:n,h:s,isBroken:r}=layoutNode(this,e);if(n&&""===this.w){if(r&&this[Oo]()[Wo]()){this[al]();return HTMLResult.FAILURE}this.w=n}s&&""===this.h&&(this.h=s);setFirstUnsplittable(this);if(!checkDimensions(this,e)){this.w=t;this.h=a;this[al]();return HTMLResult.FAILURE}unsetFirstUnsplittable(this);const i=toStyle(this,"font","hAlign","dimensions","position","presence","rotate","anchorType","border","margin");setMinMaxDimensions(this,i);if(i.margin){i.padding=i.margin;delete i.margin}const o=["xfaDraw"];this.font&&o.push("xfaFont");isPrintOnly(this)&&o.push("xfaPrintOnly");const l={style:i,id:this[bl],class:o};this.name&&(l.xfaName=this.name);const f={name:"div",attributes:l,children:[]};applyAssist(this,l);const c=computeBbox(this,f,e),h=this.value?this.value[pl](e).html:null;if(null===h){this.w=t;this.h=a;this[al]();return HTMLResult.success(createWrapper(this,f),c)}f.children.push(h);setPara(this,i,h);this.w=t;this.h=a;this[al]();return HTMLResult.success(createWrapper(this,f),c)}}class Edge extends XFAObject{constructor(e){super(Zl,"edge",!0);this.cap=getStringOption(e.cap,["square","butt","round"]);this.id=e.id||"";this.presence=getStringOption(e.presence,["visible","hidden","inactive","invisible"]);this.stroke=getStringOption(e.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]);this.thickness=getMeasurement(e.thickness,"0.5pt");this.use=e.use||"";this.usehref=e.usehref||"";this.color=null;this.extras=null}[gl](){const e=toStyle(this,"visibility");Object.assign(e,{linecap:this.cap,width:measureToString(this.thickness),color:this.color?this.color[gl]():"#000000",style:""});if("visible"!==this.presence)e.style="none";else switch(this.stroke){case"solid":e.style="solid";break;case"dashDot":case"dashDotDot":case"dashed":e.style="dashed";break;case"dotted":e.style="dotted";break;case"embossed":e.style="ridge";break;case"etched":e.style="groove";break;case"lowered":e.style="inset";break;case"raised":e.style="outset"}return e}}class Encoding extends OptionObject{constructor(e){super(Zl,"encoding",["adbe.x509.rsa_sha1","adbe.pkcs7.detached","adbe.pkcs7.sha1"]);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||""}}class Encodings extends XFAObject{constructor(e){super(Zl,"encodings",!0);this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||"";this.encoding=new XFAObjectArray}}class Encrypt extends XFAObject{constructor(e){super(Zl,"encrypt",!0);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.certificate=null}}class EncryptData extends XFAObject{constructor(e){super(Zl,"encryptData",!0);this.id=e.id||"";this.operation=getStringOption(e.operation,["encrypt","decrypt"]);this.target=e.target||"";this.use=e.use||"";this.usehref=e.usehref||"";this.filter=null;this.manifest=null}}class Encryption extends XFAObject{constructor(e){super(Zl,"encryption",!0);this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||"";this.certificate=new XFAObjectArray}}class EncryptionMethod extends OptionObject{constructor(e){super(Zl,"encryptionMethod",["","AES256-CBC","TRIPLEDES-CBC","AES128-CBC","AES192-CBC"]);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||""}}class EncryptionMethods extends XFAObject{constructor(e){super(Zl,"encryptionMethods",!0);this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||"";this.encryptionMethod=new XFAObjectArray}}class Event extends XFAObject{constructor(e){super(Zl,"event",!0);this.activity=getStringOption(e.activity,["click","change","docClose","docReady","enter","exit","full","indexChange","initialize","mouseDown","mouseEnter","mouseExit","mouseUp","postExecute","postOpen","postPrint","postSave","postSign","postSubmit","preExecute","preOpen","prePrint","preSave","preSign","preSubmit","ready","validationState"]);this.id=e.id||"";this.listen=getStringOption(e.listen,["refOnly","refAndDescendents"]);this.name=e.name||"";this.ref=e.ref||"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null;this.encryptData=null;this.execute=null;this.script=null;this.signData=null;this.submit=null}}class ExData extends ContentObject{constructor(e){super(Zl,"exData");this.contentType=e.contentType||"";this.href=e.href||"";this.id=e.id||"";this.maxLength=getInteger({data:e.maxLength,defaultValue:-1,validate:e=>e>=-1});this.name=e.name||"";this.rid=e.rid||"";this.transferEncoding=getStringOption(e.transferEncoding,["none","base64","package"]);this.use=e.use||"";this.usehref=e.usehref||""}[_o](){return"text/html"===this.contentType}[Qo](e){if("text/html"===this.contentType&&e[$o]===jl.xhtml.id){this[ho]=e;return!0}if("text/xml"===this.contentType){this[ho]=e;return!0}return!1}[pl](e){return"text/html"===this.contentType&&this[ho]?this[ho][pl](e):HTMLResult.EMPTY}}class ExObject extends XFAObject{constructor(e){super(Zl,"exObject",!0);this.archive=e.archive||"";this.classId=e.classId||"";this.codeBase=e.codeBase||"";this.codeType=e.codeType||"";this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null;this.boolean=new XFAObjectArray;this.date=new XFAObjectArray;this.dateTime=new XFAObjectArray;this.decimal=new XFAObjectArray;this.exData=new XFAObjectArray;this.exObject=new XFAObjectArray;this.float=new XFAObjectArray;this.image=new XFAObjectArray;this.integer=new XFAObjectArray;this.text=new XFAObjectArray;this.time=new XFAObjectArray}}class ExclGroup extends XFAObject{constructor(e){super(Zl,"exclGroup",!0);this.access=getStringOption(e.access,["open","nonInteractive","protected","readOnly"]);this.accessKey=e.accessKey||"";this.anchorType=getStringOption(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]);this.colSpan=getInteger({data:e.colSpan,defaultValue:1,validate:e=>e>=1||-1===e});this.h=e.h?getMeasurement(e.h):"";this.hAlign=getStringOption(e.hAlign,["left","center","justify","justifyAll","radix","right"]);this.id=e.id||"";this.layout=getStringOption(e.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]);this.maxH=getMeasurement(e.maxH,"0pt");this.maxW=getMeasurement(e.maxW,"0pt");this.minH=getMeasurement(e.minH,"0pt");this.minW=getMeasurement(e.minW,"0pt");this.name=e.name||"";this.presence=getStringOption(e.presence,["visible","hidden","inactive","invisible"]);this.relevant=getRelevant(e.relevant);this.use=e.use||"";this.usehref=e.usehref||"";this.w=e.w?getMeasurement(e.w):"";this.x=getMeasurement(e.x,"0pt");this.y=getMeasurement(e.y,"0pt");this.assist=null;this.bind=null;this.border=null;this.calculate=null;this.caption=null;this.desc=null;this.extras=null;this.margin=null;this.para=null;this.traversal=null;this.validate=null;this.connect=new XFAObjectArray;this.event=new XFAObjectArray;this.field=new XFAObjectArray;this.setProperty=new XFAObjectArray}[Eo](){return!0}[Do](){return!0}[cl](e){for(const t of this.field.children){if(!t.value){const e=new Value({});t[so](e);t.value=e}t.value[cl](e)}}[Wo](){return this.layout.endsWith("-tb")&&0===this[po].attempt&&this[po].numberInLine>0||this[Ro]()[Wo]()}[Xo](){const e=this[Oo]();if(!e[Xo]())return!1;if(void 0!==this[po]._isSplittable)return this[po]._isSplittable;if("position"===this.layout||this.layout.includes("row")){this[po]._isSplittable=!1;return!1}if(e.layout?.endsWith("-tb")&&0!==e[po].numberInLine)return!1;this[po]._isSplittable=!0;return!0}[bo](){return flushHTML(this)}[no](e,t){addHTML(this,e,t)}[ko](){return getAvailableSpace(this)}[pl](e){setTabIndex(this);if("hidden"===this.presence||"inactive"===this.presence||0===this.h||0===this.w)return HTMLResult.EMPTY;fixDimensions(this);const t=[],a={id:this[bl],class:[]};setAccess(this,a.class);this[po]||=Object.create(null);Object.assign(this[po],{children:t,attributes:a,attempt:0,line:null,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,e.width),height:Math.min(this.h||1/0,e.height)},width:0,height:0,prevHeight:0,currentWidth:0});const n=this[Xo]();n||setFirstUnsplittable(this);if(!checkDimensions(this,e))return HTMLResult.FAILURE;const s=new Set(["field"]);if(this.layout.includes("row")){const e=this[Oo]().columnWidths;if(Array.isArray(e)&&e.length>0){this[po].columnWidths=e;this[po].currentColumn=0}}const r=toStyle(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),i=["xfaExclgroup"],o=layoutClass(this);o&&i.push(o);isPrintOnly(this)&&i.push("xfaPrintOnly");a.style=r;a.class=i;this.name&&(a.xfaName=this.name);this[nl]();const l="lr-tb"===this.layout||"rl-tb"===this.layout,f=l?2:1;for(;this[po].attempte>=1||-1===e});this.h=e.h?getMeasurement(e.h):"";this.hAlign=getStringOption(e.hAlign,["left","center","justify","justifyAll","radix","right"]);this.id=e.id||"";this.locale=e.locale||"";this.maxH=getMeasurement(e.maxH,"0pt");this.maxW=getMeasurement(e.maxW,"0pt");this.minH=getMeasurement(e.minH,"0pt");this.minW=getMeasurement(e.minW,"0pt");this.name=e.name||"";this.presence=getStringOption(e.presence,["visible","hidden","inactive","invisible"]);this.relevant=getRelevant(e.relevant);this.rotate=getInteger({data:e.rotate,defaultValue:0,validate:e=>e%90==0});this.use=e.use||"";this.usehref=e.usehref||"";this.w=e.w?getMeasurement(e.w):"";this.x=getMeasurement(e.x,"0pt");this.y=getMeasurement(e.y,"0pt");this.assist=null;this.bind=null;this.border=null;this.calculate=null;this.caption=null;this.desc=null;this.extras=null;this.font=null;this.format=null;this.items=new XFAObjectArray(2);this.keep=null;this.margin=null;this.para=null;this.traversal=null;this.ui=null;this.validate=null;this.value=null;this.bindItems=new XFAObjectArray;this.connect=new XFAObjectArray;this.event=new XFAObjectArray;this.setProperty=new XFAObjectArray}[Eo](){return!0}[cl](e){_setValue(this,e)}[pl](e){setTabIndex(this);if(!this.ui){this.ui=new Ui({});this.ui[Bo]=this[Bo];this[so](this.ui);let e;switch(this.items.children.length){case 0:e=new TextEdit({});this.ui.textEdit=e;break;case 1:e=new CheckButton({});this.ui.checkButton=e;break;case 2:e=new ChoiceList({});this.ui.choiceList=e}this.ui[so](e)}if(!this.ui||"hidden"===this.presence||"inactive"===this.presence||0===this.h||0===this.w)return HTMLResult.EMPTY;this.caption&&delete this.caption[po];this[nl]();const t=this.caption?this.caption[pl](e).html:null,a=this.w,n=this.h;let s=0,r=0;if(this.margin){s=this.margin.leftInset+this.margin.rightInset;r=this.margin.topInset+this.margin.bottomInset}let i=null;if(""===this.w||""===this.h){let t=null,a=null,n=0,o=0;if(this.ui.checkButton)n=o=this.ui.checkButton.size;else{const{w:t,h:a}=layoutNode(this,e);if(null!==t){n=t;o=a}else o=function fonts_getMetrics(e,t=!1){let a=null;if(e){const t=stripQuotes(e.typeface),n=e[Bo].fontFinder.find(t);a=selectFont(e,n)}if(!a)return{lineHeight:12,lineGap:2,lineNoGap:10};const n=e.size||10,s=a.lineHeight?Math.max(t?0:1.2,a.lineHeight):1.2,r=void 0===a.lineGap?.2:a.lineGap;return{lineHeight:s*n,lineGap:r*n,lineNoGap:Math.max(1,s-r)*n}}(this.font,!0).lineNoGap}i=getBorderDims(this.ui[Ao]());n+=i.w;o+=i.h;if(this.caption){const{w:s,h:r,isBroken:i}=this.caption[Ao](e);if(i&&this[Oo]()[Wo]()){this[al]();return HTMLResult.FAILURE}t=s;a=r;switch(this.caption.placement){case"left":case"right":case"inline":t+=n;break;case"top":case"bottom":a+=o}}else{t=n;a=o}if(t&&""===this.w){t+=s;this.w=Math.min(this.maxW<=0?1/0:this.maxW,this.minW+1e>=1&&e<=5});this.appearanceFilter=null;this.certificates=null;this.digestMethods=null;this.encodings=null;this.encryptionMethods=null;this.handler=null;this.lockDocument=null;this.mdp=null;this.reasons=null;this.timeStamp=null}}class Float extends ContentObject{constructor(e){super(Zl,"float");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}[go](){const e=parseFloat(this[ho].trim());this[ho]=isNaN(e)?null:e}[pl](e){return valueToHtml(null!==this[ho]?this[ho].toString():"")}}class template_Font extends XFAObject{constructor(e){super(Zl,"font",!0);this.baselineShift=getMeasurement(e.baselineShift);this.fontHorizontalScale=getFloat({data:e.fontHorizontalScale,defaultValue:100,validate:e=>e>=0});this.fontVerticalScale=getFloat({data:e.fontVerticalScale,defaultValue:100,validate:e=>e>=0});this.id=e.id||"";this.kerningMode=getStringOption(e.kerningMode,["none","pair"]);this.letterSpacing=getMeasurement(e.letterSpacing,"0");this.lineThrough=getInteger({data:e.lineThrough,defaultValue:0,validate:e=>1===e||2===e});this.lineThroughPeriod=getStringOption(e.lineThroughPeriod,["all","word"]);this.overline=getInteger({data:e.overline,defaultValue:0,validate:e=>1===e||2===e});this.overlinePeriod=getStringOption(e.overlinePeriod,["all","word"]);this.posture=getStringOption(e.posture,["normal","italic"]);this.size=getMeasurement(e.size,"10pt");this.typeface=e.typeface||"Courier";this.underline=getInteger({data:e.underline,defaultValue:0,validate:e=>1===e||2===e});this.underlinePeriod=getStringOption(e.underlinePeriod,["all","word"]);this.use=e.use||"";this.usehref=e.usehref||"";this.weight=getStringOption(e.weight,["normal","bold"]);this.extras=null;this.fill=null}[io](e){super[io](e);this[Bo].usedTypefaces.add(this.typeface)}[gl](){const e=toStyle(this,"fill"),t=e.color;if(t)if("#000000"===t)delete e.color;else if(!t.startsWith("#")){e.background=t;e.backgroundClip="text";e.color="transparent"}this.baselineShift&&(e.verticalAlign=measureToString(this.baselineShift));e.fontKerning="none"===this.kerningMode?"none":"normal";e.letterSpacing=measureToString(this.letterSpacing);if(0!==this.lineThrough){e.textDecoration="line-through";2===this.lineThrough&&(e.textDecorationStyle="double")}if(0!==this.overline){e.textDecoration="overline";2===this.overline&&(e.textDecorationStyle="double")}e.fontStyle=this.posture;e.fontSize=measureToString(.99*this.size);setFontFamily(this,this,this[Bo].fontFinder,e);if(0!==this.underline){e.textDecoration="underline";2===this.underline&&(e.textDecorationStyle="double")}e.fontWeight=this.weight;return e}}class Format extends XFAObject{constructor(e){super(Zl,"format",!0);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null;this.picture=null}}class Handler extends StringObject{constructor(e){super(Zl,"handler");this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||""}}class Hyphenation extends XFAObject{constructor(e){super(Zl,"hyphenation");this.excludeAllCaps=getInteger({data:e.excludeAllCaps,defaultValue:0,validate:e=>1===e});this.excludeInitialCap=getInteger({data:e.excludeInitialCap,defaultValue:0,validate:e=>1===e});this.hyphenate=getInteger({data:e.hyphenate,defaultValue:0,validate:e=>1===e});this.id=e.id||"";this.pushCharacterCount=getInteger({data:e.pushCharacterCount,defaultValue:3,validate:e=>e>=0});this.remainCharacterCount=getInteger({data:e.remainCharacterCount,defaultValue:3,validate:e=>e>=0});this.use=e.use||"";this.usehref=e.usehref||"";this.wordCharacterCount=getInteger({data:e.wordCharacterCount,defaultValue:7,validate:e=>e>=0})}}class Image extends StringObject{constructor(e){super(Zl,"image");this.aspect=getStringOption(e.aspect,["fit","actual","height","none","width"]);this.contentType=e.contentType||"";this.href=e.href||"";this.id=e.id||"";this.name=e.name||"";this.transferEncoding=getStringOption(e.transferEncoding,["base64","none","package"]);this.use=e.use||"";this.usehref=e.usehref||""}[pl](){if(this.contentType&&!tf.has(this.contentType.toLowerCase()))return HTMLResult.EMPTY;let e=this[Bo].images?.get(this.href);if(!e&&(this.href||!this[ho]))return HTMLResult.EMPTY;e||"base64"!==this.transferEncoding||(e=Uint8Array.fromBase64(this[ho]));if(!e)return HTMLResult.EMPTY;if(!this.contentType){for(const[t,a]of af)if(e.length>t.length&&t.every((t,a)=>t===e[a])){this.contentType=a;break}if(!this.contentType)return HTMLResult.EMPTY}const t=new Blob([e],{type:this.contentType});let a;switch(this.aspect){case"fit":case"actual":break;case"height":a={height:"100%",objectFit:"fill"};break;case"none":a={width:"100%",height:"100%",objectFit:"fill"};break;case"width":a={width:"100%",objectFit:"fill"}}const n=this[Ro]();return HTMLResult.success({name:"img",attributes:{class:["xfaImage"],style:a,src:URL.createObjectURL(t),alt:n?ariaLabel(n[Ro]()):null}})}}class ImageEdit extends XFAObject{constructor(e){super(Zl,"imageEdit",!0);this.data=getStringOption(e.data,["link","embed"]);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.border=null;this.extras=null;this.margin=null}[pl](e){return"embed"===this.data?HTMLResult.success({name:"div",children:[],attributes:{}}):HTMLResult.EMPTY}}class Integer extends ContentObject{constructor(e){super(Zl,"integer");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}[go](){const e=parseInt(this[ho].trim(),10);this[ho]=isNaN(e)?null:e}[pl](e){return valueToHtml(null!==this[ho]?this[ho].toString():"")}}class Issuers extends XFAObject{constructor(e){super(Zl,"issuers",!0);this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||"";this.certificate=new XFAObjectArray}}class Items extends XFAObject{constructor(e){super(Zl,"items",!0);this.id=e.id||"";this.name=e.name||"";this.presence=getStringOption(e.presence,["visible","hidden","inactive","invisible"]);this.ref=e.ref||"";this.save=getInteger({data:e.save,defaultValue:0,validate:e=>1===e});this.use=e.use||"";this.usehref=e.usehref||"";this.boolean=new XFAObjectArray;this.date=new XFAObjectArray;this.dateTime=new XFAObjectArray;this.decimal=new XFAObjectArray;this.exData=new XFAObjectArray;this.float=new XFAObjectArray;this.image=new XFAObjectArray;this.integer=new XFAObjectArray;this.text=new XFAObjectArray;this.time=new XFAObjectArray}[pl](){const e=[];for(const t of this[Co]())e.push(t[ul]());return HTMLResult.success(e)}}class Keep extends XFAObject{constructor(e){super(Zl,"keep",!0);this.id=e.id||"";const t=["none","contentArea","pageArea"];this.intact=getStringOption(e.intact,t);this.next=getStringOption(e.next,t);this.previous=getStringOption(e.previous,t);this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null}}class KeyUsage extends XFAObject{constructor(e){super(Zl,"keyUsage");const t=["","yes","no"];this.crlSign=getStringOption(e.crlSign,t);this.dataEncipherment=getStringOption(e.dataEncipherment,t);this.decipherOnly=getStringOption(e.decipherOnly,t);this.digitalSignature=getStringOption(e.digitalSignature,t);this.encipherOnly=getStringOption(e.encipherOnly,t);this.id=e.id||"";this.keyAgreement=getStringOption(e.keyAgreement,t);this.keyCertSign=getStringOption(e.keyCertSign,t);this.keyEncipherment=getStringOption(e.keyEncipherment,t);this.nonRepudiation=getStringOption(e.nonRepudiation,t);this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||""}}class Line extends XFAObject{constructor(e){super(Zl,"line",!0);this.hand=getStringOption(e.hand,["even","left","right"]);this.id=e.id||"";this.slope=getStringOption(e.slope,["\\","/"]);this.use=e.use||"";this.usehref=e.usehref||"";this.edge=null}[pl](){const e=this[Ro]()[Ro](),t=this.edge||new Edge({}),a=t[gl](),n=Object.create(null),s="visible"===t.presence?t.thickness:0;n.strokeWidth=measureToString(s);n.stroke=a.color;let r,i,l,f,c="100%",h="100%";if(e.w<=s){[r,i,l,f]=["50%",0,"50%","100%"];c=n.strokeWidth}else if(e.h<=s){[r,i,l,f]=[0,"50%","100%","50%"];h=n.strokeWidth}else"\\"===this.slope?[r,i,l,f]=[0,0,"100%","100%"]:[r,i,l,f]=[0,"100%","100%",0];const u={name:"svg",children:[{name:"line",attributes:{xmlns:o,x1:r,y1:i,x2:l,y2:f,style:n}}],attributes:{xmlns:o,width:c,height:h,style:{overflow:"visible"}}};if(hasMargin(e))return HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[u]});u.attributes.style.position="absolute";return HTMLResult.success(u)}}class Linear extends XFAObject{constructor(e){super(Zl,"linear",!0);this.id=e.id||"";this.type=getStringOption(e.type,["toRight","toBottom","toLeft","toTop"]);this.use=e.use||"";this.usehref=e.usehref||"";this.color=null;this.extras=null}[gl](e){e=e?e[gl]():"#FFFFFF";return`linear-gradient(${this.type.replace(/([RBLT])/," $1").toLowerCase()}, ${e}, ${this.color?this.color[gl]():"#000000"})`}}class LockDocument extends ContentObject{constructor(e){super(Zl,"lockDocument");this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||""}[go](){this[ho]=getStringOption(this[ho],["auto","0","1"])}}class Manifest extends XFAObject{constructor(e){super(Zl,"manifest",!0);this.action=getStringOption(e.action,["include","all","exclude"]);this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null;this.ref=new XFAObjectArray}}class Margin extends XFAObject{constructor(e){super(Zl,"margin",!0);this.bottomInset=getMeasurement(e.bottomInset,"0");this.id=e.id||"";this.leftInset=getMeasurement(e.leftInset,"0");this.rightInset=getMeasurement(e.rightInset,"0");this.topInset=getMeasurement(e.topInset,"0");this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null}[gl](){return{margin:measureToString(this.topInset)+" "+measureToString(this.rightInset)+" "+measureToString(this.bottomInset)+" "+measureToString(this.leftInset)}}}class Mdp extends XFAObject{constructor(e){super(Zl,"mdp");this.id=e.id||"";this.permissions=getInteger({data:e.permissions,defaultValue:2,validate:e=>1===e||3===e});this.signatureType=getStringOption(e.signatureType,["filler","author"]);this.use=e.use||"";this.usehref=e.usehref||""}}class Medium extends XFAObject{constructor(e){super(Zl,"medium");this.id=e.id||"";this.imagingBBox=function getBBox(e){const t=-1;if(!e)return{x:t,y:t,width:t,height:t};const a=e.split(",",4).map(e=>getMeasurement(e.trim(),"-1"));if(a.length<4||a[2]<0||a[3]<0)return{x:t,y:t,width:t,height:t};const[n,s,r,i]=a;return{x:n,y:s,width:r,height:i}}(e.imagingBBox);this.long=getMeasurement(e.long);this.orientation=getStringOption(e.orientation,["portrait","landscape"]);this.short=getMeasurement(e.short);this.stock=e.stock||"";this.trayIn=getStringOption(e.trayIn,["auto","delegate","pageFront"]);this.trayOut=getStringOption(e.trayOut,["auto","delegate"]);this.use=e.use||"";this.usehref=e.usehref||""}}class Message extends XFAObject{constructor(e){super(Zl,"message",!0);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.text=new XFAObjectArray}}class NumericEdit extends XFAObject{constructor(e){super(Zl,"numericEdit",!0);this.hScrollPolicy=getStringOption(e.hScrollPolicy,["auto","off","on"]);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.border=null;this.comb=null;this.extras=null;this.margin=null}[pl](e){const t=toStyle(this,"border","font","margin"),a=this[Ro]()[Ro](),n={name:"input",attributes:{type:"text",fieldId:a[bl],dataId:a[uo]?.[bl]||a[bl],class:["xfaTextfield"],style:t,"aria-label":ariaLabel(a),"aria-required":!1}};if(isRequired(a)){n.attributes["aria-required"]=!0;n.attributes.required=!0}return HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[n]})}}class Occur extends XFAObject{constructor(e){super(Zl,"occur",!0);this.id=e.id||"";this.initial=""!==e.initial?getInteger({data:e.initial,defaultValue:"",validate:e=>!0}):"";this.max=""!==e.max?getInteger({data:e.max,defaultValue:-1,validate:e=>!0}):"";this.min=""!==e.min?getInteger({data:e.min,defaultValue:1,validate:e=>!0}):"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null}[io](){const e=this[Ro](),t=this.min;""===this.min&&(this.min=e instanceof PageArea||e instanceof PageSet?0:1);""===this.max&&(this.max=""===t?e instanceof PageArea||e instanceof PageSet?-1:1:this.min);-1!==this.max&&this.max!0});this.name=e.name||"";this.numbered=getInteger({data:e.numbered,defaultValue:1,validate:e=>!0});this.oddOrEven=getStringOption(e.oddOrEven,["any","even","odd"]);this.pagePosition=getStringOption(e.pagePosition,["any","first","last","only","rest"]);this.relevant=getRelevant(e.relevant);this.use=e.use||"";this.usehref=e.usehref||"";this.desc=null;this.extras=null;this.medium=null;this.occur=null;this.area=new XFAObjectArray;this.contentArea=new XFAObjectArray;this.draw=new XFAObjectArray;this.exclGroup=new XFAObjectArray;this.field=new XFAObjectArray;this.subform=new XFAObjectArray}[Go](){if(!this[po]){this[po]={numberOfUse:0};return!0}return!this.occur||-1===this.occur.max||this[po].numberOfUsee.oddOrEven===t&&e.pagePosition===a);if(n)return n;n=this.pageArea.children.find(e=>"any"===e.oddOrEven&&e.pagePosition===a);if(n)return n;n=this.pageArea.children.find(e=>"any"===e.oddOrEven&&"any"===e.pagePosition);return n||this.pageArea.children[0]}}class Para extends XFAObject{constructor(e){super(Zl,"para",!0);this.hAlign=getStringOption(e.hAlign,["left","center","justify","justifyAll","radix","right"]);this.id=e.id||"";this.lineHeight=e.lineHeight?getMeasurement(e.lineHeight,"0pt"):"";this.marginLeft=e.marginLeft?getMeasurement(e.marginLeft,"0pt"):"";this.marginRight=e.marginRight?getMeasurement(e.marginRight,"0pt"):"";this.orphans=getInteger({data:e.orphans,defaultValue:0,validate:e=>e>=0});this.preserve=e.preserve||"";this.radixOffset=e.radixOffset?getMeasurement(e.radixOffset,"0pt"):"";this.spaceAbove=e.spaceAbove?getMeasurement(e.spaceAbove,"0pt"):"";this.spaceBelow=e.spaceBelow?getMeasurement(e.spaceBelow,"0pt"):"";this.tabDefault=e.tabDefault?getMeasurement(this.tabDefault):"";this.tabStops=(e.tabStops||"").trim().split(/\s+/).map((e,t)=>t%2==1?getMeasurement(e):e);this.textIndent=e.textIndent?getMeasurement(e.textIndent,"0pt"):"";this.use=e.use||"";this.usehref=e.usehref||"";this.vAlign=getStringOption(e.vAlign,["top","bottom","middle"]);this.widows=getInteger({data:e.widows,defaultValue:0,validate:e=>e>=0});this.hyphenation=null}[gl](){const e=toStyle(this,"hAlign");""!==this.marginLeft&&(e.paddingLeft=measureToString(this.marginLeft));""!==this.marginRight&&(e.paddingRight=measureToString(this.marginRight));""!==this.spaceAbove&&(e.paddingTop=measureToString(this.spaceAbove));""!==this.spaceBelow&&(e.paddingBottom=measureToString(this.spaceBelow));if(""!==this.textIndent){e.textIndent=measureToString(this.textIndent);fixTextIndent(e)}this.lineHeight>0&&(e.lineHeight=measureToString(this.lineHeight));""!==this.tabDefault&&(e.tabSize=measureToString(this.tabDefault));this.tabStops.length;this.hyphenatation&&Object.assign(e,this.hyphenatation[gl]());return e}}class PasswordEdit extends XFAObject{constructor(e){super(Zl,"passwordEdit",!0);this.hScrollPolicy=getStringOption(e.hScrollPolicy,["auto","off","on"]);this.id=e.id||"";this.passwordChar=e.passwordChar||"*";this.use=e.use||"";this.usehref=e.usehref||"";this.border=null;this.extras=null;this.margin=null}}class template_Pattern extends XFAObject{constructor(e){super(Zl,"pattern",!0);this.id=e.id||"";this.type=getStringOption(e.type,["crossHatch","crossDiagonal","diagonalLeft","diagonalRight","horizontal","vertical"]);this.use=e.use||"";this.usehref=e.usehref||"";this.color=null;this.extras=null}[gl](e){e=e?e[gl]():"#FFFFFF";const t=this.color?this.color[gl]():"#000000",a="repeating-linear-gradient",n=`${e},${e} 5px,${t} 5px,${t} 10px`;switch(this.type){case"crossHatch":return`${a}(to top,${n}) ${a}(to right,${n})`;case"crossDiagonal":return`${a}(45deg,${n}) ${a}(-45deg,${n})`;case"diagonalLeft":return`${a}(45deg,${n})`;case"diagonalRight":return`${a}(-45deg,${n})`;case"horizontal":return`${a}(to top,${n})`;case"vertical":return`${a}(to right,${n})`}return""}}class Picture extends StringObject{constructor(e){super(Zl,"picture");this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||""}}class Proto extends XFAObject{constructor(e){super(Zl,"proto",!0);this.appearanceFilter=new XFAObjectArray;this.arc=new XFAObjectArray;this.area=new XFAObjectArray;this.assist=new XFAObjectArray;this.barcode=new XFAObjectArray;this.bindItems=new XFAObjectArray;this.bookend=new XFAObjectArray;this.boolean=new XFAObjectArray;this.border=new XFAObjectArray;this.break=new XFAObjectArray;this.breakAfter=new XFAObjectArray;this.breakBefore=new XFAObjectArray;this.button=new XFAObjectArray;this.calculate=new XFAObjectArray;this.caption=new XFAObjectArray;this.certificate=new XFAObjectArray;this.certificates=new XFAObjectArray;this.checkButton=new XFAObjectArray;this.choiceList=new XFAObjectArray;this.color=new XFAObjectArray;this.comb=new XFAObjectArray;this.connect=new XFAObjectArray;this.contentArea=new XFAObjectArray;this.corner=new XFAObjectArray;this.date=new XFAObjectArray;this.dateTime=new XFAObjectArray;this.dateTimeEdit=new XFAObjectArray;this.decimal=new XFAObjectArray;this.defaultUi=new XFAObjectArray;this.desc=new XFAObjectArray;this.digestMethod=new XFAObjectArray;this.digestMethods=new XFAObjectArray;this.draw=new XFAObjectArray;this.edge=new XFAObjectArray;this.encoding=new XFAObjectArray;this.encodings=new XFAObjectArray;this.encrypt=new XFAObjectArray;this.encryptData=new XFAObjectArray;this.encryption=new XFAObjectArray;this.encryptionMethod=new XFAObjectArray;this.encryptionMethods=new XFAObjectArray;this.event=new XFAObjectArray;this.exData=new XFAObjectArray;this.exObject=new XFAObjectArray;this.exclGroup=new XFAObjectArray;this.execute=new XFAObjectArray;this.extras=new XFAObjectArray;this.field=new XFAObjectArray;this.fill=new XFAObjectArray;this.filter=new XFAObjectArray;this.float=new XFAObjectArray;this.font=new XFAObjectArray;this.format=new XFAObjectArray;this.handler=new XFAObjectArray;this.hyphenation=new XFAObjectArray;this.image=new XFAObjectArray;this.imageEdit=new XFAObjectArray;this.integer=new XFAObjectArray;this.issuers=new XFAObjectArray;this.items=new XFAObjectArray;this.keep=new XFAObjectArray;this.keyUsage=new XFAObjectArray;this.line=new XFAObjectArray;this.linear=new XFAObjectArray;this.lockDocument=new XFAObjectArray;this.manifest=new XFAObjectArray;this.margin=new XFAObjectArray;this.mdp=new XFAObjectArray;this.medium=new XFAObjectArray;this.message=new XFAObjectArray;this.numericEdit=new XFAObjectArray;this.occur=new XFAObjectArray;this.oid=new XFAObjectArray;this.oids=new XFAObjectArray;this.overflow=new XFAObjectArray;this.pageArea=new XFAObjectArray;this.pageSet=new XFAObjectArray;this.para=new XFAObjectArray;this.passwordEdit=new XFAObjectArray;this.pattern=new XFAObjectArray;this.picture=new XFAObjectArray;this.radial=new XFAObjectArray;this.reason=new XFAObjectArray;this.reasons=new XFAObjectArray;this.rectangle=new XFAObjectArray;this.ref=new XFAObjectArray;this.script=new XFAObjectArray;this.setProperty=new XFAObjectArray;this.signData=new XFAObjectArray;this.signature=new XFAObjectArray;this.signing=new XFAObjectArray;this.solid=new XFAObjectArray;this.speak=new XFAObjectArray;this.stipple=new XFAObjectArray;this.subform=new XFAObjectArray;this.subformSet=new XFAObjectArray;this.subjectDN=new XFAObjectArray;this.subjectDNs=new XFAObjectArray;this.submit=new XFAObjectArray;this.text=new XFAObjectArray;this.textEdit=new XFAObjectArray;this.time=new XFAObjectArray;this.timeStamp=new XFAObjectArray;this.toolTip=new XFAObjectArray;this.traversal=new XFAObjectArray;this.traverse=new XFAObjectArray;this.ui=new XFAObjectArray;this.validate=new XFAObjectArray;this.value=new XFAObjectArray;this.variables=new XFAObjectArray}}class Radial extends XFAObject{constructor(e){super(Zl,"radial",!0);this.id=e.id||"";this.type=getStringOption(e.type,["toEdge","toCenter"]);this.use=e.use||"";this.usehref=e.usehref||"";this.color=null;this.extras=null}[gl](e){e=e?e[gl]():"#FFFFFF";const t=this.color?this.color[gl]():"#000000";return`radial-gradient(circle at center, ${"toEdge"===this.type?`${e},${t}`:`${t},${e}`})`}}class Reason extends StringObject{constructor(e){super(Zl,"reason");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}}class Reasons extends XFAObject{constructor(e){super(Zl,"reasons",!0);this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||"";this.reason=new XFAObjectArray}}class Rectangle extends XFAObject{constructor(e){super(Zl,"rectangle",!0);this.hand=getStringOption(e.hand,["even","left","right"]);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.corner=new XFAObjectArray(4);this.edge=new XFAObjectArray(4);this.fill=null}[pl](){const e=this.edge.children.length?this.edge.children[0]:new Edge({}),t=e[gl](),a=Object.create(null);"visible"===this.fill?.presence?Object.assign(a,this.fill[gl]()):a.fill="transparent";a.strokeWidth=measureToString("visible"===e.presence?e.thickness:0);a.stroke=t.color;const n=(this.corner.children.length?this.corner.children[0]:new Corner({}))[gl](),s={name:"svg",children:[{name:"rect",attributes:{xmlns:o,width:"100%",height:"100%",x:0,y:0,rx:n.radius,ry:n.radius,style:a}}],attributes:{xmlns:o,style:{overflow:"visible"},width:"100%",height:"100%"}};if(hasMargin(this[Ro]()[Ro]()))return HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[s]});s.attributes.style.position="absolute";return HTMLResult.success(s)}}class RefElement extends StringObject{constructor(e){super(Zl,"ref");this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||""}}class Script extends StringObject{constructor(e){super(Zl,"script");this.binding=e.binding||"";this.contentType=e.contentType||"";this.id=e.id||"";this.name=e.name||"";this.runAt=getStringOption(e.runAt,["client","both","server"]);this.use=e.use||"";this.usehref=e.usehref||""}}class SetProperty extends XFAObject{constructor(e){super(Zl,"setProperty");this.connection=e.connection||"";this.ref=e.ref||"";this.target=e.target||""}}class SignData extends XFAObject{constructor(e){super(Zl,"signData",!0);this.id=e.id||"";this.operation=getStringOption(e.operation,["sign","clear","verify"]);this.ref=e.ref||"";this.target=e.target||"";this.use=e.use||"";this.usehref=e.usehref||"";this.filter=null;this.manifest=null}}class Signature extends XFAObject{constructor(e){super(Zl,"signature",!0);this.id=e.id||"";this.type=getStringOption(e.type,["PDF1.3","PDF1.6"]);this.use=e.use||"";this.usehref=e.usehref||"";this.border=null;this.extras=null;this.filter=null;this.manifest=null;this.margin=null}}class Signing extends XFAObject{constructor(e){super(Zl,"signing",!0);this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||"";this.certificate=new XFAObjectArray}}class Solid extends XFAObject{constructor(e){super(Zl,"solid",!0);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null}[gl](e){return e?e[gl]():"#FFFFFF"}}class Speak extends StringObject{constructor(e){super(Zl,"speak");this.disable=getInteger({data:e.disable,defaultValue:0,validate:e=>1===e});this.id=e.id||"";this.priority=getStringOption(e.priority,["custom","caption","name","toolTip"]);this.rid=e.rid||"";this.use=e.use||"";this.usehref=e.usehref||""}}class Stipple extends XFAObject{constructor(e){super(Zl,"stipple",!0);this.id=e.id||"";this.rate=getInteger({data:e.rate,defaultValue:50,validate:e=>e>=0&&e<=100});this.use=e.use||"";this.usehref=e.usehref||"";this.color=null;this.extras=null}[gl](e){const t=this.rate/100;return Util.makeHexColor(Math.round(e.value.r*(1-t)+this.value.r*t),Math.round(e.value.g*(1-t)+this.value.g*t),Math.round(e.value.b*(1-t)+this.value.b*t))}}class Subform extends XFAObject{constructor(e){super(Zl,"subform",!0);this.access=getStringOption(e.access,["open","nonInteractive","protected","readOnly"]);this.allowMacro=getInteger({data:e.allowMacro,defaultValue:0,validate:e=>1===e});this.anchorType=getStringOption(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]);this.colSpan=getInteger({data:e.colSpan,defaultValue:1,validate:e=>e>=1||-1===e});this.columnWidths=(e.columnWidths||"").trim().split(/\s+/).map(e=>"-1"===e?-1:getMeasurement(e));this.h=e.h?getMeasurement(e.h):"";this.hAlign=getStringOption(e.hAlign,["left","center","justify","justifyAll","radix","right"]);this.id=e.id||"";this.layout=getStringOption(e.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]);this.locale=e.locale||"";this.maxH=getMeasurement(e.maxH,"0pt");this.maxW=getMeasurement(e.maxW,"0pt");this.mergeMode=getStringOption(e.mergeMode,["consumeData","matchTemplate"]);this.minH=getMeasurement(e.minH,"0pt");this.minW=getMeasurement(e.minW,"0pt");this.name=e.name||"";this.presence=getStringOption(e.presence,["visible","hidden","inactive","invisible"]);this.relevant=getRelevant(e.relevant);this.restoreState=getStringOption(e.restoreState,["manual","auto"]);this.scope=getStringOption(e.scope,["name","none"]);this.use=e.use||"";this.usehref=e.usehref||"";this.w=e.w?getMeasurement(e.w):"";this.x=getMeasurement(e.x,"0pt");this.y=getMeasurement(e.y,"0pt");this.assist=null;this.bind=null;this.bookend=null;this.border=null;this.break=null;this.calculate=null;this.desc=null;this.extras=null;this.keep=null;this.margin=null;this.occur=null;this.overflow=null;this.pageSet=null;this.para=null;this.traversal=null;this.validate=null;this.variables=null;this.area=new XFAObjectArray;this.breakAfter=new XFAObjectArray;this.breakBefore=new XFAObjectArray;this.connect=new XFAObjectArray;this.draw=new XFAObjectArray;this.event=new XFAObjectArray;this.exObject=new XFAObjectArray;this.exclGroup=new XFAObjectArray;this.field=new XFAObjectArray;this.proto=new XFAObjectArray;this.setProperty=new XFAObjectArray;this.subform=new XFAObjectArray;this.subformSet=new XFAObjectArray}[Oo](){const e=this[Ro]();return e instanceof SubformSet?e[Oo]():e}[Eo](){return!0}[Wo](){return this.layout.endsWith("-tb")&&0===this[po].attempt&&this[po].numberInLine>0||this[Ro]()[Wo]()}*[Io](){yield*getContainedChildren(this)}[bo](){return flushHTML(this)}[no](e,t){addHTML(this,e,t)}[ko](){return getAvailableSpace(this)}[Xo](){const e=this[Oo]();if(!e[Xo]())return!1;if(void 0!==this[po]._isSplittable)return this[po]._isSplittable;if("position"===this.layout||this.layout.includes("row")){this[po]._isSplittable=!1;return!1}if(this.keep&&"none"!==this.keep.intact){this[po]._isSplittable=!1;return!1}if(e.layout?.endsWith("-tb")&&0!==e[po].numberInLine)return!1;this[po]._isSplittable=!0;return!0}[pl](e){setTabIndex(this);if(this.break){if("auto"!==this.break.after||""!==this.break.afterTarget){const e=new BreakAfter({targetType:this.break.after,target:this.break.afterTarget,startNew:this.break.startNew.toString()});e[Bo]=this[Bo];this[so](e);this.breakAfter.push(e)}if("auto"!==this.break.before||""!==this.break.beforeTarget){const e=new BreakBefore({targetType:this.break.before,target:this.break.beforeTarget,startNew:this.break.startNew.toString()});e[Bo]=this[Bo];this[so](e);this.breakBefore.push(e)}if(""!==this.break.overflowTarget){const e=new Overflow({target:this.break.overflowTarget,leader:this.break.overflowLeader,trailer:this.break.overflowTrailer});e[Bo]=this[Bo];this[so](e);this.overflow.push(e)}this[sl](this.break);this.break=null}if("hidden"===this.presence||"inactive"===this.presence)return HTMLResult.EMPTY;(this.breakBefore.children.length>1||this.breakAfter.children.length>1)&&warn("XFA - Several breakBefore or breakAfter in subforms: please file a bug.");if(this.breakBefore.children.length>=1){const e=this.breakBefore.children[0];if(handleBreak(e))return HTMLResult.breakNode(e)}if(this[po]?.afterBreakAfter)return HTMLResult.EMPTY;fixDimensions(this);const t=[],a={id:this[bl],class:[]};setAccess(this,a.class);this[po]||=Object.create(null);Object.assign(this[po],{children:t,line:null,attributes:a,attempt:0,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,e.width),height:Math.min(this.h||1/0,e.height)},width:0,height:0,prevHeight:0,currentWidth:0});const n=this[Ho](),s=n[po].noLayoutFailure,r=this[Xo]();r||setFirstUnsplittable(this);if(!checkDimensions(this,e))return HTMLResult.FAILURE;const i=new Set(["area","draw","exclGroup","field","subform","subformSet"]);if(this.layout.includes("row")){const e=this[Oo]().columnWidths;if(Array.isArray(e)&&e.length>0){this[po].columnWidths=e;this[po].currentColumn=0}}const o=toStyle(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),l=["xfaSubform"],f=layoutClass(this);f&&l.push(f);a.style=o;a.class=l;this.name&&(a.xfaName=this.name);if(this.overflow){const t=this.overflow[Ao]();if(t.addLeader){t.addLeader=!1;handleOverflow(this,t.leader,e)}}this[nl]();const c="lr-tb"===this.layout||"rl-tb"===this.layout,h=c?2:1;for(;this[po].attempt=1){const e=this.breakAfter.children[0];if(handleBreak(e)){this[po].afterBreakAfter=w;return HTMLResult.breakNode(e)}}delete this[po];return w}}class SubformSet extends XFAObject{constructor(e){super(Zl,"subformSet",!0);this.id=e.id||"";this.name=e.name||"";this.relation=getStringOption(e.relation,["ordered","choice","unordered"]);this.relevant=getRelevant(e.relevant);this.use=e.use||"";this.usehref=e.usehref||"";this.bookend=null;this.break=null;this.desc=null;this.extras=null;this.occur=null;this.overflow=null;this.breakAfter=new XFAObjectArray;this.breakBefore=new XFAObjectArray;this.subform=new XFAObjectArray;this.subformSet=new XFAObjectArray}*[Io](){yield*getContainedChildren(this)}[Oo](){let e=this[Ro]();for(;!(e instanceof Subform);)e=e[Ro]();return e}[Eo](){return!0}}class SubjectDN extends ContentObject{constructor(e){super(Zl,"subjectDN");this.delimiter=e.delimiter||",";this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}[go](){this[ho]=new Map(this[ho].split(this.delimiter).map(e=>{(e=e.split("=",2))[0]=e[0].trim();return e}))}}class SubjectDNs extends XFAObject{constructor(e){super(Zl,"subjectDNs",!0);this.id=e.id||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||"";this.subjectDN=new XFAObjectArray}}class Submit extends XFAObject{constructor(e){super(Zl,"submit",!0);this.embedPDF=getInteger({data:e.embedPDF,defaultValue:0,validate:e=>1===e});this.format=getStringOption(e.format,["xdp","formdata","pdf","urlencoded","xfd","xml"]);this.id=e.id||"";this.target=e.target||"";this.textEncoding=getKeyword({data:e.textEncoding?e.textEncoding.toLowerCase():"",defaultValue:"",validate:e=>["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(e)||e.match(/iso-8859-\d{2}/)});this.use=e.use||"";this.usehref=e.usehref||"";this.xdpContent=e.xdpContent||"";this.encrypt=null;this.encryptData=new XFAObjectArray;this.signData=new XFAObjectArray}}class Template extends XFAObject{constructor(e){super(Zl,"template",!0);this.baseProfile=getStringOption(e.baseProfile,["full","interactiveForms"]);this.extras=null;this.subform=new XFAObjectArray}[go](){0===this.subform.children.length&&warn("XFA - No subforms in template node.");this.subform.children.length>=2&&warn("XFA - Several subforms in template node: please file a bug.");this[hl]=5e3}[Xo](){return!0}[ol](e,t){return e.startsWith("#")?[this[Mo].get(e.slice(1))]:searchNode(this,t,e,!0,!0)}*[ml](){if(!this.subform.children.length)return HTMLResult.success({name:"div",children:[]});this[po]={overflowNode:null,firstUnsplittable:null,currentContentArea:null,currentPageArea:null,noLayoutFailure:!1,pageNumber:1,pagePosition:"first",oddOrEven:"odd",blankOrNotBlank:"nonBlank",paraStack:[]};const e=this.subform.children[0];e.pageSet[oo]();const t=e.pageSet.pageArea.children,a={name:"div",children:[]};let n=null,s=null,r=null;if(e.breakBefore.children.length>=1){s=e.breakBefore.children[0];r=s.target}else if(e.subform.children.length>=1&&e.subform.children[0].breakBefore.children.length>=1){s=e.subform.children[0].breakBefore.children[0];r=s.target}else if(e.break?.beforeTarget){s=e.break;r=s.beforeTarget}else if(e.subform.children.length>=1&&e.subform.children[0].break?.beforeTarget){s=e.subform.children[0].break;r=s.beforeTarget}if(s){const e=this[ol](r,s[Ro]());if(e instanceof PageArea){n=e;s[po]={}}}n||=t[0];n[po]={numberOfUse:1};const i=n[Ro]();i[po]={numberOfUse:1,pageIndex:i.pageArea.children.indexOf(n),pageSetIndex:0};let o,l=null,f=null,c=!0,h=0,u=0;for(;;){if(c)h=0;else{a.children.pop();if(3===++h){warn("XFA - Something goes wrong: please file a bug.");return a}}o=null;this[po].currentPageArea=n;const t=n[pl]().html;a.children.push(t);if(l){this[po].noLayoutFailure=!0;t.children.push(l[pl](n[po].space).html);l=null}if(f){this[po].noLayoutFailure=!0;t.children.push(f[pl](n[po].space).html);f=null}const s=n.contentArea.children,r=t.children.filter(e=>e.attributes.class.includes("xfaContentarea"));c=!1;this[po].firstUnsplittable=null;this[po].noLayoutFailure=!1;const flush=t=>{const a=e[bo]();if(a){c||=a.children?.length>0;r[t].children.push(a)}};for(let t=u,n=s.length;t0;r[t].children.push(h.html)}else!c&&a.children.length>1&&a.children.pop();return a}if(h.isBreak()){const e=h.breakNode;flush(t);if("auto"===e.targetType)continue;if(e.leader){l=this[ol](e.leader,e[Ro]());l=l?l[0]:null}if(e.trailer){f=this[ol](e.trailer,e[Ro]());f=f?f[0]:null}if("pageArea"===e.targetType){o=e[po].target;t=1/0}else if(e[po].target){o=e[po].target;u=e[po].index+1;t=1/0}else t=e[po].index;continue}if(this[po].overflowNode){const e=this[po].overflowNode;this[po].overflowNode=null;const a=e[Ao](),n=a.target;a.addLeader=null!==a.leader;a.addTrailer=null!==a.trailer;flush(t);const r=t;t=1/0;if(n instanceof PageArea)o=n;else if(n instanceof ContentArea){const e=s.indexOf(n);if(-1!==e)e>r?t=e-1:u=e;else{o=n[Ro]();u=o.contentArea.children.indexOf(n)}}continue}flush(t)}this[po].pageNumber+=1;o&&(o[Go]()?o[po].numberOfUse+=1:o=null);n=o||n[Fo]();yield null}}}class Text extends ContentObject{constructor(e){super(Zl,"text");this.id=e.id||"";this.maxChars=getInteger({data:e.maxChars,defaultValue:0,validate:e=>e>=0});this.name=e.name||"";this.rid=e.rid||"";this.use=e.use||"";this.usehref=e.usehref||""}[ao](){return!0}[Qo](e){if(e[$o]===jl.xhtml.id){this[ho]=e;return!0}warn(`XFA - Invalid content in Text: ${e[Yo]}.`);return!1}[el](e){this[ho]instanceof XFAObject||super[el](e)}[go](){"string"==typeof this[ho]&&(this[ho]=this[ho].replaceAll("\r\n","\n"))}[Ao](){return"string"==typeof this[ho]?this[ho].split(/[\u2029\u2028\n]/).filter(e=>!!e).join("\n"):this[ho][ul]()}[pl](e){if("string"==typeof this[ho]){const e=valueToHtml(this[ho]).html;if(this[ho].includes("\u2029")){e.name="div";e.children=[];this[ho].split("\u2029").map(e=>e.split(/[\u2028\n]/).flatMap(e=>[{name:"span",value:e},{name:"br"}])).forEach(t=>{e.children.push({name:"p",children:t})})}else if(/[\u2028\n]/.test(this[ho])){e.name="div";e.children=[];this[ho].split(/[\u2028\n]/).forEach(t=>{e.children.push({name:"span",value:t},{name:"br"})})}return HTMLResult.success(e)}return this[ho][pl](e)}}class TextEdit extends XFAObject{constructor(e){super(Zl,"textEdit",!0);this.allowRichText=getInteger({data:e.allowRichText,defaultValue:0,validate:e=>1===e});this.hScrollPolicy=getStringOption(e.hScrollPolicy,["auto","off","on"]);this.id=e.id||"";this.multiLine=getInteger({data:e.multiLine,defaultValue:"",validate:e=>0===e||1===e});this.use=e.use||"";this.usehref=e.usehref||"";this.vScrollPolicy=getStringOption(e.vScrollPolicy,["auto","off","on"]);this.border=null;this.comb=null;this.extras=null;this.margin=null}[pl](e){const t=toStyle(this,"border","font","margin");let a;const n=this[Ro]()[Ro]();""===this.multiLine&&(this.multiLine=n instanceof Draw?1:0);a=1===this.multiLine?{name:"textarea",attributes:{dataId:n[uo]?.[bl]||n[bl],fieldId:n[bl],class:["xfaTextfield"],style:t,"aria-label":ariaLabel(n),"aria-required":!1}}:{name:"input",attributes:{type:"text",dataId:n[uo]?.[bl]||n[bl],fieldId:n[bl],class:["xfaTextfield"],style:t,"aria-label":ariaLabel(n),"aria-required":!1}};if(isRequired(n)){a.attributes["aria-required"]=!0;a.attributes.required=!0}return HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[a]})}}class Time extends StringObject{constructor(e){super(Zl,"time");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}[go](){const e=this[ho].trim();this[ho]=e?new Date(e):null}[pl](e){return valueToHtml(this[ho]?this[ho].toString():"")}}class TimeStamp extends XFAObject{constructor(e){super(Zl,"timeStamp");this.id=e.id||"";this.server=e.server||"";this.type=getStringOption(e.type,["optional","required"]);this.use=e.use||"";this.usehref=e.usehref||""}}class ToolTip extends StringObject{constructor(e){super(Zl,"toolTip");this.id=e.id||"";this.rid=e.rid||"";this.use=e.use||"";this.usehref=e.usehref||""}}class Traversal extends XFAObject{constructor(e){super(Zl,"traversal",!0);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null;this.traverse=new XFAObjectArray}}class Traverse extends XFAObject{constructor(e){super(Zl,"traverse",!0);this.id=e.id||"";this.operation=getStringOption(e.operation,["next","back","down","first","left","right","up"]);this.ref=e.ref||"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null;this.script=null}get name(){return this.operation}[Ko](){return!1}}class Ui extends XFAObject{constructor(e){super(Zl,"ui",!0);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null;this.picture=null;this.barcode=null;this.button=null;this.checkButton=null;this.choiceList=null;this.dateTimeEdit=null;this.defaultUi=null;this.imageEdit=null;this.numericEdit=null;this.passwordEdit=null;this.signature=null;this.textEdit=null}[Ao](){if(void 0===this[po]){for(const e of Object.getOwnPropertyNames(this)){if("extras"===e||"picture"===e)continue;const t=this[e];if(t instanceof XFAObject){this[po]=t;return t}}this[po]=null}return this[po]}[pl](e){const t=this[Ao]();return t?t[pl](e):HTMLResult.EMPTY}}class Validate extends XFAObject{constructor(e){super(Zl,"validate",!0);this.formatTest=getStringOption(e.formatTest,["warning","disabled","error"]);this.id=e.id||"";this.nullTest=getStringOption(e.nullTest,["disabled","error","warning"]);this.scriptTest=getStringOption(e.scriptTest,["error","disabled","warning"]);this.use=e.use||"";this.usehref=e.usehref||"";this.extras=null;this.message=null;this.picture=null;this.script=null}}class Value extends XFAObject{constructor(e){super(Zl,"value",!0);this.id=e.id||"";this.override=getInteger({data:e.override,defaultValue:0,validate:e=>1===e});this.relevant=getRelevant(e.relevant);this.use=e.use||"";this.usehref=e.usehref||"";this.arc=null;this.boolean=null;this.date=null;this.dateTime=null;this.decimal=null;this.exData=null;this.float=null;this.image=null;this.integer=null;this.line=null;this.rectangle=null;this.text=null;this.time=null}[cl](e){const t=this[Ro]();if(t instanceof Field&&t.ui?.imageEdit){if(!this.image){this.image=new Image({});this[so](this.image)}this.image[ho]=e[ho];return}const a=e[Yo];if(null===this[a]){for(const e of Object.getOwnPropertyNames(this)){const t=this[e];if(t instanceof XFAObject){this[e]=null;this[sl](t)}}this[e[Yo]]=e;this[so](e)}else this[a][ho]=e[ho]}[ul](){if(this.exData)return"string"==typeof this.exData[ho]?this.exData[ho].trim():this.exData[ho][ul]().trim();for(const e of Object.getOwnPropertyNames(this)){if("image"===e)continue;const t=this[e];if(t instanceof XFAObject)return(t[ho]||"").toString().trim()}return null}[pl](e){for(const t of Object.getOwnPropertyNames(this)){const a=this[t];if(a instanceof XFAObject)return a[pl](e)}return HTMLResult.EMPTY}}class Variables extends XFAObject{constructor(e){super(Zl,"variables",!0);this.id=e.id||"";this.use=e.use||"";this.usehref=e.usehref||"";this.boolean=new XFAObjectArray;this.date=new XFAObjectArray;this.dateTime=new XFAObjectArray;this.decimal=new XFAObjectArray;this.exData=new XFAObjectArray;this.float=new XFAObjectArray;this.image=new XFAObjectArray;this.integer=new XFAObjectArray;this.manifest=new XFAObjectArray;this.script=new XFAObjectArray;this.text=new XFAObjectArray;this.time=new XFAObjectArray}[Ko](){return!0}}class TemplateNamespace{static[wl](e,t){if(Object.hasOwn(TemplateNamespace,e)){const a=TemplateNamespace[e](t);a[fl](t);return a}}static appearanceFilter(e){return new AppearanceFilter(e)}static arc(e){return new Arc(e)}static area(e){return new Area(e)}static assist(e){return new Assist(e)}static barcode(e){return new Barcode(e)}static bind(e){return new Bind(e)}static bindItems(e){return new BindItems(e)}static bookend(e){return new Bookend(e)}static boolean(e){return new BooleanElement(e)}static border(e){return new Border(e)}static break(e){return new Break(e)}static breakAfter(e){return new BreakAfter(e)}static breakBefore(e){return new BreakBefore(e)}static button(e){return new Button(e)}static calculate(e){return new Calculate(e)}static caption(e){return new Caption(e)}static certificate(e){return new Certificate(e)}static certificates(e){return new Certificates(e)}static checkButton(e){return new CheckButton(e)}static choiceList(e){return new ChoiceList(e)}static color(e){return new Color(e)}static comb(e){return new Comb(e)}static connect(e){return new Connect(e)}static contentArea(e){return new ContentArea(e)}static corner(e){return new Corner(e)}static date(e){return new DateElement(e)}static dateTime(e){return new DateTime(e)}static dateTimeEdit(e){return new DateTimeEdit(e)}static decimal(e){return new Decimal(e)}static defaultUi(e){return new DefaultUi(e)}static desc(e){return new Desc(e)}static digestMethod(e){return new DigestMethod(e)}static digestMethods(e){return new DigestMethods(e)}static draw(e){return new Draw(e)}static edge(e){return new Edge(e)}static encoding(e){return new Encoding(e)}static encodings(e){return new Encodings(e)}static encrypt(e){return new Encrypt(e)}static encryptData(e){return new EncryptData(e)}static encryption(e){return new Encryption(e)}static encryptionMethod(e){return new EncryptionMethod(e)}static encryptionMethods(e){return new EncryptionMethods(e)}static event(e){return new Event(e)}static exData(e){return new ExData(e)}static exObject(e){return new ExObject(e)}static exclGroup(e){return new ExclGroup(e)}static execute(e){return new Execute(e)}static extras(e){return new Extras(e)}static field(e){return new Field(e)}static fill(e){return new Fill(e)}static filter(e){return new Filter(e)}static float(e){return new Float(e)}static font(e){return new template_Font(e)}static format(e){return new Format(e)}static handler(e){return new Handler(e)}static hyphenation(e){return new Hyphenation(e)}static image(e){return new Image(e)}static imageEdit(e){return new ImageEdit(e)}static integer(e){return new Integer(e)}static issuers(e){return new Issuers(e)}static items(e){return new Items(e)}static keep(e){return new Keep(e)}static keyUsage(e){return new KeyUsage(e)}static line(e){return new Line(e)}static linear(e){return new Linear(e)}static lockDocument(e){return new LockDocument(e)}static manifest(e){return new Manifest(e)}static margin(e){return new Margin(e)}static mdp(e){return new Mdp(e)}static medium(e){return new Medium(e)}static message(e){return new Message(e)}static numericEdit(e){return new NumericEdit(e)}static occur(e){return new Occur(e)}static oid(e){return new Oid(e)}static oids(e){return new Oids(e)}static overflow(e){return new Overflow(e)}static pageArea(e){return new PageArea(e)}static pageSet(e){return new PageSet(e)}static para(e){return new Para(e)}static passwordEdit(e){return new PasswordEdit(e)}static pattern(e){return new template_Pattern(e)}static picture(e){return new Picture(e)}static proto(e){return new Proto(e)}static radial(e){return new Radial(e)}static reason(e){return new Reason(e)}static reasons(e){return new Reasons(e)}static rectangle(e){return new Rectangle(e)}static ref(e){return new RefElement(e)}static script(e){return new Script(e)}static setProperty(e){return new SetProperty(e)}static signData(e){return new SignData(e)}static signature(e){return new Signature(e)}static signing(e){return new Signing(e)}static solid(e){return new Solid(e)}static speak(e){return new Speak(e)}static stipple(e){return new Stipple(e)}static subform(e){return new Subform(e)}static subformSet(e){return new SubformSet(e)}static subjectDN(e){return new SubjectDN(e)}static subjectDNs(e){return new SubjectDNs(e)}static submit(e){return new Submit(e)}static template(e){return new Template(e)}static text(e){return new Text(e)}static textEdit(e){return new TextEdit(e)}static time(e){return new Time(e)}static timeStamp(e){return new TimeStamp(e)}static toolTip(e){return new ToolTip(e)}static traversal(e){return new Traversal(e)}static traverse(e){return new Traverse(e)}static ui(e){return new Ui(e)}static validate(e){return new Validate(e)}static value(e){return new Value(e)}static variables(e){return new Variables(e)}}const nf=jl.datasets.id;function createText(e){const t=new Text({});t[ho]=e;return t}class Binder{constructor(e){this.root=e;this.datasets=e.datasets;this.data=e.datasets?.data||new XmlObject(jl.datasets.id,"data");this.emptyMerge=0===this.data[Co]().length;this.root.form=this.form=e.template[fo]()}_isConsumeData(){return!this.emptyMerge&&this._mergeMode}_isMatchTemplate(){return!this._isConsumeData()}bind(){this._bindElement(this.form,this.data);return this.form}getData(){return this.data}_bindValue(e,t,a){e[uo]=t;if(e[Do]())if(t[zo]()){const a=t[So]();e[cl](createText(a))}else if(e instanceof Field&&"multiSelect"===e.ui?.choiceList?.open){const a=t[Co]().map(e=>e[ho].trim()).join("\n");e[cl](createText(a))}else this._isConsumeData()&&warn("XFA - Nodes haven't the same type.");else!t[zo]()||this._isMatchTemplate()?this._bindElement(e,t):warn("XFA - Nodes haven't the same type.")}_findDataByNameToConsume(e,t,a,n){if(!e)return null;let s,r;for(let n=0;n<3;n++){s=a[xo](e,!1,!0);for(;;){r=s.next().value;if(!r)break;if(t===r[zo]())return r}if(a[$o]===jl.datasets.id&&"data"===a[Yo])break;a=a[Ro]()}if(!n)return null;s=this.data[xo](e,!0,!1);r=s.next().value;if(r)return r;s=this.data[wo](e,!0);r=s.next().value;return r?.[zo]()?r:null}_setProperties(e,t){if(Object.hasOwn(e,"setProperty"))for(const{ref:a,target:n,connection:s}of e.setProperty.children){if(s)continue;if(!a)continue;const r=searchNode(this.root,t,a,!1,!1);if(!r){warn(`XFA - Invalid reference: ${a}.`);continue}const[i]=r;if(!i[Lo](this.data)){warn("XFA - Invalid node: must be a data node.");continue}const o=searchNode(this.root,e,n,!1,!1);if(!o){warn(`XFA - Invalid target: ${n}.`);continue}const[l]=o;if(!l[Lo](e)){warn("XFA - Invalid target: must be a property or subproperty.");continue}const f=l[Ro]();if(l instanceof SetProperty||f instanceof SetProperty){warn("XFA - Invalid target: cannot be a setProperty or one of its properties.");continue}if(l instanceof BindItems||f instanceof BindItems){warn("XFA - Invalid target: cannot be a bindItems or one of its properties.");continue}const c=i[ul](),h=l[Yo];if(l instanceof XFAAttribute){const e=Object.create(null);e[h]=c;const t=Reflect.construct(Object.getPrototypeOf(f).constructor,[e]);f[h]=t[h];continue}if(Object.hasOwn(l,ho)){l[uo]=i;l[ho]=c;l[go]()}else warn("XFA - Invalid node to use in setProperty")}}_bindItems(e,t){if(!Object.hasOwn(e,"items")||!Object.hasOwn(e,"bindItems")||e.bindItems.isEmpty())return;for(const t of e.items.children)e[sl](t);e.items.clear();const a=new Items({}),n=new Items({});e[so](a);e.items.push(a);e[so](n);e.items.push(n);for(const{ref:s,labelRef:r,valueRef:i,connection:o}of e.bindItems.children){if(o)continue;if(!s)continue;const e=searchNode(this.root,t,s,!1,!1);if(e)for(const t of e){if(!t[Lo](this.datasets)){warn(`XFA - Invalid ref (${s}): must be a datasets child.`);continue}const e=searchNode(this.root,t,r,!0,!1);if(!e){warn(`XFA - Invalid label: ${r}.`);continue}const[o]=e;if(!o[Lo](this.datasets)){warn("XFA - Invalid label: must be a datasets child.");continue}const l=searchNode(this.root,t,i,!0,!1);if(!l){warn(`XFA - Invalid value: ${i}.`);continue}const[f]=l;if(!f[Lo](this.datasets)){warn("XFA - Invalid value: must be a datasets child.");continue}const c=createText(o[ul]()),h=createText(f[ul]());a[so](c);a.text.push(c);n[so](h);n.text.push(h)}else warn(`XFA - Invalid reference: ${s}.`)}}_bindOccurrences(e,t,a){let n;if(t.length>1){n=e[fo]();n[sl](n.occur);n.occur=null}this._bindValue(e,t[0],a);this._setProperties(e,t[0]);this._bindItems(e,t[0]);if(1===t.length)return;const s=e[Ro](),r=e[Yo],i=s[No](e);for(let e=1,o=t.length;et.name===e.name).length:a[n].children.length;const r=a[No](e)+1,i=t.initial-s;if(i){const t=e[fo]();t[sl](t.occur);t.occur=null;a[n].push(t);a[Po](r,t);for(let e=1;e0)this._bindOccurrences(n,[e[0]],null);else if(this.emptyMerge){const e=t[$o]===nf?-1:t[$o],a=n[uo]=new XmlObject(e,n.name||"root");t[so](a);this._bindElement(n,a)}continue}if(!n[Eo]())continue;let e=!1,s=null,r=null,i=null;if(n.bind){switch(n.bind.match){case"none":this._setAndBind(n,t);continue;case"global":e=!0;break;case"dataRef":if(!n.bind.ref){warn(`XFA - ref is empty in node ${n[Yo]}.`);this._setAndBind(n,t);continue}r=n.bind.ref}n.bind.picture&&(s=n.bind.picture[ho])}const[o,l]=this._getOccurInfo(n);if(r){i=searchNode(this.root,t,r,!0,!1);if(null===i){i=createDataNode(this.data,t,r);if(!i)continue;this._isConsumeData()&&(i[co]=!0);this._setAndBind(n,i);continue}this._isConsumeData()&&(i=i.filter(e=>!e[co]));i.length>l?i=i.slice(0,l):0===i.length&&(i=null);i&&this._isConsumeData()&&i.forEach(e=>{e[co]=!0})}else{if(!n.name){this._setAndBind(n,t);continue}if(this._isConsumeData()){const a=[];for(;a.length0?a:null}else{i=t[xo](n.name,!1,this.emptyMerge).next().value;if(!i){if(0===o){a.push(n);continue}const e=t[$o]===nf?-1:t[$o];i=n[uo]=new XmlObject(e,n.name);this.emptyMerge&&(i[co]=!0);t[so](i);this._setAndBind(n,i);continue}this.emptyMerge&&(i[co]=!0);i=[i]}}i?this._bindOccurrences(n,i,s):o>0?this._setAndBind(n,t):a.push(n)}a.forEach(e=>e[Ro]()[sl](e))}}class DataHandler{constructor(e,t){this.data=t;this.dataset=e.datasets||null}serialize(e){const t=[[-1,this.data[Co]()]];for(;t.length>0;){const a=t.at(-1),[n,s]=a;if(n+1===s.length){t.pop();continue}const r=s[++a[0]],i=e.get(r[bl]);if(i)r[cl](i);else{const t=r[jo]();for(const a of t.values()){const t=e.get(a[bl]);if(t){a[cl](t);break}}}const o=r[Co]();o.length>0&&t.push([-1,o])}const a=[''];if(this.dataset)for(const e of this.dataset[Co]())"data"!==e[Yo]&&e[dl](a);this.data[dl](a);a.push("");return a.join("")}}const sf=jl.config.id;class Acrobat extends XFAObject{constructor(e){super(sf,"acrobat",!0);this.acrobat7=null;this.autoSave=null;this.common=null;this.validate=null;this.validateApprovalSignatures=null;this.submitUrl=new XFAObjectArray}}class Acrobat7 extends XFAObject{constructor(e){super(sf,"acrobat7",!0);this.dynamicRender=null}}class ADBE_JSConsole extends OptionObject{constructor(e){super(sf,"ADBE_JSConsole",["delegate","Enable","Disable"])}}class ADBE_JSDebugger extends OptionObject{constructor(e){super(sf,"ADBE_JSDebugger",["delegate","Enable","Disable"])}}class AddSilentPrint extends Option01{constructor(e){super(sf,"addSilentPrint")}}class AddViewerPreferences extends Option01{constructor(e){super(sf,"addViewerPreferences")}}class AdjustData extends Option10{constructor(e){super(sf,"adjustData")}}class AdobeExtensionLevel extends IntegerObject{constructor(e){super(sf,"adobeExtensionLevel",0,e=>e>=1&&e<=8)}}class Agent extends XFAObject{constructor(e){super(sf,"agent",!0);this.name=e.name?e.name.trim():"";this.common=new XFAObjectArray}}class AlwaysEmbed extends ContentObject{constructor(e){super(sf,"alwaysEmbed")}}class Amd extends StringObject{constructor(e){super(sf,"amd")}}class config_Area extends XFAObject{constructor(e){super(sf,"area");this.level=getInteger({data:e.level,defaultValue:0,validate:e=>e>=1&&e<=3});this.name=getStringOption(e.name,["","barcode","coreinit","deviceDriver","font","general","layout","merge","script","signature","sourceSet","templateCache"])}}class Attributes extends OptionObject{constructor(e){super(sf,"attributes",["preserve","delegate","ignore"])}}class AutoSave extends OptionObject{constructor(e){super(sf,"autoSave",["disabled","enabled"])}}class Base extends StringObject{constructor(e){super(sf,"base")}}class BatchOutput extends XFAObject{constructor(e){super(sf,"batchOutput");this.format=getStringOption(e.format,["none","concat","zip","zipCompress"])}}class BehaviorOverride extends ContentObject{constructor(e){super(sf,"behaviorOverride")}[go](){this[ho]=new Map(this[ho].trim().split(/\s+/).filter(e=>e.includes(":")).map(e=>e.split(":",2)))}}class Cache extends XFAObject{constructor(e){super(sf,"cache",!0);this.templateCache=null}}class Change extends Option01{constructor(e){super(sf,"change")}}class Common extends XFAObject{constructor(e){super(sf,"common",!0);this.data=null;this.locale=null;this.localeSet=null;this.messaging=null;this.suppressBanner=null;this.template=null;this.validationMessaging=null;this.versionControl=null;this.log=new XFAObjectArray}}class Compress extends XFAObject{constructor(e){super(sf,"compress");this.scope=getStringOption(e.scope,["imageOnly","document"])}}class CompressLogicalStructure extends Option01{constructor(e){super(sf,"compressLogicalStructure")}}class CompressObjectStream extends Option10{constructor(e){super(sf,"compressObjectStream")}}class Compression extends XFAObject{constructor(e){super(sf,"compression",!0);this.compressLogicalStructure=null;this.compressObjectStream=null;this.level=null;this.type=null}}class Config extends XFAObject{constructor(e){super(sf,"config",!0);this.acrobat=null;this.present=null;this.trace=null;this.agent=new XFAObjectArray}}class Conformance extends OptionObject{constructor(e){super(sf,"conformance",["A","B"])}}class ContentCopy extends Option01{constructor(e){super(sf,"contentCopy")}}class Copies extends IntegerObject{constructor(e){super(sf,"copies",1,e=>e>=1)}}class Creator extends StringObject{constructor(e){super(sf,"creator")}}class CurrentPage extends IntegerObject{constructor(e){super(sf,"currentPage",0,e=>e>=0)}}class Data extends XFAObject{constructor(e){super(sf,"data",!0);this.adjustData=null;this.attributes=null;this.incrementalLoad=null;this.outputXSL=null;this.range=null;this.record=null;this.startNode=null;this.uri=null;this.window=null;this.xsl=null;this.excludeNS=new XFAObjectArray;this.transform=new XFAObjectArray}}class Debug extends XFAObject{constructor(e){super(sf,"debug",!0);this.uri=null}}class DefaultTypeface extends ContentObject{constructor(e){super(sf,"defaultTypeface");this.writingScript=getStringOption(e.writingScript,["*","Arabic","Cyrillic","EastEuropeanRoman","Greek","Hebrew","Japanese","Korean","Roman","SimplifiedChinese","Thai","TraditionalChinese","Vietnamese"])}}class Destination extends OptionObject{constructor(e){super(sf,"destination",["pdf","pcl","ps","webClient","zpl"])}}class DocumentAssembly extends Option01{constructor(e){super(sf,"documentAssembly")}}class Driver extends XFAObject{constructor(e){super(sf,"driver",!0);this.name=e.name?e.name.trim():"";this.fontInfo=null;this.xdc=null}}class DuplexOption extends OptionObject{constructor(e){super(sf,"duplexOption",["simplex","duplexFlipLongEdge","duplexFlipShortEdge"])}}class DynamicRender extends OptionObject{constructor(e){super(sf,"dynamicRender",["forbidden","required"])}}class Embed extends Option01{constructor(e){super(sf,"embed")}}class config_Encrypt extends Option01{constructor(e){super(sf,"encrypt")}}class config_Encryption extends XFAObject{constructor(e){super(sf,"encryption",!0);this.encrypt=null;this.encryptionLevel=null;this.permissions=null}}class EncryptionLevel extends OptionObject{constructor(e){super(sf,"encryptionLevel",["40bit","128bit"])}}class Enforce extends StringObject{constructor(e){super(sf,"enforce")}}class Equate extends XFAObject{constructor(e){super(sf,"equate");this.force=getInteger({data:e.force,defaultValue:1,validate:e=>0===e});this.from=e.from||"";this.to=e.to||""}}class EquateRange extends XFAObject{constructor(e){super(sf,"equateRange");this.from=e.from||"";this.to=e.to||"";this._unicodeRange=e.unicodeRange||""}get unicodeRange(){const e=[],t=/U\+([0-9a-fA-F]+)/,a=this._unicodeRange;for(let n of a.split(",").map(e=>e.trim()).filter(e=>!!e)){n=n.split("-",2).map(e=>{const a=e.match(t);return a?parseInt(a[1],16):0});1===n.length&&n.push(n[0]);e.push(n)}return shadow(this,"unicodeRange",e)}}class Exclude extends ContentObject{constructor(e){super(sf,"exclude")}[go](){this[ho]=this[ho].trim().split(/\s+/).filter(e=>e&&["calculate","close","enter","exit","initialize","ready","validate"].includes(e))}}class ExcludeNS extends StringObject{constructor(e){super(sf,"excludeNS")}}class FlipLabel extends OptionObject{constructor(e){super(sf,"flipLabel",["usePrinterSetting","on","off"])}}class config_FontInfo extends XFAObject{constructor(e){super(sf,"fontInfo",!0);this.embed=null;this.map=null;this.subsetBelow=null;this.alwaysEmbed=new XFAObjectArray;this.defaultTypeface=new XFAObjectArray;this.neverEmbed=new XFAObjectArray}}class FormFieldFilling extends Option01{constructor(e){super(sf,"formFieldFilling")}}class GroupParent extends StringObject{constructor(e){super(sf,"groupParent")}}class IfEmpty extends OptionObject{constructor(e){super(sf,"ifEmpty",["dataValue","dataGroup","ignore","remove"])}}class IncludeXDPContent extends StringObject{constructor(e){super(sf,"includeXDPContent")}}class IncrementalLoad extends OptionObject{constructor(e){super(sf,"incrementalLoad",["none","forwardOnly"])}}class IncrementalMerge extends Option01{constructor(e){super(sf,"incrementalMerge")}}class Interactive extends Option01{constructor(e){super(sf,"interactive")}}class Jog extends OptionObject{constructor(e){super(sf,"jog",["usePrinterSetting","none","pageSet"])}}class LabelPrinter extends XFAObject{constructor(e){super(sf,"labelPrinter",!0);this.name=getStringOption(e.name,["zpl","dpl","ipl","tcpl"]);this.batchOutput=null;this.flipLabel=null;this.fontInfo=null;this.xdc=null}}class Layout extends OptionObject{constructor(e){super(sf,"layout",["paginate","panel"])}}class Level extends IntegerObject{constructor(e){super(sf,"level",0,e=>e>0)}}class Linearized extends Option01{constructor(e){super(sf,"linearized")}}class Locale extends StringObject{constructor(e){super(sf,"locale")}}class LocaleSet extends StringObject{constructor(e){super(sf,"localeSet")}}class Log extends XFAObject{constructor(e){super(sf,"log",!0);this.mode=null;this.threshold=null;this.to=null;this.uri=null}}class MapElement extends XFAObject{constructor(e){super(sf,"map",!0);this.equate=new XFAObjectArray;this.equateRange=new XFAObjectArray}}class MediumInfo extends XFAObject{constructor(e){super(sf,"mediumInfo",!0);this.map=null}}class config_Message extends XFAObject{constructor(e){super(sf,"message",!0);this.msgId=null;this.severity=null}}class Messaging extends XFAObject{constructor(e){super(sf,"messaging",!0);this.message=new XFAObjectArray}}class Mode extends OptionObject{constructor(e){super(sf,"mode",["append","overwrite"])}}class ModifyAnnots extends Option01{constructor(e){super(sf,"modifyAnnots")}}class MsgId extends IntegerObject{constructor(e){super(sf,"msgId",1,e=>e>=1)}}class NameAttr extends StringObject{constructor(e){super(sf,"nameAttr")}}class NeverEmbed extends ContentObject{constructor(e){super(sf,"neverEmbed")}}class NumberOfCopies extends IntegerObject{constructor(e){super(sf,"numberOfCopies",null,e=>e>=2&&e<=5)}}class OpenAction extends XFAObject{constructor(e){super(sf,"openAction",!0);this.destination=null}}class Output extends XFAObject{constructor(e){super(sf,"output",!0);this.to=null;this.type=null;this.uri=null}}class OutputBin extends StringObject{constructor(e){super(sf,"outputBin")}}class OutputXSL extends XFAObject{constructor(e){super(sf,"outputXSL",!0);this.uri=null}}class Overprint extends OptionObject{constructor(e){super(sf,"overprint",["none","both","draw","field"])}}class Packets extends StringObject{constructor(e){super(sf,"packets")}[go](){"*"!==this[ho]&&(this[ho]=this[ho].trim().split(/\s+/).filter(e=>["config","datasets","template","xfdf","xslt"].includes(e)))}}class PageOffset extends XFAObject{constructor(e){super(sf,"pageOffset");this.x=getInteger({data:e.x,defaultValue:"useXDCSetting",validate:e=>!0});this.y=getInteger({data:e.y,defaultValue:"useXDCSetting",validate:e=>!0})}}class PageRange extends StringObject{constructor(e){super(sf,"pageRange")}[go](){const e=this[ho].trim().split(/\s+/).map(e=>parseInt(e,10)),t=[];for(let a=0,n=e.length;a!1)}}class Pcl extends XFAObject{constructor(e){super(sf,"pcl",!0);this.name=e.name||"";this.batchOutput=null;this.fontInfo=null;this.jog=null;this.mediumInfo=null;this.outputBin=null;this.pageOffset=null;this.staple=null;this.xdc=null}}class Pdf extends XFAObject{constructor(e){super(sf,"pdf",!0);this.name=e.name||"";this.adobeExtensionLevel=null;this.batchOutput=null;this.compression=null;this.creator=null;this.encryption=null;this.fontInfo=null;this.interactive=null;this.linearized=null;this.openAction=null;this.pdfa=null;this.producer=null;this.renderPolicy=null;this.scriptModel=null;this.silentPrint=null;this.submitFormat=null;this.tagged=null;this.version=null;this.viewerPreferences=null;this.xdc=null}}class Pdfa extends XFAObject{constructor(e){super(sf,"pdfa",!0);this.amd=null;this.conformance=null;this.includeXDPContent=null;this.part=null}}class Permissions extends XFAObject{constructor(e){super(sf,"permissions",!0);this.accessibleContent=null;this.change=null;this.contentCopy=null;this.documentAssembly=null;this.formFieldFilling=null;this.modifyAnnots=null;this.plaintextMetadata=null;this.print=null;this.printHighQuality=null}}class PickTrayByPDFSize extends Option01{constructor(e){super(sf,"pickTrayByPDFSize")}}class config_Picture extends StringObject{constructor(e){super(sf,"picture")}}class PlaintextMetadata extends Option01{constructor(e){super(sf,"plaintextMetadata")}}class Presence extends OptionObject{constructor(e){super(sf,"presence",["preserve","dissolve","dissolveStructure","ignore","remove"])}}class Present extends XFAObject{constructor(e){super(sf,"present",!0);this.behaviorOverride=null;this.cache=null;this.common=null;this.copies=null;this.destination=null;this.incrementalMerge=null;this.layout=null;this.output=null;this.overprint=null;this.pagination=null;this.paginationOverride=null;this.script=null;this.validate=null;this.xdp=null;this.driver=new XFAObjectArray;this.labelPrinter=new XFAObjectArray;this.pcl=new XFAObjectArray;this.pdf=new XFAObjectArray;this.ps=new XFAObjectArray;this.submitUrl=new XFAObjectArray;this.webClient=new XFAObjectArray;this.zpl=new XFAObjectArray}}class Print extends Option01{constructor(e){super(sf,"print")}}class PrintHighQuality extends Option01{constructor(e){super(sf,"printHighQuality")}}class PrintScaling extends OptionObject{constructor(e){super(sf,"printScaling",["appdefault","noScaling"])}}class PrinterName extends StringObject{constructor(e){super(sf,"printerName")}}class Producer extends StringObject{constructor(e){super(sf,"producer")}}class Ps extends XFAObject{constructor(e){super(sf,"ps",!0);this.name=e.name||"";this.batchOutput=null;this.fontInfo=null;this.jog=null;this.mediumInfo=null;this.outputBin=null;this.staple=null;this.xdc=null}}class Range extends ContentObject{constructor(e){super(sf,"range")}[go](){this[ho]=this[ho].split(",",2).map(e=>e.split("-").map(e=>parseInt(e.trim(),10))).filter(e=>e.every(e=>!isNaN(e))).map(e=>{1===e.length&&e.push(e[0]);return e})}}class Record extends ContentObject{constructor(e){super(sf,"record")}[go](){this[ho]=this[ho].trim();const e=parseInt(this[ho],10);!isNaN(e)&&e>=0&&(this[ho]=e)}}class Relevant extends ContentObject{constructor(e){super(sf,"relevant")}[go](){this[ho]=this[ho].trim().split(/\s+/)}}class Rename extends ContentObject{constructor(e){super(sf,"rename")}[go](){this[ho]=this[ho].trim();(this[ho].toLowerCase().startsWith("xml")||/[\p{L}_][\p{L}\d._\p{M}-]*/u.test(this[ho]))&&warn("XFA - Rename: invalid XFA name")}}class RenderPolicy extends OptionObject{constructor(e){super(sf,"renderPolicy",["server","client"])}}class RunScripts extends OptionObject{constructor(e){super(sf,"runScripts",["both","client","none","server"])}}class config_Script extends XFAObject{constructor(e){super(sf,"script",!0);this.currentPage=null;this.exclude=null;this.runScripts=null}}class ScriptModel extends OptionObject{constructor(e){super(sf,"scriptModel",["XFA","none"])}}class Severity extends OptionObject{constructor(e){super(sf,"severity",["ignore","error","information","trace","warning"])}}class SilentPrint extends XFAObject{constructor(e){super(sf,"silentPrint",!0);this.addSilentPrint=null;this.printerName=null}}class Staple extends XFAObject{constructor(e){super(sf,"staple");this.mode=getStringOption(e.mode,["usePrinterSetting","on","off"])}}class StartNode extends StringObject{constructor(e){super(sf,"startNode")}}class StartPage extends IntegerObject{constructor(e){super(sf,"startPage",0,e=>!0)}}class SubmitFormat extends OptionObject{constructor(e){super(sf,"submitFormat",["html","delegate","fdf","xml","pdf"])}}class SubmitUrl extends StringObject{constructor(e){super(sf,"submitUrl")}}class SubsetBelow extends IntegerObject{constructor(e){super(sf,"subsetBelow",100,e=>e>=0&&e<=100)}}class SuppressBanner extends Option01{constructor(e){super(sf,"suppressBanner")}}class Tagged extends Option01{constructor(e){super(sf,"tagged")}}class config_Template extends XFAObject{constructor(e){super(sf,"template",!0);this.base=null;this.relevant=null;this.startPage=null;this.uri=null;this.xsl=null}}class Threshold extends OptionObject{constructor(e){super(sf,"threshold",["trace","error","information","warning"])}}class To extends OptionObject{constructor(e){super(sf,"to",["null","memory","stderr","stdout","system","uri"])}}class TemplateCache extends XFAObject{constructor(e){super(sf,"templateCache");this.maxEntries=getInteger({data:e.maxEntries,defaultValue:5,validate:e=>e>=0})}}class Trace extends XFAObject{constructor(e){super(sf,"trace",!0);this.area=new XFAObjectArray}}class Transform extends XFAObject{constructor(e){super(sf,"transform",!0);this.groupParent=null;this.ifEmpty=null;this.nameAttr=null;this.picture=null;this.presence=null;this.rename=null;this.whitespace=null}}class Type extends OptionObject{constructor(e){super(sf,"type",["none","ascii85","asciiHex","ccittfax","flate","lzw","runLength","native","xdp","mergedXDP"])}}class Uri extends StringObject{constructor(e){super(sf,"uri")}}class config_Validate extends OptionObject{constructor(e){super(sf,"validate",["preSubmit","prePrint","preExecute","preSave"])}}class ValidateApprovalSignatures extends ContentObject{constructor(e){super(sf,"validateApprovalSignatures")}[go](){this[ho]=this[ho].trim().split(/\s+/).filter(e=>["docReady","postSign"].includes(e))}}class ValidationMessaging extends OptionObject{constructor(e){super(sf,"validationMessaging",["allMessagesIndividually","allMessagesTogether","firstMessageOnly","noMessages"])}}class Version extends OptionObject{constructor(e){super(sf,"version",["1.7","1.6","1.5","1.4","1.3","1.2"])}}class VersionControl extends XFAObject{constructor(e){super(sf,"VersionControl");this.outputBelow=getStringOption(e.outputBelow,["warn","error","update"]);this.sourceAbove=getStringOption(e.sourceAbove,["warn","error"]);this.sourceBelow=getStringOption(e.sourceBelow,["update","maintain"])}}class ViewerPreferences extends XFAObject{constructor(e){super(sf,"viewerPreferences",!0);this.ADBE_JSConsole=null;this.ADBE_JSDebugger=null;this.addViewerPreferences=null;this.duplexOption=null;this.enforce=null;this.numberOfCopies=null;this.pageRange=null;this.pickTrayByPDFSize=null;this.printScaling=null}}class WebClient extends XFAObject{constructor(e){super(sf,"webClient",!0);this.name=e.name?e.name.trim():"";this.fontInfo=null;this.xdc=null}}class Whitespace extends OptionObject{constructor(e){super(sf,"whitespace",["preserve","ltrim","normalize","rtrim","trim"])}}class Window extends ContentObject{constructor(e){super(sf,"window")}[go](){const e=this[ho].split(",",2).map(e=>parseInt(e.trim(),10));if(e.some(e=>isNaN(e)))this[ho]=[0,0];else{1===e.length&&e.push(e[0]);this[ho]=e}}}class Xdc extends XFAObject{constructor(e){super(sf,"xdc",!0);this.uri=new XFAObjectArray;this.xsl=new XFAObjectArray}}class Xdp extends XFAObject{constructor(e){super(sf,"xdp",!0);this.packets=null}}class Xsl extends XFAObject{constructor(e){super(sf,"xsl",!0);this.debug=null;this.uri=null}}class Zpl extends XFAObject{constructor(e){super(sf,"zpl",!0);this.name=e.name?e.name.trim():"";this.batchOutput=null;this.flipLabel=null;this.fontInfo=null;this.xdc=null}}class ConfigNamespace{static[wl](e,t){if(Object.hasOwn(ConfigNamespace,e))return ConfigNamespace[e](t)}static acrobat(e){return new Acrobat(e)}static acrobat7(e){return new Acrobat7(e)}static ADBE_JSConsole(e){return new ADBE_JSConsole(e)}static ADBE_JSDebugger(e){return new ADBE_JSDebugger(e)}static addSilentPrint(e){return new AddSilentPrint(e)}static addViewerPreferences(e){return new AddViewerPreferences(e)}static adjustData(e){return new AdjustData(e)}static adobeExtensionLevel(e){return new AdobeExtensionLevel(e)}static agent(e){return new Agent(e)}static alwaysEmbed(e){return new AlwaysEmbed(e)}static amd(e){return new Amd(e)}static area(e){return new config_Area(e)}static attributes(e){return new Attributes(e)}static autoSave(e){return new AutoSave(e)}static base(e){return new Base(e)}static batchOutput(e){return new BatchOutput(e)}static behaviorOverride(e){return new BehaviorOverride(e)}static cache(e){return new Cache(e)}static change(e){return new Change(e)}static common(e){return new Common(e)}static compress(e){return new Compress(e)}static compressLogicalStructure(e){return new CompressLogicalStructure(e)}static compressObjectStream(e){return new CompressObjectStream(e)}static compression(e){return new Compression(e)}static config(e){return new Config(e)}static conformance(e){return new Conformance(e)}static contentCopy(e){return new ContentCopy(e)}static copies(e){return new Copies(e)}static creator(e){return new Creator(e)}static currentPage(e){return new CurrentPage(e)}static data(e){return new Data(e)}static debug(e){return new Debug(e)}static defaultTypeface(e){return new DefaultTypeface(e)}static destination(e){return new Destination(e)}static documentAssembly(e){return new DocumentAssembly(e)}static driver(e){return new Driver(e)}static duplexOption(e){return new DuplexOption(e)}static dynamicRender(e){return new DynamicRender(e)}static embed(e){return new Embed(e)}static encrypt(e){return new config_Encrypt(e)}static encryption(e){return new config_Encryption(e)}static encryptionLevel(e){return new EncryptionLevel(e)}static enforce(e){return new Enforce(e)}static equate(e){return new Equate(e)}static equateRange(e){return new EquateRange(e)}static exclude(e){return new Exclude(e)}static excludeNS(e){return new ExcludeNS(e)}static flipLabel(e){return new FlipLabel(e)}static fontInfo(e){return new config_FontInfo(e)}static formFieldFilling(e){return new FormFieldFilling(e)}static groupParent(e){return new GroupParent(e)}static ifEmpty(e){return new IfEmpty(e)}static includeXDPContent(e){return new IncludeXDPContent(e)}static incrementalLoad(e){return new IncrementalLoad(e)}static incrementalMerge(e){return new IncrementalMerge(e)}static interactive(e){return new Interactive(e)}static jog(e){return new Jog(e)}static labelPrinter(e){return new LabelPrinter(e)}static layout(e){return new Layout(e)}static level(e){return new Level(e)}static linearized(e){return new Linearized(e)}static locale(e){return new Locale(e)}static localeSet(e){return new LocaleSet(e)}static log(e){return new Log(e)}static map(e){return new MapElement(e)}static mediumInfo(e){return new MediumInfo(e)}static message(e){return new config_Message(e)}static messaging(e){return new Messaging(e)}static mode(e){return new Mode(e)}static modifyAnnots(e){return new ModifyAnnots(e)}static msgId(e){return new MsgId(e)}static nameAttr(e){return new NameAttr(e)}static neverEmbed(e){return new NeverEmbed(e)}static numberOfCopies(e){return new NumberOfCopies(e)}static openAction(e){return new OpenAction(e)}static output(e){return new Output(e)}static outputBin(e){return new OutputBin(e)}static outputXSL(e){return new OutputXSL(e)}static overprint(e){return new Overprint(e)}static packets(e){return new Packets(e)}static pageOffset(e){return new PageOffset(e)}static pageRange(e){return new PageRange(e)}static pagination(e){return new Pagination(e)}static paginationOverride(e){return new PaginationOverride(e)}static part(e){return new Part(e)}static pcl(e){return new Pcl(e)}static pdf(e){return new Pdf(e)}static pdfa(e){return new Pdfa(e)}static permissions(e){return new Permissions(e)}static pickTrayByPDFSize(e){return new PickTrayByPDFSize(e)}static picture(e){return new config_Picture(e)}static plaintextMetadata(e){return new PlaintextMetadata(e)}static presence(e){return new Presence(e)}static present(e){return new Present(e)}static print(e){return new Print(e)}static printHighQuality(e){return new PrintHighQuality(e)}static printScaling(e){return new PrintScaling(e)}static printerName(e){return new PrinterName(e)}static producer(e){return new Producer(e)}static ps(e){return new Ps(e)}static range(e){return new Range(e)}static record(e){return new Record(e)}static relevant(e){return new Relevant(e)}static rename(e){return new Rename(e)}static renderPolicy(e){return new RenderPolicy(e)}static runScripts(e){return new RunScripts(e)}static script(e){return new config_Script(e)}static scriptModel(e){return new ScriptModel(e)}static severity(e){return new Severity(e)}static silentPrint(e){return new SilentPrint(e)}static staple(e){return new Staple(e)}static startNode(e){return new StartNode(e)}static startPage(e){return new StartPage(e)}static submitFormat(e){return new SubmitFormat(e)}static submitUrl(e){return new SubmitUrl(e)}static subsetBelow(e){return new SubsetBelow(e)}static suppressBanner(e){return new SuppressBanner(e)}static tagged(e){return new Tagged(e)}static template(e){return new config_Template(e)}static templateCache(e){return new TemplateCache(e)}static threshold(e){return new Threshold(e)}static to(e){return new To(e)}static trace(e){return new Trace(e)}static transform(e){return new Transform(e)}static type(e){return new Type(e)}static uri(e){return new Uri(e)}static validate(e){return new config_Validate(e)}static validateApprovalSignatures(e){return new ValidateApprovalSignatures(e)}static validationMessaging(e){return new ValidationMessaging(e)}static version(e){return new Version(e)}static versionControl(e){return new VersionControl(e)}static viewerPreferences(e){return new ViewerPreferences(e)}static webClient(e){return new WebClient(e)}static whitespace(e){return new Whitespace(e)}static window(e){return new Window(e)}static xdc(e){return new Xdc(e)}static xdp(e){return new Xdp(e)}static xsl(e){return new Xsl(e)}static zpl(e){return new Zpl(e)}}const rf=jl.connectionSet.id;class ConnectionSet extends XFAObject{constructor(e){super(rf,"connectionSet",!0);this.wsdlConnection=new XFAObjectArray;this.xmlConnection=new XFAObjectArray;this.xsdConnection=new XFAObjectArray}}class EffectiveInputPolicy extends XFAObject{constructor(e){super(rf,"effectiveInputPolicy");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}}class EffectiveOutputPolicy extends XFAObject{constructor(e){super(rf,"effectiveOutputPolicy");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}}class Operation extends StringObject{constructor(e){super(rf,"operation");this.id=e.id||"";this.input=e.input||"";this.name=e.name||"";this.output=e.output||"";this.use=e.use||"";this.usehref=e.usehref||""}}class RootElement extends StringObject{constructor(e){super(rf,"rootElement");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}}class SoapAction extends StringObject{constructor(e){super(rf,"soapAction");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}}class SoapAddress extends StringObject{constructor(e){super(rf,"soapAddress");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}}class connection_set_Uri extends StringObject{constructor(e){super(rf,"uri");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}}class WsdlAddress extends StringObject{constructor(e){super(rf,"wsdlAddress");this.id=e.id||"";this.name=e.name||"";this.use=e.use||"";this.usehref=e.usehref||""}}class WsdlConnection extends XFAObject{constructor(e){super(rf,"wsdlConnection",!0);this.dataDescription=e.dataDescription||"";this.name=e.name||"";this.effectiveInputPolicy=null;this.effectiveOutputPolicy=null;this.operation=null;this.soapAction=null;this.soapAddress=null;this.wsdlAddress=null}}class XmlConnection extends XFAObject{constructor(e){super(rf,"xmlConnection",!0);this.dataDescription=e.dataDescription||"";this.name=e.name||"";this.uri=null}}class XsdConnection extends XFAObject{constructor(e){super(rf,"xsdConnection",!0);this.dataDescription=e.dataDescription||"";this.name=e.name||"";this.rootElement=null;this.uri=null}}class ConnectionSetNamespace{static[wl](e,t){if(Object.hasOwn(ConnectionSetNamespace,e))return ConnectionSetNamespace[e](t)}static connectionSet(e){return new ConnectionSet(e)}static effectiveInputPolicy(e){return new EffectiveInputPolicy(e)}static effectiveOutputPolicy(e){return new EffectiveOutputPolicy(e)}static operation(e){return new Operation(e)}static rootElement(e){return new RootElement(e)}static soapAction(e){return new SoapAction(e)}static soapAddress(e){return new SoapAddress(e)}static uri(e){return new connection_set_Uri(e)}static wsdlAddress(e){return new WsdlAddress(e)}static wsdlConnection(e){return new WsdlConnection(e)}static xmlConnection(e){return new XmlConnection(e)}static xsdConnection(e){return new XsdConnection(e)}}const of=jl.datasets.id;class datasets_Data extends XmlObject{constructor(e){super(of,"data",e)}[Uo](){return!0}}class Datasets extends XFAObject{constructor(e){super(of,"datasets",!0);this.data=null;this.Signature=null}[Qo](e){const t=e[Yo];("data"===t&&e[$o]===of||"Signature"===t&&e[$o]===jl.signature.id)&&(this[t]=e);this[so](e)}}class DatasetsNamespace{static[wl](e,t){if(Object.hasOwn(DatasetsNamespace,e))return DatasetsNamespace[e](t)}static datasets(e){return new Datasets(e)}static data(e){return new datasets_Data(e)}}const lf=jl.localeSet.id;class CalendarSymbols extends XFAObject{constructor(e){super(lf,"calendarSymbols",!0);this.name="gregorian";this.dayNames=new XFAObjectArray(2);this.eraNames=null;this.meridiemNames=null;this.monthNames=new XFAObjectArray(2)}}class CurrencySymbol extends StringObject{constructor(e){super(lf,"currencySymbol");this.name=getStringOption(e.name,["symbol","isoname","decimal"])}}class CurrencySymbols extends XFAObject{constructor(e){super(lf,"currencySymbols",!0);this.currencySymbol=new XFAObjectArray(3)}}class DatePattern extends StringObject{constructor(e){super(lf,"datePattern");this.name=getStringOption(e.name,["full","long","med","short"])}}class DatePatterns extends XFAObject{constructor(e){super(lf,"datePatterns",!0);this.datePattern=new XFAObjectArray(4)}}class DateTimeSymbols extends ContentObject{constructor(e){super(lf,"dateTimeSymbols")}}class Day extends StringObject{constructor(e){super(lf,"day")}}class DayNames extends XFAObject{constructor(e){super(lf,"dayNames",!0);this.abbr=getInteger({data:e.abbr,defaultValue:0,validate:e=>1===e});this.day=new XFAObjectArray(7)}}class Era extends StringObject{constructor(e){super(lf,"era")}}class EraNames extends XFAObject{constructor(e){super(lf,"eraNames",!0);this.era=new XFAObjectArray(2)}}class locale_set_Locale extends XFAObject{constructor(e){super(lf,"locale",!0);this.desc=e.desc||"";this.name="isoname";this.calendarSymbols=null;this.currencySymbols=null;this.datePatterns=null;this.dateTimeSymbols=null;this.numberPatterns=null;this.numberSymbols=null;this.timePatterns=null;this.typeFaces=null}}class locale_set_LocaleSet extends XFAObject{constructor(e){super(lf,"localeSet",!0);this.locale=new XFAObjectArray}}class Meridiem extends StringObject{constructor(e){super(lf,"meridiem")}}class MeridiemNames extends XFAObject{constructor(e){super(lf,"meridiemNames",!0);this.meridiem=new XFAObjectArray(2)}}class Month extends StringObject{constructor(e){super(lf,"month")}}class MonthNames extends XFAObject{constructor(e){super(lf,"monthNames",!0);this.abbr=getInteger({data:e.abbr,defaultValue:0,validate:e=>1===e});this.month=new XFAObjectArray(12)}}class NumberPattern extends StringObject{constructor(e){super(lf,"numberPattern");this.name=getStringOption(e.name,["full","long","med","short"])}}class NumberPatterns extends XFAObject{constructor(e){super(lf,"numberPatterns",!0);this.numberPattern=new XFAObjectArray(4)}}class NumberSymbol extends StringObject{constructor(e){super(lf,"numberSymbol");this.name=getStringOption(e.name,["decimal","grouping","percent","minus","zero"])}}class NumberSymbols extends XFAObject{constructor(e){super(lf,"numberSymbols",!0);this.numberSymbol=new XFAObjectArray(5)}}class TimePattern extends StringObject{constructor(e){super(lf,"timePattern");this.name=getStringOption(e.name,["full","long","med","short"])}}class TimePatterns extends XFAObject{constructor(e){super(lf,"timePatterns",!0);this.timePattern=new XFAObjectArray(4)}}class TypeFace extends XFAObject{constructor(e){super(lf,"typeFace",!0);this.name=""|e.name}}class TypeFaces extends XFAObject{constructor(e){super(lf,"typeFaces",!0);this.typeFace=new XFAObjectArray}}class LocaleSetNamespace{static[wl](e,t){if(Object.hasOwn(LocaleSetNamespace,e))return LocaleSetNamespace[e](t)}static calendarSymbols(e){return new CalendarSymbols(e)}static currencySymbol(e){return new CurrencySymbol(e)}static currencySymbols(e){return new CurrencySymbols(e)}static datePattern(e){return new DatePattern(e)}static datePatterns(e){return new DatePatterns(e)}static dateTimeSymbols(e){return new DateTimeSymbols(e)}static day(e){return new Day(e)}static dayNames(e){return new DayNames(e)}static era(e){return new Era(e)}static eraNames(e){return new EraNames(e)}static locale(e){return new locale_set_Locale(e)}static localeSet(e){return new locale_set_LocaleSet(e)}static meridiem(e){return new Meridiem(e)}static meridiemNames(e){return new MeridiemNames(e)}static month(e){return new Month(e)}static monthNames(e){return new MonthNames(e)}static numberPattern(e){return new NumberPattern(e)}static numberPatterns(e){return new NumberPatterns(e)}static numberSymbol(e){return new NumberSymbol(e)}static numberSymbols(e){return new NumberSymbols(e)}static timePattern(e){return new TimePattern(e)}static timePatterns(e){return new TimePatterns(e)}static typeFace(e){return new TypeFace(e)}static typeFaces(e){return new TypeFaces(e)}}const ff=jl.signature.id;class signature_Signature extends XFAObject{constructor(e){super(ff,"signature",!0)}}class SignatureNamespace{static[wl](e,t){if(Object.hasOwn(SignatureNamespace,e))return SignatureNamespace[e](t)}static signature(e){return new signature_Signature(e)}}const cf=jl.stylesheet.id;class Stylesheet extends XFAObject{constructor(e){super(cf,"stylesheet",!0)}}class StylesheetNamespace{static[wl](e,t){if(Object.hasOwn(StylesheetNamespace,e))return StylesheetNamespace[e](t)}static stylesheet(e){return new Stylesheet(e)}}const hf=jl.xdp.id;class xdp_Xdp extends XFAObject{constructor(e){super(hf,"xdp",!0);this.uuid=e.uuid||"";this.timeStamp=e.timeStamp||"";this.config=null;this.connectionSet=null;this.datasets=null;this.localeSet=null;this.stylesheet=new XFAObjectArray;this.template=null}[Zo](e){const t=jl[e[Yo]];return t&&e[$o]===t.id}}class XdpNamespace{static[wl](e,t){if(Object.hasOwn(XdpNamespace,e))return XdpNamespace[e](t)}static xdp(e){return new xdp_Xdp(e)}}const uf=jl.xhtml.id,mf=Symbol(),pf=new Set(["color","font","font-family","font-size","font-stretch","font-style","font-weight","margin","margin-bottom","margin-left","margin-right","margin-top","letter-spacing","line-height","orphans","page-break-after","page-break-before","page-break-inside","tab-interval","tab-stop","text-align","text-decoration","text-indent","vertical-align","widows","kerning-mode","xfa-font-horizontal-scale","xfa-font-vertical-scale","xfa-spacerun","xfa-tab-stops"]),df=new Map([["page-break-after","breakAfter"],["page-break-before","breakBefore"],["page-break-inside","breakInside"],["kerning-mode",e=>"none"===e?"none":"normal"],["xfa-font-horizontal-scale",e=>`scaleX(${Math.max(0,parseInt(e,10)/100).toFixed(2)})`],["xfa-font-vertical-scale",e=>`scaleY(${Math.max(0,parseInt(e,10)/100).toFixed(2)})`],["xfa-spacerun",""],["xfa-tab-stops",""],["font-size",(e,t)=>measureToString(.99*(e=t.fontSize=Math.abs(getMeasurement(e))))],["letter-spacing",e=>measureToString(getMeasurement(e))],["line-height",e=>measureToString(getMeasurement(e))],["margin",e=>measureToString(getMeasurement(e))],["margin-bottom",e=>measureToString(getMeasurement(e))],["margin-left",e=>measureToString(getMeasurement(e))],["margin-right",e=>measureToString(getMeasurement(e))],["margin-top",e=>measureToString(getMeasurement(e))],["text-indent",e=>measureToString(getMeasurement(e))],["font-family",e=>e],["vertical-align",e=>measureToString(getMeasurement(e))]]),gf=/\s+/g,bf=/[\r\n]+/g,wf=/\r\n?/g;function mapStyle(e,t,a){const n=Object.create(null);if(!e)return n;const s=Object.create(null);for(const[t,a]of e.split(";").map(e=>e.split(":",2))){const e=df.get(t);if(""===e)continue;let r=a;e&&(r="string"==typeof e?e:e(a,s));t.endsWith("scale")?n.transform=n.transform?`${n[t]} ${r}`:r:n[t.replaceAll(/-([a-z])/gi,(e,t)=>t.toUpperCase())]=r}n.fontFamily&&setFontFamily({typeface:n.fontFamily,weight:n.fontWeight||"normal",posture:n.fontStyle||"normal",size:s.fontSize||0},t,t[Bo].fontFinder,n);if(a&&n.verticalAlign&&"0px"!==n.verticalAlign&&n.fontSize){const e=.583,t=.333,a=getMeasurement(n.fontSize);n.fontSize=measureToString(a*e);n.verticalAlign=measureToString(Math.sign(getMeasurement(n.verticalAlign))*a*t)}a&&n.fontSize&&(n.fontSize=`calc(${n.fontSize} * var(--total-scale-factor))`);fixTextIndent(n);return n}const jf=new Set(["body","html"]);class XhtmlObject extends XmlObject{constructor(e,t){super(uf,t);this[mf]=!1;this.style=e.style||""}[io](e){super[io](e);this.style=function checkStyle(e){return e.style?e.style.split(";").filter(e=>!!e.trim()).map(e=>e.split(":",2).map(e=>e.trim())).filter(([t,a])=>{"font-family"===t&&e[Bo].usedTypefaces.add(a);return pf.has(t)}).map(e=>e.join(":")).join(";"):""}(this)}[ao](){return!jf.has(this[Yo])}[el](e,t=!1){if(t)this[mf]=!0;else{e=e.replaceAll(bf,"");this.style.includes("xfa-spacerun:yes")||(e=e.replaceAll(gf," "))}e&&(this[ho]+=e)}[tl](e,t=!0){const a=Object.create(null),n={top:NaN,bottom:NaN,left:NaN,right:NaN};let s=null;for(const[e,t]of this.style.split(";").map(e=>e.split(":",2)))switch(e){case"font-family":a.typeface=stripQuotes(t);break;case"font-size":a.size=getMeasurement(t);break;case"font-weight":a.weight=t;break;case"font-style":a.posture=t;break;case"letter-spacing":a.letterSpacing=getMeasurement(t);break;case"margin":const e=t.split(/ \t/).map(e=>getMeasurement(e));switch(e.length){case 1:n.top=n.bottom=n.left=n.right=e[0];break;case 2:n.top=n.bottom=e[0];n.left=n.right=e[1];break;case 3:n.top=e[0];n.bottom=e[2];n.left=n.right=e[1];break;case 4:n.top=e[0];n.left=e[1];n.bottom=e[2];n.right=e[3]}break;case"margin-top":n.top=getMeasurement(t);break;case"margin-bottom":n.bottom=getMeasurement(t);break;case"margin-left":n.left=getMeasurement(t);break;case"margin-right":n.right=getMeasurement(t);break;case"line-height":s=getMeasurement(t)}e.pushData(a,n,s);if(this[ho])e.addString(this[ho]);else for(const t of this[Co]())"#text"!==t[Yo]?t[tl](e):e.addString(t[ho]);t&&e.popFont()}[pl](e){const t=[];this[po]={children:t};this[ro]({});if(0===t.length&&!this[ho])return HTMLResult.EMPTY;let a;a=this[mf]?this[ho]?this[ho].replaceAll(wf,"\n"):void 0:this[ho]||void 0;return HTMLResult.success({name:this[Yo],attributes:{href:this.href,style:mapStyle(this.style,this,this[mf])},children:t,value:a})}}class A extends XhtmlObject{constructor(e){super(e,"a");this.href=fixURL(e.href)||""}}class B extends XhtmlObject{constructor(e){super(e,"b")}[tl](e){e.pushFont({weight:"bold"});super[tl](e);e.popFont()}}class Body extends XhtmlObject{constructor(e){super(e,"body")}[pl](e){const t=super[pl](e),{html:a}=t;if(!a)return HTMLResult.EMPTY;a.name="div";a.attributes.class=["xfaRich"];return t}}class Br extends XhtmlObject{constructor(e){super(e,"br")}[ul](){return"\n"}[tl](e){e.addString("\n")}[pl](e){return HTMLResult.success({name:"br"})}}class Html extends XhtmlObject{constructor(e){super(e,"html")}[pl](e){const t=[];this[po]={children:t};this[ro]({});if(0===t.length)return HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:{}},value:this[ho]||""});if(1===t.length){const e=t[0];if(e.attributes?.class.includes("xfaRich"))return HTMLResult.success(e)}return HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:{}},children:t})}}class I extends XhtmlObject{constructor(e){super(e,"i")}[tl](e){e.pushFont({posture:"italic"});super[tl](e);e.popFont()}}class Li extends XhtmlObject{constructor(e){super(e,"li")}}class Ol extends XhtmlObject{constructor(e){super(e,"ol")}}class P extends XhtmlObject{constructor(e){super(e,"p")}[tl](e){super[tl](e,!1);e.addString("\n");e.addPara();e.popFont()}[ul](){return this[Ro]()[Co]().at(-1)===this?super[ul]():super[ul]()+"\n"}}class Span extends XhtmlObject{constructor(e){super(e,"span")}}class Sub extends XhtmlObject{constructor(e){super(e,"sub")}}class Sup extends XhtmlObject{constructor(e){super(e,"sup")}}class Ul extends XhtmlObject{constructor(e){super(e,"ul")}}class XhtmlNamespace{static[wl](e,t){if(Object.hasOwn(XhtmlNamespace,e))return XhtmlNamespace[e](t)}static a(e){return new A(e)}static b(e){return new B(e)}static body(e){return new Body(e)}static br(e){return new Br(e)}static html(e){return new Html(e)}static i(e){return new I(e)}static li(e){return new Li(e)}static ol(e){return new Ol(e)}static p(e){return new P(e)}static span(e){return new Span(e)}static sub(e){return new Sub(e)}static sup(e){return new Sup(e)}static ul(e){return new Ul(e)}}const kf={config:ConfigNamespace,connection:ConnectionSetNamespace,datasets:DatasetsNamespace,localeSet:LocaleSetNamespace,signature:SignatureNamespace,stylesheet:StylesheetNamespace,template:TemplateNamespace,xdp:XdpNamespace,xhtml:XhtmlNamespace};class UnknownNamespace{constructor(e){this.namespaceId=e}[wl](e,t){return new XmlObject(this.namespaceId,e,t)}}class Root extends XFAObject{constructor(e){super(-1,"root",Object.create(null));this.element=null;this[Mo]=e}[Qo](e){this.element=e;return!0}[go](){super[go]();if(this.element.template instanceof Template){this[Mo].set(rl,this.element);this.element.template[il](this[Mo]);this.element.template[Mo]=this[Mo]}}}class Empty extends XFAObject{constructor(){super(-1,"",Object.create(null))}[Qo](e){return!1}}class Builder{constructor(e=null){this._namespaceStack=[];this._nsAgnosticLevel=0;this._namespacePrefixes=new Map;this._namespaces=new Map;this._nextNsId=Math.max(...Object.values(jl).map(({id:e})=>e));this._currentNamespace=e||new UnknownNamespace(++this._nextNsId)}buildRoot(e){return new Root(e)}build({nsPrefix:e,name:t,attributes:a,namespace:n,prefixes:s}){const r=null!==n;if(r){this._namespaceStack.push(this._currentNamespace);this._currentNamespace=this._searchNamespace(n)}s&&this._addNamespacePrefix(s);if(Object.hasOwn(a,Jo)){const e=kf.datasets,t=a[Jo];let n=null;for(const[a,s]of Object.entries(t)){if(this._getNamespaceToUse(a)===e){n={xfa:s};break}}n?a[Jo]=n:delete a[Jo]}const i=this._getNamespaceToUse(e),o=i?.[wl](t,a)||new Empty;o[Uo]()&&this._nsAgnosticLevel++;(r||s||o[Uo]())&&(o[lo]={hasNamespace:r,prefixes:s,nsAgnostic:o[Uo]()});return o}isNsAgnostic(){return this._nsAgnosticLevel>0}_searchNamespace(e){let t=this._namespaces.get(e);if(t)return t;for(const[a,{check:n}]of Object.entries(jl))if(n(e)){t=kf[a];if(t){this._namespaces.set(e,t);return t}break}t=new UnknownNamespace(++this._nextNsId);this._namespaces.set(e,t);return t}_addNamespacePrefix(e){for(const{prefix:t,value:a}of e){const e=this._searchNamespace(a);this._namespacePrefixes.getOrInsertComputed(t,makeArr).push(e)}}_getNamespaceToUse(e){if(!e)return this._currentNamespace;const t=this._namespacePrefixes.get(e);if(t?.length>0)return t.at(-1);warn(`Unknown namespace prefix: ${e}.`);return null}clean(e){const{hasNamespace:t,prefixes:a,nsAgnostic:n}=e;t&&(this._currentNamespace=this._namespaceStack.pop());a&&a.forEach(({prefix:e})=>{this._namespacePrefixes.get(e).pop()});n&&this._nsAgnosticLevel--}}class XFAParser extends XMLParserBase{constructor(e=null,t=!1){super();this._builder=new Builder(e);this._stack=[];this._globalData={usedTypefaces:new Set};this._ids=new Map;this._current=this._builder.buildRoot(this._ids);this._errorCode=zi;this._whiteRegex=/^\s+$/;this._nbsps=/\xa0+/g;this._richText=t}parse(e){this.parseXml(e);if(this._errorCode===zi){this._current[go]();return this._current.element}}onText(e){e=e.replace(this._nbsps,e=>e.slice(1)+" ");this._richText||this._current[ao]()?this._current[el](e,this._richText):this._whiteRegex.test(e)||this._current[el](e.trim())}onCdata(e){this._current[el](e)}_mkAttributes(e,t){let a=null,n=null;const s=Object.create({});for(const{name:r,value:i}of e)if("xmlns"===r)a?warn(`XFA - multiple namespace definition in <${t}>`):a=i;else if(r.startsWith("xmlns:")){const e=r.substring(6);n??=[];n.push({prefix:e,value:i})}else{const e=r.indexOf(":");if(-1===e)s[r]=i;else{const t=s[Jo]??=Object.create(null),[a,n]=[r.slice(0,e),r.slice(e+1)];(t[a]||=Object.create(null))[n]=i}}return[a,n,s]}_getNameAndPrefix(e,t){const a=e.indexOf(":");return-1===a?[e,null]:[e.substring(a+1),t?"":e.substring(0,a)]}onBeginElement(e,t,a){const[n,s,r]=this._mkAttributes(t,e),[i,o]=this._getNameAndPrefix(e,this._builder.isNsAgnostic()),l=this._builder.build({nsPrefix:o,name:i,attributes:r,namespace:n,prefixes:s});l[Bo]=this._globalData;if(a){l[go]();this._current[Qo](l)&&l[ll](this._ids);l[io](this._builder)}else{this._stack.push(this._current);this._current=l}}onEndElement(e){const t=this._current;if(t[_o]()&&"string"==typeof t[ho]){const e=new XFAParser;e._globalData=this._globalData;const a=e.parse(t[ho]);t[ho]=null;t[Qo](a)}t[go]();this._current=this._stack.pop();this._current[Qo](t)&&t[ll](this._ids);t[io](this._builder)}onError(e){this._errorCode=e}}class XFAFactory{constructor(e){try{this.root=(new XFAParser).parse(XFAFactory._createDocument(e));const t=new Binder(this.root);this.form=t.bind();this.dataHandler=new DataHandler(this.root,t.getData());this.form[Bo].template=this.form}catch(e){warn(`XFA - an error occurred during parsing and binding: ${e}`)}}isValid(){return!(!this.root||!this.form)}_createPagesHelper(){const e=this.form[ml]();return new Promise((t,a)=>{const nextIteration=()=>{try{const a=e.next();a.done?t(a.value):setTimeout(nextIteration,0)}catch(e){a(e)}};setTimeout(nextIteration,0)})}async _createPages(){try{this.pages=await this._createPagesHelper();this.dims=this.pages.children.map(e=>{const{width:t,height:a}=e.attributes.style;return[0,0,parseInt(t,10),parseInt(a,10)]})}catch(e){warn(`XFA - an error occurred during layout: ${e}`)}}getBoundingBox(e){return this.dims[e]}async getNumPages(){this.pages||await this._createPages();return this.dims.length}setImages(e){this.form[Bo].images=e}setFonts(e){this.form[Bo].fontFinder=new FontFinder(e);const t=[];for(let e of this.form[Bo].usedTypefaces){e=stripQuotes(e);this.form[Bo].fontFinder.find(e)||t.push(e)}return t.length>0?t:null}appendFonts(e,t){this.form[Bo].fontFinder.add(e,t)}async getPages(){this.pages||await this._createPages();const e=this.pages;this.pages=null;return e}serializeData(e){return this.dataHandler.serialize(e)}static _createDocument(e){return e["/xdp:xdp"]?Object.values(e).join(""):e["xdp:xdp"]}static getRichTextAsHtml(e){if(!e||"string"!=typeof e)return null;try{let t=new XFAParser(XhtmlNamespace,!0).parse(e);if(!["body","xhtml"].includes(t[Yo])){const e=XhtmlNamespace.body({});e[so](t);t=e}const a=t[pl]();if(!a.success)return null;const{html:n}=a,{attributes:s}=n;if(s){s.class&&(s.class=s.class.filter(e=>!e.startsWith("xfa")));s.dir="auto"}return{html:n,str:t[ul]()}}catch(e){warn(`XFA - an error occurred during parsing of rich text: ${e}`)}return null}}class AnnotationFactory{static createGlobals(e){return Promise.all([e.ensureCatalog("acroForm"),e.ensureDoc("xfaDatasets"),e.ensureCatalog("structTreeRoot"),e.ensureCatalog("baseUrl"),e.ensureCatalog("attachments"),e.ensureCatalog("globalColorSpaceCache")]).then(([t,a,n,s,r,i])=>({pdfManager:e,catalog:e.pdfDocument.catalog,acroForm:t instanceof Dict?t:Dict.empty,xfaDatasets:a,structTreeRoot:n,baseUrl:s,attachments:r,globalColorSpaceCache:i}),e=>{warn(`createGlobals: "${e}".`);return null})}static async create(e,t,a,n,s,r,i,o){const l=s?await this._getPageIndex(e,t,a.pdfManager):null;return a.pdfManager.ensure(this,"_create",[e,t,a,n,s,r,i,l,o])}static _create(e,t,a,n,s=!1,r=null,i=null,o=null,l=null){const f=e.fetchIfRef(t);if(!(f instanceof Dict))return;let c=f.get("Subtype");c=c instanceof Name?c.name:null;if(i&&!i.has(H[c?.toUpperCase()]))return null;const{acroForm:h,pdfManager:u}=a,m=t instanceof Ref?t.toString():`annot_${n.createObjId()}`,p={xref:e,ref:t,dict:f,subtype:c,id:m,annotationGlobals:a,collectFields:s,orphanFields:r,needAppearances:!s&&!0===h.get("NeedAppearances"),pageIndex:o,evaluatorOptions:u.evaluatorOptions,pageRef:l};switch(c){case"Link":return new LinkAnnotation(p);case"Text":return new TextAnnotation(p);case"Widget":let e=getInheritableProperty({dict:f,key:"FT"});e=e instanceof Name?e.name:null;switch(e){case"Tx":return new TextWidgetAnnotation(p);case"Btn":return new ButtonWidgetAnnotation(p);case"Ch":return new ChoiceWidgetAnnotation(p);case"Sig":return new SignatureWidgetAnnotation(p)}warn(`Unimplemented widget field type "${e}", falling back to base field type.`);return new WidgetAnnotation(p);case"Popup":return new PopupAnnotation(p);case"FreeText":return new FreeTextAnnotation(p);case"Line":return new LineAnnotation(p);case"Square":return new SquareAnnotation(p);case"Circle":return new CircleAnnotation(p);case"PolyLine":return new PolylineAnnotation(p);case"Polygon":return new PolygonAnnotation(p);case"Caret":return new CaretAnnotation(p);case"Ink":return new InkAnnotation(p);case"Highlight":return new HighlightAnnotation(p);case"Underline":return new UnderlineAnnotation(p);case"Squiggly":return new SquigglyAnnotation(p);case"StrikeOut":return new StrikeOutAnnotation(p);case"Stamp":return new StampAnnotation(p);case"FileAttachment":return new FileAttachmentAnnotation(p);case"RichMedia":return new RichMediaAnnotation(p);case"Screen":return new ScreenAnnotation(p);default:s||warn(c?`Unimplemented annotation type "${c}", falling back to base annotation.`:"Annotation is missing the required /Subtype.");return new Annotation(p)}}static async _getPageIndex(e,t,a){try{const n=await e.fetchIfRefAsync(t);if(!(n instanceof Dict))return-1;const s=n.getRaw("P");if(s instanceof Ref)try{return await a.ensureCatalog("getPageIndex",[s])}catch(e){info(`_getPageIndex -- not a valid page reference: "${e}".`)}if(n.has("Kids"))return-1;const r=await a.ensureDoc("numPages");for(let e=0;ee/255)||t}function getQuadPoints(e,t){const a=e.getArray("QuadPoints");if(!isNumberArray(a,null)||0===a.length||a.length%8>0)return null;const n=new Float32Array(a.length);for(let e=0,s=a.length;et[2]||pt[3]))return null;n.set([u,d,m,d,u,p,m,p],e)}return n}function getTransformMatrix(e,t,n){const s=a.slice();Util.axialAlignedBoundingBox(t,n,s);const[r,i,o,l]=s;if(r===o||i===l)return[1,0,0,1,e[0],e[1]];const f=(e[2]-e[0])/(o-r),c=(e[3]-e[1])/(l-i);return[f,0,0,c,e[0]-r*f,e[1]-i*c]}class Annotation{appearance=null;_oc=void 0;constructor(e){const{annotationGlobals:t,dict:a,orphanFields:n,ref:s,subtype:r,xref:i}=e,o=n?.get(s);o&&a.set("Parent",o);this.setTitle(a.get("T"));this.setContents(a.get("Contents"));this.setModificationDate(a.get("M"));this.setFlags(a.get("F"));this.setRectangle(a.getArray("Rect"));this.setColor(a.getArray("C"));this.setBorderStyle(a);this.setAppearance(a);this.#bt(i,a);const l=a.get("MK");this.setBorderAndBackgroundColors(l);this.setRotation(l,a);this.ref=e.ref instanceof Ref?e.ref:null;this._streams=[];this.appearance&&this._streams.push(this.appearance);const f=!!(this.flags&W),c=!!(this.flags&K);this.data={annotationType:H[r?.toUpperCase()],annotationFlags:this.flags,borderStyle:this.borderStyle,color:this.color,backgroundColor:this.backgroundColor,borderColor:this.borderColor,rotation:this.rotation,contentsObj:this._contents,hasAppearance:!!this.appearance,id:e.id,modificationDate:this.modificationDate,oc:this._oc,rect:this.rectangle,subtype:r,hasOwnCanvas:!1,noRotate:!!(this.flags&U),noHTML:f&&c,isEditable:!1,structParent:-1};if(t.structTreeRoot){let n=a.get("StructParent");this.data.structParent=n=Number.isInteger(n)&&n>=0?n:-1;t.structTreeRoot.addAnnotationIdToPage(e.pageRef,n)}if(e.collectFields){const t=a.get("Kids");if(Array.isArray(t)){const e=[];for(const a of t)a instanceof Ref&&e.push(a.toString());0!==e.length&&(this.data.kidIds=e)}this.data.actions=collectActions(i,a,fe);this.data.fieldName=this._constructFieldName(a);this.data.pageIndex=e.pageIndex}const h=a.get("IT");h instanceof Name&&(this.data.it=h.name);this._isOffscreenCanvasSupported=e.evaluatorOptions.isOffscreenCanvasSupported;this._fallbackFontDict=null;this._needAppearances=!1}_getOperatorListNoAppearance(){return{opList:new OperatorList,separateForm:!1,separateCanvas:!1}}_hasFlag(e,t){return!!(e&t)}_buildFlags(e,t){let{flags:a}=this;if(void 0===e){if(void 0===t)return;return t?a&~L:a&~z|L}if(e){a|=L;return t?a&~X|z:a&~z|X}a&=~(z|X);return t?a&~L:a|L}_isViewable(e){return!this._hasFlag(e,E)&&!this._hasFlag(e,X)}_isPrintable(e){return this._hasFlag(e,L)&&!this._hasFlag(e,z)&&!this._hasFlag(e,E)}mustBeViewed(e,t){const a=e?.get(this.data.id)?.noView;return void 0!==a?!a:this.viewable&&!this._hasFlag(this.flags,z)}mustBePrinted(e){const t=e?.get(this.data.id)?.noPrint;return void 0!==t?!t:this.printable}mustBeViewedWhenEditing(e,t=null){return e?!this.data.isEditable:!t?.has(this.data.id)}get viewable(){return null!==this.data.quadPoints&&(0===this.flags||this._isViewable(this.flags))}get printable(){return null!==this.data.quadPoints&&(0!==this.flags&&this._isPrintable(this.flags))}_parseStringHelper(e){const t="string"==typeof e?stringToPDFString(e):"";return{str:t,dir:t&&"rtl"===bidi(t).dir?"rtl":"ltr"}}setDefaultAppearance(e){const{dict:t,annotationGlobals:a}=e,n=getInheritableProperty({dict:t,key:"DA"})||a.acroForm.get("DA");this._defaultAppearance="string"==typeof n?n:"";this.data.defaultAppearanceData=parseDefaultAppearance(this._defaultAppearance)}setTitle(e){this._title=this._parseStringHelper(e)}setContents(e){this._contents=this._parseStringHelper(e)}setModificationDate(e){this.modificationDate="string"==typeof e?e:null}setFlags(e){this.flags=Number.isInteger(e)&&e>0?e:0;this.flags&E&&"Annotation"!==this.constructor.name&&(this.flags^=E)}hasFlag(e){return this._hasFlag(this.flags,e)}setRectangle(e){this.rectangle=lookupNormalRect(e,[0,0,0,0])}setColor(e){this.color=getRgbColor(e)}setLineEndings(e){this.lineEndings=["None","None"];if(Array.isArray(e)&&2===e.length)for(let t=0;t<2;t++){const a=e[t];if(a instanceof Name)switch(a.name){case"None":continue;case"Square":case"Circle":case"Diamond":case"OpenArrow":case"ClosedArrow":case"Butt":case"ROpenArrow":case"RClosedArrow":case"Slash":this.lineEndings[t]=a.name;continue}warn(`Ignoring invalid lineEnding: ${a}`)}}setRotation(e,t){this.rotation=0;let a=e instanceof Dict?e.get("R")||0:t.get("Rotate")||0;if(Number.isInteger(a)&&0!==a){a%=360;a<0&&(a+=360);a%90==0&&(this.rotation=a)}}setBorderAndBackgroundColors(e){if(e instanceof Dict){this.borderColor=getRgbColor(e.getArray("BC"),null);this.backgroundColor=getRgbColor(e.getArray("BG"),null)}else this.borderColor=this.backgroundColor=null}setBorderStyle(e){this.borderStyle=new AnnotationBorderStyle;if(e instanceof Dict)if(e.has("BS")){const t=e.get("BS");if(t instanceof Dict){const e=t.get("Type");if(!e||isName(e,"Border")){this.borderStyle.setWidth(t.get("W"),this.rectangle);this.borderStyle.setStyle(t.get("S"));this.borderStyle.setDashArray(t.getArray("D"))}}}else if(e.has("Border")){const t=e.getArray("Border");if(Array.isArray(t))if(t.length>=3){this.borderStyle.setHorizontalCornerRadius(t[0]);this.borderStyle.setVerticalCornerRadius(t[1]);this.borderStyle.setWidth(t[2],this.rectangle);4===t.length&&this.borderStyle.setDashArray(t[3],!0)}else 0===t.length&&this.borderStyle.setWidth(0)}else this.borderStyle.setWidth(0)}setAppearance(e){const t=e.get("AP");if(!(t instanceof Dict))return;const a=t.get("N");if(a instanceof BaseStream){this.appearance=a;return}if(!(a instanceof Dict))return;const n=e.get("AS");if(!(n instanceof Name))return;const s=a.get(n.name);s instanceof BaseStream&&(this.appearance=s)}#bt(e,t){if(t.has("OC"))try{this._oc=parseMarkedContentProps(e,t.get("OC"),null)}catch(e){if(e instanceof MissingDataException)throw e;warn(`#setOptionalContent: ${e}`)}}async loadResources(e,t){const a=await t.dict.getAsync("Resources");a&&await ObjectLoader.load(a,e,a.xref);return a}get _ownCanvasRequiresForms(){return!1}async getOperatorList(e,t,a,n){const{hasOwnCanvas:s,id:r,rect:i}=this.data;let o=this.appearance;const l=!!(s&&a&f&&(!this._ownCanvasRequiresForms||a&u));if(l&&(0===this.width||0===this.height)){this.data.hasOwnCanvas=!1;return this._getOperatorListNoAppearance()}if(!o){if(!l)return this._getOperatorListNoAppearance();o=new StringStream("",new Dict)}const c=o.dict,h=await this.loadResources(wa,o),m=lookupRect(c.getArray("BBox"),[0,0,this.width,this.height]),p=lookupMatrix(c.getArray("Matrix"),ba),d=getTransformMatrix(i,m,p),g=new OperatorList,b=this._oc;void 0!==b&&g.addOp(Ft,["OC",b]);g.addOp(Nt,[r,i,d,p,l]);await e.getOperatorList({stream:o,task:t,resources:h,operatorList:g,fallbackFontDict:this._fallbackFontDict});g.addOp(Pt,[]);void 0!==b&&g.addOp(Tt,[]);this.reset();return{opList:g,separateForm:!1,separateCanvas:l}}async save(e,t,a,n){return null}get overlaysTextContent(){return!1}get hasTextContent(){return!1}async extractTextContent(e,t,a){if(!this.appearance)return;const n=await this.loadResources(ja,this.appearance),s=[],r=[];let i=null;const o={desiredSize:Math.Infinity,ready:!0,enqueue(e,t){for(const t of e.items)if(void 0!==t.str){i||=t.transform.slice(-2);r.push(t.str);if(t.hasEOL){s.push(r.join("").trimEnd());r.length=0}}}};await e.getTextContent({stream:this.appearance,task:t,resources:n,includeMarkedContent:!0,keepWhiteSpace:!0,sink:o,viewBox:a});this.reset();r.length&&s.push(r.join("").trimEnd());if(s.length>1||s[0]){const e=this.appearance.dict,t=lookupRect(e.getArray("BBox"),null),a=lookupMatrix(e.getArray("Matrix"),null);this.data.textPosition=this._transformPoint(i,t,a);this.data.textContent=s}}_transformPoint(e,t,a){const{rect:n}=this.data;t||=[0,0,1,1];a||=[1,0,0,1,0,0];const s=getTransformMatrix(n,t,a);s[4]-=n[0];s[5]-=n[1];const r=e.slice();Util.applyTransform(r,s);Util.applyTransform(r,a);return r}getFieldObject(){return this.data.kidIds?{id:this.data.id,actions:this.data.actions,name:this.data.fieldName,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,type:"",kidIds:this.data.kidIds,page:this.data.pageIndex,rotation:this.rotation}:null}reset(){for(const e of this._streams)e.reset()}_constructFieldName(e){if(!e.has("T")&&!e.has("Parent")){warn("Unknown field name, falling back to empty field name.");return""}if(!e.has("Parent"))return stringToPDFString(e.get("T"));const t=[];e.has("T")&&t.unshift(stringToPDFString(e.get("T")));let a=e;const n=new RefSet;e.objId&&n.put(e.objId);for(;a.has("Parent");){a=a.get("Parent");if(!(a instanceof Dict)||a.objId&&n.has(a.objId))break;a.objId&&n.put(a.objId);a.has("T")&&t.unshift(stringToPDFString(a.get("T")))}return t.join(".")}_getAttachmentId(e,t,a){if(e instanceof Dict){t instanceof Ref||(t=FileSpec.pickPlatformItem(e.get("EF"),!0));return t instanceof Ref?a.catalog.getAttachmentIdForAnnotation(t):void 0}}get width(){return this.data.rect[2]-this.data.rect[0]}get height(){return this.data.rect[3]-this.data.rect[1]}}class AnnotationBorderStyle{width=1;rawWidth=1;style=se;dashArray=[3];horizontalCornerRadius=0;verticalCornerRadius=0;setWidth(e,t=[0,0,0,0]){if(e instanceof Name)this.width=0;else if("number"==typeof e){if(e>0){this.rawWidth=e;const a=(t[2]-t[0])/2,n=(t[3]-t[1])/2;if(a>0&&n>0&&(e>a||e>n)){warn(`AnnotationBorderStyle.setWidth - ignoring width: ${e}`);e=1}}this.width=e}}setStyle(e){if(e instanceof Name)switch(e.name){case"S":this.style=se;break;case"D":this.style=re;break;case"B":this.style=ie;break;case"I":this.style=oe;break;case"U":this.style=le}}setDashArray(e,t=!1){if(Array.isArray(e)){let a=!0,n=!0;for(const t of e){if(!(+t>=0)){a=!1;break}t>0&&(n=!1)}if(0===e.length||a&&!n){this.dashArray=e;t&&this.setStyle(Name.get("D"))}else this.width=0}else e&&(this.width=0)}setHorizontalCornerRadius(e){Number.isInteger(e)&&(this.horizontalCornerRadius=e)}setVerticalCornerRadius(e){Number.isInteger(e)&&(this.verticalCornerRadius=e)}}class MarkupAnnotation extends Annotation{constructor(e){super(e);const{dict:t}=e;if(t.has("IRT")){const e=t.getRaw("IRT");this.data.inReplyTo=e instanceof Ref?e.toString():null;const a=t.get("RT");this.data.replyType=a instanceof Name?a.name:M}let a=null;if(this.data.replyType===D){const e=t.get("IRT");this.setTitle(e.get("T"));this.data.titleObj=this._title;this.setContents(e.get("Contents"));this.data.contentsObj=this._contents;if(e.has("CreationDate")){this.setCreationDate(e.get("CreationDate"));this.data.creationDate=this.creationDate}else this.data.creationDate=null;if(e.has("M")){this.setModificationDate(e.get("M"));this.data.modificationDate=this.modificationDate}else this.data.modificationDate=null;a=e.getRaw("Popup");if(e.has("C")){this.setColor(e.getArray("C"));this.data.color=this.color}else this.data.color=null}else{this.data.titleObj=this._title;this.setCreationDate(t.get("CreationDate"));this.data.creationDate=this.creationDate;a=t.getRaw("Popup");t.has("C")||(this.data.color=null)}this.data.popupRef=a instanceof Ref?a.toString():null;t.has("RC")&&(this.data.richText=XFAFactory.getRichTextAsHtml(t.get("RC")))}setCreationDate(e){this.creationDate="string"==typeof e?e:null}_setDefaultAppearance({xref:e,extra:a,strokeColor:n,fillColor:s,blendMode:r,strokeAlpha:i,fillAlpha:o,pointsCallback:l}){const f=this.data.rect=t.slice(),c=["q"];a&&c.push(a);n&&c.push(`${n[0]} ${n[1]} ${n[2]} RG`);s&&c.push(`${s[0]} ${s[1]} ${s[2]} rg`);const h=this.data.quadPoints||Float32Array.from([this.rectangle[0],this.rectangle[3],this.rectangle[2],this.rectangle[3],this.rectangle[0],this.rectangle[1],this.rectangle[2],this.rectangle[1]]);for(let e=0,t=h.length;ethis._decodeFormValue(e)).filter(e=>null!==e);return t.length>0?t:null}return e instanceof Name?e.name:"string"==typeof e?stringToPDFString(e):null}hasFieldFlag(e){return!!(this.data.fieldFlags&e)}_isViewable(e){return!0}mustBeViewed(e,t){return t?this.viewable:super.mustBeViewed(e,t)&&!this._hasFlag(this.flags,X)}getRotationMatrix(e){let t=e?.get(this.data.id)?.rotation;void 0===t&&(t=this.rotation);return 0===t?ba:getRotationMatrix(t,this.width,this.height)}getBorderAndBackgroundAppearances(e){let t=e?.get(this.data.id)?.rotation;void 0===t&&(t=this.rotation);if(!this.backgroundColor&&!this.borderColor)return"";const a=0===t||180===t?`0 0 ${this.width} ${this.height} re`:`0 0 ${this.height} ${this.width} re`;let n="";this.backgroundColor&&(n=`${getPdfColor(this.backgroundColor,!0)} ${a} f `);if(this.borderColor){n+=`${this.borderStyle.width||1} w ${getPdfColor(this.borderColor,!1)} ${a} S `}return n}async getOperatorList(e,t,a,n){if(a&u&&!(this instanceof SignatureWidgetAnnotation)&&!this.data.noHTML&&!this.data.hasOwnCanvas){const e=this._getOperatorListNoAppearance();e.separateForm=!0;return e}if(!this._hasText)return super.getOperatorList(e,t,a,n);const s=await this._getAppearance(e,t,a,n);if(this.appearance&&null===s)return super.getOperatorList(e,t,a,n);const r=new OperatorList;if(!this._defaultAppearance||null===s)return{opList:r,separateForm:!1,separateCanvas:!1};const i=!!(this.data.hasOwnCanvas&&a&f),o=[0,0,this.width,this.height],l=getTransformMatrix(this.data.rect,o,[1,0,0,1,0,0]),c=this._oc;void 0!==c&&r.addOp(Ft,["OC",c]);r.addOp(Nt,[this.data.id,this.data.rect,l,this.getRotationMatrix(n),i]);const h=new StringStream(s);await e.getOperatorList({stream:h,task:t,resources:this._fieldResources.mergedResources,operatorList:r});r.addOp(Pt,[]);void 0!==c&&r.addOp(Tt,[]);return{opList:r,separateForm:!1,separateCanvas:i}}_getMKDict(e){const t=new Dict(null);e&&t.set("R",e);t.setIfArray("BC",getPdfColorArray(this.borderColor));t.setIfArray("BG",getPdfColorArray(this.backgroundColor));return t.size>0?t:null}amendSavedDict(e,t){}setValue(e,t,a,n){const{dict:s,ref:r}=function getParentToUpdate(e,t,a){const n=new RefSet,s=e,r={dict:null,ref:null};for(;e instanceof Dict&&!n.has(t);){n.put(t);if(e.has("T"))break;if(!((t=e.getRaw("Parent"))instanceof Ref))return r;e=a.fetch(t)}if(e instanceof Dict&&e!==s){r.dict=e;r.ref=t}return r}(e,this.ref,a);if(s){if(!n.has(r)){const e=s.clone();e.set("V",t);n.put(r,{data:e});return e}}else e.set("V",t);return null}async save(e,t,a,n){const s=a?.get(this.data.id),r=this._buildFlags(s?.noView,s?.noPrint);let i=s?.value,o=s?.rotation;if(i===this.data.fieldValue||void 0===i){if(!this._hasValueFromXFA&&void 0===o&&void 0===r)return;i||=this.data.fieldValue}if(void 0===o&&!this._hasValueFromXFA&&Array.isArray(i)&&Array.isArray(this.data.fieldValue)&&isArrayEqual(i,this.data.fieldValue)&&void 0===r)return;void 0===o&&(o=this.rotation);let l=null;if(!this._needAppearances){l=await this._getAppearance(e,t,h,a);if(null===l&&void 0===r)return}let f=!1;if(l?.needAppearances){f=!0;l=null}const{xref:c}=e,u=c.fetchIfRef(this.ref);if(!(u instanceof Dict))return;const m=new Dict(c);for(const[e,t]of u.getRawEntries())"AP"!==e&&m.set(e,t);if(void 0!==r){m.set("F",r);if(null===l&&!f){const e=u.getRaw("AP");e&&m.set("AP",e)}}const p={path:this.data.fieldName,value:i},d=this.setValue(m,Array.isArray(i)?i.map(stringToAsciiOrUTF16BE):stringToAsciiOrUTF16BE(i),c,n);this.amendSavedDict(a,d||m);const g=this._getMKDict(o);g&&m.set("MK",g);n.put(this.ref,{data:m,xfa:p,needAppearances:f});if(null!==l){const e=c.getNewTemporaryRef(),t=new Dict(c);m.set("AP",t);t.set("N",e);const s=this._getSaveFieldResources(c),r=new Dict(c);r.setIfName("Subtype","Form");r.set("Resources",s);const i=o%180==0?[0,0,this.width,this.height]:[0,0,this.height,this.width];r.set("BBox",i);const f=new StringStream(l,r),h=this.getRotationMatrix(a);h!==ba&&r.set("Matrix",h);n.put(e,{data:f,xfa:null,needAppearances:!1})}m.set("M",`D:${getModificationDate()}`)}async _getAppearance(e,t,a,n){if(this.data.password)return null;const s=n?.get(this.data.id);let r,o;if(s){r=s.formattedValue||s.value;o=s.rotation}if(void 0===o&&void 0===r&&!this._needAppearances&&(!this._hasValueFromXFA||this.appearance))return null;const l=this.getBorderAndBackgroundAppearances(n);if(void 0===r){r=this.data.fieldValue;if(!r)return`/Tx BMC q ${l}Q EMC`}Array.isArray(r)&&1===r.length&&(r=r[0]);assert("string"==typeof r,"Expected `value` to be a string.");r=r.trimEnd();if(this.data.combo){const e=this.data.options.find(({exportValue:e})=>r===e);r=e?.displayValue||r}if(""===r)return`/Tx BMC q ${l}Q EMC`;void 0===o&&(o=this.rotation);let f,c=-1;if(this.data.multiLine){f=r.split(/\r\n?|\n/).map(e=>e.normalize("NFC"));c=f.length}else f=[r.replace(/\r\n?|\n/,"").normalize("NFC")];let{width:u,height:m}=this;90!==o&&270!==o||([u,m]=[m,u]);this._defaultAppearance||(this.data.defaultAppearanceData=parseDefaultAppearance(this._defaultAppearance="/Helvetica 0 Tf 0 g"));let p,d,g,b=await WidgetAnnotation._getFontData(e,t,this.data.defaultAppearanceData,this._fieldResources.mergedResources);const w=[];let j=!1;for(const e of f){const t=b.encodeString(e);t.length>1&&(j=!0);w.push(t.join(""))}if(j&&a&h)return{needAppearances:!0};if(j&&this._isOffscreenCanvasSupported){const a=this.data.comb?"monospace":"sans-serif",n=new FakeUnicodeFont(e.xref,a),s=n.createFontResources(f.join("")),i=s.getRaw("Font");if(this._fieldResources.mergedResources.has("Font")){const e=this._fieldResources.mergedResources.get("Font");for(const[t,a]of i.getRawEntries())e.set(t,a)}else this._fieldResources.mergedResources.set("Font",i);const o=n.fontName.name;b=await WidgetAnnotation._getFontData(e,t,{fontName:o,fontSize:0},s);for(let e=0,t=w.length;e2)return`/Tx BMC q ${l}BT `+p+` 1 0 0 1 ${numberToString(2)} ${numberToString(v)} Tm (${escapeString(w[0])}) Tj ET Q EMC`;return`/Tx BMC q ${l}BT `+p+` 1 0 0 1 0 0 Tm ${this._renderText(w[0],b,d,u,q,{shift:0},2,v)} ET Q EMC`}static async _getFontData(e,t,a,n){const s=new OperatorList,r={font:null,clone(){return this}},{fontName:i,fontSize:o}=a;await e.handleSetFont(n,[i&&Name.get(i),o],null,s,t,r,null);return r.font}_getTextWidth(e,t){return Math.sumPrecise(t.charsToGlyphs(e).map(e=>e.width))/1e3}_computeFontSize(e,t,a,n,r){let{fontSize:i}=this.data.defaultAppearanceData,o=(i||12)*s,l=Math.round(e/o);if(!i){const roundWithTwoDigits=e=>Math.floor(100*e)/100;if(-1===r){const r=this._getTextWidth(a,n);i=roundWithTwoDigits(Math.min(e/s,t/r));l=1}else{const f=a.split(/\r\n?|\n/),c=[];for(const e of f){const t=n.encodeString(e).join(""),a=n.charsToGlyphs(t),s=n.getCharPositions(t);c.push({line:t,glyphs:a,positions:s})}const isTooBig=a=>{let s=0;for(const r of c){s+=this._splitLine(null,n,a,t,r).length*a;if(s>e)return!0}return!1};l=Math.max(l,r);for(;;){o=e/l;i=roundWithTwoDigits(o/s);if(!isTooBig(i))break;l++}}const{fontName:f,fontColor:c}=this.data.defaultAppearanceData;this._defaultAppearance=function createDefaultAppearance({fontSize:e,fontName:t,fontColor:a}){return`/${escapePDFName(t)} ${e} Tf ${getPdfColor(a,!0)}`}({fontSize:i,fontName:f,fontColor:c})}return[this._defaultAppearance,i,e/l]}_renderText(e,t,a,n,s,r,i,o){let l;if(1===s){l=(n-this._getTextWidth(e,t)*a)/2}else if(2===s){l=n-this._getTextWidth(e,t)*a-i}else l=i;const f=numberToString(l-r.shift);r.shift=l;return`${f} ${o=numberToString(o)} Td (${escapeString(e)}) Tj`}_getSaveFieldResources(e){const{localResources:t,appearanceResources:a,acroFormResources:n}=this._fieldResources,s=this.data.defaultAppearanceData?.fontName;if(!s)return t||Dict.empty;for(const e of[t,a])if(e instanceof Dict){const t=e.get("Font");if(t instanceof Dict&&t.has(s))return e}if(n instanceof Dict){const a=n.get("Font");if(a instanceof Dict&&a.has(s)){const n=new Dict(e);n.set(s,a.getRaw(s));const r=new Dict(e);r.set("Font",n);return Dict.merge({xref:e,dictArray:[r,t],mergeSubDicts:!0})}}return t||Dict.empty}getFieldObject(){return null}}class TextWidgetAnnotation extends WidgetAnnotation{constructor(e){super(e);const{dict:t}=e;if(t.has("PMD")){this.flags|=z;this.data.hidden=!0;warn("Barcodes are not supported")}this.data.hasOwnCanvas=this.data.readOnly&&!this.data.noHTML;this._hasText=!0;"string"!=typeof this.data.fieldValue&&(this.data.fieldValue="");let a=getInheritableProperty({dict:t,key:"Q"});(!Number.isInteger(a)||a<0||a>2)&&(a=null);this.data.textAlignment=a;let n=getInheritableProperty({dict:t,key:"MaxLen"});(!Number.isInteger(n)||n<0)&&(n=0);this.data.maxLen=n;this.data.multiLine=this.hasFieldFlag($);this.data.comb=this.hasFieldFlag(ne)&&!this.data.multiLine&&!this.data.password&&!this.hasFieldFlag(ee)&&0!==this.data.maxLen;this.data.doNotScroll=this.hasFieldFlag(ae);const{data:{actions:s}}=this;if(!s)return;const r=/^AF(Date|Time)_(?:Keystroke|Format)(?:Ex)?\(['"]?([^'"]+)['"]?\);$/;let i=!1;(1===s.Format?.length&&1===s.Keystroke?.length&&r.test(s.Format[0])&&r.test(s.Keystroke[0])||0===s.Format?.length&&1===s.Keystroke?.length&&r.test(s.Keystroke[0])||0===s.Keystroke?.length&&1===s.Format?.length&&r.test(s.Format[0]))&&(i=!0);const o=[];s.Format&&o.push(...s.Format);s.Keystroke&&o.push(...s.Keystroke);if(i){delete s.Keystroke;s.Format=o}for(const e of o){const t=e.match(r);if(!t)continue;const a="Date"===t[1];let n=t[2];const s=parseInt(n,10);isNaN(s)||Math.floor(Math.log10(s))+1!==t[2].length||(n=(a?_i:Ei)[s]??n);this.data.datetimeFormat=n;if(!i)break;if(a){if(/HH|MM|ss|h/.test(n)){this.data.datetimeType="datetime-local";this.data.timeStep=/ss/.test(n)?1:60}else this.data.datetimeType="date";break}this.data.datetimeType="time";this.data.timeStep=/ss/.test(n)?1:60;break}}get hasTextContent(){return!!this.appearance&&!this._needAppearances}_getCombAppearance(e,t,a,n,s,r,i,o,l){const f=s/this.data.maxLen,c=this.getBorderAndBackgroundAppearances(l),h=t.getCharPositions(a).map(([e,s])=>{const r=a.substring(e,s);return{glyph:r,width:this._getTextWidth(r,t)*n}});o&&h.reverse();const u=f*h.length;let m=0;1===i?m+=Math.floor((s-u)/(2*f))*f:2===i&&(m+=s-u);const p=[];let d=0;for(let e=0,t=h.length;en){l.push(e.substring(u,a));u=a;m=d;f=-1;h=-1}else{m+=d;f=a;c=s;h=t}else if(m+d>n)if(-1!==f){l.push(e.substring(u,c));u=c;t=h+1;f=-1;m=0}else{l.push(e.substring(u,a));u=a;m=d}else m+=d}ut?`\\${t}`:"\\s+");new RegExp(`^\\s*${r}\\s*$`).test(this.data.fieldValue)&&(this.data.textContent=this.data.fieldValue.split("\n"))}getFieldObject(){return{id:this.data.id,value:this.data.fieldValue,defaultValue:this.data.defaultFieldValue||"",multiline:this.data.multiLine,password:this.data.password,charLimit:this.data.maxLen,comb:this.data.comb,editable:!this.data.readOnly,hidden:this.data.hidden,name:this.data.fieldName,rect:this.data.rect,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,datetimeFormat:this.data.datetimeFormat,hasDatetimeHTML:!!this.data.datetimeType,type:"text"}}}class ButtonWidgetAnnotation extends WidgetAnnotation{constructor(e){super(e);this.checkedAppearance=null;this.uncheckedAppearance=null;const t=this.hasFieldFlag(J),a=this.hasFieldFlag(Q);this.data.checkBox=!t&&!a;this.data.radioButton=t&&!a;this.data.pushButton=a;this.data.isTooltipOnly=!1;this.data.hasOwnCanvas=!0;this.data.noHTML=!1;this.data.checkBox?this._processCheckBox(e):this.data.radioButton?this._processRadioButton(e):this.data.pushButton?this._processPushButton(e):warn("Invalid field flags for button widget annotation")}get _ownCanvasRequiresForms(){return this.data.checkBox||this.data.radioButton}#wt(e,t,a,n,s,r){if(!r)return this._getOperatorListNoAppearance();const i=this.appearance,o=lookupMatrix(r.dict.getArray("Matrix"),ba);s&&r.dict.set("Matrix",this.getRotationMatrix(n));this.appearance=r;const l=super.getOperatorList(e,t,a,n);this.appearance=i;r.dict.set("Matrix",o);return l}async getOperatorList(e,t,a,n){if(this.data.pushButton)return super.getOperatorList(e,t,a,!1,n);if(a&f&&a&u&&(this.data.checkBox||this.data.radioButton)){const setCanvasName=(e,t)=>{const a=e.fnArray.indexOf(Nt);-1!==a&&e.argsArray[a].push(t)},s=await this.#wt(e,t,a,n,null,this.checkedAppearance);setCanvasName(s.opList,"checked");const r=await this.#wt(e,t,a,n,null,this.uncheckedAppearance);setCanvasName(r.opList,"unchecked");s.opList.addOpList(r.opList);s.separateForm||=r.separateForm;s.separateCanvas||=r.separateCanvas;return s}let s=null,r=null;if(n){const e=n.get(this.data.id);s=e?e.value:null;r=e?e.rotation:null}if(null===s&&this.appearance)return super.getOperatorList(e,t,a,n);null==s&&(s=this.data.checkBox?this.data.fieldValue===this.data.exportValue:this.data.fieldValue===this.data.buttonValue);return this.#wt(e,t,a,n,r,s?this.checkedAppearance:this.uncheckedAppearance)}async save(e,t,a,n){this.data.checkBox?this._saveCheckbox(e,t,a,n):this.data.radioButton&&this._saveRadioButton(e,t,a,n)}async _saveCheckbox(e,t,a,n){if(!a)return;const s=a.get(this.data.id),r=this._buildFlags(s?.noView,s?.noPrint);let i=s?.rotation,o=s?.value;if(void 0===i&&void 0===r){if(void 0===o)return;if(this.data.fieldValue===this.data.exportValue===o)return}let l=e.xref.fetchIfRef(this.ref);if(!(l instanceof Dict))return;l=l.clone();void 0===i&&(i=this.rotation);void 0===o&&(o=this.data.fieldValue===this.data.exportValue);const f={path:this.data.fieldName,value:o?this.data.exportValue:""},c=Name.get(o?this._onStateName:"Off");this.setValue(l,c,e.xref,n);l.set("AS",c);l.set("M",`D:${getModificationDate()}`);void 0!==r&&l.set("F",r);const h=this._getMKDict(i);h&&l.set("MK",h);n.put(this.ref,{data:l,xfa:f,needAppearances:!1})}async _saveRadioButton(e,t,a,n){if(!a)return;const s=a.get(this.data.id),r=this._buildFlags(s?.noView,s?.noPrint);let i=s?.rotation,o=s?.value;if(void 0===i&&void 0===r){if(void 0===o)return;if(this.data.fieldValue===this.data.buttonValue===o)return}let l=e.xref.fetchIfRef(this.ref);if(!(l instanceof Dict))return;l=l.clone();void 0===o&&(o=this.data.fieldValue===this.data.buttonValue);void 0===i&&(i=this.rotation);const f={path:this.data.fieldName,value:o?this.data.buttonValue:""},c=Name.get(o?this._onStateName:"Off");o&&this.setValue(l,c,e.xref,n);l.set("AS",c);l.set("M",`D:${getModificationDate()}`);void 0!==r&&l.set("F",r);const h=this._getMKDict(i);h&&l.set("MK",h);n.put(this.ref,{data:l,xfa:f,needAppearances:!1})}_getDefaultCheckedAppearance(e,t){const{width:a,height:n}=this,s=[0,0,a,n],r=.8*Math.min(a,n);let i,o;if("check"===t){i={width:.755*r,height:.705*r};o="3"}else if("disc"===t){i={width:.791*r,height:.705*r};o="l"}else unreachable(`_getDefaultCheckedAppearance - unsupported type: ${t}`);const l=`q BT /PdfJsZaDb ${r} Tf 0 g ${numberToString((a-i.width)/2)} ${numberToString((n-i.height)/2)} Td (${o}) Tj ET Q`,f=new Dict(e.xref);f.set("FormType",1);f.setIfName("Subtype","Form");f.setIfName("Type","XObject");f.set("BBox",s);f.set("Matrix",[1,0,0,1,0,0]);f.set("Length",l.length);const c=new Dict(e.xref),h=new Dict(e.xref);h.set("PdfJsZaDb",this.fallbackFontDict);c.set("Font",h);f.set("Resources",c);this.checkedAppearance=new StringStream(l,f);this._streams.push(this.checkedAppearance)}_getOnStateName(e){const t=e.get("AP");if(!(t instanceof Dict))return null;const a=t.get("N");if(!(a instanceof Dict))return null;for(const e of a.getKeys())if("Off"!==e)return e;return null}_getExportValueForOptIndex(e,t,a){if(Number.isInteger(e)&&e>=0&&e"Off"!==e);r.length=0;r.push("Off",e)}const i=r[1];this._onStateName=i;const o=getInheritableProperty({dict:e.dict,key:"Opt"}),l=this._getOptInfo(e.dict,i,o,e.xref);this.data.exportValue=this._getExportValue(i,l,e.xref);r.includes(this.data.fieldValue)||this.data.fieldValue===this.data.exportValue||(this.data.fieldValue="Off");this.data.fieldValue=this._getExportValue(this.data.fieldValue,l,e.xref);this.data.defaultFieldValue=this._getExportValue(this.data.defaultFieldValue,l,e.xref);const f=a?.get(i);this.checkedAppearance=f instanceof BaseStream?f:null;const c=a?.get("Off");this.uncheckedAppearance=c instanceof BaseStream?c:null;this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(e,"check");this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance);this._fallbackFontDict=this.fallbackFontDict;null===this.data.defaultFieldValue&&(this.data.defaultFieldValue="Off")}_processRadioButton(e){this.data.buttonValue=null;const t=e.dict.get("Parent");if(t instanceof Dict){this.parent=e.dict.getRaw("Parent");const a=t.get("V");a instanceof Name&&(this.data.fieldValue=this._decodeFormValue(a))}const a=e.dict.get("AP");if(!(a instanceof Dict))return;const n=a.get("N");if(!(n instanceof Dict))return;let s=null;for(const e of n.getKeys())if("Off"!==e){s=e;break}this._onStateName=s;const r=getInheritableProperty({dict:e.dict,key:"Opt"}),i=this._getOptInfo(e.dict,s,r,e.xref);this.data.buttonValue=this._getExportValue(s,i,e.xref);this.data.fieldValue=this._getExportValue(this.data.fieldValue,i,e.xref);this.data.defaultFieldValue=this._getExportValue(this.data.defaultFieldValue,i,e.xref);const o=n.get(s);this.checkedAppearance=o instanceof BaseStream?o:null;const l=n.get("Off");this.uncheckedAppearance=l instanceof BaseStream?l:null;this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(e,"disc");this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance);this._fallbackFontDict=this.fallbackFontDict;null===this.data.defaultFieldValue&&(this.data.defaultFieldValue="Off")}_processPushButton(e){const{dict:t,annotationGlobals:a}=e;if(t.has("A")||t.has("AA")||this.data.alternativeText){this.data.isTooltipOnly=!t.has("A")&&!t.has("AA");Catalog.parseDestDictionary({destDict:t,resultObj:this.data,docBaseUrl:a.baseUrl,docAttachments:a.attachments})}else warn("Push buttons without action dictionaries are not supported")}getFieldObject(){let e,t="button";if(this.data.checkBox){t="checkbox";e=this.data.exportValue}else if(this.data.radioButton){t="radiobutton";e=this.data.buttonValue}return{id:this.data.id,value:this.data.fieldValue||"Off",defaultValue:this.data.defaultFieldValue,exportValues:e,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,hidden:this.data.hidden,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:t}}get fallbackFontDict(){const e=new Dict;e.setIfName("BaseFont","ZapfDingbats");e.setIfName("Type","FallbackType");e.setIfName("Subtype","FallbackType");e.setIfName("Encoding","ZapfDingbatsEncoding");return shadow(this,"fallbackFontDict",e)}}class ChoiceWidgetAnnotation extends WidgetAnnotation{constructor(e){super(e);const{dict:t,xref:a}=e;this.indices=t.getArray("I");this.hasIndices=Array.isArray(this.indices)&&this.indices.length>0;this.data.options=[];const n=getInheritableProperty({dict:t,key:"Opt"});if(Array.isArray(n))for(let e=0,t=n.length;e=0&&t0&&(this.data.options=this.data.fieldValue.map(e=>({exportValue:e,displayValue:e})));this.data.combo=this.hasFieldFlag(Z);this.data.multiSelect=this.hasFieldFlag(te);this._hasText=!0}getFieldObject(){const e=this.data.combo?"combobox":"listbox",t=this.data.fieldValue.length>0?this.data.fieldValue[0]:null;return{id:this.data.id,value:t,defaultValue:this.data.defaultFieldValue,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,numItems:this.data.fieldValue.length,multipleSelection:this.data.multiSelect,hidden:this.data.hidden,actions:this.data.actions,items:this.data.options,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:e}}amendSavedDict(e,t){if(!this.hasIndices)return;let a=e?.get(this.data.id)?.value;Array.isArray(a)||(a=[a]);const n=[],{options:s}=this.data;for(let e=0,t=0,r=s.length;ea){a=n;t=e}}[m,p]=this._computeFontSize(e,l-4,t,u,-1)}const d=p*s,g=(d-p)/2,b=Math.floor(f/d);let w=0;if(h.length>0){const e=Math.min(...h),t=Math.max(...h);w=Math.max(0,t-b+1);w>e&&(w=e)}const j=Math.min(w+b+1,c),k=["/Tx BMC q",`1 1 ${l} ${f} re W n`];if(h.length){k.push("0.600006 0.756866 0.854904 rg");for(const e of h)w<=e&&ee.trimEnd());const{coords:e,bbox:t,matrix:a}=FakeUnicodeFont.getFirstPositionInfo(this.rectangle,this.rotation,n);this.data.textPosition=this._transformPoint(e,t,a)}if(this._isOffscreenCanvasSupported){const s=e.dict.get("CA"),r=new FakeUnicodeFont(a,"sans-serif");this.appearance=r.createAppearance(this._contents.str,this.rectangle,this.rotation,n,t,s);this._streams.push(this.appearance)}else warn("FreeTextAnnotation: OffscreenCanvas is not supported, annotation may not render correctly.")}}get hasTextContent(){return this._hasAppearance}static createNewDict(e,t,{apRef:a,ap:n}){const{color:s,date:r,fontSize:i,oldAnnotation:o,rect:l,rotation:f,user:c,value:h}=e,u=o||new Dict(t);u.setIfNotExists("Type",Name.get("Annot"));u.setIfNotExists("Subtype",Name.get("FreeText"));u.set(o?"M":"CreationDate",`D:${getModificationDate(r)}`);o&&u.delete("RC");u.setIfArray("Rect",l);const m=`/Helv ${i} Tf ${getPdfColor(s,!0)}`;u.set("DA",m);u.setIfDefined("Contents",stringToAsciiOrUTF16BE(h));u.setIfNotExists("F",4);u.setIfNotExists("Border",[0,0,0]);u.setIfNumber("Rotate",f);u.setIfDefined("T",stringToAsciiOrUTF16BE(c));if(a||n){const e=new Dict(t);u.set("AP",e);e.set("N",a||n)}return u}static async createNewAppearanceStream(e,t,a){const{baseFontRef:n,evaluator:r,task:i}=a,{color:o,fontSize:l,rect:f,rotation:c,value:h}=e;if(!o)return null;const u=new Dict(t),m=new Dict(t);if(n)m.set("Helv",n);else{const e=new Dict(t);e.setIfName("BaseFont","Helvetica");e.setIfName("Type","Font");e.setIfName("Subtype","Type1");e.setIfName("Encoding","WinAnsiEncoding");m.set("Helv",e)}u.set("Font",m);const p=await WidgetAnnotation._getFontData(r,i,{fontName:"Helv",fontSize:l},u),[d,g,b,w]=f;let j=b-d,k=w-g;c%180!=0&&([j,k]=[k,j]);const y=h.split("\n"),q=l/1e3;let v=-1/0;const S=[];for(let e of y){const t=p.encodeString(e);if(t.length>1)return null;e=t.join("");S.push(e);let a=0;const n=p.charsToGlyphs(e);for(const e of n)a+=e.width*q;v=Math.max(v,a)}const x=v>j?j/v:1;let C=1;const F=s*l,T=1*l,O=F*y.length;O>k&&(C=k/O);const R=l*Math.min(x,C);let H,D,M;switch(c){case 0:M=[1,0,0,1];D=[f[0],f[1],j,k];H=[f[0],f[3]-T];break;case 90:M=[0,1,-1,0];D=[f[1],-f[2],j,k];H=[f[1],-f[0]-T];break;case 180:M=[-1,0,0,-1];D=[-f[2],-f[3],j,k];H=[-f[2],-f[1]-T];break;case 270:M=[0,-1,1,0];D=[-f[3],f[0],j,k];H=[-f[3],f[2]-T]}const N=["q",`${M.join(" ")} 0 0 cm`,`${D.join(" ")} re W n`,"BT",`${getPdfColor(o,!0)}`,`0 Tc /Helv ${numberToString(R)} Tf`];N.push(`${H.join(" ")} Td (${escapeString(S[0])}) Tj`);const _=numberToString(F);for(let e=1,t=S.length;e{e.push(`${n[0]} ${n[1]} m`,`${n[2]} ${n[3]} l`,"S");return[t[0]-o,t[7]-o,t[2]+o,t[3]+o]}})}}}class SquareAnnotation extends MarkupAnnotation{constructor(e){super(e);const{dict:t,xref:a}=e;this.data.hasOwnCanvas=this.data.noRotate;this.data.noHTML=!1;if(!this.appearance){const e=getPdfColorArray(this.color,[0,0,0]),n=t.get("CA"),s=getPdfColorArray(getRgbColor(t.getArray("IC"),null)),r=s?n:null;if(0===this.borderStyle.width&&!s)return;this._setDefaultAppearance({xref:a,extra:`${this.borderStyle.width} w`,strokeColor:e,fillColor:s,strokeAlpha:n,fillAlpha:r,pointsCallback:(e,t)=>{const a=t[4]+this.borderStyle.width/2,n=t[5]+this.borderStyle.width/2,r=t[6]-t[4]-this.borderStyle.width,i=t[3]-t[7]-this.borderStyle.width;e.push(`${a} ${n} ${r} ${i} re`);s?e.push("B"):e.push("S");return[t[0],t[7],t[2],t[3]]}})}}}class CircleAnnotation extends MarkupAnnotation{constructor(e){super(e);const{dict:t,xref:a}=e;if(!this.appearance){const e=getPdfColorArray(this.color,[0,0,0]),n=t.get("CA"),s=getPdfColorArray(getRgbColor(t.getArray("IC"),null)),r=s?n:null;if(0===this.borderStyle.width&&!s)return;const i=4/3*Math.tan(Math.PI/8);this._setDefaultAppearance({xref:a,extra:`${this.borderStyle.width} w`,strokeColor:e,fillColor:s,strokeAlpha:n,fillAlpha:r,pointsCallback:(e,t)=>{const a=t[0]+this.borderStyle.width/2,n=t[1]-this.borderStyle.width/2,r=t[6]-this.borderStyle.width/2,o=t[7]+this.borderStyle.width/2,l=a+(r-a)/2,f=n+(o-n)/2,c=(r-a)/2*i,h=(o-n)/2*i;e.push(`${l} ${o} m`,`${l+c} ${o} ${r} ${f+h} ${r} ${f} c`,`${r} ${f-h} ${l+c} ${n} ${l} ${n} c`,`${l-c} ${n} ${a} ${f-h} ${a} ${f} c`,`${a} ${f+h} ${l-c} ${o} ${l} ${o} c`,"h");s?e.push("B"):e.push("S");return[t[0],t[7],t[2],t[3]]}})}}}class PolylineAnnotation extends MarkupAnnotation{constructor(e){super(e);const{dict:a,xref:n}=e;this.data.hasOwnCanvas=this.data.noRotate;this.data.noHTML=!1;this.data.vertices=null;if(!(this instanceof PolygonAnnotation)){this.setLineEndings(a.getArray("LE"));this.data.lineEndings=this.lineEndings}const s=a.getArray("Vertices");if(!isNumberArray(s,null))return;const r=this.data.vertices=Float32Array.from(s);if(!this.appearance){const e=getPdfColorArray(this.color,[0,0,0]),s=a.get("CA");let i,o=getRgbColor(a.getArray("IC"),null);o&&(o=getPdfColorArray(o));i=o?this.color?o.every((t,a)=>t===e[a])?"f":"B":"f":"S";const l=this.borderStyle.width||1,f=2*l,c=t.slice();for(let e=0,t=r.length;e{for(let t=0,a=r.length;t{for(const t of this.data.inkLists){for(let a=0,n=t.length;a0){const e=new Dict(t);p.set("BS",e);e.set("W",u)}p.setIfArray("C",getPdfColorArray(r));p.setIfNumber("CA",o);if(n||a){const e=new Dict(t);p.set("AP",e);e.set("N",a||n)}return p}static async createNewAppearanceStream(e,t,a){if(e.outlines)return this.createNewAppearanceStreamForHighlight(e,t,a);const{color:n,rect:s,paths:r,thickness:i,opacity:o}=e;if(!n)return null;const l=[`${i} w 1 J 1 j`,`${getPdfColor(n,!1)}`];1!==o&&l.push("/R0 gs");for(const e of r.lines){l.push(`${numberToString(e[4])} ${numberToString(e[5])} m`);for(let t=6,a=e.length;t{e.push(`${t[0]} ${t[1]} m`,`${t[2]} ${t[3]} l`,`${t[6]} ${t[7]} l`,`${t[4]} ${t[5]} l`,"f");return[t[0],t[7],t[2],t[3]]}})}}else this.data.popupRef=null}get overlaysTextContent(){return!0}static createNewDict(e,t,{apRef:a,ap:n}){const{color:s,date:r,oldAnnotation:i,opacity:o,rect:l,rotation:f,user:c,quadPoints:h}=e,u=i||new Dict(t);u.setIfNotExists("Type",Name.get("Annot"));u.setIfNotExists("Subtype",Name.get("Highlight"));u.set(i?"M":"CreationDate",`D:${getModificationDate(r)}`);u.setIfArray("Rect",l);u.setIfNotExists("F",4);u.setIfNotExists("Border",[0,0,0]);u.setIfNumber("Rotate",f);u.setIfArray("QuadPoints",h);u.setIfArray("C",getPdfColorArray(s));u.setIfNumber("CA",o);u.setIfDefined("T",stringToAsciiOrUTF16BE(c));if(a||n){const e=new Dict(t);u.set("AP",e);e.set("N",a||n)}return u}static async createNewAppearanceStream(e,t,a){const{color:n,rect:s,outlines:r,opacity:i}=e;if(!n)return null;const o=[`${getPdfColor(n,!0)}`,"/R0 gs"],l=[];for(const e of r){l.length=0;l.push(`${numberToString(e[0])} ${numberToString(e[1])} m`);for(let t=2,a=e.length;t{e.push(`${t[4]} ${t[5]+1.3} m`,`${t[6]} ${t[7]+1.3} l`,"S");return[t[0],t[7],t[2],t[3]]}})}}else this.data.popupRef=null}get overlaysTextContent(){return!0}}class SquigglyAnnotation extends MarkupAnnotation{constructor(e){super(e);const{dict:t,xref:a}=e;if(this.data.quadPoints=getQuadPoints(t,null)){if(!this.appearance){const e=getPdfColorArray(this.color,[0,0,0]),n=t.get("CA");this._setDefaultAppearance({xref:a,extra:"[] 0 d 1 w",strokeColor:e,strokeAlpha:n,pointsCallback:(e,t)=>{const a=(t[1]-t[5])/6;let n=a,s=t[4];const r=t[5],i=t[6];e.push(`${s} ${r+n} m`);do{s+=2;n=0===n?a:0;e.push(`${s} ${r+n} l`)}while(s{e.push((t[0]+t[4])/2+" "+(t[1]+t[5])/2+" m",(t[2]+t[6])/2+" "+(t[3]+t[7])/2+" l","S");return[t[0],t[7],t[2],t[3]]}})}}else this.data.popupRef=null}get overlaysTextContent(){return!0}}class StampAnnotation extends MarkupAnnotation{#jt=null;constructor(e){super(e);this.data.hasOwnCanvas=this.data.noRotate;this.data.isEditable=!this.data.noHTML;this.data.noHTML=!1}mustBeViewedWhenEditing(e,t=null){if(e){if(!this.data.isEditable)return!0;this.#jt??=this.data.hasOwnCanvas;this.data.hasOwnCanvas=!0;return!0}if(null!==this.#jt){this.data.hasOwnCanvas=this.#jt;this.#jt=null}return!t?.has(this.data.id)}static createNewDict(e,t,{apRef:a,ap:n}){const{date:s,oldAnnotation:r,rect:i,rotation:o,user:l}=e,f=r||new Dict(t);f.setIfNotExists("Type",Name.get("Annot"));f.setIfNotExists("Subtype",Name.get("Stamp"));f.set(r?"M":"CreationDate",`D:${getModificationDate(s)}`);f.setIfArray("Rect",i);f.setIfNotExists("F",4);f.setIfNotExists("Border",[0,0,0]);f.setIfNumber("Rotate",o);f.setIfDefined("T",stringToAsciiOrUTF16BE(l));if(a||n){const e=new Dict(t);f.set("AP",e);e.set("N",a||n)}return f}static async#kt(e,t){const{areContours:a,color:n,rect:s,lines:r,thickness:i}=e;if(!n)return null;const o=[`${i} w 1 J 1 j`,`${getPdfColor(n,a)}`];for(const e of r){o.push(`${numberToString(e[4])} ${numberToString(e[5])} m`);for(let t=6,a=e.length;t=0&&r<=1?r:null}}class MediaAnnotation extends Annotation{static#yt=/^(?:video|audio)\//;constructor(e){super(e);this.data.noHTML=!0}_setMediaData({assetRef:e,assetDict:t,filename:a,contentType:n},s){this.data.noHTML=!1;this.data.richMedia={fileId:this._getAttachmentId(t,e,s),filename:a,contentType:n}}static _getContentType(e,t,a=null){if("string"==typeof a&&MediaAnnotation.#yt.test(a))return a;const n=FileSpec.pickPlatformItem(e.get("EF")),s=n instanceof BaseStream?n.dict?.get("Subtype"):null;if(s instanceof Name&&MediaAnnotation.#yt.test(s.name))return s.name;const r=t.split(".").at(-1)?.toLowerCase();switch(r){case"mp4":case"m4v":return"video/mp4";case"webm":return"video/webm";case"ogv":return"video/ogg";case"mov":return"video/quicktime";case"mp3":return"audio/mpeg";case"m4a":return"audio/mp4";case"wav":return"audio/wav";case"oga":case"ogg":return"audio/ogg";default:return null}}}class RichMediaAnnotation extends MediaAnnotation{constructor(e){super(e);const{dict:t,xref:a,annotationGlobals:n}=e,s=t.get("RichMediaContent");if(!(s instanceof Dict))return;const r=RichMediaAnnotation.#qt(s,a);r?this._setMediaData(r,n):warn("RichMedia annotation has no playable asset.")}static#qt(e,t){const a=e.get("Configurations");if(!Array.isArray(a))return null;for(const e of a){const a=t.fetchIfRef(e);if(!(a instanceof Dict))continue;const n=a.get("Instances");if(Array.isArray(n))for(const e of n){const a=t.fetchIfRef(e);if(!(a instanceof Dict))continue;if(isName(a.get("Subtype"),"Flash"))continue;const n=a.getRaw("Asset"),s=t.fetchIfRef(n);if(!(s instanceof Dict))continue;if(!FileSpec.hasEmbeddedFile(s))continue;const{filename:r}=new FileSpec(s).serializable,i=MediaAnnotation._getContentType(s,r);if(i)return{assetRef:n instanceof Ref?n:null,assetDict:s,filename:r,contentType:i}}}return null}}class ScreenAnnotation extends MediaAnnotation{constructor(e){super(e);const{dict:t,xref:a,annotationGlobals:n}=e,s=ScreenAnnotation.#qt(t,a);s&&this._setMediaData(s,n)}static#qt(e,t){for(const a of this.#vt(e)){const e=this.#St(a.get("R"),t,new RefSet);if(e)return e}return null}static*#vt(e){const t=e.get("A");t instanceof Dict&&isName(t.get("S"),"Rendition")&&this.#At(t)&&(yield t);const a=e.get("AA");if(a instanceof Dict)for(const[,e]of a)e instanceof Dict&&isName(e.get("S"),"Rendition")&&this.#At(e)&&(yield e)}static#At(e){const t=e.get("OP");return void 0===t||t===N||t===_}static#St(e,t,a){if(!(e instanceof Dict))return null;const n=e.get("S");if(isName(n,"MR"))return this.#xt(e.get("C"),t);if(isName(n,"SR")){const n=e.get("R");if(Array.isArray(n))for(const e of n){if(e instanceof Ref){if(a.has(e))continue;a.put(e)}const n=this.#St(t.fetchIfRef(e),t,a);if(n)return n}}return null}static#xt(e,t){if(!(e instanceof Dict&&isName(e.get("S"),"MCD")))return null;const a=e.getRaw("D"),n=t.fetchIfRef(a),s=e.get("CT");let r,i,o="string"==typeof s?s:null;if(n instanceof BaseStream){r=n.dict;const t=e.get("N");i="string"==typeof t?stringToPDFString(t):"";if(!o){const e=n.dict.get("Subtype");e instanceof Name&&(o=e.name)}}else{if(!(n instanceof Dict))return null;if(!FileSpec.hasEmbeddedFile(n))return null;r=n;({filename:i}=new FileSpec(n).serializable)}const l=MediaAnnotation._getContentType(r,i,o);return l?{assetRef:a instanceof Ref?a:null,assetDict:r,filename:i,contentType:l}:null}}const yf={get r(){return shadow(this,"r",new Uint8Array([7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21]))},get k(){return shadow(this,"k",new Int32Array([-680876936,-389564586,606105819,-1044525330,-176418897,1200080426,-1473231341,-45705983,1770035416,-1958414417,-42063,-1990404162,1804603682,-40341101,-1502002290,1236535329,-165796510,-1069501632,643717713,-373897302,-701558691,38016083,-660478335,-405537848,568446438,-1019803690,-187363961,1163531501,-1444681467,-51403784,1735328473,-1926607734,-378558,-2022574463,1839030562,-35309556,-1530992060,1272893353,-155497632,-1094730640,681279174,-358537222,-722521979,76029189,-640364487,-421815835,530742520,-995338651,-198630844,1126891415,-1416354905,-57434055,1700485571,-1894986606,-1051523,-2054922799,1873313359,-30611744,-1560198380,1309151649,-145523070,-1120210379,718787259,-343485551]))}};function calculateMD5(e,t,a){let n=1732584193,s=-271733879,r=-1732584194,i=271733878;const o=a+72&-64,l=new Uint8Array(o);let f,c;for(f=0;f>5&255;l[f++]=a>>13&255;l[f++]=a>>21&255;l[f++]=a>>>29&255;f+=3;const u=new Int32Array(16),{k:m,r:p}=yf;for(f=0;f>>32-r)|0;a=n}n=n+a|0;s=s+o|0;r=r+h|0;i=i+d|0}return new Uint8Array([255&n,n>>8&255,n>>16&255,n>>>24&255,255&s,s>>8&255,s>>16&255,s>>>24&255,255&r,r>>8&255,r>>16&255,r>>>24&255,255&i,i>>8&255,i>>16&255,i>>>24&255])}function decodeString(e){try{return stringToUTF8String(e)}catch(t){warn(`UTF-8 decoding failed: "${t}".`);return e}}class DatasetXMLParser extends SimpleXMLParser{node=null;onEndElement(e){const t=super.onEndElement(e);if(t&&"xfa:datasets"===e){this.node=t;throw new Error("Aborting DatasetXMLParser.")}}}class DatasetReader{constructor(e){if(e.datasets)this.node=new SimpleXMLParser({hasAttributes:!0}).parseFromString(e.datasets).documentElement;else{const t=new DatasetXMLParser({hasAttributes:!0});try{t.parseFromString(e["xdp:xdp"])}catch{}this.node=t.node}}getValue(e){if(!this.node||!e)return"";const t=this.node.searchNode(parseXFAPath(e),0);if(!t)return"";const a=t.firstChild;return"value"===a?.nodeName?t.children.map(e=>decodeString(e.textContent)):decodeString(t.textContent)}}class SingleIntersector{#Ct;minX=1/0;minY=1/0;maxX=-1/0;maxY=-1/0;#It=null;#Ft=[];#Tt=[];#Ot=-1;#Rt=!1;constructor(e){this.#Ct=e;const t=e.data.quadPoints;if(t){for(let e=0,a=t.length;e8&&(this.#It=t)}else[this.minX,this.minY,this.maxX,this.maxY]=e.data.rect}#Ht(e,t){if(this.minX>=e||this.maxX<=e||this.minY>=t||this.maxY<=t)return!1;const a=this.#It;if(!a)return!0;if(this.#Ot>=0){const n=this.#Ot;if(!(a[n]>=e||a[n+2]<=e||a[n+5]>=t||a[n+1]<=t))return!0;this.#Ot=-1}for(let n=0,s=a.length;n=e||a[n+2]<=e||a[n+5]>=t||a[n+1]<=t)){this.#Ot=n;return!0}return!1}addGlyph(e,t,a){if(!this.#Ht(e,t)){this.disableExtraChars();return!1}if(this.#Tt.length>0){this.#Ft.push(this.#Tt.join(""));this.#Tt.length=0}this.#Ft.push(a);this.#Rt=!0;return!0}addExtraChar(e){this.#Rt&&this.#Tt.push(e)}disableExtraChars(){if(this.#Rt){this.#Rt=!1;this.#Tt.length=0}}setText(){this.#Ct.data.overlaidText=this.#Ft.join("")}}const qf=64;class Intersector{#Bt=[];#Dt=[];#Mt;#Nt;#Pt;#_t;#Et;#zt;constructor(e){let t=1/0,a=1/0,n=-1/0,s=-1/0;const r=this.#Bt;for(const i of e){if(!i.data.quadPoints&&!i.data.rect)continue;const e=new SingleIntersector(i);r.push(e);t=Math.min(t,e.minX);a=Math.min(a,e.minY);n=Math.max(n,e.maxX);s=Math.max(s,e.maxY)}this.#Mt=t;this.#Pt=a;this.#Nt=n;this.#_t=s;this.#Et=63/(n-t);this.#zt=63/(s-a);for(const e of r){const t=this.#Lt(e.minX,e.minY),a=this.#Lt(e.maxX,e.maxY),n=(a-t)%qf,s=Math.floor((a-t)/qf);for(let a=t;a<=t+s*qf;a+=qf)for(let t=0;t<=n;t++)(this.#Dt[a+t]??=[]).push(e)}}#Lt(e,t){return Math.floor((e-this.#Mt)*this.#Et)+Math.floor((t-this.#Pt)*this.#zt)*qf}addGlyph(e,t,a,n){const s=e[4]+t/2,r=e[5]+a/2;if(sthis.#Nt||r>this.#_t)return;const i=this.#Dt[this.#Lt(s,r)];if(i)for(const e of i)e.addGlyph(s,r,n)}addExtraChar(e){for(const t of this.#Bt)t.addExtraChar(e)}setText(){for(const e of this.#Bt)e.setText()}}class Word64{constructor(e,t){this.high=0|e;this.low=0|t}and(e){this.high&=e.high;this.low&=e.low}xor(e){this.high^=e.high;this.low^=e.low}shiftRight(e){if(e>=32){this.low=this.high>>>e-32|0;this.high=0}else{this.low=this.low>>>e|this.high<<32-e;this.high=this.high>>>e|0}}rotateRight(e){let t,a;if(32&e){a=this.low;t=this.high}else{t=this.low;a=this.high}e&=31;this.low=t>>>e|a<<32-e;this.high=a>>>e|t<<32-e}not(){this.high=~this.high;this.low=~this.low}add(e){const t=(this.low>>>0)+(e.low>>>0);let a=(this.high>>>0)+(e.high>>>0);t>4294967295&&(a+=1);this.low=0|t;this.high=0|a}copyTo(e,t){e[t]=this.high>>>24&255;e[t+1]=this.high>>16&255;e[t+2]=this.high>>8&255;e[t+3]=255&this.high;e[t+4]=this.low>>>24&255;e[t+5]=this.low>>16&255;e[t+6]=this.low>>8&255;e[t+7]=255&this.low}assign(e){this.high=e.high;this.low=e.low}}const vf={get k(){return shadow(this,"k",[new Word64(1116352408,3609767458),new Word64(1899447441,602891725),new Word64(3049323471,3964484399),new Word64(3921009573,2173295548),new Word64(961987163,4081628472),new Word64(1508970993,3053834265),new Word64(2453635748,2937671579),new Word64(2870763221,3664609560),new Word64(3624381080,2734883394),new Word64(310598401,1164996542),new Word64(607225278,1323610764),new Word64(1426881987,3590304994),new Word64(1925078388,4068182383),new Word64(2162078206,991336113),new Word64(2614888103,633803317),new Word64(3248222580,3479774868),new Word64(3835390401,2666613458),new Word64(4022224774,944711139),new Word64(264347078,2341262773),new Word64(604807628,2007800933),new Word64(770255983,1495990901),new Word64(1249150122,1856431235),new Word64(1555081692,3175218132),new Word64(1996064986,2198950837),new Word64(2554220882,3999719339),new Word64(2821834349,766784016),new Word64(2952996808,2566594879),new Word64(3210313671,3203337956),new Word64(3336571891,1034457026),new Word64(3584528711,2466948901),new Word64(113926993,3758326383),new Word64(338241895,168717936),new Word64(666307205,1188179964),new Word64(773529912,1546045734),new Word64(1294757372,1522805485),new Word64(1396182291,2643833823),new Word64(1695183700,2343527390),new Word64(1986661051,1014477480),new Word64(2177026350,1206759142),new Word64(2456956037,344077627),new Word64(2730485921,1290863460),new Word64(2820302411,3158454273),new Word64(3259730800,3505952657),new Word64(3345764771,106217008),new Word64(3516065817,3606008344),new Word64(3600352804,1432725776),new Word64(4094571909,1467031594),new Word64(275423344,851169720),new Word64(430227734,3100823752),new Word64(506948616,1363258195),new Word64(659060556,3750685593),new Word64(883997877,3785050280),new Word64(958139571,3318307427),new Word64(1322822218,3812723403),new Word64(1537002063,2003034995),new Word64(1747873779,3602036899),new Word64(1955562222,1575990012),new Word64(2024104815,1125592928),new Word64(2227730452,2716904306),new Word64(2361852424,442776044),new Word64(2428436474,593698344),new Word64(2756734187,3733110249),new Word64(3204031479,2999351573),new Word64(3329325298,3815920427),new Word64(3391569614,3928383900),new Word64(3515267271,566280711),new Word64(3940187606,3454069534),new Word64(4118630271,4000239992),new Word64(116418474,1914138554),new Word64(174292421,2731055270),new Word64(289380356,3203993006),new Word64(460393269,320620315),new Word64(685471733,587496836),new Word64(852142971,1086792851),new Word64(1017036298,365543100),new Word64(1126000580,2618297676),new Word64(1288033470,3409855158),new Word64(1501505948,4234509866),new Word64(1607167915,987167468),new Word64(1816402316,1246189591)])}};function ch(e,t,a,n,s){e.assign(t);e.and(a);s.assign(t);s.not();s.and(n);e.xor(s)}function maj(e,t,a,n,s){e.assign(t);e.and(a);s.assign(t);s.and(n);e.xor(s);s.assign(a);s.and(n);e.xor(s)}function sigma(e,t,a){e.assign(t);e.rotateRight(28);a.assign(t);a.rotateRight(34);e.xor(a);a.assign(t);a.rotateRight(39);e.xor(a)}function sigmaPrime(e,t,a){e.assign(t);e.rotateRight(14);a.assign(t);a.rotateRight(18);e.xor(a);a.assign(t);a.rotateRight(41);e.xor(a)}function littleSigma(e,t,a){e.assign(t);e.rotateRight(1);a.assign(t);a.rotateRight(8);e.xor(a);a.assign(t);a.shiftRight(7);e.xor(a)}function littleSigmaPrime(e,t,a){e.assign(t);e.rotateRight(19);a.assign(t);a.rotateRight(61);e.xor(a);a.assign(t);a.shiftRight(6);e.xor(a)}function calculateSHA512(e,t,a,n=!1){let s,r,i,o,l,f,c,h;if(n){s=new Word64(3418070365,3238371032);r=new Word64(1654270250,914150663);i=new Word64(2438529370,812702999);o=new Word64(355462360,4144912697);l=new Word64(1731405415,4290775857);f=new Word64(2394180231,1750603025);c=new Word64(3675008525,1694076839);h=new Word64(1203062813,3204075428)}else{s=new Word64(1779033703,4089235720);r=new Word64(3144134277,2227873595);i=new Word64(1013904242,4271175723);o=new Word64(2773480762,1595750129);l=new Word64(1359893119,2917565137);f=new Word64(2600822924,725511199);c=new Word64(528734635,4215389547);h=new Word64(1541459225,327033209)}const u=128*Math.ceil((a+17)/128),m=new Uint8Array(u);let p,d;for(p=0;p>>29&255;m[p++]=a>>21&255;m[p++]=a>>13&255;m[p++]=a>>5&255;m[p++]=a<<3&255;const b=new Array(80);for(p=0;p<80;p++)b[p]=new Word64(0,0);const{k:w}=vf;let j=new Word64(0,0),k=new Word64(0,0),y=new Word64(0,0),q=new Word64(0,0),v=new Word64(0,0),S=new Word64(0,0),x=new Word64(0,0),C=new Word64(0,0);const F=new Word64(0,0),T=new Word64(0,0),O=new Word64(0,0),R=new Word64(0,0);let H,D;for(p=0;p>>t|e<<32-t}function calculate_sha256_ch(e,t,a){return e&t^~e&a}function calculate_sha256_maj(e,t,a){return e&t^e&a^t&a}function calculate_sha256_sigma(e){return rotr(e,2)^rotr(e,13)^rotr(e,22)}function calculate_sha256_sigmaPrime(e){return rotr(e,6)^rotr(e,11)^rotr(e,25)}function calculate_sha256_littleSigma(e){return rotr(e,7)^rotr(e,18)^e>>>3}function calculate_sha256_littleSigmaPrime(e){return rotr(e,17)^rotr(e,19)^e>>>10}function calculateSHA256(e,t,a){let n=1779033703,s=3144134277,r=1013904242,i=2773480762,o=1359893119,l=2600822924,f=528734635,c=1541459225;const h=64*Math.ceil((a+9)/64),u=new Uint8Array(h);let m,p;for(m=0;m>>29&255;u[m++]=a>>21&255;u[m++]=a>>13&255;u[m++]=a>>5&255;u[m++]=a<<3&255;const g=new Uint32Array(64),{k:b}=Sf;for(m=0;m>24&255,n>>16&255,n>>8&255,255&n,s>>24&255,s>>16&255,s>>8&255,255&s,r>>24&255,r>>16&255,r>>8&255,255&r,i>>24&255,i>>16&255,i>>8&255,255&i,o>>24&255,o>>16&255,o>>8&255,255&o,l>>24&255,l>>16&255,l>>8&255,255&l,f>>24&255,f>>16&255,f>>8&255,255&f,c>>24&255,c>>16&255,c>>8&255,255&c])}class DecryptStream extends DecodeStream{#Ut=null;constructor(e,t,a){super(t);this.stream=e;this.dict=e.dict;this.decrypt=a}readBlock(){let e=this.#Ut??this.stream.getBytes(512);if(!e?.length){this.eof=!0;return}this.#Ut=this.stream.getBytes(512);const t=this.#Ut?.length>0;e=(0,this.decrypt)(e,!t);const a=this.bufferLength,n=a+e.length;this.ensureBuffer(n).set(e,a);this.bufferLength=n}getOriginalStream(){return this}}class ARCFourCipher{a=0;b=0;constructor(e){const t=new Uint8Array(256),a=e.length;for(let e=0;e<256;++e)t[e]=e;for(let n=0,s=0;n<256;++n){const r=t[n];s=s+r+e[n%a]&255;t[n]=t[s];t[s]=r}this.s=t}encryptBlock(e){let t=this.a,a=this.b;const n=this.s,s=e.length,r=new Uint8Array(s);for(let i=0;it<128?t<<1:t<<1^27);constructor(){this.buffer=new Uint8Array(16);this.bufferPosition=0}_expandKey(e){unreachable("Cannot call `_expandKey` on the base class")}_decrypt(e,t){let a,n,s;const r=new Uint8Array(16);r.set(e);for(let e=0,a=this._keySize;e<16;++e,++a)r[e]^=t[a];for(let e=this._cyclesOfRepetition-1;e>=1;--e){a=r[13];r[13]=r[9];r[9]=r[5];r[5]=r[1];r[1]=a;a=r[14];n=r[10];r[14]=r[6];r[10]=r[2];r[6]=a;r[2]=n;a=r[15];n=r[11];s=r[7];r[15]=r[3];r[11]=a;r[7]=n;r[3]=s;for(let e=0;e<16;++e)r[e]=this._inv_s[r[e]];for(let a=0,n=16*e;a<16;++a,++n)r[a]^=t[n];for(let e=0;e<16;e+=4){const t=this._mix[r[e]],n=this._mix[r[e+1]],s=this._mix[r[e+2]],i=this._mix[r[e+3]];a=t^n>>>8^n<<24^s>>>16^s<<16^i>>>24^i<<8;r[e]=a>>>24&255;r[e+1]=a>>16&255;r[e+2]=a>>8&255;r[e+3]=255&a}}a=r[13];r[13]=r[9];r[9]=r[5];r[5]=r[1];r[1]=a;a=r[14];n=r[10];r[14]=r[6];r[10]=r[2];r[6]=a;r[2]=n;a=r[15];n=r[11];s=r[7];r[15]=r[3];r[11]=a;r[7]=n;r[3]=s;for(let e=0;e<16;++e){r[e]=this._inv_s[r[e]];r[e]^=t[e]}return r}_encrypt(e,t){const a=this._s;let n,s,r;const i=new Uint8Array(16);i.set(e);for(let e=0;e<16;++e)i[e]^=t[e];for(let e=1;e=n;--a)if(e[a]!==t){t=0;break}o-=t;r[r.length-1]=e.subarray(0,16-t)}}const l=new Uint8Array(o);for(let e=0,t=0,a=r.length;e=256&&(o=255&(27^o))}for(let t=0;t<4;++t){a[e]=n^=a[e-32];e++;a[e]=s^=a[e-32];e++;a[e]=r^=a[e-32];e++;a[e]=i^=a[e-32];e++}}return a}}class PDFBase{_hash(e,t,a){unreachable("Abstract method `_hash` called")}checkOwnerPassword(e,t,a,n){const s=new Uint8Array(e.length+56);s.set(e,0);s.set(t,e.length);s.set(a,e.length+t.length);return isArrayEqual(this._hash(e,s,a),n)}checkUserPassword(e,t,a){const n=new Uint8Array(e.length+8);n.set(e,0);n.set(t,e.length);return isArrayEqual(this._hash(e,n,[]),a)}getOwnerKey(e,t,a,n){const s=new Uint8Array(e.length+56);s.set(e,0);s.set(t,e.length);s.set(a,e.length+t.length);const r=this._hash(e,s,a);return new AES256Cipher(r).decryptBlock(n,!1,new Uint8Array(16))}getUserKey(e,t,a){const n=new Uint8Array(e.length+8);n.set(e,0);n.set(t,e.length);const s=this._hash(e,n,[]);return new AES256Cipher(s).decryptBlock(a,!1,new Uint8Array(16))}}class PDF17 extends PDFBase{_hash(e,t,a){return calculateSHA256(t,0,t.length)}}class PDF20 extends PDFBase{_hash(e,t,a){let n=calculateSHA256(t,0,t.length).subarray(0,32),s=[0],r=0;for(;r<64||s.at(-1)>r-32;){const t=e.length+n.length+a.length,i=new Uint8Array(t);let o=0;i.set(e,o);o+=e.length;i.set(n,o);o+=n.length;i.set(a,o);const l=new Uint8Array(64*t);for(let e=0,a=0;e<64;e++,a+=t)l.set(i,a);s=new AES128Cipher(n.subarray(0,16)).encrypt(l,n.subarray(16,32));const f=Math.sumPrecise(s.slice(0,16))%3;0===f?n=calculateSHA256(s,0,s.length):1===f?n=calculateSHA384(s,0,s.length):2===f&&(n=calculateSHA512(s,0,s.length));r++}return n.subarray(0,32)}}class CipherTransform{#Xt=new Map;embeddedFilterName=null;constructor(e,t=null,a=null){this.resolveCipher=e;this.streamFilterName=a;this.stringFilterName=t}#Wt(e=null){const t=e instanceof Name?e.name:"__default__";return this.#Xt.getOrInsertComputed(t,()=>this.resolveCipher(e))}createStream(e,t,a=null){const n=this.embeddedFilterName&&isDict(e.dict,"EmbeddedFile")?this.embeddedFilterName:this.streamFilterName,s=new(this.#Wt(a||n));return new DecryptStream(e,t,function cipherTransformDecryptStream(e,t){return s.decryptBlock(e,t)})}decryptString(e){const t=new(this.#Wt(this.stringFilterName));let a=stringToBytes(e);a=t.decryptBlock(a,!0);return bytesToString(a)}encryptString(e){const t=new(this.#Wt(this.stringFilterName));if(t instanceof AESBaseCipher){const a=16-e.length%16;e+=String.fromCharCode(a).repeat(a);const n=new Uint8Array(16);crypto.getRandomValues(n);let s=stringToBytes(e);s=t.encrypt(s,n);const r=new Uint8Array(16+s.length);r.set(n);r.set(s,16);return bytesToString(r)}let a=stringToBytes(e);a=t.encrypt(a);return bytesToString(a)}}class CipherTransformFactory{#Kt;static get _defaultPasswordBytes(){return shadow(this,"_defaultPasswordBytes",new Uint8Array([40,191,78,94,78,117,138,65,100,0,78,86,255,250,1,8,46,46,0,182,208,104,62,128,47,12,169,254,100,83,105,122]))}#Gt(e,t,a,n,s,r,i,o,l,f,c,h){if(t){const e=Math.min(127,t.length);t=t.subarray(0,e)}else t=[];const u=6===e?new PDF20:new PDF17;return u.checkUserPassword(t,o,i)?u.getUserKey(t,l,c):t.length&&u.checkOwnerPassword(t,n,r,a)?u.getOwnerKey(t,s,r,f):null}#Vt(e,t,a,n,s,r,i,o){const l=40+a.length+e.length,f=new Uint8Array(l);let c,h,u=0;if(t){h=Math.min(32,t.length);for(;u>8&255;f[u++]=s>>16&255;f[u++]=s>>>24&255;f.set(e,u);u+=e.length;if(r>=4&&!o){f.fill(255,u,u+4);u+=4}let m=calculateMD5(f,0,u);const p=i>>3;if(r>=3)for(c=0;c<50;++c)m=calculateMD5(m,0,p);const d=m.subarray(0,p);let g,b;if(r>=3){u=0;f.set(CipherTransformFactory._defaultPasswordBytes,u);u+=32;f.set(e,u);u+=e.length;g=new ARCFourCipher(d);b=g.encryptBlock(calculateMD5(f,0,u));h=d.length;const t=new Uint8Array(h);for(c=1;c<=19;++c){for(let e=0;en[t]===e)?d:null}#$t(e,t,a,n){const s=new Uint8Array(32);let r=0;const i=Math.min(32,e.length);for(;r>3;if(a>=3)for(o=0;o<50;++o)l=calculateMD5(l,0,l.length);let c,h;if(a>=3){h=t;const e=new Uint8Array(f);for(o=19;o>=0;o--){for(let t=0;t>8&255;r[i++]=e>>16&255;r[i++]=255&t;r[i++]=t>>8&255;if(n){r[i++]=115;r[i++]=65;r[i++]=108;r[i++]=84}return calculateMD5(r,0,i).subarray(0,Math.min(s+5,16))}constructor(e,t,a){const n=e.get("Filter");if(!isName(n,"Standard"))throw new FormatError("unknown encryption method");this.filterName=n.name;this.dict=e;this.#Kt=t;const s=e.get("V");if(!Number.isInteger(s)||1!==s&&2!==s&&4!==s&&5!==s)throw new FormatError("unsupported encryption algorithm");this.algorithm=s;let r=e.get("Length");if(!r)if(s<=3)r=40;else{const t=e.get("CF"),a=e.get("StmF");if(t instanceof Dict&&a instanceof Name){t.suppressEncryption=!0;const e=t.get(a.name);r=e?.get("Length")||128;r<40&&(r<<=3)}}if(!Number.isInteger(r)||r<40||r%8!=0)throw new FormatError("invalid key length");let i=null,o=Name.get("Identity"),l=Name.get("Identity"),f=o;if(s>=4){i=e.get("CF");i instanceof Dict&&(i.suppressEncryption=!0);o=e.get("StmF")||Name.get("Identity");l=e.get("StrF")||Name.get("Identity");f=e.get("EFF")||o}this.cf=i;this.stmf=o;this.strf=l;this.eff=f;const c=stringToBytes(e.get("O")),h=stringToBytes(e.get("U")),u=c.subarray(0,32),m=h.subarray(0,32),p=e.get("P"),d=e.get("R"),g=(4===s||5===s)&&!1!==e.get("EncryptMetadata");this.encryptMetadata=g;const b=stringToBytes(t);let w,j;if(a){if(6===d)try{a=utf8StringToString(a)}catch{warn("CipherTransformFactory: Unable to convert UTF8 encoded password.")}w=stringToBytes(a)}if(5!==s)j=this.#Vt(b,w,u,m,p,d,r,g);else{const t=c.subarray(32,40),a=c.subarray(40,48),n=h.subarray(0,48),s=h.subarray(32,40),r=h.subarray(40,48),i=stringToBytes(e.get("OE")),o=stringToBytes(e.get("UE")),l=stringToBytes(e.get("Perms"));j=this.#Gt(d,w,u,t,a,n,m,s,r,i,o,l)}if(!j){if(!a){if(this.algorithm>=4&&isName(this.stmf,"Identity")&&isName(this.strf,"Identity")){const e=this.cf?.get(this.eff.name),t=e?.get("AuthEvent");if(isName(t,"EFOpen")){this.encryptionKey=null;return}}throw new PasswordException("No password given",aa)}const e=this.#$t(w,u,d,r);j=this.#Vt(b,e,u,m,p,d,r,g)}if(!j)throw new PasswordException("Incorrect Password",na);if(4===s&&j.length<16){this.encryptionKey=new Uint8Array(16);this.encryptionKey.set(j)}else this.encryptionKey=j}setPassword(e){const t=new CipherTransformFactory(this.dict,this.#Kt,e);this.encryptionKey=t.encryptionKey}createCipherTransform(e,t){if(4===this.algorithm||5===this.algorithm){const a=new CipherTransform(a=>{if(!(a instanceof Name))throw new FormatError("Invalid crypt filter name.");const n=this.cf.get(a.name),s=n?.get("CFM");if(!s||"None"===s.name)return NullCipher;if(!this.encryptionKey)throw new PasswordException("No password given",aa);if(5===this.algorithm)return AES256Cipher.bind(null,this.encryptionKey);if("V2"===s.name)return ARCFourCipher.bind(null,this.#Yt(e,t,this.encryptionKey,!1));if("AESV2"===s.name)return AES128Cipher.bind(null,this.#Yt(e,t,this.encryptionKey,!0));if("AESV3"===s.name)return AES256Cipher.bind(null,this.encryptionKey);throw new FormatError("Unknown crypto method")},this.strf,this.stmf);a.embeddedFilterName=this.eff;return a}return new CipherTransform(()=>ARCFourCipher.bind(null,this.#Yt(e,t,this.encryptionKey,!1)))}}class XRef{constructor(e,t){this.stream=e;this.pdfManager=t;this.entries=[];this._xrefStms=new Set;this._cacheMap=new Map;this._pendingRefs=new RefSet;this._newPersistentRefNum=null;this._newTemporaryRefNum=null;this._persistentRefsCache=null}getNewPersistentRef(e){null===this._newPersistentRefNum&&(this._newPersistentRefNum=this.entries.length||1);const t=this._newPersistentRefNum++;this._cacheMap.set(t,e);return Ref.get(t,0)}getNewTemporaryRef(){if(null===this._newTemporaryRefNum){this._newTemporaryRefNum=this.entries.length||1;if(this._newPersistentRefNum){this._persistentRefsCache=new Map;for(let e=this._newTemporaryRefNum;e0;){const[i,o]=r;if(!Number.isInteger(i)||!Number.isInteger(o))throw new FormatError(`Invalid XRef range fields: ${i}, ${o}`);if(!Number.isInteger(a)||!Number.isInteger(n)||!Number.isInteger(s))throw new FormatError(`Invalid XRef entry fields length: ${i}, ${o}`);for(let r=t.entryNum;r=e.length);){a+=String.fromCharCode(n);n=e[t]}return a}function skipUntil(e,t,a){const n=a.length,s=e.length;let r=0;for(;t=n)break;t++;r++}return r}const e=/\b(endobj|\d+\s+\d+\s+obj|xref|trailer\s*<<)\b/g,t=/\b(startxref|\d+\s+\d+\s+obj)\b/g,a=/^(\d+)\s+(\d+)\s+obj\b/,n=new Uint8Array([116,114,97,105,108,101,114]),s=new Uint8Array([115,116,97,114,116,120,114,101,102]),r=new Uint8Array([47,88,82,101,102]);this.entries.length=0;this._cacheMap.clear();const i=this.stream;i.pos=0;const o=i.getBytes(),l=bytesToString(o),f=o.length;let c=i.start;const h=[],u=[];for(;c=f)break;m=o[c]}while(10!==m&&13!==m);continue}const p=readToken(o,c);let d;if(p.startsWith("xref")&&(4===p.length||/\s/.test(p[4]))){c+=skipUntil(o,c,n);h.push(c);c+=skipUntil(o,c,s)}else if(d=a.exec(p)){const t=0|d[1],a=0|d[2],n=c+p.length;let s,h=!1;if(this.entries[t]){if(this.entries[t].gen===a)try{new Parser({lexer:new Lexer(i.makeSubStream(n))}).getObj();h=!0}catch(e){e instanceof ParserEOFException?warn(`indexObjects -- checking object (${p}): "${e}".`):h=!0}}else h=!0;h&&(this.entries[t]={offset:c-i.start,gen:a,uncompressed:!0});e.lastIndex=n;const m=e.exec(l);if(m){s=e.lastIndex+1-c;if("endobj"!==m[1]){warn(`indexObjects: Found "${m[1]}" inside of another "obj", caused by missing "endobj" -- trying to recover.`);s-=m[1].length+1}}else s=f-c;const g=o.subarray(c,c+s),b=skipUntil(g,0,r);if(b0&&t[3]-t[1]>0)return t;warn(`Empty, or invalid, /${e} entry.`)}return null}get mediaBox(){return shadow(this,"mediaBox",this.getBoundingBox("MediaBox")||Af)}get cropBox(){return shadow(this,"cropBox",this.getBoundingBox("CropBox")||this.mediaBox)}get userUnit(){const e=this.pageDict.get("UserUnit");return shadow(this,"userUnit","number"==typeof e&&e>0?e:1)}get view(){const{cropBox:e,mediaBox:t}=this;if(e!==t&&!isArrayEqual(e,t)){const a=Util.intersect(e,t);if(a&&a[2]-a[0]>0&&a[3]-a[1]>0)return shadow(this,"view",a);warn("Empty /CropBox and /MediaBox intersection.")}return shadow(this,"view",t)}get rotate(){let e=this.#Zt("Rotate")||0;e%90!=0?e=0:e>=360?e%=360:e<0&&(e=(e%360+360)%360);return shadow(this,"rotate",e)}#ea(e,t){if(!this.evaluatorOptions.ignoreErrors)throw e;warn(`getContentStream - ignoring sub-stream (${t}): "${e}".`)}async getContentStream(){const e=await this.pdfManager.ensure(this,"content");if(e instanceof BaseStream&&!e.isImageStream){if(e.isAsync){const t=await e.asyncGetBytes();if(t)return new Stream(t,0,t.length,e.dict)}return e}if(Array.isArray(e)){const t=[];for(let a=0,n=e.length;a{t&&(e[a]=new Stream(t,0,t.length,n.dict))}))}t.length>0&&await Promise.all(t);return new StreamsSequenceStream(e,this.#ea.bind(this))}return new NullStream}get xfaData(){return shadow(this,"xfaData",this.xfaFactory?{bbox:this.xfaFactory.getBoundingBox(this.pageIndex)}:null)}async#ta(e,t,a){const n=[];for(const s of e)if(s.id){const e=Ref.fromString(s.id);if(!e){warn(`A non-linked annotation cannot be modified: ${s.id}`);continue}if(s.deleted){t.put(e,e);if(s.popupRef){const e=Ref.fromString(s.popupRef);e&&t.put(e,e)}continue}if(s.popup?.deleted){const e=Ref.fromString(s.popupRef);e&&t.put(e,e)}a?.put(e);s.ref=e;n.push(this.xref.fetchAsync(e).then(e=>{e instanceof Dict&&(s.oldAnnotation=e.clone())},()=>{warn(`Cannot fetch \`oldAnnotation\` for: ${e}.`)}));delete s.id}await Promise.all(n)}async saveNewAnnotations(e,t,a,n,s){if(this.xfaFactory)throw new Error("XFA: Cannot save new annotations.");const r=this.#Qt(e),i=new RefSetCache,o=new RefSet;await this.#ta(a,i,o);const l=this.pageDict,f=this.annotations.filter(e=>!(e instanceof Ref&&i.has(e))),c=await AnnotationFactory.saveNewAnnotations(r,this.xref,t,a,n,s);for(const{ref:e}of c.annotations)e instanceof Ref&&!o.has(e)&&f.push(e);const h=l.clone();h.set("Annots",f);s.put(this.ref,{data:h});for(const e of i)s.put(e,{data:null})}async save(e,t,a,n){const s=this.#Qt(e),r=await this._parsedAnnotations,i=[];for(const e of r)i.push(e.save(s,t,a,n).catch(function(e){warn(`save - ignoring annotation data during "${t.name}" task: "${e}".`);return null}));return Promise.all(i)}async loadResources(e){await(this.#Jt??=this.pdfManager.ensure(this,"resources"));await ObjectLoader.load(this.resources,e,this.xref)}async#aa(e,t){const a=e?.get("Resources");if(!(a instanceof Dict&&a.size))return this.resources;await ObjectLoader.load(a,t,this.xref);return Dict.merge({xref:this.xref,dictArray:[a,this.resources],mergeSubDicts:!0})}async getOperatorList({handler:e,sink:t,task:a,intent:n,cacheKey:s,pageIndex:r=this.pageIndex,annotationStorage:i=null,modifiedIds:o=null}){const h=this.getContentStream(),d=this.loadResources(wa),b=this.#Qt(e,r),w=this.xfaFactory?null:getNewAnnotationsMap(i),j=w?.get(this.pageIndex);let k=Promise.resolve(null),y=null;if(j){const e=this.pdfManager.ensureDoc("annotationGlobals");let t;const n=new Set;for(const{bitmapId:e,bitmap:t}of j)!e||t||n.has(e)||n.add(e);const{isOffscreenCanvasSupported:s}=this.evaluatorOptions;if(n.size>0){const e=j.slice();for(const[t,a]of i)t.startsWith(g)&&a.bitmap&&n.has(a.bitmapId)&&e.push(a);t=AnnotationFactory.generateImages(e,this.xref,s)}else t=AnnotationFactory.generateImages(j,this.xref,s);y=new RefSet;k=Promise.all([e,this.#ta(j,y,null)]).then(([e])=>e?AnnotationFactory.printNewAnnotations(e,b,a,j,t):null)}const q=Promise.all([h,d]).then(async([i])=>{const o=await this.#aa(i.dict,wa),l=new OperatorList(n,t);e.send("StartRenderPage",{transparency:b.hasBlendModes(o,this.nonBlendModesSet),pageIndex:r,cacheKey:s});await b.getOperatorList({stream:i,task:a,resources:o,operatorList:l});return l});let[v,S,x]=await Promise.all([q,this._parsedAnnotations,k]);if(x){S=S.filter(e=>!(e.ref&&y.has(e.ref)));for(let e=0,t=x.length;ee.ref&&isRefsEqual(e.ref,a.refToReplace));if(n>=0){S.splice(n,1,a);x.splice(e--,1);t--}}}S=S.concat(x)}if(0===S.length||n&m){v.flush(!0);return{length:v.totalLength}}const C=!!(n&u),F=!!(n&p),T=!!(n&l),O=!!(n&f),R=!!(n&c),H=[];for(const e of S)(T||O&&e.mustBeViewed(i,C)&&e.mustBeViewedWhenEditing(F,o)||R&&e.mustBePrinted(i))&&H.push(e.getOperatorList(b,a,n,i).catch(function(e){warn(`getOperatorList - ignoring annotation data during "${a.name}" task: "${e}".`);return{opList:null,separateForm:!1,separateCanvas:!1}}));const D=await Promise.all(H);let M=!1,N=!1;for(const{opList:e,separateForm:t,separateCanvas:a}of D){v.addOpList(e);M||=t;N||=a}v.flush(!0,{form:M,canvas:N});return{length:v.totalLength}}async extractTextContent({handler:e,task:t,includeMarkedContent:a,disableNormalization:n,sink:s,intersector:r=null}){const i=this.getContentStream(),o=this.loadResources(ja),l=this.pdfManager.ensureCatalog("lang"),[f,,c]=await Promise.all([i,o,l]),h=await this.#aa(f.dict,ja);return this.#Qt(e).getTextContent({stream:f,task:t,resources:h,includeMarkedContent:a,disableNormalization:n,sink:s,viewBox:this.view,lang:c,intersector:r})}async getStructTree(){const e=await this.pdfManager.ensureCatalog("structTreeRoot");if(!e)return null;await this._parsedAnnotations;try{const t=await this.pdfManager.ensure(this,"_parseStructTree",[e]);return await this.pdfManager.ensure(t,"serializable")}catch(e){warn(`getStructTree: "${e}".`);return null}}_parseStructTree(e){const t=new StructTreePage(e,this.pageDict);t.parse(this.ref);return t}async getAnnotationsData(e,t,a){const n=await this._parsedAnnotations;if(0===n.length)return n;const s=[],r=[];let i;const o=!!(a&l),h=!!(a&f),u=!!(a&c),m=[];for(const a of n){const n=o||h&&a.viewable;(n||u&&a.printable)&&s.push(a.data);if(a.hasTextContent&&n){i??=this.#Qt(e);r.push(a.extractTextContent(i,t,[-1/0,-1/0,1/0,1/0]).catch(function(e){warn(`getAnnotationsData - ignoring textContent during "${t.name}" task: "${e}".`)}))}else a.overlaysTextContent&&n&&m.push(a)}if(m.length>0){const a=new Intersector(m);r.push(this.extractTextContent({handler:e,task:t,includeMarkedContent:!1,disableNormalization:!1,sink:null,intersector:a}).then(()=>{a.setText()}))}await Promise.all(r);return s}get annotations(){const e=this.#Zt("Annots");return shadow(this,"annotations",Array.isArray(e)?e:[])}get _parsedAnnotations(){return shadow(this,"_parsedAnnotations",this.pdfManager.ensure(this,"annotations").then(async e=>{if(0===e.length)return e;const[t,a]=await Promise.all([this.pdfManager.ensureDoc("annotationGlobals"),this.pdfManager.ensureDoc("fieldObjects")]);if(!t)return[];const n=a?.orphanFields,s=[];for(const a of e)s.push(AnnotationFactory.create(this.xref,a,t,this._localIdFactory,!1,n,null,this.ref).catch(function(e){warn(`_parsedAnnotations: "${e}".`);return null}));const r=[];let i,o;for(const e of await Promise.all(s))e&&(e instanceof WidgetAnnotation?(o||=[]).push(e):e instanceof PopupAnnotation?(i||=[]).push(e):r.push(e));o&&r.push(...o);i&&r.push(...i);return r}))}get jsActions(){return shadow(this,"jsActions",collectActions(this.xref,this.pageDict,he))}async collectAnnotationsByType(e,t,a,n,s){const{pageIndex:r}=this;if(Object.hasOwn(this,"_parsedAnnotations")){const e=await this._parsedAnnotations;for(const{data:t}of e)if(!a||a.has(t.annotationType)){t.pageIndex=r;n.push(Promise.resolve(t))}return}const i=await this.pdfManager.ensure(this,"annotations");let o;for(const l of i)n.push(AnnotationFactory.create(this.xref,l,s,this._localIdFactory,!1,null,a,this.ref).then(async a=>{if(!a)return null;a.data.pageIndex=r;if(a.hasTextContent&&a.viewable){o??=this.#Qt(e);await a.extractTextContent(o,t,[-1/0,-1/0,1/0,1/0])}return a.data}).catch(function(e){warn(`collectAnnotationsByType: "${e}".`);return null}))}}const xf=new Uint8Array([37,80,68,70,45]),Cf=new Uint8Array([115,116,97,114,116,120,114,101,102]),If=new Uint8Array([101,110,100,111,98,106]);function find(e,t,a=1024,n=!1){const s=t.length,r=e.peekBytes(a),i=r.length-s;if(i<=0)return!1;if(n){const a=s-1;let n=r.length-1;for(;n>=a;){let i=0;for(;i=s){e.pos+=n-a;return!0}n--}}else{let a=0;for(;a<=i;){let n=0;for(;n=s){e.pos+=a;return!0}a++}}return!1}class PDFDocument{#na=new Map;#sa=null;constructor(e,t){if(t.length<=0)throw new InvalidPDFException("The PDF file is empty, i.e. its size is zero bytes.");this.pdfManager=e;this.stream=t;this.xref=new XRef(t,e);const a={font:0};this._globalIdFactory=class{static getDocId(){return`g_${e.docId}`}static createFontId(){return"f"+ ++a.font}static createObjId(){unreachable("Abstract method `createObjId` called.")}static getPageObjId(){unreachable("Abstract method `getPageObjId` called.")}}}parse(e){this.xref.parse(e);this.catalog=new Catalog(this.pdfManager,this.xref)}get linearization(){let e=null;try{e=Linearization.create(this.stream)}catch(e){if(e instanceof MissingDataException)throw e;info(e)}return shadow(this,"linearization",e)}get startXRef(){const e=this.stream;let t=0;if(this.linearization){e.reset();if(find(e,If)){e.skip(6);let a=e.peekByte();for(;isWhiteSpace(a);){e.pos++;a=e.peekByte()}t=e.pos-e.start}}else{const a=1024,n=Cf.length;let s=!1,r=e.end;for(;!s&&r>0;){r-=a-n;r<0&&(r=0);e.pos=r;s=find(e,Cf,a,!0)}if(s){e.skip(9);let a;do{a=e.getByte()}while(isWhiteSpace(a));let n="";for(;a>=32&&a<=57;){n+=String.fromCharCode(a);a=e.getByte()}t=parseInt(n,10);isNaN(t)&&(t=0)}}return shadow(this,"startXRef",t)}checkHeader(){const e=this.stream;e.reset();if(!find(e,xf))return;e.moveStart();e.skip(xf.length);let t,a="";for(;(t=e.getByte())>32&&a.length<7;)a+=String.fromCharCode(t);da.test(a)?this.#sa=a:warn(`Invalid PDF header version: ${a}`)}parseStartXRef(){this.xref.setStartXRef(this.startXRef)}get numPages(){let e=0;e=this.catalog.hasActualNumPages?this.catalog.numPages:this.xfaFactory?this.xfaFactory.getNumPages():this.linearization?this.linearization.numPages:this.catalog.numPages;return shadow(this,"numPages",e)}#ra(e,t=0){return!!Array.isArray(e)&&e.every(e=>{if(!((e=this.xref.fetchIfRef(e))instanceof Dict))return!1;if(e.has("Kids")){if(++t>10){warn("#hasOnlyDocumentSignatures: maximum recursion depth reached");return!1}return this.#ra(e.get("Kids"),t)}const a=isName(e.get("FT"),"Sig"),n=e.get("Rect"),s=Array.isArray(n)&&n.every(e=>0===e);return a&&s})}get _xfaStreams(){const{acroForm:e}=this.catalog;if(!e)return null;const t=e.get("XFA"),a=new Map(["xdp:xdp","template","datasets","config","connectionSet","localeSet","stylesheet","/xdp:xdp"].map(e=>[e,null]));if(t instanceof BaseStream&&!t.isEmpty){a.set("xdp:xdp",t);return a}if(!Array.isArray(t)||0===t.length)return null;for(let e=0,n=t.length;ef.handleSetFont(n,[Name.get(e),1],null,c,t,u,a,s).catch(e=>{warn(`loadXfaFonts: "${e}".`);return null}),m=[];for(const[e,t]of s){const a=t.get("FontDescriptor");if(!(a instanceof Dict))continue;let n=a.get("FontFamily");n=n.replaceAll(/ +(\d)/g,"$1");const s={fontFamily:n,fontWeight:a.get("FontWeight"),italicAngle:-a.get("ItalicAngle")};validateCSSFont(s)&&m.push(parseFont(e,null,s))}await Promise.all(m);const p=this.xfaFactory.setFonts(h);if(!p)return;r.ignoreErrors=!0;m.length=0;h.length=0;const d=new Set;for(const e of p)getXfaFontName(`${e}-Regular`)||d.add(e);d.size&&p.push("PdfJS-Fallback");for(const e of p)if(!d.has(e))for(const t of[{name:"Regular",fontWeight:400,italicAngle:0},{name:"Bold",fontWeight:700,italicAngle:0},{name:"Italic",fontWeight:400,italicAngle:12},{name:"BoldItalic",fontWeight:700,italicAngle:12}]){const a=`${e}-${t.name}`;m.push(parseFont(a,getXfaFontDict(a),{fontFamily:e,fontWeight:t.fontWeight,italicAngle:t.italicAngle}))}await Promise.all(m);this.xfaFactory.appendFonts(h,d)}loadXfaResources(e,t){return Promise.all([this.#oa(e,t).catch(()=>{}),this.#ia()])}serializeXfaData(e){return this.xfaFactory?this.xfaFactory.serializeData(e):null}get version(){return this.catalog.version||this.#sa}get formInfo(){const e={hasFields:!1,hasAcroForm:!1,hasXfa:!1,hasSignatures:!1},{acroForm:t}=this.catalog;if(!t)return shadow(this,"formInfo",e);try{const a=t.get("Fields"),n=Array.isArray(a)&&a.length>0;e.hasFields=n;const s=t.get("XFA");e.hasXfa=Array.isArray(s)&&s.length>0||s instanceof BaseStream&&!s.isEmpty;const r=!!(1&t.get("SigFlags")),i=r&&this.#ra(a);e.hasAcroForm=n&&!i;e.hasSignatures=r}catch(e){if(e instanceof MissingDataException)throw e;warn(`Cannot fetch form information: "${e}".`)}return shadow(this,"formInfo",e)}get documentInfo(){const{catalog:e,formInfo:t,xref:a}=this,n={PDFFormatVersion:this.version,Language:e.lang,EncryptFilterName:a.encrypt?.filterName??null,IsLinearized:!!this.linearization,IsAcroFormPresent:t.hasAcroForm,IsXFAPresent:t.hasXfa,IsCollectionPresent:!!e.collection,IsSignaturesPresent:t.hasSignatures};let s;try{s=a.trailer.get("Info")}catch(e){if(e instanceof MissingDataException)throw e;info("The document information dictionary is invalid.")}if(!(s instanceof Dict))return shadow(this,"documentInfo",n);for(const[e,t]of s){switch(e){case"Title":case"Author":case"Subject":case"Keywords":case"Creator":case"Producer":case"CreationDate":case"ModDate":if("string"==typeof t){n[e]=stringToPDFString(t);continue}break;case"Trapped":if(t instanceof Name){n[e]=t;continue}break;default:let a;switch(typeof t){case"string":a=stringToPDFString(t);break;case"number":case"boolean":a=t;break;default:t instanceof Name&&(a=t)}if(void 0===a){warn(`Bad value, for custom key "${e}", in Info: ${t}.`);continue}n.Custom??=Object.create(null);n.Custom[e]=a;continue}warn(`Bad value, for key "${e}", in Info: ${t}.`)}return shadow(this,"documentInfo",n)}get fingerprints(){const e="\0".repeat(16);function validate(t){return"string"==typeof t&&16===t.length&&t!==e}const t=this.xref.trailer.get("ID");let a,n;if(Array.isArray(t)&&validate(t[0])){a=stringToBytes(t[0]);t[1]!==t[0]&&validate(t[1])&&(n=stringToBytes(t[1]))}else a=calculateMD5(this.stream.getByteRange(0,1024),0,1024);return shadow(this,"fingerprints",[a.toHex(),n?.toHex()??null])}async#la(e){const{catalog:t,linearization:a,xref:n}=this,s=Ref.get(a.objectNumberFirst,0);try{const e=await n.fetchAsync(s);if(e instanceof Dict){let a=e.getRaw("Type");a instanceof Ref&&(a=await n.fetchAsync(a));if(isName(a,"Page")||!e.has("Type")&&!e.has("Kids")&&e.has("Contents")){t.pageKidsCountCache.has(s)||t.pageKidsCountCache.put(s,1);t.pageIndexCache.has(s)||t.pageIndexCache.put(s,0);return[e,s]}}throw new FormatError("The Linearization dictionary doesn't point to a valid Page dictionary.")}catch(a){warn(`_getLinearizationPage: "${a.message}".`);return t.getPageDict(e)}}getPage(e){const t=this.#na.get(e);if(t)return t;const{catalog:a,linearization:n,xfaFactory:s}=this;let r;r=s?Promise.resolve([Dict.empty,null]):n?.pageFirst===e?this.#la(e):a.getPageDict(e);r=r.then(([t,n])=>new Page({pdfManager:this.pdfManager,xref:this.xref,pageIndex:e,pageDict:t,ref:n,globalIdFactory:this._globalIdFactory,fontCache:a.fontCache,builtInCMapCache:a.builtInCMapCache,standardFontDataCache:a.standardFontDataCache,globalColorSpaceCache:a.globalColorSpaceCache,globalImageCache:a.globalImageCache,systemFontCache:a.systemFontCache,nonBlendModesSet:a.nonBlendModesSet,xfaFactory:s}));this.#na.set(e,r);return r}async checkFirstPage(e=!1){if(!e)try{await this.getPage(0)}catch(e){if(e instanceof XRefEntryException){this.#na.delete(0);await this.cleanup();throw new XRefParseException}}}async checkLastPage(e=!1){const{catalog:t,pdfManager:a}=this;t.setActualNumPages();let n;try{await Promise.all([a.ensureDoc("xfaFactory"),a.ensureDoc("linearization"),a.ensureCatalog("numPages")]);if(this.xfaFactory)return;n=this.linearization?this.linearization.numPages:t.numPages;if(!Number.isInteger(n))throw new FormatError("Page count is not an integer.");if(n<=1)return;await this.getPage(n-1)}catch(s){this.#na.delete(n-1);await this.cleanup();if(s instanceof XRefEntryException&&!e)throw new XRefParseException;warn(`checkLastPage - invalid /Pages tree /Count: ${n}.`);let r;try{r=await t.getAllPageDicts(e)}catch(a){if(a instanceof XRefEntryException&&!e)throw new XRefParseException;t.setActualNumPages(1);return}for(const[e,[n,s]]of r){let r;if(n instanceof Error){r=Promise.reject(n);r.catch(()=>{})}else r=Promise.resolve(new Page({pdfManager:a,xref:this.xref,pageIndex:e,pageDict:n,ref:s,globalIdFactory:this._globalIdFactory,fontCache:t.fontCache,builtInCMapCache:t.builtInCMapCache,standardFontDataCache:t.standardFontDataCache,globalColorSpaceCache:this.globalColorSpaceCache,globalImageCache:t.globalImageCache,systemFontCache:t.systemFontCache,nonBlendModesSet:t.nonBlendModesSet,xfaFactory:null}));this.#na.set(e,r)}t.setActualNumPages(r.size)}}async fontFallback(e,t){const{catalog:a,pdfManager:n}=this;for(const s of await Promise.all(a.fontCache))if(s.loadedName===e){s.fallback(t,n.evaluatorOptions);return}}async cleanup(e=!1){return this.catalog?this.catalog.cleanup(e):clearGlobalCaches()}async#fa(e,t,a,n,s,r,i){const{xref:o}=this;if(!(a instanceof Ref)||r.has(a))return;r.put(a);const l=await o.fetchAsync(a);if(!(l instanceof Dict))return;let f=await l.getAsync("Subtype");f=f instanceof Name?f.name:null;if("Link"===f)return;if(l.has("T")){const t=stringToPDFString(await l.getAsync("T"));e=""===e?t:`${e}.${t}`}else{let a=l;for(;;){a=a.getRaw("Parent")||t;if(a instanceof Ref){if(r.has(a))break;a=await o.fetchAsync(a)}if(!(a instanceof Dict))break;if(a.has("T")){const t=stringToPDFString(await a.getAsync("T"));e=""===e?t:`${e}.${t}`;break}}}t&&!l.has("Parent")&&isName(l.get("Subtype"),"Widget")&&i.put(a,t);n.getOrInsertComputed(e,makeArr).push(AnnotationFactory.create(o,a,s,null,!0,i,null,null).then(e=>e?.getFieldObject()).catch(function(e){warn(`#collectFieldObjects: "${e}".`);return null}));if(!l.has("Kids"))return;const c=await l.getAsync("Kids");if(Array.isArray(c))for(const t of c)await this.#fa(e,a,t,n,s,r,i)}get fieldObjects(){return shadow(this,"fieldObjects",this.pdfManager.ensureDoc("formInfo").then(async e=>{if(!e.hasFields)return null;const t=await this.annotationGlobals;if(!t)return null;const{acroForm:a}=t,n=new RefSet,s=Object.create(null),r=new Map,i=new RefSetCache;for(const e of a.get("Fields"))await this.#fa("",null,e,r,t,n,i);const o=[];for(const[e,t]of r)o.push(Promise.all(t).then(t=>{(t=t.filter(e=>!!e)).length>0&&(s[e]=t)}));await Promise.all(o);return{allFields:objectSize(s)>0?s:null,orphanFields:i}}))}get hasJSActions(){return shadow(this,"hasJSActions",this.pdfManager.ensureDoc("_parseHasJSActions"))}async _parseHasJSActions(){const[e,t]=await Promise.all([this.pdfManager.ensureCatalog("jsActions"),this.pdfManager.ensureDoc("fieldObjects")]);return!!e||!!t?.allFields&&Object.values(t.allFields).some(e=>e.some(e=>null!==e.actions))}get calculationOrderIds(){const e=this.catalog.acroForm?.get("CO");if(!Array.isArray(e)||0===e.length)return shadow(this,"calculationOrderIds",null);const t=[];for(const a of e)a instanceof Ref&&t.push(a.toString());return shadow(this,"calculationOrderIds",t.length?t:null)}get annotationGlobals(){return shadow(this,"annotationGlobals",AnnotationFactory.createGlobals(this.pdfManager))}async toJSObject(e,t=!0){throw new Error("Not implemented: toJSObject")}}class BasePdfManager{constructor({docBaseUrl:e,docId:t,enableXfa:a,evaluatorOptions:n,handler:s,password:r}){this._docBaseUrl=function parseDocBaseUrl(e){if(e){const t=createValidAbsoluteUrl(e);if(t)return t.href;warn(`Invalid absolute docBaseUrl: "${e}".`)}return null}(e);this._docId=t;this._password=r;this.enableXfa=a;n.isOffscreenCanvasSupported&&=FeatureTest.isOffscreenCanvasSupported;n.isImageDecoderSupported&&=FeatureTest.isImageDecoderSupported;this.evaluatorOptions=Object.freeze(n);ImageResizer.setOptions(n);JpegStream.setOptions(n);OperatorList.setOptions(n);const i={...n,handler:s};IccColorSpace.setOptions(i);CmykICCBasedCS.setOptions(i);PDFFunctionFactory.setOptions(i);Pattern.setOptions(i);WasmImage.setOptions(i)}get docId(){return this._docId}get password(){return this._password}get docBaseUrl(){return this._docBaseUrl}ensureDoc(e,t){return this.ensure(this.pdfDocument,e,t)}ensureXRef(e,t){return this.ensure(this.pdfDocument.xref,e,t)}ensureCatalog(e,t){return this.ensure(this.pdfDocument.catalog,e,t)}async initDocument(e){await this.ensureDoc("checkHeader");await this.ensureDoc("parseStartXRef");await this.ensureDoc("parse",[e]);await this.ensureDoc("checkFirstPage",[e]);await this.ensureDoc("checkLastPage",[e])}getPage(e){return this.pdfDocument.getPage(e)}fontFallback(e,t){return this.pdfDocument.fontFallback(e,t)}cleanup(e=!1){return this.pdfDocument.cleanup(e)}async ensure(e,t,a){unreachable("Abstract method `ensure` called")}requestRange(e,t){unreachable("Abstract method `requestRange` called")}requestLoadedStream(e=!1){unreachable("Abstract method `requestLoadedStream` called")}sendProgressiveData(e){unreachable("Abstract method `sendProgressiveData` called")}updatePassword(e){this._password=e;this.pdfDocument.xref.encrypt?.setPassword(e)}terminate(e){unreachable("Abstract method `terminate` called")}}class LocalPdfManager extends BasePdfManager{constructor(e){super(e);const t=new Stream(e.source);this.pdfDocument=new PDFDocument(this,t);this._loadedStreamPromise=Promise.resolve(t)}async ensure(e,t,a){const n=e[t];return"function"==typeof n?n.apply(e,a):n}requestRange(e,t){return Promise.resolve()}requestLoadedStream(e=!1){return this._loadedStreamPromise}terminate(e){}}class NetworkPdfManager extends BasePdfManager{constructor(e){super(e);this.streamManager=new ChunkedStreamManager(e.source,{msgHandler:e.handler,length:e.length,disableAutoFetch:e.disableAutoFetch,rangeChunkSize:e.rangeChunkSize});this.pdfDocument=new PDFDocument(this,this.streamManager.getStream())}async ensure(e,t,a){try{const n=e[t];return"function"==typeof n?await n.apply(e,a):n}catch(n){if(!(n instanceof MissingDataException))throw n;await this.requestRange(n.begin,n.end);return this.ensure(e,t,a)}}requestRange(e,t){return this.streamManager.requestRange(e,t)}requestLoadedStream(e=!1){return this.streamManager.requestAllChunks(e)}sendProgressiveData(e){this.streamManager.onReceiveData({chunk:e})}terminate(e){this.streamManager.abort(e)}}const Ff=1,Tf=2,Of=1,Rf=2,Hf=3,Bf=4,Df=5,Mf=6,Nf=7,Pf=8;function onFn(){}function wrapReason(e){if(e instanceof AbortException||e instanceof InvalidPDFException||e instanceof PasswordException||e instanceof ResponseException||e instanceof UnknownErrorException)return e;e instanceof Error||"object"==typeof e&&null!==e||unreachable('wrapReason: Expected "reason" to be a (possibly cloned) Error.');switch(e.name){case"AbortException":return new AbortException(e.message);case"InvalidPDFException":return new InvalidPDFException(e.message);case"PasswordException":return new PasswordException(e.message,e.code);case"ResponseException":return new ResponseException(e.message,e.status,e.missing);case"UnknownErrorException":return new UnknownErrorException(e.message,e.details)}return new UnknownErrorException(e.message,e.toString())}class MessageHandler{#ca=new AbortController;constructor(e,t,a){this.sourceName=e;this.targetName=t;this.comObj=a;this.callbackId=1;this.streamId=1;this.streamSinks=Object.create(null);this.streamControllers=Object.create(null);this.callbackCapabilities=Object.create(null);this.actionHandler=Object.create(null);a.addEventListener("message",this.#ha.bind(this),{signal:this.#ca.signal})}#ha({data:e}){if(e.targetName!==this.sourceName)return;if(e.stream){this.#ua(e);return}if(e.callback){const t=e.callbackId,a=this.callbackCapabilities[t];if(!a)throw new Error(`Cannot resolve callback ${t}`);delete this.callbackCapabilities[t];if(e.callback===Ff)a.resolve(e.data);else{if(e.callback!==Tf)throw new Error("Unexpected callback case");a.reject(wrapReason(e.reason))}return}const t=this.actionHandler[e.action];if(!t)throw new Error(`Unknown action from worker: ${e.action}`);if(e.callbackId){const a=this.sourceName,n=e.sourceName,s=this.comObj;Promise.try(t,e.data).then(function(t){s.postMessage({sourceName:a,targetName:n,callback:Ff,callbackId:e.callbackId,data:t})},function(t){s.postMessage({sourceName:a,targetName:n,callback:Tf,callbackId:e.callbackId,reason:wrapReason(t)})});return}e.streamId?this.#ma(e):t(e.data)}on(e,t){const a=this.actionHandler;if(a[e])throw new Error(`There is already an actionName called "${e}"`);a[e]=t}send(e,t,a){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},a)}sendWithPromise(e,t,a){const n=this.callbackId++,s=Promise.withResolvers();this.callbackCapabilities[n]=s;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:n,data:t},a)}catch(e){s.reject(e)}return s.promise}sendWithStream(e,t,a,n){const s=this.streamId++,r=this.sourceName,i=this.targetName,o=this.comObj;return new ReadableStream({start:a=>{const l=Promise.withResolvers();this.streamControllers[s]={controller:a,startCall:l,pullCall:null,cancelCall:null,isClosed:!1};o.postMessage({sourceName:r,targetName:i,action:e,streamId:s,data:t,desiredSize:a.desiredSize},n);return l.promise},pull:e=>{const t=Promise.withResolvers();this.streamControllers[s].pullCall=t;o.postMessage({sourceName:r,targetName:i,stream:Mf,streamId:s,desiredSize:e.desiredSize});return t.promise},cancel:e=>{assert(e instanceof Error,"cancel must have a valid reason");const t=Promise.withResolvers();this.streamControllers[s].cancelCall=t;this.streamControllers[s].isClosed=!0;o.postMessage({sourceName:r,targetName:i,stream:Of,streamId:s,reason:wrapReason(e)});return t.promise}},a)}#ma(e){const t=e.streamId,a=this.sourceName,n=e.sourceName,s=this.comObj,r=this,i=this.actionHandler[e.action],o={enqueue(e,r=1,i){if(this.isCancelled)return;const o=this.desiredSize;this.desiredSize-=r;if(o>0&&this.desiredSize<=0){this.sinkCapability=Promise.withResolvers();this.ready=this.sinkCapability.promise}s.postMessage({sourceName:a,targetName:n,stream:Bf,streamId:t,chunk:e},i)},close(){if(!this.isCancelled){this.isCancelled=!0;s.postMessage({sourceName:a,targetName:n,stream:Hf,streamId:t});delete r.streamSinks[t]}},error(e){assert(e instanceof Error,"error must have a valid reason");if(!this.isCancelled){this.isCancelled=!0;s.postMessage({sourceName:a,targetName:n,stream:Df,streamId:t,reason:wrapReason(e)})}},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};o.sinkCapability.resolve();o.ready=o.sinkCapability.promise;this.streamSinks[t]=o;Promise.try(i,e.data,o).then(function(){s.postMessage({sourceName:a,targetName:n,stream:Pf,streamId:t,success:!0})},function(e){s.postMessage({sourceName:a,targetName:n,stream:Pf,streamId:t,reason:wrapReason(e)})})}#ua(e){const t=e.streamId,a=this.sourceName,n=e.sourceName,s=this.comObj,r=this.streamControllers[t],i=this.streamSinks[t];switch(e.stream){case Pf:e.success?r.startCall.resolve():r.startCall.reject(wrapReason(e.reason));break;case Nf:e.success?r.pullCall.resolve():r.pullCall.reject(wrapReason(e.reason));break;case Mf:if(!i){s.postMessage({sourceName:a,targetName:n,stream:Nf,streamId:t,success:!0});break}i.desiredSize<=0&&e.desiredSize>0&&i.sinkCapability.resolve();i.desiredSize=e.desiredSize;Promise.try(i.onPull||onFn).then(function(){s.postMessage({sourceName:a,targetName:n,stream:Nf,streamId:t,success:!0})},function(e){s.postMessage({sourceName:a,targetName:n,stream:Nf,streamId:t,reason:wrapReason(e)})});break;case Bf:assert(r,"enqueue should have stream controller");if(r.isClosed)break;r.controller.enqueue(e.chunk);break;case Hf:assert(r,"close should have stream controller");if(r.isClosed)break;r.isClosed=!0;r.controller.close();this.#pa(r,t);break;case Df:assert(r,"error should have stream controller");r.controller.error(wrapReason(e.reason));this.#pa(r,t);break;case Rf:e.success?r.cancelCall.resolve():r.cancelCall.reject(wrapReason(e.reason));this.#pa(r,t);break;case Of:if(!i)break;const o=wrapReason(e.reason);Promise.try(i.onCancel||onFn,o).then(function(){s.postMessage({sourceName:a,targetName:n,stream:Rf,streamId:t,success:!0})},function(e){s.postMessage({sourceName:a,targetName:n,stream:Rf,streamId:t,reason:wrapReason(e)})});i.sinkCapability.reject(o);i.isCancelled=!0;delete this.streamSinks[t];break;default:throw new Error("Unexpected stream case")}}async#pa(e,t){await Promise.allSettled([e.startCall?.promise,e.pullCall?.promise,e.cancelCall?.promise]);delete this.streamControllers[t]}destroy(){this.#ca?.abort();this.#ca=null}}async function writeObject(e,t,a,{encrypt:n=null,encryptRef:s=null}){const r=n&&s!==e?n.createCipherTransform(e.num,e.gen):null;a.push(`${e.num} ${e.gen} obj\n`);await writeValue(t,a,r);a.push("\nendobj\n")}async function writeDict(e,t,a){t.push("<<");for(const[n,s]of e.getRawEntries()){t.push(` /${escapePDFName(n)} `);await writeValue(s,t,a)}t.push(">>")}async function writeValue(e,t,a){if(e instanceof Name)t.push(`/${escapePDFName(e.name)}`);else if(e instanceof Ref)t.push(`${e.num} ${e.gen} R`);else if(Array.isArray(e)||ArrayBuffer.isView(e))await async function writeArray(e,t,a){t.push("[");for(let n=0,s=e.length;n=256)try{const e=new CompressionStream("deflate"),t=e.writable.getWriter();await t.ready;t.write(n).then(async()=>{await t.ready;await t.close()}).catch(()=>{});n=await new Response(e.readable).bytes();let a,o;if(r){if(!l){a=Array.isArray(r)?[Name.get("FlateDecode"),...r]:[Name.get("FlateDecode"),r];i&&(o=Array.isArray(i)?[null,...i]:[null,i])}}else a=Name.get("FlateDecode");a&&s.set("Filter",a);o&&s.set("DecodeParms",o)}catch(e){info(`writeStream - cannot compress data: "${e}".`)}let c=bytesToString(n);a&&(c=a.encryptString(c));s.set("Length",c.length);await writeDict(s,t,a);t.push(" stream\n",c,"\nendstream")}(e,t,a):null===e?t.push("null"):warn(`Unhandled value in writer: ${typeof e}, please file a bug.`)}function writeInt(e,t,a,n){for(let s=t+a-1;s>a-1;s--){n[s]=255&e;e>>=8}return a+t}function writeString(e,t,a){const n=e.length;for(let s=0;s1&&(r=a.documentElement.searchNode([s.at(-1)],0));r?r.childNodes=Array.isArray(n)?n.map(e=>new SimpleDOMNode("value",e)):[new SimpleDOMNode("#text",n)]:warn(`Node not found for path: ${t}`)}const n=[];a.documentElement.dump(n);return n.join("")}(n.fetchIfRef(t).getString(),a)}const s=new StringStream(e,new Dict(n));s.dict.setIfName("Type","EmbeddedFile");a.put(t,{data:s})}function getIndexes(e){const t=[];for(const{ref:a}of e)a.num===t.at(-2)+t.at(-1)?t[t.length-1]+=1:t.push(a.num,1);return t}function computeIDs(e,t,a){if(Array.isArray(t.fileIds)&&t.fileIds.length>0){const n=function computeMD5(e,t){const a=Math.floor(Date.now()/1e3),n=t.filename||"",s=[a.toString(),n,e.toString(),...t.infoMap.values()],r=Math.sumPrecise(s.map(e=>e.length)),i=new Uint8Array(r);let o=0;for(const e of s)o=writeString(e,o,i);return bytesToString(calculateMD5(i,0,i.length))}(e,t);a.set("ID",[t.fileIds[0]||n,n])}}async function incrementalUpdate({originalData:e,xrefInfo:t,changes:a,xref:n=null,hasXfa:s=!1,xfaDatasetsRef:r=null,hasXfaDatasetsEntry:i=!1,needAppearances:o,acroFormRef:l=null,acroForm:f=null,xfaData:c=null,useXrefStream:h=!1}){await async function updateAcroform({xref:e,acroForm:t,acroFormRef:a,hasXfa:n,hasXfaDatasetsEntry:s,xfaDatasetsRef:r,needAppearances:i,changes:o}){!n||s||r||warn("XFA - Cannot save it");if(!i&&(!n||!r||s))return;const l=t.clone();if(n&&!s){const e=t.get("XFA").slice();e.splice(2,0,"datasets");e.splice(3,0,r);l.set("XFA",e)}i&&l.set("NeedAppearances",!0);o.put(a,{data:l})}({xref:n,acroForm:f,acroFormRef:l,hasXfa:s,hasXfaDatasetsEntry:i,xfaDatasetsRef:r,needAppearances:o,changes:a});s&&updateXFA({xfaData:c,xfaDatasetsRef:r,changes:a,xref:n});const u=function getTrailerDict(e,t,a){const n=new Dict(null);n.setIfDefined("Prev",e?.startXRef);const s=e.newRef;if(a){t.put(s,{data:""});n.set("Size",s.num+1);n.setIfName("Type","XRef")}else n.set("Size",s.num);n.setIfDefined("Root",e?.rootRef);n.setIfDefined("Info",e?.infoRef);n.setIfDefined("Encrypt",e?.encryptRef);return n}(t,a,h),m=[],p=await async function writeChanges(e,t,a=[]){const n=[];for(const[s,{data:r,objStreamRef:i,index:o}]of e.items())if(i)n.push({ref:s,data:r,objStreamRef:i,index:o});else if(null!==r&&"string"!=typeof r){await writeObject(s,r,a,t);n.push({ref:s,data:a.join("")});a.length=0}else n.push({ref:s,data:r});return n.sort((e,t)=>e.ref.num-t.ref.num)}(a,n,m);let d=e.length;const g=e.at(-1);if(10!==g&&13!==g){m.push("\n");d+=1}for(const{data:e}of p)null!==e&&m.push(e);await(h?async function getXRefStreamTable(e,t,a,n,s){const r=[];let i=0,o=0;for(const{ref:e,data:n,objStreamRef:s,index:l}of a){let a;i=Math.max(i,t);if(s){a=l;r.push([2,s.num,a])}else if(null!==n){a=Math.min(e.gen,65535);r.push([1,t,a]);t+=n.length}else{a=Math.min(e.gen+1,65535);r.push([0,0,a])}o=Math.max(o,a)}n.set("Index",getIndexes(a));const l=[1,getSizeInBytes(i),getSizeInBytes(o)];n.set("W",l);computeIDs(t,e,n);const f=Math.sumPrecise(l),c=new Uint8Array(f*r.length),h=new Stream(c);h.dict=n;let u=0;for(const[e,t,a]of r){u=writeInt(e,l[0],u,c);u=writeInt(t,l[1],u,c);u=writeInt(a,l[2],u,c)}await writeObject(e.newRef,h,s,{});s.push("startxref\n",t.toString(),"\n%%EOF\n")}(t,d,p,u,m):async function getXRefTable(e,t,a,n,s){s.push("xref\n");const r=getIndexes(a);let i=0;for(const{ref:e,data:n}of a){if(e.num===r[i]){s.push(`${r[i]} ${r[i+1]}\n`);i+=2}if(null!==n){s.push(`${t.toString().padStart(10,"0")} ${Math.min(e.gen,65535).toString().padStart(5,"0")} n\r\n`);t+=n.length}else s.push(`0000000000 ${Math.min(e.gen+1,65535).toString().padStart(5,"0")} f\r\n`)}computeIDs(t,e,n);s.push("trailer\n");await writeDict(n,s,null);s.push("\nstartxref\n",t.toString(),"\n%%EOF\n")}(t,d,p,u,m));const b=e.length+Math.sumPrecise(m.map(e=>e.length)),w=new Uint8Array(b);w.set(e);let j=e.length;for(const e of m)j=writeString(e,j,w);return w}class PageData{constructor(e,t){this.page=e;this.documentData=t;this.annotations=null;this.pointingNamedDestinations=null;t.pagesMap.put(e.ref,this)}}class DocumentData{constructor(e){this.document=e;this.destinations=null;this.pageLabels=null;this.pagesMap=new RefSetCache;this.oldRefMapping=new RefSetCache;this.dedupNamedDestinations=new Map;this.usedNamedDestinations=new Set;this.postponedRefCopies=new RefSetCache;this.resourceStreamPromises=new Map;this.usedStructParents=new Set;this.oldStructParentMapping=new Map;this.structTreeRoot=null;this.parentTree=null;this.idTree=null;this.roleMap=null;this.classMap=null;this.namespaces=null;this.structTreeAF=null;this.structTreePronunciationLexicon=[];this.acroForm=null;this.acroFormDefaultAppearance="";this.acroFormDefaultResources=null;this.acroFormQ=0;this.hasSignatureAnnotations=!1;this.fieldToParent=new RefSetCache;this.outline=null;this.embeddedFiles=null}}class XRefWrapper{constructor(e,t){this.entries=e;this._getNewRef=t}getNewTemporaryRef(){return this._getNewRef()}fetchIfRef(e){return e instanceof Ref?this.fetch(e):e}fetch(e){if(!(e instanceof Ref))throw new Error("ref object is not a reference");return this.entries[e.num]}async fetchIfRefAsync(e){return e instanceof Ref?this.fetchAsync(e):e}async fetchAsync(e){return this.fetch(e)}}class PDFEditor{isSingleFile=!1;#da=null;#ga=null;#ba=new Map;currentDocument=null;oldPages=[];newPages=[];xref=[null];xrefWrapper=new XRefWrapper(this.xref,()=>this.newRef);newRefCount=1;namesDict=null;version="1.7";pageLabels=null;namedDestinations=new Map;parentTree=new Map;structTreeKids=[];idTree=new Map;classMap=new Dict;roleMap=new Dict;namespaces=new Map;structTreeAF=[];structTreePronunciationLexicon=[];fields=[];acroFormDefaultAppearance="";acroFormDefaultResources=null;acroFormNeedAppearances=!1;acroFormSigFlags=0;acroFormCalculationOrder=null;acroFormQ=0;outlineItems=null;embeddedFiles=new Map;constructor({useObjectStreams:e=!0,title:t="",author:a=""}={}){[this.rootRef,this.rootDict]=this.newDict;[this.infoRef,this.infoDict]=this.newDict;[this.pagesRef,this.pagesDict]=this.newDict;this.useObjectStreams=e;this.objStreamRefs=e?new Set:null;this.title=t;this.author=a}get newRef(){return Ref.get(this.newRefCount++,0)}get newDict(){const e=this.newRef;return[e,this.xref[e.num]=new Dict]}async#wa(e,t){const a=this.newRef;this.xref[a.num]=await this.#ja(e,!0,t);return a}cloneDict(e){const t=e.clone();t.xref=this.xrefWrapper;return t}async#ja(e,t,a,n=new RefSet){if(e instanceof Ref){const{currentDocument:{oldRefMapping:t}}=this,s=t.get(e);if(s)return s;const r=e;if("number"==typeof(e=await a.fetchAsync(r)))return e;if(e instanceof BaseStream&&this.#ka(e.dict))return this.#ya(r,e,a,n);const i=this.newRef;t.put(r,i);this.xref[i.num]=await this.#ja(e,!0,a,n);return i}const s=[],{currentDocument:{postponedRefCopies:r}}=this;if(Array.isArray(e)){t&&(e=e.slice());for(let t=0,i=e.length;te[t]=a):s.push(this.#ja(e[t],!0,a,n).then(a=>e[t]=a))}await Promise.all(s);return e}let i;if(e instanceof BaseStream){({dict:i}=e=e.getOriginalStream().clone());i.xref=this.xrefWrapper}else if(e instanceof Dict){t&&((e=e.clone()).xref=this.xrefWrapper);i=e}if(i){for(const[e,t]of i.getRawEntries()){const o=t instanceof Ref&&r.get(t);o?o.push(t=>i.set(e,t)):s.push(this.#ja(t,!0,a,n).then(t=>i.set(e,t)))}await Promise.all(s)}return e}#ka(e){const t=e.get("Subtype");return isName(t,"Image")||e.has("Length1")||isName(t,"Type1C")||isName(t,"CIDFontType0C")||isName(t,"OpenType")}#qa(e){const t=e.getOriginalStream();t.reset();return t.getBytes()}async#va(e){const t=[];await writeValue(e,t,null);return t.join("")}#Sa(e,t){const a=256,{length:n}=t,s=new MurmurHash3_64;s.update(e);s.update(`#${n}`);if(n<=1024)s.update(t);else{const e=Math.floor((n-a)/3);for(let r=0;r<4;r++){const i=Math.min(r*e,n-a);s.update(t.subarray(i,i+a))}}return s.hexdigest()}async#ya(e,t,a,n){const{currentDocument:{oldRefMapping:s,resourceStreamPromises:r}}=this;if(n.has(e)){let t=s.get(e);if(!t){t=this.newRef;s.put(e,t)}return t}const i=e.toString(),o=r.get(i);if(o)return o;const l=new RefSet(n);l.put(e);const f=Promise.resolve().then(async()=>{const n=await this.#ja(t,!0,a,l),r=s.get(e);if(r){this.xref[r.num]=n;return r}const i=await this.#Aa(n);s.put(e,i);return i});r.set(i,f);try{return await f}finally{r.get(i)===f&&r.delete(i)}}async#Aa(e){const t=await this.#va(e.dict),a=this.#qa(e),n=this.#Sa(t,a),s=this.#ba.getOrInsertComputed(n,makeArr);for(const e of s)if(e.dictStr===t&&isArrayEqual(this.#qa(e.stream),a))return e.ref;const r=this.newRef;this.xref[r.num]=e;s.push({ref:r,dictStr:t,stream:e});return r}async#xa(e,t,a,n,s,r,i,o=new RefSet){const{currentDocument:{pagesMap:l,oldRefMapping:f}}=this,c=t.getRaw("Pg");if(c instanceof Ref&&!l.has(c))return null;let h;const u=h=t.getRaw("K");if(u instanceof Ref){if(o.has(u))return null;h=await a.fetchAsync(u);Array.isArray(h)||(h=[u])}h=Array.isArray(h)?h:[h];const m=[],p=[];for(let t of h){const c=t instanceof Ref?t:null;if(c){if(o.has(c))continue;o.put(c);t=await a.fetchAsync(c)}if("number"==typeof t){m.push(t);continue}if(!(t instanceof Dict))continue;const h=t.getRaw("Pg");if(h instanceof Ref&&!l.has(h))continue;const u=t.get("Type");if(!u||isName(u,"StructElem")){let e=!1;if(c&&n.has(c)){if(!isName(t.get("S"),"Link"))continue;e=!0}const l=await this.#xa(c,t,a,n,s,r,i,o);if(l){p.push(m.length);m.push(l);c&&f.put(c,l);e&&this.xref[l.num].setIfName("S","Span")}continue}if(isName(u,"OBJR")){if(!c)continue;const t=f.get(c);if(!t)continue;const a=this.xref[t.num].getRaw("Obj");if(a instanceof Ref){const t=this.xref[a.num];if(t instanceof Dict&&!t.has("StructParent")&&e){const a=this.parentTree.size;this.parentTree.set(a,[f,e]);t.set("StructParent",a)}}m.push(t);continue}if(isName(u,"MCR")){const e=await this.#ja(c||t,!0,a);m.push(e);continue}if(c){const e=await this.#ja(c,!0,a);m.push(e)}}if(0!==h.length&&0===m.length)return null;const d=this.newRef,g=this.xref[d.num]=this.cloneDict(t);g.delete("ID");g.delete("C");g.delete("K");g.delete("P");g.delete("S");await this.#ja(g,!1,a);const b=t.get("C");if(b instanceof Name){const e=r.get(b.name);g.set("C",e?Name.get(e):b)}else if(Array.isArray(b)){const e=[];for(const t of b)if(t instanceof Name){const a=r.get(t.name);e.push(a?Name.get(a):t)}g.set("C",e)}const w=t.get("S");if(w instanceof Name){const e=i.get(w.name);g.set("S",e?Name.get(e):w)}const j=t.get("ID");if("string"==typeof j){const e=stringToPDFString(j,!1),t=s.get(e);g.set("ID",t?stringToAsciiOrUTF16BE(t):j)}let k=g.get("A");if(k){Array.isArray(k)||(k=[k]);for(let e of k){e=this.xrefWrapper.fetchIfRef(e);if(isName(e.get("O"),"Table")&&e.has("Headers")){const t=this.xrefWrapper.fetchIfRef(e.getRaw("Headers"));if(Array.isArray(t))for(let e=0,a=t.length;e1&&g.set("K",m);return d}#Ca({document:e,includePages:t,excludePages:a}){if(!e)return[];const compile=e=>{if(!e?.length)return null;const t=new Set,a=[];for(const n of e)Array.isArray(n)?a.push(n):t.add(n);return{indices:t,ranges:a}},matches=(e,{indices:t,ranges:a})=>t.has(e)||a.some(([t,a])=>e>=t&&e<=a),n=compile(t),s=compile(a),r=[];for(let t=0,a=e.numPages;t!(!e.document&&!e.image);for(let a=0;ae.insertAfter-t.insertAfter||e.i-t.i);if(0===a.length&&e.some(e=>hasContent(e)&&e.pageIndices)){const t=e.slice();let a=-1;for(const t of e)if(hasContent(t)&&t.pageIndices)for(const e of t.pageIndices)e>a&&(a=e);let s=0;for(const{i:e,insertAfter:r,count:i}of n){const n=Math.min(Math.max(r,-1)+s,a);for(let e=0;ee<=n)&&(t[e]={...a,pageIndices:a.pageIndices.map(e=>e>n?e+i:e)})}const o=[];for(let e=0;e{if(!hasContent(e)||e.pageIndices)return e;const a={...e,pageIndices:r[t]||[]};delete a.insertAfter;return a})}async extractPages(e,t,a,n,s){this.#ga=a;const r=[];let i=0;const reservePageSlot=e=>{if(!Number.isInteger(e)||e<0)throw new Error("extractPages: invalid page index.");if(void 0!==this.oldPages[e])throw new Error("extractPages: overlapping pageIndices.");this.oldPages[e]=null},o=(e=this.#Ia(e)).filter(e=>!!e.document);this.isSingleFile=1===o.length||o.length>0&&o.every(e=>e.document===o[0].document);const l=[];t&&(this.#da={handler:n,task:s,newAnnotationsByPage:getNewAnnotationsMap(t),imagesPromises:AnnotationFactory.generateImages(t.values(),this.xrefWrapper,!0)});const f=[];for(const t of e){const{document:e,image:a,includePages:n,excludePages:s,pageIndices:o}=t;if(a){if(o){i=-1;if(o.length>1)throw new Error("extractPages: too many pageIndices.")}let e;if(o?.length)e=o[0];else if(-1!==i)e=i++;else for(e=0;void 0!==this.oldPages[e];e++);reservePageSlot(e);f.push({image:a,slot:e});continue}if(!e)continue;o&&(i=-1);const c=this.#Ca({document:e,includePages:n,excludePages:s});if(o&&o.length>c.length)throw new Error("extractPages: too many pageIndices.");const h=new DocumentData(e);l.push(h);r.push(this.#Fa(h));let u=0;for(const t of c){let a;o&&(a=o[u++]);if(void 0===a)if(-1!==i)a=i++;else for(a=0;void 0!==this.oldPages[a];a++);reservePageSlot(a);r.push(e.getPage(t).then(e=>{this.oldPages[a]=new PageData(e,h)}))}}await Promise.all(r);for(let e=0,t=this.oldPages.length;e0?this.#Ma():null;for(let e=0,t=this.oldPages.length;ee.destinations=t),t.ensureCatalog("rawPageLabels").then(t=>e.pageLabels=t),t.ensureCatalog("structTreeRoot").then(t=>e.structTreeRoot=t),t.ensureCatalog("acroForm").then(t=>e.acroForm=t),t.ensureCatalog("documentOutlineForEditor").then(t=>e.outline=t),t.ensureCatalog("rawEmbeddedFiles").then(t=>e.embeddedFiles=t)]);const n=e.structTreeRoot;if(n){const t=n.dict,s=t.get("ParentTree");if(s){const t=new NumberTree(s,a);e.parentTree=t.getAll(!0)}const r=t.get("IDTree");if(r){const t=new NameTree(r,a);e.idTree=t.getAll(!0)}e.roleMap=t.get("RoleMap")||null;e.classMap=t.get("ClassMap")||null;let i=t.get("Namespaces")||null;i&&!Array.isArray(i)&&(i=[i]);e.namespaces=i;e.structTreeAF=t.get("AF")||null;e.structTreePronunciationLexicon=t.get("PronunciationLexicon")||null}}async#Ha(e){const{page:{xref:t,annotations:a},documentData:{pagesMap:n,destinations:s,usedNamedDestinations:r,fieldToParent:i}}=e;if(!a)return;const o=[];let l=[],f=0,{hasSignatureAnnotations:c}=e.documentData;for(const e of a){const a=f++;o.push(t.fetchIfRefAsync(e).then(async t=>{if(!isName(t.get("Subtype"),"Link")){if(isName(t.get("Subtype"),"Widget")){c||=isName(t.get("FT"),"Sig");const a=t.get("Parent")||null;t.delete("Parent");i.put(e,a)}l[a]=e;return}const o=t.get("A"),f=o instanceof Dict?o.get("D"):t.get("Dest");if(f&&(!Array.isArray(f)||f[0]instanceof Ref&&!n.has(f[0]))){if("string"==typeof f){const t=stringToPDFString(f,!0);if(s.has(t)){l[a]=e;r.add(t)}}}else l[a]=e}))}await Promise.all(o);l=l.filter(e=>!!e);e.annotations=l.length>0?l:null;e.documentData.hasSignatureAnnotations||=c}#Da(e){for(const{postponedRefCopies:t,pagesMap:a}of e)for(const e of a.keys())t.put(e,[])}#_a(e){for(const{postponedRefCopies:t,oldRefMapping:a}of e){for(const[e,n]of t.items()){const t=a.get(e);for(const e of n)e(t)}t.clear()}}#Xa(e,t,a=new RefSet){if(e instanceof Ref){if(!a.has(e)){a.put(e);this.#Xa(this.xref[e.num],t,a)}return}if(Array.isArray(e)){for(const n of e)this.#Xa(n,t,a);return}let n;e instanceof BaseStream?({dict:n}=e):e instanceof Dict&&(n=e);if(n){t(n);for(const e of n.getRawValues())this.#Xa(e,t,a)}}async#Ea(e){let t=0;const{parentTree:a}=this;for(let e=0,n=this.newPages.length;e{const l=e.get("StructParent")??e.get("StructParents");if("number"!=typeof l)return;i.add(l);let f=n.get(l);const c=f instanceof Ref?f:null;if(c){const e=o.fetch(c);Array.isArray(e)&&(f=e)}Array.isArray(f)&&f.every(e=>null===e)&&(f=null);if(!f){e.has("StructParent")?e.delete("StructParent"):e.delete("StructParents");return}let h=r.get(l);if(void 0===h){h=t++;r.set(l,h);a.set(h,[s,f])}e.has("StructParent")?e.set("StructParent",h):e.set("StructParents",h)},c)}const{structTreeKids:n,idTree:s,classMap:r,roleMap:i,namespaces:o,structTreeAF:l,structTreePronunciationLexicon:f}=this;for(const t of e){const{document:{xref:e},oldRefMapping:a,parentTree:c,usedStructParents:h,structTreeRoot:u,idTree:m,classMap:p,roleMap:d,namespaces:g,structTreeAF:b,structTreePronunciationLexicon:w}=t;if(!u)continue;this.currentDocument=t;const j=new RefSet;for(const[e,t]of c||[])!h.has(e)&&t instanceof Ref&&j.put(t);const k=new Map;for(const[e,t]of m||[]){let a=e;if(s.has(e))for(let t=1;;t++){const n=`${e}_${t}`;if(!s.has(n)){k.set(e,n);a=n;break}}s.set(a,t)}const y=new Map;if(p?.size>0)for(let[t,a]of p){a=await this.#ja(a,!0,e);if(r.has(t))for(let e=1;;e++){const a=`${t}_${e}`;if(!r.has(a)){y.set(t,a);t=a;break}}r.set(t,a)}const q=new Map;if(d?.size>0)for(const[e,t]of d){const a=i.get(e);if(a){if(a!==t)for(let a=1;;a++){const n=`${e}_${a}`;if(!i.has(n)){q.set(e,n);i.set(n,t);break}}}else i.set(e,t)}if(g?.length>0)for(const t of g){const a=await e.fetchIfRefAsync(t);let n=a.get("NS");if(!n||o.has(n))continue;n=stringToPDFString(n,!1);const s=await this.#ja(a,!0,e);o.set(n,s)}if(b)for(const t of b)l.push(await this.#ja(t,!0,e));if(w)for(const t of w)f.push(await this.#ja(t,!0,e));let v=u.dict.get("K");if(v){v=Array.isArray(v)?v:[v];for(let t of v){const a=t instanceof Ref?t:null;if(a&&j.has(a))continue;t=await e.fetchIfRefAsync(t);const s=await this.#xa(a,t,e,j,k,y,q);s&&n.push(s)}for(const[e,t]of m||[]){const n=t instanceof Ref&&a.get(t),r=k.get(e)||e;n?s.set(r,n):s.delete(r)}}}for(const[e,[t,n]]of a){if(!n){a.delete(e);continue}if(!Array.isArray(n)){const s=t.get(n);void 0===s?a.delete(e):a.set(e,s);continue}const s=n.map(e=>e instanceof Ref&&t.get(e)||null);0===s.length||s.every(e=>null===e)?a.delete(e):a.set(e,s)}this.currentDocument=null}#Ta(e){for(const t of e){if(!t.destinations)continue;const{destinations:e,pagesMap:a}=t,n=t.destinations=new Map;for(const[t,s]of Object.entries(e)){const e=s[0],r=e instanceof Ref&&a.get(e);if(r){(r.pointingNamedDestinations||=new Set).add(t);n.set(t,s)}}}}#Ba(){const{namedDestinations:e}=this,getUniqueDestinationName=t=>{if(!e.has(t))return t;for(let a=1;;a++){const n=`${t}_${a}`;if(!e.has(n))return n}};for(let t=0,a=this.oldPages.length;t{"string"==typeof n&&e.set(a,t.get(stringToPDFString(n,!0))||n)};for(const t of e){const e=this.xref[t.num];if(!isName(e.get("Subtype"),"Link"))continue;const a=e.get("A");if(a instanceof Dict&&a.has("D")){const e=a.get("D");fixDestination(a,"D",e);continue}const n=e.get("Dest");fixDestination(e,"Dest",n)}}#Oa(e){const collect=(e,t,a)=>{for(const n of e){"string"==typeof n.dest&&t?.has(n.dest)&&a.add(n.dest);n.items.length>0&&collect(n.items,t,a)}};for(const t of e){const{outline:e,destinations:a,usedNamedDestinations:n}=t;e?.length&&collect(e,a,n)}}#Ka(e,t){const{dest:a,action:n,url:s,unsafeUrl:r,attachment:i,setOCGState:o}=e;if(n||s||r||i||o)return!0;if(!a)return!1;if("string"==typeof a){const e=t.dedupNamedDestinations.get(a)||a;return this.namedDestinations.has(e)}return!!(Array.isArray(a)&&a[0]instanceof Ref)&&!!t.oldRefMapping.get(a[0])}#Ga(e,t){const a=[];for(const n of e){const e=this.#Ga(n.items,t),s=this.#Ka(n,t);(s||e.length>0)&&a.push({...n,dest:s?n.dest:null,rawDict:s?n.rawDict:null,items:e,_documentData:t})}return a}#La(e){const t=[];for(const a of e){const{outline:e}=a;e?.length&&t.push(...this.#Ga(e,a))}this.outlineItems=t.length>0?t:null}async#Va(e,t){const{dest:a,rawDict:n}=t,s=t._documentData;if(a){if("string"==typeof a){const t=s.dedupNamedDestinations.get(a)||a;e.set("Dest",stringToAsciiOrUTF16BE(t))}else if(Array.isArray(a)){const t=a.slice();t[0]instanceof Ref&&(t[0]=s.oldRefMapping.get(t[0])||t[0]);e.set("Dest",t)}return}const r=n?.get("A");if(r instanceof Dict){this.currentDocument=s;const t=await this.#wa(r,s.document.xref);this.currentDocument=null;e.set("A",t)}}async#$a(){const{outlineItems:e}=this;if(!e?.length)return;const[t,a]=this.newDict;a.setIfName("Type","Outlines");const assignRefs=e=>{for(const t of e){[t._ref]=this.newDict;t.items.length>0&&assignRefs(t.items)}};assignRefs(e);const fillItems=async(e,t)=>{let a=0;for(let n=0;n0&&r.set("Prev",e[n-1]._ref);n0){r.set("First",s.items[0]._ref);r.set("Last",s.items.at(-1)._ref);const e=await fillItems(s.items,s._ref);void 0!==s.count&&r.set("Count",s.count<0?-e:e);a+=void 0!==s.count&&s.count<0?1:e+1}else a+=1;await this.#Va(r,s);const i=(s.bold?2:0)|(s.italic?1:0);0!==i&&r.set("F",i);!s.color||0===s.color[0]&&0===s.color[1]&&0===s.color[2]||r.set("C",[s.color[0]/255,s.color[1]/255,s.color[2]/255])}return a},n=await fillItems(e,t);a.set("First",e[0]._ref);a.set("Last",e.at(-1)._ref);a.set("Count",n);this.rootDict.set("Outlines",t)}async#za(e){this.#Ya(e);this.#Ja(e);this.#Qa(e);await this.#Za(e);const t=this.fields;for(const a of e){let e=a.acroForm?.get("Fields")||null;!e&&a.fieldToParent.size>0&&(e=this.#en(a.fieldToParent,a.document.xref));if(Array.isArray(e)&&e.length>0){this.currentDocument=a;await this.#tn(t,e);this.currentDocument=null}}this.#an(e)}#Qa(e){let t=0,a=null;for(const n of e){const e=n.acroForm?.get("Q");if("number"==typeof e&&0!==e)if(a?.acroFormQ>0)n.acroFormQ=e;else if(0!==t){if(e!==t){a.acroFormQ||=t;n.acroFormQ=e;t=0}}else{t=e;a=n}}t>0&&(this.acroFormQ=t)}#Ya(e){let t=0,a=!1;for(const n of e){if(!n.acroForm)continue;const e=n.acroForm.get("SigFlags");"number"==typeof e&&n.hasSignatureAnnotations&&(t|=e);!0===n.acroForm.get("NeedAppearances")&&(a=!0)}this.acroFormSigFlags=t;this.acroFormNeedAppearances=a}#an(e){const t=[];for(const a of e){const e=a.acroForm?.get("CO")||null;if(!Array.isArray(e))continue;const{oldRefMapping:n}=a;for(const a of e){const e=a instanceof Ref&&n.get(a);e&&t.push(e)}}this.acroFormCalculationOrder=t.length>0?t:null}#Ja(e){let t=null,a=null;for(const n of e){const e=n.acroForm?.get("DA")||null;if(e&&"string"==typeof e)if(a?.acroFormDefaultAppearance)n.acroFormDefaultAppearance=e;else if(t){if(e!==t){a.acroFormDefaultAppearance||=t;n.acroFormDefaultAppearance=e;t=null}}else{t=e;a=n}}t&&(this.acroFormDefaultAppearance=t)}async#Za(e){let t=null,a=null,n=null;for(const s of e){const e=s.acroForm?.get("DR")||null;if(e&&e instanceof Dict)if(n?.acroFormDefaultResources)s.acroFormDefaultResources=e;else if(t){if(!deepCompare(t,e)){n.acroFormDefaultResources||=t;s.acroFormDefaultResources=e;t=null;a=null}}else{t=e;a=s.acroForm.getRaw("DR");n=s}}if(t){this.currentDocument=n;this.acroFormDefaultResources=await this.#ja(a,!0,n.document.xref);this.currentDocument=null}}#en(e,t){const a=[],n=new RefSet;for(const[s,r]of e){if(!r){a.push(s);continue}let e=r,i=r;for(;;){e=t.fetchIfRef(e)?.getRaw("Parent")||null;if(!e)break;i=e}if(i instanceof Ref&&!n.has(i)){a.push(i);n.put(i)}}return a}async#tn(e,t){const a=new RefSet,n=[{kids:t,newKids:e,pos:0,oldParentRef:null,parentRef:null,parent:null}],{document:{xref:s},oldRefMapping:r,fieldToParent:i,acroFormDefaultAppearance:o,acroFormDefaultResources:l,acroFormQ:f}=this.currentDocument,c=[],h=[];for(;n.length>0;){const e=n.at(-1),{kids:t,newKids:u,parent:m,pos:p}=e;if(p===t.length){n.pop();if(0===u.length||!m)continue;const t=this.xref[e.parentRef.num]=this.cloneDict(m);t.delete("Parent");t.delete("Kids");await this.#ja(t,!1,s);t.set("Kids",u);if(n.length>0){const a=n.at(-1);if(!a.parentRef&&a.oldParentRef){const e=a.parentRef=this.newRef;t.set("Parent",e);r.put(a.oldParentRef,e)}a.newKids.push(e.parentRef)}continue}const d=t[e.pos++];if(!(d instanceof Ref)||a.has(d))continue;a.put(d);const g=s.fetchIfRef(d);if(g.has("Kids")){const e=g.get("Kids");if(!Array.isArray(e))continue;n.push({kids:e,newKids:[],pos:0,oldParentRef:d,parentRef:null,parent:g});continue}if(!i.has(d))continue;const b=r.get(d);if(!b)continue;u.push(b);if(!e.parentRef&&e.oldParentRef){e.parentRef=this.newRef;r.put(e.oldParentRef,e.parentRef)}const w=this.xref[b.num];e.parentRef&&w.set("Parent",e.parentRef);o&&isName(w.get("FT"),"Tx")&&!w.has("DA")&&c.push(w);l&&!w.has("Kids")&&w.get("AP")instanceof Dict&&h.push(w);f&&!w.has("Q")&&w.set("Q",f)}for(const e of c){getInheritableProperty({dict:e,key:"DA"})||e.set("DA",o)}const u=new Map;for(const e of h){const t=e.get("AP");for(const[,e]of t){if(!(e instanceof BaseStream))continue;let t=e.dict.getRaw("Resources");if(!t){const t=await u.getOrInsertComputed(l,()=>this.#wa(l,s));e.dict.set("Resources",t);continue}t=s.fetchIfRef(t);for(const[e,a]of l.getRawEntries())if(!t.has(e)){let n=a;a instanceof Ref?n=await this.#ja(a,!0,s):(a instanceof Dict||a instanceof BaseStream||Array.isArray(a))&&(n=await u.getOrInsertComputed(a,()=>this.#wa(a,s)));t.set(e,n)}}}}async#Ra(){if(!this.isSingleFile)return;const e=this.oldPages.find(e=>!!e);if(!e)return;const{documentData:{document:t,pageLabels:a}}=e;if(!a)return;const n=t.numPages,s=new Map,r=new Set(this.oldPages.filter(e=>!!e).map(({page:{pageIndex:e}})=>e));let i=null,o=-1;for(let e=0;e{const t=new Dict;t.setIfName("S","D");t.set("St",e+1);return t};i=null;const l=this.pageLabels=[];for(let e=0,t=this.oldPages.length;ee!==f[t])&&m.set(e,a)}const d=t.userUnit;1!==d&&m.set("UserUnit",d);m.setIfDict("Resources",await this.#ja(c,!0,o));let g=null;if(n){const e=await this.#ja(n,!0,o);this.#Wa(e,r);Array.isArray(e)&&e.length>0&&(g=e)}const b=a.document===this.#ga?this.#da?.newAnnotationsByPage?.get(t.pageIndex):null;if(b){const{handler:e,task:a,imagesPromises:n}=this.#da,s=new RefSetCache,r=await AnnotationFactory.saveNewAnnotations(t.createAnnotationEvaluator(e),this.xrefWrapper,a,b,n,s);for(const[e,{data:t}]of s.items())this.xref[e.num]=t;g||=[];for(const{ref:e}of r.annotations)g.push(e)}m.setIfArray("Annots",g);if(this.useObjectStreams){const e=this.newRefCount,t=[];for(let a=p;at.count||a.count===t.count&&a.width*a.height>t.width*t.height)&&(t=a);return{width:t.width,height:t.height}}async#Na(e,t){const{width:a,height:n}=t,s=.1*a,r=Math.max(1,a-2*s),i=Math.max(1,n-2*s),o=this.newRefCount,{imageStream:l,smaskStream:f,width:c,height:h}=await createImage(e,this.xrefWrapper,{closeBitmap:!0}),u=Math.min(r/c,i/h),m=c*u,p=h*u,d=(a-m)/2,g=(n-p)/2;if(f){const e=this.newRef;this.xref[e.num]=f;l.dict.set("SMask",e)}const b=this.newRef;this.xref[b.num]=l;const w=new Dict(this.xrefWrapper);w.set("Im0",b);const j=new Dict(this.xrefWrapper);j.set("XObject",w);j.set("ProcSet",[Name.get("PDF"),Name.get("ImageC")]);const k=`q ${numberToString(m)} 0 0 ${numberToString(p)} ${numberToString(d)} ${numberToString(g)} cm /Im0 Do Q`,y=new StringStream(k,new Dict(this.xrefWrapper)),q=this.newRef;this.xref[q.num]=y;const v=this.newRef,S=this.xref[v.num]=new Dict(this.xrefWrapper);S.setIfName("Type","Page");S.set("MediaBox",[0,0,a,n]);S.set("Resources",j);S.set("Contents",q);if(this.useObjectStreams){const e=this.newRefCount,t=[];for(let a=o;a0;){const{dict:e,kids:t,parentRef:a}=s.pop();if(t.length<=16){e.set("Kids",t);for(const e of t)this.xref[e.num].set("Parent",a);continue}const n=Math.max(16,Math.ceil(t.length/16)),r=[];for(let e=0;ee.localeCompare(t):([e],[t])=>e-t),[n,s]=this.newDict,r=[{dict:s,entries:a,isRoot:!0}],i=t?"Names":"Nums";for(;r.length>0;){const{dict:e,entries:t,isRoot:a}=r.pop();if(t.length<=64){a||e.set("Limits",[t[0][0],t.at(-1)[0]]);e.set(i,t.flat());continue}const n=[],s=Math.max(64,Math.ceil(t.length/64));for(let e=0;e0){const e=this.#sn(Array.from(this.parentTree.entries()),!1);this.xref[e.num].setIfName("Type","ParentTree");n.set("ParentTree",e);n.set("ParentTreeNextKey",this.parentTree.size)}if(this.idTree.size>0){const e=this.#sn(Array.from(this.idTree.entries()),!0);this.xref[e.num].setIfName("Type","IDTree");n.set("IDTree",e)}if(this.classMap.size>0){const e=this.newRef;this.xref[e.num]=this.classMap;n.set("ClassMap",e)}if(this.roleMap.size>0){const e=this.newRef;this.xref[e.num]=this.roleMap;n.set("RoleMap",e)}if(this.namespaces.size>0){const e=this.newRef;this.xref[e.num]=Array.from(this.namespaces.values());n.set("Namespaces",e)}if(this.structTreeAF.length>0){const e=this.newRef;this.xref[e.num]=this.structTreeAF;n.set("AF",e)}if(this.structTreePronunciationLexicon.length>0){const e=this.newRef;this.xref[e.num]=this.structTreePronunciationLexicon;n.set("PronunciationLexicon",e)}t.set("StructTreeRoot",a)}#fn(){if(0===this.fields.length)return;const{rootDict:e}=this,t=this.newRef,a=this.xref[t.num]=new Dict;e.set("AcroForm",t);a.set("Fields",this.fields);this.acroFormNeedAppearances&&a.set("NeedAppearances",!0);this.acroFormSigFlags>0&&a.set("SigFlags",this.acroFormSigFlags);a.setIfArray("CO",this.acroFormCalculationOrder);a.setIfDict("DR",this.acroFormDefaultResources);this.acroFormDefaultAppearance&&a.set("DA",this.acroFormDefaultAppearance);this.acroFormQ>0&&a.set("Q",this.acroFormQ)}async#cn(){const{rootDict:e}=this;e.setIfName("Type","Catalog");e.setIfName("Version",this.version);this.#fn();this.#nn();this.#rn();this.#in();this.#on();this.#ln();await this.#$a()}#hn(){const e=new Map;if(this.isSingleFile){const t=this.oldPages.find(e=>!!e),{xref:{trailer:a}}=t.documentData.document,n=a.get("Info");for(const[t,a]of n||[])"string"==typeof a&&e.set(t,stringToPDFString(a))}e.delete("ModDate");e.set("CreationDate",getModificationDate());e.set("Creator","PDF.js");e.set("Producer","Firefox");this.author&&e.set("Author",this.author);this.title&&e.set("Title",this.title);for(const[t,a]of e)this.infoDict.set(t,stringToAsciiOrUTF16BE(a));return e}async#un(){if(!this.isSingleFile)return[null,null,null];const e=this.oldPages.find(e=>!!e),{documentData:t}=e,{document:{xref:{trailer:a,encrypt:n}}}=t;if(!a.has("Encrypt"))return[null,null,null];const s=a.get("Encrypt");if(!(s instanceof Dict))return[null,null,null];this.currentDocument=t;const r=[await this.#wa(s,a.xref),n,a.get("ID")];this.currentDocument=null;return r}async#mn(){const e=new RefSetCache;e.put(Ref.get(0,65535),{data:null});for(let t=1,a=this.xref.length;t{this._contentLength=e.contentLength;this._isStreamingSupported=e.isStreamingSupported;this._isRangeSupported=e.isRangeSupported;this._headersCapability.resolve()},this._headersCapability.reject)}async read(){const{value:e,done:t}=await this._reader.read();return t?{value:void 0,done:!0}:{value:e.buffer,done:!1}}cancel(e){this._reader.cancel(e)}}class PDFWorkerStreamRangeReader extends BasePDFStreamRangeReader{_reader=null;constructor(e,t,a){super(e,t,a);const{msgHandler:n}=e._source,s=n.sendWithStream("GetRangeReader",{begin:t,end:a});this._reader=s.getReader()}async read(){const{value:e,done:t}=await this._reader.read();return t?{value:void 0,done:!0}:{value:e.buffer,done:!1}}cancel(e){this._reader.cancel(e)}}class WorkerTask{constructor(e){this.name=e;this.terminated=!1;this._capability=Promise.withResolvers()}get finished(){return this._capability.promise}finish(){this._capability.resolve()}terminate(){this.terminated=!0}ensureNotTerminated(){if(this.terminated)throw new Error("Worker task was terminated")}}class WorkerMessageHandler{static{"undefined"==typeof window&&!e&&"undefined"!=typeof self&&"function"==typeof self.postMessage&&"onmessage"in self&&this.initializeFromPort(self)}static setup(e,t){let a=!1;e.on("test",t=>{if(!a){a=!0;e.send("test",t instanceof Uint8Array)}});e.on("configure",e=>{!function setVerbosityLevel(e){Number.isInteger(e)&&(sa=e)}(e.verbosity)});e.on("GetDocRequest",e=>this.createDocumentHandler(e,t))}static createDocumentHandler(e,t){let a,n=!1,s=null;const r=new Set,i=getVerbosityLevel(),{docId:o,apiVersion:l}=e,f="6.1.200";if(l!==f)throw new Error(`The API version "${l}" does not match the Worker version "${f}".`);const buildMsg=(e,t)=>`The \`${e}.prototype\` contains unexpected enumerable property "${t}", thus breaking e.g. \`for...in\` iteration of ${e}s.`;for(const e in{})throw new Error(buildMsg("Object",e));for(const e in[])throw new Error(buildMsg("Array",e));const c=o+"_worker";let h=new MessageHandler(c,o,t);function ensureNotTerminated(){if(n)throw new Error("Worker was terminated")}function startWorkerTask(e){r.add(e)}function finishWorkerTask(e){e.finish();r.delete(e)}async function loadDocument(e){await a.initDocument(e);const t=await a.ensureDoc("isPureXfa");if(t){const e=new WorkerTask("loadXfaResources");startWorkerTask(e);await a.ensureDoc("loadXfaResources",[h,e]);finishWorkerTask(e)}const[n,s]=await Promise.all([a.ensureDoc("numPages"),a.ensureDoc("fingerprints")]);return{numPages:n,fingerprints:s,htmlForXfa:t?await a.ensureDoc("htmlForXfa"):null}}async function getPassword(e){const t=new WorkerTask(`PasswordException: response ${e.code}`);startWorkerTask(t);try{return(await h.sendWithPromise("PasswordRequest",e)).password}finally{Promise.resolve().then(()=>{finishWorkerTask(t)})}}function setupDoc(e){function onSuccess(e){ensureNotTerminated();h.send("GetDoc",{pdfInfo:e})}function onFailure(e){n||(e instanceof PasswordException?getPassword(e).then(e=>{a.updatePassword(e);pdfManagerReady()}).catch(()=>{h.send("DocException",e)}):h.send("DocException",wrapReason(e)))}function pdfManagerReady(){ensureNotTerminated();loadDocument(!1).then(onSuccess,function(e){ensureNotTerminated();e instanceof XRefParseException?a.requestLoadedStream().then(function(){ensureNotTerminated();loadDocument(!0).then(onSuccess,onFailure)},onFailure):onFailure(e)})}ensureNotTerminated();(async function getPdfManager({data:e,password:t,disableAutoFetch:a,rangeChunkSize:n,docBaseUrl:r,enableXfa:i,evaluatorOptions:l}){const f={source:null,disableAutoFetch:a,docBaseUrl:r,docId:o,enableXfa:i,evaluatorOptions:l,handler:h,length:0,password:t,rangeChunkSize:n};if(e){f.source=e;return new LocalPdfManager(f)}const c=new PDFWorkerStream({msgHandler:h}),u=c.getFullReader(),{promise:m,resolve:p,reject:d}=Promise.withResolvers();let g,b=[];s=e=>c.cancelAllRequests(e);u.headersReady.then(()=>{if(u.isRangeSupported){f.source=c;f.length=u.contentLength;f.disableAutoFetch||=u.isStreamingSupported;g=new NetworkPdfManager(f);for(const e of b)g.sendProgressiveData(e);b=null;p(g);s=null}}).catch(e=>{d(e);s=null});(async function readData(){let e=0;for(;;){const{value:t,done:a}=await u.read();ensureNotTerminated();if(a)break;e+=t.byteLength;u.isStreamingSupported||h.send("DocProgress",{loaded:e,total:u.contentLength});g?g.sendProgressiveData(t):b.push(t)}if(!g){f.source=arrayBuffersToBytes(b);b=null;g=new LocalPdfManager(f);p(g)}s=null})().catch(e=>{d(e);s=null});return m})(e).then(function(e){if(n){e.terminate(new AbortException("Worker was terminated."));throw new Error("Worker was terminated")}a=e;a.requestLoadedStream(!0).then(e=>{h.send("DataLoaded",{length:e.bytes.byteLength})},()=>{})}).then(pdfManagerReady,onFailure)}h.on("GetPage",function(e){return a.getPage(e.pageIndex).then(function(e){return Promise.all([a.ensure(e,"rotate"),a.ensure(e,"ref"),a.ensure(e,"userUnit"),a.ensure(e,"view")]).then(function([e,t,a,n]){return{rotate:e,ref:t,refStr:t?.toString()??null,userUnit:a,view:n}})})});h.on("GetPageIndex",function(e){const t=Ref.get(e.num,e.gen);return a.ensureCatalog("getPageIndex",[t])});h.on("GetDestinations",function(e){return a.ensureCatalog("destinations")});h.on("GetDestination",function(e){return a.ensureCatalog("getDestination",[e.id])});h.on("GetPageLabels",function(e){return a.ensureCatalog("pageLabels")});h.on("GetPageLayout",function(e){return a.ensureCatalog("pageLayout")});h.on("GetPageMode",function(e){return a.ensureCatalog("pageMode")});h.on("GetViewerPreferences",function(e){return a.ensureCatalog("viewerPreferences")});h.on("GetOpenAction",function(e){return a.ensureCatalog("openAction")});h.on("GetAttachments",function(e){return a.ensureCatalog("attachments")});h.on("GetAttachmentContent",async function(e){let t;for(;;){const n=t?await getPassword(t):null;try{n&&a.updatePassword(n);return await a.ensureCatalog("attachmentContent",[e])}catch(e){if(e instanceof PasswordException){t=e;continue}throw e}}});h.on("GetDocJSActions",function(e){return a.ensureCatalog("jsActions")});h.on("GetPageJSActions",function({pageIndex:e}){return a.getPage(e).then(e=>a.ensure(e,"jsActions"))});h.on("GetAnnotationsByType",async function({types:e,pageIndexesToSkip:t}){const[n,s]=await Promise.all([a.ensureDoc("numPages"),a.ensureDoc("annotationGlobals")]);if(!s)return null;const r=[],i=[];let o=null;try{for(let l=0,f=n;lt.collectAnnotationsByType(h,o,e,i,s)))}await Promise.all(r);return(await Promise.all(i)).filter(e=>!!e)}finally{o&&finishWorkerTask(o)}});h.on("GetOutline",function(e){return a.ensureCatalog("documentOutline")});h.on("GetOptionalContentConfig",function(e){return a.ensureCatalog("optionalContentConfig")});h.on("GetPermissions",function(e){return a.ensureCatalog("permissions")});h.on("GetMetadata",function(e){return Promise.all([a.ensureDoc("documentInfo"),a.ensureCatalog("metadata"),a.ensureCatalog("hasStructTree")])});h.on("GetMarkInfo",function(e){return a.ensureCatalog("markInfo")});h.on("GetData",function(e){return a.requestLoadedStream().then(e=>e.bytes)});h.on("GetAnnotations",function({pageIndex:e,intent:t}){return a.getPage(e).then(function(a){const n=new WorkerTask(`GetAnnotations: page ${e}`);startWorkerTask(n);return a.getAnnotationsData(h,n,t).finally(()=>{finishWorkerTask(n)})})});h.on("GetFieldObjects",function(e){return a.ensureDoc("fieldObjects").then(e=>e?.allFields||null)});h.on("HasJSActions",function(e){return a.ensureDoc("hasJSActions")});h.on("GetCalculationOrderIds",function(e){return a.ensureDoc("calculationOrderIds")});h.on("ExtractPages",async function({pageInfos:e,annotationStorage:t}){if(!e){warn("extractPages: nothing to extract.");return null}Array.isArray(e)||(e=[e]);let n,s=0;for(const t of e)if(!t.image)if(null===t.document)t.document=a.pdfDocument;else if(ArrayBuffer.isView(t.document)){const e=new LocalPdfManager({source:t.document,docId:`${o}_extractPages_${s++}`,handler:h,password:t.password??null,evaluatorOptions:Object.assign({},a.evaluatorOptions)});let n=!1,r=!0;for(;;)try{await e.requestLoadedStream();await e.initDocument(n);break}catch(t){if(t instanceof XRefParseException){if(!1===n){n=!0;continue}r=!1;warn("extractPages: XRefParseException.")}else if(t instanceof PasswordException)try{const a=await getPassword(t);e.updatePassword(a)}catch{r=!1;warn("extractPages: invalid password.")}else{r=!1;warn("extractPages: invalid document.")}if(!r)break}r||(t.document=null);if(await e.ensureDoc("isPureXfa")){t.document=null;warn("extractPages does not support pure XFA documents.")}else t.document=e.pdfDocument}else warn("extractPages: invalid document.");try{const s=new PDFEditor;n=new WorkerTask(`ExtractPages: ${e.length} page(s)`);startWorkerTask(n);return await s.extractPages(e,t,a.pdfDocument,h,n)}catch(e){warn(`extractPages: "${e}".`);return null}finally{n&&finishWorkerTask(n)}});h.on("SaveDocument",async function({isPureXfa:e,numPages:t,annotationStorage:n,filename:s}){const r=[a.requestLoadedStream(),a.ensureCatalog("acroForm"),a.ensureCatalog("acroFormRef"),a.ensureDoc("startXRef"),a.ensureDoc("xref"),a.ensureCatalog("structTreeRoot")],i=new RefSetCache,o=[],l=e?null:getNewAnnotationsMap(n),[f,c,u,m,p,d]=await Promise.all(r),g=p.trailer.getRaw("Root")||null;let b;if(l){d?await d.canUpdateStructTree({pdfManager:a,newAnnotationsByPage:l})&&(b=d):await StructTreeRoot.canCreateStructureTree({catalogRef:g,pdfManager:a,newAnnotationsByPage:l})&&(b=null);const e=AnnotationFactory.generateImages(n.values(),p,a.evaluatorOptions.isOffscreenCanvasSupported),t=void 0===b?o:[];for(const[n,s]of l)t.push(a.getPage(n).then(t=>{const a=new WorkerTask(`Save (editor): page ${n}`);startWorkerTask(a);return t.saveNewAnnotations(h,a,s,e,i).finally(()=>{finishWorkerTask(a)})}));null===b?o.push(Promise.all(t).then(async()=>{await StructTreeRoot.createStructureTree({newAnnotationsByPage:l,xref:p,catalogRef:g,pdfManager:a,changes:i})})):b&&o.push(Promise.all(t).then(async()=>{await b.updateStructureTree({newAnnotationsByPage:l,pdfManager:a,changes:i})}))}if(e)o.push(a.ensureDoc("serializeXfaData",[n]));else for(let e=0;e{finishWorkerTask(a)})}));const w=await Promise.all(o);let j=null;if(e){j=w[0];if(!j)return f.bytes}else if(0===i.size)return f.bytes;const k=u&&c instanceof Dict&&i.values().some(e=>e.needAppearances),y=c instanceof Dict&&c.get("XFA")||null;let q=null,v=!1;if(Array.isArray(y)){for(let e=0,t=y.length;e{p.resetNewTemporaryRef()})});h.on("GetOperatorList",function(e,t){const{pageId:n,pageIndex:s}=e;a.getPage(n).then(function(a){const n=new WorkerTask(`GetOperatorList: page ${s}`);startWorkerTask(n);const r=i>=me?Date.now():0;a.getOperatorList({handler:h,sink:t,task:n,intent:e.intent,cacheKey:e.cacheKey,annotationStorage:e.annotationStorage,modifiedIds:e.modifiedIds,pageIndex:s}).then(e=>{r&&info(`page=${s+1} - getOperatorList: time=${Date.now()-r}ms, len=${e.length}`);t.close()},e=>{n.terminated||t.error(e)}).finally(()=>{finishWorkerTask(n)})})});h.on("GetTextContent",function(e,t){const{pageId:n,pageIndex:s,includeMarkedContent:r,disableNormalization:o}=e;a.getPage(n).then(function(e){const a=new WorkerTask("GetTextContent: page "+s);startWorkerTask(a);const n=i>=me?Date.now():0;e.extractTextContent({handler:h,task:a,sink:t,includeMarkedContent:r,disableNormalization:o}).then(()=>{n&&info(`page=${s+1} - getTextContent: time=`+(Date.now()-n)+"ms");t.close()},e=>{a.terminated||t.error(e)}).finally(()=>{finishWorkerTask(a)})})});h.on("GetStructTree",function(e){return a.getPage(e.pageIndex).then(e=>a.ensure(e,"getStructTree"))});h.on("FontFallback",function(e){return a.fontFallback(e.id,h)});h.on("Cleanup",function(e){return a.cleanup(!0)});h.on("Terminate",async function(e){n=!0;const t=[];if(a){a.terminate(new AbortException("Worker was terminated."));const e=a.cleanup();t.push(e);a=null}else clearGlobalCaches();s?.(new AbortException("Worker was terminated."));for(const e of r){t.push(e.finished);e.terminate()}await Promise.all(t);h.destroy();h=null});h.on("Ready",function(t){setupDoc(e);e=null});return c}static initializeFromPort(e){const t=new MessageHandler("worker","main",e);this.setup(t,e);t.send("ready",null)}}globalThis.pdfjsWorker={WorkerMessageHandler};export{WorkerMessageHandler}; \ No newline at end of file diff --git a/frontend/dist/assets/raf-Bjl8yy5U.js b/frontend/dist/assets/raf-Bjl8yy5U.js new file mode 100644 index 0000000..7cc65d8 --- /dev/null +++ b/frontend/dist/assets/raf-Bjl8yy5U.js @@ -0,0 +1 @@ +import{bt as o}from"./index-CxbBjZKo.js";const e="update:modelValue",s="change",n="input",i=t=>o?window.requestAnimationFrame(t):setTimeout(t,16),c=t=>o?window.cancelAnimationFrame(t):clearTimeout(t);export{s as C,n as I,e as U,c,i as r}; diff --git a/frontend/dist/assets/raf-DGtHIxe2.js b/frontend/dist/assets/raf-DGtHIxe2.js index c6a71ed..c6d28db 100644 --- a/frontend/dist/assets/raf-DGtHIxe2.js +++ b/frontend/dist/assets/raf-DGtHIxe2.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/raf-DGtHIxe2.js import{bt as o}from"./index-CD29OCdJ.js";const e="update:modelValue",s="change",n="input",i=t=>o?window.requestAnimationFrame(t):setTimeout(t,16),c=t=>o?window.cancelAnimationFrame(t):clearTimeout(t);export{s as C,n as I,e as U,c,i as r}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/raf-zQ00nuMI.js +import{bt as o}from"./index-Ds9AETjS.js";const e="update:modelValue",s="change",n="input",i=t=>o?window.requestAnimationFrame(t):setTimeout(t,16),c=t=>o?window.cancelAnimationFrame(t):clearTimeout(t);export{s as C,n as I,e as U,c,i as r}; +======== +import{bt as o}from"./index-CxbBjZKo.js";const e="update:modelValue",s="change",n="input",i=t=>o?window.requestAnimationFrame(t):setTimeout(t,16),c=t=>o?window.cancelAnimationFrame(t):clearTimeout(t);export{s as C,n as I,e as U,c,i as r}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/raf-Bjl8yy5U.js diff --git a/frontend/dist/assets/scroll-D-TPweuo.js b/frontend/dist/assets/scroll-D-TPweuo.js index d51d0d0..4dc24fb 100644 --- a/frontend/dist/assets/scroll-D-TPweuo.js +++ b/frontend/dist/assets/scroll-D-TPweuo.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/scroll-D-TPweuo.js import{bt as c,c$ as w,bL as a,d0 as m,b8 as h}from"./index-CD29OCdJ.js";import{r as v,c as y}from"./raf-DGtHIxe2.js";let n;const S=o=>{var s;if(!c)return 0;if(n!==void 0)return n;const e=document.createElement("div");e.className=`${o}-scrollbar__wrap`,e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const r=e.offsetWidth;e.style.overflow="scroll";const t=document.createElement("div");t.style.width="100%",e.appendChild(t);const l=t.offsetWidth;return(s=e.parentNode)==null||s.removeChild(e),n=r-l,n};function g(o,e){if(!c)return;if(!e){o.scrollTop=0;return}const r=[];let t=e.offsetParent;for(;t!==null&&o!==t&&o.contains(t);)r.push(t),t=t.offsetParent;const l=e.offsetTop+r.reduce((u,d)=>u+d.offsetTop,0),s=l+e.offsetHeight,i=o.scrollTop,f=i+o.clientHeight;lf&&(o.scrollTop=s-o.clientHeight)}export{S as g,g as s}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/scroll-DVmMv0d9.js +import{bt as c,c$ as w,bL as a,d0 as m,b8 as h}from"./index-Ds9AETjS.js";import{r as v,c as y}from"./raf-zQ00nuMI.js";let n;const S=o=>{var s;if(!c)return 0;if(n!==void 0)return n;const e=document.createElement("div");e.className=`${o}-scrollbar__wrap`,e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const r=e.offsetWidth;e.style.overflow="scroll";const t=document.createElement("div");t.style.width="100%",e.appendChild(t);const l=t.offsetWidth;return(s=e.parentNode)==null||s.removeChild(e),n=r-l,n};function g(o,e){if(!c)return;if(!e){o.scrollTop=0;return}const r=[];let t=e.offsetParent;for(;t!==null&&o!==t&&o.contains(t);)r.push(t),t=t.offsetParent;const l=e.offsetTop+r.reduce((u,d)=>u+d.offsetTop,0),s=l+e.offsetHeight,i=o.scrollTop,f=i+o.clientHeight;lf&&(o.scrollTop=s-o.clientHeight)}export{S as g,g as s}; +======== +import{bt as c,c$ as w,bL as a,d0 as m,b8 as h}from"./index-CxbBjZKo.js";import{r as v,c as y}from"./raf-Bjl8yy5U.js";let n;const S=o=>{var s;if(!c)return 0;if(n!==void 0)return n;const e=document.createElement("div");e.className=`${o}-scrollbar__wrap`,e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const r=e.offsetWidth;e.style.overflow="scroll";const t=document.createElement("div");t.style.width="100%",e.appendChild(t);const l=t.offsetWidth;return(s=e.parentNode)==null||s.removeChild(e),n=r-l,n};function g(o,e){if(!c)return;if(!e){o.scrollTop=0;return}const r=[];let t=e.offsetParent;for(;t!==null&&o!==t&&o.contains(t);)r.push(t),t=t.offsetParent;const l=e.offsetTop+r.reduce((u,d)=>u+d.offsetTop,0),s=l+e.offsetHeight,i=o.scrollTop,f=i+o.clientHeight;lf&&(o.scrollTop=s-o.clientHeight)}export{S as g,g as s}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/scroll-Dvb2mTx8.js diff --git a/frontend/dist/assets/scroll-Dvb2mTx8.js b/frontend/dist/assets/scroll-Dvb2mTx8.js new file mode 100644 index 0000000..263c001 --- /dev/null +++ b/frontend/dist/assets/scroll-Dvb2mTx8.js @@ -0,0 +1 @@ +import{bt as c,c$ as w,bL as a,d0 as m,b8 as h}from"./index-CxbBjZKo.js";import{r as v,c as y}from"./raf-Bjl8yy5U.js";let n;const S=o=>{var s;if(!c)return 0;if(n!==void 0)return n;const e=document.createElement("div");e.className=`${o}-scrollbar__wrap`,e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const r=e.offsetWidth;e.style.overflow="scroll";const t=document.createElement("div");t.style.width="100%",e.appendChild(t);const l=t.offsetWidth;return(s=e.parentNode)==null||s.removeChild(e),n=r-l,n};function g(o,e){if(!c)return;if(!e){o.scrollTop=0;return}const r=[];let t=e.offsetParent;for(;t!==null&&o!==t&&o.contains(t);)r.push(t),t=t.offsetParent;const l=e.offsetTop+r.reduce((u,d)=>u+d.offsetTop,0),s=l+e.offsetHeight,i=o.scrollTop,f=i+o.clientHeight;lf&&(o.scrollTop=s-o.clientHeight)}export{S as g,g as s}; diff --git a/frontend/dist/assets/toNumber-B6P5MqPp.js b/frontend/dist/assets/toNumber-B6P5MqPp.js index 2745ddb..f6ff3d6 100644 --- a/frontend/dist/assets/toNumber-B6P5MqPp.js +++ b/frontend/dist/assets/toNumber-B6P5MqPp.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/toNumber-B6P5MqPp.js import{d1 as s,cs as e}from"./index-CD29OCdJ.js";var f=/\s/;function c(r){for(var t=r.length;t--&&f.test(r.charAt(t)););return t}var o=/^\s+/;function a(r){return r&&r.slice(0,c(r)+1).replace(o,"")}var n=NaN,m=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,b=/^0o[0-7]+$/i,d=parseInt;function I(r){if(typeof r=="number")return r;if(s(r))return n;if(e(r)){var t=typeof r.valueOf=="function"?r.valueOf():r;r=e(t)?t+"":t}if(typeof r!="string")return r===0?r:+r;r=a(r);var i=p.test(r);return i||b.test(r)?d(r.slice(2),i?2:8):m.test(r)?n:+r}export{I as t}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/toNumber-DrayciwT.js +import{d1 as s,cs as e}from"./index-Ds9AETjS.js";var f=/\s/;function c(r){for(var t=r.length;t--&&f.test(r.charAt(t)););return t}var o=/^\s+/;function a(r){return r&&r.slice(0,c(r)+1).replace(o,"")}var n=NaN,m=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,b=/^0o[0-7]+$/i,d=parseInt;function I(r){if(typeof r=="number")return r;if(s(r))return n;if(e(r)){var t=typeof r.valueOf=="function"?r.valueOf():r;r=e(t)?t+"":t}if(typeof r!="string")return r===0?r:+r;r=a(r);var i=p.test(r);return i||b.test(r)?d(r.slice(2),i?2:8):m.test(r)?n:+r}export{I as t}; +======== +import{d1 as s,cs as e}from"./index-CxbBjZKo.js";var f=/\s/;function c(r){for(var t=r.length;t--&&f.test(r.charAt(t)););return t}var o=/^\s+/;function a(r){return r&&r.slice(0,c(r)+1).replace(o,"")}var n=NaN,m=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,b=/^0o[0-7]+$/i,d=parseInt;function I(r){if(typeof r=="number")return r;if(s(r))return n;if(e(r)){var t=typeof r.valueOf=="function"?r.valueOf():r;r=e(t)?t+"":t}if(typeof r!="string")return r===0?r:+r;r=a(r);var i=p.test(r);return i||b.test(r)?d(r.slice(2),i?2:8):m.test(r)?n:+r}export{I as t}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/toNumber-Yuob3eJv.js diff --git a/frontend/dist/assets/toNumber-Yuob3eJv.js b/frontend/dist/assets/toNumber-Yuob3eJv.js new file mode 100644 index 0000000..3c04e6f --- /dev/null +++ b/frontend/dist/assets/toNumber-Yuob3eJv.js @@ -0,0 +1 @@ +import{d1 as s,cs as e}from"./index-CxbBjZKo.js";var f=/\s/;function c(r){for(var t=r.length;t--&&f.test(r.charAt(t)););return t}var o=/^\s+/;function a(r){return r&&r.slice(0,c(r)+1).replace(o,"")}var n=NaN,m=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,b=/^0o[0-7]+$/i,d=parseInt;function I(r){if(typeof r=="number")return r;if(s(r))return n;if(e(r)){var t=typeof r.valueOf=="function"?r.valueOf():r;r=e(t)?t+"":t}if(typeof r!="string")return r===0?r:+r;r=a(r);var i=p.test(r);return i||b.test(r)?d(r.slice(2),i?2:8):m.test(r)?n:+r}export{I as t}; diff --git a/frontend/dist/assets/tools-BtFo8ZQX.js b/frontend/dist/assets/tools-BtFo8ZQX.js index fc359da..dc35b8b 100644 --- a/frontend/dist/assets/tools-BtFo8ZQX.js +++ b/frontend/dist/assets/tools-BtFo8ZQX.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/tools-BtFo8ZQX.js import{ae as d,y as f,D as v}from"./index-CD29OCdJ.js";const m=d("tools",()=>{const a="customTools",o=f(n());function n(){try{return JSON.parse(localStorage.getItem(a)||"[]")}catch{return[]}}v(o,e=>{localStorage.setItem(a,JSON.stringify(e))},{deep:!0});function u(e){o.value.push(e)}function l(e,t){const r=o.value.findIndex(c=>c.id===e);r!==-1&&(o.value[r]={...o.value[r],...t})}function s(e){o.value=o.value.filter(t=>t.id!==e)}function i(e){return o.value.find(t=>t.id===e)}return{tools:o,addTool:u,updateTool:l,removeTool:s,getTool:i}});export{m as u}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/tools-s3Et6p-2.js +import{ae as d,y as f,D as v}from"./index-Ds9AETjS.js";const m=d("tools",()=>{const a="customTools",o=f(n());function n(){try{return JSON.parse(localStorage.getItem(a)||"[]")}catch{return[]}}v(o,e=>{localStorage.setItem(a,JSON.stringify(e))},{deep:!0});function u(e){o.value.push(e)}function l(e,t){const r=o.value.findIndex(c=>c.id===e);r!==-1&&(o.value[r]={...o.value[r],...t})}function s(e){o.value=o.value.filter(t=>t.id!==e)}function i(e){return o.value.find(t=>t.id===e)}return{tools:o,addTool:u,updateTool:l,removeTool:s,getTool:i}});export{m as u}; +======== +import{ae as d,y as f,D as v}from"./index-CxbBjZKo.js";const m=d("tools",()=>{const a="customTools",o=f(n());function n(){try{return JSON.parse(localStorage.getItem(a)||"[]")}catch{return[]}}v(o,e=>{localStorage.setItem(a,JSON.stringify(e))},{deep:!0});function u(e){o.value.push(e)}function l(e,t){const r=o.value.findIndex(c=>c.id===e);r!==-1&&(o.value[r]={...o.value[r],...t})}function s(e){o.value=o.value.filter(t=>t.id!==e)}function i(e){return o.value.find(t=>t.id===e)}return{tools:o,addTool:u,updateTool:l,removeTool:s,getTool:i}});export{m as u}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/tools-DNEgEZeS.js diff --git a/frontend/dist/assets/tools-DNEgEZeS.js b/frontend/dist/assets/tools-DNEgEZeS.js new file mode 100644 index 0000000..a23e431 --- /dev/null +++ b/frontend/dist/assets/tools-DNEgEZeS.js @@ -0,0 +1 @@ +import{ae as d,y as f,D as v}from"./index-CxbBjZKo.js";const m=d("tools",()=>{const a="customTools",o=f(n());function n(){try{return JSON.parse(localStorage.getItem(a)||"[]")}catch{return[]}}v(o,e=>{localStorage.setItem(a,JSON.stringify(e))},{deep:!0});function u(e){o.value.push(e)}function l(e,t){const r=o.value.findIndex(c=>c.id===e);r!==-1&&(o.value[r]={...o.value[r],...t})}function s(e){o.value=o.value.filter(t=>t.id!==e)}function i(e){return o.value.find(t=>t.id===e)}return{tools:o,addTool:u,updateTool:l,removeTool:s,getTool:i}});export{m as u}; diff --git a/frontend/dist/assets/use-dialog-DGVjglW6.js b/frontend/dist/assets/use-dialog-DGVjglW6.js new file mode 100644 index 0000000..e28f0d7 --- /dev/null +++ b/frontend/dist/assets/use-dialog-DGVjglW6.js @@ -0,0 +1 @@ +import{U}from"./raf-Bjl8yy5U.js";import{b as V,i as te,k as le,R as x,N as ae,bJ as se,y as f,u as ie,D as L,G as ue,O as k,j as l,bt as re,am as ce,a3 as fe,aK as de,a6 as ve,b8 as z,P as ye}from"./index-CxbBjZKo.js";import{u as ge}from"./index-36LucyXi.js";import{f as M}from"./index-D23K2h6y.js";const be=V({center:Boolean,alignCenter:{type:Boolean,default:void 0},closeIcon:{type:te},draggable:{type:Boolean,default:void 0},overflow:{type:Boolean,default:void 0},fullscreen:Boolean,headerClass:String,bodyClass:String,footerClass:String,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),Ie={close:()=>!0},Se=V({...be,appendToBody:Boolean,appendTo:{type:x([String,Object]),default:"body"},beforeClose:{type:x(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},modalPenetrable:Boolean,openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,headerClass:String,bodyClass:String,footerClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"},transition:{type:x([String,Object]),default:void 0}}),De={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[U]:e=>le(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},Oe=Symbol("dialogInjectionKey"),p="dialog-fade",me="ElDialog",xe=(e,a)=>{const i=ae().emit,{nextZIndex:d}=se();let P="";const $=M(),G=M(),s=f(!1),C=f(!1),v=f(!1),y=f(e.zIndex??d()),g=f(!1);let u,r;const h=ie(),K=l(()=>{var o;return((o=h.value)==null?void 0:o.namespace)??"el"}),b=l(()=>{var o;return(o=h.value)==null?void 0:o.dialog}),Z=l(()=>{const o={},n=`--${K.value}-dialog`;if(!e.fullscreen){e.top&&(o[`${n}-margin-top`]=e.top);const c=ce(e.width);c&&(o[`${n}-width`]=c)}return o}),q=l(()=>{var o;return(e.draggable??((o=b.value)==null?void 0:o.draggable)??!1)&&!e.fullscreen}),F=l(()=>{var o;return e.alignCenter??((o=b.value)==null?void 0:o.alignCenter)??!1}),J=l(()=>{var o;return e.overflow??((o=b.value)==null?void 0:o.overflow)??!1}),w=l(()=>e.modalPenetrable&&!e.modal&&!e.fullscreen),W=l(()=>F.value?{display:"flex"}:{}),Q=l(()=>{var c;const o=e.transition??((c=b.value)==null?void 0:c.transition)??"dialog-fade",n={name:o,onAfterEnter:B,onBeforeLeave:E,onAfterLeave:A};if(fe(o)){const t={...o},O=(m,ne)=>_=>{ve(m)?m.forEach(j=>{z(j)&&j(_)}):z(m)&&m(_),ne()};return t.onAfterEnter=O(t.onAfterEnter,B),t.onBeforeLeave=O(t.onBeforeLeave,E),t.onAfterLeave=O(t.onAfterLeave,A),t.name||(t.name=p,de(me,`transition.name is missing when using object syntax, fallback to '${p}'`)),t}return n});function B(){i("opened")}function A(){i("closed"),i(U,!1),e.destroyOnClose&&(v.value=!1),g.value=!1}function E(){g.value=!0,i("close")}function N(){r==null||r(),u==null||u(),e.openDelay&&e.openDelay>0?{stop:u}=k(()=>T(),e.openDelay):T()}function I(){u==null||u(),r==null||r(),e.closeDelay&&e.closeDelay>0?{stop:r}=k(()=>D(),e.closeDelay):D()}function S(){function o(n){n||(C.value=!0,s.value=!1)}e.beforeClose?e.beforeClose(o):I()}function X(){e.closeOnClickModal&&S()}function T(){re&&(s.value=!0)}function D(){s.value=!1}function Y(){i("openAutoFocus")}function H(){i("closeAutoFocus")}function R(o){var n;((n=o.detail)==null?void 0:n.focusReason)==="pointer"&&o.preventDefault()}e.lockScroll&&ge(s);function ee(){e.closeOnPressEscape&&S()}function oe(){!s.value||!w.value||e.zIndex!==void 0||(y.value=d())}return L(()=>e.zIndex,()=>{y.value=e.zIndex??d()}),L(()=>e.modelValue,o=>{o?(C.value=!1,g.value=!1,N(),v.value=!0,y.value=e.zIndex??d(),ye(()=>{i("open"),a.value&&(a.value.parentElement.scrollTop=0,a.value.parentElement.scrollLeft=0,a.value.scrollTop=0)})):s.value&&I()}),L(()=>e.fullscreen,o=>{a.value&&(o?(P=a.value.style.transform,a.value.style.transform=""):a.value.style.transform=P)}),ue(()=>{e.modelValue&&(s.value=!0,v.value=!0,N())}),{afterEnter:B,afterLeave:A,beforeLeave:E,handleClose:S,onModalClick:X,close:I,doClose:D,onOpenAutoFocus:Y,onCloseAutoFocus:H,onCloseRequested:ee,onFocusoutPrevented:R,bringToFront:oe,titleId:$,bodyId:G,closed:C,style:Z,overlayDialogStyle:W,rendered:v,visible:s,zIndex:y,transitionConfig:Q,_draggable:q,_alignCenter:F,_overflow:J,closing:g,penetrable:w}};export{be as a,Oe as b,De as c,Ie as d,Se as e,xe as u}; diff --git a/frontend/dist/assets/use-dialog-DvXGfCuS.js b/frontend/dist/assets/use-dialog-DvXGfCuS.js index e70fea9..431830c 100644 --- a/frontend/dist/assets/use-dialog-DvXGfCuS.js +++ b/frontend/dist/assets/use-dialog-DvXGfCuS.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/use-dialog-DvXGfCuS.js import{U}from"./raf-DGtHIxe2.js";import{b as V,i as te,k as le,R as x,N as ae,bJ as se,y as f,u as ie,D as L,G as ue,O as k,j as l,bt as re,am as ce,a3 as fe,aK as de,a6 as ve,b8 as z,P as ye}from"./index-CD29OCdJ.js";import{u as ge}from"./index-roSlfP_P.js";import{f as M}from"./index-6OTFNiIi.js";const be=V({center:Boolean,alignCenter:{type:Boolean,default:void 0},closeIcon:{type:te},draggable:{type:Boolean,default:void 0},overflow:{type:Boolean,default:void 0},fullscreen:Boolean,headerClass:String,bodyClass:String,footerClass:String,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),Ie={close:()=>!0},Se=V({...be,appendToBody:Boolean,appendTo:{type:x([String,Object]),default:"body"},beforeClose:{type:x(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},modalPenetrable:Boolean,openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,headerClass:String,bodyClass:String,footerClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"},transition:{type:x([String,Object]),default:void 0}}),De={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[U]:e=>le(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},Oe=Symbol("dialogInjectionKey"),p="dialog-fade",me="ElDialog",xe=(e,a)=>{const i=ae().emit,{nextZIndex:d}=se();let P="";const $=M(),G=M(),s=f(!1),C=f(!1),v=f(!1),y=f(e.zIndex??d()),g=f(!1);let u,r;const h=ie(),K=l(()=>{var o;return((o=h.value)==null?void 0:o.namespace)??"el"}),b=l(()=>{var o;return(o=h.value)==null?void 0:o.dialog}),Z=l(()=>{const o={},n=`--${K.value}-dialog`;if(!e.fullscreen){e.top&&(o[`${n}-margin-top`]=e.top);const c=ce(e.width);c&&(o[`${n}-width`]=c)}return o}),q=l(()=>{var o;return(e.draggable??((o=b.value)==null?void 0:o.draggable)??!1)&&!e.fullscreen}),F=l(()=>{var o;return e.alignCenter??((o=b.value)==null?void 0:o.alignCenter)??!1}),J=l(()=>{var o;return e.overflow??((o=b.value)==null?void 0:o.overflow)??!1}),w=l(()=>e.modalPenetrable&&!e.modal&&!e.fullscreen),W=l(()=>F.value?{display:"flex"}:{}),Q=l(()=>{var c;const o=e.transition??((c=b.value)==null?void 0:c.transition)??"dialog-fade",n={name:o,onAfterEnter:B,onBeforeLeave:E,onAfterLeave:A};if(fe(o)){const t={...o},O=(m,ne)=>_=>{ve(m)?m.forEach(j=>{z(j)&&j(_)}):z(m)&&m(_),ne()};return t.onAfterEnter=O(t.onAfterEnter,B),t.onBeforeLeave=O(t.onBeforeLeave,E),t.onAfterLeave=O(t.onAfterLeave,A),t.name||(t.name=p,de(me,`transition.name is missing when using object syntax, fallback to '${p}'`)),t}return n});function B(){i("opened")}function A(){i("closed"),i(U,!1),e.destroyOnClose&&(v.value=!1),g.value=!1}function E(){g.value=!0,i("close")}function N(){r==null||r(),u==null||u(),e.openDelay&&e.openDelay>0?{stop:u}=k(()=>T(),e.openDelay):T()}function I(){u==null||u(),r==null||r(),e.closeDelay&&e.closeDelay>0?{stop:r}=k(()=>D(),e.closeDelay):D()}function S(){function o(n){n||(C.value=!0,s.value=!1)}e.beforeClose?e.beforeClose(o):I()}function X(){e.closeOnClickModal&&S()}function T(){re&&(s.value=!0)}function D(){s.value=!1}function Y(){i("openAutoFocus")}function H(){i("closeAutoFocus")}function R(o){var n;((n=o.detail)==null?void 0:n.focusReason)==="pointer"&&o.preventDefault()}e.lockScroll&&ge(s);function ee(){e.closeOnPressEscape&&S()}function oe(){!s.value||!w.value||e.zIndex!==void 0||(y.value=d())}return L(()=>e.zIndex,()=>{y.value=e.zIndex??d()}),L(()=>e.modelValue,o=>{o?(C.value=!1,g.value=!1,N(),v.value=!0,y.value=e.zIndex??d(),ye(()=>{i("open"),a.value&&(a.value.parentElement.scrollTop=0,a.value.parentElement.scrollLeft=0,a.value.scrollTop=0)})):s.value&&I()}),L(()=>e.fullscreen,o=>{a.value&&(o?(P=a.value.style.transform,a.value.style.transform=""):a.value.style.transform=P)}),ue(()=>{e.modelValue&&(s.value=!0,v.value=!0,N())}),{afterEnter:B,afterLeave:A,beforeLeave:E,handleClose:S,onModalClick:X,close:I,doClose:D,onOpenAutoFocus:Y,onCloseAutoFocus:H,onCloseRequested:ee,onFocusoutPrevented:R,bringToFront:oe,titleId:$,bodyId:G,closed:C,style:Z,overlayDialogStyle:W,rendered:v,visible:s,zIndex:y,transitionConfig:Q,_draggable:q,_alignCenter:F,_overflow:J,closing:g,penetrable:w}};export{be as a,Oe as b,De as c,Ie as d,Se as e,xe as u}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/use-dialog-gWD8AZr4.js +import{U}from"./raf-zQ00nuMI.js";import{b as V,i as te,k as le,R as x,N as ae,bJ as se,y as f,u as ie,D as L,G as ue,O as k,j as l,bt as re,am as ce,a3 as fe,aK as de,a6 as ve,b8 as z,P as ye}from"./index-Ds9AETjS.js";import{u as ge}from"./index-RtwaMutE.js";import{f as M}from"./index-BNsCyG4A.js";const be=V({center:Boolean,alignCenter:{type:Boolean,default:void 0},closeIcon:{type:te},draggable:{type:Boolean,default:void 0},overflow:{type:Boolean,default:void 0},fullscreen:Boolean,headerClass:String,bodyClass:String,footerClass:String,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),Ie={close:()=>!0},Se=V({...be,appendToBody:Boolean,appendTo:{type:x([String,Object]),default:"body"},beforeClose:{type:x(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},modalPenetrable:Boolean,openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,headerClass:String,bodyClass:String,footerClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"},transition:{type:x([String,Object]),default:void 0}}),De={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[U]:e=>le(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},Oe=Symbol("dialogInjectionKey"),p="dialog-fade",me="ElDialog",xe=(e,a)=>{const i=ae().emit,{nextZIndex:d}=se();let P="";const $=M(),G=M(),s=f(!1),C=f(!1),v=f(!1),y=f(e.zIndex??d()),g=f(!1);let u,r;const h=ie(),K=l(()=>{var o;return((o=h.value)==null?void 0:o.namespace)??"el"}),b=l(()=>{var o;return(o=h.value)==null?void 0:o.dialog}),Z=l(()=>{const o={},n=`--${K.value}-dialog`;if(!e.fullscreen){e.top&&(o[`${n}-margin-top`]=e.top);const c=ce(e.width);c&&(o[`${n}-width`]=c)}return o}),q=l(()=>{var o;return(e.draggable??((o=b.value)==null?void 0:o.draggable)??!1)&&!e.fullscreen}),F=l(()=>{var o;return e.alignCenter??((o=b.value)==null?void 0:o.alignCenter)??!1}),J=l(()=>{var o;return e.overflow??((o=b.value)==null?void 0:o.overflow)??!1}),w=l(()=>e.modalPenetrable&&!e.modal&&!e.fullscreen),W=l(()=>F.value?{display:"flex"}:{}),Q=l(()=>{var c;const o=e.transition??((c=b.value)==null?void 0:c.transition)??"dialog-fade",n={name:o,onAfterEnter:B,onBeforeLeave:E,onAfterLeave:A};if(fe(o)){const t={...o},O=(m,ne)=>_=>{ve(m)?m.forEach(j=>{z(j)&&j(_)}):z(m)&&m(_),ne()};return t.onAfterEnter=O(t.onAfterEnter,B),t.onBeforeLeave=O(t.onBeforeLeave,E),t.onAfterLeave=O(t.onAfterLeave,A),t.name||(t.name=p,de(me,`transition.name is missing when using object syntax, fallback to '${p}'`)),t}return n});function B(){i("opened")}function A(){i("closed"),i(U,!1),e.destroyOnClose&&(v.value=!1),g.value=!1}function E(){g.value=!0,i("close")}function N(){r==null||r(),u==null||u(),e.openDelay&&e.openDelay>0?{stop:u}=k(()=>T(),e.openDelay):T()}function I(){u==null||u(),r==null||r(),e.closeDelay&&e.closeDelay>0?{stop:r}=k(()=>D(),e.closeDelay):D()}function S(){function o(n){n||(C.value=!0,s.value=!1)}e.beforeClose?e.beforeClose(o):I()}function X(){e.closeOnClickModal&&S()}function T(){re&&(s.value=!0)}function D(){s.value=!1}function Y(){i("openAutoFocus")}function H(){i("closeAutoFocus")}function R(o){var n;((n=o.detail)==null?void 0:n.focusReason)==="pointer"&&o.preventDefault()}e.lockScroll&&ge(s);function ee(){e.closeOnPressEscape&&S()}function oe(){!s.value||!w.value||e.zIndex!==void 0||(y.value=d())}return L(()=>e.zIndex,()=>{y.value=e.zIndex??d()}),L(()=>e.modelValue,o=>{o?(C.value=!1,g.value=!1,N(),v.value=!0,y.value=e.zIndex??d(),ye(()=>{i("open"),a.value&&(a.value.parentElement.scrollTop=0,a.value.parentElement.scrollLeft=0,a.value.scrollTop=0)})):s.value&&I()}),L(()=>e.fullscreen,o=>{a.value&&(o?(P=a.value.style.transform,a.value.style.transform=""):a.value.style.transform=P)}),ue(()=>{e.modelValue&&(s.value=!0,v.value=!0,N())}),{afterEnter:B,afterLeave:A,beforeLeave:E,handleClose:S,onModalClick:X,close:I,doClose:D,onOpenAutoFocus:Y,onCloseAutoFocus:H,onCloseRequested:ee,onFocusoutPrevented:R,bringToFront:oe,titleId:$,bodyId:G,closed:C,style:Z,overlayDialogStyle:W,rendered:v,visible:s,zIndex:y,transitionConfig:Q,_draggable:q,_alignCenter:F,_overflow:J,closing:g,penetrable:w}};export{be as a,Oe as b,De as c,Ie as d,Se as e,xe as u}; +======== +import{U}from"./raf-Bjl8yy5U.js";import{b as V,i as te,k as le,R as x,N as ae,bJ as se,y as f,u as ie,D as L,G as ue,O as k,j as l,bt as re,am as ce,a3 as fe,aK as de,a6 as ve,b8 as z,P as ye}from"./index-CxbBjZKo.js";import{u as ge}from"./index-36LucyXi.js";import{f as M}from"./index-D23K2h6y.js";const be=V({center:Boolean,alignCenter:{type:Boolean,default:void 0},closeIcon:{type:te},draggable:{type:Boolean,default:void 0},overflow:{type:Boolean,default:void 0},fullscreen:Boolean,headerClass:String,bodyClass:String,footerClass:String,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),Ie={close:()=>!0},Se=V({...be,appendToBody:Boolean,appendTo:{type:x([String,Object]),default:"body"},beforeClose:{type:x(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},modalPenetrable:Boolean,openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,headerClass:String,bodyClass:String,footerClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"},transition:{type:x([String,Object]),default:void 0}}),De={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[U]:e=>le(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},Oe=Symbol("dialogInjectionKey"),p="dialog-fade",me="ElDialog",xe=(e,a)=>{const i=ae().emit,{nextZIndex:d}=se();let P="";const $=M(),G=M(),s=f(!1),C=f(!1),v=f(!1),y=f(e.zIndex??d()),g=f(!1);let u,r;const h=ie(),K=l(()=>{var o;return((o=h.value)==null?void 0:o.namespace)??"el"}),b=l(()=>{var o;return(o=h.value)==null?void 0:o.dialog}),Z=l(()=>{const o={},n=`--${K.value}-dialog`;if(!e.fullscreen){e.top&&(o[`${n}-margin-top`]=e.top);const c=ce(e.width);c&&(o[`${n}-width`]=c)}return o}),q=l(()=>{var o;return(e.draggable??((o=b.value)==null?void 0:o.draggable)??!1)&&!e.fullscreen}),F=l(()=>{var o;return e.alignCenter??((o=b.value)==null?void 0:o.alignCenter)??!1}),J=l(()=>{var o;return e.overflow??((o=b.value)==null?void 0:o.overflow)??!1}),w=l(()=>e.modalPenetrable&&!e.modal&&!e.fullscreen),W=l(()=>F.value?{display:"flex"}:{}),Q=l(()=>{var c;const o=e.transition??((c=b.value)==null?void 0:c.transition)??"dialog-fade",n={name:o,onAfterEnter:B,onBeforeLeave:E,onAfterLeave:A};if(fe(o)){const t={...o},O=(m,ne)=>_=>{ve(m)?m.forEach(j=>{z(j)&&j(_)}):z(m)&&m(_),ne()};return t.onAfterEnter=O(t.onAfterEnter,B),t.onBeforeLeave=O(t.onBeforeLeave,E),t.onAfterLeave=O(t.onAfterLeave,A),t.name||(t.name=p,de(me,`transition.name is missing when using object syntax, fallback to '${p}'`)),t}return n});function B(){i("opened")}function A(){i("closed"),i(U,!1),e.destroyOnClose&&(v.value=!1),g.value=!1}function E(){g.value=!0,i("close")}function N(){r==null||r(),u==null||u(),e.openDelay&&e.openDelay>0?{stop:u}=k(()=>T(),e.openDelay):T()}function I(){u==null||u(),r==null||r(),e.closeDelay&&e.closeDelay>0?{stop:r}=k(()=>D(),e.closeDelay):D()}function S(){function o(n){n||(C.value=!0,s.value=!1)}e.beforeClose?e.beforeClose(o):I()}function X(){e.closeOnClickModal&&S()}function T(){re&&(s.value=!0)}function D(){s.value=!1}function Y(){i("openAutoFocus")}function H(){i("closeAutoFocus")}function R(o){var n;((n=o.detail)==null?void 0:n.focusReason)==="pointer"&&o.preventDefault()}e.lockScroll&&ge(s);function ee(){e.closeOnPressEscape&&S()}function oe(){!s.value||!w.value||e.zIndex!==void 0||(y.value=d())}return L(()=>e.zIndex,()=>{y.value=e.zIndex??d()}),L(()=>e.modelValue,o=>{o?(C.value=!1,g.value=!1,N(),v.value=!0,y.value=e.zIndex??d(),ye(()=>{i("open"),a.value&&(a.value.parentElement.scrollTop=0,a.value.parentElement.scrollLeft=0,a.value.scrollTop=0)})):s.value&&I()}),L(()=>e.fullscreen,o=>{a.value&&(o?(P=a.value.style.transform,a.value.style.transform=""):a.value.style.transform=P)}),ue(()=>{e.modelValue&&(s.value=!0,v.value=!0,N())}),{afterEnter:B,afterLeave:A,beforeLeave:E,handleClose:S,onModalClick:X,close:I,doClose:D,onOpenAutoFocus:Y,onCloseAutoFocus:H,onCloseRequested:ee,onFocusoutPrevented:R,bringToFront:oe,titleId:$,bodyId:G,closed:C,style:Z,overlayDialogStyle:W,rendered:v,visible:s,zIndex:y,transitionConfig:Q,_draggable:q,_alignCenter:F,_overflow:J,closing:g,penetrable:w}};export{be as a,Oe as b,De as c,Ie as d,Se as e,xe as u}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/use-dialog-DGVjglW6.js diff --git a/frontend/dist/assets/usePolling-C71_cNpk.js b/frontend/dist/assets/usePolling-C71_cNpk.js index 3d7fe79..658c797 100644 --- a/frontend/dist/assets/usePolling-C71_cNpk.js +++ b/frontend/dist/assets/usePolling-C71_cNpk.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/usePolling-C71_cNpk.js import{G as g,H as p,y as d}from"./index-CD29OCdJ.js";function T(m,a=5e3,v={}){const{immediate:h=!0,pauseWhenHidden:o=!0,onError:r}=v,e=d(!1),n=d(!1);let t=null;function i(){t&&(clearTimeout(t),t=null)}function s(){if(i(),!e.value||o&&document.hidden)return;const l=typeof a=="function"?a():a;t=setTimeout(()=>void u(),Math.max(0,l))}async function u(){if(i(),!(!e.value||n.value)&&!(o&&document.hidden)){n.value=!0;try{await m()}catch(l){r==null||r(l)}finally{n.value=!1,s()}}}function c(){e.value=!1,i()}function y(){e.value||(e.value=!0,h?u():s())}function f(){!o||!e.value||(document.hidden?i():u())}return g(()=>document.addEventListener("visibilitychange",f)),p(()=>{c(),document.removeEventListener("visibilitychange",f)}),{start:y,stop:c,run:u,isActive:e,isRunning:n}}export{T as u}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/usePolling-Bx2QCw4O.js +import{G as g,H as p,y as d}from"./index-Ds9AETjS.js";function T(m,a=5e3,v={}){const{immediate:h=!0,pauseWhenHidden:o=!0,onError:r}=v,e=d(!1),n=d(!1);let t=null;function i(){t&&(clearTimeout(t),t=null)}function s(){if(i(),!e.value||o&&document.hidden)return;const l=typeof a=="function"?a():a;t=setTimeout(()=>void u(),Math.max(0,l))}async function u(){if(i(),!(!e.value||n.value)&&!(o&&document.hidden)){n.value=!0;try{await m()}catch(l){r==null||r(l)}finally{n.value=!1,s()}}}function c(){e.value=!1,i()}function y(){e.value||(e.value=!0,h?u():s())}function f(){!o||!e.value||(document.hidden?i():u())}return g(()=>document.addEventListener("visibilitychange",f)),p(()=>{c(),document.removeEventListener("visibilitychange",f)}),{start:y,stop:c,run:u,isActive:e,isRunning:n}}export{T as u}; +======== +import{G as g,H as p,y as d}from"./index-CxbBjZKo.js";function T(m,a=5e3,v={}){const{immediate:h=!0,pauseWhenHidden:o=!0,onError:r}=v,e=d(!1),n=d(!1);let t=null;function i(){t&&(clearTimeout(t),t=null)}function s(){if(i(),!e.value||o&&document.hidden)return;const l=typeof a=="function"?a():a;t=setTimeout(()=>void u(),Math.max(0,l))}async function u(){if(i(),!(!e.value||n.value)&&!(o&&document.hidden)){n.value=!0;try{await m()}catch(l){r==null||r(l)}finally{n.value=!1,s()}}}function c(){e.value=!1,i()}function y(){e.value||(e.value=!0,h?u():s())}function f(){!o||!e.value||(document.hidden?i():u())}return g(()=>document.addEventListener("visibilitychange",f)),p(()=>{c(),document.removeEventListener("visibilitychange",f)}),{start:y,stop:c,run:u,isActive:e,isRunning:n}}export{T as u}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/usePolling-D0edaRGY.js diff --git a/frontend/dist/assets/usePolling-D0edaRGY.js b/frontend/dist/assets/usePolling-D0edaRGY.js new file mode 100644 index 0000000..564f221 --- /dev/null +++ b/frontend/dist/assets/usePolling-D0edaRGY.js @@ -0,0 +1 @@ +import{G as g,H as p,y as d}from"./index-CxbBjZKo.js";function T(m,a=5e3,v={}){const{immediate:h=!0,pauseWhenHidden:o=!0,onError:r}=v,e=d(!1),n=d(!1);let t=null;function i(){t&&(clearTimeout(t),t=null)}function s(){if(i(),!e.value||o&&document.hidden)return;const l=typeof a=="function"?a():a;t=setTimeout(()=>void u(),Math.max(0,l))}async function u(){if(i(),!(!e.value||n.value)&&!(o&&document.hidden)){n.value=!0;try{await m()}catch(l){r==null||r(l)}finally{n.value=!1,s()}}}function c(){e.value=!1,i()}function y(){e.value||(e.value=!0,h?u():s())}function f(){!o||!e.value||(document.hidden?i():u())}return g(()=>document.addEventListener("visibilitychange",f)),p(()=>{c(),document.removeEventListener("visibilitychange",f)}),{start:y,stop:c,run:u,isActive:e,isRunning:n}}export{T as u}; diff --git a/frontend/dist/assets/validator-AVoXfk3G.js b/frontend/dist/assets/validator-AVoXfk3G.js new file mode 100644 index 0000000..92abc5b --- /dev/null +++ b/frontend/dist/assets/validator-AVoXfk3G.js @@ -0,0 +1 @@ +import{aj as i}from"./index-CxbBjZKo.js";const n=o=>["",...i].includes(o);export{n as i}; diff --git a/frontend/dist/assets/vnode-DIVHEdsp.js b/frontend/dist/assets/vnode-DIVHEdsp.js new file mode 100644 index 0000000..e0b7b17 --- /dev/null +++ b/frontend/dist/assets/vnode-DIVHEdsp.js @@ -0,0 +1 @@ +import{an as r,M as u,a6 as p,by as f,aK as m,bv as i,cR as b}from"./index-CxbBjZKo.js";const c="utils/vue/vnode";function g(s){return r(s)&&s.type===u}function y(s){return r(s)&&s.type===f}function v(s){return r(s)&&!g(s)&&!y(s)}const E=s=>{if(!r(s))return m(c,"[getNormalizedProps] must be a VNode"),{};const o=s.props||{},t=(r(s.type)?s.type.props:void 0)||{},e={};return Object.keys(t).forEach(a=>{i(t[a],"default")&&(e[a]=t[a].default)}),Object.keys(o).forEach(a=>{e[b(a)]=o[a]}),e},n=s=>{const o=p(s)?s:[s],t=[];return o.forEach(e=>{var a;p(e)?t.push(...n(e)):r(e)&&((a=e.component)!=null&&a.subTree)?t.push(e,...n(e.component.subTree)):r(e)&&p(e.children)?t.push(...n(e.children)):r(e)&&e.shapeFlag===2?t.push(...n(e.type())):t.push(e)}),t};export{v as a,y as b,n as f,E as g,g as i}; diff --git a/frontend/dist/assets/vnode-_QM9LlTR.js b/frontend/dist/assets/vnode-_QM9LlTR.js index aba0acf..877eb6d 100644 --- a/frontend/dist/assets/vnode-_QM9LlTR.js +++ b/frontend/dist/assets/vnode-_QM9LlTR.js @@ -1 +1,7 @@ +<<<<<<<< HEAD:frontend/dist/assets/vnode-_QM9LlTR.js import{an as r,M as u,a6 as p,by as f,aK as m,bv as i,cR as b}from"./index-CD29OCdJ.js";const c="utils/vue/vnode";function g(s){return r(s)&&s.type===u}function y(s){return r(s)&&s.type===f}function v(s){return r(s)&&!g(s)&&!y(s)}const E=s=>{if(!r(s))return m(c,"[getNormalizedProps] must be a VNode"),{};const o=s.props||{},t=(r(s.type)?s.type.props:void 0)||{},e={};return Object.keys(t).forEach(a=>{i(t[a],"default")&&(e[a]=t[a].default)}),Object.keys(o).forEach(a=>{e[b(a)]=o[a]}),e},n=s=>{const o=p(s)?s:[s],t=[];return o.forEach(e=>{var a;p(e)?t.push(...n(e)):r(e)&&((a=e.component)!=null&&a.subTree)?t.push(e,...n(e.component.subTree)):r(e)&&p(e.children)?t.push(...n(e.children)):r(e)&&e.shapeFlag===2?t.push(...n(e.type())):t.push(e)}),t};export{v as a,y as b,n as f,E as g,g as i}; +|||||||| parent of 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/vnode-CBiWHFw7.js +import{an as r,M as u,a6 as p,by as f,aK as m,bv as i,cR as b}from"./index-Ds9AETjS.js";const c="utils/vue/vnode";function g(s){return r(s)&&s.type===u}function y(s){return r(s)&&s.type===f}function v(s){return r(s)&&!g(s)&&!y(s)}const E=s=>{if(!r(s))return m(c,"[getNormalizedProps] must be a VNode"),{};const o=s.props||{},t=(r(s.type)?s.type.props:void 0)||{},e={};return Object.keys(t).forEach(a=>{i(t[a],"default")&&(e[a]=t[a].default)}),Object.keys(o).forEach(a=>{e[b(a)]=o[a]}),e},n=s=>{const o=p(s)?s:[s],t=[];return o.forEach(e=>{var a;p(e)?t.push(...n(e)):r(e)&&((a=e.component)!=null&&a.subTree)?t.push(e,...n(e.component.subTree)):r(e)&&p(e.children)?t.push(...n(e.children)):r(e)&&e.shapeFlag===2?t.push(...n(e.type())):t.push(e)}),t};export{v as a,y as b,n as f,E as g,g as i}; +======== +import{an as r,M as u,a6 as p,by as f,aK as m,bv as i,cR as b}from"./index-CxbBjZKo.js";const c="utils/vue/vnode";function g(s){return r(s)&&s.type===u}function y(s){return r(s)&&s.type===f}function v(s){return r(s)&&!g(s)&&!y(s)}const E=s=>{if(!r(s))return m(c,"[getNormalizedProps] must be a VNode"),{};const o=s.props||{},t=(r(s.type)?s.type.props:void 0)||{},e={};return Object.keys(t).forEach(a=>{i(t[a],"default")&&(e[a]=t[a].default)}),Object.keys(o).forEach(a=>{e[b(a)]=o[a]}),e},n=s=>{const o=p(s)?s:[s],t=[];return o.forEach(e=>{var a;p(e)?t.push(...n(e)):r(e)&&((a=e.component)!=null&&a.subTree)?t.push(e,...n(e.component.subTree)):r(e)&&p(e.children)?t.push(...n(e.children)):r(e)&&e.shapeFlag===2?t.push(...n(e.type())):t.push(e)}),t};export{v as a,y as b,n as f,E as g,g as i}; +>>>>>>>> 8bd93b0 (build(frontend): 更新生产构建产物):frontend/dist/assets/vnode-DIVHEdsp.js diff --git a/frontend/dist/index.html b/frontend/dist/index.html index 9f8b6f1..5a91f22 100644 --- a/frontend/dist/index.html +++ b/frontend/dist/index.html @@ -1,17 +1,17 @@ - - - - - - - - - - 远光软件微调平台 - + + + + + + + + + + 远光软件微调平台 + - - -
    - - + + +
    + +